/*
	Copyright (c) 2004-2012, The Dojo Foundation All Rights Reserved.
	Available via Academic Free License >= 2.1 OR the modified BSD license.
	see: http://dojotoolkit.org/license for details
*/

/*
	This is an optimized version of Dojo, built for deployment and not for
	development. To get sources and documentation, please visit:

		http://dojotoolkit.org
*/

if(!dojo._hasResource["dojo.date.stamp"]){dojo._hasResource["dojo.date.stamp"]=true;dojo.provide("dojo.date.stamp");dojo.getObject("date.stamp",true,dojo);dojo.date.stamp.fromISOString=function(_1,_2){if(!dojo.date.stamp._isoRegExp){dojo.date.stamp._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/;}var _3=dojo.date.stamp._isoRegExp.exec(_1),_4=null;if(_3){_3.shift();if(_3[1]){_3[1]--;}if(_3[6]){_3[6]*=1000;}if(_2){_2=new Date(_2);dojo.forEach(dojo.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(_5){return _2["get"+_5]();}),function(_6,_7){_3[_7]=_3[_7]||_6;});}_4=new Date(_3[0]||1970,_3[1]||0,_3[2]||1,_3[3]||0,_3[4]||0,_3[5]||0,_3[6]||0);if(_3[0]<100){_4.setFullYear(_3[0]||1970);}var _8=0,_9=_3[7]&&_3[7].charAt(0);if(_9!="Z"){_8=((_3[8]||0)*60)+(Number(_3[9])||0);if(_9!="-"){_8*=-1;}}if(_9){_8-=_4.getTimezoneOffset();}if(_8){_4.setTime(_4.getTime()+_8*60000);}}return _4;};dojo.date.stamp.toISOString=function(_a,_b){var _c=function(n){return (n<10)?"0"+n:n;};_b=_b||{};var _d=[],_e=_b.zulu?"getUTC":"get",_f="";if(_b.selector!="time"){var _10=_a[_e+"FullYear"]();_f=["0000".substr((_10+"").length)+_10,_c(_a[_e+"Month"]()+1),_c(_a[_e+"Date"]())].join("-");}_d.push(_f);if(_b.selector!="date"){var _11=[_c(_a[_e+"Hours"]()),_c(_a[_e+"Minutes"]()),_c(_a[_e+"Seconds"]())].join(":");var _12=_a[_e+"Milliseconds"]();if(_b.milliseconds){_11+="."+(_12<100?"0":"")+_c(_12);}if(_b.zulu){_11+="Z";}else{if(_b.selector!="time"){var _13=_a.getTimezoneOffset();var _14=Math.abs(_13);_11+=(_13>0?"-":"+")+_c(Math.floor(_14/60))+":"+_c(_14%60);}}_d.push(_11);}return _d.join("T");};}if(!dojo._hasResource["dojo.parser"]){dojo._hasResource["dojo.parser"]=true;dojo.provide("dojo.parser");new Date("X");dojo.parser=new function(){var d=dojo;function _15(_16){if(d.isString(_16)){return "string";}if(typeof _16=="number"){return "number";}if(typeof _16=="boolean"){return "boolean";}if(d.isFunction(_16)){return "function";}if(d.isArray(_16)){return "array";}if(_16 instanceof Date){return "date";}if(_16 instanceof d._Url){return "url";}return "object";};function _17(_18,_19){switch(_19){case "string":return _18;case "number":return _18.length?Number(_18):NaN;case "boolean":return typeof _18=="boolean"?_18:!(_18.toLowerCase()=="false");case "function":if(d.isFunction(_18)){_18=_18.toString();_18=d.trim(_18.substring(_18.indexOf("{")+1,_18.length-1));}try{if(_18===""||_18.search(/[^\w\.]+/i)!=-1){return new Function(_18);}else{return d.getObject(_18,false)||new Function(_18);}}catch(e){return new Function();}case "array":return _18?_18.split(/\s*,\s*/):[];case "date":switch(_18){case "":return new Date("");case "now":return new Date();default:return d.date.stamp.fromISOString(_18);}case "url":return d.baseUrl+_18;default:return d.fromJson(_18);}};var _1a={},_1b={};d.connect(d,"extend",function(){_1b={};});function _1c(cls,_1d){for(var _1e in cls){if(_1e.charAt(0)=="_"){continue;}if(_1e in _1a){continue;}_1d[_1e]=_15(cls[_1e]);}return _1d;};function _1f(_20,_21){var c=_1b[_20];if(!c){var cls=d.getObject(_20),_22=null;if(!cls){return null;}if(!_21){_22=_1c(cls.prototype,{});}c={cls:cls,params:_22};}else{if(!_21&&!c.params){c.params=_1c(c.cls.prototype,{});}}return c;};this._functionFromScript=function(_23,_24){var _25="";var _26="";var _27=(_23.getAttribute(_24+"args")||_23.getAttribute("args"));if(_27){d.forEach(_27.split(/\s*,\s*/),function(_28,idx){_25+="var "+_28+" = arguments["+idx+"]; ";});}var _29=_23.getAttribute("with");if(_29&&_29.length){d.forEach(_29.split(/\s*,\s*/),function(_2a){_25+="with("+_2a+"){";_26+="}";});}return new Function(_25+_23.innerHTML+_26);};this.instantiate=function(_2b,_2c,_2d){var _2e=[],_2c=_2c||{};_2d=_2d||{};var _2f=(_2d.scope||d._scopeName)+"Type",_30="data-"+(_2d.scope||d._scopeName)+"-";d.forEach(_2b,function(obj){if(!obj){return;}var _31,_32,_33,_34,_35,_36;if(obj.node){_31=obj.node;_32=obj.type;_36=obj.fastpath;_33=obj.clsInfo||(_32&&_1f(_32,_36));_34=_33&&_33.cls;_35=obj.scripts;}else{_31=obj;_32=_2f in _2c?_2c[_2f]:_31.getAttribute(_2f);_33=_32&&_1f(_32);_34=_33&&_33.cls;_35=(_34&&(_34._noScript||_34.prototype._noScript)?[]:d.query("> script[type^='dojo/']",_31));}if(!_33){throw new Error("Could not load class '"+_32);}var _37={};if(_2d.defaults){d._mixin(_37,_2d.defaults);}if(obj.inherited){d._mixin(_37,obj.inherited);}if(_36){var _38=_31.getAttribute(_30+"props");if(_38&&_38.length){try{_38=d.fromJson.call(_2d.propsThis,"{"+_38+"}");d._mixin(_37,_38);}catch(e){throw new Error(e.toString()+" in data-dojo-props='"+_38+"'");}}var _39=_31.getAttribute(_30+"attach-point");if(_39){_37.dojoAttachPoint=_39;}var _3a=_31.getAttribute(_30+"attach-event");if(_3a){_37.dojoAttachEvent=_3a;}dojo.mixin(_37,_2c);}else{var _3b=_31.attributes;for(var _3c in _33.params){var _3d=_3c in _2c?{value:_2c[_3c],specified:true}:_3b.getNamedItem(_3c);if(!_3d||(!_3d.specified&&(!dojo.isIE||_3c.toLowerCase()!="value"))){continue;}var _3e=_3d.value;switch(_3c){case "class":_3e="className" in _2c?_2c.className:_31.className;break;case "style":_3e="style" in _2c?_2c.style:(_31.style&&_31.style.cssText);}var _3f=_33.params[_3c];if(typeof _3e=="string"){_37[_3c]=_17(_3e,_3f);}else{_37[_3c]=_3e;}}}var _40=[],_41=[];d.forEach(_35,function(_42){_31.removeChild(_42);var _43=(_42.getAttribute(_30+"event")||_42.getAttribute("event")),_32=_42.getAttribute("type"),nf=d.parser._functionFromScript(_42,_30);if(_43){if(_32=="dojo/connect"){_40.push({event:_43,func:nf});}else{_37[_43]=nf;}}else{_41.push(nf);}});var _44=_34.markupFactory||_34.prototype&&_34.prototype.markupFactory;var _45=_44?_44(_37,_31,_34):new _34(_37,_31);_2e.push(_45);var _46=(_31.getAttribute(_30+"id")||_31.getAttribute("jsId"));if(_46){d.setObject(_46,_45);}d.forEach(_40,function(_47){d.connect(_45,_47.event,null,_47.func);});d.forEach(_41,function(_48){_48.call(_45);});});if(!_2c._started){d.forEach(_2e,function(_49){if(!_2d.noStart&&_49&&dojo.isFunction(_49.startup)&&!_49._started&&(!_49.getParent||!_49.getParent())){_49.startup();}});}return _2e;};this.parse=function(_4a,_4b){var _4c;if(!_4b&&_4a&&_4a.rootNode){_4b=_4a;_4c=_4b.rootNode;}else{_4c=_4a;}_4c=_4c?dojo.byId(_4c):dojo.body();_4b=_4b||{};var _4d=(_4b.scope||d._scopeName)+"Type",_4e="data-"+(_4b.scope||d._scopeName)+"-";function _4f(_50,_51){var _52=dojo.clone(_50.inherited);dojo.forEach(["dir","lang"],function(_53){var val=_50.node.getAttribute(_53);if(val){_52[_53]=val;}});var _54=_50.clsInfo&&!_50.clsInfo.cls.prototype._noScript?_50.scripts:null;var _55=(!_50.clsInfo||!_50.clsInfo.cls.prototype.stopParser)||(_4b&&_4b.template);for(var _56=_50.node.firstChild;_56;_56=_56.nextSibling){if(_56.nodeType==1){var _57,_58=_55&&_56.getAttribute(_4e+"type");if(_58){_57=_58;}else{_57=_55&&_56.getAttribute(_4d);}var _59=_58==_57;if(_57){var _5a={"type":_57,fastpath:_59,clsInfo:_1f(_57,_59),node:_56,scripts:[],inherited:_52};_51.push(_5a);_4f(_5a,_51);}else{if(_54&&_56.nodeName.toLowerCase()=="script"){_57=_56.getAttribute("type");if(_57&&/^dojo\/\w/i.test(_57)){_54.push(_56);}}else{if(_55){_4f({node:_56,inherited:_52},_51);}}}}}};var _5b={};if(_4b&&_4b.inherited){for(var key in _4b.inherited){if(_4b.inherited[key]){_5b[key]=_4b.inherited[key];}}}var _5c=[];_4f({node:_4c,inherited:_5b},_5c);var _5d=_4b&&_4b.template?{template:true}:null;return this.instantiate(_5c,_5d,_4b);};}();(function(){var _5e=function(){if(dojo.config.parseOnLoad){dojo.parser.parse();}};if(dojo.getObject("dijit.wai.onload")===dojo._loaders[0]){dojo._loaders.splice(1,0,_5e);}else{dojo._loaders.unshift(_5e);}})();}if(!dojo._hasResource["dojo.window"]){dojo._hasResource["dojo.window"]=true;dojo.provide("dojo.window");dojo.getObject("window",true,dojo);dojo.window.getBox=function(){var _5f=(dojo.doc.compatMode=="BackCompat")?dojo.body():dojo.doc.documentElement;var _60=dojo._docScroll();return {w:_5f.clientWidth,h:_5f.clientHeight,l:_60.x,t:_60.y};};dojo.window.get=function(doc){if(dojo.isIE&&window!==document.parentWindow){doc.parentWindow.execScript("document._parentWindow = window;","Javascript");var win=doc._parentWindow;doc._parentWindow=null;return win;}return doc.parentWindow||doc.defaultView;};dojo.window.scrollIntoView=function(_61,pos){_61=dojo.byId(_61);var _62,doc=_61.ownerDocument||dojo.doc;if(!("rtl_adjust_position_for_verticalScrollBar" in dojo.window)){_62=dojo.body();var _63=dojo.create("div",{style:{overflow:"scroll",overflowX:"visible",direction:"rtl",visibility:"hidden",position:"absolute",left:"0",top:"0",width:"64px",height:"64px"}},_62,"last"),div=dojo.create("div",{style:{overflow:"hidden",direction:"ltr"}},_63,"last");dojo.window.rtl_adjust_position_for_verticalScrollBar=dojo.position(div).x!=0;_63.removeChild(div);_62.removeChild(_63);}if(!("position_fixed_support" in dojo.window)){_62=dojo.body();var _64=dojo.create("span",{style:{visibility:"hidden",position:"fixed",left:"1px",top:"1px"}},_62,"last"),_65=dojo.create("span",{style:{position:"fixed",left:"0",top:"0"}},_64,"last");dojo.window.position_fixed_support=dojo.position(_65).x!=dojo.position(_64).x;_64.removeChild(_65);_62.removeChild(_64);}try{_62=doc.body||doc.getElementsByTagName("body")[0];var _66=doc.documentElement||_62.parentNode,_67=dojo.isIE,_68=dojo.isWebKit;if(_61==_62||_61==_66){return;}if(!(dojo.isMozilla||_67||_68||dojo.isOpera)&&("scrollIntoView" in _61)){_61.scrollIntoView(false);return;}var _69=doc.compatMode=="BackCompat",_6a=Math.min(_62.clientWidth||_66.clientWidth,_66.clientWidth||_62.clientWidth),_6b=Math.min(_62.clientHeight||_66.clientHeight,_66.clientHeight||_62.clientHeight),_6c=(_68||_69)?_62:_66,_6d=pos||dojo.position(_61),el=_61.parentNode,_6e=function(el){return (_67<=6||(_67==7&&_69))?false:(dojo.window.position_fixed_support&&(dojo.style(el,"position").toLowerCase()=="fixed"));};if(_6e(_61)){return;}while(el){if(el==_62){el=_6c;}var _6f=dojo.position(el),_70=_6e(el),rtl=dojo.getComputedStyle(el).direction.toLowerCase()=="rtl";if(el==_6c){_6f.w=_6a;_6f.h=_6b;if(_6c==_66&&_67&&rtl){_6f.x+=_6c.offsetWidth-_6f.w;}if(_6f.x<0||!_67||_67>=9){_6f.x=0;}if(_6f.y<0||!_67||_67>=9){_6f.y=0;}}else{var pb=dojo._getPadBorderExtents(el);_6f.w-=pb.w;_6f.h-=pb.h;_6f.x+=pb.l;_6f.y+=pb.t;var _71=el.clientWidth,_72=_6f.w-_71;if(_71>0&&_72>0){if(rtl&&dojo.window.rtl_adjust_position_for_verticalScrollBar){_6f.x+=_72;}_6f.w=_71;}_71=el.clientHeight;_72=_6f.h-_71;if(_71>0&&_72>0){_6f.h=_71;}}if(_70){if(_6f.y<0){_6f.h+=_6f.y;_6f.y=0;}if(_6f.x<0){_6f.w+=_6f.x;_6f.x=0;}if(_6f.y+_6f.h>_6b){_6f.h=_6b-_6f.y;}if(_6f.x+_6f.w>_6a){_6f.w=_6a-_6f.x;}}var l=_6d.x-_6f.x,t=_6d.y-_6f.y,r=l+_6d.w-_6f.w,bot=t+_6d.h-_6f.h;var s,old;if(r*l>0&&(!!el.scrollLeft||el==_6c||el.scrollWidth>el.offsetHeight)){s=Math[l<0?"max":"min"](l,r);if(rtl&&((_67==8&&!_69)||_67>=9)){s=-s;}old=el.scrollLeft;el.scrollLeft+=s;s=el.scrollLeft-old;_6d.x-=s;}if(bot*t>0&&(!!el.scrollTop||el==_6c||el.scrollHeight>el.offsetHeight)){s=Math.ceil(Math[t<0?"max":"min"](t,bot));old=el.scrollTop;el.scrollTop+=s;s=el.scrollTop-old;_6d.y-=s;}el=(el!=_6c)&&!_70&&el.parentNode;}}catch(error){console.error("scrollIntoView: "+error);_61.scrollIntoView(false);}};}if(!dojo._hasResource["dijit._base.manager"]){dojo._hasResource["dijit._base.manager"]=true;dojo.provide("dijit._base.manager");dojo.declare("dijit.WidgetSet",null,{constructor:function(){this._hash={};this.length=0;},add:function(_73){if(this._hash[_73.id]){throw new Error("Tried to register widget with id=="+_73.id+" but that id is already registered");}this._hash[_73.id]=_73;this.length++;},remove:function(id){if(this._hash[id]){delete this._hash[id];this.length--;}},forEach:function(_74,_75){_75=_75||dojo.global;var i=0,id;for(id in this._hash){_74.call(_75,this._hash[id],i++,this._hash);}return this;},filter:function(_76,_77){_77=_77||dojo.global;var res=new dijit.WidgetSet(),i=0,id;for(id in this._hash){var w=this._hash[id];if(_76.call(_77,w,i++,this._hash)){res.add(w);}}return res;},byId:function(id){return this._hash[id];},byClass:function(cls){var res=new dijit.WidgetSet(),id,_78;for(id in this._hash){_78=this._hash[id];if(_78.declaredClass==cls){res.add(_78);}}return res;},toArray:function(){var ar=[];for(var id in this._hash){ar.push(this._hash[id]);}return ar;},map:function(_79,_7a){return dojo.map(this.toArray(),_79,_7a);},every:function(_7b,_7c){_7c=_7c||dojo.global;var x=0,i;for(i in this._hash){if(!_7b.call(_7c,this._hash[i],x++,this._hash)){return false;}}return true;},some:function(_7d,_7e){_7e=_7e||dojo.global;var x=0,i;for(i in this._hash){if(_7d.call(_7e,this._hash[i],x++,this._hash)){return true;}}return false;}});(function(){dijit.registry=new dijit.WidgetSet();var _7f=dijit.registry._hash,_80=dojo.attr,_81=dojo.hasAttr,_82=dojo.style;dijit.byId=function(id){return typeof id=="string"?_7f[id]:id;};var _83={};dijit.getUniqueId=function(_84){var id;do{id=_84+"_"+(_84 in _83?++_83[_84]:_83[_84]=0);}while(_7f[id]);return dijit._scopeName=="dijit"?id:dijit._scopeName+"_"+id;};dijit.findWidgets=function(_85){var _86=[];function _87(_88){for(var _89=_88.firstChild;_89;_89=_89.nextSibling){if(_89.nodeType==1){var _8a=_89.getAttribute("widgetId");if(_8a){var _8b=_7f[_8a];if(_8b){_86.push(_8b);}}else{_87(_89);}}}};_87(_85);return _86;};dijit._destroyAll=function(){dijit._curFocus=null;dijit._prevFocus=null;dijit._activeStack=[];dojo.forEach(dijit.findWidgets(dojo.body()),function(_8c){if(!_8c._destroyed){if(_8c.destroyRecursive){_8c.destroyRecursive();}else{if(_8c.destroy){_8c.destroy();}}}});};if(dojo.isIE){dojo.addOnWindowUnload(function(){dijit._destroyAll();});}dijit.byNode=function(_8d){return _7f[_8d.getAttribute("widgetId")];};dijit.getEnclosingWidget=function(_8e){while(_8e){var id=_8e.getAttribute&&_8e.getAttribute("widgetId");if(id){return _7f[id];}_8e=_8e.parentNode;}return null;};var _8f=(dijit._isElementShown=function(_90){var s=_82(_90);return (s.visibility!="hidden")&&(s.visibility!="collapsed")&&(s.display!="none")&&(_80(_90,"type")!="hidden");});dijit.hasDefaultTabStop=function(_91){switch(_91.nodeName.toLowerCase()){case "a":return _81(_91,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return true;case "iframe":var _92;try{var _93=_91.contentDocument;if("designMode" in _93&&_93.designMode=="on"){return true;}_92=_93.body;}catch(e1){try{_92=_91.contentWindow.document.body;}catch(e2){return false;}}return _92.contentEditable=="true"||(_92.firstChild&&_92.firstChild.contentEditable=="true");default:return _91.contentEditable=="true";}};var _94=(dijit.isTabNavigable=function(_95){if(_80(_95,"disabled")){return false;}else{if(_81(_95,"tabIndex")){return _80(_95,"tabIndex")>=0;}else{return dijit.hasDefaultTabStop(_95);}}});dijit._getTabNavigable=function(_96){var _97,_98,_99,_9a,_9b,_9c,_9d={};function _9e(_9f){return _9f&&_9f.tagName.toLowerCase()=="input"&&_9f.type&&_9f.type.toLowerCase()=="radio"&&_9f.name&&_9f.name.toLowerCase();};var _a0=function(_a1){dojo.query("> *",_a1).forEach(function(_a2){if((dojo.isIE<=9&&_a2.scopeName!=="HTML")||!_8f(_a2)){return;}if(_94(_a2)){var _a3=_80(_a2,"tabIndex");if(!_81(_a2,"tabIndex")||_a3==0){if(!_97){_97=_a2;}_98=_a2;}else{if(_a3>0){if(!_99||_a3<_9a){_9a=_a3;_99=_a2;}if(!_9b||_a3>=_9c){_9c=_a3;_9b=_a2;}}}var rn=_9e(_a2);if(dojo.attr(_a2,"checked")&&rn){_9d[rn]=_a2;}}if(_a2.nodeName.toUpperCase()!="SELECT"){_a0(_a2);}});};if(_8f(_96)){_a0(_96);}function rs(_a4){return _9d[_9e(_a4)]||_a4;};return {first:rs(_97),last:rs(_98),lowest:rs(_99),highest:rs(_9b)};};dijit.getFirstInTabbingOrder=function(_a5){var _a6=dijit._getTabNavigable(dojo.byId(_a5));return _a6.lowest?_a6.lowest:_a6.first;};dijit.getLastInTabbingOrder=function(_a7){var _a8=dijit._getTabNavigable(dojo.byId(_a7));return _a8.last?_a8.last:_a8.highest;};dijit.defaultDuration=dojo.config["defaultDuration"]||200;})();}if(!dojo._hasResource["dojo.Stateful"]){dojo._hasResource["dojo.Stateful"]=true;dojo.provide("dojo.Stateful");dojo.declare("dojo.Stateful",null,{postscript:function(_a9){if(_a9){dojo.mixin(this,_a9);}},get:function(_aa){return this[_aa];},set:function(_ab,_ac){if(typeof _ab==="object"){for(var x in _ab){this.set(x,_ab[x]);}return this;}var _ad=this[_ab];this[_ab]=_ac;if(this._watchCallbacks){this._watchCallbacks(_ab,_ad,_ac);}return this;},watch:function(_ae,_af){var _b0=this._watchCallbacks;if(!_b0){var _b1=this;_b0=this._watchCallbacks=function(_b2,_b3,_b4,_b5){var _b6=function(_b7){if(_b7){_b7=_b7.slice();for(var i=0,l=_b7.length;i<l;i++){try{_b7[i].call(_b1,_b2,_b3,_b4);}catch(e){console.error(e);}}}};_b6(_b0["_"+_b2]);if(!_b5){_b6(_b0["*"]);}};}if(!_af&&typeof _ae==="function"){_af=_ae;_ae="*";}else{_ae="_"+_ae;}var _b8=_b0[_ae];if(typeof _b8!=="object"){_b8=_b0[_ae]=[];}_b8.push(_af);return {unwatch:function(){_b8.splice(dojo.indexOf(_b8,_af),1);}};}});}if(!dojo._hasResource["dijit._WidgetBase"]){dojo._hasResource["dijit._WidgetBase"]=true;dojo.provide("dijit._WidgetBase");(function(){function _b9(a,b){return a===b||(a!==a&&b!==b);};dojo.declare("dijit._WidgetBase",dojo.Stateful,{id:"",lang:"",dir:"","class":"",style:"",title:"",tooltip:"",baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,attributeMap:{id:"",dir:"",lang:"","class":"",style:"",title:""},_blankGif:(dojo.config.blankGif||dojo.moduleUrl("dojo","resources/blank.gif")).toString(),postscript:function(_ba,_bb){this.create(_ba,_bb);},create:function(_bc,_bd){this.srcNodeRef=dojo.byId(_bd);this._connects=[];this._subscribes=[];if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_bc){this.params=_bc;dojo._mixin(this,_bc);}this.postMixInProperties();if(!this.id){this.id=dijit.getUniqueId(this.declaredClass.replace(/\./g,"_"));}dijit.registry.add(this);this.buildRendering();if(this.domNode){this._applyAttributes();var _be=this.srcNodeRef;if(_be&&_be.parentNode&&this.domNode!==_be){_be.parentNode.replaceChild(this.domNode,_be);}}if(this.domNode){this.domNode.setAttribute("widgetId",this.id);}this.postCreate();if(this.srcNodeRef&&!this.srcNodeRef.parentNode){delete this.srcNodeRef;}this._created=true;},_applyAttributes:function(){var _bf=function(_c0,_c1){if((_c1.params&&_c0 in _c1.params)||_c1[_c0]){_c1.set(_c0,_c1[_c0]);}};for(var _c2 in this.attributeMap){_bf(_c2,this);}dojo.forEach(this._getSetterAttributes(),function(a){if(!(a in this.attributeMap)){_bf(a,this);}},this);},_getSetterAttributes:function(){var _c3=this.constructor;if(!_c3._setterAttrs){var r=(_c3._setterAttrs=[]),_c4,_c5=_c3.prototype;for(var _c6 in _c5){if(dojo.isFunction(_c5[_c6])&&(_c4=_c6.match(/^_set([a-zA-Z]*)Attr$/))&&_c4[1]){r.push(_c4[1].charAt(0).toLowerCase()+_c4[1].substr(1));}}}return _c3._setterAttrs;},postMixInProperties:function(){},buildRendering:function(){if(!this.domNode){this.domNode=this.srcNodeRef||dojo.create("div");}if(this.baseClass){var _c7=this.baseClass.split(" ");if(!this.isLeftToRight()){_c7=_c7.concat(dojo.map(_c7,function(_c8){return _c8+"Rtl";}));}dojo.addClass(this.domNode,_c7);}},postCreate:function(){},startup:function(){this._started=true;},destroyRecursive:function(_c9){this._beingDestroyed=true;this.destroyDescendants(_c9);this.destroy(_c9);},destroy:function(_ca){this._beingDestroyed=true;this.uninitialize();var d=dojo,dfe=d.forEach,dun=d.unsubscribe;dfe(this._connects,function(_cb){dfe(_cb,d.disconnect);});dfe(this._subscribes,function(_cc){dun(_cc);});dfe(this._supportingWidgets||[],function(w){if(w.destroyRecursive){w.destroyRecursive();}else{if(w.destroy){w.destroy();}}});this.destroyRendering(_ca);dijit.registry.remove(this.id);this._destroyed=true;},destroyRendering:function(_cd){if(this.bgIframe){this.bgIframe.destroy(_cd);delete this.bgIframe;}if(this.domNode){if(_cd){dojo.removeAttr(this.domNode,"widgetId");}else{dojo.destroy(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_cd){dojo.destroy(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_ce){dojo.forEach(this.getChildren(),function(_cf){if(_cf.destroyRecursive){_cf.destroyRecursive(_ce);}});},uninitialize:function(){return false;},_setClassAttr:function(_d0){var _d1=this[this.attributeMap["class"]||"domNode"];dojo.replaceClass(_d1,_d0,this["class"]);this._set("class",_d0);},_setStyleAttr:function(_d2){var _d3=this[this.attributeMap.style||"domNode"];if(dojo.isObject(_d2)){dojo.style(_d3,_d2);}else{if(_d3.style.cssText){_d3.style.cssText+="; "+_d2;}else{_d3.style.cssText=_d2;}}this._set("style",_d2);},_attrToDom:function(_d4,_d5){var _d6=this.attributeMap[_d4];dojo.forEach(dojo.isArray(_d6)?_d6:[_d6],function(_d7){var _d8=this[_d7.node||_d7||"domNode"];var _d9=_d7.type||"attribute";switch(_d9){case "attribute":if(dojo.isFunction(_d5)){_d5=dojo.hitch(this,_d5);}var _da=_d7.attribute?_d7.attribute:(/^on[A-Z][a-zA-Z]*$/.test(_d4)?_d4.toLowerCase():_d4);dojo.attr(_d8,_da,_d5);break;case "innerText":_d8.innerHTML="";_d8.appendChild(dojo.doc.createTextNode(_d5));break;case "innerHTML":_d8.innerHTML=_d5;break;case "class":dojo.replaceClass(_d8,_d5,this[_d4]);break;}},this);},get:function(_db){var _dc=this._getAttrNames(_db);return this[_dc.g]?this[_dc.g]():this[_db];},set:function(_dd,_de){if(typeof _dd==="object"){for(var x in _dd){this.set(x,_dd[x]);}return this;}var _df=this._getAttrNames(_dd);if(this[_df.s]){var _e0=this[_df.s].apply(this,Array.prototype.slice.call(arguments,1));}else{if(_dd in this.attributeMap){this._attrToDom(_dd,_de);}this._set(_dd,_de);}return _e0||this;},_attrPairNames:{},_getAttrNames:function(_e1){var apn=this._attrPairNames;if(apn[_e1]){return apn[_e1];}var uc=_e1.charAt(0).toUpperCase()+_e1.substr(1);return (apn[_e1]={n:_e1+"Node",s:"_set"+uc+"Attr",g:"_get"+uc+"Attr"});},_set:function(_e2,_e3){var _e4=this[_e2];this[_e2]=_e3;if(this._watchCallbacks&&this._created&&!_b9(_e3,_e4)){this._watchCallbacks(_e2,_e4,_e3);}},toString:function(){return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";},getDescendants:function(){return this.containerNode?dojo.query("[widgetId]",this.containerNode).map(dijit.byNode):[];},getChildren:function(){return this.containerNode?dijit.findWidgets(this.containerNode):[];},connect:function(obj,_e5,_e6){var _e7=[dojo._connect(obj,_e5,this,_e6)];this._connects.push(_e7);return _e7;},disconnect:function(_e8){for(var i=0;i<this._connects.length;i++){if(this._connects[i]==_e8){dojo.forEach(_e8,dojo.disconnect);this._connects.splice(i,1);return;}}},subscribe:function(_e9,_ea){var _eb=dojo.subscribe(_e9,this,_ea);this._subscribes.push(_eb);return _eb;},unsubscribe:function(_ec){for(var i=0;i<this._subscribes.length;i++){if(this._subscribes[i]==_ec){dojo.unsubscribe(_ec);this._subscribes.splice(i,1);return;}}},isLeftToRight:function(){return this.dir?(this.dir=="ltr"):dojo._isBodyLtr();},placeAt:function(_ed,_ee){if(_ed.declaredClass&&_ed.addChild){_ed.addChild(this,_ee);}else{dojo.place(this.domNode,_ed,_ee);}return this;},defer:function(fcn,_ef){var _f0=setTimeout(dojo.hitch(this,function(){_f0=null;if(!this._destroyed){dojo.hitch(this,fcn)();}}),_ef||0);return {remove:function(){if(_f0){clearTimeout(_f0);_f0=null;}return null;}};}});})();}if(!dojo._hasResource["dijit._base.focus"]){dojo._hasResource["dijit._base.focus"]=true;dojo.provide("dijit._base.focus");dojo.mixin(dijit,{_curFocus:null,_prevFocus:null,isCollapsed:function(){return dijit.getBookmark().isCollapsed;},getBookmark:function(){var bm,rg,tg,sel=dojo.doc.selection,cf=dijit._curFocus;if(dojo.global.getSelection){sel=dojo.global.getSelection();if(sel){if(sel.isCollapsed){tg=cf?cf.tagName:"";if(tg){tg=tg.toLowerCase();if(tg=="textarea"||(tg=="input"&&(!cf.type||cf.type.toLowerCase()=="text"))){sel={start:cf.selectionStart,end:cf.selectionEnd,node:cf,pRange:true};return {isCollapsed:(sel.end<=sel.start),mark:sel};}}bm={isCollapsed:true};if(sel.rangeCount){bm.mark=sel.getRangeAt(0).cloneRange();}}else{rg=sel.getRangeAt(0);bm={isCollapsed:false,mark:rg.cloneRange()};}}}else{if(sel){tg=cf?cf.tagName:"";tg=tg.toLowerCase();if(cf&&tg&&(tg=="button"||tg=="textarea"||tg=="input")){if(sel.type&&sel.type.toLowerCase()=="none"){return {isCollapsed:true,mark:null};}else{rg=sel.createRange();return {isCollapsed:rg.text&&rg.text.length?false:true,mark:{range:rg,pRange:true}};}}bm={};try{rg=sel.createRange();bm.isCollapsed=!(sel.type=="Text"?rg.htmlText.length:rg.length);}catch(e){bm.isCollapsed=true;return bm;}if(sel.type.toUpperCase()=="CONTROL"){if(rg.length){bm.mark=[];var i=0,len=rg.length;while(i<len){bm.mark.push(rg.item(i++));}}else{bm.isCollapsed=true;bm.mark=null;}}else{bm.mark=rg.getBookmark();}}else{console.warn("No idea how to store the current selection for this browser!");}}return bm;},moveToBookmark:function(_f1){var _f2=dojo.doc,_f3=_f1.mark;if(_f3){if(dojo.global.getSelection){var sel=dojo.global.getSelection();if(sel&&sel.removeAllRanges){if(_f3.pRange){var r=_f3;var n=r.node;n.selectionStart=r.start;n.selectionEnd=r.end;}else{sel.removeAllRanges();sel.addRange(_f3);}}else{console.warn("No idea how to restore selection for this browser!");}}else{if(_f2.selection&&_f3){var rg;if(_f3.pRange){rg=_f3.range;}else{if(dojo.isArray(_f3)){rg=_f2.body.createControlRange();dojo.forEach(_f3,function(n){rg.addElement(n);});}else{rg=_f2.body.createTextRange();rg.moveToBookmark(_f3);}}rg.select();}}}},getFocus:function(_f4,_f5){var _f6=!dijit._curFocus||(_f4&&dojo.isDescendant(dijit._curFocus,_f4.domNode))?dijit._prevFocus:dijit._curFocus;return {node:_f6,bookmark:(_f6==dijit._curFocus)&&dojo.withGlobal(_f5||dojo.global,dijit.getBookmark),openedForWindow:_f5};},focus:function(_f7){if(!_f7){return;}var _f8="node" in _f7?_f7.node:_f7,_f9=_f7.bookmark,_fa=_f7.openedForWindow,_fb=_f9?_f9.isCollapsed:false;if(_f8){var _fc=(_f8.tagName.toLowerCase()=="iframe")?_f8.contentWindow:_f8;if(_fc&&_fc.focus){try{_fc.focus();}catch(e){}}dijit._onFocusNode(_f8);}if(_f9&&dojo.withGlobal(_fa||dojo.global,dijit.isCollapsed)&&!_fb){if(_fa){_fa.focus();}try{dojo.withGlobal(_fa||dojo.global,dijit.moveToBookmark,null,[_f9]);}catch(e2){}}},_activeStack:[],registerIframe:function(_fd){return dijit.registerWin(_fd.contentWindow,_fd);},unregisterIframe:function(_fe){dijit.unregisterWin(_fe);},registerWin:function(_ff,_100){var _101=function(evt){dijit._justMouseDowned=true;setTimeout(function(){dijit._justMouseDowned=false;},0);if(dojo.isIE&&evt&&evt.srcElement&&evt.srcElement.parentNode==null){return;}dijit._onTouchNode(_100||evt.target||evt.srcElement,"mouse");};var doc=dojo.isIE?_ff.document.documentElement:_ff.document;if(doc){if(dojo.isIE){_ff.document.body.attachEvent("onmousedown",_101);var _102=function(evt){if(evt.srcElement.tagName.toLowerCase()!="#document"&&dijit.isTabNavigable(evt.srcElement)){dijit._onFocusNode(_100||evt.srcElement);}else{dijit._onTouchNode(_100||evt.srcElement);}};doc.attachEvent("onactivate",_102);var _103=function(evt){dijit._onBlurNode(_100||evt.srcElement);};doc.attachEvent("ondeactivate",_103);return function(){_ff.document.detachEvent("onmousedown",_101);doc.detachEvent("onactivate",_102);doc.detachEvent("ondeactivate",_103);doc=null;};}else{doc.body.addEventListener("mousedown",_101,true);var _104=function(evt){dijit._onFocusNode(_100||evt.target);};doc.addEventListener("focus",_104,true);var _105=function(evt){dijit._onBlurNode(_100||evt.target);};doc.addEventListener("blur",_105,true);return function(){doc.body.removeEventListener("mousedown",_101,true);doc.removeEventListener("focus",_104,true);doc.removeEventListener("blur",_105,true);doc=null;};}}},unregisterWin:function(_106){_106&&_106();},_onBlurNode:function(node){dijit._prevFocus=dijit._curFocus;dijit._curFocus=null;if(dijit._justMouseDowned){return;}if(dijit._clearActiveWidgetsTimer){clearTimeout(dijit._clearActiveWidgetsTimer);}dijit._clearActiveWidgetsTimer=setTimeout(function(){delete dijit._clearActiveWidgetsTimer;dijit._setStack([]);dijit._prevFocus=null;},100);},_onTouchNode:function(node,by){if(dijit._clearActiveWidgetsTimer){clearTimeout(dijit._clearActiveWidgetsTimer);delete dijit._clearActiveWidgetsTimer;}var _107=[];try{while(node){var _108=dojo.attr(node,"dijitPopupParent");if(_108){node=dijit.byId(_108).domNode;}else{if(node.tagName&&node.tagName.toLowerCase()=="body"){if(node===dojo.body()){break;}node=dojo.window.get(node.ownerDocument).frameElement;}else{var id=node.getAttribute&&node.getAttribute("widgetId"),_109=id&&dijit.byId(id);if(_109&&!(by=="mouse"&&_109.get("disabled"))){_107.unshift(id);}node=node.parentNode;}}}}catch(e){}dijit._setStack(_107,by);},_onFocusNode:function(node){if(!node){return;}if(node.nodeType==9){return;}dijit._onTouchNode(node);if(node==dijit._curFocus){return;}if(dijit._curFocus){dijit._prevFocus=dijit._curFocus;}dijit._curFocus=node;dojo.publish("focusNode",[node]);},_setStack:function(_10a,by){var _10b=dijit._activeStack;dijit._activeStack=_10a;for(var _10c=0;_10c<Math.min(_10b.length,_10a.length);_10c++){if(_10b[_10c]!=_10a[_10c]){break;}}var _10d;for(var i=_10b.length-1;i>=_10c;i--){_10d=dijit.byId(_10b[i]);if(_10d){_10d._focused=false;_10d.set("focused",false);_10d._hasBeenBlurred=true;if(_10d._onBlur){_10d._onBlur(by);}dojo.publish("widgetBlur",[_10d,by]);}}for(i=_10c;i<_10a.length;i++){_10d=dijit.byId(_10a[i]);if(_10d){_10d._focused=true;_10d.set("focused",true);if(_10d._onFocus){_10d._onFocus(by);}dojo.publish("widgetFocus",[_10d,by]);}}}});dojo.addOnLoad(function(){var _10e=dijit.registerWin(window);if(dojo.isIE){dojo.addOnWindowUnload(function(){dijit.unregisterWin(_10e);_10e=null;});}});}if(!dojo._hasResource["dojo.AdapterRegistry"]){dojo._hasResource["dojo.AdapterRegistry"]=true;dojo.provide("dojo.AdapterRegistry");dojo.AdapterRegistry=function(_10f){this.pairs=[];this.returnWrappers=_10f||false;};dojo.extend(dojo.AdapterRegistry,{register:function(name,_110,wrap,_111,_112){this.pairs[((_112)?"unshift":"push")]([name,_110,wrap,_111]);},match:function(){for(var i=0;i<this.pairs.length;i++){var pair=this.pairs[i];if(pair[1].apply(this,arguments)){if((pair[3])||(this.returnWrappers)){return pair[2];}else{return pair[2].apply(this,arguments);}}}throw new Error("No match found");},unregister:function(name){for(var i=0;i<this.pairs.length;i++){var pair=this.pairs[i];if(pair[0]==name){this.pairs.splice(i,1);return true;}}return false;}});}if(!dojo._hasResource["dijit._base.place"]){dojo._hasResource["dijit._base.place"]=true;dojo.provide("dijit._base.place");dijit.getViewport=function(){return dojo.window.getBox();};dijit.placeOnScreen=function(node,pos,_113,_114){var _115=dojo.map(_113,function(_116){var c={corner:_116,pos:{x:pos.x,y:pos.y}};if(_114){c.pos.x+=_116.charAt(1)=="L"?_114.x:-_114.x;c.pos.y+=_116.charAt(0)=="T"?_114.y:-_114.y;}return c;});return dijit._place(node,_115);};dijit._place=function(node,_117,_118,_119){var view=dojo.window.getBox();if(!node.parentNode||String(node.parentNode.tagName).toLowerCase()!="body"){dojo.body().appendChild(node);}var best=null;dojo.some(_117,function(_11a){var _11b=_11a.corner;var pos=_11a.pos;var _11c=0;var _11d={w:_11b.charAt(1)=="L"?(view.l+view.w)-pos.x:pos.x-view.l,h:_11b.charAt(1)=="T"?(view.t+view.h)-pos.y:pos.y-view.t};if(_118){var res=_118(node,_11a.aroundCorner,_11b,_11d,_119);_11c=typeof res=="undefined"?0:res;}var _11e=node.style;var _11f=_11e.display;var _120=_11e.visibility;_11e.visibility="hidden";_11e.display="";var mb=dojo.marginBox(node);_11e.display=_11f;_11e.visibility=_120;var _121=Math.max(view.l,_11b.charAt(1)=="L"?pos.x:(pos.x-mb.w)),_122=Math.max(view.t,_11b.charAt(0)=="T"?pos.y:(pos.y-mb.h)),endX=Math.min(view.l+view.w,_11b.charAt(1)=="L"?(_121+mb.w):pos.x),endY=Math.min(view.t+view.h,_11b.charAt(0)=="T"?(_122+mb.h):pos.y),_123=endX-_121,_124=endY-_122;_11c+=(mb.w-_123)+(mb.h-_124);if(best==null||_11c<best.overflow){best={corner:_11b,aroundCorner:_11a.aroundCorner,x:_121,y:_122,w:_123,h:_124,overflow:_11c,spaceAvailable:_11d};}return !_11c;});if(best.overflow&&_118){_118(node,best.aroundCorner,best.corner,best.spaceAvailable,_119);}var l=dojo._isBodyLtr(),s=node.style;s.top=best.y+"px";s[l?"left":"right"]=(l?best.x:view.w-best.x-best.w)+"px";s[l?"right":"left"]="auto";return best;};dijit.placeOnScreenAroundNode=function(node,_125,_126,_127){_125=dojo.byId(_125);var _128=dojo.position(_125,true);return dijit._placeOnScreenAroundRect(node,_128.x,_128.y,_128.w,_128.h,_126,_127);};dijit.placeOnScreenAroundRectangle=function(node,_129,_12a,_12b){return dijit._placeOnScreenAroundRect(node,_129.x,_129.y,_129.width,_129.height,_12a,_12b);};dijit._placeOnScreenAroundRect=function(node,x,y,_12c,_12d,_12e,_12f){var _130=[];for(var _131 in _12e){_130.push({aroundCorner:_131,corner:_12e[_131],pos:{x:x+(_131.charAt(1)=="L"?0:_12c),y:y+(_131.charAt(0)=="T"?0:_12d)}});}return dijit._place(node,_130,_12f,{w:_12c,h:_12d});};dijit.placementRegistry=new dojo.AdapterRegistry();dijit.placementRegistry.register("node",function(n,x){return typeof x=="object"&&typeof x.offsetWidth!="undefined"&&typeof x.offsetHeight!="undefined";},dijit.placeOnScreenAroundNode);dijit.placementRegistry.register("rect",function(n,x){return typeof x=="object"&&"x" in x&&"y" in x&&"width" in x&&"height" in x;},dijit.placeOnScreenAroundRectangle);dijit.placeOnScreenAroundElement=function(node,_132,_133,_134){return dijit.placementRegistry.match.apply(dijit.placementRegistry,arguments);};dijit.getPopupAroundAlignment=function(_135,_136){var _137={};dojo.forEach(_135,function(pos){switch(pos){case "after":_137[_136?"BR":"BL"]=_136?"BL":"BR";break;case "before":_137[_136?"BL":"BR"]=_136?"BR":"BL";break;case "below-alt":_136=!_136;case "below":_137[_136?"BL":"BR"]=_136?"TL":"TR";_137[_136?"BR":"BL"]=_136?"TR":"TL";break;case "above-alt":_136=!_136;case "above":default:_137[_136?"TL":"TR"]=_136?"BL":"BR";_137[_136?"TR":"TL"]=_136?"BR":"BL";break;}});return _137;};}if(!dojo._hasResource["dijit._base.window"]){dojo._hasResource["dijit._base.window"]=true;dojo.provide("dijit._base.window");dijit.getDocumentWindow=function(doc){return dojo.window.get(doc);};}if(!dojo._hasResource["dijit._base.popup"]){dojo._hasResource["dijit._base.popup"]=true;dojo.provide("dijit._base.popup");dijit.popup={_stack:[],_beginZIndex:1000,_idGen:1,_createWrapper:function(_138){var node=_138.domNode||_138,_139=_138.declaredClass?_138._popupWrapper:node.parentNode&&dojo.hasClass(node.parentNode,"dijitPopup")?node.parentNode:null;if(!_139){_139=dojo.create("div",{"class":"dijitPopup",style:{display:"none"},role:"presentation"},dojo.body());_139.appendChild(node);var s=node.style;s.display="";s.visibility="";s.position="";s.top="0px";if(_138.declaredClass){_138._popupWrapper=_139;dojo.connect(_138,"destroy",function(){dojo.destroy(_139);delete _138._popupWrapper;});}}return _139;},moveOffScreen:function(_13a){var _13b=this._createWrapper(_13a);dojo.style(_13b,{visibility:"hidden",top:"-9999px",display:""});},hide:function(_13c){var _13d=this._createWrapper(_13c);dojo.style(_13d,"display","none");},getTopPopup:function(){var _13e=this._stack;for(var pi=_13e.length-1;pi>0&&_13e[pi].parent===_13e[pi-1].widget;pi--){}return _13e[pi];},open:function(args){var _13f=this._stack,_140=args.popup,_141=args.orient||((args.parent?args.parent.isLeftToRight():dojo._isBodyLtr())?{"BL":"TL","BR":"TR","TL":"BL","TR":"BR"}:{"BR":"TR","BL":"TL","TR":"BR","TL":"BL"}),_142=args.around,id=(args.around&&args.around.id)?(args.around.id+"_dropdown"):("popup_"+this._idGen++);while(_13f.length&&(!args.parent||!dojo.isDescendant(args.parent.domNode,_13f[_13f.length-1].widget.domNode))){dijit.popup.close(_13f[_13f.length-1].widget);}var _143=this._createWrapper(_140);dojo.attr(_143,{id:id,style:{zIndex:this._beginZIndex+_13f.length},"class":"dijitPopup "+(_140.baseClass||_140["class"]||"").split(" ")[0]+"Popup",dijitPopupParent:args.parent?args.parent.id:""});if(dojo.isIE||dojo.isMoz){if(!_140.bgIframe){_140.bgIframe=new dijit.BackgroundIframe(_143);}}var best=_142?dijit.placeOnScreenAroundElement(_143,_142,_141,_140.orient?dojo.hitch(_140,"orient"):null):dijit.placeOnScreen(_143,args,_141=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],args.padding);_143.style.display="";_143.style.visibility="visible";_140.domNode.style.visibility="visible";var _144=[];_144.push(dojo.connect(_143,"onkeypress",this,function(evt){if(evt.charOrCode==dojo.keys.ESCAPE&&args.onCancel){dojo.stopEvent(evt);args.onCancel();}else{if(evt.charOrCode===dojo.keys.TAB){dojo.stopEvent(evt);var _145=this.getTopPopup();if(_145&&_145.onCancel){_145.onCancel();}}}}));if(_140.onCancel){_144.push(dojo.connect(_140,"onCancel",args.onCancel));}_144.push(dojo.connect(_140,_140.onExecute?"onExecute":"onChange",this,function(){var _146=this.getTopPopup();if(_146&&_146.onExecute){_146.onExecute();}}));_13f.push({widget:_140,parent:args.parent,onExecute:args.onExecute,onCancel:args.onCancel,onClose:args.onClose,handlers:_144});if(_140.onOpen){_140.onOpen(best);}return best;},close:function(_147){var _148=this._stack;while((_147&&dojo.some(_148,function(elem){return elem.widget==_147;}))||(!_147&&_148.length)){var top=_148.pop(),_149=top.widget,_14a=top.onClose;if(_149.onClose){_149.onClose();}dojo.forEach(top.handlers,dojo.disconnect);if(_149&&_149.domNode){this.hide(_149);}if(_14a){_14a();}}}};dijit._frames=new function(){var _14b=[];this.pop=function(){var _14c;if(_14b.length){_14c=_14b.pop();_14c.style.display="";}else{if(dojo.isIE<9){var burl=dojo.config["dojoBlankHtmlUrl"]||(dojo.moduleUrl("dojo","resources/blank.html")+"")||"javascript:\"\"";var html="<iframe src='"+burl+"'"+" style='position: absolute; left: 0px; top: 0px;"+"z-index: -1; filter:Alpha(Opacity=\"0\");'>";_14c=dojo.doc.createElement(html);}else{_14c=dojo.create("iframe");_14c.src="javascript:\"\"";_14c.className="dijitBackgroundIframe";dojo.style(_14c,"opacity",0.1);}_14c.tabIndex=-1;dijit.setWaiRole(_14c,"presentation");}return _14c;};this.push=function(_14d){_14d.style.display="none";_14b.push(_14d);};}();dijit.BackgroundIframe=function(node){if(!node.id){throw new Error("no id");}if(dojo.isIE||dojo.isMoz){var _14e=(this.iframe=dijit._frames.pop());node.appendChild(_14e);if(dojo.isIE<7||dojo.isQuirks){this.resize(node);this._conn=dojo.connect(node,"onresize",this,function(){this.resize(node);});}else{dojo.style(_14e,{width:"100%",height:"100%"});}}};dojo.extend(dijit.BackgroundIframe,{resize:function(node){if(this.iframe){dojo.style(this.iframe,{width:node.offsetWidth+"px",height:node.offsetHeight+"px"});}},destroy:function(){if(this._conn){dojo.disconnect(this._conn);this._conn=null;}if(this.iframe){dijit._frames.push(this.iframe);delete this.iframe;}}});}if(!dojo._hasResource["dijit._base.scroll"]){dojo._hasResource["dijit._base.scroll"]=true;dojo.provide("dijit._base.scroll");dijit.scrollIntoView=function(node,pos){dojo.window.scrollIntoView(node,pos);};}if(!dojo._hasResource["dojo.uacss"]){dojo._hasResource["dojo.uacss"]=true;dojo.provide("dojo.uacss");(function(){var d=dojo,html=d.doc.documentElement,ie=d.isIE,_14f=d.isOpera,maj=Math.floor,ff=d.isFF,_150=d.boxModel.replace(/-/,""),_151={dj_quirks:d.isQuirks,dj_opera:_14f,dj_khtml:d.isKhtml,dj_webkit:d.isWebKit,dj_safari:d.isSafari,dj_chrome:d.isChrome,dj_gecko:d.isMozilla};if(ie){_151["dj_ie"]=true;_151["dj_ie"+maj(ie)]=true;_151["dj_iequirks"]=d.isQuirks;}if(ff){_151["dj_ff"+maj(ff)]=true;}_151["dj_"+_150]=true;var _152="";for(var clz in _151){if(_151[clz]){_152+=clz+" ";}}html.className=d.trim(html.className+" "+_152);dojo._loaders.unshift(function(){if(!dojo._isBodyLtr()){var _153="dj_rtl dijitRtl "+_152.replace(/ /g,"-rtl ");html.className=d.trim(html.className+" "+_153);}});})();}if(!dojo._hasResource["dijit._base.sniff"]){dojo._hasResource["dijit._base.sniff"]=true;dojo.provide("dijit._base.sniff");}if(!dojo._hasResource["dijit._base.typematic"]){dojo._hasResource["dijit._base.typematic"]=true;dojo.provide("dijit._base.typematic");dijit.typematic={_fireEventAndReload:function(){this._timer=null;this._callback(++this._count,this._node,this._evt);this._currentTimeout=Math.max(this._currentTimeout<0?this._initialDelay:(this._subsequentDelay>1?this._subsequentDelay:Math.round(this._currentTimeout*this._subsequentDelay)),this._minDelay);this._timer=setTimeout(dojo.hitch(this,"_fireEventAndReload"),this._currentTimeout);},trigger:function(evt,_154,node,_155,obj,_156,_157,_158){if(obj!=this._obj){this.stop();this._initialDelay=_157||500;this._subsequentDelay=_156||0.9;this._minDelay=_158||10;this._obj=obj;this._evt=evt;this._node=node;this._currentTimeout=-1;this._count=-1;this._callback=dojo.hitch(_154,_155);this._fireEventAndReload();this._evt=dojo.mixin({faux:true},evt);}},stop:function(){if(this._timer){clearTimeout(this._timer);this._timer=null;}if(this._obj){this._callback(-1,this._node,this._evt);this._obj=null;}},addKeyListener:function(node,_159,_15a,_15b,_15c,_15d,_15e){if(_159.keyCode){_159.charOrCode=_159.keyCode;dojo.deprecated("keyCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}else{if(_159.charCode){_159.charOrCode=String.fromCharCode(_159.charCode);dojo.deprecated("charCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}}return [dojo.connect(node,"onkeypress",this,function(evt){if(evt.charOrCode==_159.charOrCode&&(_159.ctrlKey===undefined||_159.ctrlKey==evt.ctrlKey)&&(_159.altKey===undefined||_159.altKey==evt.altKey)&&(_159.metaKey===undefined||_159.metaKey==(evt.metaKey||false))&&(_159.shiftKey===undefined||_159.shiftKey==evt.shiftKey)){dojo.stopEvent(evt);dijit.typematic.trigger(evt,_15a,node,_15b,_159,_15c,_15d,_15e);}else{if(dijit.typematic._obj==_159){dijit.typematic.stop();}}}),dojo.connect(node,"onkeyup",this,function(evt){if(dijit.typematic._obj==_159){dijit.typematic.stop();}})];},addMouseListener:function(node,_15f,_160,_161,_162,_163){var dc=dojo.connect;return [dc(node,"mousedown",this,function(evt){dojo.stopEvent(evt);dijit.typematic.trigger(evt,_15f,node,_160,node,_161,_162,_163);}),dc(node,"mouseup",this,function(evt){dojo.stopEvent(evt);dijit.typematic.stop();}),dc(node,"mouseout",this,function(evt){dojo.stopEvent(evt);dijit.typematic.stop();}),dc(node,"mousemove",this,function(evt){evt.preventDefault();}),dc(node,"dblclick",this,function(evt){dojo.stopEvent(evt);if(dojo.isIE<9){dijit.typematic.trigger(evt,_15f,node,_160,node,_161,_162,_163);setTimeout(dojo.hitch(this,dijit.typematic.stop),50);}})];},addListener:function(_164,_165,_166,_167,_168,_169,_16a,_16b){return this.addKeyListener(_165,_166,_167,_168,_169,_16a,_16b).concat(this.addMouseListener(_164,_167,_168,_169,_16a,_16b));}};}if(!dojo._hasResource["dijit._base.wai"]){dojo._hasResource["dijit._base.wai"]=true;dojo.provide("dijit._base.wai");dijit.wai={onload:function(){var div=dojo.create("div",{id:"a11yTestNode",style:{cssText:"border: 1px solid;"+"border-color:red green;"+"position: absolute;"+"height: 5px;"+"top: -999px;"+"background-image: url(\""+(dojo.config.blankGif||dojo.moduleUrl("dojo","resources/blank.gif"))+"\");"}},dojo.body());var cs=dojo.getComputedStyle(div);if(cs){var _16c=cs.backgroundImage;var _16d=(cs.borderTopColor==cs.borderRightColor)||(_16c!=null&&(_16c=="none"||_16c=="url(invalid-url:)"));dojo[_16d?"addClass":"removeClass"](dojo.body(),"dijit_a11y");if(dojo.isIE){div.outerHTML="";}else{dojo.body().removeChild(div);}}}};if(dojo.isIE||dojo.isMoz){dojo._loaders.unshift(dijit.wai.onload);}dojo.mixin(dijit,{hasWaiRole:function(elem,role){var _16e=this.getWaiRole(elem);return role?(_16e.indexOf(role)>-1):(_16e.length>0);},getWaiRole:function(elem){return dojo.trim((dojo.attr(elem,"role")||"").replace("wairole:",""));},setWaiRole:function(elem,role){dojo.attr(elem,"role",role);},removeWaiRole:function(elem,role){var _16f=dojo.attr(elem,"role");if(!_16f){return;}if(role){var t=dojo.trim((" "+_16f+" ").replace(" "+role+" "," "));dojo.attr(elem,"role",t);}else{elem.removeAttribute("role");}},hasWaiState:function(elem,_170){return elem.hasAttribute?elem.hasAttribute("aria-"+_170):!!elem.getAttribute("aria-"+_170);},getWaiState:function(elem,_171){return elem.getAttribute("aria-"+_171)||"";},setWaiState:function(elem,_172,_173){elem.setAttribute("aria-"+_172,_173);},removeWaiState:function(elem,_174){elem.removeAttribute("aria-"+_174);}});}if(!dojo._hasResource["dijit._base"]){dojo._hasResource["dijit._base"]=true;dojo.provide("dijit._base");}if(!dojo._hasResource["dijit._Widget"]){dojo._hasResource["dijit._Widget"]=true;dojo.provide("dijit._Widget");dojo.connect(dojo,"_connect",function(_175,_176){if(_175&&dojo.isFunction(_175._onConnect)){_175._onConnect(_176);}});dijit._connectOnUseEventHandler=function(_177){};dijit._lastKeyDownNode=null;if(dojo.isIE){(function(){var _178=function(evt){dijit._lastKeyDownNode=evt.srcElement;};dojo.doc.attachEvent("onkeydown",_178);dojo.addOnWindowUnload(function(){dojo.doc.detachEvent("onkeydown",_178);});})();}else{dojo.doc.addEventListener("keydown",function(evt){dijit._lastKeyDownNode=evt.target;},true);}(function(){dojo.declare("dijit._Widget",dijit._WidgetBase,{_deferredConnects:{onClick:"",onDblClick:"",onKeyDown:"",onKeyPress:"",onKeyUp:"",onMouseMove:"",onMouseDown:"",onMouseOut:"",onMouseOver:"",onMouseLeave:"",onMouseEnter:"",onMouseUp:""},onClick:dijit._connectOnUseEventHandler,onDblClick:dijit._connectOnUseEventHandler,onKeyDown:dijit._connectOnUseEventHandler,onKeyPress:dijit._connectOnUseEventHandler,onKeyUp:dijit._connectOnUseEventHandler,onMouseDown:dijit._connectOnUseEventHandler,onMouseMove:dijit._connectOnUseEventHandler,onMouseOut:dijit._connectOnUseEventHandler,onMouseOver:dijit._connectOnUseEventHandler,onMouseLeave:dijit._connectOnUseEventHandler,onMouseEnter:dijit._connectOnUseEventHandler,onMouseUp:dijit._connectOnUseEventHandler,create:function(_179,_17a){this._deferredConnects=dojo.clone(this._deferredConnects);for(var attr in this.attributeMap){delete this._deferredConnects[attr];}for(attr in this._deferredConnects){if(this[attr]!==dijit._connectOnUseEventHandler){delete this._deferredConnects[attr];}}this.inherited(arguments);if(this.domNode){for(attr in this.params){this._onConnect(attr);}}},_onConnect:function(_17b){if(_17b in this._deferredConnects){var _17c=this[this._deferredConnects[_17b]||"domNode"];this.connect(_17c,_17b.toLowerCase(),_17b);delete this._deferredConnects[_17b];}},focused:false,isFocusable:function(){return this.focus&&(dojo.style(this.domNode,"display")!="none");},onFocus:function(){},onBlur:function(){},_onFocus:function(e){this.onFocus();},_onBlur:function(){this.onBlur();},setAttribute:function(attr,_17d){dojo.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0");this.set(attr,_17d);},attr:function(name,_17e){if(dojo.config.isDebug){var _17f=arguments.callee._ach||(arguments.callee._ach={}),_180=(arguments.callee.caller||"unknown caller").toString();if(!_17f[_180]){dojo.deprecated(this.declaredClass+"::attr() is deprecated. Use get() or set() instead, called from "+_180,"","2.0");_17f[_180]=true;}}var args=arguments.length;if(args>=2||typeof name==="object"){return this.set.apply(this,arguments);}else{return this.get(name);}},nodesWithKeyClick:["input","button"],connect:function(obj,_181,_182){var d=dojo,dc=d._connect,_183=this.inherited(arguments,[obj,_181=="ondijitclick"?"onclick":_181,_182]);if(_181=="ondijitclick"){if(d.indexOf(this.nodesWithKeyClick,obj.nodeName.toLowerCase())==-1){var m=d.hitch(this,_182);_183.push(dc(obj,"onkeydown",this,function(e){if((e.keyCode==d.keys.ENTER||e.keyCode==d.keys.SPACE)&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey){dijit._lastKeyDownNode=e.target;if(!("openDropDown" in this&&obj==this._buttonNode)){e.preventDefault();}}}),dc(obj,"onkeyup",this,function(e){if((e.keyCode==d.keys.ENTER||e.keyCode==d.keys.SPACE)&&e.target==dijit._lastKeyDownNode&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey){dijit._lastKeyDownNode=null;return m(e);}}));}}return _183;},_onShow:function(){this.onShow();},onShow:function(){},onHide:function(){},onClose:function(){return true;}});})();}if(!dojo._hasResource["dojo.string"]){dojo._hasResource["dojo.string"]=true;dojo.provide("dojo.string");dojo.getObject("string",true,dojo);dojo.string.rep=function(str,num){if(num<=0||!str){return "";}var buf=[];for(;;){if(num&1){buf.push(str);}if(!(num>>=1)){break;}str+=str;}return buf.join("");};dojo.string.pad=function(text,size,ch,end){if(!ch){ch="0";}var out=String(text),pad=dojo.string.rep(ch,Math.ceil((size-out.length)/ch.length));return end?out+pad:pad+out;};dojo.string.substitute=function(_184,map,_185,_186){_186=_186||dojo.global;_185=_185?dojo.hitch(_186,_185):function(v){return v;};return _184.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_187,key,_188){var _189=dojo.getObject(key,false,map);if(_188){_189=dojo.getObject(_188,false,_186).call(_186,_189,key);}return _185(_189,key).toString();});};dojo.string.trim=String.prototype.trim?dojo.trim:function(str){str=str.replace(/^\s+/,"");for(var i=str.length-1;i>=0;i--){if(/\S/.test(str.charAt(i))){str=str.substring(0,i+1);break;}}return str;};}if(!dojo._hasResource["dojo.cache"]){dojo._hasResource["dojo.cache"]=true;dojo.provide("dojo.cache");var cache={};dojo.cache=function(_18a,url,_18b){if(typeof _18a=="string"){var _18c=dojo.moduleUrl(_18a,url);}else{_18c=_18a;_18b=url;}var key=_18c.toString();var val=_18b;if(_18b!=undefined&&!dojo.isString(_18b)){val=("value" in _18b?_18b.value:undefined);}var _18d=_18b&&_18b.sanitize?true:false;if(typeof val=="string"){val=cache[key]=_18d?dojo.cache._sanitize(val):val;}else{if(val===null){delete cache[key];}else{if(!(key in cache)){val=dojo._getText(key);cache[key]=_18d?dojo.cache._sanitize(val):val;}val=cache[key];}}return val;};dojo.cache._sanitize=function(val){if(val){val=val.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _18e=val.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_18e){val=_18e[1];}}else{val="";}return val;};}if(!dojo._hasResource["dijit._Templated"]){dojo._hasResource["dijit._Templated"]=true;dojo.provide("dijit._Templated");dojo.declare("dijit._Templated",null,{templateString:null,templatePath:null,widgetsInTemplate:false,_skipNodeCache:false,_earlyTemplatedStartup:false,constructor:function(){this._attachPoints=[];this._attachEvents=[];},_stringRepl:function(tmpl){var _18f=this.declaredClass,_190=this;return dojo.string.substitute(tmpl,this,function(_191,key){if(key.charAt(0)=="!"){_191=dojo.getObject(key.substr(1),false,_190);}if(typeof _191=="undefined"){throw new Error(_18f+" template:"+key);}if(_191==null){return "";}return key.charAt(0)=="!"?_191:_191.toString().replace(/"/g,"&quot;");},this);},buildRendering:function(){var _192=dijit._Templated.getCachedTemplate(this.templatePath,this.templateString,this._skipNodeCache);var node;if(dojo.isString(_192)){node=dojo._toDom(this._stringRepl(_192));if(node.nodeType!=1){throw new Error("Invalid template: "+_192);}}else{node=_192.cloneNode(true);}this.domNode=node;this.inherited(arguments);this._attachTemplateNodes(node);if(this.widgetsInTemplate){var cw=(this._startupWidgets=dojo.parser.parse(node,{noStart:!this._earlyTemplatedStartup,template:true,inherited:{dir:this.dir,lang:this.lang},propsThis:this,scope:"dojo"}));this._supportingWidgets=dijit.findWidgets(node);this._attachTemplateNodes(cw,function(n,p){return n[p];});}this._fillContent(this.srcNodeRef);},_fillContent:function(_193){var dest=this.containerNode;if(_193&&dest){while(_193.hasChildNodes()){dest.appendChild(_193.firstChild);}}},_attachTemplateNodes:function(_194,_195){_195=_195||function(n,p){return n.getAttribute(p);};var _196=dojo.isArray(_194)?_194:(_194.all||_194.getElementsByTagName("*"));var x=dojo.isArray(_194)?0:-1;for(;x<_196.length;x++){var _197=(x==-1)?_194:_196[x];if(this.widgetsInTemplate&&(_195(_197,"dojoType")||_195(_197,"data-dojo-type"))){continue;}var _198=_195(_197,"dojoAttachPoint")||_195(_197,"data-dojo-attach-point");if(_198){var _199,_19a=_198.split(/\s*,\s*/);while((_199=_19a.shift())){if(dojo.isArray(this[_199])){this[_199].push(_197);}else{this[_199]=_197;}this._attachPoints.push(_199);}}var _19b=_195(_197,"dojoAttachEvent")||_195(_197,"data-dojo-attach-event");if(_19b){var _19c,_19d=_19b.split(/\s*,\s*/);var trim=dojo.trim;while((_19c=_19d.shift())){if(_19c){var _19e=null;if(_19c.indexOf(":")!=-1){var _19f=_19c.split(":");_19c=trim(_19f[0]);_19e=trim(_19f[1]);}else{_19c=trim(_19c);}if(!_19e){_19e=_19c;}this._attachEvents.push(this.connect(_197,_19c,_19e));}}}var role=_195(_197,"waiRole");if(role){dijit.setWaiRole(_197,role);}var _1a0=_195(_197,"waiState");if(_1a0){dojo.forEach(_1a0.split(/\s*,\s*/),function(_1a1){if(_1a1.indexOf("-")!=-1){var pair=_1a1.split("-");dijit.setWaiState(_197,pair[0],pair[1]);}});}}},startup:function(){dojo.forEach(this._startupWidgets,function(w){if(w&&!w._started&&w.startup){w.startup();}});this.inherited(arguments);},destroyRendering:function(){dojo.forEach(this._attachPoints,function(_1a2){delete this[_1a2];},this);this._attachPoints=[];dojo.forEach(this._attachEvents,this.disconnect,this);this._attachEvents=[];this.inherited(arguments);}});dijit._Templated._templateCache={};dijit._Templated.getCachedTemplate=function(_1a3,_1a4,_1a5){var _1a6=dijit._Templated._templateCache;var key=_1a4||_1a3;var _1a7=_1a6[key];if(_1a7){try{if(!_1a7.ownerDocument||_1a7.ownerDocument==dojo.doc){return _1a7;}}catch(e){}dojo.destroy(_1a7);}if(!_1a4){_1a4=dojo.cache(_1a3,{sanitize:true});}_1a4=dojo.string.trim(_1a4);if(_1a5||_1a4.match(/\$\{([^\}]+)\}/g)){return (_1a6[key]=_1a4);}else{var node=dojo._toDom(_1a4);if(node.nodeType!=1){throw new Error("Invalid template: "+_1a4);}return (_1a6[key]=node);}};if(dojo.isIE){dojo.addOnWindowUnload(function(){var _1a8=dijit._Templated._templateCache;for(var key in _1a8){var _1a9=_1a8[key];if(typeof _1a9=="object"){dojo.destroy(_1a9);}delete _1a8[key];}});}dojo.extend(dijit._Widget,{dojoAttachEvent:"",dojoAttachPoint:"",waiRole:"",waiState:""});}if(!dojo._hasResource["dijit._CssStateMixin"]){dojo._hasResource["dijit._CssStateMixin"]=true;dojo.provide("dijit._CssStateMixin");dojo.declare("dijit._CssStateMixin",[],{cssStateNodes:{},hovering:false,active:false,_applyAttributes:function(){this.inherited(arguments);dojo.forEach(["onmouseenter","onmouseleave","onmousedown"],function(e){this.connect(this.domNode,e,"_cssMouseEvent");},this);dojo.forEach(["disabled","readOnly","checked","selected","focused","state","hovering","active"],function(attr){this.watch(attr,dojo.hitch(this,"_setStateClass"));},this);for(var ap in this.cssStateNodes){this._trackMouseState(this[ap],this.cssStateNodes[ap]);}this._setStateClass();},_cssMouseEvent:function(_1aa){if(!this.disabled){switch(_1aa.type){case "mouseenter":case "mouseover":this._set("hovering",true);this._set("active",this._mouseDown);break;case "mouseleave":case "mouseout":this._set("hovering",false);this._set("active",false);break;case "mousedown":this._set("active",true);this._mouseDown=true;var _1ab=this.connect(dojo.body(),"onmouseup",function(){this._mouseDown=false;this._set("active",false);this.disconnect(_1ab);});break;}}},_setStateClass:function(){var _1ac=this.baseClass.split(" ");function _1ad(_1ae){_1ac=_1ac.concat(dojo.map(_1ac,function(c){return c+_1ae;}),"dijit"+_1ae);};if(!this.isLeftToRight()){_1ad("Rtl");}if(this.checked){_1ad("Checked");}if(this.state){_1ad(this.state);}if(this.selected){_1ad("Selected");}if(this.disabled){_1ad("Disabled");}else{if(this.readOnly){_1ad("ReadOnly");}else{if(this.active){_1ad("Active");}else{if(this.hovering){_1ad("Hover");}}}}if(this._focused){_1ad("Focused");}var tn=this.stateNode||this.domNode,_1af={};dojo.forEach(tn.className.split(" "),function(c){_1af[c]=true;});if("_stateClasses" in this){dojo.forEach(this._stateClasses,function(c){delete _1af[c];});}dojo.forEach(_1ac,function(c){_1af[c]=true;});var _1b0=[];for(var c in _1af){_1b0.push(c);}tn.className=_1b0.join(" ");this._stateClasses=_1ac;},_trackMouseState:function(node,_1b1){var _1b2=false,_1b3=false,_1b4=false;var self=this,cn=dojo.hitch(this,"connect",node);function _1b5(){var _1b6=("disabled" in self&&self.disabled)||("readonly" in self&&self.readonly);dojo.toggleClass(node,_1b1+"Hover",_1b2&&!_1b3&&!_1b6);dojo.toggleClass(node,_1b1+"Active",_1b3&&!_1b6);dojo.toggleClass(node,_1b1+"Focused",_1b4&&!_1b6);};cn("onmouseenter",function(){_1b2=true;_1b5();});cn("onmouseleave",function(){_1b2=false;_1b3=false;_1b5();});cn("onmousedown",function(){_1b3=true;_1b5();});cn("onmouseup",function(){_1b3=false;_1b5();});cn("onfocus",function(){_1b4=true;_1b5();});cn("onblur",function(){_1b4=false;_1b5();});this.watch("disabled",_1b5);this.watch("readOnly",_1b5);}});}if(!dojo._hasResource["dijit.form._FormWidget"]){dojo._hasResource["dijit.form._FormWidget"]=true;dojo.provide("dijit.form._FormWidget");dojo.declare("dijit.form._FormWidget",[dijit._Widget,dijit._Templated,dijit._CssStateMixin],{name:"",alt:"",value:"",type:"text",tabIndex:"0",disabled:false,intermediateChanges:false,scrollOnFocus:true,attributeMap:dojo.delegate(dijit._Widget.prototype.attributeMap,{value:"focusNode",id:"focusNode",tabIndex:"focusNode",alt:"focusNode",title:"focusNode"}),postMixInProperties:function(){this.nameAttrSetting=this.name?("name=\""+this.name.replace(/'/g,"&quot;")+"\""):"";this.inherited(arguments);},postCreate:function(){this.inherited(arguments);this.connect(this.domNode,"onmousedown","_onMouseDown");},_setDisabledAttr:function(_1b7){this._set("disabled",_1b7);dojo.attr(this.focusNode,"disabled",_1b7);if(this.valueNode){dojo.attr(this.valueNode,"disabled",_1b7);}dijit.setWaiState(this.focusNode,"disabled",_1b7);if(_1b7){this._set("hovering",false);this._set("active",false);var _1b8="tabIndex" in this.attributeMap?this.attributeMap.tabIndex:"focusNode";dojo.forEach(dojo.isArray(_1b8)?_1b8:[_1b8],function(_1b9){var node=this[_1b9];if(dojo.isWebKit||dijit.hasDefaultTabStop(node)){node.setAttribute("tabIndex","-1");}else{node.removeAttribute("tabIndex");}},this);}else{if(this.tabIndex!=""){this.focusNode.setAttribute("tabIndex",this.tabIndex);}}},setDisabled:function(_1ba){dojo.deprecated("setDisabled("+_1ba+") is deprecated. Use set('disabled',"+_1ba+") instead.","","2.0");this.set("disabled",_1ba);},_onFocus:function(e){if(this.scrollOnFocus){dojo.window.scrollIntoView(this.domNode);}this.inherited(arguments);},isFocusable:function(){return !this.disabled&&this.focusNode&&(dojo.style(this.domNode,"display")!="none");},focus:function(){if(!this.disabled){dijit.focus(this.focusNode);}},compare:function(val1,val2){if(typeof val1=="number"&&typeof val2=="number"){return (isNaN(val1)&&isNaN(val2))?0:val1-val2;}else{if(val1>val2){return 1;}else{if(val1<val2){return -1;}else{return 0;}}}},onChange:function(_1bb){},_onChangeActive:false,_handleOnChange:function(_1bc,_1bd){if(this._lastValueReported==undefined&&(_1bd===null||!this._onChangeActive)){this._resetValue=this._lastValueReported=_1bc;}this._pendingOnChange=this._pendingOnChange||(typeof _1bc!=typeof this._lastValueReported)||(this.compare(_1bc,this._lastValueReported)!=0);if((this.intermediateChanges||_1bd||_1bd===undefined)&&this._pendingOnChange){this._lastValueReported=_1bc;this._pendingOnChange=false;if(this._onChangeActive){if(this._onChangeHandle){clearTimeout(this._onChangeHandle);}this._onChangeHandle=setTimeout(dojo.hitch(this,function(){this._onChangeHandle=null;this.onChange(_1bc);}),0);}}},create:function(){this.inherited(arguments);this._onChangeActive=true;},destroy:function(){if(this._onChangeHandle){clearTimeout(this._onChangeHandle);this.onChange(this._lastValueReported);}this.inherited(arguments);},setValue:function(_1be){dojo.deprecated("dijit.form._FormWidget:setValue("+_1be+") is deprecated.  Use set('value',"+_1be+") instead.","","2.0");this.set("value",_1be);},getValue:function(){dojo.deprecated(this.declaredClass+"::getValue() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},_onMouseDown:function(e){if(!e.ctrlKey&&dojo.mouseButtons.isLeft(e)&&this.isFocusable()){var _1bf=this.connect(dojo.body(),"onmouseup",function(){if(this.isFocusable()){this.focus();}this.disconnect(_1bf);});}}});dojo.declare("dijit.form._FormValueWidget",dijit.form._FormWidget,{readOnly:false,attributeMap:dojo.delegate(dijit.form._FormWidget.prototype.attributeMap,{value:"",readOnly:"focusNode"}),_setReadOnlyAttr:function(_1c0){dojo.attr(this.focusNode,"readOnly",_1c0);dijit.setWaiState(this.focusNode,"readonly",_1c0);this._set("readOnly",_1c0);},postCreate:function(){this.inherited(arguments);if(dojo.isIE<9||(dojo.isIE&&dojo.isQuirks)){this.connect(this.focusNode||this.domNode,"onkeydown",this._onKeyDown);}if(this._resetValue===undefined){this._lastValueReported=this._resetValue=this.value;}},_setValueAttr:function(_1c1,_1c2){this._handleOnChange(_1c1,_1c2);},_handleOnChange:function(_1c3,_1c4){this._set("value",_1c3);this.inherited(arguments);},undo:function(){this._setValueAttr(this._lastValueReported,false);},reset:function(){this._hasBeenBlurred=false;this._setValueAttr(this._resetValue,true);},_onKeyDown:function(e){if(e.keyCode==dojo.keys.ESCAPE&&!(e.ctrlKey||e.altKey||e.metaKey)){var te;if(dojo.isIE){e.preventDefault();te=document.createEventObject();te.keyCode=dojo.keys.ESCAPE;te.shiftKey=e.shiftKey;e.srcElement.fireEvent("onkeypress",te);}}},_layoutHackIE7:function(){if(dojo.isIE==7){var _1c5=this.domNode;var _1c6=_1c5.parentNode;var _1c7=_1c5.firstChild||_1c5;var _1c8=_1c7.style.filter;var _1c9=this;while(_1c6&&_1c6.clientHeight==0){(function ping(){var _1ca=_1c9.connect(_1c6,"onscroll",function(e){_1c9.disconnect(_1ca);_1c7.style.filter=(new Date()).getMilliseconds();setTimeout(function(){_1c7.style.filter=_1c8;},0);});})();_1c6=_1c6.parentNode;}}}});}if(!dojo._hasResource["dijit._Container"]){dojo._hasResource["dijit._Container"]=true;dojo.provide("dijit._Container");dojo.declare("dijit._Container",null,{isContainer:true,buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}},addChild:function(_1cb,_1cc){var _1cd=this.containerNode;if(_1cc&&typeof _1cc=="number"){var _1ce=this.getChildren();if(_1ce&&_1ce.length>=_1cc){_1cd=_1ce[_1cc-1].domNode;_1cc="after";}}dojo.place(_1cb.domNode,_1cd,_1cc);if(this._started&&!_1cb._started){_1cb.startup();}},removeChild:function(_1cf){if(typeof _1cf=="number"){_1cf=this.getChildren()[_1cf];}if(_1cf){var node=_1cf.domNode;if(node&&node.parentNode){node.parentNode.removeChild(node);}}},hasChildren:function(){return this.getChildren().length>0;},destroyDescendants:function(_1d0){dojo.forEach(this.getChildren(),function(_1d1){_1d1.destroyRecursive(_1d0);});},_getSiblingOfChild:function(_1d2,dir){var node=_1d2.domNode,_1d3=(dir>0?"nextSibling":"previousSibling");do{node=node[_1d3];}while(node&&(node.nodeType!=1||!dijit.byNode(node)));return node&&dijit.byNode(node);},getIndexOfChild:function(_1d4){return dojo.indexOf(this.getChildren(),_1d4);},startup:function(){if(this._started){return;}dojo.forEach(this.getChildren(),function(_1d5){_1d5.startup();});this.inherited(arguments);}});}if(!dojo._hasResource["dijit._HasDropDown"]){dojo._hasResource["dijit._HasDropDown"]=true;dojo.provide("dijit._HasDropDown");dojo.declare("dijit._HasDropDown",null,{_buttonNode:null,_arrowWrapperNode:null,_popupStateNode:null,_aroundNode:null,dropDown:null,autoWidth:true,forceWidth:false,maxHeight:0,dropDownPosition:["below","above"],_stopClickEvents:true,_onDropDownMouseDown:function(e){if(this.disabled||this.readOnly){return;}e.preventDefault();this._docHandler=this.connect(dojo.doc,"onmouseup","_onDropDownMouseUp");this.toggleDropDown();},_onDropDownMouseUp:function(e){if(e&&this._docHandler){this.disconnect(this._docHandler);}var _1d6=this.dropDown,_1d7=false;if(e&&this._opened){var c=dojo.position(this._buttonNode,true);if(!(e.pageX>=c.x&&e.pageX<=c.x+c.w)||!(e.pageY>=c.y&&e.pageY<=c.y+c.h)){var t=e.target;while(t&&!_1d7){if(dojo.hasClass(t,"dijitPopup")){_1d7=true;}else{t=t.parentNode;}}if(_1d7){t=e.target;if(_1d6.onItemClick){var _1d8;while(t&&!(_1d8=dijit.byNode(t))){t=t.parentNode;}if(_1d8&&_1d8.onClick&&_1d8.getParent){_1d8.getParent().onItemClick(_1d8,e);}}return;}}}if(this._opened&&_1d6.focus&&_1d6.autoFocus!==false){window.setTimeout(dojo.hitch(_1d6,"focus"),1);}},_onDropDownClick:function(e){if(this._stopClickEvents){dojo.stopEvent(e);}},buildRendering:function(){this.inherited(arguments);this._buttonNode=this._buttonNode||this.focusNode||this.domNode;this._popupStateNode=this._popupStateNode||this.focusNode||this._buttonNode;var _1d9={"after":this.isLeftToRight()?"Right":"Left","before":this.isLeftToRight()?"Left":"Right","above":"Up","below":"Down","left":"Left","right":"Right"}[this.dropDownPosition[0]]||this.dropDownPosition[0]||"Down";dojo.addClass(this._arrowWrapperNode||this._buttonNode,"dijit"+_1d9+"ArrowButton");},postCreate:function(){this.inherited(arguments);this.connect(this._buttonNode,"onmousedown","_onDropDownMouseDown");this.connect(this._buttonNode,"onclick","_onDropDownClick");this.connect(this.focusNode,"onkeypress","_onKey");this.connect(this.focusNode,"onkeyup","_onKeyUp");},destroy:function(){if(this.dropDown){if(!this.dropDown._destroyed){this.dropDown.destroyRecursive();}delete this.dropDown;}this.inherited(arguments);},_onKey:function(e){if(this.disabled||this.readOnly){return;}var d=this.dropDown,_1da=e.target;if(d&&this._opened&&d.handleKey){if(d.handleKey(e)===false){dojo.stopEvent(e);return;}}if(d&&this._opened&&e.charOrCode==dojo.keys.ESCAPE){this.closeDropDown();dojo.stopEvent(e);}else{if(!this._opened&&(e.charOrCode==dojo.keys.DOWN_ARROW||((e.charOrCode==dojo.keys.ENTER||e.charOrCode==" ")&&((_1da.tagName||"").toLowerCase()!=="input"||(_1da.type&&_1da.type.toLowerCase()!=="text"))))){this._toggleOnKeyUp=true;dojo.stopEvent(e);}}},_onKeyUp:function(){if(this._toggleOnKeyUp){delete this._toggleOnKeyUp;this.toggleDropDown();var d=this.dropDown;if(d&&d.focus){setTimeout(dojo.hitch(d,"focus"),1);}}},_onBlur:function(){var _1db=dijit._curFocus&&this.dropDown&&dojo.isDescendant(dijit._curFocus,this.dropDown.domNode);this.closeDropDown(_1db);this.inherited(arguments);},isLoaded:function(){return true;},loadDropDown:function(_1dc){_1dc();},toggleDropDown:function(){if(this.disabled||this.readOnly){return;}if(!this._opened){if(!this.isLoaded()){this.loadDropDown(dojo.hitch(this,"openDropDown"));return;}else{this.openDropDown();}}else{this.closeDropDown();}},openDropDown:function(){var _1dd=this.dropDown,_1de=_1dd.domNode,_1df=this._aroundNode||this.domNode,self=this;if(!this._preparedNode){this._preparedNode=true;if(_1de.style.width){this._explicitDDWidth=true;}if(_1de.style.height){this._explicitDDHeight=true;}}if(this.maxHeight||this.forceWidth||this.autoWidth){var _1e0={display:"",visibility:"hidden"};if(!this._explicitDDWidth){_1e0.width="";}if(!this._explicitDDHeight){_1e0.height="";}dojo.style(_1de,_1e0);var _1e1=this.maxHeight;if(_1e1==-1){var _1e2=dojo.window.getBox(),_1e3=dojo.position(_1df,false);_1e1=Math.floor(Math.max(_1e3.y,_1e2.h-(_1e3.y+_1e3.h)));}if(_1dd.startup&&!_1dd._started){_1dd.startup();}dijit.popup.moveOffScreen(_1dd);var mb=dojo._getMarginSize(_1de);var _1e4=(_1e1&&mb.h>_1e1);dojo.style(_1de,{overflowX:"hidden",overflowY:_1e4?"auto":"hidden"});if(_1e4){mb.h=_1e1;if("w" in mb){mb.w+=16;}}else{delete mb.h;}if(this.forceWidth){mb.w=_1df.offsetWidth;}else{if(this.autoWidth){mb.w=Math.max(mb.w,_1df.offsetWidth);}else{delete mb.w;}}if(dojo.isFunction(_1dd.resize)){_1dd.resize(mb);}else{dojo.marginBox(_1de,mb);}}var _1e5=dijit.popup.open({parent:this,popup:_1dd,around:_1df,orient:dijit.getPopupAroundAlignment((this.dropDownPosition&&this.dropDownPosition.length)?this.dropDownPosition:["below"],this.isLeftToRight()),onExecute:function(){self.closeDropDown(true);},onCancel:function(){self.closeDropDown(true);},onClose:function(){dojo.attr(self._popupStateNode,"popupActive",false);dojo.removeClass(self._popupStateNode,"dijitHasDropDownOpen");self._opened=false;}});dojo.attr(this._popupStateNode,"popupActive","true");dojo.addClass(self._popupStateNode,"dijitHasDropDownOpen");this._opened=true;return _1e5;},closeDropDown:function(_1e6){if(this._opened){if(_1e6){this.focus();}dijit.popup.close(this.dropDown);this._opened=false;}}});}if(!dojo._hasResource["dijit.form.Button"]){dojo._hasResource["dijit.form.Button"]=true;dojo.provide("dijit.form.Button");dojo.declare("dijit.form.Button",dijit.form._FormWidget,{label:"",showLabel:true,iconClass:"",type:"button",baseClass:"dijitButton",templateString:dojo.cache("dijit.form","templates/Button.html","<span class=\"dijit dijitReset dijitInline\"\n\t><span class=\"dijitReset dijitInline dijitButtonNode\"\n\t\tdojoAttachEvent=\"ondijitclick:_onButtonClick\"\n\t\t><span class=\"dijitReset dijitStretch dijitButtonContents\"\n\t\t\tdojoAttachPoint=\"titleNode,focusNode\"\n\t\t\trole=\"button\" aria-labelledby=\"${id}_label\"\n\t\t\t><span class=\"dijitReset dijitInline dijitIcon\" dojoAttachPoint=\"iconNode\"></span\n\t\t\t><span class=\"dijitReset dijitToggleButtonIconChar\">&#x25CF;</span\n\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\"\n\t\t\t\tid=\"${id}_label\"\n\t\t\t\tdojoAttachPoint=\"containerNode\"\n\t\t\t></span\n\t\t></span\n\t></span\n\t><input ${!nameAttrSetting} type=\"${type}\" value=\"${value}\" class=\"dijitOffScreen\" tabIndex=\"-1\"\n\t\tdojoAttachPoint=\"valueNode\"\n/></span>\n"),attributeMap:dojo.delegate(dijit.form._FormWidget.prototype.attributeMap,{value:"valueNode"}),_onClick:function(e){if(this.disabled){return false;}this._clicked();return this.onClick(e);},_onButtonClick:function(e){if(this._onClick(e)===false){e.preventDefault();}else{if(this.type=="submit"&&!(this.valueNode||this.focusNode).form){for(var node=this.domNode;node.parentNode;node=node.parentNode){var _1e7=dijit.byNode(node);if(_1e7&&typeof _1e7._onSubmit=="function"){_1e7._onSubmit(e);break;}}}else{if(this.valueNode){this.valueNode.click();e.preventDefault();}}}},buildRendering:function(){this.inherited(arguments);dojo.setSelectable(this.focusNode,false);},_fillContent:function(_1e8){if(_1e8&&(!this.params||!("label" in this.params))){this.set("label",_1e8.innerHTML);}},_setShowLabelAttr:function(val){if(this.containerNode){dojo.toggleClass(this.containerNode,"dijitDisplayNone",!val);}this._set("showLabel",val);},onClick:function(e){return true;},_clicked:function(e){},setLabel:function(_1e9){dojo.deprecated("dijit.form.Button.setLabel() is deprecated.  Use set('label', ...) instead.","","2.0");this.set("label",_1e9);},_setLabelAttr:function(_1ea){this._set("label",_1ea);this.containerNode.innerHTML=_1ea;if(this.showLabel==false&&!this.params.title){this.titleNode.title=dojo.trim(this.containerNode.innerText||this.containerNode.textContent||"");}},_setIconClassAttr:function(val){var _1eb=this.iconClass||"dijitNoIcon",_1ec=val||"dijitNoIcon";dojo.replaceClass(this.iconNode,_1ec,_1eb);this._set("iconClass",val);}});dojo.declare("dijit.form.DropDownButton",[dijit.form.Button,dijit._Container,dijit._HasDropDown],{baseClass:"dijitDropDownButton",templateString:dojo.cache("dijit.form","templates/DropDownButton.html","<span class=\"dijit dijitReset dijitInline\"\n\t><span class='dijitReset dijitInline dijitButtonNode'\n\t\tdojoAttachEvent=\"ondijitclick:_onButtonClick\" dojoAttachPoint=\"_buttonNode\"\n\t\t><span class=\"dijitReset dijitStretch dijitButtonContents\"\n\t\t\tdojoAttachPoint=\"focusNode,titleNode,_arrowWrapperNode\"\n\t\t\trole=\"button\" aria-haspopup=\"true\" aria-labelledby=\"${id}_label\"\n\t\t\t><span class=\"dijitReset dijitInline dijitIcon\"\n\t\t\t\tdojoAttachPoint=\"iconNode\"\n\t\t\t></span\n\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\"\n\t\t\t\tdojoAttachPoint=\"containerNode,_popupStateNode\"\n\t\t\t\tid=\"${id}_label\"\n\t\t\t></span\n\t\t\t><span class=\"dijitReset dijitInline dijitArrowButtonInner\"></span\n\t\t\t><span class=\"dijitReset dijitInline dijitArrowButtonChar\">&#9660;</span\n\t\t></span\n\t></span\n\t><input ${!nameAttrSetting} type=\"${type}\" value=\"${value}\" class=\"dijitOffScreen\" tabIndex=\"-1\"\n\t\tdojoAttachPoint=\"valueNode\"\n/></span>\n"),_fillContent:function(){if(this.srcNodeRef){var _1ed=dojo.query("*",this.srcNodeRef);dijit.form.DropDownButton.superclass._fillContent.call(this,_1ed[0]);this.dropDownContainer=this.srcNodeRef;}},startup:function(){if(this._started){return;}if(!this.dropDown&&this.dropDownContainer){var _1ee=dojo.query("[widgetId]",this.dropDownContainer)[0];this.dropDown=dijit.byNode(_1ee);delete this.dropDownContainer;}if(this.dropDown){dijit.popup.hide(this.dropDown);}this.inherited(arguments);},isLoaded:function(){var _1ef=this.dropDown;return (!!_1ef&&(!_1ef.href||_1ef.isLoaded));},loadDropDown:function(){var _1f0=this.dropDown;if(!_1f0){return;}if(!this.isLoaded()){var _1f1=dojo.connect(_1f0,"onLoad",this,function(){dojo.disconnect(_1f1);this.openDropDown();});_1f0.refresh();}else{this.openDropDown();}},isFocusable:function(){return this.inherited(arguments)&&!this._mouseDown;}});dojo.declare("dijit.form.ComboButton",dijit.form.DropDownButton,{templateString:dojo.cache("dijit.form","templates/ComboButton.html","<table class=\"dijit dijitReset dijitInline dijitLeft\"\n\tcellspacing='0' cellpadding='0' role=\"presentation\"\n\t><tbody role=\"presentation\"><tr role=\"presentation\"\n\t\t><td class=\"dijitReset dijitStretch dijitButtonNode\" dojoAttachPoint=\"buttonNode\" dojoAttachEvent=\"ondijitclick:_onButtonClick,onkeypress:_onButtonKeyPress\"\n\t\t><div id=\"${id}_button\" class=\"dijitReset dijitButtonContents\"\n\t\t\tdojoAttachPoint=\"titleNode\"\n\t\t\trole=\"button\" aria-labelledby=\"${id}_label\"\n\t\t\t><div class=\"dijitReset dijitInline dijitIcon\" dojoAttachPoint=\"iconNode\" role=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitInline dijitButtonText\" id=\"${id}_label\" dojoAttachPoint=\"containerNode\" role=\"presentation\"></div\n\t\t></div\n\t\t></td\n\t\t><td id=\"${id}_arrow\" class='dijitReset dijitRight dijitButtonNode dijitArrowButton'\n\t\t\tdojoAttachPoint=\"_popupStateNode,focusNode,_buttonNode\"\n\t\t\tdojoAttachEvent=\"onkeypress:_onArrowKeyPress\"\n\t\t\ttitle=\"${optionsTitle}\"\n\t\t\trole=\"button\" aria-haspopup=\"true\"\n\t\t\t><div class=\"dijitReset dijitArrowButtonInner\" role=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitArrowButtonChar\" role=\"presentation\">&#9660;</div\n\t\t></td\n\t\t><td style=\"display:none !important;\"\n\t\t\t><input ${!nameAttrSetting} type=\"${type}\" value=\"${value}\" dojoAttachPoint=\"valueNode\"\n\t\t/></td></tr></tbody\n></table>\n"),attributeMap:dojo.mixin(dojo.clone(dijit.form.Button.prototype.attributeMap),{id:"",tabIndex:["focusNode","titleNode"],title:"titleNode"}),optionsTitle:"",baseClass:"dijitComboButton",cssStateNodes:{"buttonNode":"dijitButtonNode","titleNode":"dijitButtonContents","_popupStateNode":"dijitDownArrowButton"},_focusedNode:null,_onButtonKeyPress:function(evt){if(evt.charOrCode==dojo.keys[this.isLeftToRight()?"RIGHT_ARROW":"LEFT_ARROW"]){dijit.focus(this._popupStateNode);dojo.stopEvent(evt);}},_onArrowKeyPress:function(evt){if(evt.charOrCode==dojo.keys[this.isLeftToRight()?"LEFT_ARROW":"RIGHT_ARROW"]){dijit.focus(this.titleNode);dojo.stopEvent(evt);}},focus:function(_1f2){if(!this.disabled){dijit.focus(_1f2=="start"?this.titleNode:this._popupStateNode);}}});dojo.declare("dijit.form.ToggleButton",dijit.form.Button,{baseClass:"dijitToggleButton",checked:false,attributeMap:dojo.mixin(dojo.clone(dijit.form.Button.prototype.attributeMap),{checked:"focusNode"}),_clicked:function(evt){this.set("checked",!this.checked);},_setCheckedAttr:function(_1f3,_1f4){this._set("checked",_1f3);dojo.attr(this.focusNode||this.domNode,"checked",_1f3);dijit.setWaiState(this.focusNode||this.domNode,"pressed",_1f3);this._handleOnChange(_1f3,_1f4);},setChecked:function(_1f5){dojo.deprecated("setChecked("+_1f5+") is deprecated. Use set('checked',"+_1f5+") instead.","","2.0");this.set("checked",_1f5);},reset:function(){this._hasBeenBlurred=false;this.set("checked",this.params.checked||false);}});}if(!dojo._hasResource["dojo.i18n"]){dojo._hasResource["dojo.i18n"]=true;dojo.provide("dojo.i18n");dojo.getObject("i18n",true,dojo);dojo.i18n.getLocalization=dojo.i18n.getLocalization||function(_1f6,_1f7,_1f8){_1f8=dojo.i18n.normalizeLocale(_1f8);var _1f9=_1f8.split("-");var _1fa=[_1f6,"nls",_1f7].join(".");var _1fb=dojo._loadedModules[_1fa];if(_1fb){var _1fc;for(var i=_1f9.length;i>0;i--){var loc=_1f9.slice(0,i).join("_");if(_1fb[loc]){_1fc=_1fb[loc];break;}}if(!_1fc){_1fc=_1fb.ROOT;}if(_1fc){var _1fd=function(){};_1fd.prototype=_1fc;return new _1fd();}}throw new Error("Bundle not found: "+_1f7+" in "+_1f6+" , locale="+_1f8);};dojo.i18n.normalizeLocale=function(_1fe){var _1ff=(_1fe?_1fe:dojo.locale).toLowerCase();if(_1ff=="root"){_1ff="ROOT";}return _1ff;};dojo.i18n._requireLocalization=function(_200,_201,_202,_203){var _204=dojo.i18n.normalizeLocale(_202);var _205=[_200,"nls",_201].join(".");var _206="";if(_203){var _207=_203.split(",");for(var i=0;i<_207.length;i++){if(_204["indexOf"](_207[i])==0){if(_207[i].length>_206.length){_206=_207[i];}}}if(!_206){_206="ROOT";}}var _208=_203?_206:_204;var _209=dojo._loadedModules[_205];var _20a=null;if(_209){if(dojo.config.localizationComplete&&_209._built){return;}var _20b=_208.replace(/-/g,"_");var _20c=_205+"."+_20b;_20a=dojo._loadedModules[_20c];}if(!_20a){_209=dojo["provide"](_205);var syms=dojo._getModuleSymbols(_200);var _20d=syms.concat("nls").join("/");var _20e;dojo.i18n._searchLocalePath(_208,_203,function(loc){var _20f=loc.replace(/-/g,"_");var _210=_205+"."+_20f;var _211=false;if(!dojo._loadedModules[_210]){dojo["provide"](_210);var _212=[_20d];if(loc!="ROOT"){_212.push(loc);}_212.push(_201);var _213=_212.join("/")+".js";_211=dojo._loadPath(_213,null,function(hash){hash=hash.root||hash;var _214=function(){};_214.prototype=_20e;_209[_20f]=new _214();for(var j in hash){_209[_20f][j]=hash[j];}});}else{_211=true;}if(_211&&_209[_20f]){_20e=_209[_20f];}else{_209[_20f]=_20e;}if(_203){return true;}});}if(_203&&_204!=_206){_209[_204.replace(/-/g,"_")]=_209[_206.replace(/-/g,"_")];}};(function(){var _215=dojo.config.extraLocale;if(_215){if(!_215 instanceof Array){_215=[_215];}var req=dojo.i18n._requireLocalization;dojo.i18n._requireLocalization=function(m,b,_216,_217){req(m,b,_216,_217);if(_216){return;}for(var i=0;i<_215.length;i++){req(m,b,_215[i],_217);}};}})();dojo.i18n._searchLocalePath=function(_218,down,_219){_218=dojo.i18n.normalizeLocale(_218);var _21a=_218.split("-");var _21b=[];for(var i=_21a.length;i>0;i--){_21b.push(_21a.slice(0,i).join("-"));}_21b.push(false);if(down){_21b.reverse();}for(var j=_21b.length-1;j>=0;j--){var loc=_21b[j]||"ROOT";var stop=_219(loc);if(stop){break;}}};dojo.i18n._preloadLocalizations=function(_21c,_21d){function _21e(_21f){_21f=dojo.i18n.normalizeLocale(_21f);dojo.i18n._searchLocalePath(_21f,true,function(loc){for(var i=0;i<_21d.length;i++){if(_21d[i]==loc){dojo["require"](_21c+"_"+loc);return true;}}return false;});};_21e();var _220=dojo.config.extraLocale||[];for(var i=0;i<_220.length;i++){_21e(_220[i]);}};}if(!dojo._hasResource["dijit.form.TextBox"]){dojo._hasResource["dijit.form.TextBox"]=true;dojo.provide("dijit.form.TextBox");dojo.declare("dijit.form.TextBox",dijit.form._FormValueWidget,{trim:false,uppercase:false,lowercase:false,propercase:false,maxLength:"",selectOnClick:false,placeHolder:"",templateString:dojo.cache("dijit.form","templates/TextBox.html","<div class=\"dijit dijitReset dijitInline dijitLeft\" id=\"widget_${id}\" role=\"presentation\"\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class=\"dijitReset dijitInputInner\" dojoAttachPoint='textbox,focusNode' autocomplete=\"off\"\n\t\t\t${!nameAttrSetting} type='${type}'\n\t/></div\n></div>\n"),_singleNodeTemplate:"<input class=\"dijit dijitReset dijitLeft dijitInputField\" dojoAttachPoint=\"textbox,focusNode\" autocomplete=\"off\" type=\"${type}\" ${!nameAttrSetting} />",_buttonInputDisabled:dojo.isIE?"disabled":"",baseClass:"dijitTextBox",attributeMap:dojo.delegate(dijit.form._FormValueWidget.prototype.attributeMap,{maxLength:"focusNode"}),postMixInProperties:function(){var type=this.type.toLowerCase();if(this.templateString&&this.templateString.toLowerCase()=="input"||((type=="hidden"||type=="file")&&this.templateString==dijit.form.TextBox.prototype.templateString)){this.templateString=this._singleNodeTemplate;}this.inherited(arguments);},_setPlaceHolderAttr:function(v){this._set("placeHolder",v);if(!this._phspan){this._attachPoints.push("_phspan");this._phspan=dojo.create("span",{className:"dijitPlaceHolder dijitInputField"},this.textbox,"after");}this._phspan.innerHTML="";this._phspan.appendChild(document.createTextNode(v));this._updatePlaceHolder();},_updatePlaceHolder:function(){if(this._phspan){this._phspan.style.display=(this.placeHolder&&!this._focused&&!this.textbox.value)?"":"none";}},_getValueAttr:function(){return this.parse(this.get("displayedValue"),this.constraints);},_setValueAttr:function(_221,_222,_223){var _224;if(_221!==undefined){_224=this.filter(_221);if(typeof _223!="string"){if(_224!==null&&((typeof _224!="number")||!isNaN(_224))){_223=this.filter(this.format(_224,this.constraints));}else{_223="";}}}if(_223!=null&&_223!=undefined&&((typeof _223)!="number"||!isNaN(_223))&&this.textbox.value!=_223){this.textbox.value=_223;this._set("displayedValue",this.get("displayedValue"));}this._updatePlaceHolder();this.inherited(arguments,[_224,_222]);},displayedValue:"",getDisplayedValue:function(){dojo.deprecated(this.declaredClass+"::getDisplayedValue() is deprecated. Use set('displayedValue') instead.","","2.0");return this.get("displayedValue");},_getDisplayedValueAttr:function(){return this.filter(this.textbox.value);},setDisplayedValue:function(_225){dojo.deprecated(this.declaredClass+"::setDisplayedValue() is deprecated. Use set('displayedValue', ...) instead.","","2.0");this.set("displayedValue",_225);},_setDisplayedValueAttr:function(_226){if(_226===null||_226===undefined){_226="";}else{if(typeof _226!="string"){_226=String(_226);}}this.textbox.value=_226;this._setValueAttr(this.get("value"),undefined);this._set("displayedValue",this.get("displayedValue"));},format:function(_227,_228){return ((_227==null||_227==undefined)?"":(_227.toString?_227.toString():_227));},parse:function(_229,_22a){return _229;},_refreshState:function(){},_onInput:function(e){if(e&&e.type&&/key/i.test(e.type)&&e.keyCode){switch(e.keyCode){case dojo.keys.SHIFT:case dojo.keys.ALT:case dojo.keys.CTRL:case dojo.keys.TAB:return;}}if(this.intermediateChanges){var _22b=this;setTimeout(function(){_22b._handleOnChange(_22b.get("value"),false);},0);}this._refreshState();this._set("displayedValue",this.get("displayedValue"));},postCreate:function(){if(dojo.isIE){setTimeout(dojo.hitch(this,function(){var s=dojo.getComputedStyle(this.domNode);if(s){var ff=s.fontFamily;if(ff){var _22c=this.domNode.getElementsByTagName("INPUT");if(_22c){for(var i=0;i<_22c.length;i++){_22c[i].style.fontFamily=ff;}}}}}),0);}this.textbox.setAttribute("value",this.textbox.value);this.inherited(arguments);if(dojo.isMoz||dojo.isOpera){this.connect(this.textbox,"oninput","_onInput");}else{this.connect(this.textbox,"onkeydown","_onInput");this.connect(this.textbox,"onkeyup","_onInput");this.connect(this.textbox,"onpaste","_onInput");this.connect(this.textbox,"oncut","_onInput");}},_blankValue:"",filter:function(val){if(val===null){return this._blankValue;}if(typeof val!="string"){return val;}if(this.trim){val=dojo.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);}if(this.selectOnClick&&dojo.isMoz){this.textbox.selectionStart=this.textbox.selectionEnd=undefined;}this._updatePlaceHolder();},_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);var _22d;if(dojo.isIE){var _22e=dojo.doc.selection.createRange();var _22f=_22e.parentElement();_22d=_22f==this.textbox&&_22e.text.length==0;}else{_22d=this.textbox.selectionStart==this.textbox.selectionEnd;}if(_22d){dijit.selectInputText(this.textbox);}});}this._updatePlaceHolder();this.inherited(arguments);this._refreshState();},reset:function(){this.textbox.value="";this.inherited(arguments);}});dijit.selectInputText=function(_230,_231,stop){var _232=dojo.global;var _233=dojo.doc;_230=dojo.byId(_230);if(isNaN(_231)){_231=0;}if(isNaN(stop)){stop=_230.value?_230.value.length:0;}dijit.focus(_230);if(_233["selection"]&&dojo.body()["createTextRange"]){if(_230.createTextRange){var r=_230.createTextRange();r.collapse(true);r.moveStart("character",-99999);r.moveStart("character",_231);r.moveEnd("character",stop-_231);r.select();}}else{if(_232["getSelection"]){if(_230.setSelectionRange){_230.setSelectionRange(_231,stop);}}}};}if(!dojo._hasResource["dijit.Tooltip"]){dojo._hasResource["dijit.Tooltip"]=true;dojo.provide("dijit.Tooltip");dojo.declare("dijit._MasterTooltip",[dijit._Widget,dijit._Templated],{duration:dijit.defaultDuration,templateString:dojo.cache("dijit","templates/Tooltip.html","<div class=\"dijitTooltip dijitTooltipLeft\" id=\"dojoTooltip\"\n\t><div class=\"dijitTooltipContainer dijitTooltipContents\" dojoAttachPoint=\"containerNode\" role='alert'></div\n\t><div class=\"dijitTooltipConnector\" dojoAttachPoint=\"connectorNode\"></div\n></div>\n"),postCreate:function(){dojo.body().appendChild(this.domNode);this.bgIframe=new dijit.BackgroundIframe(this.domNode);this.fadeIn=dojo.fadeIn({node:this.domNode,duration:this.duration,onEnd:dojo.hitch(this,"_onShow")});this.fadeOut=dojo.fadeOut({node:this.domNode,duration:this.duration,onEnd:dojo.hitch(this,"_onHide")});},show:function(_234,_235,_236,rtl){if(this.aroundNode&&this.aroundNode===_235){return;}this.domNode.width="auto";if(this.fadeOut.status()=="playing"){this._onDeck=arguments;return;}this.containerNode.innerHTML=_234;var pos=dijit.placeOnScreenAroundElement(this.domNode,_235,dijit.getPopupAroundAlignment((_236&&_236.length)?_236:dijit.Tooltip.defaultPosition,!rtl),dojo.hitch(this,"orient"));dojo.style(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=true;this.aroundNode=_235;},orient:function(node,_237,_238,_239,_23a){this.connectorNode.style.top="";var _23b=_239.w-this.connectorNode.offsetWidth;node.className="dijitTooltip "+{"BL-TL":"dijitTooltipBelow dijitTooltipABLeft","TL-BL":"dijitTooltipAbove dijitTooltipABLeft","BR-TR":"dijitTooltipBelow dijitTooltipABRight","TR-BR":"dijitTooltipAbove dijitTooltipABRight","BR-BL":"dijitTooltipRight","BL-BR":"dijitTooltipLeft"}[_237+"-"+_238];this.domNode.style.width="auto";var size=dojo.contentBox(this.domNode);var _23c=Math.min((Math.max(_23b,1)),size.w);var _23d=_23c<size.w;this.domNode.style.width=_23c+"px";if(_23d){this.containerNode.style.overflow="auto";var _23e=this.containerNode.scrollWidth;this.containerNode.style.overflow="visible";if(_23e>_23c){_23e=_23e+dojo.style(this.domNode,"paddingLeft")+dojo.style(this.domNode,"paddingRight");this.domNode.style.width=_23e+"px";}}if(_238.charAt(0)=="B"&&_237.charAt(0)=="B"){var mb=dojo.marginBox(node);var _23f=this.connectorNode.offsetHeight;if(mb.h>_239.h){var _240=_239.h-(_23a.h/2)-(_23f/2);this.connectorNode.style.top=_240+"px";this.connectorNode.style.bottom="";}else{this.connectorNode.style.bottom=Math.min(Math.max(_23a.h/2-_23f/2,0),mb.h-_23f)+"px";this.connectorNode.style.top="";}}else{this.connectorNode.style.top="";this.connectorNode.style.bottom="";}return Math.max(0,size.w-_23b);},_onShow:function(){if(dojo.isIE){this.domNode.style.filter="";}},hide:function(_241){if(this._onDeck&&this._onDeck[1]==_241){this._onDeck=null;}else{if(this.aroundNode===_241){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;}}});dijit.showTooltip=function(_242,_243,_244,rtl){if(!dijit._masterTT){dijit._masterTT=new dijit._MasterTooltip();}return dijit._masterTT.show(_242,_243,_244,rtl);};dijit.hideTooltip=function(_245){if(!dijit._masterTT){dijit._masterTT=new dijit._MasterTooltip();}return dijit._masterTT.hide(_245);};dojo.declare("dijit.Tooltip",dijit._Widget,{label:"",showDelay:400,connectId:[],position:[],_setConnectIdAttr:function(_246){dojo.forEach(this._connections||[],function(_247){dojo.forEach(_247,dojo.hitch(this,"disconnect"));},this);var ary=dojo.isArrayLike(_246)?_246:(_246?[_246]:[]);this._connections=dojo.map(ary,function(id){var node=dojo.byId(id);return node?[this.connect(node,"onmouseenter","_onTargetMouseEnter"),this.connect(node,"onmouseleave","_onTargetMouseLeave"),this.connect(node,"onfocus","_onTargetFocus"),this.connect(node,"onblur","_onTargetBlur")]:[];},this);this._set("connectId",_246);this._connectIds=ary;},addTarget:function(node){var id=node.id||node;if(dojo.indexOf(this._connectIds,id)==-1){this.set("connectId",this._connectIds.concat(id));}},removeTarget:function(node){var id=node.id||node,idx=dojo.indexOf(this._connectIds,id);if(idx>=0){this._connectIds.splice(idx,1);this.set("connectId",this._connectIds);}},buildRendering:function(){this.inherited(arguments);dojo.addClass(this.domNode,"dijitTooltipData");},startup:function(){this.inherited(arguments);var ids=this.connectId;dojo.forEach(dojo.isArrayLike(ids)?ids:[ids],this.addTarget,this);},_onTargetMouseEnter:function(e){this._onHover(e);},_onTargetMouseLeave:function(e){this._onUnHover(e);},_onTargetFocus:function(e){this._focus=true;this._onHover(e);},_onTargetBlur:function(e){this._focus=false;this._onUnHover(e);},_onHover:function(e){if(!this._showTimer){var _248=e.target;this._showTimer=setTimeout(dojo.hitch(this,function(){this.open(_248);}),this.showDelay);}},_onUnHover:function(e){if(this._focus){return;}if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}this.close();},open:function(_249){if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}dijit.showTooltip(this.label||this.domNode.innerHTML,_249,this.position,!this.isLeftToRight());this._connectNode=_249;this.onShow(_249,this.position);},close:function(){if(this._connectNode){dijit.hideTooltip(this._connectNode);delete this._connectNode;this.onHide();}if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}},onShow:function(_24a,_24b){},onHide:function(){},uninitialize:function(){this.close();this.inherited(arguments);}});dijit.Tooltip.defaultPosition=["after","before"];}if(!dojo._hasResource["dijit.form.ValidationTextBox"]){dojo._hasResource["dijit.form.ValidationTextBox"]=true;dojo.provide("dijit.form.ValidationTextBox");dojo.declare("dijit.form.ValidationTextBox",dijit.form.TextBox,{templateString:dojo.cache("dijit.form","templates/ValidationTextBox.html","<div class=\"dijit dijitReset dijitInlineTable dijitLeft\"\n\tid=\"widget_${id}\" role=\"presentation\"\n\t><div class='dijitReset dijitValidationContainer'\n\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t/></div\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class=\"dijitReset dijitInputInner\" dojoAttachPoint='textbox,focusNode' autocomplete=\"off\"\n\t\t\t${!nameAttrSetting} type='${type}'\n\t/></div\n></div>\n"),baseClass:"dijitTextBox dijitValidationTextBox",required:false,promptMessage:"",invalidMessage:"$_unset_$",missingMessage:"$_unset_$",message:"",constraints:{},regExp:".*",regExpGen:function(_24c){return this.regExp;},state:"",tooltipPosition:[],_setValueAttr:function(){this.inherited(arguments);this.validate(this._focused);},validator:function(_24d,_24e){return (new RegExp("^(?:"+this.regExpGen(_24e)+")"+(this.required?"":"?")+"$")).test(_24d)&&(!this.required||!this._isEmpty(_24d))&&(this._isEmpty(_24d)||this.parse(_24d,_24e)!==undefined);},_isValidSubset:function(){return this.textbox.value.search(this._partialre)==0;},isValid:function(_24f){return this.validator(this.textbox.value,this.constraints);},_isEmpty:function(_250){return (this.trim?/^\s*$/:/^$/).test(_250);},getErrorMessage:function(_251){return (this.required&&this._isEmpty(this.textbox.value))?this.missingMessage:this.invalidMessage;},getPromptMessage:function(_252){return this.promptMessage;},_maskValidSubsetError:true,validate:function(_253){var _254="";var _255=this.disabled||this.isValid(_253);if(_255){this._maskValidSubsetError=true;}var _256=this._isEmpty(this.textbox.value);var _257=!_255&&_253&&this._isValidSubset();this._set("state",_255?"":(((((!this._hasBeenBlurred||_253)&&_256)||_257)&&this._maskValidSubsetError)?"Incomplete":"Error"));dijit.setWaiState(this.focusNode,"invalid",_255?"false":"true");if(this.state=="Error"){this._maskValidSubsetError=_253&&_257;_254=this.getErrorMessage(_253);}else{if(this.state=="Incomplete"){_254=this.getPromptMessage(_253);this._maskValidSubsetError=!this._hasBeenBlurred||_253;}else{if(_256){_254=this.getPromptMessage(_253);}}}this.set("message",_254);return _255;},displayMessage:function(_258){dijit.hideTooltip(this.domNode);if(_258&&this._focused){dijit.showTooltip(_258,this.domNode,this.tooltipPosition,!this.isLeftToRight());}},_refreshState:function(){this.validate(this._focused);this.inherited(arguments);},constructor:function(){this.constraints={};},_setConstraintsAttr:function(_259){if(!_259.locale&&this.lang){_259.locale=this.lang;}this._set("constraints",_259);this._computePartialRE();},_computePartialRE:function(){var p=this.regExpGen(this.constraints);this.regExp=p;var _25a="";if(p!=".*"){this.regExp.replace(/\\.|\[\]|\[.*?[^\\]{1}\]|\{.*?\}|\(\?[=:!]|./g,function(re){switch(re.charAt(0)){case "{":case "+":case "?":case "*":case "^":case "$":case "|":case "(":_25a+=re;break;case ")":_25a+="|$)";break;default:_25a+="(?:"+re+"|$)";break;}});}try{"".search(_25a);}catch(e){_25a=this.regExp;console.warn("RegExp error in "+this.declaredClass+": "+this.regExp);}this._partialre="^(?:"+_25a+")$";},postMixInProperties:function(){this.inherited(arguments);this.messages=dojo.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(_25b){this.inherited(arguments);this._refreshState();},_setRequiredAttr:function(_25c){this._set("required",_25c);dijit.setWaiState(this.focusNode,"required",_25c);this._refreshState();},_setMessageAttr:function(_25d){this._set("message",_25d);this.displayMessage(_25d);},reset:function(){this._maskValidSubsetError=true;this.inherited(arguments);},_onBlur:function(){this.displayMessage("");this.inherited(arguments);}});dojo.declare("dijit.form.MappedTextBox",dijit.form.ValidationTextBox,{postMixInProperties:function(){this.inherited(arguments);this.nameAttrSetting="";},serialize:function(val,_25e){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=dojo.place("<input type='hidden'"+(this.name?" name='"+this.name.replace(/'/g,"&quot;")+"'":"")+"/>",this.textbox,"after");},reset:function(){this.valueNode.value="";this.inherited(arguments);}});dojo.declare("dijit.form.RangeBoundTextBox",dijit.form.MappedTextBox,{rangeMessage:"",rangeCheck:function(_25f,_260){return ("min" in _260?(this.compare(_25f,_260.min)>=0):true)&&("max" in _260?(this.compare(_25f,_260.max)<=0):true);},isInRange:function(_261){return this.rangeCheck(this.get("value"),this.constraints);},_isDefinitelyOutOfRange:function(){var val=this.get("value");var _262=false;var _263=false;if("min" in this.constraints){var min=this.constraints.min;min=this.compare(val,((typeof min=="number")&&min>=0&&val!=0)?0:min);_262=(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);_263=(typeof max=="number")&&max>0;}return _262||_263;},_isValidSubset:function(){return this.inherited(arguments)&&!this._isDefinitelyOutOfRange();},isValid:function(_264){return this.inherited(arguments)&&((this._isEmpty(this.textbox.value)&&!this.required)||this.isInRange(_264));},getErrorMessage:function(_265){var v=this.get("value");if(v!==null&&v!==""&&v!==undefined&&(typeof v!="number"||!isNaN(v))&&!this.isInRange(_265)){return this.rangeMessage;}return this.inherited(arguments);},postMixInProperties:function(){this.inherited(arguments);if(!this.rangeMessage){this.messages=dojo.i18n.getLocalization("dijit.form","validate",this.lang);this.rangeMessage=this.messages.rangeMessage;}},_setConstraintsAttr:function(_266){this.inherited(arguments);if(this.focusNode){if(this.constraints.min!==undefined){dijit.setWaiState(this.focusNode,"valuemin",this.constraints.min);}else{dijit.removeWaiState(this.focusNode,"valuemin");}if(this.constraints.max!==undefined){dijit.setWaiState(this.focusNode,"valuemax",this.constraints.max);}else{dijit.removeWaiState(this.focusNode,"valuemax");}}},_setValueAttr:function(_267,_268){dijit.setWaiState(this.focusNode,"valuenow",_267);this.inherited(arguments);}});}if(!dojo._hasResource["dijit.form._Spinner"]){dojo._hasResource["dijit.form._Spinner"]=true;dojo.provide("dijit.form._Spinner");dojo.declare("dijit.form._Spinner",dijit.form.RangeBoundTextBox,{defaultTimeout:500,minimumTimeout:10,timeoutChangeRate:0.9,smallDelta:1,largeDelta:10,templateString:dojo.cache("dijit.form","templates/Spinner.html","<div class=\"dijit dijitReset dijitInlineTable dijitLeft\"\n\tid=\"widget_${id}\" role=\"presentation\"\n\t><div class=\"dijitReset dijitButtonNode dijitSpinnerButtonContainer\"\n\t\t><input class=\"dijitReset dijitInputField dijitSpinnerButtonInner\" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t/><div class=\"dijitReset dijitLeft dijitButtonNode dijitArrowButton dijitUpArrowButton\"\n\t\t\tdojoAttachPoint=\"upArrowNode\"\n\t\t\t><div class=\"dijitArrowButtonInner\"\n\t\t\t\t><input class=\"dijitReset dijitInputField\" value=\"&#9650;\" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t\t\t\t${_buttonInputDisabled}\n\t\t\t/></div\n\t\t></div\n\t\t><div class=\"dijitReset dijitLeft dijitButtonNode dijitArrowButton dijitDownArrowButton\"\n\t\t\tdojoAttachPoint=\"downArrowNode\"\n\t\t\t><div class=\"dijitArrowButtonInner\"\n\t\t\t\t><input class=\"dijitReset dijitInputField\" value=\"&#9660;\" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t\t\t\t${_buttonInputDisabled}\n\t\t\t/></div\n\t\t></div\n\t></div\n\t><div class='dijitReset dijitValidationContainer'\n\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935;\" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t/></div\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class='dijitReset dijitInputInner' dojoAttachPoint=\"textbox,focusNode\" type=\"${type}\" dojoAttachEvent=\"onkeypress:_onKeyPress\"\n\t\t\trole=\"spinbutton\" autocomplete=\"off\" ${!nameAttrSetting}\n\t/></div\n></div>\n"),baseClass:"dijitTextBox dijitSpinner",cssStateNodes:{"upArrowNode":"dijitUpArrowButton","downArrowNode":"dijitDownArrowButton"},adjust:function(val,_269){return val;},_arrowPressed:function(_26a,_26b,_26c){if(this.disabled||this.readOnly){return;}this._setValueAttr(this.adjust(this.get("value"),_26b*_26c),false);dijit.selectInputText(this.textbox,this.textbox.value.length);},_arrowReleased:function(node){this._wheelTimer=null;if(this.disabled||this.readOnly){return;}},_typematicCallback:function(_26d,node,evt){var inc=this.smallDelta;if(node==this.textbox){var k=dojo.keys;var key=evt.charOrCode;inc=(key==k.PAGE_UP||key==k.PAGE_DOWN)?this.largeDelta:this.smallDelta;node=(key==k.UP_ARROW||key==k.PAGE_UP)?this.upArrowNode:this.downArrowNode;}if(_26d==-1){this._arrowReleased(node);}else{this._arrowPressed(node,(node==this.upArrowNode)?1:-1,inc);}},_wheelTimer:null,_mouseWheeled:function(evt){dojo.stopEvent(evt);var _26e=evt.detail?(evt.detail*-1):(evt.wheelDelta/120);if(_26e!==0){var node=this[(_26e>0?"upArrowNode":"downArrowNode")];this._arrowPressed(node,_26e,this.smallDelta);if(!this._wheelTimer){clearTimeout(this._wheelTimer);}this._wheelTimer=setTimeout(dojo.hitch(this,"_arrowReleased",node),50);}},postCreate:function(){this.inherited(arguments);this.connect(this.domNode,!dojo.isMozilla?"onmousewheel":"DOMMouseScroll","_mouseWheeled");this._connects.push(dijit.typematic.addListener(this.upArrowNode,this.textbox,{charOrCode:dojo.keys.UP_ARROW,ctrlKey:false,altKey:false,shiftKey:false,metaKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout));this._connects.push(dijit.typematic.addListener(this.downArrowNode,this.textbox,{charOrCode:dojo.keys.DOWN_ARROW,ctrlKey:false,altKey:false,shiftKey:false,metaKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout));this._connects.push(dijit.typematic.addListener(this.upArrowNode,this.textbox,{charOrCode:dojo.keys.PAGE_UP,ctrlKey:false,altKey:false,shiftKey:false,metaKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout));this._connects.push(dijit.typematic.addListener(this.downArrowNode,this.textbox,{charOrCode:dojo.keys.PAGE_DOWN,ctrlKey:false,altKey:false,shiftKey:false,metaKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout));}});}if(!dojo._hasResource["dojo.regexp"]){dojo._hasResource["dojo.regexp"]=true;dojo.provide("dojo.regexp");dojo.getObject("regexp",true,dojo);dojo.regexp.escapeString=function(str,_26f){return str.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(ch){if(_26f&&_26f.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};dojo.regexp.buildGroupRE=function(arr,re,_270){if(!(arr instanceof Array)){return re(arr);}var b=[];for(var i=0;i<arr.length;i++){b.push(re(arr[i]));}return dojo.regexp.group(b.join("|"),_270);};dojo.regexp.group=function(_271,_272){return "("+(_272?"?:":"")+_271+")";};}if(!dojo._hasResource["dojo.number"]){dojo._hasResource["dojo.number"]=true;dojo.provide("dojo.number");dojo.getObject("number",true,dojo);dojo.number.format=function(_273,_274){_274=dojo.mixin({},_274||{});var _275=dojo.i18n.normalizeLocale(_274.locale),_276=dojo.i18n.getLocalization("dojo.cldr","number",_275);_274.customs=_276;var _277=_274.pattern||_276[(_274.type||"decimal")+"Format"];if(isNaN(_273)||Math.abs(_273)==Infinity){return null;}return dojo.number._applyPattern(_273,_277,_274);};dojo.number._numberPatternRE=/[#0,]*[#0](?:\.0*#*)?/;dojo.number._applyPattern=function(_278,_279,_27a){_27a=_27a||{};var _27b=_27a.customs.group,_27c=_27a.customs.decimal,_27d=_279.split(";"),_27e=_27d[0];_279=_27d[(_278<0)?1:0]||("-"+_27e);if(_279.indexOf("%")!=-1){_278*=100;}else{if(_279.indexOf("‰")!=-1){_278*=1000;}else{if(_279.indexOf("¤")!=-1){_27b=_27a.customs.currencyGroup||_27b;_27c=_27a.customs.currencyDecimal||_27c;_279=_279.replace(/\u00a4{1,3}/,function(_27f){var prop=["symbol","currency","displayName"][_27f.length-1];return _27a[prop]||_27a.currency||"";});}else{if(_279.indexOf("E")!=-1){throw new Error("exponential notation not supported");}}}}var _280=dojo.number._numberPatternRE;var _281=_27e.match(_280);if(!_281){throw new Error("unable to find a number expression in pattern: "+_279);}if(_27a.fractional===false){_27a.places=0;}return _279.replace(_280,dojo.number._formatAbsolute(_278,_281[0],{decimal:_27c,group:_27b,places:_27a.places,round:_27a.round}));};dojo.number.round=function(_282,_283,_284){var _285=10/(_284||10);return (_285*+_282).toFixed(_283)/_285;};if((0.9).toFixed()==0){(function(){var _286=dojo.number.round;dojo.number.round=function(v,p,m){var d=Math.pow(10,-p||0),a=Math.abs(v);if(!v||a>=d||a*Math.pow(10,p+1)<5){d=0;}return _286(v,p,m)+(v>0?d:-d);};})();}dojo.number._formatAbsolute=function(_287,_288,_289){_289=_289||{};if(_289.places===true){_289.places=0;}if(_289.places===Infinity){_289.places=6;}var _28a=_288.split("."),_28b=typeof _289.places=="string"&&_289.places.indexOf(","),_28c=_289.places;if(_28b){_28c=_289.places.substring(_28b+1);}else{if(!(_28c>=0)){_28c=(_28a[1]||[]).length;}}if(!(_289.round<0)){_287=dojo.number.round(_287,_28c,_289.round);}var _28d=String(Math.abs(_287)).split("."),_28e=_28d[1]||"";if(_28a[1]||_289.places){if(_28b){_289.places=_289.places.substring(0,_28b);}var pad=_289.places!==undefined?_289.places:(_28a[1]&&_28a[1].lastIndexOf("0")+1);if(pad>_28e.length){_28d[1]=dojo.string.pad(_28e,pad,"0",true);}if(_28c<_28e.length){_28d[1]=_28e.substr(0,_28c);}}else{if(_28d[1]){_28d.pop();}}var _28f=_28a[0].replace(",","");pad=_28f.indexOf("0");if(pad!=-1){pad=_28f.length-pad;if(pad>_28d[0].length){_28d[0]=dojo.string.pad(_28d[0],pad);}if(_28f.indexOf("#")==-1){_28d[0]=_28d[0].substr(_28d[0].length-pad);}}var _290=_28a[0].lastIndexOf(","),_291,_292;if(_290!=-1){_291=_28a[0].length-_290-1;var _293=_28a[0].substr(0,_290);_290=_293.lastIndexOf(",");if(_290!=-1){_292=_293.length-_290-1;}}var _294=[];for(var _295=_28d[0];_295;){var off=_295.length-_291;_294.push((off>0)?_295.substr(off):_295);_295=(off>0)?_295.slice(0,off):"";if(_292){_291=_292;delete _292;}}_28d[0]=_294.reverse().join(_289.group||",");return _28d.join(_289.decimal||".");};dojo.number.regexp=function(_296){return dojo.number._parseInfo(_296).regexp;};dojo.number._parseInfo=function(_297){_297=_297||{};var _298=dojo.i18n.normalizeLocale(_297.locale),_299=dojo.i18n.getLocalization("dojo.cldr","number",_298),_29a=_297.pattern||_299[(_297.type||"decimal")+"Format"],_29b=_299.group,_29c=_299.decimal,_29d=1;if(_29a.indexOf("%")!=-1){_29d/=100;}else{if(_29a.indexOf("‰")!=-1){_29d/=1000;}else{var _29e=_29a.indexOf("¤")!=-1;if(_29e){_29b=_299.currencyGroup||_29b;_29c=_299.currencyDecimal||_29c;}}}var _29f=_29a.split(";");if(_29f.length==1){_29f.push("-"+_29f[0]);}var re=dojo.regexp.buildGroupRE(_29f,function(_2a0){_2a0="(?:"+dojo.regexp.escapeString(_2a0,".")+")";return _2a0.replace(dojo.number._numberPatternRE,function(_2a1){var _2a2={signed:false,separator:_297.strict?_29b:[_29b,""],fractional:_297.fractional,decimal:_29c,exponent:false},_2a3=_2a1.split("."),_2a4=_297.places;if(_2a3.length==1&&_29d!=1){_2a3[1]="###";}if(_2a3.length==1||_2a4===0){_2a2.fractional=false;}else{if(_2a4===undefined){_2a4=_297.pattern?_2a3[1].lastIndexOf("0")+1:Infinity;}if(_2a4&&_297.fractional==undefined){_2a2.fractional=true;}if(!_297.places&&(_2a4<_2a3[1].length)){_2a4+=","+_2a3[1].length;}_2a2.places=_2a4;}var _2a5=_2a3[0].split(",");if(_2a5.length>1){_2a2.groupSize=_2a5.pop().length;if(_2a5.length>1){_2a2.groupSize2=_2a5.pop().length;}}return "("+dojo.number._realNumberRegexp(_2a2)+")";});},true);if(_29e){re=re.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/g,function(_2a6,_2a7,_2a8,_2a9){var prop=["symbol","currency","displayName"][_2a8.length-1],_2aa=dojo.regexp.escapeString(_297[prop]||_297.currency||"");_2a7=_2a7?"[\\s\\xa0]":"";_2a9=_2a9?"[\\s\\xa0]":"";if(!_297.strict){if(_2a7){_2a7+="*";}if(_2a9){_2a9+="*";}return "(?:"+_2a7+_2aa+_2a9+")?";}return _2a7+_2aa+_2a9;});}return {regexp:re.replace(/[\xa0 ]/g,"[\\s\\xa0]"),group:_29b,decimal:_29c,factor:_29d};};dojo.number.parse=function(_2ab,_2ac){var info=dojo.number._parseInfo(_2ac),_2ad=(new RegExp("^"+info.regexp+"$")).exec(_2ab);if(!_2ad){return NaN;}var _2ae=_2ad[1];if(!_2ad[1]){if(!_2ad[2]){return NaN;}_2ae=_2ad[2];info.factor*=-1;}_2ae=_2ae.replace(new RegExp("["+info.group+"\\s\\xa0"+"]","g"),"").replace(info.decimal,".");return _2ae*info.factor;};dojo.number._realNumberRegexp=function(_2af){_2af=_2af||{};if(!("places" in _2af)){_2af.places=Infinity;}if(typeof _2af.decimal!="string"){_2af.decimal=".";}if(!("fractional" in _2af)||/^0/.test(_2af.places)){_2af.fractional=[true,false];}if(!("exponent" in _2af)){_2af.exponent=[true,false];}if(!("eSigned" in _2af)){_2af.eSigned=[true,false];}var _2b0=dojo.number._integerRegexp(_2af),_2b1=dojo.regexp.buildGroupRE(_2af.fractional,function(q){var re="";if(q&&(_2af.places!==0)){re="\\"+_2af.decimal;if(_2af.places==Infinity){re="(?:"+re+"\\d+)?";}else{re+="\\d{"+_2af.places+"}";}}return re;},true);var _2b2=dojo.regexp.buildGroupRE(_2af.exponent,function(q){if(q){return "([eE]"+dojo.number._integerRegexp({signed:_2af.eSigned})+")";}return "";});var _2b3=_2b0+_2b1;if(_2b1){_2b3="(?:(?:"+_2b3+")|(?:"+_2b1+"))";}return _2b3+_2b2;};dojo.number._integerRegexp=function(_2b4){_2b4=_2b4||{};if(!("signed" in _2b4)){_2b4.signed=[true,false];}if(!("separator" in _2b4)){_2b4.separator="";}else{if(!("groupSize" in _2b4)){_2b4.groupSize=3;}}var _2b5=dojo.regexp.buildGroupRE(_2b4.signed,function(q){return q?"[-+]":"";},true);var _2b6=dojo.regexp.buildGroupRE(_2b4.separator,function(sep){if(!sep){return "(?:\\d+)";}sep=dojo.regexp.escapeString(sep);if(sep==" "){sep="\\s";}else{if(sep==" "){sep="\\s\\xa0";}}var grp=_2b4.groupSize,grp2=_2b4.groupSize2;if(grp2){var _2b7="(?:0|[1-9]\\d{0,"+(grp2-1)+"}(?:["+sep+"]\\d{"+grp2+"})*["+sep+"]\\d{"+grp+"})";return ((grp-grp2)>0)?"(?:"+_2b7+"|(?:0|[1-9]\\d{0,"+(grp-1)+"}))":_2b7;}return "(?:0|[1-9]\\d{0,"+(grp-1)+"}(?:["+sep+"]\\d{"+grp+"})*)";},true);return _2b5+_2b6;};}if(!dojo._hasResource["dijit.form.NumberTextBox"]){dojo._hasResource["dijit.form.NumberTextBox"]=true;dojo.provide("dijit.form.NumberTextBox");dojo.declare("dijit.form.NumberTextBoxMixin",null,{regExpGen:dojo.number.regexp,value:NaN,editOptions:{pattern:"#.######"},_formatter:dojo.number.format,_setConstraintsAttr:function(_2b8){var _2b9=typeof _2b8.places=="number"?_2b8.places:0;if(_2b9){_2b9++;}if(typeof _2b8.max!="number"){_2b8.max=9*Math.pow(10,15-_2b9);}if(typeof _2b8.min!="number"){_2b8.min=-9*Math.pow(10,15-_2b9);}this.inherited(arguments,[_2b8]);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 _2ba=this.format(val,this.constraints);if(_2ba!==undefined){this.textbox.value=_2ba;}}this.inherited(arguments);},format:function(_2bb,_2bc){var _2bd=String(_2bb);if(typeof _2bb!="number"){return _2bd;}if(isNaN(_2bb)){return "";}if(!("rangeCheck" in this&&this.rangeCheck(_2bb,_2bc))&&_2bc.exponent!==false&&/\de[-+]?\d/i.test(_2bd)){return _2bd;}if(this.editOptions&&this._focused){_2bc=dojo.mixin({},_2bc,this.editOptions);}return this._formatter(_2bb,_2bc);},_parser:dojo.number.parse,parse:function(_2be,_2bf){var v=this._parser(_2be,dojo.mixin({},_2bf,(this.editOptions&&this._focused)?this.editOptions:{}));if(this.editOptions&&this._focused&&isNaN(v)){v=this._parser(_2be,_2bf);}return v;},_getDisplayedValueAttr:function(){var v=this.inherited(arguments);return isNaN(v)?this.textbox.value:v;},filter:function(_2c0){return (_2c0===null||_2c0===""||_2c0===undefined)?NaN:this.inherited(arguments);},serialize:function(_2c1,_2c2){return (typeof _2c1!="number"||isNaN(_2c1))?"":this.inherited(arguments);},_setBlurValue:function(){var val=dojo.hitch(dojo.mixin({},this,{_focused:true}),"get")("value");this._setValueAttr(val,true);},_setValueAttr:function(_2c3,_2c4,_2c5){if(_2c3!==undefined&&_2c5===undefined){_2c5=String(_2c3);if(typeof _2c3=="number"){if(isNaN(_2c3)){_2c5="";}else{if(("rangeCheck" in this&&this.rangeCheck(_2c3,this.constraints))||this.constraints.exponent===false||!/\de[-+]?\d/i.test(_2c5)){_2c5=undefined;}}}else{if(!_2c3){_2c5="";_2c3=NaN;}else{_2c3=undefined;}}}this.inherited(arguments,[_2c3,_2c4,_2c5]);},_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("^"+dojo.number._realNumberRegexp(dojo.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(_2c6){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;}}}});dojo.declare("dijit.form.NumberTextBox",[dijit.form.RangeBoundTextBox,dijit.form.NumberTextBoxMixin],{baseClass:"dijitTextBox dijitNumberTextBox"});}if(!dojo._hasResource["dijit.form.NumberSpinner"]){dojo._hasResource["dijit.form.NumberSpinner"]=true;dojo.provide("dijit.form.NumberSpinner");dojo.declare("dijit.form.NumberSpinner",[dijit.form._Spinner,dijit.form.NumberTextBoxMixin],{adjust:function(val,_2c7){var tc=this.constraints,v=isNaN(val),_2c8=!isNaN(tc.max),_2c9=!isNaN(tc.min);if(v&&_2c7!=0){val=(_2c7>0)?_2c9?tc.min:_2c8?tc.max:0:_2c8?this.constraints.max:_2c9?tc.min:0;}var _2ca=val+_2c7;if(v||isNaN(_2ca)){return val;}if(_2c8&&(_2ca>tc.max)){_2ca=tc.max;}if(_2c9&&(_2ca<tc.min)){_2ca=tc.min;}return _2ca;},_onKeyPress:function(e){if((e.charOrCode==dojo.keys.HOME||e.charOrCode==dojo.keys.END)&&!(e.ctrlKey||e.altKey||e.metaKey)&&typeof this.get("value")!="undefined"){var _2cb=this.constraints[(e.charOrCode==dojo.keys.HOME?"min":"max")];if(typeof _2cb=="number"){this._setValueAttr(_2cb,false);}dojo.stopEvent(e);}}});}if(!dojo._hasResource["dojo.cldr.supplemental"]){dojo._hasResource["dojo.cldr.supplemental"]=true;dojo.provide("dojo.cldr.supplemental");dojo.getObject("cldr.supplemental",true,dojo);dojo.cldr.supplemental.getFirstDayOfWeek=function(_2cc){var _2cd={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 _2ce=dojo.cldr.supplemental._region(_2cc);var dow=_2cd[_2ce];return (dow===undefined)?1:dow;};dojo.cldr.supplemental._region=function(_2cf){_2cf=dojo.i18n.normalizeLocale(_2cf);var tags=_2cf.split("-");var _2d0=tags[1];if(!_2d0){_2d0={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(_2d0.length==4){_2d0=tags[2];}}return _2d0;};dojo.cldr.supplemental.getWeekend=function(_2d1){var _2d2={"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 _2d3={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 _2d4=dojo.cldr.supplemental._region(_2d1);var _2d5=_2d2[_2d4];var end=_2d3[_2d4];if(_2d5===undefined){_2d5=6;}if(end===undefined){end=0;}return {start:_2d5,end:end};};}if(!dojo._hasResource["dojo.date"]){dojo._hasResource["dojo.date"]=true;dojo.provide("dojo.date");dojo.getObject("date",true,dojo);dojo.date.getDaysInMonth=function(_2d6){var _2d7=_2d6.getMonth();var days=[31,28,31,30,31,30,31,31,30,31,30,31];if(_2d7==1&&dojo.date.isLeapYear(_2d6)){return 29;}return days[_2d7];};dojo.date.isLeapYear=function(_2d8){var year=_2d8.getFullYear();return !(year%400)||(!(year%4)&&!!(year%100));};dojo.date.getTimezoneName=function(_2d9){var str=_2d9.toString();var tz="";var _2da;var pos=str.indexOf("(");if(pos>-1){tz=str.substring(++pos,str.indexOf(")"));}else{var pat=/([A-Z\/]+) \d{4}$/;if((_2da=str.match(pat))){tz=_2da[1];}else{str=_2d9.toLocaleString();pat=/ ([A-Z\/]+)$/;if((_2da=str.match(pat))){tz=_2da[1];}}}return (tz=="AM"||tz=="PM")?"":tz;};dojo.date.compare=function(_2db,_2dc,_2dd){_2db=new Date(+_2db);_2dc=new Date(+(_2dc||new Date()));if(_2dd=="date"){_2db.setHours(0,0,0,0);_2dc.setHours(0,0,0,0);}else{if(_2dd=="time"){_2db.setFullYear(0,0,0);_2dc.setFullYear(0,0,0);}}if(_2db>_2dc){return 1;}if(_2db<_2dc){return -1;}return 0;};dojo.date.add=function(date,_2de,_2df){var sum=new Date(+date);var _2e0=false;var _2e1="Date";switch(_2de){case "day":break;case "weekday":var days,_2e2;var mod=_2df%5;if(!mod){days=(_2df>0)?5:-5;_2e2=(_2df>0)?((_2df-5)/5):((_2df+5)/5);}else{days=mod;_2e2=parseInt(_2df/5);}var strt=date.getDay();var adj=0;if(strt==6&&_2df>0){adj=1;}else{if(strt==0&&_2df<0){adj=-1;}}var trgt=strt+days;if(trgt==0||trgt==6){adj=(_2df>0)?2:-2;}_2df=(7*_2e2)+days+adj;break;case "year":_2e1="FullYear";_2e0=true;break;case "week":_2df*=7;break;case "quarter":_2df*=3;case "month":_2e0=true;_2e1="Month";break;default:_2e1="UTC"+_2de.charAt(0).toUpperCase()+_2de.substring(1)+"s";}if(_2e1){sum["set"+_2e1](sum["get"+_2e1]()+_2df);}if(_2e0&&(sum.getDate()<date.getDate())){sum.setDate(0);}return sum;};dojo.date.difference=function(_2e3,_2e4,_2e5){_2e4=_2e4||new Date();_2e5=_2e5||"day";var _2e6=_2e4.getFullYear()-_2e3.getFullYear();var _2e7=1;switch(_2e5){case "quarter":var m1=_2e3.getMonth();var m2=_2e4.getMonth();var q1=Math.floor(m1/3)+1;var q2=Math.floor(m2/3)+1;q2+=(_2e6*4);_2e7=q2-q1;break;case "weekday":var days=Math.round(dojo.date.difference(_2e3,_2e4,"day"));var _2e8=parseInt(dojo.date.difference(_2e3,_2e4,"week"));var mod=days%7;if(mod==0){days=_2e8*5;}else{var adj=0;var aDay=_2e3.getDay();var bDay=_2e4.getDay();_2e8=parseInt(days/7);mod=days%7;var _2e9=new Date(_2e3);_2e9.setDate(_2e9.getDate()+(_2e8*7));var _2ea=_2e9.getDay();if(days>0){switch(true){case aDay==6:adj=-1;break;case aDay==0:adj=0;break;case bDay==6:adj=-1;break;case bDay==0:adj=-2;break;case (_2ea+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 (_2ea+mod)<0:adj=2;}}}days+=adj;days-=(_2e8*2);}_2e7=days;break;case "year":_2e7=_2e6;break;case "month":_2e7=(_2e4.getMonth()-_2e3.getMonth())+(_2e6*12);break;case "week":_2e7=parseInt(dojo.date.difference(_2e3,_2e4,"day")/7);break;case "day":_2e7/=24;case "hour":_2e7/=60;case "minute":_2e7/=60;case "second":_2e7/=1000;case "millisecond":_2e7*=_2e4.getTime()-_2e3.getTime();}return Math.round(_2e7);};}if(!dojo._hasResource["dojo.date.locale"]){dojo._hasResource["dojo.date.locale"]=true;dojo.provide("dojo.date.locale");dojo.getObject("date.locale",true,dojo);(function(){function _2eb(_2ec,_2ed,_2ee,_2ef){return _2ef.replace(/([a-z])\1*/ig,function(_2f0){var s,pad,c=_2f0.charAt(0),l=_2f0.length,_2f1=["abbr","wide","narrow"];switch(c){case "G":s=_2ed[(l<4)?"eraAbbr":"eraNames"][_2ec.getFullYear()<0?0:1];break;case "y":s=_2ec.getFullYear();switch(l){case 1:break;case 2:if(!_2ee.fullYear){s=String(s);s=s.substr(s.length-2);break;}default:pad=true;}break;case "Q":case "q":s=Math.ceil((_2ec.getMonth()+1)/3);pad=true;break;case "M":var m=_2ec.getMonth();if(l<3){s=m+1;pad=true;}else{var _2f2=["months","format",_2f1[l-3]].join("-");s=_2ed[_2f2][m];}break;case "w":var _2f3=0;s=dojo.date.locale._getWeekOfYear(_2ec,_2f3);pad=true;break;case "d":s=_2ec.getDate();pad=true;break;case "D":s=dojo.date.locale._getDayOfYear(_2ec);pad=true;break;case "E":var d=_2ec.getDay();if(l<3){s=d+1;pad=true;}else{var _2f4=["days","format",_2f1[l-3]].join("-");s=_2ed[_2f4][d];}break;case "a":var _2f5=(_2ec.getHours()<12)?"am":"pm";s=_2ee[_2f5]||_2ed["dayPeriods-format-wide-"+_2f5];break;case "h":case "H":case "K":case "k":var h=_2ec.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=_2ec.getMinutes();pad=true;break;case "s":s=_2ec.getSeconds();pad=true;break;case "S":s=Math.round(_2ec.getMilliseconds()*Math.pow(10,l-3));pad=true;break;case "v":case "z":s=dojo.date.locale._getZone(_2ec,true,_2ee);if(s){break;}l=4;case "Z":var _2f6=dojo.date.locale._getZone(_2ec,false,_2ee);var tz=[(_2f6<=0?"+":"-"),dojo.string.pad(Math.floor(Math.abs(_2f6)/60),2),dojo.string.pad(Math.abs(_2f6)%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: "+_2ef);}if(pad){s=dojo.string.pad(s,l);}return s;});};dojo.date.locale._getZone=function(_2f7,_2f8,_2f9){if(_2f8){return dojo.date.getTimezoneName(_2f7);}else{return _2f7.getTimezoneOffset();}};dojo.date.locale.format=function(_2fa,_2fb){_2fb=_2fb||{};var _2fc=dojo.i18n.normalizeLocale(_2fb.locale),_2fd=_2fb.formatLength||"short",_2fe=dojo.date.locale._getGregorianBundle(_2fc),str=[],_2ff=dojo.hitch(this,_2eb,_2fa,_2fe,_2fb);if(_2fb.selector=="year"){return _300(_2fe["dateFormatItem-yyyy"]||"yyyy",_2ff);}var _301;if(_2fb.selector!="date"){_301=_2fb.timePattern||_2fe["timeFormat-"+_2fd];if(_301){str.push(_300(_301,_2ff));}}if(_2fb.selector!="time"){_301=_2fb.datePattern||_2fe["dateFormat-"+_2fd];if(_301){str.push(_300(_301,_2ff));}}return str.length==1?str[0]:_2fe["dateTimeFormat-"+_2fd].replace(/\{(\d+)\}/g,function(_302,key){return str[key];});};dojo.date.locale.regexp=function(_303){return dojo.date.locale._parseInfo(_303).regexp;};dojo.date.locale._parseInfo=function(_304){_304=_304||{};var _305=dojo.i18n.normalizeLocale(_304.locale),_306=dojo.date.locale._getGregorianBundle(_305),_307=_304.formatLength||"short",_308=_304.datePattern||_306["dateFormat-"+_307],_309=_304.timePattern||_306["timeFormat-"+_307],_30a;if(_304.selector=="date"){_30a=_308;}else{if(_304.selector=="time"){_30a=_309;}else{_30a=_306["dateTimeFormat-"+_307].replace(/\{(\d+)\}/g,function(_30b,key){return [_309,_308][key];});}}var _30c=[],re=_300(_30a,dojo.hitch(this,_30d,_30c,_306,_304));return {regexp:re,tokens:_30c,bundle:_306};};dojo.date.locale.parse=function(_30e,_30f){var _310=/[\u200E\u200F\u202A\u202E]/g,info=dojo.date.locale._parseInfo(_30f),_311=info.tokens,_312=info.bundle,re=new RegExp("^"+info.regexp.replace(_310,"")+"$",info.strict?"":"i"),_313=re.exec(_30e&&_30e.replace(_310,""));if(!_313){return null;}var _314=["abbr","wide","narrow"],_315=[1970,0,1,0,0,0,0],amPm="",_316=dojo.every(_313,function(v,i){if(!i){return true;}var _317=_311[i-1];var l=_317.length;switch(_317.charAt(0)){case "y":if(l!=2&&_30f.strict){_315[0]=v;}else{if(v<100){v=Number(v);var year=""+new Date().getFullYear(),_318=year.substring(0,2)*100,_319=Math.min(Number(year.substring(2,4))+20,99),num=(v<_319)?_318+v:_318-100+v;_315[0]=num;}else{if(_30f.strict){return false;}_315[0]=v;}}break;case "M":if(l>2){var _31a=_312["months-format-"+_314[l-3]].concat();if(!_30f.strict){v=v.replace(".","").toLowerCase();_31a=dojo.map(_31a,function(s){return s.replace(".","").toLowerCase();});}v=dojo.indexOf(_31a,v);if(v==-1){return false;}}else{v--;}_315[1]=v;break;case "E":case "e":var days=_312["days-format-"+_314[l-3]].concat();if(!_30f.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":_315[1]=0;case "d":_315[2]=v;break;case "a":var am=_30f.am||_312["dayPeriods-format-wide-am"],pm=_30f.pm||_312["dayPeriods-format-wide-pm"];if(!_30f.strict){var _31b=/\./g;v=v.replace(_31b,"").toLowerCase();am=am.replace(_31b,"").toLowerCase();pm=pm.replace(_31b,"").toLowerCase();}if(_30f.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;}_315[3]=v;break;case "m":_315[4]=v;break;case "s":_315[5]=v;break;case "S":_315[6]=v;}return true;});var _31c=+_315[3];if(amPm==="p"&&_31c<12){_315[3]=_31c+12;}else{if(amPm==="a"&&_31c==12){_315[3]=0;}}var _31d=new Date(_315[0],_315[1],_315[2],_315[3],_315[4],_315[5],_315[6]);if(_30f.strict){_31d.setFullYear(_315[0]);}var _31e=_311.join(""),_31f=_31e.indexOf("d")!=-1,_320=_31e.indexOf("M")!=-1;if(!_316||(_320&&_31d.getMonth()>_315[1])||(_31f&&_31d.getDate()>_315[2])){return null;}if((_320&&_31d.getMonth()<_315[1])||(_31f&&_31d.getDate()<_315[2])){_31d=dojo.date.add(_31d,"hour",1);}return _31d;};function _300(_321,_322,_323,_324){var _325=function(x){return x;};_322=_322||_325;_323=_323||_325;_324=_324||_325;var _326=_321.match(/(''|[^'])+/g),_327=_321.charAt(0)=="'";dojo.forEach(_326,function(_328,i){if(!_328){_326[i]="";}else{_326[i]=(_327?_323:_322)(_328.replace(/''/g,"'"));_327=!_327;}});return _324(_326.join(""));};function _30d(_329,_32a,_32b,_32c){_32c=dojo.regexp.escapeString(_32c);if(!_32b.strict){_32c=_32c.replace(" a"," ?a");}return _32c.replace(/([a-z])\1*/ig,function(_32d){var s,c=_32d.charAt(0),l=_32d.length,p2="",p3="";if(_32b.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]|"+p3+"[1-9][0-9]|"+p2+"[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=_32b.am||_32a["dayPeriods-format-wide-am"],pm=_32b.pm||_32a["dayPeriods-format-wide-pm"];s=am+"|"+pm;if(!_32b.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(_329){_329.push(_32d);}return "("+s+")";}).replace(/[\xa0 ]/g,"[\\s\\xa0]");};})();(function(){var _32e=[];dojo.date.locale.addCustomFormats=function(_32f,_330){_32e.push({pkg:_32f,name:_330});};dojo.date.locale._getGregorianBundle=function(_331){var _332={};dojo.forEach(_32e,function(desc){var _333=dojo.i18n.getLocalization(desc.pkg,desc.name,_331);_332=dojo.mixin(_332,_333);},this);return _332;};})();dojo.date.locale.addCustomFormats("dojo.cldr","gregorian");dojo.date.locale.getNames=function(item,type,_334,_335){var _336,_337=dojo.date.locale._getGregorianBundle(_335),_338=[item,_334,type];if(_334=="standAlone"){var key=_338.join("-");_336=_337[key];if(_336[0]==1){_336=undefined;}}_338[1]="format";return (_336||_337[_338.join("-")]).concat();};dojo.date.locale.isWeekend=function(_339,_33a){var _33b=dojo.cldr.supplemental.getWeekend(_33a),day=(_339||new Date()).getDay();if(_33b.end<_33b.start){_33b.end+=7;if(day<_33b.start){day+=7;}}return day>=_33b.start&&day<=_33b.end;};dojo.date.locale._getDayOfYear=function(_33c){return dojo.date.difference(new Date(_33c.getFullYear(),0,1,_33c.getHours()),_33c)+1;};dojo.date.locale._getWeekOfYear=function(_33d,_33e){if(arguments.length==1){_33e=0;}var _33f=new Date(_33d.getFullYear(),0,1).getDay(),adj=(_33f-_33e+7)%7,week=Math.floor((dojo.date.locale._getDayOfYear(_33d)+adj-1)/7);if(_33f==_33e){week++;}return week;};}if(!dojo._hasResource["dijit.form.DropDownButton"]){dojo._hasResource["dijit.form.DropDownButton"]=true;dojo.provide("dijit.form.DropDownButton");}if(!dojo._hasResource["dijit.Calendar"]){dojo._hasResource["dijit.Calendar"]=true;dojo.provide("dijit.Calendar");dojo.declare("dijit.Calendar",[dijit._Widget,dijit._Templated,dijit._CssStateMixin],{templateString:dojo.cache("dijit","templates/Calendar.html","<table cellspacing=\"0\" cellpadding=\"0\" class=\"dijitCalendarContainer\" role=\"grid\" dojoAttachEvent=\"onkeypress: _onKeyPress\" aria-labelledby=\"${id}_year\">\n\t<thead>\n\t\t<tr class=\"dijitReset dijitCalendarMonthContainer\" valign=\"top\">\n\t\t\t<th class='dijitReset dijitCalendarArrow' dojoAttachPoint=\"decrementMonth\">\n\t\t\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitCalendarIncrementControl dijitCalendarDecrease\" role=\"presentation\"/>\n\t\t\t\t<span dojoAttachPoint=\"decreaseArrowNode\" class=\"dijitA11ySideArrow\">-</span>\n\t\t\t</th>\n\t\t\t<th class='dijitReset' colspan=\"5\">\n\t\t\t\t<div dojoType=\"dijit.form.DropDownButton\" dojoAttachPoint=\"monthDropDownButton\"\n\t\t\t\t\tid=\"${id}_mddb\" tabIndex=\"-1\">\n\t\t\t\t</div>\n\t\t\t</th>\n\t\t\t<th class='dijitReset dijitCalendarArrow' dojoAttachPoint=\"incrementMonth\">\n\t\t\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitCalendarIncrementControl dijitCalendarIncrease\" role=\"presentation\"/>\n\t\t\t\t<span dojoAttachPoint=\"increaseArrowNode\" class=\"dijitA11ySideArrow\">+</span>\n\t\t\t</th>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<th class=\"dijitReset dijitCalendarDayLabelTemplate\" role=\"columnheader\"><span class=\"dijitCalendarDayLabel\"></span></th>\n\t\t</tr>\n\t</thead>\n\t<tbody dojoAttachEvent=\"onclick: _onDayClick, onmouseover: _onDayMouseOver, onmouseout: _onDayMouseOut, onmousedown: _onDayMouseDown, onmouseup: _onDayMouseUp\" class=\"dijitReset dijitCalendarBodyContainer\">\n\t\t<tr class=\"dijitReset dijitCalendarWeekTemplate\" role=\"row\">\n\t\t\t<td class=\"dijitReset dijitCalendarDateTemplate\" role=\"gridcell\"><span class=\"dijitCalendarDateLabel\"></span></td>\n\t\t</tr>\n\t</tbody>\n\t<tfoot class=\"dijitReset dijitCalendarYearContainer\">\n\t\t<tr>\n\t\t\t<td class='dijitReset' valign=\"top\" colspan=\"7\">\n\t\t\t\t<h3 class=\"dijitCalendarYearLabel\">\n\t\t\t\t\t<span dojoAttachPoint=\"previousYearLabelNode\" class=\"dijitInline dijitCalendarPreviousYear\"></span>\n\t\t\t\t\t<span dojoAttachPoint=\"currentYearLabelNode\" class=\"dijitInline dijitCalendarSelectedYear\" id=\"${id}_year\"></span>\n\t\t\t\t\t<span dojoAttachPoint=\"nextYearLabelNode\" class=\"dijitInline dijitCalendarNextYear\"></span>\n\t\t\t\t</h3>\n\t\t\t</td>\n\t\t</tr>\n\t</tfoot>\n</table>\n"),widgetsInTemplate:true,value:new Date(""),datePackage:"dojo.date",dayWidth:"narrow",tabIndex:"0",currentFocus:new Date(),baseClass:"dijitCalendar",cssStateNodes:{"decrementMonth":"dijitCalendarArrow","incrementMonth":"dijitCalendarArrow","previousYearLabelNode":"dijitCalendarPreviousYear","nextYearLabelNode":"dijitCalendarNextYear"},_isValidDate:function(_340){return _340&&!isNaN(_340)&&typeof _340=="object"&&_340.toString()!=this.constructor.prototype.value.toString();},setValue:function(_341){dojo.deprecated("dijit.Calendar:setValue() is deprecated.  Use set('value', ...) instead.","","2.0");this.set("value",_341);},_getValueAttr:function(){var _342=new this.dateClassObj(this.value);_342.setHours(0,0,0,0);if(_342.getDate()<this.value.getDate()){_342=this.dateFuncObj.add(_342,"hour",1);}return _342;},_setValueAttr:function(_343,_344){if(_343){_343=new this.dateClassObj(_343);}if(this._isValidDate(_343)){if(!this._isValidDate(this.value)||this.dateFuncObj.compare(_343,this.value)){_343.setHours(1,0,0,0);if(!this.isDisabledDate(_343,this.lang)){this._set("value",_343);this.set("currentFocus",_343);if(_344||typeof _344=="undefined"){this.onChange(this.get("value"));this.onValueSelected(this.get("value"));}}}}else{this._set("value",null);this.set("currentFocus",this.currentFocus);}},_setText:function(node,text){while(node.firstChild){node.removeChild(node.firstChild);}node.appendChild(dojo.doc.createTextNode(text));},_populateGrid:function(){var _345=new this.dateClassObj(this.currentFocus);_345.setDate(1);var _346=_345.getDay(),_347=this.dateFuncObj.getDaysInMonth(_345),_348=this.dateFuncObj.getDaysInMonth(this.dateFuncObj.add(_345,"month",-1)),_349=new this.dateClassObj(),_34a=dojo.cldr.supplemental.getFirstDayOfWeek(this.lang);if(_34a>_346){_34a-=7;}dojo.query(".dijitCalendarDateTemplate",this.domNode).forEach(function(_34b,i){i+=_34a;var date=new this.dateClassObj(_345),_34c,_34d="dijitCalendar",adj=0;if(i<_346){_34c=_348-_346+i+1;adj=-1;_34d+="Previous";}else{if(i>=(_346+_347)){_34c=i-_346-_347+1;adj=1;_34d+="Next";}else{_34c=i-_346+1;_34d+="Current";}}if(adj){date=this.dateFuncObj.add(date,"month",adj);}date.setDate(_34c);if(!this.dateFuncObj.compare(date,_349,"date")){_34d="dijitCalendarCurrentDate "+_34d;}if(this._isSelectedDate(date,this.lang)){_34d="dijitCalendarSelectedDate "+_34d;}if(this.isDisabledDate(date,this.lang)){_34d="dijitCalendarDisabledDate "+_34d;}var _34e=this.getClassForDate(date,this.lang);if(_34e){_34d=_34e+" "+_34d;}_34b.className=_34d+"Month dijitCalendarDateTemplate";_34b.dijitDateValue=date.valueOf();dojo.attr(_34b,"dijitDateValue",date.valueOf());var _34f=dojo.query(".dijitCalendarDateLabel",_34b)[0],text=date.getDateLocalized?date.getDateLocalized(this.lang):date.getDate();this._setText(_34f,text);},this);var _350=this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,_345);this.monthDropDownButton.dropDown.set("months",_350);this.monthDropDownButton.containerNode.innerHTML=(dojo.isIE==6?"":"<div class='dijitSpacer'>"+this.monthDropDownButton.dropDown.domNode.innerHTML+"</div>")+"<div class='dijitCalendarMonthLabel dijitCalendarCurrentMonthLabel'>"+_350[_345.getMonth()]+"</div>";var y=_345.getFullYear()-1;var d=new this.dateClassObj();dojo.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){var _351=(args.datePackage&&(args.datePackage!="dojo.date"))?args.datePackage+".Date":"Date";this.dateClassObj=dojo.getObject(_351,false);this.datePackage=args.datePackage||this.datePackage;this.dateFuncObj=dojo.getObject(this.datePackage,false);this.dateLocaleModule=dojo.getObject(this.datePackage+".locale",false);},postMixInProperties:function(){if(isNaN(this.value)){delete this.value;}this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);dojo.setSelectable(this.domNode,false);var _352=dojo.hitch(this,function(_353,n){var _354=dojo.query(_353,this.domNode)[0];for(var i=0;i<n;i++){_354.parentNode.appendChild(_354.cloneNode(true));}});_352(".dijitCalendarDayLabelTemplate",6);_352(".dijitCalendarDateTemplate",6);_352(".dijitCalendarWeekTemplate",5);var _355=this.dateLocaleModule.getNames("days",this.dayWidth,"standAlone",this.lang);var _356=dojo.cldr.supplemental.getFirstDayOfWeek(this.lang);dojo.query(".dijitCalendarDayLabel",this.domNode).forEach(function(_357,i){this._setText(_357,_355[(i+_356)%7]);},this);var _358=new this.dateClassObj(this.currentFocus);this.monthDropDownButton.dropDown=new dijit.Calendar._MonthDropDown({id:this.id+"_mdd",onChange:dojo.hitch(this,"_onMonthSelect")});this.set("currentFocus",_358,false);var _359=this;var _35a=function(_35b,_35c,adj){_359._connects.push(dijit.typematic.addMouseListener(_359[_35b],_359,function(_35d){if(_35d>=0){_359._adjustDisplay(_35c,adj);}},0.8,500));};_35a("incrementMonth","month",1);_35a("decrementMonth","month",-1);_35a("nextYearLabelNode","year",1);_35a("previousYearLabelNode","year",-1);},_adjustDisplay:function(part,_35e){this._setCurrentFocusAttr(this.dateFuncObj.add(this.currentFocus,part,_35e));},_setCurrentFocusAttr:function(date,_35f){var _360=this.currentFocus,_361=_360?dojo.query("[dijitDateValue="+_360.valueOf()+"]",this.domNode)[0]:null;date=new this.dateClassObj(date);date.setHours(1,0,0,0);this._set("currentFocus",date);this._populateGrid();var _362=dojo.query("[dijitDateValue="+date.valueOf()+"]",this.domNode)[0];_362.setAttribute("tabIndex",this.tabIndex);if(this._focused||_35f){_362.focus();}if(_361&&_361!=_362){if(dojo.isWebKit){_361.setAttribute("tabIndex","-1");}else{_361.removeAttribute("tabIndex");}}},focus:function(){this._setCurrentFocusAttr(this.currentFocus,true);},_onMonthSelect:function(_363){this.currentFocus=this.dateFuncObj.add(this.currentFocus,"month",_363-this.currentFocus.getMonth());this._populateGrid();},_onDayClick:function(evt){dojo.stopEvent(evt);for(var node=evt.target;node&&!node.dijitDateValue;node=node.parentNode){}if(node&&!dojo.hasClass(node,"dijitCalendarDisabledDate")){this.set("value",node.dijitDateValue);}},_onDayMouseOver:function(evt){var node=dojo.hasClass(evt.target,"dijitCalendarDateLabel")?evt.target.parentNode:evt.target;if(node&&(node.dijitDateValue||node==this.previousYearLabelNode||node==this.nextYearLabelNode)){dojo.addClass(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(dojo.hasClass(this._currentNode,"dijitCalendarActiveDate")){cls+=" dijitCalendarActiveDate";}dojo.removeClass(this._currentNode,cls);this._currentNode=null;},_onDayMouseDown:function(evt){var node=evt.target.parentNode;if(node&&node.dijitDateValue){dojo.addClass(node,"dijitCalendarActiveDate");this._currentNode=node;}},_onDayMouseUp:function(evt){var node=evt.target.parentNode;if(node&&node.dijitDateValue){dojo.removeClass(node,"dijitCalendarActiveDate");}},handleKey:function(evt){var dk=dojo.keys,_364=-1,_365,_366=this.currentFocus;switch(evt.keyCode){case dk.RIGHT_ARROW:_364=1;case dk.LEFT_ARROW:_365="day";if(!this.isLeftToRight()){_364*=-1;}break;case dk.DOWN_ARROW:_364=1;case dk.UP_ARROW:_365="week";break;case dk.PAGE_DOWN:_364=1;case dk.PAGE_UP:_365=evt.ctrlKey||evt.altKey?"year":"month";break;case dk.END:_366=this.dateFuncObj.add(_366,"month",1);_365="day";case dk.HOME:_366=new this.dateClassObj(_366);_366.setDate(1);break;case dk.ENTER:case dk.SPACE:this.set("value",this.currentFocus);break;default:return true;}if(_365){_366=this.dateFuncObj.add(_366,_365,_364);}this._setCurrentFocusAttr(_366);return false;},_onKeyPress:function(evt){if(!this.handleKey(evt)){dojo.stopEvent(evt);}},onValueSelected:function(date){},onChange:function(date){},_isSelectedDate:function(_367,_368){return this._isValidDate(this.value)&&!this.dateFuncObj.compare(_367,this.value,"date");},isDisabledDate:function(_369,_36a){},getClassForDate:function(_36b,_36c){}});dojo.declare("dijit.Calendar._MonthDropDown",[dijit._Widget,dijit._Templated],{months:[],templateString:"<div class='dijitCalendarMonthMenu dijitMenu' "+"dojoAttachEvent='onclick:_onClick,onmouseover:_onMenuHover,onmouseout:_onMenuHover'></div>",_setMonthsAttr:function(_36d){this.domNode.innerHTML=dojo.map(_36d,function(_36e,idx){return _36e?"<div class='dijitCalendarMonthLabel' month='"+idx+"'>"+_36e+"</div>":"";}).join("");},_onClick:function(evt){this.onChange(dojo.attr(evt.target,"month"));},onChange:function(_36f){},_onMenuHover:function(evt){dojo.toggleClass(evt.target,"dijitCalendarMonthLabelHover",evt.type=="mouseover");}});}if(!dojo._hasResource["dijit.form._DateTimeTextBox"]){dojo._hasResource["dijit.form._DateTimeTextBox"]=true;dojo.provide("dijit.form._DateTimeTextBox");new Date("X");dojo.declare("dijit.form._DateTimeTextBox",[dijit.form.RangeBoundTextBox,dijit._HasDropDown],{templateString:dojo.cache("dijit.form","templates/DropDownBox.html","<div class=\"dijit dijitReset dijitInlineTable dijitLeft\"\n\tid=\"widget_${id}\"\n\trole=\"combobox\"\n\t><div class='dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton dijitArrowButtonContainer'\n\t\tdojoAttachPoint=\"_buttonNode, _popupStateNode\" role=\"presentation\"\n\t\t><input class=\"dijitReset dijitInputField dijitArrowButtonInner\" value=\"&#9660; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t\t${_buttonInputDisabled}\n\t/></div\n\t><div class='dijitReset dijitValidationContainer'\n\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t/></div\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class='dijitReset dijitInputInner' ${!nameAttrSetting} type=\"text\" autocomplete=\"off\"\n\t\t\tdojoAttachPoint=\"textbox,focusNode\" role=\"textbox\" aria-haspopup=\"true\"\n\t/></div\n></div>\n"),hasDownArrow:true,openOnClick:true,regExpGen:dojo.date.locale.regexp,datePackage:"dojo.date",compare:function(val1,val2){var _370=this._isInvalidDate(val1);var _371=this._isInvalidDate(val2);return _370?(_371?0:-1):(_371?1:dojo.date.compare(val1,val2,this._selector));},forceWidth:true,format:function(_372,_373){if(!_372){return "";}return this.dateLocaleModule.format(_372,_373);},"parse":function(_374,_375){return this.dateLocaleModule.parse(_374,_375)||(this._isEmpty(_374)?null:undefined);},serialize:function(val,_376){if(val.toGregorian){val=val.toGregorian();}return dojo.date.stamp.toISOString(val,_376);},dropDownDefaultValue:new Date(),value:new Date(""),_blankValue:null,popupClass:"",_selector:"",constructor:function(args){var _377=args.datePackage?args.datePackage+".Date":"Date";this.dateClassObj=dojo.getObject(_377,false);this.value=new this.dateClassObj("");this.datePackage=args.datePackage||this.datePackage;this.dateLocaleModule=dojo.getObject(this.datePackage+".locale",false);this.regExpGen=this.dateLocaleModule.regexp;this._invalidDate=dijit.form._DateTimeTextBox.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(_378){_378.selector=this._selector;_378.fullYear=true;var _379=dojo.date.stamp.fromISOString;if(typeof _378.min=="string"){_378.min=_379(_378.min);}if(typeof _378.max=="string"){_378.max=_379(_378.max);}this.inherited(arguments);},_isInvalidDate:function(_37a){return !_37a||isNaN(_37a)||typeof _37a!="object"||_37a.toString()==this._invalidDate;},_setValueAttr:function(_37b,_37c,_37d){if(_37b!==undefined){if(typeof _37b=="string"){_37b=dojo.date.stamp.fromISOString(_37b);}if(this._isInvalidDate(_37b)){_37b=null;}if(_37b instanceof Date&&!(this.dateClassObj instanceof Date)){_37b=new this.dateClassObj(_37b);}}this.inherited(arguments);if(this.value instanceof Date){this.filterString="";}if(this.dropDown){this.dropDown.set("value",_37b,false);}},_set:function(attr,_37e){if(attr=="value"&&this.value instanceof Date&&this.compare(_37e,this.value)==0){return;}this.inherited(arguments);},_setDropDownDefaultValueAttr:function(val){if(this._isInvalidDate(val)){val=new this.dateClassObj();}this.dropDownDefaultValue=val;},openDropDown:function(_37f){if(this.dropDown){this.dropDown.destroy();}var _380=dojo.getObject(this.popupClass,false),_381=this,_382=this.get("value");this.dropDown=new _380({onChange:function(_383){_381.set("value",_383,true);},id:this.id+"_popup",dir:_381.dir,lang:_381.lang,value:_382,currentFocus:!this._isInvalidDate(_382)?_382:this.dropDownDefaultValue,constraints:_381.constraints,filterString:_381.filterString,datePackage:_381.datePackage,isDisabledDate:function(date){return !_381.rangeCheck(date,_381.constraints);}});this.inherited(arguments);},_getDisplayedValueAttr:function(){return this.textbox.value;},_setDisplayedValueAttr:function(_384,_385){this._setValueAttr(this.parse(_384,this.constraints),_385,_384);}});}if(!dojo._hasResource["dijit.form.DateTextBox"]){dojo._hasResource["dijit.form.DateTextBox"]=true;dojo.provide("dijit.form.DateTextBox");dojo.declare("dijit.form.DateTextBox",dijit.form._DateTimeTextBox,{baseClass:"dijitTextBox dijitComboBox dijitDateTextBox",popupClass:"dijit.Calendar",_selector:"date",value:new Date("")});}if(!dojo._hasResource["dijit._TimePicker"]){dojo._hasResource["dijit._TimePicker"]=true;dojo.provide("dijit._TimePicker");dojo.declare("dijit._TimePicker",[dijit._Widget,dijit._Templated],{templateString:dojo.cache("dijit","templates/TimePicker.html","<div id=\"widget_${id}\" class=\"dijitMenu\"\n    ><div dojoAttachPoint=\"upArrow\" class=\"dijitButtonNode dijitUpArrowButton\" dojoAttachEvent=\"onmouseenter:_buttonMouse,onmouseleave:_buttonMouse\"\n\t\t><div class=\"dijitReset dijitInline dijitArrowButtonInner\" role=\"presentation\">&nbsp;</div\n\t\t><div class=\"dijitArrowButtonChar\">&#9650;</div></div\n    ><div dojoAttachPoint=\"timeMenu,focusNode\" dojoAttachEvent=\"onclick:_onOptionSelected,onmouseover,onmouseout\"></div\n    ><div dojoAttachPoint=\"downArrow\" class=\"dijitButtonNode dijitDownArrowButton\" dojoAttachEvent=\"onmouseenter:_buttonMouse,onmouseleave:_buttonMouse\"\n\t\t><div class=\"dijitReset dijitInline dijitArrowButtonInner\" role=\"presentation\">&nbsp;</div\n\t\t><div class=\"dijitArrowButtonChar\">&#9660;</div></div\n></div>\n"),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:dojo.date.stamp.toISOString,setValue:function(_386){dojo.deprecated("dijit._TimePicker:setValue() is deprecated.  Use set('value', ...) instead.","","2.0");this.set("value",_386);},_setValueAttr:function(date){this._set("value",date);this._showText();},_setFilterStringAttr:function(val){this._set("filterString",val);this._showText();},isDisabledDate:function(_387,_388){return false;},_getFilteredNodes:function(_389,_38a,_38b,_38c){var _38d=[],_38e=_38c?_38c.date:this._refDate,n,i=_389,max=this._maxIncrement+Math.abs(i),chk=_38b?-1:1,dec=_38b?1:0,inc=1-dec;do{i-=dec;n=this._createOption(i);if(n){if((_38b&&n.date>_38e)||(!_38b&&n.date<_38e)){break;}_38d[_38b?"unshift":"push"](n);_38e=n.date;}i+=inc;}while(_38d.length<_38a&&(i*chk)<max);return _38d;},_showText:function(){var _38f=dojo.date.stamp.fromISOString;this.timeMenu.innerHTML="";this._clickableIncrementDate=_38f(this.clickableIncrement);this._visibleIncrementDate=_38f(this.visibleIncrement);this._visibleRangeDate=_38f(this.visibleRange);var _390=function(date){return date.getHours()*60*60+date.getMinutes()*60+date.getSeconds();},_391=_390(this._clickableIncrementDate),_392=_390(this._visibleIncrementDate),_393=_390(this._visibleRangeDate),time=(this.value||this.currentFocus).getTime();this._refDate=new Date(time-time%(_391*1000));this._refDate.setFullYear(1970,0,1);this._clickableIncrement=1;this._totalIncrements=_393/_391;this._visibleIncrement=_392/_391;this._maxIncrement=(60*60*24)/_391;var _394=Math.min(this._totalIncrements,10),_395=this._getFilteredNodes(0,(_394>>1)+1,false),_396=[],_397=_394-_395.length,_398=this._getFilteredNodes(0,_397,true,_395[0]);if(_398.length<_397&&_395.length>0){_396=this._getFilteredNodes(_395.length,_397-_398.length,false,_395[_395.length-1]);}dojo.forEach(_398.concat(_395,_396),function(n){this.timeMenu.appendChild(n);},this);},constructor:function(){this.constraints={};},postMixInProperties:function(){this.inherited(arguments);this._setConstraintsAttr(this.constraints);},_setConstraintsAttr:function(_399){dojo.mixin(this,_399);if(!_399.locale){_399.locale=this.lang;}},postCreate:function(){this.connect(this.timeMenu,dojo.isIE?"onmousewheel":"DOMMouseScroll","_mouseWheeled");this._connects.push(dijit.typematic.addMouseListener(this.upArrow,this,"_onArrowUp",33,250));this._connects.push(dijit.typematic.addMouseListener(this.downArrow,this,"_onArrowDown",33,250));this.inherited(arguments);},_buttonMouse:function(e){dojo.toggleClass(e.currentTarget,e.currentTarget==this.upArrow?"dijitUpArrowHover":"dijitDownArrowHover",e.type=="mouseenter"||e.type=="mouseover");},_createOption:function(_39a){var date=new Date(this._refDate);var _39b=this._clickableIncrementDate;date.setHours(date.getHours()+_39b.getHours()*_39a,date.getMinutes()+_39b.getMinutes()*_39a,date.getSeconds()+_39b.getSeconds()*_39a);if(this.constraints.selector=="time"){date.setFullYear(1970,0,1);}var _39c=dojo.date.locale.format(date,this.constraints);if(this.filterString&&_39c.toLowerCase().indexOf(this.filterString)!==0){return null;}var div=dojo.create("div",{"class":this.baseClass+"Item"});div.date=date;div.index=_39a;dojo.create("div",{"class":this.baseClass+"ItemInner",innerHTML:_39c},div);if(_39a%this._visibleIncrement<1&&_39a%this._visibleIncrement>-1){dojo.addClass(div,this.baseClass+"Marker");}else{if(!(_39a%this._clickableIncrement)){dojo.addClass(div,this.baseClass+"Tick");}}if(this.isDisabledDate(date)){dojo.addClass(div,this.baseClass+"ItemDisabled");}if(this.value&&!dojo.date.compare(this.value,date,this.constraints.selector)){div.selected=true;dojo.addClass(div,this.baseClass+"ItemSelected");if(dojo.hasClass(div,this.baseClass+"Marker")){dojo.addClass(div,this.baseClass+"MarkerSelected");}else{dojo.addClass(div,this.baseClass+"TickSelected");}this._highlightOption(div,true);}return div;},_onOptionSelected:function(tgt){var _39d=tgt.target.date||tgt.target.parentNode.date;if(!_39d||this.isDisabledDate(_39d)){return;}this._highlighted_option=null;this.set("value",_39d);this.onChange(_39d);},onChange:function(time){},_highlightOption:function(node,_39e){if(!node){return;}if(_39e){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;}}dojo.toggleClass(node,this.baseClass+"ItemHover",_39e);if(dojo.hasClass(node,this.baseClass+"Marker")){dojo.toggleClass(node,this.baseClass+"MarkerHover",_39e);}else{dojo.toggleClass(node,this.baseClass+"TickHover",_39e);}},onmouseover:function(e){this._keyboardSelected=null;var tgr=(e.target.parentNode===this.timeMenu)?e.target:e.target.parentNode;if(!dojo.hasClass(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;dojo.stopEvent(e);var _39f=(dojo.isIE?e.wheelDelta:-e.detail);this[(_39f>0?"_onArrowUp":"_onArrowDown")]();},_onArrowUp:function(_3a0){if(typeof _3a0=="number"&&_3a0==-1){return;}if(!this.timeMenu.childNodes.length){return;}var _3a1=this.timeMenu.childNodes[0].index;var divs=this._getFilteredNodes(_3a1,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(_3a2){if(typeof _3a2=="number"&&_3a2==-1){return;}if(!this.timeMenu.childNodes.length){return;}var _3a3=this.timeMenu.childNodes[this.timeMenu.childNodes.length-1].index+1;var divs=this._getFilteredNodes(_3a3,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){var dk=dojo.keys;if(e.charOrCode==dk.DOWN_ARROW||e.charOrCode==dk.UP_ARROW){dojo.stopEvent(e);if(this._highlighted_option&&!this._highlighted_option.parentNode){this._highlighted_option=null;}var _3a4=this.timeMenu,tgt=this._highlighted_option||dojo.query("."+this.baseClass+"ItemSelected",_3a4)[0];if(!tgt){tgt=_3a4.childNodes[0];}else{if(_3a4.childNodes.length){if(e.charOrCode==dk.DOWN_ARROW&&!tgt.nextSibling){this._onArrowDown();}else{if(e.charOrCode==dk.UP_ARROW&&!tgt.previousSibling){this._onArrowUp();}}if(e.charOrCode==dk.DOWN_ARROW){tgt=tgt.nextSibling;}else{tgt=tgt.previousSibling;}}}this._highlightOption(tgt,true);this._keyboardSelected=tgt;return false;}else{if(e.charOrCode==dk.ENTER||e.charOrCode===dk.TAB){if(!this._keyboardSelected&&e.charOrCode===dk.TAB){return true;}if(this._highlighted_option){this._onOptionSelected({target:this._highlighted_option});}return e.charOrCode===dk.TAB;}}return undefined;}});}if(!dojo._hasResource["dijit.form.TimeTextBox"]){dojo._hasResource["dijit.form.TimeTextBox"]=true;dojo.provide("dijit.form.TimeTextBox");dojo.declare("dijit.form.TimeTextBox",dijit.form._DateTimeTextBox,{baseClass:"dijitTextBox dijitComboBox dijitTimeTextBox",popupClass:"dijit._TimePicker",_selector:"time",value:new Date(""),_onKey:function(evt){this.inherited(arguments);switch(evt.keyCode){case dojo.keys.ENTER:case dojo.keys.TAB:case dojo.keys.ESCAPE:case dojo.keys.DOWN_ARROW:case dojo.keys.UP_ARROW:break;default:setTimeout(dojo.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);}}});}if(!dojo._hasResource["dojo.data.util.sorter"]){dojo._hasResource["dojo.data.util.sorter"]=true;dojo.provide("dojo.data.util.sorter");dojo.getObject("data.util.sorter",true,dojo);dojo.data.util.sorter.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;};dojo.data.util.sorter.createSortFunction=function(_3a5,_3a6){var _3a7=[];function _3a8(attr,dir,comp,s){return function(_3a9,_3aa){var a=s.getValue(_3a9,attr);var b=s.getValue(_3aa,attr);return dir*comp(a,b);};};var _3ab;var map=_3a6.comparatorMap;var bc=dojo.data.util.sorter.basicComparator;for(var i=0;i<_3a5.length;i++){_3ab=_3a5[i];var attr=_3ab.attribute;if(attr){var dir=(_3ab.descending)?-1:1;var comp=bc;if(map){if(typeof attr!=="string"&&("toString" in attr)){attr=attr.toString();}comp=map[attr]||bc;}_3a7.push(_3a8(attr,dir,comp,_3a6));}}return function(rowA,rowB){var i=0;while(i<_3a7.length){var ret=_3a7[i++](rowA,rowB);if(ret!==0){return ret;}}return 0;};};}if(!dojo._hasResource["dijit.form._FormSelectWidget"]){dojo._hasResource["dijit.form._FormSelectWidget"]=true;dojo.provide("dijit.form._FormSelectWidget");dojo.declare("dijit.form._FormSelectWidget",dijit.form._FormValueWidget,{multiple:false,options:null,store:null,query:null,queryOptions:null,onFetch:null,sortByLabel:true,loadChildrenOnOpen:false,getOptions:function(_3ac){var _3ad=_3ac,opts=this.options||[],l=opts.length;if(_3ad===undefined){return opts;}if(dojo.isArray(_3ad)){return dojo.map(_3ad,"return this.getOptions(item);",this);}if(dojo.isObject(_3ac)){if(!dojo.some(this.options,function(o,idx){if(o===_3ad||(o.value&&o.value===_3ad.value)){_3ad=idx;return true;}return false;})){_3ad=-1;}}if(typeof _3ad=="string"){for(var i=0;i<l;i++){if(opts[i].value===_3ad){_3ad=i;break;}}}if(typeof _3ad=="number"&&_3ad>=0&&_3ad<l){return this.options[_3ad];}return null;},addOption:function(_3ae){if(!dojo.isArray(_3ae)){_3ae=[_3ae];}dojo.forEach(_3ae,function(i){if(i&&dojo.isObject(i)){this.options.push(i);}},this);this._loadChildren();},removeOption:function(_3af){if(!dojo.isArray(_3af)){_3af=[_3af];}var _3b0=this.getOptions(_3af);dojo.forEach(_3b0,function(i){if(i){this.options=dojo.filter(this.options,function(node,idx){return (node.value!==i.value||node.label!==i.label);});this._removeOptionItem(i);}},this);this._loadChildren();},updateOption:function(_3b1){if(!dojo.isArray(_3b1)){_3b1=[_3b1];}dojo.forEach(_3b1,function(i){var _3b2=this.getOptions(i),k;if(_3b2){for(k in i){_3b2[k]=i[k];}}},this);this._loadChildren();},setStore:function(_3b3,_3b4,_3b5){var _3b6=this.store;_3b5=_3b5||{};if(_3b6!==_3b3){dojo.forEach(this._notifyConnections||[],dojo.disconnect);delete this._notifyConnections;if(_3b3&&_3b3.getFeatures()["dojo.data.api.Notification"]){this._notifyConnections=[dojo.connect(_3b3,"onNew",this,"_onNewItem"),dojo.connect(_3b3,"onDelete",this,"_onDeleteItem"),dojo.connect(_3b3,"onSet",this,"_onSetItem")];}this._set("store",_3b3);}this._onChangeActive=false;if(this.options&&this.options.length){this.removeOption(this.options);}if(_3b3){this._loadingStore=true;_3b3.fetch(dojo.delegate(_3b5,{onComplete:function(_3b7,opts){if(this.sortByLabel&&!_3b5.sort&&_3b7.length){_3b7.sort(dojo.data.util.sorter.createSortFunction([{attribute:_3b3.getLabelAttributes(_3b7[0])[0]}],_3b3));}if(_3b5.onFetch){_3b7=_3b5.onFetch.call(this,_3b7,opts);}dojo.forEach(_3b7,function(i){this._addOptionForItem(i);},this);this._loadingStore=false;this.set("value","_pendingValue" in this?this._pendingValue:_3b4);delete this._pendingValue;if(!this.loadChildrenOnOpen){this._loadChildren();}else{this._pseudoLoadChildren(_3b7);}this._fetchedWith=opts;this._lastValueReported=this.multiple?[]:null;this._onChangeActive=true;this.onSetStore();this._handleOnChange(this.value);},scope:this}));}else{delete this._fetchedWith;}return _3b6;},_setValueAttr:function(_3b8,_3b9){if(this._loadingStore){this._pendingValue=_3b8;return;}var opts=this.getOptions()||[];if(!dojo.isArray(_3b8)){_3b8=[_3b8];}dojo.forEach(_3b8,function(i,idx){if(!dojo.isObject(i)){i=i+"";}if(typeof i==="string"){_3b8[idx]=dojo.filter(opts,function(node){return node.value===i;})[0]||{value:"",label:""};}},this);_3b8=dojo.filter(_3b8,function(i){return i&&i.value;});if(!this.multiple&&(!_3b8[0]||!_3b8[0].value)&&opts.length){_3b8[0]=opts[0];}dojo.forEach(opts,function(i){i.selected=dojo.some(_3b8,function(v){return v.value===i.value;});});var val=dojo.map(_3b8,function(i){return i.value;}),disp=dojo.map(_3b8,function(i){return i.label;});this._set("value",this.multiple?val:val[0]);this._setDisplay(this.multiple?disp:disp[0]);this._updateSelection();this._handleOnChange(this.value,_3b9);},_getDisplayedValueAttr:function(){var val=this.get("value");if(!dojo.isArray(val)){val=[val];}var ret=dojo.map(this.getOptions(val),function(v){if(v&&"label" in v){return v.label;}else{if(v){return v.value;}}return null;},this);return this.multiple?ret:ret[0];},_loadChildren:function(){if(this._loadingStore){return;}dojo.forEach(this._getChildren(),function(_3ba){_3ba.destroyRecursive();});dojo.forEach(this.options,this._addOptionItem,this);this._updateSelection();},_updateSelection:function(){this._set("value",this._getValueFromOpts());var val=this.value;if(!dojo.isArray(val)){val=[val];}if(val&&val[0]){dojo.forEach(this._getChildren(),function(_3bb){var _3bc=dojo.some(val,function(v){return _3bb.option&&(v===_3bb.option.value);});dojo.toggleClass(_3bb.domNode,this.baseClass+"SelectedOption",_3bc);dijit.setWaiState(_3bb.domNode,"selected",_3bc);},this);}},_getValueFromOpts:function(){var opts=this.getOptions()||[];if(!this.multiple&&opts.length){var opt=dojo.filter(opts,function(i){return i.selected;})[0];if(opt&&opt.value){return opt.value;}else{opts[0].selected=true;return opts[0].value;}}else{if(this.multiple){return dojo.map(dojo.filter(opts,function(i){return i.selected;}),function(i){return i.value;})||[];}}return "";},_onNewItem:function(item,_3bd){if(!_3bd||!_3bd.parent){this._addOptionForItem(item);}},_onDeleteItem:function(item){var _3be=this.store;this.removeOption(_3be.getIdentity(item));},_onSetItem:function(item){this.updateOption(this._getOptionObjForItem(item));},_getOptionObjForItem:function(item){var _3bf=this.store,_3c0=_3bf.getLabel(item),_3c1=(_3c0?_3bf.getIdentity(item):null);return {value:_3c1,label:_3c0,item:item};},_addOptionForItem:function(item){var _3c2=this.store;if(!_3c2.isItemLoaded(item)){_3c2.loadItem({item:item,onComplete:function(i){this._addOptionForItem(item);},scope:this});return;}var _3c3=this._getOptionObjForItem(item);this.addOption(_3c3);},constructor:function(_3c4){this._oValue=(_3c4||{}).value||null;},buildRendering:function(){this.inherited(arguments);dojo.setSelectable(this.focusNode,false);},_fillContent:function(){var opts=this.options;if(!opts){opts=this.options=this.srcNodeRef?dojo.query(">",this.srcNodeRef).map(function(node){if(node.getAttribute("type")==="separator"){return {value:"",label:"",selected:false,disabled:false};}return {value:(node.getAttribute("data-"+dojo._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 _3c5=this.store,_3c6={};dojo.forEach(["query","queryOptions","onFetch"],function(i){if(this[i]){_3c6[i]=this[i];}delete this[i];},this);if(_3c5&&_3c5.getFeatures()["dojo.data.api.Identity"]){this.store=null;this.setStore(_3c5,this._oValue,_3c6);}},destroy:function(){dojo.forEach(this._notifyConnections||[],dojo.disconnect);this.inherited(arguments);},_addOptionItem:function(_3c7){},_removeOptionItem:function(_3c8){},_setDisplay:function(_3c9){},_getChildren:function(){return [];},_getSelectedOptionsAttr:function(){return this.getOptions(this.get("value"));},_pseudoLoadChildren:function(_3ca){},onSetStore:function(){}});}if(!dojo._hasResource["dijit._KeyNavContainer"]){dojo._hasResource["dijit._KeyNavContainer"]=true;dojo.provide("dijit._KeyNavContainer");dojo.declare("dijit._KeyNavContainer",dijit._Container,{tabIndex:"0",_keyNavCodes:{},connectKeyNavHandlers:function(_3cb,_3cc){var _3cd=(this._keyNavCodes={});var prev=dojo.hitch(this,this.focusPrev);var next=dojo.hitch(this,this.focusNext);dojo.forEach(_3cb,function(code){_3cd[code]=prev;});dojo.forEach(_3cc,function(code){_3cd[code]=next;});_3cd[dojo.keys.HOME]=dojo.hitch(this,"focusFirstChild");_3cd[dojo.keys.END]=dojo.hitch(this,"focusLastChild");this.connect(this.domNode,"onkeypress","_onContainerKeypress");this.connect(this.domNode,"onfocus","_onContainerFocus");},startupKeyNavChildren:function(){dojo.forEach(this.getChildren(),dojo.hitch(this,"_startupChild"));},addChild:function(_3ce,_3cf){dijit._KeyNavContainer.superclass.addChild.apply(this,arguments);this._startupChild(_3ce);},focus:function(){this.focusFirstChild();},focusFirstChild:function(){var _3d0=this._getFirstFocusableChild();if(_3d0){this.focusChild(_3d0);}},focusLastChild:function(){var _3d1=this._getLastFocusableChild();if(_3d1){this.focusChild(_3d1);}},focusNext:function(){var _3d2=this._getNextFocusableChild(this.focusedChild,1);this.focusChild(_3d2);},focusPrev:function(){var _3d3=this._getNextFocusableChild(this.focusedChild,-1);this.focusChild(_3d3,true);},focusChild:function(_3d4,last){if(this.focusedChild&&_3d4!==this.focusedChild){this._onChildBlur(this.focusedChild);}_3d4.set("tabIndex",this.tabIndex);_3d4.focus(last?"end":"start");this._set("focusedChild",_3d4);},_startupChild:function(_3d5){_3d5.set("tabIndex","-1");this.connect(_3d5,"_onFocus",function(){_3d5.set("tabIndex",this.tabIndex);});this.connect(_3d5,"_onBlur",function(){_3d5.set("tabIndex","-1");});},_onContainerFocus:function(evt){if(evt.target!==this.domNode){return;}this.focusFirstChild();dojo.attr(this.domNode,"tabIndex","-1");},_onBlur:function(evt){if(this.tabIndex){dojo.attr(this.domNode,"tabIndex",this.tabIndex);}this.inherited(arguments);},_onContainerKeypress:function(evt){if(evt.ctrlKey||evt.altKey){return;}var func=this._keyNavCodes[evt.charOrCode];if(func){func();dojo.stopEvent(evt);}},_onChildBlur:function(_3d6){},_getFirstFocusableChild:function(){return this._getNextFocusableChild(null,1);},_getLastFocusableChild:function(){return this._getNextFocusableChild(null,-1);},_getNextFocusableChild:function(_3d7,dir){if(_3d7){_3d7=this._getSiblingOfChild(_3d7,dir);}var _3d8=this.getChildren();for(var i=0;i<_3d8.length;i++){if(!_3d7){_3d7=_3d8[(dir>0)?0:(_3d8.length-1)];}if(_3d7.isFocusable()){return _3d7;}_3d7=this._getSiblingOfChild(_3d7,dir);}return null;}});}if(!dojo._hasResource["dijit._Contained"]){dojo._hasResource["dijit._Contained"]=true;dojo.provide("dijit._Contained");dojo.declare("dijit._Contained",null,{getParent:function(){var _3d9=dijit.getEnclosingWidget(this.domNode.parentNode);return _3d9&&_3d9.isContainer?_3d9:null;},_getSibling:function(_3da){var node=this.domNode;do{node=node[_3da+"Sibling"];}while(node&&node.nodeType!=1);return node&&dijit.byNode(node);},getPreviousSibling:function(){return this._getSibling("previous");},getNextSibling:function(){return this._getSibling("next");},getIndexInParent:function(){var p=this.getParent();if(!p||!p.getIndexOfChild){return -1;}return p.getIndexOfChild(this);}});}if(!dojo._hasResource["dijit.MenuItem"]){dojo._hasResource["dijit.MenuItem"]=true;dojo.provide("dijit.MenuItem");dojo.declare("dijit.MenuItem",[dijit._Widget,dijit._Templated,dijit._Contained,dijit._CssStateMixin],{templateString:dojo.cache("dijit","templates/MenuItem.html","<tr class=\"dijitReset dijitMenuItem\" dojoAttachPoint=\"focusNode\" role=\"menuitem\" tabIndex=\"-1\"\n\t\tdojoAttachEvent=\"onmouseenter:_onHover,onmouseleave:_onUnhover,ondijitclick:_onClick\">\n\t<td class=\"dijitReset dijitMenuItemIconCell\" role=\"presentation\">\n\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitIcon dijitMenuItemIcon\" dojoAttachPoint=\"iconNode\"/>\n\t</td>\n\t<td class=\"dijitReset dijitMenuItemLabel\" colspan=\"2\" dojoAttachPoint=\"containerNode\"></td>\n\t<td class=\"dijitReset dijitMenuItemAccelKey\" style=\"display: none\" dojoAttachPoint=\"accelKeyNode\"></td>\n\t<td class=\"dijitReset dijitMenuArrowCell\" role=\"presentation\">\n\t\t<div dojoAttachPoint=\"arrowWrapper\" style=\"visibility: hidden\">\n\t\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitMenuExpand\"/>\n\t\t\t<span class=\"dijitMenuExpandA11y\">+</span>\n\t\t</div>\n\t</td>\n</tr>\n"),attributeMap:dojo.delegate(dijit._Widget.prototype.attributeMap,{label:{node:"containerNode",type:"innerHTML"},iconClass:{node:"iconNode",type:"class"}}),baseClass:"dijitMenuItem",label:"",iconClass:"",accelKey:"",disabled:false,_fillContent:function(_3db){if(_3db&&!("label" in this.params)){this.set("label",_3db.innerHTML);}},buildRendering:function(){this.inherited(arguments);var _3dc=this.id+"_text";dojo.attr(this.containerNode,"id",_3dc);if(this.accelKeyNode){dojo.attr(this.accelKeyNode,"id",this.id+"_accel");_3dc+=" "+this.id+"_accel";}dijit.setWaiState(this.domNode,"labelledby",_3dc);dojo.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);dojo.stopEvent(evt);},onClick:function(evt){},focus:function(){try{if(dojo.isIE==8){this.containerNode.focus();}dijit.focus(this.focusNode);}catch(e){}},_onFocus:function(){this._setSelected(true);this.getParent()._onItemFocus(this);this.inherited(arguments);},_setSelected:function(_3dd){dojo.toggleClass(this.domNode,"dijitMenuItemSelected",_3dd);},setLabel:function(_3de){dojo.deprecated("dijit.MenuItem.setLabel() is deprecated.  Use set('label', ...) instead.","","2.0");this.set("label",_3de);},setDisabled:function(_3df){dojo.deprecated("dijit.Menu.setDisabled() is deprecated.  Use set('disabled', bool) instead.","","2.0");this.set("disabled",_3df);},_setDisabledAttr:function(_3e0){dijit.setWaiState(this.focusNode,"disabled",_3e0?"true":"false");this._set("disabled",_3e0);},_setAccelKeyAttr:function(_3e1){this.accelKeyNode.style.display=_3e1?"":"none";this.accelKeyNode.innerHTML=_3e1;dojo.attr(this.containerNode,"colSpan",_3e1?"1":"2");this._set("accelKey",_3e1);}});}if(!dojo._hasResource["dijit.PopupMenuItem"]){dojo._hasResource["dijit.PopupMenuItem"]=true;dojo.provide("dijit.PopupMenuItem");dojo.declare("dijit.PopupMenuItem",dijit.MenuItem,{_fillContent:function(){if(this.srcNodeRef){var _3e2=dojo.query("*",this.srcNodeRef);dijit.PopupMenuItem.superclass._fillContent.call(this,_3e2[0]);this.dropDownContainer=this.srcNodeRef;}},startup:function(){if(this._started){return;}this.inherited(arguments);if(!this.popup){var node=dojo.query("[widgetId]",this.dropDownContainer)[0];this.popup=dijit.byNode(node);}dojo.body().appendChild(this.popup.domNode);this.popup.startup();this.popup.domNode.style.display="none";if(this.arrowWrapper){dojo.style(this.arrowWrapper,"visibility","");}dijit.setWaiState(this.focusNode,"haspopup","true");},destroyDescendants:function(){if(this.popup){if(!this.popup._destroyed){this.popup.destroyRecursive();}delete this.popup;}this.inherited(arguments);}});}if(!dojo._hasResource["dijit.CheckedMenuItem"]){dojo._hasResource["dijit.CheckedMenuItem"]=true;dojo.provide("dijit.CheckedMenuItem");dojo.declare("dijit.CheckedMenuItem",dijit.MenuItem,{templateString:dojo.cache("dijit","templates/CheckedMenuItem.html","<tr class=\"dijitReset dijitMenuItem\" dojoAttachPoint=\"focusNode\" role=\"menuitemcheckbox\" tabIndex=\"-1\"\n\t\tdojoAttachEvent=\"onmouseenter:_onHover,onmouseleave:_onUnhover,ondijitclick:_onClick\">\n\t<td class=\"dijitReset dijitMenuItemIconCell\" role=\"presentation\">\n\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitMenuItemIcon dijitCheckedMenuItemIcon\" dojoAttachPoint=\"iconNode\"/>\n\t\t<span class=\"dijitCheckedMenuItemIconChar\">&#10003;</span>\n\t</td>\n\t<td class=\"dijitReset dijitMenuItemLabel\" colspan=\"2\" dojoAttachPoint=\"containerNode,labelNode\"></td>\n\t<td class=\"dijitReset dijitMenuItemAccelKey\" style=\"display: none\" dojoAttachPoint=\"accelKeyNode\"></td>\n\t<td class=\"dijitReset dijitMenuArrowCell\" role=\"presentation\">&nbsp;</td>\n</tr>\n"),checked:false,_setCheckedAttr:function(_3e3){dojo.toggleClass(this.domNode,"dijitCheckedMenuItemChecked",_3e3);dijit.setWaiState(this.domNode,"checked",_3e3);this._set("checked",_3e3);},onChange:function(_3e4){},_onClick:function(e){if(!this.disabled){this.set("checked",!this.checked);this.onChange(this.checked);}this.inherited(arguments);}});}if(!dojo._hasResource["dijit.MenuSeparator"]){dojo._hasResource["dijit.MenuSeparator"]=true;dojo.provide("dijit.MenuSeparator");dojo.declare("dijit.MenuSeparator",[dijit._Widget,dijit._Templated,dijit._Contained],{templateString:dojo.cache("dijit","templates/MenuSeparator.html","<tr class=\"dijitMenuSeparator\">\n\t<td class=\"dijitMenuSeparatorIconCell\">\n\t\t<div class=\"dijitMenuSeparatorTop\"></div>\n\t\t<div class=\"dijitMenuSeparatorBottom\"></div>\n\t</td>\n\t<td colspan=\"3\" class=\"dijitMenuSeparatorLabelCell\">\n\t\t<div class=\"dijitMenuSeparatorTop dijitMenuSeparatorLabel\"></div>\n\t\t<div class=\"dijitMenuSeparatorBottom\"></div>\n\t</td>\n</tr>\n"),buildRendering:function(){this.inherited(arguments);dojo.setSelectable(this.domNode,false);},isFocusable:function(){return false;}});}if(!dojo._hasResource["dijit.Menu"]){dojo._hasResource["dijit.Menu"]=true;dojo.provide("dijit.Menu");dojo.declare("dijit._MenuBase",[dijit._Widget,dijit._Templated,dijit._KeyNavContainer],{parentMenu:null,popupDelay:500,startup:function(){if(this._started){return;}dojo.forEach(this.getChildren(),function(_3e5){_3e5.startup();});this.startupKeyNavChildren();this.inherited(arguments);},onExecute:function(){},onCancel:function(_3e6){},_moveToPopup:function(evt){if(this.focusedChild&&this.focusedChild.popup&&!this.focusedChild.disabled){this.focusedChild._onClick(evt);}else{var _3e7=this._getTopMenu();if(_3e7&&_3e7._isMenuBar){_3e7.focusNext();}}},_onPopupHover:function(evt){if(this.currentPopup&&this.currentPopup._pendingClose_timer){var _3e8=this.currentPopup.parentMenu;if(_3e8.focusedChild){_3e8.focusedChild._setSelected(false);}_3e8.focusedChild=this.currentPopup.from_item;_3e8.focusedChild._setSelected(true);this._stopPendingCloseTimer(this.currentPopup);}},onItemHover:function(item){if(this.isActive){this.focusChild(item);if(this.focusedChild.popup&&!this.focusedChild.disabled&&!this.hover_timer){this.hover_timer=setTimeout(dojo.hitch(this,"_openPopup"),this.popupDelay);}}if(this.focusedChild){this.focusChild(item);}this._hoveredChild=item;},_onChildBlur:function(item){this._stopPopupTimer();item._setSelected(false);var _3e9=item.popup;if(_3e9){this._stopPendingCloseTimer(_3e9);_3e9._pendingClose_timer=setTimeout(function(){_3e9._pendingClose_timer=null;if(_3e9.parentMenu){_3e9.parentMenu.currentPopup=null;}dijit.popup.close(_3e9);},this.popupDelay);}},onItemUnhover:function(item){if(this.isActive){this._stopPopupTimer();}if(this._hoveredChild==item){this._hoveredChild=null;}},_stopPopupTimer:function(){if(this.hover_timer){clearTimeout(this.hover_timer);this.hover_timer=null;}},_stopPendingCloseTimer:function(_3ea){if(_3ea._pendingClose_timer){clearTimeout(_3ea._pendingClose_timer);_3ea._pendingClose_timer=null;}},_stopFocusTimer:function(){if(this._focus_timer){clearTimeout(this._focus_timer);this._focus_timer=null;}},_getTopMenu:function(){for(var top=this;top.parentMenu;top=top.parentMenu){}return top;},onItemClick:function(item,evt){if(typeof this.isShowingNow=="undefined"){this._markActive();}this.focusChild(item);if(item.disabled){return false;}if(item.popup){this._openPopup();}else{this.onExecute();item.onClick(evt);}},_openPopup:function(){this._stopPopupTimer();var _3eb=this.focusedChild;if(!_3eb){return;}var _3ec=_3eb.popup;if(_3ec.isShowingNow){return;}if(this.currentPopup){this._stopPendingCloseTimer(this.currentPopup);dijit.popup.close(this.currentPopup);}_3ec.parentMenu=this;_3ec.from_item=_3eb;var self=this;dijit.popup.open({parent:this,popup:_3ec,around:_3eb.domNode,orient:this._orient||(this.isLeftToRight()?{"TR":"TL","TL":"TR","BR":"BL","BL":"BR"}:{"TL":"TR","TR":"TL","BL":"BR","BR":"BL"}),onCancel:function(){self.focusChild(_3eb);self._cleanUp();_3eb._setSelected(true);self.focusedChild=_3eb;},onExecute:dojo.hitch(this,"_cleanUp")});this.currentPopup=_3ec;_3ec.connect(_3ec.domNode,"onmouseenter",dojo.hitch(self,"_onPopupHover"));if(_3ec.focus){_3ec._focus_timer=setTimeout(dojo.hitch(_3ec,function(){this._focus_timer=null;this.focus();}),0);}},_markActive:function(){this.isActive=true;dojo.replaceClass(this.domNode,"dijitMenuActive","dijitMenuPassive");},onOpen:function(e){this.isShowingNow=true;this._markActive();},_markInactive:function(){this.isActive=false;dojo.replaceClass(this.domNode,"dijitMenuPassive","dijitMenuActive");},onClose:function(){this._stopFocusTimer();this._markInactive();this.isShowingNow=false;this.parentMenu=null;},_closeChild:function(){this._stopPopupTimer();var _3ed=this.focusedChild&&this.focusedChild.from_item;if(this.currentPopup){if(dijit._curFocus&&dojo.isDescendant(dijit._curFocus,this.currentPopup.domNode)){this.focusedChild.focusNode.focus();}dijit.popup.close(this.currentPopup);this.currentPopup=null;}if(this.focusedChild){this.focusedChild._setSelected(false);this.focusedChild._onUnhover();this.focusedChild=null;}},_onItemFocus:function(item){if(this._hoveredChild&&this._hoveredChild!=item){this._hoveredChild._onUnhover();}},_onBlur:function(){this._cleanUp();this.inherited(arguments);},_cleanUp:function(){this._closeChild();if(typeof this.isShowingNow=="undefined"){this._markInactive();}}});dojo.declare("dijit.Menu",dijit._MenuBase,{constructor:function(){this._bindings=[];},templateString:dojo.cache("dijit","templates/Menu.html","<table class=\"dijit dijitMenu dijitMenuPassive dijitReset dijitMenuTable\" role=\"menu\" tabIndex=\"${tabIndex}\" dojoAttachEvent=\"onkeypress:_onKeyPress\" cellspacing=\"0\">\n\t<tbody class=\"dijitReset\" dojoAttachPoint=\"containerNode\"></tbody>\n</table>\n"),baseClass:"dijitMenu",targetNodeIds:[],contextMenuForWindow:false,leftClickToOpen:false,refocus:true,postCreate:function(){if(this.contextMenuForWindow){this.bindDomNode(dojo.body());}else{dojo.forEach(this.targetNodeIds,this.bindDomNode,this);}var k=dojo.keys,l=this.isLeftToRight();this._openSubMenuKey=l?k.RIGHT_ARROW:k.LEFT_ARROW;this._closeSubMenuKey=l?k.LEFT_ARROW:k.RIGHT_ARROW;this.connectKeyNavHandlers([k.UP_ARROW],[k.DOWN_ARROW]);},_onKeyPress:function(evt){if(evt.ctrlKey||evt.altKey){return;}switch(evt.charOrCode){case this._openSubMenuKey:this._moveToPopup(evt);dojo.stopEvent(evt);break;case this._closeSubMenuKey:if(this.parentMenu){if(this.parentMenu._isMenuBar){this.parentMenu.focusPrev();}else{this.onCancel(false);}}else{dojo.stopEvent(evt);}break;}},_iframeContentWindow:function(_3ee){var win=dojo.window.get(this._iframeContentDocument(_3ee))||this._iframeContentDocument(_3ee)["__parent__"]||(_3ee.name&&dojo.doc.frames[_3ee.name])||null;return win;},_iframeContentDocument:function(_3ef){var doc=_3ef.contentDocument||(_3ef.contentWindow&&_3ef.contentWindow.document)||(_3ef.name&&dojo.doc.frames[_3ef.name]&&dojo.doc.frames[_3ef.name].document)||null;return doc;},bindDomNode:function(node){node=dojo.byId(node);var cn;if(node.tagName.toLowerCase()=="iframe"){var _3f0=node,win=this._iframeContentWindow(_3f0);cn=dojo.withGlobal(win,dojo.body);}else{cn=(node==dojo.body()?dojo.doc.documentElement:node);}var _3f1={node:node,iframe:_3f0};dojo.attr(node,"_dijitMenu"+this.id,this._bindings.push(_3f1));var _3f2=dojo.hitch(this,function(cn){return [dojo.connect(cn,this.leftClickToOpen?"onclick":"oncontextmenu",this,function(evt){dojo.stopEvent(evt);this._scheduleOpen(evt.target,_3f0,{x:evt.pageX,y:evt.pageY});}),dojo.connect(cn,"onkeydown",this,function(evt){if(evt.shiftKey&&evt.keyCode==dojo.keys.F10){dojo.stopEvent(evt);this._scheduleOpen(evt.target,_3f0);}})];});_3f1.connects=cn?_3f2(cn):[];if(_3f0){_3f1.onloadHandler=dojo.hitch(this,function(){var win=this._iframeContentWindow(_3f0);cn=dojo.withGlobal(win,dojo.body);_3f1.connects=_3f2(cn);});if(_3f0.addEventListener){_3f0.addEventListener("load",_3f1.onloadHandler,false);}else{_3f0.attachEvent("onload",_3f1.onloadHandler);}}},unBindDomNode:function(_3f3){var node;try{node=dojo.byId(_3f3);}catch(e){return;}var _3f4="_dijitMenu"+this.id;if(node&&dojo.hasAttr(node,_3f4)){var bid=dojo.attr(node,_3f4)-1,b=this._bindings[bid];dojo.forEach(b.connects,dojo.disconnect);var _3f5=b.iframe;if(_3f5){if(_3f5.removeEventListener){_3f5.removeEventListener("load",b.onloadHandler,false);}else{_3f5.detachEvent("onload",b.onloadHandler);}}dojo.removeAttr(node,_3f4);delete this._bindings[bid];}},_scheduleOpen:function(_3f6,_3f7,_3f8){if(!this._openTimer){this._openTimer=setTimeout(dojo.hitch(this,function(){delete this._openTimer;this._openMyself({target:_3f6,iframe:_3f7,coords:_3f8});}),1);}},_openMyself:function(args){var _3f9=args.target,_3fa=args.iframe,_3fb=args.coords;if(_3fb){if(_3fa){var od=_3f9.ownerDocument,ifc=dojo.position(_3fa,true),win=this._iframeContentWindow(_3fa),_3fc=dojo.withGlobal(win,"_docScroll",dojo);var cs=dojo.getComputedStyle(_3fa),tp=dojo._toPixelValue,left=(dojo.isIE&&dojo.isQuirks?0:tp(_3fa,cs.paddingLeft))+(dojo.isIE&&dojo.isQuirks?tp(_3fa,cs.borderLeftWidth):0),top=(dojo.isIE&&dojo.isQuirks?0:tp(_3fa,cs.paddingTop))+(dojo.isIE&&dojo.isQuirks?tp(_3fa,cs.borderTopWidth):0);_3fb.x+=ifc.x+left-_3fc.x;_3fb.y+=ifc.y+top-_3fc.y;}}else{_3fb=dojo.position(_3f9,true);_3fb.x+=10;_3fb.y+=10;}var self=this;var _3fd=dijit.getFocus(this);function _3fe(){if(self.refocus){dijit.focus(_3fd);}dijit.popup.close(self);};dijit.popup.open({popup:this,x:_3fb.x,y:_3fb.y,onExecute:_3fe,onCancel:_3fe,orient:this.isLeftToRight()?"L":"R"});this.focus();this._onBlur=function(){this.inherited("_onBlur",arguments);dijit.popup.close(this);};},uninitialize:function(){dojo.forEach(this._bindings,function(b){if(b){this.unBindDomNode(b.node);}},this);this.inherited(arguments);}});}if(!dojo._hasResource["dijit.form.Select"]){dojo._hasResource["dijit.form.Select"]=true;dojo.provide("dijit.form.Select");dojo.declare("dijit.form._SelectMenu",dijit.Menu,{buildRendering:function(){this.inherited(arguments);var o=(this.menuTableNode=this.domNode);var n=(this.domNode=dojo.create("div",{style:{overflowX:"hidden",overflowY:"scroll"}}));if(o.parentNode){o.parentNode.replaceChild(n,o);}dojo.removeClass(o,"dijitMenuTable");n.className=o.className+" dijitSelectMenu";o.className="dijitReset dijitMenuTable";dijit.setWaiRole(o,"listbox");dijit.setWaiRole(n,"presentation");n.appendChild(o);},postCreate:function(){this.inherited(arguments);this.connect(this.domNode,"onmousemove",dojo.stopEvent);},resize:function(mb){if(mb){dojo.marginBox(this.domNode,mb);if("w" in mb){this.menuTableNode.style.width="100%";}}}});dojo.declare("dijit.form.Select",[dijit.form._FormSelectWidget,dijit._HasDropDown],{baseClass:"dijitSelect",templateString:dojo.cache("dijit.form","templates/Select.html","<table class=\"dijit dijitReset dijitInline dijitLeft\"\n\tdojoAttachPoint=\"_buttonNode,tableNode,focusNode\" cellspacing='0' cellpadding='0'\n\trole=\"combobox\" aria-haspopup=\"true\"\n\t><tbody role=\"presentation\"><tr role=\"presentation\"\n\t\t><td class=\"dijitReset dijitStretch dijitButtonContents dijitButtonNode\" role=\"presentation\"\n\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\"  dojoAttachPoint=\"containerNode,_popupStateNode\"></span\n\t\t\t><input type=\"hidden\" ${!nameAttrSetting} dojoAttachPoint=\"valueNode\" value=\"${value}\" aria-hidden=\"true\"\n\t\t/></td><td class=\"dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton\"\n\t\t\t\tdojoAttachPoint=\"titleNode\" role=\"presentation\"\n\t\t\t><div class=\"dijitReset dijitArrowButtonInner\" role=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitArrowButtonChar\" role=\"presentation\">&#9660;</div\n\t\t></td\n\t></tr></tbody\n></table>\n"),attributeMap:dojo.mixin(dojo.clone(dijit.form._FormSelectWidget.prototype.attributeMap),{style:"tableNode"}),required:false,state:"",message:"",tooltipPosition:[],emptyLabel:"&nbsp;",_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 dijit.form._SelectMenu({id:this.id+"_menu"});dojo.addClass(this.dropDown.domNode,this.baseClass+"Menu");},_getMenuItemForOption:function(_3ff){if(!_3ff.value&&!_3ff.label){return new dijit.MenuSeparator();}else{var _400=dojo.hitch(this,"_setValueAttr",_3ff);var item=new dijit.MenuItem({option:_3ff,label:_3ff.label||this.emptyLabel,onClick:_400,disabled:_3ff.disabled||false});dijit.setWaiRole(item.focusNode,"listitem");return item;}},_addOptionItem:function(_401){if(this.dropDown){this.dropDown.addChild(this._getMenuItemForOption(_401));}},_getChildren:function(){if(!this.dropDown){return [];}return this.dropDown.getChildren();},_loadChildren:function(_402){if(_402===true){if(this.dropDown){delete this.dropDown.focusedChild;}if(this.options.length){this.inherited(arguments);}else{dojo.forEach(this._getChildren(),function(_403){_403.destroyRecursive();});var item=new dijit.MenuItem({label:"&nbsp;"});this.dropDown.addChild(item);}}else{this._updateSelection();}this._isLoaded=false;this._childrenLoaded=true;if(!this._loadingStore){this._setValueAttr(this.value);}},_setValueAttr:function(_404){this.inherited(arguments);dojo.attr(this.valueNode,"value",this.get("value"));},_setDisplay:function(_405){var lbl=_405||this.emptyLabel;this.containerNode.innerHTML="<span class=\"dijitReset dijitInline "+this.baseClass+"Label\">"+lbl+"</span>";dijit.setWaiState(this.focusNode,"valuetext",lbl);},validate:function(_406){var _407=this.isValid(_406);this._set("state",_407?"":"Error");dijit.setWaiState(this.focusNode,"invalid",_407?"false":"true");var _408=_407?"":this._missingMsg;if(this.message!==_408){this._set("message",_408);dijit.hideTooltip(this.domNode);if(_408){dijit.showTooltip(_408,this.domNode,this.tooltipPosition,!this.isLeftToRight());}}return _407;},isValid:function(_409){return (!this.required||this.value===0||!(/^\s*$/.test(this.value||"")));},reset:function(){this.inherited(arguments);dijit.hideTooltip(this.domNode);this._set("state","");this._set("message","");},postMixInProperties:function(){this.inherited(arguments);this._missingMsg=dojo.i18n.getLocalization("dijit.form","validate",this.lang).missingMessage;},postCreate:function(){this.inherited(arguments);this.connect(this.domNode,"onmousemove",dojo.stopEvent);},_setStyleAttr:function(_40a){this.inherited(arguments);dojo.toggleClass(this.domNode,this.baseClass+"FixedWidth",!!this.tableNode.style.width);},isLoaded:function(){return this._isLoaded;},loadDropDown:function(_40b){this._loadChildren(true);this._isLoaded=true;_40b();},closeDropDown:function(){this.inherited(arguments);if(this.dropDown&&this.dropDown.menuTableNode){this.dropDown.menuTableNode.style.width="";}},uninitialize:function(_40c){if(this.dropDown&&!this.dropDown._destroyed){this.dropDown.destroyRecursive(_40c);delete this.dropDown;}this.inherited(arguments);}});}if(!dojo._hasResource["dijit.form.SimpleTextarea"]){dojo._hasResource["dijit.form.SimpleTextarea"]=true;dojo.provide("dijit.form.SimpleTextarea");dojo.declare("dijit.form.SimpleTextarea",dijit.form.TextBox,{baseClass:"dijitTextBox dijitTextArea",attributeMap:dojo.delegate(dijit.form._FormValueWidget.prototype.attributeMap,{rows:"textbox",cols:"textbox"}),rows:"3",cols:"20",templateString:"<textarea ${!nameAttrSetting} dojoAttachPoint='focusNode,containerNode,textbox' autocomplete='off'></textarea>",postMixInProperties:function(){if(!this.value&&this.srcNodeRef){this.value=this.srcNodeRef.value;}this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);if(dojo.isIE&&this.cols){dojo.addClass(this.textbox,"dijitTextAreaCols");}},filter:function(_40d){if(_40d){_40d=_40d.replace(/\r/g,"");}return this.inherited(arguments);},_previousValue:"",_onInput:function(e){if(this.maxLength){var _40e=parseInt(this.maxLength);var _40f=this.textbox.value.replace(/\r/g,"");var _410=_40f.length-_40e;if(_410>0){if(e){dojo.stopEvent(e);}var _411=this.textbox;if(_411.selectionStart){var pos=_411.selectionStart;var cr=0;if(dojo.isOpera){cr=(this.textbox.value.substring(0,pos).match(/\r/g)||[]).length;}this.textbox.value=_40f.substring(0,pos-_410-cr)+_40f.substring(pos-cr);_411.setSelectionRange(pos-_410,pos-_410);}else{if(dojo.doc.selection){_411.focus();var _412=dojo.doc.selection.createRange();_412.moveStart("character",-_410);_412.text="";_412.select();}}}this._previousValue=this.textbox.value;}this.inherited(arguments);}});}if(!dojo._hasResource["dijit.form._ExpandingTextAreaMixin"]){dojo._hasResource["dijit.form._ExpandingTextAreaMixin"]=true;dojo.provide("dijit.form._ExpandingTextAreaMixin");var needsHelpShrinking;dojo.declare("dijit.form._ExpandingTextAreaMixin",null,{_setValueAttr:function(){this.inherited(arguments);this.resize();},postCreate:function(){this.inherited(arguments);var _413=this.textbox;if(needsHelpShrinking==undefined){var te=dojo.create("textarea",{rows:"5",cols:"20",value:" ",style:{zoom:1,fontSize:"12px",height:"96px",overflow:"hidden",visibility:"hidden",position:"absolute",border:"5px solid white",margin:"0",padding:"0",boxSizing:"border-box",MsBoxSizing:"border-box",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box"}},dojo.body(),"last");needsHelpShrinking=te.scrollHeight>=te.clientHeight;dojo.body().removeChild(te);}this.connect(_413,"onresize","_resizeLater");this.connect(_413,"onfocus","_resizeLater");_413.style.overflowY="hidden";},startup:function(){this.inherited(arguments);this._resizeLater();},_onInput:function(e){this.inherited(arguments);this.resize();},_estimateHeight:function(){var _414=this.textbox;_414.rows=(_414.value.match(/\n/g)||[]).length+1;},_resizeLater:function(){this.defer("resize");},resize:function(){var _415=this.textbox;function _416(){var _417=false;if(_415.value===""){_415.value=" ";_417=true;}var sh=_415.scrollHeight;if(_417){_415.value="";}return sh;};if(_415.style.overflowY=="hidden"){_415.scrollTop=0;}if(this.busyResizing){return;}this.busyResizing=true;if(_416()||_415.offsetHeight){var newH=_416()+Math.max(_415.offsetHeight-_415.clientHeight,0);var _418=newH+"px";if(_418!=_415.style.height){_415.style.height=_418;_415.rows=1;}if(needsHelpShrinking){var _419=_416(),_41a=_419,_41b=_415.style.minHeight,_41c=4,_41d,_41e=_415.scrollTop;_415.style.minHeight=_418;_415.style.height="auto";while(newH>0){_415.style.minHeight=Math.max(newH-_41c,4)+"px";_41d=_416();var _41f=_41a-_41d;newH-=_41f;if(_41f<_41c){break;}_41a=_41d;_41c<<=1;}_415.style.height=newH+"px";_415.style.minHeight=_41b;_415.scrollTop=_41e;}_415.style.overflowY=_416()>_415.clientHeight?"auto":"hidden";if(_415.style.overflowY=="hidden"){_415.scrollTop=0;}}else{this._estimateHeight();}this.busyResizing=false;}});}if(!dojo._hasResource["dijit.form.Textarea"]){dojo._hasResource["dijit.form.Textarea"]=true;dojo.provide("dijit.form.Textarea");dojo.declare("dijit.form.Textarea",[dijit.form.SimpleTextarea,dijit.form._ExpandingTextAreaMixin],{baseClass:"dijitTextBox dijitTextArea dijitExpandingTextArea",cols:"",buildRendering:function(){this.inherited(arguments);dojo.style(this.textbox,{overflowY:"hidden",overflowX:"auto",boxSizing:"border-box",MsBoxSizing:"border-box",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box"});}});}if(!dojo._hasResource["dojox.string.tokenize"]){dojo._hasResource["dojox.string.tokenize"]=true;dojo.provide("dojox.string.tokenize");dojox.string.tokenize=function(str,re,_420,_421){var _422=[];var _423,_424,_425=0;while(_423=re.exec(str)){_424=str.slice(_425,re.lastIndex-_423[0].length);if(_424.length){_422.push(_424);}if(_420){if(dojo.isOpera){var copy=_423.slice(0);while(copy.length<_423.length){copy.push(null);}_423=copy;}var _426=_420.apply(_421,_423.slice(1).concat(_422.length));if(typeof _426!="undefined"){_422.push(_426);}}_425=re.lastIndex;}_424=str.slice(_425);if(_424.length){_422.push(_424);}return _422;};}if(!dojo._hasResource["dojox.string.sprintf"]){dojo._hasResource["dojox.string.sprintf"]=true;dojo.provide("dojox.string.sprintf");dojox.string.sprintf=function(_427,_428){for(var args=[],i=1;i<arguments.length;i++){args.push(arguments[i]);}var _429=new dojox.string.sprintf.Formatter(_427);return _429.format.apply(_429,args);};dojox.string.sprintf.Formatter=function(_42a){var _42b=[];this._mapped=false;this._format=_42a;this._tokens=dojox.string.tokenize(_42a,this._re,this._parseDelim,this);};dojo.extend(dojox.string.sprintf.Formatter,{_re:/\%(?:\(([\w_]+)\)|([1-9]\d*)\$)?([0 +\-\#]*)(\*|\d+)?(\.)?(\*|\d+)?[hlL]?([\%scdeEfFgGiouxX])/g,_parseDelim:function(_42c,_42d,_42e,_42f,_430,_431,_432){if(_42c){this._mapped=true;}return {mapping:_42c,intmapping:_42d,flags:_42e,_minWidth:_42f,period:_430,_precision:_431,specifier:_432};},_specifiers:{b:{base:2,isInt:true},o:{base:8,isInt:true},x:{base:16,isInt:true},X:{extend:["x"],toUpper:true},d:{base:10,isInt:true},i:{extend:["d"]},u:{extend:["d"],isUnsigned:true},c:{setArg:function(_433){if(!isNaN(_433.arg)){var num=parseInt(_433.arg);if(num<0||num>127){throw new Error("invalid character code passed to %c in sprintf");}_433.arg=isNaN(num)?""+num:String.fromCharCode(num);}}},s:{setMaxWidth:function(_434){_434.maxWidth=(_434.period==".")?_434.precision:-1;}},e:{isDouble:true,doubleNotation:"e"},E:{extend:["e"],toUpper:true},f:{isDouble:true,doubleNotation:"f"},F:{extend:["f"]},g:{isDouble:true,doubleNotation:"g"},G:{extend:["g"],toUpper:true}},format:function(_435){if(this._mapped&&typeof _435!="object"){throw new Error("format requires a mapping");}var str="";var _436=0;for(var i=0,_437;i<this._tokens.length;i++){_437=this._tokens[i];if(typeof _437=="string"){str+=_437;}else{if(this._mapped){if(typeof _435[_437.mapping]=="undefined"){throw new Error("missing key "+_437.mapping);}_437.arg=_435[_437.mapping];}else{if(_437.intmapping){var _436=parseInt(_437.intmapping)-1;}if(_436>=arguments.length){throw new Error("got "+arguments.length+" printf arguments, insufficient for '"+this._format+"'");}_437.arg=arguments[_436++];}if(!_437.compiled){_437.compiled=true;_437.sign="";_437.zeroPad=false;_437.rightJustify=false;_437.alternative=false;var _438={};for(var fi=_437.flags.length;fi--;){var flag=_437.flags.charAt(fi);_438[flag]=true;switch(flag){case " ":_437.sign=" ";break;case "+":_437.sign="+";break;case "0":_437.zeroPad=(_438["-"])?false:true;break;case "-":_437.rightJustify=true;_437.zeroPad=false;break;case "#":_437.alternative=true;break;default:throw Error("bad formatting flag '"+_437.flags.charAt(fi)+"'");}}_437.minWidth=(_437._minWidth)?parseInt(_437._minWidth):0;_437.maxWidth=-1;_437.toUpper=false;_437.isUnsigned=false;_437.isInt=false;_437.isDouble=false;_437.precision=1;if(_437.period=="."){if(_437._precision){_437.precision=parseInt(_437._precision);}else{_437.precision=0;}}var _439=this._specifiers[_437.specifier];if(typeof _439=="undefined"){throw new Error("unexpected specifier '"+_437.specifier+"'");}if(_439.extend){dojo.mixin(_439,this._specifiers[_439.extend]);delete _439.extend;}dojo.mixin(_437,_439);}if(typeof _437.setArg=="function"){_437.setArg(_437);}if(typeof _437.setMaxWidth=="function"){_437.setMaxWidth(_437);}if(_437._minWidth=="*"){if(this._mapped){throw new Error("* width not supported in mapped formats");}_437.minWidth=parseInt(arguments[_436++]);if(isNaN(_437.minWidth)){throw new Error("the argument for * width at position "+_436+" is not a number in "+this._format);}if(_437.minWidth<0){_437.rightJustify=true;_437.minWidth=-_437.minWidth;}}if(_437._precision=="*"&&_437.period=="."){if(this._mapped){throw new Error("* precision not supported in mapped formats");}_437.precision=parseInt(arguments[_436++]);if(isNaN(_437.precision)){throw Error("the argument for * precision at position "+_436+" is not a number in "+this._format);}if(_437.precision<0){_437.precision=1;_437.period="";}}if(_437.isInt){if(_437.period=="."){_437.zeroPad=false;}this.formatInt(_437);}else{if(_437.isDouble){if(_437.period!="."){_437.precision=6;}this.formatDouble(_437);}}this.fitField(_437);str+=""+_437.arg;}}return str;},_zeros10:"0000000000",_spaces10:"          ",formatInt:function(_43a){var i=parseInt(_43a.arg);if(!isFinite(i)){if(typeof _43a.arg!="number"){throw new Error("format argument '"+_43a.arg+"' not an integer; parseInt returned "+i);}i=0;}if(i<0&&(_43a.isUnsigned||_43a.base!=10)){i=4294967295+i+1;}if(i<0){_43a.arg=(-i).toString(_43a.base);this.zeroPad(_43a);_43a.arg="-"+_43a.arg;}else{_43a.arg=i.toString(_43a.base);if(!i&&!_43a.precision){_43a.arg="";}else{this.zeroPad(_43a);}if(_43a.sign){_43a.arg=_43a.sign+_43a.arg;}}if(_43a.base==16){if(_43a.alternative){_43a.arg="0x"+_43a.arg;}_43a.arg=_43a.toUpper?_43a.arg.toUpperCase():_43a.arg.toLowerCase();}if(_43a.base==8){if(_43a.alternative&&_43a.arg.charAt(0)!="0"){_43a.arg="0"+_43a.arg;}}},formatDouble:function(_43b){var f=parseFloat(_43b.arg);if(!isFinite(f)){if(typeof _43b.arg!="number"){throw new Error("format argument '"+_43b.arg+"' not a float; parseFloat returned "+f);}f=0;}switch(_43b.doubleNotation){case "e":_43b.arg=f.toExponential(_43b.precision);break;case "f":_43b.arg=f.toFixed(_43b.precision);break;case "g":if(Math.abs(f)<0.0001){_43b.arg=f.toExponential(_43b.precision>0?_43b.precision-1:_43b.precision);}else{_43b.arg=f.toPrecision(_43b.precision);}if(!_43b.alternative){_43b.arg=_43b.arg.replace(/(\..*[^0])0*/,"$1");_43b.arg=_43b.arg.replace(/\.0*e/,"e").replace(/\.0$/,"");}break;default:throw new Error("unexpected double notation '"+_43b.doubleNotation+"'");}_43b.arg=_43b.arg.replace(/e\+(\d)$/,"e+0$1").replace(/e\-(\d)$/,"e-0$1");if(dojo.isOpera){_43b.arg=_43b.arg.replace(/^\./,"0.");}if(_43b.alternative){_43b.arg=_43b.arg.replace(/^(\d+)$/,"$1.");_43b.arg=_43b.arg.replace(/^(\d+)e/,"$1.e");}if(f>=0&&_43b.sign){_43b.arg=_43b.sign+_43b.arg;}_43b.arg=_43b.toUpper?_43b.arg.toUpperCase():_43b.arg.toLowerCase();},zeroPad:function(_43c,_43d){_43d=(arguments.length==2)?_43d:_43c.precision;if(typeof _43c.arg!="string"){_43c.arg=""+_43c.arg;}var _43e=_43d-10;while(_43c.arg.length<_43e){_43c.arg=(_43c.rightJustify)?_43c.arg+this._zeros10:this._zeros10+_43c.arg;}var pad=_43d-_43c.arg.length;_43c.arg=(_43c.rightJustify)?_43c.arg+this._zeros10.substring(0,pad):this._zeros10.substring(0,pad)+_43c.arg;},fitField:function(_43f){if(_43f.maxWidth>=0&&_43f.arg.length>_43f.maxWidth){return _43f.arg.substring(0,_43f.maxWidth);}if(_43f.zeroPad){this.zeroPad(_43f,_43f.minWidth);return;}this.spacePad(_43f);},spacePad:function(_440,_441){_441=(arguments.length==2)?_441:_440.minWidth;if(typeof _440.arg!="string"){_440.arg=""+_440.arg;}var _442=_441-10;while(_440.arg.length<_442){_440.arg=(_440.rightJustify)?_440.arg+this._spaces10:this._spaces10+_440.arg;}var pad=_441-_440.arg.length;_440.arg=(_440.rightJustify)?_440.arg+this._spaces10.substring(0,pad):this._spaces10.substring(0,pad)+_440.arg;}});}if(!dojo._hasResource["dojo.dnd.common"]){dojo._hasResource["dojo.dnd.common"]=true;dojo.provide("dojo.dnd.common");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;};}if(!dojo._hasResource["dojo.dnd.autoscroll"]){dojo._hasResource["dojo.dnd.autoscroll"]=true;dojo.provide("dojo.dnd.autoscroll");dojo.getObject("dnd",true,dojo);dojo.dnd.getViewport=dojo.window.getBox;dojo.dnd.V_TRIGGER_AUTOSCROLL=32;dojo.dnd.H_TRIGGER_AUTOSCROLL=32;dojo.dnd.V_AUTOSCROLL_VALUE=16;dojo.dnd.H_AUTOSCROLL_VALUE=16;dojo.dnd.autoScroll=function(e){var v=dojo.window.getBox(),dx=0,dy=0;if(e.clientX<dojo.dnd.H_TRIGGER_AUTOSCROLL){dx=-dojo.dnd.H_AUTOSCROLL_VALUE;}else{if(e.clientX>v.w-dojo.dnd.H_TRIGGER_AUTOSCROLL){dx=dojo.dnd.H_AUTOSCROLL_VALUE;}}if(e.clientY<dojo.dnd.V_TRIGGER_AUTOSCROLL){dy=-dojo.dnd.V_AUTOSCROLL_VALUE;}else{if(e.clientY>v.h-dojo.dnd.V_TRIGGER_AUTOSCROLL){dy=dojo.dnd.V_AUTOSCROLL_VALUE;}}window.scrollBy(dx,dy);};dojo.dnd._validNodes={"div":1,"p":1,"td":1};dojo.dnd._validOverflow={"auto":1,"scroll":1};dojo.dnd.autoScrollNodes=function(e){for(var n=e.target;n;){if(n.nodeType==1&&(n.tagName.toLowerCase() in dojo.dnd._validNodes)){var s=dojo.getComputedStyle(n);if(s.overflow.toLowerCase() in dojo.dnd._validOverflow){var b=dojo._getContentBox(n,s),t=dojo.position(n,true);var w=Math.min(dojo.dnd.H_TRIGGER_AUTOSCROLL,b.w/2),h=Math.min(dojo.dnd.V_TRIGGER_AUTOSCROLL,b.h/2),rx=e.pageX-t.x,ry=e.pageY-t.y,dx=0,dy=0;if(dojo.isWebKit||dojo.isOpera){rx+=dojo.body().scrollLeft;ry+=dojo.body().scrollTop;}if(rx>0&&rx<b.w){if(rx<w){dx=-w;}else{if(rx>b.w-w){dx=w;}}}if(ry>0&&ry<b.h){if(ry<h){dy=-h;}else{if(ry>b.h-h){dy=h;}}}var _443=n.scrollLeft,_444=n.scrollTop;n.scrollLeft=n.scrollLeft+dx;n.scrollTop=n.scrollTop+dy;if(_443!=n.scrollLeft||_444!=n.scrollTop){return;}}}try{n=n.parentNode;}catch(x){n=null;}}dojo.dnd.autoScroll(e);};}if(!dojo._hasResource["dojo.dnd.Mover"]){dojo._hasResource["dojo.dnd.Mover"]=true;dojo.provide("dojo.dnd.Mover");dojo.declare("dojo.dnd.Mover",null,{constructor:function(node,e,host){this.node=dojo.byId(node);var pos=e.touches?e.touches[0]:e;this.marginBox={l:pos.pageX,t:pos.pageY};this.mouseButton=e.button;var h=(this.host=host),d=node.ownerDocument;this.events=[dojo.connect(d,"onmousemove",this,"onFirstMove"),dojo.connect(d,"ontouchmove",this,"onFirstMove"),dojo.connect(d,"onmousemove",this,"onMouseMove"),dojo.connect(d,"ontouchmove",this,"onMouseMove"),dojo.connect(d,"onmouseup",this,"onMouseUp"),dojo.connect(d,"ontouchend",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,pos=e.touches?e.touches[0]:e;this.host.onMove(this,{l:m.l+pos.pageX,t:m.t+pos.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());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;}});}if(!dojo._hasResource["dojo.dnd.Moveable"]){dojo._hasResource["dojo.dnd.Moveable"]=true;dojo.provide("dojo.dnd.Moveable");dojo.declare("dojo.dnd.Moveable",null,{handle:"",delay:0,skip:false,constructor:function(node,_445){this.node=dojo.byId(node);if(!_445){_445={};}this.handle=_445.handle?dojo.byId(_445.handle):null;if(!this.handle){this.handle=this.node;}this.delay=_445.delay>0?_445.delay:0;this.skip=_445.skip;this.mover=_445.mover?_445.mover:dojo.dnd.Mover;this.events=[dojo.connect(this.handle,"onmousedown",this,"onMouseDown"),dojo.connect(this.handle,"ontouchstart",this,"onMouseDown"),dojo.connect(this.handle,"ondragstart",this,"onSelectStart"),dojo.connect(this.handle,"onselectstart",this,"onSelectStart")];},markupFactory:function(_446,node){return new dojo.dnd.Moveable(node,_446);},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,"onmousemove",this,"onMouseMove"),dojo.connect(this.handle,"ontouchmove",this,"onMouseMove"),dojo.connect(this.handle,"onmouseup",this,"onMouseUp"),dojo.connect(this.handle,"ontouchend",this,"onMouseUp"));var pos=e.touches?e.touches[0]:e;this._lastX=pos.pageX;this._lastY=pos.pageY;}else{this.onDragDetected(e);}dojo.stopEvent(e);},onMouseMove:function(e){var pos=e.touches?e.touches[0]:e;if(Math.abs(pos.pageX-this._lastX)>this.delay||Math.abs(pos.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(_447){dojo.publish("/dnd/move/start",[_447]);dojo.addClass(dojo.body(),"dojoMove");dojo.addClass(this.node,"dojoMoveItem");},onMoveStop:function(_448){dojo.publish("/dnd/move/stop",[_448]);dojo.removeClass(dojo.body(),"dojoMove");dojo.removeClass(this.node,"dojoMoveItem");},onFirstMove:function(_449,e){},onMove:function(_44a,_44b,e){this.onMoving(_44a,_44b);var s=_44a.node.style;s.left=_44b.l+"px";s.top=_44b.t+"px";this.onMoved(_44a,_44b);},onMoving:function(_44c,_44d){},onMoved:function(_44e,_44f){}});}if(!dojo._hasResource["dojo.dnd.move"]){dojo._hasResource["dojo.dnd.move"]=true;dojo.provide("dojo.dnd.move");dojo.declare("dojo.dnd.move.constrainedMoveable",dojo.dnd.Moveable,{constraints:function(){},within:false,markupFactory:function(_450,node){return new dojo.dnd.move.constrainedMoveable(node,_450);},constructor:function(node,_451){if(!_451){_451={};}this.constraints=_451.constraints;this.within=_451.within;},onFirstMove:function(_452){var c=this.constraintBox=this.constraints.call(this,_452);c.r=c.l+c.w;c.b=c.t+c.h;if(this.within){var mb=dojo._getMarginSize(_452.node);c.r-=mb.w;c.b-=mb.h;}},onMove:function(_453,_454){var c=this.constraintBox,s=_453.node.style;this.onMoving(_453,_454);_454.l=_454.l<c.l?c.l:c.r<_454.l?c.r:_454.l;_454.t=_454.t<c.t?c.t:c.b<_454.t?c.b:_454.t;s.left=_454.l+"px";s.top=_454.t+"px";this.onMoved(_453,_454);}});dojo.declare("dojo.dnd.move.boxConstrainedMoveable",dojo.dnd.move.constrainedMoveable,{box:{},markupFactory:function(_455,node){return new dojo.dnd.move.boxConstrainedMoveable(node,_455);},constructor:function(node,_456){var box=_456&&_456.box;this.constraints=function(){return box;};}});dojo.declare("dojo.dnd.move.parentConstrainedMoveable",dojo.dnd.move.constrainedMoveable,{area:"content",markupFactory:function(_457,node){return new dojo.dnd.move.parentConstrainedMoveable(node,_457);},constructor:function(node,_458){var area=_458&&_458.area;this.constraints=function(){var n=this.node.parentNode,s=dojo.getComputedStyle(n),mb=dojo._getMarginBox(n,s);if(area=="margin"){return mb;}var t=dojo._getMarginExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;if(area=="border"){return mb;}t=dojo._getBorderExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;if(area=="padding"){return mb;}t=dojo._getPadExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;return mb;};}});dojo.dnd.constrainedMover=dojo.dnd.move.constrainedMover;dojo.dnd.boxConstrainedMover=dojo.dnd.move.boxConstrainedMover;dojo.dnd.parentConstrainedMover=dojo.dnd.move.parentConstrainedMover;}if(!dojo._hasResource["dojo.dnd.TimedMoveable"]){dojo._hasResource["dojo.dnd.TimedMoveable"]=true;dojo.provide("dojo.dnd.TimedMoveable");(function(){var _459=dojo.dnd.Moveable.prototype.onMove;dojo.declare("dojo.dnd.TimedMoveable",dojo.dnd.Moveable,{timeout:40,constructor:function(node,_45a){if(!_45a){_45a={};}if(_45a.timeout&&typeof _45a.timeout=="number"&&_45a.timeout>=0){this.timeout=_45a.timeout;}},markupFactory:function(_45b,node){return new dojo.dnd.TimedMoveable(node,_45b);},onMoveStop:function(_45c){if(_45c._timer){clearTimeout(_45c._timer);_459.call(this,_45c,_45c._leftTop);}dojo.dnd.Moveable.prototype.onMoveStop.apply(this,arguments);},onMove:function(_45d,_45e){_45d._leftTop=_45e;if(!_45d._timer){var _45f=this;_45d._timer=setTimeout(function(){_45d._timer=null;_459.call(_45f,_45d,_45d._leftTop);},this.timeout);}}});})();}if(!dojo._hasResource["dojo.fx.Toggler"]){dojo._hasResource["dojo.fx.Toggler"]=true;dojo.provide("dojo.fx.Toggler");dojo.declare("dojo.fx.Toggler",null,{node:null,showFunc:dojo.fadeIn,hideFunc:dojo.fadeOut,showDuration:200,hideDuration:200,constructor:function(args){var _460=this;dojo.mixin(_460,args);_460.node=args.node;_460._showArgs=dojo.mixin({},args);_460._showArgs.node=_460.node;_460._showArgs.duration=_460.showDuration;_460.showAnim=_460.showFunc(_460._showArgs);_460._hideArgs=dojo.mixin({},args);_460._hideArgs.node=_460.node;_460._hideArgs.duration=_460.hideDuration;_460.hideAnim=_460.hideFunc(_460._hideArgs);dojo.connect(_460.showAnim,"beforeBegin",dojo.hitch(_460.hideAnim,"stop",true));dojo.connect(_460.hideAnim,"beforeBegin",dojo.hitch(_460.showAnim,"stop",true));},show:function(_461){return this.showAnim.play(_461||0);},hide:function(_462){return this.hideAnim.play(_462||0);}});}if(!dojo._hasResource["dojo.fx"]){dojo._hasResource["dojo.fx"]=true;dojo.provide("dojo.fx");(function(){var d=dojo,_463={_fire:function(evt,args){if(this[evt]){this[evt].apply(this,args||[]);}return this;}};var _464=function(_465){this._index=-1;this._animations=_465||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=0;d.forEach(this._animations,function(a){this.duration+=a.duration;if(a.delay){this.duration+=a.delay;}},this);};d.extend(_464,{_onAnimate:function(){this._fire("onAnimate",arguments);},_onEnd:function(){d.disconnect(this._onAnimateCtx);d.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=d.connect(this._current,"onAnimate",this,"_onAnimate");this._onEndCtx=d.connect(this._current,"onEnd",this,"_onEnd");this._current.play(0,true);}},play:function(_466,_467){if(!this._current){this._current=this._animations[this._index=0];}if(!_467&&this._current.status()=="playing"){return this;}var _468=d.connect(this._current,"beforeBegin",this,function(){this._fire("beforeBegin");}),_469=d.connect(this._current,"onBegin",this,function(arg){this._fire("onBegin",arguments);}),_46a=d.connect(this._current,"onPlay",this,function(arg){this._fire("onPlay",arguments);d.disconnect(_468);d.disconnect(_469);d.disconnect(_46a);});if(this._onAnimateCtx){d.disconnect(this._onAnimateCtx);}this._onAnimateCtx=d.connect(this._current,"onAnimate",this,"_onAnimate");if(this._onEndCtx){d.disconnect(this._onEndCtx);}this._onEndCtx=d.connect(this._current,"onEnd",this,"_onEnd");this._current.play.apply(this._current,arguments);return this;},pause:function(){if(this._current){var e=d.connect(this._current,"onPause",this,function(arg){this._fire("onPause",arguments);d.disconnect(e);});this._current.pause();}return this;},gotoPercent:function(_46b,_46c){this.pause();var _46d=this.duration*_46b;this._current=null;d.some(this._animations,function(a){if(a.duration<=_46d){this._current=a;return true;}_46d-=a.duration;return false;});if(this._current){this._current.gotoPercent(_46d/this._current.duration,_46c);}return this;},stop:function(_46e){if(this._current){if(_46e){for(;this._index+1<this._animations.length;++this._index){this._animations[this._index].stop(true);}this._current=this._animations[this._index];}var e=d.connect(this._current,"onStop",this,function(arg){this._fire("onStop",arguments);d.disconnect(e);});this._current.stop();}return this;},status:function(){return this._current?this._current.status():"stopped";},destroy:function(){if(this._onAnimateCtx){d.disconnect(this._onAnimateCtx);}if(this._onEndCtx){d.disconnect(this._onEndCtx);}}});d.extend(_464,_463);dojo.fx.chain=function(_46f){return new _464(_46f);};var _470=function(_471){this._animations=_471||[];this._connects=[];this._finished=0;this.duration=0;d.forEach(_471,function(a){var _472=a.duration;if(a.delay){_472+=a.delay;}if(this.duration<_472){this.duration=_472;}this._connects.push(d.connect(a,"onEnd",this,"_onEnd"));},this);this._pseudoAnimation=new d.Animation({curve:[0,1],duration:this.duration});var self=this;d.forEach(["beforeBegin","onBegin","onPlay","onAnimate","onPause","onStop","onEnd"],function(evt){self._connects.push(d.connect(self._pseudoAnimation,evt,function(){self._fire(evt,arguments);}));});};d.extend(_470,{_doAction:function(_473,args){d.forEach(this._animations,function(a){a[_473].apply(a,args);});return this;},_onEnd:function(){if(++this._finished>this._animations.length){this._fire("onEnd");}},_call:function(_474,args){var t=this._pseudoAnimation;t[_474].apply(t,args);},play:function(_475,_476){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(_477,_478){var ms=this.duration*_477;d.forEach(this._animations,function(a){a.gotoPercent(a.duration<ms?1:(ms/a.duration),_478);});this._call("gotoPercent",arguments);return this;},stop:function(_479){this._doAction("stop",arguments);this._call("stop",arguments);return this;},status:function(){return this._pseudoAnimation.status();},destroy:function(){d.forEach(this._connects,dojo.disconnect);}});d.extend(_470,_463);dojo.fx.combine=function(_47a){return new _470(_47a);};dojo.fx.wipeIn=function(args){var node=args.node=d.byId(args.node),s=node.style,o;var anim=d.animateProperty(d.mixin({properties:{height:{start:function(){o=s.overflow;s.overflow="hidden";if(s.visibility=="hidden"||s.display=="none"){s.height="1px";s.display="";s.visibility="";return 1;}else{var _47b=d.style(node,"height");return Math.max(_47b,1);}},end:function(){return node.scrollHeight;}}}},args));d.connect(anim,"onEnd",function(){s.height="auto";s.overflow=o;});return anim;};dojo.fx.wipeOut=function(args){var node=args.node=d.byId(args.node),s=node.style,o;var anim=d.animateProperty(d.mixin({properties:{height:{end:1}}},args));d.connect(anim,"beforeBegin",function(){o=s.overflow;s.overflow="hidden";s.display="";});d.connect(anim,"onEnd",function(){s.overflow=o;s.height="auto";s.display="none";});return anim;};dojo.fx.slideTo=function(args){var node=args.node=d.byId(args.node),top=null,left=null;var init=(function(n){return function(){var cs=d.getComputedStyle(n);var pos=cs.position;top=(pos=="absolute"?n.offsetTop:parseInt(cs.top)||0);left=(pos=="absolute"?n.offsetLeft:parseInt(cs.left)||0);if(pos!="absolute"&&pos!="relative"){var ret=d.position(n,true);top=ret.y;left=ret.x;n.style.position="absolute";n.style.top=top+"px";n.style.left=left+"px";}};})(node);init();var anim=d.animateProperty(d.mixin({properties:{top:args.top||0,left:args.left||0}},args));d.connect(anim,"beforeBegin",anim,init);return anim;};})();}if(!dojo._hasResource["dijit.form._FormMixin"]){dojo._hasResource["dijit.form._FormMixin"]=true;dojo.provide("dijit.form._FormMixin");dojo.declare("dijit.form._FormMixin",null,{state:"",reset:function(){dojo.forEach(this.getDescendants(),function(_47c){if(_47c.reset){_47c.reset();}});},validate:function(){var _47d=false;return dojo.every(dojo.map(this.getDescendants(),function(_47e){_47e._hasBeenBlurred=true;var _47f=_47e.disabled||!_47e.validate||_47e.validate();if(!_47f&&!_47d){dojo.window.scrollIntoView(_47e.containerNode||_47e.domNode);_47e.focus();_47d=true;}return _47f;}),function(item){return item;});},setValues:function(val){dojo.deprecated(this.declaredClass+"::setValues() is deprecated. Use set('value', val) instead.","","2.0");return this.set("value",val);},_setValueAttr:function(obj){var map={};dojo.forEach(this.getDescendants(),function(_480){if(!_480.name){return;}var _481=map[_480.name]||(map[_480.name]=[]);_481.push(_480);});for(var name in map){if(!map.hasOwnProperty(name)){continue;}var _482=map[name],_483=dojo.getObject(name,false,obj);if(_483===undefined){continue;}if(!dojo.isArray(_483)){_483=[_483];}if(typeof _482[0].checked=="boolean"){dojo.forEach(_482,function(w,i){w.set("value",dojo.indexOf(_483,w.value)!=-1);});}else{if(_482[0].multiple){_482[0].set("value",_483);}else{dojo.forEach(_482,function(w,i){w.set("value",_483[i]);});}}}},getValues:function(){dojo.deprecated(this.declaredClass+"::getValues() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},_getValueAttr:function(){var obj={};dojo.forEach(this.getDescendants(),function(_484){var name=_484.name;if(!name||_484.disabled){return;}var _485=_484.get("value");if(typeof _484.checked=="boolean"){if(/Radio/.test(_484.declaredClass)){if(_485!==false){dojo.setObject(name,_485,obj);}else{_485=dojo.getObject(name,false,obj);if(_485===undefined){dojo.setObject(name,null,obj);}}}else{var ary=dojo.getObject(name,false,obj);if(!ary){ary=[];dojo.setObject(name,ary,obj);}if(_485!==false){ary.push(_485);}}}else{var prev=dojo.getObject(name,false,obj);if(typeof prev!="undefined"){if(dojo.isArray(prev)){prev.push(_485);}else{dojo.setObject(name,[prev,_485],obj);}}else{dojo.setObject(name,_485,obj);}}});return obj;},isValid:function(){return this.state=="";},onValidStateChange:function(_486){},_getState:function(){var _487=dojo.map(this._descendants,function(w){return w.get("state")||"";});return dojo.indexOf(_487,"Error")>=0?"Error":dojo.indexOf(_487,"Incomplete")>=0?"Incomplete":"";},disconnectChildren:function(){dojo.forEach(this._childConnections||[],dojo.hitch(this,"disconnect"));dojo.forEach(this._childWatches||[],function(w){w.unwatch();});},connectChildren:function(_488){var _489=this;this.disconnectChildren();this._descendants=this.getDescendants();var set=_488?function(name,val){_489[name]=val;}:dojo.hitch(this,"_set");set("value",this.get("value"));set("state",this._getState());var _48a=(this._childConnections=[]),_48b=(this._childWatches=[]);dojo.forEach(dojo.filter(this._descendants,function(item){return item.validate;}),function(_48c){dojo.forEach(["state","disabled"],function(attr){_48b.push(_48c.watch(attr,function(attr,_48d,_48e){_489.set("state",_489._getState());}));});});var _48f=function(){if(_489._onChangeDelayTimer){clearTimeout(_489._onChangeDelayTimer);}_489._onChangeDelayTimer=setTimeout(function(){delete _489._onChangeDelayTimer;_489._set("value",_489.get("value"));},10);};dojo.forEach(dojo.filter(this._descendants,function(item){return item.onChange;}),function(_490){_48a.push(_489.connect(_490,"onChange",_48f));_48b.push(_490.watch("disabled",_48f));});},startup:function(){this.inherited(arguments);this.connectChildren(true);this.watch("state",function(attr,_491,_492){this.onValidStateChange(_492=="");});},destroy:function(){this.disconnectChildren();this.inherited(arguments);}});}if(!dojo._hasResource["dijit._DialogMixin"]){dojo._hasResource["dijit._DialogMixin"]=true;dojo.provide("dijit._DialogMixin");dojo.declare("dijit._DialogMixin",null,{attributeMap:dijit._Widget.prototype.attributeMap,execute:function(_493){},onCancel:function(){},onExecute:function(){},_onSubmit:function(){this.onExecute();this.execute(this.get("value"));},_getFocusItems:function(){var _494=dijit._getTabNavigable(this.containerNode);this._firstFocusItem=_494.lowest||_494.first||this.closeButtonNode||this.domNode;this._lastFocusItem=_494.last||_494.highest||this._firstFocusItem;}});}if(!dojo._hasResource["dijit.DialogUnderlay"]){dojo._hasResource["dijit.DialogUnderlay"]=true;dojo.provide("dijit.DialogUnderlay");dojo.declare("dijit.DialogUnderlay",[dijit._Widget,dijit._Templated],{templateString:"<div class='dijitDialogUnderlayWrapper'><div class='dijitDialogUnderlay' dojoAttachPoint='node'></div></div>",dialogId:"","class":"",attributeMap:{id:"domNode"},_setDialogIdAttr:function(id){dojo.attr(this.node,"id",id+"_underlay");this._set("dialogId",id);},_setClassAttr:function(_495){this.node.className="dijitDialogUnderlay "+_495;this._set("class",_495);},postCreate:function(){dojo.body().appendChild(this.domNode);},layout:function(){var is=this.node.style,os=this.domNode.style;os.display="none";var _496=dojo.window.getBox();os.top=_496.t+"px";os.left=_496.l+"px";is.width=_496.w+"px";is.height=_496.h+"px";os.display="block";},show:function(){this.domNode.style.display="block";this.layout();this.bgIframe=new dijit.BackgroundIframe(this.domNode);},hide:function(){this.bgIframe.destroy();delete this.bgIframe;this.domNode.style.display="none";}});}if(!dojo._hasResource["dijit.layout._LayoutWidget"]){dojo._hasResource["dijit.layout._LayoutWidget"]=true;dojo.provide("dijit.layout._LayoutWidget");dojo.declare("dijit.layout._LayoutWidget",[dijit._Widget,dijit._Container,dijit._Contained],{baseClass:"dijitLayoutContainer",isLayoutContainer:true,buildRendering:function(){this.inherited(arguments);dojo.addClass(this.domNode,"dijitContainer");},startup:function(){if(this._started){return;}this.inherited(arguments);var _497=this.getParent&&this.getParent();if(!(_497&&_497.isLayoutContainer)){this.resize();this.connect(dojo.isIE?this.domNode:dojo.global,"onresize",function(){this.resize();});}},resize:function(_498,_499){var node=this.domNode;if(_498){dojo.marginBox(node,_498);if(_498.t){node.style.top=_498.t+"px";}if(_498.l){node.style.left=_498.l+"px";}}var mb=_499||{};dojo.mixin(mb,_498||{});if(!("h" in mb)||!("w" in mb)){mb=dojo.mixin(dojo.marginBox(node),mb);}var cs=dojo.getComputedStyle(node);var me=dojo._getMarginExtents(node,cs);var be=dojo._getBorderExtents(node,cs);var bb=(this._borderBox={w:mb.w-(me.w+be.w),h:mb.h-(me.h+be.h)});var pe=dojo._getPadExtents(node,cs);this._contentBox={l:dojo._toPixelValue(node,cs.paddingLeft),t:dojo._toPixelValue(node,cs.paddingTop),w:bb.w-pe.w,h:bb.h-pe.h};this.layout();},layout:function(){},_setupChild:function(_49a){var cls=this.baseClass+"-child "+(_49a.baseClass?this.baseClass+"-"+_49a.baseClass:"");dojo.addClass(_49a.domNode,cls);},addChild:function(_49b,_49c){this.inherited(arguments);if(this._started){this._setupChild(_49b);}},removeChild:function(_49d){var cls=this.baseClass+"-child"+(_49d.baseClass?" "+this.baseClass+"-"+_49d.baseClass:"");dojo.removeClass(_49d.domNode,cls);this.inherited(arguments);}});dijit.layout.marginBox2contentBox=function(node,mb){var cs=dojo.getComputedStyle(node);var me=dojo._getMarginExtents(node,cs);var pb=dojo._getPadBorderExtents(node,cs);return {l:dojo._toPixelValue(node,cs.paddingLeft),t:dojo._toPixelValue(node,cs.paddingTop),w:mb.w-(me.w+pb.w),h:mb.h-(me.h+pb.h)};};(function(){var _49e=function(word){return word.substring(0,1).toUpperCase()+word.substring(1);};var size=function(_49f,dim){var _4a0=_49f.resize?_49f.resize(dim):dojo.marginBox(_49f.domNode,dim);if(_4a0){dojo.mixin(_49f,_4a0);}else{dojo.mixin(_49f,dojo.marginBox(_49f.domNode));dojo.mixin(_49f,dim);}};dijit.layout.layoutChildren=function(_4a1,dim,_4a2,_4a3,_4a4){dim=dojo.mixin({},dim);dojo.addClass(_4a1,"dijitLayoutContainer");_4a2=dojo.filter(_4a2,function(item){return item.region!="center"&&item.layoutAlign!="client";}).concat(dojo.filter(_4a2,function(item){return item.region=="center"||item.layoutAlign=="client";}));dojo.forEach(_4a2,function(_4a5){var elm=_4a5.domNode,pos=(_4a5.region||_4a5.layoutAlign);var _4a6=elm.style;_4a6.left=dim.l+"px";_4a6.top=dim.t+"px";_4a6.position="absolute";dojo.addClass(elm,"dijitAlign"+_49e(pos));var _4a7={};if(_4a3&&_4a3==_4a5.id){_4a7[_4a5.region=="top"||_4a5.region=="bottom"?"h":"w"]=_4a4;}if(pos=="top"||pos=="bottom"){_4a7.w=dim.w;size(_4a5,_4a7);dim.h-=_4a5.h;if(pos=="top"){dim.t+=_4a5.h;}else{_4a6.top=dim.t+dim.h+"px";}}else{if(pos=="left"||pos=="right"){_4a7.h=dim.h;size(_4a5,_4a7);dim.w-=_4a5.w;if(pos=="left"){dim.l+=_4a5.w;}else{_4a6.left=dim.l+dim.w+"px";}}else{if(pos=="client"||pos=="center"){size(_4a5,dim);}}}});};})();}if(!dojo._hasResource["dijit.layout._ContentPaneResizeMixin"]){dojo._hasResource["dijit.layout._ContentPaneResizeMixin"]=true;dojo.provide("dijit.layout._ContentPaneResizeMixin");dojo.declare("dijit.layout._ContentPaneResizeMixin",null,{doLayout:true,isContainer:true,isLayoutContainer:true,_startChildren:function(){dojo.forEach(this.getChildren(),function(_4a8){_4a8.startup();_4a8._started=true;});},startup:function(){if(this._started){return;}var _4a9=dijit._Contained.prototype.getParent.call(this);this._childOfLayoutWidget=_4a9&&_4a9.isLayoutContainer;this._needLayout=!this._childOfLayoutWidget;this.inherited(arguments);this._startChildren();if(this._isShown()){this._onShow();}if(!this._childOfLayoutWidget){this.connect(dojo.isIE?this.domNode:dojo.global,"onresize",function(){this._needLayout=!this._childOfLayoutWidget;this.resize();});}},_checkIfSingleChild:function(){var _4aa=dojo.query("> *",this.containerNode).filter(function(node){return node.tagName!=="SCRIPT";}),_4ab=_4aa.filter(function(node){return dojo.hasAttr(node,"data-dojo-type")||dojo.hasAttr(node,"dojoType")||dojo.hasAttr(node,"widgetId");}),_4ac=dojo.filter(_4ab.map(dijit.byNode),function(_4ad){return _4ad&&_4ad.domNode&&_4ad.resize;});if(_4aa.length==_4ab.length&&_4ac.length==1){this._singleChild=_4ac[0];}else{delete this._singleChild;}dojo.toggleClass(this.containerNode,this.baseClass+"SingleChild",!!this._singleChild);},resize:function(_4ae,_4af){if(!this._wasShown&&this.open!==false){this._onShow();}this._resizeCalled=true;this._scheduleLayout(_4ae,_4af);},_scheduleLayout:function(_4b0,_4b1){if(this._isShown()){this._layout(_4b0,_4b1);}else{this._needLayout=true;this._changeSize=_4b0;this._resultSize=_4b1;}},_layout:function(_4b2,_4b3){if(_4b2){dojo.marginBox(this.domNode,_4b2);}var cn=this.containerNode;if(cn===this.domNode){var mb=_4b3||{};dojo.mixin(mb,_4b2||{});if(!("h" in mb)||!("w" in mb)){mb=dojo.mixin(dojo.marginBox(cn),mb);}this._contentBox=dijit.layout.marginBox2contentBox(cn,mb);}else{this._contentBox=dojo.contentBox(cn);}this._layoutChildren();delete this._needLayout;},_layoutChildren:function(){if(this.doLayout){this._checkIfSingleChild();}if(this._singleChild&&this._singleChild.resize){var cb=this._contentBox||dojo.contentBox(this.containerNode);this._singleChild.resize({w:cb.w,h:cb.h});}else{dojo.forEach(this.getChildren(),function(_4b4){if(_4b4.resize){_4b4.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,_4b5=this.domNode.parentNode;return (node.style.display!="none")&&(node.style.visibility!="hidden")&&!dojo.hasClass(node,"dijitHidden")&&_4b5&&_4b5.style&&(_4b5.style.display!="none");}}},_onShow:function(){this._wasShown=true;if(this._needLayout){this._layout(this._changeSize,this._resultSize);}this.inherited(arguments);}});}if(!dojo._hasResource["dojo.html"]){dojo._hasResource["dojo.html"]=true;dojo.provide("dojo.html");dojo.getObject("html",true,dojo);(function(){var _4b6=0,d=dojo;dojo.html._secureForInnerHtml=function(cont){return cont.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig,"");};dojo.html._emptyNode=dojo.empty;dojo.html._setNodeContent=function(node,cont){d.empty(node);if(cont){if(typeof cont=="string"){cont=d._toDom(cont,node.ownerDocument);}if(!cont.nodeType&&d.isArrayLike(cont)){for(var _4b7=cont.length,i=0;i<cont.length;i=_4b7==cont.length?i+1:0){d.place(cont[i],node,"last");}}else{d.place(cont,node,"last");}}return node;};dojo.declare("dojo.html._ContentSetter",null,{node:"",content:"",id:"",cleanContent:false,extractContent:false,parseContent:false,parserScope:dojo._scopeName,startup:true,constructor:function(_4b8,node){dojo.mixin(this,_4b8||{});node=this.node=dojo.byId(this.node||node);if(!this.id){this.id=["Setter",(node)?node.id||node.tagName:"",_4b6++].join("_");}},set:function(cont,_4b9){if(undefined!==cont){this.content=cont;}if(_4b9){this._mixin(_4b9);}this.onBegin();this.setContent();this.onEnd();return this.node;},setContent:function(){var node=this.node;if(!node){throw new Error(this.declaredClass+": setContent given no node");}try{node=dojo.html._setNodeContent(node,this.content);}catch(e){var _4ba=this.onContentError(e);try{node.innerHTML=_4ba;}catch(e){console.error("Fatal "+this.declaredClass+".setContent could not change content due to "+e.message,e);}}this.node=node;},empty:function(){if(this.parseResults&&this.parseResults.length){dojo.forEach(this.parseResults,function(w){if(w.destroy){w.destroy();}});delete this.parseResults;}dojo.html._emptyNode(this.node);},onBegin:function(){var cont=this.content;if(dojo.isString(cont)){if(this.cleanContent){cont=dojo.html._secureForInnerHtml(cont);}if(this.extractContent){var _4bb=cont.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_4bb){cont=_4bb[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(_4bc){var _4bd={},key;for(key in _4bc){if(key in _4bd){continue;}this[key]=_4bc[key];}},_parse:function(){var _4be=this.node;try{var _4bf={};dojo.forEach(["dir","lang","textDir"],function(name){if(this[name]){_4bf[name]=this[name];}},this);this.parseResults=dojo.parser.parse({rootNode:_4be,noStart:!this.startup,inherited:_4bf,scope:this.parserScope});}catch(e){this._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);}},_onError:function(type,err,_4c0){var _4c1=this["on"+type+"Error"].call(this,err);if(_4c0){console.error(_4c0,err);}else{if(_4c1){dojo.html._setNodeContent(this.node,_4c1,true);}}}});dojo.html.set=function(node,cont,_4c2){if(undefined==cont){console.warn("dojo.html.set: no cont argument provided, using empty string");cont="";}if(!_4c2){return dojo.html._setNodeContent(node,cont,true);}else{var op=new dojo.html._ContentSetter(dojo.mixin(_4c2,{content:cont,node:node}));return op.set();}};})();}if(!dojo._hasResource["dijit.layout.ContentPane"]){dojo._hasResource["dijit.layout.ContentPane"]=true;dojo.provide("dijit.layout.ContentPane");dojo.declare("dijit.layout.ContentPane",[dijit._Widget,dijit.layout._ContentPaneResizeMixin],{href:"",extractContent:false,parseOnLoad:true,parserScope:dojo._scopeName,preventCache:false,preload:false,refreshOnShow:false,loadingMessage:"<span class='dijitContentPaneLoading'>${loadingState}</span>",errorMessage:"<span class='dijitContentPaneError'>${errorState}</span>",isLoaded:false,baseClass:"dijitContentPane",ioArgs:{},onLoadDeferred:null,attributeMap:dojo.delegate(dijit._Widget.prototype.attributeMap,{title:[]}),stopParser:true,template:false,create:function(_4c3,_4c4){if((!_4c3||!_4c3.template)&&_4c4&&!("href" in _4c3)&&!("content" in _4c3)){var df=dojo.doc.createDocumentFragment();_4c4=dojo.byId(_4c4);while(_4c4.firstChild){df.appendChild(_4c4.firstChild);}_4c3=dojo.delegate(_4c3,{content:df});}this.inherited(arguments,[_4c3,_4c4]);},postMixInProperties:function(){this.inherited(arguments);var _4c5=dojo.i18n.getLocalization("dijit","loading",this.lang);this.loadingMessage=dojo.string.substitute(this.loadingMessage,_4c5);this.errorMessage=dojo.string.substitute(this.errorMessage,_4c5);},buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}this.domNode.title="";if(!dojo.attr(this.domNode,"role")){dijit.setWaiRole(this.domNode,"group");}},_startChildren:function(){this.inherited(arguments);if(this._contentSetter){dojo.forEach(this._contentSetter.parseResults,function(obj){if(!obj._started&&!obj._destroyed&&dojo.isFunction(obj.startup)){obj.startup();obj._started=true;}},this);}},setHref:function(href){dojo.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 dojo.Deferred(dojo.hitch(this,"cancel"));this.onLoadDeferred.addCallback(dojo.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){dojo.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 dojo.Deferred(dojo.hitch(this,"cancel"));if(this._created){this.onLoadDeferred.addCallback(dojo.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(_4c6){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 dojo.Deferred(dojo.hitch(this,"cancel"));this.onLoadDeferred.addCallback(dojo.hitch(this,"onLoad"));this._load();return this.onLoadDeferred;},_load:function(){this._setContent(this.onDownloadStart(),true);var self=this;var _4c7={preventCache:(this.preventCache||this.refreshOnShow),url:this.href,handleAs:"text"};if(dojo.isObject(this.ioArgs)){dojo.mixin(_4c7,this.ioArgs);}var hand=(this._xhrDfd=(this.ioMethod||dojo.xhrGet)(_4c7));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(){if(this.isLoaded){this._onUnloadHandler();}var _4c8=this._contentSetter;dojo.forEach(this.getChildren(),function(_4c9){if(_4c9.destroyRecursive){_4c9.destroyRecursive();}});if(_4c8){dojo.forEach(_4c8.parseResults,function(_4ca){if(_4ca.destroyRecursive&&_4ca.domNode&&_4ca.domNode.parentNode==dojo.body()){_4ca.destroyRecursive();}});delete _4c8.parseResults;}dojo.html._emptyNode(this.containerNode);delete this._singleChild;},_setContent:function(cont,_4cb){this.destroyDescendants();var _4cc=this._contentSetter;if(!(_4cc&&_4cc instanceof dojo.html._ContentSetter)){_4cc=this._contentSetter=new dojo.html._ContentSetter({node:this.containerNode,_onError:dojo.hitch(this,this._onError),onContentError:dojo.hitch(this,function(e){var _4cd=this.onContentError(e);try{this.containerNode.innerHTML=_4cd;}catch(e){console.error("Fatal "+this.id+" could not change content due to "+e.message,e);}})});}var _4ce=dojo.mixin({cleanContent:this.cleanContent,extractContent:this.extractContent,parseContent:this.parseOnLoad,parserScope:this.parserScope,startup:false,dir:this.dir,lang:this.lang},this._contentSetterParams||{});_4cc.set((dojo.isObject(cont)&&cont.domNode)?cont.domNode:cont,_4ce);delete this._contentSetterParams;if(this.doLayout){this._checkIfSingleChild();}if(!_4cb){if(this._started){this._startChildren();this._scheduleLayout();}this._onLoadHandler(cont);}},_onError:function(type,err,_4cf){this.onLoadDeferred.errback(err);var _4d0=this["on"+type+"Error"].call(this,err);if(_4cf){console.error(_4cf,err);}else{if(_4d0){this._setContent(_4d0,true);}}},onLoad:function(data){},onUnload:function(){},onDownloadStart:function(){return this.loadingMessage;},onContentError:function(_4d1){},onDownloadError:function(_4d2){return this.errorMessage;},onDownloadEnd:function(){}});}if(!dojo._hasResource["dijit.TooltipDialog"]){dojo._hasResource["dijit.TooltipDialog"]=true;dojo.provide("dijit.TooltipDialog");dojo.declare("dijit.TooltipDialog",[dijit.layout.ContentPane,dijit._Templated,dijit.form._FormMixin,dijit._DialogMixin],{title:"",doLayout:false,autofocus:true,baseClass:"dijitTooltipDialog",_firstFocusItem:null,_lastFocusItem:null,templateString:dojo.cache("dijit","templates/TooltipDialog.html","<div role=\"presentation\" tabIndex=\"-1\">\n\t<div class=\"dijitTooltipContainer\" role=\"presentation\">\n\t\t<div class =\"dijitTooltipContents dijitTooltipFocusNode\" dojoAttachPoint=\"containerNode\" role=\"dialog\"></div>\n\t</div>\n\t<div class=\"dijitTooltipConnector\" role=\"presentation\"></div>\n</div>\n"),_setTitleAttr:function(_4d3){this.containerNode.title=_4d3;this._set("title",_4d3);},postCreate:function(){this.inherited(arguments);this.connect(this.containerNode,"onkeypress","_onKey");},orient:function(node,_4d4,_4d5){var newC="dijitTooltipAB"+(_4d5.charAt(1)=="L"?"Left":"Right")+" dijitTooltip"+(_4d5.charAt(0)=="T"?"Below":"Above");dojo.replaceClass(this.domNode,newC,this._currentOrientClass||"");this._currentOrientClass=newC;},focus:function(){this._getFocusItems(this.containerNode);dijit.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;var dk=dojo.keys;if(evt.charOrCode===dk.TAB){this._getFocusItems(this.containerNode);}var _4d6=(this._firstFocusItem==this._lastFocusItem);if(evt.charOrCode==dk.ESCAPE){setTimeout(dojo.hitch(this,"onCancel"),0);dojo.stopEvent(evt);}else{if(node==this._firstFocusItem&&evt.shiftKey&&evt.charOrCode===dk.TAB){if(!_4d6){dijit.focus(this._lastFocusItem);}dojo.stopEvent(evt);}else{if(node==this._lastFocusItem&&evt.charOrCode===dk.TAB&&!evt.shiftKey){if(!_4d6){dijit.focus(this._firstFocusItem);}dojo.stopEvent(evt);}else{if(evt.charOrCode===dk.TAB){evt.stopPropagation();}}}}}});}if(!dojo._hasResource["dijit.Dialog"]){dojo._hasResource["dijit.Dialog"]=true;dojo.provide("dijit.Dialog");dojo.declare("dijit._DialogBase",[dijit._Templated,dijit.form._FormMixin,dijit._DialogMixin,dijit._CssStateMixin],{templateString:dojo.cache("dijit","templates/Dialog.html","<div class=\"dijitDialog\" role=\"dialog\" aria-labelledby=\"${id}_title\">\n\t<div dojoAttachPoint=\"titleBar\" class=\"dijitDialogTitleBar\">\n\t<span dojoAttachPoint=\"titleNode\" class=\"dijitDialogTitle\" id=\"${id}_title\"></span>\n\t<span dojoAttachPoint=\"closeButtonNode\" class=\"dijitDialogCloseIcon\" dojoAttachEvent=\"ondijitclick: onCancel\" title=\"${buttonCancel}\" role=\"button\" tabIndex=\"-1\">\n\t\t<span dojoAttachPoint=\"closeText\" class=\"closeText\" title=\"${buttonCancel}\">x</span>\n\t</span>\n\t</div>\n\t\t<div dojoAttachPoint=\"containerNode\" class=\"dijitDialogPaneContent\"></div>\n</div>\n"),baseClass:"dijitDialog",cssStateNodes:{closeButtonNode:"dijitDialogCloseIcon"},attributeMap:dojo.delegate(dijit._Widget.prototype.attributeMap,{title:[{node:"titleNode",type:"innerHTML"},{node:"titleBar",type:"attribute"}],"aria-describedby":""}),open:false,duration:dijit.defaultDuration,refocus:true,autofocus:true,_firstFocusItem:null,_lastFocusItem:null,doLayout:false,draggable:true,"aria-describedby":"",postMixInProperties:function(){var _4d7=dojo.i18n.getLocalization("dijit","common");dojo.mixin(this,_4d7);this.inherited(arguments);},postCreate:function(){dojo.style(this.domNode,{display:"none",position:"absolute"});dojo.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&&dijit._DialogLevelManager.isTop(this)){this._getFocusItems(this.domNode);dijit.focus(this._firstFocusItem);}this.inherited(arguments);},_endDrag:function(e){if(e&&e.node&&e.node===this.domNode){this._relativePosition=dojo.position(e.node);}},_setup:function(){var node=this.domNode;if(this.titleBar&&this.draggable){this._moveable=(dojo.isIE==6)?new dojo.dnd.TimedMoveable(node,{handle:this.titleBar}):new dojo.dnd.Moveable(node,{handle:this.titleBar,timeout:0});this._dndListener=dojo.subscribe("/dnd/move/stop",this,"_endDrag");}else{dojo.addClass(node,"dijitDialogFixed");}this.underlayAttrs={dialogId:this.id,"class":dojo.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{dojo.style(this.containerNode,{width:"auto",height:"auto"});}var mb=dojo._getMarginSize(this.domNode);var _4d8=dojo.window.getBox();if(mb.w>=_4d8.w||mb.h>=_4d8.h){var w=Math.min(mb.w,Math.floor(_4d8.w*0.75)),h=Math.min(mb.h,Math.floor(_4d8.h*0.75));if(this._singleChild&&this._singleChild.resize){this._singleChildOriginalStyle=this._singleChild.domNode.style.cssText;this._singleChild.resize({w:w,h:h});}else{dojo.style(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(!dojo.hasClass(dojo.body(),"dojoMove")){var node=this.domNode,_4d9=dojo.window.getBox(),p=this._relativePosition,bb=p?null:dojo._getBorderBox(node),l=Math.floor(_4d9.l+(p?p.x:(_4d9.w-bb.w)/2)),t=Math.floor(_4d9.t+(p?p.y:(_4d9.h-bb.h)/2));dojo.style(node,{left:l+"px",top:t+"px"});}},_onKey:function(evt){if(evt.charOrCode){var dk=dojo.keys;var node=evt.target;if(evt.charOrCode===dk.TAB){this._getFocusItems(this.domNode);}var _4da=(this._firstFocusItem==this._lastFocusItem);if(node==this._firstFocusItem&&evt.shiftKey&&evt.charOrCode===dk.TAB){if(!_4da){dijit.focus(this._lastFocusItem);}dojo.stopEvent(evt);}else{if(node==this._lastFocusItem&&evt.charOrCode===dk.TAB&&!evt.shiftKey){if(!_4da){dijit.focus(this._firstFocusItem);}dojo.stopEvent(evt);}else{while(node){if(node==this.domNode||dojo.hasClass(node,"dijitPopup")){if(evt.charOrCode==dk.ESCAPE){this.onCancel();}else{return;}}node=node.parentNode;}if(evt.charOrCode!==dk.TAB){dojo.stopEvent(evt);}else{if(!dojo.isOpera){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();dijit._DialogLevelManager.hide(this);}this._modalconnects.push(dojo.connect(window,"onscroll",this,"layout"));this._modalconnects.push(dojo.connect(window,"onresize",this,function(){var _4db=dojo.window.getBox();if(!this._oldViewport||_4db.h!=this._oldViewport.h||_4db.w!=this._oldViewport.w){this.layout();this._oldViewport=_4db;}}));this._modalconnects.push(dojo.connect(this.domNode,"onkeypress",this,"_onKey"));dojo.style(this.domNode,{opacity:0,display:""});this._set("open",true);this._onShow();this._size();this._position();var _4dc;this._fadeInDeferred=new dojo.Deferred(dojo.hitch(this,function(){_4dc.stop();delete this._fadeInDeferred;}));_4dc=dojo.fadeIn({node:this.domNode,duration:this.duration,beforeBegin:dojo.hitch(this,function(){dijit._DialogLevelManager.show(this,this.underlayAttrs);}),onEnd:dojo.hitch(this,function(){if(this.autofocus&&dijit._DialogLevelManager.isTop(this)){this._getFocusItems(this.domNode);dijit.focus(this._firstFocusItem);}this._fadeInDeferred.callback(true);delete this._fadeInDeferred;})}).play();return this._fadeInDeferred;},hide:function(){if(!this._alreadyInitialized||!this.open){return;}if(this._fadeInDeferred){this._fadeInDeferred.cancel();}var _4dd;this._fadeOutDeferred=new dojo.Deferred(dojo.hitch(this,function(){_4dd.stop();delete this._fadeOutDeferred;}));_4dd=dojo.fadeOut({node:this.domNode,duration:this.duration,onEnd:dojo.hitch(this,function(){this.domNode.style.display="none";dijit._DialogLevelManager.hide(this);this.onHide();this._fadeOutDeferred.callback(true);delete this._fadeOutDeferred;})}).play();if(this._scrollConnected){this._scrollConnected=false;}dojo.forEach(this._modalconnects,dojo.disconnect);this._modalconnects=[];if(this._relativePosition){delete this._relativePosition;}this._set("open",false);return this._fadeOutDeferred;},layout:function(){if(this.domNode.style.display!="none"){if(dijit._underlay){dijit._underlay.layout();}this._position();}},destroy:function(){if(this._fadeInDeferred){this._fadeInDeferred.cancel();}if(this._fadeOutDeferred){this._fadeOutDeferred.cancel();}if(this._moveable){this._moveable.destroy();}if(this._dndListener){dojo.unsubscribe(this._dndListener);}dojo.forEach(this._modalconnects,dojo.disconnect);dijit._DialogLevelManager.hide(this);this.inherited(arguments);}});dojo.declare("dijit.Dialog",[dijit.layout.ContentPane,dijit._DialogBase],{});dijit._DialogLevelManager={show:function(_4de,_4df){var ds=dijit._dialogStack;ds[ds.length-1].focus=dijit.getFocus(_4de);var _4e0=dijit._underlay;if(!_4e0||_4e0._destroyed){_4e0=dijit._underlay=new dijit.DialogUnderlay(_4df);}else{_4e0.set(_4de.underlayAttrs);}var _4e1=ds[ds.length-1].dialog?ds[ds.length-1].zIndex+2:950;if(ds.length==1){_4e0.show();}dojo.style(dijit._underlay.domNode,"zIndex",_4e1-1);dojo.style(_4de.domNode,"zIndex",_4e1);ds.push({dialog:_4de,underlayAttrs:_4df,zIndex:_4e1});},hide:function(_4e2){var ds=dijit._dialogStack;if(ds[ds.length-1].dialog==_4e2){ds.pop();var pd=ds[ds.length-1];if(ds.length==1){if(!dijit._underlay._destroyed){dijit._underlay.hide();}}else{dojo.style(dijit._underlay.domNode,"zIndex",pd.zIndex-1);dijit._underlay.set(pd.underlayAttrs);}if(_4e2.refocus){var _4e3=pd.focus;if(!_4e3||(pd.dialog&&!dojo.isDescendant(_4e3.node,pd.dialog.domNode))){pd.dialog._getFocusItems(pd.dialog.domNode);_4e3=pd.dialog._firstFocusItem;}try{dijit.focus(_4e3);}catch(e){}}}else{var idx=dojo.indexOf(dojo.map(ds,function(elem){return elem.dialog;}),_4e2);if(idx!=-1){ds.splice(idx,1);}}},isTop:function(_4e4){var ds=dijit._dialogStack;return ds[ds.length-1].dialog==_4e4;}};dijit._dialogStack=[{dialog:null,focus:null,underlayAttrs:null}];}dojo.i18n._preloadLocalizations("dojo.nls.vclMaintenance",["ROOT","en","en-gb","en-us","es","es-es","es-mx","ja","ja-jp","xx","zh","zh-cn"]);
