/*
	Copyright (c) 2004-2011, 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:{"dojo/uacss":function(){define("dojo/uacss",["./dom-geometry","./_base/lang","./ready","./_base/sniff","./_base/window"],function(_1,_2,_3,_4,_5){var _6=_5.doc.documentElement,ie=_4("ie"),_7=_4("opera"),_8=Math.floor,ff=_4("ff"),_9=_1.boxModel.replace(/-/,""),_a={"dj_ie":ie,"dj_ie6":_8(ie)==6,"dj_ie7":_8(ie)==7,"dj_ie8":_8(ie)==8,"dj_ie9":_8(ie)==9,"dj_quirks":_4("quirks"),"dj_iequirks":ie&&_4("quirks"),"dj_opera":_7,"dj_khtml":_4("khtml"),"dj_webkit":_4("webkit"),"dj_safari":_4("safari"),"dj_chrome":_4("chrome"),"dj_gecko":_4("mozilla"),"dj_ff3":_8(ff)==3};_a["dj_"+_9]=true;var _b="";for(var _c in _a){if(_a[_c]){_b+=_c+" ";}}_6.className=_2.trim(_6.className+" "+_b);_3(90,function(){if(!_1.isBodyLtr()){var _d="dj_rtl dijitRtl "+_b.replace(/ /g,"-rtl ");_6.className=_2.trim(_6.className+" "+_d+"dj_rtl dijitRtl "+_b.replace(/ /g,"-rtl "));}});return _4;});},"dojo/text":function(){define("dojo/text",["./_base/kernel","require","./has","./_base/xhr"],function(_e,_f,has,xhr){var _10;if(1){_10=function(url,_11,_12){xhr("GET",{url:url,sync:!!_11,load:_12});};}else{if(_f.getText){_10=_f.getText;}else{console.error("dojo/text plugin failed to load because loader does not support getText");}}var _13={},_14=function(_15){if(_15){_15=_15.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _16=_15.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_16){_15=_16[1];}}else{_15="";}return _15;},_17={},_18={},_19={dynamic:true,normalize:function(id,_1a){var _1b=id.split("!"),url=_1b[0];return (/^\./.test(url)?_1a(url):url)+(_1b[1]?"!"+_1b[1]:"");},load:function(id,_1c,_1d){var _1e=id.split("!"),_1f=_1e.length>1,_20=_1e[0],url=_1c.toUrl(_1e[0]),_21=_17,_22=function(_23){_1d(_1f?_14(_23):_23);};if(_20 in _13){_21=_13[_20];}else{if(url in _1c.cache){_21=_1c.cache[url];}else{if(url in _13){_21=_13[url];}}}if(_21===_17){if(_18[url]){_18[url].push(_22);}else{var _24=_18[url]=[_22];_10(url,!_1c.async,function(_25){_13[_20]=_13[url]=_25;for(var i=0;i<_24.length;){_24[i++](_25);}delete _18[url];});}}else{_22(_21);}}};_e.cache=function(_26,url,_27){var key;if(typeof _26=="string"){if(/\//.test(_26)){key=_26;_27=url;}else{key=_f.toUrl(_26.replace(/\./g,"/")+(url?("/"+url):""));}}else{key=_26+"";_27=url;}var val=(_27!=undefined&&typeof _27!="string")?_27.value:_27,_28=_27&&_27.sanitize;if(typeof val=="string"){_13[key]=val;return _28?_14(val):val;}else{if(val===null){delete _13[key];return null;}else{if(!(key in _13)){_10(key,true,function(_29){_13[key]=_29;});}return _28?_14(_13[key]):_13[key];}}};return _19;});},"dijit/hccss":function(){define("dijit/hccss",["require","dojo/_base/config","dojo/dom-class","dojo/dom-construct","dojo/dom-style","dojo/ready","dojo/_base/sniff","dojo/_base/window"],function(_2a,_2b,_2c,_2d,_2e,_2f,has,win){if(has("ie")||has("mozilla")){_2f(90,function(){var div=_2d.create("div",{id:"a11yTestNode",style:{cssText:"border: 1px solid;"+"border-color:red green;"+"position: absolute;"+"height: 5px;"+"top: -999px;"+"background-image: url(\""+(_2b.blankGif||_2a.toUrl("dojo/resources/blank.gif"))+"\");"}},win.body());var cs=_2e.getComputedStyle(div);if(cs){var _30=cs.backgroundImage;var _31=(cs.borderTopColor==cs.borderRightColor)||(_30!=null&&(_30=="none"||_30=="url(invalid-url:)"));if(_31){_2c.add(win.body(),"dijit_a11y");}if(has("ie")){div.outerHTML="";}else{win.body().removeChild(div);}}});}});},"dijit/_Contained":function(){define("dijit/_Contained",["dojo/_base/declare","./registry"],function(_32,_33){return _32("dijit._Contained",null,{_getSibling:function(_34){var _35=this.domNode;do{_35=_35[_34+"Sibling"];}while(_35&&_35.nodeType!=1);return _35&&_33.byNode(_35);},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/layout/StackContainer":function(){define("dijit/layout/StackContainer",["dojo/_base/array","dojo/cookie","dojo/_base/declare","dojo/dom-class","dojo/_base/kernel","dojo/_base/lang","dojo/ready","dojo/topic","../registry","../_WidgetBase","./_LayoutWidget","dojo/i18n!../nls/common"],function(_36,_37,_38,_39,_3a,_3b,_3c,_3d,_3e,_3f,_40){if(!_3a.isAsync){_3c(0,function(){var _41=["dijit/layout/StackController"];require(_41);});}_3b.extend(_3f,{selected:false,closable:false,iconClass:"dijitNoIcon",showTitle:true});return _38("dijit.layout.StackContainer",_40,{doLayout:true,persist:false,baseClass:"dijitStackContainer",buildRendering:function(){this.inherited(arguments);_39.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 _42=this.getChildren();_36.forEach(_42,this._setupChild,this);if(this.persist){this.selectedChildWidget=_3e.byId(_37(this.id+"_selectedChild"));}else{_36.some(_42,function(_43){if(_43.selected){this.selectedChildWidget=_43;}return _43.selected;},this);}var _44=this.selectedChildWidget;if(!_44&&_42[0]){_44=this.selectedChildWidget=_42[0];_44.selected=true;}_3d.publish(this.id+"-startup",{children:_42,selected:_44});this.inherited(arguments);},resize:function(){if(!this._hasBeenShown){this._hasBeenShown=true;var _45=this.selectedChildWidget;if(_45){this._showChild(_45);}}this.inherited(arguments);},_setupChild:function(_46){this.inherited(arguments);_39.replace(_46.domNode,"dijitHidden","dijitVisible");_46.domNode.title="";},addChild:function(_47,_48){this.inherited(arguments);if(this._started){_3d.publish(this.id+"-addChild",_47,_48);this.layout();if(!this.selectedChildWidget){this.selectChild(_47);}}},removeChild:function(_49){this.inherited(arguments);if(this._started){_3d.publish(this.id+"-removeChild",_49);}if(this._descendantsBeingDestroyed){return;}if(this.selectedChildWidget===_49){this.selectedChildWidget=undefined;if(this._started){var _4a=this.getChildren();if(_4a.length){this.selectChild(_4a[0]);}}}if(this._started){this.layout();}},selectChild:function(_4b,_4c){_4b=_3e.byId(_4b);if(this.selectedChildWidget!=_4b){var d=this._transition(_4b,this.selectedChildWidget,_4c);this._set("selectedChildWidget",_4b);_3d.publish(this.id+"-selectChild",_4b);if(this.persist){_37(this.id+"_selectedChild",this.selectedChildWidget.id);}}return d;},_transition:function(_4d,_4e){if(_4e){this._hideChild(_4e);}var d=this._showChild(_4d);if(_4d.resize){if(this.doLayout){_4d.resize(this._containerContentBox||this._contentBox);}else{_4d.resize();}}return d;},_adjacent:function(_4f){var _50=this.getChildren();var _51=_36.indexOf(_50,this.selectedChildWidget);_51+=_4f?1:_50.length-1;return _50[_51%_50.length];},forward:function(){return this.selectChild(this._adjacent(true),true);},back:function(){return this.selectChild(this._adjacent(false),true);},_onKeyPress:function(e){_3d.publish(this.id+"-containerKeyPress",{e:e,page:this});},layout:function(){var _52=this.selectedChildWidget;if(_52&&_52.resize){if(this.doLayout){_52.resize(this._containerContentBox||this._contentBox);}else{_52.resize();}}},_showChild:function(_53){var _54=this.getChildren();_53.isFirstChild=(_53==_54[0]);_53.isLastChild=(_53==_54[_54.length-1]);_53._set("selected",true);_39.replace(_53.domNode,"dijitVisible","dijitHidden");return (_53._onShow&&_53._onShow())||true;},_hideChild:function(_55){_55._set("selected",false);_39.replace(_55.domNode,"dijitHidden","dijitVisible");_55.onHide&&_55.onHide();},closeChild:function(_56){var _57=_56.onClose(this,_56);if(_57){this.removeChild(_56);_56.destroyRecursive();}},destroyDescendants:function(_58){this._descendantsBeingDestroyed=true;this.selectedChildWidget=undefined;_36.forEach(this.getChildren(),function(_59){if(!_58){this.removeChild(_59);}_59.destroyRecursive(_58);},this);this._descendantsBeingDestroyed=false;}});});},"dijit/form/_TextBoxMixin":function(){define("dijit/form/_TextBoxMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/_base/event","dojo/keys","dojo/_base/lang",".."],function(_5a,_5b,dom,_5c,_5d,_5e,_5f){var _60=_5b("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(_61,_62,_63){var _64;if(_61!==undefined){_64=this.filter(_61);if(typeof _63!="string"){if(_64!==null&&((typeof _64!="number")||!isNaN(_64))){_63=this.filter(this.format(_64,this.constraints));}else{_63="";}}}if(_63!=null&&_63!=undefined&&((typeof _63)!="number"||!isNaN(_63))&&this.textbox.value!=_63){this.textbox.value=_63;this._set("displayedValue",this.get("displayedValue"));}if(this.textDir=="auto"){this.applyTextDir(this.focusNode,_63);}this.inherited(arguments,[_64,_62]);},displayedValue:"",_getDisplayedValueAttr:function(){return this.filter(this.textbox.value);},_setDisplayedValueAttr:function(_65){if(_65===null||_65===undefined){_65="";}else{if(typeof _65!="string"){_65=String(_65);}}this.textbox.value=_65;this._setValueAttr(this.get("value"),undefined);this._set("displayedValue",this.get("displayedValue"));if(this.textDir=="auto"){this.applyTextDir(this.focusNode,_65);}},format:function(_66){return ((_66==null||_66==undefined)?"":(_66.toString?_66.toString():_66));},parse:function(_67){return _67;},_refreshState:function(){},onInput:function(){},__skipInputEvent:false,_onInput:function(){if(this.textDir=="auto"){this.applyTextDir(this.focusNode,this.focusNode.value);}this._refreshState();this._set("displayedValue",this.get("displayedValue"));},postCreate:function(){this.textbox.setAttribute("value",this.textbox.value);this.inherited(arguments);var _68=function(e){var _69=e.charOrCode||e.keyCode||229;if(e.type=="keydown"){switch(_69){case _5d.SHIFT:case _5d.ALT:case _5d.CTRL:case _5d.META:case _5d.CAPS_LOCK:return;default:if(_69>=65&&_69<=90){return;}}}if(e.type=="keypress"&&typeof _69!="string"){return;}if(e.type=="input"){if(this.__skipInputEvent){this.__skipInputEvent=false;return;}}else{this.__skipInputEvent=true;}var _6a=_5e.mixin({},e,{charOrCode:_69,wasConsumed:false,preventDefault:function(){_6a.wasConsumed=true;e.preventDefault();},stopPropagation:function(){e.stopPropagation();}});if(this.onInput(_6a)===false){_5c.stop(_6a);}if(_6a.wasConsumed){return;}setTimeout(_5e.hitch(this,"_onInput",_6a),0);};_5a.forEach(["onkeydown","onkeypress","onpaste","oncut","oninput"],function(_6b){this.connect(this.textbox,_6b,_68);},this);},_blankValue:"",filter:function(val){if(val===null){return this._blankValue;}if(typeof val!="string"){return val;}if(this.trim){val=_5e.trim(val);}if(this.uppercase){val=val.toUpperCase();}if(this.lowercase){val=val.toLowerCase();}if(this.propercase){val=val.replace(/[^\s]+/g,function(_6c){return _6c.substring(0,1).toUpperCase()+_6c.substring(1);});}return val;},_setBlurValue:function(){this._setValueAttr(this.get("value"),true);},_onBlur:function(e){if(this.disabled){return;}this._setBlurValue();this.inherited(arguments);if(this._selectOnClickHandle){this.disconnect(this._selectOnClickHandle);}},_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);if(this._isTextSelected()){_60.selectInputText(this.textbox);}});}this.inherited(arguments);this._refreshState();},reset:function(){this.textbox.value="";this.inherited(arguments);},_setTextDirAttr:function(_6d){if(!this._created||this.textDir!=_6d){this._set("textDir",_6d);this.applyTextDir(this.focusNode,this.focusNode.value);}}});_60._setSelectionRange=_5f._setSelectionRange=function(_6e,_6f,_70){if(_6e.setSelectionRange){_6e.setSelectionRange(_6f,_70);}};_60.selectInputText=_5f.selectInputText=function(_71,_72,_73){_71=dom.byId(_71);if(isNaN(_72)){_72=0;}if(isNaN(_73)){_73=_71.value?_71.value.length:0;}try{_71.focus();_60._setSelectionRange(_71,_72,_73);}catch(e){}};return _60;});},"dojo/parser":function(){define("dojo/parser",["./_base/kernel","./_base/lang","./_base/array","./_base/html","./_base/window","./_base/url","./_base/json","./aspect","./date/stamp","./query","./on","./ready"],function(_74,_75,_76,_77,_78,_79,_7a,_7b,_7c,_7d,don){new Date("X");var _7e={"dom-attributes-explicit":document.createElement("div").attributes.length<40};function has(_7f){return _7e[_7f];};_74.parser=new function(){var _80={};function _81(_82){var map={};for(var _83 in _82){if(_83.charAt(0)=="_"){continue;}map[_83.toLowerCase()]=_83;}return map;};_7b.after(_75,"extend",function(){_80={};},true);var _84={};this._functionFromScript=function(_85,_86){var _87="";var _88="";var _89=(_85.getAttribute(_86+"args")||_85.getAttribute("args"));if(_89){_76.forEach(_89.split(/\s*,\s*/),function(_8a,idx){_87+="var "+_8a+" = arguments["+idx+"]; ";});}var _8b=_85.getAttribute("with");if(_8b&&_8b.length){_76.forEach(_8b.split(/\s*,\s*/),function(_8c){_87+="with("+_8c+"){";_88+="}";});}return new Function(_87+_85.innerHTML+_88);};this.instantiate=function(_8d,_8e,_8f){var _90=[],_8e=_8e||{};_8f=_8f||{};var _91=(_8f.scope||_74._scopeName)+"Type",_92="data-"+(_8f.scope||_74._scopeName)+"-",_93=_92+"type",_94=_92+"props",_95=_92+"attach-point",_96=_92+"attach-event",_97=_92+"id";var _98={};_76.forEach([_94,_93,_91,_97,"jsId",_95,_96,"dojoAttachPoint","dojoAttachEvent","class","style"],function(_99){_98[_99.toLowerCase()]=_99.replace(_8f.scope,"dojo");});_76.forEach(_8d,function(obj){if(!obj){return;}var _9a=obj.node||obj,_9b=_91 in _8e?_8e[_91]:obj.node?obj.type:(_9a.getAttribute(_93)||_9a.getAttribute(_91)),_9c=_84[_9b]||(_84[_9b]=_75.getObject(_9b)),_9d=_9c&&_9c.prototype;if(!_9c){throw new Error("Could not load class '"+_9b);}var _9e={};if(_8f.defaults){_75.mixin(_9e,_8f.defaults);}if(obj.inherited){_75.mixin(_9e,obj.inherited);}var _9f;if(has("dom-attributes-explicit")){_9f=_9a.attributes;}else{var _a0=/^input$|^img$/i.test(_9a.nodeName)?_9a:_9a.cloneNode(false),_a1=_a0.outerHTML.replace(/=[^\s"']+|="[^"]*"|='[^']*'/g,"").replace(/^\s*<[a-zA-Z0-9]*/,"").replace(/>.*$/,"");_9f=_76.map(_a1.split(/\s+/),function(_a2){var _a3=_a2.toLowerCase();return {name:_a2,value:(_9a.nodeName=="LI"&&_a2=="value")||_a3=="enctype"?_9a.getAttribute(_a3):_9a.getAttributeNode(_a3).value,specified:true};});}var i=0,_a4;while(_a4=_9f[i++]){if(!_a4||!_a4.specified){continue;}var _a5=_a4.name,_a6=_a5.toLowerCase(),_a7=_a4.value;if(_a6 in _98){switch(_98[_a6]){case "data-dojo-props":var _a8=_a7;break;case "data-dojo-id":case "jsId":var _a9=_a7;break;case "data-dojo-attach-point":case "dojoAttachPoint":_9e.dojoAttachPoint=_a7;break;case "data-dojo-attach-event":case "dojoAttachEvent":_9e.dojoAttachEvent=_a7;break;case "class":_9e["class"]=_9a.className;break;case "style":_9e["style"]=_9a.style&&_9a.style.cssText;break;}}else{if(!(_a5 in _9d)){var map=(_80[_9b]||(_80[_9b]=_81(_9d)));_a5=map[_a6]||_a5;}if(_a5 in _9d){switch(typeof _9d[_a5]){case "string":_9e[_a5]=_a7;break;case "number":_9e[_a5]=_a7.length?Number(_a7):NaN;break;case "boolean":_9e[_a5]=_a7.toLowerCase()!="false";break;case "function":if(_a7===""||_a7.search(/[^\w\.]+/i)!=-1){_9e[_a5]=new Function(_a7);}else{_9e[_a5]=_75.getObject(_a7,false)||new Function(_a7);}break;default:var _aa=_9d[_a5];_9e[_a5]=(_aa&&"length" in _aa)?(_a7?_a7.split(/\s*,\s*/):[]):(_aa instanceof Date)?(_a7==""?new Date(""):_a7=="now"?new Date():_7c.fromISOString(_a7)):(_aa instanceof _74._Url)?(_74.baseUrl+_a7):_7a.fromJson(_a7);}}else{_9e[_a5]=_a7;}}}if(_a8){try{_a8=_7a.fromJson.call(_8f.propsThis,"{"+_a8+"}");_75.mixin(_9e,_a8);}catch(e){throw new Error(e.toString()+" in data-dojo-props='"+_a8+"'");}}_75.mixin(_9e,_8e);var _ab=obj.node?obj.scripts:(_9c&&(_9c._noScript||_9d._noScript)?[]:_7d("> script[type^='dojo/']",_9a));var _ac=[],_ad=[],_ae=[],on=[];if(_ab){for(i=0;i<_ab.length;i++){var _af=_ab[i];_9a.removeChild(_af);var _b0=(_af.getAttribute(_92+"event")||_af.getAttribute("event")),_b1=_af.getAttribute(_92+"prop"),_9b=_af.getAttribute("type"),nf=this._functionFromScript(_af,_92);if(_b0){if(_9b=="dojo/connect"){_ac.push({event:_b0,func:nf});}else{if(_9b=="dojo/on"){on.push({event:_b0,func:nf});}else{_9e[_b0]=nf;}}}else{if(_9b=="dojo/watch"){_ae.push({prop:_b1,func:nf});}else{_ad.push(nf);}}}}var _b2=_9c.markupFactory||_9d.markupFactory;var _b3=_b2?_b2(_9e,_9a,_9c):new _9c(_9e,_9a);_90.push(_b3);if(_a9){_75.setObject(_a9,_b3);}for(i=0;i<_ac.length;i++){_7b.after(_b3,_ac[i].event,_74.hitch(_b3,_ac[i].func),true);}for(i=0;i<_ad.length;i++){_ad[i].call(_b3);}for(i=0;i<_ae.length;i++){_b3.watch(_ae[i].prop,_ae[i].func);}for(i=0;i<on.length;i++){don(_b3,on[i].event,on[i].func);}},this);if(!_8e._started){_76.forEach(_90,function(_b4){if(!_8f.noStart&&_b4&&_75.isFunction(_b4.startup)&&!_b4._started){_b4.startup();}});}return _90;};this.parse=function(_b5,_b6){var _b7;if(!_b6&&_b5&&_b5.rootNode){_b6=_b5;_b7=_b6.rootNode;}else{_b7=_b5;}_b7=_b7?_77.byId(_b7):_78.body();_b6=_b6||{};var _b8=(_b6.scope||_74._scopeName)+"Type",_b9="data-"+(_b6.scope||_74._scopeName)+"-",_ba=_b9+"type",_bb=_b9+"textdir";var _bc=[];var _bd=_b7.firstChild;var _be=_b6&&_b6.inherited;if(!_be){function _bf(_c0,_c1){return (_c0.getAttribute&&_c0.getAttribute(_c1))||(_c0!==_78.doc&&_c0!==_78.doc.documentElement&&_c0.parentNode?_bf(_c0.parentNode,_c1):null);};_be={dir:_bf(_b7,"dir"),lang:_bf(_b7,"lang"),textDir:_bf(_b7,_bb)};for(var key in _be){if(!_be[key]){delete _be[key];}}}var _c2={inherited:_be};var _c3;var _c4;function _c5(_c6){if(!_c6.inherited){_c6.inherited={};var _c7=_c6.node,_c8=_c5(_c6.parent);var _c9={dir:_c7.getAttribute("dir")||_c8.dir,lang:_c7.getAttribute("lang")||_c8.lang,textDir:_c7.getAttribute(_bb)||_c8.textDir};for(var key in _c9){if(_c9[key]){_c6.inherited[key]=_c9[key];}}}return _c6.inherited;};while(true){if(!_bd){if(!_c2||!_c2.node){break;}_bd=_c2.node.nextSibling;_c3=_c2.scripts;_c4=false;_c2=_c2.parent;continue;}if(_bd.nodeType!=1){_bd=_bd.nextSibling;continue;}if(_c3&&_bd.nodeName.toLowerCase()=="script"){_ca=_bd.getAttribute("type");if(_ca&&/^dojo\/\w/i.test(_ca)){_c3.push(_bd);}_bd=_bd.nextSibling;continue;}if(_c4){_bd=_bd.nextSibling;continue;}var _ca=_bd.getAttribute(_ba)||_bd.getAttribute(_b8);var _cb=_bd.firstChild;if(!_ca&&(!_cb||(_cb.nodeType==3&&!_cb.nextSibling))){_bd=_bd.nextSibling;continue;}var _cc={node:_bd,scripts:_c3,parent:_c2};var _cd=_ca&&(_84[_ca]||(_84[_ca]=_75.getObject(_ca))),_ce=_cd&&!_cd.prototype._noScript?[]:null;if(_ca){_bc.push({"type":_ca,node:_bd,scripts:_ce,inherited:_c5(_cc)});}_bd=_cb;_c3=_ce;_c4=_cd&&_cd.prototype.stopParser&&!(_b6&&_b6.template);_c2=_cc;}var _cf=_b6&&_b6.template?{template:true}:null;return this.instantiate(_bc,_cf,_b6);};}();if(_74.config.parseOnLoad){_74.ready(100,_74.parser,"parse");}return _74.parser;});},"dijit/form/_FormMixin":function(){define("dijit/form/_FormMixin",["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/window"],function(_d0,_d1,_d2,_d3,_d4){return _d1("dijit.form._FormMixin",null,{state:"",_getDescendantFormWidgets:function(_d5){var res=[];_d0.forEach(_d5||this.getChildren(),function(_d6){if("value" in _d6){res.push(_d6);}else{res=res.concat(this._getDescendantFormWidgets(_d6.getChildren()));}},this);return res;},reset:function(){_d0.forEach(this._getDescendantFormWidgets(),function(_d7){if(_d7.reset){_d7.reset();}});},validate:function(){var _d8=false;return _d0.every(_d0.map(this._getDescendantFormWidgets(),function(_d9){_d9._hasBeenBlurred=true;var _da=_d9.disabled||!_d9.validate||_d9.validate();if(!_da&&!_d8){_d4.scrollIntoView(_d9.containerNode||_d9.domNode);_d9.focus();_d8=true;}return _da;}),function(_db){return _db;});},setValues:function(val){_d2.deprecated(this.declaredClass+"::setValues() is deprecated. Use set('value', val) instead.","","2.0");return this.set("value",val);},_setValueAttr:function(obj){var map={};_d0.forEach(this._getDescendantFormWidgets(),function(_dc){if(!_dc.name){return;}var _dd=map[_dc.name]||(map[_dc.name]=[]);_dd.push(_dc);});for(var _de in map){if(!map.hasOwnProperty(_de)){continue;}var _df=map[_de],_e0=_d3.getObject(_de,false,obj);if(_e0===undefined){continue;}if(!_d3.isArray(_e0)){_e0=[_e0];}if(typeof _df[0].checked=="boolean"){_d0.forEach(_df,function(w){w.set("value",_d0.indexOf(_e0,w.value)!=-1);});}else{if(_df[0].multiple){_df[0].set("value",_e0);}else{_d0.forEach(_df,function(w,i){w.set("value",_e0[i]);});}}}},getValues:function(){_d2.deprecated(this.declaredClass+"::getValues() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},_getValueAttr:function(){var obj={};_d0.forEach(this._getDescendantFormWidgets(),function(_e1){var _e2=_e1.name;if(!_e2||_e1.disabled){return;}var _e3=_e1.get("value");if(typeof _e1.checked=="boolean"){if(/Radio/.test(_e1.declaredClass)){if(_e3!==false){_d3.setObject(_e2,_e3,obj);}else{_e3=_d3.getObject(_e2,false,obj);if(_e3===undefined){_d3.setObject(_e2,null,obj);}}}else{var ary=_d3.getObject(_e2,false,obj);if(!ary){ary=[];_d3.setObject(_e2,ary,obj);}if(_e3!==false){ary.push(_e3);}}}else{var _e4=_d3.getObject(_e2,false,obj);if(typeof _e4!="undefined"){if(_d3.isArray(_e4)){_e4.push(_e3);}else{_d3.setObject(_e2,[_e4,_e3],obj);}}else{_d3.setObject(_e2,_e3,obj);}}});return obj;},isValid:function(){return this.state=="";},onValidStateChange:function(){},_getState:function(){var _e5=_d0.map(this._descendants,function(w){return w.get("state")||"";});return _d0.indexOf(_e5,"Error")>=0?"Error":_d0.indexOf(_e5,"Incomplete")>=0?"Incomplete":"";},disconnectChildren:function(){_d0.forEach(this._childConnections||[],_d3.hitch(this,"disconnect"));_d0.forEach(this._childWatches||[],function(w){w.unwatch();});},connectChildren:function(_e6){var _e7=this;this.disconnectChildren();this._descendants=this._getDescendantFormWidgets();var set=_e6?function(_e8,val){_e7[_e8]=val;}:_d3.hitch(this,"_set");set("value",this.get("value"));set("state",this._getState());var _e9=(this._childConnections=[]),_ea=(this._childWatches=[]);_d0.forEach(_d0.filter(this._descendants,function(_eb){return _eb.validate;}),function(_ec){_d0.forEach(["state","disabled"],function(_ed){_ea.push(_ec.watch(_ed,function(){_e7.set("state",_e7._getState());}));});});var _ee=function(){if(_e7._onChangeDelayTimer){clearTimeout(_e7._onChangeDelayTimer);}_e7._onChangeDelayTimer=setTimeout(function(){delete _e7._onChangeDelayTimer;_e7._set("value",_e7.get("value"));},10);};_d0.forEach(_d0.filter(this._descendants,function(_ef){return _ef.onChange;}),function(_f0){_e9.push(_e7.connect(_f0,"onChange",_ee));_ea.push(_f0.watch("disabled",_ee));});},startup:function(){this.inherited(arguments);this.connectChildren(true);this.watch("state",function(_f1,_f2,_f3){this.onValidStateChange(_f3=="");});},destroy:function(){this.disconnectChildren();this.inherited(arguments);}});});},"url:dijit/templates/MenuBar.html":"<div class=\"dijitMenuBar dijitMenuPassive\" data-dojo-attach-point=\"containerNode\"  role=\"menubar\" tabIndex=\"${tabIndex}\" data-dojo-attach-event=\"onkeypress: _onKeyPress\"></div>\n","dijit/_Container":function(){define("dijit/_Container",["dojo/_base/array","dojo/_base/declare","dojo/dom-construct","./registry"],function(_f4,_f5,_f6,_f7){return _f5("dijit._Container",null,{buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}},addChild:function(_f8,_f9){var _fa=this.containerNode;if(_f9&&typeof _f9=="number"){var _fb=this.getChildren();if(_fb&&_fb.length>=_f9){_fa=_fb[_f9-1].domNode;_f9="after";}}_f6.place(_f8.domNode,_fa,_f9);if(this._started&&!_f8._started){_f8.startup();}},removeChild:function(_fc){if(typeof _fc=="number"){_fc=this.getChildren()[_fc];}if(_fc){var _fd=_fc.domNode;if(_fd&&_fd.parentNode){_fd.parentNode.removeChild(_fd);}}},hasChildren:function(){return this.getChildren().length>0;},_getSiblingOfChild:function(_fe,dir){var _ff=_fe.domNode,_100=(dir>0?"nextSibling":"previousSibling");do{_ff=_ff[_100];}while(_ff&&(_ff.nodeType!=1||!_f7.byNode(_ff)));return _ff&&_f7.byNode(_ff);},getIndexOfChild:function(_101){return _f4.indexOf(this.getChildren(),_101);}});});},"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<span data-dojo-attach-point=\"titleNode\" class=\"dijitDialogTitle\" id=\"${id}_title\"></span>\n\t<span data-dojo-attach-point=\"closeButtonNode\" class=\"dijitDialogCloseIcon\" data-dojo-attach-event=\"ondijitclick: onCancel\" title=\"${buttonCancel}\" role=\"button\" tabIndex=\"-1\">\n\t\t<span data-dojo-attach-point=\"closeText\" class=\"closeText\" title=\"${buttonCancel}\">x</span>\n\t</span>\n\t</div>\n\t\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/_base/kernel","dojo/keys","dojo/_base/lang","dojo/on","dojo/ready","dojo/_base/sniff","dojo/_base/window","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",".","dojo/i18n!./nls/common"],function(_102,_103,_104,_105,_106,dom,_107,_108,_109,_10a,fx,i18n,_10b,keys,lang,on,_10c,has,win,_10d,_10e,_10f,_110,_111,_112,_113,_114,_115,_116,_117,_118,_119,_11a){var _11b=_105("dijit._DialogBase",[_113,_115,_116,_114],{templateString:_119,baseClass:"dijitDialog",cssStateNodes:{closeButtonNode:"dijitDialogCloseIcon"},_setTitleAttr:[{node:"titleNode",type:"innerHTML"},{node:"titleBar",type:"attribute"}],open:false,duration:_111.defaultDuration,refocus:true,autofocus:true,_firstFocusItem:null,_lastFocusItem:null,doLayout:false,draggable:true,"aria-describedby":"",postMixInProperties:function(){var _11c=i18n.getLocalization("dijit","common");lang.mixin(this,_11c);this.inherited(arguments);},postCreate:function(){_109.set(this.domNode,{display:"none",position:"absolute"});win.body().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&&_11d.isTop(this)){this._getFocusItems(this.domNode);_110.focus(this._firstFocusItem);}this.inherited(arguments);},_endDrag:function(){var _11e=_108.position(this.domNode),_11f=_10d.getBox();_11e.y=Math.min(Math.max(_11e.y,0),(_11f.h-_11e.h));_11e.x=Math.min(Math.max(_11e.x,0),(_11f.w-_11e.w));this._relativePosition=_11e;this._position();},_setup:function(){var node=this.domNode;if(this.titleBar&&this.draggable){this._moveable=new ((has("ie")==6)?_10f:_10e)(node,{handle:this.titleBar});this.connect(this._moveable,"onMoveStop","_endDrag");}else{_107.add(node,"dijitDialogFixed");}this.underlayAttrs={dialogId:this.id,"class":_103.map(this["class"].split(/\s/),function(s){return s+"_underlay";}).join(" ")};},_size:function(){this._checkIfSingleChild();if(this._singleChild){if(this._singleChildOriginalStyle){this._singleChild.domNode.style.cssText=this._singleChildOriginalStyle;}delete this._singleChildOriginalStyle;}else{_109.set(this.containerNode,{width:"auto",height:"auto"});}var bb=_108.position(this.domNode);var _120=_10d.getBox();if(bb.w>=_120.w||bb.h>=_120.h){var w=Math.min(bb.w,Math.floor(_120.w*0.75)),h=Math.min(bb.h,Math.floor(_120.h*0.75));if(this._singleChild&&this._singleChild.resize){this._singleChildOriginalStyle=this._singleChild.domNode.style.cssText;this._singleChild.resize({w:w,h:h});}else{_109.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(!_107.contains(win.body(),"dojoMove")){var node=this.domNode,_121=_10d.getBox(),p=this._relativePosition,bb=p?null:_108.position(node),l=Math.floor(_121.l+(p?p.x:(_121.w-bb.w)/2)),t=Math.floor(_121.t+(p?p.y:(_121.h-bb.h)/2));_109.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 _122=(this._firstFocusItem==this._lastFocusItem);if(node==this._firstFocusItem&&evt.shiftKey&&evt.charOrCode===keys.TAB){if(!_122){_110.focus(this._lastFocusItem);}_10a.stop(evt);}else{if(node==this._lastFocusItem&&evt.charOrCode===keys.TAB&&!evt.shiftKey){if(!_122){_110.focus(this._firstFocusItem);}_10a.stop(evt);}else{while(node){if(node==this.domNode||_107.contains(node,"dijitPopup")){if(evt.charOrCode==keys.ESCAPE){this.onCancel();}else{return;}}node=node.parentNode;}if(evt.charOrCode!==keys.TAB){_10a.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();}this._modalconnects.push(on(window,"scroll",lang.hitch(this,"layout")));this._modalconnects.push(on(window,"resize",lang.hitch(this,function(){var _123=_10d.getBox();if(!this._oldViewport||_123.h!=this._oldViewport.h||_123.w!=this._oldViewport.w){this.layout();this._oldViewport=_123;}})));this._modalconnects.push(on(this.domNode,_104._keypress,lang.hitch(this,"_onKey")));_109.set(this.domNode,{opacity:0,display:""});this._set("open",true);this._onShow();this._size();this._position();var _124;this._fadeInDeferred=new _106(lang.hitch(this,function(){_124.stop();delete this._fadeInDeferred;}));_124=fx.fadeIn({node:this.domNode,duration:this.duration,beforeBegin:lang.hitch(this,function(){_11d.show(this,this.underlayAttrs);}),onEnd:lang.hitch(this,function(){if(this.autofocus&&_11d.isTop(this)){this._getFocusItems(this.domNode);_110.focus(this._firstFocusItem);}this._fadeInDeferred.callback(true);delete this._fadeInDeferred;})}).play();return this._fadeInDeferred;},hide:function(){if(!this._alreadyInitialized){return;}if(this._fadeInDeferred){this._fadeInDeferred.cancel();}var _125;this._fadeOutDeferred=new _106(lang.hitch(this,function(){_125.stop();delete this._fadeOutDeferred;}));this._fadeOutDeferred.then(lang.hitch(this,"onHide"));_125=fx.fadeOut({node:this.domNode,duration:this.duration,onEnd:lang.hitch(this,function(){this.domNode.style.display="none";_11d.hide(this);this._fadeOutDeferred.callback(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;},layout:function(){if(this.domNode.style.display!="none"){if(_11a._underlay){_11a._underlay.layout();}this._position();}},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();}_11d.hide(this);this.inherited(arguments);}});var _126=_105("dijit.Dialog",[_118,_11b],{});_126._DialogBase=_11b;var _11d=_126._DialogLevelManager={_beginZIndex:950,show:function(_127,_128){ds[ds.length-1].focus=_110.curNode;var _129=_11a._underlay;if(!_129||_129._destroyed){_129=_11a._underlay=new _117(_128);}else{_129.set(_127.underlayAttrs);}var _12a=ds[ds.length-1].dialog?ds[ds.length-1].zIndex+2:_126._DialogLevelManager._beginZIndex;if(ds.length==1){_129.show();}_109.set(_11a._underlay.domNode,"zIndex",_12a-1);_109.set(_127.domNode,"zIndex",_12a);ds.push({dialog:_127,underlayAttrs:_128,zIndex:_12a});},hide:function(_12b){if(ds[ds.length-1].dialog==_12b){ds.pop();var pd=ds[ds.length-1];if(ds.length==1){if(!_11a._underlay._destroyed){_11a._underlay.hide();}}else{_109.set(_11a._underlay.domNode,"zIndex",pd.zIndex-1);_11a._underlay.set(pd.underlayAttrs);}if(_12b.refocus){var _12c=pd.focus;if(pd.dialog&&(!_12c||!dom.isDescendant(_12c,pd.dialog.domNode))){pd.dialog._getFocusItems(pd.dialog.domNode);_12c=pd.dialog._firstFocusItem;}if(_12c){_12c.focus();}}}else{var idx=_103.indexOf(_103.map(ds,function(elem){return elem.dialog;}),_12b);if(idx!=-1){ds.splice(idx,1);}}},isTop:function(_12d){return ds[ds.length-1].dialog==_12d;}};var ds=_126._dialogStack=[{dialog:null,focus:null,underlayAttrs:null}];if(!_10b.isAsync){_10c(0,function(){var _12e=["dijit/TooltipDialog"];_102(_12e);});}return _126;});},"dojo/cookie":function(){define("dojo/cookie",["./_base/kernel","./regexp"],function(dojo,_12f){dojo.cookie=function(name,_130,_131){var c=document.cookie,ret;if(arguments.length==1){var _132=c.match(new RegExp("(?:^|; )"+_12f.escapeString(name)+"=([^;]*)"));ret=_132?decodeURIComponent(_132[1]):undefined;}else{_131=_131||{};var exp=_131.expires;if(typeof exp=="number"){var d=new Date();d.setTime(d.getTime()+exp*24*60*60*1000);exp=_131.expires=d;}if(exp&&exp.toUTCString){_131.expires=exp.toUTCString();}_130=encodeURIComponent(_130);var _133=name+"="+_130,_134;for(_134 in _131){_133+="; "+_134;var _135=_131[_134];if(_135!==true){_133+="="+_135;}}document.cookie=_133;}return ret;};dojo.cookie.isSupported=function(){if(!("cookieEnabled" in navigator)){this("__djCookieTest__","CookiesAllowed");navigator.cookieEnabled=this("__djCookieTest__")=="CookiesAllowed";if(navigator.cookieEnabled){this("__djCookieTest__","",{expires:-1});}}return navigator.cookieEnabled;};return dojo.cookie;});},"dijit/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/_base/sniff","dojo/_base/window","./_FormValueWidget","./_TextBoxMixin","dojo/text!./templates/TextBox.html",".."],function(_136,_137,_138,_139,lang,has,win,_13a,_13b,_13c,_13d){var _13e=_136([_13a,_13b],{templateString:_13c,_singleNodeTemplate:"<input class=\"dijit dijitReset dijitLeft dijitInputField\" data-dojo-attach-point=\"textbox,focusNode\" autocomplete=\"off\" type=\"${type}\" ${!nameAttrSetting} />",_buttonInputDisabled:has("ie")?"disabled":"",baseClass:"dijitTextBox",postMixInProperties:function(){var type=this.type.toLowerCase();if(this.templateString&&this.templateString.toLowerCase()=="input"||((type=="hidden"||type=="file")&&this.templateString==this.constructor.prototype.templateString)){this.templateString=this._singleNodeTemplate;}this.inherited(arguments);},_onInput:function(e){this.inherited(arguments);if(this.intermediateChanges){var _13f=this;setTimeout(function(){_13f._handleOnChange(_13f.get("value"),false);},0);}},_setPlaceHolderAttr:function(v){this._set("placeHolder",v);if(!this._phspan){this._attachPoints.push("_phspan");this._phspan=_137.create("span",{className:"dijitPlaceHolder dijitInputField"},this.textbox,"after");}this._phspan.innerHTML="";this._phspan.appendChild(document.createTextNode(v));this._updatePlaceHolder();},_updatePlaceHolder:function(){if(this._phspan){this._phspan.style.display=(this.placeHolder&&!this.focused&&!this.textbox.value)?"":"none";}},_setValueAttr:function(_140,_141,_142){this.inherited(arguments);this._updatePlaceHolder();},getDisplayedValue:function(){_139.deprecated(this.declaredClass+"::getDisplayedValue() is deprecated. Use set('displayedValue') instead.","","2.0");return this.get("displayedValue");},setDisplayedValue:function(_143){_139.deprecated(this.declaredClass+"::setDisplayedValue() is deprecated. Use set('displayedValue', ...) instead.","","2.0");this.set("displayedValue",_143);},_onBlur:function(e){if(this.disabled){return;}this.inherited(arguments);this._updatePlaceHolder();},_onFocus:function(by){if(this.disabled||this.readOnly){return;}this.inherited(arguments);this._updatePlaceHolder();}});if(has("ie")){_13e=_136(_13e,{declaredClass:"dijit.form.TextBox",_isTextSelected:function(){var _144=win.doc.selection.createRange();var _145=_144.parentElement();return _145==this.textbox&&_144.text.length==0;},postCreate:function(){this.inherited(arguments);setTimeout(lang.hitch(this,function(){try{var s=_138.getComputedStyle(this.domNode);if(s){var ff=s.fontFamily;if(ff){var _146=this.domNode.getElementsByTagName("INPUT");if(_146){for(var i=0;i<_146.length;i++){_146[i].style.fontFamily=ff;}}}}}catch(e){}}),0);}});_13d._setSelectionRange=_13b._setSelectionRange=function(_147,_148,stop){if(_147.createTextRange){var r=_147.createTextRange();r.collapse(true);r.moveStart("character",-99999);r.moveStart("character",_148);r.moveEnd("character",stop-_148);r.select();}};}else{if(has("mozilla")){_13e=_136(_13e,{declaredClass:"dijit.form.TextBox",_onBlur:function(e){this.inherited(arguments);if(this.selectOnClick){this.textbox.selectionStart=this.textbox.selectionEnd=undefined;}}});}else{_13e.prototype.declaredClass="dijit.form.TextBox";}}lang.setObject("dijit.form.TextBox",_13e);return _13e;});},"dijit/form/Form":function(){define("dijit/form/Form",["dojo/_base/declare","dojo/dom-attr","dojo/_base/event","dojo/_base/kernel","dojo/_base/sniff","../_Widget","../_TemplatedMixin","./_FormMixin","../layout/_ContentPaneResizeMixin"],function(_149,_14a,_14b,_14c,has,_14d,_14e,_14f,_150){return _149("dijit.form.Form",[_14d,_14e,_14f,_150],{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(_151){this.encType=_151;_14a.set(this.domNode,"encType",_151);if(has("ie")){this.domNode.encoding=_151;}},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);_14b.stop(e);return false;},_onSubmit:function(e){var fp=this.constructor.prototype;if(this.execute!=fp.execute||this.onExecute!=fp.onExecute){_14c.deprecated("dijit.form.Form:execute()/onExecute() are deprecated. Use onSubmit() instead.","","2.0");this.onExecute();this.execute(this.getValues());}if(this.onSubmit(e)===false){_14b.stop(e);}},onSubmit:function(){return this.isValid();},submit:function(){if(!(this.onSubmit()===false)){this.containerNode.submit();}}});});},"dijit/layout/_LayoutWidget":function(){define("dijit/layout/_LayoutWidget",["dojo/_base/lang","../_Widget","../_Container","../_Contained","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/sniff","dojo/_base/window"],function(lang,_152,_153,_154,_155,_156,_157,_158,has,win){return _155("dijit.layout._LayoutWidget",[_152,_153,_154],{baseClass:"dijitLayoutContainer",isLayoutContainer:true,buildRendering:function(){this.inherited(arguments);_156.add(this.domNode,"dijitContainer");},startup:function(){if(this._started){return;}this.inherited(arguments);var _159=this.getParent&&this.getParent();if(!(_159&&_159.isLayoutContainer)){this.resize();this.connect(win.global,"onresize",function(){this.resize();});}},resize:function(_15a,_15b){var node=this.domNode;if(_15a){_157.setMarginBox(node,_15a);}var mb=_15b||{};lang.mixin(mb,_15a||{});if(!("h" in mb)||!("w" in mb)){mb=lang.mixin(_157.getMarginBox(node),mb);}var cs=_158.getComputedStyle(node);var me=_157.getMarginExtents(node,cs);var be=_157.getBorderExtents(node,cs);var bb=(this._borderBox={w:mb.w-(me.w+be.w),h:mb.h-(me.h+be.h)});var pe=_157.getPadExtents(node,cs);this._contentBox={l:_158.toPixelValue(node,cs.paddingLeft),t:_158.toPixelValue(node,cs.paddingTop),w:bb.w-pe.w,h:bb.h-pe.h};this.layout();},layout:function(){},_setupChild:function(_15c){var cls=this.baseClass+"-child "+(_15c.baseClass?this.baseClass+"-"+_15c.baseClass:"");_156.add(_15c.domNode,cls);},addChild:function(_15d,_15e){this.inherited(arguments);if(this._started){this._setupChild(_15d);}},removeChild:function(_15f){var cls=this.baseClass+"-child"+(_15f.baseClass?" "+this.baseClass+"-"+_15f.baseClass:"");_156.remove(_15f.domNode,cls);this.inherited(arguments);}});});},"dijit/_DialogMixin":function(){define("dijit/_DialogMixin",["dojo/_base/declare","./a11y"],function(_160,a11y){return _160("dijit._DialogMixin",null,{execute:function(){},onCancel:function(){},onExecute:function(){},_onSubmit:function(){this.onExecute();this.execute(this.get("value"));},_getFocusItems:function(){var _161=a11y._getTabNavigable(this.containerNode);this._firstFocusItem=_161.lowest||_161.first||this.closeButtonNode||this.domNode;this._lastFocusItem=_161.last||_161.highest||this._firstFocusItem;}});});},"dijit/layout/utils":function(){define("dijit/layout/utils",["dojo/_base/array","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang",".."],function(_162,_163,_164,_165,lang,_166){var _167=lang.getObject("layout",true,_166);_167.marginBox2contentBox=function(node,mb){var cs=_165.getComputedStyle(node);var me=_164.getMarginExtents(node,cs);var pb=_164.getPadBorderExtents(node,cs);return {l:_165.toPixelValue(node,cs.paddingLeft),t:_165.toPixelValue(node,cs.paddingTop),w:mb.w-(me.w+pb.w),h:mb.h-(me.h+pb.h)};};function _168(word){return word.substring(0,1).toUpperCase()+word.substring(1);};function size(_169,dim){var _16a=_169.resize?_169.resize(dim):_164.setMarginBox(_169.domNode,dim);if(_16a){lang.mixin(_169,_16a);}else{lang.mixin(_169,_164.getMarginBox(_169.domNode));lang.mixin(_169,dim);}};_167.layoutChildren=function(_16b,dim,_16c,_16d,_16e){dim=lang.mixin({},dim);_163.add(_16b,"dijitLayoutContainer");_16c=_162.filter(_16c,function(item){return item.region!="center"&&item.layoutAlign!="client";}).concat(_162.filter(_16c,function(item){return item.region=="center"||item.layoutAlign=="client";}));_162.forEach(_16c,function(_16f){var elm=_16f.domNode,pos=(_16f.region||_16f.layoutAlign);if(!pos){throw new Error("No region setting for "+_16f.id);}var _170=elm.style;_170.left=dim.l+"px";_170.top=dim.t+"px";_170.position="absolute";_163.add(elm,"dijitAlign"+_168(pos));var _171={};if(_16d&&_16d==_16f.id){_171[_16f.region=="top"||_16f.region=="bottom"?"h":"w"]=_16e;}if(pos=="top"||pos=="bottom"){_171.w=dim.w;size(_16f,_171);dim.h-=_16f.h;if(pos=="top"){dim.t+=_16f.h;}else{_170.top=dim.t+dim.h+"px";}}else{if(pos=="left"||pos=="right"){_171.h=dim.h;size(_16f,_171);dim.w-=_16f.w;if(pos=="left"){dim.l+=_16f.w;}else{_170.left=dim.l+dim.w+"px";}}else{if(pos=="client"||pos=="center"){size(_16f,dim);}}}});};return {marginBox2contentBox:_167.marginBox2contentBox,layoutChildren:_167.layoutChildren};});},"dijit/layout/ContentPane":function(){define("dijit/layout/ContentPane",["dojo/_base/kernel","dojo/_base/lang","../_Widget","./_ContentPaneResizeMixin","dojo/string","dojo/html","dojo/i18n!../nls/loading","dojo/_base/array","dojo/_base/declare","dojo/_base/Deferred","dojo/dom","dojo/dom-attr","dojo/_base/window","dojo/_base/xhr","dojo/i18n"],function(_172,lang,_173,_174,_175,html,_176,_177,_178,_179,dom,_17a,win,xhr,i18n){return _178("dijit.layout.ContentPane",[_173,_174],{href:"",content:"",extractContent:false,parseOnLoad:true,parserScope:_172._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(_17b,_17c){if((!_17b||!_17b.template)&&_17c&&!("href" in _17b)&&!("content" in _17b)){var df=win.doc.createDocumentFragment();_17c=dom.byId(_17c);while(_17c.firstChild){df.appendChild(_17c.firstChild);}_17b=lang.delegate(_17b,{content:df});}this.inherited(arguments,[_17b,_17c]);},postMixInProperties:function(){this.inherited(arguments);var _17d=i18n.getLocalization("dijit","loading",this.lang);this.loadingMessage=_175.substitute(this.loadingMessage,_17d);this.errorMessage=_175.substitute(this.errorMessage,_17d);},buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}this.domNode.title="";if(!_17a.get(this.domNode,"role")){this.domNode.setAttribute("role","group");}},startup:function(){this.inherited(arguments);if(this._contentSetter){_177.forEach(this._contentSetter.parseResults,function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}},this);}},setHref:function(href){_172.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 _179(lang.hitch(this,"cancel"));this.onLoadDeferred.addCallback(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){_172.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 _179(lang.hitch(this,"cancel"));if(this._created){this.onLoadDeferred.addCallback(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;},uninitialize:function(){if(this._beingDestroyed){this.cancel();}this.inherited(arguments);},destroyRecursive:function(_17e){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 _179(lang.hitch(this,"cancel"));this.onLoadDeferred.addCallback(lang.hitch(this,"onLoad"));this._load();return this.onLoadDeferred;},_load:function(){this._setContent(this.onDownloadStart(),true);var self=this;var _17f={preventCache:(this.preventCache||this.refreshOnShow),url:this.href,handleAs:"text"};if(lang.isObject(this.ioArgs)){lang.mixin(_17f,this.ioArgs);}var hand=(this._xhrDfd=(this.ioMethod||xhr.get)(_17f));hand.addCallback(function(html){try{self._isDownloaded=true;self._setContent(html,false);self.onDownloadEnd();}catch(err){self._onError("Content",err);}delete self._xhrDfd;return html;});hand.addErrback(function(err){if(!hand.canceled){self._onError("Download",err);}delete self._xhrDfd;return err;});delete this._hrefChanged;},_onLoadHandler:function(data){this._set("isLoaded",true);try{this.onLoadDeferred.callback(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(_180){if(this.isLoaded){this._onUnloadHandler();}var _181=this._contentSetter;_177.forEach(this.getChildren(),function(_182){if(_182.destroyRecursive){_182.destroyRecursive(_180);}});if(_181){_177.forEach(_181.parseResults,function(_183){if(_183.destroyRecursive&&_183.domNode&&_183.domNode.parentNode==win.body()){_183.destroyRecursive(_180);}});delete _181.parseResults;}if(!_180){html._emptyNode(this.containerNode);}delete this._singleChild;},_setContent:function(cont,_184){this.destroyDescendants();var _185=this._contentSetter;if(!(_185&&_185 instanceof html._ContentSetter)){_185=this._contentSetter=new html._ContentSetter({node:this.containerNode,_onError:lang.hitch(this,this._onError),onContentError:lang.hitch(this,function(e){var _186=this.onContentError(e);try{this.containerNode.innerHTML=_186;}catch(e){console.error("Fatal "+this.id+" could not change content due to "+e.message,e);}})});}var _187=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||{});_185.set((lang.isObject(cont)&&cont.domNode)?cont.domNode:cont,_187);delete this._contentSetterParams;if(this.doLayout){this._checkIfSingleChild();}if(!_184){if(this._started){delete this._started;this.startup();this._scheduleLayout();}this._onLoadHandler(cont);}},_onError:function(type,err,_188){this.onLoadDeferred.errback(err);var _189=this["on"+type+"Error"].call(this,err);if(_188){console.error(_188,err);}else{if(_189){this._setContent(_189,true);}}},onLoad:function(){},onUnload:function(){},onDownloadStart:function(){return this.loadingMessage;},onContentError:function(){},onDownloadError:function(){return this.errorMessage;},onDownloadEnd:function(){}});});},"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,_18a,dojo,_18b,_18c,_18d,dom,_18e,geom,_18f,_190){if(!dojo.isAsync){_18f(0,function(){var _191=["./fx/Toggler"];_190(_191);});}var _192=dojo.fx={};var _193={_fire:function(evt,args){if(this[evt]){this[evt].apply(this,args||[]);}return this;}};var _194=function(_195){this._index=-1;this._animations=_195||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=0;_18b.forEach(this._animations,function(a){this.duration+=a.duration;if(a.delay){this.duration+=a.delay;}},this);};_194.prototype=new _18a();lang.extend(_194,{_onAnimate:function(){this._fire("onAnimate",arguments);},_onEnd:function(){_18c.disconnect(this._onAnimateCtx);_18c.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=_18c.connect(this._current,"onAnimate",this,"_onAnimate");this._onEndCtx=_18c.connect(this._current,"onEnd",this,"_onEnd");this._current.play(0,true);}},play:function(_196,_197){if(!this._current){this._current=this._animations[this._index=0];}if(!_197&&this._current.status()=="playing"){return this;}var _198=_18c.connect(this._current,"beforeBegin",this,function(){this._fire("beforeBegin");}),_199=_18c.connect(this._current,"onBegin",this,function(arg){this._fire("onBegin",arguments);}),_19a=_18c.connect(this._current,"onPlay",this,function(arg){this._fire("onPlay",arguments);_18c.disconnect(_198);_18c.disconnect(_199);_18c.disconnect(_19a);});if(this._onAnimateCtx){_18c.disconnect(this._onAnimateCtx);}this._onAnimateCtx=_18c.connect(this._current,"onAnimate",this,"_onAnimate");if(this._onEndCtx){_18c.disconnect(this._onEndCtx);}this._onEndCtx=_18c.connect(this._current,"onEnd",this,"_onEnd");this._current.play.apply(this._current,arguments);return this;},pause:function(){if(this._current){var e=_18c.connect(this._current,"onPause",this,function(arg){this._fire("onPause",arguments);_18c.disconnect(e);});this._current.pause();}return this;},gotoPercent:function(_19b,_19c){this.pause();var _19d=this.duration*_19b;this._current=null;_18b.some(this._animations,function(a){if(a.duration<=_19d){this._current=a;return true;}_19d-=a.duration;return false;});if(this._current){this._current.gotoPercent(_19d/this._current.duration,_19c);}return this;},stop:function(_19e){if(this._current){if(_19e){for(;this._index+1<this._animations.length;++this._index){this._animations[this._index].stop(true);}this._current=this._animations[this._index];}var e=_18c.connect(this._current,"onStop",this,function(arg){this._fire("onStop",arguments);_18c.disconnect(e);});this._current.stop();}return this;},status:function(){return this._current?this._current.status():"stopped";},destroy:function(){if(this._onAnimateCtx){_18c.disconnect(this._onAnimateCtx);}if(this._onEndCtx){_18c.disconnect(this._onEndCtx);}}});lang.extend(_194,_193);_192.chain=function(_19f){return new _194(_19f);};var _1a0=function(_1a1){this._animations=_1a1||[];this._connects=[];this._finished=0;this.duration=0;_18b.forEach(_1a1,function(a){var _1a2=a.duration;if(a.delay){_1a2+=a.delay;}if(this.duration<_1a2){this.duration=_1a2;}this._connects.push(_18c.connect(a,"onEnd",this,"_onEnd"));},this);this._pseudoAnimation=new _18d.Animation({curve:[0,1],duration:this.duration});var self=this;_18b.forEach(["beforeBegin","onBegin","onPlay","onAnimate","onPause","onStop","onEnd"],function(evt){self._connects.push(_18c.connect(self._pseudoAnimation,evt,function(){self._fire(evt,arguments);}));});};lang.extend(_1a0,{_doAction:function(_1a3,args){_18b.forEach(this._animations,function(a){a[_1a3].apply(a,args);});return this;},_onEnd:function(){if(++this._finished>this._animations.length){this._fire("onEnd");}},_call:function(_1a4,args){var t=this._pseudoAnimation;t[_1a4].apply(t,args);},play:function(_1a5,_1a6){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(_1a7,_1a8){var ms=this.duration*_1a7;_18b.forEach(this._animations,function(a){a.gotoPercent(a.duration<ms?1:(ms/a.duration),_1a8);});this._call("gotoPercent",arguments);return this;},stop:function(_1a9){this._doAction("stop",arguments);this._call("stop",arguments);return this;},status:function(){return this._pseudoAnimation.status();},destroy:function(){_18b.forEach(this._connects,_18c.disconnect);}});lang.extend(_1a0,_193);_192.combine=function(_1aa){return new _1a0(_1aa);};_192.wipeIn=function(args){var node=args.node=dom.byId(args.node),s=node.style,o;var anim=_18d.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 _1ab=_18e.get(node,"height");return Math.max(_1ab,1);}},end:function(){return node.scrollHeight;}}}},args));var fini=function(){s.height="auto";s.overflow=o;};_18c.connect(anim,"onStop",fini);_18c.connect(anim,"onEnd",fini);return anim;};_192.wipeOut=function(args){var node=args.node=dom.byId(args.node),s=node.style,o;var anim=_18d.animateProperty(lang.mixin({properties:{height:{end:1}}},args));_18c.connect(anim,"beforeBegin",function(){o=s.overflow;s.overflow="hidden";s.display="";});var fini=function(){s.overflow=o;s.height="auto";s.display="none";};_18c.connect(anim,"onStop",fini);_18c.connect(anim,"onEnd",fini);return anim;};_192.slideTo=function(args){var node=args.node=dom.byId(args.node),top=null,left=null;var init=(function(n){return function(){var cs=_18e.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=_18d.animateProperty(lang.mixin({properties:{top:args.top||0,left:args.left||0}},args));_18c.connect(anim,"beforeBegin",anim,init);return anim;};return _192;});},"dijit/MenuBarItem":function(){require({cache:{"url:dijit/templates/MenuBarItem.html":"<div class=\"dijitReset dijitInline dijitMenuItem dijitMenuItemLabel\" data-dojo-attach-point=\"focusNode\" role=\"menuitem\" tabIndex=\"-1\"\n\t\tdata-dojo-attach-event=\"onmouseenter:_onHover,onmouseleave:_onUnhover,ondijitclick:_onClick\">\n\t<span data-dojo-attach-point=\"containerNode\"></span>\n</div>\n"}});define("dijit/MenuBarItem",["dojo/_base/declare","./MenuItem","dojo/text!./templates/MenuBarItem.html"],function(_1ac,_1ad,_1ae){var _1af=_1ac("dijit._MenuBarItemMixin",null,{templateString:_1ae,_setIconClassAttr:null});var _1b0=_1ac("dijit.MenuBarItem",[_1ad,_1af],{});_1b0._MenuBarItemMixin=_1af;return _1b0;});},"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/_base/sniff","dojo/_base/window","dojo/window","../a11y"],function(_1b1,_1b2,_1b3,_1b4,lang,_1b5,has,win,_1b6,a11y){return _1b2("dijit.form._FormWidgetMixin",null,{name:"",alt:"",value:"",type:"text",tabIndex:"0",_setTabIndexAttr:"focusNode",disabled:false,intermediateChanges:false,scrollOnFocus:true,_setIdAttr:"focusNode",postCreate:function(){this.inherited(arguments);this.connect(this.domNode,"onmousedown","_onMouseDown");},_setDisabledAttr:function(_1b7){this._set("disabled",_1b7);_1b3.set(this.focusNode,"disabled",_1b7);if(this.valueNode){_1b3.set(this.valueNode,"disabled",_1b7);}this.focusNode.setAttribute("aria-disabled",_1b7);if(_1b7){this._set("hovering",false);this._set("active",false);var _1b8="tabIndex" in this.attributeMap?this.attributeMap.tabIndex:("_setTabIndexAttr" in this)?this._setTabIndexAttr:"focusNode";_1b1.forEach(lang.isArray(_1b8)?_1b8:[_1b8],function(_1b9){var node=this[_1b9];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(e){if(this.scrollOnFocus){_1b6.scrollIntoView(this.domNode);}this.inherited(arguments);},isFocusable:function(){return !this.disabled&&this.focusNode&&(_1b4.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(_1ba,_1bb){if(this._lastValueReported==undefined&&(_1bb===null||!this._onChangeActive)){this._resetValue=this._lastValueReported=_1ba;}this._pendingOnChange=this._pendingOnChange||(typeof _1ba!=typeof this._lastValueReported)||(this.compare(_1ba,this._lastValueReported)!=0);if((this.intermediateChanges||_1bb||_1bb===undefined)&&this._pendingOnChange){this._lastValueReported=_1ba;this._pendingOnChange=false;if(this._onChangeActive){if(this._onChangeHandle){clearTimeout(this._onChangeHandle);}this._onChangeHandle=setTimeout(lang.hitch(this,function(){this._onChangeHandle=null;this.onChange(_1ba);}),0);}}},create:function(){this.inherited(arguments);this._onChangeActive=true;},destroy:function(){if(this._onChangeHandle){clearTimeout(this._onChangeHandle);this.onChange(this._lastValueReported);}this.inherited(arguments);},_onMouseDown:function(e){if((!this.focused||!has("ie"))&&!e.ctrlKey&&_1b5.isLeft(e)&&this.isFocusable()){var _1bc=this.connect(win.body(),"onmouseup",function(){if(this.isFocusable()){this.focus();}this.disconnect(_1bc);});}}});});},"dojo/i18n":function(){define("dojo/i18n",["./_base/kernel","require","./has","./_base/array","./_base/lang","./_base/xhr"],function(dojo,_1bd,has,_1be,lang){var _1bf=dojo.i18n={},_1c0=/(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,_1c1=function(root,_1c2,_1c3,_1c4){for(var _1c5=[_1c3+_1c4],_1c6=_1c2.split("-"),_1c7="",i=0;i<_1c6.length;i++){_1c7+=(_1c7?"-":"")+_1c6[i];if(!root||root[_1c7]){_1c5.push(_1c3+_1c7+"/"+_1c4);}}return _1c5;},_1c8={},_1c9=dojo.getL10nName=function(_1ca,_1cb,_1cc){_1cc=_1cc?_1cc.toLowerCase():dojo.locale;_1ca="dojo/i18n!"+_1ca.replace(/\./g,"/");_1cb=_1cb.replace(/\./g,"/");return (/root/i.test(_1cc))?(_1ca+"/nls/"+_1cb):(_1ca+"/nls/"+_1cc+"/"+_1cb);},_1cd=function(_1ce,_1cf,_1d0,_1d1,_1d2,load){_1ce([_1cf],function(root){var _1d3=_1c8[_1cf+"/"]=lang.clone(root.root),_1d4=_1c1(!root._v1x&&root,_1d2,_1d0,_1d1);_1ce(_1d4,function(){for(var i=1;i<_1d4.length;i++){_1c8[_1d4[i]]=_1d3=lang.mixin(lang.clone(_1d3),arguments[i]);}var _1d5=_1cf+"/"+_1d2;_1c8[_1d5]=_1d3;load&&load(lang.delegate(_1d3));});});},_1d6=function(id,_1d7){var _1d8=_1c0.exec(id),_1d9=_1d8[1];return /^\./.test(_1d9)?_1d7(_1d9)+"/"+id.substring(_1d9.length):id;};load=function(id,_1da,load){var _1db=_1c0.exec(id),_1dc=_1db[1]+"/",_1dd=_1db[5]||_1db[4],_1de=_1dc+_1dd,_1df=(_1db[5]&&_1db[4]),_1e0=_1df||dojo.locale,_1e1=_1de+"/"+_1e0;if(_1df){if(_1c8[_1e1]){load(_1c8[_1e1]);}else{_1cd(_1da,_1de,_1dc,_1dd,_1e0,load);}return;}var _1e2=dojo.config.extraLocale||[];_1e2=lang.isArray(_1e2)?_1e2:[_1e2];_1e2.push(_1e0);_1be.forEach(_1e2,function(_1e3){_1cd(_1da,_1de,_1dc,_1dd,_1e3,_1e3==_1e0&&load);});};true||has.add("dojo-v1x-i18n-Api",1);if(1){var _1e4=new Function("bundle","var __preAmdResult, __amdResult; function define(bundle){__amdResult= bundle;} __preAmdResult= eval(bundle); return [__preAmdResult, __amdResult];"),_1e5=function(url,_1e6,_1e7){return _1e6?(/nls\/[^\/]+\/[^\/]+$/.test(url)?_1e6:{root:_1e6,_v1x:1}):_1e7;},_1e8=function(deps,_1e9){var _1ea=[];dojo.forEach(deps,function(mid){var url=_1bd.toUrl(mid+".js");if(_1c8[url]){_1ea.push(_1c8[url]);}else{try{var _1eb=_1bd(mid);if(_1eb){_1ea.push(_1eb);return;}}catch(e){}dojo.xhrGet({url:url,sync:true,load:function(text){var _1ec=_1e4(text);_1ea.push(_1c8[url]=_1e5(url,_1ec[0],_1ec[1]));},error:function(){_1ea.push(_1c8[url]={});}});}});_1e9.apply(null,_1ea);};_1bf.getLocalization=function(_1ed,_1ee,_1ef){var _1f0,_1f1=_1c9(_1ed,_1ee,_1ef).substring(10);load(_1f1,(1&&!_1bd.isXdUrl(_1bd.toUrl(_1f1+".js"))?_1e8:_1bd),function(_1f2){_1f0=_1f2;});return _1f0;};_1bf.normalizeLocale=function(_1f3){var _1f4=_1f3?_1f3.toLowerCase():dojo.locale;if(_1f4=="root"){_1f4="ROOT";}return _1f4;};}return lang.mixin(_1bf,{dynamic:true,normalize:_1d6,load:load,cache:function(mid,_1f5){_1c8[mid]=_1f5;}});});},"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/i18n","./TextBox","../Tooltip","dojo/text!./templates/ValidationTextBox.html","dojo/i18n!./nls/validate"],function(_1f6,i18n,_1f7,_1f8,_1f9){return _1f6("dijit.form.ValidationTextBox",_1f7,{templateString:_1f9,baseClass:"dijitTextBox dijitValidationTextBox",required:false,promptMessage:"",invalidMessage:"$_unset_$",missingMessage:"$_unset_$",message:"",constraints:{},regExp:".*",regExpGen:function(){return this.regExp;},state:"",tooltipPosition:[],_setValueAttr:function(){this.inherited(arguments);this.validate(this.focused);},validator:function(_1fa,_1fb){return (new RegExp("^(?:"+this.regExpGen(_1fb)+")"+(this.required?"":"?")+"$")).test(_1fa)&&(!this.required||!this._isEmpty(_1fa))&&(this._isEmpty(_1fa)||this.parse(_1fa,_1fb)!==undefined);},_isValidSubset:function(){return this.textbox.value.search(this._partialre)==0;},isValid:function(){return this.validator(this.textbox.value,this.constraints);},_isEmpty:function(_1fc){return (this.trim?/^\s*$/:/^$/).test(_1fc);},getErrorMessage:function(){return (this.required&&this._isEmpty(this.textbox.value))?this.missingMessage:this.invalidMessage;},getPromptMessage:function(){return this.promptMessage;},_maskValidSubsetError:true,validate:function(_1fd){var _1fe="";var _1ff=this.disabled||this.isValid(_1fd);if(_1ff){this._maskValidSubsetError=true;}var _200=this._isEmpty(this.textbox.value);var _201=!_1ff&&_1fd&&this._isValidSubset();this._set("state",_1ff?"":(((((!this._hasBeenBlurred||_1fd)&&_200)||_201)&&this._maskValidSubsetError)?"Incomplete":"Error"));this.focusNode.setAttribute("aria-invalid",_1ff?"false":"true");if(this.state=="Error"){this._maskValidSubsetError=_1fd&&_201;_1fe=this.getErrorMessage(_1fd);}else{if(this.state=="Incomplete"){_1fe=this.getPromptMessage(_1fd);this._maskValidSubsetError=!this._hasBeenBlurred||_1fd;}else{if(_200){_1fe=this.getPromptMessage(_1fd);}}}this.set("message",_1fe);return _1ff;},displayMessage:function(_202){if(_202&&this.focused){_1f8.show(_202,this.domNode,this.tooltipPosition,!this.isLeftToRight());}else{_1f8.hide(this.domNode);}},_refreshState:function(){this.validate(this.focused);this.inherited(arguments);},constructor:function(){this.constraints={};},_setConstraintsAttr:function(_203){if(!_203.locale&&this.lang){_203.locale=this.lang;}this._set("constraints",_203);this._computePartialRE();},_computePartialRE:function(){var p=this.regExpGen(this.constraints);this.regExp=p;var _204="";if(p!=".*"){this.regExp.replace(/\\.|\[\]|\[.*?[^\\]{1}\]|\{.*?\}|\(\?[=:!]|./g,function(re){switch(re.charAt(0)){case "{":case "+":case "?":case "*":case "^":case "$":case "|":case "(":_204+=re;break;case ")":_204+="|$)";break;default:_204+="(?:"+re+"|$)";break;}});}try{"".search(_204);}catch(e){_204=this.regExp;console.warn("RegExp error in "+this.declaredClass+": "+this.regExp);}this._partialre="^(?:"+_204+")$";},postMixInProperties:function(){this.inherited(arguments);this.messages=i18n.getLocalization("dijit.form","validate",this.lang);if(this.invalidMessage=="$_unset_$"){this.invalidMessage=this.messages.invalidMessage;}if(!this.invalidMessage){this.invalidMessage=this.promptMessage;}if(this.missingMessage=="$_unset_$"){this.missingMessage=this.messages.missingMessage;}if(!this.missingMessage){this.missingMessage=this.invalidMessage;}this._setConstraintsAttr(this.constraints);},_setDisabledAttr:function(_205){this.inherited(arguments);this._refreshState();},_setRequiredAttr:function(_206){this._set("required",_206);this.focusNode.setAttribute("aria-required",_206);this._refreshState();},_setMessageAttr:function(_207){this._set("message",_207);this.displayMessage(_207);},reset:function(){this._maskValidSubsetError=true;this.inherited(arguments);},_onBlur:function(){this.displayMessage("");this.inherited(arguments);}});});},"dijit/BackgroundIframe":function(){define("dijit/BackgroundIframe",["require",".","dojo/_base/config","dojo/dom-construct","dojo/dom-style","dojo/_base/lang","dojo/on","dojo/_base/sniff","dojo/_base/window"],function(_208,_209,_20a,_20b,_20c,lang,on,has,win){var _20d=new function(){var _20e=[];this.pop=function(){var _20f;if(_20e.length){_20f=_20e.pop();_20f.style.display="";}else{if(has("ie")<9){var burl=_20a["dojoBlankHtmlUrl"]||_208.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\");'>";_20f=win.doc.createElement(html);}else{_20f=_20b.create("iframe");_20f.src="javascript:\"\"";_20f.className="dijitBackgroundIframe";_20f.setAttribute("role","presentation");_20c.set(_20f,"opacity",0.1);}_20f.tabIndex=-1;}return _20f;};this.push=function(_210){_210.style.display="none";_20e.push(_210);};}();_209.BackgroundIframe=function(node){if(!node.id){throw new Error("no id");}if(has("ie")||has("mozilla")){var _211=(this.iframe=_20d.pop());node.appendChild(_211);if(has("ie")<7||has("quirks")){this.resize(node);this._conn=on(node,"resize",lang.hitch(this,function(){this.resize(node);}));}else{_20c.set(_211,{width:"100%",height:"100%"});}}};lang.extend(_209.BackgroundIframe,{resize:function(node){if(this.iframe){_20c.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){_20d.push(this.iframe);delete this.iframe;}}});return _209.BackgroundIframe;});},"dijit/nls/loading":function(){define({root:({loadingState:"Loading...",errorState:"Sorry, an error occurred"}),"zh":true,"zh-tw":true,"tr":true,"th":true,"sv":true,"sl":true,"sk":true,"ru":true,"ro":true,"pt":true,"pt-pt":true,"pl":true,"nl":true,"nb":true,"ko":true,"kk":true,"ja":true,"it":true,"hu":true,"he":true,"fr":true,"fi":true,"es":true,"el":true,"de":true,"da":true,"cs":true,"ca":true,"ar":true});},"dijit/PopupMenuItem":function(){define("dijit/PopupMenuItem",["dojo/_base/declare","dojo/dom-style","dojo/query","dojo/_base/window","./registry","./MenuItem","./hccss"],function(_212,_213,_214,win,_215,_216){return _212("dijit.PopupMenuItem",_216,{_fillContent:function(){if(this.srcNodeRef){var _217=_214("*",this.srcNodeRef);this.inherited(arguments,[_217[0]]);this.dropDownContainer=this.srcNodeRef;}},startup:function(){if(this._started){return;}this.inherited(arguments);if(!this.popup){var node=_214("[widgetId]",this.dropDownContainer)[0];this.popup=_215.byNode(node);}win.body().appendChild(this.popup.domNode);this.popup.startup();this.popup.domNode.style.display="none";if(this.arrowWrapper){_213.set(this.arrowWrapper,"visibility","");}this.focusNode.setAttribute("aria-haspopup","true");},destroyDescendants:function(_218){if(this.popup){if(!this.popup._destroyed){this.popup.destroyRecursive(_218);}delete this.popup;}this.inherited(arguments);}});});},"dijit/form/_FormValueMixin":function(){define("dijit/form/_FormValueMixin",["dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/sniff","./_FormWidgetMixin"],function(_219,_21a,keys,has,_21b){return _219("dijit.form._FormValueMixin",_21b,{readOnly:false,_setReadOnlyAttr:function(_21c){_21a.set(this.focusNode,"readOnly",_21c);this.focusNode.setAttribute("aria-readonly",_21c);this._set("readOnly",_21c);},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(_21d,_21e){this._handleOnChange(_21d,_21e);},_handleOnChange:function(_21f,_220){this._set("value",_21f);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)){var te;if(has("ie")<9||(has("ie")&&has("quirks"))){e.preventDefault();te=document.createEventObject();te.keyCode=keys.ESCAPE;te.shiftKey=e.shiftKey;e.srcElement.fireEvent("onkeypress",te);}}}});});},"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","dijit/PopupMenuBarItem":function(){define("dijit/PopupMenuBarItem",["dojo/_base/declare","./PopupMenuItem","./MenuBarItem"],function(_221,_222,_223){var _224=_223._MenuBarItemMixin;return _221("dijit.PopupMenuBarItem",[_222,_224],{});});},"dojo/dnd/Mover":function(){define("dojo/dnd/Mover",["../main","../Evented","../touch","./common","./autoscroll"],function(dojo,_225,_226){dojo.declare("dojo.dnd.Mover",[_225],{constructor:function(node,e,host){this.node=dojo.byId(node);this.marginBox={l:e.pageX,t:e.pageY};this.mouseButton=e.button;var h=(this.host=host),d=node.ownerDocument;this.events=[dojo.connect(d,_226.move,this,"onFirstMove"),dojo.connect(d,_226.move,this,"onMouseMove"),dojo.connect(d,_226.release,this,"onMouseUp"),dojo.connect(d,"ondragstart",dojo.stopEvent),dojo.connect(d.body,"onselectstart",dojo.stopEvent)];if(h&&h.onMoveStart){h.onMoveStart(this);}},onMouseMove:function(e){dojo.dnd.autoScroll(e);var m=this.marginBox;this.host.onMove(this,{l:m.l+e.pageX,t:m.t+e.pageY},e);dojo.stopEvent(e);},onMouseUp:function(e){if(dojo.isWebKit&&dojo.isMac&&this.mouseButton==2?e.button==0:this.mouseButton==e.button){this.destroy();}dojo.stopEvent(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=dojo.marginBox(this.node);var b=dojo.doc.body;var bs=dojo.getComputedStyle(b);var bm=dojo._getMarginBox(b,bs);var bc=dojo._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);}dojo.disconnect(this.events.shift());},destroy:function(){dojo.forEach(this.events,dojo.disconnect);var h=this.host;if(h&&h.onMoveStop){h.onMoveStop(this);}this.events=this.node=this.host=null;}});return dojo.dnd.Mover;});},"dijit/form/nls/validate":function(){define({root:({invalidMessage:"The value entered is not valid.",missingMessage:"This value is required.",rangeMessage:"This value is out of range."}),"zh":true,"zh-tw":true,"tr":true,"th":true,"sv":true,"sl":true,"sk":true,"ru":true,"ro":true,"pt":true,"pt-pt":true,"pl":true,"nl":true,"nb":true,"ko":true,"kk":true,"ja":true,"it":true,"hu":true,"he":true,"fr":true,"fi":true,"es":true,"el":true,"de":true,"da":true,"cs":true,"ca":true,"ar":true});},"dojo/Stateful":function(){define("dojo/Stateful",["./_base/kernel","./_base/declare","./_base/lang","./_base/array"],function(dojo,_227,lang,_228){return dojo.declare("dojo.Stateful",null,{postscript:function(_229){if(_229){lang.mixin(this,_229);}},get:function(name){return this[name];},set:function(name,_22a){if(typeof name==="object"){for(var x in name){this.set(x,name[x]);}return this;}var _22b=this[name];this[name]=_22a;if(this._watchCallbacks){this._watchCallbacks(name,_22b,_22a);}return this;},watch:function(name,_22c){var _22d=this._watchCallbacks;if(!_22d){var self=this;_22d=this._watchCallbacks=function(name,_22e,_22f,_230){var _231=function(_232){if(_232){_232=_232.slice();for(var i=0,l=_232.length;i<l;i++){try{_232[i].call(self,name,_22e,_22f);}catch(e){console.error(e);}}}};_231(_22d["_"+name]);if(!_230){_231(_22d["*"]);}};}if(!_22c&&typeof name==="function"){_22c=name;name="*";}else{name="_"+name;}var _233=_22d[name];if(typeof _233!=="object"){_233=_22d[name]=[];}_233.push(_22c);return {unwatch:function(){_233.splice(_228.indexOf(_233,_22c),1);}};}});});},"dojo/touch":function(){define("dojo/touch",["./_base/kernel","./on","./has","./mouse"],function(dojo,on,has,_234){function _235(type){return function(node,_236){return on(node,type,_236);};};var _237=has("touch");dojo.touch={press:_235(_237?"touchstart":"mousedown"),move:_235(_237?"touchmove":"mousemove"),release:_235(_237?"touchend":"mouseup"),cancel:_237?_235("touchcancel"):_234.leave};return dojo.touch;});},"dijit/_CssStateMixin":function(){define("dijit/_CssStateMixin",["dojo/touch","dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/_base/lang","dojo/_base/window"],function(_238,_239,_23a,_23b,lang,win){return _23a("dijit._CssStateMixin",[],{cssStateNodes:{},hovering:false,active:false,_applyAttributes:function(){this.inherited(arguments);_239.forEach(["onmouseenter","onmouseleave",_238.press],function(e){this.connect(this.domNode,e,"_cssMouseEvent");},this);_239.forEach(["disabled","readOnly","checked","selected","focused","state","hovering","active"],function(attr){this.watch(attr,lang.hitch(this,"_setStateClass"));},this);for(var ap in this.cssStateNodes){this._trackMouseState(this[ap],this.cssStateNodes[ap]);}this._setStateClass();},_cssMouseEvent:function(_23c){if(!this.disabled){switch(_23c.type){case "mouseenter":case "mouseover":this._set("hovering",true);this._set("active",this._mouseDown);break;case "mouseleave":case "mouseout":this._set("hovering",false);this._set("active",false);break;case "mousedown":case "touchpress":this._set("active",true);this._mouseDown=true;var _23d=this.connect(win.body(),_238.release,function(){this._mouseDown=false;this._set("active",false);this.disconnect(_23d);});break;}}},_setStateClass:function(){var _23e=this.baseClass.split(" ");function _23f(_240){_23e=_23e.concat(_239.map(_23e,function(c){return c+_240;}),"dijit"+_240);};if(!this.isLeftToRight()){_23f("Rtl");}var _241=this.checked=="mixed"?"Mixed":(this.checked?"Checked":"");if(this.checked){_23f(_241);}if(this.state){_23f(this.state);}if(this.selected){_23f("Selected");}if(this.disabled){_23f("Disabled");}else{if(this.readOnly){_23f("ReadOnly");}else{if(this.active){_23f("Active");}else{if(this.hovering){_23f("Hover");}}}}if(this.focused){_23f("Focused");}var tn=this.stateNode||this.domNode,_242={};_239.forEach(tn.className.split(" "),function(c){_242[c]=true;});if("_stateClasses" in this){_239.forEach(this._stateClasses,function(c){delete _242[c];});}_239.forEach(_23e,function(c){_242[c]=true;});var _243=[];for(var c in _242){_243.push(c);}tn.className=_243.join(" ");this._stateClasses=_23e;},_trackMouseState:function(node,_244){var _245=false,_246=false,_247=false;var self=this,cn=lang.hitch(this,"connect",node);function _248(){var _249=("disabled" in self&&self.disabled)||("readonly" in self&&self.readonly);_23b.toggle(node,_244+"Hover",_245&&!_246&&!_249);_23b.toggle(node,_244+"Active",_246&&!_249);_23b.toggle(node,_244+"Focused",_247&&!_249);};cn("onmouseenter",function(){_245=true;_248();});cn("onmouseleave",function(){_245=false;_246=false;_248();});cn(_238.press,function(){_246=true;_248();});cn(_238.release,function(){_246=false;_248();});cn("onfocus",function(){_247=true;_248();});cn("onblur",function(){_247=false;_248();});this.watch("disabled",_248);this.watch("readOnly",_248);}});});},"dojo/_base/url":function(){define("dojo/_base/url",["./kernel"],function(dojo){var ore=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),ire=new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$"),_24a=function(){var n=null,_24b=arguments,uri=[_24b[0]];for(var i=1;i<_24b.length;i++){if(!_24b[i]){continue;}var _24c=new _24a(_24b[i]+""),_24d=new _24a(uri[0]+"");if(_24c.path==""&&!_24c.scheme&&!_24c.authority&&!_24c.query){if(_24c.fragment!=n){_24d.fragment=_24c.fragment;}_24c=_24d;}else{if(!_24c.scheme){_24c.scheme=_24d.scheme;if(!_24c.authority){_24c.authority=_24d.authority;if(_24c.path.charAt(0)!="/"){var path=_24d.path.substring(0,_24d.path.lastIndexOf("/")+1)+_24c.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;}}}}_24c.path=segs.join("/");}}}}uri=[];if(_24c.scheme){uri.push(_24c.scheme,":");}if(_24c.authority){uri.push("//",_24c.authority);}uri.push(_24c.path);if(_24c.query){uri.push("?",_24c.query);}if(_24c.fragment){uri.push("#",_24c.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;}};_24a.prototype.toString=function(){return this.uri;};return dojo._Url=_24a;});},"dijit/form/_FormValueWidget":function(){define("dijit/form/_FormValueWidget",["dojo/_base/declare","dojo/_base/sniff","./_FormWidget","./_FormValueMixin"],function(_24e,has,_24f,_250){return _24e("dijit.form._FormValueWidget",[_24f,_250],{_layoutHackIE7:function(){if(has("ie")==7){var _251=this.domNode;var _252=_251.parentNode;var _253=_251.firstChild||_251;var _254=_253.style.filter;var _255=this;while(_252&&_252.clientHeight==0){(function ping(){var _256=_255.connect(_252,"onscroll",function(){_255.disconnect(_256);_253.style.filter=(new Date()).getMilliseconds();setTimeout(function(){_253.style.filter=_254;},0);});})();_252=_252.parentNode;}}}});});},"dojo/string":function(){define("dojo/string",["./_base/kernel","./_base/lang"],function(dojo,lang){lang.getObject("string",true,dojo);dojo.string.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("");};dojo.string.pad=function(text,size,ch,end){if(!ch){ch="0";}var out=String(text),pad=dojo.string.rep(ch,Math.ceil((size-out.length)/ch.length));return end?out+pad:pad+out;};dojo.string.substitute=function(_257,map,_258,_259){_259=_259||dojo.global;_258=_258?lang.hitch(_259,_258):function(v){return v;};return _257.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_25a,key,_25b){var _25c=lang.getObject(key,false,map);if(_25b){_25c=lang.getObject(_25b,false,_259).call(_259,_25c,key);}return _258(_25c,key).toString();});};dojo.string.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 dojo.string;});},"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/_base/kernel","dojo/_base/lang","dojo/ready","./_FormWidget","./_ButtonMixin","dojo/text!./templates/Button.html"],function(_25d,_25e,_25f,_260,lang,_261,_262,_263,_264){if(!_260.isAsync){_261(0,function(){var _265=["dijit/form/DropDownButton","dijit/form/ComboButton","dijit/form/ToggleButton"];_25d(_265);});}return _25e("dijit.form.Button",[_262,_263],{showLabel:true,iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitButton",templateString:_264,_setValueAttr:"valueNode",_onClick:function(e){var ok=this.inherited(arguments);if(ok){if(this.valueNode){this.valueNode.click();e.preventDefault();}}return ok;},_fillContent:function(_266){if(_266&&(!this.params||!("label" in this.params))){var _267=lang.trim(_266.innerHTML);if(_267){this.label=_267;}}},_setShowLabelAttr:function(val){if(this.containerNode){_25f.toggle(this.containerNode,"dijitDisplayNone",!val);}this._set("showLabel",val);},setLabel:function(_268){_260.deprecated("dijit.form.Button.setLabel() is deprecated.  Use set('label', ...) instead.","","2.0");this.set("label",_268);},_setLabelAttr:function(_269){this.inherited(arguments);if(!this.showLabel&&!("title" in this.params)){this.titleNode.title=lang.trim(this.containerNode.innerText||this.containerNode.textContent||"");}}});});},"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(_26a,_26b,_26c,_26d,keys,_26e,_26f,_270,lang){return _26e("dijit._KeyNavContainer",[_26c,_26b],{tabIndex:"0",connectKeyNavHandlers:function(_271,_272){var _273=(this._keyNavCodes={});var prev=lang.hitch(this,"focusPrev");var next=lang.hitch(this,"focusNext");_26d.forEach(_271,function(code){_273[code]=prev;});_26d.forEach(_272,function(code){_273[code]=next;});_273[keys.HOME]=lang.hitch(this,"focusFirstChild");_273[keys.END]=lang.hitch(this,"focusLastChild");this.connect(this.domNode,"onkeypress","_onContainerKeypress");this.connect(this.domNode,"onfocus","_onContainerFocus");},startupKeyNavChildren:function(){_26a.deprecated("startupKeyNavChildren() call no longer needed","","2.0");},startup:function(){this.inherited(arguments);_26d.forEach(this.getChildren(),lang.hitch(this,"_startupChild"));},addChild:function(_274,_275){this.inherited(arguments);this._startupChild(_274);},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(_276,last){if(!_276){return;}if(this.focusedChild&&_276!==this.focusedChild){this._onChildBlur(this.focusedChild);}_276.set("tabIndex",this.tabIndex);_276.focus(last?"end":"start");this._set("focusedChild",_276);},_startupChild:function(_277){_277.set("tabIndex","-1");this.connect(_277,"_onFocus",function(){_277.set("tabIndex",this.tabIndex);});this.connect(_277,"_onBlur",function(){_277.set("tabIndex","-1");});},_onContainerFocus:function(evt){if(evt.target!==this.domNode||this.focusedChild){return;}this.focusFirstChild();_270.set(this.domNode,"tabIndex","-1");},_onBlur:function(evt){if(this.tabIndex){_270.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();_26f.stop(evt);}},_onChildBlur:function(){},_getFirstFocusableChild:function(){return this._getNextFocusableChild(null,1);},_getLastFocusableChild:function(){return this._getNextFocusableChild(null,-1);},_getNextFocusableChild:function(_278,dir){if(_278){_278=this._getSiblingOfChild(_278,dir);}var _279=this.getChildren();for(var i=0;i<_279.length;i++){if(!_278){_278=_279[(dir>0)?0:(_279.length-1)];}if(_278.isFocusable()){return _278;}_278=this._getSiblingOfChild(_278,dir);}return null;}});});},"dojo/dnd/autoscroll":function(){define("dojo/dnd/autoscroll",["../main","../window"],function(dojo){dojo.getObject("dnd",true,dojo);dojo.dnd.getViewport=dojo.window.getBox;dojo.dnd.V_TRIGGER_AUTOSCROLL=32;dojo.dnd.H_TRIGGER_AUTOSCROLL=32;dojo.dnd.V_AUTOSCROLL_VALUE=16;dojo.dnd.H_AUTOSCROLL_VALUE=16;dojo.dnd.autoScroll=function(e){var v=dojo.window.getBox(),dx=0,dy=0;if(e.clientX<dojo.dnd.H_TRIGGER_AUTOSCROLL){dx=-dojo.dnd.H_AUTOSCROLL_VALUE;}else{if(e.clientX>v.w-dojo.dnd.H_TRIGGER_AUTOSCROLL){dx=dojo.dnd.H_AUTOSCROLL_VALUE;}}if(e.clientY<dojo.dnd.V_TRIGGER_AUTOSCROLL){dy=-dojo.dnd.V_AUTOSCROLL_VALUE;}else{if(e.clientY>v.h-dojo.dnd.V_TRIGGER_AUTOSCROLL){dy=dojo.dnd.V_AUTOSCROLL_VALUE;}}window.scrollBy(dx,dy);};dojo.dnd._validNodes={"div":1,"p":1,"td":1};dojo.dnd._validOverflow={"auto":1,"scroll":1};dojo.dnd.autoScrollNodes=function(e){var b,t,w,h,rx,ry,dx=0,dy=0,_27a,_27b;for(var n=e.target;n;){if(n.nodeType==1&&(n.tagName.toLowerCase() in dojo.dnd._validNodes)){var s=dojo.getComputedStyle(n),_27c=(s.overflow.toLowerCase() in dojo.dnd._validOverflow),_27d=(s.overflowX.toLowerCase() in dojo.dnd._validOverflow),_27e=(s.overflowY.toLowerCase() in dojo.dnd._validOverflow);if(_27c||_27d||_27e){b=dojo._getContentBox(n,s);t=dojo.position(n,true);}if(_27c||_27d){w=Math.min(dojo.dnd.H_TRIGGER_AUTOSCROLL,b.w/2);rx=e.pageX-t.x;if(dojo.isWebKit||dojo.isOpera){rx+=dojo.body().scrollLeft;}dx=0;if(rx>0&&rx<b.w){if(rx<w){dx=-w;}else{if(rx>b.w-w){dx=w;}}_27a=n.scrollLeft;n.scrollLeft=n.scrollLeft+dx;}}if(_27c||_27e){h=Math.min(dojo.dnd.V_TRIGGER_AUTOSCROLL,b.h/2);ry=e.pageY-t.y;if(dojo.isWebKit||dojo.isOpera){ry+=dojo.body().scrollTop;}dy=0;if(ry>0&&ry<b.h){if(ry<h){dy=-h;}else{if(ry>b.h-h){dy=h;}}_27b=n.scrollTop;n.scrollTop=n.scrollTop+dy;}}if(dx||dy){return;}}try{n=n.parentNode;}catch(x){n=null;}}dojo.dnd.autoScroll(e);};return dojo.dnd;});},"dijit/registry":function(){define("dijit/registry",["dojo/_base/array","dojo/_base/sniff","dojo/_base/unload","dojo/_base/window","."],function(_27f,has,_280,win,_281){var _282={},hash={};var _283={length:0,add:function(_284){if(hash[_284.id]){throw new Error("Tried to register widget with id=="+_284.id+" but that id is already registered");}hash[_284.id]=_284;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(_285){var id;do{id=_285+"_"+(_285 in _282?++_282[_285]:_282[_285]=0);}while(hash[id]);return _281._scopeName=="dijit"?id:_281._scopeName+"_"+id;},findWidgets:function(root){var _286=[];function _287(root){for(var node=root.firstChild;node;node=node.nextSibling){if(node.nodeType==1){var _288=node.getAttribute("widgetId");if(_288){var _289=hash[_288];if(_289){_286.push(_289);}}else{_287(node);}}}};_287(root);return _286;},_destroyAll:function(){_281._curFocus=null;_281._prevFocus=null;_281._activeStack=[];_27f.forEach(_283.findWidgets(win.body()),function(_28a){if(!_28a._destroyed){if(_28a.destroyRecursive){_28a.destroyRecursive();}else{if(_28a.destroy){_28a.destroy();}}}});},getEnclosingWidget:function(node){while(node){var id=node.getAttribute&&node.getAttribute("widgetId");if(id){return hash[id];}node=node.parentNode;}return null;},_hash:hash};if(has("ie")){_280.addOnWindowUnload(function(){_283._destroyAll();});}_281.registry=_283;return _283;});},"dijit/_base/manager":function(){define("dijit/_base/manager",["dojo/_base/array","dojo/_base/config","../registry",".."],function(_28b,_28c,_28d,_28e){_28b.forEach(["byId","getUniqueId","findWidgets","_destroyAll","byNode","getEnclosingWidget"],function(name){_28e[name]=_28d[name];});_28e.defaultDuration=_28c["defaultDuration"]||200;return _28e;});},"dijit/a11y":function(){define("dijit/a11y",["dojo/_base/array","dojo/_base/config","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-style","dojo/_base/sniff","./_base/manager","."],function(_28f,_290,_291,dom,_292,_293,has,_294,_295){var _296=(_295._isElementShown=function(elem){var s=_293.get(elem);return (s.visibility!="hidden")&&(s.visibility!="collapsed")&&(s.display!="none")&&(_292.get(elem,"type")!="hidden");});_295.hasDefaultTabStop=function(elem){switch(elem.nodeName.toLowerCase()){case "a":return _292.has(elem,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return true;case "iframe":var body;try{var _297=elem.contentDocument;if("designMode" in _297&&_297.designMode=="on"){return true;}body=_297.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 _298=(_295.isTabNavigable=function(elem){if(_292.get(elem,"disabled")){return false;}else{if(_292.has(elem,"tabIndex")){return _292.get(elem,"tabIndex")>=0;}else{return _295.hasDefaultTabStop(elem);}}});_295._getTabNavigable=function(root){var _299,last,_29a,_29b,_29c,_29d,_29e={};function _29f(node){return node&&node.tagName.toLowerCase()=="input"&&node.type&&node.type.toLowerCase()=="radio"&&node.name&&node.name.toLowerCase();};var _2a0=function(_2a1){for(var _2a2=_2a1.firstChild;_2a2;_2a2=_2a2.nextSibling){if(_2a2.nodeType!=1||(has("ie")&&_2a2.scopeName!=="HTML")||!_296(_2a2)){continue;}if(_298(_2a2)){var _2a3=_292.get(_2a2,"tabIndex");if(!_292.has(_2a2,"tabIndex")||_2a3==0){if(!_299){_299=_2a2;}last=_2a2;}else{if(_2a3>0){if(!_29a||_2a3<_29b){_29b=_2a3;_29a=_2a2;}if(!_29c||_2a3>=_29d){_29d=_2a3;_29c=_2a2;}}}var rn=_29f(_2a2);if(_292.get(_2a2,"checked")&&rn){_29e[rn]=_2a2;}}if(_2a2.nodeName.toUpperCase()!="SELECT"){_2a0(_2a2);}}};if(_296(root)){_2a0(root);}function rs(node){return _29e[_29f(node)]||node;};return {first:rs(_299),last:rs(last),lowest:rs(_29a),highest:rs(_29c)};};_295.getFirstInTabbingOrder=function(root){var _2a4=_295._getTabNavigable(dom.byId(root));return _2a4.lowest?_2a4.lowest:_2a4.first;};_295.getLastInTabbingOrder=function(root){var _2a5=_295._getTabNavigable(dom.byId(root));return _2a5.last?_2a5.last:_2a5.highest;};return {hasDefaultTabStop:_295.hasDefaultTabStop,isTabNavigable:_295.isTabNavigable,_getTabNavigable:_295._getTabNavigable,getFirstInTabbingOrder:_295.getFirstInTabbingOrder,getLastInTabbingOrder:_295.getLastInTabbingOrder};});},"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","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","url:dijit/templates/TitlePane.html":"<div>\n\t<div data-dojo-attach-event=\"onclick:_onTitleClick, onkeypress:_onTitleKey\"\n\t\t\tclass=\"dijitTitlePaneTitle\" data-dojo-attach-point=\"titleBarNode\">\n\t\t<div class=\"dijitTitlePaneTitleFocus\" data-dojo-attach-point=\"focusNode\">\n\t\t\t<img src=\"${_blankGif}\" alt=\"\" data-dojo-attach-point=\"arrowNode\" class=\"dijitArrowNode\" role=\"presentation\"\n\t\t\t/><span data-dojo-attach-point=\"arrowNodeInner\" class=\"dijitArrowNodeInner\"></span\n\t\t\t><span data-dojo-attach-point=\"titleNode\" class=\"dijitTitlePaneTextNode\"></span>\n\t\t</div>\n\t</div>\n\t<div class=\"dijitTitlePaneContentOuter\" data-dojo-attach-point=\"hideNode\" role=\"presentation\">\n\t\t<div class=\"dijitReset\" data-dojo-attach-point=\"wipeNode\" role=\"presentation\">\n\t\t\t<div class=\"dijitTitlePaneContentInner\" data-dojo-attach-point=\"containerNode\" role=\"region\" id=\"${id}_pane\">\n\t\t\t\t<!-- nested divs because wipeIn()/wipeOut() doesn't work right on node w/padding etc.  Put padding on inner div. -->\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n","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/_base/kernel","dojo/keys","dojo/_base/lang","dojo/on","dojo/_base/sniff","dojo/_base/window","dojo/window","./popup","./DropDownMenu","dojo/ready"],function(_2a6,_2a7,_2a8,_2a9,dom,_2aa,_2ab,_2ac,_2ad,keys,lang,on,has,win,_2ae,pm,_2af,_2b0){if(!_2ad.isAsync){_2b0(0,function(){var _2b1=["dijit/MenuItem","dijit/PopupMenuItem","dijit/CheckedMenuItem","dijit/MenuSeparator"];_2a6(_2b1);});}return _2a8("dijit.Menu",_2af,{constructor:function(){this._bindings=[];},targetNodeIds:[],contextMenuForWindow:false,leftClickToOpen:false,refocus:true,postCreate:function(){if(this.contextMenuForWindow){this.bindDomNode(win.body());}else{_2a7.forEach(this.targetNodeIds,this.bindDomNode,this);}this.inherited(arguments);},_iframeContentWindow:function(_2b2){return _2ae.get(this._iframeContentDocument(_2b2))||this._iframeContentDocument(_2b2)["__parent__"]||(_2b2.name&&win.doc.frames[_2b2.name])||null;},_iframeContentDocument:function(_2b3){return _2b3.contentDocument||(_2b3.contentWindow&&_2b3.contentWindow.document)||(_2b3.name&&win.doc.frames[_2b3.name]&&win.doc.frames[_2b3.name].document)||null;},bindDomNode:function(node){node=dom.byId(node);var cn;if(node.tagName.toLowerCase()=="iframe"){var _2b4=node,_2b5=this._iframeContentWindow(_2b4);cn=win.withGlobal(_2b5,win.body);}else{cn=(node==win.body()?win.doc.documentElement:node);}var _2b6={node:node,iframe:_2b4};_2aa.set(node,"_dijitMenu"+this.id,this._bindings.push(_2b6));var _2b7=lang.hitch(this,function(cn){return [on(cn,this.leftClickToOpen?"click":"contextmenu",lang.hitch(this,function(evt){_2a9.stop(evt);this._scheduleOpen(evt.target,_2b4,{x:evt.pageX,y:evt.pageY});})),on(cn,"keydown",lang.hitch(this,function(evt){if(evt.shiftKey&&evt.keyCode==keys.F10){_2a9.stop(evt);this._scheduleOpen(evt.target,_2b4);}}))];});_2b6.connects=cn?_2b7(cn):[];if(_2b4){_2b6.onloadHandler=lang.hitch(this,function(){var _2b8=this._iframeContentWindow(_2b4);cn=win.withGlobal(_2b8,win.body);_2b6.connects=_2b7(cn);});if(_2b4.addEventListener){_2b4.addEventListener("load",_2b6.onloadHandler,false);}else{_2b4.attachEvent("onload",_2b6.onloadHandler);}}},unBindDomNode:function(_2b9){var node;try{node=dom.byId(_2b9);}catch(e){return;}var _2ba="_dijitMenu"+this.id;if(node&&_2aa.has(node,_2ba)){var bid=_2aa.get(node,_2ba)-1,b=this._bindings[bid],h;while(h=b.connects.pop()){h.remove();}var _2bb=b.iframe;if(_2bb){if(_2bb.removeEventListener){_2bb.removeEventListener("load",b.onloadHandler,false);}else{_2bb.detachEvent("onload",b.onloadHandler);}}_2aa.remove(node,_2ba);delete this._bindings[bid];}},_scheduleOpen:function(_2bc,_2bd,_2be){if(!this._openTimer){this._openTimer=setTimeout(lang.hitch(this,function(){delete this._openTimer;this._openMyself({target:_2bc,iframe:_2bd,coords:_2be});}),1);}},_openMyself:function(args){var _2bf=args.target,_2c0=args.iframe,_2c1=args.coords;if(_2c1){if(_2c0){var ifc=_2ab.position(_2c0,true),_2c2=this._iframeContentWindow(_2c0),_2c3=win.withGlobal(_2c2,"_docScroll",dojo);var cs=_2ac.getComputedStyle(_2c0),tp=_2ac.toPixelValue,left=(has("ie")&&has("quirks")?0:tp(_2c0,cs.paddingLeft))+(has("ie")&&has("quirks")?tp(_2c0,cs.borderLeftWidth):0),top=(has("ie")&&has("quirks")?0:tp(_2c0,cs.paddingTop))+(has("ie")&&has("quirks")?tp(_2c0,cs.borderTopWidth):0);_2c1.x+=ifc.x+left-_2c3.x;_2c1.y+=ifc.y+top-_2c3.y;}}else{_2c1=_2ab.position(_2bf,true);_2c1.x+=10;_2c1.y+=10;}var self=this;var _2c4=this._focusManager.get("prevNode");var _2c5=this._focusManager.get("curNode");var _2c6=!_2c5||(dom.isDescendant(_2c5,this.domNode))?_2c4:_2c5;function _2c7(){if(self.refocus&&_2c6){_2c6.focus();}pm.close(self);};pm.open({popup:this,x:_2c1.x,y:_2c1.y,onExecute:_2c7,onCancel:_2c7,orient:this.isLeftToRight()?"L":"R"});this.focus();this._onBlur=function(){this.inherited("_onBlur",arguments);pm.close(this);};},uninitialize:function(){_2a7.forEach(this._bindings,function(b){if(b){this.unBindDomNode(b.node);}},this);this.inherited(arguments);}});});},"dojo/regexp":function(){define("dojo/regexp",["./_base/kernel","./_base/lang"],function(dojo,lang){lang.getObject("regexp",true,dojo);dojo.regexp.escapeString=function(str,_2c8){return str.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(ch){if(_2c8&&_2c8.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};dojo.regexp.buildGroupRE=function(arr,re,_2c9){if(!(arr instanceof Array)){return re(arr);}var b=[];for(var i=0;i<arr.length;i++){b.push(re(arr[i]));}return dojo.regexp.group(b.join("|"),_2c9);};dojo.regexp.group=function(_2ca,_2cb){return "("+(_2cb?"?:":"")+_2ca+")";};return dojo.regexp;});},"dojo/dnd/common":function(){define("dojo/dnd/common",["../main"],function(dojo){dojo.getObject("dnd",true,dojo);dojo.dnd.getCopyKeyState=dojo.isCopyKey;dojo.dnd._uniqueId=0;dojo.dnd.getUniqueId=function(){var id;do{id=dojo._scopeName+"Unique"+(++dojo.dnd._uniqueId);}while(dojo.byId(id));return id;};dojo.dnd._empty={};dojo.dnd.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 dojo.dnd;});},"dijit/DialogUnderlay":function(){define("dijit/DialogUnderlay",["dojo/_base/declare","dojo/dom-attr","dojo/_base/window","dojo/window","./_Widget","./_TemplatedMixin","./BackgroundIframe"],function(_2cc,_2cd,win,_2ce,_2cf,_2d0,_2d1){return _2cc("dijit.DialogUnderlay",[_2cf,_2d0],{templateString:"<div class='dijitDialogUnderlayWrapper'><div class='dijitDialogUnderlay' data-dojo-attach-point='node'></div></div>",dialogId:"","class":"",_setDialogIdAttr:function(id){_2cd.set(this.node,"id",id+"_underlay");this._set("dialogId",id);},_setClassAttr:function(_2d2){this.node.className="dijitDialogUnderlay "+_2d2;this._set("class",_2d2);},postCreate:function(){win.body().appendChild(this.domNode);},layout:function(){var is=this.node.style,os=this.domNode.style;os.display="none";var _2d3=_2ce.getBox();os.top=_2d3.t+"px";os.left=_2d3.l+"px";is.width=_2d3.w+"px";is.height=_2d3.h+"px";os.display="block";},show:function(){this.domNode.style.display="block";this.layout();this.bgIframe=new _2d1(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","."],function(_2d4,_2d5,_2d6,_2d7,win,_2d8,_2d9){function _2da(node,_2db,_2dc,_2dd){var view=_2d8.getBox();if(!node.parentNode||String(node.parentNode.tagName).toLowerCase()!="body"){win.body().appendChild(node);}var best=null;_2d4.some(_2db,function(_2de){var _2df=_2de.corner;var pos=_2de.pos;var _2e0=0;var _2e1={w:{"L":view.l+view.w-pos.x,"R":pos.x-view.l,"M":view.w}[_2df.charAt(1)],h:{"T":view.t+view.h-pos.y,"B":pos.y-view.t,"M":view.h}[_2df.charAt(0)]};if(_2dc){var res=_2dc(node,_2de.aroundCorner,_2df,_2e1,_2dd);_2e0=typeof res=="undefined"?0:res;}var _2e2=node.style;var _2e3=_2e2.display;var _2e4=_2e2.visibility;if(_2e2.display=="none"){_2e2.visibility="hidden";_2e2.display="";}var mb=_2d5.getMarginBox(node);_2e2.display=_2e3;_2e2.visibility=_2e4;var _2e5={"L":pos.x,"R":pos.x-mb.w,"M":Math.max(view.l,Math.min(view.l+view.w,pos.x+(mb.w>>1))-mb.w)}[_2df.charAt(1)],_2e6={"T":pos.y,"B":pos.y-mb.h,"M":Math.max(view.t,Math.min(view.t+view.h,pos.y+(mb.h>>1))-mb.h)}[_2df.charAt(0)],_2e7=Math.max(view.l,_2e5),_2e8=Math.max(view.t,_2e6),endX=Math.min(view.l+view.w,_2e5+mb.w),endY=Math.min(view.t+view.h,_2e6+mb.h),_2e9=endX-_2e7,_2ea=endY-_2e8;_2e0+=(mb.w-_2e9)+(mb.h-_2ea);if(best==null||_2e0<best.overflow){best={corner:_2df,aroundCorner:_2de.aroundCorner,x:_2e7,y:_2e8,w:_2e9,h:_2ea,overflow:_2e0,spaceAvailable:_2e1};}return !_2e0;});if(best.overflow&&_2dc){_2dc(node,best.aroundCorner,best.corner,best.spaceAvailable,_2dd);}var l=_2d5.isBodyLtr(),s=node.style;s.top=best.y+"px";s[l?"left":"right"]=(l?best.x:view.w-best.x-best.w)+"px";s[l?"right":"left"]="auto";return best;};return (_2d9.place={at:function(node,pos,_2eb,_2ec){var _2ed=_2d4.map(_2eb,function(_2ee){var c={corner:_2ee,pos:{x:pos.x,y:pos.y}};if(_2ec){c.pos.x+=_2ee.charAt(1)=="L"?_2ec.x:-_2ec.x;c.pos.y+=_2ee.charAt(0)=="T"?_2ec.y:-_2ec.y;}return c;});return _2da(node,_2ed);},around:function(node,_2ef,_2f0,_2f1,_2f2){var _2f3=(typeof _2ef=="string"||"offsetWidth" in _2ef)?_2d5.position(_2ef,true):_2ef;if(_2ef.parentNode){var _2f4=_2ef.parentNode;while(_2f4&&_2f4.nodeType==1&&_2f4.nodeName!="BODY"){var _2f5=_2d5.position(_2f4,true);var _2f6=_2d6.getComputedStyle(_2f4).overflow;if(_2f6=="hidden"||_2f6=="auto"||_2f6=="scroll"){var _2f7=Math.min(_2f3.y+_2f3.h,_2f5.y+_2f5.h);var _2f8=Math.min(_2f3.x+_2f3.w,_2f5.x+_2f5.w);_2f3.x=Math.max(_2f3.x,_2f5.x);_2f3.y=Math.max(_2f3.y,_2f5.y);_2f3.h=_2f7-_2f3.y;_2f3.w=_2f8-_2f3.x;}_2f4=_2f4.parentNode;}}var x=_2f3.x,y=_2f3.y,_2f9="w" in _2f3?_2f3.w:(_2f3.w=_2f3.width),_2fa="h" in _2f3?_2f3.h:(_2d7.deprecated("place.around: dijit.place.__Rectangle: { x:"+x+", y:"+y+", height:"+_2f3.height+", width:"+_2f9+" } has been deprecated.  Please use { x:"+x+", y:"+y+", h:"+_2f3.height+", w:"+_2f9+" }","","2.0"),_2f3.h=_2f3.height);var _2fb=[];function push(_2fc,_2fd){_2fb.push({aroundCorner:_2fc,corner:_2fd,pos:{x:{"L":x,"R":x+_2f9,"M":x+(_2f9>>1)}[_2fc.charAt(1)],y:{"T":y,"B":y+_2fa,"M":y+(_2fa>>1)}[_2fc.charAt(0)]}});};_2d4.forEach(_2f0,function(pos){var ltr=_2f1;switch(pos){case "above-centered":push("TM","BM");break;case "below-centered":push("BM","TM");break;case "after":ltr=!ltr;case "before":push(ltr?"ML":"MR",ltr?"MR":"ML");break;case "below-alt":ltr=!ltr;case "below":push(ltr?"BL":"BR",ltr?"TL":"TR");push(ltr?"BR":"BL",ltr?"TR":"TL");break;case "above-alt":ltr=!ltr;case "above":push(ltr?"TL":"TR",ltr?"BL":"BR");push(ltr?"TR":"TL",ltr?"BR":"BL");break;default:push(pos.aroundCorner,pos.corner);}});var _2fe=_2da(node,_2fb,_2f2,{w:_2f9,h:_2fa});_2fe.aroundNodePos=_2f3;return _2fe;}});});},"dijit/nls/common":function(){define({root:({buttonOk:"OK",buttonCancel:"Cancel",buttonSave:"Save",itemClose:"Close"}),"zh":true,"zh-tw":true,"tr":true,"th":true,"sv":true,"sl":true,"sk":true,"ru":true,"ro":true,"pt":true,"pt-pt":true,"pl":true,"nl":true,"nb":true,"ko":true,"kk":true,"ja":true,"it":true,"hu":true,"he":true,"fr":true,"fi":true,"es":true,"el":true,"de":true,"da":true,"cs":true,"ca":true,"ar":true});},"dijit/DropDownMenu":function(){require({cache:{"url:dijit/templates/Menu.html":"<table class=\"dijit dijitMenu dijitMenuPassive dijitReset dijitMenuTable\" role=\"menu\" tabIndex=\"${tabIndex}\" 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(_2ff,_300,keys,_301,_302,_303){return _2ff("dijit.DropDownMenu",[_303,_302],{templateString:_301,baseClass:"dijitMenu",postCreate:function(){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);_300.stop(evt);break;case this._closeSubMenuKey:if(this.parentMenu){if(this.parentMenu._isMenuBar){this.parentMenu.focusPrev();}else{this.onCancel(false);}}else{_300.stop(evt);}break;}}});});},"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<span data-dojo-attach-point=\"titleNode\" class=\"dijitDialogTitle\" id=\"${id}_title\"></span>\n\t<span data-dojo-attach-point=\"closeButtonNode\" class=\"dijitDialogCloseIcon\" data-dojo-attach-event=\"ondijitclick: onCancel\" title=\"${buttonCancel}\" role=\"button\" tabIndex=\"-1\">\n\t\t<span data-dojo-attach-point=\"closeText\" class=\"closeText\" title=\"${buttonCancel}\">x</span>\n\t</span>\n\t</div>\n\t\t<div data-dojo-attach-point=\"containerNode\" class=\"dijitDialogPaneContent\"></div>\n</div>\n","dijit/_Widget":function(){define("dijit/_Widget",["dojo/aspect","dojo/_base/config","dojo/_base/connect","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/query","dojo/ready","./registry","./_WidgetBase","./_OnDijitClickMixin","./_FocusMixin","dojo/uacss","./hccss"],function(_304,_305,_306,_307,_308,lang,_309,_30a,_30b,_30c,_30d,_30e){function _30f(){};function _310(_311){return function(obj,_312,_313,_314){if(obj&&typeof _312=="string"&&obj[_312]==_30f){return obj.on(_312.substring(2).toLowerCase(),lang.hitch(_313,_314));}return _311.apply(_306,arguments);};};_304.around(_306,"connect",_310);if(_308.connect){_304.around(_308,"connect",_310);}var _315=_307("dijit._Widget",[_30c,_30d,_30e],{onClick:_30f,onDblClick:_30f,onKeyDown:_30f,onKeyPress:_30f,onKeyUp:_30f,onMouseDown:_30f,onMouseMove:_30f,onMouseOut:_30f,onMouseOver:_30f,onMouseLeave:_30f,onMouseEnter:_30f,onMouseUp:_30f,constructor:function(_316){this._toConnect={};for(var name in _316){if(this[name]===_30f){this._toConnect[name.replace(/^on/,"").toLowerCase()]=_316[name];delete _316[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)]===_30f){return _306.connect(this.domNode,type.toLowerCase(),this,func);}return this.inherited(arguments);},_setFocusedAttr:function(val){this._focused=val;this._set("focused",val);},setAttribute:function(attr,_317){_308.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0");this.set(attr,_317);},attr:function(name,_318){if(_305.isDebug){var _319=arguments.callee._ach||(arguments.callee._ach={}),_31a=(arguments.callee.caller||"unknown caller").toString();if(!_319[_31a]){_308.deprecated(this.declaredClass+"::attr() is deprecated. Use get() or set() instead, called from "+_31a,"","2.0");_319[_31a]=true;}}var args=arguments.length;if(args>=2||typeof name==="object"){return this.set.apply(this,arguments);}else{return this.get(name);}},getDescendants:function(){_308.deprecated(this.declaredClass+"::getDescendants() is deprecated. Use getChildren() instead.","","2.0");return this.containerNode?_309("[widgetId]",this.containerNode).map(_30b.byNode):[];},_onShow:function(){this.onShow();},onShow:function(){},onHide:function(){},onClose:function(){return true;}});if(!_308.isAsync){_30a(0,function(){var _31b=["dijit/_base"];require(_31b);});}return _315;});},"dojo/cache":function(){define("dojo/cache",["./_base/kernel","./text"],function(dojo,text){return dojo.cache;});},"dijit/_FocusMixin":function(){define("dijit/_FocusMixin",["./focus","./_WidgetBase","dojo/_base/declare","dojo/_base/lang"],function(_31c,_31d,_31e,lang){lang.extend(_31d,{focused:false,onFocus:function(){},onBlur:function(){},_onFocus:function(){this.onFocus();},_onBlur:function(){this.onBlur();}});return _31e("dijit._FocusMixin",null,{_focusManager:_31c});});},"dijit/_OnDijitClickMixin":function(){define("dijit/_OnDijitClickMixin",["dojo/on","dojo/_base/array","dojo/keys","dojo/_base/declare","dojo/_base/sniff","dojo/_base/unload","dojo/_base/window"],function(on,_31f,keys,_320,has,_321,win){var _322=null;if(has("ie")){(function(){var _323=function(evt){_322=evt.srcElement;};win.doc.attachEvent("onkeydown",_323);_321.addOnWindowUnload(function(){win.doc.detachEvent("onkeydown",_323);});})();}else{win.doc.addEventListener("keydown",function(evt){_322=evt.target;},true);}var _324=function(node,_325){if(/input|button/i.test(node.nodeName)){return on(node,"click",_325);}else{function _326(e){return (e.keyCode==keys.ENTER||e.keyCode==keys.SPACE)&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey;};var _327=[on(node,"keypress",function(e){if(_326(e)){_322=e.target;e.preventDefault();}}),on(node,"keyup",function(e){if(_326(e)&&e.target==_322){_322=null;_325.call(this,e);}}),on(node,"click",function(e){_325.call(this,e);})];return {remove:function(){_31f.forEach(_327,function(h){h.remove();});}};}};return _320("dijit._OnDijitClickMixin",null,{connect:function(obj,_328,_329){return this.inherited(arguments,[obj,_328=="ondijitclick"?_324:_328,_329]);}});});},"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/_base/sniff","dojo/Stateful","dojo/_base/unload","dojo/_base/window","dojo/window","./a11y","./registry","."],function(_32a,_32b,dom,_32c,_32d,_32e,lang,on,_32f,has,_330,_331,win,_332,a11y,_333,_334){var _335=_32b([_330,_32e],{curNode:null,activeStack:[],constructor:function(){var _336=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);}});_32a.before(_32d,"empty",_336);_32a.before(_32d,"destroy",_336);},registerIframe:function(_337){return this.registerWin(_337.contentWindow,_337);},registerWin:function(_338,_339){var _33a=this;var _33b=function(evt){_33a._justMouseDowned=true;setTimeout(function(){_33a._justMouseDowned=false;},0);if(has("ie")&&evt&&evt.srcElement&&evt.srcElement.parentNode==null){return;}_33a._onTouchNode(_339||evt.target||evt.srcElement,"mouse");};var doc=has("ie")?_338.document.documentElement:_338.document;if(doc){if(has("ie")){_338.document.body.attachEvent("onmousedown",_33b);var _33c=function(evt){var tag=evt.srcElement.tagName.toLowerCase();if(tag=="#document"||tag=="body"){return;}if(a11y.isTabNavigable(evt.srcElement)){_33a._onFocusNode(_339||evt.srcElement);}else{_33a._onTouchNode(_339||evt.srcElement);}};doc.attachEvent("onactivate",_33c);var _33d=function(evt){_33a._onBlurNode(_339||evt.srcElement);};doc.attachEvent("ondeactivate",_33d);return {remove:function(){_338.document.detachEvent("onmousedown",_33b);doc.detachEvent("onactivate",_33c);doc.detachEvent("ondeactivate",_33d);doc=null;}};}else{doc.body.addEventListener("mousedown",_33b,true);doc.body.addEventListener("touchstart",_33b,true);var _33e=function(evt){_33a._onFocusNode(_339||evt.target);};doc.addEventListener("focus",_33e,true);var _33f=function(evt){_33a._onBlurNode(_339||evt.target);};doc.addEventListener("blur",_33f,true);return {remove:function(){doc.body.removeEventListener("mousedown",_33b,true);doc.body.removeEventListener("touchstart",_33b,true);doc.removeEventListener("focus",_33e,true);doc.removeEventListener("blur",_33f,true);doc=null;}};}}},_onBlurNode:function(){this.set("prevNode",this.curNode);this.set("curNode",null);if(this._justMouseDowned){return;}if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);}this._clearActiveWidgetsTimer=setTimeout(lang.hitch(this,function(){delete this._clearActiveWidgetsTimer;this._setStack([]);this.prevNode=null;}),100);},_onTouchNode:function(node,by){if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);delete this._clearActiveWidgetsTimer;}var _340=[];try{while(node){var _341=_32c.get(node,"dijitPopupParent");if(_341){node=_333.byId(_341).domNode;}else{if(node.tagName&&node.tagName.toLowerCase()=="body"){if(node===win.body()){break;}node=_332.get(node.ownerDocument).frameElement;}else{var id=node.getAttribute&&node.getAttribute("widgetId"),_342=id&&_333.byId(id);if(_342&&!(by=="mouse"&&_342.get("disabled"))){_340.unshift(id);}node=node.parentNode;}}}}catch(e){}this._setStack(_340,by);},_onFocusNode:function(node){if(!node){return;}if(node.nodeType==9){return;}this._onTouchNode(node);if(node==this.curNode){return;}this.set("curNode",node);},_setStack:function(_343,by){var _344=this.activeStack;this.set("activeStack",_343);for(var _345=0;_345<Math.min(_344.length,_343.length);_345++){if(_344[_345]!=_343[_345]){break;}}var _346;for(var i=_344.length-1;i>=_345;i--){_346=_333.byId(_344[i]);if(_346){_346._hasBeenBlurred=true;_346.set("focused",false);if(_346._focusManager==this){_346._onBlur(by);}this.emit("widget-blur",_346,by);}}for(i=_345;i<_343.length;i++){_346=_333.byId(_343[i]);if(_346){_346.set("focused",true);if(_346._focusManager==this){_346._onFocus(by);}this.emit("widget-focus",_346,by);}}},focus:function(node){if(node){try{node.focus();}catch(e){}}}});var _347=new _335();_32f(function(){var _348=_347.registerWin(win.doc.parentWindow||win.doc.defaultView);if(has("ie")){_331.addOnWindowUnload(function(){_348.remove();_348=null;});}});_334.focus=function(node){_347.focus(node);};for(var attr in _347){if(!/^_/.test(attr)){_334.focus[attr]=typeof _347[attr]=="function"?lang.hitch(_347,attr):_347[attr];}}_347.watch(function(attr,_349,_34a){_334.focus[attr]=_34a;});return _347;});},"dijit/TitlePane":function(){require({cache:{"url:dijit/templates/TitlePane.html":"<div>\n\t<div data-dojo-attach-event=\"onclick:_onTitleClick, onkeypress:_onTitleKey\"\n\t\t\tclass=\"dijitTitlePaneTitle\" data-dojo-attach-point=\"titleBarNode\">\n\t\t<div class=\"dijitTitlePaneTitleFocus\" data-dojo-attach-point=\"focusNode\">\n\t\t\t<img src=\"${_blankGif}\" alt=\"\" data-dojo-attach-point=\"arrowNode\" class=\"dijitArrowNode\" role=\"presentation\"\n\t\t\t/><span data-dojo-attach-point=\"arrowNodeInner\" class=\"dijitArrowNodeInner\"></span\n\t\t\t><span data-dojo-attach-point=\"titleNode\" class=\"dijitTitlePaneTextNode\"></span>\n\t\t</div>\n\t</div>\n\t<div class=\"dijitTitlePaneContentOuter\" data-dojo-attach-point=\"hideNode\" role=\"presentation\">\n\t\t<div class=\"dijitReset\" data-dojo-attach-point=\"wipeNode\" role=\"presentation\">\n\t\t\t<div class=\"dijitTitlePaneContentInner\" data-dojo-attach-point=\"containerNode\" role=\"region\" id=\"${id}_pane\">\n\t\t\t\t<!-- nested divs because wipeIn()/wipeOut() doesn't work right on node w/padding etc.  Put padding on inner div. -->\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n"}});define("dijit/TitlePane",["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/_base/event","dojo/fx","dojo/_base/kernel","dojo/keys","./_CssStateMixin","./_TemplatedMixin","./layout/ContentPane","dojo/text!./templates/TitlePane.html","./_base/manager"],function(_34b,_34c,dom,_34d,_34e,_34f,_350,_351,_352,keys,_353,_354,_355,_356,_357){return _34c("dijit.TitlePane",[_355,_354,_353],{title:"",_setTitleAttr:{node:"titleNode",type:"innerHTML"},open:true,toggleable:true,tabIndex:"0",duration:_357.defaultDuration,baseClass:"dijitTitlePane",templateString:_356,doLayout:false,_setTooltipAttr:{node:"focusNode",type:"attribute",attribute:"title"},buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.titleNode,false);},postCreate:function(){this.inherited(arguments);if(this.toggleable){this._trackMouseState(this.titleBarNode,"dijitTitlePaneTitle");}var _358=this.hideNode,_359=this.wipeNode;this._wipeIn=_351.wipeIn({node:_359,duration:this.duration,beforeBegin:function(){_358.style.display="";}});this._wipeOut=_351.wipeOut({node:_359,duration:this.duration,onEnd:function(){_358.style.display="none";}});},_setOpenAttr:function(open,_35a){_34b.forEach([this._wipeIn,this._wipeOut],function(_35b){if(_35b&&_35b.status()=="playing"){_35b.stop();}});if(_35a){var anim=this[open?"_wipeIn":"_wipeOut"];anim.play();}else{this.hideNode.style.display=this.wipeNode.style.display=open?"":"none";}if(this._started){if(open){this._onShow();}else{this.onHide();}}this.arrowNodeInner.innerHTML=open?"-":"+";this.containerNode.setAttribute("aria-hidden",open?"false":"true");this.focusNode.setAttribute("aria-pressed",open?"true":"false");this._set("open",open);this._setCss();},_setToggleableAttr:function(_35c){this.focusNode.setAttribute("role",_35c?"button":"heading");if(_35c){this.focusNode.setAttribute("aria-controls",this.id+"_pane");_34d.set(this.focusNode,"tabIndex",this.tabIndex);}else{_34d.remove(this.focusNode,"tabIndex");}this._set("toggleable",_35c);this._setCss();},_setContentAttr:function(_35d){if(!this.open||!this._wipeOut||this._wipeOut.status()=="playing"){this.inherited(arguments);}else{if(this._wipeIn&&this._wipeIn.status()=="playing"){this._wipeIn.stop();}_34f.setMarginBox(this.wipeNode,{h:_34f.getMarginBox(this.wipeNode).h});this.inherited(arguments);if(this._wipeIn){this._wipeIn.play();}else{this.hideNode.style.display="";}}},toggle:function(){this._setOpenAttr(!this.open,true);},_setCss:function(){var node=this.titleBarNode||this.focusNode;var _35e=this._titleBarClass;this._titleBarClass="dijit"+(this.toggleable?"":"Fixed")+(this.open?"Open":"Closed");_34e.replace(node,this._titleBarClass,_35e||"");this.arrowNodeInner.innerHTML=this.open?"-":"+";},_onTitleKey:function(e){if(e.charOrCode==keys.ENTER||e.charOrCode==" "){if(this.toggleable){this.toggle();}_350.stop(e);}else{if(e.charOrCode==keys.DOWN_ARROW&&this.open){this.containerNode.focus();e.preventDefault();}}},_onTitleClick:function(){if(this.toggleable){this.toggle();}},setTitle:function(_35f){_352.deprecated("dijit.TitlePane.setTitle() is deprecated.  Use set('title', ...) instead.","","2.0");this.set("title",_35f);}});});},"url:dijit/templates/MenuItem.html":"<tr class=\"dijitReset dijitMenuItem\" data-dojo-attach-point=\"focusNode\" role=\"menuitem\" tabIndex=\"-1\"\n\t\tdata-dojo-attach-event=\"onmouseenter:_onHover,onmouseleave:_onUnhover,ondijitclick:_onClick\">\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","dijit/main":function(){define("dijit/main",["dojo/_base/kernel"],function(dojo){return dojo.dijit;});},"dojo/date/stamp":function(){define("dojo/date/stamp",["../_base/kernel","../_base/lang","../_base/array"],function(dojo,lang,_360){lang.getObject("date.stamp",true,dojo);dojo.date.stamp.fromISOString=function(_361,_362){if(!dojo.date.stamp._isoRegExp){dojo.date.stamp._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/;}var _363=dojo.date.stamp._isoRegExp.exec(_361),_364=null;if(_363){_363.shift();if(_363[1]){_363[1]--;}if(_363[6]){_363[6]*=1000;}if(_362){_362=new Date(_362);_360.forEach(_360.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(prop){return _362["get"+prop]();}),function(_365,_366){_363[_366]=_363[_366]||_365;});}_364=new Date(_363[0]||1970,_363[1]||0,_363[2]||1,_363[3]||0,_363[4]||0,_363[5]||0,_363[6]||0);if(_363[0]<100){_364.setFullYear(_363[0]||1970);}var _367=0,_368=_363[7]&&_363[7].charAt(0);if(_368!="Z"){_367=((_363[8]||0)*60)+(Number(_363[9])||0);if(_368!="-"){_367*=-1;}}if(_368){_367-=_364.getTimezoneOffset();}if(_367){_364.setTime(_364.getTime()+_367*60000);}}return _364;};dojo.date.stamp.toISOString=function(_369,_36a){var _36b=function(n){return (n<10)?"0"+n:n;};_36a=_36a||{};var _36c=[],_36d=_36a.zulu?"getUTC":"get",date="";if(_36a.selector!="time"){var year=_369[_36d+"FullYear"]();date=["0000".substr((year+"").length)+year,_36b(_369[_36d+"Month"]()+1),_36b(_369[_36d+"Date"]())].join("-");}_36c.push(date);if(_36a.selector!="date"){var time=[_36b(_369[_36d+"Hours"]()),_36b(_369[_36d+"Minutes"]()),_36b(_369[_36d+"Seconds"]())].join(":");var _36e=_369[_36d+"Milliseconds"]();if(_36a.milliseconds){time+="."+(_36e<100?"0":"")+_36b(_36e);}if(_36a.zulu){time+="Z";}else{if(_36a.selector!="time"){var _36f=_369.getTimezoneOffset();var _370=Math.abs(_36f);time+=(_36f>0?"-":"+")+_36b(Math.floor(_370/60))+":"+_36b(_370%60);}}_36c.push(time);}return _36c.join("T");};return dojo.date.stamp;});},"dijit/form/_ButtonMixin":function(){define("dijit/form/_ButtonMixin",["dojo/_base/declare","dojo/dom","dojo/_base/event","../registry"],function(_371,dom,_372,_373){return _371("dijit.form._ButtonMixin",null,{label:"",type:"button",_onClick:function(e){if(this.disabled){_372.stop(e);return false;}var _374=this.onClick(e)===false;if(!_374&&this.type=="submit"&&!(this.valueNode||this.focusNode).form){for(var node=this.domNode;node.parentNode;node=node.parentNode){var _375=_373.byNode(node);if(_375&&typeof _375._onSubmit=="function"){_375._onSubmit(e);_374=true;break;}}}if(_374){e.preventDefault();}return !_374;},postCreate:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},onClick:function(){return true;},_setLabelAttr:function(_376){this._set("label",_376);(this.containerNode||this.focusNode).innerHTML=_376;}});});},"dijit/form/_FormWidget":function(){define("dijit/form/_FormWidget",["dojo/_base/declare","dojo/_base/kernel","dojo/ready","../_Widget","../_CssStateMixin","../_TemplatedMixin","./_FormWidgetMixin"],function(_377,_378,_379,_37a,_37b,_37c,_37d){if(!_378.isAsync){_379(0,function(){var _37e=["dijit/form/_FormValueWidget"];require(_37e);});}return _377("dijit.form._FormWidget",[_37a,_37c,_37b,_37d],{setDisabled:function(_37f){_378.deprecated("setDisabled("+_37f+") is deprecated. Use set('disabled',"+_37f+") instead.","","2.0");this.set("disabled",_37f);},setValue:function(_380){_378.deprecated("dijit.form._FormWidget:setValue("+_380+") is deprecated.  Use set('value',"+_380+") instead.","","2.0");this.set("value",_380);},getValue:function(){_378.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});});},"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\tdata-dojo-attach-event=\"onmouseenter:_onHover,onmouseleave:_onUnhover,ondijitclick:_onClick\">\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/event","dojo/_base/kernel","dojo/_base/sniff","./_Widget","./_TemplatedMixin","./_Contained","./_CssStateMixin","dojo/text!./templates/MenuItem.html"],function(_381,dom,_382,_383,_384,_385,has,_386,_387,_388,_389,_38a){return _381("dijit.MenuItem",[_386,_387,_388,_389],{templateString:_38a,baseClass:"dijitMenuItem",label:"",_setLabelAttr:{node:"containerNode",type:"innerHTML"},iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},accelKey:"",disabled:false,_fillContent:function(_38b){if(_38b&&!("label" in this.params)){this.set("label",_38b.innerHTML);}},buildRendering:function(){this.inherited(arguments);var _38c=this.id+"_text";_382.set(this.containerNode,"id",_38c);if(this.accelKeyNode){_382.set(this.accelKeyNode,"id",this.id+"_accel");_38c+=" "+this.id+"_accel";}this.domNode.setAttribute("aria-labelledby",_38c);dom.setSelectable(this.domNode,false);},_onHover:function(){this.getParent().onItemHover(this);},_onUnhover:function(){this.getParent().onItemUnhover(this);this._set("hovering",false);},_onClick:function(evt){this.getParent().onItemClick(this,evt);_384.stop(evt);},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(_38d){_383.toggle(this.domNode,"dijitMenuItemSelected",_38d);},setLabel:function(_38e){_385.deprecated("dijit.MenuItem.setLabel() is deprecated.  Use set('label', ...) instead.","","2.0");this.set("label",_38e);},setDisabled:function(_38f){_385.deprecated("dijit.Menu.setDisabled() is deprecated.  Use set('disabled', bool) instead.","","2.0");this.set("disabled",_38f);},_setDisabledAttr:function(_390){this.focusNode.setAttribute("aria-disabled",_390?"true":"false");this._set("disabled",_390);},_setAccelKeyAttr:function(_391){this.accelKeyNode.style.display=_391?"":"none";this.accelKeyNode.innerHTML=_391;_382.set(this.containerNode,"colSpan",_391?"1":"2");this._set("accelKey",_391);}});});},"url:dijit/templates/Menu.html":"<table class=\"dijit dijitMenu dijitMenuPassive dijitReset dijitMenuTable\" role=\"menu\" tabIndex=\"${tabIndex}\" data-dojo-attach-event=\"onkeypress:_onKeyPress\" cellspacing=\"0\">\n\t<tbody class=\"dijitReset\" data-dojo-attach-point=\"containerNode\"></tbody>\n</table>\n","dojo/dnd/TimedMoveable":function(){define("dojo/dnd/TimedMoveable",["../main","./Moveable"],function(dojo){var _392=dojo.dnd.Moveable.prototype.onMove;dojo.declare("dojo.dnd.TimedMoveable",dojo.dnd.Moveable,{timeout:40,constructor:function(node,_393){if(!_393){_393={};}if(_393.timeout&&typeof _393.timeout=="number"&&_393.timeout>=0){this.timeout=_393.timeout;}},onMoveStop:function(_394){if(_394._timer){clearTimeout(_394._timer);_392.call(this,_394,_394._leftTop);}dojo.dnd.Moveable.prototype.onMoveStop.apply(this,arguments);},onMove:function(_395,_396){_395._leftTop=_396;if(!_395._timer){var _397=this;_395._timer=setTimeout(function(){_395._timer=null;_392.call(_397,_395,_395._leftTop);},this.timeout);}}});return dojo.dnd.TimedMoveable;});},"dijit/form/SimpleTextarea":function(){define("dijit/form/SimpleTextarea",["dojo/_base/declare","dojo/dom-class","dojo/_base/sniff","dojo/_base/window","./TextBox"],function(_398,_399,has,win,_39a){return _398("dijit.form.SimpleTextarea",_39a,{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){_399.add(this.textbox,"dijitTextAreaCols");}},filter:function(_39b){if(_39b){_39b=_39b.replace(/\r/g,"");}return this.inherited(arguments);},_onInput:function(e){if(this.maxLength){var _39c=parseInt(this.maxLength);var _39d=this.textbox.value.replace(/\r/g,"");var _39e=_39d.length-_39c;if(_39e>0){var _39f=this.textbox;if(_39f.selectionStart){var pos=_39f.selectionStart;var cr=0;if(has("opera")){cr=(this.textbox.value.substring(0,pos).match(/\r/g)||[]).length;}this.textbox.value=_39d.substring(0,pos-_39e-cr)+_39d.substring(pos-cr);_39f.setSelectionRange(pos-_39e,pos-_39e);}else{if(win.doc.selection){_39f.focus();var _3a0=win.doc.selection.createRange();_3a0.moveStart("character",-_39e);_3a0.text="";_3a0.select();}}}}this.inherited(arguments);}});});},"dijit/_MenuBase":function(){define("dijit/_MenuBase",["./popup","dojo/window","./_Widget","./_KeyNavContainer","./_TemplatedMixin","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/_base/lang","dojo/_base/array"],function(pm,_3a1,_3a2,_3a3,_3a4,_3a5,dom,_3a6,_3a7,lang,_3a8){return _3a5("dijit._MenuBase",[_3a2,_3a4,_3a3],{parentMenu:null,popupDelay:500,onExecute:function(){},onCancel:function(){},_moveToPopup:function(evt){if(this.focusedChild&&this.focusedChild.popup&&!this.focusedChild.disabled){this.focusedChild._onClick(evt);}else{var _3a9=this._getTopMenu();if(_3a9&&_3a9._isMenuBar){_3a9.focusNext();}}},_onPopupHover:function(){if(this.currentPopup&&this.currentPopup._pendingClose_timer){var _3aa=this.currentPopup.parentMenu;if(_3aa.focusedChild){_3aa.focusedChild._setSelected(false);}_3aa.focusedChild=this.currentPopup.from_item;_3aa.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=setTimeout(lang.hitch(this,"_openPopup"),this.popupDelay);}}if(this.focusedChild){this.focusChild(item);}this._hoveredChild=item;},_onChildBlur:function(item){this._stopPopupTimer();item._setSelected(false);var _3ab=item.popup;if(_3ab){this._stopPendingCloseTimer(_3ab);_3ab._pendingClose_timer=setTimeout(function(){_3ab._pendingClose_timer=null;if(_3ab.parentMenu){_3ab.parentMenu.currentPopup=null;}pm.close(_3ab);},this.popupDelay);}},onItemUnhover:function(item){if(this.isActive){this._stopPopupTimer();}if(this._hoveredChild==item){this._hoveredChild=null;}},_stopPopupTimer:function(){if(this.hover_timer){clearTimeout(this.hover_timer);this.hover_timer=null;}},_stopPendingCloseTimer:function(_3ac){if(_3ac._pendingClose_timer){clearTimeout(_3ac._pendingClose_timer);_3ac._pendingClose_timer=null;}},_stopFocusTimer:function(){if(this._focus_timer){clearTimeout(this._focus_timer);this._focus_timer=null;}},_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();}else{this.onExecute();item.onClick(evt);}},_openPopup:function(){this._stopPopupTimer();var _3ad=this.focusedChild;if(!_3ad){return;}var _3ae=_3ad.popup;if(_3ae.isShowingNow){return;}if(this.currentPopup){this._stopPendingCloseTimer(this.currentPopup);pm.close(this.currentPopup);}_3ae.parentMenu=this;_3ae.from_item=_3ad;var self=this;pm.open({parent:this,popup:_3ae,around:_3ad.domNode,orient:this._orient||["after","before"],onCancel:function(){self.focusChild(_3ad);self._cleanUp();_3ad._setSelected(true);self.focusedChild=_3ad;},onExecute:lang.hitch(this,"_cleanUp")});this.currentPopup=_3ae;_3ae.connect(_3ae.domNode,"onmouseenter",lang.hitch(self,"_onPopupHover"));if(_3ae.focus){_3ae._focus_timer=setTimeout(lang.hitch(_3ae,function(){this._focus_timer=null;this.focus();}),0);}},_markActive:function(){this.isActive=true;_3a7.replace(this.domNode,"dijitMenuActive","dijitMenuPassive");},onOpen:function(){this.isShowingNow=true;this._markActive();},_markInactive:function(){this.isActive=false;_3a7.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(_3a8.indexOf(this._focusManager.activeStack,this.id)>=0){_3a6.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.focusedChild._onUnhover();this.focusedChild=null;}},_onItemFocus:function(item){if(this._hoveredChild&&this._hoveredChild!=item){this._hoveredChild._onUnhover();}},_onBlur:function(){this._cleanUp();this.inherited(arguments);},_cleanUp:function(){this._closeChild();if(typeof this.isShowingNow=="undefined"){this._markInactive();}}});});},"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/_base/sniff","dojo/_base/unload","dojo/_base/window"],function(lang,_3af,_3b0,_3b1,_3b2,_3b3,_3b4,_3b5,has,_3b6,win){var _3b7=_3b4("dijit._TemplatedMixin",null,{templateString:null,templatePath:null,_skipNodeCache:false,_earlyTemplatedStartup:false,constructor:function(){this._attachPoints=[];this._attachEvents=[];},_stringRepl:function(tmpl){var _3b8=this.declaredClass,_3b9=this;return _3b1.substitute(tmpl,this,function(_3ba,key){if(key.charAt(0)=="!"){_3ba=lang.getObject(key.substr(1),false,_3b9);}if(typeof _3ba=="undefined"){throw new Error(_3b8+" template:"+key);}if(_3ba==null){return "";}return key.charAt(0)=="!"?_3ba:_3ba.toString().replace(/"/g,"&quot;");},this);},buildRendering:function(){if(!this.templateString){this.templateString=_3b2(this.templatePath,{sanitize:true});}var _3bb=_3b7.getCachedTemplate(this.templateString,this._skipNodeCache);var node;if(lang.isString(_3bb)){node=_3b5.toDom(this._stringRepl(_3bb));if(node.nodeType!=1){throw new Error("Invalid template: "+_3bb);}}else{node=_3bb.cloneNode(true);}this.domNode=node;this.inherited(arguments);this._attachTemplateNodes(node,function(n,p){return n.getAttribute(p);});this._beforeFillContent();this._fillContent(this.srcNodeRef);},_beforeFillContent:function(){},_fillContent:function(_3bc){var dest=this.containerNode;if(_3bc&&dest){while(_3bc.hasChildNodes()){dest.appendChild(_3bc.firstChild);}}},_attachTemplateNodes:function(_3bd,_3be){var _3bf=lang.isArray(_3bd)?_3bd:(_3bd.all||_3bd.getElementsByTagName("*"));var x=lang.isArray(_3bd)?0:-1;for(;x<_3bf.length;x++){var _3c0=(x==-1)?_3bd:_3bf[x];if(this.widgetsInTemplate&&(_3be(_3c0,"dojoType")||_3be(_3c0,"data-dojo-type"))){continue;}var _3c1=_3be(_3c0,"dojoAttachPoint")||_3be(_3c0,"data-dojo-attach-point");if(_3c1){var _3c2,_3c3=_3c1.split(/\s*,\s*/);while((_3c2=_3c3.shift())){if(lang.isArray(this[_3c2])){this[_3c2].push(_3c0);}else{this[_3c2]=_3c0;}this._attachPoints.push(_3c2);}}var _3c4=_3be(_3c0,"dojoAttachEvent")||_3be(_3c0,"data-dojo-attach-event");if(_3c4){var _3c5,_3c6=_3c4.split(/\s*,\s*/);var trim=lang.trim;while((_3c5=_3c6.shift())){if(_3c5){var _3c7=null;if(_3c5.indexOf(":")!=-1){var _3c8=_3c5.split(":");_3c5=trim(_3c8[0]);_3c7=trim(_3c8[1]);}else{_3c5=trim(_3c5);}if(!_3c7){_3c7=_3c5;}this._attachEvents.push(this.connect(_3c0,_3af[_3c5]||_3c5,_3c7));}}}}},destroyRendering:function(){_3b3.forEach(this._attachPoints,function(_3c9){delete this[_3c9];},this);this._attachPoints=[];_3b3.forEach(this._attachEvents,this.disconnect,this);this._attachEvents=[];this.inherited(arguments);}});_3b7._templateCache={};_3b7.getCachedTemplate=function(_3ca,_3cb){var _3cc=_3b7._templateCache;var key=_3ca;var _3cd=_3cc[key];if(_3cd){try{if(!_3cd.ownerDocument||_3cd.ownerDocument==win.doc){return _3cd;}}catch(e){}_3b5.destroy(_3cd);}_3ca=_3b1.trim(_3ca);if(_3cb||_3ca.match(/\$\{([^\}]+)\}/g)){return (_3cc[key]=_3ca);}else{var node=_3b5.toDom(_3ca);if(node.nodeType!=1){throw new Error("Invalid template: "+_3ca);}return (_3cc[key]=node);}};if(has("ie")){_3b6.addOnWindowUnload(function(){var _3ce=_3b7._templateCache;for(var key in _3ce){var _3cf=_3ce[key];if(typeof _3cf=="object"){_3b5.destroy(_3cf);}delete _3ce[key];}});}lang.extend(_3b0,{dojoAttachEvent:"",dojoAttachPoint:""});return _3b7;});},"dojo/window":function(){define("dojo/window",["./_base/kernel","./_base/lang","./_base/sniff","./_base/window","./dom","./dom-geometry","./dom-style"],function(dojo,lang,has,_3d0,dom,geom,_3d1){lang.getObject("window",true,dojo);dojo.window.getBox=function(){var _3d2=(_3d0.doc.compatMode=="BackCompat")?_3d0.body():_3d0.doc.documentElement;var _3d3=geom.docScroll();var _3d4=_3d0.doc.parentWindow||_3d0.doc.defaultView;return {l:_3d3.x,t:_3d3.y,w:_3d4.innerWidth||_3d2.clientWidth,h:_3d4.innerHeight||_3d2.clientHeight};};dojo.window.get=function(doc){if(has("ie")&&window!==document.parentWindow){doc.parentWindow.execScript("document._parentWindow = window;","Javascript");var win=doc._parentWindow;doc._parentWindow=null;return win;}return doc.parentWindow||doc.defaultView;};dojo.window.scrollIntoView=function(node,pos){try{node=dom.byId(node);var doc=node.ownerDocument||_3d0.doc,body=doc.body||_3d0.body(),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 _3d5=doc.compatMode=="BackCompat",_3d6=(isIE>=9&&node.ownerDocument.parentWindow.frameElement)?((html.clientHeight>0&&html.clientWidth>0&&(body.clientHeight==0||body.clientWidth==0||body.clientHeight>html.clientHeight||body.clientWidth>html.clientWidth))?html:body):(_3d5?body:html),_3d7=isWK?body:_3d6,_3d8=_3d6.clientWidth,_3d9=_3d6.clientHeight,rtl=!geom.isBodyLtr(),_3da=pos||geom.position(node),el=node.parentNode,_3db=function(el){return ((isIE<=6||(isIE&&_3d5))?false:(_3d1.get(el,"position").toLowerCase()=="fixed"));};if(_3db(node)){return;}while(el){if(el==body){el=_3d7;}var _3dc=geom.position(el),_3dd=_3db(el);if(el==_3d7){_3dc.w=_3d8;_3dc.h=_3d9;if(_3d7==html&&isIE&&rtl){_3dc.x+=_3d7.offsetWidth-_3dc.w;}if(_3dc.x<0||!isIE){_3dc.x=0;}if(_3dc.y<0||!isIE){_3dc.y=0;}}else{var pb=geom.getPadBorderExtents(el);_3dc.w-=pb.w;_3dc.h-=pb.h;_3dc.x+=pb.l;_3dc.y+=pb.t;var _3de=el.clientWidth,_3df=_3dc.w-_3de;if(_3de>0&&_3df>0){_3dc.w=_3de;_3dc.x+=(rtl&&(isIE||el.clientLeft>pb.l))?_3df:0;}_3de=el.clientHeight;_3df=_3dc.h-_3de;if(_3de>0&&_3df>0){_3dc.h=_3de;}}if(_3dd){if(_3dc.y<0){_3dc.h+=_3dc.y;_3dc.y=0;}if(_3dc.x<0){_3dc.w+=_3dc.x;_3dc.x=0;}if(_3dc.y+_3dc.h>_3d9){_3dc.h=_3d9-_3dc.y;}if(_3dc.x+_3dc.w>_3d8){_3dc.w=_3d8-_3dc.x;}}var l=_3da.x-_3dc.x,t=_3da.y-Math.max(_3dc.y,0),r=l+_3da.w-_3dc.w,bot=t+_3da.h-_3dc.h;if(r*l>0){var s=Math[l<0?"max":"min"](l,r);if(rtl&&((isIE==8&&!_3d5)||isIE>=9)){s=-s;}_3da.x+=el.scrollLeft;el.scrollLeft+=s;_3da.x-=el.scrollLeft;}if(bot*t>0){_3da.y+=el.scrollTop;el.scrollTop+=Math[t<0?"max":"min"](t,bot);_3da.y-=el.scrollTop;}el=(el!=_3d7)&&!_3dd&&el.parentNode;}}catch(error){console.error("scrollIntoView: "+error);node.scrollIntoView(false);}};return dojo.window;});},"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/_base/sniff","dojo/_base/window","./_base/manager","./place","./_Widget","./_TemplatedMixin","./BackgroundIframe","dojo/text!./templates/Tooltip.html","."],function(_3e0,_3e1,fx,dom,_3e2,_3e3,_3e4,lang,has,win,_3e5,_3e6,_3e7,_3e8,_3e9,_3ea,_3eb){var _3ec=_3e1("dijit._MasterTooltip",[_3e7,_3e8],{duration:_3e5.defaultDuration,templateString:_3ea,postCreate:function(){win.body().appendChild(this.domNode);this.bgIframe=new _3e9(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(_3ed,_3ee,_3ef,rtl,_3f0){if(this.aroundNode&&this.aroundNode===_3ee&&this.containerNode.innerHTML==_3ed){return;}this.domNode.width="auto";if(this.fadeOut.status()=="playing"){this._onDeck=arguments;return;}this.containerNode.innerHTML=_3ed;this.set("textDir",_3f0);this.containerNode.align=rtl?"right":"left";var pos=_3e6.around(this.domNode,_3ee,_3ef&&_3ef.length?_3ef:_3f1.defaultPosition,!rtl,lang.hitch(this,"orient"));var _3f2=pos.aroundNodePos;if(pos.corner.charAt(0)=="M"&&pos.aroundCorner.charAt(0)=="M"){this.connectorNode.style.top=_3f2.y+((_3f2.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=_3f2.x+((_3f2.w-this.connectorNode.offsetWidth)>>1)-pos.x+"px";}}_3e4.set(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=true;this.aroundNode=_3ee;},orient:function(node,_3f3,_3f4,_3f5,_3f6){this.connectorNode.style.top="";var _3f7=_3f5.w-this.connectorNode.offsetWidth;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"}[_3f3+"-"+_3f4];this.domNode.style.width="auto";var size=_3e3.getContentBox(this.domNode);var _3f8=Math.min((Math.max(_3f7,1)),size.w);var _3f9=_3f8<size.w;this.domNode.style.width=_3f8+"px";if(_3f9){this.containerNode.style.overflow="auto";var _3fa=this.containerNode.scrollWidth;this.containerNode.style.overflow="visible";if(_3fa>_3f8){_3fa=_3fa+_3e4.get(this.domNode,"paddingLeft")+_3e4.get(this.domNode,"paddingRight");this.domNode.style.width=_3fa+"px";}}if(_3f4.charAt(0)=="B"&&_3f3.charAt(0)=="B"){var mb=_3e3.getMarginBox(node);var _3fb=this.connectorNode.offsetHeight;if(mb.h>_3f5.h){var _3fc=_3f5.h-((_3f6.h+_3fb)>>1);this.connectorNode.style.top=_3fc+"px";this.connectorNode.style.bottom="";}else{this.connectorNode.style.bottom=Math.min(Math.max(_3f6.h/2-_3fb/2,0),mb.h-_3fb)+"px";this.connectorNode.style.top="";}}else{this.connectorNode.style.top="";this.connectorNode.style.bottom="";}return Math.max(0,size.w-_3f7);},_onShow:function(){if(has("ie")){this.domNode.style.filter="";}},hide:function(_3fd){if(this._onDeck&&this._onDeck[1]==_3fd){this._onDeck=null;}else{if(this.aroundNode===_3fd){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);_3e0.forEach(node.children,function(_3fe){this._setAutoTextDir(_3fe);},this);},_setTextDirAttr:function(_3ff){this._set("textDir",typeof _3ff!="undefined"?_3ff:"");if(_3ff=="auto"){this._setAutoTextDir(this.containerNode);}else{this.containerNode.dir=this.textDir;}}});_3eb.showTooltip=function(_400,_401,_402,rtl,_403){if(!_3f1._masterTT){_3eb._masterTT=_3f1._masterTT=new _3ec();}return _3f1._masterTT.show(_400,_401,_402,rtl,_403);};_3eb.hideTooltip=function(_404){return _3f1._masterTT&&_3f1._masterTT.hide(_404);};var _3f1=_3e1("dijit.Tooltip",_3e7,{label:"",showDelay:400,connectId:[],position:[],_setConnectIdAttr:function(_405){_3e0.forEach(this._connections||[],function(_406){_3e0.forEach(_406,lang.hitch(this,"disconnect"));},this);this._connectIds=_3e0.filter(lang.isArrayLike(_405)?_405:(_405?[_405]:[]),function(id){return dom.byId(id);});this._connections=_3e0.map(this._connectIds,function(id){var node=dom.byId(id);return [this.connect(node,"onmouseenter","_onHover"),this.connect(node,"onmouseleave","_onUnHover"),this.connect(node,"onfocus","_onHover"),this.connect(node,"onblur","_onUnHover")];},this);this._set("connectId",_405);},addTarget:function(node){var id=node.id||node;if(_3e0.indexOf(this._connectIds,id)==-1){this.set("connectId",this._connectIds.concat(id));}},removeTarget:function(node){var id=node.id||node,idx=_3e0.indexOf(this._connectIds,id);if(idx>=0){this._connectIds.splice(idx,1);this.set("connectId",this._connectIds);}},buildRendering:function(){this.inherited(arguments);_3e2.add(this.domNode,"dijitTooltipData");},startup:function(){this.inherited(arguments);var ids=this.connectId;_3e0.forEach(lang.isArrayLike(ids)?ids:[ids],this.addTarget,this);},_onHover:function(e){if(!this._showTimer){var _407=e.target;this._showTimer=setTimeout(lang.hitch(this,function(){this.open(_407);}),this.showDelay);}},_onUnHover:function(){if(this._focus){return;}if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}this.close();},open:function(_408){if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}_3f1.show(this.label||this.domNode.innerHTML,_408,this.position,!this.isLeftToRight(),this.textDir);this._connectNode=_408;this.onShow(_408,this.position);},close:function(){if(this._connectNode){_3f1.hide(this._connectNode);delete this._connectNode;this.onHide();}if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}},onShow:function(){},onHide:function(){},uninitialize:function(){this.close();this.inherited(arguments);}});_3f1._MasterTooltip=_3ec;_3f1.show=_3eb.showTooltip;_3f1.hide=_3eb.hideTooltip;_3f1.defaultPosition=["after","before"];return _3f1;});},"url:dijit/templates/MenuBarItem.html":"<div class=\"dijitReset dijitInline dijitMenuItem dijitMenuItemLabel\" data-dojo-attach-point=\"focusNode\" role=\"menuitem\" tabIndex=\"-1\"\n\t\tdata-dojo-attach-event=\"onmouseenter:_onHover,onmouseleave:_onUnhover,ondijitclick:_onClick\">\n\t<span data-dojo-attach-point=\"containerNode\"></span>\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/MenuBar":function(){require({cache:{"url:dijit/templates/MenuBar.html":"<div class=\"dijitMenuBar dijitMenuPassive\" data-dojo-attach-point=\"containerNode\"  role=\"menubar\" tabIndex=\"${tabIndex}\" data-dojo-attach-event=\"onkeypress: _onKeyPress\"></div>\n"}});define("dijit/MenuBar",["dojo/_base/declare","dojo/_base/event","dojo/keys","./_MenuBase","dojo/text!./templates/MenuBar.html"],function(_409,_40a,keys,_40b,_40c){return _409("dijit.MenuBar",_40b,{templateString:_40c,baseClass:"dijitMenuBar",_isMenuBar:true,postCreate:function(){var l=this.isLeftToRight();this.connectKeyNavHandlers(l?[keys.LEFT_ARROW]:[keys.RIGHT_ARROW],l?[keys.RIGHT_ARROW]:[keys.LEFT_ARROW]);this._orient=["below"];},focusChild:function(item){var _40d=this.focusedChild,_40e=_40d&&_40d.popup&&_40d.popup.isShowingNow;this.inherited(arguments);if(_40e&&item.popup&&!item.disabled){this._openPopup();}},_onKeyPress:function(evt){if(evt.ctrlKey||evt.altKey){return;}switch(evt.charOrCode){case keys.DOWN_ARROW:this._moveToPopup(evt);_40a.stop(evt);}},onItemClick:function(item,evt){if(item.popup&&item.popup.isShowingNow){item.popup.onCancel();}else{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/_base/sniff","dojo/_base/window","./place","./BackgroundIframe","."],function(_40f,_410,_411,_412,dom,_413,_414,_415,_416,_417,keys,lang,on,has,win,_418,_419,_41a){var _41b=_412(null,{_stack:[],_beginZIndex:1000,_idGen:1,_createWrapper:function(_41c){var _41d=_41c._popupWrapper,node=_41c.domNode;if(!_41d){_41d=_414.create("div",{"class":"dijitPopup",style:{display:"none"},role:"presentation"},win.body());_41d.appendChild(node);var s=node.style;s.display="";s.visibility="";s.position="";s.top="0px";_41c._popupWrapper=_41d;_410.after(_41c,"destroy",function(){_414.destroy(_41d);delete _41c._popupWrapper;});}return _41d;},moveOffScreen:function(_41e){var _41f=this._createWrapper(_41e);_416.set(_41f,{visibility:"hidden",top:"-9999px",display:""});},hide:function(_420){var _421=this._createWrapper(_420);_416.set(_421,"display","none");},getTopPopup:function(){var _422=this._stack;for(var pi=_422.length-1;pi>0&&_422[pi].parent===_422[pi-1].widget;pi--){}return _422[pi];},open:function(args){var _423=this._stack,_424=args.popup,_425=args.orient||["below","below-alt","above","above-alt"],ltr=args.parent?args.parent.isLeftToRight():_415.isBodyLtr(),_426=args.around,id=(args.around&&args.around.id)?(args.around.id+"_dropdown"):("popup_"+this._idGen++);while(_423.length&&(!args.parent||!dom.isDescendant(args.parent.domNode,_423[_423.length-1].widget.domNode))){this.close(_423[_423.length-1].widget);}var _427=this._createWrapper(_424);_413.set(_427,{id:id,style:{zIndex:this._beginZIndex+_423.length},"class":"dijitPopup "+(_424.baseClass||_424["class"]||"").split(" ")[0]+"Popup",dijitPopupParent:args.parent?args.parent.id:""});if(has("ie")||has("mozilla")){if(!_424.bgIframe){_424.bgIframe=new _419(_427);}}var best=_426?_418.around(_427,_426,_425,ltr,_424.orient?lang.hitch(_424,"orient"):null):_418.at(_427,args,_425=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],args.padding);_427.style.display="";_427.style.visibility="visible";_424.domNode.style.visibility="visible";var _428=[];_428.push(on(_427,_411._keypress,lang.hitch(this,function(evt){if(evt.charOrCode==keys.ESCAPE&&args.onCancel){_417.stop(evt);args.onCancel();}else{if(evt.charOrCode===keys.TAB){_417.stop(evt);var _429=this.getTopPopup();if(_429&&_429.onCancel){_429.onCancel();}}}})));if(_424.onCancel&&args.onCancel){_428.push(_424.on("cancel",args.onCancel));}_428.push(_424.on(_424.onExecute?"execute":"change",lang.hitch(this,function(){var _42a=this.getTopPopup();if(_42a&&_42a.onExecute){_42a.onExecute();}})));_423.push({widget:_424,parent:args.parent,onExecute:args.onExecute,onCancel:args.onCancel,onClose:args.onClose,handlers:_428});if(_424.onOpen){_424.onOpen(best);}return best;},close:function(_42b){var _42c=this._stack;while((_42b&&_40f.some(_42c,function(elem){return elem.widget==_42b;}))||(!_42b&&_42c.length)){var top=_42c.pop(),_42d=top.widget,_42e=top.onClose;if(_42d.onClose){_42d.onClose();}var h;while(h=top.handlers.pop()){h.remove();}if(_42d&&_42d.domNode){this.hide(_42d);}if(_42e){_42e();}}}});return (_41a.popup=new _41b());});},"dijit/layout/_ContentPaneResizeMixin":function(){define("dijit/layout/_ContentPaneResizeMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/_base/lang","dojo/query","dojo/_base/sniff","dojo/_base/window","../registry","./utils","../_Contained"],function(_42f,_430,_431,_432,_433,lang,_434,has,win,_435,_436,_437){return _430("dijit.layout._ContentPaneResizeMixin",null,{doLayout:true,isLayoutContainer:true,startup:function(){if(this._started){return;}var _438=this.getParent();this._childOfLayoutWidget=_438&&_438.isLayoutContainer;this._needLayout=!this._childOfLayoutWidget;this.inherited(arguments);if(this._isShown()){this._onShow();}if(!this._childOfLayoutWidget){this.connect(has("ie")?this.domNode:win.global,"onresize",function(){this._needLayout=!this._childOfLayoutWidget;this.resize();});}},_checkIfSingleChild:function(){var _439=_434("> *",this.containerNode).filter(function(node){return node.tagName!=="SCRIPT";}),_43a=_439.filter(function(node){return _431.has(node,"data-dojo-type")||_431.has(node,"dojoType")||_431.has(node,"widgetId");}),_43b=_42f.filter(_43a.map(_435.byNode),function(_43c){return _43c&&_43c.domNode&&_43c.resize;});if(_439.length==_43a.length&&_43b.length==1){this._singleChild=_43b[0];}else{delete this._singleChild;}_432.toggle(this.containerNode,this.baseClass+"SingleChild",!!this._singleChild);},resize:function(_43d,_43e){if(!this._wasShown&&this.open!==false){this._onShow();}this._resizeCalled=true;this._scheduleLayout(_43d,_43e);},_scheduleLayout:function(_43f,_440){if(this._isShown()){this._layout(_43f,_440);}else{this._needLayout=true;this._changeSize=_43f;this._resultSize=_440;}},_layout:function(_441,_442){if(_441){_433.setMarginBox(this.domNode,_441);}var cn=this.containerNode;if(cn===this.domNode){var mb=_442||{};lang.mixin(mb,_441||{});if(!("h" in mb)||!("w" in mb)){mb=lang.mixin(_433.getMarginBox(cn),mb);}this._contentBox=_436.marginBox2contentBox(cn,mb);}else{this._contentBox=_433.getContentBox(cn);}this._layoutChildren();delete this._needLayout;},_layoutChildren:function(){if(this.doLayout){this._checkIfSingleChild();}if(this._singleChild&&this._singleChild.resize){var cb=this._contentBox||_433.getContentBox(this.containerNode);this._singleChild.resize({w:cb.w,h:cb.h});}else{_42f.forEach(this.getChildren(),function(_443){if(_443.resize){_443.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,_444=this.domNode.parentNode;return (node.style.display!="none")&&(node.style.visibility!="hidden")&&!_432.contains(node,"dijitHidden")&&_444&&_444.style&&(_444.style.display!="none");}}},_onShow:function(){if(this._needLayout){this._layout(this._changeSize,this._resultSize);}this.inherited(arguments);this._wasShown=true;}});});},"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/_base/kernel","dojo/_base/lang","dojo/on","dojo/ready","dojo/Stateful","dojo/topic","dojo/_base/window","./registry"],function(_445,_446,_447,_448,_449,_44a,dom,_44b,_44c,_44d,_44e,_44f,_450,lang,on,_451,_452,_453,win,_454){if(!_450.isAsync){_451(0,function(){var _455=["dijit/_base/manager"];_445(_455);});}var _456={};function _457(obj){var ret={};for(var attr in obj){ret[attr.toLowerCase()]=true;}return ret;};function _458(attr){return function(val){_44b[val?"set":"remove"](this.domNode,attr,val);this._set(attr,val);};};return _44a("dijit._WidgetBase",_452,{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:_458("lang"),dir:"",_setDirAttr:_458("dir"),textDir:"","class":"",_setClassAttr:{node:"domNode",type:"class"},style:"",title:"",tooltip:"",baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,attributeMap:{},_blankGif:_448.blankGif||_445.toUrl("dojo/resources/blank.gif"),postscript:function(_459,_45a){this.create(_459,_45a);},create:function(_45b,_45c){this.srcNodeRef=dom.byId(_45c);this._connects=[];this._supportingWidgets=[];if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_45b){this.params=_45b;lang.mixin(this,_45b);}this.postMixInProperties();if(!this.id){this.id=_454.getUniqueId(this.declaredClass.replace(/\./g,"_"));}_454.add(this);this.buildRendering();if(this.domNode){this._applyAttributes();var _45d=this.srcNodeRef;if(_45d&&_45d.parentNode&&this.domNode!==_45d){_45d.parentNode.replaceChild(this.domNode,_45d);}}if(this.domNode){this.domNode.setAttribute("widgetId",this.id);}this.postCreate();if(this.srcNodeRef&&!this.srcNodeRef.parentNode){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 _45e=ctor.prototype;for(var _45f in _45e){if(_45f in this.attributeMap){continue;}var _460="_set"+_45f.replace(/^[a-z]|-[a-zA-Z]/g,function(c){return c.charAt(c.length-1).toUpperCase();})+"Attr";if(_460 in _45e){list.push(_45f);}}}_446.forEach(list,function(attr){if(this.params&&attr in this.params){}else{if(this[attr]){this.set(attr,this[attr]);}}},this);for(var _461 in this.params){this.set(_461,this[_461]);}},postMixInProperties:function(){},buildRendering:function(){if(!this.domNode){this.domNode=this.srcNodeRef||_44d.create("div");}if(this.baseClass){var _462=this.baseClass.split(" ");if(!this.isLeftToRight()){_462=_462.concat(_446.map(_462,function(name){return name+"Rtl";}));}_44c.add(this.domNode,_462);}},postCreate:function(){},startup:function(){if(this._started){return;}this._started=true;_446.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}});},destroyRecursive:function(_463){this._beingDestroyed=true;this.destroyDescendants(_463);this.destroy(_463);},destroy:function(_464){this._beingDestroyed=true;this.uninitialize();var c;while(c=this._connects.pop()){c.remove();}var w;while(w=this._supportingWidgets.pop()){if(w.destroyRecursive){w.destroyRecursive();}else{if(w.destroy){w.destroy();}}}this.destroyRendering(_464);_454.remove(this.id);this._destroyed=true;},destroyRendering:function(_465){if(this.bgIframe){this.bgIframe.destroy(_465);delete this.bgIframe;}if(this.domNode){if(_465){_44b.remove(this.domNode,"widgetId");}else{_44d.destroy(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_465){_44d.destroy(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_466){_446.forEach(this.getChildren(),function(_467){if(_467.destroyRecursive){_467.destroyRecursive(_466);}});},uninitialize:function(){return false;},_setStyleAttr:function(_468){var _469=this.domNode;if(lang.isObject(_468)){_44f.set(_469,_468);}else{if(_469.style.cssText){_469.style.cssText+="; "+_468;}else{_469.style.cssText=_468;}}this._set("style",_468);},_attrToDom:function(attr,_46a,_46b){_46b=arguments.length>=3?_46b:this.attributeMap[attr];_446.forEach(lang.isArray(_46b)?_46b:[_46b],function(_46c){var _46d=this[_46c.node||_46c||"domNode"];var type=_46c.type||"attribute";switch(type){case "attribute":if(lang.isFunction(_46a)){_46a=lang.hitch(this,_46a);}var _46e=_46c.attribute?_46c.attribute:(/^on[A-Z][a-zA-Z]*$/.test(attr)?attr.toLowerCase():attr);_44b.set(_46d,_46e,_46a);break;case "innerText":_46d.innerHTML="";_46d.appendChild(win.doc.createTextNode(_46a));break;case "innerHTML":_46d.innerHTML=_46a;break;case "class":_44c.replace(_46d,_46a,this[attr]);break;}},this);},get:function(name){var _46f=this._getAttrNames(name);return this[_46f.g]?this[_46f.g]():this[name];},set:function(name,_470){if(typeof name==="object"){for(var x in name){this.set(x,name[x]);}return this;}var _471=this._getAttrNames(name),_472=this[_471.s];if(lang.isFunction(_472)){var _473=_472.apply(this,Array.prototype.slice.call(arguments,1));}else{var _474=this.focusNode&&!lang.isFunction(this.focusNode)?"focusNode":"domNode",tag=this[_474].tagName,_475=_456[tag]||(_456[tag]=_457(this[_474])),map=name in this.attributeMap?this.attributeMap[name]:_471.s in this?this[_471.s]:((_471.l in _475&&typeof _470!="function")||/^aria-|^data-|^role$/.test(name))?_474:null;if(map!=null){this._attrToDom(name,_470,map);}this._set(name,_470);}return _473||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,_476){var _477=this[name];this[name]=_476;if(this._watchCallbacks&&this._created&&_476!==_477){this._watchCallbacks(name,_477,_476);}},on:function(type,func){return _447.after(this,this._onMap(type),func,true);},_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[type.toLowerCase()];},toString:function(){return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";},getChildren:function(){return this.containerNode?_454.findWidgets(this.containerNode):[];},getParent:function(){return _454.getEnclosingWidget(this.domNode.parentNode);},connect:function(obj,_478,_479){var _47a=_449.connect(obj,_478,this,_479);this._connects.push(_47a);return _47a;},disconnect:function(_47b){var i=_446.indexOf(this._connects,_47b);if(i!=-1){_47b.remove();this._connects.splice(i,1);}},subscribe:function(t,_47c){var _47d=_453.subscribe(t,lang.hitch(this,_47c));this._connects.push(_47d);return _47d;},unsubscribe:function(_47e){this.disconnect(_47e);},isLeftToRight:function(){return this.dir?(this.dir=="ltr"):_44e.isBodyLtr();},isFocusable:function(){return this.focus&&(_44f.get(this.domNode,"display")!="none");},placeAt:function(_47f,_480){if(_47f.declaredClass&&_47f.addChild){_47f.addChild(this,_480);}else{_44d.place(this.domNode,_47f,_480);}return this;},getTextDir:function(text,_481){return _481;},applyTextDir:function(){}});});},"dojo/dnd/Moveable":function(){define("dojo/dnd/Moveable",["../main","../Evented","../touch","./Mover"],function(dojo,_482,_483){dojo.declare("dojo.dnd.Moveable",[_482],{handle:"",delay:0,skip:false,constructor:function(node,_484){this.node=dojo.byId(node);if(!_484){_484={};}this.handle=_484.handle?dojo.byId(_484.handle):null;if(!this.handle){this.handle=this.node;}this.delay=_484.delay>0?_484.delay:0;this.skip=_484.skip;this.mover=_484.mover?_484.mover:dojo.dnd.Mover;this.events=[dojo.connect(this.handle,_483.press,this,"onMouseDown"),dojo.connect(this.handle,"ondragstart",this,"onSelectStart"),dojo.connect(this.handle,"onselectstart",this,"onSelectStart")];},markupFactory:function(_485,node,ctor){return new ctor(node,_485);},destroy:function(){dojo.forEach(this.events,dojo.disconnect);this.events=this.node=this.handle=null;},onMouseDown:function(e){if(this.skip&&dojo.dnd.isFormElement(e)){return;}if(this.delay){this.events.push(dojo.connect(this.handle,_483.move,this,"onMouseMove"),dojo.connect(this.handle,_483.release,this,"onMouseUp"));this._lastX=e.pageX;this._lastY=e.pageY;}else{this.onDragDetected(e);}dojo.stopEvent(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);}dojo.stopEvent(e);},onMouseUp:function(e){for(var i=0;i<2;++i){dojo.disconnect(this.events.pop());}dojo.stopEvent(e);},onSelectStart:function(e){if(!this.skip||!dojo.dnd.isFormElement(e)){dojo.stopEvent(e);}},onDragDetected:function(e){new this.mover(this.node,e,this);},onMoveStart:function(_486){dojo.publish("/dnd/move/start",[_486]);dojo.addClass(dojo.body(),"dojoMove");dojo.addClass(this.node,"dojoMoveItem");},onMoveStop:function(_487){dojo.publish("/dnd/move/stop",[_487]);dojo.removeClass(dojo.body(),"dojoMove");dojo.removeClass(this.node,"dojoMoveItem");},onFirstMove:function(_488,e){},onMove:function(_489,_48a,e){this.onMoving(_489,_48a);var s=_489.node.style;s.left=_48a.l+"px";s.top=_48a.t+"px";this.onMoved(_489,_48a);},onMoving:function(_48b,_48c){},onMoved:function(_48d,_48e){}});return dojo.dnd.Moveable;});},"dojo/html":function(){define("dojo/html",["./_base/kernel","./_base/lang","./_base/array","./_base/declare","./dom","./dom-construct","./parser"],function(dojo,lang,_48f,_490,dom,_491,_492){lang.getObject("html",true,dojo);var _493=0;dojo.html._secureForInnerHtml=function(cont){return cont.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig,"");};dojo.html._emptyNode=_491.empty;dojo.html._setNodeContent=function(node,cont){_491.empty(node);if(cont){if(typeof cont=="string"){cont=_491.toDom(cont,node.ownerDocument);}if(!cont.nodeType&&lang.isArrayLike(cont)){for(var _494=cont.length,i=0;i<cont.length;i=_494==cont.length?i+1:0){_491.place(cont[i],node,"last");}}else{_491.place(cont,node,"last");}}return node;};_490("dojo.html._ContentSetter",null,{node:"",content:"",id:"",cleanContent:false,extractContent:false,parseContent:false,parserScope:dojo._scopeName,startup:true,constructor:function(_495,node){lang.mixin(this,_495||{});node=this.node=dom.byId(this.node||node);if(!this.id){this.id=["Setter",(node)?node.id||node.tagName:"",_493++].join("_");}},set:function(cont,_496){if(undefined!==cont){this.content=cont;}if(_496){this._mixin(_496);}this.onBegin();this.setContent();this.onEnd();return this.node;},setContent:function(){var node=this.node;if(!node){throw new Error(this.declaredClass+": setContent given no node");}try{node=dojo.html._setNodeContent(node,this.content);}catch(e){var _497=this.onContentError(e);try{node.innerHTML=_497;}catch(e){console.error("Fatal "+this.declaredClass+".setContent could not change content due to "+e.message,e);}}this.node=node;},empty:function(){if(this.parseResults&&this.parseResults.length){_48f.forEach(this.parseResults,function(w){if(w.destroy){w.destroy();}});delete this.parseResults;}dojo.html._emptyNode(this.node);},onBegin:function(){var cont=this.content;if(lang.isString(cont)){if(this.cleanContent){cont=dojo.html._secureForInnerHtml(cont);}if(this.extractContent){var _498=cont.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_498){cont=_498[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.node;delete this.content;},onContentError:function(err){return "Error occured setting content: "+err;},_mixin:function(_499){var _49a={},key;for(key in _499){if(key in _49a){continue;}this[key]=_499[key];}},_parse:function(){var _49b=this.node;try{var _49c={};_48f.forEach(["dir","lang","textDir"],function(name){if(this[name]){_49c[name]=this[name];}},this);this.parseResults=_492.parse({rootNode:_49b,noStart:!this.startup,inherited:_49c,scope:this.parserScope});}catch(e){this._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);}},_onError:function(type,err,_49d){var _49e=this["on"+type+"Error"].call(this,err);if(_49d){console.error(_49d,err);}else{if(_49e){dojo.html._setNodeContent(this.node,_49e,true);}}}});dojo.html.set=function(node,cont,_49f){if(undefined==cont){console.warn("dojo.html.set: no cont argument provided, using empty string");cont="";}if(!_49f){return dojo.html._setNodeContent(node,cont,true);}else{var op=new dojo.html._ContentSetter(lang.mixin(_49f,{content:cont,node:node}));return op.set();}};return dojo.html;});}}});define("dojo/heritage_dijit",[],1);
