/*
	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:{"dijit/_editor/plugins/FontChoice":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-construct","dojo/i18n","dojo/_base/lang","dojo/store/Memory","dojo/_base/window","../../registry","../../_Widget","../../_TemplatedMixin","../../_WidgetsInTemplateMixin","../../form/FilteringSelect","../_Plugin","../range","../selection","dojo/i18n!../nls/FontChoice"],function(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a,_b,_c,_d,_e,_f){var _10=_2("dijit._editor.plugins._FontDropDown",[_9,_a,_b],{label:"",plainText:false,templateString:"<span style='white-space: nowrap' class='dijit dijitReset dijitInline'>"+"<label class='dijitLeft dijitInline' for='${selectId}'>${label}</label>"+"<input data-dojo-type='dijit.form.FilteringSelect' required='false' "+"data-dojo-props='labelType:\"html\", labelAttr:\"label\", searchAttr:\"name\"' "+"tabIndex='-1' id='${selectId}' data-dojo-attach-point='select' value=''/>"+"</span>",postMixInProperties:function(){this.inherited(arguments);this.strings=_4.getLocalization("dijit._editor","FontChoice");this.label=this.strings[this.command];this.id=_8.getUniqueId(this.declaredClass.replace(/\./g,"_"));this.selectId=this.id+"_select";this.inherited(arguments);},postCreate:function(){this.select.set("store",new _6({idProperty:"value",data:_1.map(this.values,function(_11){var _12=this.strings[_11]||_11;return {label:this.getLabel(_11,_12),name:_12,value:_11};},this)}));this.select.set("value","",false);this.disabled=this.select.get("disabled");},_setValueAttr:function(_13,_14){_14=_14!==false;this.select.set("value",_1.indexOf(this.values,_13)<0?"":_13,_14);if(!_14){this.select._lastValueReported=null;}},_getValueAttr:function(){return this.select.get("value");},focus:function(){this.select.focus();},_setDisabledAttr:function(_15){this.disabled=_15;this.select.set("disabled",_15);}});var _16=_2("dijit._editor.plugins._FontNameDropDown",_10,{generic:false,command:"fontName",postMixInProperties:function(){if(!this.values){this.values=this.generic?["serif","sans-serif","monospace","cursive","fantasy"]:["Arial","Times New Roman","Comic Sans MS","Courier New"];}this.inherited(arguments);},getLabel:function(_17,_18){if(this.plainText){return _18;}else{return "<div style='font-family: "+_17+"'>"+_18+"</div>";}},_setValueAttr:function(_19,_1a){_1a=_1a!==false;if(this.generic){var map={"Arial":"sans-serif","Helvetica":"sans-serif","Myriad":"sans-serif","Times":"serif","Times New Roman":"serif","Comic Sans MS":"cursive","Apple Chancery":"cursive","Courier":"monospace","Courier New":"monospace","Papyrus":"fantasy","Estrangelo Edessa":"cursive","Gabriola":"fantasy"};_19=map[_19]||_19;}this.inherited(arguments,[_19,_1a]);}});var _1b=_2("dijit._editor.plugins._FontSizeDropDown",_10,{command:"fontSize",values:[1,2,3,4,5,6,7],getLabel:function(_1c,_1d){if(this.plainText){return _1d;}else{return "<font size="+_1c+"'>"+_1d+"</font>";}},_setValueAttr:function(_1e,_1f){_1f=_1f!==false;if(_1e.indexOf&&_1e.indexOf("px")!=-1){var _20=parseInt(_1e,10);_1e={10:1,13:2,16:3,18:4,24:5,32:6,48:7}[_20]||_1e;}this.inherited(arguments,[_1e,_1f]);}});var _21=_2("dijit._editor.plugins._FormatBlockDropDown",_10,{command:"formatBlock",values:["noFormat","p","h1","h2","h3","pre"],postCreate:function(){this.inherited(arguments);this.set("value","noFormat",false);},getLabel:function(_22,_23){if(this.plainText||_22=="noFormat"){return _23;}else{return "<"+_22+">"+_23+"</"+_22+">";}},_execCommand:function(_24,_25,_26){if(_26==="noFormat"){var _27;var end;var sel=_e.getSelection(_24.window);if(sel&&sel.rangeCount>0){var _28=sel.getRangeAt(0);var _29,tag;if(_28){_27=_28.startContainer;end=_28.endContainer;while(_27&&_27!==_24.editNode&&_27!==_24.document.body&&_27.nodeType!==1){_27=_27.parentNode;}while(end&&end!==_24.editNode&&end!==_24.document.body&&end.nodeType!==1){end=end.parentNode;}var _2a=_5.hitch(this,function(_2b,ary){if(_2b.childNodes&&_2b.childNodes.length){var i;for(i=0;i<_2b.childNodes.length;i++){var c=_2b.childNodes[i];if(c.nodeType==1){if(_7.withGlobal(_24.window,"inSelection",_f,[c])){var tag=c.tagName?c.tagName.toLowerCase():"";if(_1.indexOf(this.values,tag)!==-1){ary.push(c);}_2a(c,ary);}}}}});var _2c=_5.hitch(this,function(_2d){if(_2d&&_2d.length){_24.beginEditing();while(_2d.length){this._removeFormat(_24,_2d.pop());}_24.endEditing();}});var _2e=[];if(_27==end){var _2f;_29=_27;while(_29&&_29!==_24.editNode&&_29!==_24.document.body){if(_29.nodeType==1){tag=_29.tagName?_29.tagName.toLowerCase():"";if(_1.indexOf(this.values,tag)!==-1){_2f=_29;break;}}_29=_29.parentNode;}_2a(_27,_2e);if(_2f){_2e=[_2f].concat(_2e);}_2c(_2e);}else{_29=_27;while(_7.withGlobal(_24.window,"inSelection",_f,[_29])){if(_29.nodeType==1){tag=_29.tagName?_29.tagName.toLowerCase():"";if(_1.indexOf(this.values,tag)!==-1){_2e.push(_29);}_2a(_29,_2e);}_29=_29.nextSibling;}_2c(_2e);}_24.onDisplayChanged();}}}else{_24.execCommand(_25,_26);}},_removeFormat:function(_30,_31){if(_30.customUndo){while(_31.firstChild){_3.place(_31.firstChild,_31,"before");}_31.parentNode.removeChild(_31);}else{_7.withGlobal(_30.window,"selectElementChildren",_f,[_31]);var _32=_7.withGlobal(_30.window,"getSelectedHtml",_f,[null]);_7.withGlobal(_30.window,"selectElement",_f,[_31]);_30.execCommand("inserthtml",_32||"");}}});var _33=_2("dijit._editor.plugins.FontChoice",_d,{useDefaultCommand:false,_initButton:function(){var _34={fontName:_16,fontSize:_1b,formatBlock:_21}[this.command],_35=this.params;if(this.params.custom){_35.values=this.params.custom;}var _36=this.editor;this.button=new _34(_5.delegate({dir:_36.dir,lang:_36.lang},_35));this.connect(this.button.select,"onChange",function(_37){this.editor.focus();if(this.command=="fontName"&&_37.indexOf(" ")!=-1){_37="'"+_37+"'";}if(this.button._execCommand){this.button._execCommand(this.editor,this.command,_37);}else{this.editor.execCommand(this.command,_37);}});},updateState:function(){var _38=this.editor;var _39=this.command;if(!_38||!_38.isLoaded||!_39.length){return;}if(this.button){var _3a=this.get("disabled");this.button.set("disabled",_3a);if(_3a){return;}var _3b;try{_3b=_38.queryCommandValue(_39)||"";}catch(e){_3b="";}var _3c=_5.isString(_3b)&&_3b.match(/'([^']*)'/);if(_3c){_3b=_3c[1];}if(_39==="formatBlock"){if(!_3b||_3b=="p"){_3b=null;var _3d;var sel=_e.getSelection(this.editor.window);if(sel&&sel.rangeCount>0){var _3e=sel.getRangeAt(0);if(_3e){_3d=_3e.endContainer;}}while(_3d&&_3d!==_38.editNode&&_3d!==_38.document){var tg=_3d.tagName?_3d.tagName.toLowerCase():"";if(tg&&_1.indexOf(this.button.values,tg)>-1){_3b=tg;break;}_3d=_3d.parentNode;}if(!_3b){_3b="noFormat";}}else{if(_1.indexOf(this.button.values,_3b)<0){_3b="noFormat";}}}if(_3b!==this.button.get("value")){this.button.set("value",_3b,false);}}}});_1.forEach(["fontName","fontSize","formatBlock"],function(_3f){_d.registry[_3f]=function(_40){return new _33({command:_3f,plainText:_40.plainText});};});});},"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});},"url:dijit/templates/CheckedMenuItem.html":"<tr class=\"dijitReset dijitMenuItem\" data-dojo-attach-point=\"focusNode\" role=\"menuitemcheckbox\" 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=\"dijitMenuItemIcon dijitCheckedMenuItemIcon\" data-dojo-attach-point=\"iconNode\"/>\n\t\t<span class=\"dijitCheckedMenuItemIconChar\">&#10003;</span>\n\t</td>\n\t<td class=\"dijitReset dijitMenuItemLabel\" colspan=\"2\" data-dojo-attach-point=\"containerNode,labelNode\"></td>\n\t<td class=\"dijitReset dijitMenuItemAccelKey\" style=\"display: none\" data-dojo-attach-point=\"accelKeyNode\"></td>\n\t<td class=\"dijitReset dijitMenuArrowCell\" role=\"presentation\">&#160;</td>\n</tr>\n","dijit/form/TextBox":function(){define(["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(_41,_42,_43,_44,_45,has,win,_46,_47,_48,_49){var _4a=_41([_46,_47],{templateString:_48,_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 _4b=this.type.toLowerCase();if(this.templateString&&this.templateString.toLowerCase()=="input"||((_4b=="hidden"||_4b=="file")&&this.templateString==this.constructor.prototype.templateString)){this.templateString=this._singleNodeTemplate;}this.inherited(arguments);},_onInput:function(e){this.inherited(arguments);if(this.intermediateChanges){var _4c=this;setTimeout(function(){_4c._handleOnChange(_4c.get("value"),false);},0);}},_setPlaceHolderAttr:function(v){this._set("placeHolder",v);if(!this._phspan){this._attachPoints.push("_phspan");this._phspan=_42.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(_4d,_4e,_4f){this.inherited(arguments);this._updatePlaceHolder();},getDisplayedValue:function(){_44.deprecated(this.declaredClass+"::getDisplayedValue() is deprecated. Use set('displayedValue') instead.","","2.0");return this.get("displayedValue");},setDisplayedValue:function(_50){_44.deprecated(this.declaredClass+"::setDisplayedValue() is deprecated. Use set('displayedValue', ...) instead.","","2.0");this.set("displayedValue",_50);},_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")){_4a=_41(_4a,{declaredClass:"dijit.form.TextBox",_isTextSelected:function(){var _51=win.doc.selection.createRange();var _52=_51.parentElement();return _52==this.textbox&&_51.text.length==0;},postCreate:function(){this.inherited(arguments);setTimeout(_45.hitch(this,function(){try{var s=_43.getComputedStyle(this.domNode);if(s){var ff=s.fontFamily;if(ff){var _53=this.domNode.getElementsByTagName("INPUT");if(_53){for(var i=0;i<_53.length;i++){_53[i].style.fontFamily=ff;}}}}}catch(e){}}),0);}});_49._setSelectionRange=_47._setSelectionRange=function(_54,_55,_56){if(_54.createTextRange){var r=_54.createTextRange();r.collapse(true);r.moveStart("character",-99999);r.moveStart("character",_55);r.moveEnd("character",_56-_55);r.select();}};}else{if(has("mozilla")){_4a=_41(_4a,{declaredClass:"dijit.form.TextBox",_onBlur:function(e){this.inherited(arguments);if(this.selectOnClick){this.textbox.selectionStart=this.textbox.selectionEnd=undefined;}}});}else{_4a.prototype.declaredClass="dijit.form.TextBox";}}_45.setObject("dijit.form.TextBox",_4a);return _4a;});},"dojo/currency":function(){define(["./_base/kernel","./_base/lang","./_base/array","./number","./i18n","./i18n!./cldr/nls/currency","./cldr/monetary"],function(_57,_58,_59,_5a,_5b,_5c,_5d){_58.getObject("currency",true,_57);_57.currency._mixInDefaults=function(_5e){_5e=_5e||{};_5e.type="currency";var _5f=_5b.getLocalization("dojo.cldr","currency",_5e.locale)||{};var iso=_5e.currency;var _60=_5d.getData(iso);_59.forEach(["displayName","symbol","group","decimal"],function(_61){_60[_61]=_5f[iso+"_"+_61];});_60.fractional=[true,false];return _58.mixin(_60,_5e);};_57.currency.format=function(_62,_63){return _5a.format(_62,_57.currency._mixInDefaults(_63));};_57.currency.regexp=function(_64){return _5a.regexp(_57.currency._mixInDefaults(_64));};_57.currency.parse=function(_65,_66){return _5a.parse(_65,_57.currency._mixInDefaults(_66));};return _57.currency;});},"dijit/DialogUnderlay":function(){define(["dojo/_base/declare","dojo/dom-attr","dojo/_base/window","dojo/window","./_Widget","./_TemplatedMixin","./BackgroundIframe"],function(_67,_68,win,_69,_6a,_6b,_6c){return _67("dijit.DialogUnderlay",[_6a,_6b],{templateString:"<div class='dijitDialogUnderlayWrapper'><div class='dijitDialogUnderlay' data-dojo-attach-point='node'></div></div>",dialogId:"","class":"",_setDialogIdAttr:function(id){_68.set(this.node,"id",id+"_underlay");this._set("dialogId",id);},_setClassAttr:function(_6d){this.node.className="dijitDialogUnderlay "+_6d;this._set("class",_6d);},postCreate:function(){win.body().appendChild(this.domNode);},layout:function(){var is=this.node.style,os=this.domNode.style;os.display="none";var _6e=_69.getBox();os.top=_6e.t+"px";os.left=_6e.l+"px";is.width=_6e.w+"px";is.height=_6e.h+"px";os.display="block";},show:function(){this.domNode.style.display="block";this.layout();this.bgIframe=new _6c(this.domNode);},hide:function(){this.bgIframe.destroy();delete this.bgIframe;this.domNode.style.display="none";}});});},"url:dijit/form/templates/ComboButton.html":"<table class=\"dijit dijitReset dijitInline dijitLeft\"\n\tcellspacing='0' cellpadding='0' role=\"presentation\"\n\t><tbody role=\"presentation\"><tr role=\"presentation\"\n\t\t><td class=\"dijitReset dijitStretch dijitButtonNode\" data-dojo-attach-point=\"buttonNode\" data-dojo-attach-event=\"ondijitclick:_onClick,onkeypress:_onButtonKeyPress\"\n\t\t><div id=\"${id}_button\" class=\"dijitReset dijitButtonContents\"\n\t\t\tdata-dojo-attach-point=\"titleNode\"\n\t\t\trole=\"button\" aria-labelledby=\"${id}_label\"\n\t\t\t><div class=\"dijitReset dijitInline dijitIcon\" data-dojo-attach-point=\"iconNode\" role=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitInline dijitButtonText\" id=\"${id}_label\" data-dojo-attach-point=\"containerNode\" role=\"presentation\"></div\n\t\t></div\n\t\t></td\n\t\t><td id=\"${id}_arrow\" class='dijitReset dijitRight dijitButtonNode dijitArrowButton'\n\t\t\tdata-dojo-attach-point=\"_popupStateNode,focusNode,_buttonNode\"\n\t\t\tdata-dojo-attach-event=\"onkeypress:_onArrowKeyPress\"\n\t\t\ttitle=\"${optionsTitle}\"\n\t\t\trole=\"button\" aria-haspopup=\"true\"\n\t\t\t><div class=\"dijitReset dijitArrowButtonInner\" role=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitArrowButtonChar\" role=\"presentation\">&#9660;</div\n\t\t></td\n\t\t><td style=\"display:none !important;\"\n\t\t\t><input ${!nameAttrSetting} type=\"${type}\" value=\"${value}\" data-dojo-attach-point=\"valueNode\"\n\t\t/></td></tr></tbody\n></table>\n","dijit/layout/ScrollingTabController":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/fx","dojo/_base/lang","dojo/query","dojo/_base/sniff","../registry","dojo/text!./templates/ScrollingTabController.html","dojo/text!./templates/_ScrollingTabControllerButton.html","./TabController","./utils","../_WidgetsInTemplateMixin","../Menu","../MenuItem","../form/Button","../_HasDropDown","dojo/NodeList-dom"],function(_6f,_70,_71,_72,_73,fx,_74,_75,has,_76,_77,_78,_79,_7a,_7b,_7c,_7d,_7e,_7f){var _80=_70("dijit.layout.ScrollingTabController",[_79,_7b],{baseClass:"dijitTabController dijitScrollingTabController",templateString:_77,useMenu:true,useSlider:true,tabStripClass:"",widgetsInTemplate:true,_minScroll:5,_setClassAttr:{node:"containerNode",type:"class"},buildRendering:function(){this.inherited(arguments);var n=this.domNode;this.scrollNode=this.tablistWrapper;this._initButtons();if(!this.tabStripClass){this.tabStripClass="dijitTabContainer"+this.tabPosition.charAt(0).toUpperCase()+this.tabPosition.substr(1).replace(/-.*/,"")+"None";_71.add(n,"tabStrip-disabled");}_71.add(this.tablistWrapper,this.tabStripClass);},onStartup:function(){this.inherited(arguments);_73.set(this.domNode,"visibility","");this._postStartup=true;},onAddChild:function(_81,_82){this.inherited(arguments);_6f.forEach(["label","iconClass"],function(_83){this.pane2watches[_81.id].push(this.pane2button[_81.id].watch(_83,_74.hitch(this,function(){if(this._postStartup&&this._dim){this.resize(this._dim);}})));},this);_73.set(this.containerNode,"width",(_73.get(this.containerNode,"width")+200)+"px");},onRemoveChild:function(_84,_85){var _86=this.pane2button[_84.id];if(this._selectedTab===_86.domNode){this._selectedTab=null;}this.inherited(arguments);},_initButtons:function(){this._btnWidth=0;this._buttons=_75("> .tabStripButton",this.domNode).filter(function(btn){if((this.useMenu&&btn==this._menuBtn.domNode)||(this.useSlider&&(btn==this._rightBtn.domNode||btn==this._leftBtn.domNode))){this._btnWidth+=_72.getMarginSize(btn).w;return true;}else{_73.set(btn,"display","none");return false;}},this);},_getTabsWidth:function(){var _87=this.getChildren();if(_87.length){var _88=_87[this.isLeftToRight()?0:_87.length-1].domNode,_89=_87[this.isLeftToRight()?_87.length-1:0].domNode;return _89.offsetLeft+_73.get(_89,"width")-_88.offsetLeft;}else{return 0;}},_enableBtn:function(_8a){var _8b=this._getTabsWidth();_8a=_8a||_73.get(this.scrollNode,"width");return _8b>0&&_8a<_8b;},resize:function(dim){this._dim=dim;this.scrollNode.style.height="auto";var cb=this._contentBox=_7a.marginBox2contentBox(this.domNode,{h:0,w:dim.w});cb.h=this.scrollNode.offsetHeight;_72.setContentSize(this.domNode,cb);var _8c=this._enableBtn(this._contentBox.w);this._buttons.style("display",_8c?"":"none");this._leftBtn.layoutAlign="left";this._rightBtn.layoutAlign="right";this._menuBtn.layoutAlign=this.isLeftToRight()?"right":"left";_7a.layoutChildren(this.domNode,this._contentBox,[this._menuBtn,this._leftBtn,this._rightBtn,{domNode:this.scrollNode,layoutAlign:"client"}]);if(this._selectedTab){if(this._anim&&this._anim.status()=="playing"){this._anim.stop();}this.scrollNode.scrollLeft=this._convertToScrollLeft(this._getScrollForSelectedTab());}this._setButtonClass(this._getScroll());this._postResize=true;return {h:this._contentBox.h,w:dim.w};},_getScroll:function(){return (this.isLeftToRight()||has("ie")<8||(has("ie")&&has("quirks"))||has("webkit"))?this.scrollNode.scrollLeft:_73.get(this.containerNode,"width")-_73.get(this.scrollNode,"width")+(has("ie")==8?-1:1)*this.scrollNode.scrollLeft;},_convertToScrollLeft:function(val){if(this.isLeftToRight()||has("ie")<8||(has("ie")&&has("quirks"))||has("webkit")){return val;}else{var _8d=_73.get(this.containerNode,"width")-_73.get(this.scrollNode,"width");return (has("ie")==8?-1:1)*(val-_8d);}},onSelectChild:function(_8e){var tab=this.pane2button[_8e.id];if(!tab||!_8e){return;}var _8f=tab.domNode;if(_8f!=this._selectedTab){this._selectedTab=_8f;if(this._postResize){var sl=this._getScroll();if(sl>_8f.offsetLeft||sl+_73.get(this.scrollNode,"width")<_8f.offsetLeft+_73.get(_8f,"width")){this.createSmoothScroll().play();}}}this.inherited(arguments);},_getScrollBounds:function(){var _90=this.getChildren(),_91=_73.get(this.scrollNode,"width"),_92=_73.get(this.containerNode,"width"),_93=_92-_91,_94=this._getTabsWidth();if(_90.length&&_94>_91){return {min:this.isLeftToRight()?0:_90[_90.length-1].domNode.offsetLeft,max:this.isLeftToRight()?(_90[_90.length-1].domNode.offsetLeft+_73.get(_90[_90.length-1].domNode,"width"))-_91:_93};}else{var _95=this.isLeftToRight()?0:_93;return {min:_95,max:_95};}},_getScrollForSelectedTab:function(){var w=this.scrollNode,n=this._selectedTab,_96=_73.get(this.scrollNode,"width"),_97=this._getScrollBounds();var pos=(n.offsetLeft+_73.get(n,"width")/2)-_96/2;pos=Math.min(Math.max(pos,_97.min),_97.max);return pos;},createSmoothScroll:function(x){if(arguments.length>0){var _98=this._getScrollBounds();x=Math.min(Math.max(x,_98.min),_98.max);}else{x=this._getScrollForSelectedTab();}if(this._anim&&this._anim.status()=="playing"){this._anim.stop();}var _99=this,w=this.scrollNode,_9a=new fx.Animation({beforeBegin:function(){if(this.curve){delete this.curve;}var _9b=w.scrollLeft,_9c=_99._convertToScrollLeft(x);_9a.curve=new fx._Line(_9b,_9c);},onAnimate:function(val){w.scrollLeft=val;}});this._anim=_9a;this._setButtonClass(x);return _9a;},_getBtnNode:function(e){var n=e.target;while(n&&!_71.contains(n,"tabStripButton")){n=n.parentNode;}return n;},doSlideRight:function(e){this.doSlide(1,this._getBtnNode(e));},doSlideLeft:function(e){this.doSlide(-1,this._getBtnNode(e));},doSlide:function(_9d,_9e){if(_9e&&_71.contains(_9e,"dijitTabDisabled")){return;}var _9f=_73.get(this.scrollNode,"width");var d=(_9f*0.75)*_9d;var to=this._getScroll()+d;this._setButtonClass(to);this.createSmoothScroll(to).play();},_setButtonClass:function(_a0){var _a1=this._getScrollBounds();this._leftBtn.set("disabled",_a0<=_a1.min);this._rightBtn.set("disabled",_a0>=_a1.max);}});var _a2=_70("dijit.layout._ScrollingTabControllerButtonMixin",null,{baseClass:"dijitTab tabStripButton",templateString:_78,tabIndex:"",isFocusable:function(){return false;}});_70("dijit.layout._ScrollingTabControllerButton",[_7e,_a2]);_70("dijit.layout._ScrollingTabControllerMenuButton",[_7e,_7f,_a2],{containerId:"",tabIndex:"-1",isLoaded:function(){return false;},loadDropDown:function(_a3){this.dropDown=new _7c({id:this.containerId+"_menu",dir:this.dir,lang:this.lang,textDir:this.textDir});var _a4=_76.byId(this.containerId);_6f.forEach(_a4.getChildren(),function(_a5){var _a6=new _7d({id:_a5.id+"_stcMi",label:_a5.title,iconClass:_a5.iconClass,dir:_a5.dir,lang:_a5.lang,textDir:_a5.textDir,onClick:function(){_a4.selectChild(_a5);}});this.dropDown.addChild(_a6);},this);_a3();},closeDropDown:function(_a7){this.inherited(arguments);if(this.dropDown){this.dropDown.destroyRecursive();delete this.dropDown;}}});return _80;});},"dijit/_editor/html":function(){define(["dojo/_base/lang","dojo/_base/sniff",".."],function(_a8,has,_a9){_a8.getObject("_editor",true,_a9);_a9._editor.escapeXml=function(str,_aa){str=str.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;");if(!_aa){str=str.replace(/'/gm,"&#39;");}return str;};_a9._editor.getNodeHtml=function(_ab){var _ac;switch(_ab.nodeType){case 1:var _ad=_ab.nodeName.toLowerCase();if(!_ad||_ad.charAt(0)=="/"){return "";}_ac="<"+_ad;var _ae=[];var _af;if(has("ie")&&_ab.outerHTML){var s=_ab.outerHTML;s=s.substr(0,s.indexOf(">")).replace(/(['"])[^"']*\1/g,"");var reg=/(\b\w+)\s?=/g;var m,key;while((m=reg.exec(s))){key=m[1];if(key.substr(0,3)!="_dj"){if(key=="src"||key=="href"){if(_ab.getAttribute("_djrealurl")){_ae.push([key,_ab.getAttribute("_djrealurl")]);continue;}}var val,_b0;switch(key){case "style":val=_ab.style.cssText.toLowerCase();break;case "class":val=_ab.className;break;case "width":if(_ad==="img"){_b0=/width=(\S+)/i.exec(s);if(_b0){val=_b0[1];}break;}case "height":if(_ad==="img"){_b0=/height=(\S+)/i.exec(s);if(_b0){val=_b0[1];}break;}default:val=_ab.getAttribute(key);}if(val!=null){_ae.push([key,val.toString()]);}}}}else{var i=0;while((_af=_ab.attributes[i++])){var n=_af.name;if(n.substr(0,3)!="_dj"){var v=_af.value;if(n=="src"||n=="href"){if(_ab.getAttribute("_djrealurl")){v=_ab.getAttribute("_djrealurl");}}_ae.push([n,v]);}}}_ae.sort(function(a,b){return a[0]<b[0]?-1:(a[0]==b[0]?0:1);});var j=0;while((_af=_ae[j++])){_ac+=" "+_af[0]+"=\""+(_a8.isString(_af[1])?_a9._editor.escapeXml(_af[1],true):_af[1])+"\"";}if(_ad==="script"){_ac+=">"+_ab.innerHTML+"</"+_ad+">";}else{if(_ab.childNodes.length){_ac+=">"+_a9._editor.getChildrenHtml(_ab)+"</"+_ad+">";}else{switch(_ad){case "br":case "hr":case "img":case "input":case "base":case "meta":case "area":case "basefont":_ac+=" />";break;default:_ac+="></"+_ad+">";}}}break;case 4:case 3:_ac=_a9._editor.escapeXml(_ab.nodeValue,true);break;case 8:_ac="<!--"+_a9._editor.escapeXml(_ab.nodeValue,true)+"-->";break;default:_ac="<!-- Element not recognized - Type: "+_ab.nodeType+" Name: "+_ab.nodeName+"-->";}return _ac;};_a9._editor.getChildrenHtml=function(dom){var out="";if(!dom){return out;}var _b1=dom["childNodes"]||dom;var _b2=!has("ie")||_b1!==dom;var _b3,i=0;while((_b3=_b1[i++])){if(!_b2||_b3.parentNode==dom){out+=_a9._editor.getNodeHtml(_b3);}}return out;};return _a9._editor;});},"dijit/_editor/nls/commands":function(){define({root:({"bold":"Bold","copy":"Copy","cut":"Cut","delete":"Delete","indent":"Indent","insertHorizontalRule":"Horizontal Rule","insertOrderedList":"Numbered List","insertUnorderedList":"Bullet List","italic":"Italic","justifyCenter":"Align Center","justifyFull":"Justify","justifyLeft":"Align Left","justifyRight":"Align Right","outdent":"Outdent","paste":"Paste","redo":"Redo","removeFormat":"Remove Format","selectAll":"Select All","strikethrough":"Strikethrough","subscript":"Subscript","superscript":"Superscript","underline":"Underline","undo":"Undo","unlink":"Remove Link","createLink":"Create Link","toggleDir":"Toggle Direction","insertImage":"Insert Image","insertTable":"Insert/Edit Table","toggleTableBorder":"Toggle Table Border","deleteTable":"Delete Table","tableProp":"Table Property","htmlToggle":"HTML Source","foreColor":"Foreground Color","hiliteColor":"Background Color","plainFormatBlock":"Paragraph Style","formatBlock":"Paragraph Style","fontSize":"Font Size","fontName":"Font Name","tabIndent":"Tab Indent","fullScreen":"Toggle Full Screen","viewSource":"View HTML Source","print":"Print","newPage":"New Page","systemShortcut":"The \"${0}\" action is only available in your browser using a keyboard shortcut. Use ${1}.","ctrlKey":"ctrl+${0}","appleKey":"⌘${0}"}),"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/_HasDropDown":function(){define(["dojo/_base/declare","dojo/_base/Deferred","dojo/_base/event","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/has","dojo/keys","dojo/_base/lang","dojo/touch","dojo/_base/window","dojo/window","./registry","./focus","./popup","./_FocusMixin"],function(_b4,_b5,_b6,dom,_b7,_b8,_b9,_ba,has,_bb,_bc,_bd,win,_be,_bf,_c0,_c1,_c2){return _b4("dijit._HasDropDown",_c2,{_buttonNode:null,_arrowWrapperNode:null,_popupStateNode:null,_aroundNode:null,dropDown:null,autoWidth:true,forceWidth:false,maxHeight:0,dropDownPosition:["below","above"],_stopClickEvents:true,_onDropDownMouseDown:function(e){if(this.disabled||this.readOnly){return;}_b6.stop(e);this._docHandler=this.connect(win.doc,_bd.release,"_onDropDownMouseUp");this.toggleDropDown();},_onDropDownMouseUp:function(e){if(e&&this._docHandler){this.disconnect(this._docHandler);}var _c3=this.dropDown,_c4=false;if(e&&this._opened){var c=_b9.position(this._buttonNode,true);if(!(e.pageX>=c.x&&e.pageX<=c.x+c.w)||!(e.pageY>=c.y&&e.pageY<=c.y+c.h)){var t=e.target;while(t&&!_c4){if(_b8.contains(t,"dijitPopup")){_c4=true;}else{t=t.parentNode;}}if(_c4){t=e.target;if(_c3.onItemClick){var _c5;while(t&&!(_c5=_bf.byNode(t))){t=t.parentNode;}if(_c5&&_c5.onClick&&_c5.getParent){_c5.getParent().onItemClick(_c5,e);}}return;}}}if(this._opened){if(_c3.focus&&_c3.autoFocus!==false){window.setTimeout(_bc.hitch(_c3,"focus"),1);}}else{setTimeout(_bc.hitch(this,"focus"),0);}if(has("ios")){this._justGotMouseUp=true;setTimeout(_bc.hitch(this,function(){this._justGotMouseUp=false;}),0);}},_onDropDownClick:function(e){if(has("ios")&&!this._justGotMouseUp){this._onDropDownMouseDown(e);this._onDropDownMouseUp(e);}if(this._stopClickEvents){_b6.stop(e);}},buildRendering:function(){this.inherited(arguments);this._buttonNode=this._buttonNode||this.focusNode||this.domNode;this._popupStateNode=this._popupStateNode||this.focusNode||this._buttonNode;var _c6={"after":this.isLeftToRight()?"Right":"Left","before":this.isLeftToRight()?"Left":"Right","above":"Up","below":"Down","left":"Left","right":"Right"}[this.dropDownPosition[0]]||this.dropDownPosition[0]||"Down";_b8.add(this._arrowWrapperNode||this._buttonNode,"dijit"+_c6+"ArrowButton");},postCreate:function(){this.inherited(arguments);this.connect(this._buttonNode,_bd.press,"_onDropDownMouseDown");this.connect(this._buttonNode,"onclick","_onDropDownClick");this.connect(this.focusNode,"onkeypress","_onKey");this.connect(this.focusNode,"onkeyup","_onKeyUp");},destroy:function(){if(this.dropDown){if(!this.dropDown._destroyed){this.dropDown.destroyRecursive();}delete this.dropDown;}this.inherited(arguments);},_onKey:function(e){if(this.disabled||this.readOnly){return;}var d=this.dropDown,_c7=e.target;if(d&&this._opened&&d.handleKey){if(d.handleKey(e)===false){_b6.stop(e);return;}}if(d&&this._opened&&e.charOrCode==_bb.ESCAPE){this.closeDropDown();_b6.stop(e);}else{if(!this._opened&&(e.charOrCode==_bb.DOWN_ARROW||((e.charOrCode==_bb.ENTER||e.charOrCode==" ")&&((_c7.tagName||"").toLowerCase()!=="input"||(_c7.type&&_c7.type.toLowerCase()!=="text"))))){this._toggleOnKeyUp=true;_b6.stop(e);}}},_onKeyUp:function(){if(this._toggleOnKeyUp){delete this._toggleOnKeyUp;this.toggleDropDown();var d=this.dropDown;if(d&&d.focus){setTimeout(_bc.hitch(d,"focus"),1);}}},_onBlur:function(){var _c8=_c0.curNode&&this.dropDown&&dom.isDescendant(_c0.curNode,this.dropDown.domNode);this.closeDropDown(_c8);this.inherited(arguments);},isLoaded:function(){return true;},loadDropDown:function(_c9){_c9();},loadAndOpenDropDown:function(){var d=new _b5(),_ca=_bc.hitch(this,function(){this.openDropDown();d.resolve(this.dropDown);});if(!this.isLoaded()){this.loadDropDown(_ca);}else{_ca();}return d;},toggleDropDown:function(){if(this.disabled||this.readOnly){return;}if(!this._opened){this.loadAndOpenDropDown();}else{this.closeDropDown();}},openDropDown:function(){var _cb=this.dropDown,_cc=_cb.domNode,_cd=this._aroundNode||this.domNode,_ce=this;if(!this._preparedNode){this._preparedNode=true;if(_cc.style.width){this._explicitDDWidth=true;}if(_cc.style.height){this._explicitDDHeight=true;}}if(this.maxHeight||this.forceWidth||this.autoWidth){var _cf={display:"",visibility:"hidden"};if(!this._explicitDDWidth){_cf.width="";}if(!this._explicitDDHeight){_cf.height="";}_ba.set(_cc,_cf);var _d0=this.maxHeight;if(_d0==-1){var _d1=_be.getBox(),_d2=_b9.position(_cd,false);_d0=Math.floor(Math.max(_d2.y,_d1.h-(_d2.y+_d2.h)));}_c1.moveOffScreen(_cb);if(_cb.startup&&!_cb._started){_cb.startup();}var mb=_b9.getMarginSize(_cc);var _d3=(_d0&&mb.h>_d0);_ba.set(_cc,{overflowX:"hidden",overflowY:_d3?"auto":"hidden"});if(_d3){mb.h=_d0;if("w" in mb){mb.w+=16;}}else{delete mb.h;}if(this.forceWidth){mb.w=_cd.offsetWidth;}else{if(this.autoWidth){mb.w=Math.max(mb.w,_cd.offsetWidth);}else{delete mb.w;}}if(_bc.isFunction(_cb.resize)){_cb.resize(mb);}else{_b9.setMarginBox(_cc,mb);}}var _d4=_c1.open({parent:this,popup:_cb,around:_cd,orient:this.dropDownPosition,onExecute:function(){_ce.closeDropDown(true);},onCancel:function(){_ce.closeDropDown(true);},onClose:function(){_b7.set(_ce._popupStateNode,"popupActive",false);_b8.remove(_ce._popupStateNode,"dijitHasDropDownOpen");_ce._opened=false;}});_b7.set(this._popupStateNode,"popupActive","true");_b8.add(_ce._popupStateNode,"dijitHasDropDownOpen");this._opened=true;return _d4;},closeDropDown:function(_d5){if(this._opened){if(_d5){this.focus();}_c1.close(this.dropDown);this._opened=false;}}});});},"dijit/tree/TreeStoreModel":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/_base/json","dojo/_base/lang"],function(_d6,_d7,_d8,_d9,_da){return _d8("dijit.tree.TreeStoreModel",null,{store:null,childrenAttrs:["children"],newItemIdAttr:"id",labelAttr:"",root:null,query:null,deferItemLoadingUntilExpand:false,constructor:function(_db){_da.mixin(this,_db);this.connects=[];var _dc=this.store;if(!_dc.getFeatures()["dojo.data.api.Identity"]){throw new Error("dijit.Tree: store must support dojo.data.Identity");}if(_dc.getFeatures()["dojo.data.api.Notification"]){this.connects=this.connects.concat([_d7.after(_dc,"onNew",_da.hitch(this,"onNewItem"),true),_d7.after(_dc,"onDelete",_da.hitch(this,"onDeleteItem"),true),_d7.after(_dc,"onSet",_da.hitch(this,"onSetItem"),true)]);}},destroy:function(){var h;while(h=this.connects.pop()){h.remove();}},getRoot:function(_dd,_de){if(this.root){_dd(this.root);}else{this.store.fetch({query:this.query,onComplete:_da.hitch(this,function(_df){if(_df.length!=1){throw new Error(this.declaredClass+": query "+_d9.stringify(this.query)+" returned "+_df.length+" items, but must return exactly one item");}this.root=_df[0];_dd(this.root);}),onError:_de});}},mayHaveChildren:function(_e0){return _d6.some(this.childrenAttrs,function(_e1){return this.store.hasAttribute(_e0,_e1);},this);},getChildren:function(_e2,_e3,_e4){var _e5=this.store;if(!_e5.isItemLoaded(_e2)){var _e6=_da.hitch(this,arguments.callee);_e5.loadItem({item:_e2,onItem:function(_e7){_e6(_e7,_e3,_e4);},onError:_e4});return;}var _e8=[];for(var i=0;i<this.childrenAttrs.length;i++){var _e9=_e5.getValues(_e2,this.childrenAttrs[i]);_e8=_e8.concat(_e9);}var _ea=0;if(!this.deferItemLoadingUntilExpand){_d6.forEach(_e8,function(_eb){if(!_e5.isItemLoaded(_eb)){_ea++;}});}if(_ea==0){_e3(_e8);}else{_d6.forEach(_e8,function(_ec,idx){if(!_e5.isItemLoaded(_ec)){_e5.loadItem({item:_ec,onItem:function(_ed){_e8[idx]=_ed;if(--_ea==0){_e3(_e8);}},onError:_e4});}});}},isItem:function(_ee){return this.store.isItem(_ee);},fetchItemByIdentity:function(_ef){this.store.fetchItemByIdentity(_ef);},getIdentity:function(_f0){return this.store.getIdentity(_f0);},getLabel:function(_f1){if(this.labelAttr){return this.store.getValue(_f1,this.labelAttr);}else{return this.store.getLabel(_f1);}},newItem:function(_f2,_f3,_f4){var _f5={parent:_f3,attribute:this.childrenAttrs[0]},_f6;if(this.newItemIdAttr&&_f2[this.newItemIdAttr]){this.fetchItemByIdentity({identity:_f2[this.newItemIdAttr],scope:this,onItem:function(_f7){if(_f7){this.pasteItem(_f7,null,_f3,true,_f4);}else{_f6=this.store.newItem(_f2,_f5);if(_f6&&(_f4!=undefined)){this.pasteItem(_f6,_f3,_f3,false,_f4);}}}});}else{_f6=this.store.newItem(_f2,_f5);if(_f6&&(_f4!=undefined)){this.pasteItem(_f6,_f3,_f3,false,_f4);}}},pasteItem:function(_f8,_f9,_fa,_fb,_fc){var _fd=this.store,_fe=this.childrenAttrs[0];if(_f9){_d6.forEach(this.childrenAttrs,function(_ff){if(_fd.containsValue(_f9,_ff,_f8)){if(!_fb){var _100=_d6.filter(_fd.getValues(_f9,_ff),function(x){return x!=_f8;});_fd.setValues(_f9,_ff,_100);}_fe=_ff;}});}if(_fa){if(typeof _fc=="number"){var _101=_fd.getValues(_fa,_fe).slice();_101.splice(_fc,0,_f8);_fd.setValues(_fa,_fe,_101);}else{_fd.setValues(_fa,_fe,_fd.getValues(_fa,_fe).concat(_f8));}}},onChange:function(){},onChildrenChange:function(){},onDelete:function(){},onNewItem:function(item,_102){if(!_102){return;}this.getChildren(_102.item,_da.hitch(this,function(_103){this.onChildrenChange(_102.item,_103);}));},onDeleteItem:function(item){this.onDelete(item);},onSetItem:function(item,_104){if(_d6.indexOf(this.childrenAttrs,_104)!=-1){this.getChildren(item,_da.hitch(this,function(_105){this.onChildrenChange(item,_105);}));}else{this.onChange(item);}}});});},"dijit/_editor/plugins/EnterKeyHandling":function(){define(["dojo/_base/declare","dojo/dom-construct","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/_base/sniff","dojo/_base/window","dojo/window","../_Plugin","../RichText","../range","../selection"],function(_106,_107,_108,keys,lang,has,win,_109,_10a,_10b,_10c,_10d){return _106("dijit._editor.plugins.EnterKeyHandling",_10a,{blockNodeForEnter:"BR",constructor:function(args){if(args){if("blockNodeForEnter" in args){args.blockNodeForEnter=args.blockNodeForEnter.toUpperCase();}lang.mixin(this,args);}},setEditor:function(_10e){if(this.editor===_10e){return;}this.editor=_10e;if(this.blockNodeForEnter=="BR"){this.editor.customUndo=true;_10e.onLoadDeferred.addCallback(lang.hitch(this,function(d){this.connect(_10e.document,"onkeypress",function(e){if(e.charOrCode==keys.ENTER){var ne=lang.mixin({},e);ne.shiftKey=true;if(!this.handleEnterKey(ne)){_108.stop(e);}}});return d;}));}else{if(this.blockNodeForEnter){var h=lang.hitch(this,this.handleEnterKey);_10e.addKeyHandler(13,0,0,h);_10e.addKeyHandler(13,0,1,h);this.connect(this.editor,"onKeyPressed","onKeyPressed");}}},onKeyPressed:function(){if(this._checkListLater){if(win.withGlobal(this.editor.window,"isCollapsed",dijit)){var _10f=win.withGlobal(this.editor.window,"getAncestorElement",_110,["LI"]);if(!_10f){_10b.prototype.execCommand.call(this.editor,"formatblock",this.blockNodeForEnter);var _111=win.withGlobal(this.editor.window,"getAncestorElement",_110,[this.blockNodeForEnter]);if(_111){_111.innerHTML=this.bogusHtmlContent;if(has("ie")){var r=this.editor.document.selection.createRange();r.move("character",-1);r.select();}}else{console.error("onKeyPressed: Cannot find the new block node");}}else{if(has("mozilla")){if(_10f.parentNode.parentNode.nodeName=="LI"){_10f=_10f.parentNode.parentNode;}}var fc=_10f.firstChild;if(fc&&fc.nodeType==1&&(fc.nodeName=="UL"||fc.nodeName=="OL")){_10f.insertBefore(fc.ownerDocument.createTextNode(" "),fc);var _112=_10c.create(this.editor.window);_112.setStart(_10f.firstChild,0);var _110=_10c.getSelection(this.editor.window,true);_110.removeAllRanges();_110.addRange(_112);}}}this._checkListLater=false;}if(this._pressedEnterInBlock){if(this._pressedEnterInBlock.previousSibling){this.removeTrailingBr(this._pressedEnterInBlock.previousSibling);}delete this._pressedEnterInBlock;}},bogusHtmlContent:"&#160;",blockNodes:/^(?:P|H1|H2|H3|H4|H5|H6|LI)$/,handleEnterKey:function(e){var _113,_114,_115,_116,_117,_118,doc=this.editor.document,br,rs,txt;if(e.shiftKey){var _119=win.withGlobal(this.editor.window,"getParentElement",_10d);var _11a=_10c.getAncestor(_119,this.blockNodes);if(_11a){if(_11a.tagName=="LI"){return true;}_113=_10c.getSelection(this.editor.window);_114=_113.getRangeAt(0);if(!_114.collapsed){_114.deleteContents();_113=_10c.getSelection(this.editor.window);_114=_113.getRangeAt(0);}if(_10c.atBeginningOfContainer(_11a,_114.startContainer,_114.startOffset)){br=doc.createElement("br");_115=_10c.create(this.editor.window);_11a.insertBefore(br,_11a.firstChild);_115.setStartAfter(br);_113.removeAllRanges();_113.addRange(_115);}else{if(_10c.atEndOfContainer(_11a,_114.startContainer,_114.startOffset)){_115=_10c.create(this.editor.window);br=doc.createElement("br");_11a.appendChild(br);_11a.appendChild(doc.createTextNode(" "));_115.setStart(_11a.lastChild,0);_113.removeAllRanges();_113.addRange(_115);}else{rs=_114.startContainer;if(rs&&rs.nodeType==3){txt=rs.nodeValue;win.withGlobal(this.editor.window,function(){_116=doc.createTextNode(txt.substring(0,_114.startOffset));_117=doc.createTextNode(txt.substring(_114.startOffset));_118=doc.createElement("br");if(_117.nodeValue==""&&has("webkit")){_117=doc.createTextNode(" ");}_107.place(_116,rs,"after");_107.place(_118,_116,"after");_107.place(_117,_118,"after");_107.destroy(rs);_115=_10c.create();_115.setStart(_117,0);_113.removeAllRanges();_113.addRange(_115);});return false;}return true;}}}else{_113=_10c.getSelection(this.editor.window);if(_113.rangeCount){_114=_113.getRangeAt(0);if(_114&&_114.startContainer){if(!_114.collapsed){_114.deleteContents();_113=_10c.getSelection(this.editor.window);_114=_113.getRangeAt(0);}rs=_114.startContainer;if(rs&&rs.nodeType==3){win.withGlobal(this.editor.window,lang.hitch(this,function(){var _11b=false;var _11c=_114.startOffset;if(rs.length<_11c){ret=this._adjustNodeAndOffset(rs,_11c);rs=ret.node;_11c=ret.offset;}txt=rs.nodeValue;_116=doc.createTextNode(txt.substring(0,_11c));_117=doc.createTextNode(txt.substring(_11c));_118=doc.createElement("br");if(!_117.length){_117=doc.createTextNode(" ");_11b=true;}if(_116.length){_107.place(_116,rs,"after");}else{_116=rs;}_107.place(_118,_116,"after");_107.place(_117,_118,"after");_107.destroy(rs);_115=_10c.create();_115.setStart(_117,0);_115.setEnd(_117,_117.length);_113.removeAllRanges();_113.addRange(_115);if(_11b&&!has("webkit")){_10d.remove();}else{_10d.collapse(true);}}));}else{var _11d;if(_114.startOffset>=0){_11d=rs.childNodes[_114.startOffset];}win.withGlobal(this.editor.window,lang.hitch(this,function(){var _11e=doc.createElement("br");var _11f=doc.createTextNode(" ");if(!_11d){rs.appendChild(_11e);rs.appendChild(_11f);}else{_107.place(_11e,_11d,"before");_107.place(_11f,_11e,"after");}_115=_10c.create(win.global);_115.setStart(_11f,0);_115.setEnd(_11f,_11f.length);_113.removeAllRanges();_113.addRange(_115);_10d.collapse(true);}));}}}else{_10b.prototype.execCommand.call(this.editor,"inserthtml","<br>");}}return false;}var _120=true;_113=_10c.getSelection(this.editor.window);_114=_113.getRangeAt(0);if(!_114.collapsed){_114.deleteContents();_113=_10c.getSelection(this.editor.window);_114=_113.getRangeAt(0);}var _121=_10c.getBlockAncestor(_114.endContainer,null,this.editor.editNode);var _122=_121.blockNode;if((this._checkListLater=(_122&&(_122.nodeName=="LI"||_122.parentNode.nodeName=="LI")))){if(has("mozilla")){this._pressedEnterInBlock=_122;}if(/^(\s|&nbsp;|&#160;|\xA0|<span\b[^>]*\bclass=['"]Apple-style-span['"][^>]*>(\s|&nbsp;|&#160;|\xA0)<\/span>)?(<br>)?$/.test(_122.innerHTML)){_122.innerHTML="";if(has("webkit")){_115=_10c.create(this.editor.window);_115.setStart(_122,0);_113.removeAllRanges();_113.addRange(_115);}this._checkListLater=false;}return true;}if(!_121.blockNode||_121.blockNode===this.editor.editNode){try{_10b.prototype.execCommand.call(this.editor,"formatblock",this.blockNodeForEnter);}catch(e2){}_121={blockNode:win.withGlobal(this.editor.window,"getAncestorElement",_10d,[this.blockNodeForEnter]),blockContainer:this.editor.editNode};if(_121.blockNode){if(_121.blockNode!=this.editor.editNode&&(!(_121.blockNode.textContent||_121.blockNode.innerHTML).replace(/^\s+|\s+$/g,"").length)){this.removeTrailingBr(_121.blockNode);return false;}}else{_121.blockNode=this.editor.editNode;}_113=_10c.getSelection(this.editor.window);_114=_113.getRangeAt(0);}var _123=doc.createElement(this.blockNodeForEnter);_123.innerHTML=this.bogusHtmlContent;this.removeTrailingBr(_121.blockNode);var _124=_114.endOffset;var node=_114.endContainer;if(node.length<_124){var ret=this._adjustNodeAndOffset(node,_124);node=ret.node;_124=ret.offset;}if(_10c.atEndOfContainer(_121.blockNode,node,_124)){if(_121.blockNode===_121.blockContainer){_121.blockNode.appendChild(_123);}else{_107.place(_123,_121.blockNode,"after");}_120=false;_115=_10c.create(this.editor.window);_115.setStart(_123,0);_113.removeAllRanges();_113.addRange(_115);if(this.editor.height){_109.scrollIntoView(_123);}}else{if(_10c.atBeginningOfContainer(_121.blockNode,_114.startContainer,_114.startOffset)){_107.place(_123,_121.blockNode,_121.blockNode===_121.blockContainer?"first":"before");if(_123.nextSibling&&this.editor.height){_115=_10c.create(this.editor.window);_115.setStart(_123.nextSibling,0);_113.removeAllRanges();_113.addRange(_115);_109.scrollIntoView(_123.nextSibling);}_120=false;}else{if(_121.blockNode===_121.blockContainer){_121.blockNode.appendChild(_123);}else{_107.place(_123,_121.blockNode,"after");}_120=false;if(_121.blockNode.style){if(_123.style){if(_121.blockNode.style.cssText){_123.style.cssText=_121.blockNode.style.cssText;}}}rs=_114.startContainer;var _125;if(rs&&rs.nodeType==3){var _126,_127;_124=_114.endOffset;if(rs.length<_124){ret=this._adjustNodeAndOffset(rs,_124);rs=ret.node;_124=ret.offset;}txt=rs.nodeValue;_116=doc.createTextNode(txt.substring(0,_124));_117=doc.createTextNode(txt.substring(_124,txt.length));_107.place(_116,rs,"before");_107.place(_117,rs,"after");_107.destroy(rs);var _128=_116.parentNode;while(_128!==_121.blockNode){var tg=_128.tagName;var _129=doc.createElement(tg);if(_128.style){if(_129.style){if(_128.style.cssText){_129.style.cssText=_128.style.cssText;}}}if(_128.tagName==="FONT"){if(_128.color){_129.color=_128.color;}if(_128.face){_129.face=_128.face;}if(_128.size){_129.size=_128.size;}}_126=_117;while(_126){_127=_126.nextSibling;_129.appendChild(_126);_126=_127;}_107.place(_129,_128,"after");_116=_128;_117=_129;_128=_128.parentNode;}_126=_117;if(_126.nodeType==1||(_126.nodeType==3&&_126.nodeValue)){_123.innerHTML="";}_125=_126;while(_126){_127=_126.nextSibling;_123.appendChild(_126);_126=_127;}}_115=_10c.create(this.editor.window);var _12a;var _12b=_125;if(this.blockNodeForEnter!=="BR"){while(_12b){_12a=_12b;_127=_12b.firstChild;_12b=_127;}if(_12a&&_12a.parentNode){_123=_12a.parentNode;_115.setStart(_123,0);_113.removeAllRanges();_113.addRange(_115);if(this.editor.height){_109.scrollIntoView(_123);}if(has("mozilla")){this._pressedEnterInBlock=_121.blockNode;}}else{_120=true;}}else{_115.setStart(_123,0);_113.removeAllRanges();_113.addRange(_115);if(this.editor.height){_109.scrollIntoView(_123);}if(has("mozilla")){this._pressedEnterInBlock=_121.blockNode;}}}}return _120;},_adjustNodeAndOffset:function(node,_12c){while(node.length<_12c&&node.nextSibling&&node.nextSibling.nodeType==3){_12c=_12c-node.length;node=node.nextSibling;}return {"node":node,"offset":_12c};},removeTrailingBr:function(_12d){var para=/P|DIV|LI/i.test(_12d.tagName)?_12d:_10d.getParentOfType(_12d,["P","DIV","LI"]);if(!para){return;}if(para.lastChild){if((para.childNodes.length>1&&para.lastChild.nodeType==3&&/^[\s\xAD]*$/.test(para.lastChild.nodeValue))||para.lastChild.tagName=="BR"){_107.destroy(para.lastChild);}}if(!para.childNodes.length){para.innerHTML=this.bogusHtmlContent;}}});});},"dijit/_MenuBase":function(){define(["./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,_12e,_12f,_130,_131,_132,dom,_133,_134,lang,_135){return _132("dijit._MenuBase",[_12f,_131,_130],{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 _136=this._getTopMenu();if(_136&&_136._isMenuBar){_136.focusNext();}}},_onPopupHover:function(){if(this.currentPopup&&this.currentPopup._pendingClose_timer){var _137=this.currentPopup.parentMenu;if(_137.focusedChild){_137.focusedChild._setSelected(false);}_137.focusedChild=this.currentPopup.from_item;_137.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 _138=item.popup;if(_138){this._stopPendingCloseTimer(_138);_138._pendingClose_timer=setTimeout(function(){_138._pendingClose_timer=null;if(_138.parentMenu){_138.parentMenu.currentPopup=null;}pm.close(_138);},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(_139){if(_139._pendingClose_timer){clearTimeout(_139._pendingClose_timer);_139._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 _13a=this.focusedChild;if(!_13a){return;}var _13b=_13a.popup;if(_13b.isShowingNow){return;}if(this.currentPopup){this._stopPendingCloseTimer(this.currentPopup);pm.close(this.currentPopup);}_13b.parentMenu=this;_13b.from_item=_13a;var self=this;pm.open({parent:this,popup:_13b,around:_13a.domNode,orient:this._orient||["after","before"],onCancel:function(){self.focusChild(_13a);self._cleanUp();_13a._setSelected(true);self.focusedChild=_13a;},onExecute:lang.hitch(this,"_cleanUp")});this.currentPopup=_13b;_13b.connect(_13b.domNode,"onmouseenter",lang.hitch(self,"_onPopupHover"));if(_13b.focus){_13b._focus_timer=setTimeout(lang.hitch(_13b,function(){this._focus_timer=null;this.focus();}),0);}},_markActive:function(){this.isActive=true;_134.replace(this.domNode,"dijitMenuActive","dijitMenuPassive");},onOpen:function(){this.isShowingNow=true;this._markActive();},_markInactive:function(){this.isActive=false;_134.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(_135.indexOf(this._focusManager.activeStack,this.id)>=0){_133.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();}}});});},"dojo/i18n":function(){define(["./_base/kernel","require","./has","./_base/array","./_base/lang","./_base/xhr"],function(dojo,_13c,has,_13d,lang){var _13e=dojo.i18n={},_13f=/(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,_140=function(root,_141,_142,_143){for(var _144=[_142+_143],_145=_141.split("-"),_146="",i=0;i<_145.length;i++){_146+=(_146?"-":"")+_145[i];if(!root||root[_146]){_144.push(_142+_146+"/"+_143);}}return _144;},_147={},_148=dojo.getL10nName=function(_149,_14a,_14b){_14b=_14b?_14b.toLowerCase():dojo.locale;_149="dojo/i18n!"+_149.replace(/\./g,"/");_14a=_14a.replace(/\./g,"/");return (/root/i.test(_14b))?(_149+"/nls/"+_14a):(_149+"/nls/"+_14b+"/"+_14a);},_14c=function(_14d,_14e,_14f,_150,_151,load){_14d([_14e],function(root){var _152=_147[_14e+"/"]=lang.clone(root.root),_153=_140(!root._v1x&&root,_151,_14f,_150);_14d(_153,function(){for(var i=1;i<_153.length;i++){_147[_153[i]]=_152=lang.mixin(lang.clone(_152),arguments[i]);}var _154=_14e+"/"+_151;_147[_154]=_152;load&&load(lang.delegate(_152));});});},_155=function(id,_156){var _157=_13f.exec(id),_158=_157[1];return /^\./.test(_158)?_156(_158)+"/"+id.substring(_158.length):id;};load=function(id,_159,load){var _15a=_13f.exec(id),_15b=_15a[1]+"/",_15c=_15a[5]||_15a[4],_15d=_15b+_15c,_15e=(_15a[5]&&_15a[4]),_15f=_15e||dojo.locale,_160=_15d+"/"+_15f;if(_15e){if(_147[_160]){load(_147[_160]);}else{_14c(_159,_15d,_15b,_15c,_15f,load);}return;}var _161=dojo.config.extraLocale||[];_161=lang.isArray(_161)?_161:[_161];_161.push(_15f);_13d.forEach(_161,function(_162){_14c(_159,_15d,_15b,_15c,_162,_162==_15f&&load);});};true||has.add("dojo-v1x-i18n-Api",1);if(1){var _163=new Function("bundle","var __preAmdResult, __amdResult; function define(bundle){__amdResult= bundle;} __preAmdResult= eval(bundle); return [__preAmdResult, __amdResult];"),_164=function(url,_165,_166){return _165?(/nls\/[^\/]+\/[^\/]+$/.test(url)?_165:{root:_165,_v1x:1}):_166;},_167=function(deps,_168){var _169=[];dojo.forEach(deps,function(mid){var url=_13c.toUrl(mid+".js");if(_147[url]){_169.push(_147[url]);}else{try{var _16a=_13c(mid);if(_16a){_169.push(_16a);return;}}catch(e){}dojo.xhrGet({url:url,sync:true,load:function(text){var _16b=_163(text);_169.push(_147[url]=_164(url,_16b[0],_16b[1]));},error:function(){_169.push(_147[url]={});}});}});_168.apply(null,_169);};_13e.getLocalization=function(_16c,_16d,_16e){var _16f,_170=_148(_16c,_16d,_16e).substring(10);load(_170,(1&&!_13c.isXdUrl(_13c.toUrl(_170+".js"))?_167:_13c),function(_171){_16f=_171;});return _16f;};_13e.normalizeLocale=function(_172){var _173=_172?_172.toLowerCase():dojo.locale;if(_173=="root"){_173="ROOT";}return _173;};}return lang.mixin(_13e,{dynamic:true,normalize:_155,load:load,cache:function(mid,_174){_147[mid]=_174;}});});},"dijit/PopupMenuBarItem":function(){define(["dojo/_base/declare","./PopupMenuItem","./MenuBarItem"],function(_175,_176,_177){var _178=_177._MenuBarItemMixin;return _175("dijit.PopupMenuBarItem",[_176,_178],{});});},"dijit/tree/ForestStoreModel":function(){define("dijit/tree/ForestStoreModel",["dojo/_base/array","dojo/_base/declare","dojo/_base/lang","dojo/_base/window","./TreeStoreModel"],function(_179,_17a,lang,win,_17b){return _17a("dijit.tree.ForestStoreModel",_17b,{rootId:"$root$",rootLabel:"ROOT",query:null,constructor:function(_17c){this.root={store:this,root:true,id:_17c.rootId,label:_17c.rootLabel,children:_17c.rootChildren};},mayHaveChildren:function(item){return item===this.root||this.inherited(arguments);},getChildren:function(_17d,_17e,_17f){if(_17d===this.root){if(this.root.children){_17e(this.root.children);}else{this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_180){this.root.children=_180;_17e(_180);}),onError:_17f});}}else{this.inherited(arguments);}},isItem:function(_181){return (_181===this.root)?true:this.inherited(arguments);},fetchItemByIdentity:function(_182){if(_182.identity==this.root.id){var _183=_182.scope?_182.scope:win.global;if(_182.onItem){_182.onItem.call(_183,this.root);}}else{this.inherited(arguments);}},getIdentity:function(item){return (item===this.root)?this.root.id:this.inherited(arguments);},getLabel:function(item){return (item===this.root)?this.root.label:this.inherited(arguments);},newItem:function(args,_184,_185){if(_184===this.root){this.onNewRootItem(args);return this.store.newItem(args);}else{return this.inherited(arguments);}},onNewRootItem:function(){},pasteItem:function(_186,_187,_188,_189,_18a){if(_187===this.root){if(!_189){this.onLeaveRoot(_186);}}this.inherited(arguments,[_186,_187===this.root?null:_187,_188===this.root?null:_188,_189,_18a]);if(_188===this.root){this.onAddToRoot(_186);}},onAddToRoot:function(item){},onLeaveRoot:function(item){},_requeryTop:function(){var _18b=this.root.children||[];this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_18c){this.root.children=_18c;if(_18b.length!=_18c.length||_179.some(_18b,function(item,idx){return _18c[idx]!=item;})){this.onChildrenChange(this.root,_18c);}})});},onNewItem:function(item,_18d){this._requeryTop();this.inherited(arguments);},onDeleteItem:function(item){if(_179.indexOf(this.root.children,item)!=-1){this._requeryTop();}this.inherited(arguments);},onSetItem:function(item,_18e,_18f,_190){this._requeryTop();this.inherited(arguments);}});});},"url:dijit/layout/templates/AccordionButton.html":"<div data-dojo-attach-event='onclick:_onTitleClick' class='dijitAccordionTitle' role=\"presentation\">\n\t<div data-dojo-attach-point='titleNode,focusNode' data-dojo-attach-event='onkeypress:_onTitleKeyPress'\n\t\t\tclass='dijitAccordionTitleFocus' role=\"tab\" aria-expanded=\"false\"\n\t\t><span class='dijitInline dijitAccordionArrow' role=\"presentation\"></span\n\t\t><span class='arrowTextUp' role=\"presentation\">+</span\n\t\t><span class='arrowTextDown' role=\"presentation\">-</span\n\t\t><img src=\"${_blankGif}\" alt=\"\" class=\"dijitIcon\" data-dojo-attach-point='iconNode' style=\"vertical-align: middle\" role=\"presentation\"/>\n\t\t<span role=\"presentation\" data-dojo-attach-point='titleTextNode' class='dijitAccordionText'></span>\n\t</div>\n</div>\n","dijit/TitlePane":function(){define(["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(_191,_192,dom,_193,_194,_195,_196,_197,_198,keys,_199,_19a,_19b,_19c,_19d){return _192("dijit.TitlePane",[_19b,_19a,_199],{title:"",_setTitleAttr:{node:"titleNode",type:"innerHTML"},open:true,toggleable:true,tabIndex:"0",duration:_19d.defaultDuration,baseClass:"dijitTitlePane",templateString:_19c,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 _19e=this.hideNode,_19f=this.wipeNode;this._wipeIn=_197.wipeIn({node:_19f,duration:this.duration,beforeBegin:function(){_19e.style.display="";}});this._wipeOut=_197.wipeOut({node:_19f,duration:this.duration,onEnd:function(){_19e.style.display="none";}});},_setOpenAttr:function(open,_1a0){_191.forEach([this._wipeIn,this._wipeOut],function(_1a1){if(_1a1&&_1a1.status()=="playing"){_1a1.stop();}});if(_1a0){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(_1a2){this.focusNode.setAttribute("role",_1a2?"button":"heading");if(_1a2){this.focusNode.setAttribute("aria-controls",this.id+"_pane");_193.set(this.focusNode,"tabIndex",this.tabIndex);}else{_193.remove(this.focusNode,"tabIndex");}this._set("toggleable",_1a2);this._setCss();},_setContentAttr:function(_1a3){if(!this.open||!this._wipeOut||this._wipeOut.status()=="playing"){this.inherited(arguments);}else{if(this._wipeIn&&this._wipeIn.status()=="playing"){this._wipeIn.stop();}_195.setMarginBox(this.wipeNode,{h:_195.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 _1a4=this._titleBarClass;this._titleBarClass="dijit"+(this.toggleable?"":"Fixed")+(this.open?"Open":"Closed");_194.replace(node,this._titleBarClass,_1a4||"");this.arrowNodeInner.innerHTML=this.open?"-":"+";},_onTitleKey:function(e){if(e.charOrCode==keys.ENTER||e.charOrCode==" "){if(this.toggleable){this.toggle();}_196.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(_1a5){_198.deprecated("dijit.TitlePane.setTitle() is deprecated.  Use set('title', ...) instead.","","2.0");this.set("title",_1a5);}});});},"dijit/form/_ComboBoxMenuMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/i18n","dojo/_base/window","dojo/i18n!./nls/ComboBox"],function(_1a6,_1a7,_1a8,i18n,win){return _1a7("dijit.form._ComboBoxMenuMixin",null,{_messages:null,postMixInProperties:function(){this.inherited(arguments);this._messages=i18n.getLocalization("dijit.form","ComboBox",this.lang);},buildRendering:function(){this.inherited(arguments);this.previousButton.innerHTML=this._messages["previousMessage"];this.nextButton.innerHTML=this._messages["nextMessage"];},_setValueAttr:function(_1a9){this.value=_1a9;this.onChange(_1a9);},onClick:function(node){if(node==this.previousButton){this._setSelectedAttr(null);this.onPage(-1);}else{if(node==this.nextButton){this._setSelectedAttr(null);this.onPage(1);}else{this.onChange(node);}}},onChange:function(){},onPage:function(){},onClose:function(){this._setSelectedAttr(null);},_createOption:function(item,_1aa){var _1ab=this._createMenuItem();var _1ac=_1aa(item);if(_1ac.html){_1ab.innerHTML=_1ac.label;}else{_1ab.appendChild(win.doc.createTextNode(_1ac.label));}if(_1ab.innerHTML==""){_1ab.innerHTML="&#160;";}this.applyTextDir(_1ab,(_1ab.innerText||_1ab.textContent||""));_1ab.item=item;return _1ab;},createOptions:function(_1ad,_1ae,_1af){this.previousButton.style.display=(_1ae.start==0)?"none":"";_1a8.set(this.previousButton,"id",this.id+"_prev");_1a6.forEach(_1ad,function(item,i){var _1b0=this._createOption(item,_1af);_1a8.set(_1b0,"id",this.id+i);this.nextButton.parentNode.insertBefore(_1b0,this.nextButton);},this);var _1b1=false;if(_1ad.total&&!_1ad.total.then&&_1ad.total!=-1){if((_1ae.start+_1ae.count)<_1ad.total){_1b1=true;}else{if((_1ae.start+_1ae.count)>_1ad.total&&_1ae.count==_1ad.length){_1b1=true;}}}else{if(_1ae.count==_1ad.length){_1b1=true;}}this.nextButton.style.display=_1b1?"":"none";_1a8.set(this.nextButton,"id",this.id+"_next");return this.containerNode.childNodes;},clearResultList:function(){var _1b2=this.containerNode;while(_1b2.childNodes.length>2){_1b2.removeChild(_1b2.childNodes[_1b2.childNodes.length-2]);}this._setSelectedAttr(null);},highlightFirstOption:function(){this.selectFirstNode();},highlightLastOption:function(){this.selectLastNode();},selectFirstNode:function(){this.inherited(arguments);if(this.getHighlightedOption()==this.previousButton){this.selectNextNode();}},selectLastNode:function(){this.inherited(arguments);if(this.getHighlightedOption()==this.nextButton){this.selectPreviousNode();}},getHighlightedOption:function(){return this._getSelectedAttr();}});});},"url:dijit/form/templates/DropDownButton.html":"<span class=\"dijit dijitReset dijitInline\"\n\t><span class='dijitReset dijitInline dijitButtonNode'\n\t\tdata-dojo-attach-event=\"ondijitclick:_onClick\" data-dojo-attach-point=\"_buttonNode\"\n\t\t><span class=\"dijitReset dijitStretch dijitButtonContents\"\n\t\t\tdata-dojo-attach-point=\"focusNode,titleNode,_arrowWrapperNode\"\n\t\t\trole=\"button\" aria-haspopup=\"true\" aria-labelledby=\"${id}_label\"\n\t\t\t><span class=\"dijitReset dijitInline dijitIcon\"\n\t\t\t\tdata-dojo-attach-point=\"iconNode\"\n\t\t\t></span\n\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\"\n\t\t\t\tdata-dojo-attach-point=\"containerNode,_popupStateNode\"\n\t\t\t\tid=\"${id}_label\"\n\t\t\t></span\n\t\t\t><span class=\"dijitReset dijitInline dijitArrowButtonInner\"></span\n\t\t\t><span class=\"dijitReset dijitInline dijitArrowButtonChar\">&#9660;</span\n\t\t></span\n\t></span\n\t><input ${!nameAttrSetting} type=\"${type}\" value=\"${value}\" class=\"dijitOffScreen\" tabIndex=\"-1\"\n\t\tdata-dojo-attach-point=\"valueNode\"\n/></span>\n","dijit/form/ToggleButton":function(){define("dijit/form/ToggleButton",["dojo/_base/declare","dojo/_base/kernel","./Button","./_ToggleButtonMixin"],function(_1b3,_1b4,_1b5,_1b6){return _1b3("dijit.form.ToggleButton",[_1b5,_1b6],{baseClass:"dijitToggleButton",setChecked:function(_1b7){_1b4.deprecated("setChecked("+_1b7+") is deprecated. Use set('checked',"+_1b7+") instead.","","2.0");this.set("checked",_1b7);}});});},"dijit/form/NumberSpinner":function(){define(["dojo/_base/declare","dojo/_base/event","dojo/keys","./_Spinner","./NumberTextBox"],function(_1b8,_1b9,keys,_1ba,_1bb){return _1b8("dijit.form.NumberSpinner",[_1ba,_1bb.Mixin],{adjust:function(val,_1bc){var tc=this.constraints,v=isNaN(val),_1bd=!isNaN(tc.max),_1be=!isNaN(tc.min);if(v&&_1bc!=0){val=(_1bc>0)?_1be?tc.min:_1bd?tc.max:0:_1bd?this.constraints.max:_1be?tc.min:0;}var _1bf=val+_1bc;if(v||isNaN(_1bf)){return val;}if(_1bd&&(_1bf>tc.max)){_1bf=tc.max;}if(_1be&&(_1bf<tc.min)){_1bf=tc.min;}return _1bf;},_onKeyPress:function(e){if((e.charOrCode==keys.HOME||e.charOrCode==keys.END)&&!(e.ctrlKey||e.altKey||e.metaKey)&&typeof this.get("value")!="undefined"){var _1c0=this.constraints[(e.charOrCode==keys.HOME?"min":"max")];if(typeof _1c0=="number"){this._setValueAttr(_1c0,false);}_1b9.stop(e);}}});});},"dijit/form/Textarea":function(){define(["dojo/_base/declare","dojo/dom-style","./_ExpandingTextAreaMixin","./SimpleTextarea"],function(_1c1,_1c2,_1c3,_1c4){return _1c1("dijit.form.Textarea",[_1c4,_1c3],{baseClass:"dijitTextBox dijitTextArea dijitExpandingTextArea",cols:"",buildRendering:function(){this.inherited(arguments);_1c2.set(this.textbox,{overflowY:"hidden",overflowX:"auto",boxSizing:"border-box",MsBoxSizing:"border-box",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box"});}});});},"dijit/form/DateTextBox":function(){define(["dojo/_base/declare","../Calendar","./_DateTimeTextBox"],function(_1c5,_1c6,_1c7){return _1c5("dijit.form.DateTextBox",_1c7,{baseClass:"dijitTextBox dijitComboBox dijitDateTextBox",popupClass:_1c6,_selector:"date",value:new Date("")});});},"dijit/form/ComboButton":function(){define(["dojo/_base/declare","dojo/_base/event","dojo/keys","../focus","./DropDownButton","dojo/text!./templates/ComboButton.html"],function(_1c8,_1c9,keys,_1ca,_1cb,_1cc){return _1c8("dijit.form.ComboButton",_1cb,{templateString:_1cc,_setIdAttr:"",_setTabIndexAttr:["focusNode","titleNode"],_setTitleAttr:"titleNode",optionsTitle:"",baseClass:"dijitComboButton",cssStateNodes:{"buttonNode":"dijitButtonNode","titleNode":"dijitButtonContents","_popupStateNode":"dijitDownArrowButton"},_focusedNode:null,_onButtonKeyPress:function(evt){if(evt.charOrCode==keys[this.isLeftToRight()?"RIGHT_ARROW":"LEFT_ARROW"]){_1ca.focus(this._popupStateNode);_1c9.stop(evt);}},_onArrowKeyPress:function(evt){if(evt.charOrCode==keys[this.isLeftToRight()?"LEFT_ARROW":"RIGHT_ARROW"]){_1ca.focus(this.titleNode);_1c9.stop(evt);}},focus:function(_1cd){if(!this.disabled){_1ca.focus(_1cd=="start"?this.titleNode:this._popupStateNode);}}});});},"dijit/layout/AccordionContainer":function(){require({cache:{"url:dijit/layout/templates/AccordionButton.html":"<div data-dojo-attach-event='onclick:_onTitleClick' class='dijitAccordionTitle' role=\"presentation\">\n\t<div data-dojo-attach-point='titleNode,focusNode' data-dojo-attach-event='onkeypress:_onTitleKeyPress'\n\t\t\tclass='dijitAccordionTitleFocus' role=\"tab\" aria-expanded=\"false\"\n\t\t><span class='dijitInline dijitAccordionArrow' role=\"presentation\"></span\n\t\t><span class='arrowTextUp' role=\"presentation\">+</span\n\t\t><span class='arrowTextDown' role=\"presentation\">-</span\n\t\t><img src=\"${_blankGif}\" alt=\"\" class=\"dijitIcon\" data-dojo-attach-point='iconNode' style=\"vertical-align: middle\" role=\"presentation\"/>\n\t\t<span role=\"presentation\" data-dojo-attach-point='titleTextNode' class='dijitAccordionText'></span>\n\t</div>\n</div>\n"}});define("dijit/layout/AccordionContainer",["require","dojo/_base/array","dojo/_base/declare","dojo/_base/event","dojo/_base/fx","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/_base/sniff","dojo/topic","../focus","../_base/manager","dojo/ready","../_Widget","../_Container","../_TemplatedMixin","../_CssStateMixin","./StackContainer","./ContentPane","dojo/text!./templates/AccordionButton.html"],function(_1ce,_1cf,_1d0,_1d1,fx,dom,_1d2,_1d3,_1d4,_1d5,_1d6,keys,lang,has,_1d7,_1d8,_1d9,_1da,_1db,_1dc,_1dd,_1de,_1df,_1e0,_1e1){var _1e2=_1d0("dijit.layout._AccordionButton",[_1db,_1dd,_1de],{templateString:_1e1,label:"",_setLabelAttr:{node:"titleTextNode",type:"innerHTML"},title:"",_setTitleAttr:{node:"titleTextNode",type:"attribute",attribute:"title"},iconClassAttr:"",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitAccordionTitle",getParent:function(){return this.parent;},buildRendering:function(){this.inherited(arguments);var _1e3=this.id.replace(" ","_");_1d2.set(this.titleTextNode,"id",_1e3+"_title");this.focusNode.setAttribute("aria-labelledby",_1d2.get(this.titleTextNode,"id"));dom.setSelectable(this.domNode,false);},getTitleHeight:function(){return _1d5.getMarginSize(this.domNode).h;},_onTitleClick:function(){var _1e4=this.getParent();_1e4.selectChild(this.contentWidget,true);_1d8.focus(this.focusNode);},_onTitleKeyPress:function(evt){return this.getParent()._onKeyPress(evt,this.contentWidget);},_setSelectedAttr:function(_1e5){this._set("selected",_1e5);this.focusNode.setAttribute("aria-expanded",_1e5);this.focusNode.setAttribute("aria-selected",_1e5);this.focusNode.setAttribute("tabIndex",_1e5?"0":"-1");}});var _1e6=_1d0("dijit.layout._AccordionInnerContainer",[_1db,_1de],{baseClass:"dijitAccordionInnerContainer",isLayoutContainer:true,buildRendering:function(){this.domNode=_1d4.place("<div class='"+this.baseClass+"' role='presentation'>",this.contentWidget.domNode,"after");var _1e7=this.contentWidget,cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;this.button=_1e7._buttonWidget=(new cls({contentWidget:_1e7,label:_1e7.title,title:_1e7.tooltip,dir:_1e7.dir,lang:_1e7.lang,textDir:_1e7.textDir,iconClass:_1e7.iconClass,id:_1e7.id+"_button",parent:this.parent})).placeAt(this.domNode);this.containerNode=_1d4.place("<div class='dijitAccordionChildWrapper' style='display:none'>",this.domNode);_1d4.place(this.contentWidget.domNode,this.containerNode);},postCreate:function(){this.inherited(arguments);var _1e8=this.button;this._contentWidgetWatches=[this.contentWidget.watch("title",lang.hitch(this,function(name,_1e9,_1ea){_1e8.set("label",_1ea);})),this.contentWidget.watch("tooltip",lang.hitch(this,function(name,_1eb,_1ec){_1e8.set("title",_1ec);})),this.contentWidget.watch("iconClass",lang.hitch(this,function(name,_1ed,_1ee){_1e8.set("iconClass",_1ee);}))];},_setSelectedAttr:function(_1ef){this._set("selected",_1ef);this.button.set("selected",_1ef);if(_1ef){var cw=this.contentWidget;if(cw.onSelected){cw.onSelected();}}},startup:function(){this.contentWidget.startup();},destroy:function(){this.button.destroyRecursive();_1cf.forEach(this._contentWidgetWatches||[],function(w){w.unwatch();});delete this.contentWidget._buttonWidget;delete this.contentWidget._wrapperWidget;this.inherited(arguments);},destroyDescendants:function(_1f0){this.contentWidget.destroyRecursive(_1f0);}});var _1f1=_1d0("dijit.layout.AccordionContainer",_1df,{duration:_1d9.defaultDuration,buttonWidget:_1e2,baseClass:"dijitAccordionContainer",buildRendering:function(){this.inherited(arguments);this.domNode.style.overflow="hidden";this.domNode.setAttribute("role","tablist");},startup:function(){if(this._started){return;}this.inherited(arguments);if(this.selectedChildWidget){var _1f2=this.selectedChildWidget.containerNode.style;_1f2.display="";_1f2.overflow="auto";this.selectedChildWidget._wrapperWidget.set("selected",true);}},layout:function(){var _1f3=this.selectedChildWidget;if(!_1f3){return;}var _1f4=_1f3._wrapperWidget.domNode,_1f5=_1d5.getMarginExtents(_1f4),_1f6=_1d5.getPadBorderExtents(_1f4),_1f7=_1f3._wrapperWidget.containerNode,_1f8=_1d5.getMarginExtents(_1f7),_1f9=_1d5.getPadBorderExtents(_1f7),_1fa=this._contentBox;var _1fb=0;_1cf.forEach(this.getChildren(),function(_1fc){if(_1fc!=_1f3){_1fb+=_1d5.getMarginSize(_1fc._wrapperWidget.domNode).h;}});this._verticalSpace=_1fa.h-_1fb-_1f5.h-_1f6.h-_1f8.h-_1f9.h-_1f3._buttonWidget.getTitleHeight();this._containerContentBox={h:this._verticalSpace,w:this._contentBox.w-_1f5.w-_1f6.w-_1f8.w-_1f9.w};if(_1f3){_1f3.resize(this._containerContentBox);}},_setupChild:function(_1fd){_1fd._wrapperWidget=_1e6({contentWidget:_1fd,buttonWidget:this.buttonWidget,id:_1fd.id+"_wrapper",dir:_1fd.dir,lang:_1fd.lang,textDir:_1fd.textDir,parent:this});this.inherited(arguments);},addChild:function(_1fe,_1ff){if(this._started){var _200=this.containerNode;if(_1ff&&typeof _1ff=="number"){var _201=_1db.prototype.getChildren.call(this);if(_201&&_201.length>=_1ff){_200=_201[_1ff-1].domNode;_1ff="after";}}_1d4.place(_1fe.domNode,_200,_1ff);if(!_1fe._started){_1fe.startup();}this._setupChild(_1fe);_1d7.publish(this.id+"-addChild",_1fe,_1ff);this.layout();if(!this.selectedChildWidget){this.selectChild(_1fe);}}else{this.inherited(arguments);}},removeChild:function(_202){if(_202._wrapperWidget){_1d4.place(_202.domNode,_202._wrapperWidget.domNode,"after");_202._wrapperWidget.destroy();delete _202._wrapperWidget;}_1d3.remove(_202.domNode,"dijitHidden");this.inherited(arguments);},getChildren:function(){return _1cf.map(this.inherited(arguments),function(_203){return _203.declaredClass=="dijit.layout._AccordionInnerContainer"?_203.contentWidget:_203;},this);},destroy:function(){if(this._animation){this._animation.stop();}_1cf.forEach(this.getChildren(),function(_204){if(_204._wrapperWidget){_204._wrapperWidget.destroy();}else{_204.destroyRecursive();}});this.inherited(arguments);},_showChild:function(_205){_205._wrapperWidget.containerNode.style.display="block";return this.inherited(arguments);},_hideChild:function(_206){_206._wrapperWidget.containerNode.style.display="none";this.inherited(arguments);},_transition:function(_207,_208,_209){if(has("ie")<8){_209=false;}if(this._animation){this._animation.stop(true);delete this._animation;}var self=this;if(_207){_207._wrapperWidget.set("selected",true);var d=this._showChild(_207);if(this.doLayout&&_207.resize){_207.resize(this._containerContentBox);}}if(_208){_208._wrapperWidget.set("selected",false);if(!_209){this._hideChild(_208);}}if(_209){var _20a=_207._wrapperWidget.containerNode,_20b=_208._wrapperWidget.containerNode;var _20c=_207._wrapperWidget.containerNode,_20d=_1d5.getMarginExtents(_20c),_20e=_1d5.getPadBorderExtents(_20c),_20f=_20d.h+_20e.h;_20b.style.height=(self._verticalSpace-_20f)+"px";this._animation=new fx.Animation({node:_20a,duration:this.duration,curve:[1,this._verticalSpace-_20f-1],onAnimate:function(_210){_210=Math.floor(_210);_20a.style.height=_210+"px";_20b.style.height=(self._verticalSpace-_20f-_210)+"px";},onEnd:function(){delete self._animation;_20a.style.height="auto";_208._wrapperWidget.containerNode.style.display="none";_20b.style.height="auto";self._hideChild(_208);}});this._animation.onStop=this._animation.onEnd;this._animation.play();}return d;},_onKeyPress:function(e,_211){if(this.disabled||e.altKey||!(_211||e.ctrlKey)){return;}var c=e.charOrCode;if((_211&&(c==keys.LEFT_ARROW||c==keys.UP_ARROW))||(e.ctrlKey&&c==keys.PAGE_UP)){this._adjacent(false)._buttonWidget._onTitleClick();_1d1.stop(e);}else{if((_211&&(c==keys.RIGHT_ARROW||c==keys.DOWN_ARROW))||(e.ctrlKey&&(c==keys.PAGE_DOWN||c==keys.TAB))){this._adjacent(true)._buttonWidget._onTitleClick();_1d1.stop(e);}}}});if(!_1d6.isAsync){_1da(0,function(){var _212=["dijit/layout/AccordionPane"];_1ce(_212);});}_1f1._InnerContainer=_1e6;_1f1._Button=_1e2;return _1f1;});},"dijit/layout/SplitContainer":function(){define("dijit/layout/SplitContainer",["dojo/_base/array","dojo/cookie","dojo/_base/declare","dojo/dom","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/_base/event","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/_base/sniff","dojo/_base/window","../registry","../_WidgetBase","./_LayoutWidget"],function(_213,_214,_215,dom,_216,_217,_218,_219,_21a,_21b,lang,on,has,win,_21c,_21d,_21e){lang.extend(_21d,{sizeMin:10,sizeShare:10});return _215("dijit.layout.SplitContainer",_21e,{constructor:function(){_21b.deprecated("dijit.layout.SplitContainer is deprecated","use BorderContainer with splitter instead",2);},activeSizing:false,sizerWidth:7,orientation:"horizontal",persist:true,baseClass:"dijitSplitContainer",postMixInProperties:function(){this.inherited("postMixInProperties",arguments);this.isHorizontal=(this.orientation=="horizontal");},postCreate:function(){this.inherited(arguments);this.sizers=[];if(has("mozilla")){this.domNode.style.overflow="-moz-scrollbars-none";}if(typeof this.sizerWidth=="object"){try{this.sizerWidth=parseInt(this.sizerWidth.toString());}catch(e){this.sizerWidth=7;}}var _21f=win.doc.createElement("div");this.virtualSizer=_21f;_21f.style.position="relative";_21f.style.zIndex=10;_21f.className=this.isHorizontal?"dijitSplitContainerVirtualSizerH":"dijitSplitContainerVirtualSizerV";this.domNode.appendChild(_21f);dom.setSelectable(_21f,false);},destroy:function(){delete this.virtualSizer;if(this._ownconnects){var h;while(h=this._ownconnects.pop()){h.remove();}}this.inherited(arguments);},startup:function(){if(this._started){return;}_213.forEach(this.getChildren(),function(_220,i,_221){this._setupChild(_220);if(i<_221.length-1){this._addSizer();}},this);if(this.persist){this._restoreState();}this.inherited(arguments);},_setupChild:function(_222){this.inherited(arguments);_222.domNode.style.position="absolute";_216.add(_222.domNode,"dijitSplitPane");},_onSizerMouseDown:function(e){if(e.target.id){for(var i=0;i<this.sizers.length;i++){if(this.sizers[i].id==e.target.id){break;}}if(i<this.sizers.length){this.beginSizing(e,i);}}},_addSizer:function(_223){_223=_223===undefined?this.sizers.length:_223;var _224=win.doc.createElement("div");_224.id=_21c.getUniqueId("dijit_layout_SplitterContainer_Splitter");this.sizers.splice(_223,0,_224);this.domNode.appendChild(_224);_224.className=this.isHorizontal?"dijitSplitContainerSizerH":"dijitSplitContainerSizerV";var _225=win.doc.createElement("div");_225.className="thumb";_224.appendChild(_225);this.connect(_224,"onmousedown","_onSizerMouseDown");dom.setSelectable(_224,false);},removeChild:function(_226){if(this.sizers.length){var i=_213.indexOf(this.getChildren(),_226);if(i!=-1){if(i==this.sizers.length){i--;}_217.destroy(this.sizers[i]);this.sizers.splice(i,1);}}this.inherited(arguments);if(this._started){this.layout();}},addChild:function(_227,_228){this.inherited(arguments);if(this._started){var _229=this.getChildren();if(_229.length>1){this._addSizer(_228);}this.layout();}},layout:function(){this.paneWidth=this._contentBox.w;this.paneHeight=this._contentBox.h;var _22a=this.getChildren();if(!_22a.length){return;}var _22b=this.isHorizontal?this.paneWidth:this.paneHeight;if(_22a.length>1){_22b-=this.sizerWidth*(_22a.length-1);}var _22c=0;_213.forEach(_22a,function(_22d){_22c+=_22d.sizeShare;});var _22e=_22b/_22c;var _22f=0;_213.forEach(_22a.slice(0,_22a.length-1),function(_230){var size=Math.round(_22e*_230.sizeShare);_230.sizeActual=size;_22f+=size;});_22a[_22a.length-1].sizeActual=_22b-_22f;this._checkSizes();var pos=0;var size=_22a[0].sizeActual;this._movePanel(_22a[0],pos,size);_22a[0].position=pos;pos+=size;if(!this.sizers){return;}_213.some(_22a.slice(1),function(_231,i){if(!this.sizers[i]){return true;}this._moveSlider(this.sizers[i],pos,this.sizerWidth);this.sizers[i].position=pos;pos+=this.sizerWidth;size=_231.sizeActual;this._movePanel(_231,pos,size);_231.position=pos;pos+=size;},this);},_movePanel:function(_232,pos,size){var box;if(this.isHorizontal){_232.domNode.style.left=pos+"px";_232.domNode.style.top=0;box={w:size,h:this.paneHeight};if(_232.resize){_232.resize(box);}else{_218.setMarginBox(_232.domNode,box);}}else{_232.domNode.style.left=0;_232.domNode.style.top=pos+"px";box={w:this.paneWidth,h:size};if(_232.resize){_232.resize(box);}else{_218.setMarginBox(_232.domNode,box);}}},_moveSlider:function(_233,pos,size){if(this.isHorizontal){_233.style.left=pos+"px";_233.style.top=0;_218.setMarginBox(_233,{w:size,h:this.paneHeight});}else{_233.style.left=0;_233.style.top=pos+"px";_218.setMarginBox(_233,{w:this.paneWidth,h:size});}},_growPane:function(_234,pane){if(_234>0){if(pane.sizeActual>pane.sizeMin){if((pane.sizeActual-pane.sizeMin)>_234){pane.sizeActual=pane.sizeActual-_234;_234=0;}else{_234-=pane.sizeActual-pane.sizeMin;pane.sizeActual=pane.sizeMin;}}}return _234;},_checkSizes:function(){var _235=0;var _236=0;var _237=this.getChildren();_213.forEach(_237,function(_238){_236+=_238.sizeActual;_235+=_238.sizeMin;});if(_235<=_236){var _239=0;_213.forEach(_237,function(_23a){if(_23a.sizeActual<_23a.sizeMin){_239+=_23a.sizeMin-_23a.sizeActual;_23a.sizeActual=_23a.sizeMin;}});if(_239>0){var list=this.isDraggingLeft?_237.reverse():_237;_213.forEach(list,function(_23b){_239=this._growPane(_239,_23b);},this);}}else{_213.forEach(_237,function(_23c){_23c.sizeActual=Math.round(_236*(_23c.sizeMin/_235));});}},beginSizing:function(e,i){var _23d=this.getChildren();this.paneBefore=_23d[i];this.paneAfter=_23d[i+1];this.isSizing=true;this.sizingSplitter=this.sizers[i];if(!this.cover){this.cover=_217.create("div",{style:{position:"absolute",zIndex:5,top:0,left:0,width:"100%",height:"100%"}},this.domNode);}else{this.cover.style.zIndex=5;}this.sizingSplitter.style.zIndex=6;this.originPos=_218.position(_23d[0].domNode,true);var _23e,_23f;if(this.isHorizontal){_23e=e.layerX||e.offsetX||0;_23f=e.pageX;this.originPos=this.originPos.x;}else{_23e=e.layerY||e.offsetY||0;_23f=e.pageY;this.originPos=this.originPos.y;}this.startPoint=this.lastPoint=_23f;this.screenToClientOffset=_23f-_23e;this.dragOffset=this.lastPoint-this.paneBefore.sizeActual-this.originPos-this.paneBefore.position;if(!this.activeSizing){this._showSizingLine();}this._ownconnects=[on(win.doc.documentElement,"mousemove",lang.hitch(this,"changeSizing")),on(win.doc.documentElement,"mouseup",lang.hitch(this,"endSizing"))];_21a.stop(e);},changeSizing:function(e){if(!this.isSizing){return;}this.lastPoint=this.isHorizontal?e.pageX:e.pageY;this.movePoint();if(this.activeSizing){this._updateSize();}else{this._moveSizingLine();}_21a.stop(e);},endSizing:function(){if(!this.isSizing){return;}if(this.cover){this.cover.style.zIndex=-1;}if(!this.activeSizing){this._hideSizingLine();}this._updateSize();this.isSizing=false;if(this.persist){this._saveState(this);}var h;while(h=this._ownconnects.pop()){h.remove();}},movePoint:function(){var p=this.lastPoint-this.screenToClientOffset;var a=p-this.dragOffset;a=this.legaliseSplitPoint(a);p=a+this.dragOffset;this.lastPoint=p+this.screenToClientOffset;},legaliseSplitPoint:function(a){a+=this.sizingSplitter.position;this.isDraggingLeft=!!(a>0);if(!this.activeSizing){var min=this.paneBefore.position+this.paneBefore.sizeMin;if(a<min){a=min;}var max=this.paneAfter.position+(this.paneAfter.sizeActual-(this.sizerWidth+this.paneAfter.sizeMin));if(a>max){a=max;}}a-=this.sizingSplitter.position;this._checkSizes();return a;},_updateSize:function(){var pos=this.lastPoint-this.dragOffset-this.originPos;var _240=this.paneBefore.position;var _241=this.paneAfter.position+this.paneAfter.sizeActual;this.paneBefore.sizeActual=pos-_240;this.paneAfter.position=pos+this.sizerWidth;this.paneAfter.sizeActual=_241-this.paneAfter.position;_213.forEach(this.getChildren(),function(_242){_242.sizeShare=_242.sizeActual;});if(this._started){this.layout();}},_showSizingLine:function(){this._moveSizingLine();_218.setMarginBox(this.virtualSizer,this.isHorizontal?{w:this.sizerWidth,h:this.paneHeight}:{w:this.paneWidth,h:this.sizerWidth});this.virtualSizer.style.display="block";},_hideSizingLine:function(){this.virtualSizer.style.display="none";},_moveSizingLine:function(){var pos=(this.lastPoint-this.startPoint)+this.sizingSplitter.position;_219.set(this.virtualSizer,(this.isHorizontal?"left":"top"),pos+"px");},_getCookieName:function(i){return this.id+"_"+i;},_restoreState:function(){_213.forEach(this.getChildren(),function(_243,i){var _244=this._getCookieName(i);var _245=_214(_244);if(_245){var pos=parseInt(_245);if(typeof pos=="number"){_243.sizeShare=pos;}}},this);},_saveState:function(){if(!this.persist){return;}_213.forEach(this.getChildren(),function(_246,i){_214(this._getCookieName(i),_246.sizeShare,{expires:365});},this);}});});},"url:dijit/templates/Calendar.html":"<table cellspacing=\"0\" cellpadding=\"0\" class=\"dijitCalendarContainer\" role=\"grid\" aria-labelledby=\"${id}_mddb ${id}_year\">\n\t<thead>\n\t\t<tr class=\"dijitReset dijitCalendarMonthContainer\" valign=\"top\">\n\t\t\t<th class='dijitReset dijitCalendarArrow' data-dojo-attach-point=\"decrementMonth\">\n\t\t\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitCalendarIncrementControl dijitCalendarDecrease\" role=\"presentation\"/>\n\t\t\t\t<span data-dojo-attach-point=\"decreaseArrowNode\" class=\"dijitA11ySideArrow\">-</span>\n\t\t\t</th>\n\t\t\t<th class='dijitReset' colspan=\"5\">\n\t\t\t\t<div data-dojo-attach-point=\"monthNode\">\n\t\t\t\t</div>\n\t\t\t</th>\n\t\t\t<th class='dijitReset dijitCalendarArrow' data-dojo-attach-point=\"incrementMonth\">\n\t\t\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitCalendarIncrementControl dijitCalendarIncrease\" role=\"presentation\"/>\n\t\t\t\t<span data-dojo-attach-point=\"increaseArrowNode\" class=\"dijitA11ySideArrow\">+</span>\n\t\t\t</th>\n\t\t</tr>\n\t\t<tr>\n\t\t\t${!dayCellsHtml}\n\t\t</tr>\n\t</thead>\n\t<tbody data-dojo-attach-point=\"dateRowsNode\" data-dojo-attach-event=\"onclick: _onDayClick\" class=\"dijitReset dijitCalendarBodyContainer\">\n\t\t\t${!dateRowsHtml}\n\t</tbody>\n\t<tfoot class=\"dijitReset dijitCalendarYearContainer\">\n\t\t<tr>\n\t\t\t<td class='dijitReset' valign=\"top\" colspan=\"7\" role=\"presentation\">\n\t\t\t\t<div class=\"dijitCalendarYearLabel\">\n\t\t\t\t\t<span data-dojo-attach-point=\"previousYearLabelNode\" class=\"dijitInline dijitCalendarPreviousYear\" role=\"button\"></span>\n\t\t\t\t\t<span data-dojo-attach-point=\"currentYearLabelNode\" class=\"dijitInline dijitCalendarSelectedYear\" role=\"button\" id=\"${id}_year\"></span>\n\t\t\t\t\t<span data-dojo-attach-point=\"nextYearLabelNode\" class=\"dijitInline dijitCalendarNextYear\" role=\"button\"></span>\n\t\t\t\t</div>\n\t\t\t</td>\n\t\t</tr>\n\t</tfoot>\n</table>\n","dijit/form/_AutoCompleterMixin":function(){define(["dojo/_base/connect","dojo/data/util/filter","dojo/_base/declare","dojo/_base/Deferred","dojo/dom-attr","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/query","dojo/regexp","dojo/_base/sniff","dojo/string","dojo/_base/window","./DataList","../registry","./_TextBoxMixin"],function(_247,_248,_249,_24a,_24b,_24c,keys,lang,_24d,_24e,has,_24f,win,_250,_251,_252){return _249("dijit.form._AutoCompleterMixin",null,{item:null,pageSize:Infinity,store:null,fetchProperties:{},query:{},autoComplete:true,highlightMatch:"first",searchDelay:100,searchAttr:"name",labelAttr:"",labelType:"text",queryExpr:"${0}*",ignoreCase:true,maxHeight:-1,_stopClickEvents:false,_getCaretPos:function(_253){var pos=0;if(typeof (_253.selectionStart)=="number"){pos=_253.selectionStart;}else{if(has("ie")){var tr=win.doc.selection.createRange().duplicate();var ntr=_253.createTextRange();tr.move("character",0);ntr.move("character",0);try{ntr.setEndPoint("EndToEnd",tr);pos=String(ntr.text).replace(/\r/g,"").length;}catch(e){}}}return pos;},_setCaretPos:function(_254,_255){_255=parseInt(_255);_252.selectInputText(_254,_255,_255);},_setDisabledAttr:function(_256){this.inherited(arguments);this.domNode.setAttribute("aria-disabled",_256);},_abortQuery:function(){if(this.searchTimer){clearTimeout(this.searchTimer);this.searchTimer=null;}if(this._fetchHandle){if(this._fetchHandle.cancel){this._cancelingQuery=true;this._fetchHandle.cancel();this._cancelingQuery=false;}this._fetchHandle=null;}},_onInput:function(evt){this.inherited(arguments);if(evt.charOrCode==229){this._onKey(evt);}},_onKey:function(evt){var key=evt.charOrCode;if(evt.altKey||((evt.ctrlKey||evt.metaKey)&&(key!="x"&&key!="v"))||key==keys.SHIFT){return;}var _257=false;var pw=this.dropDown;var _258=null;this._prev_key_backspace=false;this._abortQuery();this.inherited(arguments);if(this._opened){_258=pw.getHighlightedOption();}switch(key){case keys.PAGE_DOWN:case keys.DOWN_ARROW:case keys.PAGE_UP:case keys.UP_ARROW:if(this._opened){this._announceOption(_258);}_24c.stop(evt);break;case keys.ENTER:if(_258){if(_258==pw.nextButton){this._nextSearch(1);_24c.stop(evt);break;}else{if(_258==pw.previousButton){this._nextSearch(-1);_24c.stop(evt);break;}}}else{this._setBlurValue();this._setCaretPos(this.focusNode,this.focusNode.value.length);}if(this._opened||this._fetchHandle){_24c.stop(evt);}case keys.TAB:var _259=this.get("displayedValue");if(pw&&(_259==pw._messages["previousMessage"]||_259==pw._messages["nextMessage"])){break;}if(_258){this._selectOption(_258);}case keys.ESCAPE:if(this._opened){this._lastQuery=null;this.closeDropDown();}break;case " ":if(_258){_24c.stop(evt);this._selectOption(_258);this.closeDropDown();}else{_257=true;}break;case keys.DELETE:case keys.BACKSPACE:this._prev_key_backspace=true;_257=true;break;default:_257=typeof key=="string"||key==229;}if(_257){this.item=undefined;this.searchTimer=setTimeout(lang.hitch(this,"_startSearchFromInput"),1);}},_autoCompleteText:function(text){var fn=this.focusNode;_252.selectInputText(fn,fn.value.length);var _25a=this.ignoreCase?"toLowerCase":"substr";if(text[_25a](0).indexOf(this.focusNode.value[_25a](0))==0){var cpos=this.autoComplete?this._getCaretPos(fn):fn.value.length;if((cpos+1)>fn.value.length){fn.value=text;_252.selectInputText(fn,cpos);}}else{fn.value=text;_252.selectInputText(fn);}},_openResultList:function(_25b,_25c,_25d){this._fetchHandle=null;if(this.disabled||this.readOnly||(_25c[this.searchAttr]!==this._lastQuery)){return;}var _25e=this.dropDown.getHighlightedOption();this.dropDown.clearResultList();if(!_25b.length&&_25d.start==0){this.closeDropDown();return;}var _25f=this.dropDown.createOptions(_25b,_25d,lang.hitch(this,"_getMenuLabelFromItem"));this._showResultList();if(_25d.direction){if(1==_25d.direction){this.dropDown.highlightFirstOption();}else{if(-1==_25d.direction){this.dropDown.highlightLastOption();}}if(_25e){this._announceOption(this.dropDown.getHighlightedOption());}}else{if(this.autoComplete&&!this._prev_key_backspace&&!/^[*]+$/.test(_25c[this.searchAttr].toString())){this._announceOption(_25f[1]);}}},_showResultList:function(){this.closeDropDown(true);this.openDropDown();this.domNode.setAttribute("aria-expanded","true");},loadDropDown:function(){this._startSearchAll();},isLoaded:function(){return false;},closeDropDown:function(){this._abortQuery();if(this._opened){this.inherited(arguments);this.domNode.setAttribute("aria-expanded","false");this.focusNode.removeAttribute("aria-activedescendant");}},_setBlurValue:function(){var _260=this.get("displayedValue");var pw=this.dropDown;if(pw&&(_260==pw._messages["previousMessage"]||_260==pw._messages["nextMessage"])){this._setValueAttr(this._lastValueReported,true);}else{if(typeof this.item=="undefined"){this.item=null;this.set("displayedValue",_260);}else{if(this.value!=this._lastValueReported){this._handleOnChange(this.value,true);}this._refreshState();}}},_setItemAttr:function(item,_261,_262){var _263="";if(item){if(!_262){_262=this.store._oldAPI?this.store.getValue(item,this.searchAttr):item[this.searchAttr];}_263=this._getValueField()!=this.searchAttr?this.store.getIdentity(item):_262;}this.set("value",_263,_261,_262,item);},_announceOption:function(node){if(!node){return;}var _264;if(node==this.dropDown.nextButton||node==this.dropDown.previousButton){_264=node.innerHTML;this.item=undefined;this.value="";}else{_264=(this.store._oldAPI?this.store.getValue(node.item,this.searchAttr):node.item[this.searchAttr]).toString();this.set("item",node.item,false,_264);}this.focusNode.value=this.focusNode.value.substring(0,this._lastInput.length);this.focusNode.setAttribute("aria-activedescendant",_24b.get(node,"id"));this._autoCompleteText(_264);},_selectOption:function(_265){this.closeDropDown();if(_265){this._announceOption(_265);}this._setCaretPos(this.focusNode,this.focusNode.value.length);this._handleOnChange(this.value,true);},_startSearchAll:function(){this._startSearch("");},_startSearchFromInput:function(){this._startSearch(this.focusNode.value.replace(/([\\\*\?])/g,"\\$1"));},_getQueryString:function(text){return _24f.substitute(this.queryExpr,[text]);},_startSearch:function(key){if(!this.dropDown){var _266=this.id+"_popup",_267=lang.isString(this.dropDownClass)?lang.getObject(this.dropDownClass,false):this.dropDownClass;this.dropDown=new _267({onChange:lang.hitch(this,this._selectOption),id:_266,dir:this.dir,textDir:this.textDir});this.focusNode.removeAttribute("aria-activedescendant");this.textbox.setAttribute("aria-owns",_266);}this._lastInput=key;var _268=lang.clone(this.query);var _269={start:0,count:this.pageSize,queryOptions:{ignoreCase:this.ignoreCase,deep:true}};lang.mixin(_269,this.fetchProperties);var qs=this._getQueryString(key),q;if(this.store._oldAPI){q=qs;}else{q=_248.patternToRegExp(qs,this.ignoreCase);q.toString=function(){return qs;};}this._lastQuery=_268[this.searchAttr]=q;var _26a=this,_26b=function(){var _26c=_26a._fetchHandle=_26a.store.query(_268,_269);_24a.when(_26c,function(res){_26a._fetchHandle=null;res.total=_26c.total;_26a._openResultList(res,_268,_269);},function(err){_26a._fetchHandle=null;if(!_26a._cancelingQuery){console.error(_26a.declaredClass+" "+err.toString());_26a.closeDropDown();}});};this.searchTimer=setTimeout(lang.hitch(this,function(_26d,_26e){this.searchTimer=null;_26b();this._nextSearch=this.dropDown.onPage=function(_26f){_269.start+=_269.count*_26f;_269.direction=_26f;_26b();_26e.focus();};},_268,this),this.searchDelay);},_getValueField:function(){return this.searchAttr;},constructor:function(){this.query={};this.fetchProperties={};},postMixInProperties:function(){if(!this.store){var _270=this.srcNodeRef;var list=this.list;if(list){this.store=_251.byId(list);}else{this.store=new _250({},_270);}if(!("value" in this.params)){var item=(this.item=this.store.fetchSelectedItem());if(item){var _271=this._getValueField();this.value=this.store._oldAPI?this.store.getValue(item,_271):item[_271];}}}this.inherited(arguments);},postCreate:function(){var _272=_24d("label[for=\""+this.id+"\"]");if(_272.length){_272[0].id=(this.id+"_label");this.domNode.setAttribute("aria-labelledby",_272[0].id);}this.inherited(arguments);},_getMenuLabelFromItem:function(item){var _273=this.labelFunc(item,this.store),_274=this.labelType;if(this.highlightMatch!="none"&&this.labelType=="text"&&this._lastInput){_273=this.doHighlight(_273,this._escapeHtml(this._lastInput));_274="html";}return {html:_274=="html",label:_273};},doHighlight:function(_275,find){var _276=(this.ignoreCase?"i":"")+(this.highlightMatch=="all"?"g":""),i=this.queryExpr.indexOf("${0}");find=_24e.escapeString(find);return this._escapeHtml(_275).replace(new RegExp((i==0?"^":"")+"("+find+")"+(i==(this.queryExpr.length-4)?"$":""),_276),"<span class=\"dijitComboBoxHighlightMatch\">$1</span>");},_escapeHtml:function(str){str=String(str).replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;");return str;},reset:function(){this.item=null;this.inherited(arguments);},labelFunc:function(item,_277){return (_277._oldAPI?_277.getValue(item,this.labelAttr||this.searchAttr):item[this.labelAttr||this.searchAttr]).toString();},_setValueAttr:function(_278,_279,_27a,item){this._set("item",item||null);if(!_278){_278="";}this.inherited(arguments);},_setTextDirAttr:function(_27b){this.inherited(arguments);if(this.dropDown){this.dropDown._set("textDir",_27b);}}});});},"url:dijit/templates/ColorPalette.html":"<div class=\"dijitInline dijitColorPalette\">\n\t<table dojoAttachPoint=\"paletteTableNode\" class=\"dijitPaletteTable\" cellSpacing=\"0\" cellPadding=\"0\" role=\"grid\">\n\t\t<tbody data-dojo-attach-point=\"gridNode\"></tbody>\n\t</table>\n</div>\n","url:dijit/layout/templates/_ScrollingTabControllerButton.html":"<div data-dojo-attach-event=\"onclick:_onClick\">\n\t<div role=\"presentation\" class=\"dijitTabInnerDiv\" data-dojo-attach-point=\"innerDiv,focusNode\">\n\t\t<div role=\"presentation\" class=\"dijitTabContent dijitButtonContents\" data-dojo-attach-point=\"tabContent\">\n\t\t\t<img role=\"presentation\" alt=\"\" src=\"${_blankGif}\" class=\"dijitTabStripIcon\" data-dojo-attach-point=\"iconNode\"/>\n\t\t\t<span data-dojo-attach-point=\"containerNode,titleNode\" class=\"dijitButtonText\"></span>\n\t\t</div>\n\t</div>\n</div>","dijit/form/MappedTextBox":function(){define(["dojo/_base/declare","dojo/dom-construct","./ValidationTextBox"],function(_27c,_27d,_27e){return _27c("dijit.form.MappedTextBox",_27e,{postMixInProperties:function(){this.inherited(arguments);this.nameAttrSetting="";},_setNameAttr:null,serialize:function(val){return val.toString?val.toString():"";},toString:function(){var val=this.filter(this.get("value"));return val!=null?(typeof val=="string"?val:this.serialize(val,this.constraints)):"";},validate:function(){this.valueNode.value=this.toString();return this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);this.valueNode=_27d.place("<input type='hidden'"+(this.name?" name='"+this.name.replace(/'/g,"&quot;")+"'":"")+"/>",this.textbox,"after");},reset:function(){this.valueNode.value="";this.inherited(arguments);}});});},"dijit/form/ComboBoxMixin":function(){define(["dojo/_base/declare","dojo/_base/Deferred","dojo/_base/kernel","dojo/_base/lang","dojo/store/util/QueryResults","./_AutoCompleterMixin","./_ComboBoxMenu","../_HasDropDown","dojo/text!./templates/DropDownBox.html"],function(_27f,_280,_281,lang,_282,_283,_284,_285,_286){return _27f("dijit.form.ComboBoxMixin",[_285,_283],{dropDownClass:_284,hasDownArrow:true,templateString:_286,baseClass:"dijitTextBox dijitComboBox",cssStateNodes:{"_buttonNode":"dijitDownArrowButton"},_setHasDownArrowAttr:function(val){this._set("hasDownArrow",val);this._buttonNode.style.display=val?"":"none";},_showResultList:function(){this.displayMessage("");this.inherited(arguments);},_setStoreAttr:function(_287){if(!_287.get){lang.mixin(_287,{_oldAPI:true,get:function(id){var _288=new _280();this.fetchItemByIdentity({identity:id,onItem:function(_289){_288.resolve(_289);},onError:function(_28a){_288.reject(_28a);}});return _288.promise;},query:function(_28b,_28c){var _28d=new _280(function(){_28e.abort&&_28e.abort();});var _28e=this.fetch(lang.mixin({query:_28b,onBegin:function(_28f){_28d.total=_28f;},onComplete:function(_290){_28d.resolve(_290);},onError:function(_291){_28d.reject(_291);}},_28c));return _282(_28d);}});}this._set("store",_287);},postMixInProperties:function(){if(this.params.store){this._setStoreAttr(this.params.store);}this.inherited(arguments);if(!this.params.store){var _292=this.declaredClass;lang.mixin(this.store,{getValue:function(item,attr){_281.deprecated(_292+".store.getValue(item, attr) is deprecated for builtin store.  Use item.attr directly","","2.0");return item[attr];},getLabel:function(item){_281.deprecated(_292+".store.getLabel(item) is deprecated for builtin store.  Use item.label directly","","2.0");return item.name;},fetch:function(args){_281.deprecated(_292+".store.fetch() is deprecated for builtin store.","Use store.query()","2.0");var shim=["dojo/data/ObjectStore"];require(shim,lang.hitch(this,function(_293){new _293({objectStore:this}).fetch(args);}));}});}}});});},"dijit/form/_TextBoxMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/_base/event","dojo/keys","dojo/_base/lang",".."],function(_294,_295,dom,_296,keys,lang,_297){var _298=_295("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(_299,_29a,_29b){var _29c;if(_299!==undefined){_29c=this.filter(_299);if(typeof _29b!="string"){if(_29c!==null&&((typeof _29c!="number")||!isNaN(_29c))){_29b=this.filter(this.format(_29c,this.constraints));}else{_29b="";}}}if(_29b!=null&&_29b!=undefined&&((typeof _29b)!="number"||!isNaN(_29b))&&this.textbox.value!=_29b){this.textbox.value=_29b;this._set("displayedValue",this.get("displayedValue"));}if(this.textDir=="auto"){this.applyTextDir(this.focusNode,_29b);}this.inherited(arguments,[_29c,_29a]);},displayedValue:"",_getDisplayedValueAttr:function(){return this.filter(this.textbox.value);},_setDisplayedValueAttr:function(_29d){if(_29d===null||_29d===undefined){_29d="";}else{if(typeof _29d!="string"){_29d=String(_29d);}}this.textbox.value=_29d;this._setValueAttr(this.get("value"),undefined);this._set("displayedValue",this.get("displayedValue"));if(this.textDir=="auto"){this.applyTextDir(this.focusNode,_29d);}},format:function(_29e){return ((_29e==null||_29e==undefined)?"":(_29e.toString?_29e.toString():_29e));},parse:function(_29f){return _29f;},_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 _2a0=function(e){var _2a1=e.charOrCode||e.keyCode||229;if(e.type=="keydown"){switch(_2a1){case keys.SHIFT:case keys.ALT:case keys.CTRL:case keys.META:case keys.CAPS_LOCK:return;default:if(_2a1>=65&&_2a1<=90){return;}}}if(e.type=="keypress"&&typeof _2a1!="string"){return;}if(e.type=="input"){if(this.__skipInputEvent){this.__skipInputEvent=false;return;}}else{this.__skipInputEvent=true;}var faux=lang.mixin({},e,{charOrCode:_2a1,wasConsumed:false,preventDefault:function(){faux.wasConsumed=true;e.preventDefault();},stopPropagation:function(){e.stopPropagation();}});if(this.onInput(faux)===false){_296.stop(faux);}if(faux.wasConsumed){return;}setTimeout(lang.hitch(this,"_onInput",faux),0);};_294.forEach(["onkeydown","onkeypress","onpaste","oncut","oninput"],function(_2a2){this.connect(this.textbox,_2a2,_2a0);},this);},_blankValue:"",filter:function(val){if(val===null){return this._blankValue;}if(typeof val!="string"){return val;}if(this.trim){val=lang.trim(val);}if(this.uppercase){val=val.toUpperCase();}if(this.lowercase){val=val.toLowerCase();}if(this.propercase){val=val.replace(/[^\s]+/g,function(word){return word.substring(0,1).toUpperCase()+word.substring(1);});}return val;},_setBlurValue:function(){this._setValueAttr(this.get("value"),true);},_onBlur:function(e){if(this.disabled){return;}this._setBlurValue();this.inherited(arguments);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()){_298.selectInputText(this.textbox);}});}this.inherited(arguments);this._refreshState();},reset:function(){this.textbox.value="";this.inherited(arguments);},_setTextDirAttr:function(_2a3){if(!this._created||this.textDir!=_2a3){this._set("textDir",_2a3);this.applyTextDir(this.focusNode,this.focusNode.value);}}});_298._setSelectionRange=_297._setSelectionRange=function(_2a4,_2a5,stop){if(_2a4.setSelectionRange){_2a4.setSelectionRange(_2a5,stop);}};_298.selectInputText=_297.selectInputText=function(_2a6,_2a7,stop){_2a6=dom.byId(_2a6);if(isNaN(_2a7)){_2a7=0;}if(isNaN(stop)){stop=_2a6.value?_2a6.value.length:0;}try{_2a6.focus();_298._setSelectionRange(_2a6,_2a7,stop);}catch(e){}};return _298;});},"dijit/form/SimpleTextarea":function(){define("dijit/form/SimpleTextarea",["dojo/_base/declare","dojo/dom-class","dojo/_base/sniff","dojo/_base/window","./TextBox"],function(_2a8,_2a9,has,win,_2aa){return _2a8("dijit.form.SimpleTextarea",_2aa,{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){_2a9.add(this.textbox,"dijitTextAreaCols");}},filter:function(_2ab){if(_2ab){_2ab=_2ab.replace(/\r/g,"");}return this.inherited(arguments);},_onInput:function(e){if(this.maxLength){var _2ac=parseInt(this.maxLength);var _2ad=this.textbox.value.replace(/\r/g,"");var _2ae=_2ad.length-_2ac;if(_2ae>0){var _2af=this.textbox;if(_2af.selectionStart){var pos=_2af.selectionStart;var cr=0;if(has("opera")){cr=(this.textbox.value.substring(0,pos).match(/\r/g)||[]).length;}this.textbox.value=_2ad.substring(0,pos-_2ae-cr)+_2ad.substring(pos-cr);_2af.setSelectionRange(pos-_2ae,pos-_2ae);}else{if(win.doc.selection){_2af.focus();var _2b0=win.doc.selection.createRange();_2b0.moveStart("character",-_2ae);_2b0.text="";_2b0.select();}}}}this.inherited(arguments);}});});},"url:dijit/layout/templates/_TabButton.html":"<div role=\"presentation\" data-dojo-attach-point=\"titleNode\" data-dojo-attach-event='onclick:onClick'>\n    <div role=\"presentation\" class='dijitTabInnerDiv' data-dojo-attach-point='innerDiv'>\n        <div role=\"presentation\" class='dijitTabContent' data-dojo-attach-point='tabContent'>\n        \t<div role=\"presentation\" data-dojo-attach-point='focusNode'>\n\t\t        <img src=\"${_blankGif}\" alt=\"\" class=\"dijitIcon dijitTabButtonIcon\" data-dojo-attach-point='iconNode' />\n\t\t        <span data-dojo-attach-point='containerNode' class='tabLabel'></span>\n\t\t        <span class=\"dijitInline dijitTabCloseButton dijitTabCloseIcon\" data-dojo-attach-point='closeNode'\n\t\t        \t\tdata-dojo-attach-event='onclick: onClickCloseButton' role=\"presentation\">\n\t\t            <span data-dojo-attach-point='closeText' class='dijitTabCloseText'>[x]</span\n\t\t        ></span>\n\t\t\t</div>\n        </div>\n    </div>\n</div>\n","dijit/PopupMenuItem":function(){define(["dojo/_base/declare","dojo/dom-style","dojo/query","dojo/_base/window","./registry","./MenuItem","./hccss"],function(_2b1,_2b2,_2b3,win,_2b4,_2b5){return _2b1("dijit.PopupMenuItem",_2b5,{_fillContent:function(){if(this.srcNodeRef){var _2b6=_2b3("*",this.srcNodeRef);this.inherited(arguments,[_2b6[0]]);this.dropDownContainer=this.srcNodeRef;}},startup:function(){if(this._started){return;}this.inherited(arguments);if(!this.popup){var node=_2b3("[widgetId]",this.dropDownContainer)[0];this.popup=_2b4.byNode(node);}win.body().appendChild(this.popup.domNode);this.popup.startup();this.popup.domNode.style.display="none";if(this.arrowWrapper){_2b2.set(this.arrowWrapper,"visibility","");}this.focusNode.setAttribute("aria-haspopup","true");},destroyDescendants:function(_2b7){if(this.popup){if(!this.popup._destroyed){this.popup.destroyRecursive(_2b7);}delete this.popup;}this.inherited(arguments);}});});},"dijit/_TimePicker":function(){define(["dojo/_base/array","dojo/date","dojo/date/locale","dojo/date/stamp","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/_base/event","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/_base/sniff","dojo/query","dijit/typematic","./_Widget","./_TemplatedMixin","./form/_FormValueWidget","dojo/text!./templates/TimePicker.html"],function(_2b8,_2b9,_2ba,_2bb,_2bc,_2bd,_2be,_2bf,_2c0,keys,lang,has,_2c1,_2c2,_2c3,_2c4,_2c5,_2c6){return _2bc("dijit._TimePicker",[_2c3,_2c4],{templateString:_2c6,baseClass:"dijitTimePicker",clickableIncrement:"T00:15:00",visibleIncrement:"T01:00:00",visibleRange:"T05:00:00",value:new Date(),_visibleIncrement:2,_clickableIncrement:1,_totalIncrements:10,constraints:{},serialize:_2bb.toISOString,setValue:function(_2c7){_2c0.deprecated("dijit._TimePicker:setValue() is deprecated.  Use set('value', ...) instead.","","2.0");this.set("value",_2c7);},_setValueAttr:function(date){this._set("value",date);this._showText();},_setFilterStringAttr:function(val){this._set("filterString",val);this._showText();},isDisabledDate:function(){return false;},_getFilteredNodes:function(_2c8,_2c9,_2ca,_2cb){var _2cc=[],_2cd=_2cb?_2cb.date:this._refDate,n,i=_2c8,max=this._maxIncrement+Math.abs(i),chk=_2ca?-1:1,dec=_2ca?1:0,inc=1-dec;do{i=i-dec;n=this._createOption(i);if(n){if((_2ca&&n.date>_2cd)||(!_2ca&&n.date<_2cd)){break;}_2cc[_2ca?"unshift":"push"](n);_2cd=n.date;}i=i+inc;}while(_2cc.length<_2c9&&(i*chk)<max);return _2cc;},_showText:function(){var _2ce=_2bb.fromISOString;this.timeMenu.innerHTML="";this._clickableIncrementDate=_2ce(this.clickableIncrement);this._visibleIncrementDate=_2ce(this.visibleIncrement);this._visibleRangeDate=_2ce(this.visibleRange);var _2cf=function(date){return date.getHours()*60*60+date.getMinutes()*60+date.getSeconds();},_2d0=_2cf(this._clickableIncrementDate),_2d1=_2cf(this._visibleIncrementDate),_2d2=_2cf(this._visibleRangeDate),time=(this.value||this.currentFocus).getTime();this._refDate=new Date(time-time%(_2d1*1000));this._refDate.setFullYear(1970,0,1);this._clickableIncrement=1;this._totalIncrements=_2d2/_2d0;this._visibleIncrement=_2d1/_2d0;this._maxIncrement=(60*60*24)/_2d0;var _2d3=this._getFilteredNodes(0,Math.min(this._totalIncrements>>1,10)-1),_2d4=this._getFilteredNodes(0,Math.min(this._totalIncrements,10)-_2d3.length,true,_2d3[0]);_2b8.forEach(_2d4.concat(_2d3),function(n){this.timeMenu.appendChild(n);},this);},constructor:function(){this.constraints={};},postMixInProperties:function(){this.inherited(arguments);this._setConstraintsAttr(this.constraints);},_setConstraintsAttr:function(_2d5){lang.mixin(this,_2d5);if(!_2d5.locale){_2d5.locale=this.lang;}},postCreate:function(){this.connect(this.timeMenu,has("ie")?"onmousewheel":"DOMMouseScroll","_mouseWheeled");this._connects.push(_2c2.addMouseListener(this.upArrow,this,"_onArrowUp",33,250));this._connects.push(_2c2.addMouseListener(this.downArrow,this,"_onArrowDown",33,250));this.inherited(arguments);},_buttonMouse:function(e){_2bd.toggle(e.currentTarget,e.currentTarget==this.upArrow?"dijitUpArrowHover":"dijitDownArrowHover",e.type=="mouseenter"||e.type=="mouseover");},_createOption:function(_2d6){var date=new Date(this._refDate);var _2d7=this._clickableIncrementDate;date.setHours(date.getHours()+_2d7.getHours()*_2d6,date.getMinutes()+_2d7.getMinutes()*_2d6,date.getSeconds()+_2d7.getSeconds()*_2d6);if(this.constraints.selector=="time"){date.setFullYear(1970,0,1);}var _2d8=_2ba.format(date,this.constraints);if(this.filterString&&_2d8.toLowerCase().indexOf(this.filterString)!==0){return null;}var div=_2be.create("div",{"class":this.baseClass+"Item"});div.date=date;div.index=_2d6;_2be.create("div",{"class":this.baseClass+"ItemInner",innerHTML:_2d8},div);if(_2d6%this._visibleIncrement<1&&_2d6%this._visibleIncrement>-1){_2bd.add(div,this.baseClass+"Marker");}else{if(!(_2d6%this._clickableIncrement)){_2bd.add(div,this.baseClass+"Tick");}}if(this.isDisabledDate(date)){_2bd.add(div,this.baseClass+"ItemDisabled");}if(this.value&&!_2b9.compare(this.value,date,this.constraints.selector)){div.selected=true;_2bd.add(div,this.baseClass+"ItemSelected");if(_2bd.contains(div,this.baseClass+"Marker")){_2bd.add(div,this.baseClass+"MarkerSelected");}else{_2bd.add(div,this.baseClass+"TickSelected");}this._highlightOption(div,true);}return div;},_onOptionSelected:function(tgt){var _2d9=tgt.target.date||tgt.target.parentNode.date;if(!_2d9||this.isDisabledDate(_2d9)){return;}this._highlighted_option=null;this.set("value",_2d9);this.onChange(_2d9);},onChange:function(){},_highlightOption:function(node,_2da){if(!node){return;}if(_2da){if(this._highlighted_option){this._highlightOption(this._highlighted_option,false);}this._highlighted_option=node;}else{if(this._highlighted_option!==node){return;}else{this._highlighted_option=null;}}_2bd.toggle(node,this.baseClass+"ItemHover",_2da);if(_2bd.contains(node,this.baseClass+"Marker")){_2bd.toggle(node,this.baseClass+"MarkerHover",_2da);}else{_2bd.toggle(node,this.baseClass+"TickHover",_2da);}},onmouseover:function(e){this._keyboardSelected=null;var tgr=(e.target.parentNode===this.timeMenu)?e.target:e.target.parentNode;if(!_2bd.contains(tgr,this.baseClass+"Item")){return;}this._highlightOption(tgr,true);},onmouseout:function(e){this._keyboardSelected=null;var tgr=(e.target.parentNode===this.timeMenu)?e.target:e.target.parentNode;this._highlightOption(tgr,false);},_mouseWheeled:function(e){this._keyboardSelected=null;_2bf.stop(e);var _2db=(has("ie")?e.wheelDelta:-e.detail);this[(_2db>0?"_onArrowUp":"_onArrowDown")]();},_onArrowUp:function(_2dc){if(typeof _2dc=="number"&&_2dc==-1){return;}if(!this.timeMenu.childNodes.length){return;}var _2dd=this.timeMenu.childNodes[0].index;var divs=this._getFilteredNodes(_2dd,1,true,this.timeMenu.childNodes[0]);if(divs.length){this.timeMenu.removeChild(this.timeMenu.childNodes[this.timeMenu.childNodes.length-1]);this.timeMenu.insertBefore(divs[0],this.timeMenu.childNodes[0]);}},_onArrowDown:function(_2de){if(typeof _2de=="number"&&_2de==-1){return;}if(!this.timeMenu.childNodes.length){return;}var _2df=this.timeMenu.childNodes[this.timeMenu.childNodes.length-1].index+1;var divs=this._getFilteredNodes(_2df,1,false,this.timeMenu.childNodes[this.timeMenu.childNodes.length-1]);if(divs.length){this.timeMenu.removeChild(this.timeMenu.childNodes[0]);this.timeMenu.appendChild(divs[0]);}},handleKey:function(e){if(e.charOrCode==keys.DOWN_ARROW||e.charOrCode==keys.UP_ARROW){_2bf.stop(e);if(this._highlighted_option&&!this._highlighted_option.parentNode){this._highlighted_option=null;}var _2e0=this.timeMenu,tgt=this._highlighted_option||_2c1("."+this.baseClass+"ItemSelected",_2e0)[0];if(!tgt){tgt=_2e0.childNodes[0];}else{if(_2e0.childNodes.length){if(e.charOrCode==keys.DOWN_ARROW&&!tgt.nextSibling){this._onArrowDown();}else{if(e.charOrCode==keys.UP_ARROW&&!tgt.previousSibling){this._onArrowUp();}}if(e.charOrCode==keys.DOWN_ARROW){tgt=tgt.nextSibling;}else{tgt=tgt.previousSibling;}}}this._highlightOption(tgt,true);this._keyboardSelected=tgt;return false;}else{if(e.charOrCode==keys.ENTER||e.charOrCode===keys.TAB){if(!this._keyboardSelected&&e.charOrCode===keys.TAB){return true;}if(this._highlighted_option){this._onOptionSelected({target:this._highlighted_option});}return e.charOrCode===keys.TAB;}}}});});},"dijit/form/RadioButton":function(){define("dijit/form/RadioButton",["dojo/_base/declare","./CheckBox","./_RadioButtonMixin"],function(_2e1,_2e2,_2e3){return _2e1("dijit.form.RadioButton",[_2e2,_2e3],{baseClass:"dijitRadio"});});},"url:dijit/form/templates/HorizontalSlider.html":"<table class=\"dijit dijitReset dijitSlider dijitSliderH\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" rules=\"none\" data-dojo-attach-event=\"onkeypress:_onKeyPress,onkeyup:_onKeyUp\"\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t\t><td data-dojo-attach-point=\"topDecoration\" class=\"dijitReset dijitSliderDecoration dijitSliderDecorationT dijitSliderDecorationH\"></td\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerH\"\n\t\t\t><div class=\"dijitSliderDecrementIconH\" style=\"display:none\" data-dojo-attach-point=\"decrementButton\"><span class=\"dijitSliderButtonInner\">-</span></div\n\t\t></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperH dijitSliderLeftBumper\" data-dojo-attach-event=\"press:_onClkDecBumper\"></div\n\t\t></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><input data-dojo-attach-point=\"valueNode\" type=\"hidden\" ${!nameAttrSetting}\n\t\t\t/><div class=\"dijitReset dijitSliderBarContainerH\" role=\"presentation\" data-dojo-attach-point=\"sliderBarContainer\"\n\t\t\t\t><div role=\"presentation\" data-dojo-attach-point=\"progressBar\" class=\"dijitSliderBar dijitSliderBarH dijitSliderProgressBar dijitSliderProgressBarH\" data-dojo-attach-event=\"press:_onBarClick\"\n\t\t\t\t\t><div class=\"dijitSliderMoveable dijitSliderMoveableH\"\n\t\t\t\t\t\t><div data-dojo-attach-point=\"sliderHandle,focusNode\" class=\"dijitSliderImageHandle dijitSliderImageHandleH\" data-dojo-attach-event=\"press:_onHandleClick\" role=\"slider\" valuemin=\"${minimum}\" valuemax=\"${maximum}\"></div\n\t\t\t\t\t></div\n\t\t\t\t></div\n\t\t\t\t><div role=\"presentation\" data-dojo-attach-point=\"remainingBar\" class=\"dijitSliderBar dijitSliderBarH dijitSliderRemainingBar dijitSliderRemainingBarH\" data-dojo-attach-event=\"press:_onBarClick\"></div\n\t\t\t></div\n\t\t></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperH dijitSliderRightBumper\" data-dojo-attach-event=\"press:_onClkIncBumper\"></div\n\t\t></td\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerH\"\n\t\t\t><div class=\"dijitSliderIncrementIconH\" style=\"display:none\" data-dojo-attach-point=\"incrementButton\"><span class=\"dijitSliderButtonInner\">+</span></div\n\t\t></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t\t><td data-dojo-attach-point=\"containerNode,bottomDecoration\" class=\"dijitReset dijitSliderDecoration dijitSliderDecorationB dijitSliderDecorationH\"></td\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t></tr\n></table>\n","url:dijit/templates/TimePicker.html":"<div id=\"widget_${id}\" class=\"dijitMenu\"\n    ><div data-dojo-attach-point=\"upArrow\" class=\"dijitButtonNode dijitUpArrowButton\" data-dojo-attach-event=\"onmouseenter:_buttonMouse,onmouseleave:_buttonMouse\"\n\t\t><div class=\"dijitReset dijitInline dijitArrowButtonInner\" role=\"presentation\">&#160;</div\n\t\t><div class=\"dijitArrowButtonChar\">&#9650;</div></div\n    ><div data-dojo-attach-point=\"timeMenu,focusNode\" data-dojo-attach-event=\"onclick:_onOptionSelected,onmouseover,onmouseout\"></div\n    ><div data-dojo-attach-point=\"downArrow\" class=\"dijitButtonNode dijitDownArrowButton\" data-dojo-attach-event=\"onmouseenter:_buttonMouse,onmouseleave:_buttonMouse\"\n\t\t><div class=\"dijitReset dijitInline dijitArrowButtonInner\" role=\"presentation\">&#160;</div\n\t\t><div class=\"dijitArrowButtonChar\">&#9660;</div></div\n></div>\n","dijit/InlineEditBox":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-style","dojo/_base/event","dojo/i18n","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/_base/sniff","./focus","./_Widget","./_TemplatedMixin","./_WidgetsInTemplateMixin","./_Container","./form/Button","./form/_TextBoxMixin","./form/TextBox","dojo/text!./templates/InlineEditBox.html","dojo/i18n!./nls/common"],function(_2e4,_2e5,_2e6,_2e7,_2e8,_2e9,_2ea,i18n,_2eb,keys,lang,has,fm,_2ec,_2ed,_2ee,_2ef,_2f0,_2f1,_2f2,_2f3){var _2f4=_2e5("dijit._InlineEditor",[_2ec,_2ed,_2ee],{templateString:_2f3,postMixInProperties:function(){this.inherited(arguments);this.messages=i18n.getLocalization("dijit","common",this.lang);_2e4.forEach(["buttonSave","buttonCancel"],function(prop){if(!this[prop]){this[prop]=this.messages[prop];}},this);},buildRendering:function(){this.inherited(arguments);var cls=typeof this.editor=="string"?lang.getObject(this.editor):this.editor;var _2f5=this.sourceStyle,_2f6="line-height:"+_2f5.lineHeight+";",_2f7=_2e9.getComputedStyle(this.domNode);_2e4.forEach(["Weight","Family","Size","Style"],function(prop){var _2f8=_2f5["font"+prop],_2f9=_2f7["font"+prop];if(_2f9!=_2f8){_2f6+="font-"+prop+":"+_2f5["font"+prop]+";";}},this);_2e4.forEach(["marginTop","marginBottom","marginLeft","marginRight"],function(prop){this.domNode.style[prop]=_2f5[prop];},this);var _2fa=this.inlineEditBox.width;if(_2fa=="100%"){_2f6+="width:100%;";this.domNode.style.display="block";}else{_2f6+="width:"+(_2fa+(Number(_2fa)==_2fa?"px":""))+";";}var _2fb=lang.delegate(this.inlineEditBox.editorParams,{style:_2f6,dir:this.dir,lang:this.lang,textDir:this.textDir});_2fb["displayedValue" in cls.prototype?"displayedValue":"value"]=this.value;this.editWidget=new cls(_2fb,this.editorPlaceholder);if(this.inlineEditBox.autoSave){_2e8.destroy(this.buttonContainer);}},postCreate:function(){this.inherited(arguments);var ew=this.editWidget;if(this.inlineEditBox.autoSave){this.connect(ew,"onChange","_onChange");this.connect(ew,"onKeyPress","_onKeyPress");}else{if("intermediateChanges" in ew){ew.set("intermediateChanges",true);this.connect(ew,"onChange","_onIntermediateChange");this.saveButton.set("disabled",true);}}},_onIntermediateChange:function(){this.saveButton.set("disabled",(this.getValue()==this._resetValue)||!this.enableSave());},destroy:function(){this.editWidget.destroy(true);this.inherited(arguments);},getValue:function(){var ew=this.editWidget;return String(ew.get("displayedValue" in ew?"displayedValue":"value"));},_onKeyPress:function(e){if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing){if(e.altKey||e.ctrlKey){return;}if(e.charOrCode==keys.ESCAPE){_2ea.stop(e);this.cancel(true);}else{if(e.charOrCode==keys.ENTER&&e.target.tagName=="INPUT"){_2ea.stop(e);this._onChange();}}}},_onBlur:function(){this.inherited(arguments);if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing){if(this.getValue()==this._resetValue){this.cancel(false);}else{if(this.enableSave()){this.save(false);}}}},_onChange:function(){if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing&&this.enableSave()){fm.focus(this.inlineEditBox.displayNode);}},enableSave:function(){return (this.editWidget.isValid?this.editWidget.isValid():true);},focus:function(){this.editWidget.focus();setTimeout(lang.hitch(this,function(){if(this.editWidget.focusNode&&this.editWidget.focusNode.tagName=="INPUT"){_2f1.selectInputText(this.editWidget.focusNode);}}),0);}});var _2fc=_2e5("dijit.InlineEditBox",_2ec,{editing:false,autoSave:true,buttonSave:"",buttonCancel:"",renderAsHtml:false,editor:_2f2,editorWrapper:_2f4,editorParams:{},disabled:false,onChange:function(){},onCancel:function(){},width:"100%",value:"",noValueIndicator:has("ie")<=6?"<span style='font-family: wingdings; text-decoration: underline;'>&#160;&#160;&#160;&#160;&#x270d;&#160;&#160;&#160;&#160;</span>":"<span style='text-decoration: underline;'>&#160;&#160;&#160;&#160;&#x270d;&#160;&#160;&#160;&#160;</span>",constructor:function(){this.editorParams={};},postMixInProperties:function(){this.inherited(arguments);this.displayNode=this.srcNodeRef;var _2fd={ondijitclick:"_onClick",onmouseover:"_onMouseOver",onmouseout:"_onMouseOut",onfocus:"_onMouseOver",onblur:"_onMouseOut"};for(var name in _2fd){this.connect(this.displayNode,name,_2fd[name]);}this.displayNode.setAttribute("role","button");if(!this.displayNode.getAttribute("tabIndex")){this.displayNode.setAttribute("tabIndex",0);}if(!this.value&&!("value" in this.params)){this.value=lang.trim(this.renderAsHtml?this.displayNode.innerHTML:(this.displayNode.innerText||this.displayNode.textContent||""));}if(!this.value){this.displayNode.innerHTML=this.noValueIndicator;}_2e7.add(this.displayNode,"dijitInlineEditBoxDisplayMode");},setDisabled:function(_2fe){_2eb.deprecated("dijit.InlineEditBox.setDisabled() is deprecated.  Use set('disabled', bool) instead.","","2.0");this.set("disabled",_2fe);},_setDisabledAttr:function(_2ff){this.domNode.setAttribute("aria-disabled",_2ff);if(_2ff){this.displayNode.removeAttribute("tabIndex");}else{this.displayNode.setAttribute("tabIndex",0);}_2e7.toggle(this.displayNode,"dijitInlineEditBoxDisplayModeDisabled",_2ff);this._set("disabled",_2ff);},_onMouseOver:function(){if(!this.disabled){_2e7.add(this.displayNode,"dijitInlineEditBoxDisplayModeHover");}},_onMouseOut:function(){_2e7.remove(this.displayNode,"dijitInlineEditBoxDisplayModeHover");},_onClick:function(e){if(this.disabled){return;}if(e){_2ea.stop(e);}this._onMouseOut();setTimeout(lang.hitch(this,"edit"),0);},edit:function(){if(this.disabled||this.editing){return;}this._set("editing",true);this._savedPosition=_2e9.get(this.displayNode,"position")||"static";this._savedOpacity=_2e9.get(this.displayNode,"opacity")||"1";this._savedTabIndex=_2e6.get(this.displayNode,"tabIndex")||"0";if(this.wrapperWidget){var ew=this.wrapperWidget.editWidget;ew.set("displayedValue" in ew?"displayedValue":"value",this.value);}else{var _300=_2e8.create("span",null,this.domNode,"before");var ewc=typeof this.editorWrapper=="string"?lang.getObject(this.editorWrapper):this.editorWrapper;this.wrapperWidget=new ewc({value:this.value,buttonSave:this.buttonSave,buttonCancel:this.buttonCancel,dir:this.dir,lang:this.lang,tabIndex:this._savedTabIndex,editor:this.editor,inlineEditBox:this,sourceStyle:_2e9.getComputedStyle(this.displayNode),save:lang.hitch(this,"save"),cancel:lang.hitch(this,"cancel"),textDir:this.textDir},_300);if(!this._started){this.startup();}}var ww=this.wrapperWidget;_2e9.set(this.displayNode,{position:"absolute",opacity:"0"});_2e9.set(ww.domNode,{position:this._savedPosition,visibility:"visible",opacity:"1"});_2e6.set(this.displayNode,"tabIndex","-1");setTimeout(lang.hitch(ww,function(){this.focus();this._resetValue=this.getValue();}),0);},_onBlur:function(){this.inherited(arguments);if(!this.editing){}},destroy:function(){if(this.wrapperWidget&&!this.wrapperWidget._destroyed){this.wrapperWidget.destroy();delete this.wrapperWidget;}this.inherited(arguments);},_showText:function(_301){var ww=this.wrapperWidget;_2e9.set(ww.domNode,{position:"absolute",visibility:"hidden",opacity:"0"});_2e9.set(this.displayNode,{position:this._savedPosition,opacity:this._savedOpacity});_2e6.set(this.displayNode,"tabIndex",this._savedTabIndex);if(_301){fm.focus(this.displayNode);}},save:function(_302){if(this.disabled||!this.editing){return;}this._set("editing",false);var ww=this.wrapperWidget;var _303=ww.getValue();this.set("value",_303);this._showText(_302);},setValue:function(val){_2eb.deprecated("dijit.InlineEditBox.setValue() is deprecated.  Use set('value', ...) instead.","","2.0");return this.set("value",val);},_setValueAttr:function(val){val=lang.trim(val);var _304=this.renderAsHtml?val:val.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;").replace(/\n/g,"<br>");this.displayNode.innerHTML=_304||this.noValueIndicator;this._set("value",val);if(this._started){setTimeout(lang.hitch(this,"onChange",val),0);}if(this.textDir=="auto"){this.applyTextDir(this.displayNode,this.displayNode.innerText);}},getValue:function(){_2eb.deprecated("dijit.InlineEditBox.getValue() is deprecated.  Use get('value') instead.","","2.0");return this.get("value");},cancel:function(_305){if(this.disabled||!this.editing){return;}this._set("editing",false);setTimeout(lang.hitch(this,"onCancel"),0);this._showText(_305);},_setTextDirAttr:function(_306){if(!this._created||this.textDir!=_306){this._set("textDir",_306);this.applyTextDir(this.displayNode,this.displayNode.innerText);this.displayNode.align=this.dir=="rtl"?"right":"left";}}});_2fc._InlineEditor=_2f4;return _2fc;});},"dojo/dnd/autoscroll":function(){define(["../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,_307,_308;for(var n=e.target;n;){if(n.nodeType==1&&(n.tagName.toLowerCase() in dojo.dnd._validNodes)){var s=dojo.getComputedStyle(n),_309=(s.overflow.toLowerCase() in dojo.dnd._validOverflow),_30a=(s.overflowX.toLowerCase() in dojo.dnd._validOverflow),_30b=(s.overflowY.toLowerCase() in dojo.dnd._validOverflow);if(_309||_30a||_30b){b=dojo._getContentBox(n,s);t=dojo.position(n,true);}if(_309||_30a){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;}}_307=n.scrollLeft;n.scrollLeft=n.scrollLeft+dx;}}if(_309||_30b){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;}}_308=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/form/_RadioButtonMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/_base/event","dojo/_base/lang","dojo/query","dojo/_base/window","../registry"],function(_30c,_30d,_30e,_30f,lang,_310,win,_311){return _30d("dijit.form._RadioButtonMixin",null,{type:"radio",_getRelatedWidgets:function(){var ary=[];_310("input[type=radio]",this.focusNode.form||win.doc).forEach(lang.hitch(this,function(_312){if(_312.name==this.name&&_312.form==this.focusNode.form){var _313=_311.getEnclosingWidget(_312);if(_313){ary.push(_313);}}}));return ary;},_setCheckedAttr:function(_314){this.inherited(arguments);if(!this._created){return;}if(_314){_30c.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_315){if(_315!=this&&_315.checked){_315.set("checked",false);}}));}},_onClick:function(e){if(this.checked||this.disabled){_30f.stop(e);return false;}if(this.readOnly){_30f.stop(e);_30c.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_316){_30e.set(this.focusNode||this.domNode,"checked",_316.checked);}));return false;}return this.inherited(arguments);}});});},"url:dijit/templates/TreeNode.html":"<div class=\"dijitTreeNode\" role=\"presentation\"\n\t><div data-dojo-attach-point=\"rowNode\" class=\"dijitTreeRow\" role=\"presentation\" data-dojo-attach-event=\"onmouseenter:_onMouseEnter, onmouseleave:_onMouseLeave, onclick:_onClick, ondblclick:_onDblClick\"\n\t\t><img src=\"${_blankGif}\" alt=\"\" data-dojo-attach-point=\"expandoNode\" class=\"dijitTreeExpando\" role=\"presentation\"\n\t\t/><span data-dojo-attach-point=\"expandoNodeText\" class=\"dijitExpandoText\" role=\"presentation\"\n\t\t></span\n\t\t><span data-dojo-attach-point=\"contentNode\"\n\t\t\tclass=\"dijitTreeContent\" role=\"presentation\">\n\t\t\t<img src=\"${_blankGif}\" alt=\"\" data-dojo-attach-point=\"iconNode\" class=\"dijitIcon dijitTreeIcon\" role=\"presentation\"\n\t\t\t/><span data-dojo-attach-point=\"labelNode\" class=\"dijitTreeLabel\" role=\"treeitem\" tabindex=\"-1\" aria-selected=\"false\" data-dojo-attach-event=\"onfocus:_onLabelFocus\"></span>\n\t\t</span\n\t></div>\n\t<div data-dojo-attach-point=\"containerNode\" class=\"dijitTreeContainer\" role=\"presentation\" style=\"display: none;\"></div>\n</div>\n","dojo/dnd/TimedMoveable":function(){define(["../main","./Moveable"],function(dojo){var _317=dojo.dnd.Moveable.prototype.onMove;dojo.declare("dojo.dnd.TimedMoveable",dojo.dnd.Moveable,{timeout:40,constructor:function(node,_318){if(!_318){_318={};}if(_318.timeout&&typeof _318.timeout=="number"&&_318.timeout>=0){this.timeout=_318.timeout;}},onMoveStop:function(_319){if(_319._timer){clearTimeout(_319._timer);_317.call(this,_319,_319._leftTop);}dojo.dnd.Moveable.prototype.onMoveStop.apply(this,arguments);},onMove:function(_31a,_31b){_31a._leftTop=_31b;if(!_31a._timer){var _31c=this;_31a._timer=setTimeout(function(){_31a._timer=null;_317.call(_31c,_31a,_31a._leftTop);},this.timeout);}}});return dojo.dnd.TimedMoveable;});},"dijit/layout/LinkPane":function(){define(["./ContentPane","../_TemplatedMixin","dojo/_base/declare"],function(_31d,_31e,_31f){return _31f("dijit.layout.LinkPane",[_31d,_31e],{templateString:"<div class=\"dijitLinkPane\" data-dojo-attach-point=\"containerNode\"></div>",postMixInProperties:function(){if(this.srcNodeRef){this.title+=this.srcNodeRef.innerHTML;}this.inherited(arguments);},_fillContent:function(){}});});},"dijit/form/_ListMouseMixin":function(){define(["dojo/_base/declare","dojo/_base/event","dojo/touch","./_ListBase"],function(_320,_321,_322,_323){return _320("dijit.form._ListMouseMixin",_323,{postCreate:function(){this.inherited(arguments);this.connect(this.domNode,_322.press,"_onMouseDown");this.connect(this.domNode,_322.release,"_onMouseUp");this.connect(this.domNode,"onmouseover","_onMouseOver");this.connect(this.domNode,"onmouseout","_onMouseOut");},_onMouseDown:function(evt){_321.stop(evt);if(this._hoveredNode){this.onUnhover(this._hoveredNode);this._hoveredNode=null;}this._isDragging=true;this._setSelectedAttr(this._getTarget(evt));},_onMouseUp:function(evt){_321.stop(evt);this._isDragging=false;var _324=this._getSelectedAttr();var _325=this._getTarget(evt);var _326=this._hoveredNode;if(_324&&_325==_324){this.onClick(_324);}else{if(_326&&_325==_326){this._setSelectedAttr(_326);this.onClick(_326);}}},_onMouseOut:function(){if(this._hoveredNode){this.onUnhover(this._hoveredNode);if(this._getSelectedAttr()==this._hoveredNode){this.onSelect(this._hoveredNode);}this._hoveredNode=null;}if(this._isDragging){this._cancelDrag=(new Date()).getTime()+1000;}},_onMouseOver:function(evt){if(this._cancelDrag){var time=(new Date()).getTime();if(time>this._cancelDrag){this._isDragging=false;}this._cancelDrag=null;}var node=this._getTarget(evt);if(!node){return;}if(this._hoveredNode!=node){if(this._hoveredNode){this._onMouseOut({target:this._hoveredNode});}if(node&&node.parentNode==this.containerNode){if(this._isDragging){this._setSelectedAttr(node);}else{this._hoveredNode=node;this.onHover(node);}}}}});});},"url:dijit/templates/Tree.html":"<div class=\"dijitTree dijitTreeContainer\" role=\"tree\"\n\tdata-dojo-attach-event=\"onkeypress:_onKeyPress\">\n\t<div class=\"dijitInline dijitTreeIndent\" style=\"position: absolute; top: -9999px\" data-dojo-attach-point=\"indentDetector\"></div>\n</div>\n","dojo/cldr/monetary":function(){define(["../main"],function(dojo){dojo.getObject("cldr.monetary",true,dojo);dojo.cldr.monetary.getData=function(code){var _327={ADP:0,AFN:0,ALL:0,AMD:0,BHD:3,BIF:0,BYR:0,CLF:0,CLP:0,COP:0,CRC:0,DJF:0,ESP:0,GNF:0,GYD:0,HUF:0,IDR:0,IQD:0,IRR:3,ISK:0,ITL:0,JOD:3,JPY:0,KMF:0,KPW:0,KRW:0,KWD:3,LAK:0,LBP:0,LUF:0,LYD:3,MGA:0,MGF:0,MMK:0,MNT:0,MRO:0,MUR:0,OMR:3,PKR:0,PYG:0,RSD:0,RWF:0,SLL:0,SOS:0,STD:0,SYP:0,TMM:0,TND:3,TRL:0,TZS:0,UGX:0,UZS:0,VND:0,VUV:0,XAF:0,XOF:0,XPF:0,YER:0,ZMK:0,ZWD:0};var _328={CHF:5};var _329=_327[code],_32a=_328[code];if(typeof _329=="undefined"){_329=2;}if(typeof _32a=="undefined"){_32a=0;}return {places:_329,round:_32a};};return dojo.cldr.monetary;});},"dojo/cookie":function(){define(["./_base/kernel","./regexp"],function(dojo,_32b){dojo.cookie=function(name,_32c,_32d){var c=document.cookie,ret;if(arguments.length==1){var _32e=c.match(new RegExp("(?:^|; )"+_32b.escapeString(name)+"=([^;]*)"));ret=_32e?decodeURIComponent(_32e[1]):undefined;}else{_32d=_32d||{};var exp=_32d.expires;if(typeof exp=="number"){var d=new Date();d.setTime(d.getTime()+exp*24*60*60*1000);exp=_32d.expires=d;}if(exp&&exp.toUTCString){_32d.expires=exp.toUTCString();}_32c=encodeURIComponent(_32c);var _32f=name+"="+_32c,_330;for(_330 in _32d){_32f+="; "+_330;var _331=_32d[_330];if(_331!==true){_32f+="="+_331;}}document.cookie=_32f;}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;});},"url:dijit/form/templates/DropDownBox.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\"\n\tid=\"widget_${id}\"\n\trole=\"combobox\"\n\t><div class='dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton dijitArrowButtonContainer'\n\t\tdata-dojo-attach-point=\"_buttonNode, _popupStateNode\" role=\"presentation\"\n\t\t><input class=\"dijitReset dijitInputField dijitArrowButtonInner\" value=\"&#9660; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t\t${_buttonInputDisabled}\n\t/></div\n\t><div class='dijitReset dijitValidationContainer'\n\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t/></div\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class='dijitReset dijitInputInner' ${!nameAttrSetting} type=\"text\" autocomplete=\"off\"\n\t\t\tdata-dojo-attach-point=\"textbox,focusNode\" role=\"textbox\" aria-haspopup=\"true\"\n\t/></div\n></div>\n","dijit/ProgressBar":function(){define(["require","dojo/_base/declare","dojo/dom-class","dojo/_base/lang","dojo/number","./_Widget","./_TemplatedMixin","dojo/text!./templates/ProgressBar.html"],function(_332,_333,_334,lang,_335,_336,_337,_338){return _333("dijit.ProgressBar",[_336,_337],{progress:"0",value:"",maximum:100,places:0,indeterminate:false,label:"",name:"",templateString:_338,_indeterminateHighContrastImagePath:_332.toUrl("./themes/a11y/indeterminate_progress.gif"),postMixInProperties:function(){this.inherited(arguments);if(!("value" in this.params)){this.value=this.indeterminate?Infinity:this.progress;}},buildRendering:function(){this.inherited(arguments);this.indeterminateHighContrastImage.setAttribute("src",this._indeterminateHighContrastImagePath.toString());this.update();},update:function(_339){lang.mixin(this,_339||{});var tip=this.internalProgress,ap=this.domNode;var _33a=1;if(this.indeterminate){ap.removeAttribute("aria-valuenow");ap.removeAttribute("aria-valuemin");ap.removeAttribute("aria-valuemax");}else{if(String(this.progress).indexOf("%")!=-1){_33a=Math.min(parseFloat(this.progress)/100,1);this.progress=_33a*this.maximum;}else{this.progress=Math.min(this.progress,this.maximum);_33a=this.maximum?this.progress/this.maximum:0;}ap.setAttribute("aria-describedby",this.labelNode.id);ap.setAttribute("aria-valuenow",this.progress);ap.setAttribute("aria-valuemin",0);ap.setAttribute("aria-valuemax",this.maximum);}this.labelNode.innerHTML=this.report(_33a);_334.toggle(this.domNode,"dijitProgressBarIndeterminate",this.indeterminate);tip.style.width=(_33a*100)+"%";this.onChange();},_setValueAttr:function(v){this._set("value",v);if(v==Infinity){this.update({indeterminate:true});}else{this.update({indeterminate:false,progress:v});}},_setLabelAttr:function(_33b){this._set("label",_33b);this.update();},_setIndeterminateAttr:function(_33c){this.indeterminate=_33c;this.update();},report:function(_33d){return this.label?this.label:(this.indeterminate?"&#160;":_335.format(_33d,{type:"percent",places:this.places,locale:this.lang}));},onChange:function(){}});});},"dijit/form/NumberTextBox":function(){define(["dojo/_base/declare","dojo/_base/lang","dojo/number","./RangeBoundTextBox"],function(_33e,lang,_33f,_340){var _341=_33e("dijit.form.NumberTextBoxMixin",null,{regExpGen:_33f.regexp,value:NaN,editOptions:{pattern:"#.######"},_formatter:_33f.format,postMixInProperties:function(){this.inherited(arguments);this._set("type","text");},_setConstraintsAttr:function(_342){var _343=typeof _342.places=="number"?_342.places:0;if(_343){_343++;}if(typeof _342.max!="number"){_342.max=9*Math.pow(10,15-_343);}if(typeof _342.min!="number"){_342.min=-9*Math.pow(10,15-_343);}this.inherited(arguments,[_342]);if(this.focusNode&&this.focusNode.value&&!isNaN(this.value)){this.set("value",this.value);}},_onFocus:function(){if(this.disabled){return;}var val=this.get("value");if(typeof val=="number"&&!isNaN(val)){var _344=this.format(val,this.constraints);if(_344!==undefined){this.textbox.value=_344;}}this.inherited(arguments);},format:function(_345,_346){var _347=String(_345);if(typeof _345!="number"){return _347;}if(isNaN(_345)){return "";}if(!("rangeCheck" in this&&this.rangeCheck(_345,_346))&&_346.exponent!==false&&/\de[-+]?\d/i.test(_347)){return _347;}if(this.editOptions&&this.focused){_346=lang.mixin({},_346,this.editOptions);}return this._formatter(_345,_346);},_parser:_33f.parse,parse:function(_348,_349){var v=this._parser(_348,lang.mixin({},_349,(this.editOptions&&this.focused)?this.editOptions:{}));if(this.editOptions&&this.focused&&isNaN(v)){v=this._parser(_348,_349);}return v;},_getDisplayedValueAttr:function(){var v=this.inherited(arguments);return isNaN(v)?this.textbox.value:v;},filter:function(_34a){return (_34a===null||_34a===""||_34a===undefined)?NaN:this.inherited(arguments);},serialize:function(_34b,_34c){return (typeof _34b!="number"||isNaN(_34b))?"":this.inherited(arguments);},_setBlurValue:function(){var val=lang.hitch(lang.mixin({},this,{focused:true}),"get")("value");this._setValueAttr(val,true);},_setValueAttr:function(_34d,_34e,_34f){if(_34d!==undefined&&_34f===undefined){_34f=String(_34d);if(typeof _34d=="number"){if(isNaN(_34d)){_34f="";}else{if(("rangeCheck" in this&&this.rangeCheck(_34d,this.constraints))||this.constraints.exponent===false||!/\de[-+]?\d/i.test(_34f)){_34f=undefined;}}}else{if(!_34d){_34f="";_34d=NaN;}else{_34d=undefined;}}}this.inherited(arguments,[_34d,_34e,_34f]);},_getValueAttr:function(){var v=this.inherited(arguments);if(isNaN(v)&&this.textbox.value!==""){if(this.constraints.exponent!==false&&/\de[-+]?\d/i.test(this.textbox.value)&&(new RegExp("^"+_33f._realNumberRegexp(lang.mixin({},this.constraints))+"$").test(this.textbox.value))){var n=Number(this.textbox.value);return isNaN(n)?undefined:n;}else{return undefined;}}else{return v;}},isValid:function(_350){if(!this.focused||this._isEmpty(this.textbox.value)){return this.inherited(arguments);}else{var v=this.get("value");if(!isNaN(v)&&this.rangeCheck(v,this.constraints)){if(this.constraints.exponent!==false&&/\de[-+]?\d/i.test(this.textbox.value)){return true;}else{return this.inherited(arguments);}}else{return false;}}}});var _351=_33e("dijit.form.NumberTextBox",[_340,_341],{baseClass:"dijitTextBox dijitNumberTextBox"});_351.Mixin=_341;return _351;});},"dijit/form/TimeTextBox":function(){define("dijit/form/TimeTextBox",["dojo/_base/declare","dojo/keys","dojo/_base/lang","../_TimePicker","./_DateTimeTextBox"],function(_352,keys,lang,_353,_354){return _352("dijit.form.TimeTextBox",_354,{baseClass:"dijitTextBox dijitComboBox dijitTimeTextBox",popupClass:_353,_selector:"time",value:new Date(""),_onKey:function(evt){if(this.disabled||this.readOnly){return;}this.inherited(arguments);switch(evt.keyCode){case keys.ENTER:case keys.TAB:case keys.ESCAPE:case keys.DOWN_ARROW:case keys.UP_ARROW:break;default:setTimeout(lang.hitch(this,function(){var val=this.get("displayedValue");this.filterString=(val&&!this.parse(val,this.constraints))?val.toLowerCase():"";if(this._opened){this.closeDropDown();}this.openDropDown();}),0);}}});});},"dijit/ColorPalette":function(){define(["require","dojo/text!./templates/ColorPalette.html","./_Widget","./_TemplatedMixin","./_PaletteMixin","dojo/i18n","dojo/_base/Color","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/_base/window","dojo/string","dojo/i18n!dojo/nls/colors","dojo/colors"],function(_355,_356,_357,_358,_359,i18n,_35a,_35b,_35c,_35d,win,_35e){var _35f=_35b("dijit.ColorPalette",[_357,_358,_359],{palette:"7x10",_palettes:{"7x10":[["white","seashell","cornsilk","lemonchiffon","lightyellow","palegreen","paleturquoise","lightcyan","lavender","plum"],["lightgray","pink","bisque","moccasin","khaki","lightgreen","lightseagreen","lightskyblue","cornflowerblue","violet"],["silver","lightcoral","sandybrown","orange","palegoldenrod","chartreuse","mediumturquoise","skyblue","mediumslateblue","orchid"],["gray","red","orangered","darkorange","yellow","limegreen","darkseagreen","royalblue","slateblue","mediumorchid"],["dimgray","crimson","chocolate","coral","gold","forestgreen","seagreen","blue","blueviolet","darkorchid"],["darkslategray","firebrick","saddlebrown","sienna","olive","green","darkcyan","mediumblue","darkslateblue","darkmagenta"],["black","darkred","maroon","brown","darkolivegreen","darkgreen","midnightblue","navy","indigo","purple"]],"3x4":[["white","lime","green","blue"],["silver","yellow","fuchsia","navy"],["gray","red","purple","black"]]},templateString:_356,baseClass:"dijitColorPalette",_dyeFactory:function(_360,row,col){return new this._dyeClass(_360,row,col);},buildRendering:function(){this.inherited(arguments);this._dyeClass=_35b(_35f._Color,{hc:_35c.contains(win.body(),"dijit_a11y"),palette:this.palette});this._preparePalette(this._palettes[this.palette],i18n.getLocalization("dojo","colors",this.lang));}});_35f._Color=_35b("dijit._Color",_35a,{template:"<span class='dijitInline dijitPaletteImg'>"+"<img src='${blankGif}' alt='${alt}' class='dijitColorPaletteSwatch' style='background-color: ${color}'/>"+"</span>",hcTemplate:"<span class='dijitInline dijitPaletteImg' style='position: relative; overflow: hidden; height: 12px; width: 14px;'>"+"<img src='${image}' alt='${alt}' style='position: absolute; left: ${left}px; top: ${top}px; ${size}'/>"+"</span>",_imagePaths:{"7x10":_355.toUrl("./themes/a11y/colors7x10.png"),"3x4":_355.toUrl("./themes/a11y/colors3x4.png")},constructor:function(_361,row,col){this._alias=_361;this._row=row;this._col=col;this.setColor(_35a.named[_361]);},getValue:function(){return this.toHex();},fillCell:function(cell,_362){var html=_35e.substitute(this.hc?this.hcTemplate:this.template,{color:this.toHex(),blankGif:_362,alt:this._alias,image:this._imagePaths[this.palette].toString(),left:this._col*-20-5,top:this._row*-20-5,size:this.palette=="7x10"?"height: 145px; width: 206px":"height: 64px; width: 86px"});_35d.place(html,cell);}});return _35f;});},"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","dijit/form/CurrencyTextBox":function(){define(["dojo/currency","dojo/_base/declare","dojo/_base/lang","./NumberTextBox"],function(_363,_364,lang,_365){return _364("dijit.form.CurrencyTextBox",_365,{currency:"",baseClass:"dijitTextBox dijitCurrencyTextBox",regExpGen:function(_366){return "("+(this.focused?this.inherited(arguments,[lang.mixin({},_366,this.editOptions)])+"|":"")+_363.regexp(_366)+")";},_formatter:_363.format,_parser:_363.parse,parse:function(_367,_368){var v=this.inherited(arguments);if(isNaN(v)&&/\d+/.test(_367)){v=lang.hitch(lang.mixin({},this,{_parser:_365.prototype._parser}),"inherited")(arguments);}return v;},_setConstraintsAttr:function(_369){if(!_369.currency&&this.currency){_369.currency=this.currency;}this.inherited(arguments,[_363._mixInDefaults(lang.mixin(_369,{exponent:false}))]);}});});},"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","url:dijit/form/templates/CheckBox.html":"<div class=\"dijit dijitReset dijitInline\" role=\"presentation\"\n\t><input\n\t \t${!nameAttrSetting} type=\"${type}\" ${checkedAttrSetting}\n\t\tclass=\"dijitReset dijitCheckBoxInput\"\n\t\tdata-dojo-attach-point=\"focusNode\"\n\t \tdata-dojo-attach-event=\"onclick:_onClick\"\n/></div>\n","dojo/cldr/nls/gregorian":function(){define({root:{"months-format-narrow":["1","2","3","4","5","6","7","8","9","10","11","12"],"quarters-standAlone-narrow":["1","2","3","4"],"field-weekday":"Day of the Week","dateFormatItem-yQQQ":"y QQQ","dateFormatItem-yMEd":"EEE, y-M-d","dateFormatItem-MMMEd":"E MMM d","eraNarrow":["BCE","CE"],"dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateFormat-long":"y MMMM d","months-format-wide":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateTimeFormat-medium":"{1} {0}","dateFormatItem-EEEd":"d EEE","dayPeriods-format-wide-pm":"PM","dateFormat-full":"EEEE, y MMMM dd","dateFormatItem-Md":"M-d","dayPeriods-format-abbr-am":"AM","dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","field-era":"Era","dateFormatItem-yM":"y-M","months-standAlone-wide":["1","2","3","4","5","6","7","8","9","10","11","12"],"timeFormat-short":"HH:mm","quarters-format-wide":["Q1","Q2","Q3","Q4"],"timeFormat-long":"HH:mm:ss z","field-year":"Year","dateFormatItem-yMMM":"y MMM","dateFormatItem-yQ":"y Q","dateTimeFormats-appendItem-Era":"{0} {1}","field-hour":"Hour","months-format-abbr":["1","2","3","4","5","6","7","8","9","10","11","12"],"timeFormat-full":"HH:mm:ss zzzz","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","field-day-relative+0":"Today","field-day-relative+1":"Tomorrow","dateFormatItem-H":"HH","months-standAlone-abbr":["1","2","3","4","5","6","7","8","9","10","11","12"],"quarters-format-abbr":["Q1","Q2","Q3","Q4"],"quarters-standAlone-wide":["Q1","Q2","Q3","Q4"],"dateFormatItem-M":"L","days-standAlone-wide":["1","2","3","4","5","6","7"],"timeFormat-medium":"HH:mm:ss","dateFormatItem-Hm":"HH:mm","quarters-standAlone-abbr":["Q1","Q2","Q3","Q4"],"eraAbbr":["BCE","CE"],"field-minute":"Minute","field-dayperiod":"Dayperiod","days-standAlone-abbr":["1","2","3","4","5","6","7"],"dateFormatItem-d":"d","dateFormatItem-ms":"mm:ss","quarters-format-narrow":["1","2","3","4"],"field-day-relative+-1":"Yesterday","dateFormatItem-h":"h a","dateTimeFormat-long":"{1} {0}","dayPeriods-format-narrow-am":"AM","dateFormatItem-MMMd":"MMM d","dateFormatItem-MEd":"E, M-d","dateTimeFormat-full":"{1} {0}","field-day":"Day","days-format-wide":["1","2","3","4","5","6","7"],"field-zone":"Zone","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","dateFormatItem-y":"y","months-standAlone-narrow":["1","2","3","4","5","6","7","8","9","10","11","12"],"dateFormatItem-hm":"h:mm a","dateTimeFormats-appendItem-Year":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","dayPeriods-format-abbr-pm":"PM","days-format-abbr":["1","2","3","4","5","6","7"],"eraNames":["BCE","CE"],"days-format-narrow":["1","2","3","4","5","6","7"],"days-standAlone-narrow":["1","2","3","4","5","6","7"],"dateFormatItem-MMM":"LLL","field-month":"Month","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","dayPeriods-format-wide-am":"AM","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateFormat-short":"yyyy-MM-dd","field-second":"Second","dateFormatItem-yMMMEd":"EEE, y MMM d","dateTimeFormats-appendItem-Timezone":"{0} {1}","field-week":"Week","dateFormat-medium":"y MMM d","dayPeriods-format-narrow-pm":"PM","dateTimeFormat-short":"{1} {0}","dateFormatItem-Hms":"HH:mm:ss","dateFormatItem-hms":"h:mm:ss a"},"ar":true,"ca":true,"cs":true,"da":true,"de":true,"el":true,"en":true,"en-au":true,"en-ca":true,"en-gb":true,"es":true,"fi":true,"fr":true,"fr-ch":true,"he":true,"hu":true,"it":true,"ja":true,"ko":true,"nb":true,"nl":true,"pl":true,"pt":true,"pt-pt":true,"ro":true,"ru":true,"sk":true,"sl":true,"sv":true,"th":true,"tr":true,"zh":true,"zh-hant":true,"zh-hk":true,"zh-tw":true});},"url:dijit/form/templates/VerticalSlider.html":"<table class=\"dijit dijitReset dijitSlider dijitSliderV\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" rules=\"none\" data-dojo-attach-event=\"onkeypress:_onKeyPress,onkeyup:_onKeyUp\"\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\"></td\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerV\"\n\t\t\t><div class=\"dijitSliderIncrementIconV\" style=\"display:none\" data-dojo-attach-point=\"decrementButton\"><span class=\"dijitSliderButtonInner\">+</span></div\n\t\t></td\n\t\t><td class=\"dijitReset\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\"></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><center><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperV dijitSliderTopBumper\" data-dojo-attach-event=\"press:_onClkIncBumper\"></div></center\n\t\t></td\n\t\t><td class=\"dijitReset\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td data-dojo-attach-point=\"leftDecoration\" class=\"dijitReset dijitSliderDecoration dijitSliderDecorationL dijitSliderDecorationV\"></td\n\t\t><td class=\"dijitReset dijitSliderDecorationC\" style=\"height:100%;\"\n\t\t\t><input data-dojo-attach-point=\"valueNode\" type=\"hidden\" ${!nameAttrSetting}\n\t\t\t/><center class=\"dijitReset dijitSliderBarContainerV\" role=\"presentation\" data-dojo-attach-point=\"sliderBarContainer\"\n\t\t\t\t><div role=\"presentation\" data-dojo-attach-point=\"remainingBar\" class=\"dijitSliderBar dijitSliderBarV dijitSliderRemainingBar dijitSliderRemainingBarV\" data-dojo-attach-event=\"press:_onBarClick\"><!--#5629--></div\n\t\t\t\t><div role=\"presentation\" data-dojo-attach-point=\"progressBar\" class=\"dijitSliderBar dijitSliderBarV dijitSliderProgressBar dijitSliderProgressBarV\" data-dojo-attach-event=\"press:_onBarClick\"\n\t\t\t\t\t><div class=\"dijitSliderMoveable dijitSliderMoveableV\" style=\"vertical-align:top;\"\n\t\t\t\t\t\t><div data-dojo-attach-point=\"sliderHandle,focusNode\" class=\"dijitSliderImageHandle dijitSliderImageHandleV\" data-dojo-attach-event=\"press:_onHandleClick\" role=\"slider\" valuemin=\"${minimum}\" valuemax=\"${maximum}\"></div\n\t\t\t\t\t></div\n\t\t\t\t></div\n\t\t\t></center\n\t\t></td\n\t\t><td data-dojo-attach-point=\"containerNode,rightDecoration\" class=\"dijitReset dijitSliderDecoration dijitSliderDecorationR dijitSliderDecorationV\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\"></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><center><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperV dijitSliderBottomBumper\" data-dojo-attach-event=\"press:_onClkDecBumper\"></div></center\n\t\t></td\n\t\t><td class=\"dijitReset\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\"></td\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerV\"\n\t\t\t><div class=\"dijitSliderDecrementIconV\" style=\"display:none\" data-dojo-attach-point=\"incrementButton\"><span class=\"dijitSliderButtonInner\">-</span></div\n\t\t></td\n\t\t><td class=\"dijitReset\"></td\n\t></tr\n></table>\n","dijit/layout/LayoutContainer":function(){define(["dojo/_base/kernel","dojo/_base/lang","dojo/_base/declare","../_WidgetBase","./_LayoutWidget","./utils"],function(_36a,lang,_36b,_36c,_36d,_36e){lang.extend(_36c,{layoutAlign:"none"});return _36b("dijit.layout.LayoutContainer",_36d,{baseClass:"dijitLayoutContainer",constructor:function(){_36a.deprecated("dijit.layout.LayoutContainer is deprecated","use BorderContainer instead",2);},layout:function(){_36e.layoutChildren(this.domNode,this._contentBox,this.getChildren());},addChild:function(_36f,_370){this.inherited(arguments);if(this._started){_36e.layoutChildren(this.domNode,this._contentBox,this.getChildren());}},removeChild:function(_371){this.inherited(arguments);if(this._started){_36e.layoutChildren(this.domNode,this._contentBox,this.getChildren());}}});});},"dijit/Tooltip":function(){define(["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(_372,_373,fx,dom,_374,_375,_376,lang,has,win,_377,_378,_379,_37a,_37b,_37c,_37d){var _37e=_373("dijit._MasterTooltip",[_379,_37a],{duration:_377.defaultDuration,templateString:_37c,postCreate:function(){win.body().appendChild(this.domNode);this.bgIframe=new _37b(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(_37f,_380,_381,rtl,_382){if(this.aroundNode&&this.aroundNode===_380&&this.containerNode.innerHTML==_37f){return;}this.domNode.width="auto";if(this.fadeOut.status()=="playing"){this._onDeck=arguments;return;}this.containerNode.innerHTML=_37f;this.set("textDir",_382);this.containerNode.align=rtl?"right":"left";var pos=_378.around(this.domNode,_380,_381&&_381.length?_381:_383.defaultPosition,!rtl,lang.hitch(this,"orient"));var _384=pos.aroundNodePos;if(pos.corner.charAt(0)=="M"&&pos.aroundCorner.charAt(0)=="M"){this.connectorNode.style.top=_384.y+((_384.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=_384.x+((_384.w-this.connectorNode.offsetWidth)>>1)-pos.x+"px";}}_376.set(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=true;this.aroundNode=_380;},orient:function(node,_385,_386,_387,_388){this.connectorNode.style.top="";var _389=_387.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"}[_385+"-"+_386];this.domNode.style.width="auto";var size=_375.getContentBox(this.domNode);var _38a=Math.min((Math.max(_389,1)),size.w);var _38b=_38a<size.w;this.domNode.style.width=_38a+"px";if(_38b){this.containerNode.style.overflow="auto";var _38c=this.containerNode.scrollWidth;this.containerNode.style.overflow="visible";if(_38c>_38a){_38c=_38c+_376.get(this.domNode,"paddingLeft")+_376.get(this.domNode,"paddingRight");this.domNode.style.width=_38c+"px";}}if(_386.charAt(0)=="B"&&_385.charAt(0)=="B"){var mb=_375.getMarginBox(node);var _38d=this.connectorNode.offsetHeight;if(mb.h>_387.h){var _38e=_387.h-((_388.h+_38d)>>1);this.connectorNode.style.top=_38e+"px";this.connectorNode.style.bottom="";}else{this.connectorNode.style.bottom=Math.min(Math.max(_388.h/2-_38d/2,0),mb.h-_38d)+"px";this.connectorNode.style.top="";}}else{this.connectorNode.style.top="";this.connectorNode.style.bottom="";}return Math.max(0,size.w-_389);},_onShow:function(){if(has("ie")){this.domNode.style.filter="";}},hide:function(_38f){if(this._onDeck&&this._onDeck[1]==_38f){this._onDeck=null;}else{if(this.aroundNode===_38f){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);_372.forEach(node.children,function(_390){this._setAutoTextDir(_390);},this);},_setTextDirAttr:function(_391){this._set("textDir",typeof _391!="undefined"?_391:"");if(_391=="auto"){this._setAutoTextDir(this.containerNode);}else{this.containerNode.dir=this.textDir;}}});_37d.showTooltip=function(_392,_393,_394,rtl,_395){if(!_383._masterTT){_37d._masterTT=_383._masterTT=new _37e();}return _383._masterTT.show(_392,_393,_394,rtl,_395);};_37d.hideTooltip=function(_396){return _383._masterTT&&_383._masterTT.hide(_396);};var _383=_373("dijit.Tooltip",_379,{label:"",showDelay:400,connectId:[],position:[],_setConnectIdAttr:function(_397){_372.forEach(this._connections||[],function(_398){_372.forEach(_398,lang.hitch(this,"disconnect"));},this);this._connectIds=_372.filter(lang.isArrayLike(_397)?_397:(_397?[_397]:[]),function(id){return dom.byId(id);});this._connections=_372.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",_397);},addTarget:function(node){var id=node.id||node;if(_372.indexOf(this._connectIds,id)==-1){this.set("connectId",this._connectIds.concat(id));}},removeTarget:function(node){var id=node.id||node,idx=_372.indexOf(this._connectIds,id);if(idx>=0){this._connectIds.splice(idx,1);this.set("connectId",this._connectIds);}},buildRendering:function(){this.inherited(arguments);_374.add(this.domNode,"dijitTooltipData");},startup:function(){this.inherited(arguments);var ids=this.connectId;_372.forEach(lang.isArrayLike(ids)?ids:[ids],this.addTarget,this);},_onHover:function(e){if(!this._showTimer){var _399=e.target;this._showTimer=setTimeout(lang.hitch(this,function(){this.open(_399);}),this.showDelay);}},_onUnHover:function(){if(this._focus){return;}if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}this.close();},open:function(_39a){if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}_383.show(this.label||this.domNode.innerHTML,_39a,this.position,!this.isLeftToRight(),this.textDir);this._connectNode=_39a;this.onShow(_39a,this.position);},close:function(){if(this._connectNode){_383.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);}});_383._MasterTooltip=_37e;_383.show=_37d.showTooltip;_383.hide=_37d.hideTooltip;_383.defaultPosition=["after","before"];return _383;});},"url:dijit/templates/MenuSeparator.html":"<tr class=\"dijitMenuSeparator\">\n\t<td class=\"dijitMenuSeparatorIconCell\">\n\t\t<div class=\"dijitMenuSeparatorTop\"></div>\n\t\t<div class=\"dijitMenuSeparatorBottom\"></div>\n\t</td>\n\t<td colspan=\"3\" class=\"dijitMenuSeparatorLabelCell\">\n\t\t<div class=\"dijitMenuSeparatorTop dijitMenuSeparatorLabel\"></div>\n\t\t<div class=\"dijitMenuSeparatorBottom\"></div>\n\t</td>\n</tr>","dijit/form/VerticalSlider":function(){define(["dojo/_base/declare","./HorizontalSlider","dojo/text!./templates/VerticalSlider.html"],function(_39b,_39c,_39d){return _39b("dijit.form.VerticalSlider",_39c,{templateString:_39d,_mousePixelCoord:"pageY",_pixelCount:"h",_startingPixelCoord:"y",_handleOffsetCoord:"top",_progressPixelSize:"height",_descending:true,_isReversed:function(){return this._descending;}});});},"dijit/form/DropDownButton":function(){define(["dojo/_base/declare","dojo/_base/lang","dojo/query","../registry","../popup","./Button","../_Container","../_HasDropDown","dojo/text!./templates/DropDownButton.html"],function(_39e,lang,_39f,_3a0,_3a1,_3a2,_3a3,_3a4,_3a5){return _39e("dijit.form.DropDownButton",[_3a2,_3a3,_3a4],{baseClass:"dijitDropDownButton",templateString:_3a5,_fillContent:function(){if(this.srcNodeRef){var _3a6=_39f("*",this.srcNodeRef);this.inherited(arguments,[_3a6[0]]);this.dropDownContainer=this.srcNodeRef;}},startup:function(){if(this._started){return;}if(!this.dropDown&&this.dropDownContainer){var _3a7=_39f("[widgetId]",this.dropDownContainer)[0];this.dropDown=_3a0.byNode(_3a7);delete this.dropDownContainer;}if(this.dropDown){_3a1.hide(this.dropDown);}this.inherited(arguments);},isLoaded:function(){var _3a8=this.dropDown;return (!!_3a8&&(!_3a8.href||_3a8.isLoaded));},loadDropDown:function(_3a9){var _3aa=this.dropDown;var _3ab=_3aa.on("load",lang.hitch(this,function(){_3ab.remove();_3a9();}));_3aa.refresh();},isFocusable:function(){return this.inherited(arguments)&&!this._mouseDown;}});});},"url:dijit/templates/ProgressBar.html":"<div class=\"dijitProgressBar dijitProgressBarEmpty\" role=\"progressbar\"\n\t><div  data-dojo-attach-point=\"internalProgress\" class=\"dijitProgressBarFull\"\n\t\t><div class=\"dijitProgressBarTile\" role=\"presentation\"></div\n\t\t><span style=\"visibility:hidden\">&#160;</span\n\t></div\n\t><div data-dojo-attach-point=\"labelNode\" class=\"dijitProgressBarLabel\" id=\"${id}_label\"></div\n\t><img data-dojo-attach-point=\"indeterminateHighContrastImage\" class=\"dijitProgressBarIndeterminateHighContrastImage\" alt=\"\"\n/></div>\n","dojo/date":function(){define(["./_base/kernel","./_base/lang"],function(dojo,lang){lang.getObject("date",true,dojo);dojo.date.getDaysInMonth=function(_3ac){var _3ad=_3ac.getMonth();var days=[31,28,31,30,31,30,31,31,30,31,30,31];if(_3ad==1&&dojo.date.isLeapYear(_3ac)){return 29;}return days[_3ad];};dojo.date.isLeapYear=function(_3ae){var year=_3ae.getFullYear();return !(year%400)||(!(year%4)&&!!(year%100));};dojo.date.getTimezoneName=function(_3af){var str=_3af.toString();var tz="";var _3b0;var pos=str.indexOf("(");if(pos>-1){tz=str.substring(++pos,str.indexOf(")"));}else{var pat=/([A-Z\/]+) \d{4}$/;if((_3b0=str.match(pat))){tz=_3b0[1];}else{str=_3af.toLocaleString();pat=/ ([A-Z\/]+)$/;if((_3b0=str.match(pat))){tz=_3b0[1];}}}return (tz=="AM"||tz=="PM")?"":tz;};dojo.date.compare=function(_3b1,_3b2,_3b3){_3b1=new Date(+_3b1);_3b2=new Date(+(_3b2||new Date()));if(_3b3=="date"){_3b1.setHours(0,0,0,0);_3b2.setHours(0,0,0,0);}else{if(_3b3=="time"){_3b1.setFullYear(0,0,0);_3b2.setFullYear(0,0,0);}}if(_3b1>_3b2){return 1;}if(_3b1<_3b2){return -1;}return 0;};dojo.date.add=function(date,_3b4,_3b5){var sum=new Date(+date);var _3b6=false;var _3b7="Date";switch(_3b4){case "day":break;case "weekday":var days,_3b8;var mod=_3b5%5;if(!mod){days=(_3b5>0)?5:-5;_3b8=(_3b5>0)?((_3b5-5)/5):((_3b5+5)/5);}else{days=mod;_3b8=parseInt(_3b5/5);}var strt=date.getDay();var adj=0;if(strt==6&&_3b5>0){adj=1;}else{if(strt==0&&_3b5<0){adj=-1;}}var trgt=strt+days;if(trgt==0||trgt==6){adj=(_3b5>0)?2:-2;}_3b5=(7*_3b8)+days+adj;break;case "year":_3b7="FullYear";_3b6=true;break;case "week":_3b5*=7;break;case "quarter":_3b5*=3;case "month":_3b6=true;_3b7="Month";break;default:_3b7="UTC"+_3b4.charAt(0).toUpperCase()+_3b4.substring(1)+"s";}if(_3b7){sum["set"+_3b7](sum["get"+_3b7]()+_3b5);}if(_3b6&&(sum.getDate()<date.getDate())){sum.setDate(0);}return sum;};dojo.date.difference=function(_3b9,_3ba,_3bb){_3ba=_3ba||new Date();_3bb=_3bb||"day";var _3bc=_3ba.getFullYear()-_3b9.getFullYear();var _3bd=1;switch(_3bb){case "quarter":var m1=_3b9.getMonth();var m2=_3ba.getMonth();var q1=Math.floor(m1/3)+1;var q2=Math.floor(m2/3)+1;q2+=(_3bc*4);_3bd=q2-q1;break;case "weekday":var days=Math.round(dojo.date.difference(_3b9,_3ba,"day"));var _3be=parseInt(dojo.date.difference(_3b9,_3ba,"week"));var mod=days%7;if(mod==0){days=_3be*5;}else{var adj=0;var aDay=_3b9.getDay();var bDay=_3ba.getDay();_3be=parseInt(days/7);mod=days%7;var _3bf=new Date(_3b9);_3bf.setDate(_3bf.getDate()+(_3be*7));var _3c0=_3bf.getDay();if(days>0){switch(true){case aDay==6:adj=-1;break;case aDay==0:adj=0;break;case bDay==6:adj=-1;break;case bDay==0:adj=-2;break;case (_3c0+mod)>5:adj=-2;}}else{if(days<0){switch(true){case aDay==6:adj=0;break;case aDay==0:adj=1;break;case bDay==6:adj=2;break;case bDay==0:adj=1;break;case (_3c0+mod)<0:adj=2;}}}days+=adj;days-=(_3be*2);}_3bd=days;break;case "year":_3bd=_3bc;break;case "month":_3bd=(_3ba.getMonth()-_3b9.getMonth())+(_3bc*12);break;case "week":_3bd=parseInt(dojo.date.difference(_3b9,_3ba,"day")/7);break;case "day":_3bd/=24;case "hour":_3bd/=60;case "minute":_3bd/=60;case "second":_3bd/=1000;case "millisecond":_3bd*=_3ba.getTime()-_3b9.getTime();}return Math.round(_3bd);};return dojo.date;});},"dijit/layout/_ContentPaneResizeMixin":function(){define(["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(_3c1,_3c2,_3c3,_3c4,_3c5,lang,_3c6,has,win,_3c7,_3c8,_3c9){return _3c2("dijit.layout._ContentPaneResizeMixin",null,{doLayout:true,isLayoutContainer:true,startup:function(){if(this._started){return;}var _3ca=this.getParent();this._childOfLayoutWidget=_3ca&&_3ca.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 _3cb=_3c6("> *",this.containerNode).filter(function(node){return node.tagName!=="SCRIPT";}),_3cc=_3cb.filter(function(node){return _3c3.has(node,"data-dojo-type")||_3c3.has(node,"dojoType")||_3c3.has(node,"widgetId");}),_3cd=_3c1.filter(_3cc.map(_3c7.byNode),function(_3ce){return _3ce&&_3ce.domNode&&_3ce.resize;});if(_3cb.length==_3cc.length&&_3cd.length==1){this._singleChild=_3cd[0];}else{delete this._singleChild;}_3c4.toggle(this.containerNode,this.baseClass+"SingleChild",!!this._singleChild);},resize:function(_3cf,_3d0){if(!this._wasShown&&this.open!==false){this._onShow();}this._resizeCalled=true;this._scheduleLayout(_3cf,_3d0);},_scheduleLayout:function(_3d1,_3d2){if(this._isShown()){this._layout(_3d1,_3d2);}else{this._needLayout=true;this._changeSize=_3d1;this._resultSize=_3d2;}},_layout:function(_3d3,_3d4){if(_3d3){_3c5.setMarginBox(this.domNode,_3d3);}var cn=this.containerNode;if(cn===this.domNode){var mb=_3d4||{};lang.mixin(mb,_3d3||{});if(!("h" in mb)||!("w" in mb)){mb=lang.mixin(_3c5.getMarginBox(cn),mb);}this._contentBox=_3c8.marginBox2contentBox(cn,mb);}else{this._contentBox=_3c5.getContentBox(cn);}this._layoutChildren();delete this._needLayout;},_layoutChildren:function(){if(this.doLayout){this._checkIfSingleChild();}if(this._singleChild&&this._singleChild.resize){var cb=this._contentBox||_3c5.getContentBox(this.containerNode);this._singleChild.resize({w:cb.w,h:cb.h});}else{_3c1.forEach(this.getChildren(),function(_3d5){if(_3d5.resize){_3d5.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,_3d6=this.domNode.parentNode;return (node.style.display!="none")&&(node.style.visibility!="hidden")&&!_3c4.contains(node,"dijitHidden")&&_3d6&&_3d6.style&&(_3d6.style.display!="none");}}},_onShow:function(){if(this._needLayout){this._layout(this._changeSize,this._resultSize);}this.inherited(arguments);this._wasShown=true;}});});},"dijit/form/RangeBoundTextBox":function(){define(["dojo/_base/declare","dojo/i18n","./MappedTextBox"],function(_3d7,i18n,_3d8){return _3d7("dijit.form.RangeBoundTextBox",_3d8,{rangeMessage:"",rangeCheck:function(_3d9,_3da){return ("min" in _3da?(this.compare(_3d9,_3da.min)>=0):true)&&("max" in _3da?(this.compare(_3d9,_3da.max)<=0):true);},isInRange:function(){return this.rangeCheck(this.get("value"),this.constraints);},_isDefinitelyOutOfRange:function(){var val=this.get("value");var _3db=false;var _3dc=false;if("min" in this.constraints){var min=this.constraints.min;min=this.compare(val,((typeof min=="number")&&min>=0&&val!=0)?0:min);_3db=(typeof min=="number")&&min<0;}if("max" in this.constraints){var max=this.constraints.max;max=this.compare(val,((typeof max!="number")||max>0)?max:0);_3dc=(typeof max=="number")&&max>0;}return _3db||_3dc;},_isValidSubset:function(){return this.inherited(arguments)&&!this._isDefinitelyOutOfRange();},isValid:function(_3dd){return this.inherited(arguments)&&((this._isEmpty(this.textbox.value)&&!this.required)||this.isInRange(_3dd));},getErrorMessage:function(_3de){var v=this.get("value");if(v!==null&&v!==""&&v!==undefined&&(typeof v!="number"||!isNaN(v))&&!this.isInRange(_3de)){return this.rangeMessage;}return this.inherited(arguments);},postMixInProperties:function(){this.inherited(arguments);if(!this.rangeMessage){this.messages=i18n.getLocalization("dijit.form","validate",this.lang);this.rangeMessage=this.messages.rangeMessage;}},_setConstraintsAttr:function(_3df){this.inherited(arguments);if(this.focusNode){if(this.constraints.min!==undefined){this.focusNode.setAttribute("aria-valuemin",this.constraints.min);}else{this.focusNode.removeAttribute("aria-valuemin");}if(this.constraints.max!==undefined){this.focusNode.setAttribute("aria-valuemax",this.constraints.max);}else{this.focusNode.removeAttribute("aria-valuemax");}}},_setValueAttr:function(_3e0,_3e1){this.focusNode.setAttribute("aria-valuenow",_3e0);this.inherited(arguments);},applyTextDir:function(){}});});},"dijit/_editor/RichText":function(){define("dijit/_editor/RichText",["dojo/_base/array","dojo/_base/config","dojo/_base/declare","dojo/_base/Deferred","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/_base/event","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/on","dojo/query","dojo/ready","dojo/_base/sniff","dojo/topic","dojo/_base/unload","dojo/_base/url","dojo/_base/window","../_Widget","../_CssStateMixin","./selection","./range","./html","../focus",".."],function(_3e2,_3e3,_3e4,_3e5,dom,_3e6,_3e7,_3e8,_3e9,_3ea,_3eb,_3ec,keys,lang,on,_3ed,_3ee,has,_3ef,_3f0,_3f1,win,_3f2,_3f3,_3f4,_3f5,_3f6,_3f7,_3f8){var _3f9=_3e4("dijit._editor.RichText",[_3f2,_3f3],{constructor:function(_3fa){this.contentPreFilters=[];this.contentPostFilters=[];this.contentDomPreFilters=[];this.contentDomPostFilters=[];this.editingAreaStyleSheets=[];this.events=[].concat(this.events);this._keyHandlers={};if(_3fa&&lang.isString(_3fa.value)){this.value=_3fa.value;}this.onLoadDeferred=new _3e5();},baseClass:"dijitEditor",inheritWidth:false,focusOnLoad:false,name:"",styleSheets:"",height:"300px",minHeight:"1em",isClosed:true,isLoaded:false,_SEPARATOR:"@@**%%__RICHTEXTBOUNDRY__%%**@@",_NAME_CONTENT_SEP:"@@**%%:%%**@@",onLoadDeferred:null,isTabIndent:false,disableSpellCheck:false,postCreate:function(){if("textarea"===this.domNode.tagName.toLowerCase()){console.warn("RichText should not be used with the TEXTAREA tag.  See dijit._editor.RichText docs.");}this.contentPreFilters=[lang.hitch(this,"_preFixUrlAttributes")].concat(this.contentPreFilters);if(has("mozilla")){this.contentPreFilters=[this._normalizeFontStyle].concat(this.contentPreFilters);this.contentPostFilters=[this._removeMozBogus].concat(this.contentPostFilters);}if(has("webkit")){this.contentPreFilters=[this._removeWebkitBogus].concat(this.contentPreFilters);this.contentPostFilters=[this._removeWebkitBogus].concat(this.contentPostFilters);}if(has("ie")){this.contentPostFilters=[this._normalizeFontStyle].concat(this.contentPostFilters);this.contentDomPostFilters=[lang.hitch(this,this._stripBreakerNodes)].concat(this.contentDomPostFilters);}this.inherited(arguments);_3ef.publish(_3f8._scopeName+"._editor.RichText::init",this);this.open();this.setupDefaultShortcuts();},setupDefaultShortcuts:function(){var exec=lang.hitch(this,function(cmd,arg){return function(){return !this.execCommand(cmd,arg);};});var _3fb={b:exec("bold"),i:exec("italic"),u:exec("underline"),a:exec("selectall"),s:function(){this.save(true);},m:function(){this.isTabIndent=!this.isTabIndent;},"1":exec("formatblock","h1"),"2":exec("formatblock","h2"),"3":exec("formatblock","h3"),"4":exec("formatblock","h4"),"\\":exec("insertunorderedlist")};if(!has("ie")){_3fb.Z=exec("redo");}var key;for(key in _3fb){this.addKeyHandler(key,true,false,_3fb[key]);}},events:["onKeyPress","onKeyDown","onKeyUp"],captureEvents:[],_editorCommandsLocalized:false,_localizeEditorCommands:function(){if(_3f9._editorCommandsLocalized){this._local2NativeFormatNames=_3f9._local2NativeFormatNames;this._native2LocalFormatNames=_3f9._native2LocalFormatNames;return;}_3f9._editorCommandsLocalized=true;_3f9._local2NativeFormatNames={};_3f9._native2LocalFormatNames={};this._local2NativeFormatNames=_3f9._local2NativeFormatNames;this._native2LocalFormatNames=_3f9._native2LocalFormatNames;var _3fc=["div","p","pre","h1","h2","h3","h4","h5","h6","ol","ul","address"];var _3fd="",_3fe,i=0;while((_3fe=_3fc[i++])){if(_3fe.charAt(1)!=="l"){_3fd+="<"+_3fe+"><span>content</span></"+_3fe+"><br/>";}else{_3fd+="<"+_3fe+"><li>content</li></"+_3fe+"><br/>";}}var _3ff={position:"absolute",top:"0px",zIndex:10,opacity:0.01};var div=_3e8.create("div",{style:_3ff,innerHTML:_3fd});win.body().appendChild(div);var _400=lang.hitch(this,function(){var node=div.firstChild;while(node){try{_3f4.selectElement(node.firstChild);var _401=node.tagName.toLowerCase();this._local2NativeFormatNames[_401]=document.queryCommandValue("formatblock");this._native2LocalFormatNames[this._local2NativeFormatNames[_401]]=_401;node=node.nextSibling.nextSibling;}catch(e){}}div.parentNode.removeChild(div);div.innerHTML="";});setTimeout(_400,0);},open:function(_402){if(!this.onLoadDeferred||this.onLoadDeferred.fired>=0){this.onLoadDeferred=new _3e5();}if(!this.isClosed){this.close();}_3ef.publish(_3f8._scopeName+"._editor.RichText::open",this);if(arguments.length===1&&_402.nodeName){this.domNode=_402;}var dn=this.domNode;var html;if(lang.isString(this.value)){html=this.value;delete this.value;dn.innerHTML="";}else{if(dn.nodeName&&dn.nodeName.toLowerCase()=="textarea"){var ta=(this.textarea=dn);this.name=ta.name;html=ta.value;dn=this.domNode=win.doc.createElement("div");dn.setAttribute("widgetId",this.id);ta.removeAttribute("widgetId");dn.cssText=ta.cssText;dn.className+=" "+ta.className;_3e8.place(dn,ta,"before");var _403=lang.hitch(this,function(){_3ea.set(ta,{display:"block",position:"absolute",top:"-1000px"});if(has("ie")){var s=ta.style;this.__overflow=s.overflow;s.overflow="hidden";}});if(has("ie")){setTimeout(_403,10);}else{_403();}if(ta.form){var _404=ta.value;this.reset=function(){var _405=this.getValue();if(_405!==_404){this.replaceValue(_404);}};on(ta.form,"submit",lang.hitch(this,function(){_3e6.set(ta,"disabled",this.disabled);ta.value=this.getValue();}));}}else{html=_3f6.getChildrenHtml(dn);dn.innerHTML="";}}this.value=html;if(dn.nodeName&&dn.nodeName==="LI"){dn.innerHTML=" <br>";}this.header=dn.ownerDocument.createElement("div");dn.appendChild(this.header);this.editingArea=dn.ownerDocument.createElement("div");dn.appendChild(this.editingArea);this.footer=dn.ownerDocument.createElement("div");dn.appendChild(this.footer);if(!this.name){this.name=this.id+"_AUTOGEN";}if(this.name!==""&&(!_3e3["useXDomain"]||_3e3["allowXdRichTextSave"])){var _406=dom.byId(_3f8._scopeName+"._editor.RichText.value");if(_406&&_406.value!==""){var _407=_406.value.split(this._SEPARATOR),i=0,dat;while((dat=_407[i++])){var data=dat.split(this._NAME_CONTENT_SEP);if(data[0]===this.name){html=data[1];_407=_407.splice(i,1);_406.value=_407.join(this._SEPARATOR);break;}}}if(!_3f9._globalSaveHandler){_3f9._globalSaveHandler={};_3f0.addOnUnload(function(){var id;for(id in _3f9._globalSaveHandler){var f=_3f9._globalSaveHandler[id];if(lang.isFunction(f)){f();}}});}_3f9._globalSaveHandler[this.id]=lang.hitch(this,"_saveContent");}this.isClosed=false;var ifr=(this.editorObject=this.iframe=win.doc.createElement("iframe"));ifr.id=this.id+"_iframe";this._iframeSrc=this._getIframeDocTxt();ifr.style.border="none";ifr.style.width="100%";if(this._layoutMode){ifr.style.height="100%";}else{if(has("ie")>=7){if(this.height){ifr.style.height=this.height;}if(this.minHeight){ifr.style.minHeight=this.minHeight;}}else{ifr.style.height=this.height?this.height:this.minHeight;}}ifr.frameBorder=0;ifr._loadFunc=lang.hitch(this,function(w){this.window=w;this.document=this.window.document;if(has("ie")){this._localizeEditorCommands();}this.onLoad(html);});var _408="parent."+_3f8._scopeName+".byId(\""+this.id+"\")._iframeSrc";var s="javascript:(function(){try{return "+_408+"}catch(e){document.open();document.domain=\""+document.domain+"\";document.write("+_408+");document.close();}})()";ifr.setAttribute("src",s);this.editingArea.appendChild(ifr);if(has("safari")<=4){var src=ifr.getAttribute("src");if(!src||src.indexOf("javascript")===-1){setTimeout(function(){ifr.setAttribute("src",s);},0);}}if(dn.nodeName==="LI"){dn.lastChild.style.marginTop="-1.2em";}_3e7.add(this.domNode,this.baseClass);},_local2NativeFormatNames:{},_native2LocalFormatNames:{},_getIframeDocTxt:function(){var _409=_3ea.getComputedStyle(this.domNode);var html="";var _40a=true;if(has("ie")||has("webkit")||(!this.height&&!has("mozilla"))){html="<div id='dijitEditorBody'></div>";_40a=false;}else{if(has("mozilla")){this._cursorToStart=true;html="&#160;";}}var font=[_409.fontWeight,_409.fontSize,_409.fontFamily].join(" ");var _40b=_409.lineHeight;if(_40b.indexOf("px")>=0){_40b=parseFloat(_40b)/parseFloat(_409.fontSize);}else{if(_40b.indexOf("em")>=0){_40b=parseFloat(_40b);}else{_40b="normal";}}var _40c="";var self=this;this.style.replace(/(^|;)\s*(line-|font-?)[^;]+/ig,function(_40d){_40d=_40d.replace(/^;/ig,"")+";";var s=_40d.split(":")[0];if(s){s=lang.trim(s);s=s.toLowerCase();var i;var sC="";for(i=0;i<s.length;i++){var c=s.charAt(i);switch(c){case "-":i++;c=s.charAt(i).toUpperCase();default:sC+=c;}}_3ea.set(self.domNode,sC,"");}_40c+=_40d+";";});var _40e=_3ed("label[for=\""+this.id+"\"]");return [this.isLeftToRight()?"<html>\n<head>\n":"<html dir='rtl'>\n<head>\n",(has("mozilla")&&_40e.length?"<title>"+_40e[0].innerHTML+"</title>\n":""),"<meta http-equiv='Content-Type' content='text/html'>\n","<style>\n","\tbody,html {\n","\t\tbackground:transparent;\n","\t\tpadding: 1px 0 0 0;\n","\t\tmargin: -1px 0 0 0;\n",((has("webkit"))?"\t\twidth: 100%;\n":""),((has("webkit"))?"\t\theight: 100%;\n":""),"\t}\n","\tbody{\n","\t\ttop:0px;\n","\t\tleft:0px;\n","\t\tright:0px;\n","\t\tfont:",font,";\n",((this.height||has("opera"))?"":"\t\tposition: fixed;\n"),"\t\tmin-height:",this.minHeight,";\n","\t\tline-height:",_40b,";\n","\t}\n","\tp{ margin: 1em 0; }\n",(!_40a&&!this.height?"\tbody,html {overflow-y: hidden;}\n":""),"\t#dijitEditorBody{overflow-x: auto; overflow-y:"+(this.height?"auto;":"hidden;")+" outline: 0px;}\n","\tli > ul:-moz-first-node, li > ol:-moz-first-node{ padding-top: 1.2em; }\n",(!has("ie")?"\tli{ min-height:1.2em; }\n":""),"</style>\n",this._applyEditingAreaStyleSheets(),"\n","</head>\n<body ",(_40a?"id='dijitEditorBody' ":""),"onload='frameElement._loadFunc(window,document)' style='"+_40c+"'>",html,"</body>\n</html>"].join("");},_applyEditingAreaStyleSheets:function(){var _40f=[];if(this.styleSheets){_40f=this.styleSheets.split(";");this.styleSheets="";}_40f=_40f.concat(this.editingAreaStyleSheets);this.editingAreaStyleSheets=[];var text="",i=0,url;while((url=_40f[i++])){var _410=(new _3f1(win.global.location,url)).toString();this.editingAreaStyleSheets.push(_410);text+="<link rel=\"stylesheet\" type=\"text/css\" href=\""+_410+"\"/>";}return text;},addStyleSheet:function(uri){var url=uri.toString();if(url.charAt(0)==="."||(url.charAt(0)!=="/"&&!uri.host)){url=(new _3f1(win.global.location,url)).toString();}if(_3e2.indexOf(this.editingAreaStyleSheets,url)>-1){return;}this.editingAreaStyleSheets.push(url);this.onLoadDeferred.addCallback(lang.hitch(this,function(){if(this.document.createStyleSheet){this.document.createStyleSheet(url);}else{var head=this.document.getElementsByTagName("head")[0];var _411=this.document.createElement("link");_411.rel="stylesheet";_411.type="text/css";_411.href=url;head.appendChild(_411);}}));},removeStyleSheet:function(uri){var url=uri.toString();if(url.charAt(0)==="."||(url.charAt(0)!=="/"&&!uri.host)){url=(new _3f1(win.global.location,url)).toString();}var _412=_3e2.indexOf(this.editingAreaStyleSheets,url);if(_412===-1){return;}delete this.editingAreaStyleSheets[_412];win.withGlobal(this.window,"query",dojo,["link:[href=\""+url+"\"]"]).orphan();},disabled:false,_mozSettingProps:{"styleWithCSS":false},_setDisabledAttr:function(_413){_413=!!_413;this._set("disabled",_413);if(!this.isLoaded){return;}if(has("ie")||has("webkit")||has("opera")){var _414=has("ie")&&(this.isLoaded||!this.focusOnLoad);if(_414){this.editNode.unselectable="on";}this.editNode.contentEditable=!_413;if(_414){var _415=this;setTimeout(function(){if(_415.editNode){_415.editNode.unselectable="off";}},0);}}else{try{this.document.designMode=(_413?"off":"on");}catch(e){return;}if(!_413&&this._mozSettingProps){var ps=this._mozSettingProps;var n;for(n in ps){if(ps.hasOwnProperty(n)){try{this.document.execCommand(n,false,ps[n]);}catch(e2){}}}}}this._disabledOK=true;},onLoad:function(html){if(!this.window.__registeredWindow){this.window.__registeredWindow=true;this._iframeRegHandle=_3f7.registerIframe(this.iframe);}if(!has("ie")&&!has("webkit")&&(this.height||has("mozilla"))){this.editNode=this.document.body;}else{this.editNode=this.document.body.firstChild;var _416=this;if(has("ie")){this.tabStop=_3e8.create("div",{tabIndex:-1},this.editingArea);this.iframe.onfocus=function(){_416.editNode.setActive();};}}this.focusNode=this.editNode;var _417=this.events.concat(this.captureEvents);var ap=this.iframe?this.document:this.editNode;_3e2.forEach(_417,function(item){this.connect(ap,item.toLowerCase(),item);},this);this.connect(ap,"onmouseup","onClick");if(has("ie")){this.connect(this.document,"onmousedown","_onIEMouseDown");this.editNode.style.zoom=1;}else{this.connect(this.document,"onmousedown",function(){delete this._cursorToStart;});}if(has("webkit")){this._webkitListener=this.connect(this.document,"onmouseup","onDisplayChanged");this.connect(this.document,"onmousedown",function(e){var t=e.target;if(t&&(t===this.document.body||t===this.document)){setTimeout(lang.hitch(this,"placeCursorAtEnd"),0);}});}if(has("ie")){try{this.document.execCommand("RespectVisibilityInDesign",true,null);}catch(e){}}this.isLoaded=true;this.set("disabled",this.disabled);var _418=lang.hitch(this,function(){this.setValue(html);if(this.onLoadDeferred){this.onLoadDeferred.callback(true);}this.onDisplayChanged();if(this.focusOnLoad){_3ee(lang.hitch(this,function(){setTimeout(lang.hitch(this,"focus"),this.updateInterval);}));}this.value=this.getValue(true);});if(this.setValueDeferred){this.setValueDeferred.addCallback(_418);}else{_418();}},onKeyDown:function(e){if(e.keyCode===keys.TAB&&this.isTabIndent){_3eb.stop(e);if(this.queryCommandEnabled((e.shiftKey?"outdent":"indent"))){this.execCommand((e.shiftKey?"outdent":"indent"));}}if(has("ie")){if(e.keyCode==keys.TAB&&!this.isTabIndent){if(e.shiftKey&&!e.ctrlKey&&!e.altKey){this.iframe.focus();}else{if(!e.shiftKey&&!e.ctrlKey&&!e.altKey){this.tabStop.focus();}}}else{if(e.keyCode===keys.BACKSPACE&&this.document.selection.type==="Control"){_3eb.stop(e);this.execCommand("delete");}else{if((65<=e.keyCode&&e.keyCode<=90)||(e.keyCode>=37&&e.keyCode<=40)){e.charCode=e.keyCode;this.onKeyPress(e);}}}}if(has("ff")){if(e.keyCode===keys.PAGE_UP||e.keyCode===keys.PAGE_DOWN){if(this.editNode.clientHeight>=this.editNode.scrollHeight){e.preventDefault();}}}return true;},onKeyUp:function(){},setDisabled:function(_419){_3ec.deprecated("dijit.Editor::setDisabled is deprecated","use dijit.Editor::attr(\"disabled\",boolean) instead",2);this.set("disabled",_419);},_setValueAttr:function(_41a){this.setValue(_41a);},_setDisableSpellCheckAttr:function(_41b){if(this.document){_3e6.set(this.document.body,"spellcheck",!_41b);}else{this.onLoadDeferred.addCallback(lang.hitch(this,function(){_3e6.set(this.document.body,"spellcheck",!_41b);}));}this._set("disableSpellCheck",_41b);},onKeyPress:function(e){var c=(e.keyChar&&e.keyChar.toLowerCase())||e.keyCode,_41c=this._keyHandlers[c],args=arguments;if(_41c&&!e.altKey){_3e2.some(_41c,function(h){if(!(h.shift^e.shiftKey)&&!(h.ctrl^(e.ctrlKey||e.metaKey))){if(!h.handler.apply(this,args)){e.preventDefault();}return true;}},this);}if(!this._onKeyHitch){this._onKeyHitch=lang.hitch(this,"onKeyPressed");}setTimeout(this._onKeyHitch,1);return true;},addKeyHandler:function(key,ctrl,_41d,_41e){if(!lang.isArray(this._keyHandlers[key])){this._keyHandlers[key]=[];}this._keyHandlers[key].push({shift:_41d||false,ctrl:ctrl||false,handler:_41e});},onKeyPressed:function(){this.onDisplayChanged();},onClick:function(e){this.onDisplayChanged(e);},_onIEMouseDown:function(){if(!this.focused&&!this.disabled){this.focus();}},_onBlur:function(e){this.inherited(arguments);var _41f=this.getValue(true);if(_41f!==this.value){this.onChange(_41f);}this._set("value",_41f);},_onFocus:function(e){if(!this.disabled){if(!this._disabledOK){this.set("disabled",false);}this.inherited(arguments);}},blur:function(){if(!has("ie")&&this.window.document.documentElement&&this.window.document.documentElement.focus){this.window.document.documentElement.focus();}else{if(win.doc.body.focus){win.doc.body.focus();}}},focus:function(){if(!this.isLoaded){this.focusOnLoad=true;return;}if(this._cursorToStart){delete this._cursorToStart;if(this.editNode.childNodes){this.placeCursorAtStart();return;}}if(!has("ie")){_3f7.focus(this.iframe);}else{if(this.editNode&&this.editNode.focus){this.iframe.fireEvent("onfocus",document.createEventObject());}}},updateInterval:200,_updateTimer:null,onDisplayChanged:function(){if(this._updateTimer){clearTimeout(this._updateTimer);}if(!this._updateHandler){this._updateHandler=lang.hitch(this,"onNormalizedDisplayChanged");}this._updateTimer=setTimeout(this._updateHandler,this.updateInterval);},onNormalizedDisplayChanged:function(){delete this._updateTimer;},onChange:function(){},_normalizeCommand:function(cmd,_420){var _421=cmd.toLowerCase();if(_421==="formatblock"){if(has("safari")&&_420===undefined){_421="heading";}}else{if(_421==="hilitecolor"&&!has("mozilla")){_421="backcolor";}}return _421;},_qcaCache:{},queryCommandAvailable:function(_422){var ca=this._qcaCache[_422];if(ca!==undefined){return ca;}return (this._qcaCache[_422]=this._queryCommandAvailable(_422));},_queryCommandAvailable:function(_423){var ie=1;var _424=1<<1;var _425=1<<2;var _426=1<<3;function _427(_428){return {ie:Boolean(_428&ie),mozilla:Boolean(_428&_424),webkit:Boolean(_428&_425),opera:Boolean(_428&_426)};};var _429=null;switch(_423.toLowerCase()){case "bold":case "italic":case "underline":case "subscript":case "superscript":case "fontname":case "fontsize":case "forecolor":case "hilitecolor":case "justifycenter":case "justifyfull":case "justifyleft":case "justifyright":case "delete":case "selectall":case "toggledir":_429=_427(_424|ie|_425|_426);break;case "createlink":case "unlink":case "removeformat":case "inserthorizontalrule":case "insertimage":case "insertorderedlist":case "insertunorderedlist":case "indent":case "outdent":case "formatblock":case "inserthtml":case "undo":case "redo":case "strikethrough":case "tabindent":_429=_427(_424|ie|_426|_425);break;case "blockdirltr":case "blockdirrtl":case "dirltr":case "dirrtl":case "inlinedirltr":case "inlinedirrtl":_429=_427(ie);break;case "cut":case "copy":case "paste":_429=_427(ie|_424|_425);break;case "inserttable":_429=_427(_424|ie);break;case "insertcell":case "insertcol":case "insertrow":case "deletecells":case "deletecols":case "deleterows":case "mergecells":case "splitcell":_429=_427(ie|_424);break;default:return false;}return (has("ie")&&_429.ie)||(has("mozilla")&&_429.mozilla)||(has("webkit")&&_429.webkit)||(has("opera")&&_429.opera);},execCommand:function(_42a,_42b){var _42c;this.focus();_42a=this._normalizeCommand(_42a,_42b);if(_42b!==undefined){if(_42a==="heading"){throw new Error("unimplemented");}else{if((_42a==="formatblock")&&has("ie")){_42b="<"+_42b+">";}}}var _42d="_"+_42a+"Impl";if(this[_42d]){_42c=this[_42d](_42b);}else{_42b=arguments.length>1?_42b:null;if(_42b||_42a!=="createlink"){_42c=this.document.execCommand(_42a,false,_42b);}}this.onDisplayChanged();return _42c;},queryCommandEnabled:function(_42e){if(this.disabled||!this._disabledOK){return false;}_42e=this._normalizeCommand(_42e);var _42f="_"+_42e+"EnabledImpl";if(this[_42f]){return this[_42f](_42e);}else{return this._browserQueryCommandEnabled(_42e);}},queryCommandState:function(_430){if(this.disabled||!this._disabledOK){return false;}_430=this._normalizeCommand(_430);try{return this.document.queryCommandState(_430);}catch(e){return false;}},queryCommandValue:function(_431){if(this.disabled||!this._disabledOK){return false;}var r;_431=this._normalizeCommand(_431);if(has("ie")&&_431==="formatblock"){r=this._native2LocalFormatNames[this.document.queryCommandValue(_431)];}else{if(has("mozilla")&&_431==="hilitecolor"){var _432;try{_432=this.document.queryCommandValue("styleWithCSS");}catch(e){_432=false;}this.document.execCommand("styleWithCSS",false,true);r=this.document.queryCommandValue(_431);this.document.execCommand("styleWithCSS",false,_432);}else{r=this.document.queryCommandValue(_431);}}return r;},_sCall:function(name,args){return win.withGlobal(this.window,name,_3f4,args);},placeCursorAtStart:function(){this.focus();var _433=false;if(has("mozilla")){var _434=this.editNode.firstChild;while(_434){if(_434.nodeType===3){if(_434.nodeValue.replace(/^\s+|\s+$/g,"").length>0){_433=true;this._sCall("selectElement",[_434]);break;}}else{if(_434.nodeType===1){_433=true;var tg=_434.tagName?_434.tagName.toLowerCase():"";if(/br|input|img|base|meta|area|basefont|hr|link/.test(tg)){this._sCall("selectElement",[_434]);}else{this._sCall("selectElementChildren",[_434]);}break;}}_434=_434.nextSibling;}}else{_433=true;this._sCall("selectElementChildren",[this.editNode]);}if(_433){this._sCall("collapse",[true]);}},placeCursorAtEnd:function(){this.focus();var _435=false;if(has("mozilla")){var last=this.editNode.lastChild;while(last){if(last.nodeType===3){if(last.nodeValue.replace(/^\s+|\s+$/g,"").length>0){_435=true;this._sCall("selectElement",[last]);break;}}else{if(last.nodeType===1){_435=true;if(last.lastChild){this._sCall("selectElement",[last.lastChild]);}else{this._sCall("selectElement",[last]);}break;}}last=last.previousSibling;}}else{_435=true;this._sCall("selectElementChildren",[this.editNode]);}if(_435){this._sCall("collapse",[false]);}},getValue:function(_436){if(this.textarea){if(this.isClosed||!this.isLoaded){return this.textarea.value;}}return this._postFilterContent(null,_436);},_getValueAttr:function(){return this.getValue(true);},setValue:function(html){if(!this.isLoaded){this.onLoadDeferred.addCallback(lang.hitch(this,function(){this.setValue(html);}));return;}this._cursorToStart=true;if(this.textarea&&(this.isClosed||!this.isLoaded)){this.textarea.value=html;}else{html=this._preFilterContent(html);var node=this.isClosed?this.domNode:this.editNode;if(html&&has("mozilla")&&html.toLowerCase()==="<p></p>"){html="<p>&#160;</p>";}if(!html&&has("webkit")){html="&#160;";}node.innerHTML=html;this._preDomFilterContent(node);}this.onDisplayChanged();this._set("value",this.getValue(true));},replaceValue:function(html){if(this.isClosed){this.setValue(html);}else{if(this.window&&this.window.getSelection&&!has("mozilla")){this.setValue(html);}else{if(this.window&&this.window.getSelection){html=this._preFilterContent(html);this.execCommand("selectall");if(!html){this._cursorToStart=true;html="&#160;";}this.execCommand("inserthtml",html);this._preDomFilterContent(this.editNode);}else{if(this.document&&this.document.selection){this.setValue(html);}}}}this._set("value",this.getValue(true));},_preFilterContent:function(html){var ec=html;_3e2.forEach(this.contentPreFilters,function(ef){if(ef){ec=ef(ec);}});return ec;},_preDomFilterContent:function(dom){dom=dom||this.editNode;_3e2.forEach(this.contentDomPreFilters,function(ef){if(ef&&lang.isFunction(ef)){ef(dom);}},this);},_postFilterContent:function(dom,_437){var ec;if(!lang.isString(dom)){dom=dom||this.editNode;if(this.contentDomPostFilters.length){if(_437){dom=lang.clone(dom);}_3e2.forEach(this.contentDomPostFilters,function(ef){dom=ef(dom);});}ec=_3f6.getChildrenHtml(dom);}else{ec=dom;}if(!lang.trim(ec.replace(/^\xA0\xA0*/,"").replace(/\xA0\xA0*$/,"")).length){ec="";}_3e2.forEach(this.contentPostFilters,function(ef){ec=ef(ec);});return ec;},_saveContent:function(){var _438=dom.byId(_3f8._scopeName+"._editor.RichText.value");if(_438){if(_438.value){_438.value+=this._SEPARATOR;}_438.value+=this.name+this._NAME_CONTENT_SEP+this.getValue(true);}},escapeXml:function(str,_439){str=str.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;");if(!_439){str=str.replace(/'/gm,"&#39;");}return str;},getNodeHtml:function(node){_3ec.deprecated("dijit.Editor::getNodeHtml is deprecated","use dijit/_editor/html::getNodeHtml instead",2);return _3f6.getNodeHtml(node);},getNodeChildrenHtml:function(dom){_3ec.deprecated("dijit.Editor::getNodeChildrenHtml is deprecated","use dijit/_editor/html::getChildrenHtml instead",2);return _3f6.getChildrenHtml(dom);},close:function(save){if(this.isClosed){return;}if(!arguments.length){save=true;}if(save){this._set("value",this.getValue(true));}if(this.interval){clearInterval(this.interval);}if(this._webkitListener){this.disconnect(this._webkitListener);delete this._webkitListener;}if(has("ie")){this.iframe.onfocus=null;}this.iframe._loadFunc=null;if(this._iframeRegHandle){this._iframeRegHandle.remove();delete this._iframeRegHandle;}if(this.textarea){var s=this.textarea.style;s.position="";s.left=s.top="";if(has("ie")){s.overflow=this.__overflow;this.__overflow=null;}this.textarea.value=this.value;_3e8.destroy(this.domNode);this.domNode=this.textarea;}else{this.domNode.innerHTML=this.value;}delete this.iframe;_3e7.remove(this.domNode,this.baseClass);this.isClosed=true;this.isLoaded=false;delete this.editNode;delete this.focusNode;if(this.window&&this.window._frameElement){this.window._frameElement=null;}this.window=null;this.document=null;this.editingArea=null;this.editorObject=null;},destroy:function(){if(!this.isClosed){this.close(false);}if(this._updateTimer){clearTimeout(this._updateTimer);}this.inherited(arguments);if(_3f9._globalSaveHandler){delete _3f9._globalSaveHandler[this.id];}},_removeMozBogus:function(html){return html.replace(/\stype="_moz"/gi,"").replace(/\s_moz_dirty=""/gi,"").replace(/_moz_resizing="(true|false)"/gi,"");},_removeWebkitBogus:function(html){html=html.replace(/\sclass="webkit-block-placeholder"/gi,"");html=html.replace(/\sclass="apple-style-span"/gi,"");html=html.replace(/<meta charset=\"utf-8\" \/>/gi,"");return html;},_normalizeFontStyle:function(html){return html.replace(/<(\/)?strong([ \>])/gi,"<$1b$2").replace(/<(\/)?em([ \>])/gi,"<$1i$2");},_preFixUrlAttributes:function(html){return html.replace(/(?:(<a(?=\s).*?\shref=)("|')(.*?)\2)|(?:(<a\s.*?href=)([^"'][^ >]+))/gi,"$1$4$2$3$5$2 _djrealurl=$2$3$5$2").replace(/(?:(<img(?=\s).*?\ssrc=)("|')(.*?)\2)|(?:(<img\s.*?src=)([^"'][^ >]+))/gi,"$1$4$2$3$5$2 _djrealurl=$2$3$5$2");},_browserQueryCommandEnabled:function(_43a){if(!_43a){return false;}var elem=has("ie")?this.document.selection.createRange():this.document;try{return elem.queryCommandEnabled(_43a);}catch(e){return false;}},_createlinkEnabledImpl:function(){var _43b=true;if(has("opera")){var sel=this.window.getSelection();if(sel.isCollapsed){_43b=true;}else{_43b=this.document.queryCommandEnabled("createlink");}}else{_43b=this._browserQueryCommandEnabled("createlink");}return _43b;},_unlinkEnabledImpl:function(){var _43c=true;if(has("mozilla")||has("webkit")){_43c=this._sCall("hasAncestorElement",["a"]);}else{_43c=this._browserQueryCommandEnabled("unlink");}return _43c;},_inserttableEnabledImpl:function(){var _43d=true;if(has("mozilla")||has("webkit")){_43d=true;}else{_43d=this._browserQueryCommandEnabled("inserttable");}return _43d;},_cutEnabledImpl:function(){var _43e=true;if(has("webkit")){var sel=this.window.getSelection();if(sel){sel=sel.toString();}_43e=!!sel;}else{_43e=this._browserQueryCommandEnabled("cut");}return _43e;},_copyEnabledImpl:function(){var _43f=true;if(has("webkit")){var sel=this.window.getSelection();if(sel){sel=sel.toString();}_43f=!!sel;}else{_43f=this._browserQueryCommandEnabled("copy");}return _43f;},_pasteEnabledImpl:function(){var _440=true;if(has("webkit")){return true;}else{_440=this._browserQueryCommandEnabled("paste");}return _440;},_inserthorizontalruleImpl:function(_441){if(has("ie")){return this._inserthtmlImpl("<hr>");}return this.document.execCommand("inserthorizontalrule",false,_441);},_unlinkImpl:function(_442){if((this.queryCommandEnabled("unlink"))&&(has("mozilla")||has("webkit"))){var a=this._sCall("getAncestorElement",["a"]);this._sCall("selectElement",[a]);return this.document.execCommand("unlink",false,null);}return this.document.execCommand("unlink",false,_442);},_hilitecolorImpl:function(_443){var _444;var _445=this._handleTextColorOrProperties("hilitecolor",_443);if(!_445){if(has("mozilla")){this.document.execCommand("styleWithCSS",false,true);_444=this.document.execCommand("hilitecolor",false,_443);this.document.execCommand("styleWithCSS",false,false);}else{_444=this.document.execCommand("hilitecolor",false,_443);}}return _444;},_backcolorImpl:function(_446){if(has("ie")){_446=_446?_446:null;}var _447=this._handleTextColorOrProperties("backcolor",_446);if(!_447){_447=this.document.execCommand("backcolor",false,_446);}return _447;},_forecolorImpl:function(_448){if(has("ie")){_448=_448?_448:null;}var _449=false;_449=this._handleTextColorOrProperties("forecolor",_448);if(!_449){_449=this.document.execCommand("forecolor",false,_448);}return _449;},_inserthtmlImpl:function(_44a){_44a=this._preFilterContent(_44a);var rv=true;if(has("ie")){var _44b=this.document.selection.createRange();if(this.document.selection.type.toUpperCase()==="CONTROL"){var n=_44b.item(0);while(_44b.length){_44b.remove(_44b.item(0));}n.outerHTML=_44a;}else{_44b.pasteHTML(_44a);}_44b.select();}else{if(has("mozilla")&&!_44a.length){this._sCall("remove");}else{rv=this.document.execCommand("inserthtml",false,_44a);}}return rv;},_boldImpl:function(_44c){var _44d=false;if(has("ie")){this._adaptIESelection();_44d=this._adaptIEFormatAreaAndExec("bold");}if(!_44d){_44d=this.document.execCommand("bold",false,_44c);}return _44d;},_italicImpl:function(_44e){var _44f=false;if(has("ie")){this._adaptIESelection();_44f=this._adaptIEFormatAreaAndExec("italic");}if(!_44f){_44f=this.document.execCommand("italic",false,_44e);}return _44f;},_underlineImpl:function(_450){var _451=false;if(has("ie")){this._adaptIESelection();_451=this._adaptIEFormatAreaAndExec("underline");}if(!_451){_451=this.document.execCommand("underline",false,_450);}return _451;},_strikethroughImpl:function(_452){var _453=false;if(has("ie")){this._adaptIESelection();_453=this._adaptIEFormatAreaAndExec("strikethrough");}if(!_453){_453=this.document.execCommand("strikethrough",false,_452);}return _453;},_superscriptImpl:function(_454){var _455=false;if(has("ie")){this._adaptIESelection();_455=this._adaptIEFormatAreaAndExec("superscript");}if(!_455){_455=this.document.execCommand("superscript",false,_454);}return _455;},_subscriptImpl:function(_456){var _457=false;if(has("ie")){this._adaptIESelection();_457=this._adaptIEFormatAreaAndExec("subscript");}if(!_457){_457=this.document.execCommand("subscript",false,_456);}return _457;},_fontnameImpl:function(_458){var _459;if(has("ie")){_459=this._handleTextColorOrProperties("fontname",_458);}if(!_459){_459=this.document.execCommand("fontname",false,_458);}return _459;},_fontsizeImpl:function(_45a){var _45b;if(has("ie")){_45b=this._handleTextColorOrProperties("fontsize",_45a);}if(!_45b){_45b=this.document.execCommand("fontsize",false,_45a);}return _45b;},_insertorderedlistImpl:function(_45c){var _45d=false;if(has("ie")){_45d=this._adaptIEList("insertorderedlist",_45c);}if(!_45d){_45d=this.document.execCommand("insertorderedlist",false,_45c);}return _45d;},_insertunorderedlistImpl:function(_45e){var _45f=false;if(has("ie")){_45f=this._adaptIEList("insertunorderedlist",_45e);}if(!_45f){_45f=this.document.execCommand("insertunorderedlist",false,_45e);}return _45f;},getHeaderHeight:function(){return this._getNodeChildrenHeight(this.header);},getFooterHeight:function(){return this._getNodeChildrenHeight(this.footer);},_getNodeChildrenHeight:function(node){var h=0;if(node&&node.childNodes){var i;for(i=0;i<node.childNodes.length;i++){var size=_3e9.position(node.childNodes[i]);h+=size.h;}}return h;},_isNodeEmpty:function(node,_460){if(node.nodeType===1){if(node.childNodes.length>0){return this._isNodeEmpty(node.childNodes[0],_460);}return true;}else{if(node.nodeType===3){return (node.nodeValue.substring(_460)==="");}}return false;},_removeStartingRangeFromRange:function(node,_461){if(node.nextSibling){_461.setStart(node.nextSibling,0);}else{var _462=node.parentNode;while(_462&&_462.nextSibling==null){_462=_462.parentNode;}if(_462){_461.setStart(_462.nextSibling,0);}}return _461;},_adaptIESelection:function(){var _463=_3f5.getSelection(this.window);if(_463&&_463.rangeCount&&!_463.isCollapsed){var _464=_463.getRangeAt(0);var _465=_464.startContainer;var _466=_464.startOffset;while(_465.nodeType===3&&_466>=_465.length&&_465.nextSibling){_466=_466-_465.length;_465=_465.nextSibling;}var _467=null;while(this._isNodeEmpty(_465,_466)&&_465!==_467){_467=_465;_464=this._removeStartingRangeFromRange(_465,_464);_465=_464.startContainer;_466=0;}_463.removeAllRanges();_463.addRange(_464);}},_adaptIEFormatAreaAndExec:function(_468){var _469=_3f5.getSelection(this.window);var doc=this.document;var rs,ret,_46a,txt,_46b,_46c,_46d,_46e;if(_468&&_469&&_469.isCollapsed){var _46f=this.queryCommandValue(_468);if(_46f){var _470=this._tagNamesForCommand(_468);_46a=_469.getRangeAt(0);var fs=_46a.startContainer;if(fs.nodeType===3){var _471=_46a.endOffset;if(fs.length<_471){ret=this._adjustNodeAndOffset(rs,_471);fs=ret.node;_471=ret.offset;}}var _472;while(fs&&fs!==this.editNode){var _473=fs.tagName?fs.tagName.toLowerCase():"";if(_3e2.indexOf(_470,_473)>-1){_472=fs;break;}fs=fs.parentNode;}if(_472){rs=_46a.startContainer;var _474=doc.createElement(_472.tagName);_3e8.place(_474,_472,"after");if(rs&&rs.nodeType===3){var _475,_476;var _477=_46a.endOffset;if(rs.length<_477){ret=this._adjustNodeAndOffset(rs,_477);rs=ret.node;_477=ret.offset;}txt=rs.nodeValue;_46b=doc.createTextNode(txt.substring(0,_477));var _478=txt.substring(_477,txt.length);if(_478){_46c=doc.createTextNode(_478);}_3e8.place(_46b,rs,"before");if(_46c){_46d=doc.createElement("span");_46d.className="ieFormatBreakerSpan";_3e8.place(_46d,rs,"after");_3e8.place(_46c,_46d,"after");_46c=_46d;}_3e8.destroy(rs);var _479=_46b.parentNode;var _47a=[];var _47b;while(_479!==_472){var tg=_479.tagName;_47b={tagName:tg};_47a.push(_47b);var _47c=doc.createElement(tg);if(_479.style){if(_47c.style){if(_479.style.cssText){_47c.style.cssText=_479.style.cssText;_47b.cssText=_479.style.cssText;}}}if(_479.tagName==="FONT"){if(_479.color){_47c.color=_479.color;_47b.color=_479.color;}if(_479.face){_47c.face=_479.face;_47b.face=_479.face;}if(_479.size){_47c.size=_479.size;_47b.size=_479.size;}}if(_479.className){_47c.className=_479.className;_47b.className=_479.className;}if(_46c){_475=_46c;while(_475){_476=_475.nextSibling;_47c.appendChild(_475);_475=_476;}}if(_47c.tagName==_479.tagName){_46d=doc.createElement("span");_46d.className="ieFormatBreakerSpan";_3e8.place(_46d,_479,"after");_3e8.place(_47c,_46d,"after");}else{_3e8.place(_47c,_479,"after");}_46b=_479;_46c=_47c;_479=_479.parentNode;}if(_46c){_475=_46c;if(_475.nodeType===1||(_475.nodeType===3&&_475.nodeValue)){_474.innerHTML="";}while(_475){_476=_475.nextSibling;_474.appendChild(_475);_475=_476;}}if(_47a.length){_47b=_47a.pop();var _47d=doc.createElement(_47b.tagName);if(_47b.cssText&&_47d.style){_47d.style.cssText=_47b.cssText;}if(_47b.className){_47d.className=_47b.className;}if(_47b.tagName==="FONT"){if(_47b.color){_47d.color=_47b.color;}if(_47b.face){_47d.face=_47b.face;}if(_47b.size){_47d.size=_47b.size;}}_3e8.place(_47d,_474,"before");while(_47a.length){_47b=_47a.pop();var _47e=doc.createElement(_47b.tagName);if(_47b.cssText&&_47e.style){_47e.style.cssText=_47b.cssText;}if(_47b.className){_47e.className=_47b.className;}if(_47b.tagName==="FONT"){if(_47b.color){_47e.color=_47b.color;}if(_47b.face){_47e.face=_47b.face;}if(_47b.size){_47e.size=_47b.size;}}_47d.appendChild(_47e);_47d=_47e;}_46e=doc.createTextNode(".");_46d.appendChild(_46e);_47d.appendChild(_46e);win.withGlobal(this.window,lang.hitch(this,function(){var _47f=_3f5.create();_47f.setStart(_46e,0);_47f.setEnd(_46e,_46e.length);_469.removeAllRanges();_469.addRange(_47f);_3f4.collapse(false);_46e.parentNode.innerHTML="";}));}else{_46d=doc.createElement("span");_46d.className="ieFormatBreakerSpan";_46e=doc.createTextNode(".");_46d.appendChild(_46e);_3e8.place(_46d,_474,"before");win.withGlobal(this.window,lang.hitch(this,function(){var _480=_3f5.create();_480.setStart(_46e,0);_480.setEnd(_46e,_46e.length);_469.removeAllRanges();_469.addRange(_480);_3f4.collapse(false);_46e.parentNode.innerHTML="";}));}if(!_474.firstChild){_3e8.destroy(_474);}return true;}}return false;}else{_46a=_469.getRangeAt(0);rs=_46a.startContainer;if(rs&&rs.nodeType===3){win.withGlobal(this.window,lang.hitch(this,function(){var _481=_46a.startOffset;if(rs.length<_481){ret=this._adjustNodeAndOffset(rs,_481);rs=ret.node;_481=ret.offset;}txt=rs.nodeValue;_46b=doc.createTextNode(txt.substring(0,_481));var _482=txt.substring(_481);if(_482!==""){_46c=doc.createTextNode(txt.substring(_481));}_46d=doc.createElement("span");_46e=doc.createTextNode(".");_46d.appendChild(_46e);if(_46b.length){_3e8.place(_46b,rs,"after");}else{_46b=rs;}_3e8.place(_46d,_46b,"after");if(_46c){_3e8.place(_46c,_46d,"after");}_3e8.destroy(rs);var _483=_3f5.create();_483.setStart(_46e,0);_483.setEnd(_46e,_46e.length);_469.removeAllRanges();_469.addRange(_483);doc.execCommand(_468);_3e8.place(_46d.firstChild,_46d,"before");_3e8.destroy(_46d);_483.setStart(_46e,0);_483.setEnd(_46e,_46e.length);_469.removeAllRanges();_469.addRange(_483);_3f4.collapse(false);_46e.parentNode.innerHTML="";}));return true;}}}else{return false;}},_adaptIEList:function(_484){var _485=_3f5.getSelection(this.window);if(_485.isCollapsed){if(_485.rangeCount&&!this.queryCommandValue(_484)){var _486=_485.getRangeAt(0);var sc=_486.startContainer;if(sc&&sc.nodeType==3){if(!_486.startOffset){win.withGlobal(this.window,lang.hitch(this,function(){var _487="ul";if(_484==="insertorderedlist"){_487="ol";}var list=_3e8.create(_487);var li=_3e8.create("li",null,list);_3e8.place(list,sc,"before");li.appendChild(sc);_3e8.create("br",null,list,"after");var _488=_3f5.create();_488.setStart(sc,0);_488.setEnd(sc,sc.length);_485.removeAllRanges();_485.addRange(_488);_3f4.collapse(true);}));return true;}}}}return false;},_handleTextColorOrProperties:function(_489,_48a){var _48b=_3f5.getSelection(this.window);var doc=this.document;var rs,ret,_48c,txt,_48d,_48e,_48f,_490;_48a=_48a||null;if(_489&&_48b&&_48b.isCollapsed){if(_48b.rangeCount){_48c=_48b.getRangeAt(0);rs=_48c.startContainer;if(rs&&rs.nodeType===3){win.withGlobal(this.window,lang.hitch(this,function(){var _491=_48c.startOffset;if(rs.length<_491){ret=this._adjustNodeAndOffset(rs,_491);rs=ret.node;_491=ret.offset;}txt=rs.nodeValue;_48d=doc.createTextNode(txt.substring(0,_491));var _492=txt.substring(_491);if(_492!==""){_48e=doc.createTextNode(txt.substring(_491));}_48f=_3e8.create("span");_490=doc.createTextNode(".");_48f.appendChild(_490);var _493=_3e8.create("span");_48f.appendChild(_493);if(_48d.length){_3e8.place(_48d,rs,"after");}else{_48d=rs;}_3e8.place(_48f,_48d,"after");if(_48e){_3e8.place(_48e,_48f,"after");}_3e8.destroy(rs);var _494=_3f5.create();_494.setStart(_490,0);_494.setEnd(_490,_490.length);_48b.removeAllRanges();_48b.addRange(_494);if(has("webkit")){var _495="color";if(_489==="hilitecolor"||_489==="backcolor"){_495="backgroundColor";}_3ea.set(_48f,_495,_48a);_3f4.remove();_3e8.destroy(_493);_48f.innerHTML="&#160;";_3f4.selectElement(_48f);this.focus();}else{this.execCommand(_489,_48a);_3e8.place(_48f.firstChild,_48f,"before");_3e8.destroy(_48f);_494.setStart(_490,0);_494.setEnd(_490,_490.length);_48b.removeAllRanges();_48b.addRange(_494);_3f4.collapse(false);_490.parentNode.removeChild(_490);}}));return true;}}}return false;},_adjustNodeAndOffset:function(node,_496){while(node.length<_496&&node.nextSibling&&node.nextSibling.nodeType===3){_496=_496-node.length;node=node.nextSibling;}return {"node":node,"offset":_496};},_tagNamesForCommand:function(_497){if(_497==="bold"){return ["b","strong"];}else{if(_497==="italic"){return ["i","em"];}else{if(_497==="strikethrough"){return ["s","strike"];}else{if(_497==="superscript"){return ["sup"];}else{if(_497==="subscript"){return ["sub"];}else{if(_497==="underline"){return ["u"];}}}}}}return [];},_stripBreakerNodes:function(node){win.withGlobal(this.window,lang.hitch(this,function(){var _498=_3ed(".ieFormatBreakerSpan",node);var i;for(i=0;i<_498.length;i++){var b=_498[i];while(b.firstChild){_3e8.place(b.firstChild,b,"before");}_3e8.destroy(b);}}));return node;}});return _3f9;});},"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});},"dojo/dnd/Moveable":function(){define(["../main","../Evented","../touch","./Mover"],function(dojo,_499,_49a){dojo.declare("dojo.dnd.Moveable",[_499],{handle:"",delay:0,skip:false,constructor:function(node,_49b){this.node=dojo.byId(node);if(!_49b){_49b={};}this.handle=_49b.handle?dojo.byId(_49b.handle):null;if(!this.handle){this.handle=this.node;}this.delay=_49b.delay>0?_49b.delay:0;this.skip=_49b.skip;this.mover=_49b.mover?_49b.mover:dojo.dnd.Mover;this.events=[dojo.connect(this.handle,_49a.press,this,"onMouseDown"),dojo.connect(this.handle,"ondragstart",this,"onSelectStart"),dojo.connect(this.handle,"onselectstart",this,"onSelectStart")];},markupFactory:function(_49c,node,ctor){return new ctor(node,_49c);},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,_49a.move,this,"onMouseMove"),dojo.connect(this.handle,_49a.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(_49d){dojo.publish("/dnd/move/start",[_49d]);dojo.addClass(dojo.body(),"dojoMove");dojo.addClass(this.node,"dojoMoveItem");},onMoveStop:function(_49e){dojo.publish("/dnd/move/stop",[_49e]);dojo.removeClass(dojo.body(),"dojoMove");dojo.removeClass(this.node,"dojoMoveItem");},onFirstMove:function(_49f,e){},onMove:function(_4a0,_4a1,e){this.onMoving(_4a0,_4a1);var s=_4a0.node.style;s.left=_4a1.l+"px";s.top=_4a1.t+"px";this.onMoved(_4a0,_4a1);},onMoving:function(_4a2,_4a3){},onMoved:function(_4a4,_4a5){}});return dojo.dnd.Moveable;});},"dijit/TooltipDialog":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/_base/event","dojo/keys","dojo/_base/lang","./focus","./layout/ContentPane","./_DialogMixin","./form/_FormMixin","./_TemplatedMixin","dojo/text!./templates/TooltipDialog.html","."],function(_4a6,_4a7,_4a8,keys,lang,_4a9,_4aa,_4ab,_4ac,_4ad,_4ae,_4af){return _4a6("dijit.TooltipDialog",[_4aa,_4ad,_4ac,_4ab],{title:"",doLayout:false,autofocus:true,baseClass:"dijitTooltipDialog",_firstFocusItem:null,_lastFocusItem:null,templateString:_4ae,_setTitleAttr:function(_4b0){this.containerNode.title=_4b0;this._set("title",_4b0);},postCreate:function(){this.inherited(arguments);this.connect(this.containerNode,"onkeypress","_onKey");},orient:function(node,_4b1,_4b2){var newC="dijitTooltipAB"+(_4b2.charAt(1)=="L"?"Left":"Right")+" dijitTooltip"+(_4b2.charAt(0)=="T"?"Below":"Above");_4a7.replace(this.domNode,newC,this._currentOrientClass||"");this._currentOrientClass=newC;},focus:function(){this._getFocusItems(this.containerNode);_4a9.focus(this._firstFocusItem);},onOpen:function(pos){this.orient(this.domNode,pos.aroundCorner,pos.corner);this._onShow();},onClose:function(){this.onHide();},_onKey:function(evt){var node=evt.target;if(evt.charOrCode===keys.TAB){this._getFocusItems(this.containerNode);}var _4b3=(this._firstFocusItem==this._lastFocusItem);if(evt.charOrCode==keys.ESCAPE){setTimeout(lang.hitch(this,"onCancel"),0);_4a8.stop(evt);}else{if(node==this._firstFocusItem&&evt.shiftKey&&evt.charOrCode===keys.TAB){if(!_4b3){_4a9.focus(this._lastFocusItem);}_4a8.stop(evt);}else{if(node==this._lastFocusItem&&evt.charOrCode===keys.TAB&&!evt.shiftKey){if(!_4b3){_4a9.focus(this._firstFocusItem);}_4a8.stop(evt);}else{if(evt.charOrCode===keys.TAB){evt.stopPropagation();}}}}}});});},"dojo/nls/colors":function(){define({root:({aliceblue:"alice blue",antiquewhite:"antique white",aqua:"aqua",aquamarine:"aquamarine",azure:"azure",beige:"beige",bisque:"bisque",black:"black",blanchedalmond:"blanched almond",blue:"blue",blueviolet:"blue-violet",brown:"brown",burlywood:"burlywood",cadetblue:"cadet blue",chartreuse:"chartreuse",chocolate:"chocolate",coral:"coral",cornflowerblue:"cornflower blue",cornsilk:"cornsilk",crimson:"crimson",cyan:"cyan",darkblue:"dark blue",darkcyan:"dark cyan",darkgoldenrod:"dark goldenrod",darkgray:"dark gray",darkgreen:"dark green",darkgrey:"dark gray",darkkhaki:"dark khaki",darkmagenta:"dark magenta",darkolivegreen:"dark olive green",darkorange:"dark orange",darkorchid:"dark orchid",darkred:"dark red",darksalmon:"dark salmon",darkseagreen:"dark sea green",darkslateblue:"dark slate blue",darkslategray:"dark slate gray",darkslategrey:"dark slate gray",darkturquoise:"dark turquoise",darkviolet:"dark violet",deeppink:"deep pink",deepskyblue:"deep sky blue",dimgray:"dim gray",dimgrey:"dim gray",dodgerblue:"dodger blue",firebrick:"fire brick",floralwhite:"floral white",forestgreen:"forest green",fuchsia:"fuchsia",gainsboro:"gainsboro",ghostwhite:"ghost white",gold:"gold",goldenrod:"goldenrod",gray:"gray",green:"green",greenyellow:"green-yellow",grey:"gray",honeydew:"honeydew",hotpink:"hot pink",indianred:"indian red",indigo:"indigo",ivory:"ivory",khaki:"khaki",lavender:"lavender",lavenderblush:"lavender blush",lawngreen:"lawn green",lemonchiffon:"lemon chiffon",lightblue:"light blue",lightcoral:"light coral",lightcyan:"light cyan",lightgoldenrodyellow:"light goldenrod yellow",lightgray:"light gray",lightgreen:"light green",lightgrey:"light gray",lightpink:"light pink",lightsalmon:"light salmon",lightseagreen:"light sea green",lightskyblue:"light sky blue",lightslategray:"light slate gray",lightslategrey:"light slate gray",lightsteelblue:"light steel blue",lightyellow:"light yellow",lime:"lime",limegreen:"lime green",linen:"linen",magenta:"magenta",maroon:"maroon",mediumaquamarine:"medium aquamarine",mediumblue:"medium blue",mediumorchid:"medium orchid",mediumpurple:"medium purple",mediumseagreen:"medium sea green",mediumslateblue:"medium slate blue",mediumspringgreen:"medium spring green",mediumturquoise:"medium turquoise",mediumvioletred:"medium violet-red",midnightblue:"midnight blue",mintcream:"mint cream",mistyrose:"misty rose",moccasin:"moccasin",navajowhite:"navajo white",navy:"navy",oldlace:"old lace",olive:"olive",olivedrab:"olive drab",orange:"orange",orangered:"orange red",orchid:"orchid",palegoldenrod:"pale goldenrod",palegreen:"pale green",paleturquoise:"pale turquoise",palevioletred:"pale violet-red",papayawhip:"papaya whip",peachpuff:"peach puff",peru:"peru",pink:"pink",plum:"plum",powderblue:"powder blue",purple:"purple",red:"red",rosybrown:"rosy brown",royalblue:"royal blue",saddlebrown:"saddle brown",salmon:"salmon",sandybrown:"sandy brown",seagreen:"sea green",seashell:"seashell",sienna:"sienna",silver:"silver",skyblue:"sky blue",slateblue:"slate blue",slategray:"slate gray",slategrey:"slate gray",snow:"snow",springgreen:"spring green",steelblue:"steel blue",tan:"tan",teal:"teal",thistle:"thistle",tomato:"tomato",transparent:"transparent",turquoise:"turquoise",violet:"violet",wheat:"wheat",white:"white",whitesmoke:"white smoke",yellow:"yellow",yellowgreen:"yellow green"}),"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/store/util/SimpleQueryEngine":function(){define(["../../_base/array"],function(_4b4){return function(_4b5,_4b6){switch(typeof _4b5){default:throw new Error("Can not query with a "+typeof _4b5);case "object":case "undefined":var _4b7=_4b5;_4b5=function(_4b8){for(var key in _4b7){var _4b9=_4b7[key];if(_4b9&&_4b9.test){if(!_4b9.test(_4b8[key])){return false;}}else{if(_4b9!=_4b8[key]){return false;}}}return true;};break;case "string":if(!this[_4b5]){throw new Error("No filter function "+_4b5+" was found in store");}_4b5=this[_4b5];case "function":}function _4ba(_4bb){var _4bc=_4b4.filter(_4bb,_4b5);if(_4b6&&_4b6.sort){_4bc.sort(function(a,b){for(var sort,i=0;sort=_4b6.sort[i];i++){var _4bd=a[sort.attribute];var _4be=b[sort.attribute];if(_4bd!=_4be){return !!sort.descending==_4bd>_4be?-1:1;}}return 0;});}if(_4b6&&(_4b6.start||_4b6.count)){var _4bf=_4bc.length;_4bc=_4bc.slice(_4b6.start||0,(_4b6.start||0)+(_4b6.count||Infinity));_4bc.total=_4bf;}return _4bc;};_4ba.matches=_4b5;return _4ba;};});},"dojo/cldr/nls/number":function(){define({root:{"scientificFormat":"#E0","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","decimalFormat-short":"000T","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","nativeZeroDigit":"0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","currencyFormat":"¤ #,##0.00","perMille":"‰","group":",","percentFormat":"#,##0%","decimalFormat":"#,##0.###","decimal":".","patternDigit":"#","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"},"ar":true,"ca":true,"cs":true,"da":true,"de":true,"el":true,"en":true,"en-au":true,"en-gb":true,"es":true,"fi":true,"fr":true,"fr-ch":true,"he":true,"hu":true,"it":true,"ja":true,"ko":true,"nb":true,"nl":true,"pl":true,"pt":true,"pt-pt":true,"ro":true,"ru":true,"sk":true,"sl":true,"sv":true,"th":true,"tr":true,"zh":true,"zh-hant":true,"zh-hk":true});},"dijit/form/_ExpandingTextAreaMixin":function(){define(["dojo/_base/declare","dojo/dom-construct","dojo/_base/lang","dojo/_base/window"],function(_4c0,_4c1,lang,win){var _4c2;return _4c0("dijit.form._ExpandingTextAreaMixin",null,{_setValueAttr:function(){this.inherited(arguments);this.resize();},postCreate:function(){this.inherited(arguments);var _4c3=this.textbox;if(_4c2==undefined){var te=_4c1.create("textarea",{rows:"5",cols:"20",value:" ",style:{zoom:1,overflow:"hidden",visibility:"hidden",position:"absolute",border:"0px solid black",padding:"0px"}},win.body(),"last");_4c2=te.scrollHeight>=te.clientHeight;win.body().removeChild(te);}this.connect(_4c3,"onscroll","_resizeLater");this.connect(_4c3,"onresize","_resizeLater");this.connect(_4c3,"onfocus","_resizeLater");_4c3.style.overflowY="hidden";this._estimateHeight();this._resizeLater();},_onInput:function(e){this.inherited(arguments);this.resize();},_estimateHeight:function(){var _4c4=this.textbox;_4c4.style.height="auto";_4c4.rows=(_4c4.value.match(/\n/g)||[]).length+2;},_resizeLater:function(){setTimeout(lang.hitch(this,"resize"),0);},resize:function(){function _4c5(){var _4c6=false;if(_4c7.value===""){_4c7.value=" ";_4c6=true;}var sh=_4c7.scrollHeight;if(_4c6){_4c7.value="";}return sh;};var _4c7=this.textbox;if(_4c7.style.overflowY=="hidden"){_4c7.scrollTop=0;}if(this.resizeTimer){clearTimeout(this.resizeTimer);}this.resizeTimer=null;if(this.busyResizing){return;}this.busyResizing=true;if(_4c5()||_4c7.offsetHeight){var _4c8=_4c7.style.height;if(!(/px/.test(_4c8))){_4c8=_4c5();_4c7.rows=1;_4c7.style.height=_4c8+"px";}var newH=Math.max(parseInt(_4c8)-_4c7.clientHeight,0)+_4c5();var _4c9=newH+"px";if(_4c9!=_4c7.style.height){_4c7.rows=1;_4c7.style.height=_4c9;}if(_4c2){var _4ca=_4c5();_4c7.style.height="auto";if(_4c5()<_4ca){_4c9=newH-_4ca+_4c5()+"px";}_4c7.style.height=_4c9;}_4c7.style.overflowY=_4c5()>_4c7.clientHeight?"auto":"hidden";}else{this._estimateHeight();}this.busyResizing=false;},destroy:function(){if(this.resizeTimer){clearTimeout(this.resizeTimer);}if(this.shrinkTimer){clearTimeout(this.shrinkTimer);}this.inherited(arguments);}});});},"dijit/MenuItem":function(){define(["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(_4cb,dom,_4cc,_4cd,_4ce,_4cf,has,_4d0,_4d1,_4d2,_4d3,_4d4){return _4cb("dijit.MenuItem",[_4d0,_4d1,_4d2,_4d3],{templateString:_4d4,baseClass:"dijitMenuItem",label:"",_setLabelAttr:{node:"containerNode",type:"innerHTML"},iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},accelKey:"",disabled:false,_fillContent:function(_4d5){if(_4d5&&!("label" in this.params)){this.set("label",_4d5.innerHTML);}},buildRendering:function(){this.inherited(arguments);var _4d6=this.id+"_text";_4cc.set(this.containerNode,"id",_4d6);if(this.accelKeyNode){_4cc.set(this.accelKeyNode,"id",this.id+"_accel");_4d6+=" "+this.id+"_accel";}this.domNode.setAttribute("aria-labelledby",_4d6);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);_4ce.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(_4d7){_4cd.toggle(this.domNode,"dijitMenuItemSelected",_4d7);},setLabel:function(_4d8){_4cf.deprecated("dijit.MenuItem.setLabel() is deprecated.  Use set('label', ...) instead.","","2.0");this.set("label",_4d8);},setDisabled:function(_4d9){_4cf.deprecated("dijit.Menu.setDisabled() is deprecated.  Use set('disabled', bool) instead.","","2.0");this.set("disabled",_4d9);},_setDisabledAttr:function(_4da){this.focusNode.setAttribute("aria-disabled",_4da?"true":"false");this._set("disabled",_4da);},_setAccelKeyAttr:function(_4db){this.accelKeyNode.style.display=_4db?"":"none";this.accelKeyNode.innerHTML=_4db;_4cc.set(this.containerNode,"colSpan",_4db?"1":"2");this._set("accelKey",_4db);}});});},"dijit/MenuBarItem":function(){define(["dojo/_base/declare","./MenuItem","dojo/text!./templates/MenuBarItem.html"],function(_4dc,_4dd,_4de){var _4df=_4dc("dijit._MenuBarItemMixin",null,{templateString:_4de,_setIconClassAttr:null});var _4e0=_4dc("dijit.MenuBarItem",[_4dd,_4df],{});_4e0._MenuBarItemMixin=_4df;return _4e0;});},"dijit/layout/TabController":function(){define(["dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/i18n","dojo/_base/lang","./StackController","../Menu","../MenuItem","dojo/text!./templates/_TabButton.html","dojo/i18n!../nls/common"],function(_4e1,dom,_4e2,_4e3,i18n,lang,_4e4,Menu,_4e5,_4e6){var _4e7=_4e1("dijit.layout._TabButton",_4e4.StackButton,{baseClass:"dijitTab",cssStateNodes:{closeNode:"dijitTabCloseButton"},templateString:_4e6,scrollOnFocus:false,buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.containerNode,false);},startup:function(){this.inherited(arguments);var n=this.domNode;setTimeout(function(){n.className=n.className;},1);},_setCloseButtonAttr:function(disp){this._set("closeButton",disp);_4e3.toggle(this.innerDiv,"dijitClosable",disp);this.closeNode.style.display=disp?"":"none";if(disp){var _4e8=i18n.getLocalization("dijit","common");if(this.closeNode){_4e2.set(this.closeNode,"title",_4e8.itemClose);}this._closeMenu=new Menu({id:this.id+"_Menu",dir:this.dir,lang:this.lang,textDir:this.textDir,targetNodeIds:[this.domNode]});this._closeMenu.addChild(new _4e5({label:_4e8.itemClose,dir:this.dir,lang:this.lang,textDir:this.textDir,onClick:lang.hitch(this,"onClickCloseButton")}));}else{if(this._closeMenu){this._closeMenu.destroyRecursive();delete this._closeMenu;}}},_setLabelAttr:function(_4e9){this.inherited(arguments);if(!this.showLabel&&!this.params.title){this.iconNode.alt=lang.trim(this.containerNode.innerText||this.containerNode.textContent||"");}},destroy:function(){if(this._closeMenu){this._closeMenu.destroyRecursive();delete this._closeMenu;}this.inherited(arguments);}});var _4ea=_4e1("dijit.layout.TabController",_4e4,{baseClass:"dijitTabController",templateString:"<div role='tablist' data-dojo-attach-event='onkeypress:onkeypress'></div>",tabPosition:"top",buttonWidget:_4e7,_rectifyRtlTabList:function(){if(0>=this.tabPosition.indexOf("-h")){return;}if(!this.pane2button){return;}var _4eb=0;for(var pane in this.pane2button){var ow=this.pane2button[pane].innerDiv.scrollWidth;_4eb=Math.max(_4eb,ow);}for(pane in this.pane2button){this.pane2button[pane].innerDiv.style.width=_4eb+"px";}}});_4ea.TabButton=_4e7;return _4ea;});},"dojo/cldr/supplemental":function(){define(["../_base/kernel","../_base/lang","../i18n"],function(dojo,lang){lang.getObject("cldr.supplemental",true,dojo);dojo.cldr.supplemental.getFirstDayOfWeek=function(_4ec){var _4ed={mv:5,ae:6,af:6,bh:6,dj:6,dz:6,eg:6,er:6,et:6,iq:6,ir:6,jo:6,ke:6,kw:6,ly:6,ma:6,om:6,qa:6,sa:6,sd:6,so:6,sy:6,tn:6,ye:6,ar:0,as:0,az:0,bw:0,ca:0,cn:0,fo:0,ge:0,gl:0,gu:0,hk:0,il:0,"in":0,jm:0,jp:0,kg:0,kr:0,la:0,mh:0,mn:0,mo:0,mp:0,mt:0,nz:0,ph:0,pk:0,sg:0,th:0,tt:0,tw:0,um:0,us:0,uz:0,vi:0,zw:0};var _4ee=dojo.cldr.supplemental._region(_4ec);var dow=_4ed[_4ee];return (dow===undefined)?1:dow;};dojo.cldr.supplemental._region=function(_4ef){_4ef=dojo.i18n.normalizeLocale(_4ef);var tags=_4ef.split("-");var _4f0=tags[1];if(!_4f0){_4f0={de:"de",en:"us",es:"es",fi:"fi",fr:"fr",he:"il",hu:"hu",it:"it",ja:"jp",ko:"kr",nl:"nl",pt:"br",sv:"se",zh:"cn"}[tags[0]];}else{if(_4f0.length==4){_4f0=tags[2];}}return _4f0;};dojo.cldr.supplemental.getWeekend=function(_4f1){var _4f2={"in":0,af:4,dz:4,ir:4,om:4,sa:4,ye:4,ae:5,bh:5,eg:5,il:5,iq:5,jo:5,kw:5,ly:5,ma:5,qa:5,sd:5,sy:5,tn:5};var _4f3={af:5,dz:5,ir:5,om:5,sa:5,ye:5,ae:6,bh:5,eg:6,il:6,iq:6,jo:6,kw:6,ly:6,ma:6,qa:6,sd:6,sy:6,tn:6};var _4f4=dojo.cldr.supplemental._region(_4f1);var _4f5=_4f2[_4f4];var end=_4f3[_4f4];if(_4f5===undefined){_4f5=6;}if(end===undefined){end=0;}return {start:_4f5,end:end};};return dojo.cldr.supplemental;});},"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(_4f6,_4f7,keys,_4f8,_4f9){return _4f6("dijit.MenuBar",_4f8,{templateString:_4f9,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 _4fa=this.focusedChild,_4fb=_4fa&&_4fa.popup&&_4fa.popup.isShowingNow;this.inherited(arguments);if(_4fb&&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);_4f7.stop(evt);}},onItemClick:function(item,evt){if(item.popup&&item.popup.isShowingNow){item.popup.onCancel();}else{this.inherited(arguments);}}});});},"dijit/ToolbarSeparator":function(){define("dijit/ToolbarSeparator",["dojo/_base/declare","dojo/dom","./_Widget","./_TemplatedMixin"],function(_4fc,dom,_4fd,_4fe){return _4fc("dijit.ToolbarSeparator",[_4fd,_4fe],{templateString:"<div class=\"dijitToolbarSeparator dijitInline\" role=\"presentation\"></div>",buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.domNode,false);},isFocusable:function(){return false;}});});},"dijit/layout/StackController":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/_base/sniff","../focus","../registry","../_Widget","../_TemplatedMixin","../_Container","../form/ToggleButton","dojo/i18n!../nls/common"],function(_4ff,_500,_501,keys,lang,has,_502,_503,_504,_505,_506,_507){var _508=_500("dijit.layout._StackButton",_507,{tabIndex:"-1",closeButton:false,_setCheckedAttr:function(_509,_50a){this.inherited(arguments);this.focusNode.removeAttribute("aria-pressed");},buildRendering:function(evt){this.inherited(arguments);(this.focusNode||this.domNode).setAttribute("role","tab");},onClick:function(){_502.focus(this.focusNode);},onClickCloseButton:function(evt){evt.stopPropagation();}});var _50b=_500("dijit.layout.StackController",[_504,_505,_506],{baseClass:"dijitStackController",templateString:"<span role='tablist' data-dojo-attach-event='onkeypress'></span>",containerId:"",buttonWidget:_508,constructor:function(){this.pane2button={};this.pane2connects={};this.pane2watches={};},postCreate:function(){this.inherited(arguments);this.subscribe(this.containerId+"-startup","onStartup");this.subscribe(this.containerId+"-addChild","onAddChild");this.subscribe(this.containerId+"-removeChild","onRemoveChild");this.subscribe(this.containerId+"-selectChild","onSelectChild");this.subscribe(this.containerId+"-containerKeyPress","onContainerKeyPress");},onStartup:function(info){_4ff.forEach(info.children,this.onAddChild,this);if(info.selected){this.onSelectChild(info.selected);}},destroy:function(){for(var pane in this.pane2button){this.onRemoveChild(_503.byId(pane));}this.inherited(arguments);},onAddChild:function(page,_50c){var cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;var _50d=new cls({id:this.id+"_"+page.id,label:page.title,dir:page.dir,lang:page.lang,textDir:page.textDir,showLabel:page.showTitle,iconClass:page.iconClass,closeButton:page.closable,title:page.tooltip});_50d.focusNode.setAttribute("aria-selected","false");var _50e=["title","showTitle","iconClass","closable","tooltip"],_50f=["label","showLabel","iconClass","closeButton","title"];this.pane2watches[page.id]=_4ff.map(_50e,function(_510,idx){return page.watch(_510,function(name,_511,_512){_50d.set(_50f[idx],_512);});});this.pane2connects[page.id]=[this.connect(_50d,"onClick",lang.hitch(this,"onButtonClick",page)),this.connect(_50d,"onClickCloseButton",lang.hitch(this,"onCloseButtonClick",page))];this.addChild(_50d,_50c);this.pane2button[page.id]=_50d;page.controlButton=_50d;if(!this._currentChild){_50d.focusNode.setAttribute("tabIndex","0");_50d.focusNode.setAttribute("aria-selected","true");this._currentChild=page;}if(!this.isLeftToRight()&&has("ie")&&this._rectifyRtlTabList){this._rectifyRtlTabList();}},onRemoveChild:function(page){if(this._currentChild===page){this._currentChild=null;}_4ff.forEach(this.pane2connects[page.id],lang.hitch(this,"disconnect"));delete this.pane2connects[page.id];_4ff.forEach(this.pane2watches[page.id],function(w){w.unwatch();});delete this.pane2watches[page.id];var _513=this.pane2button[page.id];if(_513){this.removeChild(_513);delete this.pane2button[page.id];_513.destroy();}delete page.controlButton;},onSelectChild:function(page){if(!page){return;}if(this._currentChild){var _514=this.pane2button[this._currentChild.id];_514.set("checked",false);_514.focusNode.setAttribute("aria-selected","false");_514.focusNode.setAttribute("tabIndex","-1");}var _515=this.pane2button[page.id];_515.set("checked",true);_515.focusNode.setAttribute("aria-selected","true");this._currentChild=page;_515.focusNode.setAttribute("tabIndex","0");var _516=_503.byId(this.containerId);_516.containerNode.setAttribute("aria-labelledby",_515.id);},onButtonClick:function(page){if(this._currentChild.id===page.id){var _517=this.pane2button[page.id];_517.set("checked",true);}var _518=_503.byId(this.containerId);_518.selectChild(page);},onCloseButtonClick:function(page){var _519=_503.byId(this.containerId);_519.closeChild(page);if(this._currentChild){var b=this.pane2button[this._currentChild.id];if(b){_502.focus(b.focusNode||b.domNode);}}},adjacent:function(_51a){if(!this.isLeftToRight()&&(!this.tabPosition||/top|bottom/.test(this.tabPosition))){_51a=!_51a;}var _51b=this.getChildren();var _51c=_4ff.indexOf(_51b,this.pane2button[this._currentChild.id]);var _51d=_51a?1:_51b.length-1;return _51b[(_51c+_51d)%_51b.length];},onkeypress:function(e){if(this.disabled||e.altKey){return;}var _51e=null;if(e.ctrlKey||!e._djpage){switch(e.charOrCode){case keys.LEFT_ARROW:case keys.UP_ARROW:if(!e._djpage){_51e=false;}break;case keys.PAGE_UP:if(e.ctrlKey){_51e=false;}break;case keys.RIGHT_ARROW:case keys.DOWN_ARROW:if(!e._djpage){_51e=true;}break;case keys.PAGE_DOWN:if(e.ctrlKey){_51e=true;}break;case keys.HOME:case keys.END:var _51f=this.getChildren();if(_51f&&_51f.length){_51f[e.charOrCode==keys.HOME?0:_51f.length-1].onClick();}_501.stop(e);break;case keys.DELETE:if(this._currentChild.closable){this.onCloseButtonClick(this._currentChild);}_501.stop(e);break;default:if(e.ctrlKey){if(e.charOrCode===keys.TAB){this.adjacent(!e.shiftKey).onClick();_501.stop(e);}else{if(e.charOrCode=="w"){if(this._currentChild.closable){this.onCloseButtonClick(this._currentChild);}_501.stop(e);}}}}if(_51e!==null){this.adjacent(_51e).onClick();_501.stop(e);}}},onContainerKeyPress:function(info){info.e._djpage=info.page;this.onkeypress(info.e);}});_50b.StackButton=_508;return _50b;});},"url:dijit/templates/TooltipDialog.html":"<div role=\"presentation\" tabIndex=\"-1\">\n\t<div class=\"dijitTooltipContainer\" role=\"presentation\">\n\t\t<div class =\"dijitTooltipContents dijitTooltipFocusNode\" data-dojo-attach-point=\"containerNode\" role=\"dialog\"></div>\n\t</div>\n\t<div class=\"dijitTooltipConnector\" role=\"presentation\"></div>\n</div>\n","dojo/dnd/Mover":function(){define(["../main","../Evented","../touch","./common","./autoscroll"],function(dojo,_520,_521){dojo.declare("dojo.dnd.Mover",[_520],{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,_521.move,this,"onFirstMove"),dojo.connect(d,_521.move,this,"onMouseMove"),dojo.connect(d,_521.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/HorizontalRule":function(){define(["dojo/_base/declare","../_Widget","../_TemplatedMixin"],function(_522,_523,_524){return _522("dijit.form.HorizontalRule",[_523,_524],{templateString:"<div class=\"dijitRuleContainer dijitRuleContainerH\"></div>",count:3,container:"containerNode",ruleStyle:"",_positionPrefix:"<div class=\"dijitRuleMark dijitRuleMarkH\" style=\"left:",_positionSuffix:"%;",_suffix:"\"></div>",_genHTML:function(pos){return this._positionPrefix+pos+this._positionSuffix+this.ruleStyle+this._suffix;},_isHorizontal:true,buildRendering:function(){this.inherited(arguments);var _525;if(this.count==1){_525=this._genHTML(50,0);}else{var i;var _526=100/(this.count-1);if(!this._isHorizontal||this.isLeftToRight()){_525=this._genHTML(0,0);for(i=1;i<this.count-1;i++){_525+=this._genHTML(_526*i,i);}_525+=this._genHTML(100,this.count-1);}else{_525=this._genHTML(100,0);for(i=1;i<this.count-1;i++){_525+=this._genHTML(100-_526*i,i);}_525+=this._genHTML(0,this.count-1);}}this.domNode.innerHTML=_525;}});});},"dijit/layout/TabContainer":function(){define(["dojo/_base/lang","dojo/_base/declare","./_TabContainerBase","./TabController","./ScrollingTabController"],function(lang,_527,_528,_529,_52a){return _527("dijit.layout.TabContainer",_528,{useMenu:true,useSlider:true,controllerWidget:"",_makeController:function(_52b){var cls=this.baseClass+"-tabs"+(this.doLayout?"":" dijitTabNoLayout"),_529=lang.getObject(this.controllerWidget);return new _529({id:this.id+"_tablist",dir:this.dir,lang:this.lang,textDir:this.textDir,tabPosition:this.tabPosition,doLayout:this.doLayout,containerId:this.id,"class":cls,nested:this.nested,useMenu:this.useMenu,useSlider:this.useSlider,tabStripClass:this.tabStrip?this.baseClass+(this.tabStrip?"":"No")+"Strip":null},_52b);},postMixInProperties:function(){this.inherited(arguments);if(!this.controllerWidget){this.controllerWidget=(this.tabPosition=="top"||this.tabPosition=="bottom")&&!this.nested?"dijit.layout.ScrollingTabController":"dijit.layout.TabController";}}});});},"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","dijit/_editor/nls/FontChoice":function(){define({root:({fontSize:"Size",fontName:"Font",formatBlock:"Format",serif:"serif","sans-serif":"sans-serif",monospace:"monospace",cursive:"cursive",fantasy:"fantasy",noFormat:"None",p:"Paragraph",h1:"Heading",h2:"Subheading",h3:"Sub-subheading",pre:"Pre-formatted",1:"xx-small",2:"x-small",3:"small",4:"medium",5:"large",6:"x-large",7:"xx-large"}),"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/form/_Spinner":function(){define(["dojo/_base/declare","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/_base/sniff","dijit/typematic","./RangeBoundTextBox","dojo/text!./templates/Spinner.html","./_TextBoxMixin"],function(_52c,_52d,keys,lang,has,_52e,_52f,_530,_531){return _52c("dijit.form._Spinner",_52f,{defaultTimeout:500,minimumTimeout:10,timeoutChangeRate:0.9,smallDelta:1,largeDelta:10,templateString:_530,baseClass:"dijitTextBox dijitSpinner",cssStateNodes:{"upArrowNode":"dijitUpArrowButton","downArrowNode":"dijitDownArrowButton"},adjust:function(val){return val;},_arrowPressed:function(_532,_533,_534){if(this.disabled||this.readOnly){return;}this._setValueAttr(this.adjust(this.get("value"),_533*_534),false);_531.selectInputText(this.textbox,this.textbox.value.length);},_arrowReleased:function(){this._wheelTimer=null;},_typematicCallback:function(_535,node,evt){var inc=this.smallDelta;if(node==this.textbox){var key=evt.charOrCode;inc=(key==keys.PAGE_UP||key==keys.PAGE_DOWN)?this.largeDelta:this.smallDelta;node=(key==keys.UP_ARROW||key==keys.PAGE_UP)?this.upArrowNode:this.downArrowNode;}if(_535==-1){this._arrowReleased(node);}else{this._arrowPressed(node,(node==this.upArrowNode)?1:-1,inc);}},_wheelTimer:null,_mouseWheeled:function(evt){_52d.stop(evt);var _536=evt.wheelDelta/120;if(Math.floor(_536)!=_536){_536=evt.wheelDelta>0?1:-1;}var _537=evt.detail?(evt.detail*-1):_536;if(_537!==0){var node=this[(_537>0?"upArrowNode":"downArrowNode")];this._arrowPressed(node,_537,this.smallDelta);if(!this._wheelTimer){clearTimeout(this._wheelTimer);}this._wheelTimer=setTimeout(lang.hitch(this,"_arrowReleased",node),50);}},postCreate:function(){this.inherited(arguments);this.connect(this.domNode,!has("mozilla")?"onmousewheel":"DOMMouseScroll","_mouseWheeled");this._connects.push(_52e.addListener(this.upArrowNode,this.textbox,{charOrCode:keys.UP_ARROW,ctrlKey:false,altKey:false,shiftKey:false,metaKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout));this._connects.push(_52e.addListener(this.downArrowNode,this.textbox,{charOrCode:keys.DOWN_ARROW,ctrlKey:false,altKey:false,shiftKey:false,metaKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout));this._connects.push(_52e.addListener(this.upArrowNode,this.textbox,{charOrCode:keys.PAGE_UP,ctrlKey:false,altKey:false,shiftKey:false,metaKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout));this._connects.push(_52e.addListener(this.downArrowNode,this.textbox,{charOrCode:keys.PAGE_DOWN,ctrlKey:false,altKey:false,shiftKey:false,metaKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout));}});});},"dijit/form/Button":function(){define(["require","dojo/_base/declare","dojo/dom-class","dojo/_base/kernel","dojo/_base/lang","dojo/ready","./_FormWidget","./_ButtonMixin","dojo/text!./templates/Button.html"],function(_538,_539,_53a,_53b,lang,_53c,_53d,_53e,_53f){if(!_53b.isAsync){_53c(0,function(){var _540=["dijit/form/DropDownButton","dijit/form/ComboButton","dijit/form/ToggleButton"];_538(_540);});}return _539("dijit.form.Button",[_53d,_53e],{showLabel:true,iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitButton",templateString:_53f,_setValueAttr:"valueNode",_onClick:function(e){var ok=this.inherited(arguments);if(ok){if(this.valueNode){this.valueNode.click();e.preventDefault();}}return ok;},_fillContent:function(_541){if(_541&&(!this.params||!("label" in this.params))){var _542=lang.trim(_541.innerHTML);if(_542){this.label=_542;}}},_setShowLabelAttr:function(val){if(this.containerNode){_53a.toggle(this.containerNode,"dijitDisplayNone",!val);}this._set("showLabel",val);},setLabel:function(_543){_53b.deprecated("dijit.form.Button.setLabel() is deprecated.  Use set('label', ...) instead.","","2.0");this.set("label",_543);},_setLabelAttr:function(_544){this.inherited(arguments);if(!this.showLabel&&!("title" in this.params)){this.titleNode.title=lang.trim(this.containerNode.innerText||this.containerNode.textContent||"");}}});});},"url:dijit/layout/templates/TabContainer.html":"<div class=\"dijitTabContainer\">\n\t<div class=\"dijitTabListWrapper\" data-dojo-attach-point=\"tablistNode\"></div>\n\t<div data-dojo-attach-point=\"tablistSpacer\" class=\"dijitTabSpacer ${baseClass}-spacer\"></div>\n\t<div class=\"dijitTabPaneWrapper ${baseClass}-container\" data-dojo-attach-point=\"containerNode\"></div>\n</div>\n","dojo/dnd/move":function(){define(["../main","./Mover","./Moveable"],function(dojo){dojo.declare("dojo.dnd.move.constrainedMoveable",dojo.dnd.Moveable,{constraints:function(){},within:false,constructor:function(node,_545){if(!_545){_545={};}this.constraints=_545.constraints;this.within=_545.within;},onFirstMove:function(_546){var c=this.constraintBox=this.constraints.call(this,_546);c.r=c.l+c.w;c.b=c.t+c.h;if(this.within){var mb=dojo._getMarginSize(_546.node);c.r-=mb.w;c.b-=mb.h;}},onMove:function(_547,_548){var c=this.constraintBox,s=_547.node.style;this.onMoving(_547,_548);_548.l=_548.l<c.l?c.l:c.r<_548.l?c.r:_548.l;_548.t=_548.t<c.t?c.t:c.b<_548.t?c.b:_548.t;s.left=_548.l+"px";s.top=_548.t+"px";this.onMoved(_547,_548);}});dojo.declare("dojo.dnd.move.boxConstrainedMoveable",dojo.dnd.move.constrainedMoveable,{box:{},constructor:function(node,_549){var box=_549&&_549.box;this.constraints=function(){return box;};}});dojo.declare("dojo.dnd.move.parentConstrainedMoveable",dojo.dnd.move.constrainedMoveable,{area:"content",constructor:function(node,_54a){var area=_54a&&_54a.area;this.constraints=function(){var n=this.node.parentNode,s=dojo.getComputedStyle(n),mb=dojo._getMarginBox(n,s);if(area=="margin"){return mb;}var t=dojo._getMarginExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;if(area=="border"){return mb;}t=dojo._getBorderExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;if(area=="padding"){return mb;}t=dojo._getPadExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;return mb;};}});dojo.dnd.constrainedMover=dojo.dnd.move.constrainedMover;dojo.dnd.boxConstrainedMover=dojo.dnd.move.boxConstrainedMover;dojo.dnd.parentConstrainedMover=dojo.dnd.move.parentConstrainedMover;return dojo.dnd.move;});},"dijit/form/Form":function(){define(["dojo/_base/declare","dojo/dom-attr","dojo/_base/event","dojo/_base/kernel","dojo/_base/sniff","../_Widget","../_TemplatedMixin","./_FormMixin","../layout/_ContentPaneResizeMixin"],function(_54b,_54c,_54d,_54e,has,_54f,_550,_551,_552){return _54b("dijit.form.Form",[_54f,_550,_551,_552],{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(_553){this.encType=_553;_54c.set(this.domNode,"encType",_553);if(has("ie")){this.domNode.encoding=_553;}},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);_54d.stop(e);return false;},_onSubmit:function(e){var fp=this.constructor.prototype;if(this.execute!=fp.execute||this.onExecute!=fp.onExecute){_54e.deprecated("dijit.form.Form:execute()/onExecute() are deprecated. Use onSubmit() instead.","","2.0");this.onExecute();this.execute(this.getValues());}if(this.onSubmit(e)===false){_54d.stop(e);}},onSubmit:function(){return this.isValid();},submit:function(){if(!(this.onSubmit()===false)){this.containerNode.submit();}}});});},"dijit/layout/_TabContainerBase":function(){define(["dojo/text!./templates/TabContainer.html","./StackContainer","./utils","../_TemplatedMixin","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style"],function(_554,_555,_556,_557,_558,_559,_55a,_55b){return _558("dijit.layout._TabContainerBase",[_555,_557],{tabPosition:"top",baseClass:"dijitTabContainer",tabStrip:false,nested:false,templateString:_554,postMixInProperties:function(){this.baseClass+=this.tabPosition.charAt(0).toUpperCase()+this.tabPosition.substr(1).replace(/-.*/,"");this.srcNodeRef&&_55b.set(this.srcNodeRef,"visibility","hidden");this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);this.tablist=this._makeController(this.tablistNode);if(!this.doLayout){_559.add(this.domNode,"dijitTabContainerNoLayout");}if(this.nested){_559.add(this.domNode,"dijitTabContainerNested");_559.add(this.tablist.containerNode,"dijitTabContainerTabListNested");_559.add(this.tablistSpacer,"dijitTabContainerSpacerNested");_559.add(this.containerNode,"dijitTabPaneWrapperNested");}else{_559.add(this.domNode,"tabStrip-"+(this.tabStrip?"enabled":"disabled"));}},_setupChild:function(tab){_559.add(tab.domNode,"dijitTabPane");this.inherited(arguments);},startup:function(){if(this._started){return;}this.tablist.startup();this.inherited(arguments);},layout:function(){if(!this._contentBox||typeof (this._contentBox.l)=="undefined"){return;}var sc=this.selectedChildWidget;if(this.doLayout){var _55c=this.tabPosition.replace(/-h/,"");this.tablist.layoutAlign=_55c;var _55d=[this.tablist,{domNode:this.tablistSpacer,layoutAlign:_55c},{domNode:this.containerNode,layoutAlign:"client"}];_556.layoutChildren(this.domNode,this._contentBox,_55d);this._containerContentBox=_556.marginBox2contentBox(this.containerNode,_55d[2]);if(sc&&sc.resize){sc.resize(this._containerContentBox);}}else{if(this.tablist.resize){var s=this.tablist.domNode.style;s.width="0";var _55e=_55a.getContentBox(this.domNode).w;s.width="";this.tablist.resize({w:_55e});}if(sc&&sc.resize){sc.resize();}}},destroy:function(){if(this.tablist){this.tablist.destroy();}this.inherited(arguments);}});});},"dojo/store/Memory":function(){define(["../_base/declare","./util/QueryResults","./util/SimpleQueryEngine"],function(_55f,_560,_561){return _55f("dojo.store.Memory",null,{constructor:function(_562){for(var i in _562){this[i]=_562[i];}this.setData(this.data||[]);},data:null,idProperty:"id",index:null,queryEngine:_561,get:function(id){return this.data[this.index[id]];},getIdentity:function(_563){return _563[this.idProperty];},put:function(_564,_565){var data=this.data,_566=this.index,_567=this.idProperty;var id=(_565&&"id" in _565)?_565.id:_567 in _564?_564[_567]:Math.random();if(id in _566){if(_565&&_565.overwrite===false){throw new Error("Object already exists");}data[_566[id]]=_564;}else{_566[id]=data.push(_564)-1;}return id;},add:function(_568,_569){(_569=_569||{}).overwrite=false;return this.put(_568,_569);},remove:function(id){var _56a=this.index;var data=this.data;if(id in _56a){data.splice(_56a[id],1);this.setData(data);return true;}},query:function(_56b,_56c){return _560(this.queryEngine(_56b,_56c)(this.data));},setData:function(data){if(data.items){this.idProperty=data.identifier;data=this.data=data.items;}else{this.data=data;}this.index={};for(var i=0,l=data.length;i<l;i++){this.index[data[i][this.idProperty]]=i;}}});});},"url:dijit/templates/Tooltip.html":"<div class=\"dijitTooltip dijitTooltipLeft\" id=\"dojoTooltip\"\n\t><div class=\"dijitTooltipContainer dijitTooltipContents\" data-dojo-attach-point=\"containerNode\" role='alert'></div\n\t><div class=\"dijitTooltipConnector\" data-dojo-attach-point=\"connectorNode\"></div\n></div>\n","dijit/Editor":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/Deferred","dojo/i18n","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/_base/sniff","dojo/string","dojo/topic","dojo/_base/window","./_base/focus","./_Container","./Toolbar","./ToolbarSeparator","./layout/_LayoutWidget","./form/ToggleButton","./_editor/_Plugin","./_editor/plugins/EnterKeyHandling","./_editor/html","./_editor/range","./_editor/RichText",".","dojo/i18n!./_editor/nls/commands"],function(_56d,_56e,_56f,i18n,_570,_571,_572,_573,_574,keys,lang,has,_575,_576,win,_577,_578,_579,_57a,_57b,_57c,_57d,_57e,html,_57f,_580,_581){var _582=_56e("dijit.Editor",_580,{plugins:null,extraPlugins:null,constructor:function(){if(!lang.isArray(this.plugins)){this.plugins=["undo","redo","|","cut","copy","paste","|","bold","italic","underline","strikethrough","|","insertOrderedList","insertUnorderedList","indent","outdent","|","justifyLeft","justifyRight","justifyCenter","justifyFull",_57e];}this._plugins=[];this._editInterval=this.editActionInterval*1000;if(has("ie")){this.events.push("onBeforeDeactivate");this.events.push("onBeforeActivate");}},postMixInProperties:function(){this.setValueDeferred=new _56f();this.inherited(arguments);},postCreate:function(){this._steps=this._steps.slice(0);this._undoedSteps=this._undoedSteps.slice(0);if(lang.isArray(this.extraPlugins)){this.plugins=this.plugins.concat(this.extraPlugins);}this.inherited(arguments);this.commands=i18n.getLocalization("dijit._editor","commands",this.lang);if(!this.toolbar){this.toolbar=new _579({dir:this.dir,lang:this.lang});this.header.appendChild(this.toolbar.domNode);}_56d.forEach(this.plugins,this.addPlugin,this);this.setValueDeferred.callback(true);_571.add(this.iframe.parentNode,"dijitEditorIFrameContainer");_571.add(this.iframe,"dijitEditorIFrame");_570.set(this.iframe,"allowTransparency",true);if(has("webkit")){_573.set(this.domNode,"KhtmlUserSelect","none");}this.toolbar.startup();this.onNormalizedDisplayChanged();},destroy:function(){_56d.forEach(this._plugins,function(p){if(p&&p.destroy){p.destroy();}});this._plugins=[];this.toolbar.destroyRecursive();delete this.toolbar;this.inherited(arguments);},addPlugin:function(_583,_584){var args=lang.isString(_583)?{name:_583}:lang.isFunction(_583)?{ctor:_583}:_583;if(!args.setEditor){var o={"args":args,"plugin":null,"editor":this};if(args.name){if(_57d.registry[args.name]){o.plugin=_57d.registry[args.name](args);}else{_576.publish(_581._scopeName+".Editor.getPlugin",o);}}if(!o.plugin){var pc=args.ctor||lang.getObject(args.name);if(pc){o.plugin=new pc(args);}}if(!o.plugin){console.warn("Cannot find plugin",_583);return;}_583=o.plugin;}if(arguments.length>1){this._plugins[_584]=_583;}else{this._plugins.push(_583);}_583.setEditor(this);if(lang.isFunction(_583.setToolbar)){_583.setToolbar(this.toolbar);}},resize:function(size){if(size){_57b.prototype.resize.apply(this,arguments);}},layout:function(){var _585=(this._contentBox.h-(this.getHeaderHeight()+this.getFooterHeight()+_572.getPadBorderExtents(this.iframe.parentNode).h+_572.getMarginExtents(this.iframe.parentNode).h));this.editingArea.style.height=_585+"px";if(this.iframe){this.iframe.style.height="100%";}this._layoutMode=true;},_onIEMouseDown:function(e){var _586;var b=this.document.body;var _587=b.clientWidth;var _588=b.clientHeight;var _589=b.clientLeft;var _58a=b.offsetWidth;var _58b=b.offsetHeight;var _58c=b.offsetLeft;if(/^rtl$/i.test(b.dir||"")){if(_587<_58a&&e.x>_587&&e.x<_58a){_586=true;}}else{if(e.x<_589&&e.x>_58c){_586=true;}}if(!_586){if(_588<_58b&&e.y>_588&&e.y<_58b){_586=true;}}if(!_586){delete this._cursorToStart;delete this._savedSelection;if(e.target.tagName=="BODY"){setTimeout(lang.hitch(this,"placeCursorAtEnd"),0);}this.inherited(arguments);}},onBeforeActivate:function(){this._restoreSelection();},onBeforeDeactivate:function(e){if(this.customUndo){this.endEditing(true);}if(e.target.tagName!="BODY"){this._saveSelection();}},customUndo:true,editActionInterval:3,beginEditing:function(cmd){if(!this._inEditing){this._inEditing=true;this._beginEditing(cmd);}if(this.editActionInterval>0){if(this._editTimer){clearTimeout(this._editTimer);}this._editTimer=setTimeout(lang.hitch(this,this.endEditing),this._editInterval);}},_steps:[],_undoedSteps:[],execCommand:function(cmd){if(this.customUndo&&(cmd=="undo"||cmd=="redo")){return this[cmd]();}else{if(this.customUndo){this.endEditing();this._beginEditing();}var r=this.inherited(arguments);if(this.customUndo){this._endEditing();}return r;}},_pasteImpl:function(){return this._clipboardCommand("paste");},_cutImpl:function(){return this._clipboardCommand("cut");},_copyImpl:function(){return this._clipboardCommand("copy");},_clipboardCommand:function(cmd){var r;try{r=this.document.execCommand(cmd,false,null);if(has("webkit")&&!r){throw {code:1011};}}catch(e){if(e.code==1011){var sub=_575.substitute,_58d={cut:"X",copy:"C",paste:"V"};alert(sub(this.commands.systemShortcut,[this.commands[cmd],sub(this.commands[has("mac")?"appleKey":"ctrlKey"],[_58d[cmd]])]));}r=false;}return r;},queryCommandEnabled:function(cmd){if(this.customUndo&&(cmd=="undo"||cmd=="redo")){return cmd=="undo"?(this._steps.length>1):(this._undoedSteps.length>0);}else{return this.inherited(arguments);}},_moveToBookmark:function(b){var _58e=b.mark;var mark=b.mark;var col=b.isCollapsed;var r,_58f,_590,sel;if(mark){if(has("ie")<9){if(lang.isArray(mark)){_58e=[];_56d.forEach(mark,function(n){_58e.push(_57f.getNode(n,this.editNode));},this);win.withGlobal(this.window,"moveToBookmark",_581,[{mark:_58e,isCollapsed:col}]);}else{if(mark.startContainer&&mark.endContainer){sel=_57f.getSelection(this.window);if(sel&&sel.removeAllRanges){sel.removeAllRanges();r=_57f.create(this.window);_58f=_57f.getNode(mark.startContainer,this.editNode);_590=_57f.getNode(mark.endContainer,this.editNode);if(_58f&&_590){r.setStart(_58f,mark.startOffset);r.setEnd(_590,mark.endOffset);sel.addRange(r);}}}}}else{sel=_57f.getSelection(this.window);if(sel&&sel.removeAllRanges){sel.removeAllRanges();r=_57f.create(this.window);_58f=_57f.getNode(mark.startContainer,this.editNode);_590=_57f.getNode(mark.endContainer,this.editNode);if(_58f&&_590){r.setStart(_58f,mark.startOffset);r.setEnd(_590,mark.endOffset);sel.addRange(r);}}}}},_changeToStep:function(from,to){this.setValue(to.text);var b=to.bookmark;if(!b){return;}this._moveToBookmark(b);},undo:function(){var ret=false;if(!this._undoRedoActive){this._undoRedoActive=true;this.endEditing(true);var s=this._steps.pop();if(s&&this._steps.length>0){this.focus();this._changeToStep(s,this._steps[this._steps.length-1]);this._undoedSteps.push(s);this.onDisplayChanged();delete this._undoRedoActive;ret=true;}delete this._undoRedoActive;}return ret;},redo:function(){var ret=false;if(!this._undoRedoActive){this._undoRedoActive=true;this.endEditing(true);var s=this._undoedSteps.pop();if(s&&this._steps.length>0){this.focus();this._changeToStep(this._steps[this._steps.length-1],s);this._steps.push(s);this.onDisplayChanged();ret=true;}delete this._undoRedoActive;}return ret;},endEditing:function(_591){if(this._editTimer){clearTimeout(this._editTimer);}if(this._inEditing){this._endEditing(_591);this._inEditing=false;}},_getBookmark:function(){var b=win.withGlobal(this.window,_577.getBookmark);var tmp=[];if(b&&b.mark){var mark=b.mark;if(has("ie")<9){var sel=_57f.getSelection(this.window);if(!lang.isArray(mark)){if(sel){var _592;if(sel.rangeCount){_592=sel.getRangeAt(0);}if(_592){b.mark=_592.cloneRange();}else{b.mark=win.withGlobal(this.window,_577.getBookmark);}}}else{_56d.forEach(b.mark,function(n){tmp.push(_57f.getIndex(n,this.editNode).o);},this);b.mark=tmp;}}try{if(b.mark&&b.mark.startContainer){tmp=_57f.getIndex(b.mark.startContainer,this.editNode).o;b.mark={startContainer:tmp,startOffset:b.mark.startOffset,endContainer:b.mark.endContainer===b.mark.startContainer?tmp:_57f.getIndex(b.mark.endContainer,this.editNode).o,endOffset:b.mark.endOffset};}}catch(e){b.mark=null;}}return b;},_beginEditing:function(){if(this._steps.length===0){this._steps.push({"text":html.getChildrenHtml(this.editNode),"bookmark":this._getBookmark()});}},_endEditing:function(){var v=html.getChildrenHtml(this.editNode);this._undoedSteps=[];this._steps.push({text:v,bookmark:this._getBookmark()});},onKeyDown:function(e){if(!has("ie")&&!this.iframe&&e.keyCode==keys.TAB&&!this.tabIndent){this._saveSelection();}if(!this.customUndo){this.inherited(arguments);return;}var k=e.keyCode;if(e.ctrlKey&&!e.altKey){if(k==90||k==122){_574.stop(e);this.undo();return;}else{if(k==89||k==121){_574.stop(e);this.redo();return;}}}this.inherited(arguments);switch(k){case keys.ENTER:case keys.BACKSPACE:case keys.DELETE:this.beginEditing();break;case 88:case 86:if(e.ctrlKey&&!e.altKey&&!e.metaKey){this.endEditing();if(e.keyCode==88){this.beginEditing("cut");setTimeout(lang.hitch(this,this.endEditing),1);}else{this.beginEditing("paste");setTimeout(lang.hitch(this,this.endEditing),1);}break;}default:if(!e.ctrlKey&&!e.altKey&&!e.metaKey&&(e.keyCode<keys.F1||e.keyCode>keys.F15)){this.beginEditing();break;}case keys.ALT:this.endEditing();break;case keys.UP_ARROW:case keys.DOWN_ARROW:case keys.LEFT_ARROW:case keys.RIGHT_ARROW:case keys.HOME:case keys.END:case keys.PAGE_UP:case keys.PAGE_DOWN:this.endEditing(true);break;case keys.CTRL:case keys.SHIFT:case keys.TAB:break;}},_onBlur:function(){this.inherited(arguments);this.endEditing(true);},_saveSelection:function(){try{this._savedSelection=this._getBookmark();}catch(e){}},_restoreSelection:function(){if(this._savedSelection){delete this._cursorToStart;if(win.withGlobal(this.window,"isCollapsed",_581)){this._moveToBookmark(this._savedSelection);}delete this._savedSelection;}},onClick:function(){this.endEditing(true);this.inherited(arguments);},replaceValue:function(html){if(!this.customUndo){this.inherited(arguments);}else{if(this.isClosed){this.setValue(html);}else{this.beginEditing();if(!html){html="&#160;";}this.setValue(html);this.endEditing();}}},_setDisabledAttr:function(_593){var _594=lang.hitch(this,function(){if((!this.disabled&&_593)||(!this._buttonEnabledPlugins&&_593)){_56d.forEach(this._plugins,function(p){p.set("disabled",true);});}else{if(this.disabled&&!_593){_56d.forEach(this._plugins,function(p){p.set("disabled",false);});}}});this.setValueDeferred.addCallback(_594);this.inherited(arguments);},_setStateClass:function(){try{this.inherited(arguments);if(this.document&&this.document.body){_573.set(this.document.body,"color",_573.get(this.iframe,"color"));}}catch(e){}}});function _595(args){return new _57d({command:args.name});};function _596(args){return new _57d({buttonClass:_57c,command:args.name});};lang.mixin(_57d.registry,{"undo":_595,"redo":_595,"cut":_595,"copy":_595,"paste":_595,"insertOrderedList":_595,"insertUnorderedList":_595,"indent":_595,"outdent":_595,"justifyCenter":_595,"justifyFull":_595,"justifyLeft":_595,"justifyRight":_595,"delete":_595,"selectAll":_595,"removeFormat":_595,"unlink":_595,"insertHorizontalRule":_595,"bold":_596,"italic":_596,"underline":_596,"strikethrough":_596,"subscript":_596,"superscript":_596,"|":function(){return new _57d({button:new _57a(),setEditor:function(_597){this.editor=_597;}});}});return _582;});},"dojo/cldr/nls/currency":function(){define({root:{"USD_symbol":"US$","CAD_symbol":"CA$","GBP_symbol":"£","HKD_symbol":"HK$","JPY_symbol":"JP¥","AUD_symbol":"AU$","CNY_symbol":"CN¥","EUR_symbol":"€"},"ar":true,"ca":true,"cs":true,"da":true,"de":true,"el":true,"en":true,"en-au":true,"en-ca":true,"es":true,"fi":true,"fr":true,"he":true,"hu":true,"it":true,"ja":true,"ko":true,"nb":true,"nl":true,"pl":true,"pt":true,"ro":true,"ru":true,"sk":true,"sl":true,"sv":true,"th":true,"tr":true,"zh":true,"zh-hant":true,"zh-hk":true,"zh-tw":true});},"dijit/Toolbar":function(){define(["require","dojo/_base/declare","dojo/_base/kernel","dojo/keys","dojo/ready","./_Widget","./_KeyNavContainer","./_TemplatedMixin"],function(_598,_599,_59a,keys,_59b,_59c,_59d,_59e){if(!_59a.isAsync){_59b(0,function(){var _59f=["dijit/ToolbarSeparator"];_598(_59f);});}return _599("dijit.Toolbar",[_59c,_59e,_59d],{templateString:"<div class=\"dijit\" role=\"toolbar\" tabIndex=\"${tabIndex}\" data-dojo-attach-point=\"containerNode\">"+"</div>",baseClass:"dijitToolbar",postCreate:function(){this.inherited(arguments);this.connectKeyNavHandlers(this.isLeftToRight()?[keys.LEFT_ARROW]:[keys.RIGHT_ARROW],this.isLeftToRight()?[keys.RIGHT_ARROW]:[keys.LEFT_ARROW]);}});});},"dijit/layout/StackContainer":function(){define(["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(_5a0,_5a1,_5a2,_5a3,_5a4,lang,_5a5,_5a6,_5a7,_5a8,_5a9){if(!_5a4.isAsync){_5a5(0,function(){var _5aa=["dijit/layout/StackController"];require(_5aa);});}lang.extend(_5a8,{selected:false,closable:false,iconClass:"dijitNoIcon",showTitle:true});return _5a2("dijit.layout.StackContainer",_5a9,{doLayout:true,persist:false,baseClass:"dijitStackContainer",buildRendering:function(){this.inherited(arguments);_5a3.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 _5ab=this.getChildren();_5a0.forEach(_5ab,this._setupChild,this);if(this.persist){this.selectedChildWidget=_5a7.byId(_5a1(this.id+"_selectedChild"));}else{_5a0.some(_5ab,function(_5ac){if(_5ac.selected){this.selectedChildWidget=_5ac;}return _5ac.selected;},this);}var _5ad=this.selectedChildWidget;if(!_5ad&&_5ab[0]){_5ad=this.selectedChildWidget=_5ab[0];_5ad.selected=true;}_5a6.publish(this.id+"-startup",{children:_5ab,selected:_5ad});this.inherited(arguments);},resize:function(){if(!this._hasBeenShown){this._hasBeenShown=true;var _5ae=this.selectedChildWidget;if(_5ae){this._showChild(_5ae);}}this.inherited(arguments);},_setupChild:function(_5af){this.inherited(arguments);_5a3.replace(_5af.domNode,"dijitHidden","dijitVisible");_5af.domNode.title="";},addChild:function(_5b0,_5b1){this.inherited(arguments);if(this._started){_5a6.publish(this.id+"-addChild",_5b0,_5b1);this.layout();if(!this.selectedChildWidget){this.selectChild(_5b0);}}},removeChild:function(page){this.inherited(arguments);if(this._started){_5a6.publish(this.id+"-removeChild",page);}if(this._descendantsBeingDestroyed){return;}if(this.selectedChildWidget===page){this.selectedChildWidget=undefined;if(this._started){var _5b2=this.getChildren();if(_5b2.length){this.selectChild(_5b2[0]);}}}if(this._started){this.layout();}},selectChild:function(page,_5b3){page=_5a7.byId(page);if(this.selectedChildWidget!=page){var d=this._transition(page,this.selectedChildWidget,_5b3);this._set("selectedChildWidget",page);_5a6.publish(this.id+"-selectChild",page);if(this.persist){_5a1(this.id+"_selectedChild",this.selectedChildWidget.id);}}return d;},_transition:function(_5b4,_5b5){if(_5b5){this._hideChild(_5b5);}var d=this._showChild(_5b4);if(_5b4.resize){if(this.doLayout){_5b4.resize(this._containerContentBox||this._contentBox);}else{_5b4.resize();}}return d;},_adjacent:function(_5b6){var _5b7=this.getChildren();var _5b8=_5a0.indexOf(_5b7,this.selectedChildWidget);_5b8+=_5b6?1:_5b7.length-1;return _5b7[_5b8%_5b7.length];},forward:function(){return this.selectChild(this._adjacent(true),true);},back:function(){return this.selectChild(this._adjacent(false),true);},_onKeyPress:function(e){_5a6.publish(this.id+"-containerKeyPress",{e:e,page:this});},layout:function(){var _5b9=this.selectedChildWidget;if(_5b9&&_5b9.resize){if(this.doLayout){_5b9.resize(this._containerContentBox||this._contentBox);}else{_5b9.resize();}}},_showChild:function(page){var _5ba=this.getChildren();page.isFirstChild=(page==_5ba[0]);page.isLastChild=(page==_5ba[_5ba.length-1]);page._set("selected",true);_5a3.replace(page.domNode,"dijitVisible","dijitHidden");return (page._onShow&&page._onShow())||true;},_hideChild:function(page){page._set("selected",false);_5a3.replace(page.domNode,"dijitHidden","dijitVisible");page.onHide&&page.onHide();},closeChild:function(page){var _5bb=page.onClose(this,page);if(_5bb){this.removeChild(page);page.destroyRecursive();}},destroyDescendants:function(_5bc){this._descendantsBeingDestroyed=true;this.selectedChildWidget=undefined;_5a0.forEach(this.getChildren(),function(_5bd){if(!_5bc){this.removeChild(_5bd);}_5bd.destroyRecursive(_5bc);},this);this._descendantsBeingDestroyed=false;}});});},"dojo/regexp":function(){define(["./_base/kernel","./_base/lang"],function(dojo,lang){lang.getObject("regexp",true,dojo);dojo.regexp.escapeString=function(str,_5be){return str.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(ch){if(_5be&&_5be.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};dojo.regexp.buildGroupRE=function(arr,re,_5bf){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("|"),_5bf);};dojo.regexp.group=function(_5c0,_5c1){return "("+(_5c1?"?:":"")+_5c0+")";};return dojo.regexp;});},"dijit/form/ComboBox":function(){define(["dojo/_base/declare","./ValidationTextBox","./ComboBoxMixin"],function(_5c2,_5c3,_5c4){return _5c2("dijit.form.ComboBox",[_5c3,_5c4],{});});},"dijit/form/_FormMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/window"],function(_5c5,_5c6,_5c7,lang,_5c8){return _5c6("dijit.form._FormMixin",null,{state:"",_getDescendantFormWidgets:function(_5c9){var res=[];_5c5.forEach(_5c9||this.getChildren(),function(_5ca){if("value" in _5ca){res.push(_5ca);}else{res=res.concat(this._getDescendantFormWidgets(_5ca.getChildren()));}},this);return res;},reset:function(){_5c5.forEach(this._getDescendantFormWidgets(),function(_5cb){if(_5cb.reset){_5cb.reset();}});},validate:function(){var _5cc=false;return _5c5.every(_5c5.map(this._getDescendantFormWidgets(),function(_5cd){_5cd._hasBeenBlurred=true;var _5ce=_5cd.disabled||!_5cd.validate||_5cd.validate();if(!_5ce&&!_5cc){_5c8.scrollIntoView(_5cd.containerNode||_5cd.domNode);_5cd.focus();_5cc=true;}return _5ce;}),function(item){return item;});},setValues:function(val){_5c7.deprecated(this.declaredClass+"::setValues() is deprecated. Use set('value', val) instead.","","2.0");return this.set("value",val);},_setValueAttr:function(obj){var map={};_5c5.forEach(this._getDescendantFormWidgets(),function(_5cf){if(!_5cf.name){return;}var _5d0=map[_5cf.name]||(map[_5cf.name]=[]);_5d0.push(_5cf);});for(var name in map){if(!map.hasOwnProperty(name)){continue;}var _5d1=map[name],_5d2=lang.getObject(name,false,obj);if(_5d2===undefined){continue;}if(!lang.isArray(_5d2)){_5d2=[_5d2];}if(typeof _5d1[0].checked=="boolean"){_5c5.forEach(_5d1,function(w){w.set("value",_5c5.indexOf(_5d2,w.value)!=-1);});}else{if(_5d1[0].multiple){_5d1[0].set("value",_5d2);}else{_5c5.forEach(_5d1,function(w,i){w.set("value",_5d2[i]);});}}}},getValues:function(){_5c7.deprecated(this.declaredClass+"::getValues() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},_getValueAttr:function(){var obj={};_5c5.forEach(this._getDescendantFormWidgets(),function(_5d3){var name=_5d3.name;if(!name||_5d3.disabled){return;}var _5d4=_5d3.get("value");if(typeof _5d3.checked=="boolean"){if(/Radio/.test(_5d3.declaredClass)){if(_5d4!==false){lang.setObject(name,_5d4,obj);}else{_5d4=lang.getObject(name,false,obj);if(_5d4===undefined){lang.setObject(name,null,obj);}}}else{var ary=lang.getObject(name,false,obj);if(!ary){ary=[];lang.setObject(name,ary,obj);}if(_5d4!==false){ary.push(_5d4);}}}else{var prev=lang.getObject(name,false,obj);if(typeof prev!="undefined"){if(lang.isArray(prev)){prev.push(_5d4);}else{lang.setObject(name,[prev,_5d4],obj);}}else{lang.setObject(name,_5d4,obj);}}});return obj;},isValid:function(){return this.state=="";},onValidStateChange:function(){},_getState:function(){var _5d5=_5c5.map(this._descendants,function(w){return w.get("state")||"";});return _5c5.indexOf(_5d5,"Error")>=0?"Error":_5c5.indexOf(_5d5,"Incomplete")>=0?"Incomplete":"";},disconnectChildren:function(){_5c5.forEach(this._childConnections||[],lang.hitch(this,"disconnect"));_5c5.forEach(this._childWatches||[],function(w){w.unwatch();});},connectChildren:function(_5d6){var _5d7=this;this.disconnectChildren();this._descendants=this._getDescendantFormWidgets();var set=_5d6?function(name,val){_5d7[name]=val;}:lang.hitch(this,"_set");set("value",this.get("value"));set("state",this._getState());var _5d8=(this._childConnections=[]),_5d9=(this._childWatches=[]);_5c5.forEach(_5c5.filter(this._descendants,function(item){return item.validate;}),function(_5da){_5c5.forEach(["state","disabled"],function(attr){_5d9.push(_5da.watch(attr,function(){_5d7.set("state",_5d7._getState());}));});});var _5db=function(){if(_5d7._onChangeDelayTimer){clearTimeout(_5d7._onChangeDelayTimer);}_5d7._onChangeDelayTimer=setTimeout(function(){delete _5d7._onChangeDelayTimer;_5d7._set("value",_5d7.get("value"));},10);};_5c5.forEach(_5c5.filter(this._descendants,function(item){return item.onChange;}),function(_5dc){_5d8.push(_5d7.connect(_5dc,"onChange",_5db));_5d9.push(_5dc.watch("disabled",_5db));});},startup:function(){this.inherited(arguments);this.connectChildren(true);this.watch("state",function(attr,_5dd,_5de){this.onValidStateChange(_5de=="");});},destroy:function(){this.disconnectChildren();this.inherited(arguments);}});});},"dijit/_editor/plugins/LinkDialog":function(){define(["require","dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/lang","dojo/_base/sniff","dojo/string","dojo/_base/window","../../_Widget","../_Plugin","../../form/DropDownButton","../range","../selection"],function(_5df,_5e0,_5e1,keys,lang,has,_5e2,win,_5e3,_5e4,_5e5,_5e6,_5e7){var _5e8=_5e0("dijit._editor.plugins.LinkDialog",_5e4,{buttonClass:_5e5,useDefaultCommand:false,urlRegExp:"((https?|ftps?|file)\\://|./|/|)(/[a-zA-Z]{1,1}:/|)(((?:(?:[\\da-zA-Z](?:[-\\da-zA-Z]{0,61}[\\da-zA-Z])?)\\.)*(?:[a-zA-Z](?:[-\\da-zA-Z]{0,80}[\\da-zA-Z])?)\\.?)|(((\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.){3}(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])|(0[xX]0*[\\da-fA-F]?[\\da-fA-F]\\.){3}0[xX]0*[\\da-fA-F]?[\\da-fA-F]|(0+[0-3][0-7][0-7]\\.){3}0+[0-3][0-7][0-7]|(0|[1-9]\\d{0,8}|[1-3]\\d{9}|4[01]\\d{8}|42[0-8]\\d{7}|429[0-3]\\d{6}|4294[0-8]\\d{5}|42949[0-5]\\d{4}|429496[0-6]\\d{3}|4294967[01]\\d{2}|42949672[0-8]\\d|429496729[0-5])|0[xX]0*[\\da-fA-F]{1,8}|([\\da-fA-F]{1,4}\\:){7}[\\da-fA-F]{1,4}|([\\da-fA-F]{1,4}\\:){6}((\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.){3}(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])))(\\:\\d+)?(/(?:[^?#\\s/]+/)*(?:[^?#\\s/]{0,}(?:\\?[^?#\\s/]*)?(?:#.*)?)?)?",emailRegExp:"<?(mailto\\:)([!#-'*+\\-\\/-9=?A-Z^-~]+[.])*[!#-'*+\\-\\/-9=?A-Z^-~]+"+"@"+"((?:(?:[\\da-zA-Z](?:[-\\da-zA-Z]{0,61}[\\da-zA-Z])?)\\.)+(?:[a-zA-Z](?:[-\\da-zA-Z]{0,6}[\\da-zA-Z])?)\\.?)|localhost|^[^-][a-zA-Z0-9_-]*>?",htmlTemplate:"<a href=\"${urlInput}\" _djrealurl=\"${urlInput}\""+" target=\"${targetSelect}\""+">${textInput}</a>",tag:"a",_hostRxp:/^((([^\[:]+):)?([^@]+)@)?(\[([^\]]+)\]|([^\[:]*))(:([0-9]+))?$/,_userAtRxp:/^([!#-'*+\-\/-9=?A-Z^-~]+[.])*[!#-'*+\-\/-9=?A-Z^-~]+@/i,linkDialogTemplate:["<table><tr><td>","<label for='${id}_urlInput'>${url}</label>","</td><td>","<input data-dojo-type='dijit.form.ValidationTextBox' required='true' "+"id='${id}_urlInput' name='urlInput' data-dojo-props='intermediateChanges:true'/>","</td></tr><tr><td>","<label for='${id}_textInput'>${text}</label>","</td><td>","<input data-dojo-type='dijit.form.ValidationTextBox' required='true' id='${id}_textInput' "+"name='textInput' data-dojo-props='intermediateChanges:true'/>","</td></tr><tr><td>","<label for='${id}_targetSelect'>${target}</label>","</td><td>","<select id='${id}_targetSelect' name='targetSelect' data-dojo-type='dijit.form.Select'>","<option selected='selected' value='_self'>${currentWindow}</option>","<option value='_blank'>${newWindow}</option>","<option value='_top'>${topWindow}</option>","<option value='_parent'>${parentWindow}</option>","</select>","</td></tr><tr><td colspan='2'>","<button data-dojo-type='dijit.form.Button' type='submit' id='${id}_setButton'>${set}</button>","<button data-dojo-type='dijit.form.Button' type='button' id='${id}_cancelButton'>${buttonCancel}</button>","</td></tr></table>"].join(""),_initButton:function(){this.inherited(arguments);this.button.loadDropDown=lang.hitch(this,"_loadDropDown");this._connectTagEvents();},_loadDropDown:function(_5e9){_5df(["dojo/i18n","../../TooltipDialog","../../registry","../../form/Button","../../form/Select","../../form/ValidationTextBox","dojo/i18n!../../nls/common","dojo/i18n!../nls/LinkDialog"],lang.hitch(this,function(i18n,_5ea,_5eb){var _5ec=this;this.tag=this.command=="insertImage"?"img":"a";var _5ed=lang.delegate(i18n.getLocalization("dijit","common",this.lang),i18n.getLocalization("dijit._editor","LinkDialog",this.lang));var _5ee=(this.dropDown=this.button.dropDown=new _5ea({title:_5ed[this.command+"Title"],execute:lang.hitch(this,"setValue"),onOpen:function(){_5ec._onOpenDialog();_5ea.prototype.onOpen.apply(this,arguments);},onCancel:function(){setTimeout(lang.hitch(_5ec,"_onCloseDialog"),0);}}));_5ed.urlRegExp=this.urlRegExp;_5ed.id=_5eb.getUniqueId(this.editor.id);this._uniqueId=_5ed.id;this._setContent(_5ee.title+"<div style='border-bottom: 1px black solid;padding-bottom:2pt;margin-bottom:4pt'></div>"+_5e2.substitute(this.linkDialogTemplate,_5ed));_5ee.startup();this._urlInput=_5eb.byId(this._uniqueId+"_urlInput");this._textInput=_5eb.byId(this._uniqueId+"_textInput");this._setButton=_5eb.byId(this._uniqueId+"_setButton");this.connect(_5eb.byId(this._uniqueId+"_cancelButton"),"onClick",function(){this.dropDown.onCancel();});if(this._urlInput){this.connect(this._urlInput,"onChange","_checkAndFixInput");}if(this._textInput){this.connect(this._textInput,"onChange","_checkAndFixInput");}this._urlRegExp=new RegExp("^"+this.urlRegExp+"$","i");this._emailRegExp=new RegExp("^"+this.emailRegExp+"$","i");this._urlInput.isValid=lang.hitch(this,function(){var _5ef=this._urlInput.get("value");return this._urlRegExp.test(_5ef)||this._emailRegExp.test(_5ef);});this.connect(_5ee.domNode,"onkeypress",function(e){if(e&&e.charOrCode==keys.ENTER&&!e.shiftKey&&!e.metaKey&&!e.ctrlKey&&!e.altKey){if(!this._setButton.get("disabled")){_5ee.onExecute();_5ee.execute(_5ee.get("value"));}}});_5e9();}));},_checkAndFixInput:function(){var self=this;var url=this._urlInput.get("value");var _5f0=function(url){var _5f1=false;var _5f2=false;if(url&&url.length>1){url=lang.trim(url);if(url.indexOf("mailto:")!==0){if(url.indexOf("/")>0){if(url.indexOf("://")===-1){if(url.charAt(0)!=="/"&&url.indexOf("./")!==0){if(self._hostRxp.test(url)){_5f1=true;}}}}else{if(self._userAtRxp.test(url)){_5f2=true;}}}}if(_5f1){self._urlInput.set("value","http://"+url);}if(_5f2){self._urlInput.set("value","mailto:"+url);}self._setButton.set("disabled",!self._isValid());};if(this._delayedCheck){clearTimeout(this._delayedCheck);this._delayedCheck=null;}this._delayedCheck=setTimeout(function(){_5f0(url);},250);},_connectTagEvents:function(){this.editor.onLoadDeferred.addCallback(lang.hitch(this,function(){this.connect(this.editor.editNode,"ondblclick",this._onDblClick);}));},_isValid:function(){return this._urlInput.isValid()&&this._textInput.isValid();},_setContent:function(_5f3){this.dropDown.set({parserScope:"dojo",content:_5f3});},_checkValues:function(args){if(args&&args.urlInput){args.urlInput=args.urlInput.replace(/"/g,"&quot;");}return args;},setValue:function(args){this._onCloseDialog();if(has("ie")<9){var sel=_5e6.getSelection(this.editor.window);var _5f4=sel.getRangeAt(0);var a=_5f4.endContainer;if(a.nodeType===3){a=a.parentNode;}if(a&&(a.nodeName&&a.nodeName.toLowerCase()!==this.tag)){a=win.withGlobal(this.editor.window,"getSelectedElement",_5e7,[this.tag]);}if(a&&(a.nodeName&&a.nodeName.toLowerCase()===this.tag)){if(this.editor.queryCommandEnabled("unlink")){win.withGlobal(this.editor.window,"selectElementChildren",_5e7,[a]);this.editor.execCommand("unlink");}}}args=this._checkValues(args);this.editor.execCommand("inserthtml",_5e2.substitute(this.htmlTemplate,args));},_onCloseDialog:function(){this.editor.focus();},_getCurrentValues:function(a){var url,text,_5f5;if(a&&a.tagName.toLowerCase()===this.tag){url=a.getAttribute("_djrealurl")||a.getAttribute("href");_5f5=a.getAttribute("target")||"_self";text=a.textContent||a.innerText;win.withGlobal(this.editor.window,"selectElement",_5e7,[a,true]);}else{text=win.withGlobal(this.editor.window,_5e7.getSelectedText);}return {urlInput:url||"",textInput:text||"",targetSelect:_5f5||""};},_onOpenDialog:function(){var a;if(has("ie")<9){var sel=_5e6.getSelection(this.editor.window);var _5f6=sel.getRangeAt(0);a=_5f6.endContainer;if(a.nodeType===3){a=a.parentNode;}if(a&&(a.nodeName&&a.nodeName.toLowerCase()!==this.tag)){a=win.withGlobal(this.editor.window,"getSelectedElement",_5e7,[this.tag]);}}else{a=win.withGlobal(this.editor.window,"getAncestorElement",_5e7,[this.tag]);}this.dropDown.reset();this._setButton.set("disabled",true);this.dropDown.set("value",this._getCurrentValues(a));},_onDblClick:function(e){if(e&&e.target){var t=e.target;var tg=t.tagName?t.tagName.toLowerCase():"";if(tg===this.tag&&_5e1.get(t,"href")){var _5f7=this.editor;win.withGlobal(_5f7.window,"selectElement",_5e7,[t]);_5f7.onDisplayChanged();if(_5f7._updateTimer){clearTimeout(_5f7._updateTimer);delete _5f7._updateTimer;}_5f7.onNormalizedDisplayChanged();var _5f8=this.button;setTimeout(function(){_5f8.set("disabled",false);_5f8.loadAndOpenDropDown().then(function(){if(_5f8.dropDown.focus){_5f8.dropDown.focus();}});},10);}}}});var _5f9=_5e0("dijit._editor.plugins.ImgLinkDialog",[_5e8],{linkDialogTemplate:["<table><tr><td>","<label for='${id}_urlInput'>${url}</label>","</td><td>","<input dojoType='dijit.form.ValidationTextBox' regExp='${urlRegExp}' "+"required='true' id='${id}_urlInput' name='urlInput' data-dojo-props='intermediateChanges:true'/>","</td></tr><tr><td>","<label for='${id}_textInput'>${text}</label>","</td><td>","<input data-dojo-type='dijit.form.ValidationTextBox' required='false' id='${id}_textInput' "+"name='textInput' data-dojo-props='intermediateChanges:true'/>","</td></tr><tr><td>","</td><td>","</td></tr><tr><td colspan='2'>","<button data-dojo-type='dijit.form.Button' type='submit' id='${id}_setButton'>${set}</button>","<button data-dojo-type='dijit.form.Button' type='button' id='${id}_cancelButton'>${buttonCancel}</button>","</td></tr></table>"].join(""),htmlTemplate:"<img src=\"${urlInput}\" _djrealurl=\"${urlInput}\" alt=\"${textInput}\" />",tag:"img",_getCurrentValues:function(img){var url,text;if(img&&img.tagName.toLowerCase()===this.tag){url=img.getAttribute("_djrealurl")||img.getAttribute("src");text=img.getAttribute("alt");win.withGlobal(this.editor.window,"selectElement",_5e7,[img,true]);}else{text=win.withGlobal(this.editor.window,_5e7.getSelectedText);}return {urlInput:url||"",textInput:text||""};},_isValid:function(){return this._urlInput.isValid();},_connectTagEvents:function(){this.inherited(arguments);this.editor.onLoadDeferred.addCallback(lang.hitch(this,function(){this.connect(this.editor.editNode,"onmousedown",this._selectTag);}));},_selectTag:function(e){if(e&&e.target){var t=e.target;var tg=t.tagName?t.tagName.toLowerCase():"";if(tg===this.tag){win.withGlobal(this.editor.window,"selectElement",_5e7,[t]);}}},_checkValues:function(args){if(args&&args.urlInput){args.urlInput=args.urlInput.replace(/"/g,"&quot;");}if(args&&args.textInput){args.textInput=args.textInput.replace(/"/g,"&quot;");}return args;},_onDblClick:function(e){if(e&&e.target){var t=e.target;var tg=t.tagName?t.tagName.toLowerCase():"";if(tg===this.tag&&_5e1.get(t,"src")){var _5fa=this.editor;win.withGlobal(_5fa.window,"selectElement",_5e7,[t]);_5fa.onDisplayChanged();if(_5fa._updateTimer){clearTimeout(_5fa._updateTimer);delete _5fa._updateTimer;}_5fa.onNormalizedDisplayChanged();var _5fb=this.button;setTimeout(function(){_5fb.set("disabled",false);_5fb.loadAndOpenDropDown().then(function(){if(_5fb.dropDown.focus){_5fb.dropDown.focus();}});},10);}}}});_5e4.registry["createLink"]=function(){return new _5e8({command:"createLink"});};_5e4.registry["insertImage"]=function(){return new _5f9({command:"insertImage"});};_5e8.ImgLinkDialog=_5f9;return _5e8;});},"dijit/DropDownMenu":function(){define(["dojo/_base/declare","dojo/_base/event","dojo/keys","dojo/text!./templates/Menu.html","./_OnDijitClickMixin","./_MenuBase"],function(_5fc,_5fd,keys,_5fe,_5ff,_600){return _5fc("dijit.DropDownMenu",[_600,_5ff],{templateString:_5fe,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);_5fd.stop(evt);break;case this._closeSubMenuKey:if(this.parentMenu){if(this.parentMenu._isMenuBar){this.parentMenu.focusPrev();}else{this.onCancel(false);}}else{_5fd.stop(evt);}break;}}});});},"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(_601,_602,_603,_604,dom,_605,_606,_607,_608,keys,lang,on,has,win,_609,pm,_60a,_60b){if(!_608.isAsync){_60b(0,function(){var _60c=["dijit/MenuItem","dijit/PopupMenuItem","dijit/CheckedMenuItem","dijit/MenuSeparator"];_601(_60c);});}return _603("dijit.Menu",_60a,{constructor:function(){this._bindings=[];},targetNodeIds:[],contextMenuForWindow:false,leftClickToOpen:false,refocus:true,postCreate:function(){if(this.contextMenuForWindow){this.bindDomNode(win.body());}else{_602.forEach(this.targetNodeIds,this.bindDomNode,this);}this.inherited(arguments);},_iframeContentWindow:function(_60d){return _609.get(this._iframeContentDocument(_60d))||this._iframeContentDocument(_60d)["__parent__"]||(_60d.name&&win.doc.frames[_60d.name])||null;},_iframeContentDocument:function(_60e){return _60e.contentDocument||(_60e.contentWindow&&_60e.contentWindow.document)||(_60e.name&&win.doc.frames[_60e.name]&&win.doc.frames[_60e.name].document)||null;},bindDomNode:function(node){node=dom.byId(node);var cn;if(node.tagName.toLowerCase()=="iframe"){var _60f=node,_610=this._iframeContentWindow(_60f);cn=win.withGlobal(_610,win.body);}else{cn=(node==win.body()?win.doc.documentElement:node);}var _611={node:node,iframe:_60f};_605.set(node,"_dijitMenu"+this.id,this._bindings.push(_611));var _612=lang.hitch(this,function(cn){return [on(cn,this.leftClickToOpen?"click":"contextmenu",lang.hitch(this,function(evt){_604.stop(evt);this._scheduleOpen(evt.target,_60f,{x:evt.pageX,y:evt.pageY});})),on(cn,"keydown",lang.hitch(this,function(evt){if(evt.shiftKey&&evt.keyCode==keys.F10){_604.stop(evt);this._scheduleOpen(evt.target,_60f);}}))];});_611.connects=cn?_612(cn):[];if(_60f){_611.onloadHandler=lang.hitch(this,function(){var _613=this._iframeContentWindow(_60f);cn=win.withGlobal(_613,win.body);_611.connects=_612(cn);});if(_60f.addEventListener){_60f.addEventListener("load",_611.onloadHandler,false);}else{_60f.attachEvent("onload",_611.onloadHandler);}}},unBindDomNode:function(_614){var node;try{node=dom.byId(_614);}catch(e){return;}var _615="_dijitMenu"+this.id;if(node&&_605.has(node,_615)){var bid=_605.get(node,_615)-1,b=this._bindings[bid],h;while(h=b.connects.pop()){h.remove();}var _616=b.iframe;if(_616){if(_616.removeEventListener){_616.removeEventListener("load",b.onloadHandler,false);}else{_616.detachEvent("onload",b.onloadHandler);}}_605.remove(node,_615);delete this._bindings[bid];}},_scheduleOpen:function(_617,_618,_619){if(!this._openTimer){this._openTimer=setTimeout(lang.hitch(this,function(){delete this._openTimer;this._openMyself({target:_617,iframe:_618,coords:_619});}),1);}},_openMyself:function(args){var _61a=args.target,_61b=args.iframe,_61c=args.coords;if(_61c){if(_61b){var ifc=_606.position(_61b,true),_61d=this._iframeContentWindow(_61b),_61e=win.withGlobal(_61d,"_docScroll",dojo);var cs=_607.getComputedStyle(_61b),tp=_607.toPixelValue,left=(has("ie")&&has("quirks")?0:tp(_61b,cs.paddingLeft))+(has("ie")&&has("quirks")?tp(_61b,cs.borderLeftWidth):0),top=(has("ie")&&has("quirks")?0:tp(_61b,cs.paddingTop))+(has("ie")&&has("quirks")?tp(_61b,cs.borderTopWidth):0);_61c.x+=ifc.x+left-_61e.x;_61c.y+=ifc.y+top-_61e.y;}}else{_61c=_606.position(_61a,true);_61c.x+=10;_61c.y+=10;}var self=this;var _61f=this._focusManager.get("prevNode");var _620=this._focusManager.get("curNode");var _621=!_620||(dom.isDescendant(_620,this.domNode))?_61f:_620;function _622(){if(self.refocus&&_621){_621.focus();}pm.close(self);};pm.open({popup:this,x:_61c.x,y:_61c.y,onExecute:_622,onCancel:_622,orient:this.isLeftToRight()?"L":"R"});this.focus();this._onBlur=function(){this.inherited("_onBlur",arguments);pm.close(this);};},uninitialize:function(){_602.forEach(this._bindings,function(b){if(b){this.unBindDomNode(b.node);}},this);this.inherited(arguments);}});});},"dijit/form/_CheckBoxMixin":function(){define(["dojo/_base/declare","dojo/dom-attr","dojo/_base/event"],function(_623,_624,_625){return _623("dijit.form._CheckBoxMixin",null,{type:"checkbox",value:"on",readOnly:false,_aria_attr:"aria-checked",_setReadOnlyAttr:function(_626){this._set("readOnly",_626);_624.set(this.focusNode,"readOnly",_626);this.focusNode.setAttribute("aria-readonly",_626);},_setLabelAttr:undefined,postMixInProperties:function(){if(this.value==""){this.value="on";}this.inherited(arguments);},reset:function(){this.inherited(arguments);this._set("value",this.params.value||"on");_624.set(this.focusNode,"value",this.value);},_onClick:function(e){if(this.readOnly){_625.stop(e);return false;}return this.inherited(arguments);}});});},"dijit/layout/ContentPane":function(){define(["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(_627,lang,_628,_629,_62a,html,_62b,_62c,_62d,_62e,dom,_62f,win,xhr,i18n){return _62d("dijit.layout.ContentPane",[_628,_629],{href:"",content:"",extractContent:false,parseOnLoad:true,parserScope:_627._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(_630,_631){if((!_630||!_630.template)&&_631&&!("href" in _630)&&!("content" in _630)){var df=win.doc.createDocumentFragment();_631=dom.byId(_631);while(_631.firstChild){df.appendChild(_631.firstChild);}_630=lang.delegate(_630,{content:df});}this.inherited(arguments,[_630,_631]);},postMixInProperties:function(){this.inherited(arguments);var _632=i18n.getLocalization("dijit","loading",this.lang);this.loadingMessage=_62a.substitute(this.loadingMessage,_632);this.errorMessage=_62a.substitute(this.errorMessage,_632);},buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}this.domNode.title="";if(!_62f.get(this.domNode,"role")){this.domNode.setAttribute("role","group");}},startup:function(){this.inherited(arguments);if(this._contentSetter){_62c.forEach(this._contentSetter.parseResults,function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}},this);}},setHref:function(href){_627.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 _62e(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){_627.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 _62e(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(_633){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 _62e(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 _634={preventCache:(this.preventCache||this.refreshOnShow),url:this.href,handleAs:"text"};if(lang.isObject(this.ioArgs)){lang.mixin(_634,this.ioArgs);}var hand=(this._xhrDfd=(this.ioMethod||xhr.get)(_634));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(_635){if(this.isLoaded){this._onUnloadHandler();}var _636=this._contentSetter;_62c.forEach(this.getChildren(),function(_637){if(_637.destroyRecursive){_637.destroyRecursive(_635);}});if(_636){_62c.forEach(_636.parseResults,function(_638){if(_638.destroyRecursive&&_638.domNode&&_638.domNode.parentNode==win.body()){_638.destroyRecursive(_635);}});delete _636.parseResults;}if(!_635){html._emptyNode(this.containerNode);}delete this._singleChild;},_setContent:function(cont,_639){this.destroyDescendants();var _63a=this._contentSetter;if(!(_63a&&_63a instanceof html._ContentSetter)){_63a=this._contentSetter=new html._ContentSetter({node:this.containerNode,_onError:lang.hitch(this,this._onError),onContentError:lang.hitch(this,function(e){var _63b=this.onContentError(e);try{this.containerNode.innerHTML=_63b;}catch(e){console.error("Fatal "+this.id+" could not change content due to "+e.message,e);}})});}var _63c=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||{});_63a.set((lang.isObject(cont)&&cont.domNode)?cont.domNode:cont,_63c);delete this._contentSetterParams;if(this.doLayout){this._checkIfSingleChild();}if(!_639){if(this._started){delete this._started;this.startup();this._scheduleLayout();}this._onLoadHandler(cont);}},_onError:function(type,err,_63d){this.onLoadDeferred.errback(err);var _63e=this["on"+type+"Error"].call(this,err);if(_63d){console.error(_63d,err);}else{if(_63e){this._setContent(_63e,true);}}},onLoad:function(){},onUnload:function(){},onDownloadStart:function(){return this.loadingMessage;},onContentError:function(){},onDownloadError:function(){return this.errorMessage;},onDownloadEnd:function(){}});});},"url:dijit/form/templates/ValidationTextBox.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\"\n\tid=\"widget_${id}\" role=\"presentation\"\n\t><div class='dijitReset dijitValidationContainer'\n\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t/></div\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class=\"dijitReset dijitInputInner\" data-dojo-attach-point='textbox,focusNode' autocomplete=\"off\"\n\t\t\t${!nameAttrSetting} type='${type}'\n\t/></div\n></div>\n","url:dijit/form/templates/TextBox.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\" id=\"widget_${id}\" role=\"presentation\"\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class=\"dijitReset dijitInputInner\" data-dojo-attach-point='textbox,focusNode' autocomplete=\"off\"\n\t\t\t${!nameAttrSetting} type='${type}'\n\t/></div\n></div>\n","dijit/_KeyNavContainer":function(){define(["dojo/_base/kernel","./_Container","./_FocusMixin","dojo/_base/array","dojo/keys","dojo/_base/declare","dojo/_base/event","dojo/dom-attr","dojo/_base/lang"],function(_63f,_640,_641,_642,keys,_643,_644,_645,lang){return _643("dijit._KeyNavContainer",[_641,_640],{tabIndex:"0",connectKeyNavHandlers:function(_646,_647){var _648=(this._keyNavCodes={});var prev=lang.hitch(this,"focusPrev");var next=lang.hitch(this,"focusNext");_642.forEach(_646,function(code){_648[code]=prev;});_642.forEach(_647,function(code){_648[code]=next;});_648[keys.HOME]=lang.hitch(this,"focusFirstChild");_648[keys.END]=lang.hitch(this,"focusLastChild");this.connect(this.domNode,"onkeypress","_onContainerKeypress");this.connect(this.domNode,"onfocus","_onContainerFocus");},startupKeyNavChildren:function(){_63f.deprecated("startupKeyNavChildren() call no longer needed","","2.0");},startup:function(){this.inherited(arguments);_642.forEach(this.getChildren(),lang.hitch(this,"_startupChild"));},addChild:function(_649,_64a){this.inherited(arguments);this._startupChild(_649);},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(_64b,last){if(!_64b){return;}if(this.focusedChild&&_64b!==this.focusedChild){this._onChildBlur(this.focusedChild);}_64b.set("tabIndex",this.tabIndex);_64b.focus(last?"end":"start");this._set("focusedChild",_64b);},_startupChild:function(_64c){_64c.set("tabIndex","-1");this.connect(_64c,"_onFocus",function(){_64c.set("tabIndex",this.tabIndex);});this.connect(_64c,"_onBlur",function(){_64c.set("tabIndex","-1");});},_onContainerFocus:function(evt){if(evt.target!==this.domNode||this.focusedChild){return;}this.focusFirstChild();_645.set(this.domNode,"tabIndex","-1");},_onBlur:function(evt){if(this.tabIndex){_645.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();_644.stop(evt);}},_onChildBlur:function(){},_getFirstFocusableChild:function(){return this._getNextFocusableChild(null,1);},_getLastFocusableChild:function(){return this._getNextFocusableChild(null,-1);},_getNextFocusableChild:function(_64d,dir){if(_64d){_64d=this._getSiblingOfChild(_64d,dir);}var _64e=this.getChildren();for(var i=0;i<_64e.length;i++){if(!_64d){_64d=_64e[(dir>0)?0:(_64e.length-1)];}if(_64d.isFocusable()){return _64d;}_64d=this._getSiblingOfChild(_64d,dir);}return null;}});});},"dijit/layout/utils":function(){define(["dojo/_base/array","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang",".."],function(_64f,_650,_651,_652,lang,_653){var _654=lang.getObject("layout",true,_653);_654.marginBox2contentBox=function(node,mb){var cs=_652.getComputedStyle(node);var me=_651.getMarginExtents(node,cs);var pb=_651.getPadBorderExtents(node,cs);return {l:_652.toPixelValue(node,cs.paddingLeft),t:_652.toPixelValue(node,cs.paddingTop),w:mb.w-(me.w+pb.w),h:mb.h-(me.h+pb.h)};};function _655(word){return word.substring(0,1).toUpperCase()+word.substring(1);};function size(_656,dim){var _657=_656.resize?_656.resize(dim):_651.setMarginBox(_656.domNode,dim);if(_657){lang.mixin(_656,_657);}else{lang.mixin(_656,_651.getMarginBox(_656.domNode));lang.mixin(_656,dim);}};_654.layoutChildren=function(_658,dim,_659,_65a,_65b){dim=lang.mixin({},dim);_650.add(_658,"dijitLayoutContainer");_659=_64f.filter(_659,function(item){return item.region!="center"&&item.layoutAlign!="client";}).concat(_64f.filter(_659,function(item){return item.region=="center"||item.layoutAlign=="client";}));_64f.forEach(_659,function(_65c){var elm=_65c.domNode,pos=(_65c.region||_65c.layoutAlign);if(!pos){throw new Error("No region setting for "+_65c.id);}var _65d=elm.style;_65d.left=dim.l+"px";_65d.top=dim.t+"px";_65d.position="absolute";_650.add(elm,"dijitAlign"+_655(pos));var _65e={};if(_65a&&_65a==_65c.id){_65e[_65c.region=="top"||_65c.region=="bottom"?"h":"w"]=_65b;}if(pos=="top"||pos=="bottom"){_65e.w=dim.w;size(_65c,_65e);dim.h-=_65c.h;if(pos=="top"){dim.t+=_65c.h;}else{_65d.top=dim.t+dim.h+"px";}}else{if(pos=="left"||pos=="right"){_65e.h=dim.h;size(_65c,_65e);dim.w-=_65c.w;if(pos=="left"){dim.l+=_65c.w;}else{_65d.left=dim.l+dim.w+"px";}}else{if(pos=="client"||pos=="center"){size(_65c,dim);}}}});};return {marginBox2contentBox:_654.marginBox2contentBox,layoutChildren:_654.layoutChildren};});},"dijit/form/DataList":function(){define(["dojo/_base/declare","dojo/dom","dojo/_base/lang","dojo/query","dojo/store/Memory","../registry"],function(_65f,dom,lang,_660,_661,_662){function _663(_664){return {id:_664.value,value:_664.value,name:lang.trim(_664.innerText||_664.textContent||"")};};return _65f("dijit.form.DataList",_661,{constructor:function(_665,_666){this.domNode=dom.byId(_666);lang.mixin(this,_665);if(this.id){_662.add(this);}this.domNode.style.display="none";this.inherited(arguments,[{data:_660("option",this.domNode).map(_663)}]);},destroy:function(){_662.remove(this.id);},fetchSelectedItem:function(){var _667=_660("> option[selected]",this.domNode)[0]||_660("> option",this.domNode)[0];return _667&&_663(_667);}});});},"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/_editor/_Plugin":function(){define(["dojo/_base/connect","dojo/_base/declare","dojo/_base/lang","../form/Button"],function(_668,_669,lang,_66a){var _66b=_669("dijit._editor._Plugin",null,{constructor:function(args){this.params=args||{};lang.mixin(this,this.params);this._connects=[];this._attrPairNames={};},editor:null,iconClassPrefix:"dijitEditorIcon",button:null,command:"",useDefaultCommand:true,buttonClass:_66a,disabled:false,getLabel:function(key){return this.editor.commands[key];},_initButton:function(){if(this.command.length){var _66c=this.getLabel(this.command),_66d=this.editor,_66e=this.iconClassPrefix+" "+this.iconClassPrefix+this.command.charAt(0).toUpperCase()+this.command.substr(1);if(!this.button){var _66f=lang.mixin({label:_66c,dir:_66d.dir,lang:_66d.lang,showLabel:false,iconClass:_66e,dropDown:this.dropDown,tabIndex:"-1"},this.params||{});this.button=new this.buttonClass(_66f);}}if(this.get("disabled")&&this.button){this.button.set("disabled",this.get("disabled"));}},destroy:function(){var h;while(h=this._connects.pop()){h.remove();}if(this.dropDown){this.dropDown.destroyRecursive();}},connect:function(o,f,tf){this._connects.push(_668.connect(o,f,this,tf));},updateState:function(){var e=this.editor,c=this.command,_670,_671;if(!e||!e.isLoaded||!c.length){return;}var _672=this.get("disabled");if(this.button){try{_671=!_672&&e.queryCommandEnabled(c);if(this.enabled!==_671){this.enabled=_671;this.button.set("disabled",!_671);}if(typeof this.button.checked=="boolean"){_670=e.queryCommandState(c);if(this.checked!==_670){this.checked=_670;this.button.set("checked",e.queryCommandState(c));}}}catch(e){}}},setEditor:function(_673){this.editor=_673;this._initButton();if(this.button&&this.useDefaultCommand){if(this.editor.queryCommandAvailable(this.command)){this.connect(this.button,"onClick",lang.hitch(this.editor,"execCommand",this.command,this.commandArg));}else{this.button.domNode.style.display="none";}}this.connect(this.editor,"onNormalizedDisplayChanged","updateState");},setToolbar:function(_674){if(this.button){_674.addChild(this.button);}},set:function(name,_675){if(typeof name==="object"){for(var x in name){this.set(x,name[x]);}return this;}var _676=this._getAttrNames(name);if(this[_676.s]){var _677=this[_676.s].apply(this,Array.prototype.slice.call(arguments,1));}else{this._set(name,_675);}return _677||this;},get:function(name){var _678=this._getAttrNames(name);return this[_678.g]?this[_678.g]():this[name];},_setDisabledAttr:function(_679){this.disabled=_679;this.updateState();},_getAttrNames:function(name){var apn=this._attrPairNames;if(apn[name]){return apn[name];}var uc=name.charAt(0).toUpperCase()+name.substr(1);return (apn[name]={s:"_set"+uc+"Attr",g:"_get"+uc+"Attr"});},_set:function(name,_67a){this[name]=_67a;}});_66b.registry={};return _66b;});},"dijit/form/CheckBox":function(){define(["require","dojo/_base/declare","dojo/dom-attr","dojo/_base/kernel","dojo/query","dojo/ready","./ToggleButton","./_CheckBoxMixin","dojo/text!./templates/CheckBox.html","dojo/NodeList-dom"],function(_67b,_67c,_67d,_67e,_67f,_680,_681,_682,_683){if(!_67e.isAsync){_680(0,function(){var _684=["dijit/form/RadioButton"];_67b(_684);});}return _67c("dijit.form.CheckBox",[_681,_682],{templateString:_683,baseClass:"dijitCheckBox",_setValueAttr:function(_685,_686){if(typeof _685=="string"){this._set("value",_685);_67d.set(this.focusNode,"value",_685);_685=true;}if(this._created){this.set("checked",_685,_686);}},_getValueAttr:function(){return (this.checked?this.value:false);},_setIconClassAttr:null,postMixInProperties:function(){this.inherited(arguments);this.checkedAttrSetting=this.checked?"checked":"";},_fillContent:function(){},_onFocus:function(){if(this.id){_67f("label[for='"+this.id+"']").addClass("dijitFocusedLabel");}this.inherited(arguments);},_onBlur:function(){if(this.id){_67f("label[for='"+this.id+"']").removeClass("dijitFocusedLabel");}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/tree/_dndSelector":function(){define(["dojo/_base/array","dojo/_base/connect","dojo/_base/declare","dojo/_base/lang","dojo/mouse","dojo/on","dojo/touch","dojo/_base/window","./_dndContainer"],function(_687,_688,_689,lang,_68a,on,_68b,win,_68c){return _689("dijit.tree._dndSelector",_68c,{constructor:function(){this.selection={};this.anchor=null;this.tree.domNode.setAttribute("aria-multiselect",!this.singular);this.events.push(on(this.tree.domNode,_68b.press,lang.hitch(this,"onMouseDown")),on(this.tree.domNode,_68b.release,lang.hitch(this,"onMouseUp")),on(this.tree.domNode,_68b.move,lang.hitch(this,"onMouseMove")));},singular:false,getSelectedTreeNodes:function(){var _68d=[],sel=this.selection;for(var i in sel){_68d.push(sel[i]);}return _68d;},selectNone:function(){this.setSelection([]);return this;},destroy:function(){this.inherited(arguments);this.selection=this.anchor=null;},addTreeNode:function(node,_68e){this.setSelection(this.getSelectedTreeNodes().concat([node]));if(_68e){this.anchor=node;}return node;},removeTreeNode:function(node){this.setSelection(this._setDifference(this.getSelectedTreeNodes(),[node]));return node;},isTreeNodeSelected:function(node){return node.id&&!!this.selection[node.id];},setSelection:function(_68f){var _690=this.getSelectedTreeNodes();_687.forEach(this._setDifference(_690,_68f),lang.hitch(this,function(node){node.setSelected(false);if(this.anchor==node){delete this.anchor;}delete this.selection[node.id];}));_687.forEach(this._setDifference(_68f,_690),lang.hitch(this,function(node){node.setSelected(true);this.selection[node.id]=node;}));this._updateSelectionProperties();},_setDifference:function(xs,ys){_687.forEach(ys,function(y){y.__exclude__=true;});var ret=_687.filter(xs,function(x){return !x.__exclude__;});_687.forEach(ys,function(y){delete y["__exclude__"];});return ret;},_updateSelectionProperties:function(){var _691=this.getSelectedTreeNodes();var _692=[],_693=[];_687.forEach(_691,function(node){_693.push(node);_692.push(node.getTreePath());});var _694=_687.map(_693,function(node){return node.item;});this.tree._set("paths",_692);this.tree._set("path",_692[0]||[]);this.tree._set("selectedNodes",_693);this.tree._set("selectedNode",_693[0]||null);this.tree._set("selectedItems",_694);this.tree._set("selectedItem",_694[0]||null);},onMouseDown:function(e){if(!this.current||this.tree.isExpandoNode(e.target,this.current)){return;}if(!_68a.isLeft(e)){return;}e.preventDefault();var _695=this.current,copy=_688.isCopyKey(e),id=_695.id;if(!this.singular&&!e.shiftKey&&this.selection[id]){this._doDeselect=true;return;}else{this._doDeselect=false;}this.userSelect(_695,copy,e.shiftKey);},onMouseUp:function(e){if(!this._doDeselect){return;}this._doDeselect=false;this.userSelect(this.current,_688.isCopyKey(e),e.shiftKey);},onMouseMove:function(){this._doDeselect=false;},_compareNodes:function(n1,n2){if(n1===n2){return 0;}if("sourceIndex" in document.documentElement){return n1.sourceIndex-n2.sourceIndex;}else{if("compareDocumentPosition" in document.documentElement){return n1.compareDocumentPosition(n2)&2?1:-1;}else{if(document.createRange){var r1=doc.createRange();r1.setStartBefore(n1);var r2=doc.createRange();r2.setStartBefore(n2);return r1.compareBoundaryPoints(r1.END_TO_END,r2);}else{throw Error("dijit.tree._compareNodes don't know how to compare two different nodes in this browser");}}}},userSelect:function(node,_696,_697){if(this.singular){if(this.anchor==node&&_696){this.selectNone();}else{this.setSelection([node]);this.anchor=node;}}else{if(_697&&this.anchor){var cr=this._compareNodes(this.anchor.rowNode,node.rowNode),_698,end,_699=this.anchor;if(cr<0){_698=_699;end=node;}else{_698=node;end=_699;}var _69a=[];while(_698!=end){_69a.push(_698);_698=this.tree._getNextNode(_698);}_69a.push(end);this.setSelection(_69a);}else{if(this.selection[node.id]&&_696){this.removeTreeNode(node);}else{if(_696){this.addTreeNode(node,true);}else{this.setSelection([node]);this.anchor=node;}}}}},getItem:function(key){var _69b=this.selection[key];return {data:_69b,type:["treeNode"]};},forInSelectedItems:function(f,o){o=o||win.global;for(var id in this.selection){f.call(o,this.getItem(id),id,this);}}});});},"dojo/html":function(){define(["./_base/kernel","./_base/lang","./_base/array","./_base/declare","./dom","./dom-construct","./parser"],function(dojo,lang,_69c,_69d,dom,_69e,_69f){lang.getObject("html",true,dojo);var _6a0=0;dojo.html._secureForInnerHtml=function(cont){return cont.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig,"");};dojo.html._emptyNode=_69e.empty;dojo.html._setNodeContent=function(node,cont){_69e.empty(node);if(cont){if(typeof cont=="string"){cont=_69e.toDom(cont,node.ownerDocument);}if(!cont.nodeType&&lang.isArrayLike(cont)){for(var _6a1=cont.length,i=0;i<cont.length;i=_6a1==cont.length?i+1:0){_69e.place(cont[i],node,"last");}}else{_69e.place(cont,node,"last");}}return node;};_69d("dojo.html._ContentSetter",null,{node:"",content:"",id:"",cleanContent:false,extractContent:false,parseContent:false,parserScope:dojo._scopeName,startup:true,constructor:function(_6a2,node){lang.mixin(this,_6a2||{});node=this.node=dom.byId(this.node||node);if(!this.id){this.id=["Setter",(node)?node.id||node.tagName:"",_6a0++].join("_");}},set:function(cont,_6a3){if(undefined!==cont){this.content=cont;}if(_6a3){this._mixin(_6a3);}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 _6a4=this.onContentError(e);try{node.innerHTML=_6a4;}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){_69c.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 _6a5=cont.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_6a5){cont=_6a5[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(_6a6){var _6a7={},key;for(key in _6a6){if(key in _6a7){continue;}this[key]=_6a6[key];}},_parse:function(){var _6a8=this.node;try{var _6a9={};_69c.forEach(["dir","lang","textDir"],function(name){if(this[name]){_6a9[name]=this[name];}},this);this.parseResults=_69f.parse({rootNode:_6a8,noStart:!this.startup,inherited:_6a9,scope:this.parserScope});}catch(e){this._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);}},_onError:function(type,err,_6aa){var _6ab=this["on"+type+"Error"].call(this,err);if(_6aa){console.error(_6aa,err);}else{if(_6ab){dojo.html._setNodeContent(this.node,_6ab,true);}}}});dojo.html.set=function(node,cont,_6ac){if(undefined==cont){console.warn("dojo.html.set: no cont argument provided, using empty string");cont="";}if(!_6ac){return dojo.html._setNodeContent(node,cont,true);}else{var op=new dojo.html._ContentSetter(lang.mixin(_6ac,{content:cont,node:node}));return op.set();}};return dojo.html;});},"dijit/_PaletteMixin":function(){define(["dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/_base/event","dojo/keys","dojo/_base/lang","./_CssStateMixin","./focus","./typematic"],function(_6ad,_6ae,_6af,_6b0,_6b1,keys,lang,_6b2,_6b3,_6b4){return _6ad("dijit._PaletteMixin",[_6b2],{defaultTimeout:500,timeoutChangeRate:0.9,value:"",_selectedCell:-1,tabIndex:"0",cellClass:"dijitPaletteCell",dyeClass:"",summary:"",_setSummaryAttr:"paletteTableNode",_dyeFactory:function(_6b5){var _6b6=lang.getObject(this.dyeClass);return new _6b6(_6b5);},_preparePalette:function(_6b7,_6b8){this._cells=[];var url=this._blankGif;this.connect(this.gridNode,"ondijitclick","_onCellClick");for(var row=0;row<_6b7.length;row++){var _6b9=_6b0.create("tr",{tabIndex:"-1"},this.gridNode);for(var col=0;col<_6b7[row].length;col++){var _6ba=_6b7[row][col];if(_6ba){var _6bb=this._dyeFactory(_6ba,row,col);var _6bc=_6b0.create("td",{"class":this.cellClass,tabIndex:"-1",title:_6b8[_6ba],role:"gridcell"});_6bb.fillCell(_6bc,url);_6b0.place(_6bc,_6b9);_6bc.index=this._cells.length;this._cells.push({node:_6bc,dye:_6bb});}}}this._xDim=_6b7[0].length;this._yDim=_6b7.length;var _6bd={UP_ARROW:-this._xDim,DOWN_ARROW:this._xDim,RIGHT_ARROW:this.isLeftToRight()?1:-1,LEFT_ARROW:this.isLeftToRight()?-1:1};for(var key in _6bd){this._connects.push(_6b4.addKeyListener(this.domNode,{charOrCode:keys[key],ctrlKey:false,altKey:false,shiftKey:false},this,function(){var _6be=_6bd[key];return function(_6bf){this._navigateByKey(_6be,_6bf);};}(),this.timeoutChangeRate,this.defaultTimeout));}},postCreate:function(){this.inherited(arguments);this._setCurrent(this._cells[0].node);},focus:function(){_6b3.focus(this._currentFocus);},_onCellClick:function(evt){var _6c0=evt.target;while(_6c0.tagName!="TD"){if(!_6c0.parentNode||_6c0==this.gridNode){return;}_6c0=_6c0.parentNode;}var _6c1=this._getDye(_6c0).getValue();this._setCurrent(_6c0);_6b3.focus(_6c0);this._setValueAttr(_6c1,true);_6b1.stop(evt);},_setCurrent:function(node){if("_currentFocus" in this){_6ae.set(this._currentFocus,"tabIndex","-1");}this._currentFocus=node;if(node){_6ae.set(node,"tabIndex",this.tabIndex);}},_setValueAttr:function(_6c2,_6c3){if(this._selectedCell>=0){_6af.remove(this._cells[this._selectedCell].node,this.cellClass+"Selected");}this._selectedCell=-1;if(_6c2){for(var i=0;i<this._cells.length;i++){if(_6c2==this._cells[i].dye.getValue()){this._selectedCell=i;_6af.add(this._cells[i].node,this.cellClass+"Selected");break;}}}this._set("value",this._selectedCell>=0?_6c2:null);if(_6c3||_6c3===undefined){this.onChange(_6c2);}},onChange:function(){},_navigateByKey:function(_6c4,_6c5){if(_6c5==-1){return;}var _6c6=this._currentFocus.index+_6c4;if(_6c6<this._cells.length&&_6c6>-1){var _6c7=this._cells[_6c6].node;this._setCurrent(_6c7);setTimeout(lang.hitch(dijit,"focus",_6c7),0);}},_getDye:function(cell){return this._cells[cell.index].dye;}});});},"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/form/ValidationTextBox":function(){define(["dojo/_base/declare","dojo/i18n","./TextBox","../Tooltip","dojo/text!./templates/ValidationTextBox.html","dojo/i18n!./nls/validate"],function(_6c8,i18n,_6c9,_6ca,_6cb){return _6c8("dijit.form.ValidationTextBox",_6c9,{templateString:_6cb,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(_6cc,_6cd){return (new RegExp("^(?:"+this.regExpGen(_6cd)+")"+(this.required?"":"?")+"$")).test(_6cc)&&(!this.required||!this._isEmpty(_6cc))&&(this._isEmpty(_6cc)||this.parse(_6cc,_6cd)!==undefined);},_isValidSubset:function(){return this.textbox.value.search(this._partialre)==0;},isValid:function(){return this.validator(this.textbox.value,this.constraints);},_isEmpty:function(_6ce){return (this.trim?/^\s*$/:/^$/).test(_6ce);},getErrorMessage:function(){return (this.required&&this._isEmpty(this.textbox.value))?this.missingMessage:this.invalidMessage;},getPromptMessage:function(){return this.promptMessage;},_maskValidSubsetError:true,validate:function(_6cf){var _6d0="";var _6d1=this.disabled||this.isValid(_6cf);if(_6d1){this._maskValidSubsetError=true;}var _6d2=this._isEmpty(this.textbox.value);var _6d3=!_6d1&&_6cf&&this._isValidSubset();this._set("state",_6d1?"":(((((!this._hasBeenBlurred||_6cf)&&_6d2)||_6d3)&&this._maskValidSubsetError)?"Incomplete":"Error"));this.focusNode.setAttribute("aria-invalid",_6d1?"false":"true");if(this.state=="Error"){this._maskValidSubsetError=_6cf&&_6d3;_6d0=this.getErrorMessage(_6cf);}else{if(this.state=="Incomplete"){_6d0=this.getPromptMessage(_6cf);this._maskValidSubsetError=!this._hasBeenBlurred||_6cf;}else{if(_6d2){_6d0=this.getPromptMessage(_6cf);}}}this.set("message",_6d0);return _6d1;},displayMessage:function(_6d4){if(_6d4&&this.focused){_6ca.show(_6d4,this.domNode,this.tooltipPosition,!this.isLeftToRight());}else{_6ca.hide(this.domNode);}},_refreshState:function(){this.validate(this.focused);this.inherited(arguments);},constructor:function(){this.constraints={};},_setConstraintsAttr:function(_6d5){if(!_6d5.locale&&this.lang){_6d5.locale=this.lang;}this._set("constraints",_6d5);this._computePartialRE();},_computePartialRE:function(){var p=this.regExpGen(this.constraints);this.regExp=p;var _6d6="";if(p!=".*"){this.regExp.replace(/\\.|\[\]|\[.*?[^\\]{1}\]|\{.*?\}|\(\?[=:!]|./g,function(re){switch(re.charAt(0)){case "{":case "+":case "?":case "*":case "^":case "$":case "|":case "(":_6d6+=re;break;case ")":_6d6+="|$)";break;default:_6d6+="(?:"+re+"|$)";break;}});}try{"".search(_6d6);}catch(e){_6d6=this.regExp;console.warn("RegExp error in "+this.declaredClass+": "+this.regExp);}this._partialre="^(?:"+_6d6+")$";},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(_6d7){this.inherited(arguments);this._refreshState();},_setRequiredAttr:function(_6d8){this._set("required",_6d8);this.focusNode.setAttribute("aria-required",_6d8);this._refreshState();},_setMessageAttr:function(_6d9){this._set("message",_6d9);this.displayMessage(_6d9);},reset:function(){this._maskValidSubsetError=true;this.inherited(arguments);},_onBlur:function(){this.displayMessage("");this.inherited(arguments);}});});},"dijit/layout/BorderContainer":function(){define(["dojo/_base/array","dojo/cookie","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/on","dojo/touch","dojo/_base/window","../_WidgetBase","../_Widget","../_TemplatedMixin","./_LayoutWidget","./utils"],function(_6da,_6db,_6dc,_6dd,_6de,_6df,_6e0,_6e1,keys,lang,on,_6e2,win,_6e3,_6e4,_6e5,_6e6,_6e7){var _6e8=_6dc("dijit.layout._Splitter",[_6e4,_6e5],{live:true,templateString:"<div class=\"dijitSplitter\" data-dojo-attach-event=\"onkeypress:_onKeyPress,press:_startDrag,onmouseenter:_onMouse,onmouseleave:_onMouse\" tabIndex=\"0\" role=\"separator\"><div class=\"dijitSplitterThumb\"></div></div>",constructor:function(){this._handlers=[];},postMixInProperties:function(){this.inherited(arguments);this.horizontal=/top|bottom/.test(this.region);this._factor=/top|left/.test(this.region)?1:-1;this._cookieName=this.container.id+"_"+this.region;},buildRendering:function(){this.inherited(arguments);_6dd.add(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V"));if(this.container.persist){var _6e9=_6db(this._cookieName);if(_6e9){this.child.domNode.style[this.horizontal?"height":"width"]=_6e9;}}},_computeMaxSize:function(){var dim=this.horizontal?"h":"w",_6ea=_6df.getMarginBox(this.child.domNode)[dim],_6eb=_6da.filter(this.container.getChildren(),function(_6ec){return _6ec.region=="center";})[0],_6ed=_6df.getMarginBox(_6eb.domNode)[dim];return Math.min(this.child.maxSize,_6ea+_6ed);},_startDrag:function(e){if(!this.cover){this.cover=win.doc.createElement("div");_6dd.add(this.cover,"dijitSplitterCover");_6de.place(this.cover,this.child.domNode,"after");}_6dd.add(this.cover,"dijitSplitterCoverActive");if(this.fake){_6de.destroy(this.fake);}if(!(this._resize=this.live)){(this.fake=this.domNode.cloneNode(true)).removeAttribute("id");_6dd.add(this.domNode,"dijitSplitterShadow");_6de.place(this.fake,this.domNode,"after");}_6dd.add(this.domNode,"dijitSplitterActive dijitSplitter"+(this.horizontal?"H":"V")+"Active");if(this.fake){_6dd.remove(this.fake,"dijitSplitterHover dijitSplitter"+(this.horizontal?"H":"V")+"Hover");}var _6ee=this._factor,_6ef=this.horizontal,axis=_6ef?"pageY":"pageX",_6f0=e[axis],_6f1=this.domNode.style,dim=_6ef?"h":"w",_6f2=_6df.getMarginBox(this.child.domNode)[dim],max=this._computeMaxSize(),min=this.child.minSize||20,_6f3=this.region,_6f4=_6f3=="top"||_6f3=="bottom"?"top":"left",_6f5=parseInt(_6f1[_6f4],10),_6f6=this._resize,_6f7=lang.hitch(this.container,"_layoutChildren",this.child.id),de=win.doc;this._handlers=this._handlers.concat([on(de,_6e2.move,this._drag=function(e,_6f8){var _6f9=e[axis]-_6f0,_6fa=_6ee*_6f9+_6f2,_6fb=Math.max(Math.min(_6fa,max),min);if(_6f6||_6f8){_6f7(_6fb);}_6f1[_6f4]=_6f9+_6f5+_6ee*(_6fb-_6fa)+"px";}),on(de,"dragstart",_6e1.stop),on(win.body(),"selectstart",_6e1.stop),on(de,_6e2.release,lang.hitch(this,"_stopDrag"))]);_6e1.stop(e);},_onMouse:function(e){var o=(e.type=="mouseover"||e.type=="mouseenter");_6dd.toggle(this.domNode,"dijitSplitterHover",o);_6dd.toggle(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V")+"Hover",o);},_stopDrag:function(e){try{if(this.cover){_6dd.remove(this.cover,"dijitSplitterCoverActive");}if(this.fake){_6de.destroy(this.fake);}_6dd.remove(this.domNode,"dijitSplitterActive dijitSplitter"+(this.horizontal?"H":"V")+"Active dijitSplitterShadow");this._drag(e);this._drag(e,true);}finally{this._cleanupHandlers();delete this._drag;}if(this.container.persist){_6db(this._cookieName,this.child.domNode.style[this.horizontal?"height":"width"],{expires:365});}},_cleanupHandlers:function(){var h;while(h=this._handlers.pop()){h.remove();}},_onKeyPress:function(e){this._resize=true;var _6fc=this.horizontal;var tick=1;switch(e.charOrCode){case _6fc?keys.UP_ARROW:keys.LEFT_ARROW:tick*=-1;case _6fc?keys.DOWN_ARROW:keys.RIGHT_ARROW:break;default:return;}var _6fd=_6df.getMarginSize(this.child.domNode)[_6fc?"h":"w"]+this._factor*tick;this.container._layoutChildren(this.child.id,Math.max(Math.min(_6fd,this._computeMaxSize()),this.child.minSize));_6e1.stop(e);},destroy:function(){this._cleanupHandlers();delete this.child;delete this.container;delete this.cover;delete this.fake;this.inherited(arguments);}});var _6fe=_6dc("dijit.layout._Gutter",[_6e4,_6e5],{templateString:"<div class=\"dijitGutter\" role=\"presentation\"></div>",postMixInProperties:function(){this.inherited(arguments);this.horizontal=/top|bottom/.test(this.region);},buildRendering:function(){this.inherited(arguments);_6dd.add(this.domNode,"dijitGutter"+(this.horizontal?"H":"V"));}});var _6ff=_6dc("dijit.layout.BorderContainer",_6e6,{design:"headline",gutters:true,liveSplitters:true,persist:false,baseClass:"dijitBorderContainer",_splitterClass:_6e8,postMixInProperties:function(){if(!this.gutters){this.baseClass+="NoGutter";}this.inherited(arguments);},startup:function(){if(this._started){return;}_6da.forEach(this.getChildren(),this._setupChild,this);this.inherited(arguments);},_setupChild:function(_700){var _701=_700.region;if(_701){this.inherited(arguments);_6dd.add(_700.domNode,this.baseClass+"Pane");var ltr=this.isLeftToRight();if(_701=="leading"){_701=ltr?"left":"right";}if(_701=="trailing"){_701=ltr?"right":"left";}if(_701!="center"&&(_700.splitter||this.gutters)&&!_700._splitterWidget){var _702=_700.splitter?this._splitterClass:_6fe;if(lang.isString(_702)){_702=lang.getObject(_702);}var _703=new _702({id:_700.id+"_splitter",container:this,child:_700,region:_701,live:this.liveSplitters});_703.isSplitter=true;_700._splitterWidget=_703;_6de.place(_703.domNode,_700.domNode,"after");_703.startup();}_700.region=_701;}},layout:function(){this._layoutChildren();},addChild:function(_704,_705){this.inherited(arguments);if(this._started){this.layout();}},removeChild:function(_706){var _707=_706.region;var _708=_706._splitterWidget;if(_708){_708.destroy();delete _706._splitterWidget;}this.inherited(arguments);if(this._started){this._layoutChildren();}_6dd.remove(_706.domNode,this.baseClass+"Pane");_6e0.set(_706.domNode,{top:"auto",bottom:"auto",left:"auto",right:"auto",position:"static"});_6e0.set(_706.domNode,_707=="top"||_707=="bottom"?"width":"height","auto");},getChildren:function(){return _6da.filter(this.inherited(arguments),function(_709){return !_709.isSplitter;});},getSplitter:function(_70a){return _6da.filter(this.getChildren(),function(_70b){return _70b.region==_70a;})[0]._splitterWidget;},resize:function(_70c,_70d){if(!this.cs||!this.pe){var node=this.domNode;this.cs=_6e0.getComputedStyle(node);this.pe=_6df.getPadExtents(node,this.cs);this.pe.r=_6e0.toPixelValue(node,this.cs.paddingRight);this.pe.b=_6e0.toPixelValue(node,this.cs.paddingBottom);_6e0.set(node,"padding","0px");}this.inherited(arguments);},_layoutChildren:function(_70e,_70f){if(!this._borderBox||!this._borderBox.h){return;}var _710=_6da.map(this.getChildren(),function(_711,idx){return {pane:_711,weight:[_711.region=="center"?Infinity:0,_711.layoutPriority,(this.design=="sidebar"?1:-1)*(/top|bottom/.test(_711.region)?1:-1),idx]};},this);_710.sort(function(a,b){var aw=a.weight,bw=b.weight;for(var i=0;i<aw.length;i++){if(aw[i]!=bw[i]){return aw[i]-bw[i];}}return 0;});var _712=[];_6da.forEach(_710,function(_713){var pane=_713.pane;_712.push(pane);if(pane._splitterWidget){_712.push(pane._splitterWidget);}});var dim={l:this.pe.l,t:this.pe.t,w:this._borderBox.w-this.pe.w,h:this._borderBox.h-this.pe.h};_6e7.layoutChildren(this.domNode,dim,_712,_70e,_70f);},destroyRecursive:function(){_6da.forEach(this.getChildren(),function(_714){var _715=_714._splitterWidget;if(_715){_715.destroy();}delete _714._splitterWidget;});this.inherited(arguments);}});lang.extend(_6e3,{region:"",layoutPriority:0,splitter:false,minSize:0,maxSize:Infinity});_6ff._Splitter=_6e8;_6ff._Gutter=_6fe;return _6ff;});},"dojo/number":function(){define(["./_base/kernel","./_base/lang","./i18n","./i18n!./cldr/nls/number","./string","./regexp"],function(dojo,lang,i18n,_716,_717,_718){lang.getObject("number",true,dojo);dojo.number.format=function(_719,_71a){_71a=lang.mixin({},_71a||{});var _71b=i18n.normalizeLocale(_71a.locale),_71c=i18n.getLocalization("dojo.cldr","number",_71b);_71a.customs=_71c;var _71d=_71a.pattern||_71c[(_71a.type||"decimal")+"Format"];if(isNaN(_719)||Math.abs(_719)==Infinity){return null;}return dojo.number._applyPattern(_719,_71d,_71a);};dojo.number._numberPatternRE=/[#0,]*[#0](?:\.0*#*)?/;dojo.number._applyPattern=function(_71e,_71f,_720){_720=_720||{};var _721=_720.customs.group,_722=_720.customs.decimal,_723=_71f.split(";"),_724=_723[0];_71f=_723[(_71e<0)?1:0]||("-"+_724);if(_71f.indexOf("%")!=-1){_71e*=100;}else{if(_71f.indexOf("‰")!=-1){_71e*=1000;}else{if(_71f.indexOf("¤")!=-1){_721=_720.customs.currencyGroup||_721;_722=_720.customs.currencyDecimal||_722;_71f=_71f.replace(/\u00a4{1,3}/,function(_725){var prop=["symbol","currency","displayName"][_725.length-1];return _720[prop]||_720.currency||"";});}else{if(_71f.indexOf("E")!=-1){throw new Error("exponential notation not supported");}}}}var _726=dojo.number._numberPatternRE;var _727=_724.match(_726);if(!_727){throw new Error("unable to find a number expression in pattern: "+_71f);}if(_720.fractional===false){_720.places=0;}return _71f.replace(_726,dojo.number._formatAbsolute(_71e,_727[0],{decimal:_722,group:_721,places:_720.places,round:_720.round}));};dojo.number.round=function(_728,_729,_72a){var _72b=10/(_72a||10);return (_72b*+_728).toFixed(_729)/_72b;};if((0.9).toFixed()==0){var _72c=dojo.number.round;dojo.number.round=function(v,p,m){var d=Math.pow(10,-p||0),a=Math.abs(v);if(!v||a>=d||a*Math.pow(10,p+1)<5){d=0;}return _72c(v,p,m)+(v>0?d:-d);};}dojo.number._formatAbsolute=function(_72d,_72e,_72f){_72f=_72f||{};if(_72f.places===true){_72f.places=0;}if(_72f.places===Infinity){_72f.places=6;}var _730=_72e.split("."),_731=typeof _72f.places=="string"&&_72f.places.indexOf(","),_732=_72f.places;if(_731){_732=_72f.places.substring(_731+1);}else{if(!(_732>=0)){_732=(_730[1]||[]).length;}}if(!(_72f.round<0)){_72d=dojo.number.round(_72d,_732,_72f.round);}var _733=String(Math.abs(_72d)).split("."),_734=_733[1]||"";if(_730[1]||_72f.places){if(_731){_72f.places=_72f.places.substring(0,_731);}var pad=_72f.places!==undefined?_72f.places:(_730[1]&&_730[1].lastIndexOf("0")+1);if(pad>_734.length){_733[1]=_717.pad(_734,pad,"0",true);}if(_732<_734.length){_733[1]=_734.substr(0,_732);}}else{if(_733[1]){_733.pop();}}var _735=_730[0].replace(",","");pad=_735.indexOf("0");if(pad!=-1){pad=_735.length-pad;if(pad>_733[0].length){_733[0]=_717.pad(_733[0],pad);}if(_735.indexOf("#")==-1){_733[0]=_733[0].substr(_733[0].length-pad);}}var _736=_730[0].lastIndexOf(","),_737,_738;if(_736!=-1){_737=_730[0].length-_736-1;var _739=_730[0].substr(0,_736);_736=_739.lastIndexOf(",");if(_736!=-1){_738=_739.length-_736-1;}}var _73a=[];for(var _73b=_733[0];_73b;){var off=_73b.length-_737;_73a.push((off>0)?_73b.substr(off):_73b);_73b=(off>0)?_73b.slice(0,off):"";if(_738){_737=_738;delete _738;}}_733[0]=_73a.reverse().join(_72f.group||",");return _733.join(_72f.decimal||".");};dojo.number.regexp=function(_73c){return dojo.number._parseInfo(_73c).regexp;};dojo.number._parseInfo=function(_73d){_73d=_73d||{};var _73e=i18n.normalizeLocale(_73d.locale),_73f=i18n.getLocalization("dojo.cldr","number",_73e),_740=_73d.pattern||_73f[(_73d.type||"decimal")+"Format"],_741=_73f.group,_742=_73f.decimal,_743=1;if(_740.indexOf("%")!=-1){_743/=100;}else{if(_740.indexOf("‰")!=-1){_743/=1000;}else{var _744=_740.indexOf("¤")!=-1;if(_744){_741=_73f.currencyGroup||_741;_742=_73f.currencyDecimal||_742;}}}var _745=_740.split(";");if(_745.length==1){_745.push("-"+_745[0]);}var re=_718.buildGroupRE(_745,function(_746){_746="(?:"+_718.escapeString(_746,".")+")";return _746.replace(dojo.number._numberPatternRE,function(_747){var _748={signed:false,separator:_73d.strict?_741:[_741,""],fractional:_73d.fractional,decimal:_742,exponent:false},_749=_747.split("."),_74a=_73d.places;if(_749.length==1&&_743!=1){_749[1]="###";}if(_749.length==1||_74a===0){_748.fractional=false;}else{if(_74a===undefined){_74a=_73d.pattern?_749[1].lastIndexOf("0")+1:Infinity;}if(_74a&&_73d.fractional==undefined){_748.fractional=true;}if(!_73d.places&&(_74a<_749[1].length)){_74a+=","+_749[1].length;}_748.places=_74a;}var _74b=_749[0].split(",");if(_74b.length>1){_748.groupSize=_74b.pop().length;if(_74b.length>1){_748.groupSize2=_74b.pop().length;}}return "("+dojo.number._realNumberRegexp(_748)+")";});},true);if(_744){re=re.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/g,function(_74c,_74d,_74e,_74f){var prop=["symbol","currency","displayName"][_74e.length-1],_750=_718.escapeString(_73d[prop]||_73d.currency||"");_74d=_74d?"[\\s\\xa0]":"";_74f=_74f?"[\\s\\xa0]":"";if(!_73d.strict){if(_74d){_74d+="*";}if(_74f){_74f+="*";}return "(?:"+_74d+_750+_74f+")?";}return _74d+_750+_74f;});}return {regexp:re.replace(/[\xa0 ]/g,"[\\s\\xa0]"),group:_741,decimal:_742,factor:_743};};dojo.number.parse=function(_751,_752){var info=dojo.number._parseInfo(_752),_753=(new RegExp("^"+info.regexp+"$")).exec(_751);if(!_753){return NaN;}var _754=_753[1];if(!_753[1]){if(!_753[2]){return NaN;}_754=_753[2];info.factor*=-1;}_754=_754.replace(new RegExp("["+info.group+"\\s\\xa0"+"]","g"),"").replace(info.decimal,".");return _754*info.factor;};dojo.number._realNumberRegexp=function(_755){_755=_755||{};if(!("places" in _755)){_755.places=Infinity;}if(typeof _755.decimal!="string"){_755.decimal=".";}if(!("fractional" in _755)||/^0/.test(_755.places)){_755.fractional=[true,false];}if(!("exponent" in _755)){_755.exponent=[true,false];}if(!("eSigned" in _755)){_755.eSigned=[true,false];}var _756=dojo.number._integerRegexp(_755),_757=_718.buildGroupRE(_755.fractional,function(q){var re="";if(q&&(_755.places!==0)){re="\\"+_755.decimal;if(_755.places==Infinity){re="(?:"+re+"\\d+)?";}else{re+="\\d{"+_755.places+"}";}}return re;},true);var _758=_718.buildGroupRE(_755.exponent,function(q){if(q){return "([eE]"+dojo.number._integerRegexp({signed:_755.eSigned})+")";}return "";});var _759=_756+_757;if(_757){_759="(?:(?:"+_759+")|(?:"+_757+"))";}return _759+_758;};dojo.number._integerRegexp=function(_75a){_75a=_75a||{};if(!("signed" in _75a)){_75a.signed=[true,false];}if(!("separator" in _75a)){_75a.separator="";}else{if(!("groupSize" in _75a)){_75a.groupSize=3;}}var _75b=_718.buildGroupRE(_75a.signed,function(q){return q?"[-+]":"";},true);var _75c=_718.buildGroupRE(_75a.separator,function(sep){if(!sep){return "(?:\\d+)";}sep=_718.escapeString(sep);if(sep==" "){sep="\\s";}else{if(sep==" "){sep="\\s\\xa0";}}var grp=_75a.groupSize,grp2=_75a.groupSize2;if(grp2){var _75d="(?:0|[1-9]\\d{0,"+(grp2-1)+"}(?:["+sep+"]\\d{"+grp2+"})*["+sep+"]\\d{"+grp+"})";return ((grp-grp2)>0)?"(?:"+_75d+"|(?:0|[1-9]\\d{0,"+(grp-1)+"}))":_75d;}return "(?:0|[1-9]\\d{0,"+(grp-1)+"}(?:["+sep+"]\\d{"+grp+"})*)";},true);return _75b+_75c;};return dojo.number;});},"dojo/data/util/filter":function(){define(["dojo/_base/lang"],function(lang){var _75e=lang.getObject("dojo.data.util.filter",true);_75e.patternToRegExp=function(_75f,_760){var rxp="^";var c=null;for(var i=0;i<_75f.length;i++){c=_75f.charAt(i);switch(c){case "\\":rxp+=c;i++;rxp+=_75f.charAt(i);break;case "*":rxp+=".*";break;case "?":rxp+=".";break;case "$":case "^":case "/":case "+":case ".":case "|":case "(":case ")":case "{":case "}":case "[":case "]":rxp+="\\";default:rxp+=c;}}rxp+="$";if(_760){return new RegExp(rxp,"mi");}else{return new RegExp(rxp,"m");}};return _75e;});},"dijit/_WidgetsInTemplateMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/parser","dijit/registry"],function(_761,_762,_763,_764){return _762("dijit._WidgetsInTemplateMixin",null,{_earlyTemplatedStartup:false,widgetsInTemplate:true,_beforeFillContent:function(){if(this.widgetsInTemplate){var node=this.domNode;var cw=(this._startupWidgets=_763.parse(node,{noStart:!this._earlyTemplatedStartup,template:true,inherited:{dir:this.dir,lang:this.lang,textDir:this.textDir},propsThis:this,scope:"dojo"}));this._supportingWidgets=_764.findWidgets(node);this._attachTemplateNodes(cw,function(n,p){return n[p];});}},startup:function(){_761.forEach(this._startupWidgets,function(w){if(w&&!w._started&&w.startup){w.startup();}});this.inherited(arguments);}});});},"dijit/form/HorizontalRuleLabels":function(){define(["dojo/_base/declare","dojo/number","dojo/query","./HorizontalRule"],function(_765,_766,_767,_768){return _765("dijit.form.HorizontalRuleLabels",_768,{templateString:"<div class=\"dijitRuleContainer dijitRuleContainerH dijitRuleLabelsContainer dijitRuleLabelsContainerH\"></div>",labelStyle:"",labels:[],numericMargin:0,minimum:0,maximum:1,constraints:{pattern:"#%"},_positionPrefix:"<div class=\"dijitRuleLabelContainer dijitRuleLabelContainerH\" style=\"left:",_labelPrefix:"\"><div class=\"dijitRuleLabel dijitRuleLabelH\">",_suffix:"</div></div>",_calcPosition:function(pos){return pos;},_genHTML:function(pos,ndx){return this._positionPrefix+this._calcPosition(pos)+this._positionSuffix+this.labelStyle+this._labelPrefix+this.labels[ndx]+this._suffix;},getLabels:function(){var _769=this.labels;if(!_769.length){_769=_767("> li",this.srcNodeRef).map(function(node){return String(node.innerHTML);});}this.srcNodeRef.innerHTML="";if(!_769.length&&this.count>1){var _76a=this.minimum;var inc=(this.maximum-_76a)/(this.count-1);for(var i=0;i<this.count;i++){_769.push((i<this.numericMargin||i>=(this.count-this.numericMargin))?"":_766.format(_76a,this.constraints));_76a+=inc;}}return _769;},postMixInProperties:function(){this.inherited(arguments);this.labels=this.getLabels();this.count=this.labels.length;}});});},"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","dijit/form/FilteringSelect":function(){define(["dojo/data/util/filter","dojo/_base/declare","dojo/_base/Deferred","dojo/_base/lang","./MappedTextBox","./ComboBoxMixin"],function(_76b,_76c,_76d,lang,_76e,_76f){return _76c("dijit.form.FilteringSelect",[_76e,_76f],{required:true,_lastDisplayedValue:"",_isValidSubset:function(){return this._opened;},isValid:function(){return this.item||(!this.required&&this.get("displayedValue")=="");},_refreshState:function(){if(!this.searchTimer){this.inherited(arguments);}},_callbackSetLabel:function(_770,_771,_772,_773){if((_771&&_771[this.searchAttr]!==this._lastQuery)||(!_771&&_770.length&&this.store.getIdentity(_770[0])!=this._lastQuery)){return;}if(!_770.length){this.set("value","",_773||(_773===undefined&&!this.focused),this.textbox.value,null);}else{this.set("item",_770[0],_773);}},_openResultList:function(_774,_775,_776){if(_775[this.searchAttr]!==this._lastQuery){return;}this.inherited(arguments);if(this.item===undefined){this.validate(true);}},_getValueAttr:function(){return this.valueNode.value;},_getValueField:function(){return "value";},_setValueAttr:function(_777,_778,_779,item){if(!this._onChangeActive){_778=null;}if(item===undefined){if(_777===null||_777===""){_777="";if(!lang.isString(_779)){this._setDisplayedValueAttr(_779||"",_778);return;}}var self=this;this._lastQuery=_777;_76d.when(this.store.get(_777),function(item){self._callbackSetLabel(item?[item]:[],undefined,undefined,_778);});}else{this.valueNode.value=_777;this.inherited(arguments);}},_setItemAttr:function(item,_77a,_77b){this.inherited(arguments);this._lastDisplayedValue=this.textbox.value;},_getDisplayQueryString:function(text){return text.replace(/([\\\*\?])/g,"\\$1");},_setDisplayedValueAttr:function(_77c,_77d){if(_77c==null){_77c="";}if(!this._created){if(!("displayedValue" in this.params)){return;}_77d=false;}if(this.store){this.closeDropDown();var _77e=lang.clone(this.query);var qs=this._getDisplayQueryString(_77c),q;if(this.store._oldAPI){q=qs;}else{q=_76b.patternToRegExp(qs,this.ignoreCase);q.toString=function(){return qs;};}this._lastQuery=_77e[this.searchAttr]=q;this.textbox.value=_77c;this._lastDisplayedValue=_77c;this._set("displayedValue",_77c);var _77f=this;var _780={ignoreCase:this.ignoreCase,deep:true};lang.mixin(_780,this.fetchProperties);this._fetchHandle=this.store.query(_77e,_780);_76d.when(this._fetchHandle,function(_781){_77f._fetchHandle=null;_77f._callbackSetLabel(_781||[],_77e,_780,_77d);},function(err){_77f._fetchHandle=null;if(!_77f._cancelingQuery){console.error("dijit.form.FilteringSelect: "+err.toString());}});}},undo:function(){this.set("displayedValue",this._lastDisplayedValue);}});});},"dojo/data/util/sorter":function(){define(["dojo/_base/lang"],function(lang){var _782=lang.getObject("dojo.data.util.sorter",true);_782.basicComparator=function(a,b){var r=-1;if(a===null){a=undefined;}if(b===null){b=undefined;}if(a==b){r=0;}else{if(a>b||a==null){r=1;}}return r;};_782.createSortFunction=function(_783,_784){var _785=[];function _786(attr,dir,comp,s){return function(_787,_788){var a=s.getValue(_787,attr);var b=s.getValue(_788,attr);return dir*comp(a,b);};};var _789;var map=_784.comparatorMap;var bc=_782.basicComparator;for(var i=0;i<_783.length;i++){_789=_783[i];var attr=_789.attribute;if(attr){var dir=(_789.descending)?-1:1;var comp=bc;if(map){if(typeof attr!=="string"&&("toString" in attr)){attr=attr.toString();}comp=map[attr]||bc;}_785.push(_786(attr,dir,comp,_784));}}return function(rowA,rowB){var i=0;while(i<_785.length){var ret=_785[i++](rowA,rowB);if(ret!==0){return ret;}}return 0;};};return _782;});},"dijit/form/_ButtonMixin":function(){define(["dojo/_base/declare","dojo/dom","dojo/_base/event","../registry"],function(_78a,dom,_78b,_78c){return _78a("dijit.form._ButtonMixin",null,{label:"",type:"button",_onClick:function(e){if(this.disabled){_78b.stop(e);return false;}var _78d=this.onClick(e)===false;if(!_78d&&this.type=="submit"&&!(this.valueNode||this.focusNode).form){for(var node=this.domNode;node.parentNode;node=node.parentNode){var _78e=_78c.byNode(node);if(_78e&&typeof _78e._onSubmit=="function"){_78e._onSubmit(e);_78d=true;break;}}}if(_78d){e.preventDefault();}return !_78d;},postCreate:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},onClick:function(){return true;},_setLabelAttr:function(_78f){this._set("label",_78f);(this.containerNode||this.focusNode).innerHTML=_78f;}});});},"dojo/colors":function(){define(["./_base/kernel","./_base/lang","./_base/Color","./_base/array"],function(dojo,lang,_790,_791){var _792=lang.getObject("dojo.colors",true);var _793=function(m1,m2,h){if(h<0){++h;}if(h>1){--h;}var h6=6*h;if(h6<1){return m1+(m2-m1)*h6;}if(2*h<1){return m2;}if(3*h<2){return m1+(m2-m1)*(2/3-h)*6;}return m1;};dojo.colorFromRgb=_790.fromRgb=function(_794,obj){var m=_794.toLowerCase().match(/^(rgba?|hsla?)\(([\s\.\-,%0-9]+)\)/);if(m){var c=m[2].split(/\s*,\s*/),l=c.length,t=m[1],a;if((t=="rgb"&&l==3)||(t=="rgba"&&l==4)){var r=c[0];if(r.charAt(r.length-1)=="%"){a=_791.map(c,function(x){return parseFloat(x)*2.56;});if(l==4){a[3]=c[3];}return _790.fromArray(a,obj);}return _790.fromArray(c,obj);}if((t=="hsl"&&l==3)||(t=="hsla"&&l==4)){var H=((parseFloat(c[0])%360)+360)%360/360,S=parseFloat(c[1])/100,L=parseFloat(c[2])/100,m2=L<=0.5?L*(S+1):L+S-L*S,m1=2*L-m2;a=[_793(m1,m2,H+1/3)*256,_793(m1,m2,H)*256,_793(m1,m2,H-1/3)*256,1];if(l==4){a[3]=c[3];}return _790.fromArray(a,obj);}}return null;};var _795=function(c,low,high){c=Number(c);return isNaN(c)?high:c<low?low:c>high?high:c;};_790.prototype.sanitize=function(){var t=this;t.r=Math.round(_795(t.r,0,255));t.g=Math.round(_795(t.g,0,255));t.b=Math.round(_795(t.b,0,255));t.a=_795(t.a,0,1);return this;};_792.makeGrey=_790.makeGrey=function(g,a){return _790.fromArray([g,g,g,a]);};lang.mixin(_790.named,{"aliceblue":[240,248,255],"antiquewhite":[250,235,215],"aquamarine":[127,255,212],"azure":[240,255,255],"beige":[245,245,220],"bisque":[255,228,196],"blanchedalmond":[255,235,205],"blueviolet":[138,43,226],"brown":[165,42,42],"burlywood":[222,184,135],"cadetblue":[95,158,160],"chartreuse":[127,255,0],"chocolate":[210,105,30],"coral":[255,127,80],"cornflowerblue":[100,149,237],"cornsilk":[255,248,220],"crimson":[220,20,60],"cyan":[0,255,255],"darkblue":[0,0,139],"darkcyan":[0,139,139],"darkgoldenrod":[184,134,11],"darkgray":[169,169,169],"darkgreen":[0,100,0],"darkgrey":[169,169,169],"darkkhaki":[189,183,107],"darkmagenta":[139,0,139],"darkolivegreen":[85,107,47],"darkorange":[255,140,0],"darkorchid":[153,50,204],"darkred":[139,0,0],"darksalmon":[233,150,122],"darkseagreen":[143,188,143],"darkslateblue":[72,61,139],"darkslategray":[47,79,79],"darkslategrey":[47,79,79],"darkturquoise":[0,206,209],"darkviolet":[148,0,211],"deeppink":[255,20,147],"deepskyblue":[0,191,255],"dimgray":[105,105,105],"dimgrey":[105,105,105],"dodgerblue":[30,144,255],"firebrick":[178,34,34],"floralwhite":[255,250,240],"forestgreen":[34,139,34],"gainsboro":[220,220,220],"ghostwhite":[248,248,255],"gold":[255,215,0],"goldenrod":[218,165,32],"greenyellow":[173,255,47],"grey":[128,128,128],"honeydew":[240,255,240],"hotpink":[255,105,180],"indianred":[205,92,92],"indigo":[75,0,130],"ivory":[255,255,240],"khaki":[240,230,140],"lavender":[230,230,250],"lavenderblush":[255,240,245],"lawngreen":[124,252,0],"lemonchiffon":[255,250,205],"lightblue":[173,216,230],"lightcoral":[240,128,128],"lightcyan":[224,255,255],"lightgoldenrodyellow":[250,250,210],"lightgray":[211,211,211],"lightgreen":[144,238,144],"lightgrey":[211,211,211],"lightpink":[255,182,193],"lightsalmon":[255,160,122],"lightseagreen":[32,178,170],"lightskyblue":[135,206,250],"lightslategray":[119,136,153],"lightslategrey":[119,136,153],"lightsteelblue":[176,196,222],"lightyellow":[255,255,224],"limegreen":[50,205,50],"linen":[250,240,230],"magenta":[255,0,255],"mediumaquamarine":[102,205,170],"mediumblue":[0,0,205],"mediumorchid":[186,85,211],"mediumpurple":[147,112,219],"mediumseagreen":[60,179,113],"mediumslateblue":[123,104,238],"mediumspringgreen":[0,250,154],"mediumturquoise":[72,209,204],"mediumvioletred":[199,21,133],"midnightblue":[25,25,112],"mintcream":[245,255,250],"mistyrose":[255,228,225],"moccasin":[255,228,181],"navajowhite":[255,222,173],"oldlace":[253,245,230],"olivedrab":[107,142,35],"orange":[255,165,0],"orangered":[255,69,0],"orchid":[218,112,214],"palegoldenrod":[238,232,170],"palegreen":[152,251,152],"paleturquoise":[175,238,238],"palevioletred":[219,112,147],"papayawhip":[255,239,213],"peachpuff":[255,218,185],"peru":[205,133,63],"pink":[255,192,203],"plum":[221,160,221],"powderblue":[176,224,230],"rosybrown":[188,143,143],"royalblue":[65,105,225],"saddlebrown":[139,69,19],"salmon":[250,128,114],"sandybrown":[244,164,96],"seagreen":[46,139,87],"seashell":[255,245,238],"sienna":[160,82,45],"skyblue":[135,206,235],"slateblue":[106,90,205],"slategray":[112,128,144],"slategrey":[112,128,144],"snow":[255,250,250],"springgreen":[0,255,127],"steelblue":[70,130,180],"tan":[210,180,140],"thistle":[216,191,216],"tomato":[255,99,71],"turquoise":[64,224,208],"violet":[238,130,238],"wheat":[245,222,179],"whitesmoke":[245,245,245],"yellowgreen":[154,205,50]});return _790;});},"url:dijit/form/templates/Spinner.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\"\n\tid=\"widget_${id}\" role=\"presentation\"\n\t><div class=\"dijitReset dijitButtonNode dijitSpinnerButtonContainer\"\n\t\t><input class=\"dijitReset dijitInputField dijitSpinnerButtonInner\" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t/><div class=\"dijitReset dijitLeft dijitButtonNode dijitArrowButton dijitUpArrowButton\"\n\t\t\tdata-dojo-attach-point=\"upArrowNode\"\n\t\t\t><div class=\"dijitArrowButtonInner\"\n\t\t\t\t><input class=\"dijitReset dijitInputField\" value=\"&#9650;\" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t\t\t\t${_buttonInputDisabled}\n\t\t\t/></div\n\t\t></div\n\t\t><div class=\"dijitReset dijitLeft dijitButtonNode dijitArrowButton dijitDownArrowButton\"\n\t\t\tdata-dojo-attach-point=\"downArrowNode\"\n\t\t\t><div class=\"dijitArrowButtonInner\"\n\t\t\t\t><input class=\"dijitReset dijitInputField\" value=\"&#9660;\" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t\t\t\t${_buttonInputDisabled}\n\t\t\t/></div\n\t\t></div\n\t></div\n\t><div class='dijitReset dijitValidationContainer'\n\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935;\" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t/></div\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class='dijitReset dijitInputInner' data-dojo-attach-point=\"textbox,focusNode\" type=\"${type}\" data-dojo-attach-event=\"onkeypress:_onKeyPress\"\n\t\t\trole=\"spinbutton\" autocomplete=\"off\" ${!nameAttrSetting}\n\t/></div\n></div>\n","dijit/tree/_dndContainer":function(){define(["dojo/aspect","dojo/_base/declare","dojo/dom-class","dojo/_base/event","dojo/_base/lang","dojo/mouse","dojo/on"],function(_796,_797,_798,_799,lang,_79a,on){return _797("dijit.tree._dndContainer",null,{constructor:function(tree,_79b){this.tree=tree;this.node=tree.domNode;lang.mixin(this,_79b);this.current=null;this.containerState="";_798.add(this.node,"dojoDndContainer");this.events=[on(this.node,_79a.enter,lang.hitch(this,"onOverEvent")),on(this.node,_79a.leave,lang.hitch(this,"onOutEvent")),_796.after(this.tree,"_onNodeMouseEnter",lang.hitch(this,"onMouseOver"),true),_796.after(this.tree,"_onNodeMouseLeave",lang.hitch(this,"onMouseOut"),true),on(this.node,"dragstart",lang.hitch(_799,"stop")),on(this.node,"selectstart",lang.hitch(_799,"stop"))];},destroy:function(){var h;while(h=this.events.pop()){h.remove();}this.node=this.parent=null;},onMouseOver:function(_79c){this.current=_79c;},onMouseOut:function(){this.current=null;},_changeState:function(type,_79d){var _79e="dojoDnd"+type;var _79f=type.toLowerCase()+"State";_798.replace(this.node,_79e+_79d,_79e+this[_79f]);this[_79f]=_79d;},_addItemClass:function(node,type){_798.add(node,"dojoDndItem"+type);},_removeItemClass:function(node,type){_798.remove(node,"dojoDndItem"+type);},onOverEvent:function(){this._changeState("Container","Over");},onOutEvent:function(){this._changeState("Container","");}});});},"dojo/date/locale":function(){define(["../_base/kernel","../_base/lang","../_base/array","../date","../cldr/supplemental","../regexp","../string","../i18n!../cldr/nls/gregorian"],function(dojo,lang,_7a0,date,cldr,_7a1,_7a2,_7a3){lang.getObject("date.locale",true,dojo);function _7a4(_7a5,_7a6,_7a7,_7a8){return _7a8.replace(/([a-z])\1*/ig,function(_7a9){var s,pad,c=_7a9.charAt(0),l=_7a9.length,_7aa=["abbr","wide","narrow"];switch(c){case "G":s=_7a6[(l<4)?"eraAbbr":"eraNames"][_7a5.getFullYear()<0?0:1];break;case "y":s=_7a5.getFullYear();switch(l){case 1:break;case 2:if(!_7a7.fullYear){s=String(s);s=s.substr(s.length-2);break;}default:pad=true;}break;case "Q":case "q":s=Math.ceil((_7a5.getMonth()+1)/3);pad=true;break;case "M":var m=_7a5.getMonth();if(l<3){s=m+1;pad=true;}else{var _7ab=["months","format",_7aa[l-3]].join("-");s=_7a6[_7ab][m];}break;case "w":var _7ac=0;s=dojo.date.locale._getWeekOfYear(_7a5,_7ac);pad=true;break;case "d":s=_7a5.getDate();pad=true;break;case "D":s=dojo.date.locale._getDayOfYear(_7a5);pad=true;break;case "E":var d=_7a5.getDay();if(l<3){s=d+1;pad=true;}else{var _7ad=["days","format",_7aa[l-3]].join("-");s=_7a6[_7ad][d];}break;case "a":var _7ae=(_7a5.getHours()<12)?"am":"pm";s=_7a7[_7ae]||_7a6["dayPeriods-format-wide-"+_7ae];break;case "h":case "H":case "K":case "k":var h=_7a5.getHours();switch(c){case "h":s=(h%12)||12;break;case "H":s=h;break;case "K":s=(h%12);break;case "k":s=h||24;break;}pad=true;break;case "m":s=_7a5.getMinutes();pad=true;break;case "s":s=_7a5.getSeconds();pad=true;break;case "S":s=Math.round(_7a5.getMilliseconds()*Math.pow(10,l-3));pad=true;break;case "v":case "z":s=dojo.date.locale._getZone(_7a5,true,_7a7);if(s){break;}l=4;case "Z":var _7af=dojo.date.locale._getZone(_7a5,false,_7a7);var tz=[(_7af<=0?"+":"-"),_7a2.pad(Math.floor(Math.abs(_7af)/60),2),_7a2.pad(Math.abs(_7af)%60,2)];if(l==4){tz.splice(0,0,"GMT");tz.splice(3,0,":");}s=tz.join("");break;default:throw new Error("dojo.date.locale.format: invalid pattern char: "+_7a8);}if(pad){s=_7a2.pad(s,l);}return s;});};dojo.date.locale._getZone=function(_7b0,_7b1,_7b2){if(_7b1){return date.getTimezoneName(_7b0);}else{return _7b0.getTimezoneOffset();}};dojo.date.locale.format=function(_7b3,_7b4){_7b4=_7b4||{};var _7b5=dojo.i18n.normalizeLocale(_7b4.locale),_7b6=_7b4.formatLength||"short",_7b7=dojo.date.locale._getGregorianBundle(_7b5),str=[],_7b8=lang.hitch(this,_7a4,_7b3,_7b7,_7b4);if(_7b4.selector=="year"){return _7b9(_7b7["dateFormatItem-yyyy"]||"yyyy",_7b8);}var _7ba;if(_7b4.selector!="date"){_7ba=_7b4.timePattern||_7b7["timeFormat-"+_7b6];if(_7ba){str.push(_7b9(_7ba,_7b8));}}if(_7b4.selector!="time"){_7ba=_7b4.datePattern||_7b7["dateFormat-"+_7b6];if(_7ba){str.push(_7b9(_7ba,_7b8));}}return str.length==1?str[0]:_7b7["dateTimeFormat-"+_7b6].replace(/\{(\d+)\}/g,function(_7bb,key){return str[key];});};dojo.date.locale.regexp=function(_7bc){return dojo.date.locale._parseInfo(_7bc).regexp;};dojo.date.locale._parseInfo=function(_7bd){_7bd=_7bd||{};var _7be=dojo.i18n.normalizeLocale(_7bd.locale),_7bf=dojo.date.locale._getGregorianBundle(_7be),_7c0=_7bd.formatLength||"short",_7c1=_7bd.datePattern||_7bf["dateFormat-"+_7c0],_7c2=_7bd.timePattern||_7bf["timeFormat-"+_7c0],_7c3;if(_7bd.selector=="date"){_7c3=_7c1;}else{if(_7bd.selector=="time"){_7c3=_7c2;}else{_7c3=_7bf["dateTimeFormat-"+_7c0].replace(/\{(\d+)\}/g,function(_7c4,key){return [_7c2,_7c1][key];});}}var _7c5=[],re=_7b9(_7c3,lang.hitch(this,_7c6,_7c5,_7bf,_7bd));return {regexp:re,tokens:_7c5,bundle:_7bf};};dojo.date.locale.parse=function(_7c7,_7c8){var _7c9=/[\u200E\u200F\u202A\u202E]/g,info=dojo.date.locale._parseInfo(_7c8),_7ca=info.tokens,_7cb=info.bundle,re=new RegExp("^"+info.regexp.replace(_7c9,"")+"$",info.strict?"":"i"),_7cc=re.exec(_7c7&&_7c7.replace(_7c9,""));if(!_7cc){return null;}var _7cd=["abbr","wide","narrow"],_7ce=[1970,0,1,0,0,0,0],amPm="",_7cf=dojo.every(_7cc,function(v,i){if(!i){return true;}var _7d0=_7ca[i-1];var l=_7d0.length;switch(_7d0.charAt(0)){case "y":if(l!=2&&_7c8.strict){_7ce[0]=v;}else{if(v<100){v=Number(v);var year=""+new Date().getFullYear(),_7d1=year.substring(0,2)*100,_7d2=Math.min(Number(year.substring(2,4))+20,99);_7ce[0]=(v<_7d2)?_7d1+v:_7d1-100+v;}else{if(_7c8.strict){return false;}_7ce[0]=v;}}break;case "M":if(l>2){var _7d3=_7cb["months-format-"+_7cd[l-3]].concat();if(!_7c8.strict){v=v.replace(".","").toLowerCase();_7d3=dojo.map(_7d3,function(s){return s.replace(".","").toLowerCase();});}v=dojo.indexOf(_7d3,v);if(v==-1){return false;}}else{v--;}_7ce[1]=v;break;case "E":case "e":var days=_7cb["days-format-"+_7cd[l-3]].concat();if(!_7c8.strict){v=v.toLowerCase();days=dojo.map(days,function(d){return d.toLowerCase();});}v=dojo.indexOf(days,v);if(v==-1){return false;}break;case "D":_7ce[1]=0;case "d":_7ce[2]=v;break;case "a":var am=_7c8.am||_7cb["dayPeriods-format-wide-am"],pm=_7c8.pm||_7cb["dayPeriods-format-wide-pm"];if(!_7c8.strict){var _7d4=/\./g;v=v.replace(_7d4,"").toLowerCase();am=am.replace(_7d4,"").toLowerCase();pm=pm.replace(_7d4,"").toLowerCase();}if(_7c8.strict&&v!=am&&v!=pm){return false;}amPm=(v==pm)?"p":(v==am)?"a":"";break;case "K":if(v==24){v=0;}case "h":case "H":case "k":if(v>23){return false;}_7ce[3]=v;break;case "m":_7ce[4]=v;break;case "s":_7ce[5]=v;break;case "S":_7ce[6]=v;}return true;});var _7d5=+_7ce[3];if(amPm==="p"&&_7d5<12){_7ce[3]=_7d5+12;}else{if(amPm==="a"&&_7d5==12){_7ce[3]=0;}}var _7d6=new Date(_7ce[0],_7ce[1],_7ce[2],_7ce[3],_7ce[4],_7ce[5],_7ce[6]);if(_7c8.strict){_7d6.setFullYear(_7ce[0]);}var _7d7=_7ca.join(""),_7d8=_7d7.indexOf("d")!=-1,_7d9=_7d7.indexOf("M")!=-1;if(!_7cf||(_7d9&&_7d6.getMonth()>_7ce[1])||(_7d8&&_7d6.getDate()>_7ce[2])){return null;}if((_7d9&&_7d6.getMonth()<_7ce[1])||(_7d8&&_7d6.getDate()<_7ce[2])){_7d6=date.add(_7d6,"hour",1);}return _7d6;};function _7b9(_7da,_7db,_7dc,_7dd){var _7de=function(x){return x;};_7db=_7db||_7de;_7dc=_7dc||_7de;_7dd=_7dd||_7de;var _7df=_7da.match(/(''|[^'])+/g),_7e0=_7da.charAt(0)=="'";dojo.forEach(_7df,function(_7e1,i){if(!_7e1){_7df[i]="";}else{_7df[i]=(_7e0?_7dc:_7db)(_7e1.replace(/''/g,"'"));_7e0=!_7e0;}});return _7dd(_7df.join(""));};function _7c6(_7e2,_7e3,_7e4,_7e5){_7e5=_7a1.escapeString(_7e5);if(!_7e4.strict){_7e5=_7e5.replace(" a"," ?a");}return _7e5.replace(/([a-z])\1*/ig,function(_7e6){var s,c=_7e6.charAt(0),l=_7e6.length,p2="",p3="";if(_7e4.strict){if(l>1){p2="0"+"{"+(l-1)+"}";}if(l>2){p3="0"+"{"+(l-2)+"}";}}else{p2="0?";p3="0{0,2}";}switch(c){case "y":s="\\d{2,4}";break;case "M":s=(l>2)?"\\S+?":"1[0-2]|"+p2+"[1-9]";break;case "D":s="[12][0-9][0-9]|3[0-5][0-9]|36[0-6]|"+p2+"[1-9][0-9]|"+p3+"[1-9]";break;case "d":s="3[01]|[12]\\d|"+p2+"[1-9]";break;case "w":s="[1-4][0-9]|5[0-3]|"+p2+"[1-9]";break;case "E":s="\\S+";break;case "h":s="1[0-2]|"+p2+"[1-9]";break;case "k":s="1[01]|"+p2+"\\d";break;case "H":s="1\\d|2[0-3]|"+p2+"\\d";break;case "K":s="1\\d|2[0-4]|"+p2+"[1-9]";break;case "m":case "s":s="[0-5]\\d";break;case "S":s="\\d{"+l+"}";break;case "a":var am=_7e4.am||_7e3["dayPeriods-format-wide-am"],pm=_7e4.pm||_7e3["dayPeriods-format-wide-pm"];s=am+"|"+pm;if(!_7e4.strict){if(am!=am.toLowerCase()){s+="|"+am.toLowerCase();}if(pm!=pm.toLowerCase()){s+="|"+pm.toLowerCase();}if(s.indexOf(".")!=-1){s+="|"+s.replace(/\./g,"");}}s=s.replace(/\./g,"\\.");break;default:s=".*";}if(_7e2){_7e2.push(_7e6);}return "("+s+")";}).replace(/[\xa0 ]/g,"[\\s\\xa0]");};var _7e7=[];dojo.date.locale.addCustomFormats=function(_7e8,_7e9){_7e7.push({pkg:_7e8,name:_7e9});};dojo.date.locale._getGregorianBundle=function(_7ea){var _7eb={};dojo.forEach(_7e7,function(desc){var _7ec=dojo.i18n.getLocalization(desc.pkg,desc.name,_7ea);_7eb=lang.mixin(_7eb,_7ec);},this);return _7eb;};dojo.date.locale.addCustomFormats("dojo.cldr","gregorian");dojo.date.locale.getNames=function(item,type,_7ed,_7ee){var _7ef,_7f0=dojo.date.locale._getGregorianBundle(_7ee),_7f1=[item,_7ed,type];if(_7ed=="standAlone"){var key=_7f1.join("-");_7ef=_7f0[key];if(_7ef[0]==1){_7ef=undefined;}}_7f1[1]="format";return (_7ef||_7f0[_7f1.join("-")]).concat();};dojo.date.locale.isWeekend=function(_7f2,_7f3){var _7f4=cldr.getWeekend(_7f3),day=(_7f2||new Date()).getDay();if(_7f4.end<_7f4.start){_7f4.end+=7;if(day<_7f4.start){day+=7;}}return day>=_7f4.start&&day<=_7f4.end;};dojo.date.locale._getDayOfYear=function(_7f5){return date.difference(new Date(_7f5.getFullYear(),0,1,_7f5.getHours()),_7f5)+1;};dojo.date.locale._getWeekOfYear=function(_7f6,_7f7){if(arguments.length==1){_7f7=0;}var _7f8=new Date(_7f6.getFullYear(),0,1).getDay(),adj=(_7f8-_7f7+7)%7,week=Math.floor((dojo.date.locale._getDayOfYear(_7f6)+adj-1)/7);if(_7f8==_7f7){week++;}return week;};return dojo.date.locale;});},"url:dijit/templates/InlineEditBox.html":"<span data-dojo-attach-point=\"editNode\" role=\"presentation\" style=\"position: absolute; visibility:hidden\" class=\"dijitReset dijitInline\"\n\tdata-dojo-attach-event=\"onkeypress: _onKeyPress\"\n\t><span data-dojo-attach-point=\"editorPlaceholder\"></span\n\t><span data-dojo-attach-point=\"buttonContainer\"\n\t\t><button data-dojo-type=\"dijit.form.Button\" data-dojo-props=\"label: '${buttonSave}', 'class': 'saveButton'\"\n\t\t\tdata-dojo-attach-point=\"saveButton\" data-dojo-attach-event=\"onClick:save\"></button\n\t\t><button data-dojo-type=\"dijit.form.Button\"  data-dojo-props=\"label: '${buttonCancel}', 'class': 'cancelButton'\"\n\t\t\tdata-dojo-attach-point=\"cancelButton\" data-dojo-attach-event=\"onClick:cancel\"></button\n\t></span\n></span>\n","dijit/form/VerticalRule":function(){define(["dojo/_base/declare","./HorizontalRule"],function(_7f9,_7fa){return _7f9("dijit.form.VerticalRule",_7fa,{templateString:"<div class=\"dijitRuleContainer dijitRuleContainerV\"></div>",_positionPrefix:"<div class=\"dijitRuleMark dijitRuleMarkV\" style=\"top:",_isHorizontal:false});});},"dijit/form/_FormSelectWidget":function(){define(["dojo/_base/array","dojo/aspect","dojo/data/util/sorter","dojo/_base/declare","dojo/dom","dojo/dom-class","dojo/_base/kernel","dojo/_base/lang","dojo/query","./_FormValueWidget"],function(_7fb,_7fc,_7fd,_7fe,dom,_7ff,_800,lang,_801,_802){return _7fe("dijit.form._FormSelectWidget",_802,{multiple:false,options:null,store:null,query:null,queryOptions:null,onFetch:null,sortByLabel:true,loadChildrenOnOpen:false,getOptions:function(_803){var _804=_803,opts=this.options||[],l=opts.length;if(_804===undefined){return opts;}if(lang.isArray(_804)){return _7fb.map(_804,"return this.getOptions(item);",this);}if(lang.isObject(_803)){if(!_7fb.some(this.options,function(o,idx){if(o===_804||(o.value&&o.value===_804.value)){_804=idx;return true;}return false;})){_804=-1;}}if(typeof _804=="string"){for(var i=0;i<l;i++){if(opts[i].value===_804){_804=i;break;}}}if(typeof _804=="number"&&_804>=0&&_804<l){return this.options[_804];}return null;},addOption:function(_805){if(!lang.isArray(_805)){_805=[_805];}_7fb.forEach(_805,function(i){if(i&&lang.isObject(i)){this.options.push(i);}},this);this._loadChildren();},removeOption:function(_806){if(!lang.isArray(_806)){_806=[_806];}var _807=this.getOptions(_806);_7fb.forEach(_807,function(i){if(i){this.options=_7fb.filter(this.options,function(node){return (node.value!==i.value||node.label!==i.label);});this._removeOptionItem(i);}},this);this._loadChildren();},updateOption:function(_808){if(!lang.isArray(_808)){_808=[_808];}_7fb.forEach(_808,function(i){var _809=this.getOptions(i),k;if(_809){for(k in i){_809[k]=i[k];}}},this);this._loadChildren();},setStore:function(_80a,_80b,_80c){var _80d=this.store;_80c=_80c||{};if(_80d!==_80a){var h;while(h=this._notifyConnections.pop()){h.remove();}if(_80a&&_80a.getFeatures()["dojo.data.api.Notification"]){this._notifyConnections=[_7fc.after(_80a,"onNew",lang.hitch(this,"_onNewItem"),true),_7fc.after(_80a,"onDelete",lang.hitch(this,"_onDeleteItem"),true),_7fc.after(_80a,"onSet",lang.hitch(this,"_onSetItem"),true)];}this._set("store",_80a);}this._onChangeActive=false;if(this.options&&this.options.length){this.removeOption(this.options);}if(_80a){this._loadingStore=true;_80a.fetch(lang.delegate(_80c,{onComplete:function(_80e,opts){if(this.sortByLabel&&!_80c.sort&&_80e.length){_80e.sort(_7fd.createSortFunction([{attribute:_80a.getLabelAttributes(_80e[0])[0]}],_80a));}if(_80c.onFetch){_80e=_80c.onFetch.call(this,_80e,opts);}_7fb.forEach(_80e,function(i){this._addOptionForItem(i);},this);this._loadingStore=false;this.set("value","_pendingValue" in this?this._pendingValue:_80b);delete this._pendingValue;if(!this.loadChildrenOnOpen){this._loadChildren();}else{this._pseudoLoadChildren(_80e);}this._fetchedWith=opts;this._lastValueReported=this.multiple?[]:null;this._onChangeActive=true;this.onSetStore();this._handleOnChange(this.value);},scope:this}));}else{delete this._fetchedWith;}return _80d;},_setValueAttr:function(_80f,_810){if(this._loadingStore){this._pendingValue=_80f;return;}var opts=this.getOptions()||[];if(!lang.isArray(_80f)){_80f=[_80f];}_7fb.forEach(_80f,function(i,idx){if(!lang.isObject(i)){i=i+"";}if(typeof i==="string"){_80f[idx]=_7fb.filter(opts,function(node){return node.value===i;})[0]||{value:"",label:""};}},this);_80f=_7fb.filter(_80f,function(i){return i&&i.value;});if(!this.multiple&&(!_80f[0]||!_80f[0].value)&&opts.length){_80f[0]=opts[0];}_7fb.forEach(opts,function(i){i.selected=_7fb.some(_80f,function(v){return v.value===i.value;});});var val=_7fb.map(_80f,function(i){return i.value;}),disp=_7fb.map(_80f,function(i){return i.label;});this._set("value",this.multiple?val:val[0]);this._setDisplay(this.multiple?disp:disp[0]);this._updateSelection();this._handleOnChange(this.value,_810);},_getDisplayedValueAttr:function(){var val=this.get("value");if(!lang.isArray(val)){val=[val];}var ret=_7fb.map(this.getOptions(val),function(v){if(v&&"label" in v){return v.label;}else{if(v){return v.value;}}return null;},this);return this.multiple?ret:ret[0];},_loadChildren:function(){if(this._loadingStore){return;}_7fb.forEach(this._getChildren(),function(_811){_811.destroyRecursive();});_7fb.forEach(this.options,this._addOptionItem,this);this._updateSelection();},_updateSelection:function(){this._set("value",this._getValueFromOpts());var val=this.value;if(!lang.isArray(val)){val=[val];}if(val&&val[0]){_7fb.forEach(this._getChildren(),function(_812){var _813=_7fb.some(val,function(v){return _812.option&&(v===_812.option.value);});_7ff.toggle(_812.domNode,this.baseClass+"SelectedOption",_813);_812.domNode.setAttribute("aria-selected",_813);},this);}},_getValueFromOpts:function(){var opts=this.getOptions()||[];if(!this.multiple&&opts.length){var opt=_7fb.filter(opts,function(i){return i.selected;})[0];if(opt&&opt.value){return opt.value;}else{opts[0].selected=true;return opts[0].value;}}else{if(this.multiple){return _7fb.map(_7fb.filter(opts,function(i){return i.selected;}),function(i){return i.value;})||[];}}return "";},_onNewItem:function(item,_814){if(!_814||!_814.parent){this._addOptionForItem(item);}},_onDeleteItem:function(item){var _815=this.store;this.removeOption(_815.getIdentity(item));},_onSetItem:function(item){this.updateOption(this._getOptionObjForItem(item));},_getOptionObjForItem:function(item){var _816=this.store,_817=_816.getLabel(item),_818=(_817?_816.getIdentity(item):null);return {value:_818,label:_817,item:item};},_addOptionForItem:function(item){var _819=this.store;if(!_819.isItemLoaded(item)){_819.loadItem({item:item,onItem:function(i){this._addOptionForItem(i);},scope:this});return;}var _81a=this._getOptionObjForItem(item);this.addOption(_81a);},constructor:function(_81b){this._oValue=(_81b||{}).value||null;this._notifyConnections=[];},buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},_fillContent:function(){var opts=this.options;if(!opts){opts=this.options=this.srcNodeRef?_801("> *",this.srcNodeRef).map(function(node){if(node.getAttribute("type")==="separator"){return {value:"",label:"",selected:false,disabled:false};}return {value:(node.getAttribute("data-"+_800._scopeName+"-value")||node.getAttribute("value")),label:String(node.innerHTML),selected:node.getAttribute("selected")||false,disabled:node.getAttribute("disabled")||false};},this):[];}if(!this.value){this._set("value",this._getValueFromOpts());}else{if(this.multiple&&typeof this.value=="string"){this._set("value",this.value.split(","));}}},postCreate:function(){this.inherited(arguments);this.connect(this,"onChange","_updateSelection");this.connect(this,"startup","_loadChildren");this._setValueAttr(this.value,null);},startup:function(){this.inherited(arguments);var _81c=this.store,_81d={};_7fb.forEach(["query","queryOptions","onFetch"],function(i){if(this[i]){_81d[i]=this[i];}delete this[i];},this);if(_81c&&_81c.getFeatures()["dojo.data.api.Identity"]){this.store=null;this.setStore(_81c,this._oValue,_81d);}},destroy:function(){var h;while(h=this._notifyConnections.pop()){h.remove();}this.inherited(arguments);},_addOptionItem:function(){},_removeOptionItem:function(){},_setDisplay:function(){},_getChildren:function(){return [];},_getSelectedOptionsAttr:function(){return this.getOptions(this.get("value"));},_pseudoLoadChildren:function(){},onSetStore:function(){}});});},"dijit/form/Select":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/_base/event","dojo/i18n","dojo/_base/lang","./_FormSelectWidget","../_HasDropDown","../Menu","../MenuItem","../MenuSeparator","../Tooltip","dojo/text!./templates/Select.html","dojo/i18n!./nls/validate"],function(_81e,_81f,_820,_821,_822,_823,_824,i18n,lang,_825,_826,Menu,_827,_828,_829,_82a){var _82b=_81f("dijit.form._SelectMenu",Menu,{buildRendering:function(){this.inherited(arguments);var o=(this.menuTableNode=this.domNode);var n=(this.domNode=_822.create("div",{style:{overflowX:"hidden",overflowY:"scroll"}}));if(o.parentNode){o.parentNode.replaceChild(n,o);}_821.remove(o,"dijitMenuTable");n.className=o.className+" dijitSelectMenu";o.className="dijitReset dijitMenuTable";o.setAttribute("role","listbox");n.setAttribute("role","presentation");n.appendChild(o);},postCreate:function(){this.inherited(arguments);this.connect(this.domNode,"onmousemove",_824.stop);},resize:function(mb){if(mb){_823.setMarginBox(this.domNode,mb);if("w" in mb){this.menuTableNode.style.width="100%";}}}});var _82c=_81f("dijit.form.Select",[_825,_826],{baseClass:"dijitSelect",templateString:_82a,required:false,state:"",message:"",tooltipPosition:[],emptyLabel:"&#160;",_isLoaded:false,_childrenLoaded:false,_fillContent:function(){this.inherited(arguments);if(this.options.length&&!this.value&&this.srcNodeRef){var si=this.srcNodeRef.selectedIndex||0;this.value=this.options[si>=0?si:0].value;}this.dropDown=new _82b({id:this.id+"_menu"});_821.add(this.dropDown.domNode,this.baseClass+"Menu");},_getMenuItemForOption:function(_82d){if(!_82d.value&&!_82d.label){return new _828();}else{var _82e=lang.hitch(this,"_setValueAttr",_82d);var item=new _827({option:_82d,label:_82d.label||this.emptyLabel,onClick:_82e,disabled:_82d.disabled||false});item.focusNode.setAttribute("role","listitem");return item;}},_addOptionItem:function(_82f){if(this.dropDown){this.dropDown.addChild(this._getMenuItemForOption(_82f));}},_getChildren:function(){if(!this.dropDown){return [];}return this.dropDown.getChildren();},_loadChildren:function(_830){if(_830===true){if(this.dropDown){delete this.dropDown.focusedChild;}if(this.options.length){this.inherited(arguments);}else{_81e.forEach(this._getChildren(),function(_831){_831.destroyRecursive();});var item=new _827({label:"&#160;"});this.dropDown.addChild(item);}}else{this._updateSelection();}this._isLoaded=false;this._childrenLoaded=true;if(!this._loadingStore){this._setValueAttr(this.value);}},_setValueAttr:function(_832){this.inherited(arguments);_820.set(this.valueNode,"value",this.get("value"));this.validate(this.focused);},_setDisabledAttr:function(_833){this.inherited(arguments);this.validate(this.focused);},_setRequiredAttr:function(_834){this._set("required",_834);this.focusNode.setAttribute("aria-required",_834);this.validate(this.focused);},_setDisplay:function(_835){var lbl=_835||this.emptyLabel;this.containerNode.innerHTML="<span class=\"dijitReset dijitInline "+this.baseClass+"Label\">"+lbl+"</span>";this.focusNode.setAttribute("aria-valuetext",lbl);},validate:function(_836){var _837=this.disabled||this.isValid(_836);this._set("state",_837?"":"Incomplete");this.focusNode.setAttribute("aria-invalid",_837?"false":"true");var _838=_837?"":this._missingMsg;if(_838&&this.focused&&this._hasBeenBlurred){_829.show(_838,this.domNode,this.tooltipPosition,!this.isLeftToRight());}else{_829.hide(this.domNode);}this._set("message",_838);return _837;},isValid:function(){return (!this.required||this.value===0||!(/^\s*$/.test(this.value||"")));},reset:function(){this.inherited(arguments);_829.hide(this.domNode);this.validate(this.focused);},postMixInProperties:function(){this.inherited(arguments);this._missingMsg=i18n.getLocalization("dijit.form","validate",this.lang).missingMessage;},postCreate:function(){this.inherited(arguments);this.connect(this.domNode,"onmousemove",_824.stop);},_setStyleAttr:function(_839){this.inherited(arguments);_821.toggle(this.domNode,this.baseClass+"FixedWidth",!!this.domNode.style.width);},isLoaded:function(){return this._isLoaded;},loadDropDown:function(_83a){this._loadChildren(true);this._isLoaded=true;_83a();},closeDropDown:function(){this.inherited(arguments);if(this.dropDown&&this.dropDown.menuTableNode){this.dropDown.menuTableNode.style.width="";}},uninitialize:function(_83b){if(this.dropDown&&!this.dropDown._destroyed){this.dropDown.destroyRecursive(_83b);delete this.dropDown;}this.inherited(arguments);},_onFocus:function(){this.validate(true);this.inherited(arguments);},_onBlur:function(){_829.hide(this.domNode);this.inherited(arguments);}});_82c._Menu=_82b;return _82c;});},"dijit/_editor/range":function(){define("dijit/_editor/range",["dojo/_base/array","dojo/_base/declare","dojo/_base/lang","dojo/_base/window",".."],function(_83c,_83d,lang,win,_83e){_83e.range={};_83e.range.getIndex=function(node,_83f){var ret=[],retR=[];var _840=node;var _841,n;while(node!=_83f){var i=0;_841=node.parentNode;while((n=_841.childNodes[i++])){if(n===node){--i;break;}}ret.unshift(i);retR.unshift(i-_841.childNodes.length);node=_841;}if(ret.length>0&&_840.nodeType==3){n=_840.previousSibling;while(n&&n.nodeType==3){ret[ret.length-1]--;n=n.previousSibling;}n=_840.nextSibling;while(n&&n.nodeType==3){retR[retR.length-1]++;n=n.nextSibling;}}return {o:ret,r:retR};};_83e.range.getNode=function(_842,_843){if(!lang.isArray(_842)||_842.length==0){return _843;}var node=_843;_83c.every(_842,function(i){if(i>=0&&i<node.childNodes.length){node=node.childNodes[i];}else{node=null;return false;}return true;});return node;};_83e.range.getCommonAncestor=function(n1,n2,root){root=root||n1.ownerDocument.body;var _844=function(n){var as=[];while(n){as.unshift(n);if(n!==root){n=n.parentNode;}else{break;}}return as;};var n1as=_844(n1);var n2as=_844(n2);var m=Math.min(n1as.length,n2as.length);var com=n1as[0];for(var i=1;i<m;i++){if(n1as[i]===n2as[i]){com=n1as[i];}else{break;}}return com;};_83e.range.getAncestor=function(node,_845,root){root=root||node.ownerDocument.body;while(node&&node!==root){var name=node.nodeName.toUpperCase();if(_845.test(name)){return node;}node=node.parentNode;}return null;};_83e.range.BlockTagNames=/^(?:P|DIV|H1|H2|H3|H4|H5|H6|ADDRESS|PRE|OL|UL|LI|DT|DE)$/;_83e.range.getBlockAncestor=function(node,_846,root){root=root||node.ownerDocument.body;_846=_846||_83e.range.BlockTagNames;var _847=null,_848;while(node&&node!==root){var name=node.nodeName.toUpperCase();if(!_847&&_846.test(name)){_847=node;}if(!_848&&(/^(?:BODY|TD|TH|CAPTION)$/).test(name)){_848=node;}node=node.parentNode;}return {blockNode:_847,blockContainer:_848||node.ownerDocument.body};};_83e.range.atBeginningOfContainer=function(_849,node,_84a){var _84b=false;var _84c=(_84a==0);if(!_84c&&node.nodeType==3){if(/^[\s\xA0]+$/.test(node.nodeValue.substr(0,_84a))){_84c=true;}}if(_84c){var _84d=node;_84b=true;while(_84d&&_84d!==_849){if(_84d.previousSibling){_84b=false;break;}_84d=_84d.parentNode;}}return _84b;};_83e.range.atEndOfContainer=function(_84e,node,_84f){var _850=false;var _851=(_84f==(node.length||node.childNodes.length));if(!_851&&node.nodeType==3){if(/^[\s\xA0]+$/.test(node.nodeValue.substr(_84f))){_851=true;}}if(_851){var _852=node;_850=true;while(_852&&_852!==_84e){if(_852.nextSibling){_850=false;break;}_852=_852.parentNode;}}return _850;};_83e.range.adjacentNoneTextNode=function(_853,next){var node=_853;var len=(0-_853.length)||0;var prop=next?"nextSibling":"previousSibling";while(node){if(node.nodeType!=3){break;}len+=node.length;node=node[prop];}return [node,len];};_83e.range._w3c=Boolean(window["getSelection"]);_83e.range.create=function(_854){if(_83e.range._w3c){return (_854||win.global).document.createRange();}else{return new _83e.range.W3CRange;}};_83e.range.getSelection=function(win,_855){if(_83e.range._w3c){return win.getSelection();}else{var s=new _83e.range.ie.selection(win);if(!_855){s._getCurrentSelection();}return s;}};if(!_83e.range._w3c){_83e.range.ie={cachedSelection:{},selection:function(win){this._ranges=[];this.addRange=function(r,_856){this._ranges.push(r);if(!_856){r._select();}this.rangeCount=this._ranges.length;};this.removeAllRanges=function(){this._ranges=[];this.rangeCount=0;};var _857=function(){var r=win.document.selection.createRange();var type=win.document.selection.type.toUpperCase();if(type=="CONTROL"){return new _83e.range.W3CRange(_83e.range.ie.decomposeControlRange(r));}else{return new _83e.range.W3CRange(_83e.range.ie.decomposeTextRange(r));}};this.getRangeAt=function(i){return this._ranges[i];};this._getCurrentSelection=function(){this.removeAllRanges();var r=_857();if(r){this.addRange(r,true);this.isCollapsed=r.collapsed;}else{this.isCollapsed=true;}};},decomposeControlRange:function(_858){var _859=_858.item(0),_85a=_858.item(_858.length-1);var _85b=_859.parentNode,_85c=_85a.parentNode;var _85d=_83e.range.getIndex(_859,_85b).o[0];var _85e=_83e.range.getIndex(_85a,_85c).o[0]+1;return [_85b,_85d,_85c,_85e];},getEndPoint:function(_85f,end){var _860=_85f.duplicate();_860.collapse(!end);var _861="EndTo"+(end?"End":"Start");var _862=_860.parentElement();var _863,_864,_865;if(_862.childNodes.length>0){_83c.every(_862.childNodes,function(node,i){var _866;if(node.nodeType!=3){_860.moveToElementText(node);if(_860.compareEndPoints(_861,_85f)>0){if(_865&&_865.nodeType==3){_863=_865;_866=true;}else{_863=_862;_864=i;return false;}}else{if(i==_862.childNodes.length-1){_863=_862;_864=_862.childNodes.length;return false;}}}else{if(i==_862.childNodes.length-1){_863=node;_866=true;}}if(_866&&_863){var _867=_83e.range.adjacentNoneTextNode(_863)[0];if(_867){_863=_867.nextSibling;}else{_863=_862.firstChild;}var _868=_83e.range.adjacentNoneTextNode(_863);_867=_868[0];var _869=_868[1];if(_867){_860.moveToElementText(_867);_860.collapse(false);}else{_860.moveToElementText(_862);}_860.setEndPoint(_861,_85f);_864=_860.text.length-_869;return false;}_865=node;return true;});}else{_863=_862;_864=0;}if(!end&&_863.nodeType==1&&_864==_863.childNodes.length){var _86a=_863.nextSibling;if(_86a&&_86a.nodeType==3){_863=_86a;_864=0;}}return [_863,_864];},setEndPoint:function(_86b,_86c,_86d){var _86e=_86b.duplicate(),node,len;if(_86c.nodeType!=3){if(_86d>0){node=_86c.childNodes[_86d-1];if(node){if(node.nodeType==3){_86c=node;_86d=node.length;}else{if(node.nextSibling&&node.nextSibling.nodeType==3){_86c=node.nextSibling;_86d=0;}else{_86e.moveToElementText(node.nextSibling?node:_86c);var _86f=node.parentNode;var _870=_86f.insertBefore(node.ownerDocument.createTextNode(" "),node.nextSibling);_86e.collapse(false);_86f.removeChild(_870);}}}}else{_86e.moveToElementText(_86c);_86e.collapse(true);}}if(_86c.nodeType==3){var _871=_83e.range.adjacentNoneTextNode(_86c);var _872=_871[0];len=_871[1];if(_872){_86e.moveToElementText(_872);_86e.collapse(false);if(_872.contentEditable!="inherit"){len++;}}else{_86e.moveToElementText(_86c.parentNode);_86e.collapse(true);}_86d+=len;if(_86d>0){if(_86e.move("character",_86d)!=_86d){console.error("Error when moving!");}}}return _86e;},decomposeTextRange:function(_873){var _874=_83e.range.ie.getEndPoint(_873);var _875=_874[0],_876=_874[1];var _877=_874[0],_878=_874[1];if(_873.htmlText.length){if(_873.htmlText==_873.text){_878=_876+_873.text.length;}else{_874=_83e.range.ie.getEndPoint(_873,true);_877=_874[0],_878=_874[1];}}return [_875,_876,_877,_878];},setRange:function(_879,_87a,_87b,_87c,_87d,_87e){var _87f=_83e.range.ie.setEndPoint(_879,_87a,_87b);_879.setEndPoint("StartToStart",_87f);if(!_87e){var end=_83e.range.ie.setEndPoint(_879,_87c,_87d);}_879.setEndPoint("EndToEnd",end||_87f);return _879;}};_83d("dijit.range.W3CRange",null,{constructor:function(){if(arguments.length>0){this.setStart(arguments[0][0],arguments[0][1]);this.setEnd(arguments[0][2],arguments[0][3]);}else{this.commonAncestorContainer=null;this.startContainer=null;this.startOffset=0;this.endContainer=null;this.endOffset=0;this.collapsed=true;}},_updateInternal:function(){if(this.startContainer!==this.endContainer){this.commonAncestorContainer=_83e.range.getCommonAncestor(this.startContainer,this.endContainer);}else{this.commonAncestorContainer=this.startContainer;}this.collapsed=(this.startContainer===this.endContainer)&&(this.startOffset==this.endOffset);},setStart:function(node,_880){_880=parseInt(_880);if(this.startContainer===node&&this.startOffset==_880){return;}delete this._cachedBookmark;this.startContainer=node;this.startOffset=_880;if(!this.endContainer){this.setEnd(node,_880);}else{this._updateInternal();}},setEnd:function(node,_881){_881=parseInt(_881);if(this.endContainer===node&&this.endOffset==_881){return;}delete this._cachedBookmark;this.endContainer=node;this.endOffset=_881;if(!this.startContainer){this.setStart(node,_881);}else{this._updateInternal();}},setStartAfter:function(node,_882){this._setPoint("setStart",node,_882,1);},setStartBefore:function(node,_883){this._setPoint("setStart",node,_883,0);},setEndAfter:function(node,_884){this._setPoint("setEnd",node,_884,1);},setEndBefore:function(node,_885){this._setPoint("setEnd",node,_885,0);},_setPoint:function(what,node,_886,ext){var _887=_83e.range.getIndex(node,node.parentNode).o;this[what](node.parentNode,_887.pop()+ext);},_getIERange:function(){var r=(this._body||this.endContainer.ownerDocument.body).createTextRange();_83e.range.ie.setRange(r,this.startContainer,this.startOffset,this.endContainer,this.endOffset,this.collapsed);return r;},getBookmark:function(){this._getIERange();return this._cachedBookmark;},_select:function(){var r=this._getIERange();r.select();},deleteContents:function(){var s=this.startContainer,r=this._getIERange();if(s.nodeType===3&&!this.startOffset){this.setStartBefore(s);}r.pasteHTML("");this.endContainer=this.startContainer;this.endOffset=this.startOffset;this.collapsed=true;},cloneRange:function(){var r=new _83e.range.W3CRange([this.startContainer,this.startOffset,this.endContainer,this.endOffset]);r._body=this._body;return r;},detach:function(){this._body=null;this.commonAncestorContainer=null;this.startContainer=null;this.startOffset=0;this.endContainer=null;this.endOffset=0;this.collapsed=true;}});}return _83e.range;});},"dojo/store/util/QueryResults":function(){define(["../../_base/array","../../_base/lang","../../_base/Deferred"],function(_888,lang,_889){var util=lang.getObject("dojo.store.util",true);util.QueryResults=function(_88a){if(!_88a){return _88a;}if(_88a.then){_88a=lang.delegate(_88a);}function _88b(_88c){if(!_88a[_88c]){_88a[_88c]=function(){var args=arguments;return _889.when(_88a,function(_88d){Array.prototype.unshift.call(args,_88d);return util.QueryResults(_888[_88c].apply(_888,args));});};}};_88b("forEach");_88b("filter");_88b("map");if(!_88a.total){_88a.total=_889.when(_88a,function(_88e){return _88e.length;});}return _88a;};return util.QueryResults;});},"dijit/form/_ListBase":function(){define(["dojo/_base/declare","dojo/window"],function(_88f,_890){return _88f("dijit.form._ListBase",null,{selected:null,_getTarget:function(evt){var tgt=evt.target;var _891=this.containerNode;if(tgt==_891||tgt==this.domNode){return null;}while(tgt&&tgt.parentNode!=_891){tgt=tgt.parentNode;}return tgt;},selectFirstNode:function(){var _892=this.containerNode.firstChild;while(_892&&_892.style.display=="none"){_892=_892.nextSibling;}this._setSelectedAttr(_892);},selectLastNode:function(){var last=this.containerNode.lastChild;while(last&&last.style.display=="none"){last=last.previousSibling;}this._setSelectedAttr(last);},selectNextNode:function(){var _893=this._getSelectedAttr();if(!_893){this.selectFirstNode();}else{var next=_893.nextSibling;while(next&&next.style.display=="none"){next=next.nextSibling;}if(!next){this.selectFirstNode();}else{this._setSelectedAttr(next);}}},selectPreviousNode:function(){var _894=this._getSelectedAttr();if(!_894){this.selectLastNode();}else{var prev=_894.previousSibling;while(prev&&prev.style.display=="none"){prev=prev.previousSibling;}if(!prev){this.selectLastNode();}else{this._setSelectedAttr(prev);}}},_setSelectedAttr:function(node){if(this.selected!=node){var _895=this._getSelectedAttr();if(_895){this.onDeselect(_895);this.selected=null;}if(node&&node.parentNode==this.containerNode){this.selected=node;_890.scrollIntoView(node);this.onSelect(node);}}else{if(node){this.onSelect(node);}}},_getSelectedAttr:function(){var v=this.selected;return (v&&v.parentNode==this.containerNode)?v:(this.selected=null);}});});},"dojo/DeferredList":function(){define(["./_base/kernel","./_base/Deferred","./_base/array"],function(dojo,_896,_897){dojo.DeferredList=function(list,_898,_899,_89a,_89b){var _89c=[];_896.call(this);var self=this;if(list.length===0&&!_898){this.resolve([0,[]]);}var _89d=0;_897.forEach(list,function(item,i){item.then(function(_89e){if(_898){self.resolve([i,_89e]);}else{_89f(true,_89e);}},function(_8a0){if(_899){self.reject(_8a0);}else{_89f(false,_8a0);}if(_89a){return null;}throw _8a0;});function _89f(_8a1,_8a2){_89c[i]=[_8a1,_8a2];_89d++;if(_89d===list.length){self.resolve(_89c);}};});};dojo.DeferredList.prototype=new _896();dojo.DeferredList.prototype.gatherResults=function(_8a3){var d=new dojo.DeferredList(_8a3,false,true,false);d.addCallback(function(_8a4){var ret=[];_897.forEach(_8a4,function(_8a5){ret.push(_8a5[1]);});return ret;});return d;};return dojo.DeferredList;});},"dojo/dnd/common":function(){define(["../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/CalendarLite":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/cldr/supplemental","dojo/date","dojo/date/locale","dojo/dom","dojo/dom-class","dojo/_base/event","dojo/_base/lang","dojo/_base/sniff","dojo/string","dojo/_base/window","./_WidgetBase","./_TemplatedMixin","dojo/text!./templates/Calendar.html"],function(_8a6,_8a7,_8a8,date,_8a9,dom,_8aa,_8ab,lang,has,_8ac,win,_8ad,_8ae,_8af){var _8b0=_8a7("dijit.CalendarLite",[_8ad,_8ae],{templateString:_8af,dowTemplateString:"<th class=\"dijitReset dijitCalendarDayLabelTemplate\" role=\"columnheader\"><span class=\"dijitCalendarDayLabel\">${d}</span></th>",dateTemplateString:"<td class=\"dijitReset\" role=\"gridcell\" data-dojo-attach-point=\"dateCells\"><span class=\"dijitCalendarDateLabel\" data-dojo-attach-point=\"dateLabels\"></span></td>",weekTemplateString:"<tr class=\"dijitReset dijitCalendarWeekTemplate\" role=\"row\">${d}${d}${d}${d}${d}${d}${d}</tr>",value:new Date(""),datePackage:date,dayWidth:"narrow",tabIndex:"0",currentFocus:new Date(),baseClass:"dijitCalendar",_isValidDate:function(_8b1){return _8b1&&!isNaN(_8b1)&&typeof _8b1=="object"&&_8b1.toString()!=this.constructor.prototype.value.toString();},_getValueAttr:function(){if(this.value&&!isNaN(this.value)){var _8b2=new this.dateClassObj(this.value);_8b2.setHours(0,0,0,0);if(_8b2.getDate()<this.value.getDate()){_8b2=this.dateFuncObj.add(_8b2,"hour",1);}return _8b2;}else{return null;}},_setValueAttr:function(_8b3,_8b4){if(_8b3){_8b3=new this.dateClassObj(_8b3);}if(this._isValidDate(_8b3)){if(!this._isValidDate(this.value)||this.dateFuncObj.compare(_8b3,this.value)){_8b3.setHours(1,0,0,0);if(!this.isDisabledDate(_8b3,this.lang)){this._set("value",_8b3);this.set("currentFocus",_8b3);if(_8b4||typeof _8b4=="undefined"){this.onChange(this.get("value"));}}}}else{this._set("value",null);this.set("currentFocus",this.currentFocus);}},_setText:function(node,text){while(node.firstChild){node.removeChild(node.firstChild);}node.appendChild(win.doc.createTextNode(text));},_populateGrid:function(){var _8b5=new this.dateClassObj(this.currentFocus);_8b5.setDate(1);var _8b6=_8b5.getDay(),_8b7=this.dateFuncObj.getDaysInMonth(_8b5),_8b8=this.dateFuncObj.getDaysInMonth(this.dateFuncObj.add(_8b5,"month",-1)),_8b9=new this.dateClassObj(),_8ba=_8a8.getFirstDayOfWeek(this.lang);if(_8ba>_8b6){_8ba-=7;}this._date2cell={};_8a6.forEach(this.dateCells,function(_8bb,idx){var i=idx+_8ba;var date=new this.dateClassObj(_8b5),_8bc,_8bd="dijitCalendar",adj=0;if(i<_8b6){_8bc=_8b8-_8b6+i+1;adj=-1;_8bd+="Previous";}else{if(i>=(_8b6+_8b7)){_8bc=i-_8b6-_8b7+1;adj=1;_8bd+="Next";}else{_8bc=i-_8b6+1;_8bd+="Current";}}if(adj){date=this.dateFuncObj.add(date,"month",adj);}date.setDate(_8bc);if(!this.dateFuncObj.compare(date,_8b9,"date")){_8bd="dijitCalendarCurrentDate "+_8bd;}if(this._isSelectedDate(date,this.lang)){_8bd="dijitCalendarSelectedDate "+_8bd;_8bb.setAttribute("aria-selected",true);}else{_8bb.setAttribute("aria-selected",false);}if(this.isDisabledDate(date,this.lang)){_8bd="dijitCalendarDisabledDate "+_8bd;_8bb.setAttribute("aria-disabled",true);}else{_8bd="dijitCalendarEnabledDate "+_8bd;_8bb.removeAttribute("aria-disabled");}var _8be=this.getClassForDate(date,this.lang);if(_8be){_8bd=_8be+" "+_8bd;}_8bb.className=_8bd+"Month dijitCalendarDateTemplate";var _8bf=date.valueOf();this._date2cell[_8bf]=_8bb;_8bb.dijitDateValue=_8bf;this._setText(this.dateLabels[idx],date.getDateLocalized?date.getDateLocalized(this.lang):date.getDate());},this);this.monthWidget.set("month",_8b5);var y=_8b5.getFullYear()-1;var d=new this.dateClassObj();_8a6.forEach(["previous","current","next"],function(name){d.setFullYear(y++);this._setText(this[name+"YearLabelNode"],this.dateLocaleModule.format(d,{selector:"year",locale:this.lang}));},this);},goToToday:function(){this.set("value",new this.dateClassObj());},constructor:function(args){this.datePackage=args.datePackage||this.datePackage;this.dateFuncObj=typeof this.datePackage=="string"?lang.getObject(this.datePackage,false):this.datePackage;this.dateClassObj=this.dateFuncObj.Date||Date;this.dateLocaleModule=lang.getObject("locale",false,this.dateFuncObj);},_createMonthWidget:function(){return _8b0._MonthWidget({id:this.id+"_mw",lang:this.lang,dateLocaleModule:this.dateLocaleModule},this.monthNode);},buildRendering:function(){var d=this.dowTemplateString,_8c0=this.dateLocaleModule.getNames("days",this.dayWidth,"standAlone",this.lang),_8c1=_8a8.getFirstDayOfWeek(this.lang);this.dayCellsHtml=_8ac.substitute([d,d,d,d,d,d,d].join(""),{d:""},function(){return _8c0[_8c1++%7];});var r=_8ac.substitute(this.weekTemplateString,{d:this.dateTemplateString});this.dateRowsHtml=[r,r,r,r,r,r].join("");this.dateCells=[];this.dateLabels=[];this.inherited(arguments);dom.setSelectable(this.domNode,false);var _8c2=new this.dateClassObj(this.currentFocus);this._supportingWidgets.push(this.monthWidget=this._createMonthWidget());this.set("currentFocus",_8c2,false);var _8c3=lang.hitch(this,function(_8c4,part,_8c5){this.connect(this[_8c4],"onclick",function(){this._setCurrentFocusAttr(this.dateFuncObj.add(this.currentFocus,part,_8c5));});});_8c3("incrementMonth","month",1);_8c3("decrementMonth","month",-1);_8c3("nextYearLabelNode","year",1);_8c3("previousYearLabelNode","year",-1);},_setCurrentFocusAttr:function(date,_8c6){var _8c7=this.currentFocus,_8c8=_8c7&&this._date2cell?this._date2cell[_8c7.valueOf()]:null;date=new this.dateClassObj(date);date.setHours(1,0,0,0);this._set("currentFocus",date);this._populateGrid();var _8c9=this._date2cell[date.valueOf()];_8c9.setAttribute("tabIndex",this.tabIndex);if(this.focused||_8c6){_8c9.focus();}if(_8c8&&_8c8!=_8c9){if(has("webkit")){_8c8.setAttribute("tabIndex","-1");}else{_8c8.removeAttribute("tabIndex");}}},focus:function(){this._setCurrentFocusAttr(this.currentFocus,true);},_onDayClick:function(evt){_8ab.stop(evt);for(var node=evt.target;node&&!node.dijitDateValue;node=node.parentNode){}if(node&&!_8aa.contains(node,"dijitCalendarDisabledDate")){this.set("value",node.dijitDateValue);}},onChange:function(){},_isSelectedDate:function(_8ca){return this._isValidDate(this.value)&&!this.dateFuncObj.compare(_8ca,this.value,"date");},isDisabledDate:function(){},getClassForDate:function(){}});_8b0._MonthWidget=_8a7("dijit.CalendarLite._MonthWidget",_8ad,{_setMonthAttr:function(_8cb){var _8cc=this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,_8cb),_8cd=(has("ie")==6?"":"<div class='dijitSpacer'>"+_8a6.map(_8cc,function(s){return "<div>"+s+"</div>";}).join("")+"</div>");this.domNode.innerHTML=_8cd+"<div class='dijitCalendarMonthLabel dijitCalendarCurrentMonthLabel'>"+_8cc[_8cb.getMonth()]+"</div>";}});return _8b0;});},"dijit/CheckedMenuItem":function(){require({cache:{"url:dijit/templates/CheckedMenuItem.html":"<tr class=\"dijitReset dijitMenuItem\" data-dojo-attach-point=\"focusNode\" role=\"menuitemcheckbox\" tabIndex=\"-1\"\n\t\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=\"dijitMenuItemIcon dijitCheckedMenuItemIcon\" data-dojo-attach-point=\"iconNode\"/>\n\t\t<span class=\"dijitCheckedMenuItemIconChar\">&#10003;</span>\n\t</td>\n\t<td class=\"dijitReset dijitMenuItemLabel\" colspan=\"2\" data-dojo-attach-point=\"containerNode,labelNode\"></td>\n\t<td class=\"dijitReset dijitMenuItemAccelKey\" style=\"display: none\" data-dojo-attach-point=\"accelKeyNode\"></td>\n\t<td class=\"dijitReset dijitMenuArrowCell\" role=\"presentation\">&#160;</td>\n</tr>\n"}});define("dijit/CheckedMenuItem",["dojo/_base/declare","dojo/dom-class","./MenuItem","dojo/text!./templates/CheckedMenuItem.html","./hccss"],function(_8ce,_8cf,_8d0,_8d1){return _8ce("dijit.CheckedMenuItem",_8d0,{templateString:_8d1,checked:false,_setCheckedAttr:function(_8d2){_8cf.toggle(this.domNode,"dijitCheckedMenuItemChecked",_8d2);this.domNode.setAttribute("aria-checked",_8d2);this._set("checked",_8d2);},iconClass:"",onChange:function(){},_onClick:function(e){if(!this.disabled){this.set("checked",!this.checked);this.onChange(this.checked);}this.inherited(arguments);}});});},"dijit/form/VerticalRuleLabels":function(){define(["dojo/_base/declare","./HorizontalRuleLabels"],function(_8d3,_8d4){return _8d3("dijit.form.VerticalRuleLabels",_8d4,{templateString:"<div class=\"dijitRuleContainer dijitRuleContainerV dijitRuleLabelsContainer dijitRuleLabelsContainerV\"></div>",_positionPrefix:"<div class=\"dijitRuleLabelContainer dijitRuleLabelContainerV\" style=\"top:",_labelPrefix:"\"><span class=\"dijitRuleLabel dijitRuleLabelV\">",_calcPosition:function(pos){return 100-pos;},_isHorizontal:false});});},"dijit/Declaration":function(){define(["dojo/_base/array","dojo/_base/connect","dojo/_base/declare","dojo/_base/lang","dojo/parser","dojo/query","./_Widget","./_TemplatedMixin","./_WidgetsInTemplateMixin","dojo/NodeList-dom"],function(_8d5,_8d6,_8d7,lang,_8d8,_8d9,_8da,_8db,_8dc){return _8d7("dijit.Declaration",_8da,{_noScript:true,stopParser:true,widgetClass:"",defaults:null,mixins:[],buildRendering:function(){var src=this.srcNodeRef.parentNode.removeChild(this.srcNodeRef),_8dd=_8d9("> script[type^='dojo/method']",src).orphan(),_8de=_8d9("> script[type^='dojo/connect']",src).orphan(),_8df=src.nodeName;var _8e0=this.defaults||{};_8d5.forEach(_8dd,function(s){var evt=s.getAttribute("event")||s.getAttribute("data-dojo-event"),func=_8d8._functionFromScript(s);if(evt){_8e0[evt]=func;}else{_8de.push(s);}});this.mixins=this.mixins.length?_8d5.map(this.mixins,function(name){return lang.getObject(name);}):[_8da,_8db,_8dc];_8e0._skipNodeCache=true;_8e0.templateString="<"+_8df+" class='"+src.className+"'"+" data-dojo-attach-point='"+(src.getAttribute("data-dojo-attach-point")||src.getAttribute("dojoAttachPoint")||"")+"' data-dojo-attach-event='"+(src.getAttribute("data-dojo-attach-event")||src.getAttribute("dojoAttachEvent")||"")+"' >"+src.innerHTML.replace(/\%7B/g,"{").replace(/\%7D/g,"}")+"</"+_8df+">";var wc=_8d7(this.widgetClass,this.mixins,_8e0);_8d5.forEach(_8de,function(s){var evt=s.getAttribute("event")||s.getAttribute("data-dojo-event")||"postscript",func=_8d8._functionFromScript(s);_8d6.connect(wc.prototype,evt,func);});}});});},"dijit/MenuSeparator":function(){require({cache:{"url:dijit/templates/MenuSeparator.html":"<tr class=\"dijitMenuSeparator\">\n\t<td class=\"dijitMenuSeparatorIconCell\">\n\t\t<div class=\"dijitMenuSeparatorTop\"></div>\n\t\t<div class=\"dijitMenuSeparatorBottom\"></div>\n\t</td>\n\t<td colspan=\"3\" class=\"dijitMenuSeparatorLabelCell\">\n\t\t<div class=\"dijitMenuSeparatorTop dijitMenuSeparatorLabel\"></div>\n\t\t<div class=\"dijitMenuSeparatorBottom\"></div>\n\t</td>\n</tr>"}});define("dijit/MenuSeparator",["dojo/_base/declare","dojo/dom","./_WidgetBase","./_TemplatedMixin","./_Contained","dojo/text!./templates/MenuSeparator.html"],function(_8e1,dom,_8e2,_8e3,_8e4,_8e5){return _8e1("dijit.MenuSeparator",[_8e2,_8e3,_8e4],{templateString:_8e5,buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.domNode,false);},isFocusable:function(){return false;}});});},"dijit/form/_ComboBoxMenu":function(){define(["dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/dom-style","dojo/keys","../_WidgetBase","../_TemplatedMixin","./_ComboBoxMenuMixin","./_ListMouseMixin"],function(_8e6,_8e7,_8e8,_8e9,keys,_8ea,_8eb,_8ec,_8ed){return _8e6("dijit.form._ComboBoxMenu",[_8ea,_8eb,_8ed,_8ec],{templateString:"<div class='dijitReset dijitMenu' data-dojo-attach-point='containerNode' style='overflow: auto; overflow-x: hidden;'>"+"<div class='dijitMenuItem dijitMenuPreviousButton' data-dojo-attach-point='previousButton' role='option'></div>"+"<div class='dijitMenuItem dijitMenuNextButton' data-dojo-attach-point='nextButton' role='option'></div>"+"</div>",baseClass:"dijitComboBoxMenu",_createMenuItem:function(){return _8e8.create("div",{"class":"dijitReset dijitMenuItem"+(this.isLeftToRight()?"":" dijitMenuItemRtl"),role:"option"});},onHover:function(node){_8e7.add(node,"dijitMenuItemHover");},onUnhover:function(node){_8e7.remove(node,"dijitMenuItemHover");},onSelect:function(node){_8e7.add(node,"dijitMenuItemSelected");},onDeselect:function(node){_8e7.remove(node,"dijitMenuItemSelected");},_page:function(up){var _8ee=0;var _8ef=this.domNode.scrollTop;var _8f0=_8e9.get(this.domNode,"height");if(!this.getHighlightedOption()){this.selectNextNode();}while(_8ee<_8f0){if(up){if(!this.getHighlightedOption().previousSibling||this._highlighted_option.previousSibling.style.display=="none"){break;}this.selectPreviousNode();}else{if(!this.getHighlightedOption().nextSibling||this._highlighted_option.nextSibling.style.display=="none"){break;}this.selectNextNode();}var _8f1=this.domNode.scrollTop;_8ee+=(_8f1-_8ef)*(up?-1:1);_8ef=_8f1;}},handleKey:function(evt){switch(evt.charOrCode){case keys.DOWN_ARROW:this.selectNextNode();return false;case keys.PAGE_DOWN:this._page(false);return false;case keys.UP_ARROW:this.selectPreviousNode();return false;case keys.PAGE_UP:this._page(true);return false;default:return true;}}});});},"url:dijit/layout/templates/ScrollingTabController.html":"<div class=\"dijitTabListContainer-${tabPosition}\" style=\"visibility:hidden\">\n\t<div data-dojo-type=\"dijit.layout._ScrollingTabControllerMenuButton\"\n\t\t\tclass=\"tabStripButton-${tabPosition}\"\n\t\t\tid=\"${id}_menuBtn\"\n\t\t\tdata-dojo-props=\"containerId: '${containerId}', iconClass: 'dijitTabStripMenuIcon',\n\t\t\t\t\tdropDownPosition: ['below-alt', 'above-alt']\"\n\t\t\tdata-dojo-attach-point=\"_menuBtn\" showLabel=\"false\" title=\"\">&#9660;</div>\n\t<div data-dojo-type=\"dijit.layout._ScrollingTabControllerButton\"\n\t\t\tclass=\"tabStripButton-${tabPosition}\"\n\t\t\tid=\"${id}_leftBtn\"\n\t\t\tdata-dojo-props=\"iconClass:'dijitTabStripSlideLeftIcon', showLabel:false, title:''\"\n\t\t\tdata-dojo-attach-point=\"_leftBtn\" data-dojo-attach-event=\"onClick: doSlideLeft\">&#9664;</div>\n\t<div data-dojo-type=\"dijit.layout._ScrollingTabControllerButton\"\n\t\t\tclass=\"tabStripButton-${tabPosition}\"\n\t\t\tid=\"${id}_rightBtn\"\n\t\t\tdata-dojo-props=\"iconClass:'dijitTabStripSlideRightIcon', showLabel:false, title:''\"\n\t\t\tdata-dojo-attach-point=\"_rightBtn\" data-dojo-attach-event=\"onClick: doSlideRight\">&#9654;</div>\n\t<div class='dijitTabListWrapper' data-dojo-attach-point='tablistWrapper'>\n\t\t<div role='tablist' data-dojo-attach-event='onkeypress:onkeypress'\n\t\t\t\tdata-dojo-attach-point='containerNode' class='nowrapTabStrip'></div>\n\t</div>\n</div>","dijit/Dialog":function(){require({cache:{"url:dijit/templates/Dialog.html":"<div class=\"dijitDialog\" role=\"dialog\" aria-labelledby=\"${id}_title\">\n\t<div data-dojo-attach-point=\"titleBar\" class=\"dijitDialogTitleBar\">\n\t<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(_8f2,_8f3,_8f4,_8f5,_8f6,dom,_8f7,_8f8,_8f9,_8fa,fx,i18n,_8fb,keys,lang,on,_8fc,has,win,_8fd,_8fe,_8ff,_900,_901,_902,_903,_904,_905,_906,_907,_908,_909,_90a){var _90b=_8f5("dijit._DialogBase",[_903,_905,_906,_904],{templateString:_909,baseClass:"dijitDialog",cssStateNodes:{closeButtonNode:"dijitDialogCloseIcon"},_setTitleAttr:[{node:"titleNode",type:"innerHTML"},{node:"titleBar",type:"attribute"}],open:false,duration:_901.defaultDuration,refocus:true,autofocus:true,_firstFocusItem:null,_lastFocusItem:null,doLayout:false,draggable:true,"aria-describedby":"",postMixInProperties:function(){var _90c=i18n.getLocalization("dijit","common");lang.mixin(this,_90c);this.inherited(arguments);},postCreate:function(){_8f9.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&&_90d.isTop(this)){this._getFocusItems(this.domNode);_900.focus(this._firstFocusItem);}this.inherited(arguments);},_endDrag:function(){var _90e=_8f8.position(this.domNode),_90f=_8fd.getBox();_90e.y=Math.min(Math.max(_90e.y,0),(_90f.h-_90e.h));_90e.x=Math.min(Math.max(_90e.x,0),(_90f.w-_90e.w));this._relativePosition=_90e;this._position();},_setup:function(){var node=this.domNode;if(this.titleBar&&this.draggable){this._moveable=new ((has("ie")==6)?_8ff:_8fe)(node,{handle:this.titleBar});this.connect(this._moveable,"onMoveStop","_endDrag");}else{_8f7.add(node,"dijitDialogFixed");}this.underlayAttrs={dialogId:this.id,"class":_8f3.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{_8f9.set(this.containerNode,{width:"auto",height:"auto"});}var bb=_8f8.position(this.domNode);var _910=_8fd.getBox();if(bb.w>=_910.w||bb.h>=_910.h){var w=Math.min(bb.w,Math.floor(_910.w*0.75)),h=Math.min(bb.h,Math.floor(_910.h*0.75));if(this._singleChild&&this._singleChild.resize){this._singleChildOriginalStyle=this._singleChild.domNode.style.cssText;this._singleChild.resize({w:w,h:h});}else{_8f9.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(!_8f7.contains(win.body(),"dojoMove")){var node=this.domNode,_911=_8fd.getBox(),p=this._relativePosition,bb=p?null:_8f8.position(node),l=Math.floor(_911.l+(p?p.x:(_911.w-bb.w)/2)),t=Math.floor(_911.t+(p?p.y:(_911.h-bb.h)/2));_8f9.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 _912=(this._firstFocusItem==this._lastFocusItem);if(node==this._firstFocusItem&&evt.shiftKey&&evt.charOrCode===keys.TAB){if(!_912){_900.focus(this._lastFocusItem);}_8fa.stop(evt);}else{if(node==this._lastFocusItem&&evt.charOrCode===keys.TAB&&!evt.shiftKey){if(!_912){_900.focus(this._firstFocusItem);}_8fa.stop(evt);}else{while(node){if(node==this.domNode||_8f7.contains(node,"dijitPopup")){if(evt.charOrCode==keys.ESCAPE){this.onCancel();}else{return;}}node=node.parentNode;}if(evt.charOrCode!==keys.TAB){_8fa.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 _913=_8fd.getBox();if(!this._oldViewport||_913.h!=this._oldViewport.h||_913.w!=this._oldViewport.w){this.layout();this._oldViewport=_913;}})));this._modalconnects.push(on(this.domNode,_8f4._keypress,lang.hitch(this,"_onKey")));_8f9.set(this.domNode,{opacity:0,display:""});this._set("open",true);this._onShow();this._size();this._position();var _914;this._fadeInDeferred=new _8f6(lang.hitch(this,function(){_914.stop();delete this._fadeInDeferred;}));_914=fx.fadeIn({node:this.domNode,duration:this.duration,beforeBegin:lang.hitch(this,function(){_90d.show(this,this.underlayAttrs);}),onEnd:lang.hitch(this,function(){if(this.autofocus&&_90d.isTop(this)){this._getFocusItems(this.domNode);_900.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 _915;this._fadeOutDeferred=new _8f6(lang.hitch(this,function(){_915.stop();delete this._fadeOutDeferred;}));this._fadeOutDeferred.then(lang.hitch(this,"onHide"));_915=fx.fadeOut({node:this.domNode,duration:this.duration,onEnd:lang.hitch(this,function(){this.domNode.style.display="none";_90d.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(_90a._underlay){_90a._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();}_90d.hide(this);this.inherited(arguments);}});var _916=_8f5("dijit.Dialog",[_908,_90b],{});_916._DialogBase=_90b;var _90d=_916._DialogLevelManager={_beginZIndex:950,show:function(_917,_918){ds[ds.length-1].focus=_900.curNode;var _919=_90a._underlay;if(!_919||_919._destroyed){_919=_90a._underlay=new _907(_918);}else{_919.set(_917.underlayAttrs);}var _91a=ds[ds.length-1].dialog?ds[ds.length-1].zIndex+2:_916._DialogLevelManager._beginZIndex;if(ds.length==1){_919.show();}_8f9.set(_90a._underlay.domNode,"zIndex",_91a-1);_8f9.set(_917.domNode,"zIndex",_91a);ds.push({dialog:_917,underlayAttrs:_918,zIndex:_91a});},hide:function(_91b){if(ds[ds.length-1].dialog==_91b){ds.pop();var pd=ds[ds.length-1];if(ds.length==1){if(!_90a._underlay._destroyed){_90a._underlay.hide();}}else{_8f9.set(_90a._underlay.domNode,"zIndex",pd.zIndex-1);_90a._underlay.set(pd.underlayAttrs);}if(_91b.refocus){var _91c=pd.focus;if(pd.dialog&&(!_91c||!dom.isDescendant(_91c,pd.dialog.domNode))){pd.dialog._getFocusItems(pd.dialog.domNode);_91c=pd.dialog._firstFocusItem;}if(_91c){_91c.focus();}}}else{var idx=_8f3.indexOf(_8f3.map(ds,function(elem){return elem.dialog;}),_91b);if(idx!=-1){ds.splice(idx,1);}}},isTop:function(_91d){return ds[ds.length-1].dialog==_91d;}};var ds=_916._dialogStack=[{dialog:null,focus:null,underlayAttrs:null}];if(!_8fb.isAsync){_8fc(0,function(){var _91e=["dijit/TooltipDialog"];_8f2(_91e);});}return _916;});},"dijit/form/MultiSelect":function(){define("dijit/form/MultiSelect",["dojo/_base/array","dojo/_base/declare","dojo/dom-geometry","dojo/query","./_FormValueWidget"],function(_91f,_920,_921,_922,_923){return _920("dijit.form.MultiSelect",_923,{size:7,templateString:"<select multiple='true' ${!nameAttrSetting} data-dojo-attach-point='containerNode,focusNode' data-dojo-attach-event='onchange: _onChange'></select>",addSelected:function(_924){_924.getSelected().forEach(function(n){this.containerNode.appendChild(n);this.domNode.scrollTop=this.domNode.offsetHeight;var _925=_924.domNode.scrollTop;_924.domNode.scrollTop=0;_924.domNode.scrollTop=_925;},this);this._set("value",this.get("value"));},getSelected:function(){return _922("option",this.containerNode).filter(function(n){return n.selected;});},_getValueAttr:function(){return _91f.map(this.getSelected(),function(n){return n.value;});},multiple:true,_setValueAttr:function(_926,_927){_922("option",this.containerNode).forEach(function(n){n.selected=(_91f.indexOf(_926,n.value)!=-1);});this.inherited(arguments);},invertSelection:function(_928){var val=[];_922("option",this.containerNode).forEach(function(n){if(!n.selected){val.push(n.value);}});this._setValueAttr(val,!(_928===false||_928==null));},_onChange:function(){this._handleOnChange(this.get("value"),true);},resize:function(size){if(size){_921.setMarginBox(this.domNode,size);}},postCreate:function(){this._set("value",this.get("value"));this.inherited(arguments);}});});},"dijit/form/_DateTimeTextBox":function(){define(["dojo/date","dojo/date/locale","dojo/date/stamp","dojo/_base/declare","dojo/_base/lang","./RangeBoundTextBox","../_HasDropDown","dojo/text!./templates/DropDownBox.html"],function(date,_929,_92a,_92b,lang,_92c,_92d,_92e){new Date("X");var _92f=_92b("dijit.form._DateTimeTextBox",[_92c,_92d],{templateString:_92e,hasDownArrow:true,openOnClick:true,regExpGen:_929.regexp,datePackage:date,postMixInProperties:function(){this.inherited(arguments);this._set("type","text");},compare:function(val1,val2){var _930=this._isInvalidDate(val1);var _931=this._isInvalidDate(val2);return _930?(_931?0:-1):(_931?1:date.compare(val1,val2,this._selector));},forceWidth:true,format:function(_932,_933){if(!_932){return "";}return this.dateLocaleModule.format(_932,_933);},"parse":function(_934,_935){return this.dateLocaleModule.parse(_934,_935)||(this._isEmpty(_934)?null:undefined);},serialize:function(val,_936){if(val.toGregorian){val=val.toGregorian();}return _92a.toISOString(val,_936);},dropDownDefaultValue:new Date(),value:new Date(""),_blankValue:null,popupClass:"",_selector:"",constructor:function(args){this.datePackage=args.datePackage||this.datePackage;this.dateFuncObj=typeof this.datePackage=="string"?lang.getObject(this.datePackage,false):this.datePackage;this.dateClassObj=this.dateFuncObj.Date||Date;this.dateLocaleModule=lang.getObject("locale",false,this.dateFuncObj);this.regExpGen=this.dateLocaleModule.regexp;this._invalidDate=this.constructor.prototype.value.toString();},buildRendering:function(){this.inherited(arguments);if(!this.hasDownArrow){this._buttonNode.style.display="none";}if(this.openOnClick||!this.hasDownArrow){this._buttonNode=this.domNode;this.baseClass+=" dijitComboBoxOpenOnClick";}},_setConstraintsAttr:function(_937){_937.selector=this._selector;_937.fullYear=true;var _938=_92a.fromISOString;if(typeof _937.min=="string"){_937.min=_938(_937.min);}if(typeof _937.max=="string"){_937.max=_938(_937.max);}this.inherited(arguments);},_isInvalidDate:function(_939){return !_939||isNaN(_939)||typeof _939!="object"||_939.toString()==this._invalidDate;},_setValueAttr:function(_93a,_93b,_93c){if(_93a!==undefined){if(typeof _93a=="string"){_93a=_92a.fromISOString(_93a);}if(this._isInvalidDate(_93a)){_93a=null;}if(_93a instanceof Date&&!(this.dateClassObj instanceof Date)){_93a=new this.dateClassObj(_93a);}}this.inherited(arguments);if(this.dropDown){this.dropDown.set("value",_93a,false);}},_set:function(attr,_93d){if(attr=="value"&&this.value instanceof Date&&this.compare(_93d,this.value)==0){return;}this.inherited(arguments);},_setDropDownDefaultValueAttr:function(val){if(this._isInvalidDate(val)){val=new this.dateClassObj();}this.dropDownDefaultValue=val;},openDropDown:function(_93e){if(this.dropDown){this.dropDown.destroy();}var _93f=lang.isString(this.popupClass)?lang.getObject(this.popupClass,false):this.popupClass,_940=this,_941=this.get("value");this.dropDown=new _93f({onChange:function(_942){_92f.superclass._setValueAttr.call(_940,_942,true);},id:this.id+"_popup",dir:_940.dir,lang:_940.lang,value:_941,currentFocus:!this._isInvalidDate(_941)?_941:this.dropDownDefaultValue,constraints:_940.constraints,filterString:_940.filterString,datePackage:_940.datePackage,isDisabledDate:function(date){return !_940.rangeCheck(date,_940.constraints);}});this.inherited(arguments);},_getDisplayedValueAttr:function(){return this.textbox.value;},_setDisplayedValueAttr:function(_943,_944){this._setValueAttr(this.parse(_943,this.constraints),_944,_943);}});return _92f;});},"dijit/form/_ToggleButtonMixin":function(){define(["dojo/_base/declare","dojo/dom-attr"],function(_945,_946){return _945("dijit.form._ToggleButtonMixin",null,{checked:false,_aria_attr:"aria-pressed",_onClick:function(evt){var _947=this.checked;this._set("checked",!_947);var ret=this.inherited(arguments);this.set("checked",ret?this.checked:_947);return ret;},_setCheckedAttr:function(_948,_949){this._set("checked",_948);_946.set(this.focusNode||this.domNode,"checked",_948);(this.focusNode||this.domNode).setAttribute(this._aria_attr,_948?"true":"false");this._handleOnChange(_948,_949);},reset:function(){this._hasBeenBlurred=false;this.set("checked",this.params.checked||false);}});});},"dijit/Calendar":function(){define(["dojo/_base/array","dojo/date","dojo/date/locale","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/_base/event","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/_base/sniff","./CalendarLite","./_Widget","./_CssStateMixin","./_TemplatedMixin","./form/DropDownButton","./hccss"],function(_94a,date,_94b,_94c,_94d,_94e,_94f,_950,keys,lang,has,_951,_952,_953,_954,_955){var _956=_94c("dijit.Calendar",[_951,_952,_953],{cssStateNodes:{"decrementMonth":"dijitCalendarArrow","incrementMonth":"dijitCalendarArrow","previousYearLabelNode":"dijitCalendarPreviousYear","nextYearLabelNode":"dijitCalendarNextYear"},setValue:function(_957){_950.deprecated("dijit.Calendar:setValue() is deprecated.  Use set('value', ...) instead.","","2.0");this.set("value",_957);},_createMonthWidget:function(){return new _956._MonthDropDownButton({id:this.id+"_mddb",tabIndex:-1,onMonthSelect:lang.hitch(this,"_onMonthSelect"),lang:this.lang,dateLocaleModule:this.dateLocaleModule},this.monthNode);},buildRendering:function(){this.inherited(arguments);this.connect(this.domNode,"onkeypress","_onKeyPress");this.connect(this.dateRowsNode,"onmouseover","_onDayMouseOver");this.connect(this.dateRowsNode,"onmouseout","_onDayMouseOut");this.connect(this.dateRowsNode,"onmousedown","_onDayMouseDown");this.connect(this.dateRowsNode,"onmouseup","_onDayMouseUp");},_onMonthSelect:function(_958){this._setCurrentFocusAttr(this.dateFuncObj.add(this.currentFocus,"month",_958-this.currentFocus.getMonth()));},_onDayMouseOver:function(evt){var node=_94e.contains(evt.target,"dijitCalendarDateLabel")?evt.target.parentNode:evt.target;if(node&&((node.dijitDateValue&&!_94e.contains(node,"dijitCalendarDisabledDate"))||node==this.previousYearLabelNode||node==this.nextYearLabelNode)){_94e.add(node,"dijitCalendarHoveredDate");this._currentNode=node;}},_onDayMouseOut:function(evt){if(!this._currentNode){return;}if(evt.relatedTarget&&evt.relatedTarget.parentNode==this._currentNode){return;}var cls="dijitCalendarHoveredDate";if(_94e.contains(this._currentNode,"dijitCalendarActiveDate")){cls+=" dijitCalendarActiveDate";}_94e.remove(this._currentNode,cls);this._currentNode=null;},_onDayMouseDown:function(evt){var node=evt.target.parentNode;if(node&&node.dijitDateValue&&!_94e.contains(node,"dijitCalendarDisabledDate")){_94e.add(node,"dijitCalendarActiveDate");this._currentNode=node;}},_onDayMouseUp:function(evt){var node=evt.target.parentNode;if(node&&node.dijitDateValue){_94e.remove(node,"dijitCalendarActiveDate");}},handleKey:function(evt){var _959=-1,_95a,_95b=this.currentFocus;switch(evt.charOrCode){case keys.RIGHT_ARROW:_959=1;case keys.LEFT_ARROW:_95a="day";if(!this.isLeftToRight()){_959*=-1;}break;case keys.DOWN_ARROW:_959=1;case keys.UP_ARROW:_95a="week";break;case keys.PAGE_DOWN:_959=1;case keys.PAGE_UP:_95a=evt.ctrlKey||evt.altKey?"year":"month";break;case keys.END:_95b=this.dateFuncObj.add(_95b,"month",1);_95a="day";case keys.HOME:_95b=new this.dateClassObj(_95b);_95b.setDate(1);break;case keys.ENTER:case " ":this.set("value",this.currentFocus);break;default:return true;}if(_95a){_95b=this.dateFuncObj.add(_95b,_95a,_959);}this._setCurrentFocusAttr(_95b);return false;},_onKeyPress:function(evt){if(!this.handleKey(evt)){_94f.stop(evt);}},onValueSelected:function(){},onChange:function(_95c){this.onValueSelected(_95c);},getClassForDate:function(){}});_956._MonthDropDownButton=_94c("dijit.Calendar._MonthDropDownButton",_955,{onMonthSelect:function(){},postCreate:function(){this.inherited(arguments);this.dropDown=new _956._MonthDropDown({id:this.id+"_mdd",onChange:this.onMonthSelect});},_setMonthAttr:function(_95d){var _95e=this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,_95d);this.dropDown.set("months",_95e);this.containerNode.innerHTML=(has("ie")==6?"":"<div class='dijitSpacer'>"+this.dropDown.domNode.innerHTML+"</div>")+"<div class='dijitCalendarMonthLabel dijitCalendarCurrentMonthLabel'>"+_95e[_95d.getMonth()]+"</div>";}});_956._MonthDropDown=_94c("dijit.Calendar._MonthDropDown",[_952,_954],{months:[],templateString:"<div class='dijitCalendarMonthMenu dijitMenu' "+"data-dojo-attach-event='onclick:_onClick,onmouseover:_onMenuHover,onmouseout:_onMenuHover'></div>",_setMonthsAttr:function(_95f){this.domNode.innerHTML=_94a.map(_95f,function(_960,idx){return _960?"<div class='dijitCalendarMonthLabel' month='"+idx+"'>"+_960+"</div>":"";}).join("");},_onClick:function(evt){this.onChange(_94d.get(evt.target,"month"));},onChange:function(){},_onMenuHover:function(evt){_94e.toggle(evt.target,"dijitCalendarMonthLabelHover",evt.type=="mouseover");}});return _956;});},"url:dijit/form/templates/Select.html":"<table class=\"dijit dijitReset dijitInline dijitLeft\"\n\tdata-dojo-attach-point=\"_buttonNode,tableNode,focusNode\" cellspacing='0' cellpadding='0'\n\trole=\"combobox\" aria-haspopup=\"true\"\n\t><tbody role=\"presentation\"><tr role=\"presentation\"\n\t\t><td class=\"dijitReset dijitStretch dijitButtonContents dijitButtonNode\" role=\"presentation\"\n\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\"  data-dojo-attach-point=\"containerNode,_popupStateNode\"></span\n\t\t\t><input type=\"hidden\" ${!nameAttrSetting} data-dojo-attach-point=\"valueNode\" value=\"${value}\" aria-hidden=\"true\"\n\t\t/></td><td class=\"dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton\"\n\t\t\t\tdata-dojo-attach-point=\"titleNode\" role=\"presentation\"\n\t\t\t><div class=\"dijitReset dijitArrowButtonInner\" role=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitArrowButtonChar\" role=\"presentation\">&#9660;</div\n\t\t></td\n\t></tr></tbody\n></table>\n","dijit/_editor/selection":function(){define(["dojo/dom","dojo/_base/lang","dojo/_base/sniff","dojo/_base/window",".."],function(dom,lang,has,win,_961){lang.getObject("_editor.selection",true,_961);lang.mixin(_961._editor.selection,{getType:function(){if(has("ie")<9){return win.doc.selection.type.toLowerCase();}else{var _962="text";var oSel;try{oSel=win.global.getSelection();}catch(e){}if(oSel&&oSel.rangeCount==1){var _963=oSel.getRangeAt(0);if((_963.startContainer==_963.endContainer)&&((_963.endOffset-_963.startOffset)==1)&&(_963.startContainer.nodeType!=3)){_962="control";}}return _962;}},getSelectedText:function(){if(has("ie")<9){if(_961._editor.selection.getType()=="control"){return null;}return win.doc.selection.createRange().text;}else{var _964=win.global.getSelection();if(_964){return _964.toString();}}return "";},getSelectedHtml:function(){if(has("ie")<9){if(_961._editor.selection.getType()=="control"){return null;}return win.doc.selection.createRange().htmlText;}else{var _965=win.global.getSelection();if(_965&&_965.rangeCount){var i;var html="";for(i=0;i<_965.rangeCount;i++){var frag=_965.getRangeAt(i).cloneContents();var div=win.doc.createElement("div");div.appendChild(frag);html+=div.innerHTML;}return html;}return null;}},getSelectedElement:function(){if(_961._editor.selection.getType()=="control"){if(has("ie")<9){var _966=win.doc.selection.createRange();if(_966&&_966.item){return win.doc.selection.createRange().item(0);}}else{var _967=win.global.getSelection();return _967.anchorNode.childNodes[_967.anchorOffset];}}return null;},getParentElement:function(){if(_961._editor.selection.getType()=="control"){var p=this.getSelectedElement();if(p){return p.parentNode;}}else{if(has("ie")<9){var r=win.doc.selection.createRange();r.collapse(true);return r.parentElement();}else{var _968=win.global.getSelection();if(_968){var node=_968.anchorNode;while(node&&(node.nodeType!=1)){node=node.parentNode;}return node;}}}return null;},hasAncestorElement:function(_969){return this.getAncestorElement.apply(this,arguments)!=null;},getAncestorElement:function(_96a){var node=this.getSelectedElement()||this.getParentElement();return this.getParentOfType(node,arguments);},isTag:function(node,tags){if(node&&node.tagName){var _96b=node.tagName.toLowerCase();for(var i=0;i<tags.length;i++){var _96c=String(tags[i]).toLowerCase();if(_96b==_96c){return _96c;}}}return "";},getParentOfType:function(node,tags){while(node){if(this.isTag(node,tags).length){return node;}node=node.parentNode;}return null;},collapse:function(_96d){if(window.getSelection){var _96e=win.global.getSelection();if(_96e.removeAllRanges){if(_96d){_96e.collapseToStart();}else{_96e.collapseToEnd();}}else{_96e.collapse(_96d);}}else{if(has("ie")){var _96f=win.doc.selection.createRange();_96f.collapse(_96d);_96f.select();}}},remove:function(){var sel=win.doc.selection;if(has("ie")<9){if(sel.type.toLowerCase()!="none"){sel.clear();}return sel;}else{sel=win.global.getSelection();sel.deleteFromDocument();return sel;}},selectElementChildren:function(_970,_971){var _972=win.global;var doc=win.doc;var _973;_970=dom.byId(_970);if(doc.selection&&has("ie")<9&&win.body().createTextRange){_973=_970.ownerDocument.body.createTextRange();_973.moveToElementText(_970);if(!_971){try{_973.select();}catch(e){}}}else{if(_972.getSelection){var _974=win.global.getSelection();if(has("opera")){if(_974.rangeCount){_973=_974.getRangeAt(0);}else{_973=doc.createRange();}_973.setStart(_970,0);_973.setEnd(_970,(_970.nodeType==3)?_970.length:_970.childNodes.length);_974.addRange(_973);}else{_974.selectAllChildren(_970);}}}},selectElement:function(_975,_976){var _977;var doc=win.doc;var _978=win.global;_975=dom.byId(_975);if(has("ie")<9&&win.body().createTextRange){try{var tg=_975.tagName?_975.tagName.toLowerCase():"";if(tg==="img"||tg==="table"){_977=win.body().createControlRange();}else{_977=win.body().createRange();}_977.addElement(_975);if(!_976){_977.select();}}catch(e){this.selectElementChildren(_975,_976);}}else{if(_978.getSelection){var _979=_978.getSelection();_977=doc.createRange();if(_979.removeAllRanges){if(has("opera")){if(_979.getRangeAt(0)){_977=_979.getRangeAt(0);}}_977.selectNode(_975);_979.removeAllRanges();_979.addRange(_977);}}}},inSelection:function(node){if(node){var _97a;var doc=win.doc;var _97b;if(win.global.getSelection){var sel=win.global.getSelection();if(sel&&sel.rangeCount>0){_97b=sel.getRangeAt(0);}if(_97b&&_97b.compareBoundaryPoints&&doc.createRange){try{_97a=doc.createRange();_97a.setStart(node,0);if(_97b.compareBoundaryPoints(_97b.START_TO_END,_97a)===1){return true;}}catch(e){}}}else{if(doc.selection){_97b=doc.selection.createRange();try{_97a=node.ownerDocument.body.createControlRange();if(_97a){_97a.addElement(node);}}catch(e1){try{_97a=node.ownerDocument.body.createTextRange();_97a.moveToElementText(node);}catch(e2){}}if(_97b&&_97a){if(_97b.compareEndPoints("EndToStart",_97a)===1){return true;}}}}}return false;}});return _961._editor.selection;});},"dijit/form/nls/ComboBox":function(){define({root:({previousMessage:"Previous choices",nextMessage:"More choices"}),"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/fx":function(){define(["./_base/lang","./Evented","./_base/kernel","./_base/array","./_base/connect","./_base/fx","./dom","./dom-style","./dom-geometry","./ready","require"],function(lang,_97c,dojo,_97d,_97e,_97f,dom,_980,geom,_981,_982){if(!dojo.isAsync){_981(0,function(){var _983=["./fx/Toggler"];_982(_983);});}var _984=dojo.fx={};var _985={_fire:function(evt,args){if(this[evt]){this[evt].apply(this,args||[]);}return this;}};var _986=function(_987){this._index=-1;this._animations=_987||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=0;_97d.forEach(this._animations,function(a){this.duration+=a.duration;if(a.delay){this.duration+=a.delay;}},this);};_986.prototype=new _97c();lang.extend(_986,{_onAnimate:function(){this._fire("onAnimate",arguments);},_onEnd:function(){_97e.disconnect(this._onAnimateCtx);_97e.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=_97e.connect(this._current,"onAnimate",this,"_onAnimate");this._onEndCtx=_97e.connect(this._current,"onEnd",this,"_onEnd");this._current.play(0,true);}},play:function(_988,_989){if(!this._current){this._current=this._animations[this._index=0];}if(!_989&&this._current.status()=="playing"){return this;}var _98a=_97e.connect(this._current,"beforeBegin",this,function(){this._fire("beforeBegin");}),_98b=_97e.connect(this._current,"onBegin",this,function(arg){this._fire("onBegin",arguments);}),_98c=_97e.connect(this._current,"onPlay",this,function(arg){this._fire("onPlay",arguments);_97e.disconnect(_98a);_97e.disconnect(_98b);_97e.disconnect(_98c);});if(this._onAnimateCtx){_97e.disconnect(this._onAnimateCtx);}this._onAnimateCtx=_97e.connect(this._current,"onAnimate",this,"_onAnimate");if(this._onEndCtx){_97e.disconnect(this._onEndCtx);}this._onEndCtx=_97e.connect(this._current,"onEnd",this,"_onEnd");this._current.play.apply(this._current,arguments);return this;},pause:function(){if(this._current){var e=_97e.connect(this._current,"onPause",this,function(arg){this._fire("onPause",arguments);_97e.disconnect(e);});this._current.pause();}return this;},gotoPercent:function(_98d,_98e){this.pause();var _98f=this.duration*_98d;this._current=null;_97d.some(this._animations,function(a){if(a.duration<=_98f){this._current=a;return true;}_98f-=a.duration;return false;});if(this._current){this._current.gotoPercent(_98f/this._current.duration,_98e);}return this;},stop:function(_990){if(this._current){if(_990){for(;this._index+1<this._animations.length;++this._index){this._animations[this._index].stop(true);}this._current=this._animations[this._index];}var e=_97e.connect(this._current,"onStop",this,function(arg){this._fire("onStop",arguments);_97e.disconnect(e);});this._current.stop();}return this;},status:function(){return this._current?this._current.status():"stopped";},destroy:function(){if(this._onAnimateCtx){_97e.disconnect(this._onAnimateCtx);}if(this._onEndCtx){_97e.disconnect(this._onEndCtx);}}});lang.extend(_986,_985);_984.chain=function(_991){return new _986(_991);};var _992=function(_993){this._animations=_993||[];this._connects=[];this._finished=0;this.duration=0;_97d.forEach(_993,function(a){var _994=a.duration;if(a.delay){_994+=a.delay;}if(this.duration<_994){this.duration=_994;}this._connects.push(_97e.connect(a,"onEnd",this,"_onEnd"));},this);this._pseudoAnimation=new _97f.Animation({curve:[0,1],duration:this.duration});var self=this;_97d.forEach(["beforeBegin","onBegin","onPlay","onAnimate","onPause","onStop","onEnd"],function(evt){self._connects.push(_97e.connect(self._pseudoAnimation,evt,function(){self._fire(evt,arguments);}));});};lang.extend(_992,{_doAction:function(_995,args){_97d.forEach(this._animations,function(a){a[_995].apply(a,args);});return this;},_onEnd:function(){if(++this._finished>this._animations.length){this._fire("onEnd");}},_call:function(_996,args){var t=this._pseudoAnimation;t[_996].apply(t,args);},play:function(_997,_998){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(_999,_99a){var ms=this.duration*_999;_97d.forEach(this._animations,function(a){a.gotoPercent(a.duration<ms?1:(ms/a.duration),_99a);});this._call("gotoPercent",arguments);return this;},stop:function(_99b){this._doAction("stop",arguments);this._call("stop",arguments);return this;},status:function(){return this._pseudoAnimation.status();},destroy:function(){_97d.forEach(this._connects,_97e.disconnect);}});lang.extend(_992,_985);_984.combine=function(_99c){return new _992(_99c);};_984.wipeIn=function(args){var node=args.node=dom.byId(args.node),s=node.style,o;var anim=_97f.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 _99d=_980.get(node,"height");return Math.max(_99d,1);}},end:function(){return node.scrollHeight;}}}},args));var fini=function(){s.height="auto";s.overflow=o;};_97e.connect(anim,"onStop",fini);_97e.connect(anim,"onEnd",fini);return anim;};_984.wipeOut=function(args){var node=args.node=dom.byId(args.node),s=node.style,o;var anim=_97f.animateProperty(lang.mixin({properties:{height:{end:1}}},args));_97e.connect(anim,"beforeBegin",function(){o=s.overflow;s.overflow="hidden";s.display="";});var fini=function(){s.overflow=o;s.height="auto";s.display="none";};_97e.connect(anim,"onStop",fini);_97e.connect(anim,"onEnd",fini);return anim;};_984.slideTo=function(args){var node=args.node=dom.byId(args.node),top=null,left=null;var init=(function(n){return function(){var cs=_980.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=_97f.animateProperty(lang.mixin({properties:{top:args.top||0,left:args.left||0}},args));_97e.connect(anim,"beforeBegin",anim,init);return anim;};return _984;});},"dijit/_DialogMixin":function(){define("dijit/_DialogMixin",["dojo/_base/declare","./a11y"],function(_99e,a11y){return _99e("dijit._DialogMixin",null,{execute:function(){},onCancel:function(){},onExecute:function(){},_onSubmit:function(){this.onExecute();this.execute(this.get("value"));},_getFocusItems:function(){var _99f=a11y._getTabNavigable(this.containerNode);this._firstFocusItem=_99f.lowest||_99f.first||this.closeButtonNode||this.domNode;this._lastFocusItem=_99f.last||_99f.highest||this._firstFocusItem;}});});},"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/Tree":function(){define(["dojo/_base/array","dojo/_base/connect","dojo/cookie","dojo/_base/declare","dojo/_base/Deferred","dojo/DeferredList","dojo/dom","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/event","dojo/fx","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/topic","./focus","./registry","./_base/manager","./_Widget","./_TemplatedMixin","./_Container","./_Contained","./_CssStateMixin","dojo/text!./templates/TreeNode.html","dojo/text!./templates/Tree.html","./tree/TreeStoreModel","./tree/ForestStoreModel","./tree/_dndSelector"],function(_9a0,_9a1,_9a2,_9a3,_9a4,_9a5,dom,_9a6,_9a7,_9a8,_9a9,_9aa,_9ab,keys,lang,_9ac,_9ad,_9ae,_9af,_9b0,_9b1,_9b2,_9b3,_9b4,_9b5,_9b6,_9b7,_9b8,_9b9){var _9ba=_9a3("dijit._TreeNode",[_9b0,_9b1,_9b2,_9b3,_9b4],{item:null,isTreeNode:true,label:"",_setLabelAttr:{node:"labelNode",type:"innerText"},isExpandable:null,isExpanded:false,state:"UNCHECKED",templateString:_9b5,baseClass:"dijitTreeNode",cssStateNodes:{rowNode:"dijitTreeRow",labelNode:"dijitTreeLabel"},_setTooltipAttr:{node:"rowNode",type:"attribute",attribute:"title"},buildRendering:function(){this.inherited(arguments);this._setExpando();this._updateItemClasses(this.item);if(this.isExpandable){this.labelNode.setAttribute("aria-expanded",this.isExpanded);}this.setSelected(false);},_setIndentAttr:function(_9bb){var _9bc=(Math.max(_9bb,0)*this.tree._nodePixelIndent)+"px";_9a8.set(this.domNode,"backgroundPosition",_9bc+" 0px");_9a8.set(this.rowNode,this.isLeftToRight()?"paddingLeft":"paddingRight",_9bc);_9a0.forEach(this.getChildren(),function(_9bd){_9bd.set("indent",_9bb+1);});this._set("indent",_9bb);},markProcessing:function(){this.state="LOADING";this._setExpando(true);},unmarkProcessing:function(){this._setExpando(false);},_updateItemClasses:function(item){var tree=this.tree,_9be=tree.model;if(tree._v10Compat&&item===_9be.root){item=null;}this._applyClassAndStyle(item,"icon","Icon");this._applyClassAndStyle(item,"label","Label");this._applyClassAndStyle(item,"row","Row");},_applyClassAndStyle:function(item,_9bf,_9c0){var _9c1="_"+_9bf+"Class";var _9c2=_9bf+"Node";var _9c3=this[_9c1];this[_9c1]=this.tree["get"+_9c0+"Class"](item,this.isExpanded);_9a6.replace(this[_9c2],this[_9c1]||"",_9c3||"");_9a8.set(this[_9c2],this.tree["get"+_9c0+"Style"](item,this.isExpanded)||{});},_updateLayout:function(){var _9c4=this.getParent();if(!_9c4||!_9c4.rowNode||_9c4.rowNode.style.display=="none"){_9a6.add(this.domNode,"dijitTreeIsRoot");}else{_9a6.toggle(this.domNode,"dijitTreeIsLast",!this.getNextSibling());}},_setExpando:function(_9c5){var _9c6=["dijitTreeExpandoLoading","dijitTreeExpandoOpened","dijitTreeExpandoClosed","dijitTreeExpandoLeaf"],_9c7=["*","-","+","*"],idx=_9c5?0:(this.isExpandable?(this.isExpanded?1:2):3);_9a6.replace(this.expandoNode,_9c6[idx],_9c6);this.expandoNodeText.innerHTML=_9c7[idx];},expand:function(){if(this._expandDeferred){return this._expandDeferred;}this._wipeOut&&this._wipeOut.stop();this.isExpanded=true;this.labelNode.setAttribute("aria-expanded","true");if(this.tree.showRoot||this!==this.tree.rootNode){this.containerNode.setAttribute("role","group");}_9a6.add(this.contentNode,"dijitTreeContentExpanded");this._setExpando();this._updateItemClasses(this.item);if(this==this.tree.rootNode){this.tree.domNode.setAttribute("aria-expanded","true");}var def,_9c8=_9aa.wipeIn({node:this.containerNode,duration:_9af.defaultDuration,onEnd:function(){def.callback(true);}});def=(this._expandDeferred=new _9a4(function(){_9c8.stop();}));_9c8.play();return def;},collapse:function(){if(!this.isExpanded){return;}if(this._expandDeferred){this._expandDeferred.cancel();delete this._expandDeferred;}this.isExpanded=false;this.labelNode.setAttribute("aria-expanded","false");if(this==this.tree.rootNode){this.tree.domNode.setAttribute("aria-expanded","false");}_9a6.remove(this.contentNode,"dijitTreeContentExpanded");this._setExpando();this._updateItemClasses(this.item);if(!this._wipeOut){this._wipeOut=_9aa.wipeOut({node:this.containerNode,duration:_9af.defaultDuration});}this._wipeOut.play();},indent:0,setChildItems:function(_9c9){var tree=this.tree,_9ca=tree.model,defs=[];_9a0.forEach(this.getChildren(),function(_9cb){_9b2.prototype.removeChild.call(this,_9cb);},this);this.state="LOADED";if(_9c9&&_9c9.length>0){this.isExpandable=true;_9a0.forEach(_9c9,function(item){var id=_9ca.getIdentity(item),_9cc=tree._itemNodesMap[id],node;if(_9cc){for(var i=0;i<_9cc.length;i++){if(_9cc[i]&&!_9cc[i].getParent()){node=_9cc[i];node.set("indent",this.indent+1);break;}}}if(!node){node=this.tree._createTreeNode({item:item,tree:tree,isExpandable:_9ca.mayHaveChildren(item),label:tree.getLabel(item),tooltip:tree.getTooltip(item),dir:tree.dir,lang:tree.lang,textDir:tree.textDir,indent:this.indent+1});if(_9cc){_9cc.push(node);}else{tree._itemNodesMap[id]=[node];}}this.addChild(node);if(this.tree.autoExpand||this.tree._state(node)){defs.push(tree._expandNode(node));}},this);_9a0.forEach(this.getChildren(),function(_9cd){_9cd._updateLayout();});}else{this.isExpandable=false;}if(this._setExpando){this._setExpando(false);}this._updateItemClasses(this.item);if(this==tree.rootNode){var fc=this.tree.showRoot?this:this.getChildren()[0];if(fc){fc.setFocusable(true);tree.lastFocused=fc;}else{tree.domNode.setAttribute("tabIndex","0");}}return new _9a5(defs);},getTreePath:function(){var node=this;var path=[];while(node&&node!==this.tree.rootNode){path.unshift(node.item);node=node.getParent();}path.unshift(this.tree.rootNode.item);return path;},getIdentity:function(){return this.tree.model.getIdentity(this.item);},removeChild:function(node){this.inherited(arguments);var _9ce=this.getChildren();if(_9ce.length==0){this.isExpandable=false;this.collapse();}_9a0.forEach(_9ce,function(_9cf){_9cf._updateLayout();});},makeExpandable:function(){this.isExpandable=true;this._setExpando(false);},_onLabelFocus:function(){this.tree._onNodeFocus(this);},setSelected:function(_9d0){this.labelNode.setAttribute("aria-selected",_9d0);_9a6.toggle(this.rowNode,"dijitTreeRowSelected",_9d0);},setFocusable:function(_9d1){this.labelNode.setAttribute("tabIndex",_9d1?"0":"-1");},_onClick:function(evt){this.tree._onClick(this,evt);},_onDblClick:function(evt){this.tree._onDblClick(this,evt);},_onMouseEnter:function(evt){this.tree._onNodeMouseEnter(this,evt);},_onMouseLeave:function(evt){this.tree._onNodeMouseLeave(this,evt);},_setTextDirAttr:function(_9d2){if(_9d2&&((this.textDir!=_9d2)||!this._created)){this._set("textDir",_9d2);this.applyTextDir(this.labelNode,this.labelNode.innerText||this.labelNode.textContent||"");_9a0.forEach(this.getChildren(),function(_9d3){_9d3.set("textDir",_9d2);},this);}}});var Tree=_9a3("dijit.Tree",[_9b0,_9b1],{store:null,model:null,query:null,label:"",showRoot:true,childrenAttr:["children"],paths:[],path:[],selectedItems:null,selectedItem:null,openOnClick:false,openOnDblClick:false,templateString:_9b6,persist:true,autoExpand:false,dndController:_9b9,dndParams:["onDndDrop","itemCreator","onDndCancel","checkAcceptance","checkItemAcceptance","dragThreshold","betweenThreshold"],onDndDrop:null,itemCreator:null,onDndCancel:null,checkAcceptance:null,checkItemAcceptance:null,dragThreshold:5,betweenThreshold:0,_nodePixelIndent:19,_publish:function(_9d4,_9d5){_9ac.publish(this.id,lang.mixin({tree:this,event:_9d4},_9d5||{}));},postMixInProperties:function(){this.tree=this;if(this.autoExpand){this.persist=false;}this._itemNodesMap={};if(!this.cookieName&&this.id){this.cookieName=this.id+"SaveStateCookie";}this._loadDeferred=new _9a4();this.inherited(arguments);},postCreate:function(){this._initState();if(!this.model){this._store2model();}this.connect(this.model,"onChange","_onItemChange");this.connect(this.model,"onChildrenChange","_onItemChildrenChange");this.connect(this.model,"onDelete","_onItemDelete");this._load();this.inherited(arguments);if(this.dndController){if(lang.isString(this.dndController)){this.dndController=lang.getObject(this.dndController);}var _9d6={};for(var i=0;i<this.dndParams.length;i++){if(this[this.dndParams[i]]){_9d6[this.dndParams[i]]=this[this.dndParams[i]];}}this.dndController=new this.dndController(this,_9d6);}},_store2model:function(){this._v10Compat=true;_9ab.deprecated("Tree: from version 2.0, should specify a model object rather than a store/query");var _9d7={id:this.id+"_ForestStoreModel",store:this.store,query:this.query,childrenAttrs:this.childrenAttr};if(this.params.mayHaveChildren){_9d7.mayHaveChildren=lang.hitch(this,"mayHaveChildren");}if(this.params.getItemChildren){_9d7.getChildren=lang.hitch(this,function(item,_9d8,_9d9){this.getItemChildren((this._v10Compat&&item===this.model.root)?null:item,_9d8,_9d9);});}this.model=new _9b8(_9d7);this.showRoot=Boolean(this.label);},onLoad:function(){},_load:function(){this.model.getRoot(lang.hitch(this,function(item){var rn=(this.rootNode=this.tree._createTreeNode({item:item,tree:this,isExpandable:true,label:this.label||this.getLabel(item),textDir:this.textDir,indent:this.showRoot?0:-1}));if(!this.showRoot){rn.rowNode.style.display="none";this.domNode.setAttribute("role","presentation");rn.labelNode.setAttribute("role","presentation");rn.containerNode.setAttribute("role","tree");}this.domNode.appendChild(rn.domNode);var _9da=this.model.getIdentity(item);if(this._itemNodesMap[_9da]){this._itemNodesMap[_9da].push(rn);}else{this._itemNodesMap[_9da]=[rn];}rn._updateLayout();this._expandNode(rn).addCallback(lang.hitch(this,function(){this._loadDeferred.callback(true);this.onLoad();}));}),function(err){console.error(this,": error loading root: ",err);});},getNodesByItem:function(item){if(!item){return [];}var _9db=lang.isString(item)?item:this.model.getIdentity(item);return [].concat(this._itemNodesMap[_9db]);},_setSelectedItemAttr:function(item){this.set("selectedItems",[item]);},_setSelectedItemsAttr:function(_9dc){var tree=this;this._loadDeferred.addCallback(lang.hitch(this,function(){var _9dd=_9a0.map(_9dc,function(item){return (!item||lang.isString(item))?item:tree.model.getIdentity(item);});var _9de=[];_9a0.forEach(_9dd,function(id){_9de=_9de.concat(tree._itemNodesMap[id]||[]);});this.set("selectedNodes",_9de);}));},_setPathAttr:function(path){if(path.length){return this.set("paths",[path]);}else{return this.set("paths",[]);}},_setPathsAttr:function(_9df){var tree=this;return new _9a5(_9a0.map(_9df,function(path){var d=new _9a4();path=_9a0.map(path,function(item){return lang.isString(item)?item:tree.model.getIdentity(item);});if(path.length){tree._loadDeferred.addCallback(function(){_9e0(path,[tree.rootNode],d);});}else{d.errback("Empty path");}return d;})).addCallback(_9e1);function _9e0(path,_9e2,def){var _9e3=path.shift();var _9e4=_9a0.filter(_9e2,function(node){return node.getIdentity()==_9e3;})[0];if(!!_9e4){if(path.length){tree._expandNode(_9e4).addCallback(function(){_9e0(path,_9e4.getChildren(),def);});}else{def.callback(_9e4);}}else{def.errback("Could not expand path at "+_9e3);}};function _9e1(_9e5){tree.set("selectedNodes",_9a0.map(_9a0.filter(_9e5,function(x){return x[0];}),function(x){return x[1];}));};},_setSelectedNodeAttr:function(node){this.set("selectedNodes",[node]);},_setSelectedNodesAttr:function(_9e6){this._loadDeferred.addCallback(lang.hitch(this,function(){this.dndController.setSelection(_9e6);}));},mayHaveChildren:function(){},getItemChildren:function(){},getLabel:function(item){return this.model.getLabel(item);},getIconClass:function(item,_9e7){return (!item||this.model.mayHaveChildren(item))?(_9e7?"dijitFolderOpened":"dijitFolderClosed"):"dijitLeaf";},getLabelClass:function(){},getRowClass:function(){},getIconStyle:function(){},getLabelStyle:function(){},getRowStyle:function(){},getTooltip:function(){return "";},_onKeyPress:function(e){if(e.altKey){return;}var _9e8=_9ae.getEnclosingWidget(e.target);if(!_9e8){return;}var key=e.charOrCode;if(typeof key=="string"&&key!=" "){if(!e.altKey&&!e.ctrlKey&&!e.shiftKey&&!e.metaKey){this._onLetterKeyNav({node:_9e8,key:key.toLowerCase()});_9a9.stop(e);}}else{if(this._curSearch){clearTimeout(this._curSearch.timer);delete this._curSearch;}var map=this._keyHandlerMap;if(!map){map={};map[keys.ENTER]="_onEnterKey";map[keys.SPACE]=map[" "]="_onEnterKey";map[this.isLeftToRight()?keys.LEFT_ARROW:keys.RIGHT_ARROW]="_onLeftArrow";map[this.isLeftToRight()?keys.RIGHT_ARROW:keys.LEFT_ARROW]="_onRightArrow";map[keys.UP_ARROW]="_onUpArrow";map[keys.DOWN_ARROW]="_onDownArrow";map[keys.HOME]="_onHomeKey";map[keys.END]="_onEndKey";this._keyHandlerMap=map;}if(this._keyHandlerMap[key]){this[this._keyHandlerMap[key]]({node:_9e8,item:_9e8.item,evt:e});_9a9.stop(e);}}},_onEnterKey:function(_9e9){this._publish("execute",{item:_9e9.item,node:_9e9.node});this.dndController.userSelect(_9e9.node,_9a1.isCopyKey(_9e9.evt),_9e9.evt.shiftKey);this.onClick(_9e9.item,_9e9.node,_9e9.evt);},_onDownArrow:function(_9ea){var node=this._getNextNode(_9ea.node);if(node&&node.isTreeNode){this.focusNode(node);}},_onUpArrow:function(_9eb){var node=_9eb.node;var _9ec=node.getPreviousSibling();if(_9ec){node=_9ec;while(node.isExpandable&&node.isExpanded&&node.hasChildren()){var _9ed=node.getChildren();node=_9ed[_9ed.length-1];}}else{var _9ee=node.getParent();if(!(!this.showRoot&&_9ee===this.rootNode)){node=_9ee;}}if(node&&node.isTreeNode){this.focusNode(node);}},_onRightArrow:function(_9ef){var node=_9ef.node;if(node.isExpandable&&!node.isExpanded){this._expandNode(node);}else{if(node.hasChildren()){node=node.getChildren()[0];if(node&&node.isTreeNode){this.focusNode(node);}}}},_onLeftArrow:function(_9f0){var node=_9f0.node;if(node.isExpandable&&node.isExpanded){this._collapseNode(node);}else{var _9f1=node.getParent();if(_9f1&&_9f1.isTreeNode&&!(!this.showRoot&&_9f1===this.rootNode)){this.focusNode(_9f1);}}},_onHomeKey:function(){var node=this._getRootOrFirstNode();if(node){this.focusNode(node);}},_onEndKey:function(){var node=this.rootNode;while(node.isExpanded){var c=node.getChildren();node=c[c.length-1];}if(node&&node.isTreeNode){this.focusNode(node);}},multiCharSearchDuration:250,_onLetterKeyNav:function(_9f2){var cs=this._curSearch;if(cs){cs.pattern=cs.pattern+_9f2.key;clearTimeout(cs.timer);}else{cs=this._curSearch={pattern:_9f2.key,startNode:_9f2.node};}var self=this;cs.timer=setTimeout(function(){delete self._curSearch;},this.multiCharSearchDuration);var node=cs.startNode;do{node=this._getNextNode(node);if(!node){node=this._getRootOrFirstNode();}}while(node!==cs.startNode&&(node.label.toLowerCase().substr(0,cs.pattern.length)!=cs.pattern));if(node&&node.isTreeNode){if(node!==cs.startNode){this.focusNode(node);}}},isExpandoNode:function(node,_9f3){return dom.isDescendant(node,_9f3.expandoNode);},_onClick:function(_9f4,e){var _9f5=e.target,_9f6=this.isExpandoNode(_9f5,_9f4);if((this.openOnClick&&_9f4.isExpandable)||_9f6){if(_9f4.isExpandable){this._onExpandoClick({node:_9f4});}}else{this._publish("execute",{item:_9f4.item,node:_9f4,evt:e});this.onClick(_9f4.item,_9f4,e);this.focusNode(_9f4);}_9a9.stop(e);},_onDblClick:function(_9f7,e){var _9f8=e.target,_9f9=(_9f8==_9f7.expandoNode||_9f8==_9f7.expandoNodeText);if((this.openOnDblClick&&_9f7.isExpandable)||_9f9){if(_9f7.isExpandable){this._onExpandoClick({node:_9f7});}}else{this._publish("execute",{item:_9f7.item,node:_9f7,evt:e});this.onDblClick(_9f7.item,_9f7,e);this.focusNode(_9f7);}_9a9.stop(e);},_onExpandoClick:function(_9fa){var node=_9fa.node;this.focusNode(node);if(node.isExpanded){this._collapseNode(node);}else{this._expandNode(node);}},onClick:function(){},onDblClick:function(){},onOpen:function(){},onClose:function(){},_getNextNode:function(node){if(node.isExpandable&&node.isExpanded&&node.hasChildren()){return node.getChildren()[0];}else{while(node&&node.isTreeNode){var _9fb=node.getNextSibling();if(_9fb){return _9fb;}node=node.getParent();}return null;}},_getRootOrFirstNode:function(){return this.showRoot?this.rootNode:this.rootNode.getChildren()[0];},_collapseNode:function(node){if(node._expandNodeDeferred){delete node._expandNodeDeferred;}if(node.isExpandable){if(node.state=="LOADING"){return;}node.collapse();this.onClose(node.item,node);this._state(node,false);}},_expandNode:function(node,_9fc){if(node._expandNodeDeferred&&!_9fc){return node._expandNodeDeferred;}var _9fd=this.model,item=node.item,_9fe=this;switch(node.state){case "UNCHECKED":node.markProcessing();var def=(node._expandNodeDeferred=new _9a4());_9fd.getChildren(item,function(_9ff){node.unmarkProcessing();var scid=node.setChildItems(_9ff);var ed=_9fe._expandNode(node,true);scid.addCallback(function(){ed.addCallback(function(){def.callback();});});},function(err){console.error(_9fe,": error loading root children: ",err);});break;default:def=(node._expandNodeDeferred=node.expand());this.onOpen(node.item,node);this._state(node,true);}return def;},focusNode:function(node){_9ad.focus(node.labelNode);},_onNodeFocus:function(node){if(node&&node!=this.lastFocused){if(this.lastFocused&&!this.lastFocused._destroyed){this.lastFocused.setFocusable(false);}node.setFocusable(true);this.lastFocused=node;}},_onNodeMouseEnter:function(){},_onNodeMouseLeave:function(){},_onItemChange:function(item){var _a00=this.model,_a01=_a00.getIdentity(item),_a02=this._itemNodesMap[_a01];if(_a02){var _a03=this.getLabel(item),_a04=this.getTooltip(item);_9a0.forEach(_a02,function(node){node.set({item:item,label:_a03,tooltip:_a04});node._updateItemClasses(item);});}},_onItemChildrenChange:function(_a05,_a06){var _a07=this.model,_a08=_a07.getIdentity(_a05),_a09=this._itemNodesMap[_a08];if(_a09){_9a0.forEach(_a09,function(_a0a){_a0a.setChildItems(_a06);});}},_onItemDelete:function(item){var _a0b=this.model,_a0c=_a0b.getIdentity(item),_a0d=this._itemNodesMap[_a0c];if(_a0d){_9a0.forEach(_a0d,function(node){this.dndController.removeTreeNode(node);var _a0e=node.getParent();if(_a0e){_a0e.removeChild(node);}node.destroyRecursive();},this);delete this._itemNodesMap[_a0c];}},_initState:function(){this._openedNodes={};if(this.persist&&this.cookieName){var oreo=_9a2(this.cookieName);if(oreo){_9a0.forEach(oreo.split(","),function(item){this._openedNodes[item]=true;},this);}}},_state:function(node,_a0f){if(!this.persist){return false;}var path=_9a0.map(node.getTreePath(),function(item){return this.model.getIdentity(item);},this).join("/");if(arguments.length===1){return this._openedNodes[path];}else{if(_a0f){this._openedNodes[path]=true;}else{delete this._openedNodes[path];}var ary=[];for(var id in this._openedNodes){ary.push(id);}_9a2(this.cookieName,ary.join(","),{expires:365});}},destroy:function(){if(this._curSearch){clearTimeout(this._curSearch.timer);delete this._curSearch;}if(this.rootNode){this.rootNode.destroyRecursive();}if(this.dndController&&!lang.isString(this.dndController)){this.dndController.destroy();}this.rootNode=null;this.inherited(arguments);},destroyRecursive:function(){this.destroy();},resize:function(_a10){if(_a10){_9a7.setMarginBox(this.domNode,_a10);}this._nodePixelIndent=_9a7.position(this.tree.indentDetector).w;if(this.tree.rootNode){this.tree.rootNode.set("indent",this.showRoot?0:-1);}},_createTreeNode:function(args){return new _9ba(args);},_setTextDirAttr:function(_a11){if(_a11&&this.textDir!=_a11){this._set("textDir",_a11);this.rootNode.set("textDir",_a11);}}});Tree._TreeNode=_9ba;return Tree;});},"dijit/form/HorizontalSlider":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dnd/move","dojo/_base/event","dojo/_base/fx","dojo/dom-geometry","dojo/dom-style","dojo/keys","dojo/_base/lang","dojo/_base/sniff","dojo/dnd/Moveable","dojo/dnd/Mover","dojo/query","../registry","../focus","../typematic","./Button","./_FormValueWidget","../_Container","dojo/text!./templates/HorizontalSlider.html"],function(_a12,_a13,move,_a14,fx,_a15,_a16,keys,lang,has,_a17,_a18,_a19,_a1a,_a1b,_a1c,_a1d,_a1e,_a1f,_a20){var _a21=_a13("dijit.form._SliderMover",_a18,{onMouseMove:function(e){var _a22=this.widget;var _a23=_a22._abspos;if(!_a23){_a23=_a22._abspos=_a15.position(_a22.sliderBarContainer,true);_a22._setPixelValue_=lang.hitch(_a22,"_setPixelValue");_a22._isReversed_=_a22._isReversed();}var _a24=e[_a22._mousePixelCoord]-_a23[_a22._startingPixelCoord];_a22._setPixelValue_(_a22._isReversed_?(_a23[_a22._pixelCount]-_a24):_a24,_a23[_a22._pixelCount],false);},destroy:function(e){_a18.prototype.destroy.apply(this,arguments);var _a25=this.widget;_a25._abspos=null;_a25._setValueAttr(_a25.value,true);}});var _a26=_a13("dijit.form.HorizontalSlider",[_a1e,_a1f],{templateString:_a20,value:0,showButtons:true,minimum:0,maximum:100,discreteValues:Infinity,pageIncrement:2,clickSelect:true,slideDuration:_a1a.defaultDuration,_setIdAttr:"",baseClass:"dijitSlider",cssStateNodes:{incrementButton:"dijitSliderIncrementButton",decrementButton:"dijitSliderDecrementButton",focusNode:"dijitSliderThumb"},_mousePixelCoord:"pageX",_pixelCount:"w",_startingPixelCoord:"x",_handleOffsetCoord:"left",_progressPixelSize:"width",_onKeyUp:function(e){if(this.disabled||this.readOnly||e.altKey||e.ctrlKey||e.metaKey){return;}this._setValueAttr(this.value,true);},_onKeyPress:function(e){if(this.disabled||this.readOnly||e.altKey||e.ctrlKey||e.metaKey){return;}switch(e.charOrCode){case keys.HOME:this._setValueAttr(this.minimum,false);break;case keys.END:this._setValueAttr(this.maximum,false);break;case ((this._descending||this.isLeftToRight())?keys.RIGHT_ARROW:keys.LEFT_ARROW):case (this._descending===false?keys.DOWN_ARROW:keys.UP_ARROW):case (this._descending===false?keys.PAGE_DOWN:keys.PAGE_UP):this.increment(e);break;case ((this._descending||this.isLeftToRight())?keys.LEFT_ARROW:keys.RIGHT_ARROW):case (this._descending===false?keys.UP_ARROW:keys.DOWN_ARROW):case (this._descending===false?keys.PAGE_UP:keys.PAGE_DOWN):this.decrement(e);break;default:return;}_a14.stop(e);},_onHandleClick:function(e){if(this.disabled||this.readOnly){return;}if(!has("ie")){_a1b.focus(this.sliderHandle);}_a14.stop(e);},_isReversed:function(){return !this.isLeftToRight();},_onBarClick:function(e){if(this.disabled||this.readOnly||!this.clickSelect){return;}_a1b.focus(this.sliderHandle);_a14.stop(e);var _a27=_a15.position(this.sliderBarContainer,true);var _a28=e[this._mousePixelCoord]-_a27[this._startingPixelCoord];this._setPixelValue(this._isReversed()?(_a27[this._pixelCount]-_a28):_a28,_a27[this._pixelCount],true);this._movable.onMouseDown(e);},_setPixelValue:function(_a29,_a2a,_a2b){if(this.disabled||this.readOnly){return;}var _a2c=this.discreteValues;if(_a2c<=1||_a2c==Infinity){_a2c=_a2a;}_a2c--;var _a2d=_a2a/_a2c;var _a2e=Math.round(_a29/_a2d);this._setValueAttr(Math.max(Math.min((this.maximum-this.minimum)*_a2e/_a2c+this.minimum,this.maximum),this.minimum),_a2b);},_setValueAttr:function(_a2f,_a30){this._set("value",_a2f);this.valueNode.value=_a2f;this.focusNode.setAttribute("aria-valuenow",_a2f);this.inherited(arguments);var _a31=(_a2f-this.minimum)/(this.maximum-this.minimum);var _a32=(this._descending===false)?this.remainingBar:this.progressBar;var _a33=(this._descending===false)?this.progressBar:this.remainingBar;if(this._inProgressAnim&&this._inProgressAnim.status!="stopped"){this._inProgressAnim.stop(true);}if(_a30&&this.slideDuration>0&&_a32.style[this._progressPixelSize]){var _a34=this;var _a35={};var _a36=parseFloat(_a32.style[this._progressPixelSize]);var _a37=this.slideDuration*(_a31-_a36/100);if(_a37==0){return;}if(_a37<0){_a37=0-_a37;}_a35[this._progressPixelSize]={start:_a36,end:_a31*100,units:"%"};this._inProgressAnim=fx.animateProperty({node:_a32,duration:_a37,onAnimate:function(v){_a33.style[_a34._progressPixelSize]=(100-parseFloat(v[_a34._progressPixelSize]))+"%";},onEnd:function(){delete _a34._inProgressAnim;},properties:_a35});this._inProgressAnim.play();}else{_a32.style[this._progressPixelSize]=(_a31*100)+"%";_a33.style[this._progressPixelSize]=((1-_a31)*100)+"%";}},_bumpValue:function(_a38,_a39){if(this.disabled||this.readOnly){return;}var s=_a16.getComputedStyle(this.sliderBarContainer);var c=_a15.getContentBox(this.sliderBarContainer,s);var _a3a=this.discreteValues;if(_a3a<=1||_a3a==Infinity){_a3a=c[this._pixelCount];}_a3a--;var _a3b=(this.value-this.minimum)*_a3a/(this.maximum-this.minimum)+_a38;if(_a3b<0){_a3b=0;}if(_a3b>_a3a){_a3b=_a3a;}_a3b=_a3b*(this.maximum-this.minimum)/_a3a+this.minimum;this._setValueAttr(_a3b,_a39);},_onClkBumper:function(val){if(this.disabled||this.readOnly||!this.clickSelect){return;}this._setValueAttr(val,true);},_onClkIncBumper:function(){this._onClkBumper(this._descending===false?this.minimum:this.maximum);},_onClkDecBumper:function(){this._onClkBumper(this._descending===false?this.maximum:this.minimum);},decrement:function(e){this._bumpValue(e.charOrCode==keys.PAGE_DOWN?-this.pageIncrement:-1);},increment:function(e){this._bumpValue(e.charOrCode==keys.PAGE_UP?this.pageIncrement:1);},_mouseWheeled:function(evt){_a14.stop(evt);var _a3c=!has("mozilla");var _a3d=evt[(_a3c?"wheelDelta":"detail")]*(_a3c?1:-1);this._bumpValue(_a3d<0?-1:1,true);},startup:function(){if(this._started){return;}_a12.forEach(this.getChildren(),function(_a3e){if(this[_a3e.container]!=this.containerNode){this[_a3e.container].appendChild(_a3e.domNode);}},this);this.inherited(arguments);},_typematicCallback:function(_a3f,_a40,e){if(_a3f==-1){this._setValueAttr(this.value,true);}else{this[(_a40==(this._descending?this.incrementButton:this.decrementButton))?"decrement":"increment"](e);}},buildRendering:function(){this.inherited(arguments);if(this.showButtons){this.incrementButton.style.display="";this.decrementButton.style.display="";}var _a41=_a19("label[for=\""+this.id+"\"]");if(_a41.length){_a41[0].id=(this.id+"_label");this.focusNode.setAttribute("aria-labelledby",_a41[0].id);}this.focusNode.setAttribute("aria-valuemin",this.minimum);this.focusNode.setAttribute("aria-valuemax",this.maximum);},postCreate:function(){this.inherited(arguments);if(this.showButtons){this._connects.push(_a1c.addMouseListener(this.decrementButton,this,"_typematicCallback",25,500));this._connects.push(_a1c.addMouseListener(this.incrementButton,this,"_typematicCallback",25,500));}this.connect(this.domNode,!has("mozilla")?"onmousewheel":"DOMMouseScroll","_mouseWheeled");var _a42=_a13(_a21,{widget:this});this._movable=new _a17(this.sliderHandle,{mover:_a42});this._layoutHackIE7();},destroy:function(){this._movable.destroy();if(this._inProgressAnim&&this._inProgressAnim.status!="stopped"){this._inProgressAnim.stop(true);}this._supportingWidgets=_a1a.findWidgets(this.domNode);this.inherited(arguments);}});_a26._Mover=_a21;return _a26;});}}});define("dijit/dijit-all",[".","./dijit","./ColorPalette","./Declaration","./Dialog","./DialogUnderlay","./TooltipDialog","./Editor","./_editor/plugins/FontChoice","./_editor/plugins/LinkDialog","./Menu","./MenuItem","./PopupMenuItem","./CheckedMenuItem","./MenuBar","./MenuBarItem","./PopupMenuBarItem","./MenuSeparator","./ProgressBar","./TitlePane","./Toolbar","./Tooltip","./Tree","./InlineEditBox","./form/Form","./form/Button","./form/DropDownButton","./form/ComboButton","./form/ToggleButton","./form/CheckBox","./form/RadioButton","./form/TextBox","./form/ValidationTextBox","./form/CurrencyTextBox","./form/DateTextBox","./form/TimeTextBox","./form/NumberSpinner","./form/NumberTextBox","./form/ComboBox","./form/FilteringSelect","./form/MultiSelect","./form/Select","./form/HorizontalSlider","./form/VerticalSlider","./form/HorizontalRule","./form/VerticalRule","./form/HorizontalRuleLabels","./form/VerticalRuleLabels","./form/SimpleTextarea","./form/Textarea","./layout/AccordionContainer","./layout/ContentPane","./layout/BorderContainer","./layout/LayoutContainer","./layout/LinkPane","./layout/SplitContainer","./layout/StackContainer","./layout/TabContainer"],function(_a43){console.warn("dijit-all may include much more code than your application actually requires. We strongly recommend that you investigate a custom build or the web build tool");return _a43;});