/*
	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,"hr":true,"he":true,"fr":true,"fi":true,"es":true,"el":true,"de":true,"da":true,"cs":true,"ca":true,"az":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,"hr":true,"he":true,"fr":true,"fi":true,"es":true,"el":true,"de":true,"da":true,"cs":true,"ca":true,"az":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;}e.preventDefault();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();}}});});},"dijit/PopupMenuBarItem":function(){define(["dojo/_base/declare","./PopupMenuItem","./MenuBarItem"],function(_13c,_13d,_13e){var _13f=_13e._MenuBarItemMixin;return _13c("dijit.PopupMenuBarItem",[_13d,_13f],{});});},"dijit/tree/ForestStoreModel":function(){define("dijit/tree/ForestStoreModel",["dojo/_base/array","dojo/_base/declare","dojo/_base/lang","dojo/_base/window","./TreeStoreModel"],function(_140,_141,lang,win,_142){return _141("dijit.tree.ForestStoreModel",_142,{rootId:"$root$",rootLabel:"ROOT",query:null,constructor:function(_143){this.root={store:this,root:true,id:_143.rootId,label:_143.rootLabel,children:_143.rootChildren};},mayHaveChildren:function(item){return item===this.root||this.inherited(arguments);},getChildren:function(_144,_145,_146){if(_144===this.root){if(this.root.children){_145(this.root.children);}else{this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_147){this.root.children=_147;_145(_147);}),onError:_146});}}else{this.inherited(arguments);}},isItem:function(_148){return (_148===this.root)?true:this.inherited(arguments);},fetchItemByIdentity:function(_149){if(_149.identity==this.root.id){var _14a=_149.scope?_149.scope:win.global;if(_149.onItem){_149.onItem.call(_14a,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,_14b,_14c){if(_14b===this.root){this.onNewRootItem(args);return this.store.newItem(args);}else{return this.inherited(arguments);}},onNewRootItem:function(){},pasteItem:function(_14d,_14e,_14f,_150,_151){if(_14e===this.root){if(!_150){this.onLeaveRoot(_14d);}}this.inherited(arguments,[_14d,_14e===this.root?null:_14e,_14f===this.root?null:_14f,_150,_151]);if(_14f===this.root){this.onAddToRoot(_14d);}},onAddToRoot:function(item){},onLeaveRoot:function(item){},_requeryTop:function(){var _152=this.root.children||[];this.store.fetch({query:this.query,onComplete:lang.hitch(this,function(_153){this.root.children=_153;if(_152.length!=_153.length||_140.some(_152,function(item,idx){return _153[idx]!=item;})){this.onChildrenChange(this.root,_153);}})});},onNewItem:function(item,_154){this._requeryTop();this.inherited(arguments);},onDeleteItem:function(item){if(_140.indexOf(this.root.children,item)!=-1){this._requeryTop();}this.inherited(arguments);},onSetItem:function(item,_155,_156,_157){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(_158,_159,dom,_15a,_15b,_15c,_15d,_15e,_15f,keys,_160,_161,_162,_163,_164){return _159("dijit.TitlePane",[_162,_161,_160],{title:"",_setTitleAttr:{node:"titleNode",type:"innerHTML"},open:true,toggleable:true,tabIndex:"0",duration:_164.defaultDuration,baseClass:"dijitTitlePane",templateString:_163,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 _165=this.hideNode,_166=this.wipeNode;this._wipeIn=_15e.wipeIn({node:_166,duration:this.duration,beforeBegin:function(){_165.style.display="";}});this._wipeOut=_15e.wipeOut({node:_166,duration:this.duration,onEnd:function(){_165.style.display="none";}});},_setOpenAttr:function(open,_167){_158.forEach([this._wipeIn,this._wipeOut],function(_168){if(_168&&_168.status()=="playing"){_168.stop();}});if(_167){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(_169){this.focusNode.setAttribute("role",_169?"button":"heading");if(_169){this.focusNode.setAttribute("aria-controls",this.id+"_pane");_15a.set(this.focusNode,"tabIndex",this.tabIndex);}else{_15a.remove(this.focusNode,"tabIndex");}this._set("toggleable",_169);this._setCss();},_setContentAttr:function(_16a){if(!this.open||!this._wipeOut||this._wipeOut.status()=="playing"){this.inherited(arguments);}else{if(this._wipeIn&&this._wipeIn.status()=="playing"){this._wipeIn.stop();}_15c.setMarginBox(this.wipeNode,{h:_15c.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 _16b=this._titleBarClass;this._titleBarClass="dijit"+(this.toggleable?"":"Fixed")+(this.open?"Open":"Closed");_15b.replace(node,this._titleBarClass,_16b||"");this.arrowNodeInner.innerHTML=this.open?"-":"+";},_onTitleKey:function(e){if(e.charOrCode==keys.ENTER||e.charOrCode==" "){if(this.toggleable){this.toggle();}_15d.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(_16c){_15f.deprecated("dijit.TitlePane.setTitle() is deprecated.  Use set('title', ...) instead.","","2.0");this.set("title",_16c);}});});},"dijit/form/_ComboBoxMenuMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/i18n","dojo/_base/window","dojo/i18n!./nls/ComboBox"],function(_16d,_16e,_16f,i18n,win){return _16e("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(_170){this.value=_170;this.onChange(_170);},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,_171){var _172=this._createMenuItem();var _173=_171(item);if(_173.html){_172.innerHTML=_173.label;}else{_172.appendChild(win.doc.createTextNode(_173.label));}if(_172.innerHTML==""){_172.innerHTML="&#160;";}this.applyTextDir(_172,(_172.innerText||_172.textContent||""));_172.item=item;return _172;},createOptions:function(_174,_175,_176){this.previousButton.style.display=(_175.start==0)?"none":"";_16f.set(this.previousButton,"id",this.id+"_prev");_16d.forEach(_174,function(item,i){var _177=this._createOption(item,_176);_16f.set(_177,"id",this.id+i);this.nextButton.parentNode.insertBefore(_177,this.nextButton);},this);var _178=false;if(_174.total&&!_174.total.then&&_174.total!=-1){if((_175.start+_175.count)<_174.total){_178=true;}else{if((_175.start+_175.count)>_174.total&&_175.count==_174.length){_178=true;}}}else{if(_175.count==_174.length){_178=true;}}this.nextButton.style.display=_178?"":"none";_16f.set(this.nextButton,"id",this.id+"_next");return this.containerNode.childNodes;},clearResultList:function(){var _179=this.containerNode;while(_179.childNodes.length>2){_179.removeChild(_179.childNodes[_179.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(_17a,_17b,_17c,_17d){return _17a("dijit.form.ToggleButton",[_17c,_17d],{baseClass:"dijitToggleButton",setChecked:function(_17e){_17b.deprecated("setChecked("+_17e+") is deprecated. Use set('checked',"+_17e+") instead.","","2.0");this.set("checked",_17e);}});});},"dijit/form/NumberSpinner":function(){define(["dojo/_base/declare","dojo/_base/event","dojo/keys","./_Spinner","./NumberTextBox"],function(_17f,_180,keys,_181,_182){return _17f("dijit.form.NumberSpinner",[_181,_182.Mixin],{adjust:function(val,_183){var tc=this.constraints,v=isNaN(val),_184=!isNaN(tc.max),_185=!isNaN(tc.min);if(v&&_183!=0){val=(_183>0)?_185?tc.min:_184?tc.max:0:_184?this.constraints.max:_185?tc.min:0;}var _186=val+_183;if(v||isNaN(_186)){return val;}if(_184&&(_186>tc.max)){_186=tc.max;}if(_185&&(_186<tc.min)){_186=tc.min;}return _186;},_onKeyPress:function(e){if((e.charOrCode==keys.HOME||e.charOrCode==keys.END)&&!(e.ctrlKey||e.altKey||e.metaKey)&&typeof this.get("value")!="undefined"){var _187=this.constraints[(e.charOrCode==keys.HOME?"min":"max")];if(typeof _187=="number"){this._setValueAttr(_187,false);}_180.stop(e);}}});});},"dijit/form/Textarea":function(){define(["dojo/_base/declare","dojo/dom-style","./_ExpandingTextAreaMixin","./SimpleTextarea"],function(_188,_189,_18a,_18b){return _188("dijit.form.Textarea",[_18b,_18a],{baseClass:"dijitTextBox dijitTextArea dijitExpandingTextArea",cols:"",buildRendering:function(){this.inherited(arguments);_189.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(_18c,_18d,_18e){return _18c("dijit.form.DateTextBox",_18e,{baseClass:"dijitTextBox dijitComboBox dijitDateTextBox",popupClass:_18d,_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(_18f,_190,keys,_191,_192,_193){return _18f("dijit.form.ComboButton",_192,{templateString:_193,_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"]){_191.focus(this._popupStateNode);_190.stop(evt);}},_onArrowKeyPress:function(evt){if(evt.charOrCode==keys[this.isLeftToRight()?"LEFT_ARROW":"RIGHT_ARROW"]){_191.focus(this.titleNode);_190.stop(evt);}},focus:function(_194){if(!this.disabled){_191.focus(_194=="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(_195,_196,_197,_198,fx,dom,_199,_19a,_19b,_19c,_19d,keys,lang,has,_19e,_19f,_1a0,_1a1,_1a2,_1a3,_1a4,_1a5,_1a6,_1a7,_1a8){var _1a9=_197("dijit.layout._AccordionButton",[_1a2,_1a4,_1a5],{templateString:_1a8,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 _1aa=this.id.replace(" ","_");_199.set(this.titleTextNode,"id",_1aa+"_title");this.focusNode.setAttribute("aria-labelledby",_199.get(this.titleTextNode,"id"));dom.setSelectable(this.domNode,false);},getTitleHeight:function(){return _19c.getMarginSize(this.domNode).h;},_onTitleClick:function(){var _1ab=this.getParent();_1ab.selectChild(this.contentWidget,true);_19f.focus(this.focusNode);},_onTitleKeyPress:function(evt){return this.getParent()._onKeyPress(evt,this.contentWidget);},_setSelectedAttr:function(_1ac){this._set("selected",_1ac);this.focusNode.setAttribute("aria-expanded",_1ac);this.focusNode.setAttribute("aria-selected",_1ac);this.focusNode.setAttribute("tabIndex",_1ac?"0":"-1");}});var _1ad=_197("dijit.layout._AccordionInnerContainer",[_1a2,_1a5],{baseClass:"dijitAccordionInnerContainer",isLayoutContainer:true,buildRendering:function(){this.domNode=_19b.place("<div class='"+this.baseClass+"' role='presentation'>",this.contentWidget.domNode,"after");var _1ae=this.contentWidget,cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;this.button=_1ae._buttonWidget=(new cls({contentWidget:_1ae,label:_1ae.title,title:_1ae.tooltip,dir:_1ae.dir,lang:_1ae.lang,textDir:_1ae.textDir,iconClass:_1ae.iconClass,id:_1ae.id+"_button",parent:this.parent})).placeAt(this.domNode);this.containerNode=_19b.place("<div class='dijitAccordionChildWrapper' style='display:none'>",this.domNode);_19b.place(this.contentWidget.domNode,this.containerNode);},postCreate:function(){this.inherited(arguments);var _1af=this.button;this._contentWidgetWatches=[this.contentWidget.watch("title",lang.hitch(this,function(name,_1b0,_1b1){_1af.set("label",_1b1);})),this.contentWidget.watch("tooltip",lang.hitch(this,function(name,_1b2,_1b3){_1af.set("title",_1b3);})),this.contentWidget.watch("iconClass",lang.hitch(this,function(name,_1b4,_1b5){_1af.set("iconClass",_1b5);}))];},_setSelectedAttr:function(_1b6){this._set("selected",_1b6);this.button.set("selected",_1b6);if(_1b6){var cw=this.contentWidget;if(cw.onSelected){cw.onSelected();}}},startup:function(){this.contentWidget.startup();},destroy:function(){this.button.destroyRecursive();_196.forEach(this._contentWidgetWatches||[],function(w){w.unwatch();});delete this.contentWidget._buttonWidget;delete this.contentWidget._wrapperWidget;this.inherited(arguments);},destroyDescendants:function(_1b7){this.contentWidget.destroyRecursive(_1b7);}});var _1b8=_197("dijit.layout.AccordionContainer",_1a6,{duration:_1a0.defaultDuration,buttonWidget:_1a9,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 _1b9=this.selectedChildWidget.containerNode.style;_1b9.display="";_1b9.overflow="auto";this.selectedChildWidget._wrapperWidget.set("selected",true);}},layout:function(){var _1ba=this.selectedChildWidget;if(!_1ba){return;}var _1bb=_1ba._wrapperWidget.domNode,_1bc=_19c.getMarginExtents(_1bb),_1bd=_19c.getPadBorderExtents(_1bb),_1be=_1ba._wrapperWidget.containerNode,_1bf=_19c.getMarginExtents(_1be),_1c0=_19c.getPadBorderExtents(_1be),_1c1=this._contentBox;var _1c2=0;_196.forEach(this.getChildren(),function(_1c3){if(_1c3!=_1ba){_1c2+=_19c.getMarginSize(_1c3._wrapperWidget.domNode).h;}});this._verticalSpace=_1c1.h-_1c2-_1bc.h-_1bd.h-_1bf.h-_1c0.h-_1ba._buttonWidget.getTitleHeight();this._containerContentBox={h:this._verticalSpace,w:this._contentBox.w-_1bc.w-_1bd.w-_1bf.w-_1c0.w};if(_1ba){_1ba.resize(this._containerContentBox);}},_setupChild:function(_1c4){_1c4._wrapperWidget=_1ad({contentWidget:_1c4,buttonWidget:this.buttonWidget,id:_1c4.id+"_wrapper",dir:_1c4.dir,lang:_1c4.lang,textDir:_1c4.textDir,parent:this});this.inherited(arguments);},addChild:function(_1c5,_1c6){if(this._started){var _1c7=this.containerNode;if(_1c6&&typeof _1c6=="number"){var _1c8=_1a2.prototype.getChildren.call(this);if(_1c8&&_1c8.length>=_1c6){_1c7=_1c8[_1c6-1].domNode;_1c6="after";}}_19b.place(_1c5.domNode,_1c7,_1c6);if(!_1c5._started){_1c5.startup();}this._setupChild(_1c5);_19e.publish(this.id+"-addChild",_1c5,_1c6);this.layout();if(!this.selectedChildWidget){this.selectChild(_1c5);}}else{this.inherited(arguments);}},removeChild:function(_1c9){if(_1c9._wrapperWidget){_19b.place(_1c9.domNode,_1c9._wrapperWidget.domNode,"after");_1c9._wrapperWidget.destroy();delete _1c9._wrapperWidget;}_19a.remove(_1c9.domNode,"dijitHidden");this.inherited(arguments);},getChildren:function(){return _196.map(this.inherited(arguments),function(_1ca){return _1ca.declaredClass=="dijit.layout._AccordionInnerContainer"?_1ca.contentWidget:_1ca;},this);},destroy:function(){if(this._animation){this._animation.stop();}_196.forEach(this.getChildren(),function(_1cb){if(_1cb._wrapperWidget){_1cb._wrapperWidget.destroy();}else{_1cb.destroyRecursive();}});this.inherited(arguments);},_showChild:function(_1cc){_1cc._wrapperWidget.containerNode.style.display="block";return this.inherited(arguments);},_hideChild:function(_1cd){_1cd._wrapperWidget.containerNode.style.display="none";this.inherited(arguments);},_transition:function(_1ce,_1cf,_1d0){if(has("ie")<8){_1d0=false;}if(this._animation){this._animation.stop(true);delete this._animation;}var self=this;if(_1ce){_1ce._wrapperWidget.set("selected",true);var d=this._showChild(_1ce);if(this.doLayout&&_1ce.resize){_1ce.resize(this._containerContentBox);}}if(_1cf){_1cf._wrapperWidget.set("selected",false);if(!_1d0){this._hideChild(_1cf);}}if(_1d0){var _1d1=_1ce._wrapperWidget.containerNode,_1d2=_1cf._wrapperWidget.containerNode;var _1d3=_1ce._wrapperWidget.containerNode,_1d4=_19c.getMarginExtents(_1d3),_1d5=_19c.getPadBorderExtents(_1d3),_1d6=_1d4.h+_1d5.h;_1d2.style.height=(self._verticalSpace-_1d6)+"px";this._animation=new fx.Animation({node:_1d1,duration:this.duration,curve:[1,this._verticalSpace-_1d6-1],onAnimate:function(_1d7){_1d7=Math.floor(_1d7);_1d1.style.height=_1d7+"px";_1d2.style.height=(self._verticalSpace-_1d6-_1d7)+"px";},onEnd:function(){delete self._animation;_1d1.style.height="auto";_1cf._wrapperWidget.containerNode.style.display="none";_1d2.style.height="auto";self._hideChild(_1cf);}});this._animation.onStop=this._animation.onEnd;this._animation.play();}return d;},_onKeyPress:function(e,_1d8){if(this.disabled||e.altKey||!(_1d8||e.ctrlKey)){return;}var c=e.charOrCode;if((_1d8&&(c==keys.LEFT_ARROW||c==keys.UP_ARROW))||(e.ctrlKey&&c==keys.PAGE_UP)){this._adjacent(false)._buttonWidget._onTitleClick();_198.stop(e);}else{if((_1d8&&(c==keys.RIGHT_ARROW||c==keys.DOWN_ARROW))||(e.ctrlKey&&(c==keys.PAGE_DOWN||c==keys.TAB))){this._adjacent(true)._buttonWidget._onTitleClick();_198.stop(e);}}}});if(!_19d.isAsync){_1a1(0,function(){var _1d9=["dijit/layout/AccordionPane"];_195(_1d9);});}_1b8._InnerContainer=_1ad;_1b8._Button=_1a9;return _1b8;});},"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(_1da,_1db,_1dc,dom,_1dd,_1de,_1df,_1e0,_1e1,_1e2,lang,on,has,win,_1e3,_1e4,_1e5){lang.extend(_1e4,{sizeMin:10,sizeShare:10});return _1dc("dijit.layout.SplitContainer",_1e5,{constructor:function(){_1e2.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 _1e6=win.doc.createElement("div");this.virtualSizer=_1e6;_1e6.style.position="relative";_1e6.style.zIndex=10;_1e6.className=this.isHorizontal?"dijitSplitContainerVirtualSizerH":"dijitSplitContainerVirtualSizerV";this.domNode.appendChild(_1e6);dom.setSelectable(_1e6,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;}_1da.forEach(this.getChildren(),function(_1e7,i,_1e8){this._setupChild(_1e7);if(i<_1e8.length-1){this._addSizer();}},this);if(this.persist){this._restoreState();}this.inherited(arguments);},_setupChild:function(_1e9){this.inherited(arguments);_1e9.domNode.style.position="absolute";_1dd.add(_1e9.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(_1ea){_1ea=_1ea===undefined?this.sizers.length:_1ea;var _1eb=win.doc.createElement("div");_1eb.id=_1e3.getUniqueId("dijit_layout_SplitterContainer_Splitter");this.sizers.splice(_1ea,0,_1eb);this.domNode.appendChild(_1eb);_1eb.className=this.isHorizontal?"dijitSplitContainerSizerH":"dijitSplitContainerSizerV";var _1ec=win.doc.createElement("div");_1ec.className="thumb";_1eb.appendChild(_1ec);this.connect(_1eb,"onmousedown","_onSizerMouseDown");dom.setSelectable(_1eb,false);},removeChild:function(_1ed){if(this.sizers.length){var i=_1da.indexOf(this.getChildren(),_1ed);if(i!=-1){if(i==this.sizers.length){i--;}_1de.destroy(this.sizers[i]);this.sizers.splice(i,1);}}this.inherited(arguments);if(this._started){this.layout();}},addChild:function(_1ee,_1ef){this.inherited(arguments);if(this._started){var _1f0=this.getChildren();if(_1f0.length>1){this._addSizer(_1ef);}this.layout();}},layout:function(){this.paneWidth=this._contentBox.w;this.paneHeight=this._contentBox.h;var _1f1=this.getChildren();if(!_1f1.length){return;}var _1f2=this.isHorizontal?this.paneWidth:this.paneHeight;if(_1f1.length>1){_1f2-=this.sizerWidth*(_1f1.length-1);}var _1f3=0;_1da.forEach(_1f1,function(_1f4){_1f3+=_1f4.sizeShare;});var _1f5=_1f2/_1f3;var _1f6=0;_1da.forEach(_1f1.slice(0,_1f1.length-1),function(_1f7){var size=Math.round(_1f5*_1f7.sizeShare);_1f7.sizeActual=size;_1f6+=size;});_1f1[_1f1.length-1].sizeActual=_1f2-_1f6;this._checkSizes();var pos=0;var size=_1f1[0].sizeActual;this._movePanel(_1f1[0],pos,size);_1f1[0].position=pos;pos+=size;if(!this.sizers){return;}_1da.some(_1f1.slice(1),function(_1f8,i){if(!this.sizers[i]){return true;}this._moveSlider(this.sizers[i],pos,this.sizerWidth);this.sizers[i].position=pos;pos+=this.sizerWidth;size=_1f8.sizeActual;this._movePanel(_1f8,pos,size);_1f8.position=pos;pos+=size;},this);},_movePanel:function(_1f9,pos,size){var box;if(this.isHorizontal){_1f9.domNode.style.left=pos+"px";_1f9.domNode.style.top=0;box={w:size,h:this.paneHeight};if(_1f9.resize){_1f9.resize(box);}else{_1df.setMarginBox(_1f9.domNode,box);}}else{_1f9.domNode.style.left=0;_1f9.domNode.style.top=pos+"px";box={w:this.paneWidth,h:size};if(_1f9.resize){_1f9.resize(box);}else{_1df.setMarginBox(_1f9.domNode,box);}}},_moveSlider:function(_1fa,pos,size){if(this.isHorizontal){_1fa.style.left=pos+"px";_1fa.style.top=0;_1df.setMarginBox(_1fa,{w:size,h:this.paneHeight});}else{_1fa.style.left=0;_1fa.style.top=pos+"px";_1df.setMarginBox(_1fa,{w:this.paneWidth,h:size});}},_growPane:function(_1fb,pane){if(_1fb>0){if(pane.sizeActual>pane.sizeMin){if((pane.sizeActual-pane.sizeMin)>_1fb){pane.sizeActual=pane.sizeActual-_1fb;_1fb=0;}else{_1fb-=pane.sizeActual-pane.sizeMin;pane.sizeActual=pane.sizeMin;}}}return _1fb;},_checkSizes:function(){var _1fc=0;var _1fd=0;var _1fe=this.getChildren();_1da.forEach(_1fe,function(_1ff){_1fd+=_1ff.sizeActual;_1fc+=_1ff.sizeMin;});if(_1fc<=_1fd){var _200=0;_1da.forEach(_1fe,function(_201){if(_201.sizeActual<_201.sizeMin){_200+=_201.sizeMin-_201.sizeActual;_201.sizeActual=_201.sizeMin;}});if(_200>0){var list=this.isDraggingLeft?_1fe.reverse():_1fe;_1da.forEach(list,function(_202){_200=this._growPane(_200,_202);},this);}}else{_1da.forEach(_1fe,function(_203){_203.sizeActual=Math.round(_1fd*(_203.sizeMin/_1fc));});}},beginSizing:function(e,i){var _204=this.getChildren();this.paneBefore=_204[i];this.paneAfter=_204[i+1];this.isSizing=true;this.sizingSplitter=this.sizers[i];if(!this.cover){this.cover=_1de.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=_1df.position(_204[0].domNode,true);var _205,_206;if(this.isHorizontal){_205=e.layerX||e.offsetX||0;_206=e.pageX;this.originPos=this.originPos.x;}else{_205=e.layerY||e.offsetY||0;_206=e.pageY;this.originPos=this.originPos.y;}this.startPoint=this.lastPoint=_206;this.screenToClientOffset=_206-_205;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"))];_1e1.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();}_1e1.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 _207=this.paneBefore.position;var _208=this.paneAfter.position+this.paneAfter.sizeActual;this.paneBefore.sizeActual=pos-_207;this.paneAfter.position=pos+this.sizerWidth;this.paneAfter.sizeActual=_208-this.paneAfter.position;_1da.forEach(this.getChildren(),function(_209){_209.sizeShare=_209.sizeActual;});if(this._started){this.layout();}},_showSizingLine:function(){this._moveSizingLine();_1df.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;_1e0.set(this.virtualSizer,(this.isHorizontal?"left":"top"),pos+"px");},_getCookieName:function(i){return this.id+"_"+i;},_restoreState:function(){_1da.forEach(this.getChildren(),function(_20a,i){var _20b=this._getCookieName(i);var _20c=_1db(_20b);if(_20c){var pos=parseInt(_20c);if(typeof pos=="number"){_20a.sizeShare=pos;}}},this);},_saveState:function(){if(!this.persist){return;}_1da.forEach(this.getChildren(),function(_20d,i){_1db(this._getCookieName(i),_20d.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(_20e,_20f,_210,_211,_212,_213,keys,lang,_214,_215,has,_216,win,_217,_218,_219){return _210("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(_21a){var pos=0;if(typeof (_21a.selectionStart)=="number"){pos=_21a.selectionStart;}else{if(has("ie")){var tr=win.doc.selection.createRange().duplicate();var ntr=_21a.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(_21b,_21c){_21c=parseInt(_21c);_219.selectInputText(_21b,_21c,_21c);},_setDisabledAttr:function(_21d){this.inherited(arguments);this.domNode.setAttribute("aria-disabled",_21d);},_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 _21e=false;var pw=this.dropDown;var _21f=null;this._prev_key_backspace=false;this._abortQuery();this.inherited(arguments);if(this._opened){_21f=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(_21f);}_213.stop(evt);break;case keys.ENTER:if(_21f){if(_21f==pw.nextButton){this._nextSearch(1);_213.stop(evt);break;}else{if(_21f==pw.previousButton){this._nextSearch(-1);_213.stop(evt);break;}}}else{this._setBlurValue();this._setCaretPos(this.focusNode,this.focusNode.value.length);}if(this._opened||this._fetchHandle){_213.stop(evt);}case keys.TAB:var _220=this.get("displayedValue");if(pw&&(_220==pw._messages["previousMessage"]||_220==pw._messages["nextMessage"])){break;}if(_21f){this._selectOption(_21f);}case keys.ESCAPE:if(this._opened){this._lastQuery=null;this.closeDropDown();}break;case " ":if(_21f){_213.stop(evt);this._selectOption(_21f);this.closeDropDown();}else{_21e=true;}break;case keys.DELETE:case keys.BACKSPACE:this._prev_key_backspace=true;_21e=true;break;default:_21e=typeof key=="string"||key==229;}if(_21e){this.item=undefined;this.searchTimer=setTimeout(lang.hitch(this,"_startSearchFromInput"),1);}},_autoCompleteText:function(text){var fn=this.focusNode;_219.selectInputText(fn,fn.value.length);var _221=this.ignoreCase?"toLowerCase":"substr";if(text[_221](0).indexOf(this.focusNode.value[_221](0))==0){var cpos=this.autoComplete?this._getCaretPos(fn):fn.value.length;if((cpos+1)>fn.value.length){fn.value=text;_219.selectInputText(fn,cpos);}}else{fn.value=text;_219.selectInputText(fn);}},_openResultList:function(_222,_223,_224){this._fetchHandle=null;if(this.disabled||this.readOnly||(_223[this.searchAttr]!==this._lastQuery)){return;}var _225=this.dropDown.getHighlightedOption();this.dropDown.clearResultList();if(!_222.length&&_224.start==0){this.closeDropDown();return;}var _226=this.dropDown.createOptions(_222,_224,lang.hitch(this,"_getMenuLabelFromItem"));this._showResultList();if(_224.direction){if(1==_224.direction){this.dropDown.highlightFirstOption();}else{if(-1==_224.direction){this.dropDown.highlightLastOption();}}if(_225){this._announceOption(this.dropDown.getHighlightedOption());}}else{if(this.autoComplete&&!this._prev_key_backspace&&!/^[*]+$/.test(_223[this.searchAttr].toString())){this._announceOption(_226[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 _227=this.get("displayedValue");var pw=this.dropDown;if(pw&&(_227==pw._messages["previousMessage"]||_227==pw._messages["nextMessage"])){this._setValueAttr(this._lastValueReported,true);}else{if(typeof this.item=="undefined"){this.item=null;this.set("displayedValue",_227);}else{if(this.value!=this._lastValueReported){this._handleOnChange(this.value,true);}this._refreshState();}}},_setItemAttr:function(item,_228,_229){var _22a="";if(item){if(!_229){_229=this.store._oldAPI?this.store.getValue(item,this.searchAttr):item[this.searchAttr];}_22a=this._getValueField()!=this.searchAttr?this.store.getIdentity(item):_229;}this.set("value",_22a,_228,_229,item);},_announceOption:function(node){if(!node){return;}var _22b;if(node==this.dropDown.nextButton||node==this.dropDown.previousButton){_22b=node.innerHTML;this.item=undefined;this.value="";}else{_22b=(this.store._oldAPI?this.store.getValue(node.item,this.searchAttr):node.item[this.searchAttr]).toString();this.set("item",node.item,false,_22b);}this.focusNode.value=this.focusNode.value.substring(0,this._lastInput.length);this.focusNode.setAttribute("aria-activedescendant",_212.get(node,"id"));this._autoCompleteText(_22b);},_selectOption:function(_22c){this.closeDropDown();if(_22c){this._announceOption(_22c);}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 _216.substitute(this.queryExpr,[text]);},_startSearch:function(key){if(!this.dropDown){var _22d=this.id+"_popup",_22e=lang.isString(this.dropDownClass)?lang.getObject(this.dropDownClass,false):this.dropDownClass;this.dropDown=new _22e({onChange:lang.hitch(this,this._selectOption),id:_22d,dir:this.dir,textDir:this.textDir});this.focusNode.removeAttribute("aria-activedescendant");this.textbox.setAttribute("aria-owns",_22d);}this._lastInput=key;var _22f=lang.clone(this.query);var _230={start:0,count:this.pageSize,queryOptions:{ignoreCase:this.ignoreCase,deep:true}};lang.mixin(_230,this.fetchProperties);var qs=this._getQueryString(key),q;if(this.store._oldAPI){q=qs;}else{q=_20f.patternToRegExp(qs,this.ignoreCase);q.toString=function(){return qs;};}this._lastQuery=_22f[this.searchAttr]=q;var _231=this,_232=function(){var _233=_231._fetchHandle=_231.store.query(_22f,_230);_211.when(_233,function(res){_231._fetchHandle=null;res.total=_233.total;_231._openResultList(res,_22f,_230);},function(err){_231._fetchHandle=null;if(!_231._cancelingQuery){console.error(_231.declaredClass+" "+err.toString());_231.closeDropDown();}});};this.searchTimer=setTimeout(lang.hitch(this,function(_234,_235){this.searchTimer=null;_232();this._nextSearch=this.dropDown.onPage=function(_236){_230.start+=_230.count*_236;_230.direction=_236;_232();_235.focus();};},_22f,this),this.searchDelay);},_getValueField:function(){return this.searchAttr;},constructor:function(){this.query={};this.fetchProperties={};},postMixInProperties:function(){if(!this.store){var _237=this.srcNodeRef;var list=this.list;if(list){this.store=_218.byId(list);}else{this.store=new _217({},_237);}if(!("value" in this.params)){var item=(this.item=this.store.fetchSelectedItem());if(item){var _238=this._getValueField();this.value=this.store._oldAPI?this.store.getValue(item,_238):item[_238];}}}this.inherited(arguments);},postCreate:function(){var _239=_214("label[for=\""+this.id+"\"]");if(_239.length){_239[0].id=(this.id+"_label");this.domNode.setAttribute("aria-labelledby",_239[0].id);}this.inherited(arguments);},_getMenuLabelFromItem:function(item){var _23a=this.labelFunc(item,this.store),_23b=this.labelType;if(this.highlightMatch!="none"&&this.labelType=="text"&&this._lastInput){_23a=this.doHighlight(_23a,this._escapeHtml(this._lastInput));_23b="html";}return {html:_23b=="html",label:_23a};},doHighlight:function(_23c,find){var _23d=(this.ignoreCase?"i":"")+(this.highlightMatch=="all"?"g":""),i=this.queryExpr.indexOf("${0}");find=_215.escapeString(find);return this._escapeHtml(_23c).replace(new RegExp((i==0?"^":"")+"("+find+")"+(i==(this.queryExpr.length-4)?"$":""),_23d),"<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,_23e){return (_23e._oldAPI?_23e.getValue(item,this.labelAttr||this.searchAttr):item[this.labelAttr||this.searchAttr]).toString();},_setValueAttr:function(_23f,_240,_241,item){this._set("item",item||null);if(!_23f){_23f="";}this.inherited(arguments);},_setTextDirAttr:function(_242){this.inherited(arguments);if(this.dropDown){this.dropDown._set("textDir",_242);}}});});},"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(_243,_244,_245){return _243("dijit.form.MappedTextBox",_245,{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=_244.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(_246,_247,_248,lang,_249,_24a,_24b,_24c,_24d){return _246("dijit.form.ComboBoxMixin",[_24c,_24a],{dropDownClass:_24b,hasDownArrow:true,templateString:_24d,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(_24e){if(!_24e.get){lang.mixin(_24e,{_oldAPI:true,get:function(id){var _24f=new _247();this.fetchItemByIdentity({identity:id,onItem:function(_250){_24f.resolve(_250);},onError:function(_251){_24f.reject(_251);}});return _24f.promise;},query:function(_252,_253){var _254=new _247(function(){_255.abort&&_255.abort();});var _255=this.fetch(lang.mixin({query:_252,onBegin:function(_256){_254.total=_256;},onComplete:function(_257){_254.resolve(_257);},onError:function(_258){_254.reject(_258);}},_253));return _249(_254);}});}this._set("store",_24e);},postMixInProperties:function(){if(this.params.store){this._setStoreAttr(this.params.store);}this.inherited(arguments);if(!this.params.store){var _259=this.declaredClass;lang.mixin(this.store,{getValue:function(item,attr){_248.deprecated(_259+".store.getValue(item, attr) is deprecated for builtin store.  Use item.attr directly","","2.0");return item[attr];},getLabel:function(item){_248.deprecated(_259+".store.getLabel(item) is deprecated for builtin store.  Use item.label directly","","2.0");return item.name;},fetch:function(args){_248.deprecated(_259+".store.fetch() is deprecated for builtin store.","Use store.query()","2.0");var shim=["dojo/data/ObjectStore"];require(shim,lang.hitch(this,function(_25a){new _25a({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(_25b,_25c,dom,_25d,keys,lang,_25e){var _25f=_25c("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(_260,_261,_262){var _263;if(_260!==undefined){_263=this.filter(_260);if(typeof _262!="string"){if(_263!==null&&((typeof _263!="number")||!isNaN(_263))){_262=this.filter(this.format(_263,this.constraints));}else{_262="";}}}if(_262!=null&&_262!=undefined&&((typeof _262)!="number"||!isNaN(_262))&&this.textbox.value!=_262){this.textbox.value=_262;this._set("displayedValue",this.get("displayedValue"));}if(this.textDir=="auto"){this.applyTextDir(this.focusNode,_262);}this.inherited(arguments,[_263,_261]);},displayedValue:"",_getDisplayedValueAttr:function(){return this.filter(this.textbox.value);},_setDisplayedValueAttr:function(_264){if(_264===null||_264===undefined){_264="";}else{if(typeof _264!="string"){_264=String(_264);}}this.textbox.value=_264;this._setValueAttr(this.get("value"),undefined);this._set("displayedValue",this.get("displayedValue"));if(this.textDir=="auto"){this.applyTextDir(this.focusNode,_264);}},format:function(_265){return ((_265==null||_265==undefined)?"":(_265.toString?_265.toString():_265));},parse:function(_266){return _266;},_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 _267=function(e){var _268=e.charOrCode||e.keyCode||229;if(e.type=="keydown"){switch(_268){case keys.SHIFT:case keys.ALT:case keys.CTRL:case keys.META:case keys.CAPS_LOCK:return;default:if(_268>=65&&_268<=90){return;}}}if(e.type=="keypress"&&typeof _268!="string"){return;}if(e.type=="input"){if(this.__skipInputEvent){this.__skipInputEvent=false;return;}}else{this.__skipInputEvent=true;}var faux=lang.mixin({},e,{charOrCode:_268,wasConsumed:false,preventDefault:function(){faux.wasConsumed=true;e.preventDefault();},stopPropagation:function(){e.stopPropagation();}});if(this.onInput(faux)===false){_25d.stop(faux);}if(faux.wasConsumed){return;}setTimeout(lang.hitch(this,"_onInput",faux),0);};_25b.forEach(["onkeydown","onkeypress","onpaste","oncut","oninput"],function(_269){this.connect(this.textbox,_269,_267);},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()){_25f.selectInputText(this.textbox);}});}this.inherited(arguments);this._refreshState();},reset:function(){this.textbox.value="";this.inherited(arguments);},_setTextDirAttr:function(_26a){if(!this._created||this.textDir!=_26a){this._set("textDir",_26a);this.applyTextDir(this.focusNode,this.focusNode.value);}}});_25f._setSelectionRange=_25e._setSelectionRange=function(_26b,_26c,stop){if(_26b.setSelectionRange){_26b.setSelectionRange(_26c,stop);}};_25f.selectInputText=_25e.selectInputText=function(_26d,_26e,stop){_26d=dom.byId(_26d);if(isNaN(_26e)){_26e=0;}if(isNaN(stop)){stop=_26d.value?_26d.value.length:0;}try{_26d.focus();_25f._setSelectionRange(_26d,_26e,stop);}catch(e){}};return _25f;});},"dijit/form/SimpleTextarea":function(){define("dijit/form/SimpleTextarea",["dojo/_base/declare","dojo/dom-class","dojo/_base/sniff","dojo/_base/window","./TextBox"],function(_26f,_270,has,win,_271){return _26f("dijit.form.SimpleTextarea",_271,{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){_270.add(this.textbox,"dijitTextAreaCols");}},filter:function(_272){if(_272){_272=_272.replace(/\r/g,"");}return this.inherited(arguments);},_onInput:function(e){if(this.maxLength){var _273=parseInt(this.maxLength);var _274=this.textbox.value.replace(/\r/g,"");var _275=_274.length-_273;if(_275>0){var _276=this.textbox;if(_276.selectionStart){var pos=_276.selectionStart;var cr=0;if(has("opera")){cr=(this.textbox.value.substring(0,pos).match(/\r/g)||[]).length;}this.textbox.value=_274.substring(0,pos-_275-cr)+_274.substring(pos-cr);_276.setSelectionRange(pos-_275,pos-_275);}else{if(win.doc.selection){_276.focus();var _277=win.doc.selection.createRange();_277.moveStart("character",-_275);_277.text="";_277.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(_278,_279,_27a,win,_27b,_27c){return _278("dijit.PopupMenuItem",_27c,{_fillContent:function(){if(this.srcNodeRef){var _27d=_27a("*",this.srcNodeRef);this.inherited(arguments,[_27d[0]]);this.dropDownContainer=this.srcNodeRef;}},startup:function(){if(this._started){return;}this.inherited(arguments);if(!this.popup){var node=_27a("[widgetId]",this.dropDownContainer)[0];this.popup=_27b.byNode(node);}win.body().appendChild(this.popup.domNode);this.popup.startup();this.popup.domNode.style.display="none";if(this.arrowWrapper){_279.set(this.arrowWrapper,"visibility","");}this.focusNode.setAttribute("aria-haspopup","true");},destroyDescendants:function(_27e){if(this.popup){if(!this.popup._destroyed){this.popup.destroyRecursive(_27e);}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(_27f,_280,_281,_282,_283,_284,_285,_286,_287,keys,lang,has,_288,_289,_28a,_28b,_28c,_28d){return _283("dijit._TimePicker",[_28a,_28b],{templateString:_28d,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:_282.toISOString,setValue:function(_28e){_287.deprecated("dijit._TimePicker:setValue() is deprecated.  Use set('value', ...) instead.","","2.0");this.set("value",_28e);},_setValueAttr:function(date){this._set("value",date);this._showText();},_setFilterStringAttr:function(val){this._set("filterString",val);this._showText();},isDisabledDate:function(){return false;},_getFilteredNodes:function(_28f,_290,_291,_292){var _293=[],_294=_292?_292.date:this._refDate,n,i=_28f,max=this._maxIncrement+Math.abs(i),chk=_291?-1:1,dec=_291?1:0,inc=1-dec;do{i-=dec;n=this._createOption(i);if(n){if((_291&&n.date>_294)||(!_291&&n.date<_294)){break;}_293[_291?"unshift":"push"](n);_294=n.date;}i+=inc;}while(_293.length<_290&&(i*chk)<max);return _293;},_showText:function(){var _295=_282.fromISOString;this.timeMenu.innerHTML="";this._clickableIncrementDate=_295(this.clickableIncrement);this._visibleIncrementDate=_295(this.visibleIncrement);this._visibleRangeDate=_295(this.visibleRange);var _296=function(date){return date.getHours()*60*60+date.getMinutes()*60+date.getSeconds();},_297=_296(this._clickableIncrementDate),_298=_296(this._visibleIncrementDate),_299=_296(this._visibleRangeDate),time=(this.value||this.currentFocus).getTime();this._refDate=new Date(time-time%(_297*1000));this._refDate.setFullYear(1970,0,1);this._clickableIncrement=1;this._totalIncrements=_299/_297;this._visibleIncrement=_298/_297;this._maxIncrement=(60*60*24)/_297;var _29a=Math.min(this._totalIncrements,10),_29b=this._getFilteredNodes(0,(_29a>>1)+1,false),_29c=[],_29d=_29a-_29b.length,_29e=this._getFilteredNodes(0,_29d,true,_29b[0]);if(_29e.length<_29d&&_29b.length>0){_29c=this._getFilteredNodes(_29b.length,_29d-_29e.length,false,_29b[_29b.length-1]);}_27f.forEach(_29e.concat(_29b,_29c),function(n){this.timeMenu.appendChild(n);},this);},constructor:function(){this.constraints={};},postMixInProperties:function(){this.inherited(arguments);this._setConstraintsAttr(this.constraints);},_setConstraintsAttr:function(_29f){lang.mixin(this,_29f);if(!_29f.locale){_29f.locale=this.lang;}},postCreate:function(){this.connect(this.timeMenu,has("ie")?"onmousewheel":"DOMMouseScroll","_mouseWheeled");this._connects.push(_289.addMouseListener(this.upArrow,this,"_onArrowUp",33,250));this._connects.push(_289.addMouseListener(this.downArrow,this,"_onArrowDown",33,250));this.inherited(arguments);},_buttonMouse:function(e){_284.toggle(e.currentTarget,e.currentTarget==this.upArrow?"dijitUpArrowHover":"dijitDownArrowHover",e.type=="mouseenter"||e.type=="mouseover");},_createOption:function(_2a0){var date=new Date(this._refDate);var _2a1=this._clickableIncrementDate;date.setHours(date.getHours()+_2a1.getHours()*_2a0,date.getMinutes()+_2a1.getMinutes()*_2a0,date.getSeconds()+_2a1.getSeconds()*_2a0);if(this.constraints.selector=="time"){date.setFullYear(1970,0,1);}var _2a2=_281.format(date,this.constraints);if(this.filterString&&_2a2.toLowerCase().indexOf(this.filterString)!==0){return null;}var div=_285.create("div",{"class":this.baseClass+"Item"});div.date=date;div.index=_2a0;_285.create("div",{"class":this.baseClass+"ItemInner",innerHTML:_2a2},div);if(_2a0%this._visibleIncrement<1&&_2a0%this._visibleIncrement>-1){_284.add(div,this.baseClass+"Marker");}else{if(!(_2a0%this._clickableIncrement)){_284.add(div,this.baseClass+"Tick");}}if(this.isDisabledDate(date)){_284.add(div,this.baseClass+"ItemDisabled");}if(this.value&&!_280.compare(this.value,date,this.constraints.selector)){div.selected=true;_284.add(div,this.baseClass+"ItemSelected");if(_284.contains(div,this.baseClass+"Marker")){_284.add(div,this.baseClass+"MarkerSelected");}else{_284.add(div,this.baseClass+"TickSelected");}this._highlightOption(div,true);}return div;},_onOptionSelected:function(tgt){var _2a3=tgt.target.date||tgt.target.parentNode.date;if(!_2a3||this.isDisabledDate(_2a3)){return;}this._highlighted_option=null;this.set("value",_2a3);this.onChange(_2a3);},onChange:function(){},_highlightOption:function(node,_2a4){if(!node){return;}if(_2a4){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;}}_284.toggle(node,this.baseClass+"ItemHover",_2a4);if(_284.contains(node,this.baseClass+"Marker")){_284.toggle(node,this.baseClass+"MarkerHover",_2a4);}else{_284.toggle(node,this.baseClass+"TickHover",_2a4);}},onmouseover:function(e){this._keyboardSelected=null;var tgr=(e.target.parentNode===this.timeMenu)?e.target:e.target.parentNode;if(!_284.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;_286.stop(e);var _2a5=(has("ie")?e.wheelDelta:-e.detail);this[(_2a5>0?"_onArrowUp":"_onArrowDown")]();},_onArrowUp:function(_2a6){if(typeof _2a6=="number"&&_2a6==-1){return;}if(!this.timeMenu.childNodes.length){return;}var _2a7=this.timeMenu.childNodes[0].index;var divs=this._getFilteredNodes(_2a7,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(_2a8){if(typeof _2a8=="number"&&_2a8==-1){return;}if(!this.timeMenu.childNodes.length){return;}var _2a9=this.timeMenu.childNodes[this.timeMenu.childNodes.length-1].index+1;var divs=this._getFilteredNodes(_2a9,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){_286.stop(e);if(this._highlighted_option&&!this._highlighted_option.parentNode){this._highlighted_option=null;}var _2aa=this.timeMenu,tgt=this._highlighted_option||_288("."+this.baseClass+"ItemSelected",_2aa)[0];if(!tgt){tgt=_2aa.childNodes[0];}else{if(_2aa.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;}}return undefined;}});});},"dijit/form/RadioButton":function(){define("dijit/form/RadioButton",["dojo/_base/declare","./CheckBox","./_RadioButtonMixin"],function(_2ab,_2ac,_2ad){return _2ab("dijit.form.RadioButton",[_2ac,_2ad],{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(_2ae,_2af,_2b0,_2b1,_2b2,_2b3,_2b4,i18n,_2b5,keys,lang,has,fm,_2b6,_2b7,_2b8,_2b9,_2ba,_2bb,_2bc,_2bd){var _2be=_2af("dijit._InlineEditor",[_2b6,_2b7,_2b8],{templateString:_2bd,postMixInProperties:function(){this.inherited(arguments);this.messages=i18n.getLocalization("dijit","common",this.lang);_2ae.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 _2bf=this.sourceStyle,_2c0="line-height:"+_2bf.lineHeight+";",_2c1=_2b3.getComputedStyle(this.domNode);_2ae.forEach(["Weight","Family","Size","Style"],function(prop){var _2c2=_2bf["font"+prop],_2c3=_2c1["font"+prop];if(_2c3!=_2c2){_2c0+="font-"+prop+":"+_2bf["font"+prop]+";";}},this);_2ae.forEach(["marginTop","marginBottom","marginLeft","marginRight"],function(prop){this.domNode.style[prop]=_2bf[prop];},this);var _2c4=this.inlineEditBox.width;if(_2c4=="100%"){_2c0+="width:100%;";this.domNode.style.display="block";}else{_2c0+="width:"+(_2c4+(Number(_2c4)==_2c4?"px":""))+";";}var _2c5=lang.delegate(this.inlineEditBox.editorParams,{style:_2c0,dir:this.dir,lang:this.lang,textDir:this.textDir});_2c5["displayedValue" in cls.prototype?"displayedValue":"value"]=this.value;this.editWidget=new cls(_2c5,this.editorPlaceholder);if(this.inlineEditBox.autoSave){_2b2.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){_2b4.stop(e);this.cancel(true);}else{if(e.charOrCode==keys.ENTER&&e.target.tagName=="INPUT"){_2b4.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"){_2bb.selectInputText(this.editWidget.focusNode);}}),0);}});var _2c6=_2af("dijit.InlineEditBox",_2b6,{editing:false,autoSave:true,buttonSave:"",buttonCancel:"",renderAsHtml:false,editor:_2bc,editorWrapper:_2be,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 _2c7={ondijitclick:"_onClick",onmouseover:"_onMouseOver",onmouseout:"_onMouseOut",onfocus:"_onMouseOver",onblur:"_onMouseOut"};for(var name in _2c7){this.connect(this.displayNode,name,_2c7[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;}_2b1.add(this.displayNode,"dijitInlineEditBoxDisplayMode");},setDisabled:function(_2c8){_2b5.deprecated("dijit.InlineEditBox.setDisabled() is deprecated.  Use set('disabled', bool) instead.","","2.0");this.set("disabled",_2c8);},_setDisabledAttr:function(_2c9){this.domNode.setAttribute("aria-disabled",_2c9);if(_2c9){this.displayNode.removeAttribute("tabIndex");}else{this.displayNode.setAttribute("tabIndex",0);}_2b1.toggle(this.displayNode,"dijitInlineEditBoxDisplayModeDisabled",_2c9);this._set("disabled",_2c9);},_onMouseOver:function(){if(!this.disabled){_2b1.add(this.displayNode,"dijitInlineEditBoxDisplayModeHover");}},_onMouseOut:function(){_2b1.remove(this.displayNode,"dijitInlineEditBoxDisplayModeHover");},_onClick:function(e){if(this.disabled){return;}if(e){_2b4.stop(e);}this._onMouseOut();setTimeout(lang.hitch(this,"edit"),0);},edit:function(){if(this.disabled||this.editing){return;}this._set("editing",true);this._savedPosition=_2b3.get(this.displayNode,"position")||"static";this._savedOpacity=_2b3.get(this.displayNode,"opacity")||"1";this._savedTabIndex=_2b0.get(this.displayNode,"tabIndex")||"0";if(this.wrapperWidget){var ew=this.wrapperWidget.editWidget;ew.set("displayedValue" in ew?"displayedValue":"value",this.value);}else{var _2ca=_2b2.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:_2b3.getComputedStyle(this.displayNode),save:lang.hitch(this,"save"),cancel:lang.hitch(this,"cancel"),textDir:this.textDir},_2ca);if(!this._started){this.startup();}}var ww=this.wrapperWidget;_2b3.set(this.displayNode,{position:"absolute",opacity:"0"});_2b3.set(ww.domNode,{position:this._savedPosition,visibility:"visible",opacity:"1"});_2b0.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(_2cb){var ww=this.wrapperWidget;_2b3.set(ww.domNode,{position:"absolute",visibility:"hidden",opacity:"0"});_2b3.set(this.displayNode,{position:this._savedPosition,opacity:this._savedOpacity});_2b0.set(this.displayNode,"tabIndex",this._savedTabIndex);if(_2cb){fm.focus(this.displayNode);}},save:function(_2cc){if(this.disabled||!this.editing){return;}this._set("editing",false);var ww=this.wrapperWidget;var _2cd=ww.getValue();this.set("value",_2cd);this._showText(_2cc);},setValue:function(val){_2b5.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 _2ce=this.renderAsHtml?val:val.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;").replace(/\n/g,"<br>");this.displayNode.innerHTML=_2ce||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(){_2b5.deprecated("dijit.InlineEditBox.getValue() is deprecated.  Use get('value') instead.","","2.0");return this.get("value");},cancel:function(_2cf){if(this.disabled||!this.editing){return;}this._set("editing",false);setTimeout(lang.hitch(this,"onCancel"),0);this._showText(_2cf);},_setTextDirAttr:function(_2d0){if(!this._created||this.textDir!=_2d0){this._set("textDir",_2d0);this.applyTextDir(this.displayNode,this.displayNode.innerText);this.displayNode.align=this.dir=="rtl"?"right":"left";}}});_2c6._InlineEditor=_2be;return _2c6;});},"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,_2d1,_2d2;for(var n=e.target;n;){if(n.nodeType==1&&(n.tagName.toLowerCase() in dojo.dnd._validNodes)){var s=dojo.getComputedStyle(n),_2d3=(s.overflow.toLowerCase() in dojo.dnd._validOverflow),_2d4=(s.overflowX.toLowerCase() in dojo.dnd._validOverflow),_2d5=(s.overflowY.toLowerCase() in dojo.dnd._validOverflow);if(_2d3||_2d4||_2d5){b=dojo._getContentBox(n,s);t=dojo.position(n,true);}if(_2d3||_2d4){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;}}_2d1=n.scrollLeft;n.scrollLeft=n.scrollLeft+dx;}}if(_2d3||_2d5){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;}}_2d2=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(_2d6,_2d7,_2d8,_2d9,lang,_2da,win,_2db){return _2d7("dijit.form._RadioButtonMixin",null,{type:"radio",_getRelatedWidgets:function(){var ary=[];_2da("input[type=radio]",this.focusNode.form||win.doc).forEach(lang.hitch(this,function(_2dc){if(_2dc.name==this.name&&_2dc.form==this.focusNode.form){var _2dd=_2db.getEnclosingWidget(_2dc);if(_2dd){ary.push(_2dd);}}}));return ary;},_setCheckedAttr:function(_2de){this.inherited(arguments);if(!this._created){return;}if(_2de){_2d6.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_2df){if(_2df!=this&&_2df.checked){_2df.set("checked",false);}}));}},_onClick:function(e){if(this.checked||this.disabled){_2d9.stop(e);return false;}if(this.readOnly){_2d9.stop(e);_2d6.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_2e0){_2d8.set(this.focusNode||this.domNode,"checked",_2e0.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 _2e1=dojo.dnd.Moveable.prototype.onMove;dojo.declare("dojo.dnd.TimedMoveable",dojo.dnd.Moveable,{timeout:40,constructor:function(node,_2e2){if(!_2e2){_2e2={};}if(_2e2.timeout&&typeof _2e2.timeout=="number"&&_2e2.timeout>=0){this.timeout=_2e2.timeout;}},onMoveStop:function(_2e3){if(_2e3._timer){clearTimeout(_2e3._timer);_2e1.call(this,_2e3,_2e3._leftTop);}dojo.dnd.Moveable.prototype.onMoveStop.apply(this,arguments);},onMove:function(_2e4,_2e5){_2e4._leftTop=_2e5;if(!_2e4._timer){var _2e6=this;_2e4._timer=setTimeout(function(){_2e4._timer=null;_2e1.call(_2e6,_2e4,_2e4._leftTop);},this.timeout);}}});return dojo.dnd.TimedMoveable;});},"dijit/layout/LinkPane":function(){define(["./ContentPane","../_TemplatedMixin","dojo/_base/declare"],function(_2e7,_2e8,_2e9){return _2e9("dijit.layout.LinkPane",[_2e7,_2e8],{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(_2ea,_2eb,_2ec,_2ed){return _2ea("dijit.form._ListMouseMixin",_2ed,{postCreate:function(){this.inherited(arguments);this.connect(this.domNode,_2ec.press,"_onMouseDown");this.connect(this.domNode,_2ec.release,"_onMouseUp");this.connect(this.domNode,"onmouseover","_onMouseOver");this.connect(this.domNode,"onmouseout","_onMouseOut");},_onMouseDown:function(evt){_2eb.stop(evt);if(this._hoveredNode){this.onUnhover(this._hoveredNode);this._hoveredNode=null;}this._isDragging=true;this._setSelectedAttr(this._getTarget(evt));},_onMouseUp:function(evt){_2eb.stop(evt);this._isDragging=false;var _2ee=this._getSelectedAttr();var _2ef=this._getTarget(evt);var _2f0=this._hoveredNode;if(_2ee&&_2ef==_2ee){this.onClick(_2ee);}else{if(_2f0&&_2ef==_2f0){this._setSelectedAttr(_2f0);this.onClick(_2f0);}}},_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 _2f1={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 _2f2={CHF:5};var _2f3=_2f1[code],_2f4=_2f2[code];if(typeof _2f3=="undefined"){_2f3=2;}if(typeof _2f4=="undefined"){_2f4=0;}return {places:_2f3,round:_2f4};};return dojo.cldr.monetary;});},"dojo/cookie":function(){define(["./_base/kernel","./regexp"],function(dojo,_2f5){dojo.cookie=function(name,_2f6,_2f7){var c=document.cookie,ret;if(arguments.length==1){var _2f8=c.match(new RegExp("(?:^|; )"+_2f5.escapeString(name)+"=([^;]*)"));ret=_2f8?decodeURIComponent(_2f8[1]):undefined;}else{_2f7=_2f7||{};var exp=_2f7.expires;if(typeof exp=="number"){var d=new Date();d.setTime(d.getTime()+exp*24*60*60*1000);exp=_2f7.expires=d;}if(exp&&exp.toUTCString){_2f7.expires=exp.toUTCString();}_2f6=encodeURIComponent(_2f6);var _2f9=name+"="+_2f6,_2fa;for(_2fa in _2f7){_2f9+="; "+_2fa;var _2fb=_2f7[_2fa];if(_2fb!==true){_2f9+="="+_2fb;}}document.cookie=_2f9;}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(_2fc,_2fd,_2fe,lang,_2ff,_300,_301,_302){return _2fd("dijit.ProgressBar",[_300,_301],{progress:"0",value:"",maximum:100,places:0,indeterminate:false,label:"",name:"",templateString:_302,_indeterminateHighContrastImagePath:_2fc.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(_303){lang.mixin(this,_303||{});var tip=this.internalProgress,ap=this.domNode;var _304=1;if(this.indeterminate){ap.removeAttribute("aria-valuenow");ap.removeAttribute("aria-valuemin");ap.removeAttribute("aria-valuemax");}else{if(String(this.progress).indexOf("%")!=-1){_304=Math.min(parseFloat(this.progress)/100,1);this.progress=_304*this.maximum;}else{this.progress=Math.min(this.progress,this.maximum);_304=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(_304);_2fe.toggle(this.domNode,"dijitProgressBarIndeterminate",this.indeterminate);tip.style.width=(_304*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(_305){this._set("label",_305);this.update();},_setIndeterminateAttr:function(_306){this.indeterminate=_306;this.update();},report:function(_307){return this.label?this.label:(this.indeterminate?"&#160;":_2ff.format(_307,{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(_308,lang,_309,_30a){var _30b=_308("dijit.form.NumberTextBoxMixin",null,{regExpGen:_309.regexp,value:NaN,editOptions:{pattern:"#.######"},_formatter:_309.format,postMixInProperties:function(){this.inherited(arguments);this._set("type","text");},_setConstraintsAttr:function(_30c){var _30d=typeof _30c.places=="number"?_30c.places:0;if(_30d){_30d++;}if(typeof _30c.max!="number"){_30c.max=9*Math.pow(10,15-_30d);}if(typeof _30c.min!="number"){_30c.min=-9*Math.pow(10,15-_30d);}this.inherited(arguments,[_30c]);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 _30e=this.format(val,this.constraints);if(_30e!==undefined){this.textbox.value=_30e;}}this.inherited(arguments);},format:function(_30f,_310){var _311=String(_30f);if(typeof _30f!="number"){return _311;}if(isNaN(_30f)){return "";}if(!("rangeCheck" in this&&this.rangeCheck(_30f,_310))&&_310.exponent!==false&&/\de[-+]?\d/i.test(_311)){return _311;}if(this.editOptions&&this.focused){_310=lang.mixin({},_310,this.editOptions);}return this._formatter(_30f,_310);},_parser:_309.parse,parse:function(_312,_313){var v=this._parser(_312,lang.mixin({},_313,(this.editOptions&&this.focused)?this.editOptions:{}));if(this.editOptions&&this.focused&&isNaN(v)){v=this._parser(_312,_313);}return v;},_getDisplayedValueAttr:function(){var v=this.inherited(arguments);return isNaN(v)?this.textbox.value:v;},filter:function(_314){return (_314===null||_314===""||_314===undefined)?NaN:this.inherited(arguments);},serialize:function(_315,_316){return (typeof _315!="number"||isNaN(_315))?"":this.inherited(arguments);},_setBlurValue:function(){var val=lang.hitch(lang.mixin({},this,{focused:true}),"get")("value");this._setValueAttr(val,true);},_setValueAttr:function(_317,_318,_319){if(_317!==undefined&&_319===undefined){_319=String(_317);if(typeof _317=="number"){if(isNaN(_317)){_319="";}else{if(("rangeCheck" in this&&this.rangeCheck(_317,this.constraints))||this.constraints.exponent===false||!/\de[-+]?\d/i.test(_319)){_319=undefined;}}}else{if(!_317){_319="";_317=NaN;}else{_317=undefined;}}}this.inherited(arguments,[_317,_318,_319]);},_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("^"+_309._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(_31a){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 _31b=_308("dijit.form.NumberTextBox",[_30a,_30b],{baseClass:"dijitTextBox dijitNumberTextBox"});_31b.Mixin=_30b;return _31b;});},"dijit/form/TimeTextBox":function(){define("dijit/form/TimeTextBox",["dojo/_base/declare","dojo/keys","dojo/_base/lang","../_TimePicker","./_DateTimeTextBox"],function(_31c,keys,lang,_31d,_31e){return _31c("dijit.form.TimeTextBox",_31e,{baseClass:"dijitTextBox dijitComboBox dijitTimeTextBox",popupClass:_31d,_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(_31f,_320,_321,_322,_323,i18n,_324,_325,_326,_327,win,_328){var _329=_325("dijit.ColorPalette",[_321,_322,_323],{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:_320,baseClass:"dijitColorPalette",_dyeFactory:function(_32a,row,col){return new this._dyeClass(_32a,row,col);},buildRendering:function(){this.inherited(arguments);this._dyeClass=_325(_329._Color,{hc:_326.contains(win.body(),"dijit_a11y"),palette:this.palette});this._preparePalette(this._palettes[this.palette],i18n.getLocalization("dojo","colors",this.lang));}});_329._Color=_325("dijit._Color",_324,{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":_31f.toUrl("./themes/a11y/colors7x10.png"),"3x4":_31f.toUrl("./themes/a11y/colors3x4.png")},constructor:function(_32b,row,col){this._alias=_32b;this._row=row;this._col=col;this.setColor(_324.named[_32b]);},getValue:function(){return this.toHex();},fillCell:function(cell,_32c){var html=_328.substitute(this.hc?this.hcTemplate:this.template,{color:this.toHex(),blankGif:_32c,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"});_327.place(html,cell);}});return _329;});},"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(_32d,_32e,lang,_32f){return _32e("dijit.form.CurrencyTextBox",_32f,{currency:"",baseClass:"dijitTextBox dijitCurrencyTextBox",regExpGen:function(_330){return "("+(this.focused?this.inherited(arguments,[lang.mixin({},_330,this.editOptions)])+"|":"")+_32d.regexp(_330)+")";},_formatter:_32d.format,_parser:_32d.parse,parse:function(_331,_332){var v=this.inherited(arguments);if(isNaN(v)&&/\d+/.test(_331)){v=lang.hitch(lang.mixin({},this,{_parser:_32f.prototype._parser}),"inherited")(arguments);}return v;},_setConstraintsAttr:function(_333){if(!_333.currency&&this.currency){_333.currency=this.currency;}this.inherited(arguments,[_32d._mixInDefaults(lang.mixin(_333,{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(_334,lang,_335,_336,_337,_338){lang.extend(_336,{layoutAlign:"none"});return _335("dijit.layout.LayoutContainer",_337,{baseClass:"dijitLayoutContainer",constructor:function(){_334.deprecated("dijit.layout.LayoutContainer is deprecated","use BorderContainer instead",2);},layout:function(){_338.layoutChildren(this.domNode,this._contentBox,this.getChildren());},addChild:function(_339,_33a){this.inherited(arguments);if(this._started){_338.layoutChildren(this.domNode,this._contentBox,this.getChildren());}},removeChild:function(_33b){this.inherited(arguments);if(this._started){_338.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(_33c,_33d,fx,dom,_33e,_33f,_340,lang,has,win,_341,_342,_343,_344,_345,_346,_347){var _348=_33d("dijit._MasterTooltip",[_343,_344],{duration:_341.defaultDuration,templateString:_346,postCreate:function(){win.body().appendChild(this.domNode);this.bgIframe=new _345(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(_349,_34a,_34b,rtl,_34c){if(this.aroundNode&&this.aroundNode===_34a&&this.containerNode.innerHTML==_349){return;}this.domNode.width="auto";if(this.fadeOut.status()=="playing"){this._onDeck=arguments;return;}this.containerNode.innerHTML=_349;this.set("textDir",_34c);this.containerNode.align=rtl?"right":"left";var pos=_342.around(this.domNode,_34a,_34b&&_34b.length?_34b:_34d.defaultPosition,!rtl,lang.hitch(this,"orient"));var _34e=pos.aroundNodePos;if(pos.corner.charAt(0)=="M"&&pos.aroundCorner.charAt(0)=="M"){this.connectorNode.style.top=_34e.y+((_34e.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=_34e.x+((_34e.w-this.connectorNode.offsetWidth)>>1)-pos.x+"px";}}_340.set(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=true;this.aroundNode=_34a;},orient:function(node,_34f,_350,_351,_352){this.connectorNode.style.top="";var _353=_351.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"}[_34f+"-"+_350];this.domNode.style.width="auto";var size=_33f.getContentBox(this.domNode);var _354=Math.min((Math.max(_353,1)),size.w);var _355=_354<size.w;this.domNode.style.width=_354+"px";if(_355){this.containerNode.style.overflow="auto";var _356=this.containerNode.scrollWidth;this.containerNode.style.overflow="visible";if(_356>_354){_356=_356+_340.get(this.domNode,"paddingLeft")+_340.get(this.domNode,"paddingRight");this.domNode.style.width=_356+"px";}}if(_350.charAt(0)=="B"&&_34f.charAt(0)=="B"){var mb=_33f.getMarginBox(node);var _357=this.connectorNode.offsetHeight;if(mb.h>_351.h){var _358=_351.h-((_352.h+_357)>>1);this.connectorNode.style.top=_358+"px";this.connectorNode.style.bottom="";}else{this.connectorNode.style.bottom=Math.min(Math.max(_352.h/2-_357/2,0),mb.h-_357)+"px";this.connectorNode.style.top="";}}else{this.connectorNode.style.top="";this.connectorNode.style.bottom="";}return Math.max(0,size.w-_353);},_onShow:function(){if(has("ie")){this.domNode.style.filter="";}},hide:function(_359){if(this._onDeck&&this._onDeck[1]==_359){this._onDeck=null;}else{if(this.aroundNode===_359){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);_33c.forEach(node.children,function(_35a){this._setAutoTextDir(_35a);},this);},_setTextDirAttr:function(_35b){this._set("textDir",typeof _35b!="undefined"?_35b:"");if(_35b=="auto"){this._setAutoTextDir(this.containerNode);}else{this.containerNode.dir=this.textDir;}}});_347.showTooltip=function(_35c,_35d,_35e,rtl,_35f){if(!_34d._masterTT){_347._masterTT=_34d._masterTT=new _348();}return _34d._masterTT.show(_35c,_35d,_35e,rtl,_35f);};_347.hideTooltip=function(_360){return _34d._masterTT&&_34d._masterTT.hide(_360);};var _34d=_33d("dijit.Tooltip",_343,{label:"",showDelay:400,connectId:[],position:[],_setConnectIdAttr:function(_361){_33c.forEach(this._connections||[],function(_362){_33c.forEach(_362,lang.hitch(this,"disconnect"));},this);this._connectIds=_33c.filter(lang.isArrayLike(_361)?_361:(_361?[_361]:[]),function(id){return dom.byId(id);});this._connections=_33c.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",_361);},addTarget:function(node){var id=node.id||node;if(_33c.indexOf(this._connectIds,id)==-1){this.set("connectId",this._connectIds.concat(id));}},removeTarget:function(node){var id=node.id||node,idx=_33c.indexOf(this._connectIds,id);if(idx>=0){this._connectIds.splice(idx,1);this.set("connectId",this._connectIds);}},buildRendering:function(){this.inherited(arguments);_33e.add(this.domNode,"dijitTooltipData");},startup:function(){this.inherited(arguments);var ids=this.connectId;_33c.forEach(lang.isArrayLike(ids)?ids:[ids],this.addTarget,this);},_onHover:function(e){if(!this._showTimer){var _363=e.target;this._showTimer=setTimeout(lang.hitch(this,function(){this.open(_363);}),this.showDelay);}},_onUnHover:function(){if(this._focus){return;}if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}this.close();},open:function(_364){if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}_34d.show(this.label||this.domNode.innerHTML,_364,this.position,!this.isLeftToRight(),this.textDir);this._connectNode=_364;this.onShow(_364,this.position);},close:function(){if(this._connectNode){_34d.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);}});_34d._MasterTooltip=_348;_34d.show=_347.showTooltip;_34d.hide=_347.hideTooltip;_34d.defaultPosition=["after-centered","before-centered"];return _34d;});},"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(_365,_366,_367){return _365("dijit.form.VerticalSlider",_366,{templateString:_367,_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(_368,lang,_369,_36a,_36b,_36c,_36d,_36e,_36f){return _368("dijit.form.DropDownButton",[_36c,_36d,_36e],{baseClass:"dijitDropDownButton",templateString:_36f,_fillContent:function(){if(this.srcNodeRef){var _370=_369("*",this.srcNodeRef);this.inherited(arguments,[_370[0]]);this.dropDownContainer=this.srcNodeRef;}},startup:function(){if(this._started){return;}if(!this.dropDown&&this.dropDownContainer){var _371=_369("[widgetId]",this.dropDownContainer)[0];this.dropDown=_36a.byNode(_371);delete this.dropDownContainer;}if(this.dropDown){_36b.hide(this.dropDown);}this.inherited(arguments);},isLoaded:function(){var _372=this.dropDown;return (!!_372&&(!_372.href||_372.isLoaded));},loadDropDown:function(_373){var _374=this.dropDown;var _375=_374.on("load",lang.hitch(this,function(){_375.remove();_373();}));_374.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(_376){var _377=_376.getMonth();var days=[31,28,31,30,31,30,31,31,30,31,30,31];if(_377==1&&dojo.date.isLeapYear(_376)){return 29;}return days[_377];};dojo.date.isLeapYear=function(_378){var year=_378.getFullYear();return !(year%400)||(!(year%4)&&!!(year%100));};dojo.date.getTimezoneName=function(_379){var str=_379.toString();var tz="";var _37a;var pos=str.indexOf("(");if(pos>-1){tz=str.substring(++pos,str.indexOf(")"));}else{var pat=/([A-Z\/]+) \d{4}$/;if((_37a=str.match(pat))){tz=_37a[1];}else{str=_379.toLocaleString();pat=/ ([A-Z\/]+)$/;if((_37a=str.match(pat))){tz=_37a[1];}}}return (tz=="AM"||tz=="PM")?"":tz;};dojo.date.compare=function(_37b,_37c,_37d){_37b=new Date(+_37b);_37c=new Date(+(_37c||new Date()));if(_37d=="date"){_37b.setHours(0,0,0,0);_37c.setHours(0,0,0,0);}else{if(_37d=="time"){_37b.setFullYear(0,0,0);_37c.setFullYear(0,0,0);}}if(_37b>_37c){return 1;}if(_37b<_37c){return -1;}return 0;};dojo.date.add=function(date,_37e,_37f){var sum=new Date(+date);var _380=false;var _381="Date";switch(_37e){case "day":break;case "weekday":var days,_382;var mod=_37f%5;if(!mod){days=(_37f>0)?5:-5;_382=(_37f>0)?((_37f-5)/5):((_37f+5)/5);}else{days=mod;_382=parseInt(_37f/5);}var strt=date.getDay();var adj=0;if(strt==6&&_37f>0){adj=1;}else{if(strt==0&&_37f<0){adj=-1;}}var trgt=strt+days;if(trgt==0||trgt==6){adj=(_37f>0)?2:-2;}_37f=(7*_382)+days+adj;break;case "year":_381="FullYear";_380=true;break;case "week":_37f*=7;break;case "quarter":_37f*=3;case "month":_380=true;_381="Month";break;default:_381="UTC"+_37e.charAt(0).toUpperCase()+_37e.substring(1)+"s";}if(_381){sum["set"+_381](sum["get"+_381]()+_37f);}if(_380&&(sum.getDate()<date.getDate())){sum.setDate(0);}return sum;};dojo.date.difference=function(_383,_384,_385){_384=_384||new Date();_385=_385||"day";var _386=_384.getFullYear()-_383.getFullYear();var _387=1;switch(_385){case "quarter":var m1=_383.getMonth();var m2=_384.getMonth();var q1=Math.floor(m1/3)+1;var q2=Math.floor(m2/3)+1;q2+=(_386*4);_387=q2-q1;break;case "weekday":var days=Math.round(dojo.date.difference(_383,_384,"day"));var _388=parseInt(dojo.date.difference(_383,_384,"week"));var mod=days%7;if(mod==0){days=_388*5;}else{var adj=0;var aDay=_383.getDay();var bDay=_384.getDay();_388=parseInt(days/7);mod=days%7;var _389=new Date(_383);_389.setDate(_389.getDate()+(_388*7));var _38a=_389.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 (_38a+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 (_38a+mod)<0:adj=2;}}}days+=adj;days-=(_388*2);}_387=days;break;case "year":_387=_386;break;case "month":_387=(_384.getMonth()-_383.getMonth())+(_386*12);break;case "week":_387=parseInt(dojo.date.difference(_383,_384,"day")/7);break;case "day":_387/=24;case "hour":_387/=60;case "minute":_387/=60;case "second":_387/=1000;case "millisecond":_387*=_384.getTime()-_383.getTime();}return Math.round(_387);};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(_38b,_38c,_38d,_38e,_38f,lang,_390,has,win,_391,_392,_393){return _38c("dijit.layout._ContentPaneResizeMixin",null,{doLayout:true,isLayoutContainer:true,startup:function(){if(this._started){return;}var _394=this.getParent();this._childOfLayoutWidget=_394&&_394.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 _395=_390("> *",this.containerNode).filter(function(node){return node.tagName!=="SCRIPT";}),_396=_395.filter(function(node){return _38d.has(node,"data-dojo-type")||_38d.has(node,"dojoType")||_38d.has(node,"widgetId");}),_397=_38b.filter(_396.map(_391.byNode),function(_398){return _398&&_398.domNode&&_398.resize;});if(_395.length==_396.length&&_397.length==1){this._singleChild=_397[0];}else{delete this._singleChild;}_38e.toggle(this.containerNode,this.baseClass+"SingleChild",!!this._singleChild);},resize:function(_399,_39a){if(!this._wasShown&&this.open!==false){this._onShow();}this._resizeCalled=true;this._scheduleLayout(_399,_39a);},_scheduleLayout:function(_39b,_39c){if(this._isShown()){this._layout(_39b,_39c);}else{this._needLayout=true;this._changeSize=_39b;this._resultSize=_39c;}},_layout:function(_39d,_39e){if(_39d){_38f.setMarginBox(this.domNode,_39d);}var cn=this.containerNode;if(cn===this.domNode){var mb=_39e||{};lang.mixin(mb,_39d||{});if(!("h" in mb)||!("w" in mb)){mb=lang.mixin(_38f.getMarginBox(cn),mb);}this._contentBox=_392.marginBox2contentBox(cn,mb);}else{this._contentBox=_38f.getContentBox(cn);}this._layoutChildren();delete this._needLayout;},_layoutChildren:function(){if(this.doLayout){this._checkIfSingleChild();}if(this._singleChild&&this._singleChild.resize){var cb=this._contentBox||_38f.getContentBox(this.containerNode);this._singleChild.resize({w:cb.w,h:cb.h});}else{_38b.forEach(this.getChildren(),function(_39f){if(_39f.resize){_39f.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,_3a0=this.domNode.parentNode;return (node.style.display!="none")&&(node.style.visibility!="hidden")&&!_38e.contains(node,"dijitHidden")&&_3a0&&_3a0.style&&(_3a0.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(_3a1,i18n,_3a2){return _3a1("dijit.form.RangeBoundTextBox",_3a2,{rangeMessage:"",rangeCheck:function(_3a3,_3a4){return ("min" in _3a4?(this.compare(_3a3,_3a4.min)>=0):true)&&("max" in _3a4?(this.compare(_3a3,_3a4.max)<=0):true);},isInRange:function(){return this.rangeCheck(this.get("value"),this.constraints);},_isDefinitelyOutOfRange:function(){var val=this.get("value");var _3a5=false;var _3a6=false;if("min" in this.constraints){var min=this.constraints.min;min=this.compare(val,((typeof min=="number")&&min>=0&&val!=0)?0:min);_3a5=(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);_3a6=(typeof max=="number")&&max>0;}return _3a5||_3a6;},_isValidSubset:function(){return this.inherited(arguments)&&!this._isDefinitelyOutOfRange();},isValid:function(_3a7){return this.inherited(arguments)&&((this._isEmpty(this.textbox.value)&&!this.required)||this.isInRange(_3a7));},getErrorMessage:function(_3a8){var v=this.get("value");if(v!==null&&v!==""&&v!==undefined&&(typeof v!="number"||!isNaN(v))&&!this.isInRange(_3a8)){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(_3a9){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(_3aa,_3ab){this.focusNode.setAttribute("aria-valuenow",_3aa);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(_3ac,_3ad,_3ae,_3af,dom,_3b0,_3b1,_3b2,_3b3,_3b4,_3b5,_3b6,keys,lang,on,_3b7,_3b8,has,_3b9,_3ba,_3bb,win,_3bc,_3bd,_3be,_3bf,_3c0,_3c1,_3c2){var _3c3=_3ae("dijit._editor.RichText",[_3bc,_3bd],{constructor:function(_3c4){this.contentPreFilters=[];this.contentPostFilters=[];this.contentDomPreFilters=[];this.contentDomPostFilters=[];this.editingAreaStyleSheets=[];this.events=[].concat(this.events);this._keyHandlers={};if(_3c4&&lang.isString(_3c4.value)){this.value=_3c4.value;}this.onLoadDeferred=new _3af();},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);_3b9.publish(_3c2._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 _3c5={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")){_3c5.Z=exec("redo");}var key;for(key in _3c5){this.addKeyHandler(key,true,false,_3c5[key]);}},events:["onKeyPress","onKeyDown","onKeyUp"],captureEvents:[],_editorCommandsLocalized:false,_localizeEditorCommands:function(){if(_3c3._editorCommandsLocalized){this._local2NativeFormatNames=_3c3._local2NativeFormatNames;this._native2LocalFormatNames=_3c3._native2LocalFormatNames;return;}_3c3._editorCommandsLocalized=true;_3c3._local2NativeFormatNames={};_3c3._native2LocalFormatNames={};this._local2NativeFormatNames=_3c3._local2NativeFormatNames;this._native2LocalFormatNames=_3c3._native2LocalFormatNames;var _3c6=["div","p","pre","h1","h2","h3","h4","h5","h6","ol","ul","address"];var _3c7="",_3c8,i=0;while((_3c8=_3c6[i++])){if(_3c8.charAt(1)!=="l"){_3c7+="<"+_3c8+"><span>content</span></"+_3c8+"><br/>";}else{_3c7+="<"+_3c8+"><li>content</li></"+_3c8+"><br/>";}}var _3c9={position:"absolute",top:"0px",zIndex:10,opacity:0.01};var div=_3b2.create("div",{style:_3c9,innerHTML:_3c7});win.body().appendChild(div);var _3ca=lang.hitch(this,function(){var node=div.firstChild;while(node){try{_3be.selectElement(node.firstChild);var _3cb=node.tagName.toLowerCase();this._local2NativeFormatNames[_3cb]=document.queryCommandValue("formatblock");this._native2LocalFormatNames[this._local2NativeFormatNames[_3cb]]=_3cb;node=node.nextSibling.nextSibling;}catch(e){}}div.parentNode.removeChild(div);div.innerHTML="";});setTimeout(_3ca,0);},open:function(_3cc){if(!this.onLoadDeferred||this.onLoadDeferred.fired>=0){this.onLoadDeferred=new _3af();}if(!this.isClosed){this.close();}_3b9.publish(_3c2._scopeName+"._editor.RichText::open",this);if(arguments.length===1&&_3cc.nodeName){this.domNode=_3cc;}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;_3b2.place(dn,ta,"before");var _3cd=lang.hitch(this,function(){_3b4.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(_3cd,10);}else{_3cd();}if(ta.form){var _3ce=ta.value;this.reset=function(){var _3cf=this.getValue();if(_3cf!==_3ce){this.replaceValue(_3ce);}};on(ta.form,"submit",lang.hitch(this,function(){_3b0.set(ta,"disabled",this.disabled);ta.value=this.getValue();}));}}else{html=_3c0.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!==""&&(!_3ad["useXDomain"]||_3ad["allowXdRichTextSave"])){var _3d0=dom.byId(_3c2._scopeName+"._editor.RichText.value");if(_3d0&&_3d0.value!==""){var _3d1=_3d0.value.split(this._SEPARATOR),i=0,dat;while((dat=_3d1[i++])){var data=dat.split(this._NAME_CONTENT_SEP);if(data[0]===this.name){html=data[1];_3d1=_3d1.splice(i,1);_3d0.value=_3d1.join(this._SEPARATOR);break;}}}if(!_3c3._globalSaveHandler){_3c3._globalSaveHandler={};_3ba.addOnUnload(function(){var id;for(id in _3c3._globalSaveHandler){var f=_3c3._globalSaveHandler[id];if(lang.isFunction(f)){f();}}});}_3c3._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 _3d2="parent."+_3c2._scopeName+".byId(\""+this.id+"\")._iframeSrc";var s="javascript:(function(){try{return "+_3d2+"}catch(e){document.open();document.domain=\""+document.domain+"\";document.write("+_3d2+");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";}_3b1.add(this.domNode,this.baseClass);},_local2NativeFormatNames:{},_native2LocalFormatNames:{},_getIframeDocTxt:function(){var _3d3=_3b4.getComputedStyle(this.domNode);var html="";var _3d4=true;if(has("ie")||has("webkit")||(!this.height&&!has("mozilla"))){html="<div id='dijitEditorBody'></div>";_3d4=false;}else{if(has("mozilla")){this._cursorToStart=true;html="&#160;";}}var font=[_3d3.fontWeight,_3d3.fontSize,_3d3.fontFamily].join(" ");var _3d5=_3d3.lineHeight;if(_3d5.indexOf("px")>=0){_3d5=parseFloat(_3d5)/parseFloat(_3d3.fontSize);}else{if(_3d5.indexOf("em")>=0){_3d5=parseFloat(_3d5);}else{_3d5="normal";}}var _3d6="";var self=this;this.style.replace(/(^|;)\s*(line-|font-?)[^;]+/ig,function(_3d7){_3d7=_3d7.replace(/^;/ig,"")+";";var s=_3d7.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;}}_3b4.set(self.domNode,sC,"");}_3d6+=_3d7+";";});var _3d8=_3b7("label[for=\""+this.id+"\"]");return [this.isLeftToRight()?"<html>\n<head>\n":"<html dir='rtl'>\n<head>\n",(has("mozilla")&&_3d8.length?"<title>"+_3d8[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:",_3d5,";\n","\t}\n","\tp{ margin: 1em 0; }\n",(!_3d4&&!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 ",(_3d4?"id='dijitEditorBody' ":""),"onload='frameElement._loadFunc(window,document)' style='"+_3d6+"'>",html,"</body>\n</html>"].join("");},_applyEditingAreaStyleSheets:function(){var _3d9=[];if(this.styleSheets){_3d9=this.styleSheets.split(";");this.styleSheets="";}_3d9=_3d9.concat(this.editingAreaStyleSheets);this.editingAreaStyleSheets=[];var text="",i=0,url;while((url=_3d9[i++])){var _3da=(new _3bb(win.global.location,url)).toString();this.editingAreaStyleSheets.push(_3da);text+="<link rel=\"stylesheet\" type=\"text/css\" href=\""+_3da+"\"/>";}return text;},addStyleSheet:function(uri){var url=uri.toString();if(url.charAt(0)==="."||(url.charAt(0)!=="/"&&!uri.host)){url=(new _3bb(win.global.location,url)).toString();}if(_3ac.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 _3db=this.document.createElement("link");_3db.rel="stylesheet";_3db.type="text/css";_3db.href=url;head.appendChild(_3db);}}));},removeStyleSheet:function(uri){var url=uri.toString();if(url.charAt(0)==="."||(url.charAt(0)!=="/"&&!uri.host)){url=(new _3bb(win.global.location,url)).toString();}var _3dc=_3ac.indexOf(this.editingAreaStyleSheets,url);if(_3dc===-1){return;}delete this.editingAreaStyleSheets[_3dc];win.withGlobal(this.window,"query",dojo,["link:[href=\""+url+"\"]"]).orphan();},disabled:false,_mozSettingProps:{"styleWithCSS":false},_setDisabledAttr:function(_3dd){_3dd=!!_3dd;this._set("disabled",_3dd);if(!this.isLoaded){return;}if(has("ie")||has("webkit")||has("opera")){var _3de=has("ie")&&(this.isLoaded||!this.focusOnLoad);if(_3de){this.editNode.unselectable="on";}this.editNode.contentEditable=!_3dd;if(_3de){var _3df=this;setTimeout(function(){if(_3df.editNode){_3df.editNode.unselectable="off";}},0);}}else{try{this.document.designMode=(_3dd?"off":"on");}catch(e){return;}if(!_3dd&&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=_3c1.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 _3e0=this;if(has("ie")){this.tabStop=_3b2.create("div",{tabIndex:-1},this.editingArea);this.iframe.onfocus=function(){_3e0.editNode.setActive();};}}this.focusNode=this.editNode;var _3e1=this.events.concat(this.captureEvents);var ap=this.iframe?this.document:this.editNode;_3ac.forEach(_3e1,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 _3e2=lang.hitch(this,function(){this.setValue(html);if(this.onLoadDeferred){this.onLoadDeferred.callback(true);}this.onDisplayChanged();if(this.focusOnLoad){_3b8(lang.hitch(this,function(){setTimeout(lang.hitch(this,"focus"),this.updateInterval);}));}this.value=this.getValue(true);});if(this.setValueDeferred){this.setValueDeferred.addCallback(_3e2);}else{_3e2();}},onKeyDown:function(e){if(e.keyCode===keys.TAB&&this.isTabIndent){_3b5.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"){_3b5.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(_3e3){_3b6.deprecated("dijit.Editor::setDisabled is deprecated","use dijit.Editor::attr(\"disabled\",boolean) instead",2);this.set("disabled",_3e3);},_setValueAttr:function(_3e4){this.setValue(_3e4);},_setDisableSpellCheckAttr:function(_3e5){if(this.document){_3b0.set(this.document.body,"spellcheck",!_3e5);}else{this.onLoadDeferred.addCallback(lang.hitch(this,function(){_3b0.set(this.document.body,"spellcheck",!_3e5);}));}this._set("disableSpellCheck",_3e5);},onKeyPress:function(e){var c=(e.keyChar&&e.keyChar.toLowerCase())||e.keyCode,_3e6=this._keyHandlers[c],args=arguments;if(_3e6&&!e.altKey){_3ac.some(_3e6,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,_3e7,_3e8){if(!lang.isArray(this._keyHandlers[key])){this._keyHandlers[key]=[];}this._keyHandlers[key].push({shift:_3e7||false,ctrl:ctrl||false,handler:_3e8});},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 _3e9=this.getValue(true);if(_3e9!==this.value){this.onChange(_3e9);}this._set("value",_3e9);},_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")){_3c1.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,_3ea){var _3eb=cmd.toLowerCase();if(_3eb==="formatblock"){if(has("safari")&&_3ea===undefined){_3eb="heading";}}else{if(_3eb==="hilitecolor"&&!has("mozilla")){_3eb="backcolor";}}return _3eb;},_qcaCache:{},queryCommandAvailable:function(_3ec){var ca=this._qcaCache[_3ec];if(ca!==undefined){return ca;}return (this._qcaCache[_3ec]=this._queryCommandAvailable(_3ec));},_queryCommandAvailable:function(_3ed){var ie=1;var _3ee=1<<1;var _3ef=1<<2;var _3f0=1<<3;function _3f1(_3f2){return {ie:Boolean(_3f2&ie),mozilla:Boolean(_3f2&_3ee),webkit:Boolean(_3f2&_3ef),opera:Boolean(_3f2&_3f0)};};var _3f3=null;switch(_3ed.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":_3f3=_3f1(_3ee|ie|_3ef|_3f0);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":_3f3=_3f1(_3ee|ie|_3f0|_3ef);break;case "blockdirltr":case "blockdirrtl":case "dirltr":case "dirrtl":case "inlinedirltr":case "inlinedirrtl":_3f3=_3f1(ie);break;case "cut":case "copy":case "paste":_3f3=_3f1(ie|_3ee|_3ef);break;case "inserttable":_3f3=_3f1(_3ee|ie);break;case "insertcell":case "insertcol":case "insertrow":case "deletecells":case "deletecols":case "deleterows":case "mergecells":case "splitcell":_3f3=_3f1(ie|_3ee);break;default:return false;}return (has("ie")&&_3f3.ie)||(has("mozilla")&&_3f3.mozilla)||(has("webkit")&&_3f3.webkit)||(has("opera")&&_3f3.opera);},execCommand:function(_3f4,_3f5){var _3f6;this.focus();_3f4=this._normalizeCommand(_3f4,_3f5);if(_3f5!==undefined){if(_3f4==="heading"){throw new Error("unimplemented");}else{if((_3f4==="formatblock")&&has("ie")){_3f5="<"+_3f5+">";}}}var _3f7="_"+_3f4+"Impl";if(this[_3f7]){_3f6=this[_3f7](_3f5);}else{_3f5=arguments.length>1?_3f5:null;if(_3f5||_3f4!=="createlink"){_3f6=this.document.execCommand(_3f4,false,_3f5);}}this.onDisplayChanged();return _3f6;},queryCommandEnabled:function(_3f8){if(this.disabled||!this._disabledOK){return false;}_3f8=this._normalizeCommand(_3f8);var _3f9="_"+_3f8+"EnabledImpl";if(this[_3f9]){return this[_3f9](_3f8);}else{return this._browserQueryCommandEnabled(_3f8);}},queryCommandState:function(_3fa){if(this.disabled||!this._disabledOK){return false;}_3fa=this._normalizeCommand(_3fa);try{return this.document.queryCommandState(_3fa);}catch(e){return false;}},queryCommandValue:function(_3fb){if(this.disabled||!this._disabledOK){return false;}var r;_3fb=this._normalizeCommand(_3fb);if(has("ie")&&_3fb==="formatblock"){r=this._native2LocalFormatNames[this.document.queryCommandValue(_3fb)];}else{if(has("mozilla")&&_3fb==="hilitecolor"){var _3fc;try{_3fc=this.document.queryCommandValue("styleWithCSS");}catch(e){_3fc=false;}this.document.execCommand("styleWithCSS",false,true);r=this.document.queryCommandValue(_3fb);this.document.execCommand("styleWithCSS",false,_3fc);}else{r=this.document.queryCommandValue(_3fb);}}return r;},_sCall:function(name,args){return win.withGlobal(this.window,name,_3be,args);},placeCursorAtStart:function(){this.focus();var _3fd=false;if(has("mozilla")){var _3fe=this.editNode.firstChild;while(_3fe){if(_3fe.nodeType===3){if(_3fe.nodeValue.replace(/^\s+|\s+$/g,"").length>0){_3fd=true;this._sCall("selectElement",[_3fe]);break;}}else{if(_3fe.nodeType===1){_3fd=true;var tg=_3fe.tagName?_3fe.tagName.toLowerCase():"";if(/br|input|img|base|meta|area|basefont|hr|link/.test(tg)){this._sCall("selectElement",[_3fe]);}else{this._sCall("selectElementChildren",[_3fe]);}break;}}_3fe=_3fe.nextSibling;}}else{_3fd=true;this._sCall("selectElementChildren",[this.editNode]);}if(_3fd){this._sCall("collapse",[true]);}},placeCursorAtEnd:function(){this.focus();var _3ff=false;if(has("mozilla")){var last=this.editNode.lastChild;while(last){if(last.nodeType===3){if(last.nodeValue.replace(/^\s+|\s+$/g,"").length>0){_3ff=true;this._sCall("selectElement",[last]);break;}}else{if(last.nodeType===1){_3ff=true;if(last.lastChild){this._sCall("selectElement",[last.lastChild]);}else{this._sCall("selectElement",[last]);}break;}}last=last.previousSibling;}}else{_3ff=true;this._sCall("selectElementChildren",[this.editNode]);}if(_3ff){this._sCall("collapse",[false]);}},getValue:function(_400){if(this.textarea){if(this.isClosed||!this.isLoaded){return this.textarea.value;}}return this._postFilterContent(null,_400);},_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;_3ac.forEach(this.contentPreFilters,function(ef){if(ef){ec=ef(ec);}});return ec;},_preDomFilterContent:function(dom){dom=dom||this.editNode;_3ac.forEach(this.contentDomPreFilters,function(ef){if(ef&&lang.isFunction(ef)){ef(dom);}},this);},_postFilterContent:function(dom,_401){var ec;if(!lang.isString(dom)){dom=dom||this.editNode;if(this.contentDomPostFilters.length){if(_401){dom=lang.clone(dom);}_3ac.forEach(this.contentDomPostFilters,function(ef){dom=ef(dom);});}ec=_3c0.getChildrenHtml(dom);}else{ec=dom;}if(!lang.trim(ec.replace(/^\xA0\xA0*/,"").replace(/\xA0\xA0*$/,"")).length){ec="";}_3ac.forEach(this.contentPostFilters,function(ef){ec=ef(ec);});return ec;},_saveContent:function(){var _402=dom.byId(_3c2._scopeName+"._editor.RichText.value");if(_402){if(_402.value){_402.value+=this._SEPARATOR;}_402.value+=this.name+this._NAME_CONTENT_SEP+this.getValue(true);}},escapeXml:function(str,_403){str=str.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;");if(!_403){str=str.replace(/'/gm,"&#39;");}return str;},getNodeHtml:function(node){_3b6.deprecated("dijit.Editor::getNodeHtml is deprecated","use dijit/_editor/html::getNodeHtml instead",2);return _3c0.getNodeHtml(node);},getNodeChildrenHtml:function(dom){_3b6.deprecated("dijit.Editor::getNodeChildrenHtml is deprecated","use dijit/_editor/html::getChildrenHtml instead",2);return _3c0.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;_3b2.destroy(this.domNode);this.domNode=this.textarea;}else{this.domNode.innerHTML=this.value;}delete this.iframe;_3b1.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(_3c3._globalSaveHandler){delete _3c3._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(_404){if(!_404){return false;}var elem=has("ie")?this.document.selection.createRange():this.document;try{return elem.queryCommandEnabled(_404);}catch(e){return false;}},_createlinkEnabledImpl:function(){var _405=true;if(has("opera")){var sel=this.window.getSelection();if(sel.isCollapsed){_405=true;}else{_405=this.document.queryCommandEnabled("createlink");}}else{_405=this._browserQueryCommandEnabled("createlink");}return _405;},_unlinkEnabledImpl:function(){var _406=true;if(has("mozilla")||has("webkit")){_406=this._sCall("hasAncestorElement",["a"]);}else{_406=this._browserQueryCommandEnabled("unlink");}return _406;},_inserttableEnabledImpl:function(){var _407=true;if(has("mozilla")||has("webkit")){_407=true;}else{_407=this._browserQueryCommandEnabled("inserttable");}return _407;},_cutEnabledImpl:function(){var _408=true;if(has("webkit")){var sel=this.window.getSelection();if(sel){sel=sel.toString();}_408=!!sel;}else{_408=this._browserQueryCommandEnabled("cut");}return _408;},_copyEnabledImpl:function(){var _409=true;if(has("webkit")){var sel=this.window.getSelection();if(sel){sel=sel.toString();}_409=!!sel;}else{_409=this._browserQueryCommandEnabled("copy");}return _409;},_pasteEnabledImpl:function(){var _40a=true;if(has("webkit")){return true;}else{_40a=this._browserQueryCommandEnabled("paste");}return _40a;},_inserthorizontalruleImpl:function(_40b){if(has("ie")){return this._inserthtmlImpl("<hr>");}return this.document.execCommand("inserthorizontalrule",false,_40b);},_unlinkImpl:function(_40c){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,_40c);},_hilitecolorImpl:function(_40d){var _40e;var _40f=this._handleTextColorOrProperties("hilitecolor",_40d);if(!_40f){if(has("mozilla")){this.document.execCommand("styleWithCSS",false,true);_40e=this.document.execCommand("hilitecolor",false,_40d);this.document.execCommand("styleWithCSS",false,false);}else{_40e=this.document.execCommand("hilitecolor",false,_40d);}}return _40e;},_backcolorImpl:function(_410){if(has("ie")){_410=_410?_410:null;}var _411=this._handleTextColorOrProperties("backcolor",_410);if(!_411){_411=this.document.execCommand("backcolor",false,_410);}return _411;},_forecolorImpl:function(_412){if(has("ie")){_412=_412?_412:null;}var _413=false;_413=this._handleTextColorOrProperties("forecolor",_412);if(!_413){_413=this.document.execCommand("forecolor",false,_412);}return _413;},_inserthtmlImpl:function(_414){_414=this._preFilterContent(_414);var rv=true;if(has("ie")){var _415=this.document.selection.createRange();if(this.document.selection.type.toUpperCase()==="CONTROL"){var n=_415.item(0);while(_415.length){_415.remove(_415.item(0));}n.outerHTML=_414;}else{_415.pasteHTML(_414);}_415.select();}else{if(has("mozilla")&&!_414.length){this._sCall("remove");}else{rv=this.document.execCommand("inserthtml",false,_414);}}return rv;},_boldImpl:function(_416){var _417=false;if(has("ie")){this._adaptIESelection();_417=this._adaptIEFormatAreaAndExec("bold");}if(!_417){_417=this.document.execCommand("bold",false,_416);}return _417;},_italicImpl:function(_418){var _419=false;if(has("ie")){this._adaptIESelection();_419=this._adaptIEFormatAreaAndExec("italic");}if(!_419){_419=this.document.execCommand("italic",false,_418);}return _419;},_underlineImpl:function(_41a){var _41b=false;if(has("ie")){this._adaptIESelection();_41b=this._adaptIEFormatAreaAndExec("underline");}if(!_41b){_41b=this.document.execCommand("underline",false,_41a);}return _41b;},_strikethroughImpl:function(_41c){var _41d=false;if(has("ie")){this._adaptIESelection();_41d=this._adaptIEFormatAreaAndExec("strikethrough");}if(!_41d){_41d=this.document.execCommand("strikethrough",false,_41c);}return _41d;},_superscriptImpl:function(_41e){var _41f=false;if(has("ie")){this._adaptIESelection();_41f=this._adaptIEFormatAreaAndExec("superscript");}if(!_41f){_41f=this.document.execCommand("superscript",false,_41e);}return _41f;},_subscriptImpl:function(_420){var _421=false;if(has("ie")){this._adaptIESelection();_421=this._adaptIEFormatAreaAndExec("subscript");}if(!_421){_421=this.document.execCommand("subscript",false,_420);}return _421;},_fontnameImpl:function(_422){var _423;if(has("ie")){_423=this._handleTextColorOrProperties("fontname",_422);}if(!_423){_423=this.document.execCommand("fontname",false,_422);}return _423;},_fontsizeImpl:function(_424){var _425;if(has("ie")){_425=this._handleTextColorOrProperties("fontsize",_424);}if(!_425){_425=this.document.execCommand("fontsize",false,_424);}return _425;},_insertorderedlistImpl:function(_426){var _427=false;if(has("ie")){_427=this._adaptIEList("insertorderedlist",_426);}if(!_427){_427=this.document.execCommand("insertorderedlist",false,_426);}return _427;},_insertunorderedlistImpl:function(_428){var _429=false;if(has("ie")){_429=this._adaptIEList("insertunorderedlist",_428);}if(!_429){_429=this.document.execCommand("insertunorderedlist",false,_428);}return _429;},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=_3b3.position(node.childNodes[i]);h+=size.h;}}return h;},_isNodeEmpty:function(node,_42a){if(node.nodeType===1){if(node.childNodes.length>0){return this._isNodeEmpty(node.childNodes[0],_42a);}return true;}else{if(node.nodeType===3){return (node.nodeValue.substring(_42a)==="");}}return false;},_removeStartingRangeFromRange:function(node,_42b){if(node.nextSibling){_42b.setStart(node.nextSibling,0);}else{var _42c=node.parentNode;while(_42c&&_42c.nextSibling==null){_42c=_42c.parentNode;}if(_42c){_42b.setStart(_42c.nextSibling,0);}}return _42b;},_adaptIESelection:function(){var _42d=_3bf.getSelection(this.window);if(_42d&&_42d.rangeCount&&!_42d.isCollapsed){var _42e=_42d.getRangeAt(0);var _42f=_42e.startContainer;var _430=_42e.startOffset;while(_42f.nodeType===3&&_430>=_42f.length&&_42f.nextSibling){_430=_430-_42f.length;_42f=_42f.nextSibling;}var _431=null;while(this._isNodeEmpty(_42f,_430)&&_42f!==_431){_431=_42f;_42e=this._removeStartingRangeFromRange(_42f,_42e);_42f=_42e.startContainer;_430=0;}_42d.removeAllRanges();_42d.addRange(_42e);}},_adaptIEFormatAreaAndExec:function(_432){var _433=_3bf.getSelection(this.window);var doc=this.document;var rs,ret,_434,txt,_435,_436,_437,_438;if(_432&&_433&&_433.isCollapsed){var _439=this.queryCommandValue(_432);if(_439){var _43a=this._tagNamesForCommand(_432);_434=_433.getRangeAt(0);var fs=_434.startContainer;if(fs.nodeType===3){var _43b=_434.endOffset;if(fs.length<_43b){ret=this._adjustNodeAndOffset(rs,_43b);fs=ret.node;_43b=ret.offset;}}var _43c;while(fs&&fs!==this.editNode){var _43d=fs.tagName?fs.tagName.toLowerCase():"";if(_3ac.indexOf(_43a,_43d)>-1){_43c=fs;break;}fs=fs.parentNode;}if(_43c){rs=_434.startContainer;var _43e=doc.createElement(_43c.tagName);_3b2.place(_43e,_43c,"after");if(rs&&rs.nodeType===3){var _43f,_440;var _441=_434.endOffset;if(rs.length<_441){ret=this._adjustNodeAndOffset(rs,_441);rs=ret.node;_441=ret.offset;}txt=rs.nodeValue;_435=doc.createTextNode(txt.substring(0,_441));var _442=txt.substring(_441,txt.length);if(_442){_436=doc.createTextNode(_442);}_3b2.place(_435,rs,"before");if(_436){_437=doc.createElement("span");_437.className="ieFormatBreakerSpan";_3b2.place(_437,rs,"after");_3b2.place(_436,_437,"after");_436=_437;}_3b2.destroy(rs);var _443=_435.parentNode;var _444=[];var _445;while(_443!==_43c){var tg=_443.tagName;_445={tagName:tg};_444.push(_445);var _446=doc.createElement(tg);if(_443.style){if(_446.style){if(_443.style.cssText){_446.style.cssText=_443.style.cssText;_445.cssText=_443.style.cssText;}}}if(_443.tagName==="FONT"){if(_443.color){_446.color=_443.color;_445.color=_443.color;}if(_443.face){_446.face=_443.face;_445.face=_443.face;}if(_443.size){_446.size=_443.size;_445.size=_443.size;}}if(_443.className){_446.className=_443.className;_445.className=_443.className;}if(_436){_43f=_436;while(_43f){_440=_43f.nextSibling;_446.appendChild(_43f);_43f=_440;}}if(_446.tagName==_443.tagName){_437=doc.createElement("span");_437.className="ieFormatBreakerSpan";_3b2.place(_437,_443,"after");_3b2.place(_446,_437,"after");}else{_3b2.place(_446,_443,"after");}_435=_443;_436=_446;_443=_443.parentNode;}if(_436){_43f=_436;if(_43f.nodeType===1||(_43f.nodeType===3&&_43f.nodeValue)){_43e.innerHTML="";}while(_43f){_440=_43f.nextSibling;_43e.appendChild(_43f);_43f=_440;}}if(_444.length){_445=_444.pop();var _447=doc.createElement(_445.tagName);if(_445.cssText&&_447.style){_447.style.cssText=_445.cssText;}if(_445.className){_447.className=_445.className;}if(_445.tagName==="FONT"){if(_445.color){_447.color=_445.color;}if(_445.face){_447.face=_445.face;}if(_445.size){_447.size=_445.size;}}_3b2.place(_447,_43e,"before");while(_444.length){_445=_444.pop();var _448=doc.createElement(_445.tagName);if(_445.cssText&&_448.style){_448.style.cssText=_445.cssText;}if(_445.className){_448.className=_445.className;}if(_445.tagName==="FONT"){if(_445.color){_448.color=_445.color;}if(_445.face){_448.face=_445.face;}if(_445.size){_448.size=_445.size;}}_447.appendChild(_448);_447=_448;}_438=doc.createTextNode(".");_437.appendChild(_438);_447.appendChild(_438);win.withGlobal(this.window,lang.hitch(this,function(){var _449=_3bf.create();_449.setStart(_438,0);_449.setEnd(_438,_438.length);_433.removeAllRanges();_433.addRange(_449);_3be.collapse(false);_438.parentNode.innerHTML="";}));}else{_437=doc.createElement("span");_437.className="ieFormatBreakerSpan";_438=doc.createTextNode(".");_437.appendChild(_438);_3b2.place(_437,_43e,"before");win.withGlobal(this.window,lang.hitch(this,function(){var _44a=_3bf.create();_44a.setStart(_438,0);_44a.setEnd(_438,_438.length);_433.removeAllRanges();_433.addRange(_44a);_3be.collapse(false);_438.parentNode.innerHTML="";}));}if(!_43e.firstChild){_3b2.destroy(_43e);}return true;}}return false;}else{_434=_433.getRangeAt(0);rs=_434.startContainer;if(rs&&rs.nodeType===3){win.withGlobal(this.window,lang.hitch(this,function(){var _44b=_434.startOffset;if(rs.length<_44b){ret=this._adjustNodeAndOffset(rs,_44b);rs=ret.node;_44b=ret.offset;}txt=rs.nodeValue;_435=doc.createTextNode(txt.substring(0,_44b));var _44c=txt.substring(_44b);if(_44c!==""){_436=doc.createTextNode(txt.substring(_44b));}_437=doc.createElement("span");_438=doc.createTextNode(".");_437.appendChild(_438);if(_435.length){_3b2.place(_435,rs,"after");}else{_435=rs;}_3b2.place(_437,_435,"after");if(_436){_3b2.place(_436,_437,"after");}_3b2.destroy(rs);var _44d=_3bf.create();_44d.setStart(_438,0);_44d.setEnd(_438,_438.length);_433.removeAllRanges();_433.addRange(_44d);doc.execCommand(_432);_3b2.place(_437.firstChild,_437,"before");_3b2.destroy(_437);_44d.setStart(_438,0);_44d.setEnd(_438,_438.length);_433.removeAllRanges();_433.addRange(_44d);_3be.collapse(false);_438.parentNode.innerHTML="";}));return true;}}}else{return false;}},_adaptIEList:function(_44e){var _44f=_3bf.getSelection(this.window);if(_44f.isCollapsed){if(_44f.rangeCount&&!this.queryCommandValue(_44e)){var _450=_44f.getRangeAt(0);var sc=_450.startContainer;if(sc&&sc.nodeType==3){if(!_450.startOffset){win.withGlobal(this.window,lang.hitch(this,function(){var _451="ul";if(_44e==="insertorderedlist"){_451="ol";}var list=_3b2.create(_451);var li=_3b2.create("li",null,list);_3b2.place(list,sc,"before");li.appendChild(sc);_3b2.create("br",null,list,"after");var _452=_3bf.create();_452.setStart(sc,0);_452.setEnd(sc,sc.length);_44f.removeAllRanges();_44f.addRange(_452);_3be.collapse(true);}));return true;}}}}return false;},_handleTextColorOrProperties:function(_453,_454){var _455=_3bf.getSelection(this.window);var doc=this.document;var rs,ret,_456,txt,_457,_458,_459,_45a;_454=_454||null;if(_453&&_455&&_455.isCollapsed){if(_455.rangeCount){_456=_455.getRangeAt(0);rs=_456.startContainer;if(rs&&rs.nodeType===3){win.withGlobal(this.window,lang.hitch(this,function(){var _45b=_456.startOffset;if(rs.length<_45b){ret=this._adjustNodeAndOffset(rs,_45b);rs=ret.node;_45b=ret.offset;}txt=rs.nodeValue;_457=doc.createTextNode(txt.substring(0,_45b));var _45c=txt.substring(_45b);if(_45c!==""){_458=doc.createTextNode(txt.substring(_45b));}_459=_3b2.create("span");_45a=doc.createTextNode(".");_459.appendChild(_45a);var _45d=_3b2.create("span");_459.appendChild(_45d);if(_457.length){_3b2.place(_457,rs,"after");}else{_457=rs;}_3b2.place(_459,_457,"after");if(_458){_3b2.place(_458,_459,"after");}_3b2.destroy(rs);var _45e=_3bf.create();_45e.setStart(_45a,0);_45e.setEnd(_45a,_45a.length);_455.removeAllRanges();_455.addRange(_45e);if(has("webkit")){var _45f="color";if(_453==="hilitecolor"||_453==="backcolor"){_45f="backgroundColor";}_3b4.set(_459,_45f,_454);_3be.remove();_3b2.destroy(_45d);_459.innerHTML="&#160;";_3be.selectElement(_459);this.focus();}else{this.execCommand(_453,_454);_3b2.place(_459.firstChild,_459,"before");_3b2.destroy(_459);_45e.setStart(_45a,0);_45e.setEnd(_45a,_45a.length);_455.removeAllRanges();_455.addRange(_45e);_3be.collapse(false);_45a.parentNode.removeChild(_45a);}}));return true;}}}return false;},_adjustNodeAndOffset:function(node,_460){while(node.length<_460&&node.nextSibling&&node.nextSibling.nodeType===3){_460=_460-node.length;node=node.nextSibling;}return {"node":node,"offset":_460};},_tagNamesForCommand:function(_461){if(_461==="bold"){return ["b","strong"];}else{if(_461==="italic"){return ["i","em"];}else{if(_461==="strikethrough"){return ["s","strike"];}else{if(_461==="superscript"){return ["sup"];}else{if(_461==="subscript"){return ["sub"];}else{if(_461==="underline"){return ["u"];}}}}}}return [];},_stripBreakerNodes:function(node){win.withGlobal(this.window,lang.hitch(this,function(){var _462=_3b7(".ieFormatBreakerSpan",node);var i;for(i=0;i<_462.length;i++){var b=_462[i];while(b.firstChild){_3b2.place(b.firstChild,b,"before");}_3b2.destroy(b);}}));return node;}});return _3c3;});},"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,"hr":true,"he":true,"fr":true,"fi":true,"es":true,"el":true,"de":true,"da":true,"cs":true,"ca":true,"az":true,"ar":true});},"dojo/dnd/Moveable":function(){define(["../main","../Evented","../touch","./Mover"],function(dojo,_463,_464){dojo.declare("dojo.dnd.Moveable",[_463],{handle:"",delay:0,skip:false,constructor:function(node,_465){this.node=dojo.byId(node);if(!_465){_465={};}this.handle=_465.handle?dojo.byId(_465.handle):null;if(!this.handle){this.handle=this.node;}this.delay=_465.delay>0?_465.delay:0;this.skip=_465.skip;this.mover=_465.mover?_465.mover:dojo.dnd.Mover;this.events=[dojo.connect(this.handle,_464.press,this,"onMouseDown"),dojo.connect(this.handle,"ondragstart",this,"onSelectStart"),dojo.connect(this.handle,"onselectstart",this,"onSelectStart")];},markupFactory:function(_466,node,ctor){return new ctor(node,_466);},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,_464.move,this,"onMouseMove"),dojo.connect(this.handle,_464.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(_467){dojo.publish("/dnd/move/start",[_467]);dojo.addClass(dojo.body(),"dojoMove");dojo.addClass(this.node,"dojoMoveItem");},onMoveStop:function(_468){dojo.publish("/dnd/move/stop",[_468]);dojo.removeClass(dojo.body(),"dojoMove");dojo.removeClass(this.node,"dojoMoveItem");},onFirstMove:function(_469,e){},onMove:function(_46a,_46b,e){this.onMoving(_46a,_46b);var s=_46a.node.style;s.left=_46b.l+"px";s.top=_46b.t+"px";this.onMoved(_46a,_46b);},onMoving:function(_46c,_46d){},onMoved:function(_46e,_46f){}});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(_470,_471,_472,keys,lang,_473,_474,_475,_476,_477,_478,_479){return _470("dijit.TooltipDialog",[_474,_477,_476,_475],{title:"",doLayout:false,autofocus:true,baseClass:"dijitTooltipDialog",_firstFocusItem:null,_lastFocusItem:null,templateString:_478,_setTitleAttr:function(_47a){this.containerNode.title=_47a;this._set("title",_47a);},postCreate:function(){this.inherited(arguments);this.connect(this.containerNode,"onkeypress","_onKey");},orient:function(node,_47b,_47c){var newC="dijitTooltipAB"+(_47c.charAt(1)=="L"?"Left":"Right")+" dijitTooltip"+(_47c.charAt(0)=="T"?"Below":"Above");_471.replace(this.domNode,newC,this._currentOrientClass||"");this._currentOrientClass=newC;},focus:function(){this._getFocusItems(this.containerNode);_473.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 _47d=(this._firstFocusItem==this._lastFocusItem);if(evt.charOrCode==keys.ESCAPE){setTimeout(lang.hitch(this,"onCancel"),0);_472.stop(evt);}else{if(node==this._firstFocusItem&&evt.shiftKey&&evt.charOrCode===keys.TAB){if(!_47d){_473.focus(this._lastFocusItem);}_472.stop(evt);}else{if(node==this._lastFocusItem&&evt.charOrCode===keys.TAB&&!evt.shiftKey){if(!_47d){_473.focus(this._firstFocusItem);}_472.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,"hr":true,"he":true,"fr":true,"fi":true,"es":true,"el":true,"de":true,"da":true,"cs":true,"ca":true,"az":true,"ar":true});},"dojo/store/util/SimpleQueryEngine":function(){define(["../../_base/array"],function(_47e){return function(_47f,_480){switch(typeof _47f){default:throw new Error("Can not query with a "+typeof _47f);case "object":case "undefined":var _481=_47f;_47f=function(_482){for(var key in _481){var _483=_481[key];if(_483&&_483.test){if(!_483.test(_482[key])){return false;}}else{if(_483!=_482[key]){return false;}}}return true;};break;case "string":if(!this[_47f]){throw new Error("No filter function "+_47f+" was found in store");}_47f=this[_47f];case "function":}function _484(_485){var _486=_47e.filter(_485,_47f);if(_480&&_480.sort){_486.sort(function(a,b){for(var sort,i=0;sort=_480.sort[i];i++){var _487=a[sort.attribute];var _488=b[sort.attribute];if(_487!=_488){return !!sort.descending==_487>_488?-1:1;}}return 0;});}if(_480&&(_480.start||_480.count)){var _489=_486.length;_486=_486.slice(_480.start||0,(_480.start||0)+(_480.count||Infinity));_486.total=_489;}return _486;};_484.matches=_47f;return _484;};});},"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(_48a,_48b,lang,win){var _48c;return _48a("dijit.form._ExpandingTextAreaMixin",null,{_setValueAttr:function(){this.inherited(arguments);this.resize();},postCreate:function(){this.inherited(arguments);var _48d=this.textbox;if(_48c==undefined){var te=_48b.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");_48c=te.scrollHeight>=te.clientHeight;win.body().removeChild(te);}this.connect(_48d,"onscroll","_resizeLater");this.connect(_48d,"onresize","_resizeLater");this.connect(_48d,"onfocus","_resizeLater");_48d.style.overflowY="hidden";this._estimateHeight();this._resizeLater();},_onInput:function(e){this.inherited(arguments);this.resize();},_estimateHeight:function(){var _48e=this.textbox;_48e.style.height="auto";_48e.rows=(_48e.value.match(/\n/g)||[]).length+2;},_resizeLater:function(){setTimeout(lang.hitch(this,"resize"),0);},resize:function(){function _48f(){var _490=false;if(_491.value===""){_491.value=" ";_490=true;}var sh=_491.scrollHeight;if(_490){_491.value="";}return sh;};var _491=this.textbox;if(_491.style.overflowY=="hidden"){_491.scrollTop=0;}if(this.resizeTimer){clearTimeout(this.resizeTimer);}this.resizeTimer=null;if(this.busyResizing){return;}this.busyResizing=true;if(_48f()||_491.offsetHeight){var _492=_491.style.height;if(!(/px/.test(_492))){_492=_48f();_491.rows=1;_491.style.height=_492+"px";}var newH=Math.max(parseInt(_492)-_491.clientHeight,0)+_48f();var _493=newH+"px";if(_493!=_491.style.height){_491.rows=1;_491.style.height=_493;}if(_48c){var _494=_48f();_491.style.height="auto";if(_48f()<_494){_493=newH-_494+_48f()+"px";}_491.style.height=_493;}_491.style.overflowY=_48f()>_491.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(_495,dom,_496,_497,_498,_499,has,_49a,_49b,_49c,_49d,_49e){return _495("dijit.MenuItem",[_49a,_49b,_49c,_49d],{templateString:_49e,baseClass:"dijitMenuItem",label:"",_setLabelAttr:{node:"containerNode",type:"innerHTML"},iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},accelKey:"",disabled:false,_fillContent:function(_49f){if(_49f&&!("label" in this.params)){this.set("label",_49f.innerHTML);}},buildRendering:function(){this.inherited(arguments);var _4a0=this.id+"_text";_496.set(this.containerNode,"id",_4a0);if(this.accelKeyNode){_496.set(this.accelKeyNode,"id",this.id+"_accel");_4a0+=" "+this.id+"_accel";}this.domNode.setAttribute("aria-labelledby",_4a0);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);_498.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(_4a1){_497.toggle(this.domNode,"dijitMenuItemSelected",_4a1);},setLabel:function(_4a2){_499.deprecated("dijit.MenuItem.setLabel() is deprecated.  Use set('label', ...) instead.","","2.0");this.set("label",_4a2);},setDisabled:function(_4a3){_499.deprecated("dijit.Menu.setDisabled() is deprecated.  Use set('disabled', bool) instead.","","2.0");this.set("disabled",_4a3);},_setDisabledAttr:function(_4a4){this.focusNode.setAttribute("aria-disabled",_4a4?"true":"false");this._set("disabled",_4a4);},_setAccelKeyAttr:function(_4a5){this.accelKeyNode.style.display=_4a5?"":"none";this.accelKeyNode.innerHTML=_4a5;_496.set(this.containerNode,"colSpan",_4a5?"1":"2");this._set("accelKey",_4a5);}});});},"dijit/MenuBarItem":function(){define(["dojo/_base/declare","./MenuItem","dojo/text!./templates/MenuBarItem.html"],function(_4a6,_4a7,_4a8){var _4a9=_4a6("dijit._MenuBarItemMixin",null,{templateString:_4a8,_setIconClassAttr:null});var _4aa=_4a6("dijit.MenuBarItem",[_4a7,_4a9],{});_4aa._MenuBarItemMixin=_4a9;return _4aa;});},"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(_4ab,dom,_4ac,_4ad,i18n,lang,_4ae,Menu,_4af,_4b0){var _4b1=_4ab("dijit.layout._TabButton",_4ae.StackButton,{baseClass:"dijitTab",cssStateNodes:{closeNode:"dijitTabCloseButton"},templateString:_4b0,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);_4ad.toggle(this.innerDiv,"dijitClosable",disp);this.closeNode.style.display=disp?"":"none";if(disp){var _4b2=i18n.getLocalization("dijit","common");if(this.closeNode){_4ac.set(this.closeNode,"title",_4b2.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 _4af({label:_4b2.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(_4b3){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 _4b4=_4ab("dijit.layout.TabController",_4ae,{baseClass:"dijitTabController",templateString:"<div role='tablist' data-dojo-attach-event='onkeypress:onkeypress'></div>",tabPosition:"top",buttonWidget:_4b1,_rectifyRtlTabList:function(){if(0>=this.tabPosition.indexOf("-h")){return;}if(!this.pane2button){return;}var _4b5=0;for(var pane in this.pane2button){var ow=this.pane2button[pane].innerDiv.scrollWidth;_4b5=Math.max(_4b5,ow);}for(pane in this.pane2button){this.pane2button[pane].innerDiv.style.width=_4b5+"px";}}});_4b4.TabButton=_4b1;return _4b4;});},"dojo/cldr/supplemental":function(){define(["../_base/kernel","../_base/lang","../i18n"],function(dojo,lang){lang.getObject("cldr.supplemental",true,dojo);dojo.cldr.supplemental.getFirstDayOfWeek=function(_4b6){var _4b7={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 _4b8=dojo.cldr.supplemental._region(_4b6);var dow=_4b7[_4b8];return (dow===undefined)?1:dow;};dojo.cldr.supplemental._region=function(_4b9){_4b9=dojo.i18n.normalizeLocale(_4b9);var tags=_4b9.split("-");var _4ba=tags[1];if(!_4ba){_4ba={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(_4ba.length==4){_4ba=tags[2];}}return _4ba;};dojo.cldr.supplemental.getWeekend=function(_4bb){var _4bc={"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 _4bd={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 _4be=dojo.cldr.supplemental._region(_4bb);var _4bf=_4bc[_4be];var end=_4bd[_4be];if(_4bf===undefined){_4bf=6;}if(end===undefined){end=0;}return {start:_4bf,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(_4c0,_4c1,keys,_4c2,_4c3){return _4c0("dijit.MenuBar",_4c2,{templateString:_4c3,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 _4c4=this.focusedChild,_4c5=_4c4&&_4c4.popup&&_4c4.popup.isShowingNow;this.inherited(arguments);if(_4c5&&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);_4c1.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(_4c6,dom,_4c7,_4c8){return _4c6("dijit.ToolbarSeparator",[_4c7,_4c8],{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(_4c9,_4ca,_4cb,keys,lang,has,_4cc,_4cd,_4ce,_4cf,_4d0,_4d1){var _4d2=_4ca("dijit.layout._StackButton",_4d1,{tabIndex:"-1",closeButton:false,_setCheckedAttr:function(_4d3,_4d4){this.inherited(arguments);this.focusNode.removeAttribute("aria-pressed");},buildRendering:function(evt){this.inherited(arguments);(this.focusNode||this.domNode).setAttribute("role","tab");},onClick:function(){_4cc.focus(this.focusNode);},onClickCloseButton:function(evt){evt.stopPropagation();}});var _4d5=_4ca("dijit.layout.StackController",[_4ce,_4cf,_4d0],{baseClass:"dijitStackController",templateString:"<span role='tablist' data-dojo-attach-event='onkeypress'></span>",containerId:"",buttonWidget:_4d2,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){_4c9.forEach(info.children,this.onAddChild,this);if(info.selected){this.onSelectChild(info.selected);}},destroy:function(){for(var pane in this.pane2button){this.onRemoveChild(_4cd.byId(pane));}this.inherited(arguments);},onAddChild:function(page,_4d6){var cls=lang.isString(this.buttonWidget)?lang.getObject(this.buttonWidget):this.buttonWidget;var _4d7=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});_4d7.focusNode.setAttribute("aria-selected","false");var _4d8=["title","showTitle","iconClass","closable","tooltip"],_4d9=["label","showLabel","iconClass","closeButton","title"];this.pane2watches[page.id]=_4c9.map(_4d8,function(_4da,idx){return page.watch(_4da,function(name,_4db,_4dc){_4d7.set(_4d9[idx],_4dc);});});this.pane2connects[page.id]=[this.connect(_4d7,"onClick",lang.hitch(this,"onButtonClick",page)),this.connect(_4d7,"onClickCloseButton",lang.hitch(this,"onCloseButtonClick",page))];this.addChild(_4d7,_4d6);this.pane2button[page.id]=_4d7;page.controlButton=_4d7;if(!this._currentChild){_4d7.focusNode.setAttribute("tabIndex","0");_4d7.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;}_4c9.forEach(this.pane2connects[page.id],lang.hitch(this,"disconnect"));delete this.pane2connects[page.id];_4c9.forEach(this.pane2watches[page.id],function(w){w.unwatch();});delete this.pane2watches[page.id];var _4dd=this.pane2button[page.id];if(_4dd){this.removeChild(_4dd);delete this.pane2button[page.id];_4dd.destroy();}delete page.controlButton;},onSelectChild:function(page){if(!page){return;}if(this._currentChild){var _4de=this.pane2button[this._currentChild.id];_4de.set("checked",false);_4de.focusNode.setAttribute("aria-selected","false");_4de.focusNode.setAttribute("tabIndex","-1");}var _4df=this.pane2button[page.id];_4df.set("checked",true);_4df.focusNode.setAttribute("aria-selected","true");this._currentChild=page;_4df.focusNode.setAttribute("tabIndex","0");var _4e0=_4cd.byId(this.containerId);_4e0.containerNode.setAttribute("aria-labelledby",_4df.id);},onButtonClick:function(page){if(this._currentChild.id===page.id){var _4e1=this.pane2button[page.id];_4e1.set("checked",true);}var _4e2=_4cd.byId(this.containerId);_4e2.selectChild(page);},onCloseButtonClick:function(page){var _4e3=_4cd.byId(this.containerId);_4e3.closeChild(page);if(this._currentChild){var b=this.pane2button[this._currentChild.id];if(b){_4cc.focus(b.focusNode||b.domNode);}}},adjacent:function(_4e4){if(!this.isLeftToRight()&&(!this.tabPosition||/top|bottom/.test(this.tabPosition))){_4e4=!_4e4;}var _4e5=this.getChildren();var _4e6=_4c9.indexOf(_4e5,this.pane2button[this._currentChild.id]);var _4e7=_4e4?1:_4e5.length-1;return _4e5[(_4e6+_4e7)%_4e5.length];},onkeypress:function(e){if(this.disabled||e.altKey){return;}var _4e8=null;if(e.ctrlKey||!e._djpage){switch(e.charOrCode){case keys.LEFT_ARROW:case keys.UP_ARROW:if(!e._djpage){_4e8=false;}break;case keys.PAGE_UP:if(e.ctrlKey){_4e8=false;}break;case keys.RIGHT_ARROW:case keys.DOWN_ARROW:if(!e._djpage){_4e8=true;}break;case keys.PAGE_DOWN:if(e.ctrlKey){_4e8=true;}break;case keys.HOME:case keys.END:var _4e9=this.getChildren();if(_4e9&&_4e9.length){_4e9[e.charOrCode==keys.HOME?0:_4e9.length-1].onClick();}_4cb.stop(e);break;case keys.DELETE:if(this._currentChild.closable){this.onCloseButtonClick(this._currentChild);}_4cb.stop(e);break;default:if(e.ctrlKey){if(e.charOrCode===keys.TAB){this.adjacent(!e.shiftKey).onClick();_4cb.stop(e);}else{if(e.charOrCode=="w"){if(this._currentChild.closable){this.onCloseButtonClick(this._currentChild);}_4cb.stop(e);}}}}if(_4e8!==null){this.adjacent(_4e8).onClick();_4cb.stop(e);}}},onContainerKeyPress:function(info){info.e._djpage=info.page;this.onkeypress(info.e);}});_4d5.StackButton=_4d2;return _4d5;});},"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,_4ea,_4eb){dojo.declare("dojo.dnd.Mover",[_4ea],{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,_4eb.move,this,"onFirstMove"),dojo.connect(d,_4eb.move,this,"onMouseMove"),dojo.connect(d,_4eb.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(_4ec,_4ed,_4ee){return _4ec("dijit.form.HorizontalRule",[_4ed,_4ee],{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 _4ef;if(this.count==1){_4ef=this._genHTML(50,0);}else{var i;var _4f0=100/(this.count-1);if(!this._isHorizontal||this.isLeftToRight()){_4ef=this._genHTML(0,0);for(i=1;i<this.count-1;i++){_4ef+=this._genHTML(_4f0*i,i);}_4ef+=this._genHTML(100,this.count-1);}else{_4ef=this._genHTML(100,0);for(i=1;i<this.count-1;i++){_4ef+=this._genHTML(100-_4f0*i,i);}_4ef+=this._genHTML(0,this.count-1);}}this.domNode.innerHTML=_4ef;}});});},"dijit/layout/TabContainer":function(){define(["dojo/_base/lang","dojo/_base/declare","./_TabContainerBase","./TabController","./ScrollingTabController"],function(lang,_4f1,_4f2,_4f3,_4f4){return _4f1("dijit.layout.TabContainer",_4f2,{useMenu:true,useSlider:true,controllerWidget:"",_makeController:function(_4f5){var cls=this.baseClass+"-tabs"+(this.doLayout?"":" dijitTabNoLayout"),_4f3=lang.getObject(this.controllerWidget);return new _4f3({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},_4f5);},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("dijit/_editor/nls/FontChoice",{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,"hr":true,"he":true,"fr":true,"fi":true,"es":true,"el":true,"de":true,"da":true,"cs":true,"ca":true,"az":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(_4f6,_4f7,keys,lang,has,_4f8,_4f9,_4fa,_4fb){return _4f6("dijit.form._Spinner",_4f9,{defaultTimeout:500,minimumTimeout:10,timeoutChangeRate:0.9,smallDelta:1,largeDelta:10,templateString:_4fa,baseClass:"dijitTextBox dijitSpinner",cssStateNodes:{"upArrowNode":"dijitUpArrowButton","downArrowNode":"dijitDownArrowButton"},adjust:function(val){return val;},_arrowPressed:function(_4fc,_4fd,_4fe){if(this.disabled||this.readOnly){return;}this._setValueAttr(this.adjust(this.get("value"),_4fd*_4fe),false);_4fb.selectInputText(this.textbox,this.textbox.value.length);},_arrowReleased:function(){this._wheelTimer=null;},_typematicCallback:function(_4ff,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(_4ff==-1){this._arrowReleased(node);}else{this._arrowPressed(node,(node==this.upArrowNode)?1:-1,inc);}},_wheelTimer:null,_mouseWheeled:function(evt){_4f7.stop(evt);var _500=evt.wheelDelta/120;if(Math.floor(_500)!=_500){_500=evt.wheelDelta>0?1:-1;}var _501=evt.detail?(evt.detail*-1):_500;if(_501!==0){var node=this[(_501>0?"upArrowNode":"downArrowNode")];this._arrowPressed(node,_501,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(_4f8.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(_4f8.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(_4f8.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(_4f8.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(_502,_503,_504,_505,lang,_506,_507,_508,_509){if(!_505.isAsync){_506(0,function(){var _50a=["dijit/form/DropDownButton","dijit/form/ComboButton","dijit/form/ToggleButton"];_502(_50a);});}return _503("dijit.form.Button",[_507,_508],{showLabel:true,iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitButton",templateString:_509,_setValueAttr:"valueNode",_onClick:function(e){var ok=this.inherited(arguments);if(ok){if(this.valueNode){this.valueNode.click();e.preventDefault();}}return ok;},_fillContent:function(_50b){if(_50b&&(!this.params||!("label" in this.params))){var _50c=lang.trim(_50b.innerHTML);if(_50c){this.label=_50c;}}},_setShowLabelAttr:function(val){if(this.containerNode){_504.toggle(this.containerNode,"dijitDisplayNone",!val);}this._set("showLabel",val);},setLabel:function(_50d){_505.deprecated("dijit.form.Button.setLabel() is deprecated.  Use set('label', ...) instead.","","2.0");this.set("label",_50d);},_setLabelAttr:function(_50e){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,_50f){if(!_50f){_50f={};}this.constraints=_50f.constraints;this.within=_50f.within;},onFirstMove:function(_510){var c=this.constraintBox=this.constraints.call(this,_510);c.r=c.l+c.w;c.b=c.t+c.h;if(this.within){var mb=dojo._getMarginSize(_510.node);c.r-=mb.w;c.b-=mb.h;}},onMove:function(_511,_512){var c=this.constraintBox,s=_511.node.style;this.onMoving(_511,_512);_512.l=_512.l<c.l?c.l:c.r<_512.l?c.r:_512.l;_512.t=_512.t<c.t?c.t:c.b<_512.t?c.b:_512.t;s.left=_512.l+"px";s.top=_512.t+"px";this.onMoved(_511,_512);}});dojo.declare("dojo.dnd.move.boxConstrainedMoveable",dojo.dnd.move.constrainedMoveable,{box:{},constructor:function(node,_513){var box=_513&&_513.box;this.constraints=function(){return box;};}});dojo.declare("dojo.dnd.move.parentConstrainedMoveable",dojo.dnd.move.constrainedMoveable,{area:"content",constructor:function(node,_514){var area=_514&&_514.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(_515,_516,_517,_518,has,_519,_51a,_51b,_51c){return _515("dijit.form.Form",[_519,_51a,_51b,_51c],{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(_51d){this.encType=_51d;_516.set(this.domNode,"encType",_51d);if(has("ie")){this.domNode.encoding=_51d;}},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);_517.stop(e);return false;},_onSubmit:function(e){var fp=this.constructor.prototype;if(this.execute!=fp.execute||this.onExecute!=fp.onExecute){_518.deprecated("dijit.form.Form:execute()/onExecute() are deprecated. Use onSubmit() instead.","","2.0");this.onExecute();this.execute(this.getValues());}if(this.onSubmit(e)===false){_517.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(_51e,_51f,_520,_521,_522,_523,_524,_525){return _522("dijit.layout._TabContainerBase",[_51f,_521],{tabPosition:"top",baseClass:"dijitTabContainer",tabStrip:false,nested:false,templateString:_51e,postMixInProperties:function(){this.baseClass+=this.tabPosition.charAt(0).toUpperCase()+this.tabPosition.substr(1).replace(/-.*/,"");this.srcNodeRef&&_525.set(this.srcNodeRef,"visibility","hidden");this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);this.tablist=this._makeController(this.tablistNode);if(!this.doLayout){_523.add(this.domNode,"dijitTabContainerNoLayout");}if(this.nested){_523.add(this.domNode,"dijitTabContainerNested");_523.add(this.tablist.containerNode,"dijitTabContainerTabListNested");_523.add(this.tablistSpacer,"dijitTabContainerSpacerNested");_523.add(this.containerNode,"dijitTabPaneWrapperNested");}else{_523.add(this.domNode,"tabStrip-"+(this.tabStrip?"enabled":"disabled"));}},_setupChild:function(tab){_523.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 _526=this.tabPosition.replace(/-h/,"");this.tablist.layoutAlign=_526;var _527=[this.tablist,{domNode:this.tablistSpacer,layoutAlign:_526},{domNode:this.containerNode,layoutAlign:"client"}];_520.layoutChildren(this.domNode,this._contentBox,_527);this._containerContentBox=_520.marginBox2contentBox(this.containerNode,_527[2]);if(sc&&sc.resize){sc.resize(this._containerContentBox);}}else{if(this.tablist.resize){var s=this.tablist.domNode.style;s.width="0";var _528=_524.getContentBox(this.domNode).w;s.width="";this.tablist.resize({w:_528});}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(_529,_52a,_52b){return _529("dojo.store.Memory",null,{constructor:function(_52c){for(var i in _52c){this[i]=_52c[i];}this.setData(this.data||[]);},data:null,idProperty:"id",index:null,queryEngine:_52b,get:function(id){return this.data[this.index[id]];},getIdentity:function(_52d){return _52d[this.idProperty];},put:function(_52e,_52f){var data=this.data,_530=this.index,_531=this.idProperty;var id=(_52f&&"id" in _52f)?_52f.id:_531 in _52e?_52e[_531]:Math.random();if(id in _530){if(_52f&&_52f.overwrite===false){throw new Error("Object already exists");}data[_530[id]]=_52e;}else{_530[id]=data.push(_52e)-1;}return id;},add:function(_532,_533){(_533=_533||{}).overwrite=false;return this.put(_532,_533);},remove:function(id){var _534=this.index;var data=this.data;if(id in _534){data.splice(_534[id],1);this.setData(data);return true;}},query:function(_535,_536){return _52a(this.queryEngine(_535,_536)(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(_537,_538,_539,i18n,_53a,_53b,_53c,_53d,_53e,keys,lang,has,_53f,_540,win,_541,_542,_543,_544,_545,_546,_547,_548,html,_549,_54a,_54b){var _54c=_538("dijit.Editor",_54a,{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",_548];}this._plugins=[];this._editInterval=this.editActionInterval*1000;if(has("ie")){this.events.push("onBeforeDeactivate");this.events.push("onBeforeActivate");}},postMixInProperties:function(){this.setValueDeferred=new _539();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 _543({dir:this.dir,lang:this.lang});this.header.appendChild(this.toolbar.domNode);}_537.forEach(this.plugins,this.addPlugin,this);this.setValueDeferred.callback(true);_53b.add(this.iframe.parentNode,"dijitEditorIFrameContainer");_53b.add(this.iframe,"dijitEditorIFrame");_53a.set(this.iframe,"allowTransparency",true);if(has("webkit")){_53d.set(this.domNode,"KhtmlUserSelect","none");}this.toolbar.startup();this.onNormalizedDisplayChanged();},destroy:function(){_537.forEach(this._plugins,function(p){if(p&&p.destroy){p.destroy();}});this._plugins=[];this.toolbar.destroyRecursive();delete this.toolbar;this.inherited(arguments);},addPlugin:function(_54d,_54e){var args=lang.isString(_54d)?{name:_54d}:lang.isFunction(_54d)?{ctor:_54d}:_54d;if(!args.setEditor){var o={"args":args,"plugin":null,"editor":this};if(args.name){if(_547.registry[args.name]){o.plugin=_547.registry[args.name](args);}else{_540.publish(_54b._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",_54d);return;}_54d=o.plugin;}if(arguments.length>1){this._plugins[_54e]=_54d;}else{this._plugins.push(_54d);}_54d.setEditor(this);if(lang.isFunction(_54d.setToolbar)){_54d.setToolbar(this.toolbar);}},resize:function(size){if(size){_545.prototype.resize.apply(this,arguments);}},layout:function(){var _54f=(this._contentBox.h-(this.getHeaderHeight()+this.getFooterHeight()+_53c.getPadBorderExtents(this.iframe.parentNode).h+_53c.getMarginExtents(this.iframe.parentNode).h));this.editingArea.style.height=_54f+"px";if(this.iframe){this.iframe.style.height="100%";}this._layoutMode=true;},_onIEMouseDown:function(e){var _550;var b=this.document.body;var _551=b.clientWidth;var _552=b.clientHeight;var _553=b.clientLeft;var _554=b.offsetWidth;var _555=b.offsetHeight;var _556=b.offsetLeft;if(/^rtl$/i.test(b.dir||"")){if(_551<_554&&e.x>_551&&e.x<_554){_550=true;}}else{if(e.x<_553&&e.x>_556){_550=true;}}if(!_550){if(_552<_555&&e.y>_552&&e.y<_555){_550=true;}}if(!_550){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=_53f.substitute,_557={cut:"X",copy:"C",paste:"V"};alert(sub(this.commands.systemShortcut,[this.commands[cmd],sub(this.commands[has("mac")?"appleKey":"ctrlKey"],[_557[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 _558=b.mark;var mark=b.mark;var col=b.isCollapsed;var r,_559,_55a,sel;if(mark){if(has("ie")<9){if(lang.isArray(mark)){_558=[];_537.forEach(mark,function(n){_558.push(_549.getNode(n,this.editNode));},this);win.withGlobal(this.window,"moveToBookmark",_54b,[{mark:_558,isCollapsed:col}]);}else{if(mark.startContainer&&mark.endContainer){sel=_549.getSelection(this.window);if(sel&&sel.removeAllRanges){sel.removeAllRanges();r=_549.create(this.window);_559=_549.getNode(mark.startContainer,this.editNode);_55a=_549.getNode(mark.endContainer,this.editNode);if(_559&&_55a){r.setStart(_559,mark.startOffset);r.setEnd(_55a,mark.endOffset);sel.addRange(r);}}}}}else{sel=_549.getSelection(this.window);if(sel&&sel.removeAllRanges){sel.removeAllRanges();r=_549.create(this.window);_559=_549.getNode(mark.startContainer,this.editNode);_55a=_549.getNode(mark.endContainer,this.editNode);if(_559&&_55a){r.setStart(_559,mark.startOffset);r.setEnd(_55a,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(_55b){if(this._editTimer){clearTimeout(this._editTimer);}if(this._inEditing){this._endEditing(_55b);this._inEditing=false;}},_getBookmark:function(){var b=win.withGlobal(this.window,_541.getBookmark);var tmp=[];if(b&&b.mark){var mark=b.mark;if(has("ie")<9){var sel=_549.getSelection(this.window);if(!lang.isArray(mark)){if(sel){var _55c;if(sel.rangeCount){_55c=sel.getRangeAt(0);}if(_55c){b.mark=_55c.cloneRange();}else{b.mark=win.withGlobal(this.window,_541.getBookmark);}}}else{_537.forEach(b.mark,function(n){tmp.push(_549.getIndex(n,this.editNode).o);},this);b.mark=tmp;}}try{if(b.mark&&b.mark.startContainer){tmp=_549.getIndex(b.mark.startContainer,this.editNode).o;b.mark={startContainer:tmp,startOffset:b.mark.startOffset,endContainer:b.mark.endContainer===b.mark.startContainer?tmp:_549.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){_53e.stop(e);this.undo();return;}else{if(k==89||k==121){_53e.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",_54b)){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(_55d){var _55e=lang.hitch(this,function(){if((!this.disabled&&_55d)||(!this._buttonEnabledPlugins&&_55d)){_537.forEach(this._plugins,function(p){p.set("disabled",true);});}else{if(this.disabled&&!_55d){_537.forEach(this._plugins,function(p){p.set("disabled",false);});}}});this.setValueDeferred.addCallback(_55e);this.inherited(arguments);},_setStateClass:function(){try{this.inherited(arguments);if(this.document&&this.document.body){_53d.set(this.document.body,"color",_53d.get(this.iframe,"color"));}}catch(e){}}});function _55f(args){return new _547({command:args.name});};function _560(args){return new _547({buttonClass:_546,command:args.name});};lang.mixin(_547.registry,{"undo":_55f,"redo":_55f,"cut":_55f,"copy":_55f,"paste":_55f,"insertOrderedList":_55f,"insertUnorderedList":_55f,"indent":_55f,"outdent":_55f,"justifyCenter":_55f,"justifyFull":_55f,"justifyLeft":_55f,"justifyRight":_55f,"delete":_55f,"selectAll":_55f,"removeFormat":_55f,"unlink":_55f,"insertHorizontalRule":_55f,"bold":_560,"italic":_560,"underline":_560,"strikethrough":_560,"subscript":_560,"superscript":_560,"|":function(){return new _547({button:new _544(),setEditor:function(_561){this.editor=_561;}});}});return _54c;});},"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(_562,_563,_564,keys,_565,_566,_567,_568){if(!_564.isAsync){_565(0,function(){var _569=["dijit/ToolbarSeparator"];_562(_569);});}return _563("dijit.Toolbar",[_566,_568,_567],{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(_56a,_56b,_56c,_56d,_56e,lang,_56f,_570,_571,_572,_573){if(!_56e.isAsync){_56f(0,function(){var _574=["dijit/layout/StackController"];require(_574);});}lang.extend(_572,{selected:false,closable:false,iconClass:"dijitNoIcon",showTitle:true});return _56c("dijit.layout.StackContainer",_573,{doLayout:true,persist:false,baseClass:"dijitStackContainer",buildRendering:function(){this.inherited(arguments);_56d.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 _575=this.getChildren();_56a.forEach(_575,this._setupChild,this);if(this.persist){this.selectedChildWidget=_571.byId(_56b(this.id+"_selectedChild"));}else{_56a.some(_575,function(_576){if(_576.selected){this.selectedChildWidget=_576;}return _576.selected;},this);}var _577=this.selectedChildWidget;if(!_577&&_575[0]){_577=this.selectedChildWidget=_575[0];_577.selected=true;}_570.publish(this.id+"-startup",{children:_575,selected:_577});this.inherited(arguments);},resize:function(){if(!this._hasBeenShown){this._hasBeenShown=true;var _578=this.selectedChildWidget;if(_578){this._showChild(_578);}}this.inherited(arguments);},_setupChild:function(_579){this.inherited(arguments);_56d.replace(_579.domNode,"dijitHidden","dijitVisible");_579.domNode.title="";},addChild:function(_57a,_57b){this.inherited(arguments);if(this._started){_570.publish(this.id+"-addChild",_57a,_57b);this.layout();if(!this.selectedChildWidget){this.selectChild(_57a);}}},removeChild:function(page){this.inherited(arguments);if(this._started){_570.publish(this.id+"-removeChild",page);}if(this._descendantsBeingDestroyed){return;}if(this.selectedChildWidget===page){this.selectedChildWidget=undefined;if(this._started){var _57c=this.getChildren();if(_57c.length){this.selectChild(_57c[0]);}}}if(this._started){this.layout();}},selectChild:function(page,_57d){page=_571.byId(page);if(this.selectedChildWidget!=page){var d=this._transition(page,this.selectedChildWidget,_57d);this._set("selectedChildWidget",page);_570.publish(this.id+"-selectChild",page);if(this.persist){_56b(this.id+"_selectedChild",this.selectedChildWidget.id);}}return d;},_transition:function(_57e,_57f){if(_57f){this._hideChild(_57f);}var d=this._showChild(_57e);if(_57e.resize){if(this.doLayout){_57e.resize(this._containerContentBox||this._contentBox);}else{_57e.resize();}}return d;},_adjacent:function(_580){var _581=this.getChildren();var _582=_56a.indexOf(_581,this.selectedChildWidget);_582+=_580?1:_581.length-1;return _581[_582%_581.length];},forward:function(){return this.selectChild(this._adjacent(true),true);},back:function(){return this.selectChild(this._adjacent(false),true);},_onKeyPress:function(e){_570.publish(this.id+"-containerKeyPress",{e:e,page:this});},layout:function(){var _583=this.selectedChildWidget;if(_583&&_583.resize){if(this.doLayout){_583.resize(this._containerContentBox||this._contentBox);}else{_583.resize();}}},_showChild:function(page){var _584=this.getChildren();page.isFirstChild=(page==_584[0]);page.isLastChild=(page==_584[_584.length-1]);page._set("selected",true);_56d.replace(page.domNode,"dijitVisible","dijitHidden");return (page._onShow&&page._onShow())||true;},_hideChild:function(page){page._set("selected",false);_56d.replace(page.domNode,"dijitHidden","dijitVisible");page.onHide&&page.onHide();},closeChild:function(page){var _585=page.onClose(this,page);if(_585){this.removeChild(page);page.destroyRecursive();}},destroyDescendants:function(_586){this._descendantsBeingDestroyed=true;this.selectedChildWidget=undefined;_56a.forEach(this.getChildren(),function(_587){if(!_586){this.removeChild(_587);}_587.destroyRecursive(_586);},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,_588){return str.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(ch){if(_588&&_588.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};dojo.regexp.buildGroupRE=function(arr,re,_589){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("|"),_589);};dojo.regexp.group=function(_58a,_58b){return "("+(_58b?"?:":"")+_58a+")";};return dojo.regexp;});},"dijit/form/ComboBox":function(){define(["dojo/_base/declare","./ValidationTextBox","./ComboBoxMixin"],function(_58c,_58d,_58e){return _58c("dijit.form.ComboBox",[_58d,_58e],{});});},"dijit/form/_FormMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/window"],function(_58f,_590,_591,lang,_592){return _590("dijit.form._FormMixin",null,{state:"",_getDescendantFormWidgets:function(_593){var res=[];_58f.forEach(_593||this.getChildren(),function(_594){if("value" in _594){res.push(_594);}else{res=res.concat(this._getDescendantFormWidgets(_594.getChildren()));}},this);return res;},reset:function(){_58f.forEach(this._getDescendantFormWidgets(),function(_595){if(_595.reset){_595.reset();}});},validate:function(){var _596=false;return _58f.every(_58f.map(this._getDescendantFormWidgets(),function(_597){_597._hasBeenBlurred=true;var _598=_597.disabled||!_597.validate||_597.validate();if(!_598&&!_596){_592.scrollIntoView(_597.containerNode||_597.domNode);_597.focus();_596=true;}return _598;}),function(item){return item;});},setValues:function(val){_591.deprecated(this.declaredClass+"::setValues() is deprecated. Use set('value', val) instead.","","2.0");return this.set("value",val);},_setValueAttr:function(obj){var map={};_58f.forEach(this._getDescendantFormWidgets(),function(_599){if(!_599.name){return;}var _59a=map[_599.name]||(map[_599.name]=[]);_59a.push(_599);});for(var name in map){if(!map.hasOwnProperty(name)){continue;}var _59b=map[name],_59c=lang.getObject(name,false,obj);if(_59c===undefined){continue;}if(!lang.isArray(_59c)){_59c=[_59c];}if(typeof _59b[0].checked=="boolean"){_58f.forEach(_59b,function(w){w.set("value",_58f.indexOf(_59c,w.value)!=-1);});}else{if(_59b[0].multiple){_59b[0].set("value",_59c);}else{_58f.forEach(_59b,function(w,i){w.set("value",_59c[i]);});}}}},getValues:function(){_591.deprecated(this.declaredClass+"::getValues() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},_getValueAttr:function(){var obj={};_58f.forEach(this._getDescendantFormWidgets(),function(_59d){var name=_59d.name;if(!name||_59d.disabled){return;}var _59e=_59d.get("value");if(typeof _59d.checked=="boolean"){if(/Radio/.test(_59d.declaredClass)){if(_59e!==false){lang.setObject(name,_59e,obj);}else{_59e=lang.getObject(name,false,obj);if(_59e===undefined){lang.setObject(name,null,obj);}}}else{var ary=lang.getObject(name,false,obj);if(!ary){ary=[];lang.setObject(name,ary,obj);}if(_59e!==false){ary.push(_59e);}}}else{var prev=lang.getObject(name,false,obj);if(typeof prev!="undefined"){if(lang.isArray(prev)){prev.push(_59e);}else{lang.setObject(name,[prev,_59e],obj);}}else{lang.setObject(name,_59e,obj);}}});return obj;},isValid:function(){return this.state=="";},onValidStateChange:function(){},_getState:function(){var _59f=_58f.map(this._descendants,function(w){return w.get("state")||"";});return _58f.indexOf(_59f,"Error")>=0?"Error":_58f.indexOf(_59f,"Incomplete")>=0?"Incomplete":"";},disconnectChildren:function(){_58f.forEach(this._childConnections||[],lang.hitch(this,"disconnect"));_58f.forEach(this._childWatches||[],function(w){w.unwatch();});},connectChildren:function(_5a0){var _5a1=this;this.disconnectChildren();this._descendants=this._getDescendantFormWidgets();var set=_5a0?function(name,val){_5a1[name]=val;}:lang.hitch(this,"_set");set("value",this.get("value"));set("state",this._getState());var _5a2=(this._childConnections=[]),_5a3=(this._childWatches=[]);_58f.forEach(_58f.filter(this._descendants,function(item){return item.validate;}),function(_5a4){_58f.forEach(["state","disabled"],function(attr){_5a3.push(_5a4.watch(attr,function(){_5a1.set("state",_5a1._getState());}));});});var _5a5=function(){if(_5a1._onChangeDelayTimer){clearTimeout(_5a1._onChangeDelayTimer);}_5a1._onChangeDelayTimer=setTimeout(function(){delete _5a1._onChangeDelayTimer;_5a1._set("value",_5a1.get("value"));},10);};_58f.forEach(_58f.filter(this._descendants,function(item){return item.onChange;}),function(_5a6){_5a2.push(_5a1.connect(_5a6,"onChange",_5a5));_5a3.push(_5a6.watch("disabled",_5a5));});},startup:function(){this.inherited(arguments);this.connectChildren(true);this.watch("state",function(attr,_5a7,_5a8){this.onValidStateChange(_5a8=="");});},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(_5a9,_5aa,_5ab,keys,lang,has,_5ac,win,_5ad,_5ae,_5af,_5b0,_5b1){var _5b2=_5aa("dijit._editor.plugins.LinkDialog",_5ae,{buttonClass:_5af,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(_5b3){_5a9(["dojo/i18n","../../TooltipDialog","../../registry","../../form/Button","../../form/Select","../../form/ValidationTextBox","dojo/i18n!../../nls/common","dojo/i18n!../nls/LinkDialog"],lang.hitch(this,function(i18n,_5b4,_5b5){var _5b6=this;this.tag=this.command=="insertImage"?"img":"a";var _5b7=lang.delegate(i18n.getLocalization("dijit","common",this.lang),i18n.getLocalization("dijit._editor","LinkDialog",this.lang));var _5b8=(this.dropDown=this.button.dropDown=new _5b4({title:_5b7[this.command+"Title"],execute:lang.hitch(this,"setValue"),onOpen:function(){_5b6._onOpenDialog();_5b4.prototype.onOpen.apply(this,arguments);},onCancel:function(){setTimeout(lang.hitch(_5b6,"_onCloseDialog"),0);}}));_5b7.urlRegExp=this.urlRegExp;_5b7.id=_5b5.getUniqueId(this.editor.id);this._uniqueId=_5b7.id;this._setContent(_5b8.title+"<div style='border-bottom: 1px black solid;padding-bottom:2pt;margin-bottom:4pt'></div>"+_5ac.substitute(this.linkDialogTemplate,_5b7));_5b8.startup();this._urlInput=_5b5.byId(this._uniqueId+"_urlInput");this._textInput=_5b5.byId(this._uniqueId+"_textInput");this._setButton=_5b5.byId(this._uniqueId+"_setButton");this.connect(_5b5.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 _5b9=this._urlInput.get("value");return this._urlRegExp.test(_5b9)||this._emailRegExp.test(_5b9);});this.connect(_5b8.domNode,"onkeypress",function(e){if(e&&e.charOrCode==keys.ENTER&&!e.shiftKey&&!e.metaKey&&!e.ctrlKey&&!e.altKey){if(!this._setButton.get("disabled")){_5b8.onExecute();_5b8.execute(_5b8.get("value"));}}});_5b3();}));},_checkAndFixInput:function(){var self=this;var url=this._urlInput.get("value");var _5ba=function(url){var _5bb=false;var _5bc=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)){_5bb=true;}}}}else{if(self._userAtRxp.test(url)){_5bc=true;}}}}if(_5bb){self._urlInput.set("value","http://"+url);}if(_5bc){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(){_5ba(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(_5bd){this.dropDown.set({parserScope:"dojo",content:_5bd});},_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=_5b0.getSelection(this.editor.window);var _5be=sel.getRangeAt(0);var a=_5be.endContainer;if(a.nodeType===3){a=a.parentNode;}if(a&&(a.nodeName&&a.nodeName.toLowerCase()!==this.tag)){a=win.withGlobal(this.editor.window,"getSelectedElement",_5b1,[this.tag]);}if(a&&(a.nodeName&&a.nodeName.toLowerCase()===this.tag)){if(this.editor.queryCommandEnabled("unlink")){win.withGlobal(this.editor.window,"selectElementChildren",_5b1,[a]);this.editor.execCommand("unlink");}}}args=this._checkValues(args);this.editor.execCommand("inserthtml",_5ac.substitute(this.htmlTemplate,args));},_onCloseDialog:function(){this.editor.focus();},_getCurrentValues:function(a){var url,text,_5bf;if(a&&a.tagName.toLowerCase()===this.tag){url=a.getAttribute("_djrealurl")||a.getAttribute("href");_5bf=a.getAttribute("target")||"_self";text=a.textContent||a.innerText;win.withGlobal(this.editor.window,"selectElement",_5b1,[a,true]);}else{text=win.withGlobal(this.editor.window,_5b1.getSelectedText);}return {urlInput:url||"",textInput:text||"",targetSelect:_5bf||""};},_onOpenDialog:function(){var a;if(has("ie")<9){var sel=_5b0.getSelection(this.editor.window);var _5c0=sel.getRangeAt(0);a=_5c0.endContainer;if(a.nodeType===3){a=a.parentNode;}if(a&&(a.nodeName&&a.nodeName.toLowerCase()!==this.tag)){a=win.withGlobal(this.editor.window,"getSelectedElement",_5b1,[this.tag]);}}else{a=win.withGlobal(this.editor.window,"getAncestorElement",_5b1,[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&&_5ab.get(t,"href")){var _5c1=this.editor;win.withGlobal(_5c1.window,"selectElement",_5b1,[t]);_5c1.onDisplayChanged();if(_5c1._updateTimer){clearTimeout(_5c1._updateTimer);delete _5c1._updateTimer;}_5c1.onNormalizedDisplayChanged();var _5c2=this.button;setTimeout(function(){_5c2.set("disabled",false);_5c2.loadAndOpenDropDown().then(function(){if(_5c2.dropDown.focus){_5c2.dropDown.focus();}});},10);}}}});var _5c3=_5aa("dijit._editor.plugins.ImgLinkDialog",[_5b2],{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",_5b1,[img,true]);}else{text=win.withGlobal(this.editor.window,_5b1.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",_5b1,[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&&_5ab.get(t,"src")){var _5c4=this.editor;win.withGlobal(_5c4.window,"selectElement",_5b1,[t]);_5c4.onDisplayChanged();if(_5c4._updateTimer){clearTimeout(_5c4._updateTimer);delete _5c4._updateTimer;}_5c4.onNormalizedDisplayChanged();var _5c5=this.button;setTimeout(function(){_5c5.set("disabled",false);_5c5.loadAndOpenDropDown().then(function(){if(_5c5.dropDown.focus){_5c5.dropDown.focus();}});},10);}}}});_5ae.registry["createLink"]=function(){return new _5b2({command:"createLink"});};_5ae.registry["insertImage"]=function(){return new _5c3({command:"insertImage"});};_5b2.ImgLinkDialog=_5c3;return _5b2;});},"dijit/DropDownMenu":function(){define(["dojo/_base/declare","dojo/_base/event","dojo/keys","dojo/text!./templates/Menu.html","./_OnDijitClickMixin","./_MenuBase"],function(_5c6,_5c7,keys,_5c8,_5c9,_5ca){return _5c6("dijit.DropDownMenu",[_5ca,_5c9],{templateString:_5c8,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);_5c7.stop(evt);break;case this._closeSubMenuKey:if(this.parentMenu){if(this.parentMenu._isMenuBar){this.parentMenu.focusPrev();}else{this.onCancel(false);}}else{_5c7.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(_5cb,_5cc,_5cd,_5ce,dom,_5cf,_5d0,_5d1,_5d2,keys,lang,on,has,win,_5d3,pm,_5d4,_5d5){if(!_5d2.isAsync){_5d5(0,function(){var _5d6=["dijit/MenuItem","dijit/PopupMenuItem","dijit/CheckedMenuItem","dijit/MenuSeparator"];_5cb(_5d6);});}return _5cd("dijit.Menu",_5d4,{constructor:function(){this._bindings=[];},targetNodeIds:[],contextMenuForWindow:false,leftClickToOpen:false,refocus:true,postCreate:function(){if(this.contextMenuForWindow){this.bindDomNode(win.body());}else{_5cc.forEach(this.targetNodeIds,this.bindDomNode,this);}this.inherited(arguments);},_iframeContentWindow:function(_5d7){return _5d3.get(this._iframeContentDocument(_5d7))||this._iframeContentDocument(_5d7)["__parent__"]||(_5d7.name&&win.doc.frames[_5d7.name])||null;},_iframeContentDocument:function(_5d8){return _5d8.contentDocument||(_5d8.contentWindow&&_5d8.contentWindow.document)||(_5d8.name&&win.doc.frames[_5d8.name]&&win.doc.frames[_5d8.name].document)||null;},bindDomNode:function(node){node=dom.byId(node);var cn;if(node.tagName.toLowerCase()=="iframe"){var _5d9=node,_5da=this._iframeContentWindow(_5d9);cn=win.withGlobal(_5da,win.body);}else{cn=(node==win.body()?win.doc.documentElement:node);}var _5db={node:node,iframe:_5d9};_5cf.set(node,"_dijitMenu"+this.id,this._bindings.push(_5db));var _5dc=lang.hitch(this,function(cn){return [on(cn,this.leftClickToOpen?"click":"contextmenu",lang.hitch(this,function(evt){_5ce.stop(evt);this._scheduleOpen(evt.target,_5d9,{x:evt.pageX,y:evt.pageY});})),on(cn,"keydown",lang.hitch(this,function(evt){if(evt.shiftKey&&evt.keyCode==keys.F10){_5ce.stop(evt);this._scheduleOpen(evt.target,_5d9);}}))];});_5db.connects=cn?_5dc(cn):[];if(_5d9){_5db.onloadHandler=lang.hitch(this,function(){var _5dd=this._iframeContentWindow(_5d9);cn=win.withGlobal(_5dd,win.body);_5db.connects=_5dc(cn);});if(_5d9.addEventListener){_5d9.addEventListener("load",_5db.onloadHandler,false);}else{_5d9.attachEvent("onload",_5db.onloadHandler);}}},unBindDomNode:function(_5de){var node;try{node=dom.byId(_5de);}catch(e){return;}var _5df="_dijitMenu"+this.id;if(node&&_5cf.has(node,_5df)){var bid=_5cf.get(node,_5df)-1,b=this._bindings[bid],h;while(h=b.connects.pop()){h.remove();}var _5e0=b.iframe;if(_5e0){if(_5e0.removeEventListener){_5e0.removeEventListener("load",b.onloadHandler,false);}else{_5e0.detachEvent("onload",b.onloadHandler);}}_5cf.remove(node,_5df);delete this._bindings[bid];}},_scheduleOpen:function(_5e1,_5e2,_5e3){if(!this._openTimer){this._openTimer=setTimeout(lang.hitch(this,function(){delete this._openTimer;this._openMyself({target:_5e1,iframe:_5e2,coords:_5e3});}),1);}},_openMyself:function(args){var _5e4=args.target,_5e5=args.iframe,_5e6=args.coords;if(_5e6){if(_5e5){var ifc=_5d0.position(_5e5,true),_5e7=this._iframeContentWindow(_5e5),_5e8=win.withGlobal(_5e7,"_docScroll",dojo);var cs=_5d1.getComputedStyle(_5e5),tp=_5d1.toPixelValue,left=(has("ie")&&has("quirks")?0:tp(_5e5,cs.paddingLeft))+(has("ie")&&has("quirks")?tp(_5e5,cs.borderLeftWidth):0),top=(has("ie")&&has("quirks")?0:tp(_5e5,cs.paddingTop))+(has("ie")&&has("quirks")?tp(_5e5,cs.borderTopWidth):0);_5e6.x+=ifc.x+left-_5e8.x;_5e6.y+=ifc.y+top-_5e8.y;}}else{_5e6=_5d0.position(_5e4,true);_5e6.x+=10;_5e6.y+=10;}var self=this;var _5e9=this._focusManager.get("prevNode");var _5ea=this._focusManager.get("curNode");var _5eb=!_5ea||(dom.isDescendant(_5ea,this.domNode))?_5e9:_5ea;function _5ec(){if(self.refocus&&_5eb){_5eb.focus();}pm.close(self);};pm.open({popup:this,x:_5e6.x,y:_5e6.y,onExecute:_5ec,onCancel:_5ec,orient:this.isLeftToRight()?"L":"R"});this.focus();this._onBlur=function(){this.inherited("_onBlur",arguments);pm.close(this);};},uninitialize:function(){_5cc.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(_5ed,_5ee,_5ef){return _5ed("dijit.form._CheckBoxMixin",null,{type:"checkbox",value:"on",readOnly:false,_aria_attr:"aria-checked",_setReadOnlyAttr:function(_5f0){this._set("readOnly",_5f0);_5ee.set(this.focusNode,"readOnly",_5f0);this.focusNode.setAttribute("aria-readonly",_5f0);},_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");_5ee.set(this.focusNode,"value",this.value);},_onClick:function(e){if(this.readOnly){_5ef.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(_5f1,lang,_5f2,_5f3,_5f4,html,_5f5,_5f6,_5f7,_5f8,dom,_5f9,win,xhr,i18n){return _5f7("dijit.layout.ContentPane",[_5f2,_5f3],{href:"",content:"",extractContent:false,parseOnLoad:true,parserScope:_5f1._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(_5fa,_5fb){if((!_5fa||!_5fa.template)&&_5fb&&!("href" in _5fa)&&!("content" in _5fa)){var df=win.doc.createDocumentFragment();_5fb=dom.byId(_5fb);while(_5fb.firstChild){df.appendChild(_5fb.firstChild);}_5fa=lang.delegate(_5fa,{content:df});}this.inherited(arguments,[_5fa,_5fb]);},postMixInProperties:function(){this.inherited(arguments);var _5fc=i18n.getLocalization("dijit","loading",this.lang);this.loadingMessage=_5f4.substitute(this.loadingMessage,_5fc);this.errorMessage=_5f4.substitute(this.errorMessage,_5fc);},buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}this.domNode.title="";if(!_5f9.get(this.domNode,"role")){this.domNode.setAttribute("role","group");}},startup:function(){this.inherited(arguments);if(this._contentSetter){_5f6.forEach(this._contentSetter.parseResults,function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}},this);}},setHref:function(href){_5f1.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 _5f8(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){_5f1.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 _5f8(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(_5fd){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 _5f8(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 _5fe={preventCache:(this.preventCache||this.refreshOnShow),url:this.href,handleAs:"text"};if(lang.isObject(this.ioArgs)){lang.mixin(_5fe,this.ioArgs);}var hand=(this._xhrDfd=(this.ioMethod||xhr.get)(_5fe));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(_5ff){if(this.isLoaded){this._onUnloadHandler();}var _600=this._contentSetter;_5f6.forEach(this.getChildren(),function(_601){if(_601.destroyRecursive){_601.destroyRecursive(_5ff);}});if(_600){_5f6.forEach(_600.parseResults,function(_602){if(_602.destroyRecursive&&_602.domNode&&_602.domNode.parentNode==win.body()){_602.destroyRecursive(_5ff);}});delete _600.parseResults;}if(!_5ff){html._emptyNode(this.containerNode);}delete this._singleChild;},_setContent:function(cont,_603){this.destroyDescendants();var _604=this._contentSetter;if(!(_604&&_604 instanceof html._ContentSetter)){_604=this._contentSetter=new html._ContentSetter({node:this.containerNode,_onError:lang.hitch(this,this._onError),onContentError:lang.hitch(this,function(e){var _605=this.onContentError(e);try{this.containerNode.innerHTML=_605;}catch(e){console.error("Fatal "+this.id+" could not change content due to "+e.message,e);}})});}var _606=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||{});_604.set((lang.isObject(cont)&&cont.domNode)?cont.domNode:cont,_606);delete this._contentSetterParams;if(this.doLayout){this._checkIfSingleChild();}if(!_603){if(this._started){delete this._started;this.startup();this._scheduleLayout();}this._onLoadHandler(cont);}},_onError:function(type,err,_607){this.onLoadDeferred.errback(err);var _608=this["on"+type+"Error"].call(this,err);if(_607){console.error(_607,err);}else{if(_608){this._setContent(_608,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(_609,_60a,_60b,_60c,keys,_60d,_60e,_60f,lang){return _60d("dijit._KeyNavContainer",[_60b,_60a],{tabIndex:"0",connectKeyNavHandlers:function(_610,_611){var _612=(this._keyNavCodes={});var prev=lang.hitch(this,"focusPrev");var next=lang.hitch(this,"focusNext");_60c.forEach(_610,function(code){_612[code]=prev;});_60c.forEach(_611,function(code){_612[code]=next;});_612[keys.HOME]=lang.hitch(this,"focusFirstChild");_612[keys.END]=lang.hitch(this,"focusLastChild");this.connect(this.domNode,"onkeypress","_onContainerKeypress");this.connect(this.domNode,"onfocus","_onContainerFocus");},startupKeyNavChildren:function(){_609.deprecated("startupKeyNavChildren() call no longer needed","","2.0");},startup:function(){this.inherited(arguments);_60c.forEach(this.getChildren(),lang.hitch(this,"_startupChild"));},addChild:function(_613,_614){this.inherited(arguments);this._startupChild(_613);},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(_615,last){if(!_615){return;}if(this.focusedChild&&_615!==this.focusedChild){this._onChildBlur(this.focusedChild);}_615.set("tabIndex",this.tabIndex);_615.focus(last?"end":"start");this._set("focusedChild",_615);},_startupChild:function(_616){_616.set("tabIndex","-1");this.connect(_616,"_onFocus",function(){_616.set("tabIndex",this.tabIndex);});this.connect(_616,"_onBlur",function(){_616.set("tabIndex","-1");});},_onContainerFocus:function(evt){if(evt.target!==this.domNode||this.focusedChild){return;}this.focusFirstChild();_60f.set(this.domNode,"tabIndex","-1");},_onBlur:function(evt){if(this.tabIndex){_60f.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();_60e.stop(evt);}},_onChildBlur:function(){},_getFirstFocusableChild:function(){return this._getNextFocusableChild(null,1);},_getLastFocusableChild:function(){return this._getNextFocusableChild(null,-1);},_getNextFocusableChild:function(_617,dir){if(_617){_617=this._getSiblingOfChild(_617,dir);}var _618=this.getChildren();for(var i=0;i<_618.length;i++){if(!_617){_617=_618[(dir>0)?0:(_618.length-1)];}if(_617.isFocusable()){return _617;}_617=this._getSiblingOfChild(_617,dir);}return null;}});});},"dijit/layout/utils":function(){define(["dojo/_base/array","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang",".."],function(_619,_61a,_61b,_61c,lang,_61d){var _61e=lang.getObject("layout",true,_61d);_61e.marginBox2contentBox=function(node,mb){var cs=_61c.getComputedStyle(node);var me=_61b.getMarginExtents(node,cs);var pb=_61b.getPadBorderExtents(node,cs);return {l:_61c.toPixelValue(node,cs.paddingLeft),t:_61c.toPixelValue(node,cs.paddingTop),w:mb.w-(me.w+pb.w),h:mb.h-(me.h+pb.h)};};function _61f(word){return word.substring(0,1).toUpperCase()+word.substring(1);};function size(_620,dim){var _621=_620.resize?_620.resize(dim):_61b.setMarginBox(_620.domNode,dim);if(_621){lang.mixin(_620,_621);}else{lang.mixin(_620,_61b.getMarginBox(_620.domNode));lang.mixin(_620,dim);}};_61e.layoutChildren=function(_622,dim,_623,_624,_625){dim=lang.mixin({},dim);_61a.add(_622,"dijitLayoutContainer");_623=_619.filter(_623,function(item){return item.region!="center"&&item.layoutAlign!="client";}).concat(_619.filter(_623,function(item){return item.region=="center"||item.layoutAlign=="client";}));_619.forEach(_623,function(_626){var elm=_626.domNode,pos=(_626.region||_626.layoutAlign);if(!pos){throw new Error("No region setting for "+_626.id);}var _627=elm.style;_627.left=dim.l+"px";_627.top=dim.t+"px";_627.position="absolute";_61a.add(elm,"dijitAlign"+_61f(pos));var _628={};if(_624&&_624==_626.id){_628[_626.region=="top"||_626.region=="bottom"?"h":"w"]=_625;}if(pos=="top"||pos=="bottom"){_628.w=dim.w;size(_626,_628);dim.h-=_626.h;if(pos=="top"){dim.t+=_626.h;}else{_627.top=dim.t+dim.h+"px";}}else{if(pos=="left"||pos=="right"){_628.h=dim.h;size(_626,_628);dim.w-=_626.w;if(pos=="left"){dim.l+=_626.w;}else{_627.left=dim.l+dim.w+"px";}}else{if(pos=="client"||pos=="center"){size(_626,dim);}}}});};return {marginBox2contentBox:_61e.marginBox2contentBox,layoutChildren:_61e.layoutChildren};});},"dijit/form/DataList":function(){define(["dojo/_base/declare","dojo/dom","dojo/_base/lang","dojo/query","dojo/store/Memory","../registry"],function(_629,dom,lang,_62a,_62b,_62c){function _62d(_62e){return {id:_62e.value,value:_62e.value,name:lang.trim(_62e.innerText||_62e.textContent||"")};};return _629("dijit.form.DataList",_62b,{constructor:function(_62f,_630){this.domNode=dom.byId(_630);lang.mixin(this,_62f);if(this.id){_62c.add(this);}this.domNode.style.display="none";this.inherited(arguments,[{data:_62a("option",this.domNode).map(_62d)}]);},destroy:function(){_62c.remove(this.id);},fetchSelectedItem:function(){var _631=_62a("> option[selected]",this.domNode)[0]||_62a("> option",this.domNode)[0];return _631&&_62d(_631);}});});},"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(_632,_633,lang,_634){var _635=_633("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:_634,disabled:false,getLabel:function(key){return this.editor.commands[key];},_initButton:function(){if(this.command.length){var _636=this.getLabel(this.command),_637=this.editor,_638=this.iconClassPrefix+" "+this.iconClassPrefix+this.command.charAt(0).toUpperCase()+this.command.substr(1);if(!this.button){var _639=lang.mixin({label:_636,dir:_637.dir,lang:_637.lang,showLabel:false,iconClass:_638,dropDown:this.dropDown,tabIndex:"-1"},this.params||{});this.button=new this.buttonClass(_639);}}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(_632.connect(o,f,this,tf));},updateState:function(){var e=this.editor,c=this.command,_63a,_63b;if(!e||!e.isLoaded||!c.length){return;}var _63c=this.get("disabled");if(this.button){try{_63b=!_63c&&e.queryCommandEnabled(c);if(this.enabled!==_63b){this.enabled=_63b;this.button.set("disabled",!_63b);}if(typeof this.button.checked=="boolean"){_63a=e.queryCommandState(c);if(this.checked!==_63a){this.checked=_63a;this.button.set("checked",e.queryCommandState(c));}}}catch(e){}}},setEditor:function(_63d){this.editor=_63d;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(_63e){if(this.button){_63e.addChild(this.button);}},set:function(name,_63f){if(typeof name==="object"){for(var x in name){this.set(x,name[x]);}return this;}var _640=this._getAttrNames(name);if(this[_640.s]){var _641=this[_640.s].apply(this,Array.prototype.slice.call(arguments,1));}else{this._set(name,_63f);}return _641||this;},get:function(name){var _642=this._getAttrNames(name);return this[_642.g]?this[_642.g]():this[name];},_setDisabledAttr:function(_643){this.disabled=_643;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,_644){this[name]=_644;}});_635.registry={};return _635;});},"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(_645,_646,_647,_648,_649,_64a,_64b,_64c,_64d){if(!_648.isAsync){_64a(0,function(){var _64e=["dijit/form/RadioButton"];_645(_64e);});}return _646("dijit.form.CheckBox",[_64b,_64c],{templateString:_64d,baseClass:"dijitCheckBox",_setValueAttr:function(_64f,_650){if(typeof _64f=="string"){this._set("value",_64f);_647.set(this.focusNode,"value",_64f);_64f=true;}if(this._created){this.set("checked",_64f,_650);}},_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){_649("label[for='"+this.id+"']").addClass("dijitFocusedLabel");}this.inherited(arguments);},_onBlur:function(){if(this.id){_649("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(_651,_652,_653,lang,_654,on,_655,win,_656){return _653("dijit.tree._dndSelector",_656,{constructor:function(){this.selection={};this.anchor=null;this.tree.domNode.setAttribute("aria-multiselect",!this.singular);this.events.push(on(this.tree.domNode,_655.press,lang.hitch(this,"onMouseDown")),on(this.tree.domNode,_655.release,lang.hitch(this,"onMouseUp")),on(this.tree.domNode,_655.move,lang.hitch(this,"onMouseMove")));},singular:false,getSelectedTreeNodes:function(){var _657=[],sel=this.selection;for(var i in sel){_657.push(sel[i]);}return _657;},selectNone:function(){this.setSelection([]);return this;},destroy:function(){this.inherited(arguments);this.selection=this.anchor=null;},addTreeNode:function(node,_658){this.setSelection(this.getSelectedTreeNodes().concat([node]));if(_658){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(_659){var _65a=this.getSelectedTreeNodes();_651.forEach(this._setDifference(_65a,_659),lang.hitch(this,function(node){node.setSelected(false);if(this.anchor==node){delete this.anchor;}delete this.selection[node.id];}));_651.forEach(this._setDifference(_659,_65a),lang.hitch(this,function(node){node.setSelected(true);this.selection[node.id]=node;}));this._updateSelectionProperties();},_setDifference:function(xs,ys){_651.forEach(ys,function(y){y.__exclude__=true;});var ret=_651.filter(xs,function(x){return !x.__exclude__;});_651.forEach(ys,function(y){delete y["__exclude__"];});return ret;},_updateSelectionProperties:function(){var _65b=this.getSelectedTreeNodes();var _65c=[],_65d=[];_651.forEach(_65b,function(node){_65d.push(node);_65c.push(node.getTreePath());});var _65e=_651.map(_65d,function(node){return node.item;});this.tree._set("paths",_65c);this.tree._set("path",_65c[0]||[]);this.tree._set("selectedNodes",_65d);this.tree._set("selectedNode",_65d[0]||null);this.tree._set("selectedItems",_65e);this.tree._set("selectedItem",_65e[0]||null);},onMouseDown:function(e){if(!this.current||this.tree.isExpandoNode(e.target,this.current)){return;}if(!_654.isLeft(e)){return;}e.preventDefault();var _65f=this.current,copy=_652.isCopyKey(e),id=_65f.id;if(!this.singular&&!e.shiftKey&&this.selection[id]){this._doDeselect=true;return;}else{this._doDeselect=false;}this.userSelect(_65f,copy,e.shiftKey);},onMouseUp:function(e){if(!this._doDeselect){return;}this._doDeselect=false;this.userSelect(this.current,_652.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,_660,_661){if(this.singular){if(this.anchor==node&&_660){this.selectNone();}else{this.setSelection([node]);this.anchor=node;}}else{if(_661&&this.anchor){var cr=this._compareNodes(this.anchor.rowNode,node.rowNode),_662,end,_663=this.anchor;if(cr<0){_662=_663;end=node;}else{_662=node;end=_663;}var _664=[];while(_662!=end){_664.push(_662);_662=this.tree._getNextNode(_662);}_664.push(end);this.setSelection(_664);}else{if(this.selection[node.id]&&_660){this.removeTreeNode(node);}else{if(_660){this.addTreeNode(node,true);}else{this.setSelection([node]);this.anchor=node;}}}}},getItem:function(key){var _665=this.selection[key];return {data:_665,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,_666,_667,dom,_668,_669){lang.getObject("html",true,dojo);var _66a=0;dojo.html._secureForInnerHtml=function(cont){return cont.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig,"");};dojo.html._emptyNode=_668.empty;dojo.html._setNodeContent=function(node,cont){_668.empty(node);if(cont){if(typeof cont=="string"){cont=_668.toDom(cont,node.ownerDocument);}if(!cont.nodeType&&lang.isArrayLike(cont)){for(var _66b=cont.length,i=0;i<cont.length;i=_66b==cont.length?i+1:0){_668.place(cont[i],node,"last");}}else{_668.place(cont,node,"last");}}return node;};_667("dojo.html._ContentSetter",null,{node:"",content:"",id:"",cleanContent:false,extractContent:false,parseContent:false,parserScope:dojo._scopeName,startup:true,constructor:function(_66c,node){lang.mixin(this,_66c||{});node=this.node=dom.byId(this.node||node);if(!this.id){this.id=["Setter",(node)?node.id||node.tagName:"",_66a++].join("_");}},set:function(cont,_66d){if(undefined!==cont){this.content=cont;}if(_66d){this._mixin(_66d);}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 _66e=this.onContentError(e);try{node.innerHTML=_66e;}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){_666.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 _66f=cont.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_66f){cont=_66f[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(_670){var _671={},key;for(key in _670){if(key in _671){continue;}this[key]=_670[key];}},_parse:function(){var _672=this.node;try{var _673={};_666.forEach(["dir","lang","textDir"],function(name){if(this[name]){_673[name]=this[name];}},this);this.parseResults=_669.parse({rootNode:_672,noStart:!this.startup,inherited:_673,scope:this.parserScope});}catch(e){this._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);}},_onError:function(type,err,_674){var _675=this["on"+type+"Error"].call(this,err);if(_674){console.error(_674,err);}else{if(_675){dojo.html._setNodeContent(this.node,_675,true);}}}});dojo.html.set=function(node,cont,_676){if(undefined==cont){console.warn("dojo.html.set: no cont argument provided, using empty string");cont="";}if(!_676){return dojo.html._setNodeContent(node,cont,true);}else{var op=new dojo.html._ContentSetter(lang.mixin(_676,{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(_677,_678,_679,_67a,_67b,keys,lang,_67c,_67d,_67e){return _677("dijit._PaletteMixin",[_67c],{defaultTimeout:500,timeoutChangeRate:0.9,value:"",_selectedCell:-1,tabIndex:"0",cellClass:"dijitPaletteCell",dyeClass:"",summary:"",_setSummaryAttr:"paletteTableNode",_dyeFactory:function(_67f){var _680=lang.getObject(this.dyeClass);return new _680(_67f);},_preparePalette:function(_681,_682){this._cells=[];var url=this._blankGif;this.connect(this.gridNode,"ondijitclick","_onCellClick");for(var row=0;row<_681.length;row++){var _683=_67a.create("tr",{tabIndex:"-1"},this.gridNode);for(var col=0;col<_681[row].length;col++){var _684=_681[row][col];if(_684){var _685=this._dyeFactory(_684,row,col);var _686=_67a.create("td",{"class":this.cellClass,tabIndex:"-1",title:_682[_684],role:"gridcell"});_685.fillCell(_686,url);_67a.place(_686,_683);_686.index=this._cells.length;this._cells.push({node:_686,dye:_685});}}}this._xDim=_681[0].length;this._yDim=_681.length;var _687={UP_ARROW:-this._xDim,DOWN_ARROW:this._xDim,RIGHT_ARROW:this.isLeftToRight()?1:-1,LEFT_ARROW:this.isLeftToRight()?-1:1};for(var key in _687){this._connects.push(_67e.addKeyListener(this.domNode,{charOrCode:keys[key],ctrlKey:false,altKey:false,shiftKey:false},this,function(){var _688=_687[key];return function(_689){this._navigateByKey(_688,_689);};}(),this.timeoutChangeRate,this.defaultTimeout));}},postCreate:function(){this.inherited(arguments);this._setCurrent(this._cells[0].node);},focus:function(){_67d.focus(this._currentFocus);},_onCellClick:function(evt){var _68a=evt.target;while(_68a.tagName!="TD"){if(!_68a.parentNode||_68a==this.gridNode){return;}_68a=_68a.parentNode;}var _68b=this._getDye(_68a).getValue();this._setCurrent(_68a);_67d.focus(_68a);this._setValueAttr(_68b,true);_67b.stop(evt);},_setCurrent:function(node){if("_currentFocus" in this){_678.set(this._currentFocus,"tabIndex","-1");}this._currentFocus=node;if(node){_678.set(node,"tabIndex",this.tabIndex);}},_setValueAttr:function(_68c,_68d){if(this._selectedCell>=0){_679.remove(this._cells[this._selectedCell].node,this.cellClass+"Selected");}this._selectedCell=-1;if(_68c){for(var i=0;i<this._cells.length;i++){if(_68c==this._cells[i].dye.getValue()){this._selectedCell=i;_679.add(this._cells[i].node,this.cellClass+"Selected");break;}}}this._set("value",this._selectedCell>=0?_68c:null);if(_68d||_68d===undefined){this.onChange(_68c);}},onChange:function(){},_navigateByKey:function(_68e,_68f){if(_68f==-1){return;}var _690=this._currentFocus.index+_68e;if(_690<this._cells.length&&_690>-1){var _691=this._cells[_690].node;this._setCurrent(_691);setTimeout(lang.hitch(dijit,"focus",_691),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(_692,i18n,_693,_694,_695){return _692("dijit.form.ValidationTextBox",_693,{templateString:_695,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(_696,_697){return (new RegExp("^(?:"+this.regExpGen(_697)+")"+(this.required?"":"?")+"$")).test(_696)&&(!this.required||!this._isEmpty(_696))&&(this._isEmpty(_696)||this.parse(_696,_697)!==undefined);},_isValidSubset:function(){return this.textbox.value.search(this._partialre)==0;},isValid:function(){return this.validator(this.textbox.value,this.constraints);},_isEmpty:function(_698){return (this.trim?/^\s*$/:/^$/).test(_698);},getErrorMessage:function(){return (this.required&&this._isEmpty(this.textbox.value))?this.missingMessage:this.invalidMessage;},getPromptMessage:function(){return this.promptMessage;},_maskValidSubsetError:true,validate:function(_699){var _69a="";var _69b=this.disabled||this.isValid(_699);if(_69b){this._maskValidSubsetError=true;}var _69c=this._isEmpty(this.textbox.value);var _69d=!_69b&&_699&&this._isValidSubset();this._set("state",_69b?"":(((((!this._hasBeenBlurred||_699)&&_69c)||_69d)&&this._maskValidSubsetError)?"Incomplete":"Error"));this.focusNode.setAttribute("aria-invalid",_69b?"false":"true");if(this.state=="Error"){this._maskValidSubsetError=_699&&_69d;_69a=this.getErrorMessage(_699);}else{if(this.state=="Incomplete"){_69a=this.getPromptMessage(_699);this._maskValidSubsetError=!this._hasBeenBlurred||_699;}else{if(_69c){_69a=this.getPromptMessage(_699);}}}this.set("message",_69a);return _69b;},displayMessage:function(_69e){if(_69e&&this.focused){_694.show(_69e,this.domNode,this.tooltipPosition,!this.isLeftToRight());}else{_694.hide(this.domNode);}},_refreshState:function(){this.validate(this.focused);this.inherited(arguments);},constructor:function(){this.constraints={};},_setConstraintsAttr:function(_69f){if(!_69f.locale&&this.lang){_69f.locale=this.lang;}this._set("constraints",_69f);this._computePartialRE();},_computePartialRE:function(){var p=this.regExpGen(this.constraints);this.regExp=p;var _6a0="";if(p!=".*"){this.regExp.replace(/\\.|\[\]|\[.*?[^\\]{1}\]|\{.*?\}|\(\?[=:!]|./g,function(re){switch(re.charAt(0)){case "{":case "+":case "?":case "*":case "^":case "$":case "|":case "(":_6a0+=re;break;case ")":_6a0+="|$)";break;default:_6a0+="(?:"+re+"|$)";break;}});}try{"".search(_6a0);}catch(e){_6a0=this.regExp;console.warn("RegExp error in "+this.declaredClass+": "+this.regExp);}this._partialre="^(?:"+_6a0+")$";},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(_6a1){this.inherited(arguments);this._refreshState();},_setRequiredAttr:function(_6a2){this._set("required",_6a2);this.focusNode.setAttribute("aria-required",_6a2);this._refreshState();},_setMessageAttr:function(_6a3){this._set("message",_6a3);this.displayMessage(_6a3);},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(_6a4,_6a5,_6a6,_6a7,_6a8,_6a9,_6aa,_6ab,keys,lang,on,_6ac,win,_6ad,_6ae,_6af,_6b0,_6b1){var _6b2=_6a6("dijit.layout._Splitter",[_6ae,_6af],{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);_6a7.add(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V"));if(this.container.persist){var _6b3=_6a5(this._cookieName);if(_6b3){this.child.domNode.style[this.horizontal?"height":"width"]=_6b3;}}},_computeMaxSize:function(){var dim=this.horizontal?"h":"w",_6b4=_6a9.getMarginBox(this.child.domNode)[dim],_6b5=_6a4.filter(this.container.getChildren(),function(_6b6){return _6b6.region=="center";})[0],_6b7=_6a9.getMarginBox(_6b5.domNode)[dim];return Math.min(this.child.maxSize,_6b4+_6b7);},_startDrag:function(e){if(!this.cover){this.cover=win.doc.createElement("div");_6a7.add(this.cover,"dijitSplitterCover");_6a8.place(this.cover,this.child.domNode,"after");}_6a7.add(this.cover,"dijitSplitterCoverActive");if(this.fake){_6a8.destroy(this.fake);}if(!(this._resize=this.live)){(this.fake=this.domNode.cloneNode(true)).removeAttribute("id");_6a7.add(this.domNode,"dijitSplitterShadow");_6a8.place(this.fake,this.domNode,"after");}_6a7.add(this.domNode,"dijitSplitterActive dijitSplitter"+(this.horizontal?"H":"V")+"Active");if(this.fake){_6a7.remove(this.fake,"dijitSplitterHover dijitSplitter"+(this.horizontal?"H":"V")+"Hover");}var _6b8=this._factor,_6b9=this.horizontal,axis=_6b9?"pageY":"pageX",_6ba=e[axis],_6bb=this.domNode.style,dim=_6b9?"h":"w",_6bc=_6a9.getMarginBox(this.child.domNode)[dim],max=this._computeMaxSize(),min=this.child.minSize||20,_6bd=this.region,_6be=_6bd=="top"||_6bd=="bottom"?"top":"left",_6bf=parseInt(_6bb[_6be],10),_6c0=this._resize,_6c1=lang.hitch(this.container,"_layoutChildren",this.child.id),de=win.doc;this._handlers=this._handlers.concat([on(de,_6ac.move,this._drag=function(e,_6c2){var _6c3=e[axis]-_6ba,_6c4=_6b8*_6c3+_6bc,_6c5=Math.max(Math.min(_6c4,max),min);if(_6c0||_6c2){_6c1(_6c5);}_6bb[_6be]=_6c3+_6bf+_6b8*(_6c5-_6c4)+"px";}),on(de,"dragstart",_6ab.stop),on(win.body(),"selectstart",_6ab.stop),on(de,_6ac.release,lang.hitch(this,"_stopDrag"))]);_6ab.stop(e);},_onMouse:function(e){var o=(e.type=="mouseover"||e.type=="mouseenter");_6a7.toggle(this.domNode,"dijitSplitterHover",o);_6a7.toggle(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V")+"Hover",o);},_stopDrag:function(e){try{if(this.cover){_6a7.remove(this.cover,"dijitSplitterCoverActive");}if(this.fake){_6a8.destroy(this.fake);}_6a7.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){_6a5(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 _6c6=this.horizontal;var tick=1;switch(e.charOrCode){case _6c6?keys.UP_ARROW:keys.LEFT_ARROW:tick*=-1;case _6c6?keys.DOWN_ARROW:keys.RIGHT_ARROW:break;default:return;}var _6c7=_6a9.getMarginSize(this.child.domNode)[_6c6?"h":"w"]+this._factor*tick;this.container._layoutChildren(this.child.id,Math.max(Math.min(_6c7,this._computeMaxSize()),this.child.minSize));_6ab.stop(e);},destroy:function(){this._cleanupHandlers();delete this.child;delete this.container;delete this.cover;delete this.fake;this.inherited(arguments);}});var _6c8=_6a6("dijit.layout._Gutter",[_6ae,_6af],{templateString:"<div class=\"dijitGutter\" role=\"presentation\"></div>",postMixInProperties:function(){this.inherited(arguments);this.horizontal=/top|bottom/.test(this.region);},buildRendering:function(){this.inherited(arguments);_6a7.add(this.domNode,"dijitGutter"+(this.horizontal?"H":"V"));}});var _6c9=_6a6("dijit.layout.BorderContainer",_6b0,{design:"headline",gutters:true,liveSplitters:true,persist:false,baseClass:"dijitBorderContainer",_splitterClass:_6b2,postMixInProperties:function(){if(!this.gutters){this.baseClass+="NoGutter";}this.inherited(arguments);},startup:function(){if(this._started){return;}_6a4.forEach(this.getChildren(),this._setupChild,this);this.inherited(arguments);},_setupChild:function(_6ca){var _6cb=_6ca.region;if(_6cb){this.inherited(arguments);_6a7.add(_6ca.domNode,this.baseClass+"Pane");var ltr=this.isLeftToRight();if(_6cb=="leading"){_6cb=ltr?"left":"right";}if(_6cb=="trailing"){_6cb=ltr?"right":"left";}if(_6cb!="center"&&(_6ca.splitter||this.gutters)&&!_6ca._splitterWidget){var _6cc=_6ca.splitter?this._splitterClass:_6c8;if(lang.isString(_6cc)){_6cc=lang.getObject(_6cc);}var _6cd=new _6cc({id:_6ca.id+"_splitter",container:this,child:_6ca,region:_6cb,live:this.liveSplitters});_6cd.isSplitter=true;_6ca._splitterWidget=_6cd;_6a8.place(_6cd.domNode,_6ca.domNode,"after");_6cd.startup();}_6ca.region=_6cb;}},layout:function(){this._layoutChildren();},addChild:function(_6ce,_6cf){this.inherited(arguments);if(this._started){this.layout();}},removeChild:function(_6d0){var _6d1=_6d0.region;var _6d2=_6d0._splitterWidget;if(_6d2){_6d2.destroy();delete _6d0._splitterWidget;}this.inherited(arguments);if(this._started){this._layoutChildren();}_6a7.remove(_6d0.domNode,this.baseClass+"Pane");_6aa.set(_6d0.domNode,{top:"auto",bottom:"auto",left:"auto",right:"auto",position:"static"});_6aa.set(_6d0.domNode,_6d1=="top"||_6d1=="bottom"?"width":"height","auto");},getChildren:function(){return _6a4.filter(this.inherited(arguments),function(_6d3){return !_6d3.isSplitter;});},getSplitter:function(_6d4){return _6a4.filter(this.getChildren(),function(_6d5){return _6d5.region==_6d4;})[0]._splitterWidget;},resize:function(_6d6,_6d7){if(!this.cs||!this.pe){var node=this.domNode;this.cs=_6aa.getComputedStyle(node);this.pe=_6a9.getPadExtents(node,this.cs);this.pe.r=_6aa.toPixelValue(node,this.cs.paddingRight);this.pe.b=_6aa.toPixelValue(node,this.cs.paddingBottom);_6aa.set(node,"padding","0px");}this.inherited(arguments);},_layoutChildren:function(_6d8,_6d9){if(!this._borderBox||!this._borderBox.h){return;}var _6da=_6a4.map(this.getChildren(),function(_6db,idx){return {pane:_6db,weight:[_6db.region=="center"?Infinity:0,_6db.layoutPriority,(this.design=="sidebar"?1:-1)*(/top|bottom/.test(_6db.region)?1:-1),idx]};},this);_6da.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 _6dc=[];_6a4.forEach(_6da,function(_6dd){var pane=_6dd.pane;_6dc.push(pane);if(pane._splitterWidget){_6dc.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};_6b1.layoutChildren(this.domNode,dim,_6dc,_6d8,_6d9);},destroyRecursive:function(){_6a4.forEach(this.getChildren(),function(_6de){var _6df=_6de._splitterWidget;if(_6df){_6df.destroy();}delete _6de._splitterWidget;});this.inherited(arguments);}});lang.extend(_6ad,{region:"",layoutPriority:0,splitter:false,minSize:0,maxSize:Infinity});_6c9._Splitter=_6b2;_6c9._Gutter=_6c8;return _6c9;});},"dojo/number":function(){define(["./_base/kernel","./_base/lang","./i18n","./i18n!./cldr/nls/number","./string","./regexp"],function(dojo,lang,i18n,_6e0,_6e1,_6e2){lang.getObject("number",true,dojo);dojo.number.format=function(_6e3,_6e4){_6e4=lang.mixin({},_6e4||{});var _6e5=i18n.normalizeLocale(_6e4.locale),_6e6=i18n.getLocalization("dojo.cldr","number",_6e5);_6e4.customs=_6e6;var _6e7=_6e4.pattern||_6e6[(_6e4.type||"decimal")+"Format"];if(isNaN(_6e3)||Math.abs(_6e3)==Infinity){return null;}return dojo.number._applyPattern(_6e3,_6e7,_6e4);};dojo.number._numberPatternRE=/[#0,]*[#0](?:\.0*#*)?/;dojo.number._applyPattern=function(_6e8,_6e9,_6ea){_6ea=_6ea||{};var _6eb=_6ea.customs.group,_6ec=_6ea.customs.decimal,_6ed=_6e9.split(";"),_6ee=_6ed[0];_6e9=_6ed[(_6e8<0)?1:0]||("-"+_6ee);if(_6e9.indexOf("%")!=-1){_6e8*=100;}else{if(_6e9.indexOf("‰")!=-1){_6e8*=1000;}else{if(_6e9.indexOf("¤")!=-1){_6eb=_6ea.customs.currencyGroup||_6eb;_6ec=_6ea.customs.currencyDecimal||_6ec;_6e9=_6e9.replace(/\u00a4{1,3}/,function(_6ef){var prop=["symbol","currency","displayName"][_6ef.length-1];return _6ea[prop]||_6ea.currency||"";});}else{if(_6e9.indexOf("E")!=-1){throw new Error("exponential notation not supported");}}}}var _6f0=dojo.number._numberPatternRE;var _6f1=_6ee.match(_6f0);if(!_6f1){throw new Error("unable to find a number expression in pattern: "+_6e9);}if(_6ea.fractional===false){_6ea.places=0;}return _6e9.replace(_6f0,dojo.number._formatAbsolute(_6e8,_6f1[0],{decimal:_6ec,group:_6eb,places:_6ea.places,round:_6ea.round}));};dojo.number.round=function(_6f2,_6f3,_6f4){var _6f5=10/(_6f4||10);return (_6f5*+_6f2).toFixed(_6f3)/_6f5;};if((0.9).toFixed()==0){var _6f6=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 _6f6(v,p,m)+(v>0?d:-d);};}dojo.number._formatAbsolute=function(_6f7,_6f8,_6f9){_6f9=_6f9||{};if(_6f9.places===true){_6f9.places=0;}if(_6f9.places===Infinity){_6f9.places=6;}var _6fa=_6f8.split("."),_6fb=typeof _6f9.places=="string"&&_6f9.places.indexOf(","),_6fc=_6f9.places;if(_6fb){_6fc=_6f9.places.substring(_6fb+1);}else{if(!(_6fc>=0)){_6fc=(_6fa[1]||[]).length;}}if(!(_6f9.round<0)){_6f7=dojo.number.round(_6f7,_6fc,_6f9.round);}var _6fd=String(Math.abs(_6f7)).split("."),_6fe=_6fd[1]||"";if(_6fa[1]||_6f9.places){if(_6fb){_6f9.places=_6f9.places.substring(0,_6fb);}var pad=_6f9.places!==undefined?_6f9.places:(_6fa[1]&&_6fa[1].lastIndexOf("0")+1);if(pad>_6fe.length){_6fd[1]=_6e1.pad(_6fe,pad,"0",true);}if(_6fc<_6fe.length){_6fd[1]=_6fe.substr(0,_6fc);}}else{if(_6fd[1]){_6fd.pop();}}var _6ff=_6fa[0].replace(",","");pad=_6ff.indexOf("0");if(pad!=-1){pad=_6ff.length-pad;if(pad>_6fd[0].length){_6fd[0]=_6e1.pad(_6fd[0],pad);}if(_6ff.indexOf("#")==-1){_6fd[0]=_6fd[0].substr(_6fd[0].length-pad);}}var _700=_6fa[0].lastIndexOf(","),_701,_702;if(_700!=-1){_701=_6fa[0].length-_700-1;var _703=_6fa[0].substr(0,_700);_700=_703.lastIndexOf(",");if(_700!=-1){_702=_703.length-_700-1;}}var _704=[];for(var _705=_6fd[0];_705;){var off=_705.length-_701;_704.push((off>0)?_705.substr(off):_705);_705=(off>0)?_705.slice(0,off):"";if(_702){_701=_702;delete _702;}}_6fd[0]=_704.reverse().join(_6f9.group||",");return _6fd.join(_6f9.decimal||".");};dojo.number.regexp=function(_706){return dojo.number._parseInfo(_706).regexp;};dojo.number._parseInfo=function(_707){_707=_707||{};var _708=i18n.normalizeLocale(_707.locale),_709=i18n.getLocalization("dojo.cldr","number",_708),_70a=_707.pattern||_709[(_707.type||"decimal")+"Format"],_70b=_709.group,_70c=_709.decimal,_70d=1;if(_70a.indexOf("%")!=-1){_70d/=100;}else{if(_70a.indexOf("‰")!=-1){_70d/=1000;}else{var _70e=_70a.indexOf("¤")!=-1;if(_70e){_70b=_709.currencyGroup||_70b;_70c=_709.currencyDecimal||_70c;}}}var _70f=_70a.split(";");if(_70f.length==1){_70f.push("-"+_70f[0]);}var re=_6e2.buildGroupRE(_70f,function(_710){_710="(?:"+_6e2.escapeString(_710,".")+")";return _710.replace(dojo.number._numberPatternRE,function(_711){var _712={signed:false,separator:_707.strict?_70b:[_70b,""],fractional:_707.fractional,decimal:_70c,exponent:false},_713=_711.split("."),_714=_707.places;if(_713.length==1&&_70d!=1){_713[1]="###";}if(_713.length==1||_714===0){_712.fractional=false;}else{if(_714===undefined){_714=_707.pattern?_713[1].lastIndexOf("0")+1:Infinity;}if(_714&&_707.fractional==undefined){_712.fractional=true;}if(!_707.places&&(_714<_713[1].length)){_714+=","+_713[1].length;}_712.places=_714;}var _715=_713[0].split(",");if(_715.length>1){_712.groupSize=_715.pop().length;if(_715.length>1){_712.groupSize2=_715.pop().length;}}return "("+dojo.number._realNumberRegexp(_712)+")";});},true);if(_70e){re=re.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/g,function(_716,_717,_718,_719){var prop=["symbol","currency","displayName"][_718.length-1],_71a=_6e2.escapeString(_707[prop]||_707.currency||"");_717=_717?"[\\s\\xa0]":"";_719=_719?"[\\s\\xa0]":"";if(!_707.strict){if(_717){_717+="*";}if(_719){_719+="*";}return "(?:"+_717+_71a+_719+")?";}return _717+_71a+_719;});}return {regexp:re.replace(/[\xa0 ]/g,"[\\s\\xa0]"),group:_70b,decimal:_70c,factor:_70d};};dojo.number.parse=function(_71b,_71c){var info=dojo.number._parseInfo(_71c),_71d=(new RegExp("^"+info.regexp+"$")).exec(_71b);if(!_71d){return NaN;}var _71e=_71d[1];if(!_71d[1]){if(!_71d[2]){return NaN;}_71e=_71d[2];info.factor*=-1;}_71e=_71e.replace(new RegExp("["+info.group+"\\s\\xa0"+"]","g"),"").replace(info.decimal,".");return _71e*info.factor;};dojo.number._realNumberRegexp=function(_71f){_71f=_71f||{};if(!("places" in _71f)){_71f.places=Infinity;}if(typeof _71f.decimal!="string"){_71f.decimal=".";}if(!("fractional" in _71f)||/^0/.test(_71f.places)){_71f.fractional=[true,false];}if(!("exponent" in _71f)){_71f.exponent=[true,false];}if(!("eSigned" in _71f)){_71f.eSigned=[true,false];}var _720=dojo.number._integerRegexp(_71f),_721=_6e2.buildGroupRE(_71f.fractional,function(q){var re="";if(q&&(_71f.places!==0)){re="\\"+_71f.decimal;if(_71f.places==Infinity){re="(?:"+re+"\\d+)?";}else{re+="\\d{"+_71f.places+"}";}}return re;},true);var _722=_6e2.buildGroupRE(_71f.exponent,function(q){if(q){return "([eE]"+dojo.number._integerRegexp({signed:_71f.eSigned})+")";}return "";});var _723=_720+_721;if(_721){_723="(?:(?:"+_723+")|(?:"+_721+"))";}return _723+_722;};dojo.number._integerRegexp=function(_724){_724=_724||{};if(!("signed" in _724)){_724.signed=[true,false];}if(!("separator" in _724)){_724.separator="";}else{if(!("groupSize" in _724)){_724.groupSize=3;}}var _725=_6e2.buildGroupRE(_724.signed,function(q){return q?"[-+]":"";},true);var _726=_6e2.buildGroupRE(_724.separator,function(sep){if(!sep){return "(?:\\d+)";}sep=_6e2.escapeString(sep);if(sep==" "){sep="\\s";}else{if(sep==" "){sep="\\s\\xa0";}}var grp=_724.groupSize,grp2=_724.groupSize2;if(grp2){var _727="(?:0|[1-9]\\d{0,"+(grp2-1)+"}(?:["+sep+"]\\d{"+grp2+"})*["+sep+"]\\d{"+grp+"})";return ((grp-grp2)>0)?"(?:"+_727+"|(?:0|[1-9]\\d{0,"+(grp-1)+"}))":_727;}return "(?:0|[1-9]\\d{0,"+(grp-1)+"}(?:["+sep+"]\\d{"+grp+"})*)";},true);return _725+_726;};return dojo.number;});},"dojo/data/util/filter":function(){define(["dojo/_base/lang"],function(lang){var _728=lang.getObject("dojo.data.util.filter",true);_728.patternToRegExp=function(_729,_72a){var rxp="^";var c=null;for(var i=0;i<_729.length;i++){c=_729.charAt(i);switch(c){case "\\":rxp+=c;i++;rxp+=_729.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(_72a){return new RegExp(rxp,"mi");}else{return new RegExp(rxp,"m");}};return _728;});},"dijit/_WidgetsInTemplateMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/parser","dijit/registry"],function(_72b,_72c,_72d,_72e){return _72c("dijit._WidgetsInTemplateMixin",null,{_earlyTemplatedStartup:false,widgetsInTemplate:true,_beforeFillContent:function(){if(this.widgetsInTemplate){var node=this.domNode;var cw=(this._startupWidgets=_72d.parse(node,{noStart:!this._earlyTemplatedStartup,template:true,inherited:{dir:this.dir,lang:this.lang,textDir:this.textDir},propsThis:this,scope:"dojo"}));this._supportingWidgets=_72e.findWidgets(node);this._attachTemplateNodes(cw,function(n,p){return n[p];});}},startup:function(){_72b.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(_72f,_730,_731,_732){return _72f("dijit.form.HorizontalRuleLabels",_732,{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 _733=this.labels;if(!_733.length){_733=_731("> li",this.srcNodeRef).map(function(node){return String(node.innerHTML);});}this.srcNodeRef.innerHTML="";if(!_733.length&&this.count>1){var _734=this.minimum;var inc=(this.maximum-_734)/(this.count-1);for(var i=0;i<this.count;i++){_733.push((i<this.numericMargin||i>=(this.count-this.numericMargin))?"":_730.format(_734,this.constraints));_734+=inc;}}return _733;},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(_735,_736,_737,lang,_738,_739){return _736("dijit.form.FilteringSelect",[_738,_739],{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(_73a,_73b,_73c,_73d){if((_73b&&_73b[this.searchAttr]!==this._lastQuery)||(!_73b&&_73a.length&&this.store.getIdentity(_73a[0])!=this._lastQuery)){return;}if(!_73a.length){this.set("value","",_73d||(_73d===undefined&&!this.focused),this.textbox.value,null);}else{this.set("item",_73a[0],_73d);}},_openResultList:function(_73e,_73f,_740){if(_73f[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(_741,_742,_743,item){if(!this._onChangeActive){_742=null;}if(item===undefined){if(_741===null||_741===""){_741="";if(!lang.isString(_743)){this._setDisplayedValueAttr(_743||"",_742);return;}}var self=this;this._lastQuery=_741;_737.when(this.store.get(_741),function(item){self._callbackSetLabel(item?[item]:[],undefined,undefined,_742);});}else{this.valueNode.value=_741;this.inherited(arguments);}},_setItemAttr:function(item,_744,_745){this.inherited(arguments);this._lastDisplayedValue=this.textbox.value;},_getDisplayQueryString:function(text){return text.replace(/([\\\*\?])/g,"\\$1");},_setDisplayedValueAttr:function(_746,_747){if(_746==null){_746="";}if(!this._created){if(!("displayedValue" in this.params)){return;}_747=false;}if(this.store){this.closeDropDown();var _748=lang.clone(this.query);var qs=this._getDisplayQueryString(_746),q;if(this.store._oldAPI){q=qs;}else{q=_735.patternToRegExp(qs,this.ignoreCase);q.toString=function(){return qs;};}this._lastQuery=_748[this.searchAttr]=q;this.textbox.value=_746;this._lastDisplayedValue=_746;this._set("displayedValue",_746);var _749=this;var _74a={ignoreCase:this.ignoreCase,deep:true};lang.mixin(_74a,this.fetchProperties);this._fetchHandle=this.store.query(_748,_74a);_737.when(this._fetchHandle,function(_74b){_749._fetchHandle=null;_749._callbackSetLabel(_74b||[],_748,_74a,_747);},function(err){_749._fetchHandle=null;if(!_749._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 _74c=lang.getObject("dojo.data.util.sorter",true);_74c.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;};_74c.createSortFunction=function(_74d,_74e){var _74f=[];function _750(attr,dir,comp,s){return function(_751,_752){var a=s.getValue(_751,attr);var b=s.getValue(_752,attr);return dir*comp(a,b);};};var _753;var map=_74e.comparatorMap;var bc=_74c.basicComparator;for(var i=0;i<_74d.length;i++){_753=_74d[i];var attr=_753.attribute;if(attr){var dir=(_753.descending)?-1:1;var comp=bc;if(map){if(typeof attr!=="string"&&("toString" in attr)){attr=attr.toString();}comp=map[attr]||bc;}_74f.push(_750(attr,dir,comp,_74e));}}return function(rowA,rowB){var i=0;while(i<_74f.length){var ret=_74f[i++](rowA,rowB);if(ret!==0){return ret;}}return 0;};};return _74c;});},"dijit/form/_ButtonMixin":function(){define(["dojo/_base/declare","dojo/dom","dojo/_base/event","../registry"],function(_754,dom,_755,_756){return _754("dijit.form._ButtonMixin",null,{label:"",type:"button",_onClick:function(e){if(this.disabled){_755.stop(e);return false;}var _757=this.onClick(e)===false;if(!_757&&this.type=="submit"&&!(this.valueNode||this.focusNode).form){for(var node=this.domNode;node.parentNode;node=node.parentNode){var _758=_756.byNode(node);if(_758&&typeof _758._onSubmit=="function"){_758._onSubmit(e);_757=true;break;}}}if(_757){e.preventDefault();}return !_757;},postCreate:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},onClick:function(){return true;},_setLabelAttr:function(_759){this._set("label",_759);(this.containerNode||this.focusNode).innerHTML=_759;}});});},"dojo/colors":function(){define(["./_base/kernel","./_base/lang","./_base/Color","./_base/array"],function(dojo,lang,_75a,_75b){var _75c=lang.getObject("dojo.colors",true);var _75d=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=_75a.fromRgb=function(_75e,obj){var m=_75e.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=_75b.map(c,function(x){return parseFloat(x)*2.56;});if(l==4){a[3]=c[3];}return _75a.fromArray(a,obj);}return _75a.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=[_75d(m1,m2,H+1/3)*256,_75d(m1,m2,H)*256,_75d(m1,m2,H-1/3)*256,1];if(l==4){a[3]=c[3];}return _75a.fromArray(a,obj);}}return null;};var _75f=function(c,low,high){c=Number(c);return isNaN(c)?high:c<low?low:c>high?high:c;};_75a.prototype.sanitize=function(){var t=this;t.r=Math.round(_75f(t.r,0,255));t.g=Math.round(_75f(t.g,0,255));t.b=Math.round(_75f(t.b,0,255));t.a=_75f(t.a,0,1);return this;};_75c.makeGrey=_75a.makeGrey=function(g,a){return _75a.fromArray([g,g,g,a]);};lang.mixin(_75a.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 _75a;});},"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(_760,_761,_762,_763,lang,_764,on){return _761("dijit.tree._dndContainer",null,{constructor:function(tree,_765){this.tree=tree;this.node=tree.domNode;lang.mixin(this,_765);this.current=null;this.containerState="";_762.add(this.node,"dojoDndContainer");this.events=[on(this.node,_764.enter,lang.hitch(this,"onOverEvent")),on(this.node,_764.leave,lang.hitch(this,"onOutEvent")),_760.after(this.tree,"_onNodeMouseEnter",lang.hitch(this,"onMouseOver"),true),_760.after(this.tree,"_onNodeMouseLeave",lang.hitch(this,"onMouseOut"),true),on(this.node,"dragstart",lang.hitch(_763,"stop")),on(this.node,"selectstart",lang.hitch(_763,"stop"))];},destroy:function(){var h;while(h=this.events.pop()){h.remove();}this.node=this.parent=null;},onMouseOver:function(_766){this.current=_766;},onMouseOut:function(){this.current=null;},_changeState:function(type,_767){var _768="dojoDnd"+type;var _769=type.toLowerCase()+"State";_762.replace(this.node,_768+_767,_768+this[_769]);this[_769]=_767;},_addItemClass:function(node,type){_762.add(node,"dojoDndItem"+type);},_removeItemClass:function(node,type){_762.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,_76a,date,cldr,_76b,_76c,_76d){lang.getObject("date.locale",true,dojo);function _76e(_76f,_770,_771,_772){return _772.replace(/([a-z])\1*/ig,function(_773){var s,pad,c=_773.charAt(0),l=_773.length,_774=["abbr","wide","narrow"];switch(c){case "G":s=_770[(l<4)?"eraAbbr":"eraNames"][_76f.getFullYear()<0?0:1];break;case "y":s=_76f.getFullYear();switch(l){case 1:break;case 2:if(!_771.fullYear){s=String(s);s=s.substr(s.length-2);break;}default:pad=true;}break;case "Q":case "q":s=Math.ceil((_76f.getMonth()+1)/3);pad=true;break;case "M":var m=_76f.getMonth();if(l<3){s=m+1;pad=true;}else{var _775=["months","format",_774[l-3]].join("-");s=_770[_775][m];}break;case "w":var _776=0;s=dojo.date.locale._getWeekOfYear(_76f,_776);pad=true;break;case "d":s=_76f.getDate();pad=true;break;case "D":s=dojo.date.locale._getDayOfYear(_76f);pad=true;break;case "E":var d=_76f.getDay();if(l<3){s=d+1;pad=true;}else{var _777=["days","format",_774[l-3]].join("-");s=_770[_777][d];}break;case "a":var _778=(_76f.getHours()<12)?"am":"pm";s=_771[_778]||_770["dayPeriods-format-wide-"+_778];break;case "h":case "H":case "K":case "k":var h=_76f.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=_76f.getMinutes();pad=true;break;case "s":s=_76f.getSeconds();pad=true;break;case "S":s=Math.round(_76f.getMilliseconds()*Math.pow(10,l-3));pad=true;break;case "v":case "z":s=dojo.date.locale._getZone(_76f,true,_771);if(s){break;}l=4;case "Z":var _779=dojo.date.locale._getZone(_76f,false,_771);var tz=[(_779<=0?"+":"-"),_76c.pad(Math.floor(Math.abs(_779)/60),2),_76c.pad(Math.abs(_779)%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: "+_772);}if(pad){s=_76c.pad(s,l);}return s;});};dojo.date.locale._getZone=function(_77a,_77b,_77c){if(_77b){return date.getTimezoneName(_77a);}else{return _77a.getTimezoneOffset();}};dojo.date.locale.format=function(_77d,_77e){_77e=_77e||{};var _77f=dojo.i18n.normalizeLocale(_77e.locale),_780=_77e.formatLength||"short",_781=dojo.date.locale._getGregorianBundle(_77f),str=[],_782=lang.hitch(this,_76e,_77d,_781,_77e);if(_77e.selector=="year"){return _783(_781["dateFormatItem-yyyy"]||"yyyy",_782);}var _784;if(_77e.selector!="date"){_784=_77e.timePattern||_781["timeFormat-"+_780];if(_784){str.push(_783(_784,_782));}}if(_77e.selector!="time"){_784=_77e.datePattern||_781["dateFormat-"+_780];if(_784){str.push(_783(_784,_782));}}return str.length==1?str[0]:_781["dateTimeFormat-"+_780].replace(/\{(\d+)\}/g,function(_785,key){return str[key];});};dojo.date.locale.regexp=function(_786){return dojo.date.locale._parseInfo(_786).regexp;};dojo.date.locale._parseInfo=function(_787){_787=_787||{};var _788=dojo.i18n.normalizeLocale(_787.locale),_789=dojo.date.locale._getGregorianBundle(_788),_78a=_787.formatLength||"short",_78b=_787.datePattern||_789["dateFormat-"+_78a],_78c=_787.timePattern||_789["timeFormat-"+_78a],_78d;if(_787.selector=="date"){_78d=_78b;}else{if(_787.selector=="time"){_78d=_78c;}else{_78d=_789["dateTimeFormat-"+_78a].replace(/\{(\d+)\}/g,function(_78e,key){return [_78c,_78b][key];});}}var _78f=[],re=_783(_78d,lang.hitch(this,_790,_78f,_789,_787));return {regexp:re,tokens:_78f,bundle:_789};};dojo.date.locale.parse=function(_791,_792){var _793=/[\u200E\u200F\u202A\u202E]/g,info=dojo.date.locale._parseInfo(_792),_794=info.tokens,_795=info.bundle,re=new RegExp("^"+info.regexp.replace(_793,"")+"$",info.strict?"":"i"),_796=re.exec(_791&&_791.replace(_793,""));if(!_796){return null;}var _797=["abbr","wide","narrow"],_798=[1970,0,1,0,0,0,0],amPm="",_799=dojo.every(_796,function(v,i){if(!i){return true;}var _79a=_794[i-1];var l=_79a.length;switch(_79a.charAt(0)){case "y":if(l!=2&&_792.strict){_798[0]=v;}else{if(v<100){v=Number(v);var year=""+new Date().getFullYear(),_79b=year.substring(0,2)*100,_79c=Math.min(Number(year.substring(2,4))+20,99);_798[0]=(v<_79c)?_79b+v:_79b-100+v;}else{if(_792.strict){return false;}_798[0]=v;}}break;case "M":if(l>2){var _79d=_795["months-format-"+_797[l-3]].concat();if(!_792.strict){v=v.replace(".","").toLowerCase();_79d=dojo.map(_79d,function(s){return s.replace(".","").toLowerCase();});}v=dojo.indexOf(_79d,v);if(v==-1){return false;}}else{v--;}_798[1]=v;break;case "E":case "e":var days=_795["days-format-"+_797[l-3]].concat();if(!_792.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":_798[1]=0;case "d":_798[2]=v;break;case "a":var am=_792.am||_795["dayPeriods-format-wide-am"],pm=_792.pm||_795["dayPeriods-format-wide-pm"];if(!_792.strict){var _79e=/\./g;v=v.replace(_79e,"").toLowerCase();am=am.replace(_79e,"").toLowerCase();pm=pm.replace(_79e,"").toLowerCase();}if(_792.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;}_798[3]=v;break;case "m":_798[4]=v;break;case "s":_798[5]=v;break;case "S":_798[6]=v;}return true;});var _79f=+_798[3];if(amPm==="p"&&_79f<12){_798[3]=_79f+12;}else{if(amPm==="a"&&_79f==12){_798[3]=0;}}var _7a0=new Date(_798[0],_798[1],_798[2],_798[3],_798[4],_798[5],_798[6]);if(_792.strict){_7a0.setFullYear(_798[0]);}var _7a1=_794.join(""),_7a2=_7a1.indexOf("d")!=-1,_7a3=_7a1.indexOf("M")!=-1;if(!_799||(_7a3&&_7a0.getMonth()>_798[1])||(_7a2&&_7a0.getDate()>_798[2])){return null;}if((_7a3&&_7a0.getMonth()<_798[1])||(_7a2&&_7a0.getDate()<_798[2])){_7a0=date.add(_7a0,"hour",1);}return _7a0;};function _783(_7a4,_7a5,_7a6,_7a7){var _7a8=function(x){return x;};_7a5=_7a5||_7a8;_7a6=_7a6||_7a8;_7a7=_7a7||_7a8;var _7a9=_7a4.match(/(''|[^'])+/g),_7aa=_7a4.charAt(0)=="'";dojo.forEach(_7a9,function(_7ab,i){if(!_7ab){_7a9[i]="";}else{_7a9[i]=(_7aa?_7a6:_7a5)(_7ab.replace(/''/g,"'"));_7aa=!_7aa;}});return _7a7(_7a9.join(""));};function _790(_7ac,_7ad,_7ae,_7af){_7af=_76b.escapeString(_7af);if(!_7ae.strict){_7af=_7af.replace(" a"," ?a");}return _7af.replace(/([a-z])\1*/ig,function(_7b0){var s,c=_7b0.charAt(0),l=_7b0.length,p2="",p3="";if(_7ae.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=_7ae.am||_7ad["dayPeriods-format-wide-am"],pm=_7ae.pm||_7ad["dayPeriods-format-wide-pm"];s=am+"|"+pm;if(!_7ae.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(_7ac){_7ac.push(_7b0);}return "("+s+")";}).replace(/[\xa0 ]/g,"[\\s\\xa0]");};var _7b1=[];dojo.date.locale.addCustomFormats=function(_7b2,_7b3){_7b1.push({pkg:_7b2,name:_7b3});};dojo.date.locale._getGregorianBundle=function(_7b4){var _7b5={};dojo.forEach(_7b1,function(desc){var _7b6=dojo.i18n.getLocalization(desc.pkg,desc.name,_7b4);_7b5=lang.mixin(_7b5,_7b6);},this);return _7b5;};dojo.date.locale.addCustomFormats("dojo.cldr","gregorian");dojo.date.locale.getNames=function(item,type,_7b7,_7b8){var _7b9,_7ba=dojo.date.locale._getGregorianBundle(_7b8),_7bb=[item,_7b7,type];if(_7b7=="standAlone"){var key=_7bb.join("-");_7b9=_7ba[key];if(_7b9[0]==1){_7b9=undefined;}}_7bb[1]="format";return (_7b9||_7ba[_7bb.join("-")]).concat();};dojo.date.locale.isWeekend=function(_7bc,_7bd){var _7be=cldr.getWeekend(_7bd),day=(_7bc||new Date()).getDay();if(_7be.end<_7be.start){_7be.end+=7;if(day<_7be.start){day+=7;}}return day>=_7be.start&&day<=_7be.end;};dojo.date.locale._getDayOfYear=function(_7bf){return date.difference(new Date(_7bf.getFullYear(),0,1,_7bf.getHours()),_7bf)+1;};dojo.date.locale._getWeekOfYear=function(_7c0,_7c1){if(arguments.length==1){_7c1=0;}var _7c2=new Date(_7c0.getFullYear(),0,1).getDay(),adj=(_7c2-_7c1+7)%7,week=Math.floor((dojo.date.locale._getDayOfYear(_7c0)+adj-1)/7);if(_7c2==_7c1){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(_7c3,_7c4){return _7c3("dijit.form.VerticalRule",_7c4,{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(_7c5,_7c6,_7c7,_7c8,dom,_7c9,_7ca,lang,_7cb,_7cc){return _7c8("dijit.form._FormSelectWidget",_7cc,{multiple:false,options:null,store:null,query:null,queryOptions:null,onFetch:null,sortByLabel:true,loadChildrenOnOpen:false,getOptions:function(_7cd){var _7ce=_7cd,opts=this.options||[],l=opts.length;if(_7ce===undefined){return opts;}if(lang.isArray(_7ce)){return _7c5.map(_7ce,"return this.getOptions(item);",this);}if(lang.isObject(_7cd)){if(!_7c5.some(this.options,function(o,idx){if(o===_7ce||(o.value&&o.value===_7ce.value)){_7ce=idx;return true;}return false;})){_7ce=-1;}}if(typeof _7ce=="string"){for(var i=0;i<l;i++){if(opts[i].value===_7ce){_7ce=i;break;}}}if(typeof _7ce=="number"&&_7ce>=0&&_7ce<l){return this.options[_7ce];}return null;},addOption:function(_7cf){if(!lang.isArray(_7cf)){_7cf=[_7cf];}_7c5.forEach(_7cf,function(i){if(i&&lang.isObject(i)){this.options.push(i);}},this);this._loadChildren();},removeOption:function(_7d0){if(!lang.isArray(_7d0)){_7d0=[_7d0];}var _7d1=this.getOptions(_7d0);_7c5.forEach(_7d1,function(i){if(i){this.options=_7c5.filter(this.options,function(node){return (node.value!==i.value||node.label!==i.label);});this._removeOptionItem(i);}},this);this._loadChildren();},updateOption:function(_7d2){if(!lang.isArray(_7d2)){_7d2=[_7d2];}_7c5.forEach(_7d2,function(i){var _7d3=this.getOptions(i),k;if(_7d3){for(k in i){_7d3[k]=i[k];}}},this);this._loadChildren();},setStore:function(_7d4,_7d5,_7d6){var _7d7=this.store;_7d6=_7d6||{};if(_7d7!==_7d4){var h;while(h=this._notifyConnections.pop()){h.remove();}if(_7d4&&_7d4.getFeatures()["dojo.data.api.Notification"]){this._notifyConnections=[_7c6.after(_7d4,"onNew",lang.hitch(this,"_onNewItem"),true),_7c6.after(_7d4,"onDelete",lang.hitch(this,"_onDeleteItem"),true),_7c6.after(_7d4,"onSet",lang.hitch(this,"_onSetItem"),true)];}this._set("store",_7d4);}this._onChangeActive=false;if(this.options&&this.options.length){this.removeOption(this.options);}if(_7d4){this._loadingStore=true;_7d4.fetch(lang.delegate(_7d6,{onComplete:function(_7d8,opts){if(this.sortByLabel&&!_7d6.sort&&_7d8.length){_7d8.sort(_7c7.createSortFunction([{attribute:_7d4.getLabelAttributes(_7d8[0])[0]}],_7d4));}if(_7d6.onFetch){_7d8=_7d6.onFetch.call(this,_7d8,opts);}_7c5.forEach(_7d8,function(i){this._addOptionForItem(i);},this);this._loadingStore=false;this.set("value","_pendingValue" in this?this._pendingValue:_7d5);delete this._pendingValue;if(!this.loadChildrenOnOpen){this._loadChildren();}else{this._pseudoLoadChildren(_7d8);}this._fetchedWith=opts;this._lastValueReported=this.multiple?[]:null;this._onChangeActive=true;this.onSetStore();this._handleOnChange(this.value);},scope:this}));}else{delete this._fetchedWith;}return _7d7;},_setValueAttr:function(_7d9,_7da){if(this._loadingStore){this._pendingValue=_7d9;return;}var opts=this.getOptions()||[];if(!lang.isArray(_7d9)){_7d9=[_7d9];}_7c5.forEach(_7d9,function(i,idx){if(!lang.isObject(i)){i=i+"";}if(typeof i==="string"){_7d9[idx]=_7c5.filter(opts,function(node){return node.value===i;})[0]||{value:"",label:""};}},this);_7d9=_7c5.filter(_7d9,function(i){return i&&i.value;});if(!this.multiple&&(!_7d9[0]||!_7d9[0].value)&&opts.length){_7d9[0]=opts[0];}_7c5.forEach(opts,function(i){i.selected=_7c5.some(_7d9,function(v){return v.value===i.value;});});var val=_7c5.map(_7d9,function(i){return i.value;}),disp=_7c5.map(_7d9,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,_7da);},_getDisplayedValueAttr:function(){var val=this.get("value");if(!lang.isArray(val)){val=[val];}var ret=_7c5.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;}_7c5.forEach(this._getChildren(),function(_7db){_7db.destroyRecursive();});_7c5.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]){_7c5.forEach(this._getChildren(),function(_7dc){var _7dd=_7c5.some(val,function(v){return _7dc.option&&(v===_7dc.option.value);});_7c9.toggle(_7dc.domNode,this.baseClass+"SelectedOption",_7dd);_7dc.domNode.setAttribute("aria-selected",_7dd);},this);}},_getValueFromOpts:function(){var opts=this.getOptions()||[];if(!this.multiple&&opts.length){var opt=_7c5.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 _7c5.map(_7c5.filter(opts,function(i){return i.selected;}),function(i){return i.value;})||[];}}return "";},_onNewItem:function(item,_7de){if(!_7de||!_7de.parent){this._addOptionForItem(item);}},_onDeleteItem:function(item){var _7df=this.store;this.removeOption(_7df.getIdentity(item));},_onSetItem:function(item){this.updateOption(this._getOptionObjForItem(item));},_getOptionObjForItem:function(item){var _7e0=this.store,_7e1=_7e0.getLabel(item),_7e2=(_7e1?_7e0.getIdentity(item):null);return {value:_7e2,label:_7e1,item:item};},_addOptionForItem:function(item){var _7e3=this.store;if(!_7e3.isItemLoaded(item)){_7e3.loadItem({item:item,onItem:function(i){this._addOptionForItem(i);},scope:this});return;}var _7e4=this._getOptionObjForItem(item);this.addOption(_7e4);},constructor:function(_7e5){this._oValue=(_7e5||{}).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?_7cb("> *",this.srcNodeRef).map(function(node){if(node.getAttribute("type")==="separator"){return {value:"",label:"",selected:false,disabled:false};}return {value:(node.getAttribute("data-"+_7ca._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 _7e6=this.store,_7e7={};_7c5.forEach(["query","queryOptions","onFetch"],function(i){if(this[i]){_7e7[i]=this[i];}delete this[i];},this);if(_7e6&&_7e6.getFeatures()["dojo.data.api.Identity"]){this.store=null;this.setStore(_7e6,this._oValue,_7e7);}},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(_7e8,_7e9,_7ea,_7eb,_7ec,_7ed,_7ee,i18n,lang,_7ef,_7f0,Menu,_7f1,_7f2,_7f3,_7f4){var _7f5=_7e9("dijit.form._SelectMenu",Menu,{buildRendering:function(){this.inherited(arguments);var o=(this.menuTableNode=this.domNode);var n=(this.domNode=_7ec.create("div",{style:{overflowX:"hidden",overflowY:"scroll"}}));if(o.parentNode){o.parentNode.replaceChild(n,o);}_7eb.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",_7ee.stop);},resize:function(mb){if(mb){_7ed.setMarginBox(this.domNode,mb);if("w" in mb){this.menuTableNode.style.width="100%";}}}});var _7f6=_7e9("dijit.form.Select",[_7ef,_7f0],{baseClass:"dijitSelect",templateString:_7f4,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 _7f5({id:this.id+"_menu"});_7eb.add(this.dropDown.domNode,this.baseClass+"Menu");},_getMenuItemForOption:function(_7f7){if(!_7f7.value&&!_7f7.label){return new _7f2();}else{var _7f8=lang.hitch(this,"_setValueAttr",_7f7);var item=new _7f1({option:_7f7,label:_7f7.label||this.emptyLabel,onClick:_7f8,disabled:_7f7.disabled||false});item.focusNode.setAttribute("role","listitem");return item;}},_addOptionItem:function(_7f9){if(this.dropDown){this.dropDown.addChild(this._getMenuItemForOption(_7f9));}},_getChildren:function(){if(!this.dropDown){return [];}return this.dropDown.getChildren();},_loadChildren:function(_7fa){if(_7fa===true){if(this.dropDown){delete this.dropDown.focusedChild;}if(this.options.length){this.inherited(arguments);}else{_7e8.forEach(this._getChildren(),function(_7fb){_7fb.destroyRecursive();});var item=new _7f1({label:"&#160;"});this.dropDown.addChild(item);}}else{this._updateSelection();}this._isLoaded=false;this._childrenLoaded=true;if(!this._loadingStore){this._setValueAttr(this.value);}},_setValueAttr:function(_7fc){this.inherited(arguments);_7ea.set(this.valueNode,"value",this.get("value"));this.validate(this.focused);},_setDisabledAttr:function(_7fd){this.inherited(arguments);this.validate(this.focused);},_setRequiredAttr:function(_7fe){this._set("required",_7fe);this.focusNode.setAttribute("aria-required",_7fe);this.validate(this.focused);},_setDisplay:function(_7ff){var lbl=_7ff||this.emptyLabel;this.containerNode.innerHTML="<span class=\"dijitReset dijitInline "+this.baseClass+"Label\">"+lbl+"</span>";this.focusNode.setAttribute("aria-valuetext",lbl);},validate:function(_800){var _801=this.disabled||this.isValid(_800);this._set("state",_801?"":"Incomplete");this.focusNode.setAttribute("aria-invalid",_801?"false":"true");var _802=_801?"":this._missingMsg;if(_802&&this.focused&&this._hasBeenBlurred){_7f3.show(_802,this.domNode,this.tooltipPosition,!this.isLeftToRight());}else{_7f3.hide(this.domNode);}this._set("message",_802);return _801;},isValid:function(){return (!this.required||this.value===0||!(/^\s*$/.test(this.value||"")));},reset:function(){this.inherited(arguments);_7f3.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",_7ee.stop);},_setStyleAttr:function(_803){this.inherited(arguments);_7eb.toggle(this.domNode,this.baseClass+"FixedWidth",!!this.domNode.style.width);},isLoaded:function(){return this._isLoaded;},loadDropDown:function(_804){this._loadChildren(true);this._isLoaded=true;_804();},closeDropDown:function(){this.inherited(arguments);if(this.dropDown&&this.dropDown.menuTableNode){this.dropDown.menuTableNode.style.width="";}},uninitialize:function(_805){if(this.dropDown&&!this.dropDown._destroyed){this.dropDown.destroyRecursive(_805);delete this.dropDown;}this.inherited(arguments);},_onFocus:function(){this.validate(true);this.inherited(arguments);},_onBlur:function(){_7f3.hide(this.domNode);this.inherited(arguments);}});_7f6._Menu=_7f5;return _7f6;});},"dijit/_editor/range":function(){define("dijit/_editor/range",["dojo/_base/array","dojo/_base/declare","dojo/_base/lang","dojo/_base/window",".."],function(_806,_807,lang,win,_808){_808.range={};_808.range.getIndex=function(node,_809){var ret=[],retR=[];var _80a=node;var _80b,n;while(node!=_809){var i=0;_80b=node.parentNode;while((n=_80b.childNodes[i++])){if(n===node){--i;break;}}ret.unshift(i);retR.unshift(i-_80b.childNodes.length);node=_80b;}if(ret.length>0&&_80a.nodeType==3){n=_80a.previousSibling;while(n&&n.nodeType==3){ret[ret.length-1]--;n=n.previousSibling;}n=_80a.nextSibling;while(n&&n.nodeType==3){retR[retR.length-1]++;n=n.nextSibling;}}return {o:ret,r:retR};};_808.range.getNode=function(_80c,_80d){if(!lang.isArray(_80c)||_80c.length==0){return _80d;}var node=_80d;_806.every(_80c,function(i){if(i>=0&&i<node.childNodes.length){node=node.childNodes[i];}else{node=null;return false;}return true;});return node;};_808.range.getCommonAncestor=function(n1,n2,root){root=root||n1.ownerDocument.body;var _80e=function(n){var as=[];while(n){as.unshift(n);if(n!==root){n=n.parentNode;}else{break;}}return as;};var n1as=_80e(n1);var n2as=_80e(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;};_808.range.getAncestor=function(node,_80f,root){root=root||node.ownerDocument.body;while(node&&node!==root){var name=node.nodeName.toUpperCase();if(_80f.test(name)){return node;}node=node.parentNode;}return null;};_808.range.BlockTagNames=/^(?:P|DIV|H1|H2|H3|H4|H5|H6|ADDRESS|PRE|OL|UL|LI|DT|DE)$/;_808.range.getBlockAncestor=function(node,_810,root){root=root||node.ownerDocument.body;_810=_810||_808.range.BlockTagNames;var _811=null,_812;while(node&&node!==root){var name=node.nodeName.toUpperCase();if(!_811&&_810.test(name)){_811=node;}if(!_812&&(/^(?:BODY|TD|TH|CAPTION)$/).test(name)){_812=node;}node=node.parentNode;}return {blockNode:_811,blockContainer:_812||node.ownerDocument.body};};_808.range.atBeginningOfContainer=function(_813,node,_814){var _815=false;var _816=(_814==0);if(!_816&&node.nodeType==3){if(/^[\s\xA0]+$/.test(node.nodeValue.substr(0,_814))){_816=true;}}if(_816){var _817=node;_815=true;while(_817&&_817!==_813){if(_817.previousSibling){_815=false;break;}_817=_817.parentNode;}}return _815;};_808.range.atEndOfContainer=function(_818,node,_819){var _81a=false;var _81b=(_819==(node.length||node.childNodes.length));if(!_81b&&node.nodeType==3){if(/^[\s\xA0]+$/.test(node.nodeValue.substr(_819))){_81b=true;}}if(_81b){var _81c=node;_81a=true;while(_81c&&_81c!==_818){if(_81c.nextSibling){_81a=false;break;}_81c=_81c.parentNode;}}return _81a;};_808.range.adjacentNoneTextNode=function(_81d,next){var node=_81d;var len=(0-_81d.length)||0;var prop=next?"nextSibling":"previousSibling";while(node){if(node.nodeType!=3){break;}len+=node.length;node=node[prop];}return [node,len];};_808.range._w3c=Boolean(window["getSelection"]);_808.range.create=function(_81e){if(_808.range._w3c){return (_81e||win.global).document.createRange();}else{return new _808.range.W3CRange;}};_808.range.getSelection=function(win,_81f){if(_808.range._w3c){return win.getSelection();}else{var s=new _808.range.ie.selection(win);if(!_81f){s._getCurrentSelection();}return s;}};if(!_808.range._w3c){_808.range.ie={cachedSelection:{},selection:function(win){this._ranges=[];this.addRange=function(r,_820){this._ranges.push(r);if(!_820){r._select();}this.rangeCount=this._ranges.length;};this.removeAllRanges=function(){this._ranges=[];this.rangeCount=0;};var _821=function(){var r=win.document.selection.createRange();var type=win.document.selection.type.toUpperCase();if(type=="CONTROL"){return new _808.range.W3CRange(_808.range.ie.decomposeControlRange(r));}else{return new _808.range.W3CRange(_808.range.ie.decomposeTextRange(r));}};this.getRangeAt=function(i){return this._ranges[i];};this._getCurrentSelection=function(){this.removeAllRanges();var r=_821();if(r){this.addRange(r,true);this.isCollapsed=r.collapsed;}else{this.isCollapsed=true;}};},decomposeControlRange:function(_822){var _823=_822.item(0),_824=_822.item(_822.length-1);var _825=_823.parentNode,_826=_824.parentNode;var _827=_808.range.getIndex(_823,_825).o[0];var _828=_808.range.getIndex(_824,_826).o[0]+1;return [_825,_827,_826,_828];},getEndPoint:function(_829,end){var _82a=_829.duplicate();_82a.collapse(!end);var _82b="EndTo"+(end?"End":"Start");var _82c=_82a.parentElement();var _82d,_82e,_82f;if(_82c.childNodes.length>0){_806.every(_82c.childNodes,function(node,i){var _830;if(node.nodeType!=3){_82a.moveToElementText(node);if(_82a.compareEndPoints(_82b,_829)>0){if(_82f&&_82f.nodeType==3){_82d=_82f;_830=true;}else{_82d=_82c;_82e=i;return false;}}else{if(i==_82c.childNodes.length-1){_82d=_82c;_82e=_82c.childNodes.length;return false;}}}else{if(i==_82c.childNodes.length-1){_82d=node;_830=true;}}if(_830&&_82d){var _831=_808.range.adjacentNoneTextNode(_82d)[0];if(_831){_82d=_831.nextSibling;}else{_82d=_82c.firstChild;}var _832=_808.range.adjacentNoneTextNode(_82d);_831=_832[0];var _833=_832[1];if(_831){_82a.moveToElementText(_831);_82a.collapse(false);}else{_82a.moveToElementText(_82c);}_82a.setEndPoint(_82b,_829);_82e=_82a.text.length-_833;return false;}_82f=node;return true;});}else{_82d=_82c;_82e=0;}if(!end&&_82d.nodeType==1&&_82e==_82d.childNodes.length){var _834=_82d.nextSibling;if(_834&&_834.nodeType==3){_82d=_834;_82e=0;}}return [_82d,_82e];},setEndPoint:function(_835,_836,_837){var _838=_835.duplicate(),node,len;if(_836.nodeType!=3){if(_837>0){node=_836.childNodes[_837-1];if(node){if(node.nodeType==3){_836=node;_837=node.length;}else{if(node.nextSibling&&node.nextSibling.nodeType==3){_836=node.nextSibling;_837=0;}else{_838.moveToElementText(node.nextSibling?node:_836);var _839=node.parentNode;var _83a=_839.insertBefore(node.ownerDocument.createTextNode(" "),node.nextSibling);_838.collapse(false);_839.removeChild(_83a);}}}}else{_838.moveToElementText(_836);_838.collapse(true);}}if(_836.nodeType==3){var _83b=_808.range.adjacentNoneTextNode(_836);var _83c=_83b[0];len=_83b[1];if(_83c){_838.moveToElementText(_83c);_838.collapse(false);if(_83c.contentEditable!="inherit"){len++;}}else{_838.moveToElementText(_836.parentNode);_838.collapse(true);}_837+=len;if(_837>0){if(_838.move("character",_837)!=_837){console.error("Error when moving!");}}}return _838;},decomposeTextRange:function(_83d){var _83e=_808.range.ie.getEndPoint(_83d);var _83f=_83e[0],_840=_83e[1];var _841=_83e[0],_842=_83e[1];if(_83d.htmlText.length){if(_83d.htmlText==_83d.text){_842=_840+_83d.text.length;}else{_83e=_808.range.ie.getEndPoint(_83d,true);_841=_83e[0],_842=_83e[1];}}return [_83f,_840,_841,_842];},setRange:function(_843,_844,_845,_846,_847,_848){var _849=_808.range.ie.setEndPoint(_843,_844,_845);_843.setEndPoint("StartToStart",_849);if(!_848){var end=_808.range.ie.setEndPoint(_843,_846,_847);}_843.setEndPoint("EndToEnd",end||_849);return _843;}};_807("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=_808.range.getCommonAncestor(this.startContainer,this.endContainer);}else{this.commonAncestorContainer=this.startContainer;}this.collapsed=(this.startContainer===this.endContainer)&&(this.startOffset==this.endOffset);},setStart:function(node,_84a){_84a=parseInt(_84a);if(this.startContainer===node&&this.startOffset==_84a){return;}delete this._cachedBookmark;this.startContainer=node;this.startOffset=_84a;if(!this.endContainer){this.setEnd(node,_84a);}else{this._updateInternal();}},setEnd:function(node,_84b){_84b=parseInt(_84b);if(this.endContainer===node&&this.endOffset==_84b){return;}delete this._cachedBookmark;this.endContainer=node;this.endOffset=_84b;if(!this.startContainer){this.setStart(node,_84b);}else{this._updateInternal();}},setStartAfter:function(node,_84c){this._setPoint("setStart",node,_84c,1);},setStartBefore:function(node,_84d){this._setPoint("setStart",node,_84d,0);},setEndAfter:function(node,_84e){this._setPoint("setEnd",node,_84e,1);},setEndBefore:function(node,_84f){this._setPoint("setEnd",node,_84f,0);},_setPoint:function(what,node,_850,ext){var _851=_808.range.getIndex(node,node.parentNode).o;this[what](node.parentNode,_851.pop()+ext);},_getIERange:function(){var r=(this._body||this.endContainer.ownerDocument.body).createTextRange();_808.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 _808.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 _808.range;});},"dojo/store/util/QueryResults":function(){define(["../../_base/array","../../_base/lang","../../_base/Deferred"],function(_852,lang,_853){var util=lang.getObject("dojo.store.util",true);util.QueryResults=function(_854){if(!_854){return _854;}if(_854.then){_854=lang.delegate(_854);}function _855(_856){if(!_854[_856]){_854[_856]=function(){var args=arguments;return _853.when(_854,function(_857){Array.prototype.unshift.call(args,_857);return util.QueryResults(_852[_856].apply(_852,args));});};}};_855("forEach");_855("filter");_855("map");if(!_854.total){_854.total=_853.when(_854,function(_858){return _858.length;});}return _854;};return util.QueryResults;});},"dijit/form/_ListBase":function(){define(["dojo/_base/declare","dojo/window"],function(_859,_85a){return _859("dijit.form._ListBase",null,{selected:null,_getTarget:function(evt){var tgt=evt.target;var _85b=this.containerNode;if(tgt==_85b||tgt==this.domNode){return null;}while(tgt&&tgt.parentNode!=_85b){tgt=tgt.parentNode;}return tgt;},selectFirstNode:function(){var _85c=this.containerNode.firstChild;while(_85c&&_85c.style.display=="none"){_85c=_85c.nextSibling;}this._setSelectedAttr(_85c);},selectLastNode:function(){var last=this.containerNode.lastChild;while(last&&last.style.display=="none"){last=last.previousSibling;}this._setSelectedAttr(last);},selectNextNode:function(){var _85d=this._getSelectedAttr();if(!_85d){this.selectFirstNode();}else{var next=_85d.nextSibling;while(next&&next.style.display=="none"){next=next.nextSibling;}if(!next){this.selectFirstNode();}else{this._setSelectedAttr(next);}}},selectPreviousNode:function(){var _85e=this._getSelectedAttr();if(!_85e){this.selectLastNode();}else{var prev=_85e.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 _85f=this._getSelectedAttr();if(_85f){this.onDeselect(_85f);this.selected=null;}if(node&&node.parentNode==this.containerNode){this.selected=node;_85a.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,_860,_861){dojo.DeferredList=function(list,_862,_863,_864,_865){var _866=[];_860.call(this);var self=this;if(list.length===0&&!_862){this.resolve([0,[]]);}var _867=0;_861.forEach(list,function(item,i){item.then(function(_868){if(_862){self.resolve([i,_868]);}else{_869(true,_868);}},function(_86a){if(_863){self.reject(_86a);}else{_869(false,_86a);}if(_864){return null;}throw _86a;});function _869(_86b,_86c){_866[i]=[_86b,_86c];_867++;if(_867===list.length){self.resolve(_866);}};});};dojo.DeferredList.prototype=new _860();dojo.DeferredList.prototype.gatherResults=function(_86d){var d=new dojo.DeferredList(_86d,false,true,false);d.addCallback(function(_86e){var ret=[];_861.forEach(_86e,function(_86f){ret.push(_86f[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(_870,_871,_872,date,_873,dom,_874,_875,lang,has,_876,win,_877,_878,_879){var _87a=_871("dijit.CalendarLite",[_877,_878],{templateString:_879,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(_87b){return _87b&&!isNaN(_87b)&&typeof _87b=="object"&&_87b.toString()!=this.constructor.prototype.value.toString();},_getValueAttr:function(){if(this.value&&!isNaN(this.value)){var _87c=new this.dateClassObj(this.value);_87c.setHours(0,0,0,0);if(_87c.getDate()<this.value.getDate()){_87c=this.dateFuncObj.add(_87c,"hour",1);}return _87c;}else{return null;}},_setValueAttr:function(_87d,_87e){if(_87d){_87d=new this.dateClassObj(_87d);}if(this._isValidDate(_87d)){if(!this._isValidDate(this.value)||this.dateFuncObj.compare(_87d,this.value)){_87d.setHours(1,0,0,0);if(!this.isDisabledDate(_87d,this.lang)){this._set("value",_87d);this.set("currentFocus",_87d);if(_87e||typeof _87e=="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 _87f=new this.dateClassObj(this.currentFocus);_87f.setDate(1);var _880=_87f.getDay(),_881=this.dateFuncObj.getDaysInMonth(_87f),_882=this.dateFuncObj.getDaysInMonth(this.dateFuncObj.add(_87f,"month",-1)),_883=new this.dateClassObj(),_884=_872.getFirstDayOfWeek(this.lang);if(_884>_880){_884-=7;}this._date2cell={};_870.forEach(this.dateCells,function(_885,idx){var i=idx+_884;var date=new this.dateClassObj(_87f),_886,_887="dijitCalendar",adj=0;if(i<_880){_886=_882-_880+i+1;adj=-1;_887+="Previous";}else{if(i>=(_880+_881)){_886=i-_880-_881+1;adj=1;_887+="Next";}else{_886=i-_880+1;_887+="Current";}}if(adj){date=this.dateFuncObj.add(date,"month",adj);}date.setDate(_886);if(!this.dateFuncObj.compare(date,_883,"date")){_887="dijitCalendarCurrentDate "+_887;}if(this._isSelectedDate(date,this.lang)){_887="dijitCalendarSelectedDate "+_887;_885.setAttribute("aria-selected",true);}else{_885.setAttribute("aria-selected",false);}if(this.isDisabledDate(date,this.lang)){_887="dijitCalendarDisabledDate "+_887;_885.setAttribute("aria-disabled",true);}else{_887="dijitCalendarEnabledDate "+_887;_885.removeAttribute("aria-disabled");}var _888=this.getClassForDate(date,this.lang);if(_888){_887=_888+" "+_887;}_885.className=_887+"Month dijitCalendarDateTemplate";var _889=date.valueOf();this._date2cell[_889]=_885;_885.dijitDateValue=_889;this._setText(this.dateLabels[idx],date.getDateLocalized?date.getDateLocalized(this.lang):date.getDate());},this);this.monthWidget.set("month",_87f);var y=_87f.getFullYear()-1;var d=new this.dateClassObj();_870.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 _87a._MonthWidget({id:this.id+"_mw",lang:this.lang,dateLocaleModule:this.dateLocaleModule},this.monthNode);},buildRendering:function(){var d=this.dowTemplateString,_88a=this.dateLocaleModule.getNames("days",this.dayWidth,"standAlone",this.lang),_88b=_872.getFirstDayOfWeek(this.lang);this.dayCellsHtml=_876.substitute([d,d,d,d,d,d,d].join(""),{d:""},function(){return _88a[_88b++%7];});var r=_876.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 _88c=new this.dateClassObj(this.currentFocus);this._supportingWidgets.push(this.monthWidget=this._createMonthWidget());this.set("currentFocus",_88c,false);var _88d=lang.hitch(this,function(_88e,part,_88f){this.connect(this[_88e],"onclick",function(){this._setCurrentFocusAttr(this.dateFuncObj.add(this.currentFocus,part,_88f));});});_88d("incrementMonth","month",1);_88d("decrementMonth","month",-1);_88d("nextYearLabelNode","year",1);_88d("previousYearLabelNode","year",-1);},_setCurrentFocusAttr:function(date,_890){var _891=this.currentFocus,_892=_891&&this._date2cell?this._date2cell[_891.valueOf()]:null;date=new this.dateClassObj(date);date.setHours(1,0,0,0);this._set("currentFocus",date);this._populateGrid();var _893=this._date2cell[date.valueOf()];_893.setAttribute("tabIndex",this.tabIndex);if(this.focused||_890){_893.focus();}if(_892&&_892!=_893){if(has("webkit")){_892.setAttribute("tabIndex","-1");}else{_892.removeAttribute("tabIndex");}}},focus:function(){this._setCurrentFocusAttr(this.currentFocus,true);},_onDayClick:function(evt){_875.stop(evt);for(var node=evt.target;node&&!node.dijitDateValue;node=node.parentNode){}if(node&&!_874.contains(node,"dijitCalendarDisabledDate")){this.set("value",node.dijitDateValue);}},onChange:function(){},_isSelectedDate:function(_894){return this._isValidDate(this.value)&&!this.dateFuncObj.compare(_894,this.value,"date");},isDisabledDate:function(){},getClassForDate:function(){}});_87a._MonthWidget=_871("dijit.CalendarLite._MonthWidget",_877,{_setMonthAttr:function(_895){var _896=this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,_895),_897=(has("ie")==6?"":"<div class='dijitSpacer'>"+_870.map(_896,function(s){return "<div>"+s+"</div>";}).join("")+"</div>");this.domNode.innerHTML=_897+"<div class='dijitCalendarMonthLabel dijitCalendarCurrentMonthLabel'>"+_896[_895.getMonth()]+"</div>";}});return _87a;});},"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(_898,_899,_89a,_89b){return _898("dijit.CheckedMenuItem",_89a,{templateString:_89b,checked:false,_setCheckedAttr:function(_89c){_899.toggle(this.domNode,"dijitCheckedMenuItemChecked",_89c);this.domNode.setAttribute("aria-checked",_89c);this._set("checked",_89c);},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(_89d,_89e){return _89d("dijit.form.VerticalRuleLabels",_89e,{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(_89f,_8a0,_8a1,lang,_8a2,_8a3,_8a4,_8a5,_8a6){return _8a1("dijit.Declaration",_8a4,{_noScript:true,stopParser:true,widgetClass:"",defaults:null,mixins:[],buildRendering:function(){var src=this.srcNodeRef.parentNode.removeChild(this.srcNodeRef),_8a7=_8a3("> script[type^='dojo/method']",src).orphan(),_8a8=_8a3("> script[type^='dojo/connect']",src).orphan(),_8a9=src.nodeName;var _8aa=this.defaults||{};_89f.forEach(_8a7,function(s){var evt=s.getAttribute("event")||s.getAttribute("data-dojo-event"),func=_8a2._functionFromScript(s);if(evt){_8aa[evt]=func;}else{_8a8.push(s);}});this.mixins=this.mixins.length?_89f.map(this.mixins,function(name){return lang.getObject(name);}):[_8a4,_8a5,_8a6];_8aa._skipNodeCache=true;_8aa.templateString="<"+_8a9+" 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,"}")+"</"+_8a9+">";var wc=_8a1(this.widgetClass,this.mixins,_8aa);_89f.forEach(_8a8,function(s){var evt=s.getAttribute("event")||s.getAttribute("data-dojo-event")||"postscript",func=_8a2._functionFromScript(s);_8a0.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(_8ab,dom,_8ac,_8ad,_8ae,_8af){return _8ab("dijit.MenuSeparator",[_8ac,_8ad,_8ae],{templateString:_8af,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(_8b0,_8b1,_8b2,_8b3,keys,_8b4,_8b5,_8b6,_8b7){return _8b0("dijit.form._ComboBoxMenu",[_8b4,_8b5,_8b7,_8b6],{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",postCreate:function(){this.inherited(arguments);if(!this.isLeftToRight()){_8b1.add(this.previousButton,"dijitMenuItemRtl");_8b1.add(this.nextButton,"dijitMenuItemRtl");}},_createMenuItem:function(){return _8b2.create("div",{"class":"dijitReset dijitMenuItem"+(this.isLeftToRight()?"":" dijitMenuItemRtl"),role:"option"});},onHover:function(node){_8b1.add(node,"dijitMenuItemHover");},onUnhover:function(node){_8b1.remove(node,"dijitMenuItemHover");},onSelect:function(node){_8b1.add(node,"dijitMenuItemSelected");},onDeselect:function(node){_8b1.remove(node,"dijitMenuItemSelected");},_page:function(up){var _8b8=0;var _8b9=this.domNode.scrollTop;var _8ba=_8b3.get(this.domNode,"height");if(!this.getHighlightedOption()){this.selectNextNode();}while(_8b8<_8ba){var _8bb=this.getHighlightedOption();if(up){if(!_8bb.previousSibling||_8bb.previousSibling.style.display=="none"){break;}this.selectPreviousNode();}else{if(!_8bb.nextSibling||_8bb.nextSibling.style.display=="none"){break;}this.selectNextNode();}var _8bc=this.domNode.scrollTop;_8b8+=(_8bc-_8b9)*(up?-1:1);_8b9=_8bc;}},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(_8bd,_8be,_8bf,_8c0,_8c1,dom,_8c2,_8c3,_8c4,_8c5,fx,i18n,_8c6,keys,lang,on,_8c7,has,win,_8c8,_8c9,_8ca,_8cb,_8cc,_8cd,_8ce,_8cf,_8d0,_8d1,_8d2,_8d3,_8d4,_8d5){var _8d6=_8c0("dijit._DialogBase",[_8ce,_8d0,_8d1,_8cf],{templateString:_8d4,baseClass:"dijitDialog",cssStateNodes:{closeButtonNode:"dijitDialogCloseIcon"},_setTitleAttr:[{node:"titleNode",type:"innerHTML"},{node:"titleBar",type:"attribute"}],open:false,duration:_8cc.defaultDuration,refocus:true,autofocus:true,_firstFocusItem:null,_lastFocusItem:null,doLayout:false,draggable:true,"aria-describedby":"",postMixInProperties:function(){var _8d7=i18n.getLocalization("dijit","common");lang.mixin(this,_8d7);this.inherited(arguments);},postCreate:function(){_8c4.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&&_8d8.isTop(this)){this._getFocusItems(this.domNode);_8cb.focus(this._firstFocusItem);}this.inherited(arguments);},_endDrag:function(){var _8d9=_8c3.position(this.domNode),_8da=_8c8.getBox();_8d9.y=Math.min(Math.max(_8d9.y,0),(_8da.h-_8d9.h));_8d9.x=Math.min(Math.max(_8d9.x,0),(_8da.w-_8d9.w));this._relativePosition=_8d9;this._position();},_setup:function(){var node=this.domNode;if(this.titleBar&&this.draggable){this._moveable=new ((has("ie")==6)?_8ca:_8c9)(node,{handle:this.titleBar});this.connect(this._moveable,"onMoveStop","_endDrag");}else{_8c2.add(node,"dijitDialogFixed");}this.underlayAttrs={dialogId:this.id,"class":_8be.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{_8c4.set(this.containerNode,{width:"auto",height:"auto"});}var bb=_8c3.position(this.domNode);var _8db=_8c8.getBox();if(bb.w>=_8db.w||bb.h>=_8db.h){var w=Math.min(bb.w,Math.floor(_8db.w*0.75)),h=Math.min(bb.h,Math.floor(_8db.h*0.75));if(this._singleChild&&this._singleChild.resize){this._singleChildOriginalStyle=this._singleChild.domNode.style.cssText;this._singleChild.resize({w:w,h:h});}else{_8c4.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(!_8c2.contains(win.body(),"dojoMove")){var node=this.domNode,_8dc=_8c8.getBox(),p=this._relativePosition,bb=p?null:_8c3.position(node),l=Math.floor(_8dc.l+(p?p.x:(_8dc.w-bb.w)/2)),t=Math.floor(_8dc.t+(p?p.y:(_8dc.h-bb.h)/2));_8c4.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 _8dd=(this._firstFocusItem==this._lastFocusItem);if(node==this._firstFocusItem&&evt.shiftKey&&evt.charOrCode===keys.TAB){if(!_8dd){_8cb.focus(this._lastFocusItem);}_8c5.stop(evt);}else{if(node==this._lastFocusItem&&evt.charOrCode===keys.TAB&&!evt.shiftKey){if(!_8dd){_8cb.focus(this._firstFocusItem);}_8c5.stop(evt);}else{while(node){if(node==this.domNode||_8c2.contains(node,"dijitPopup")){if(evt.charOrCode==keys.ESCAPE){this.onCancel();}else{return;}}node=node.parentNode;}if(evt.charOrCode!==keys.TAB){_8c5.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 _8de=_8c8.getBox();if(!this._oldViewport||_8de.h!=this._oldViewport.h||_8de.w!=this._oldViewport.w){this.layout();this._oldViewport=_8de;}})));this._modalconnects.push(on(this.domNode,_8bf._keypress,lang.hitch(this,"_onKey")));_8c4.set(this.domNode,{opacity:0,display:""});this._set("open",true);this._onShow();this._size();this._position();var _8df;this._fadeInDeferred=new _8c1(lang.hitch(this,function(){_8df.stop();delete this._fadeInDeferred;}));_8df=fx.fadeIn({node:this.domNode,duration:this.duration,beforeBegin:lang.hitch(this,function(){_8d8.show(this,this.underlayAttrs);}),onEnd:lang.hitch(this,function(){if(this.autofocus&&_8d8.isTop(this)){this._getFocusItems(this.domNode);_8cb.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 _8e0;this._fadeOutDeferred=new _8c1(lang.hitch(this,function(){_8e0.stop();delete this._fadeOutDeferred;}));this._fadeOutDeferred.then(lang.hitch(this,"onHide"));_8e0=fx.fadeOut({node:this.domNode,duration:this.duration,onEnd:lang.hitch(this,function(){this.domNode.style.display="none";_8d8.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(_8d5._underlay){_8d5._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();}_8d8.hide(this);this.inherited(arguments);}});var _8e1=_8c0("dijit.Dialog",[_8d3,_8d6],{});_8e1._DialogBase=_8d6;var _8d8=_8e1._DialogLevelManager={_beginZIndex:950,show:function(_8e2,_8e3){ds[ds.length-1].focus=_8cb.curNode;var _8e4=_8d5._underlay;if(!_8e4||_8e4._destroyed){_8e4=_8d5._underlay=new _8d2(_8e3);}else{_8e4.set(_8e2.underlayAttrs);}var _8e5=ds[ds.length-1].dialog?ds[ds.length-1].zIndex+2:_8e1._DialogLevelManager._beginZIndex;if(ds.length==1){_8e4.show();}_8c4.set(_8d5._underlay.domNode,"zIndex",_8e5-1);_8c4.set(_8e2.domNode,"zIndex",_8e5);ds.push({dialog:_8e2,underlayAttrs:_8e3,zIndex:_8e5});},hide:function(_8e6){if(ds[ds.length-1].dialog==_8e6){ds.pop();var pd=ds[ds.length-1];if(ds.length==1){if(!_8d5._underlay._destroyed){_8d5._underlay.hide();}}else{_8c4.set(_8d5._underlay.domNode,"zIndex",pd.zIndex-1);_8d5._underlay.set(pd.underlayAttrs);}if(_8e6.refocus){var _8e7=pd.focus;if(pd.dialog&&(!_8e7||!dom.isDescendant(_8e7,pd.dialog.domNode))){pd.dialog._getFocusItems(pd.dialog.domNode);_8e7=pd.dialog._firstFocusItem;}if(_8e7){_8e7.focus();}}}else{var idx=_8be.indexOf(_8be.map(ds,function(elem){return elem.dialog;}),_8e6);if(idx!=-1){ds.splice(idx,1);}}},isTop:function(_8e8){return ds[ds.length-1].dialog==_8e8;}};var ds=_8e1._dialogStack=[{dialog:null,focus:null,underlayAttrs:null}];if(!_8c6.isAsync){_8c7(0,function(){var _8e9=["dijit/TooltipDialog"];_8bd(_8e9);});}return _8e1;});},"dijit/form/MultiSelect":function(){define("dijit/form/MultiSelect",["dojo/_base/array","dojo/_base/declare","dojo/dom-geometry","dojo/query","./_FormValueWidget"],function(_8ea,_8eb,_8ec,_8ed,_8ee){return _8eb("dijit.form.MultiSelect",_8ee,{size:7,templateString:"<select multiple='true' ${!nameAttrSetting} data-dojo-attach-point='containerNode,focusNode' data-dojo-attach-event='onchange: _onChange'></select>",addSelected:function(_8ef){_8ef.getSelected().forEach(function(n){this.containerNode.appendChild(n);this.domNode.scrollTop=this.domNode.offsetHeight;var _8f0=_8ef.domNode.scrollTop;_8ef.domNode.scrollTop=0;_8ef.domNode.scrollTop=_8f0;},this);this._set("value",this.get("value"));},getSelected:function(){return _8ed("option",this.containerNode).filter(function(n){return n.selected;});},_getValueAttr:function(){return _8ea.map(this.getSelected(),function(n){return n.value;});},multiple:true,_setValueAttr:function(_8f1,_8f2){_8ed("option",this.containerNode).forEach(function(n){n.selected=(_8ea.indexOf(_8f1,n.value)!=-1);});this.inherited(arguments);},invertSelection:function(_8f3){var val=[];_8ed("option",this.containerNode).forEach(function(n){if(!n.selected){val.push(n.value);}});this._setValueAttr(val,!(_8f3===false||_8f3==null));},_onChange:function(){this._handleOnChange(this.get("value"),true);},resize:function(size){if(size){_8ec.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,_8f4,_8f5,_8f6,lang,_8f7,_8f8,_8f9){new Date("X");var _8fa=_8f6("dijit.form._DateTimeTextBox",[_8f7,_8f8],{templateString:_8f9,hasDownArrow:true,openOnClick:true,regExpGen:_8f4.regexp,datePackage:date,postMixInProperties:function(){this.inherited(arguments);this._set("type","text");},compare:function(val1,val2){var _8fb=this._isInvalidDate(val1);var _8fc=this._isInvalidDate(val2);return _8fb?(_8fc?0:-1):(_8fc?1:date.compare(val1,val2,this._selector));},forceWidth:true,format:function(_8fd,_8fe){if(!_8fd){return "";}return this.dateLocaleModule.format(_8fd,_8fe);},"parse":function(_8ff,_900){return this.dateLocaleModule.parse(_8ff,_900)||(this._isEmpty(_8ff)?null:undefined);},serialize:function(val,_901){if(val.toGregorian){val=val.toGregorian();}return _8f5.toISOString(val,_901);},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(_902){_902.selector=this._selector;_902.fullYear=true;var _903=_8f5.fromISOString;if(typeof _902.min=="string"){_902.min=_903(_902.min);}if(typeof _902.max=="string"){_902.max=_903(_902.max);}this.inherited(arguments);},_isInvalidDate:function(_904){return !_904||isNaN(_904)||typeof _904!="object"||_904.toString()==this._invalidDate;},_setValueAttr:function(_905,_906,_907){if(_905!==undefined){if(typeof _905=="string"){_905=_8f5.fromISOString(_905);}if(this._isInvalidDate(_905)){_905=null;}if(_905 instanceof Date&&!(this.dateClassObj instanceof Date)){_905=new this.dateClassObj(_905);}}this.inherited(arguments);if(this.value instanceof Date){this.filterString="";}if(this.dropDown){this.dropDown.set("value",_905,false);}},_set:function(attr,_908){if(attr=="value"&&this.value instanceof Date&&this.compare(_908,this.value)==0){return;}this.inherited(arguments);},_setDropDownDefaultValueAttr:function(val){if(this._isInvalidDate(val)){val=new this.dateClassObj();}this.dropDownDefaultValue=val;},openDropDown:function(_909){if(this.dropDown){this.dropDown.destroy();}var _90a=lang.isString(this.popupClass)?lang.getObject(this.popupClass,false):this.popupClass,_90b=this,_90c=this.get("value");this.dropDown=new _90a({onChange:function(_90d){_90b.set("value",_90d,true);},id:this.id+"_popup",dir:_90b.dir,lang:_90b.lang,value:_90c,currentFocus:!this._isInvalidDate(_90c)?_90c:this.dropDownDefaultValue,constraints:_90b.constraints,filterString:_90b.filterString,datePackage:_90b.datePackage,isDisabledDate:function(date){return !_90b.rangeCheck(date,_90b.constraints);}});this.inherited(arguments);},_getDisplayedValueAttr:function(){return this.textbox.value;},_setDisplayedValueAttr:function(_90e,_90f){this._setValueAttr(this.parse(_90e,this.constraints),_90f,_90e);}});return _8fa;});},"dijit/form/_ToggleButtonMixin":function(){define(["dojo/_base/declare","dojo/dom-attr"],function(_910,_911){return _910("dijit.form._ToggleButtonMixin",null,{checked:false,_aria_attr:"aria-pressed",_onClick:function(evt){var _912=this.checked;this._set("checked",!_912);var ret=this.inherited(arguments);this.set("checked",ret?this.checked:_912);return ret;},_setCheckedAttr:function(_913,_914){this._set("checked",_913);_911.set(this.focusNode||this.domNode,"checked",_913);(this.focusNode||this.domNode).setAttribute(this._aria_attr,_913?"true":"false");this._handleOnChange(_913,_914);},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(_915,date,_916,_917,_918,_919,_91a,_91b,keys,lang,has,_91c,_91d,_91e,_91f,_920){var _921=_917("dijit.Calendar",[_91c,_91d,_91e],{cssStateNodes:{"decrementMonth":"dijitCalendarArrow","incrementMonth":"dijitCalendarArrow","previousYearLabelNode":"dijitCalendarPreviousYear","nextYearLabelNode":"dijitCalendarNextYear"},setValue:function(_922){_91b.deprecated("dijit.Calendar:setValue() is deprecated.  Use set('value', ...) instead.","","2.0");this.set("value",_922);},_createMonthWidget:function(){return new _921._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(_923){this._setCurrentFocusAttr(this.dateFuncObj.add(this.currentFocus,"month",_923-this.currentFocus.getMonth()));},_onDayMouseOver:function(evt){var node=_919.contains(evt.target,"dijitCalendarDateLabel")?evt.target.parentNode:evt.target;if(node&&((node.dijitDateValue&&!_919.contains(node,"dijitCalendarDisabledDate"))||node==this.previousYearLabelNode||node==this.nextYearLabelNode)){_919.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(_919.contains(this._currentNode,"dijitCalendarActiveDate")){cls+=" dijitCalendarActiveDate";}_919.remove(this._currentNode,cls);this._currentNode=null;},_onDayMouseDown:function(evt){var node=evt.target.parentNode;if(node&&node.dijitDateValue&&!_919.contains(node,"dijitCalendarDisabledDate")){_919.add(node,"dijitCalendarActiveDate");this._currentNode=node;}},_onDayMouseUp:function(evt){var node=evt.target.parentNode;if(node&&node.dijitDateValue){_919.remove(node,"dijitCalendarActiveDate");}},handleKey:function(evt){var _924=-1,_925,_926=this.currentFocus;switch(evt.charOrCode){case keys.RIGHT_ARROW:_924=1;case keys.LEFT_ARROW:_925="day";if(!this.isLeftToRight()){_924*=-1;}break;case keys.DOWN_ARROW:_924=1;case keys.UP_ARROW:_925="week";break;case keys.PAGE_DOWN:_924=1;case keys.PAGE_UP:_925=evt.ctrlKey||evt.altKey?"year":"month";break;case keys.END:_926=this.dateFuncObj.add(_926,"month",1);_925="day";case keys.HOME:_926=new this.dateClassObj(_926);_926.setDate(1);break;case keys.ENTER:case " ":this.set("value",this.currentFocus);break;default:return true;}if(_925){_926=this.dateFuncObj.add(_926,_925,_924);}this._setCurrentFocusAttr(_926);return false;},_onKeyPress:function(evt){if(!this.handleKey(evt)){_91a.stop(evt);}},onValueSelected:function(){},onChange:function(_927){this.onValueSelected(_927);},getClassForDate:function(){}});_921._MonthDropDownButton=_917("dijit.Calendar._MonthDropDownButton",_920,{onMonthSelect:function(){},postCreate:function(){this.inherited(arguments);this.dropDown=new _921._MonthDropDown({id:this.id+"_mdd",onChange:this.onMonthSelect});},_setMonthAttr:function(_928){var _929=this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,_928);this.dropDown.set("months",_929);this.containerNode.innerHTML=(has("ie")==6?"":"<div class='dijitSpacer'>"+this.dropDown.domNode.innerHTML+"</div>")+"<div class='dijitCalendarMonthLabel dijitCalendarCurrentMonthLabel'>"+_929[_928.getMonth()]+"</div>";}});_921._MonthDropDown=_917("dijit.Calendar._MonthDropDown",[_91d,_91f],{months:[],templateString:"<div class='dijitCalendarMonthMenu dijitMenu' "+"data-dojo-attach-event='onclick:_onClick,onmouseover:_onMenuHover,onmouseout:_onMenuHover'></div>",_setMonthsAttr:function(_92a){this.domNode.innerHTML=_915.map(_92a,function(_92b,idx){return _92b?"<div class='dijitCalendarMonthLabel' month='"+idx+"'>"+_92b+"</div>":"";}).join("");},_onClick:function(evt){this.onChange(_918.get(evt.target,"month"));},onChange:function(){},_onMenuHover:function(evt){_919.toggle(evt.target,"dijitCalendarMonthLabelHover",evt.type=="mouseover");}});return _921;});},"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,_92c){lang.getObject("_editor.selection",true,_92c);lang.mixin(_92c._editor.selection,{getType:function(){if(has("ie")<9){return win.doc.selection.type.toLowerCase();}else{var _92d="text";var oSel;try{oSel=win.global.getSelection();}catch(e){}if(oSel&&oSel.rangeCount==1){var _92e=oSel.getRangeAt(0);if((_92e.startContainer==_92e.endContainer)&&((_92e.endOffset-_92e.startOffset)==1)&&(_92e.startContainer.nodeType!=3)){_92d="control";}}return _92d;}},getSelectedText:function(){if(has("ie")<9){if(_92c._editor.selection.getType()=="control"){return null;}return win.doc.selection.createRange().text;}else{var _92f=win.global.getSelection();if(_92f){return _92f.toString();}}return "";},getSelectedHtml:function(){if(has("ie")<9){if(_92c._editor.selection.getType()=="control"){return null;}return win.doc.selection.createRange().htmlText;}else{var _930=win.global.getSelection();if(_930&&_930.rangeCount){var i;var html="";for(i=0;i<_930.rangeCount;i++){var frag=_930.getRangeAt(i).cloneContents();var div=win.doc.createElement("div");div.appendChild(frag);html+=div.innerHTML;}return html;}return null;}},getSelectedElement:function(){if(_92c._editor.selection.getType()=="control"){if(has("ie")<9){var _931=win.doc.selection.createRange();if(_931&&_931.item){return win.doc.selection.createRange().item(0);}}else{var _932=win.global.getSelection();return _932.anchorNode.childNodes[_932.anchorOffset];}}return null;},getParentElement:function(){if(_92c._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 _933=win.global.getSelection();if(_933){var node=_933.anchorNode;while(node&&(node.nodeType!=1)){node=node.parentNode;}return node;}}}return null;},hasAncestorElement:function(_934){return this.getAncestorElement.apply(this,arguments)!=null;},getAncestorElement:function(_935){var node=this.getSelectedElement()||this.getParentElement();return this.getParentOfType(node,arguments);},isTag:function(node,tags){if(node&&node.tagName){var _936=node.tagName.toLowerCase();for(var i=0;i<tags.length;i++){var _937=String(tags[i]).toLowerCase();if(_936==_937){return _937;}}}return "";},getParentOfType:function(node,tags){while(node){if(this.isTag(node,tags).length){return node;}node=node.parentNode;}return null;},collapse:function(_938){if(window.getSelection){var _939=win.global.getSelection();if(_939.removeAllRanges){if(_938){_939.collapseToStart();}else{_939.collapseToEnd();}}else{_939.collapse(_938);}}else{if(has("ie")){var _93a=win.doc.selection.createRange();_93a.collapse(_938);_93a.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(_93b,_93c){var _93d=win.global;var doc=win.doc;var _93e;_93b=dom.byId(_93b);if(doc.selection&&has("ie")<9&&win.body().createTextRange){_93e=_93b.ownerDocument.body.createTextRange();_93e.moveToElementText(_93b);if(!_93c){try{_93e.select();}catch(e){}}}else{if(_93d.getSelection){var _93f=win.global.getSelection();if(has("opera")){if(_93f.rangeCount){_93e=_93f.getRangeAt(0);}else{_93e=doc.createRange();}_93e.setStart(_93b,0);_93e.setEnd(_93b,(_93b.nodeType==3)?_93b.length:_93b.childNodes.length);_93f.addRange(_93e);}else{_93f.selectAllChildren(_93b);}}}},selectElement:function(_940,_941){var _942;var doc=win.doc;var _943=win.global;_940=dom.byId(_940);if(has("ie")<9&&win.body().createTextRange){try{var tg=_940.tagName?_940.tagName.toLowerCase():"";if(tg==="img"||tg==="table"){_942=win.body().createControlRange();}else{_942=win.body().createRange();}_942.addElement(_940);if(!_941){_942.select();}}catch(e){this.selectElementChildren(_940,_941);}}else{if(_943.getSelection){var _944=_943.getSelection();_942=doc.createRange();if(_944.removeAllRanges){if(has("opera")){if(_944.getRangeAt(0)){_942=_944.getRangeAt(0);}}_942.selectNode(_940);_944.removeAllRanges();_944.addRange(_942);}}}},inSelection:function(node){if(node){var _945;var doc=win.doc;var _946;if(win.global.getSelection){var sel=win.global.getSelection();if(sel&&sel.rangeCount>0){_946=sel.getRangeAt(0);}if(_946&&_946.compareBoundaryPoints&&doc.createRange){try{_945=doc.createRange();_945.setStart(node,0);if(_946.compareBoundaryPoints(_946.START_TO_END,_945)===1){return true;}}catch(e){}}}else{if(doc.selection){_946=doc.selection.createRange();try{_945=node.ownerDocument.body.createControlRange();if(_945){_945.addElement(node);}}catch(e1){try{_945=node.ownerDocument.body.createTextRange();_945.moveToElementText(node);}catch(e2){}}if(_946&&_945){if(_946.compareEndPoints("EndToStart",_945)===1){return true;}}}}}return false;}});return _92c._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,"hr":true,"he":true,"fr":true,"fi":true,"es":true,"el":true,"de":true,"da":true,"cs":true,"ca":true,"az":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,_947,dojo,_948,_949,_94a,dom,_94b,geom,_94c,_94d){if(!dojo.isAsync){_94c(0,function(){var _94e=["./fx/Toggler"];_94d(_94e);});}var _94f=dojo.fx={};var _950={_fire:function(evt,args){if(this[evt]){this[evt].apply(this,args||[]);}return this;}};var _951=function(_952){this._index=-1;this._animations=_952||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=0;_948.forEach(this._animations,function(a){this.duration+=a.duration;if(a.delay){this.duration+=a.delay;}},this);};_951.prototype=new _947();lang.extend(_951,{_onAnimate:function(){this._fire("onAnimate",arguments);},_onEnd:function(){_949.disconnect(this._onAnimateCtx);_949.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=_949.connect(this._current,"onAnimate",this,"_onAnimate");this._onEndCtx=_949.connect(this._current,"onEnd",this,"_onEnd");this._current.play(0,true);}},play:function(_953,_954){if(!this._current){this._current=this._animations[this._index=0];}if(!_954&&this._current.status()=="playing"){return this;}var _955=_949.connect(this._current,"beforeBegin",this,function(){this._fire("beforeBegin");}),_956=_949.connect(this._current,"onBegin",this,function(arg){this._fire("onBegin",arguments);}),_957=_949.connect(this._current,"onPlay",this,function(arg){this._fire("onPlay",arguments);_949.disconnect(_955);_949.disconnect(_956);_949.disconnect(_957);});if(this._onAnimateCtx){_949.disconnect(this._onAnimateCtx);}this._onAnimateCtx=_949.connect(this._current,"onAnimate",this,"_onAnimate");if(this._onEndCtx){_949.disconnect(this._onEndCtx);}this._onEndCtx=_949.connect(this._current,"onEnd",this,"_onEnd");this._current.play.apply(this._current,arguments);return this;},pause:function(){if(this._current){var e=_949.connect(this._current,"onPause",this,function(arg){this._fire("onPause",arguments);_949.disconnect(e);});this._current.pause();}return this;},gotoPercent:function(_958,_959){this.pause();var _95a=this.duration*_958;this._current=null;_948.some(this._animations,function(a){if(a.duration<=_95a){this._current=a;return true;}_95a-=a.duration;return false;});if(this._current){this._current.gotoPercent(_95a/this._current.duration,_959);}return this;},stop:function(_95b){if(this._current){if(_95b){for(;this._index+1<this._animations.length;++this._index){this._animations[this._index].stop(true);}this._current=this._animations[this._index];}var e=_949.connect(this._current,"onStop",this,function(arg){this._fire("onStop",arguments);_949.disconnect(e);});this._current.stop();}return this;},status:function(){return this._current?this._current.status():"stopped";},destroy:function(){if(this._onAnimateCtx){_949.disconnect(this._onAnimateCtx);}if(this._onEndCtx){_949.disconnect(this._onEndCtx);}}});lang.extend(_951,_950);_94f.chain=function(_95c){return new _951(_95c);};var _95d=function(_95e){this._animations=_95e||[];this._connects=[];this._finished=0;this.duration=0;_948.forEach(_95e,function(a){var _95f=a.duration;if(a.delay){_95f+=a.delay;}if(this.duration<_95f){this.duration=_95f;}this._connects.push(_949.connect(a,"onEnd",this,"_onEnd"));},this);this._pseudoAnimation=new _94a.Animation({curve:[0,1],duration:this.duration});var self=this;_948.forEach(["beforeBegin","onBegin","onPlay","onAnimate","onPause","onStop","onEnd"],function(evt){self._connects.push(_949.connect(self._pseudoAnimation,evt,function(){self._fire(evt,arguments);}));});};lang.extend(_95d,{_doAction:function(_960,args){_948.forEach(this._animations,function(a){a[_960].apply(a,args);});return this;},_onEnd:function(){if(++this._finished>this._animations.length){this._fire("onEnd");}},_call:function(_961,args){var t=this._pseudoAnimation;t[_961].apply(t,args);},play:function(_962,_963){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(_964,_965){var ms=this.duration*_964;_948.forEach(this._animations,function(a){a.gotoPercent(a.duration<ms?1:(ms/a.duration),_965);});this._call("gotoPercent",arguments);return this;},stop:function(_966){this._doAction("stop",arguments);this._call("stop",arguments);return this;},status:function(){return this._pseudoAnimation.status();},destroy:function(){_948.forEach(this._connects,_949.disconnect);}});lang.extend(_95d,_950);_94f.combine=function(_967){return new _95d(_967);};_94f.wipeIn=function(args){var node=args.node=dom.byId(args.node),s=node.style,o;var anim=_94a.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 _968=_94b.get(node,"height");return Math.max(_968,1);}},end:function(){return node.scrollHeight;}}}},args));var fini=function(){s.height="auto";s.overflow=o;};_949.connect(anim,"onStop",fini);_949.connect(anim,"onEnd",fini);return anim;};_94f.wipeOut=function(args){var node=args.node=dom.byId(args.node),s=node.style,o;var anim=_94a.animateProperty(lang.mixin({properties:{height:{end:1}}},args));_949.connect(anim,"beforeBegin",function(){o=s.overflow;s.overflow="hidden";s.display="";});var fini=function(){s.overflow=o;s.height="auto";s.display="none";};_949.connect(anim,"onStop",fini);_949.connect(anim,"onEnd",fini);return anim;};_94f.slideTo=function(args){var node=args.node=dom.byId(args.node),top=null,left=null;var init=(function(n){return function(){var cs=_94b.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=_94a.animateProperty(lang.mixin({properties:{top:args.top||0,left:args.left||0}},args));_949.connect(anim,"beforeBegin",anim,init);return anim;};return _94f;});},"dijit/_DialogMixin":function(){define("dijit/_DialogMixin",["dojo/_base/declare","./a11y"],function(_969,a11y){return _969("dijit._DialogMixin",null,{execute:function(){},onCancel:function(){},onExecute:function(){},_onSubmit:function(){this.onExecute();this.execute(this.get("value"));},_getFocusItems:function(){var _96a=a11y._getTabNavigable(this.containerNode);this._firstFocusItem=_96a.lowest||_96a.first||this.closeButtonNode||this.domNode;this._lastFocusItem=_96a.last||_96a.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,"hr":true,"he":true,"fr":true,"fi":true,"es":true,"el":true,"de":true,"da":true,"cs":true,"ca":true,"az":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(_96b,_96c,_96d,_96e,_96f,_970,dom,_971,_972,_973,_974,_975,_976,keys,lang,_977,_978,_979,_97a,_97b,_97c,_97d,_97e,_97f,_980,_981,_982,_983,_984){var _985=_96e("dijit._TreeNode",[_97b,_97c,_97d,_97e,_97f],{item:null,isTreeNode:true,label:"",_setLabelAttr:{node:"labelNode",type:"innerText"},isExpandable:null,isExpanded:false,state:"UNCHECKED",templateString:_980,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(_986){var _987=(Math.max(_986,0)*this.tree._nodePixelIndent)+"px";_973.set(this.domNode,"backgroundPosition",_987+" 0px");_973.set(this.rowNode,this.isLeftToRight()?"paddingLeft":"paddingRight",_987);_96b.forEach(this.getChildren(),function(_988){_988.set("indent",_986+1);});this._set("indent",_986);},markProcessing:function(){this.state="LOADING";this._setExpando(true);},unmarkProcessing:function(){this._setExpando(false);},_updateItemClasses:function(item){var tree=this.tree,_989=tree.model;if(tree._v10Compat&&item===_989.root){item=null;}this._applyClassAndStyle(item,"icon","Icon");this._applyClassAndStyle(item,"label","Label");this._applyClassAndStyle(item,"row","Row");},_applyClassAndStyle:function(item,_98a,_98b){var _98c="_"+_98a+"Class";var _98d=_98a+"Node";var _98e=this[_98c];this[_98c]=this.tree["get"+_98b+"Class"](item,this.isExpanded);_971.replace(this[_98d],this[_98c]||"",_98e||"");_973.set(this[_98d],this.tree["get"+_98b+"Style"](item,this.isExpanded)||{});},_updateLayout:function(){var _98f=this.getParent();if(!_98f||!_98f.rowNode||_98f.rowNode.style.display=="none"){_971.add(this.domNode,"dijitTreeIsRoot");}else{_971.toggle(this.domNode,"dijitTreeIsLast",!this.getNextSibling());}},_setExpando:function(_990){var _991=["dijitTreeExpandoLoading","dijitTreeExpandoOpened","dijitTreeExpandoClosed","dijitTreeExpandoLeaf"],_992=["*","-","+","*"],idx=_990?0:(this.isExpandable?(this.isExpanded?1:2):3);_971.replace(this.expandoNode,_991[idx],_991);this.expandoNodeText.innerHTML=_992[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");}_971.add(this.contentNode,"dijitTreeContentExpanded");this._setExpando();this._updateItemClasses(this.item);if(this==this.tree.rootNode){this.tree.domNode.setAttribute("aria-expanded","true");}var def,_993=_975.wipeIn({node:this.containerNode,duration:_97a.defaultDuration,onEnd:function(){def.callback(true);}});def=(this._expandDeferred=new _96f(function(){_993.stop();}));_993.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");}_971.remove(this.contentNode,"dijitTreeContentExpanded");this._setExpando();this._updateItemClasses(this.item);if(!this._wipeOut){this._wipeOut=_975.wipeOut({node:this.containerNode,duration:_97a.defaultDuration});}this._wipeOut.play();},indent:0,setChildItems:function(_994){var tree=this.tree,_995=tree.model,defs=[];_96b.forEach(this.getChildren(),function(_996){_97d.prototype.removeChild.call(this,_996);},this);this.state="LOADED";if(_994&&_994.length>0){this.isExpandable=true;_96b.forEach(_994,function(item){var id=_995.getIdentity(item),_997=tree._itemNodesMap[id],node;if(_997){for(var i=0;i<_997.length;i++){if(_997[i]&&!_997[i].getParent()){node=_997[i];node.set("indent",this.indent+1);break;}}}if(!node){node=this.tree._createTreeNode({item:item,tree:tree,isExpandable:_995.mayHaveChildren(item),label:tree.getLabel(item),tooltip:tree.getTooltip(item),dir:tree.dir,lang:tree.lang,textDir:tree.textDir,indent:this.indent+1});if(_997){_997.push(node);}else{tree._itemNodesMap[id]=[node];}}this.addChild(node);if(this.tree.autoExpand||this.tree._state(node)){defs.push(tree._expandNode(node));}},this);_96b.forEach(this.getChildren(),function(_998){_998._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 _970(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 _999=this.getChildren();if(_999.length==0){this.isExpandable=false;this.collapse();}_96b.forEach(_999,function(_99a){_99a._updateLayout();});},makeExpandable:function(){this.isExpandable=true;this._setExpando(false);},_onLabelFocus:function(){this.tree._onNodeFocus(this);},setSelected:function(_99b){this.labelNode.setAttribute("aria-selected",_99b);_971.toggle(this.rowNode,"dijitTreeRowSelected",_99b);},setFocusable:function(_99c){this.labelNode.setAttribute("tabIndex",_99c?"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(_99d){if(_99d&&((this.textDir!=_99d)||!this._created)){this._set("textDir",_99d);this.applyTextDir(this.labelNode,this.labelNode.innerText||this.labelNode.textContent||"");_96b.forEach(this.getChildren(),function(_99e){_99e.set("textDir",_99d);},this);}}});var Tree=_96e("dijit.Tree",[_97b,_97c],{store:null,model:null,query:null,label:"",showRoot:true,childrenAttr:["children"],paths:[],path:[],selectedItems:null,selectedItem:null,openOnClick:false,openOnDblClick:false,templateString:_981,persist:true,autoExpand:false,dndController:_984,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(_99f,_9a0){_977.publish(this.id,lang.mixin({tree:this,event:_99f},_9a0||{}));},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 _96f();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 _9a1={};for(var i=0;i<this.dndParams.length;i++){if(this[this.dndParams[i]]){_9a1[this.dndParams[i]]=this[this.dndParams[i]];}}this.dndController=new this.dndController(this,_9a1);}},_store2model:function(){this._v10Compat=true;_976.deprecated("Tree: from version 2.0, should specify a model object rather than a store/query");var _9a2={id:this.id+"_ForestStoreModel",store:this.store,query:this.query,childrenAttrs:this.childrenAttr};if(this.params.mayHaveChildren){_9a2.mayHaveChildren=lang.hitch(this,"mayHaveChildren");}if(this.params.getItemChildren){_9a2.getChildren=lang.hitch(this,function(item,_9a3,_9a4){this.getItemChildren((this._v10Compat&&item===this.model.root)?null:item,_9a3,_9a4);});}this.model=new _983(_9a2);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 _9a5=this.model.getIdentity(item);if(this._itemNodesMap[_9a5]){this._itemNodesMap[_9a5].push(rn);}else{this._itemNodesMap[_9a5]=[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 _9a6=lang.isString(item)?item:this.model.getIdentity(item);return [].concat(this._itemNodesMap[_9a6]);},_setSelectedItemAttr:function(item){this.set("selectedItems",[item]);},_setSelectedItemsAttr:function(_9a7){var tree=this;this._loadDeferred.addCallback(lang.hitch(this,function(){var _9a8=_96b.map(_9a7,function(item){return (!item||lang.isString(item))?item:tree.model.getIdentity(item);});var _9a9=[];_96b.forEach(_9a8,function(id){_9a9=_9a9.concat(tree._itemNodesMap[id]||[]);});this.set("selectedNodes",_9a9);}));},_setPathAttr:function(path){if(path.length){return this.set("paths",[path]);}else{return this.set("paths",[]);}},_setPathsAttr:function(_9aa){var tree=this;return new _970(_96b.map(_9aa,function(path){var d=new _96f();path=_96b.map(path,function(item){return lang.isString(item)?item:tree.model.getIdentity(item);});if(path.length){tree._loadDeferred.addCallback(function(){_9ab(path,[tree.rootNode],d);});}else{d.errback("Empty path");}return d;})).addCallback(_9ac);function _9ab(path,_9ad,def){var _9ae=path.shift();var _9af=_96b.filter(_9ad,function(node){return node.getIdentity()==_9ae;})[0];if(!!_9af){if(path.length){tree._expandNode(_9af).addCallback(function(){_9ab(path,_9af.getChildren(),def);});}else{def.callback(_9af);}}else{def.errback("Could not expand path at "+_9ae);}};function _9ac(_9b0){tree.set("selectedNodes",_96b.map(_96b.filter(_9b0,function(x){return x[0];}),function(x){return x[1];}));};},_setSelectedNodeAttr:function(node){this.set("selectedNodes",[node]);},_setSelectedNodesAttr:function(_9b1){this._loadDeferred.addCallback(lang.hitch(this,function(){this.dndController.setSelection(_9b1);}));},mayHaveChildren:function(){},getItemChildren:function(){},getLabel:function(item){return this.model.getLabel(item);},getIconClass:function(item,_9b2){return (!item||this.model.mayHaveChildren(item))?(_9b2?"dijitFolderOpened":"dijitFolderClosed"):"dijitLeaf";},getLabelClass:function(){},getRowClass:function(){},getIconStyle:function(){},getLabelStyle:function(){},getRowStyle:function(){},getTooltip:function(){return "";},_onKeyPress:function(e){if(e.altKey){return;}var _9b3=_979.getEnclosingWidget(e.target);if(!_9b3){return;}var key=e.charOrCode;if(typeof key=="string"&&key!=" "){if(!e.altKey&&!e.ctrlKey&&!e.shiftKey&&!e.metaKey){this._onLetterKeyNav({node:_9b3,key:key.toLowerCase()});_974.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:_9b3,item:_9b3.item,evt:e});_974.stop(e);}}},_onEnterKey:function(_9b4){this._publish("execute",{item:_9b4.item,node:_9b4.node});this.dndController.userSelect(_9b4.node,_96c.isCopyKey(_9b4.evt),_9b4.evt.shiftKey);this.onClick(_9b4.item,_9b4.node,_9b4.evt);},_onDownArrow:function(_9b5){var node=this._getNextNode(_9b5.node);if(node&&node.isTreeNode){this.focusNode(node);}},_onUpArrow:function(_9b6){var node=_9b6.node;var _9b7=node.getPreviousSibling();if(_9b7){node=_9b7;while(node.isExpandable&&node.isExpanded&&node.hasChildren()){var _9b8=node.getChildren();node=_9b8[_9b8.length-1];}}else{var _9b9=node.getParent();if(!(!this.showRoot&&_9b9===this.rootNode)){node=_9b9;}}if(node&&node.isTreeNode){this.focusNode(node);}},_onRightArrow:function(_9ba){var node=_9ba.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(_9bb){var node=_9bb.node;if(node.isExpandable&&node.isExpanded){this._collapseNode(node);}else{var _9bc=node.getParent();if(_9bc&&_9bc.isTreeNode&&!(!this.showRoot&&_9bc===this.rootNode)){this.focusNode(_9bc);}}},_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(_9bd){var cs=this._curSearch;if(cs){cs.pattern=cs.pattern+_9bd.key;clearTimeout(cs.timer);}else{cs=this._curSearch={pattern:_9bd.key,startNode:_9bd.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,_9be){return dom.isDescendant(node,_9be.expandoNode);},_onClick:function(_9bf,e){var _9c0=e.target,_9c1=this.isExpandoNode(_9c0,_9bf);if((this.openOnClick&&_9bf.isExpandable)||_9c1){if(_9bf.isExpandable){this._onExpandoClick({node:_9bf});}}else{this._publish("execute",{item:_9bf.item,node:_9bf,evt:e});this.onClick(_9bf.item,_9bf,e);this.focusNode(_9bf);}_974.stop(e);},_onDblClick:function(_9c2,e){var _9c3=e.target,_9c4=(_9c3==_9c2.expandoNode||_9c3==_9c2.expandoNodeText);if((this.openOnDblClick&&_9c2.isExpandable)||_9c4){if(_9c2.isExpandable){this._onExpandoClick({node:_9c2});}}else{this._publish("execute",{item:_9c2.item,node:_9c2,evt:e});this.onDblClick(_9c2.item,_9c2,e);this.focusNode(_9c2);}_974.stop(e);},_onExpandoClick:function(_9c5){var node=_9c5.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 _9c6=node.getNextSibling();if(_9c6){return _9c6;}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,_9c7){if(node._expandNodeDeferred&&!_9c7){return node._expandNodeDeferred;}var _9c8=this.model,item=node.item,_9c9=this;switch(node.state){case "UNCHECKED":node.markProcessing();var def=(node._expandNodeDeferred=new _96f());_9c8.getChildren(item,function(_9ca){node.unmarkProcessing();var scid=node.setChildItems(_9ca);var ed=_9c9._expandNode(node,true);scid.addCallback(function(){ed.addCallback(function(){def.callback();});});},function(err){console.error(_9c9,": 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){_978.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 _9cb=this.model,_9cc=_9cb.getIdentity(item),_9cd=this._itemNodesMap[_9cc];if(_9cd){var _9ce=this.getLabel(item),_9cf=this.getTooltip(item);_96b.forEach(_9cd,function(node){node.set({item:item,label:_9ce,tooltip:_9cf});node._updateItemClasses(item);});}},_onItemChildrenChange:function(_9d0,_9d1){var _9d2=this.model,_9d3=_9d2.getIdentity(_9d0),_9d4=this._itemNodesMap[_9d3];if(_9d4){_96b.forEach(_9d4,function(_9d5){_9d5.setChildItems(_9d1);});}},_onItemDelete:function(item){var _9d6=this.model,_9d7=_9d6.getIdentity(item),_9d8=this._itemNodesMap[_9d7];if(_9d8){_96b.forEach(_9d8,function(node){this.dndController.removeTreeNode(node);var _9d9=node.getParent();if(_9d9){_9d9.removeChild(node);}node.destroyRecursive();},this);delete this._itemNodesMap[_9d7];}},_initState:function(){this._openedNodes={};if(this.persist&&this.cookieName){var oreo=_96d(this.cookieName);if(oreo){_96b.forEach(oreo.split(","),function(item){this._openedNodes[item]=true;},this);}}},_state:function(node,_9da){if(!this.persist){return false;}var path=_96b.map(node.getTreePath(),function(item){return this.model.getIdentity(item);},this).join("/");if(arguments.length===1){return this._openedNodes[path];}else{if(_9da){this._openedNodes[path]=true;}else{delete this._openedNodes[path];}var ary=[];for(var id in this._openedNodes){ary.push(id);}_96d(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(_9db){if(_9db){_972.setMarginBox(this.domNode,_9db);}this._nodePixelIndent=_972.position(this.tree.indentDetector).w;if(this.tree.rootNode){this.tree.rootNode.set("indent",this.showRoot?0:-1);}},_createTreeNode:function(args){return new _985(args);},_setTextDirAttr:function(_9dc){if(_9dc&&this.textDir!=_9dc){this._set("textDir",_9dc);this.rootNode.set("textDir",_9dc);}}});Tree._TreeNode=_985;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(_9dd,_9de,move,_9df,fx,_9e0,_9e1,keys,lang,has,_9e2,_9e3,_9e4,_9e5,_9e6,_9e7,_9e8,_9e9,_9ea,_9eb){var _9ec=_9de("dijit.form._SliderMover",_9e3,{onMouseMove:function(e){var _9ed=this.widget;var _9ee=_9ed._abspos;if(!_9ee){_9ee=_9ed._abspos=_9e0.position(_9ed.sliderBarContainer,true);_9ed._setPixelValue_=lang.hitch(_9ed,"_setPixelValue");_9ed._isReversed_=_9ed._isReversed();}var _9ef=e[_9ed._mousePixelCoord]-_9ee[_9ed._startingPixelCoord];_9ed._setPixelValue_(_9ed._isReversed_?(_9ee[_9ed._pixelCount]-_9ef):_9ef,_9ee[_9ed._pixelCount],false);},destroy:function(e){_9e3.prototype.destroy.apply(this,arguments);var _9f0=this.widget;_9f0._abspos=null;_9f0._setValueAttr(_9f0.value,true);}});var _9f1=_9de("dijit.form.HorizontalSlider",[_9e9,_9ea],{templateString:_9eb,value:0,showButtons:true,minimum:0,maximum:100,discreteValues:Infinity,pageIncrement:2,clickSelect:true,slideDuration:_9e5.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;}_9df.stop(e);},_onHandleClick:function(e){if(this.disabled||this.readOnly){return;}if(!has("ie")){_9e6.focus(this.sliderHandle);}_9df.stop(e);},_isReversed:function(){return !this.isLeftToRight();},_onBarClick:function(e){if(this.disabled||this.readOnly||!this.clickSelect){return;}_9e6.focus(this.sliderHandle);_9df.stop(e);var _9f2=_9e0.position(this.sliderBarContainer,true);var _9f3=e[this._mousePixelCoord]-_9f2[this._startingPixelCoord];this._setPixelValue(this._isReversed()?(_9f2[this._pixelCount]-_9f3):_9f3,_9f2[this._pixelCount],true);this._movable.onMouseDown(e);},_setPixelValue:function(_9f4,_9f5,_9f6){if(this.disabled||this.readOnly){return;}var _9f7=this.discreteValues;if(_9f7<=1||_9f7==Infinity){_9f7=_9f5;}_9f7--;var _9f8=_9f5/_9f7;var _9f9=Math.round(_9f4/_9f8);this._setValueAttr(Math.max(Math.min((this.maximum-this.minimum)*_9f9/_9f7+this.minimum,this.maximum),this.minimum),_9f6);},_setValueAttr:function(_9fa,_9fb){this._set("value",_9fa);this.valueNode.value=_9fa;this.focusNode.setAttribute("aria-valuenow",_9fa);this.inherited(arguments);var _9fc=(_9fa-this.minimum)/(this.maximum-this.minimum);var _9fd=(this._descending===false)?this.remainingBar:this.progressBar;var _9fe=(this._descending===false)?this.progressBar:this.remainingBar;if(this._inProgressAnim&&this._inProgressAnim.status!="stopped"){this._inProgressAnim.stop(true);}if(_9fb&&this.slideDuration>0&&_9fd.style[this._progressPixelSize]){var _9ff=this;var _a00={};var _a01=parseFloat(_9fd.style[this._progressPixelSize]);var _a02=this.slideDuration*(_9fc-_a01/100);if(_a02==0){return;}if(_a02<0){_a02=0-_a02;}_a00[this._progressPixelSize]={start:_a01,end:_9fc*100,units:"%"};this._inProgressAnim=fx.animateProperty({node:_9fd,duration:_a02,onAnimate:function(v){_9fe.style[_9ff._progressPixelSize]=(100-parseFloat(v[_9ff._progressPixelSize]))+"%";},onEnd:function(){delete _9ff._inProgressAnim;},properties:_a00});this._inProgressAnim.play();}else{_9fd.style[this._progressPixelSize]=(_9fc*100)+"%";_9fe.style[this._progressPixelSize]=((1-_9fc)*100)+"%";}},_bumpValue:function(_a03,_a04){if(this.disabled||this.readOnly){return;}var s=_9e1.getComputedStyle(this.sliderBarContainer);var c=_9e0.getContentBox(this.sliderBarContainer,s);var _a05=this.discreteValues;if(_a05<=1||_a05==Infinity){_a05=c[this._pixelCount];}_a05--;var _a06=(this.value-this.minimum)*_a05/(this.maximum-this.minimum)+_a03;if(_a06<0){_a06=0;}if(_a06>_a05){_a06=_a05;}_a06=_a06*(this.maximum-this.minimum)/_a05+this.minimum;this._setValueAttr(_a06,_a04);},_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){_9df.stop(evt);var _a07=!has("mozilla");var _a08=evt[(_a07?"wheelDelta":"detail")]*(_a07?1:-1);this._bumpValue(_a08<0?-1:1,true);},startup:function(){if(this._started){return;}_9dd.forEach(this.getChildren(),function(_a09){if(this[_a09.container]!=this.containerNode){this[_a09.container].appendChild(_a09.domNode);}},this);this.inherited(arguments);},_typematicCallback:function(_a0a,_a0b,e){if(_a0a==-1){this._setValueAttr(this.value,true);}else{this[(_a0b==(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 _a0c=_9e4("label[for=\""+this.id+"\"]");if(_a0c.length){_a0c[0].id=(this.id+"_label");this.focusNode.setAttribute("aria-labelledby",_a0c[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(_9e7.addMouseListener(this.decrementButton,this,"_typematicCallback",25,500));this._connects.push(_9e7.addMouseListener(this.incrementButton,this,"_typematicCallback",25,500));}this.connect(this.domNode,!has("mozilla")?"onmousewheel":"DOMMouseScroll","_mouseWheeled");var _a0d=_9de(_9ec,{widget:this});this._movable=new _9e2(this.sliderHandle,{mover:_a0d});this._layoutHackIE7();},destroy:function(){this._movable.destroy();if(this._inProgressAnim&&this._inProgressAnim.status!="stopped"){this._inProgressAnim.stop(true);}this._supportingWidgets=_9e5.findWidgets(this.domNode);this.inherited(arguments);}});_9f1._Mover=_9ec;return _9f1;});}}});require(["dojo/i18n"],function(i18n){i18n._preloadLocalizations("dijit/nls/dijit-all",["nl-nl","en-us","da","fi-fi","pt-pt","hu","sk","sl","pl","ca","sv","zh-tw","ar","en-gb","he-il","de-de","ko-kr","ja-jp","nb","ru","es-es","th","cs","it-it","pt-br","fr-fr","el","tr","zh-cn"]);});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(_a0e){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 _a0e;});