/*
	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(){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(_b9,_ba){this.create(_b9,_ba);},create:function(_bb,_bc){this.srcNodeRef=dojo.byId(_bc);this._connects=[];this._subscribes=[];if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_bb){this.params=_bb;dojo._mixin(this,_bb);}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 _bd=this.srcNodeRef;if(_bd&&_bd.parentNode&&this.domNode!==_bd){_bd.parentNode.replaceChild(this.domNode,_bd);}}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 _be=function(_bf,_c0){if((_c0.params&&_bf in _c0.params)||_c0[_bf]){_c0.set(_bf,_c0[_bf]);}};for(var _c1 in this.attributeMap){_be(_c1,this);}dojo.forEach(this._getSetterAttributes(),function(a){if(!(a in this.attributeMap)){_be(a,this);}},this);},_getSetterAttributes:function(){var _c2=this.constructor;if(!_c2._setterAttrs){var r=(_c2._setterAttrs=[]),_c3,_c4=_c2.prototype;for(var _c5 in _c4){if(dojo.isFunction(_c4[_c5])&&(_c3=_c5.match(/^_set([a-zA-Z]*)Attr$/))&&_c3[1]){r.push(_c3[1].charAt(0).toLowerCase()+_c3[1].substr(1));}}}return _c2._setterAttrs;},postMixInProperties:function(){},buildRendering:function(){if(!this.domNode){this.domNode=this.srcNodeRef||dojo.create("div");}if(this.baseClass){var _c6=this.baseClass.split(" ");if(!this.isLeftToRight()){_c6=_c6.concat(dojo.map(_c6,function(_c7){return _c7+"Rtl";}));}dojo.addClass(this.domNode,_c6);}},postCreate:function(){},startup:function(){this._started=true;},destroyRecursive:function(_c8){this._beingDestroyed=true;this.destroyDescendants(_c8);this.destroy(_c8);},destroy:function(_c9){this._beingDestroyed=true;this.uninitialize();var d=dojo,dfe=d.forEach,dun=d.unsubscribe;dfe(this._connects,function(_ca){dfe(_ca,d.disconnect);});dfe(this._subscribes,function(_cb){dun(_cb);});dfe(this._supportingWidgets||[],function(w){if(w.destroyRecursive){w.destroyRecursive();}else{if(w.destroy){w.destroy();}}});this.destroyRendering(_c9);dijit.registry.remove(this.id);this._destroyed=true;},destroyRendering:function(_cc){if(this.bgIframe){this.bgIframe.destroy(_cc);delete this.bgIframe;}if(this.domNode){if(_cc){dojo.removeAttr(this.domNode,"widgetId");}else{dojo.destroy(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_cc){dojo.destroy(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_cd){dojo.forEach(this.getChildren(),function(_ce){if(_ce.destroyRecursive){_ce.destroyRecursive(_cd);}});},uninitialize:function(){return false;},_setClassAttr:function(_cf){var _d0=this[this.attributeMap["class"]||"domNode"];dojo.replaceClass(_d0,_cf,this["class"]);this._set("class",_cf);},_setStyleAttr:function(_d1){var _d2=this[this.attributeMap.style||"domNode"];if(dojo.isObject(_d1)){dojo.style(_d2,_d1);}else{if(_d2.style.cssText){_d2.style.cssText+="; "+_d1;}else{_d2.style.cssText=_d1;}}this._set("style",_d1);},_attrToDom:function(_d3,_d4){var _d5=this.attributeMap[_d3];dojo.forEach(dojo.isArray(_d5)?_d5:[_d5],function(_d6){var _d7=this[_d6.node||_d6||"domNode"];var _d8=_d6.type||"attribute";switch(_d8){case "attribute":if(dojo.isFunction(_d4)){_d4=dojo.hitch(this,_d4);}var _d9=_d6.attribute?_d6.attribute:(/^on[A-Z][a-zA-Z]*$/.test(_d3)?_d3.toLowerCase():_d3);dojo.attr(_d7,_d9,_d4);break;case "innerText":_d7.innerHTML="";_d7.appendChild(dojo.doc.createTextNode(_d4));break;case "innerHTML":_d7.innerHTML=_d4;break;case "class":dojo.replaceClass(_d7,_d4,this[_d3]);break;}},this);},get:function(_da){var _db=this._getAttrNames(_da);return this[_db.g]?this[_db.g]():this[_da];},set:function(_dc,_dd){if(typeof _dc==="object"){for(var x in _dc){this.set(x,_dc[x]);}return this;}var _de=this._getAttrNames(_dc);if(this[_de.s]){var _df=this[_de.s].apply(this,Array.prototype.slice.call(arguments,1));}else{if(_dc in this.attributeMap){this._attrToDom(_dc,_dd);}this._set(_dc,_dd);}return _df||this;},_attrPairNames:{},_getAttrNames:function(_e0){var apn=this._attrPairNames;if(apn[_e0]){return apn[_e0];}var uc=_e0.charAt(0).toUpperCase()+_e0.substr(1);return (apn[_e0]={n:_e0+"Node",s:"_set"+uc+"Attr",g:"_get"+uc+"Attr"});},_set:function(_e1,_e2){var _e3=this[_e1];this[_e1]=_e2;if(this._watchCallbacks&&this._created&&_e2!==_e3){this._watchCallbacks(_e1,_e3,_e2);}},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,_e4,_e5){var _e6=[dojo._connect(obj,_e4,this,_e5)];this._connects.push(_e6);return _e6;},disconnect:function(_e7){for(var i=0;i<this._connects.length;i++){if(this._connects[i]==_e7){dojo.forEach(_e7,dojo.disconnect);this._connects.splice(i,1);return;}}},subscribe:function(_e8,_e9){var _ea=dojo.subscribe(_e8,this,_e9);this._subscribes.push(_ea);return _ea;},unsubscribe:function(_eb){for(var i=0;i<this._subscribes.length;i++){if(this._subscribes[i]==_eb){dojo.unsubscribe(_eb);this._subscribes.splice(i,1);return;}}},isLeftToRight:function(){return this.dir?(this.dir=="ltr"):dojo._isBodyLtr();},placeAt:function(_ec,_ed){if(_ec.declaredClass&&_ec.addChild){_ec.addChild(this,_ed);}else{dojo.place(this.domNode,_ec,_ed);}return this;},defer:function(fcn,_ee){var _ef=setTimeout(dojo.hitch(this,function(){_ef=null;if(!this._destroyed){dojo.hitch(this,fcn)();}}),_ee||0);return {remove:function(){if(_ef){clearTimeout(_ef);_ef=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(_f0){var _f1=dojo.doc,_f2=_f0.mark;if(_f2){if(dojo.global.getSelection){var sel=dojo.global.getSelection();if(sel&&sel.removeAllRanges){if(_f2.pRange){var r=_f2;var n=r.node;n.selectionStart=r.start;n.selectionEnd=r.end;}else{sel.removeAllRanges();sel.addRange(_f2);}}else{console.warn("No idea how to restore selection for this browser!");}}else{if(_f1.selection&&_f2){var rg;if(_f2.pRange){rg=_f2.range;}else{if(dojo.isArray(_f2)){rg=_f1.body.createControlRange();dojo.forEach(_f2,function(n){rg.addElement(n);});}else{rg=_f1.body.createTextRange();rg.moveToBookmark(_f2);}}rg.select();}}}},getFocus:function(_f3,_f4){var _f5=!dijit._curFocus||(_f3&&dojo.isDescendant(dijit._curFocus,_f3.domNode))?dijit._prevFocus:dijit._curFocus;return {node:_f5,bookmark:(_f5==dijit._curFocus)&&dojo.withGlobal(_f4||dojo.global,dijit.getBookmark),openedForWindow:_f4};},focus:function(_f6){if(!_f6){return;}var _f7="node" in _f6?_f6.node:_f6,_f8=_f6.bookmark,_f9=_f6.openedForWindow,_fa=_f8?_f8.isCollapsed:false;if(_f7){var _fb=(_f7.tagName.toLowerCase()=="iframe")?_f7.contentWindow:_f7;if(_fb&&_fb.focus){try{_fb.focus();}catch(e){}}dijit._onFocusNode(_f7);}if(_f8&&dojo.withGlobal(_f9||dojo.global,dijit.isCollapsed)&&!_fa){if(_f9){_f9.focus();}try{dojo.withGlobal(_f9||dojo.global,dijit.moveToBookmark,null,[_f8]);}catch(e2){}}},_activeStack:[],registerIframe:function(_fc){return dijit.registerWin(_fc.contentWindow,_fc);},unregisterIframe:function(_fd){dijit.unregisterWin(_fd);},registerWin:function(_fe,_ff){var _100=function(evt){dijit._justMouseDowned=true;setTimeout(function(){dijit._justMouseDowned=false;},0);if(dojo.isIE&&evt&&evt.srcElement&&evt.srcElement.parentNode==null){return;}dijit._onTouchNode(_ff||evt.target||evt.srcElement,"mouse");};var doc=dojo.isIE?_fe.document.documentElement:_fe.document;if(doc){if(dojo.isIE){_fe.document.body.attachEvent("onmousedown",_100);var _101=function(evt){if(evt.srcElement.tagName.toLowerCase()!="#document"&&dijit.isTabNavigable(evt.srcElement)){dijit._onFocusNode(_ff||evt.srcElement);}else{dijit._onTouchNode(_ff||evt.srcElement);}};doc.attachEvent("onactivate",_101);var _102=function(evt){dijit._onBlurNode(_ff||evt.srcElement);};doc.attachEvent("ondeactivate",_102);return function(){_fe.document.detachEvent("onmousedown",_100);doc.detachEvent("onactivate",_101);doc.detachEvent("ondeactivate",_102);doc=null;};}else{doc.body.addEventListener("mousedown",_100,true);var _103=function(evt){dijit._onFocusNode(_ff||evt.target);};doc.addEventListener("focus",_103,true);var _104=function(evt){dijit._onBlurNode(_ff||evt.target);};doc.addEventListener("blur",_104,true);return function(){doc.body.removeEventListener("mousedown",_100,true);doc.removeEventListener("focus",_103,true);doc.removeEventListener("blur",_104,true);doc=null;};}}},unregisterWin:function(_105){_105&&_105();},_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 _106=[];try{while(node){var _107=dojo.attr(node,"dijitPopupParent");if(_107){node=dijit.byId(_107).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"),_108=id&&dijit.byId(id);if(_108&&!(by=="mouse"&&_108.get("disabled"))){_106.unshift(id);}node=node.parentNode;}}}}catch(e){}dijit._setStack(_106,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(_109,by){var _10a=dijit._activeStack;dijit._activeStack=_109;for(var _10b=0;_10b<Math.min(_10a.length,_109.length);_10b++){if(_10a[_10b]!=_109[_10b]){break;}}var _10c;for(var i=_10a.length-1;i>=_10b;i--){_10c=dijit.byId(_10a[i]);if(_10c){_10c._focused=false;_10c.set("focused",false);_10c._hasBeenBlurred=true;if(_10c._onBlur){_10c._onBlur(by);}dojo.publish("widgetBlur",[_10c,by]);}}for(i=_10b;i<_109.length;i++){_10c=dijit.byId(_109[i]);if(_10c){_10c._focused=true;_10c.set("focused",true);if(_10c._onFocus){_10c._onFocus(by);}dojo.publish("widgetFocus",[_10c,by]);}}}});dojo.addOnLoad(function(){var _10d=dijit.registerWin(window);if(dojo.isIE){dojo.addOnWindowUnload(function(){dijit.unregisterWin(_10d);_10d=null;});}});}if(!dojo._hasResource["dojo.AdapterRegistry"]){dojo._hasResource["dojo.AdapterRegistry"]=true;dojo.provide("dojo.AdapterRegistry");dojo.AdapterRegistry=function(_10e){this.pairs=[];this.returnWrappers=_10e||false;};dojo.extend(dojo.AdapterRegistry,{register:function(name,_10f,wrap,_110,_111){this.pairs[((_111)?"unshift":"push")]([name,_10f,wrap,_110]);},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,_112,_113){var _114=dojo.map(_112,function(_115){var c={corner:_115,pos:{x:pos.x,y:pos.y}};if(_113){c.pos.x+=_115.charAt(1)=="L"?_113.x:-_113.x;c.pos.y+=_115.charAt(0)=="T"?_113.y:-_113.y;}return c;});return dijit._place(node,_114);};dijit._place=function(node,_116,_117,_118){var view=dojo.window.getBox();if(!node.parentNode||String(node.parentNode.tagName).toLowerCase()!="body"){dojo.body().appendChild(node);}var best=null;dojo.some(_116,function(_119){var _11a=_119.corner;var pos=_119.pos;var _11b=0;var _11c={w:_11a.charAt(1)=="L"?(view.l+view.w)-pos.x:pos.x-view.l,h:_11a.charAt(1)=="T"?(view.t+view.h)-pos.y:pos.y-view.t};if(_117){var res=_117(node,_119.aroundCorner,_11a,_11c,_118);_11b=typeof res=="undefined"?0:res;}var _11d=node.style;var _11e=_11d.display;var _11f=_11d.visibility;_11d.visibility="hidden";_11d.display="";var mb=dojo.marginBox(node);_11d.display=_11e;_11d.visibility=_11f;var _120=Math.max(view.l,_11a.charAt(1)=="L"?pos.x:(pos.x-mb.w)),_121=Math.max(view.t,_11a.charAt(0)=="T"?pos.y:(pos.y-mb.h)),endX=Math.min(view.l+view.w,_11a.charAt(1)=="L"?(_120+mb.w):pos.x),endY=Math.min(view.t+view.h,_11a.charAt(0)=="T"?(_121+mb.h):pos.y),_122=endX-_120,_123=endY-_121;_11b+=(mb.w-_122)+(mb.h-_123);if(best==null||_11b<best.overflow){best={corner:_11a,aroundCorner:_119.aroundCorner,x:_120,y:_121,w:_122,h:_123,overflow:_11b,spaceAvailable:_11c};}return !_11b;});if(best.overflow&&_117){_117(node,best.aroundCorner,best.corner,best.spaceAvailable,_118);}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,_124,_125,_126){_124=dojo.byId(_124);var _127=dojo.position(_124,true);return dijit._placeOnScreenAroundRect(node,_127.x,_127.y,_127.w,_127.h,_125,_126);};dijit.placeOnScreenAroundRectangle=function(node,_128,_129,_12a){return dijit._placeOnScreenAroundRect(node,_128.x,_128.y,_128.width,_128.height,_129,_12a);};dijit._placeOnScreenAroundRect=function(node,x,y,_12b,_12c,_12d,_12e){var _12f=[];for(var _130 in _12d){_12f.push({aroundCorner:_130,corner:_12d[_130],pos:{x:x+(_130.charAt(1)=="L"?0:_12b),y:y+(_130.charAt(0)=="T"?0:_12c)}});}return dijit._place(node,_12f,_12e,{w:_12b,h:_12c});};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,_131,_132,_133){return dijit.placementRegistry.match.apply(dijit.placementRegistry,arguments);};dijit.getPopupAroundAlignment=function(_134,_135){var _136={};dojo.forEach(_134,function(pos){switch(pos){case "after":_136[_135?"BR":"BL"]=_135?"BL":"BR";break;case "before":_136[_135?"BL":"BR"]=_135?"BR":"BL";break;case "below-alt":_135=!_135;case "below":_136[_135?"BL":"BR"]=_135?"TL":"TR";_136[_135?"BR":"BL"]=_135?"TR":"TL";break;case "above-alt":_135=!_135;case "above":default:_136[_135?"TL":"TR"]=_135?"BL":"BR";_136[_135?"TR":"TL"]=_135?"BR":"BL";break;}});return _136;};}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(_137){var node=_137.domNode||_137,_138=_137.declaredClass?_137._popupWrapper:node.parentNode&&dojo.hasClass(node.parentNode,"dijitPopup")?node.parentNode:null;if(!_138){_138=dojo.create("div",{"class":"dijitPopup",style:{display:"none"},role:"presentation"},dojo.body());_138.appendChild(node);var s=node.style;s.display="";s.visibility="";s.position="";s.top="0px";if(_137.declaredClass){_137._popupWrapper=_138;dojo.connect(_137,"destroy",function(){dojo.destroy(_138);delete _137._popupWrapper;});}}return _138;},moveOffScreen:function(_139){var _13a=this._createWrapper(_139);dojo.style(_13a,{visibility:"hidden",top:"-9999px",display:""});},hide:function(_13b){var _13c=this._createWrapper(_13b);dojo.style(_13c,"display","none");},getTopPopup:function(){var _13d=this._stack;for(var pi=_13d.length-1;pi>0&&_13d[pi].parent===_13d[pi-1].widget;pi--){}return _13d[pi];},open:function(args){var _13e=this._stack,_13f=args.popup,_140=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"}),_141=args.around,id=(args.around&&args.around.id)?(args.around.id+"_dropdown"):("popup_"+this._idGen++);while(_13e.length&&(!args.parent||!dojo.isDescendant(args.parent.domNode,_13e[_13e.length-1].widget.domNode))){dijit.popup.close(_13e[_13e.length-1].widget);}var _142=this._createWrapper(_13f);dojo.attr(_142,{id:id,style:{zIndex:this._beginZIndex+_13e.length},"class":"dijitPopup "+(_13f.baseClass||_13f["class"]||"").split(" ")[0]+"Popup",dijitPopupParent:args.parent?args.parent.id:""});if(dojo.isIE||dojo.isMoz){if(!_13f.bgIframe){_13f.bgIframe=new dijit.BackgroundIframe(_142);}}var best=_141?dijit.placeOnScreenAroundElement(_142,_141,_140,_13f.orient?dojo.hitch(_13f,"orient"):null):dijit.placeOnScreen(_142,args,_140=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],args.padding);_142.style.display="";_142.style.visibility="visible";_13f.domNode.style.visibility="visible";var _143=[];_143.push(dojo.connect(_142,"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 _144=this.getTopPopup();if(_144&&_144.onCancel){_144.onCancel();}}}}));if(_13f.onCancel){_143.push(dojo.connect(_13f,"onCancel",args.onCancel));}_143.push(dojo.connect(_13f,_13f.onExecute?"onExecute":"onChange",this,function(){var _145=this.getTopPopup();if(_145&&_145.onExecute){_145.onExecute();}}));_13e.push({widget:_13f,parent:args.parent,onExecute:args.onExecute,onCancel:args.onCancel,onClose:args.onClose,handlers:_143});if(_13f.onOpen){_13f.onOpen(best);}return best;},close:function(_146){var _147=this._stack;while((_146&&dojo.some(_147,function(elem){return elem.widget==_146;}))||(!_146&&_147.length)){var top=_147.pop(),_148=top.widget,_149=top.onClose;if(_148.onClose){_148.onClose();}dojo.forEach(top.handlers,dojo.disconnect);if(_148&&_148.domNode){this.hide(_148);}if(_149){_149();}}}};dijit._frames=new function(){var _14a=[];this.pop=function(){var _14b;if(_14a.length){_14b=_14a.pop();_14b.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\");'>";_14b=dojo.doc.createElement(html);}else{_14b=dojo.create("iframe");_14b.src="javascript:\"\"";_14b.className="dijitBackgroundIframe";dojo.style(_14b,"opacity",0.1);}_14b.tabIndex=-1;dijit.setWaiRole(_14b,"presentation");}return _14b;};this.push=function(_14c){_14c.style.display="none";_14a.push(_14c);};}();dijit.BackgroundIframe=function(node){if(!node.id){throw new Error("no id");}if(dojo.isIE||dojo.isMoz){var _14d=(this.iframe=dijit._frames.pop());node.appendChild(_14d);if(dojo.isIE<7||dojo.isQuirks){this.resize(node);this._conn=dojo.connect(node,"onresize",this,function(){this.resize(node);});}else{dojo.style(_14d,{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,_14e=d.isOpera,maj=Math.floor,ff=d.isFF,_14f=d.boxModel.replace(/-/,""),_150={dj_quirks:d.isQuirks,dj_opera:_14e,dj_khtml:d.isKhtml,dj_webkit:d.isWebKit,dj_safari:d.isSafari,dj_chrome:d.isChrome,dj_gecko:d.isMozilla};if(ie){_150["dj_ie"]=true;_150["dj_ie"+maj(ie)]=true;_150["dj_iequirks"]=d.isQuirks;}if(ff){_150["dj_ff"+maj(ff)]=true;}_150["dj_"+_14f]=true;var _151="";for(var clz in _150){if(_150[clz]){_151+=clz+" ";}}html.className=d.trim(html.className+" "+_151);dojo._loaders.unshift(function(){if(!dojo._isBodyLtr()){var _152="dj_rtl dijitRtl "+_151.replace(/ /g,"-rtl ");html.className=d.trim(html.className+" "+_152);}});})();}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,_153,node,_154,obj,_155,_156,_157){if(obj!=this._obj){this.stop();this._initialDelay=_156||500;this._subsequentDelay=_155||0.9;this._minDelay=_157||10;this._obj=obj;this._evt=evt;this._node=node;this._currentTimeout=-1;this._count=-1;this._callback=dojo.hitch(_153,_154);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,_158,_159,_15a,_15b,_15c,_15d){if(_158.keyCode){_158.charOrCode=_158.keyCode;dojo.deprecated("keyCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}else{if(_158.charCode){_158.charOrCode=String.fromCharCode(_158.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==_158.charOrCode&&(_158.ctrlKey===undefined||_158.ctrlKey==evt.ctrlKey)&&(_158.altKey===undefined||_158.altKey==evt.altKey)&&(_158.metaKey===undefined||_158.metaKey==(evt.metaKey||false))&&(_158.shiftKey===undefined||_158.shiftKey==evt.shiftKey)){dojo.stopEvent(evt);dijit.typematic.trigger(evt,_159,node,_15a,_158,_15b,_15c,_15d);}else{if(dijit.typematic._obj==_158){dijit.typematic.stop();}}}),dojo.connect(node,"onkeyup",this,function(evt){if(dijit.typematic._obj==_158){dijit.typematic.stop();}})];},addMouseListener:function(node,_15e,_15f,_160,_161,_162){var dc=dojo.connect;return [dc(node,"mousedown",this,function(evt){dojo.stopEvent(evt);dijit.typematic.trigger(evt,_15e,node,_15f,node,_160,_161,_162);}),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,_15e,node,_15f,node,_160,_161,_162);setTimeout(dojo.hitch(this,dijit.typematic.stop),50);}})];},addListener:function(_163,_164,_165,_166,_167,_168,_169,_16a){return this.addKeyListener(_164,_165,_166,_167,_168,_169,_16a).concat(this.addMouseListener(_163,_166,_167,_168,_169,_16a));}};}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 _16b=cs.backgroundImage;var _16c=(cs.borderTopColor==cs.borderRightColor)||(_16b!=null&&(_16b=="none"||_16b=="url(invalid-url:)"));dojo[_16c?"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 _16d=this.getWaiRole(elem);return role?(_16d.indexOf(role)>-1):(_16d.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 _16e=dojo.attr(elem,"role");if(!_16e){return;}if(role){var t=dojo.trim((" "+_16e+" ").replace(" "+role+" "," "));dojo.attr(elem,"role",t);}else{elem.removeAttribute("role");}},hasWaiState:function(elem,_16f){return elem.hasAttribute?elem.hasAttribute("aria-"+_16f):!!elem.getAttribute("aria-"+_16f);},getWaiState:function(elem,_170){return elem.getAttribute("aria-"+_170)||"";},setWaiState:function(elem,_171,_172){elem.setAttribute("aria-"+_171,_172);},removeWaiState:function(elem,_173){elem.removeAttribute("aria-"+_173);}});}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(_174,_175){if(_174&&dojo.isFunction(_174._onConnect)){_174._onConnect(_175);}});dijit._connectOnUseEventHandler=function(_176){};dijit._lastKeyDownNode=null;if(dojo.isIE){(function(){var _177=function(evt){dijit._lastKeyDownNode=evt.srcElement;};dojo.doc.attachEvent("onkeydown",_177);dojo.addOnWindowUnload(function(){dojo.doc.detachEvent("onkeydown",_177);});})();}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(_178,_179){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(_17a){if(_17a in this._deferredConnects){var _17b=this[this._deferredConnects[_17a]||"domNode"];this.connect(_17b,_17a.toLowerCase(),_17a);delete this._deferredConnects[_17a];}},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,_17c){dojo.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0");this.set(attr,_17c);},attr:function(name,_17d){if(dojo.config.isDebug){var _17e=arguments.callee._ach||(arguments.callee._ach={}),_17f=(arguments.callee.caller||"unknown caller").toString();if(!_17e[_17f]){dojo.deprecated(this.declaredClass+"::attr() is deprecated. Use get() or set() instead, called from "+_17f,"","2.0");_17e[_17f]=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,_180,_181){var d=dojo,dc=d._connect,_182=this.inherited(arguments,[obj,_180=="ondijitclick"?"onclick":_180,_181]);if(_180=="ondijitclick"){if(d.indexOf(this.nodesWithKeyClick,obj.nodeName.toLowerCase())==-1){var m=d.hitch(this,_181);_182.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 _182;},_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(_183,map,_184,_185){_185=_185||dojo.global;_184=_184?dojo.hitch(_185,_184):function(v){return v;};return _183.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_186,key,_187){var _188=dojo.getObject(key,false,map);if(_187){_188=dojo.getObject(_187,false,_185).call(_185,_188,key);}return _184(_188,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(_189,url,_18a){if(typeof _189=="string"){var _18b=dojo.moduleUrl(_189,url);}else{_18b=_189;_18a=url;}var key=_18b.toString();var val=_18a;if(_18a!=undefined&&!dojo.isString(_18a)){val=("value" in _18a?_18a.value:undefined);}var _18c=_18a&&_18a.sanitize?true:false;if(typeof val=="string"){val=cache[key]=_18c?dojo.cache._sanitize(val):val;}else{if(val===null){delete cache[key];}else{if(!(key in cache)){val=dojo._getText(key);cache[key]=_18c?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 _18d=val.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_18d){val=_18d[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 _18e=this.declaredClass,_18f=this;return dojo.string.substitute(tmpl,this,function(_190,key){if(key.charAt(0)=="!"){_190=dojo.getObject(key.substr(1),false,_18f);}if(typeof _190=="undefined"){throw new Error(_18e+" template:"+key);}if(_190==null){return "";}return key.charAt(0)=="!"?_190:_190.toString().replace(/"/g,"&quot;");},this);},buildRendering:function(){var _191=dijit._Templated.getCachedTemplate(this.templatePath,this.templateString,this._skipNodeCache);var node;if(dojo.isString(_191)){node=dojo._toDom(this._stringRepl(_191));if(node.nodeType!=1){throw new Error("Invalid template: "+_191);}}else{node=_191.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(_192){var dest=this.containerNode;if(_192&&dest){while(_192.hasChildNodes()){dest.appendChild(_192.firstChild);}}},_attachTemplateNodes:function(_193,_194){_194=_194||function(n,p){return n.getAttribute(p);};var _195=dojo.isArray(_193)?_193:(_193.all||_193.getElementsByTagName("*"));var x=dojo.isArray(_193)?0:-1;for(;x<_195.length;x++){var _196=(x==-1)?_193:_195[x];if(this.widgetsInTemplate&&(_194(_196,"dojoType")||_194(_196,"data-dojo-type"))){continue;}var _197=_194(_196,"dojoAttachPoint")||_194(_196,"data-dojo-attach-point");if(_197){var _198,_199=_197.split(/\s*,\s*/);while((_198=_199.shift())){if(dojo.isArray(this[_198])){this[_198].push(_196);}else{this[_198]=_196;}this._attachPoints.push(_198);}}var _19a=_194(_196,"dojoAttachEvent")||_194(_196,"data-dojo-attach-event");if(_19a){var _19b,_19c=_19a.split(/\s*,\s*/);var trim=dojo.trim;while((_19b=_19c.shift())){if(_19b){var _19d=null;if(_19b.indexOf(":")!=-1){var _19e=_19b.split(":");_19b=trim(_19e[0]);_19d=trim(_19e[1]);}else{_19b=trim(_19b);}if(!_19d){_19d=_19b;}this._attachEvents.push(this.connect(_196,_19b,_19d));}}}var role=_194(_196,"waiRole");if(role){dijit.setWaiRole(_196,role);}var _19f=_194(_196,"waiState");if(_19f){dojo.forEach(_19f.split(/\s*,\s*/),function(_1a0){if(_1a0.indexOf("-")!=-1){var pair=_1a0.split("-");dijit.setWaiState(_196,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(_1a1){delete this[_1a1];},this);this._attachPoints=[];dojo.forEach(this._attachEvents,this.disconnect,this);this._attachEvents=[];this.inherited(arguments);}});dijit._Templated._templateCache={};dijit._Templated.getCachedTemplate=function(_1a2,_1a3,_1a4){var _1a5=dijit._Templated._templateCache;var key=_1a3||_1a2;var _1a6=_1a5[key];if(_1a6){try{if(!_1a6.ownerDocument||_1a6.ownerDocument==dojo.doc){return _1a6;}}catch(e){}dojo.destroy(_1a6);}if(!_1a3){_1a3=dojo.cache(_1a2,{sanitize:true});}_1a3=dojo.string.trim(_1a3);if(_1a4||_1a3.match(/\$\{([^\}]+)\}/g)){return (_1a5[key]=_1a3);}else{var node=dojo._toDom(_1a3);if(node.nodeType!=1){throw new Error("Invalid template: "+_1a3);}return (_1a5[key]=node);}};if(dojo.isIE){dojo.addOnWindowUnload(function(){var _1a7=dijit._Templated._templateCache;for(var key in _1a7){var _1a8=_1a7[key];if(typeof _1a8=="object"){dojo.destroy(_1a8);}delete _1a7[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(_1a9){if(!this.disabled){switch(_1a9.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 _1aa=this.connect(dojo.body(),"onmouseup",function(){this._mouseDown=false;this._set("active",false);this.disconnect(_1aa);});break;}}},_setStateClass:function(){var _1ab=this.baseClass.split(" ");function _1ac(_1ad){_1ab=_1ab.concat(dojo.map(_1ab,function(c){return c+_1ad;}),"dijit"+_1ad);};if(!this.isLeftToRight()){_1ac("Rtl");}if(this.checked){_1ac("Checked");}if(this.state){_1ac(this.state);}if(this.selected){_1ac("Selected");}if(this.disabled){_1ac("Disabled");}else{if(this.readOnly){_1ac("ReadOnly");}else{if(this.active){_1ac("Active");}else{if(this.hovering){_1ac("Hover");}}}}if(this._focused){_1ac("Focused");}var tn=this.stateNode||this.domNode,_1ae={};dojo.forEach(tn.className.split(" "),function(c){_1ae[c]=true;});if("_stateClasses" in this){dojo.forEach(this._stateClasses,function(c){delete _1ae[c];});}dojo.forEach(_1ab,function(c){_1ae[c]=true;});var _1af=[];for(var c in _1ae){_1af.push(c);}tn.className=_1af.join(" ");this._stateClasses=_1ab;},_trackMouseState:function(node,_1b0){var _1b1=false,_1b2=false,_1b3=false;var self=this,cn=dojo.hitch(this,"connect",node);function _1b4(){var _1b5=("disabled" in self&&self.disabled)||("readonly" in self&&self.readonly);dojo.toggleClass(node,_1b0+"Hover",_1b1&&!_1b2&&!_1b5);dojo.toggleClass(node,_1b0+"Active",_1b2&&!_1b5);dojo.toggleClass(node,_1b0+"Focused",_1b3&&!_1b5);};cn("onmouseenter",function(){_1b1=true;_1b4();});cn("onmouseleave",function(){_1b1=false;_1b2=false;_1b4();});cn("onmousedown",function(){_1b2=true;_1b4();});cn("onmouseup",function(){_1b2=false;_1b4();});cn("onfocus",function(){_1b3=true;_1b4();});cn("onblur",function(){_1b3=false;_1b4();});this.watch("disabled",_1b4);this.watch("readOnly",_1b4);}});}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(_1b6){this._set("disabled",_1b6);dojo.attr(this.focusNode,"disabled",_1b6);if(this.valueNode){dojo.attr(this.valueNode,"disabled",_1b6);}dijit.setWaiState(this.focusNode,"disabled",_1b6);if(_1b6){this._set("hovering",false);this._set("active",false);var _1b7="tabIndex" in this.attributeMap?this.attributeMap.tabIndex:"focusNode";dojo.forEach(dojo.isArray(_1b7)?_1b7:[_1b7],function(_1b8){var node=this[_1b8];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(_1b9){dojo.deprecated("setDisabled("+_1b9+") is deprecated. Use set('disabled',"+_1b9+") instead.","","2.0");this.set("disabled",_1b9);},_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(_1ba){},_onChangeActive:false,_handleOnChange:function(_1bb,_1bc){if(this._lastValueReported==undefined&&(_1bc===null||!this._onChangeActive)){this._resetValue=this._lastValueReported=_1bb;}this._pendingOnChange=this._pendingOnChange||(typeof _1bb!=typeof this._lastValueReported)||(this.compare(_1bb,this._lastValueReported)!=0);if((this.intermediateChanges||_1bc||_1bc===undefined)&&this._pendingOnChange){this._lastValueReported=_1bb;this._pendingOnChange=false;if(this._onChangeActive){if(this._onChangeHandle){clearTimeout(this._onChangeHandle);}this._onChangeHandle=setTimeout(dojo.hitch(this,function(){this._onChangeHandle=null;this.onChange(_1bb);}),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(_1bd){dojo.deprecated("dijit.form._FormWidget:setValue("+_1bd+") is deprecated.  Use set('value',"+_1bd+") instead.","","2.0");this.set("value",_1bd);},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 _1be=this.connect(dojo.body(),"onmouseup",function(){if(this.isFocusable()){this.focus();}this.disconnect(_1be);});}}});dojo.declare("dijit.form._FormValueWidget",dijit.form._FormWidget,{readOnly:false,attributeMap:dojo.delegate(dijit.form._FormWidget.prototype.attributeMap,{value:"",readOnly:"focusNode"}),_setReadOnlyAttr:function(_1bf){dojo.attr(this.focusNode,"readOnly",_1bf);dijit.setWaiState(this.focusNode,"readonly",_1bf);this._set("readOnly",_1bf);},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(_1c0,_1c1){this._handleOnChange(_1c0,_1c1);},_handleOnChange:function(_1c2,_1c3){this._set("value",_1c2);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 _1c4=this.domNode;var _1c5=_1c4.parentNode;var _1c6=_1c4.firstChild||_1c4;var _1c7=_1c6.style.filter;var _1c8=this;while(_1c5&&_1c5.clientHeight==0){(function ping(){var _1c9=_1c8.connect(_1c5,"onscroll",function(e){_1c8.disconnect(_1c9);_1c6.style.filter=(new Date()).getMilliseconds();setTimeout(function(){_1c6.style.filter=_1c7;},0);});})();_1c5=_1c5.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(_1ca,_1cb){var _1cc=this.containerNode;if(_1cb&&typeof _1cb=="number"){var _1cd=this.getChildren();if(_1cd&&_1cd.length>=_1cb){_1cc=_1cd[_1cb-1].domNode;_1cb="after";}}dojo.place(_1ca.domNode,_1cc,_1cb);if(this._started&&!_1ca._started){_1ca.startup();}},removeChild:function(_1ce){if(typeof _1ce=="number"){_1ce=this.getChildren()[_1ce];}if(_1ce){var node=_1ce.domNode;if(node&&node.parentNode){node.parentNode.removeChild(node);}}},hasChildren:function(){return this.getChildren().length>0;},destroyDescendants:function(_1cf){dojo.forEach(this.getChildren(),function(_1d0){_1d0.destroyRecursive(_1cf);});},_getSiblingOfChild:function(_1d1,dir){var node=_1d1.domNode,_1d2=(dir>0?"nextSibling":"previousSibling");do{node=node[_1d2];}while(node&&(node.nodeType!=1||!dijit.byNode(node)));return node&&dijit.byNode(node);},getIndexOfChild:function(_1d3){return dojo.indexOf(this.getChildren(),_1d3);},startup:function(){if(this._started){return;}dojo.forEach(this.getChildren(),function(_1d4){_1d4.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 _1d5=this.dropDown,_1d6=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&&!_1d6){if(dojo.hasClass(t,"dijitPopup")){_1d6=true;}else{t=t.parentNode;}}if(_1d6){t=e.target;if(_1d5.onItemClick){var _1d7;while(t&&!(_1d7=dijit.byNode(t))){t=t.parentNode;}if(_1d7&&_1d7.onClick&&_1d7.getParent){_1d7.getParent().onItemClick(_1d7,e);}}return;}}}if(this._opened&&_1d5.focus&&_1d5.autoFocus!==false){window.setTimeout(dojo.hitch(_1d5,"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 _1d8={"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"+_1d8+"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,_1d9=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==" ")&&((_1d9.tagName||"").toLowerCase()!=="input"||(_1d9.type&&_1d9.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 _1da=dijit._curFocus&&this.dropDown&&dojo.isDescendant(dijit._curFocus,this.dropDown.domNode);this.closeDropDown(_1da);this.inherited(arguments);},isLoaded:function(){return true;},loadDropDown:function(_1db){_1db();},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 _1dc=this.dropDown,_1dd=_1dc.domNode,_1de=this._aroundNode||this.domNode,self=this;if(!this._preparedNode){this._preparedNode=true;if(_1dd.style.width){this._explicitDDWidth=true;}if(_1dd.style.height){this._explicitDDHeight=true;}}if(this.maxHeight||this.forceWidth||this.autoWidth){var _1df={display:"",visibility:"hidden"};if(!this._explicitDDWidth){_1df.width="";}if(!this._explicitDDHeight){_1df.height="";}dojo.style(_1dd,_1df);var _1e0=this.maxHeight;if(_1e0==-1){var _1e1=dojo.window.getBox(),_1e2=dojo.position(_1de,false);_1e0=Math.floor(Math.max(_1e2.y,_1e1.h-(_1e2.y+_1e2.h)));}if(_1dc.startup&&!_1dc._started){_1dc.startup();}dijit.popup.moveOffScreen(_1dc);var mb=dojo._getMarginSize(_1dd);var _1e3=(_1e0&&mb.h>_1e0);dojo.style(_1dd,{overflowX:"hidden",overflowY:_1e3?"auto":"hidden"});if(_1e3){mb.h=_1e0;if("w" in mb){mb.w+=16;}}else{delete mb.h;}if(this.forceWidth){mb.w=_1de.offsetWidth;}else{if(this.autoWidth){mb.w=Math.max(mb.w,_1de.offsetWidth);}else{delete mb.w;}}if(dojo.isFunction(_1dc.resize)){_1dc.resize(mb);}else{dojo.marginBox(_1dd,mb);}}var _1e4=dijit.popup.open({parent:this,popup:_1dc,around:_1de,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 _1e4;},closeDropDown:function(_1e5){if(this._opened){if(_1e5){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 _1e6=dijit.byNode(node);if(_1e6&&typeof _1e6._onSubmit=="function"){_1e6._onSubmit(e);break;}}}else{if(this.valueNode){this.valueNode.click();e.preventDefault();}}}},buildRendering:function(){this.inherited(arguments);dojo.setSelectable(this.focusNode,false);},_fillContent:function(_1e7){if(_1e7&&(!this.params||!("label" in this.params))){this.set("label",_1e7.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(_1e8){dojo.deprecated("dijit.form.Button.setLabel() is deprecated.  Use set('label', ...) instead.","","2.0");this.set("label",_1e8);},_setLabelAttr:function(_1e9){this._set("label",_1e9);this.containerNode.innerHTML=_1e9;if(this.showLabel==false&&!this.params.title){this.titleNode.title=dojo.trim(this.containerNode.innerText||this.containerNode.textContent||"");}},_setIconClassAttr:function(val){var _1ea=this.iconClass||"dijitNoIcon",_1eb=val||"dijitNoIcon";dojo.replaceClass(this.iconNode,_1eb,_1ea);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 _1ec=dojo.query("*",this.srcNodeRef);dijit.form.DropDownButton.superclass._fillContent.call(this,_1ec[0]);this.dropDownContainer=this.srcNodeRef;}},startup:function(){if(this._started){return;}if(!this.dropDown&&this.dropDownContainer){var _1ed=dojo.query("[widgetId]",this.dropDownContainer)[0];this.dropDown=dijit.byNode(_1ed);delete this.dropDownContainer;}if(this.dropDown){dijit.popup.hide(this.dropDown);}this.inherited(arguments);},isLoaded:function(){var _1ee=this.dropDown;return (!!_1ee&&(!_1ee.href||_1ee.isLoaded));},loadDropDown:function(){var _1ef=this.dropDown;if(!_1ef){return;}if(!this.isLoaded()){var _1f0=dojo.connect(_1ef,"onLoad",this,function(){dojo.disconnect(_1f0);this.openDropDown();});_1ef.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(_1f1){if(!this.disabled){dijit.focus(_1f1=="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(_1f2,_1f3){this._set("checked",_1f2);dojo.attr(this.focusNode||this.domNode,"checked",_1f2);dijit.setWaiState(this.focusNode||this.domNode,"pressed",_1f2);this._handleOnChange(_1f2,_1f3);},setChecked:function(_1f4){dojo.deprecated("setChecked("+_1f4+") is deprecated. Use set('checked',"+_1f4+") instead.","","2.0");this.set("checked",_1f4);},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(_1f5,_1f6,_1f7){_1f7=dojo.i18n.normalizeLocale(_1f7);var _1f8=_1f7.split("-");var _1f9=[_1f5,"nls",_1f6].join(".");var _1fa=dojo._loadedModules[_1f9];if(_1fa){var _1fb;for(var i=_1f8.length;i>0;i--){var loc=_1f8.slice(0,i).join("_");if(_1fa[loc]){_1fb=_1fa[loc];break;}}if(!_1fb){_1fb=_1fa.ROOT;}if(_1fb){var _1fc=function(){};_1fc.prototype=_1fb;return new _1fc();}}throw new Error("Bundle not found: "+_1f6+" in "+_1f5+" , locale="+_1f7);};dojo.i18n.normalizeLocale=function(_1fd){var _1fe=(_1fd?_1fd:dojo.locale).toLowerCase();if(_1fe=="root"){_1fe="ROOT";}return _1fe;};dojo.i18n._requireLocalization=function(_1ff,_200,_201,_202){var _203=dojo.i18n.normalizeLocale(_201);var _204=[_1ff,"nls",_200].join(".");var _205="";if(_202){var _206=_202.split(",");for(var i=0;i<_206.length;i++){if(_203["indexOf"](_206[i])==0){if(_206[i].length>_205.length){_205=_206[i];}}}if(!_205){_205="ROOT";}}var _207=_202?_205:_203;var _208=dojo._loadedModules[_204];var _209=null;if(_208){if(dojo.config.localizationComplete&&_208._built){return;}var _20a=_207.replace(/-/g,"_");var _20b=_204+"."+_20a;_209=dojo._loadedModules[_20b];}if(!_209){_208=dojo["provide"](_204);var syms=dojo._getModuleSymbols(_1ff);var _20c=syms.concat("nls").join("/");var _20d;dojo.i18n._searchLocalePath(_207,_202,function(loc){var _20e=loc.replace(/-/g,"_");var _20f=_204+"."+_20e;var _210=false;if(!dojo._loadedModules[_20f]){dojo["provide"](_20f);var _211=[_20c];if(loc!="ROOT"){_211.push(loc);}_211.push(_200);var _212=_211.join("/")+".js";_210=dojo._loadPath(_212,null,function(hash){hash=hash.root||hash;var _213=function(){};_213.prototype=_20d;_208[_20e]=new _213();for(var j in hash){_208[_20e][j]=hash[j];}});}else{_210=true;}if(_210&&_208[_20e]){_20d=_208[_20e];}else{_208[_20e]=_20d;}if(_202){return true;}});}if(_202&&_203!=_205){_208[_203.replace(/-/g,"_")]=_208[_205.replace(/-/g,"_")];}};(function(){var _214=dojo.config.extraLocale;if(_214){if(!_214 instanceof Array){_214=[_214];}var req=dojo.i18n._requireLocalization;dojo.i18n._requireLocalization=function(m,b,_215,_216){req(m,b,_215,_216);if(_215){return;}for(var i=0;i<_214.length;i++){req(m,b,_214[i],_216);}};}})();dojo.i18n._searchLocalePath=function(_217,down,_218){_217=dojo.i18n.normalizeLocale(_217);var _219=_217.split("-");var _21a=[];for(var i=_219.length;i>0;i--){_21a.push(_219.slice(0,i).join("-"));}_21a.push(false);if(down){_21a.reverse();}for(var j=_21a.length-1;j>=0;j--){var loc=_21a[j]||"ROOT";var stop=_218(loc);if(stop){break;}}};dojo.i18n._preloadLocalizations=function(_21b,_21c){function _21d(_21e){_21e=dojo.i18n.normalizeLocale(_21e);dojo.i18n._searchLocalePath(_21e,true,function(loc){for(var i=0;i<_21c.length;i++){if(_21c[i]==loc){dojo["require"](_21b+"_"+loc);return true;}}return false;});};_21d();var _21f=dojo.config.extraLocale||[];for(var i=0;i<_21f.length;i++){_21d(_21f[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(_220,_221,_222){var _223;if(_220!==undefined){_223=this.filter(_220);if(typeof _222!="string"){if(_223!==null&&((typeof _223!="number")||!isNaN(_223))){_222=this.filter(this.format(_223,this.constraints));}else{_222="";}}}if(_222!=null&&_222!=undefined&&((typeof _222)!="number"||!isNaN(_222))&&this.textbox.value!=_222){this.textbox.value=_222;this._set("displayedValue",this.get("displayedValue"));}this._updatePlaceHolder();this.inherited(arguments,[_223,_221]);},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(_224){dojo.deprecated(this.declaredClass+"::setDisplayedValue() is deprecated. Use set('displayedValue', ...) instead.","","2.0");this.set("displayedValue",_224);},_setDisplayedValueAttr:function(_225){if(_225===null||_225===undefined){_225="";}else{if(typeof _225!="string"){_225=String(_225);}}this.textbox.value=_225;this._setValueAttr(this.get("value"),undefined);this._set("displayedValue",this.get("displayedValue"));},format:function(_226,_227){return ((_226==null||_226==undefined)?"":(_226.toString?_226.toString():_226));},parse:function(_228,_229){return _228;},_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 _22a=this;setTimeout(function(){_22a._handleOnChange(_22a.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 _22b=this.domNode.getElementsByTagName("INPUT");if(_22b){for(var i=0;i<_22b.length;i++){_22b[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 _22c;if(dojo.isIE){var _22d=dojo.doc.selection.createRange();var _22e=_22d.parentElement();_22c=_22e==this.textbox&&_22d.text.length==0;}else{_22c=this.textbox.selectionStart==this.textbox.selectionEnd;}if(_22c){dijit.selectInputText(this.textbox);}});}this._updatePlaceHolder();this.inherited(arguments);this._refreshState();},reset:function(){this.textbox.value="";this.inherited(arguments);}});dijit.selectInputText=function(_22f,_230,stop){var _231=dojo.global;var _232=dojo.doc;_22f=dojo.byId(_22f);if(isNaN(_230)){_230=0;}if(isNaN(stop)){stop=_22f.value?_22f.value.length:0;}dijit.focus(_22f);if(_232["selection"]&&dojo.body()["createTextRange"]){if(_22f.createTextRange){var r=_22f.createTextRange();r.collapse(true);r.moveStart("character",-99999);r.moveStart("character",_230);r.moveEnd("character",stop-_230);r.select();}}else{if(_231["getSelection"]){if(_22f.setSelectionRange){_22f.setSelectionRange(_230,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(_233,_234,_235,rtl){if(this.aroundNode&&this.aroundNode===_234){return;}this.domNode.width="auto";if(this.fadeOut.status()=="playing"){this._onDeck=arguments;return;}this.containerNode.innerHTML=_233;var pos=dijit.placeOnScreenAroundElement(this.domNode,_234,dijit.getPopupAroundAlignment((_235&&_235.length)?_235:dijit.Tooltip.defaultPosition,!rtl),dojo.hitch(this,"orient"));dojo.style(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=true;this.aroundNode=_234;},orient:function(node,_236,_237,_238,_239){this.connectorNode.style.top="";var _23a=_238.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"}[_236+"-"+_237];this.domNode.style.width="auto";var size=dojo.contentBox(this.domNode);var _23b=Math.min((Math.max(_23a,1)),size.w);var _23c=_23b<size.w;this.domNode.style.width=_23b+"px";if(_23c){this.containerNode.style.overflow="auto";var _23d=this.containerNode.scrollWidth;this.containerNode.style.overflow="visible";if(_23d>_23b){_23d=_23d+dojo.style(this.domNode,"paddingLeft")+dojo.style(this.domNode,"paddingRight");this.domNode.style.width=_23d+"px";}}if(_237.charAt(0)=="B"&&_236.charAt(0)=="B"){var mb=dojo.marginBox(node);var _23e=this.connectorNode.offsetHeight;if(mb.h>_238.h){var _23f=_238.h-(_239.h/2)-(_23e/2);this.connectorNode.style.top=_23f+"px";this.connectorNode.style.bottom="";}else{this.connectorNode.style.bottom=Math.min(Math.max(_239.h/2-_23e/2,0),mb.h-_23e)+"px";this.connectorNode.style.top="";}}else{this.connectorNode.style.top="";this.connectorNode.style.bottom="";}return Math.max(0,size.w-_23a);},_onShow:function(){if(dojo.isIE){this.domNode.style.filter="";}},hide:function(_240){if(this._onDeck&&this._onDeck[1]==_240){this._onDeck=null;}else{if(this.aroundNode===_240){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(_241,_242,_243,rtl){if(!dijit._masterTT){dijit._masterTT=new dijit._MasterTooltip();}return dijit._masterTT.show(_241,_242,_243,rtl);};dijit.hideTooltip=function(_244){if(!dijit._masterTT){dijit._masterTT=new dijit._MasterTooltip();}return dijit._masterTT.hide(_244);};dojo.declare("dijit.Tooltip",dijit._Widget,{label:"",showDelay:400,connectId:[],position:[],_setConnectIdAttr:function(_245){dojo.forEach(this._connections||[],function(_246){dojo.forEach(_246,dojo.hitch(this,"disconnect"));},this);var ary=dojo.isArrayLike(_245)?_245:(_245?[_245]:[]);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",_245);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 _247=e.target;this._showTimer=setTimeout(dojo.hitch(this,function(){this.open(_247);}),this.showDelay);}},_onUnHover:function(e){if(this._focus){return;}if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}this.close();},open:function(_248){if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}dijit.showTooltip(this.label||this.domNode.innerHTML,_248,this.position,!this.isLeftToRight());this._connectNode=_248;this.onShow(_248,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(_249,_24a){},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(_24b){return this.regExp;},state:"",tooltipPosition:[],_setValueAttr:function(){this.inherited(arguments);this.validate(this._focused);},validator:function(_24c,_24d){return (new RegExp("^(?:"+this.regExpGen(_24d)+")"+(this.required?"":"?")+"$")).test(_24c)&&(!this.required||!this._isEmpty(_24c))&&(this._isEmpty(_24c)||this.parse(_24c,_24d)!==undefined);},_isValidSubset:function(){return this.textbox.value.search(this._partialre)==0;},isValid:function(_24e){return this.validator(this.textbox.value,this.constraints);},_isEmpty:function(_24f){return (this.trim?/^\s*$/:/^$/).test(_24f);},getErrorMessage:function(_250){return (this.required&&this._isEmpty(this.textbox.value))?this.missingMessage:this.invalidMessage;},getPromptMessage:function(_251){return this.promptMessage;},_maskValidSubsetError:true,validate:function(_252){var _253="";var _254=this.disabled||this.isValid(_252);if(_254){this._maskValidSubsetError=true;}var _255=this._isEmpty(this.textbox.value);var _256=!_254&&_252&&this._isValidSubset();this._set("state",_254?"":(((((!this._hasBeenBlurred||_252)&&_255)||_256)&&this._maskValidSubsetError)?"Incomplete":"Error"));dijit.setWaiState(this.focusNode,"invalid",_254?"false":"true");if(this.state=="Error"){this._maskValidSubsetError=_252&&_256;_253=this.getErrorMessage(_252);}else{if(this.state=="Incomplete"){_253=this.getPromptMessage(_252);this._maskValidSubsetError=!this._hasBeenBlurred||_252;}else{if(_255){_253=this.getPromptMessage(_252);}}}this.set("message",_253);return _254;},displayMessage:function(_257){dijit.hideTooltip(this.domNode);if(_257&&this._focused){dijit.showTooltip(_257,this.domNode,this.tooltipPosition,!this.isLeftToRight());}},_refreshState:function(){this.validate(this._focused);this.inherited(arguments);},constructor:function(){this.constraints={};},_setConstraintsAttr:function(_258){if(!_258.locale&&this.lang){_258.locale=this.lang;}this._set("constraints",_258);this._computePartialRE();},_computePartialRE:function(){var p=this.regExpGen(this.constraints);this.regExp=p;var _259="";if(p!=".*"){this.regExp.replace(/\\.|\[\]|\[.*?[^\\]{1}\]|\{.*?\}|\(\?[=:!]|./g,function(re){switch(re.charAt(0)){case "{":case "+":case "?":case "*":case "^":case "$":case "|":case "(":_259+=re;break;case ")":_259+="|$)";break;default:_259+="(?:"+re+"|$)";break;}});}try{"".search(_259);}catch(e){_259=this.regExp;console.warn("RegExp error in "+this.declaredClass+": "+this.regExp);}this._partialre="^(?:"+_259+")$";},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(_25a){this.inherited(arguments);this._refreshState();},_setRequiredAttr:function(_25b){this._set("required",_25b);dijit.setWaiState(this.focusNode,"required",_25b);this._refreshState();},_setMessageAttr:function(_25c){this._set("message",_25c);this.displayMessage(_25c);},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,_25d){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(_25e,_25f){return ("min" in _25f?(this.compare(_25e,_25f.min)>=0):true)&&("max" in _25f?(this.compare(_25e,_25f.max)<=0):true);},isInRange:function(_260){return this.rangeCheck(this.get("value"),this.constraints);},_isDefinitelyOutOfRange:function(){var val=this.get("value");var _261=false;var _262=false;if("min" in this.constraints){var min=this.constraints.min;min=this.compare(val,((typeof min=="number")&&min>=0&&val!=0)?0:min);_261=(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);_262=(typeof max=="number")&&max>0;}return _261||_262;},_isValidSubset:function(){return this.inherited(arguments)&&!this._isDefinitelyOutOfRange();},isValid:function(_263){return this.inherited(arguments)&&((this._isEmpty(this.textbox.value)&&!this.required)||this.isInRange(_263));},getErrorMessage:function(_264){var v=this.get("value");if(v!==null&&v!==""&&v!==undefined&&(typeof v!="number"||!isNaN(v))&&!this.isInRange(_264)){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(_265){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(_266,_267){dijit.setWaiState(this.focusNode,"valuenow",_266);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,_268){return val;},_arrowPressed:function(_269,_26a,_26b){if(this.disabled||this.readOnly){return;}this._setValueAttr(this.adjust(this.get("value"),_26a*_26b),false);dijit.selectInputText(this.textbox,this.textbox.value.length);},_arrowReleased:function(node){this._wheelTimer=null;if(this.disabled||this.readOnly){return;}},_typematicCallback:function(_26c,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(_26c==-1){this._arrowReleased(node);}else{this._arrowPressed(node,(node==this.upArrowNode)?1:-1,inc);}},_wheelTimer:null,_mouseWheeled:function(evt){dojo.stopEvent(evt);var _26d=evt.detail?(evt.detail*-1):(evt.wheelDelta/120);if(_26d!==0){var node=this[(_26d>0?"upArrowNode":"downArrowNode")];this._arrowPressed(node,_26d,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,_26e){return str.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(ch){if(_26e&&_26e.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};dojo.regexp.buildGroupRE=function(arr,re,_26f){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("|"),_26f);};dojo.regexp.group=function(_270,_271){return "("+(_271?"?:":"")+_270+")";};}if(!dojo._hasResource["dojo.number"]){dojo._hasResource["dojo.number"]=true;dojo.provide("dojo.number");dojo.getObject("number",true,dojo);dojo.number.format=function(_272,_273){_273=dojo.mixin({},_273||{});var _274=dojo.i18n.normalizeLocale(_273.locale),_275=dojo.i18n.getLocalization("dojo.cldr","number",_274);_273.customs=_275;var _276=_273.pattern||_275[(_273.type||"decimal")+"Format"];if(isNaN(_272)||Math.abs(_272)==Infinity){return null;}return dojo.number._applyPattern(_272,_276,_273);};dojo.number._numberPatternRE=/[#0,]*[#0](?:\.0*#*)?/;dojo.number._applyPattern=function(_277,_278,_279){_279=_279||{};var _27a=_279.customs.group,_27b=_279.customs.decimal,_27c=_278.split(";"),_27d=_27c[0];_278=_27c[(_277<0)?1:0]||("-"+_27d);if(_278.indexOf("%")!=-1){_277*=100;}else{if(_278.indexOf("‰")!=-1){_277*=1000;}else{if(_278.indexOf("¤")!=-1){_27a=_279.customs.currencyGroup||_27a;_27b=_279.customs.currencyDecimal||_27b;_278=_278.replace(/\u00a4{1,3}/,function(_27e){var prop=["symbol","currency","displayName"][_27e.length-1];return _279[prop]||_279.currency||"";});}else{if(_278.indexOf("E")!=-1){throw new Error("exponential notation not supported");}}}}var _27f=dojo.number._numberPatternRE;var _280=_27d.match(_27f);if(!_280){throw new Error("unable to find a number expression in pattern: "+_278);}if(_279.fractional===false){_279.places=0;}return _278.replace(_27f,dojo.number._formatAbsolute(_277,_280[0],{decimal:_27b,group:_27a,places:_279.places,round:_279.round}));};dojo.number.round=function(_281,_282,_283){var _284=10/(_283||10);return (_284*+_281).toFixed(_282)/_284;};if((0.9).toFixed()==0){(function(){var _285=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 _285(v,p,m)+(v>0?d:-d);};})();}dojo.number._formatAbsolute=function(_286,_287,_288){_288=_288||{};if(_288.places===true){_288.places=0;}if(_288.places===Infinity){_288.places=6;}var _289=_287.split("."),_28a=typeof _288.places=="string"&&_288.places.indexOf(","),_28b=_288.places;if(_28a){_28b=_288.places.substring(_28a+1);}else{if(!(_28b>=0)){_28b=(_289[1]||[]).length;}}if(!(_288.round<0)){_286=dojo.number.round(_286,_28b,_288.round);}var _28c=String(Math.abs(_286)).split("."),_28d=_28c[1]||"";if(_289[1]||_288.places){if(_28a){_288.places=_288.places.substring(0,_28a);}var pad=_288.places!==undefined?_288.places:(_289[1]&&_289[1].lastIndexOf("0")+1);if(pad>_28d.length){_28c[1]=dojo.string.pad(_28d,pad,"0",true);}if(_28b<_28d.length){_28c[1]=_28d.substr(0,_28b);}}else{if(_28c[1]){_28c.pop();}}var _28e=_289[0].replace(",","");pad=_28e.indexOf("0");if(pad!=-1){pad=_28e.length-pad;if(pad>_28c[0].length){_28c[0]=dojo.string.pad(_28c[0],pad);}if(_28e.indexOf("#")==-1){_28c[0]=_28c[0].substr(_28c[0].length-pad);}}var _28f=_289[0].lastIndexOf(","),_290,_291;if(_28f!=-1){_290=_289[0].length-_28f-1;var _292=_289[0].substr(0,_28f);_28f=_292.lastIndexOf(",");if(_28f!=-1){_291=_292.length-_28f-1;}}var _293=[];for(var _294=_28c[0];_294;){var off=_294.length-_290;_293.push((off>0)?_294.substr(off):_294);_294=(off>0)?_294.slice(0,off):"";if(_291){_290=_291;delete _291;}}_28c[0]=_293.reverse().join(_288.group||",");return _28c.join(_288.decimal||".");};dojo.number.regexp=function(_295){return dojo.number._parseInfo(_295).regexp;};dojo.number._parseInfo=function(_296){_296=_296||{};var _297=dojo.i18n.normalizeLocale(_296.locale),_298=dojo.i18n.getLocalization("dojo.cldr","number",_297),_299=_296.pattern||_298[(_296.type||"decimal")+"Format"],_29a=_298.group,_29b=_298.decimal,_29c=1;if(_299.indexOf("%")!=-1){_29c/=100;}else{if(_299.indexOf("‰")!=-1){_29c/=1000;}else{var _29d=_299.indexOf("¤")!=-1;if(_29d){_29a=_298.currencyGroup||_29a;_29b=_298.currencyDecimal||_29b;}}}var _29e=_299.split(";");if(_29e.length==1){_29e.push("-"+_29e[0]);}var re=dojo.regexp.buildGroupRE(_29e,function(_29f){_29f="(?:"+dojo.regexp.escapeString(_29f,".")+")";return _29f.replace(dojo.number._numberPatternRE,function(_2a0){var _2a1={signed:false,separator:_296.strict?_29a:[_29a,""],fractional:_296.fractional,decimal:_29b,exponent:false},_2a2=_2a0.split("."),_2a3=_296.places;if(_2a2.length==1&&_29c!=1){_2a2[1]="###";}if(_2a2.length==1||_2a3===0){_2a1.fractional=false;}else{if(_2a3===undefined){_2a3=_296.pattern?_2a2[1].lastIndexOf("0")+1:Infinity;}if(_2a3&&_296.fractional==undefined){_2a1.fractional=true;}if(!_296.places&&(_2a3<_2a2[1].length)){_2a3+=","+_2a2[1].length;}_2a1.places=_2a3;}var _2a4=_2a2[0].split(",");if(_2a4.length>1){_2a1.groupSize=_2a4.pop().length;if(_2a4.length>1){_2a1.groupSize2=_2a4.pop().length;}}return "("+dojo.number._realNumberRegexp(_2a1)+")";});},true);if(_29d){re=re.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/g,function(_2a5,_2a6,_2a7,_2a8){var prop=["symbol","currency","displayName"][_2a7.length-1],_2a9=dojo.regexp.escapeString(_296[prop]||_296.currency||"");_2a6=_2a6?"[\\s\\xa0]":"";_2a8=_2a8?"[\\s\\xa0]":"";if(!_296.strict){if(_2a6){_2a6+="*";}if(_2a8){_2a8+="*";}return "(?:"+_2a6+_2a9+_2a8+")?";}return _2a6+_2a9+_2a8;});}return {regexp:re.replace(/[\xa0 ]/g,"[\\s\\xa0]"),group:_29a,decimal:_29b,factor:_29c};};dojo.number.parse=function(_2aa,_2ab){var info=dojo.number._parseInfo(_2ab),_2ac=(new RegExp("^"+info.regexp+"$")).exec(_2aa);if(!_2ac){return NaN;}var _2ad=_2ac[1];if(!_2ac[1]){if(!_2ac[2]){return NaN;}_2ad=_2ac[2];info.factor*=-1;}_2ad=_2ad.replace(new RegExp("["+info.group+"\\s\\xa0"+"]","g"),"").replace(info.decimal,".");return _2ad*info.factor;};dojo.number._realNumberRegexp=function(_2ae){_2ae=_2ae||{};if(!("places" in _2ae)){_2ae.places=Infinity;}if(typeof _2ae.decimal!="string"){_2ae.decimal=".";}if(!("fractional" in _2ae)||/^0/.test(_2ae.places)){_2ae.fractional=[true,false];}if(!("exponent" in _2ae)){_2ae.exponent=[true,false];}if(!("eSigned" in _2ae)){_2ae.eSigned=[true,false];}var _2af=dojo.number._integerRegexp(_2ae),_2b0=dojo.regexp.buildGroupRE(_2ae.fractional,function(q){var re="";if(q&&(_2ae.places!==0)){re="\\"+_2ae.decimal;if(_2ae.places==Infinity){re="(?:"+re+"\\d+)?";}else{re+="\\d{"+_2ae.places+"}";}}return re;},true);var _2b1=dojo.regexp.buildGroupRE(_2ae.exponent,function(q){if(q){return "([eE]"+dojo.number._integerRegexp({signed:_2ae.eSigned})+")";}return "";});var _2b2=_2af+_2b0;if(_2b0){_2b2="(?:(?:"+_2b2+")|(?:"+_2b0+"))";}return _2b2+_2b1;};dojo.number._integerRegexp=function(_2b3){_2b3=_2b3||{};if(!("signed" in _2b3)){_2b3.signed=[true,false];}if(!("separator" in _2b3)){_2b3.separator="";}else{if(!("groupSize" in _2b3)){_2b3.groupSize=3;}}var _2b4=dojo.regexp.buildGroupRE(_2b3.signed,function(q){return q?"[-+]":"";},true);var _2b5=dojo.regexp.buildGroupRE(_2b3.separator,function(sep){if(!sep){return "(?:\\d+)";}sep=dojo.regexp.escapeString(sep);if(sep==" "){sep="\\s";}else{if(sep==" "){sep="\\s\\xa0";}}var grp=_2b3.groupSize,grp2=_2b3.groupSize2;if(grp2){var _2b6="(?:0|[1-9]\\d{0,"+(grp2-1)+"}(?:["+sep+"]\\d{"+grp2+"})*["+sep+"]\\d{"+grp+"})";return ((grp-grp2)>0)?"(?:"+_2b6+"|(?:0|[1-9]\\d{0,"+(grp-1)+"}))":_2b6;}return "(?:0|[1-9]\\d{0,"+(grp-1)+"}(?:["+sep+"]\\d{"+grp+"})*)";},true);return _2b4+_2b5;};}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(_2b7){var _2b8=typeof _2b7.places=="number"?_2b7.places:0;if(_2b8){_2b8++;}if(typeof _2b7.max!="number"){_2b7.max=9*Math.pow(10,15-_2b8);}if(typeof _2b7.min!="number"){_2b7.min=-9*Math.pow(10,15-_2b8);}this.inherited(arguments,[_2b7]);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 _2b9=this.format(val,this.constraints);if(_2b9!==undefined){this.textbox.value=_2b9;}}this.inherited(arguments);},format:function(_2ba,_2bb){var _2bc=String(_2ba);if(typeof _2ba!="number"){return _2bc;}if(isNaN(_2ba)){return "";}if(!("rangeCheck" in this&&this.rangeCheck(_2ba,_2bb))&&_2bb.exponent!==false&&/\de[-+]?\d/i.test(_2bc)){return _2bc;}if(this.editOptions&&this._focused){_2bb=dojo.mixin({},_2bb,this.editOptions);}return this._formatter(_2ba,_2bb);},_parser:dojo.number.parse,parse:function(_2bd,_2be){var v=this._parser(_2bd,dojo.mixin({},_2be,(this.editOptions&&this._focused)?this.editOptions:{}));if(this.editOptions&&this._focused&&isNaN(v)){v=this._parser(_2bd,_2be);}return v;},_getDisplayedValueAttr:function(){var v=this.inherited(arguments);return isNaN(v)?this.textbox.value:v;},filter:function(_2bf){return (_2bf===null||_2bf===""||_2bf===undefined)?NaN:this.inherited(arguments);},serialize:function(_2c0,_2c1){return (typeof _2c0!="number"||isNaN(_2c0))?"":this.inherited(arguments);},_setBlurValue:function(){var val=dojo.hitch(dojo.mixin({},this,{_focused:true}),"get")("value");this._setValueAttr(val,true);},_setValueAttr:function(_2c2,_2c3,_2c4){if(_2c2!==undefined&&_2c4===undefined){_2c4=String(_2c2);if(typeof _2c2=="number"){if(isNaN(_2c2)){_2c4="";}else{if(("rangeCheck" in this&&this.rangeCheck(_2c2,this.constraints))||this.constraints.exponent===false||!/\de[-+]?\d/i.test(_2c4)){_2c4=undefined;}}}else{if(!_2c2){_2c4="";_2c2=NaN;}else{_2c2=undefined;}}}this.inherited(arguments,[_2c2,_2c3,_2c4]);},_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(_2c5){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,_2c6){var tc=this.constraints,v=isNaN(val),_2c7=!isNaN(tc.max),_2c8=!isNaN(tc.min);if(v&&_2c6!=0){val=(_2c6>0)?_2c8?tc.min:_2c7?tc.max:0:_2c7?this.constraints.max:_2c8?tc.min:0;}var _2c9=val+_2c6;if(v||isNaN(_2c9)){return val;}if(_2c7&&(_2c9>tc.max)){_2c9=tc.max;}if(_2c8&&(_2c9<tc.min)){_2c9=tc.min;}return _2c9;},_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 _2ca=this.constraints[(e.charOrCode==dojo.keys.HOME?"min":"max")];if(typeof _2ca=="number"){this._setValueAttr(_2ca,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(_2cb){var _2cc={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 _2cd=dojo.cldr.supplemental._region(_2cb);var dow=_2cc[_2cd];return (dow===undefined)?1:dow;};dojo.cldr.supplemental._region=function(_2ce){_2ce=dojo.i18n.normalizeLocale(_2ce);var tags=_2ce.split("-");var _2cf=tags[1];if(!_2cf){_2cf={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(_2cf.length==4){_2cf=tags[2];}}return _2cf;};dojo.cldr.supplemental.getWeekend=function(_2d0){var _2d1={"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 _2d2={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 _2d3=dojo.cldr.supplemental._region(_2d0);var _2d4=_2d1[_2d3];var end=_2d2[_2d3];if(_2d4===undefined){_2d4=6;}if(end===undefined){end=0;}return {start:_2d4,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(_2d5){var _2d6=_2d5.getMonth();var days=[31,28,31,30,31,30,31,31,30,31,30,31];if(_2d6==1&&dojo.date.isLeapYear(_2d5)){return 29;}return days[_2d6];};dojo.date.isLeapYear=function(_2d7){var year=_2d7.getFullYear();return !(year%400)||(!(year%4)&&!!(year%100));};dojo.date.getTimezoneName=function(_2d8){var str=_2d8.toString();var tz="";var _2d9;var pos=str.indexOf("(");if(pos>-1){tz=str.substring(++pos,str.indexOf(")"));}else{var pat=/([A-Z\/]+) \d{4}$/;if((_2d9=str.match(pat))){tz=_2d9[1];}else{str=_2d8.toLocaleString();pat=/ ([A-Z\/]+)$/;if((_2d9=str.match(pat))){tz=_2d9[1];}}}return (tz=="AM"||tz=="PM")?"":tz;};dojo.date.compare=function(_2da,_2db,_2dc){_2da=new Date(+_2da);_2db=new Date(+(_2db||new Date()));if(_2dc=="date"){_2da.setHours(0,0,0,0);_2db.setHours(0,0,0,0);}else{if(_2dc=="time"){_2da.setFullYear(0,0,0);_2db.setFullYear(0,0,0);}}if(_2da>_2db){return 1;}if(_2da<_2db){return -1;}return 0;};dojo.date.add=function(date,_2dd,_2de){var sum=new Date(+date);var _2df=false;var _2e0="Date";switch(_2dd){case "day":break;case "weekday":var days,_2e1;var mod=_2de%5;if(!mod){days=(_2de>0)?5:-5;_2e1=(_2de>0)?((_2de-5)/5):((_2de+5)/5);}else{days=mod;_2e1=parseInt(_2de/5);}var strt=date.getDay();var adj=0;if(strt==6&&_2de>0){adj=1;}else{if(strt==0&&_2de<0){adj=-1;}}var trgt=strt+days;if(trgt==0||trgt==6){adj=(_2de>0)?2:-2;}_2de=(7*_2e1)+days+adj;break;case "year":_2e0="FullYear";_2df=true;break;case "week":_2de*=7;break;case "quarter":_2de*=3;case "month":_2df=true;_2e0="Month";break;default:_2e0="UTC"+_2dd.charAt(0).toUpperCase()+_2dd.substring(1)+"s";}if(_2e0){sum["set"+_2e0](sum["get"+_2e0]()+_2de);}if(_2df&&(sum.getDate()<date.getDate())){sum.setDate(0);}return sum;};dojo.date.difference=function(_2e2,_2e3,_2e4){_2e3=_2e3||new Date();_2e4=_2e4||"day";var _2e5=_2e3.getFullYear()-_2e2.getFullYear();var _2e6=1;switch(_2e4){case "quarter":var m1=_2e2.getMonth();var m2=_2e3.getMonth();var q1=Math.floor(m1/3)+1;var q2=Math.floor(m2/3)+1;q2+=(_2e5*4);_2e6=q2-q1;break;case "weekday":var days=Math.round(dojo.date.difference(_2e2,_2e3,"day"));var _2e7=parseInt(dojo.date.difference(_2e2,_2e3,"week"));var mod=days%7;if(mod==0){days=_2e7*5;}else{var adj=0;var aDay=_2e2.getDay();var bDay=_2e3.getDay();_2e7=parseInt(days/7);mod=days%7;var _2e8=new Date(_2e2);_2e8.setDate(_2e8.getDate()+(_2e7*7));var _2e9=_2e8.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 (_2e9+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 (_2e9+mod)<0:adj=2;}}}days+=adj;days-=(_2e7*2);}_2e6=days;break;case "year":_2e6=_2e5;break;case "month":_2e6=(_2e3.getMonth()-_2e2.getMonth())+(_2e5*12);break;case "week":_2e6=parseInt(dojo.date.difference(_2e2,_2e3,"day")/7);break;case "day":_2e6/=24;case "hour":_2e6/=60;case "minute":_2e6/=60;case "second":_2e6/=1000;case "millisecond":_2e6*=_2e3.getTime()-_2e2.getTime();}return Math.round(_2e6);};}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 _2ea(_2eb,_2ec,_2ed,_2ee){return _2ee.replace(/([a-z])\1*/ig,function(_2ef){var s,pad,c=_2ef.charAt(0),l=_2ef.length,_2f0=["abbr","wide","narrow"];switch(c){case "G":s=_2ec[(l<4)?"eraAbbr":"eraNames"][_2eb.getFullYear()<0?0:1];break;case "y":s=_2eb.getFullYear();switch(l){case 1:break;case 2:if(!_2ed.fullYear){s=String(s);s=s.substr(s.length-2);break;}default:pad=true;}break;case "Q":case "q":s=Math.ceil((_2eb.getMonth()+1)/3);pad=true;break;case "M":var m=_2eb.getMonth();if(l<3){s=m+1;pad=true;}else{var _2f1=["months","format",_2f0[l-3]].join("-");s=_2ec[_2f1][m];}break;case "w":var _2f2=0;s=dojo.date.locale._getWeekOfYear(_2eb,_2f2);pad=true;break;case "d":s=_2eb.getDate();pad=true;break;case "D":s=dojo.date.locale._getDayOfYear(_2eb);pad=true;break;case "E":var d=_2eb.getDay();if(l<3){s=d+1;pad=true;}else{var _2f3=["days","format",_2f0[l-3]].join("-");s=_2ec[_2f3][d];}break;case "a":var _2f4=(_2eb.getHours()<12)?"am":"pm";s=_2ed[_2f4]||_2ec["dayPeriods-format-wide-"+_2f4];break;case "h":case "H":case "K":case "k":var h=_2eb.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=_2eb.getMinutes();pad=true;break;case "s":s=_2eb.getSeconds();pad=true;break;case "S":s=Math.round(_2eb.getMilliseconds()*Math.pow(10,l-3));pad=true;break;case "v":case "z":s=dojo.date.locale._getZone(_2eb,true,_2ed);if(s){break;}l=4;case "Z":var _2f5=dojo.date.locale._getZone(_2eb,false,_2ed);var tz=[(_2f5<=0?"+":"-"),dojo.string.pad(Math.floor(Math.abs(_2f5)/60),2),dojo.string.pad(Math.abs(_2f5)%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: "+_2ee);}if(pad){s=dojo.string.pad(s,l);}return s;});};dojo.date.locale._getZone=function(_2f6,_2f7,_2f8){if(_2f7){return dojo.date.getTimezoneName(_2f6);}else{return _2f6.getTimezoneOffset();}};dojo.date.locale.format=function(_2f9,_2fa){_2fa=_2fa||{};var _2fb=dojo.i18n.normalizeLocale(_2fa.locale),_2fc=_2fa.formatLength||"short",_2fd=dojo.date.locale._getGregorianBundle(_2fb),str=[],_2fe=dojo.hitch(this,_2ea,_2f9,_2fd,_2fa);if(_2fa.selector=="year"){return _2ff(_2fd["dateFormatItem-yyyy"]||"yyyy",_2fe);}var _300;if(_2fa.selector!="date"){_300=_2fa.timePattern||_2fd["timeFormat-"+_2fc];if(_300){str.push(_2ff(_300,_2fe));}}if(_2fa.selector!="time"){_300=_2fa.datePattern||_2fd["dateFormat-"+_2fc];if(_300){str.push(_2ff(_300,_2fe));}}return str.length==1?str[0]:_2fd["dateTimeFormat-"+_2fc].replace(/\{(\d+)\}/g,function(_301,key){return str[key];});};dojo.date.locale.regexp=function(_302){return dojo.date.locale._parseInfo(_302).regexp;};dojo.date.locale._parseInfo=function(_303){_303=_303||{};var _304=dojo.i18n.normalizeLocale(_303.locale),_305=dojo.date.locale._getGregorianBundle(_304),_306=_303.formatLength||"short",_307=_303.datePattern||_305["dateFormat-"+_306],_308=_303.timePattern||_305["timeFormat-"+_306],_309;if(_303.selector=="date"){_309=_307;}else{if(_303.selector=="time"){_309=_308;}else{_309=_305["dateTimeFormat-"+_306].replace(/\{(\d+)\}/g,function(_30a,key){return [_308,_307][key];});}}var _30b=[],re=_2ff(_309,dojo.hitch(this,_30c,_30b,_305,_303));return {regexp:re,tokens:_30b,bundle:_305};};dojo.date.locale.parse=function(_30d,_30e){var _30f=/[\u200E\u200F\u202A\u202E]/g,info=dojo.date.locale._parseInfo(_30e),_310=info.tokens,_311=info.bundle,re=new RegExp("^"+info.regexp.replace(_30f,"")+"$",info.strict?"":"i"),_312=re.exec(_30d&&_30d.replace(_30f,""));if(!_312){return null;}var _313=["abbr","wide","narrow"],_314=[1970,0,1,0,0,0,0],amPm="",_315=dojo.every(_312,function(v,i){if(!i){return true;}var _316=_310[i-1];var l=_316.length;switch(_316.charAt(0)){case "y":if(l!=2&&_30e.strict){_314[0]=v;}else{if(v<100){v=Number(v);var year=""+new Date().getFullYear(),_317=year.substring(0,2)*100,_318=Math.min(Number(year.substring(2,4))+20,99),num=(v<_318)?_317+v:_317-100+v;_314[0]=num;}else{if(_30e.strict){return false;}_314[0]=v;}}break;case "M":if(l>2){var _319=_311["months-format-"+_313[l-3]].concat();if(!_30e.strict){v=v.replace(".","").toLowerCase();_319=dojo.map(_319,function(s){return s.replace(".","").toLowerCase();});}v=dojo.indexOf(_319,v);if(v==-1){return false;}}else{v--;}_314[1]=v;break;case "E":case "e":var days=_311["days-format-"+_313[l-3]].concat();if(!_30e.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":_314[1]=0;case "d":_314[2]=v;break;case "a":var am=_30e.am||_311["dayPeriods-format-wide-am"],pm=_30e.pm||_311["dayPeriods-format-wide-pm"];if(!_30e.strict){var _31a=/\./g;v=v.replace(_31a,"").toLowerCase();am=am.replace(_31a,"").toLowerCase();pm=pm.replace(_31a,"").toLowerCase();}if(_30e.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;}_314[3]=v;break;case "m":_314[4]=v;break;case "s":_314[5]=v;break;case "S":_314[6]=v;}return true;});var _31b=+_314[3];if(amPm==="p"&&_31b<12){_314[3]=_31b+12;}else{if(amPm==="a"&&_31b==12){_314[3]=0;}}var _31c=new Date(_314[0],_314[1],_314[2],_314[3],_314[4],_314[5],_314[6]);if(_30e.strict){_31c.setFullYear(_314[0]);}var _31d=_310.join(""),_31e=_31d.indexOf("d")!=-1,_31f=_31d.indexOf("M")!=-1;if(!_315||(_31f&&_31c.getMonth()>_314[1])||(_31e&&_31c.getDate()>_314[2])){return null;}if((_31f&&_31c.getMonth()<_314[1])||(_31e&&_31c.getDate()<_314[2])){_31c=dojo.date.add(_31c,"hour",1);}return _31c;};function _2ff(_320,_321,_322,_323){var _324=function(x){return x;};_321=_321||_324;_322=_322||_324;_323=_323||_324;var _325=_320.match(/(''|[^'])+/g),_326=_320.charAt(0)=="'";dojo.forEach(_325,function(_327,i){if(!_327){_325[i]="";}else{_325[i]=(_326?_322:_321)(_327.replace(/''/g,"'"));_326=!_326;}});return _323(_325.join(""));};function _30c(_328,_329,_32a,_32b){_32b=dojo.regexp.escapeString(_32b);if(!_32a.strict){_32b=_32b.replace(" a"," ?a");}return _32b.replace(/([a-z])\1*/ig,function(_32c){var s,c=_32c.charAt(0),l=_32c.length,p2="",p3="";if(_32a.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=_32a.am||_329["dayPeriods-format-wide-am"],pm=_32a.pm||_329["dayPeriods-format-wide-pm"];s=am+"|"+pm;if(!_32a.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(_328){_328.push(_32c);}return "("+s+")";}).replace(/[\xa0 ]/g,"[\\s\\xa0]");};})();(function(){var _32d=[];dojo.date.locale.addCustomFormats=function(_32e,_32f){_32d.push({pkg:_32e,name:_32f});};dojo.date.locale._getGregorianBundle=function(_330){var _331={};dojo.forEach(_32d,function(desc){var _332=dojo.i18n.getLocalization(desc.pkg,desc.name,_330);_331=dojo.mixin(_331,_332);},this);return _331;};})();dojo.date.locale.addCustomFormats("dojo.cldr","gregorian");dojo.date.locale.getNames=function(item,type,_333,_334){var _335,_336=dojo.date.locale._getGregorianBundle(_334),_337=[item,_333,type];if(_333=="standAlone"){var key=_337.join("-");_335=_336[key];if(_335[0]==1){_335=undefined;}}_337[1]="format";return (_335||_336[_337.join("-")]).concat();};dojo.date.locale.isWeekend=function(_338,_339){var _33a=dojo.cldr.supplemental.getWeekend(_339),day=(_338||new Date()).getDay();if(_33a.end<_33a.start){_33a.end+=7;if(day<_33a.start){day+=7;}}return day>=_33a.start&&day<=_33a.end;};dojo.date.locale._getDayOfYear=function(_33b){return dojo.date.difference(new Date(_33b.getFullYear(),0,1,_33b.getHours()),_33b)+1;};dojo.date.locale._getWeekOfYear=function(_33c,_33d){if(arguments.length==1){_33d=0;}var _33e=new Date(_33c.getFullYear(),0,1).getDay(),adj=(_33e-_33d+7)%7,week=Math.floor((dojo.date.locale._getDayOfYear(_33c)+adj-1)/7);if(_33e==_33d){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(_33f){return _33f&&!isNaN(_33f)&&typeof _33f=="object"&&_33f.toString()!=this.constructor.prototype.value.toString();},setValue:function(_340){dojo.deprecated("dijit.Calendar:setValue() is deprecated.  Use set('value', ...) instead.","","2.0");this.set("value",_340);},_getValueAttr:function(){var _341=new this.dateClassObj(this.value);_341.setHours(0,0,0,0);if(_341.getDate()<this.value.getDate()){_341=this.dateFuncObj.add(_341,"hour",1);}return _341;},_setValueAttr:function(_342,_343){if(_342){_342=new this.dateClassObj(_342);}if(this._isValidDate(_342)){if(!this._isValidDate(this.value)||this.dateFuncObj.compare(_342,this.value)){_342.setHours(1,0,0,0);if(!this.isDisabledDate(_342,this.lang)){this._set("value",_342);this.set("currentFocus",_342);if(_343||typeof _343=="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 _344=new this.dateClassObj(this.currentFocus);_344.setDate(1);var _345=_344.getDay(),_346=this.dateFuncObj.getDaysInMonth(_344),_347=this.dateFuncObj.getDaysInMonth(this.dateFuncObj.add(_344,"month",-1)),_348=new this.dateClassObj(),_349=dojo.cldr.supplemental.getFirstDayOfWeek(this.lang);if(_349>_345){_349-=7;}dojo.query(".dijitCalendarDateTemplate",this.domNode).forEach(function(_34a,i){i+=_349;var date=new this.dateClassObj(_344),_34b,_34c="dijitCalendar",adj=0;if(i<_345){_34b=_347-_345+i+1;adj=-1;_34c+="Previous";}else{if(i>=(_345+_346)){_34b=i-_345-_346+1;adj=1;_34c+="Next";}else{_34b=i-_345+1;_34c+="Current";}}if(adj){date=this.dateFuncObj.add(date,"month",adj);}date.setDate(_34b);if(!this.dateFuncObj.compare(date,_348,"date")){_34c="dijitCalendarCurrentDate "+_34c;}if(this._isSelectedDate(date,this.lang)){_34c="dijitCalendarSelectedDate "+_34c;}if(this.isDisabledDate(date,this.lang)){_34c="dijitCalendarDisabledDate "+_34c;}var _34d=this.getClassForDate(date,this.lang);if(_34d){_34c=_34d+" "+_34c;}_34a.className=_34c+"Month dijitCalendarDateTemplate";_34a.dijitDateValue=date.valueOf();dojo.attr(_34a,"dijitDateValue",date.valueOf());var _34e=dojo.query(".dijitCalendarDateLabel",_34a)[0],text=date.getDateLocalized?date.getDateLocalized(this.lang):date.getDate();this._setText(_34e,text);},this);var _34f=this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,_344);this.monthDropDownButton.dropDown.set("months",_34f);this.monthDropDownButton.containerNode.innerHTML=(dojo.isIE==6?"":"<div class='dijitSpacer'>"+this.monthDropDownButton.dropDown.domNode.innerHTML+"</div>")+"<div class='dijitCalendarMonthLabel dijitCalendarCurrentMonthLabel'>"+_34f[_344.getMonth()]+"</div>";var y=_344.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 _350=(args.datePackage&&(args.datePackage!="dojo.date"))?args.datePackage+".Date":"Date";this.dateClassObj=dojo.getObject(_350,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 _351=dojo.hitch(this,function(_352,n){var _353=dojo.query(_352,this.domNode)[0];for(var i=0;i<n;i++){_353.parentNode.appendChild(_353.cloneNode(true));}});_351(".dijitCalendarDayLabelTemplate",6);_351(".dijitCalendarDateTemplate",6);_351(".dijitCalendarWeekTemplate",5);var _354=this.dateLocaleModule.getNames("days",this.dayWidth,"standAlone",this.lang);var _355=dojo.cldr.supplemental.getFirstDayOfWeek(this.lang);dojo.query(".dijitCalendarDayLabel",this.domNode).forEach(function(_356,i){this._setText(_356,_354[(i+_355)%7]);},this);var _357=new this.dateClassObj(this.currentFocus);this.monthDropDownButton.dropDown=new dijit.Calendar._MonthDropDown({id:this.id+"_mdd",onChange:dojo.hitch(this,"_onMonthSelect")});this.set("currentFocus",_357,false);var _358=this;var _359=function(_35a,_35b,adj){_358._connects.push(dijit.typematic.addMouseListener(_358[_35a],_358,function(_35c){if(_35c>=0){_358._adjustDisplay(_35b,adj);}},0.8,500));};_359("incrementMonth","month",1);_359("decrementMonth","month",-1);_359("nextYearLabelNode","year",1);_359("previousYearLabelNode","year",-1);},_adjustDisplay:function(part,_35d){this._setCurrentFocusAttr(this.dateFuncObj.add(this.currentFocus,part,_35d));},_setCurrentFocusAttr:function(date,_35e){var _35f=this.currentFocus,_360=_35f?dojo.query("[dijitDateValue="+_35f.valueOf()+"]",this.domNode)[0]:null;date=new this.dateClassObj(date);date.setHours(1,0,0,0);this._set("currentFocus",date);this._populateGrid();var _361=dojo.query("[dijitDateValue="+date.valueOf()+"]",this.domNode)[0];_361.setAttribute("tabIndex",this.tabIndex);if(this._focused||_35e){_361.focus();}if(_360&&_360!=_361){if(dojo.isWebKit){_360.setAttribute("tabIndex","-1");}else{_360.removeAttribute("tabIndex");}}},focus:function(){this._setCurrentFocusAttr(this.currentFocus,true);},_onMonthSelect:function(_362){this.currentFocus=this.dateFuncObj.add(this.currentFocus,"month",_362-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,_363=-1,_364,_365=this.currentFocus;switch(evt.keyCode){case dk.RIGHT_ARROW:_363=1;case dk.LEFT_ARROW:_364="day";if(!this.isLeftToRight()){_363*=-1;}break;case dk.DOWN_ARROW:_363=1;case dk.UP_ARROW:_364="week";break;case dk.PAGE_DOWN:_363=1;case dk.PAGE_UP:_364=evt.ctrlKey||evt.altKey?"year":"month";break;case dk.END:_365=this.dateFuncObj.add(_365,"month",1);_364="day";case dk.HOME:_365=new this.dateClassObj(_365);_365.setDate(1);break;case dk.ENTER:case dk.SPACE:this.set("value",this.currentFocus);break;default:return true;}if(_364){_365=this.dateFuncObj.add(_365,_364,_363);}this._setCurrentFocusAttr(_365);return false;},_onKeyPress:function(evt){if(!this.handleKey(evt)){dojo.stopEvent(evt);}},onValueSelected:function(date){},onChange:function(date){},_isSelectedDate:function(_366,_367){return this._isValidDate(this.value)&&!this.dateFuncObj.compare(_366,this.value,"date");},isDisabledDate:function(_368,_369){},getClassForDate:function(_36a,_36b){}});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(_36c){this.domNode.innerHTML=dojo.map(_36c,function(_36d,idx){return _36d?"<div class='dijitCalendarMonthLabel' month='"+idx+"'>"+_36d+"</div>":"";}).join("");},_onClick:function(evt){this.onChange(dojo.attr(evt.target,"month"));},onChange:function(_36e){},_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 _36f=this._isInvalidDate(val1);var _370=this._isInvalidDate(val2);return _36f?(_370?0:-1):(_370?1:dojo.date.compare(val1,val2,this._selector));},forceWidth:true,format:function(_371,_372){if(!_371){return "";}return this.dateLocaleModule.format(_371,_372);},"parse":function(_373,_374){return this.dateLocaleModule.parse(_373,_374)||(this._isEmpty(_373)?null:undefined);},serialize:function(val,_375){if(val.toGregorian){val=val.toGregorian();}return dojo.date.stamp.toISOString(val,_375);},dropDownDefaultValue:new Date(),value:new Date(""),_blankValue:null,popupClass:"",_selector:"",constructor:function(args){var _376=args.datePackage?args.datePackage+".Date":"Date";this.dateClassObj=dojo.getObject(_376,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(_377){_377.selector=this._selector;_377.fullYear=true;var _378=dojo.date.stamp.fromISOString;if(typeof _377.min=="string"){_377.min=_378(_377.min);}if(typeof _377.max=="string"){_377.max=_378(_377.max);}this.inherited(arguments);},_isInvalidDate:function(_379){return !_379||isNaN(_379)||typeof _379!="object"||_379.toString()==this._invalidDate;},_setValueAttr:function(_37a,_37b,_37c){if(_37a!==undefined){if(typeof _37a=="string"){_37a=dojo.date.stamp.fromISOString(_37a);}if(this._isInvalidDate(_37a)){_37a=null;}if(_37a instanceof Date&&!(this.dateClassObj instanceof Date)){_37a=new this.dateClassObj(_37a);}}this.inherited(arguments);if(this.value instanceof Date){this.filterString="";}if(this.dropDown){this.dropDown.set("value",_37a,false);}},_set:function(attr,_37d){if(attr=="value"&&this.value instanceof Date&&this.compare(_37d,this.value)==0){return;}this.inherited(arguments);},_setDropDownDefaultValueAttr:function(val){if(this._isInvalidDate(val)){val=new this.dateClassObj();}this.dropDownDefaultValue=val;},openDropDown:function(_37e){if(this.dropDown){this.dropDown.destroy();}var _37f=dojo.getObject(this.popupClass,false),_380=this,_381=this.get("value");this.dropDown=new _37f({onChange:function(_382){_380.set("value",_382,true);},id:this.id+"_popup",dir:_380.dir,lang:_380.lang,value:_381,currentFocus:!this._isInvalidDate(_381)?_381:this.dropDownDefaultValue,constraints:_380.constraints,filterString:_380.filterString,datePackage:_380.datePackage,isDisabledDate:function(date){return !_380.rangeCheck(date,_380.constraints);}});this.inherited(arguments);},_getDisplayedValueAttr:function(){return this.textbox.value;},_setDisplayedValueAttr:function(_383,_384){this._setValueAttr(this.parse(_383,this.constraints),_384,_383);}});}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(_385){dojo.deprecated("dijit._TimePicker:setValue() is deprecated.  Use set('value', ...) instead.","","2.0");this.set("value",_385);},_setValueAttr:function(date){this._set("value",date);this._showText();},_setFilterStringAttr:function(val){this._set("filterString",val);this._showText();},isDisabledDate:function(_386,_387){return false;},_getFilteredNodes:function(_388,_389,_38a,_38b){var _38c=[],_38d=_38b?_38b.date:this._refDate,n,i=_388,max=this._maxIncrement+Math.abs(i),chk=_38a?-1:1,dec=_38a?1:0,inc=1-dec;do{i-=dec;n=this._createOption(i);if(n){if((_38a&&n.date>_38d)||(!_38a&&n.date<_38d)){break;}_38c[_38a?"unshift":"push"](n);_38d=n.date;}i+=inc;}while(_38c.length<_389&&(i*chk)<max);return _38c;},_showText:function(){var _38e=dojo.date.stamp.fromISOString;this.timeMenu.innerHTML="";this._clickableIncrementDate=_38e(this.clickableIncrement);this._visibleIncrementDate=_38e(this.visibleIncrement);this._visibleRangeDate=_38e(this.visibleRange);var _38f=function(date){return date.getHours()*60*60+date.getMinutes()*60+date.getSeconds();},_390=_38f(this._clickableIncrementDate),_391=_38f(this._visibleIncrementDate),_392=_38f(this._visibleRangeDate),time=(this.value||this.currentFocus).getTime();this._refDate=new Date(time-time%(_390*1000));this._refDate.setFullYear(1970,0,1);this._clickableIncrement=1;this._totalIncrements=_392/_390;this._visibleIncrement=_391/_390;this._maxIncrement=(60*60*24)/_390;var _393=Math.min(this._totalIncrements,10),_394=this._getFilteredNodes(0,(_393>>1)+1,false),_395=[],_396=_393-_394.length,_397=this._getFilteredNodes(0,_396,true,_394[0]);if(_397.length<_396&&_394.length>0){_395=this._getFilteredNodes(_394.length,_396-_397.length,false,_394[_394.length-1]);}dojo.forEach(_397.concat(_394,_395),function(n){this.timeMenu.appendChild(n);},this);},constructor:function(){this.constraints={};},postMixInProperties:function(){this.inherited(arguments);this._setConstraintsAttr(this.constraints);},_setConstraintsAttr:function(_398){dojo.mixin(this,_398);if(!_398.locale){_398.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(_399){var date=new Date(this._refDate);var _39a=this._clickableIncrementDate;date.setHours(date.getHours()+_39a.getHours()*_399,date.getMinutes()+_39a.getMinutes()*_399,date.getSeconds()+_39a.getSeconds()*_399);if(this.constraints.selector=="time"){date.setFullYear(1970,0,1);}var _39b=dojo.date.locale.format(date,this.constraints);if(this.filterString&&_39b.toLowerCase().indexOf(this.filterString)!==0){return null;}var div=dojo.create("div",{"class":this.baseClass+"Item"});div.date=date;div.index=_399;dojo.create("div",{"class":this.baseClass+"ItemInner",innerHTML:_39b},div);if(_399%this._visibleIncrement<1&&_399%this._visibleIncrement>-1){dojo.addClass(div,this.baseClass+"Marker");}else{if(!(_399%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 _39c=tgt.target.date||tgt.target.parentNode.date;if(!_39c||this.isDisabledDate(_39c)){return;}this._highlighted_option=null;this.set("value",_39c);this.onChange(_39c);},onChange:function(time){},_highlightOption:function(node,_39d){if(!node){return;}if(_39d){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",_39d);if(dojo.hasClass(node,this.baseClass+"Marker")){dojo.toggleClass(node,this.baseClass+"MarkerHover",_39d);}else{dojo.toggleClass(node,this.baseClass+"TickHover",_39d);}},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 _39e=(dojo.isIE?e.wheelDelta:-e.detail);this[(_39e>0?"_onArrowUp":"_onArrowDown")]();},_onArrowUp:function(_39f){if(typeof _39f=="number"&&_39f==-1){return;}if(!this.timeMenu.childNodes.length){return;}var _3a0=this.timeMenu.childNodes[0].index;var divs=this._getFilteredNodes(_3a0,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(_3a1){if(typeof _3a1=="number"&&_3a1==-1){return;}if(!this.timeMenu.childNodes.length){return;}var _3a2=this.timeMenu.childNodes[this.timeMenu.childNodes.length-1].index+1;var divs=this._getFilteredNodes(_3a2,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 _3a3=this.timeMenu,tgt=this._highlighted_option||dojo.query("."+this.baseClass+"ItemSelected",_3a3)[0];if(!tgt){tgt=_3a3.childNodes[0];}else{if(_3a3.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(_3a4,_3a5){var _3a6=[];function _3a7(attr,dir,comp,s){return function(_3a8,_3a9){var a=s.getValue(_3a8,attr);var b=s.getValue(_3a9,attr);return dir*comp(a,b);};};var _3aa;var map=_3a5.comparatorMap;var bc=dojo.data.util.sorter.basicComparator;for(var i=0;i<_3a4.length;i++){_3aa=_3a4[i];var attr=_3aa.attribute;if(attr){var dir=(_3aa.descending)?-1:1;var comp=bc;if(map){if(typeof attr!=="string"&&("toString" in attr)){attr=attr.toString();}comp=map[attr]||bc;}_3a6.push(_3a7(attr,dir,comp,_3a5));}}return function(rowA,rowB){var i=0;while(i<_3a6.length){var ret=_3a6[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(_3ab){var _3ac=_3ab,opts=this.options||[],l=opts.length;if(_3ac===undefined){return opts;}if(dojo.isArray(_3ac)){return dojo.map(_3ac,"return this.getOptions(item);",this);}if(dojo.isObject(_3ab)){if(!dojo.some(this.options,function(o,idx){if(o===_3ac||(o.value&&o.value===_3ac.value)){_3ac=idx;return true;}return false;})){_3ac=-1;}}if(typeof _3ac=="string"){for(var i=0;i<l;i++){if(opts[i].value===_3ac){_3ac=i;break;}}}if(typeof _3ac=="number"&&_3ac>=0&&_3ac<l){return this.options[_3ac];}return null;},addOption:function(_3ad){if(!dojo.isArray(_3ad)){_3ad=[_3ad];}dojo.forEach(_3ad,function(i){if(i&&dojo.isObject(i)){this.options.push(i);}},this);this._loadChildren();},removeOption:function(_3ae){if(!dojo.isArray(_3ae)){_3ae=[_3ae];}var _3af=this.getOptions(_3ae);dojo.forEach(_3af,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(_3b0){if(!dojo.isArray(_3b0)){_3b0=[_3b0];}dojo.forEach(_3b0,function(i){var _3b1=this.getOptions(i),k;if(_3b1){for(k in i){_3b1[k]=i[k];}}},this);this._loadChildren();},setStore:function(_3b2,_3b3,_3b4){var _3b5=this.store;_3b4=_3b4||{};if(_3b5!==_3b2){dojo.forEach(this._notifyConnections||[],dojo.disconnect);delete this._notifyConnections;if(_3b2&&_3b2.getFeatures()["dojo.data.api.Notification"]){this._notifyConnections=[dojo.connect(_3b2,"onNew",this,"_onNewItem"),dojo.connect(_3b2,"onDelete",this,"_onDeleteItem"),dojo.connect(_3b2,"onSet",this,"_onSetItem")];}this._set("store",_3b2);}this._onChangeActive=false;if(this.options&&this.options.length){this.removeOption(this.options);}if(_3b2){this._loadingStore=true;_3b2.fetch(dojo.delegate(_3b4,{onComplete:function(_3b6,opts){if(this.sortByLabel&&!_3b4.sort&&_3b6.length){_3b6.sort(dojo.data.util.sorter.createSortFunction([{attribute:_3b2.getLabelAttributes(_3b6[0])[0]}],_3b2));}if(_3b4.onFetch){_3b6=_3b4.onFetch.call(this,_3b6,opts);}dojo.forEach(_3b6,function(i){this._addOptionForItem(i);},this);this._loadingStore=false;this.set("value","_pendingValue" in this?this._pendingValue:_3b3);delete this._pendingValue;if(!this.loadChildrenOnOpen){this._loadChildren();}else{this._pseudoLoadChildren(_3b6);}this._fetchedWith=opts;this._lastValueReported=this.multiple?[]:null;this._onChangeActive=true;this.onSetStore();this._handleOnChange(this.value);},scope:this}));}else{delete this._fetchedWith;}return _3b5;},_setValueAttr:function(_3b7,_3b8){if(this._loadingStore){this._pendingValue=_3b7;return;}var opts=this.getOptions()||[];if(!dojo.isArray(_3b7)){_3b7=[_3b7];}dojo.forEach(_3b7,function(i,idx){if(!dojo.isObject(i)){i=i+"";}if(typeof i==="string"){_3b7[idx]=dojo.filter(opts,function(node){return node.value===i;})[0]||{value:"",label:""};}},this);_3b7=dojo.filter(_3b7,function(i){return i&&i.value;});if(!this.multiple&&(!_3b7[0]||!_3b7[0].value)&&opts.length){_3b7[0]=opts[0];}dojo.forEach(opts,function(i){i.selected=dojo.some(_3b7,function(v){return v.value===i.value;});});var val=dojo.map(_3b7,function(i){return i.value;}),disp=dojo.map(_3b7,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,_3b8);},_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(_3b9){_3b9.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(_3ba){var _3bb=dojo.some(val,function(v){return _3ba.option&&(v===_3ba.option.value);});dojo.toggleClass(_3ba.domNode,this.baseClass+"SelectedOption",_3bb);dijit.setWaiState(_3ba.domNode,"selected",_3bb);},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,_3bc){if(!_3bc||!_3bc.parent){this._addOptionForItem(item);}},_onDeleteItem:function(item){var _3bd=this.store;this.removeOption(_3bd.getIdentity(item));},_onSetItem:function(item){this.updateOption(this._getOptionObjForItem(item));},_getOptionObjForItem:function(item){var _3be=this.store,_3bf=_3be.getLabel(item),_3c0=(_3bf?_3be.getIdentity(item):null);return {value:_3c0,label:_3bf,item:item};},_addOptionForItem:function(item){var _3c1=this.store;if(!_3c1.isItemLoaded(item)){_3c1.loadItem({item:item,onComplete:function(i){this._addOptionForItem(item);},scope:this});return;}var _3c2=this._getOptionObjForItem(item);this.addOption(_3c2);},constructor:function(_3c3){this._oValue=(_3c3||{}).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 _3c4=this.store,_3c5={};dojo.forEach(["query","queryOptions","onFetch"],function(i){if(this[i]){_3c5[i]=this[i];}delete this[i];},this);if(_3c4&&_3c4.getFeatures()["dojo.data.api.Identity"]){this.store=null;this.setStore(_3c4,this._oValue,_3c5);}},destroy:function(){dojo.forEach(this._notifyConnections||[],dojo.disconnect);this.inherited(arguments);},_addOptionItem:function(_3c6){},_removeOptionItem:function(_3c7){},_setDisplay:function(_3c8){},_getChildren:function(){return [];},_getSelectedOptionsAttr:function(){return this.getOptions(this.get("value"));},_pseudoLoadChildren:function(_3c9){},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(_3ca,_3cb){var _3cc=(this._keyNavCodes={});var prev=dojo.hitch(this,this.focusPrev);var next=dojo.hitch(this,this.focusNext);dojo.forEach(_3ca,function(code){_3cc[code]=prev;});dojo.forEach(_3cb,function(code){_3cc[code]=next;});_3cc[dojo.keys.HOME]=dojo.hitch(this,"focusFirstChild");_3cc[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(_3cd,_3ce){dijit._KeyNavContainer.superclass.addChild.apply(this,arguments);this._startupChild(_3cd);},focus:function(){this.focusFirstChild();},focusFirstChild:function(){var _3cf=this._getFirstFocusableChild();if(_3cf){this.focusChild(_3cf);}},focusLastChild:function(){var _3d0=this._getLastFocusableChild();if(_3d0){this.focusChild(_3d0);}},focusNext:function(){var _3d1=this._getNextFocusableChild(this.focusedChild,1);this.focusChild(_3d1);},focusPrev:function(){var _3d2=this._getNextFocusableChild(this.focusedChild,-1);this.focusChild(_3d2,true);},focusChild:function(_3d3,last){if(this.focusedChild&&_3d3!==this.focusedChild){this._onChildBlur(this.focusedChild);}_3d3.set("tabIndex",this.tabIndex);_3d3.focus(last?"end":"start");this._set("focusedChild",_3d3);},_startupChild:function(_3d4){_3d4.set("tabIndex","-1");this.connect(_3d4,"_onFocus",function(){_3d4.set("tabIndex",this.tabIndex);});this.connect(_3d4,"_onBlur",function(){_3d4.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(_3d5){},_getFirstFocusableChild:function(){return this._getNextFocusableChild(null,1);},_getLastFocusableChild:function(){return this._getNextFocusableChild(null,-1);},_getNextFocusableChild:function(_3d6,dir){if(_3d6){_3d6=this._getSiblingOfChild(_3d6,dir);}var _3d7=this.getChildren();for(var i=0;i<_3d7.length;i++){if(!_3d6){_3d6=_3d7[(dir>0)?0:(_3d7.length-1)];}if(_3d6.isFocusable()){return _3d6;}_3d6=this._getSiblingOfChild(_3d6,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 _3d8=dijit.getEnclosingWidget(this.domNode.parentNode);return _3d8&&_3d8.isContainer?_3d8:null;},_getSibling:function(_3d9){var node=this.domNode;do{node=node[_3d9+"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(_3da){if(_3da&&!("label" in this.params)){this.set("label",_3da.innerHTML);}},buildRendering:function(){this.inherited(arguments);var _3db=this.id+"_text";dojo.attr(this.containerNode,"id",_3db);if(this.accelKeyNode){dojo.attr(this.accelKeyNode,"id",this.id+"_accel");_3db+=" "+this.id+"_accel";}dijit.setWaiState(this.domNode,"labelledby",_3db);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(_3dc){dojo.toggleClass(this.domNode,"dijitMenuItemSelected",_3dc);},setLabel:function(_3dd){dojo.deprecated("dijit.MenuItem.setLabel() is deprecated.  Use set('label', ...) instead.","","2.0");this.set("label",_3dd);},setDisabled:function(_3de){dojo.deprecated("dijit.Menu.setDisabled() is deprecated.  Use set('disabled', bool) instead.","","2.0");this.set("disabled",_3de);},_setDisabledAttr:function(_3df){dijit.setWaiState(this.focusNode,"disabled",_3df?"true":"false");this._set("disabled",_3df);},_setAccelKeyAttr:function(_3e0){this.accelKeyNode.style.display=_3e0?"":"none";this.accelKeyNode.innerHTML=_3e0;dojo.attr(this.containerNode,"colSpan",_3e0?"1":"2");this._set("accelKey",_3e0);}});}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 _3e1=dojo.query("*",this.srcNodeRef);dijit.PopupMenuItem.superclass._fillContent.call(this,_3e1[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(_3e2){dojo.toggleClass(this.domNode,"dijitCheckedMenuItemChecked",_3e2);dijit.setWaiState(this.domNode,"checked",_3e2);this._set("checked",_3e2);},onChange:function(_3e3){},_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(_3e4){_3e4.startup();});this.startupKeyNavChildren();this.inherited(arguments);},onExecute:function(){},onCancel:function(_3e5){},_moveToPopup:function(evt){if(this.focusedChild&&this.focusedChild.popup&&!this.focusedChild.disabled){this.focusedChild._onClick(evt);}else{var _3e6=this._getTopMenu();if(_3e6&&_3e6._isMenuBar){_3e6.focusNext();}}},_onPopupHover:function(evt){if(this.currentPopup&&this.currentPopup._pendingClose_timer){var _3e7=this.currentPopup.parentMenu;if(_3e7.focusedChild){_3e7.focusedChild._setSelected(false);}_3e7.focusedChild=this.currentPopup.from_item;_3e7.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 _3e8=item.popup;if(_3e8){this._stopPendingCloseTimer(_3e8);_3e8._pendingClose_timer=setTimeout(function(){_3e8._pendingClose_timer=null;if(_3e8.parentMenu){_3e8.parentMenu.currentPopup=null;}dijit.popup.close(_3e8);},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(_3e9){if(_3e9._pendingClose_timer){clearTimeout(_3e9._pendingClose_timer);_3e9._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 _3ea=this.focusedChild;if(!_3ea){return;}var _3eb=_3ea.popup;if(_3eb.isShowingNow){return;}if(this.currentPopup){this._stopPendingCloseTimer(this.currentPopup);dijit.popup.close(this.currentPopup);}_3eb.parentMenu=this;_3eb.from_item=_3ea;var self=this;dijit.popup.open({parent:this,popup:_3eb,around:_3ea.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(_3ea);self._cleanUp();_3ea._setSelected(true);self.focusedChild=_3ea;},onExecute:dojo.hitch(this,"_cleanUp")});this.currentPopup=_3eb;_3eb.connect(_3eb.domNode,"onmouseenter",dojo.hitch(self,"_onPopupHover"));if(_3eb.focus){_3eb._focus_timer=setTimeout(dojo.hitch(_3eb,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 _3ec=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(_3ed){var win=dojo.window.get(this._iframeContentDocument(_3ed))||this._iframeContentDocument(_3ed)["__parent__"]||(_3ed.name&&dojo.doc.frames[_3ed.name])||null;return win;},_iframeContentDocument:function(_3ee){var doc=_3ee.contentDocument||(_3ee.contentWindow&&_3ee.contentWindow.document)||(_3ee.name&&dojo.doc.frames[_3ee.name]&&dojo.doc.frames[_3ee.name].document)||null;return doc;},bindDomNode:function(node){node=dojo.byId(node);var cn;if(node.tagName.toLowerCase()=="iframe"){var _3ef=node,win=this._iframeContentWindow(_3ef);cn=dojo.withGlobal(win,dojo.body);}else{cn=(node==dojo.body()?dojo.doc.documentElement:node);}var _3f0={node:node,iframe:_3ef};dojo.attr(node,"_dijitMenu"+this.id,this._bindings.push(_3f0));var _3f1=dojo.hitch(this,function(cn){return [dojo.connect(cn,this.leftClickToOpen?"onclick":"oncontextmenu",this,function(evt){dojo.stopEvent(evt);this._scheduleOpen(evt.target,_3ef,{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,_3ef);}})];});_3f0.connects=cn?_3f1(cn):[];if(_3ef){_3f0.onloadHandler=dojo.hitch(this,function(){var win=this._iframeContentWindow(_3ef);cn=dojo.withGlobal(win,dojo.body);_3f0.connects=_3f1(cn);});if(_3ef.addEventListener){_3ef.addEventListener("load",_3f0.onloadHandler,false);}else{_3ef.attachEvent("onload",_3f0.onloadHandler);}}},unBindDomNode:function(_3f2){var node;try{node=dojo.byId(_3f2);}catch(e){return;}var _3f3="_dijitMenu"+this.id;if(node&&dojo.hasAttr(node,_3f3)){var bid=dojo.attr(node,_3f3)-1,b=this._bindings[bid];dojo.forEach(b.connects,dojo.disconnect);var _3f4=b.iframe;if(_3f4){if(_3f4.removeEventListener){_3f4.removeEventListener("load",b.onloadHandler,false);}else{_3f4.detachEvent("onload",b.onloadHandler);}}dojo.removeAttr(node,_3f3);delete this._bindings[bid];}},_scheduleOpen:function(_3f5,_3f6,_3f7){if(!this._openTimer){this._openTimer=setTimeout(dojo.hitch(this,function(){delete this._openTimer;this._openMyself({target:_3f5,iframe:_3f6,coords:_3f7});}),1);}},_openMyself:function(args){var _3f8=args.target,_3f9=args.iframe,_3fa=args.coords;if(_3fa){if(_3f9){var od=_3f8.ownerDocument,ifc=dojo.position(_3f9,true),win=this._iframeContentWindow(_3f9),_3fb=dojo.withGlobal(win,"_docScroll",dojo);var cs=dojo.getComputedStyle(_3f9),tp=dojo._toPixelValue,left=(dojo.isIE&&dojo.isQuirks?0:tp(_3f9,cs.paddingLeft))+(dojo.isIE&&dojo.isQuirks?tp(_3f9,cs.borderLeftWidth):0),top=(dojo.isIE&&dojo.isQuirks?0:tp(_3f9,cs.paddingTop))+(dojo.isIE&&dojo.isQuirks?tp(_3f9,cs.borderTopWidth):0);_3fa.x+=ifc.x+left-_3fb.x;_3fa.y+=ifc.y+top-_3fb.y;}}else{_3fa=dojo.position(_3f8,true);_3fa.x+=10;_3fa.y+=10;}var self=this;var _3fc=dijit.getFocus(this);function _3fd(){if(self.refocus){dijit.focus(_3fc);}dijit.popup.close(self);};dijit.popup.open({popup:this,x:_3fa.x,y:_3fa.y,onExecute:_3fd,onCancel:_3fd,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(_3fe){if(!_3fe.value&&!_3fe.label){return new dijit.MenuSeparator();}else{var _3ff=dojo.hitch(this,"_setValueAttr",_3fe);var item=new dijit.MenuItem({option:_3fe,label:_3fe.label||this.emptyLabel,onClick:_3ff,disabled:_3fe.disabled||false});dijit.setWaiRole(item.focusNode,"listitem");return item;}},_addOptionItem:function(_400){if(this.dropDown){this.dropDown.addChild(this._getMenuItemForOption(_400));}},_getChildren:function(){if(!this.dropDown){return [];}return this.dropDown.getChildren();},_loadChildren:function(_401){if(_401===true){if(this.dropDown){delete this.dropDown.focusedChild;}if(this.options.length){this.inherited(arguments);}else{dojo.forEach(this._getChildren(),function(_402){_402.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(_403){this.inherited(arguments);dojo.attr(this.valueNode,"value",this.get("value"));},_setDisplay:function(_404){var lbl=_404||this.emptyLabel;this.containerNode.innerHTML="<span class=\"dijitReset dijitInline "+this.baseClass+"Label\">"+lbl+"</span>";dijit.setWaiState(this.focusNode,"valuetext",lbl);},validate:function(_405){var _406=this.isValid(_405);this._set("state",_406?"":"Error");dijit.setWaiState(this.focusNode,"invalid",_406?"false":"true");var _407=_406?"":this._missingMsg;if(this.message!==_407){this._set("message",_407);dijit.hideTooltip(this.domNode);if(_407){dijit.showTooltip(_407,this.domNode,this.tooltipPosition,!this.isLeftToRight());}}return _406;},isValid:function(_408){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(_409){this.inherited(arguments);dojo.toggleClass(this.domNode,this.baseClass+"FixedWidth",!!this.tableNode.style.width);},isLoaded:function(){return this._isLoaded;},loadDropDown:function(_40a){this._loadChildren(true);this._isLoaded=true;_40a();},closeDropDown:function(){this.inherited(arguments);if(this.dropDown&&this.dropDown.menuTableNode){this.dropDown.menuTableNode.style.width="";}},uninitialize:function(_40b){if(this.dropDown&&!this.dropDown._destroyed){this.dropDown.destroyRecursive(_40b);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(_40c){if(_40c){_40c=_40c.replace(/\r/g,"");}return this.inherited(arguments);},_previousValue:"",_onInput:function(e){if(this.maxLength){var _40d=parseInt(this.maxLength);var _40e=this.textbox.value.replace(/\r/g,"");var _40f=_40e.length-_40d;if(_40f>0){if(e){dojo.stopEvent(e);}var _410=this.textbox;if(_410.selectionStart){var pos=_410.selectionStart;var cr=0;if(dojo.isOpera){cr=(this.textbox.value.substring(0,pos).match(/\r/g)||[]).length;}this.textbox.value=_40e.substring(0,pos-_40f-cr)+_40e.substring(pos-cr);_410.setSelectionRange(pos-_40f,pos-_40f);}else{if(dojo.doc.selection){_410.focus();var _411=dojo.doc.selection.createRange();_411.moveStart("character",-_40f);_411.text="";_411.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 _412=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(_412,"onresize","_resizeLater");this.connect(_412,"onfocus","_resizeLater");_412.style.overflowY="hidden";},startup:function(){this.inherited(arguments);this._resizeLater();},_onInput:function(e){this.inherited(arguments);this.resize();},_estimateHeight:function(){var _413=this.textbox;_413.rows=(_413.value.match(/\n/g)||[]).length+1;},_resizeLater:function(){this.defer("resize");},resize:function(){var _414=this.textbox;function _415(){var _416=false;if(_414.value===""){_414.value=" ";_416=true;}var sh=_414.scrollHeight;if(_416){_414.value="";}return sh;};if(_414.style.overflowY=="hidden"){_414.scrollTop=0;}if(this.busyResizing){return;}this.busyResizing=true;if(_415()||_414.offsetHeight){var newH=_415()+Math.max(_414.offsetHeight-_414.clientHeight,0);var _417=newH+"px";if(_417!=_414.style.height){_414.style.height=_417;_414.rows=1;}if(needsHelpShrinking){var _418=_415(),_419=_418,_41a=_414.style.minHeight,_41b=4,_41c,_41d=_414.scrollTop;_414.style.minHeight=_417;_414.style.height="auto";while(newH>0){_414.style.minHeight=Math.max(newH-_41b,4)+"px";_41c=_415();var _41e=_419-_41c;newH-=_41e;if(_41e<_41b){break;}_419=_41c;_41b<<=1;}_414.style.height=newH+"px";_414.style.minHeight=_41a;_414.scrollTop=_41d;}_414.style.overflowY=_415()>_414.clientHeight?"auto":"hidden";if(_414.style.overflowY=="hidden"){_414.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,_41f,_420){var _421=[];var _422,_423,_424=0;while(_422=re.exec(str)){_423=str.slice(_424,re.lastIndex-_422[0].length);if(_423.length){_421.push(_423);}if(_41f){if(dojo.isOpera){var copy=_422.slice(0);while(copy.length<_422.length){copy.push(null);}_422=copy;}var _425=_41f.apply(_420,_422.slice(1).concat(_421.length));if(typeof _425!="undefined"){_421.push(_425);}}_424=re.lastIndex;}_423=str.slice(_424);if(_423.length){_421.push(_423);}return _421;};}if(!dojo._hasResource["dojox.string.sprintf"]){dojo._hasResource["dojox.string.sprintf"]=true;dojo.provide("dojox.string.sprintf");dojox.string.sprintf=function(_426,_427){for(var args=[],i=1;i<arguments.length;i++){args.push(arguments[i]);}var _428=new dojox.string.sprintf.Formatter(_426);return _428.format.apply(_428,args);};dojox.string.sprintf.Formatter=function(_429){var _42a=[];this._mapped=false;this._format=_429;this._tokens=dojox.string.tokenize(_429,this._re,this._parseDelim,this);};dojo.extend(dojox.string.sprintf.Formatter,{_re:/\%(?:\(([\w_]+)\)|([1-9]\d*)\$)?([0 +\-\#]*)(\*|\d+)?(\.)?(\*|\d+)?[hlL]?([\%scdeEfFgGiouxX])/g,_parseDelim:function(_42b,_42c,_42d,_42e,_42f,_430,_431){if(_42b){this._mapped=true;}return {mapping:_42b,intmapping:_42c,flags:_42d,_minWidth:_42e,period:_42f,_precision:_430,specifier:_431};},_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(_432){if(!isNaN(_432.arg)){var num=parseInt(_432.arg);if(num<0||num>127){throw new Error("invalid character code passed to %c in sprintf");}_432.arg=isNaN(num)?""+num:String.fromCharCode(num);}}},s:{setMaxWidth:function(_433){_433.maxWidth=(_433.period==".")?_433.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(_434){if(this._mapped&&typeof _434!="object"){throw new Error("format requires a mapping");}var str="";var _435=0;for(var i=0,_436;i<this._tokens.length;i++){_436=this._tokens[i];if(typeof _436=="string"){str+=_436;}else{if(this._mapped){if(typeof _434[_436.mapping]=="undefined"){throw new Error("missing key "+_436.mapping);}_436.arg=_434[_436.mapping];}else{if(_436.intmapping){var _435=parseInt(_436.intmapping)-1;}if(_435>=arguments.length){throw new Error("got "+arguments.length+" printf arguments, insufficient for '"+this._format+"'");}_436.arg=arguments[_435++];}if(!_436.compiled){_436.compiled=true;_436.sign="";_436.zeroPad=false;_436.rightJustify=false;_436.alternative=false;var _437={};for(var fi=_436.flags.length;fi--;){var flag=_436.flags.charAt(fi);_437[flag]=true;switch(flag){case " ":_436.sign=" ";break;case "+":_436.sign="+";break;case "0":_436.zeroPad=(_437["-"])?false:true;break;case "-":_436.rightJustify=true;_436.zeroPad=false;break;case "#":_436.alternative=true;break;default:throw Error("bad formatting flag '"+_436.flags.charAt(fi)+"'");}}_436.minWidth=(_436._minWidth)?parseInt(_436._minWidth):0;_436.maxWidth=-1;_436.toUpper=false;_436.isUnsigned=false;_436.isInt=false;_436.isDouble=false;_436.precision=1;if(_436.period=="."){if(_436._precision){_436.precision=parseInt(_436._precision);}else{_436.precision=0;}}var _438=this._specifiers[_436.specifier];if(typeof _438=="undefined"){throw new Error("unexpected specifier '"+_436.specifier+"'");}if(_438.extend){dojo.mixin(_438,this._specifiers[_438.extend]);delete _438.extend;}dojo.mixin(_436,_438);}if(typeof _436.setArg=="function"){_436.setArg(_436);}if(typeof _436.setMaxWidth=="function"){_436.setMaxWidth(_436);}if(_436._minWidth=="*"){if(this._mapped){throw new Error("* width not supported in mapped formats");}_436.minWidth=parseInt(arguments[_435++]);if(isNaN(_436.minWidth)){throw new Error("the argument for * width at position "+_435+" is not a number in "+this._format);}if(_436.minWidth<0){_436.rightJustify=true;_436.minWidth=-_436.minWidth;}}if(_436._precision=="*"&&_436.period=="."){if(this._mapped){throw new Error("* precision not supported in mapped formats");}_436.precision=parseInt(arguments[_435++]);if(isNaN(_436.precision)){throw Error("the argument for * precision at position "+_435+" is not a number in "+this._format);}if(_436.precision<0){_436.precision=1;_436.period="";}}if(_436.isInt){if(_436.period=="."){_436.zeroPad=false;}this.formatInt(_436);}else{if(_436.isDouble){if(_436.period!="."){_436.precision=6;}this.formatDouble(_436);}}this.fitField(_436);str+=""+_436.arg;}}return str;},_zeros10:"0000000000",_spaces10:"          ",formatInt:function(_439){var i=parseInt(_439.arg);if(!isFinite(i)){if(typeof _439.arg!="number"){throw new Error("format argument '"+_439.arg+"' not an integer; parseInt returned "+i);}i=0;}if(i<0&&(_439.isUnsigned||_439.base!=10)){i=4294967295+i+1;}if(i<0){_439.arg=(-i).toString(_439.base);this.zeroPad(_439);_439.arg="-"+_439.arg;}else{_439.arg=i.toString(_439.base);if(!i&&!_439.precision){_439.arg="";}else{this.zeroPad(_439);}if(_439.sign){_439.arg=_439.sign+_439.arg;}}if(_439.base==16){if(_439.alternative){_439.arg="0x"+_439.arg;}_439.arg=_439.toUpper?_439.arg.toUpperCase():_439.arg.toLowerCase();}if(_439.base==8){if(_439.alternative&&_439.arg.charAt(0)!="0"){_439.arg="0"+_439.arg;}}},formatDouble:function(_43a){var f=parseFloat(_43a.arg);if(!isFinite(f)){if(typeof _43a.arg!="number"){throw new Error("format argument '"+_43a.arg+"' not a float; parseFloat returned "+f);}f=0;}switch(_43a.doubleNotation){case "e":_43a.arg=f.toExponential(_43a.precision);break;case "f":_43a.arg=f.toFixed(_43a.precision);break;case "g":if(Math.abs(f)<0.0001){_43a.arg=f.toExponential(_43a.precision>0?_43a.precision-1:_43a.precision);}else{_43a.arg=f.toPrecision(_43a.precision);}if(!_43a.alternative){_43a.arg=_43a.arg.replace(/(\..*[^0])0*/,"$1");_43a.arg=_43a.arg.replace(/\.0*e/,"e").replace(/\.0$/,"");}break;default:throw new Error("unexpected double notation '"+_43a.doubleNotation+"'");}_43a.arg=_43a.arg.replace(/e\+(\d)$/,"e+0$1").replace(/e\-(\d)$/,"e-0$1");if(dojo.isOpera){_43a.arg=_43a.arg.replace(/^\./,"0.");}if(_43a.alternative){_43a.arg=_43a.arg.replace(/^(\d+)$/,"$1.");_43a.arg=_43a.arg.replace(/^(\d+)e/,"$1.e");}if(f>=0&&_43a.sign){_43a.arg=_43a.sign+_43a.arg;}_43a.arg=_43a.toUpper?_43a.arg.toUpperCase():_43a.arg.toLowerCase();},zeroPad:function(_43b,_43c){_43c=(arguments.length==2)?_43c:_43b.precision;if(typeof _43b.arg!="string"){_43b.arg=""+_43b.arg;}var _43d=_43c-10;while(_43b.arg.length<_43d){_43b.arg=(_43b.rightJustify)?_43b.arg+this._zeros10:this._zeros10+_43b.arg;}var pad=_43c-_43b.arg.length;_43b.arg=(_43b.rightJustify)?_43b.arg+this._zeros10.substring(0,pad):this._zeros10.substring(0,pad)+_43b.arg;},fitField:function(_43e){if(_43e.maxWidth>=0&&_43e.arg.length>_43e.maxWidth){return _43e.arg.substring(0,_43e.maxWidth);}if(_43e.zeroPad){this.zeroPad(_43e,_43e.minWidth);return;}this.spacePad(_43e);},spacePad:function(_43f,_440){_440=(arguments.length==2)?_440:_43f.minWidth;if(typeof _43f.arg!="string"){_43f.arg=""+_43f.arg;}var _441=_440-10;while(_43f.arg.length<_441){_43f.arg=(_43f.rightJustify)?_43f.arg+this._spaces10:this._spaces10+_43f.arg;}var pad=_440-_43f.arg.length;_43f.arg=(_43f.rightJustify)?_43f.arg+this._spaces10.substring(0,pad):this._spaces10.substring(0,pad)+_43f.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 _442=n.scrollLeft,_443=n.scrollTop;n.scrollLeft=n.scrollLeft+dx;n.scrollTop=n.scrollTop+dy;if(_442!=n.scrollLeft||_443!=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,_444){this.node=dojo.byId(node);if(!_444){_444={};}this.handle=_444.handle?dojo.byId(_444.handle):null;if(!this.handle){this.handle=this.node;}this.delay=_444.delay>0?_444.delay:0;this.skip=_444.skip;this.mover=_444.mover?_444.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(_445,node){return new dojo.dnd.Moveable(node,_445);},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(_446){dojo.publish("/dnd/move/start",[_446]);dojo.addClass(dojo.body(),"dojoMove");dojo.addClass(this.node,"dojoMoveItem");},onMoveStop:function(_447){dojo.publish("/dnd/move/stop",[_447]);dojo.removeClass(dojo.body(),"dojoMove");dojo.removeClass(this.node,"dojoMoveItem");},onFirstMove:function(_448,e){},onMove:function(_449,_44a,e){this.onMoving(_449,_44a);var s=_449.node.style;s.left=_44a.l+"px";s.top=_44a.t+"px";this.onMoved(_449,_44a);},onMoving:function(_44b,_44c){},onMoved:function(_44d,_44e){}});}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(_44f,node){return new dojo.dnd.move.constrainedMoveable(node,_44f);},constructor:function(node,_450){if(!_450){_450={};}this.constraints=_450.constraints;this.within=_450.within;},onFirstMove:function(_451){var c=this.constraintBox=this.constraints.call(this,_451);c.r=c.l+c.w;c.b=c.t+c.h;if(this.within){var mb=dojo._getMarginSize(_451.node);c.r-=mb.w;c.b-=mb.h;}},onMove:function(_452,_453){var c=this.constraintBox,s=_452.node.style;this.onMoving(_452,_453);_453.l=_453.l<c.l?c.l:c.r<_453.l?c.r:_453.l;_453.t=_453.t<c.t?c.t:c.b<_453.t?c.b:_453.t;s.left=_453.l+"px";s.top=_453.t+"px";this.onMoved(_452,_453);}});dojo.declare("dojo.dnd.move.boxConstrainedMoveable",dojo.dnd.move.constrainedMoveable,{box:{},markupFactory:function(_454,node){return new dojo.dnd.move.boxConstrainedMoveable(node,_454);},constructor:function(node,_455){var box=_455&&_455.box;this.constraints=function(){return box;};}});dojo.declare("dojo.dnd.move.parentConstrainedMoveable",dojo.dnd.move.constrainedMoveable,{area:"content",markupFactory:function(_456,node){return new dojo.dnd.move.parentConstrainedMoveable(node,_456);},constructor:function(node,_457){var area=_457&&_457.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 _458=dojo.dnd.Moveable.prototype.onMove;dojo.declare("dojo.dnd.TimedMoveable",dojo.dnd.Moveable,{timeout:40,constructor:function(node,_459){if(!_459){_459={};}if(_459.timeout&&typeof _459.timeout=="number"&&_459.timeout>=0){this.timeout=_459.timeout;}},markupFactory:function(_45a,node){return new dojo.dnd.TimedMoveable(node,_45a);},onMoveStop:function(_45b){if(_45b._timer){clearTimeout(_45b._timer);_458.call(this,_45b,_45b._leftTop);}dojo.dnd.Moveable.prototype.onMoveStop.apply(this,arguments);},onMove:function(_45c,_45d){_45c._leftTop=_45d;if(!_45c._timer){var _45e=this;_45c._timer=setTimeout(function(){_45c._timer=null;_458.call(_45e,_45c,_45c._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 _45f=this;dojo.mixin(_45f,args);_45f.node=args.node;_45f._showArgs=dojo.mixin({},args);_45f._showArgs.node=_45f.node;_45f._showArgs.duration=_45f.showDuration;_45f.showAnim=_45f.showFunc(_45f._showArgs);_45f._hideArgs=dojo.mixin({},args);_45f._hideArgs.node=_45f.node;_45f._hideArgs.duration=_45f.hideDuration;_45f.hideAnim=_45f.hideFunc(_45f._hideArgs);dojo.connect(_45f.showAnim,"beforeBegin",dojo.hitch(_45f.hideAnim,"stop",true));dojo.connect(_45f.hideAnim,"beforeBegin",dojo.hitch(_45f.showAnim,"stop",true));},show:function(_460){return this.showAnim.play(_460||0);},hide:function(_461){return this.hideAnim.play(_461||0);}});}if(!dojo._hasResource["dojo.fx"]){dojo._hasResource["dojo.fx"]=true;dojo.provide("dojo.fx");(function(){var d=dojo,_462={_fire:function(evt,args){if(this[evt]){this[evt].apply(this,args||[]);}return this;}};var _463=function(_464){this._index=-1;this._animations=_464||[];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(_463,{_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(_465,_466){if(!this._current){this._current=this._animations[this._index=0];}if(!_466&&this._current.status()=="playing"){return this;}var _467=d.connect(this._current,"beforeBegin",this,function(){this._fire("beforeBegin");}),_468=d.connect(this._current,"onBegin",this,function(arg){this._fire("onBegin",arguments);}),_469=d.connect(this._current,"onPlay",this,function(arg){this._fire("onPlay",arguments);d.disconnect(_467);d.disconnect(_468);d.disconnect(_469);});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(_46a,_46b){this.pause();var _46c=this.duration*_46a;this._current=null;d.some(this._animations,function(a){if(a.duration<=_46c){this._current=a;return true;}_46c-=a.duration;return false;});if(this._current){this._current.gotoPercent(_46c/this._current.duration,_46b);}return this;},stop:function(_46d){if(this._current){if(_46d){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(_463,_462);dojo.fx.chain=function(_46e){return new _463(_46e);};var _46f=function(_470){this._animations=_470||[];this._connects=[];this._finished=0;this.duration=0;d.forEach(_470,function(a){var _471=a.duration;if(a.delay){_471+=a.delay;}if(this.duration<_471){this.duration=_471;}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(_46f,{_doAction:function(_472,args){d.forEach(this._animations,function(a){a[_472].apply(a,args);});return this;},_onEnd:function(){if(++this._finished>this._animations.length){this._fire("onEnd");}},_call:function(_473,args){var t=this._pseudoAnimation;t[_473].apply(t,args);},play:function(_474,_475){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(_476,_477){var ms=this.duration*_476;d.forEach(this._animations,function(a){a.gotoPercent(a.duration<ms?1:(ms/a.duration),_477);});this._call("gotoPercent",arguments);return this;},stop:function(_478){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(_46f,_462);dojo.fx.combine=function(_479){return new _46f(_479);};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 _47a=d.style(node,"height");return Math.max(_47a,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(_47b){if(_47b.reset){_47b.reset();}});},validate:function(){var _47c=false;return dojo.every(dojo.map(this.getDescendants(),function(_47d){_47d._hasBeenBlurred=true;var _47e=_47d.disabled||!_47d.validate||_47d.validate();if(!_47e&&!_47c){dojo.window.scrollIntoView(_47d.containerNode||_47d.domNode);_47d.focus();_47c=true;}return _47e;}),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(_47f){if(!_47f.name){return;}var _480=map[_47f.name]||(map[_47f.name]=[]);_480.push(_47f);});for(var name in map){if(!map.hasOwnProperty(name)){continue;}var _481=map[name],_482=dojo.getObject(name,false,obj);if(_482===undefined){continue;}if(!dojo.isArray(_482)){_482=[_482];}if(typeof _481[0].checked=="boolean"){dojo.forEach(_481,function(w,i){w.set("value",dojo.indexOf(_482,w.value)!=-1);});}else{if(_481[0].multiple){_481[0].set("value",_482);}else{dojo.forEach(_481,function(w,i){w.set("value",_482[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(_483){var name=_483.name;if(!name||_483.disabled){return;}var _484=_483.get("value");if(typeof _483.checked=="boolean"){if(/Radio/.test(_483.declaredClass)){if(_484!==false){dojo.setObject(name,_484,obj);}else{_484=dojo.getObject(name,false,obj);if(_484===undefined){dojo.setObject(name,null,obj);}}}else{var ary=dojo.getObject(name,false,obj);if(!ary){ary=[];dojo.setObject(name,ary,obj);}if(_484!==false){ary.push(_484);}}}else{var prev=dojo.getObject(name,false,obj);if(typeof prev!="undefined"){if(dojo.isArray(prev)){prev.push(_484);}else{dojo.setObject(name,[prev,_484],obj);}}else{dojo.setObject(name,_484,obj);}}});return obj;},isValid:function(){return this.state=="";},onValidStateChange:function(_485){},_getState:function(){var _486=dojo.map(this._descendants,function(w){return w.get("state")||"";});return dojo.indexOf(_486,"Error")>=0?"Error":dojo.indexOf(_486,"Incomplete")>=0?"Incomplete":"";},disconnectChildren:function(){dojo.forEach(this._childConnections||[],dojo.hitch(this,"disconnect"));dojo.forEach(this._childWatches||[],function(w){w.unwatch();});},connectChildren:function(_487){var _488=this;this.disconnectChildren();this._descendants=this.getDescendants();var set=_487?function(name,val){_488[name]=val;}:dojo.hitch(this,"_set");set("value",this.get("value"));set("state",this._getState());var _489=(this._childConnections=[]),_48a=(this._childWatches=[]);dojo.forEach(dojo.filter(this._descendants,function(item){return item.validate;}),function(_48b){dojo.forEach(["state","disabled"],function(attr){_48a.push(_48b.watch(attr,function(attr,_48c,_48d){_488.set("state",_488._getState());}));});});var _48e=function(){if(_488._onChangeDelayTimer){clearTimeout(_488._onChangeDelayTimer);}_488._onChangeDelayTimer=setTimeout(function(){delete _488._onChangeDelayTimer;_488._set("value",_488.get("value"));},10);};dojo.forEach(dojo.filter(this._descendants,function(item){return item.onChange;}),function(_48f){_489.push(_488.connect(_48f,"onChange",_48e));_48a.push(_48f.watch("disabled",_48e));});},startup:function(){this.inherited(arguments);this.connectChildren(true);this.watch("state",function(attr,_490,_491){this.onValidStateChange(_491=="");});},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(_492){},onCancel:function(){},onExecute:function(){},_onSubmit:function(){this.onExecute();this.execute(this.get("value"));},_getFocusItems:function(){var _493=dijit._getTabNavigable(this.containerNode);this._firstFocusItem=_493.lowest||_493.first||this.closeButtonNode||this.domNode;this._lastFocusItem=_493.last||_493.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(_494){this.node.className="dijitDialogUnderlay "+_494;this._set("class",_494);},postCreate:function(){dojo.body().appendChild(this.domNode);},layout:function(){var is=this.node.style,os=this.domNode.style;os.display="none";var _495=dojo.window.getBox();os.top=_495.t+"px";os.left=_495.l+"px";is.width=_495.w+"px";is.height=_495.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 _496=this.getParent&&this.getParent();if(!(_496&&_496.isLayoutContainer)){this.resize();this.connect(dojo.isIE?this.domNode:dojo.global,"onresize",function(){this.resize();});}},resize:function(_497,_498){var node=this.domNode;if(_497){dojo.marginBox(node,_497);if(_497.t){node.style.top=_497.t+"px";}if(_497.l){node.style.left=_497.l+"px";}}var mb=_498||{};dojo.mixin(mb,_497||{});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(_499){var cls=this.baseClass+"-child "+(_499.baseClass?this.baseClass+"-"+_499.baseClass:"");dojo.addClass(_499.domNode,cls);},addChild:function(_49a,_49b){this.inherited(arguments);if(this._started){this._setupChild(_49a);}},removeChild:function(_49c){var cls=this.baseClass+"-child"+(_49c.baseClass?" "+this.baseClass+"-"+_49c.baseClass:"");dojo.removeClass(_49c.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 _49d=function(word){return word.substring(0,1).toUpperCase()+word.substring(1);};var size=function(_49e,dim){var _49f=_49e.resize?_49e.resize(dim):dojo.marginBox(_49e.domNode,dim);if(_49f){dojo.mixin(_49e,_49f);}else{dojo.mixin(_49e,dojo.marginBox(_49e.domNode));dojo.mixin(_49e,dim);}};dijit.layout.layoutChildren=function(_4a0,dim,_4a1,_4a2,_4a3){dim=dojo.mixin({},dim);dojo.addClass(_4a0,"dijitLayoutContainer");_4a1=dojo.filter(_4a1,function(item){return item.region!="center"&&item.layoutAlign!="client";}).concat(dojo.filter(_4a1,function(item){return item.region=="center"||item.layoutAlign=="client";}));dojo.forEach(_4a1,function(_4a4){var elm=_4a4.domNode,pos=(_4a4.region||_4a4.layoutAlign);var _4a5=elm.style;_4a5.left=dim.l+"px";_4a5.top=dim.t+"px";_4a5.position="absolute";dojo.addClass(elm,"dijitAlign"+_49d(pos));var _4a6={};if(_4a2&&_4a2==_4a4.id){_4a6[_4a4.region=="top"||_4a4.region=="bottom"?"h":"w"]=_4a3;}if(pos=="top"||pos=="bottom"){_4a6.w=dim.w;size(_4a4,_4a6);dim.h-=_4a4.h;if(pos=="top"){dim.t+=_4a4.h;}else{_4a5.top=dim.t+dim.h+"px";}}else{if(pos=="left"||pos=="right"){_4a6.h=dim.h;size(_4a4,_4a6);dim.w-=_4a4.w;if(pos=="left"){dim.l+=_4a4.w;}else{_4a5.left=dim.l+dim.w+"px";}}else{if(pos=="client"||pos=="center"){size(_4a4,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(_4a7){_4a7.startup();_4a7._started=true;});},startup:function(){if(this._started){return;}var _4a8=dijit._Contained.prototype.getParent.call(this);this._childOfLayoutWidget=_4a8&&_4a8.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 _4a9=dojo.query("> *",this.containerNode).filter(function(node){return node.tagName!=="SCRIPT";}),_4aa=_4a9.filter(function(node){return dojo.hasAttr(node,"data-dojo-type")||dojo.hasAttr(node,"dojoType")||dojo.hasAttr(node,"widgetId");}),_4ab=dojo.filter(_4aa.map(dijit.byNode),function(_4ac){return _4ac&&_4ac.domNode&&_4ac.resize;});if(_4a9.length==_4aa.length&&_4ab.length==1){this._singleChild=_4ab[0];}else{delete this._singleChild;}dojo.toggleClass(this.containerNode,this.baseClass+"SingleChild",!!this._singleChild);},resize:function(_4ad,_4ae){if(!this._wasShown&&this.open!==false){this._onShow();}this._resizeCalled=true;this._scheduleLayout(_4ad,_4ae);},_scheduleLayout:function(_4af,_4b0){if(this._isShown()){this._layout(_4af,_4b0);}else{this._needLayout=true;this._changeSize=_4af;this._resultSize=_4b0;}},_layout:function(_4b1,_4b2){if(_4b1){dojo.marginBox(this.domNode,_4b1);}var cn=this.containerNode;if(cn===this.domNode){var mb=_4b2||{};dojo.mixin(mb,_4b1||{});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(_4b3){if(_4b3.resize){_4b3.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,_4b4=this.domNode.parentNode;return (node.style.display!="none")&&(node.style.visibility!="hidden")&&!dojo.hasClass(node,"dijitHidden")&&_4b4&&_4b4.style&&(_4b4.style.display!="none");}}},_onShow:function(){if(this._needLayout){this._layout(this._changeSize,this._resultSize);}this.inherited(arguments);this._wasShown=true;}});}if(!dojo._hasResource["dojo.html"]){dojo._hasResource["dojo.html"]=true;dojo.provide("dojo.html");dojo.getObject("html",true,dojo);(function(){var _4b5=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 _4b6=cont.length,i=0;i<cont.length;i=_4b6==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(_4b7,node){dojo.mixin(this,_4b7||{});node=this.node=dojo.byId(this.node||node);if(!this.id){this.id=["Setter",(node)?node.id||node.tagName:"",_4b5++].join("_");}},set:function(cont,_4b8){if(undefined!==cont){this.content=cont;}if(_4b8){this._mixin(_4b8);}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 _4b9=this.onContentError(e);try{node.innerHTML=_4b9;}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 _4ba=cont.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_4ba){cont=_4ba[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(_4bb){var _4bc={},key;for(key in _4bb){if(key in _4bc){continue;}this[key]=_4bb[key];}},_parse:function(){var _4bd=this.node;try{var _4be={};dojo.forEach(["dir","lang","textDir"],function(name){if(this[name]){_4be[name]=this[name];}},this);this.parseResults=dojo.parser.parse({rootNode:_4bd,noStart:!this.startup,inherited:_4be,scope:this.parserScope});}catch(e){this._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);}},_onError:function(type,err,_4bf){var _4c0=this["on"+type+"Error"].call(this,err);if(_4bf){console.error(_4bf,err);}else{if(_4c0){dojo.html._setNodeContent(this.node,_4c0,true);}}}});dojo.html.set=function(node,cont,_4c1){if(undefined==cont){console.warn("dojo.html.set: no cont argument provided, using empty string");cont="";}if(!_4c1){return dojo.html._setNodeContent(node,cont,true);}else{var op=new dojo.html._ContentSetter(dojo.mixin(_4c1,{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(_4c2,_4c3){if((!_4c2||!_4c2.template)&&_4c3&&!("href" in _4c2)&&!("content" in _4c2)){var df=dojo.doc.createDocumentFragment();_4c3=dojo.byId(_4c3);while(_4c3.firstChild){df.appendChild(_4c3.firstChild);}_4c2=dojo.delegate(_4c2,{content:df});}this.inherited(arguments,[_4c2,_4c3]);},postMixInProperties:function(){this.inherited(arguments);var _4c4=dojo.i18n.getLocalization("dijit","loading",this.lang);this.loadingMessage=dojo.string.substitute(this.loadingMessage,_4c4);this.errorMessage=dojo.string.substitute(this.errorMessage,_4c4);},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(_4c5){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 _4c6={preventCache:(this.preventCache||this.refreshOnShow),url:this.href,handleAs:"text"};if(dojo.isObject(this.ioArgs)){dojo.mixin(_4c6,this.ioArgs);}var hand=(this._xhrDfd=(this.ioMethod||dojo.xhrGet)(_4c6));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 _4c7=this._contentSetter;dojo.forEach(this.getChildren(),function(_4c8){if(_4c8.destroyRecursive){_4c8.destroyRecursive();}});if(_4c7){dojo.forEach(_4c7.parseResults,function(_4c9){if(_4c9.destroyRecursive&&_4c9.domNode&&_4c9.domNode.parentNode==dojo.body()){_4c9.destroyRecursive();}});delete _4c7.parseResults;}dojo.html._emptyNode(this.containerNode);delete this._singleChild;},_setContent:function(cont,_4ca){this.destroyDescendants();var _4cb=this._contentSetter;if(!(_4cb&&_4cb instanceof dojo.html._ContentSetter)){_4cb=this._contentSetter=new dojo.html._ContentSetter({node:this.containerNode,_onError:dojo.hitch(this,this._onError),onContentError:dojo.hitch(this,function(e){var _4cc=this.onContentError(e);try{this.containerNode.innerHTML=_4cc;}catch(e){console.error("Fatal "+this.id+" could not change content due to "+e.message,e);}})});}var _4cd=dojo.mixin({cleanContent:this.cleanContent,extractContent:this.extractContent,parseContent:this.parseOnLoad,parserScope:this.parserScope,startup:false,dir:this.dir,lang:this.lang},this._contentSetterParams||{});_4cb.set((dojo.isObject(cont)&&cont.domNode)?cont.domNode:cont,_4cd);delete this._contentSetterParams;if(this.doLayout){this._checkIfSingleChild();}if(!_4ca){if(this._started){this._startChildren();this._scheduleLayout();}this._onLoadHandler(cont);}},_onError:function(type,err,_4ce){this.onLoadDeferred.errback(err);var _4cf=this["on"+type+"Error"].call(this,err);if(_4ce){console.error(_4ce,err);}else{if(_4cf){this._setContent(_4cf,true);}}},onLoad:function(data){},onUnload:function(){},onDownloadStart:function(){return this.loadingMessage;},onContentError:function(_4d0){},onDownloadError:function(_4d1){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(_4d2){this.containerNode.title=_4d2;this._set("title",_4d2);},postCreate:function(){this.inherited(arguments);this.connect(this.containerNode,"onkeypress","_onKey");},orient:function(node,_4d3,_4d4){var newC="dijitTooltipAB"+(_4d4.charAt(1)=="L"?"Left":"Right")+" dijitTooltip"+(_4d4.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 _4d5=(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(!_4d5){dijit.focus(this._lastFocusItem);}dojo.stopEvent(evt);}else{if(node==this._lastFocusItem&&evt.charOrCode===dk.TAB&&!evt.shiftKey){if(!_4d5){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 _4d6=dojo.i18n.getLocalization("dijit","common");dojo.mixin(this,_4d6);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 _4d7=dojo.window.getBox();if(mb.w>=_4d7.w||mb.h>=_4d7.h){var w=Math.min(mb.w,Math.floor(_4d7.w*0.75)),h=Math.min(mb.h,Math.floor(_4d7.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,_4d8=dojo.window.getBox(),p=this._relativePosition,bb=p?null:dojo._getBorderBox(node),l=Math.floor(_4d8.l+(p?p.x:(_4d8.w-bb.w)/2)),t=Math.floor(_4d8.t+(p?p.y:(_4d8.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 _4d9=(this._firstFocusItem==this._lastFocusItem);if(node==this._firstFocusItem&&evt.shiftKey&&evt.charOrCode===dk.TAB){if(!_4d9){dijit.focus(this._lastFocusItem);}dojo.stopEvent(evt);}else{if(node==this._lastFocusItem&&evt.charOrCode===dk.TAB&&!evt.shiftKey){if(!_4d9){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();}this._modalconnects.push(dojo.connect(window,"onscroll",this,"layout"));this._modalconnects.push(dojo.connect(window,"onresize",this,function(){var _4da=dojo.window.getBox();if(!this._oldViewport||_4da.h!=this._oldViewport.h||_4da.w!=this._oldViewport.w){this.layout();this._oldViewport=_4da;}}));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 _4db;this._fadeInDeferred=new dojo.Deferred(dojo.hitch(this,function(){_4db.stop();delete this._fadeInDeferred;}));_4db=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){return;}if(this._fadeInDeferred){this._fadeInDeferred.cancel();}var _4dc;this._fadeOutDeferred=new dojo.Deferred(dojo.hitch(this,function(){_4dc.stop();delete this._fadeOutDeferred;}));_4dc=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(_4dd,_4de){var ds=dijit._dialogStack;ds[ds.length-1].focus=dijit.getFocus(_4dd);var _4df=dijit._underlay;if(!_4df||_4df._destroyed){_4df=dijit._underlay=new dijit.DialogUnderlay(_4de);}else{_4df.set(_4dd.underlayAttrs);}var _4e0=ds[ds.length-1].dialog?ds[ds.length-1].zIndex+2:950;if(ds.length==1){_4df.show();}dojo.style(dijit._underlay.domNode,"zIndex",_4e0-1);dojo.style(_4dd.domNode,"zIndex",_4e0);ds.push({dialog:_4dd,underlayAttrs:_4de,zIndex:_4e0});},hide:function(_4e1){var ds=dijit._dialogStack;if(ds[ds.length-1].dialog==_4e1){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(_4e1.refocus){var _4e2=pd.focus;if(!_4e2||(pd.dialog&&!dojo.isDescendant(_4e2.node,pd.dialog.domNode))){pd.dialog._getFocusItems(pd.dialog.domNode);_4e2=pd.dialog._firstFocusItem;}try{dijit.focus(_4e2);}catch(e){}}}else{var idx=dojo.indexOf(dojo.map(ds,function(elem){return elem.dialog;}),_4e1);if(idx!=-1){ds.splice(idx,1);}}},isTop:function(_4e3){var ds=dijit._dialogStack;return ds[ds.length-1].dialog==_4e3;}};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"]);
