",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("
",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
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(amax){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":"\n\t\n\t\t\n\t\t\t\n\t\t\t\t \n\t\t\t\t- \n\t\t\t \n\t\t\t\n\t\t\t\t\n\t\t\t\t
\n\t\t\t \n\t\t\t\n\t\t\t\t \n\t\t\t\t+ \n\t\t\t \n\t\t \n\t\t\n\t\t\t${!dayCellsHtml}\n\t\t \n\t \n\t\n\t\t\t${!dateRowsHtml}\n\t \n\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t
\n\t\t\t \n\t\t \n\t \n
\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),"$1 ");},_escapeHtml:function(str){str=String(str).replace(/&/gm,"&").replace(//gm,">").replace(/"/gm,""");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":"\n","url:dijit/layout/templates/_ScrollingTabControllerButton.html":"\n\t
\n\t\t
\n\t\t\t
\n\t\t\t
\n\t\t
\n\t
\n
","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(" ",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:"",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":"\n
\n
\n \t
\n\t\t
\n\t\t
\n\t\t
\n\t\t [x] \n\t\t\t
\n
\n
\n
\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)>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":"\n","url:dijit/templates/TimePicker.html":"\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?" ✍ ":" ✍ ",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,"&").replace(//gm,">").replace(/"/gm,""").replace(/\n/g," ");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.clientXv.w-dojo.dnd.H_TRIGGER_AUTOSCROLL){dx=dojo.dnd.H_AUTOSCROLL_VALUE;}}if(e.clientYv.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&&rxb.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&&ryb.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":"\n\t\t\t \n\t\t \n\t
\n
\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:"
",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":"\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":"\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?" ":_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:""+" "+" ",hcTemplate:""+" "+" ",_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":"● \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":"\n\t\n\t\t \n\t \n\t \n\t \n\t\n\t\t\n\t\t\t
\n\t\t\t
+ \n\t\t
\n\t \n \n","url:dijit/form/templates/CheckBox.html":"
\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":"\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_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":"","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":"
\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()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+">content "+_3c8+"> ";}else{_3c7+="<"+_3c8+">content "+_3c8+"> ";}}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=" ";}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="
";_3d4=false;}else{if(has("mozilla")){this._cursorToStart=true;html=" ";}}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\n\n":"\n\n",(has("mozilla")&&_3d8.length?""+_3d8[0].innerHTML+" \n":"")," \n","\n",this._applyEditingAreaStyleSheets(),"\n","\n",html,"\n"].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+=" ";}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()==="
"){html="
";}if(!html&&has("webkit")){html=" ";}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=" ";}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,"&").replace(//gm,">").replace(/"/gm,""");if(!_403){str=str.replace(/'/gm,"'");}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(/ /gi,"");return html;},_normalizeFontStyle:function(html){return html.replace(/<(\/)?strong([ \>])/gi,"<$1b$2").replace(/<(\/)?em([ \>])/gi,"<$1i$2");},_preFixUrlAttributes:function(html){return html.replace(/(?:(]+))/gi,"$1$4$2$3$5$2 _djrealurl=$2$3$5$2").replace(/(?:( ]+))/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(" ");}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;i0){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=" ";_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:"
",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":"\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:"
",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:" ",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":"\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:"
",count:3,container:"containerNode",ruleStyle:"",_positionPrefix:"
",_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\n\t \n\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":"\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",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
\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.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=" ";}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:""+"
",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=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:"${textInput} ",tag:"a",_hostRxp:/^((([^\[:]+):)?([^@]+)@)?(\[([^\]]+)\]|([^\[:]*))(:([0-9]+))?$/,_userAtRxp:/^([!#-'*+\-\/-9=?A-Z^-~]+[.])*[!#-'*+\-\/-9=?A-Z^-~]+@/i,linkDialogTemplate:["","${url} "," "," "," ","${text} "," "," "," ","${target} "," ","","${currentWindow} ","${newWindow} ","${topWindow} ","${parentWindow} "," "," ","${set} ","${buttonCancel} ","
"].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+"
"+_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,""");}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:["","${url} "," "," "," ","${text} "," "," "," "," "," ","${set} ","${buttonCancel} ","
"].join(""),htmlTemplate:" ",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,""");}if(args&&args.textInput){args.textInput=args.textInput.replace(/"/g,""");}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:" ${loadingState} ",errorMessage:" ${errorState} ",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":"\n","url:dijit/form/templates/TextBox.html":"\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":"\n\t
\n\t \n\t\n\t\tx \n\t \n\t
\n\t\t
\n
\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":"\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*]+>|]*>[\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]*>\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=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-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":"\n\t
\n\t\t
\n\t\t\t
\n\t\t
\n\t
\n\t
\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t
\n\t\t
\n\t
\n
\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:"",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:"
",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=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:"
",labelStyle:"",labels:[],numericMargin:0,minimum:0,maximum:1,constraints:{pattern:"#%"},_positionPrefix:"",_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-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":"\n\t \n
\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:chigh?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":"\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":" \n","dijit/form/VerticalRule":function(){define(["dojo/_base/declare","./HorizontalRule"],function(_7c3,_7c4){return _7c3("dijit.form.VerticalRule",_7c4,{templateString:"
",_positionPrefix:"=0&&_7ce
*",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:" ",_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:" "});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=""+lbl+" ";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&&i0){_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:"${d} ",dateTemplateString:" ",weekTemplateString:"${d}${d}${d}${d}${d}${d}${d} ",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()_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?"":""+_870.map(_896,function(s){return "
"+s+"
";}).join("")+"
");this.domNode.innerHTML=_897+""+_896[_895.getMonth()]+"
";}});return _87a;});},"dijit/CheckedMenuItem":function(){require({cache:{"url:dijit/templates/CheckedMenuItem.html":"\n\t\n\t\t\n\t\t\n\t \n\t \n\t \n\t \n \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:"
",_positionPrefix:"",_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":""}});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:"",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":"","dijit/Dialog":function(){require({cache:{"url:dijit/templates/Dialog.html":"\n\t
\n\t \n\t\n\t\tx \n\t \n\t
\n\t\t
\n
\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:" ",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?"":""+this.dropDown.domNode.innerHTML+"
")+""+_929[_928.getMonth()]+"
";}});_921._MonthDropDown=_917("dijit.Calendar._MonthDropDown",[_91d,_91f],{months:[],templateString:"",_setMonthsAttr:function(_92a){this.domNode.innerHTML=_915.map(_92a,function(_92b,idx){return _92b?""+_92b+"
":"";}).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":"\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;i0){_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+1this._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.duration0){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;i0&&_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;});