/*
	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["dojox.string.tokenize"]){dojo._hasResource["dojox.string.tokenize"]=true;dojo.provide("dojox.string.tokenize");dojox.string.tokenize=function(str,re,_5f,_60){var _61=[];var _62,_63,_64=0;while(_62=re.exec(str)){_63=str.slice(_64,re.lastIndex-_62[0].length);if(_63.length){_61.push(_63);}if(_5f){if(dojo.isOpera){var _65=_62.slice(0);while(_65.length<_62.length){_65.push(null);}_62=_65;}var _66=_5f.apply(_60,_62.slice(1).concat(_61.length));if(typeof _66!="undefined"){_61.push(_66);}}_64=re.lastIndex;}_63=str.slice(_64);if(_63.length){_61.push(_63);}return _61;};}if(!dojo._hasResource["dojox.string.sprintf"]){dojo._hasResource["dojox.string.sprintf"]=true;dojo.provide("dojox.string.sprintf");dojox.string.sprintf=function(_67,_68){for(var _69=[],i=1;i<arguments.length;i++){_69.push(arguments[i]);}var _6a=new dojox.string.sprintf.Formatter(_67);return _6a.format.apply(_6a,_69);};dojox.string.sprintf.Formatter=function(_6b){var _6c=[];this._mapped=false;this._format=_6b;this._tokens=dojox.string.tokenize(_6b,this._re,this._parseDelim,this);};dojo.extend(dojox.string.sprintf.Formatter,{_re:/\%(?:\(([\w_]+)\)|([1-9]\d*)\$)?([0 +\-\#]*)(\*|\d+)?(\.)?(\*|\d+)?[hlL]?([\%scdeEfFgGiouxX])/g,_parseDelim:function(_6d,_6e,_6f,_70,_71,_72,_73){if(_6d){this._mapped=true;}return {mapping:_6d,intmapping:_6e,flags:_6f,_minWidth:_70,period:_71,_precision:_72,specifier:_73};},_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(_74){if(!isNaN(_74.arg)){var num=parseInt(_74.arg);if(num<0||num>127){throw new Error("invalid character code passed to %c in sprintf");}_74.arg=isNaN(num)?""+num:String.fromCharCode(num);}}},s:{setMaxWidth:function(_75){_75.maxWidth=(_75.period==".")?_75.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(_76){if(this._mapped&&typeof _76!="object"){throw new Error("format requires a mapping");}var str="";var _77=0;for(var i=0,_78;i<this._tokens.length;i++){_78=this._tokens[i];if(typeof _78=="string"){str+=_78;}else{if(this._mapped){if(typeof _76[_78.mapping]=="undefined"){throw new Error("missing key "+_78.mapping);}_78.arg=_76[_78.mapping];}else{if(_78.intmapping){var _77=parseInt(_78.intmapping)-1;}if(_77>=arguments.length){throw new Error("got "+arguments.length+" printf arguments, insufficient for '"+this._format+"'");}_78.arg=arguments[_77++];}if(!_78.compiled){_78.compiled=true;_78.sign="";_78.zeroPad=false;_78.rightJustify=false;_78.alternative=false;var _79={};for(var fi=_78.flags.length;fi--;){var _7a=_78.flags.charAt(fi);_79[_7a]=true;switch(_7a){case " ":_78.sign=" ";break;case "+":_78.sign="+";break;case "0":_78.zeroPad=(_79["-"])?false:true;break;case "-":_78.rightJustify=true;_78.zeroPad=false;break;case "#":_78.alternative=true;break;default:throw Error("bad formatting flag '"+_78.flags.charAt(fi)+"'");}}_78.minWidth=(_78._minWidth)?parseInt(_78._minWidth):0;_78.maxWidth=-1;_78.toUpper=false;_78.isUnsigned=false;_78.isInt=false;_78.isDouble=false;_78.precision=1;if(_78.period=="."){if(_78._precision){_78.precision=parseInt(_78._precision);}else{_78.precision=0;}}var _7b=this._specifiers[_78.specifier];if(typeof _7b=="undefined"){throw new Error("unexpected specifier '"+_78.specifier+"'");}if(_7b.extend){dojo.mixin(_7b,this._specifiers[_7b.extend]);delete _7b.extend;}dojo.mixin(_78,_7b);}if(typeof _78.setArg=="function"){_78.setArg(_78);}if(typeof _78.setMaxWidth=="function"){_78.setMaxWidth(_78);}if(_78._minWidth=="*"){if(this._mapped){throw new Error("* width not supported in mapped formats");}_78.minWidth=parseInt(arguments[_77++]);if(isNaN(_78.minWidth)){throw new Error("the argument for * width at position "+_77+" is not a number in "+this._format);}if(_78.minWidth<0){_78.rightJustify=true;_78.minWidth=-_78.minWidth;}}if(_78._precision=="*"&&_78.period=="."){if(this._mapped){throw new Error("* precision not supported in mapped formats");}_78.precision=parseInt(arguments[_77++]);if(isNaN(_78.precision)){throw Error("the argument for * precision at position "+_77+" is not a number in "+this._format);}if(_78.precision<0){_78.precision=1;_78.period="";}}if(_78.isInt){if(_78.period=="."){_78.zeroPad=false;}this.formatInt(_78);}else{if(_78.isDouble){if(_78.period!="."){_78.precision=6;}this.formatDouble(_78);}}this.fitField(_78);str+=""+_78.arg;}}return str;},_zeros10:"0000000000",_spaces10:"          ",formatInt:function(_7c){var i=parseInt(_7c.arg);if(!isFinite(i)){if(typeof _7c.arg!="number"){throw new Error("format argument '"+_7c.arg+"' not an integer; parseInt returned "+i);}i=0;}if(i<0&&(_7c.isUnsigned||_7c.base!=10)){i=4294967295+i+1;}if(i<0){_7c.arg=(-i).toString(_7c.base);this.zeroPad(_7c);_7c.arg="-"+_7c.arg;}else{_7c.arg=i.toString(_7c.base);if(!i&&!_7c.precision){_7c.arg="";}else{this.zeroPad(_7c);}if(_7c.sign){_7c.arg=_7c.sign+_7c.arg;}}if(_7c.base==16){if(_7c.alternative){_7c.arg="0x"+_7c.arg;}_7c.arg=_7c.toUpper?_7c.arg.toUpperCase():_7c.arg.toLowerCase();}if(_7c.base==8){if(_7c.alternative&&_7c.arg.charAt(0)!="0"){_7c.arg="0"+_7c.arg;}}},formatDouble:function(_7d){var f=parseFloat(_7d.arg);if(!isFinite(f)){if(typeof _7d.arg!="number"){throw new Error("format argument '"+_7d.arg+"' not a float; parseFloat returned "+f);}f=0;}switch(_7d.doubleNotation){case "e":_7d.arg=f.toExponential(_7d.precision);break;case "f":_7d.arg=f.toFixed(_7d.precision);break;case "g":if(Math.abs(f)<0.0001){_7d.arg=f.toExponential(_7d.precision>0?_7d.precision-1:_7d.precision);}else{_7d.arg=f.toPrecision(_7d.precision);}if(!_7d.alternative){_7d.arg=_7d.arg.replace(/(\..*[^0])0*/,"$1");_7d.arg=_7d.arg.replace(/\.0*e/,"e").replace(/\.0$/,"");}break;default:throw new Error("unexpected double notation '"+_7d.doubleNotation+"'");}_7d.arg=_7d.arg.replace(/e\+(\d)$/,"e+0$1").replace(/e\-(\d)$/,"e-0$1");if(dojo.isOpera){_7d.arg=_7d.arg.replace(/^\./,"0.");}if(_7d.alternative){_7d.arg=_7d.arg.replace(/^(\d+)$/,"$1.");_7d.arg=_7d.arg.replace(/^(\d+)e/,"$1.e");}if(f>=0&&_7d.sign){_7d.arg=_7d.sign+_7d.arg;}_7d.arg=_7d.toUpper?_7d.arg.toUpperCase():_7d.arg.toLowerCase();},zeroPad:function(_7e,_7f){_7f=(arguments.length==2)?_7f:_7e.precision;if(typeof _7e.arg!="string"){_7e.arg=""+_7e.arg;}var _80=_7f-10;while(_7e.arg.length<_80){_7e.arg=(_7e.rightJustify)?_7e.arg+this._zeros10:this._zeros10+_7e.arg;}var pad=_7f-_7e.arg.length;_7e.arg=(_7e.rightJustify)?_7e.arg+this._zeros10.substring(0,pad):this._zeros10.substring(0,pad)+_7e.arg;},fitField:function(_81){if(_81.maxWidth>=0&&_81.arg.length>_81.maxWidth){return _81.arg.substring(0,_81.maxWidth);}if(_81.zeroPad){this.zeroPad(_81,_81.minWidth);return;}this.spacePad(_81);},spacePad:function(_82,_83){_83=(arguments.length==2)?_83:_82.minWidth;if(typeof _82.arg!="string"){_82.arg=""+_82.arg;}var _84=_83-10;while(_82.arg.length<_84){_82.arg=(_82.rightJustify)?_82.arg+this._spaces10:this._spaces10+_82.arg;}var pad=_83-_82.arg.length;_82.arg=(_82.rightJustify)?_82.arg+this._spaces10.substring(0,pad):this._spaces10.substring(0,pad)+_82.arg;}});}if(!dojo._hasResource["dojo.window"]){dojo._hasResource["dojo.window"]=true;dojo.provide("dojo.window");dojo.getObject("window",true,dojo);dojo.window.getBox=function(){var _85=(dojo.doc.compatMode=="BackCompat")?dojo.body():dojo.doc.documentElement;var _86=dojo._docScroll();return {w:_85.clientWidth,h:_85.clientHeight,l:_86.x,t:_86.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(_87,pos){_87=dojo.byId(_87);var _88,doc=_87.ownerDocument||dojo.doc;if(!("rtl_adjust_position_for_verticalScrollBar" in dojo.window)){_88=dojo.body();var _89=dojo.create("div",{style:{overflow:"scroll",overflowX:"visible",direction:"rtl",visibility:"hidden",position:"absolute",left:"0",top:"0",width:"64px",height:"64px"}},_88,"last"),div=dojo.create("div",{style:{overflow:"hidden",direction:"ltr"}},_89,"last");dojo.window.rtl_adjust_position_for_verticalScrollBar=dojo.position(div).x!=0;_89.removeChild(div);_88.removeChild(_89);}if(!("position_fixed_support" in dojo.window)){_88=dojo.body();var _8a=dojo.create("span",{style:{visibility:"hidden",position:"fixed",left:"1px",top:"1px"}},_88,"last"),_8b=dojo.create("span",{style:{position:"fixed",left:"0",top:"0"}},_8a,"last");dojo.window.position_fixed_support=dojo.position(_8b).x!=dojo.position(_8a).x;_8a.removeChild(_8b);_88.removeChild(_8a);}try{_88=doc.body||doc.getElementsByTagName("body")[0];var _8c=doc.documentElement||_88.parentNode,_8d=dojo.isIE,_8e=dojo.isWebKit;if(_87==_88||_87==_8c){return;}if(!(dojo.isMozilla||_8d||_8e||dojo.isOpera)&&("scrollIntoView" in _87)){_87.scrollIntoView(false);return;}var _8f=doc.compatMode=="BackCompat",_90=Math.min(_88.clientWidth||_8c.clientWidth,_8c.clientWidth||_88.clientWidth),_91=Math.min(_88.clientHeight||_8c.clientHeight,_8c.clientHeight||_88.clientHeight),_92=(_8e||_8f)?_88:_8c,_93=pos||dojo.position(_87),el=_87.parentNode,_94=function(el){return (_8d<=6||(_8d==7&&_8f))?false:(dojo.window.position_fixed_support&&(dojo.style(el,"position").toLowerCase()=="fixed"));};if(_94(_87)){return;}while(el){if(el==_88){el=_92;}var _95=dojo.position(el),_96=_94(el),rtl=dojo.getComputedStyle(el).direction.toLowerCase()=="rtl";if(el==_92){_95.w=_90;_95.h=_91;if(_92==_8c&&_8d&&rtl){_95.x+=_92.offsetWidth-_95.w;}if(_95.x<0||!_8d||_8d>=9){_95.x=0;}if(_95.y<0||!_8d||_8d>=9){_95.y=0;}}else{var pb=dojo._getPadBorderExtents(el);_95.w-=pb.w;_95.h-=pb.h;_95.x+=pb.l;_95.y+=pb.t;var _97=el.clientWidth,_98=_95.w-_97;if(_97>0&&_98>0){if(rtl&&dojo.window.rtl_adjust_position_for_verticalScrollBar){_95.x+=_98;}_95.w=_97;}_97=el.clientHeight;_98=_95.h-_97;if(_97>0&&_98>0){_95.h=_97;}}if(_96){if(_95.y<0){_95.h+=_95.y;_95.y=0;}if(_95.x<0){_95.w+=_95.x;_95.x=0;}if(_95.y+_95.h>_91){_95.h=_91-_95.y;}if(_95.x+_95.w>_90){_95.w=_90-_95.x;}}var l=_93.x-_95.x,t=_93.y-_95.y,r=l+_93.w-_95.w,bot=t+_93.h-_95.h;var s,old;if(r*l>0&&(!!el.scrollLeft||el==_92||el.scrollWidth>el.offsetHeight)){s=Math[l<0?"max":"min"](l,r);if(rtl&&((_8d==8&&!_8f)||_8d>=9)){s=-s;}old=el.scrollLeft;el.scrollLeft+=s;s=el.scrollLeft-old;_93.x-=s;}if(bot*t>0&&(!!el.scrollTop||el==_92||el.scrollHeight>el.offsetHeight)){s=Math.ceil(Math[t<0?"max":"min"](t,bot));old=el.scrollTop;el.scrollTop+=s;s=el.scrollTop-old;_93.y-=s;}el=(el!=_92)&&!_96&&el.parentNode;}}catch(error){console.error("scrollIntoView: "+error);_87.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(_99){if(this._hash[_99.id]){throw new Error("Tried to register widget with id=="+_99.id+" but that id is already registered");}this._hash[_99.id]=_99;this.length++;},remove:function(id){if(this._hash[id]){delete this._hash[id];this.length--;}},forEach:function(_9a,_9b){_9b=_9b||dojo.global;var i=0,id;for(id in this._hash){_9a.call(_9b,this._hash[id],i++,this._hash);}return this;},filter:function(_9c,_9d){_9d=_9d||dojo.global;var res=new dijit.WidgetSet(),i=0,id;for(id in this._hash){var w=this._hash[id];if(_9c.call(_9d,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,_9e;for(id in this._hash){_9e=this._hash[id];if(_9e.declaredClass==cls){res.add(_9e);}}return res;},toArray:function(){var ar=[];for(var id in this._hash){ar.push(this._hash[id]);}return ar;},map:function(_9f,_a0){return dojo.map(this.toArray(),_9f,_a0);},every:function(_a1,_a2){_a2=_a2||dojo.global;var x=0,i;for(i in this._hash){if(!_a1.call(_a2,this._hash[i],x++,this._hash)){return false;}}return true;},some:function(_a3,_a4){_a4=_a4||dojo.global;var x=0,i;for(i in this._hash){if(_a3.call(_a4,this._hash[i],x++,this._hash)){return true;}}return false;}});(function(){dijit.registry=new dijit.WidgetSet();var _a5=dijit.registry._hash,_a6=dojo.attr,_a7=dojo.hasAttr,_a8=dojo.style;dijit.byId=function(id){return typeof id=="string"?_a5[id]:id;};var _a9={};dijit.getUniqueId=function(_aa){var id;do{id=_aa+"_"+(_aa in _a9?++_a9[_aa]:_a9[_aa]=0);}while(_a5[id]);return dijit._scopeName=="dijit"?id:dijit._scopeName+"_"+id;};dijit.findWidgets=function(_ab){var _ac=[];function _ad(_ae){for(var _af=_ae.firstChild;_af;_af=_af.nextSibling){if(_af.nodeType==1){var _b0=_af.getAttribute("widgetId");if(_b0){var _b1=_a5[_b0];if(_b1){_ac.push(_b1);}}else{_ad(_af);}}}};_ad(_ab);return _ac;};dijit._destroyAll=function(){dijit._curFocus=null;dijit._prevFocus=null;dijit._activeStack=[];dojo.forEach(dijit.findWidgets(dojo.body()),function(_b2){if(!_b2._destroyed){if(_b2.destroyRecursive){_b2.destroyRecursive();}else{if(_b2.destroy){_b2.destroy();}}}});};if(dojo.isIE){dojo.addOnWindowUnload(function(){dijit._destroyAll();});}dijit.byNode=function(_b3){return _a5[_b3.getAttribute("widgetId")];};dijit.getEnclosingWidget=function(_b4){while(_b4){var id=_b4.getAttribute&&_b4.getAttribute("widgetId");if(id){return _a5[id];}_b4=_b4.parentNode;}return null;};var _b5=(dijit._isElementShown=function(_b6){var s=_a8(_b6);return (s.visibility!="hidden")&&(s.visibility!="collapsed")&&(s.display!="none")&&(_a6(_b6,"type")!="hidden");});dijit.hasDefaultTabStop=function(_b7){switch(_b7.nodeName.toLowerCase()){case "a":return _a7(_b7,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return true;case "iframe":var _b8;try{var _b9=_b7.contentDocument;if("designMode" in _b9&&_b9.designMode=="on"){return true;}_b8=_b9.body;}catch(e1){try{_b8=_b7.contentWindow.document.body;}catch(e2){return false;}}return _b8.contentEditable=="true"||(_b8.firstChild&&_b8.firstChild.contentEditable=="true");default:return _b7.contentEditable=="true";}};var _ba=(dijit.isTabNavigable=function(_bb){if(_a6(_bb,"disabled")){return false;}else{if(_a7(_bb,"tabIndex")){return _a6(_bb,"tabIndex")>=0;}else{return dijit.hasDefaultTabStop(_bb);}}});dijit._getTabNavigable=function(_bc){var _bd,_be,_bf,_c0,_c1,_c2,_c3={};function _c4(_c5){return _c5&&_c5.tagName.toLowerCase()=="input"&&_c5.type&&_c5.type.toLowerCase()=="radio"&&_c5.name&&_c5.name.toLowerCase();};var _c6=function(_c7){dojo.query("> *",_c7).forEach(function(_c8){if((dojo.isIE<=9&&_c8.scopeName!=="HTML")||!_b5(_c8)){return;}if(_ba(_c8)){var _c9=_a6(_c8,"tabIndex");if(!_a7(_c8,"tabIndex")||_c9==0){if(!_bd){_bd=_c8;}_be=_c8;}else{if(_c9>0){if(!_bf||_c9<_c0){_c0=_c9;_bf=_c8;}if(!_c1||_c9>=_c2){_c2=_c9;_c1=_c8;}}}var rn=_c4(_c8);if(dojo.attr(_c8,"checked")&&rn){_c3[rn]=_c8;}}if(_c8.nodeName.toUpperCase()!="SELECT"){_c6(_c8);}});};if(_b5(_bc)){_c6(_bc);}function rs(_ca){return _c3[_c4(_ca)]||_ca;};return {first:rs(_bd),last:rs(_be),lowest:rs(_bf),highest:rs(_c1)};};dijit.getFirstInTabbingOrder=function(_cb){var _cc=dijit._getTabNavigable(dojo.byId(_cb));return _cc.lowest?_cc.lowest:_cc.first;};dijit.getLastInTabbingOrder=function(_cd){var _ce=dijit._getTabNavigable(dojo.byId(_cd));return _ce.last?_ce.last:_ce.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(_cf){if(_cf){dojo.mixin(this,_cf);}},get:function(_d0){return this[_d0];},set:function(_d1,_d2){if(typeof _d1==="object"){for(var x in _d1){this.set(x,_d1[x]);}return this;}var _d3=this[_d1];this[_d1]=_d2;if(this._watchCallbacks){this._watchCallbacks(_d1,_d3,_d2);}return this;},watch:function(_d4,_d5){var _d6=this._watchCallbacks;if(!_d6){var _d7=this;_d6=this._watchCallbacks=function(_d8,_d9,_da,_db){var _dc=function(_dd){if(_dd){_dd=_dd.slice();for(var i=0,l=_dd.length;i<l;i++){try{_dd[i].call(_d7,_d8,_d9,_da);}catch(e){console.error(e);}}}};_dc(_d6["_"+_d8]);if(!_db){_dc(_d6["*"]);}};}if(!_d5&&typeof _d4==="function"){_d5=_d4;_d4="*";}else{_d4="_"+_d4;}var _de=_d6[_d4];if(typeof _de!=="object"){_de=_d6[_d4]=[];}_de.push(_d5);return {unwatch:function(){_de.splice(dojo.indexOf(_de,_d5),1);}};}});}if(!dojo._hasResource["dijit._WidgetBase"]){dojo._hasResource["dijit._WidgetBase"]=true;dojo.provide("dijit._WidgetBase");(function(){function _df(a,b){return a===b||(a!==a&&b!==b);};dojo.declare("dijit._WidgetBase",dojo.Stateful,{id:"",lang:"",dir:"","class":"",style:"",title:"",tooltip:"",baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,attributeMap:{id:"",dir:"",lang:"","class":"",style:"",title:""},_blankGif:(dojo.config.blankGif||dojo.moduleUrl("dojo","resources/blank.gif")).toString(),postscript:function(_e0,_e1){this.create(_e0,_e1);},create:function(_e2,_e3){this.srcNodeRef=dojo.byId(_e3);this._connects=[];this._subscribes=[];if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_e2){this.params=_e2;dojo._mixin(this,_e2);}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 _e4=this.srcNodeRef;if(_e4&&_e4.parentNode&&this.domNode!==_e4){_e4.parentNode.replaceChild(this.domNode,_e4);}}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 _e5=function(_e6,_e7){if((_e7.params&&_e6 in _e7.params)||_e7[_e6]){_e7.set(_e6,_e7[_e6]);}};for(var _e8 in this.attributeMap){_e5(_e8,this);}dojo.forEach(this._getSetterAttributes(),function(a){if(!(a in this.attributeMap)){_e5(a,this);}},this);},_getSetterAttributes:function(){var _e9=this.constructor;if(!_e9._setterAttrs){var r=(_e9._setterAttrs=[]),_ea,_eb=_e9.prototype;for(var _ec in _eb){if(dojo.isFunction(_eb[_ec])&&(_ea=_ec.match(/^_set([a-zA-Z]*)Attr$/))&&_ea[1]){r.push(_ea[1].charAt(0).toLowerCase()+_ea[1].substr(1));}}}return _e9._setterAttrs;},postMixInProperties:function(){},buildRendering:function(){if(!this.domNode){this.domNode=this.srcNodeRef||dojo.create("div");}if(this.baseClass){var _ed=this.baseClass.split(" ");if(!this.isLeftToRight()){_ed=_ed.concat(dojo.map(_ed,function(_ee){return _ee+"Rtl";}));}dojo.addClass(this.domNode,_ed);}},postCreate:function(){},startup:function(){this._started=true;},destroyRecursive:function(_ef){this._beingDestroyed=true;this.destroyDescendants(_ef);this.destroy(_ef);},destroy:function(_f0){this._beingDestroyed=true;this.uninitialize();var d=dojo,dfe=d.forEach,dun=d.unsubscribe;dfe(this._connects,function(_f1){dfe(_f1,d.disconnect);});dfe(this._subscribes,function(_f2){dun(_f2);});dfe(this._supportingWidgets||[],function(w){if(w.destroyRecursive){w.destroyRecursive();}else{if(w.destroy){w.destroy();}}});this.destroyRendering(_f0);dijit.registry.remove(this.id);this._destroyed=true;},destroyRendering:function(_f3){if(this.bgIframe){this.bgIframe.destroy(_f3);delete this.bgIframe;}if(this.domNode){if(_f3){dojo.removeAttr(this.domNode,"widgetId");}else{dojo.destroy(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_f3){dojo.destroy(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_f4){dojo.forEach(this.getChildren(),function(_f5){if(_f5.destroyRecursive){_f5.destroyRecursive(_f4);}});},uninitialize:function(){return false;},_setClassAttr:function(_f6){var _f7=this[this.attributeMap["class"]||"domNode"];dojo.replaceClass(_f7,_f6,this["class"]);this._set("class",_f6);},_setStyleAttr:function(_f8){var _f9=this[this.attributeMap.style||"domNode"];if(dojo.isObject(_f8)){dojo.style(_f9,_f8);}else{if(_f9.style.cssText){_f9.style.cssText+="; "+_f8;}else{_f9.style.cssText=_f8;}}this._set("style",_f8);},_attrToDom:function(_fa,_fb){var _fc=this.attributeMap[_fa];dojo.forEach(dojo.isArray(_fc)?_fc:[_fc],function(_fd){var _fe=this[_fd.node||_fd||"domNode"];var _ff=_fd.type||"attribute";switch(_ff){case "attribute":if(dojo.isFunction(_fb)){_fb=dojo.hitch(this,_fb);}var _100=_fd.attribute?_fd.attribute:(/^on[A-Z][a-zA-Z]*$/.test(_fa)?_fa.toLowerCase():_fa);dojo.attr(_fe,_100,_fb);break;case "innerText":_fe.innerHTML="";_fe.appendChild(dojo.doc.createTextNode(_fb));break;case "innerHTML":_fe.innerHTML=_fb;break;case "class":dojo.replaceClass(_fe,_fb,this[_fa]);break;}},this);},get:function(name){var _101=this._getAttrNames(name);return this[_101.g]?this[_101.g]():this[name];},set:function(name,_102){if(typeof name==="object"){for(var x in name){this.set(x,name[x]);}return this;}var _103=this._getAttrNames(name);if(this[_103.s]){var _104=this[_103.s].apply(this,Array.prototype.slice.call(arguments,1));}else{if(name in this.attributeMap){this._attrToDom(name,_102);}this._set(name,_102);}return _104||this;},_attrPairNames:{},_getAttrNames:function(name){var apn=this._attrPairNames;if(apn[name]){return apn[name];}var uc=name.charAt(0).toUpperCase()+name.substr(1);return (apn[name]={n:name+"Node",s:"_set"+uc+"Attr",g:"_get"+uc+"Attr"});},_set:function(name,_105){var _106=this[name];this[name]=_105;if(this._watchCallbacks&&this._created&&!_df(_105,_106)){this._watchCallbacks(name,_106,_105);}},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,_107,_108){var _109=[dojo._connect(obj,_107,this,_108)];this._connects.push(_109);return _109;},disconnect:function(_10a){for(var i=0;i<this._connects.length;i++){if(this._connects[i]==_10a){dojo.forEach(_10a,dojo.disconnect);this._connects.splice(i,1);return;}}},subscribe:function(_10b,_10c){var _10d=dojo.subscribe(_10b,this,_10c);this._subscribes.push(_10d);return _10d;},unsubscribe:function(_10e){for(var i=0;i<this._subscribes.length;i++){if(this._subscribes[i]==_10e){dojo.unsubscribe(_10e);this._subscribes.splice(i,1);return;}}},isLeftToRight:function(){return this.dir?(this.dir=="ltr"):dojo._isBodyLtr();},placeAt:function(_10f,_110){if(_10f.declaredClass&&_10f.addChild){_10f.addChild(this,_110);}else{dojo.place(this.domNode,_10f,_110);}return this;},defer:function(fcn,_111){var _112=setTimeout(dojo.hitch(this,function(){_112=null;if(!this._destroyed){dojo.hitch(this,fcn)();}}),_111||0);return {remove:function(){if(_112){clearTimeout(_112);_112=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(_113){var _114=dojo.doc,mark=_113.mark;if(mark){if(dojo.global.getSelection){var sel=dojo.global.getSelection();if(sel&&sel.removeAllRanges){if(mark.pRange){var r=mark;var n=r.node;n.selectionStart=r.start;n.selectionEnd=r.end;}else{sel.removeAllRanges();sel.addRange(mark);}}else{console.warn("No idea how to restore selection for this browser!");}}else{if(_114.selection&&mark){var rg;if(mark.pRange){rg=mark.range;}else{if(dojo.isArray(mark)){rg=_114.body.createControlRange();dojo.forEach(mark,function(n){rg.addElement(n);});}else{rg=_114.body.createTextRange();rg.moveToBookmark(mark);}}rg.select();}}}},getFocus:function(menu,_115){var node=!dijit._curFocus||(menu&&dojo.isDescendant(dijit._curFocus,menu.domNode))?dijit._prevFocus:dijit._curFocus;return {node:node,bookmark:(node==dijit._curFocus)&&dojo.withGlobal(_115||dojo.global,dijit.getBookmark),openedForWindow:_115};},focus:function(_116){if(!_116){return;}var node="node" in _116?_116.node:_116,_117=_116.bookmark,_118=_116.openedForWindow,_119=_117?_117.isCollapsed:false;if(node){var _11a=(node.tagName.toLowerCase()=="iframe")?node.contentWindow:node;if(_11a&&_11a.focus){try{_11a.focus();}catch(e){}}dijit._onFocusNode(node);}if(_117&&dojo.withGlobal(_118||dojo.global,dijit.isCollapsed)&&!_119){if(_118){_118.focus();}try{dojo.withGlobal(_118||dojo.global,dijit.moveToBookmark,null,[_117]);}catch(e2){}}},_activeStack:[],registerIframe:function(_11b){return dijit.registerWin(_11b.contentWindow,_11b);},unregisterIframe:function(_11c){dijit.unregisterWin(_11c);},registerWin:function(_11d,_11e){var _11f=function(evt){dijit._justMouseDowned=true;setTimeout(function(){dijit._justMouseDowned=false;},0);if(dojo.isIE&&evt&&evt.srcElement&&evt.srcElement.parentNode==null){return;}dijit._onTouchNode(_11e||evt.target||evt.srcElement,"mouse");};var doc=dojo.isIE?_11d.document.documentElement:_11d.document;if(doc){if(dojo.isIE){_11d.document.body.attachEvent("onmousedown",_11f);var _120=function(evt){if(evt.srcElement.tagName.toLowerCase()!="#document"&&dijit.isTabNavigable(evt.srcElement)){dijit._onFocusNode(_11e||evt.srcElement);}else{dijit._onTouchNode(_11e||evt.srcElement);}};doc.attachEvent("onactivate",_120);var _121=function(evt){dijit._onBlurNode(_11e||evt.srcElement);};doc.attachEvent("ondeactivate",_121);return function(){_11d.document.detachEvent("onmousedown",_11f);doc.detachEvent("onactivate",_120);doc.detachEvent("ondeactivate",_121);doc=null;};}else{doc.body.addEventListener("mousedown",_11f,true);var _122=function(evt){dijit._onFocusNode(_11e||evt.target);};doc.addEventListener("focus",_122,true);var _123=function(evt){dijit._onBlurNode(_11e||evt.target);};doc.addEventListener("blur",_123,true);return function(){doc.body.removeEventListener("mousedown",_11f,true);doc.removeEventListener("focus",_122,true);doc.removeEventListener("blur",_123,true);doc=null;};}}},unregisterWin:function(_124){_124&&_124();},_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 _125=[];try{while(node){var _126=dojo.attr(node,"dijitPopupParent");if(_126){node=dijit.byId(_126).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"),_127=id&&dijit.byId(id);if(_127&&!(by=="mouse"&&_127.get("disabled"))){_125.unshift(id);}node=node.parentNode;}}}}catch(e){}dijit._setStack(_125,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(_128,by){var _129=dijit._activeStack;dijit._activeStack=_128;for(var _12a=0;_12a<Math.min(_129.length,_128.length);_12a++){if(_129[_12a]!=_128[_12a]){break;}}var _12b;for(var i=_129.length-1;i>=_12a;i--){_12b=dijit.byId(_129[i]);if(_12b){_12b._focused=false;_12b.set("focused",false);_12b._hasBeenBlurred=true;if(_12b._onBlur){_12b._onBlur(by);}dojo.publish("widgetBlur",[_12b,by]);}}for(i=_12a;i<_128.length;i++){_12b=dijit.byId(_128[i]);if(_12b){_12b._focused=true;_12b.set("focused",true);if(_12b._onFocus){_12b._onFocus(by);}dojo.publish("widgetFocus",[_12b,by]);}}}});dojo.addOnLoad(function(){var _12c=dijit.registerWin(window);if(dojo.isIE){dojo.addOnWindowUnload(function(){dijit.unregisterWin(_12c);_12c=null;});}});}if(!dojo._hasResource["dojo.AdapterRegistry"]){dojo._hasResource["dojo.AdapterRegistry"]=true;dojo.provide("dojo.AdapterRegistry");dojo.AdapterRegistry=function(_12d){this.pairs=[];this.returnWrappers=_12d||false;};dojo.extend(dojo.AdapterRegistry,{register:function(name,_12e,wrap,_12f,_130){this.pairs[((_130)?"unshift":"push")]([name,_12e,wrap,_12f]);},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,_131,_132){var _133=dojo.map(_131,function(_134){var c={corner:_134,pos:{x:pos.x,y:pos.y}};if(_132){c.pos.x+=_134.charAt(1)=="L"?_132.x:-_132.x;c.pos.y+=_134.charAt(0)=="T"?_132.y:-_132.y;}return c;});return dijit._place(node,_133);};dijit._place=function(node,_135,_136,_137){var view=dojo.window.getBox();if(!node.parentNode||String(node.parentNode.tagName).toLowerCase()!="body"){dojo.body().appendChild(node);}var best=null;dojo.some(_135,function(_138){var _139=_138.corner;var pos=_138.pos;var _13a=0;var _13b={w:_139.charAt(1)=="L"?(view.l+view.w)-pos.x:pos.x-view.l,h:_139.charAt(1)=="T"?(view.t+view.h)-pos.y:pos.y-view.t};if(_136){var res=_136(node,_138.aroundCorner,_139,_13b,_137);_13a=typeof res=="undefined"?0:res;}var _13c=node.style;var _13d=_13c.display;var _13e=_13c.visibility;_13c.visibility="hidden";_13c.display="";var mb=dojo.marginBox(node);_13c.display=_13d;_13c.visibility=_13e;var _13f=Math.max(view.l,_139.charAt(1)=="L"?pos.x:(pos.x-mb.w)),_140=Math.max(view.t,_139.charAt(0)=="T"?pos.y:(pos.y-mb.h)),endX=Math.min(view.l+view.w,_139.charAt(1)=="L"?(_13f+mb.w):pos.x),endY=Math.min(view.t+view.h,_139.charAt(0)=="T"?(_140+mb.h):pos.y),_141=endX-_13f,_142=endY-_140;_13a+=(mb.w-_141)+(mb.h-_142);if(best==null||_13a<best.overflow){best={corner:_139,aroundCorner:_138.aroundCorner,x:_13f,y:_140,w:_141,h:_142,overflow:_13a,spaceAvailable:_13b};}return !_13a;});if(best.overflow&&_136){_136(node,best.aroundCorner,best.corner,best.spaceAvailable,_137);}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,_143,_144,_145){_143=dojo.byId(_143);var _146=dojo.position(_143,true);return dijit._placeOnScreenAroundRect(node,_146.x,_146.y,_146.w,_146.h,_144,_145);};dijit.placeOnScreenAroundRectangle=function(node,_147,_148,_149){return dijit._placeOnScreenAroundRect(node,_147.x,_147.y,_147.width,_147.height,_148,_149);};dijit._placeOnScreenAroundRect=function(node,x,y,_14a,_14b,_14c,_14d){var _14e=[];for(var _14f in _14c){_14e.push({aroundCorner:_14f,corner:_14c[_14f],pos:{x:x+(_14f.charAt(1)=="L"?0:_14a),y:y+(_14f.charAt(0)=="T"?0:_14b)}});}return dijit._place(node,_14e,_14d,{w:_14a,h:_14b});};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,_150,_151,_152){return dijit.placementRegistry.match.apply(dijit.placementRegistry,arguments);};dijit.getPopupAroundAlignment=function(_153,_154){var _155={};dojo.forEach(_153,function(pos){switch(pos){case "after":_155[_154?"BR":"BL"]=_154?"BL":"BR";break;case "before":_155[_154?"BL":"BR"]=_154?"BR":"BL";break;case "below-alt":_154=!_154;case "below":_155[_154?"BL":"BR"]=_154?"TL":"TR";_155[_154?"BR":"BL"]=_154?"TR":"TL";break;case "above-alt":_154=!_154;case "above":default:_155[_154?"TL":"TR"]=_154?"BL":"BR";_155[_154?"TR":"TL"]=_154?"BR":"BL";break;}});return _155;};}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(_156){var node=_156.domNode||_156,_157=_156.declaredClass?_156._popupWrapper:node.parentNode&&dojo.hasClass(node.parentNode,"dijitPopup")?node.parentNode:null;if(!_157){_157=dojo.create("div",{"class":"dijitPopup",style:{display:"none"},role:"presentation"},dojo.body());_157.appendChild(node);var s=node.style;s.display="";s.visibility="";s.position="";s.top="0px";if(_156.declaredClass){_156._popupWrapper=_157;dojo.connect(_156,"destroy",function(){dojo.destroy(_157);delete _156._popupWrapper;});}}return _157;},moveOffScreen:function(_158){var _159=this._createWrapper(_158);dojo.style(_159,{visibility:"hidden",top:"-9999px",display:""});},hide:function(_15a){var _15b=this._createWrapper(_15a);dojo.style(_15b,"display","none");},getTopPopup:function(){var _15c=this._stack;for(var pi=_15c.length-1;pi>0&&_15c[pi].parent===_15c[pi-1].widget;pi--){}return _15c[pi];},open:function(args){var _15d=this._stack,_15e=args.popup,_15f=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"}),_160=args.around,id=(args.around&&args.around.id)?(args.around.id+"_dropdown"):("popup_"+this._idGen++);while(_15d.length&&(!args.parent||!dojo.isDescendant(args.parent.domNode,_15d[_15d.length-1].widget.domNode))){dijit.popup.close(_15d[_15d.length-1].widget);}var _161=this._createWrapper(_15e);dojo.attr(_161,{id:id,style:{zIndex:this._beginZIndex+_15d.length},"class":"dijitPopup "+(_15e.baseClass||_15e["class"]||"").split(" ")[0]+"Popup",dijitPopupParent:args.parent?args.parent.id:""});if(dojo.isIE||dojo.isMoz){if(!_15e.bgIframe){_15e.bgIframe=new dijit.BackgroundIframe(_161);}}var best=_160?dijit.placeOnScreenAroundElement(_161,_160,_15f,_15e.orient?dojo.hitch(_15e,"orient"):null):dijit.placeOnScreen(_161,args,_15f=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],args.padding);_161.style.display="";_161.style.visibility="visible";_15e.domNode.style.visibility="visible";var _162=[];_162.push(dojo.connect(_161,"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 _163=this.getTopPopup();if(_163&&_163.onCancel){_163.onCancel();}}}}));if(_15e.onCancel){_162.push(dojo.connect(_15e,"onCancel",args.onCancel));}_162.push(dojo.connect(_15e,_15e.onExecute?"onExecute":"onChange",this,function(){var _164=this.getTopPopup();if(_164&&_164.onExecute){_164.onExecute();}}));_15d.push({widget:_15e,parent:args.parent,onExecute:args.onExecute,onCancel:args.onCancel,onClose:args.onClose,handlers:_162});if(_15e.onOpen){_15e.onOpen(best);}return best;},close:function(_165){var _166=this._stack;while((_165&&dojo.some(_166,function(elem){return elem.widget==_165;}))||(!_165&&_166.length)){var top=_166.pop(),_167=top.widget,_168=top.onClose;if(_167.onClose){_167.onClose();}dojo.forEach(top.handlers,dojo.disconnect);if(_167&&_167.domNode){this.hide(_167);}if(_168){_168();}}}};dijit._frames=new function(){var _169=[];this.pop=function(){var _16a;if(_169.length){_16a=_169.pop();_16a.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\");'>";_16a=dojo.doc.createElement(html);}else{_16a=dojo.create("iframe");_16a.src="javascript:\"\"";_16a.className="dijitBackgroundIframe";dojo.style(_16a,"opacity",0.1);}_16a.tabIndex=-1;dijit.setWaiRole(_16a,"presentation");}return _16a;};this.push=function(_16b){_16b.style.display="none";_169.push(_16b);};}();dijit.BackgroundIframe=function(node){if(!node.id){throw new Error("no id");}if(dojo.isIE||dojo.isMoz){var _16c=(this.iframe=dijit._frames.pop());node.appendChild(_16c);if(dojo.isIE<7||dojo.isQuirks){this.resize(node);this._conn=dojo.connect(node,"onresize",this,function(){this.resize(node);});}else{dojo.style(_16c,{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,_16d=d.isOpera,maj=Math.floor,ff=d.isFF,_16e=d.boxModel.replace(/-/,""),_16f={dj_quirks:d.isQuirks,dj_opera:_16d,dj_khtml:d.isKhtml,dj_webkit:d.isWebKit,dj_safari:d.isSafari,dj_chrome:d.isChrome,dj_gecko:d.isMozilla};if(ie){_16f["dj_ie"]=true;_16f["dj_ie"+maj(ie)]=true;_16f["dj_iequirks"]=d.isQuirks;}if(ff){_16f["dj_ff"+maj(ff)]=true;}_16f["dj_"+_16e]=true;var _170="";for(var clz in _16f){if(_16f[clz]){_170+=clz+" ";}}html.className=d.trim(html.className+" "+_170);dojo._loaders.unshift(function(){if(!dojo._isBodyLtr()){var _171="dj_rtl dijitRtl "+_170.replace(/ /g,"-rtl ");html.className=d.trim(html.className+" "+_171);}});})();}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,_172,node,_173,obj,_174,_175,_176){if(obj!=this._obj){this.stop();this._initialDelay=_175||500;this._subsequentDelay=_174||0.9;this._minDelay=_176||10;this._obj=obj;this._evt=evt;this._node=node;this._currentTimeout=-1;this._count=-1;this._callback=dojo.hitch(_172,_173);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,_177,_178,_179,_17a,_17b,_17c){if(_177.keyCode){_177.charOrCode=_177.keyCode;dojo.deprecated("keyCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}else{if(_177.charCode){_177.charOrCode=String.fromCharCode(_177.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==_177.charOrCode&&(_177.ctrlKey===undefined||_177.ctrlKey==evt.ctrlKey)&&(_177.altKey===undefined||_177.altKey==evt.altKey)&&(_177.metaKey===undefined||_177.metaKey==(evt.metaKey||false))&&(_177.shiftKey===undefined||_177.shiftKey==evt.shiftKey)){dojo.stopEvent(evt);dijit.typematic.trigger(evt,_178,node,_179,_177,_17a,_17b,_17c);}else{if(dijit.typematic._obj==_177){dijit.typematic.stop();}}}),dojo.connect(node,"onkeyup",this,function(evt){if(dijit.typematic._obj==_177){dijit.typematic.stop();}})];},addMouseListener:function(node,_17d,_17e,_17f,_180,_181){var dc=dojo.connect;return [dc(node,"mousedown",this,function(evt){dojo.stopEvent(evt);dijit.typematic.trigger(evt,_17d,node,_17e,node,_17f,_180,_181);}),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,_17d,node,_17e,node,_17f,_180,_181);setTimeout(dojo.hitch(this,dijit.typematic.stop),50);}})];},addListener:function(_182,_183,_184,_185,_186,_187,_188,_189){return this.addKeyListener(_183,_184,_185,_186,_187,_188,_189).concat(this.addMouseListener(_182,_185,_186,_187,_188,_189));}};}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 _18a=cs.backgroundImage;var _18b=(cs.borderTopColor==cs.borderRightColor)||(_18a!=null&&(_18a=="none"||_18a=="url(invalid-url:)"));dojo[_18b?"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 _18c=this.getWaiRole(elem);return role?(_18c.indexOf(role)>-1):(_18c.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 _18d=dojo.attr(elem,"role");if(!_18d){return;}if(role){var t=dojo.trim((" "+_18d+" ").replace(" "+role+" "," "));dojo.attr(elem,"role",t);}else{elem.removeAttribute("role");}},hasWaiState:function(elem,_18e){return elem.hasAttribute?elem.hasAttribute("aria-"+_18e):!!elem.getAttribute("aria-"+_18e);},getWaiState:function(elem,_18f){return elem.getAttribute("aria-"+_18f)||"";},setWaiState:function(elem,_190,_191){elem.setAttribute("aria-"+_190,_191);},removeWaiState:function(elem,_192){elem.removeAttribute("aria-"+_192);}});}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(_193,_194){if(_193&&dojo.isFunction(_193._onConnect)){_193._onConnect(_194);}});dijit._connectOnUseEventHandler=function(_195){};dijit._lastKeyDownNode=null;if(dojo.isIE){(function(){var _196=function(evt){dijit._lastKeyDownNode=evt.srcElement;};dojo.doc.attachEvent("onkeydown",_196);dojo.addOnWindowUnload(function(){dojo.doc.detachEvent("onkeydown",_196);});})();}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(_197,_198){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(_199){if(_199 in this._deferredConnects){var _19a=this[this._deferredConnects[_199]||"domNode"];this.connect(_19a,_199.toLowerCase(),_199);delete this._deferredConnects[_199];}},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,_19b){dojo.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0");this.set(attr,_19b);},attr:function(name,_19c){if(dojo.config.isDebug){var _19d=arguments.callee._ach||(arguments.callee._ach={}),_19e=(arguments.callee.caller||"unknown caller").toString();if(!_19d[_19e]){dojo.deprecated(this.declaredClass+"::attr() is deprecated. Use get() or set() instead, called from "+_19e,"","2.0");_19d[_19e]=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,_19f,_1a0){var d=dojo,dc=d._connect,_1a1=this.inherited(arguments,[obj,_19f=="ondijitclick"?"onclick":_19f,_1a0]);if(_19f=="ondijitclick"){if(d.indexOf(this.nodesWithKeyClick,obj.nodeName.toLowerCase())==-1){var m=d.hitch(this,_1a0);_1a1.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 _1a1;},_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(_1a2,map,_1a3,_1a4){_1a4=_1a4||dojo.global;_1a3=_1a3?dojo.hitch(_1a4,_1a3):function(v){return v;};return _1a2.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_1a5,key,_1a6){var _1a7=dojo.getObject(key,false,map);if(_1a6){_1a7=dojo.getObject(_1a6,false,_1a4).call(_1a4,_1a7,key);}return _1a3(_1a7,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(_1a8,url,_1a9){if(typeof _1a8=="string"){var _1aa=dojo.moduleUrl(_1a8,url);}else{_1aa=_1a8;_1a9=url;}var key=_1aa.toString();var val=_1a9;if(_1a9!=undefined&&!dojo.isString(_1a9)){val=("value" in _1a9?_1a9.value:undefined);}var _1ab=_1a9&&_1a9.sanitize?true:false;if(typeof val=="string"){val=cache[key]=_1ab?dojo.cache._sanitize(val):val;}else{if(val===null){delete cache[key];}else{if(!(key in cache)){val=dojo._getText(key);cache[key]=_1ab?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 _1ac=val.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_1ac){val=_1ac[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 _1ad=this.declaredClass,_1ae=this;return dojo.string.substitute(tmpl,this,function(_1af,key){if(key.charAt(0)=="!"){_1af=dojo.getObject(key.substr(1),false,_1ae);}if(typeof _1af=="undefined"){throw new Error(_1ad+" template:"+key);}if(_1af==null){return "";}return key.charAt(0)=="!"?_1af:_1af.toString().replace(/"/g,"&quot;");},this);},buildRendering:function(){var _1b0=dijit._Templated.getCachedTemplate(this.templatePath,this.templateString,this._skipNodeCache);var node;if(dojo.isString(_1b0)){node=dojo._toDom(this._stringRepl(_1b0));if(node.nodeType!=1){throw new Error("Invalid template: "+_1b0);}}else{node=_1b0.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(_1b1){var dest=this.containerNode;if(_1b1&&dest){while(_1b1.hasChildNodes()){dest.appendChild(_1b1.firstChild);}}},_attachTemplateNodes:function(_1b2,_1b3){_1b3=_1b3||function(n,p){return n.getAttribute(p);};var _1b4=dojo.isArray(_1b2)?_1b2:(_1b2.all||_1b2.getElementsByTagName("*"));var x=dojo.isArray(_1b2)?0:-1;for(;x<_1b4.length;x++){var _1b5=(x==-1)?_1b2:_1b4[x];if(this.widgetsInTemplate&&(_1b3(_1b5,"dojoType")||_1b3(_1b5,"data-dojo-type"))){continue;}var _1b6=_1b3(_1b5,"dojoAttachPoint")||_1b3(_1b5,"data-dojo-attach-point");if(_1b6){var _1b7,_1b8=_1b6.split(/\s*,\s*/);while((_1b7=_1b8.shift())){if(dojo.isArray(this[_1b7])){this[_1b7].push(_1b5);}else{this[_1b7]=_1b5;}this._attachPoints.push(_1b7);}}var _1b9=_1b3(_1b5,"dojoAttachEvent")||_1b3(_1b5,"data-dojo-attach-event");if(_1b9){var _1ba,_1bb=_1b9.split(/\s*,\s*/);var trim=dojo.trim;while((_1ba=_1bb.shift())){if(_1ba){var _1bc=null;if(_1ba.indexOf(":")!=-1){var _1bd=_1ba.split(":");_1ba=trim(_1bd[0]);_1bc=trim(_1bd[1]);}else{_1ba=trim(_1ba);}if(!_1bc){_1bc=_1ba;}this._attachEvents.push(this.connect(_1b5,_1ba,_1bc));}}}var role=_1b3(_1b5,"waiRole");if(role){dijit.setWaiRole(_1b5,role);}var _1be=_1b3(_1b5,"waiState");if(_1be){dojo.forEach(_1be.split(/\s*,\s*/),function(_1bf){if(_1bf.indexOf("-")!=-1){var pair=_1bf.split("-");dijit.setWaiState(_1b5,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(_1c0){delete this[_1c0];},this);this._attachPoints=[];dojo.forEach(this._attachEvents,this.disconnect,this);this._attachEvents=[];this.inherited(arguments);}});dijit._Templated._templateCache={};dijit._Templated.getCachedTemplate=function(_1c1,_1c2,_1c3){var _1c4=dijit._Templated._templateCache;var key=_1c2||_1c1;var _1c5=_1c4[key];if(_1c5){try{if(!_1c5.ownerDocument||_1c5.ownerDocument==dojo.doc){return _1c5;}}catch(e){}dojo.destroy(_1c5);}if(!_1c2){_1c2=dojo.cache(_1c1,{sanitize:true});}_1c2=dojo.string.trim(_1c2);if(_1c3||_1c2.match(/\$\{([^\}]+)\}/g)){return (_1c4[key]=_1c2);}else{var node=dojo._toDom(_1c2);if(node.nodeType!=1){throw new Error("Invalid template: "+_1c2);}return (_1c4[key]=node);}};if(dojo.isIE){dojo.addOnWindowUnload(function(){var _1c6=dijit._Templated._templateCache;for(var key in _1c6){var _1c7=_1c6[key];if(typeof _1c7=="object"){dojo.destroy(_1c7);}delete _1c6[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(_1c8){if(!this.disabled){switch(_1c8.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 _1c9=this.connect(dojo.body(),"onmouseup",function(){this._mouseDown=false;this._set("active",false);this.disconnect(_1c9);});break;}}},_setStateClass:function(){var _1ca=this.baseClass.split(" ");function _1cb(_1cc){_1ca=_1ca.concat(dojo.map(_1ca,function(c){return c+_1cc;}),"dijit"+_1cc);};if(!this.isLeftToRight()){_1cb("Rtl");}if(this.checked){_1cb("Checked");}if(this.state){_1cb(this.state);}if(this.selected){_1cb("Selected");}if(this.disabled){_1cb("Disabled");}else{if(this.readOnly){_1cb("ReadOnly");}else{if(this.active){_1cb("Active");}else{if(this.hovering){_1cb("Hover");}}}}if(this._focused){_1cb("Focused");}var tn=this.stateNode||this.domNode,_1cd={};dojo.forEach(tn.className.split(" "),function(c){_1cd[c]=true;});if("_stateClasses" in this){dojo.forEach(this._stateClasses,function(c){delete _1cd[c];});}dojo.forEach(_1ca,function(c){_1cd[c]=true;});var _1ce=[];for(var c in _1cd){_1ce.push(c);}tn.className=_1ce.join(" ");this._stateClasses=_1ca;},_trackMouseState:function(node,_1cf){var _1d0=false,_1d1=false,_1d2=false;var self=this,cn=dojo.hitch(this,"connect",node);function _1d3(){var _1d4=("disabled" in self&&self.disabled)||("readonly" in self&&self.readonly);dojo.toggleClass(node,_1cf+"Hover",_1d0&&!_1d1&&!_1d4);dojo.toggleClass(node,_1cf+"Active",_1d1&&!_1d4);dojo.toggleClass(node,_1cf+"Focused",_1d2&&!_1d4);};cn("onmouseenter",function(){_1d0=true;_1d3();});cn("onmouseleave",function(){_1d0=false;_1d1=false;_1d3();});cn("onmousedown",function(){_1d1=true;_1d3();});cn("onmouseup",function(){_1d1=false;_1d3();});cn("onfocus",function(){_1d2=true;_1d3();});cn("onblur",function(){_1d2=false;_1d3();});this.watch("disabled",_1d3);this.watch("readOnly",_1d3);}});}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(_1d5){this._set("disabled",_1d5);dojo.attr(this.focusNode,"disabled",_1d5);if(this.valueNode){dojo.attr(this.valueNode,"disabled",_1d5);}dijit.setWaiState(this.focusNode,"disabled",_1d5);if(_1d5){this._set("hovering",false);this._set("active",false);var _1d6="tabIndex" in this.attributeMap?this.attributeMap.tabIndex:"focusNode";dojo.forEach(dojo.isArray(_1d6)?_1d6:[_1d6],function(_1d7){var node=this[_1d7];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(_1d8){dojo.deprecated("setDisabled("+_1d8+") is deprecated. Use set('disabled',"+_1d8+") instead.","","2.0");this.set("disabled",_1d8);},_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(_1d9){},_onChangeActive:false,_handleOnChange:function(_1da,_1db){if(this._lastValueReported==undefined&&(_1db===null||!this._onChangeActive)){this._resetValue=this._lastValueReported=_1da;}this._pendingOnChange=this._pendingOnChange||(typeof _1da!=typeof this._lastValueReported)||(this.compare(_1da,this._lastValueReported)!=0);if((this.intermediateChanges||_1db||_1db===undefined)&&this._pendingOnChange){this._lastValueReported=_1da;this._pendingOnChange=false;if(this._onChangeActive){if(this._onChangeHandle){clearTimeout(this._onChangeHandle);}this._onChangeHandle=setTimeout(dojo.hitch(this,function(){this._onChangeHandle=null;this.onChange(_1da);}),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(_1dc){dojo.deprecated("dijit.form._FormWidget:setValue("+_1dc+") is deprecated.  Use set('value',"+_1dc+") instead.","","2.0");this.set("value",_1dc);},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 _1dd=this.connect(dojo.body(),"onmouseup",function(){if(this.isFocusable()){this.focus();}this.disconnect(_1dd);});}}});dojo.declare("dijit.form._FormValueWidget",dijit.form._FormWidget,{readOnly:false,attributeMap:dojo.delegate(dijit.form._FormWidget.prototype.attributeMap,{value:"",readOnly:"focusNode"}),_setReadOnlyAttr:function(_1de){dojo.attr(this.focusNode,"readOnly",_1de);dijit.setWaiState(this.focusNode,"readonly",_1de);this._set("readOnly",_1de);},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(_1df,_1e0){this._handleOnChange(_1df,_1e0);},_handleOnChange:function(_1e1,_1e2){this._set("value",_1e1);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 _1e3=this.domNode;var _1e4=_1e3.parentNode;var _1e5=_1e3.firstChild||_1e3;var _1e6=_1e5.style.filter;var _1e7=this;while(_1e4&&_1e4.clientHeight==0){(function ping(){var _1e8=_1e7.connect(_1e4,"onscroll",function(e){_1e7.disconnect(_1e8);_1e5.style.filter=(new Date()).getMilliseconds();setTimeout(function(){_1e5.style.filter=_1e6;},0);});})();_1e4=_1e4.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(_1e9,_1ea){var _1eb=this.containerNode;if(_1ea&&typeof _1ea=="number"){var _1ec=this.getChildren();if(_1ec&&_1ec.length>=_1ea){_1eb=_1ec[_1ea-1].domNode;_1ea="after";}}dojo.place(_1e9.domNode,_1eb,_1ea);if(this._started&&!_1e9._started){_1e9.startup();}},removeChild:function(_1ed){if(typeof _1ed=="number"){_1ed=this.getChildren()[_1ed];}if(_1ed){var node=_1ed.domNode;if(node&&node.parentNode){node.parentNode.removeChild(node);}}},hasChildren:function(){return this.getChildren().length>0;},destroyDescendants:function(_1ee){dojo.forEach(this.getChildren(),function(_1ef){_1ef.destroyRecursive(_1ee);});},_getSiblingOfChild:function(_1f0,dir){var node=_1f0.domNode,_1f1=(dir>0?"nextSibling":"previousSibling");do{node=node[_1f1];}while(node&&(node.nodeType!=1||!dijit.byNode(node)));return node&&dijit.byNode(node);},getIndexOfChild:function(_1f2){return dojo.indexOf(this.getChildren(),_1f2);},startup:function(){if(this._started){return;}dojo.forEach(this.getChildren(),function(_1f3){_1f3.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 _1f4=this.dropDown,_1f5=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&&!_1f5){if(dojo.hasClass(t,"dijitPopup")){_1f5=true;}else{t=t.parentNode;}}if(_1f5){t=e.target;if(_1f4.onItemClick){var _1f6;while(t&&!(_1f6=dijit.byNode(t))){t=t.parentNode;}if(_1f6&&_1f6.onClick&&_1f6.getParent){_1f6.getParent().onItemClick(_1f6,e);}}return;}}}if(this._opened&&_1f4.focus&&_1f4.autoFocus!==false){window.setTimeout(dojo.hitch(_1f4,"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 _1f7={"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"+_1f7+"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,_1f8=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==" ")&&((_1f8.tagName||"").toLowerCase()!=="input"||(_1f8.type&&_1f8.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 _1f9=dijit._curFocus&&this.dropDown&&dojo.isDescendant(dijit._curFocus,this.dropDown.domNode);this.closeDropDown(_1f9);this.inherited(arguments);},isLoaded:function(){return true;},loadDropDown:function(_1fa){_1fa();},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 _1fb=this.dropDown,_1fc=_1fb.domNode,_1fd=this._aroundNode||this.domNode,self=this;if(!this._preparedNode){this._preparedNode=true;if(_1fc.style.width){this._explicitDDWidth=true;}if(_1fc.style.height){this._explicitDDHeight=true;}}if(this.maxHeight||this.forceWidth||this.autoWidth){var _1fe={display:"",visibility:"hidden"};if(!this._explicitDDWidth){_1fe.width="";}if(!this._explicitDDHeight){_1fe.height="";}dojo.style(_1fc,_1fe);var _1ff=this.maxHeight;if(_1ff==-1){var _200=dojo.window.getBox(),_201=dojo.position(_1fd,false);_1ff=Math.floor(Math.max(_201.y,_200.h-(_201.y+_201.h)));}if(_1fb.startup&&!_1fb._started){_1fb.startup();}dijit.popup.moveOffScreen(_1fb);var mb=dojo._getMarginSize(_1fc);var _202=(_1ff&&mb.h>_1ff);dojo.style(_1fc,{overflowX:"hidden",overflowY:_202?"auto":"hidden"});if(_202){mb.h=_1ff;if("w" in mb){mb.w+=16;}}else{delete mb.h;}if(this.forceWidth){mb.w=_1fd.offsetWidth;}else{if(this.autoWidth){mb.w=Math.max(mb.w,_1fd.offsetWidth);}else{delete mb.w;}}if(dojo.isFunction(_1fb.resize)){_1fb.resize(mb);}else{dojo.marginBox(_1fc,mb);}}var _203=dijit.popup.open({parent:this,popup:_1fb,around:_1fd,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 _203;},closeDropDown:function(_204){if(this._opened){if(_204){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 _205=dijit.byNode(node);if(_205&&typeof _205._onSubmit=="function"){_205._onSubmit(e);break;}}}else{if(this.valueNode){this.valueNode.click();e.preventDefault();}}}},buildRendering:function(){this.inherited(arguments);dojo.setSelectable(this.focusNode,false);},_fillContent:function(_206){if(_206&&(!this.params||!("label" in this.params))){this.set("label",_206.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(_207){dojo.deprecated("dijit.form.Button.setLabel() is deprecated.  Use set('label', ...) instead.","","2.0");this.set("label",_207);},_setLabelAttr:function(_208){this._set("label",_208);this.containerNode.innerHTML=_208;if(this.showLabel==false&&!this.params.title){this.titleNode.title=dojo.trim(this.containerNode.innerText||this.containerNode.textContent||"");}},_setIconClassAttr:function(val){var _209=this.iconClass||"dijitNoIcon",_20a=val||"dijitNoIcon";dojo.replaceClass(this.iconNode,_20a,_209);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 _20b=dojo.query("*",this.srcNodeRef);dijit.form.DropDownButton.superclass._fillContent.call(this,_20b[0]);this.dropDownContainer=this.srcNodeRef;}},startup:function(){if(this._started){return;}if(!this.dropDown&&this.dropDownContainer){var _20c=dojo.query("[widgetId]",this.dropDownContainer)[0];this.dropDown=dijit.byNode(_20c);delete this.dropDownContainer;}if(this.dropDown){dijit.popup.hide(this.dropDown);}this.inherited(arguments);},isLoaded:function(){var _20d=this.dropDown;return (!!_20d&&(!_20d.href||_20d.isLoaded));},loadDropDown:function(){var _20e=this.dropDown;if(!_20e){return;}if(!this.isLoaded()){var _20f=dojo.connect(_20e,"onLoad",this,function(){dojo.disconnect(_20f);this.openDropDown();});_20e.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(_210){if(!this.disabled){dijit.focus(_210=="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(_211,_212){this._set("checked",_211);dojo.attr(this.focusNode||this.domNode,"checked",_211);dijit.setWaiState(this.focusNode||this.domNode,"pressed",_211);this._handleOnChange(_211,_212);},setChecked:function(_213){dojo.deprecated("setChecked("+_213+") is deprecated. Use set('checked',"+_213+") instead.","","2.0");this.set("checked",_213);},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(_214,_215,_216){_216=dojo.i18n.normalizeLocale(_216);var _217=_216.split("-");var _218=[_214,"nls",_215].join(".");var _219=dojo._loadedModules[_218];if(_219){var _21a;for(var i=_217.length;i>0;i--){var loc=_217.slice(0,i).join("_");if(_219[loc]){_21a=_219[loc];break;}}if(!_21a){_21a=_219.ROOT;}if(_21a){var _21b=function(){};_21b.prototype=_21a;return new _21b();}}throw new Error("Bundle not found: "+_215+" in "+_214+" , locale="+_216);};dojo.i18n.normalizeLocale=function(_21c){var _21d=(_21c?_21c:dojo.locale).toLowerCase();if(_21d=="root"){_21d="ROOT";}return _21d;};dojo.i18n._requireLocalization=function(_21e,_21f,_220,_221){var _222=dojo.i18n.normalizeLocale(_220);var _223=[_21e,"nls",_21f].join(".");var _224="";if(_221){var _225=_221.split(",");for(var i=0;i<_225.length;i++){if(_222["indexOf"](_225[i])==0){if(_225[i].length>_224.length){_224=_225[i];}}}if(!_224){_224="ROOT";}}var _226=_221?_224:_222;var _227=dojo._loadedModules[_223];var _228=null;if(_227){if(dojo.config.localizationComplete&&_227._built){return;}var _229=_226.replace(/-/g,"_");var _22a=_223+"."+_229;_228=dojo._loadedModules[_22a];}if(!_228){_227=dojo["provide"](_223);var syms=dojo._getModuleSymbols(_21e);var _22b=syms.concat("nls").join("/");var _22c;dojo.i18n._searchLocalePath(_226,_221,function(loc){var _22d=loc.replace(/-/g,"_");var _22e=_223+"."+_22d;var _22f=false;if(!dojo._loadedModules[_22e]){dojo["provide"](_22e);var _230=[_22b];if(loc!="ROOT"){_230.push(loc);}_230.push(_21f);var _231=_230.join("/")+".js";_22f=dojo._loadPath(_231,null,function(hash){hash=hash.root||hash;var _232=function(){};_232.prototype=_22c;_227[_22d]=new _232();for(var j in hash){_227[_22d][j]=hash[j];}});}else{_22f=true;}if(_22f&&_227[_22d]){_22c=_227[_22d];}else{_227[_22d]=_22c;}if(_221){return true;}});}if(_221&&_222!=_224){_227[_222.replace(/-/g,"_")]=_227[_224.replace(/-/g,"_")];}};(function(){var _233=dojo.config.extraLocale;if(_233){if(!_233 instanceof Array){_233=[_233];}var req=dojo.i18n._requireLocalization;dojo.i18n._requireLocalization=function(m,b,_234,_235){req(m,b,_234,_235);if(_234){return;}for(var i=0;i<_233.length;i++){req(m,b,_233[i],_235);}};}})();dojo.i18n._searchLocalePath=function(_236,down,_237){_236=dojo.i18n.normalizeLocale(_236);var _238=_236.split("-");var _239=[];for(var i=_238.length;i>0;i--){_239.push(_238.slice(0,i).join("-"));}_239.push(false);if(down){_239.reverse();}for(var j=_239.length-1;j>=0;j--){var loc=_239[j]||"ROOT";var stop=_237(loc);if(stop){break;}}};dojo.i18n._preloadLocalizations=function(_23a,_23b){function _23c(_23d){_23d=dojo.i18n.normalizeLocale(_23d);dojo.i18n._searchLocalePath(_23d,true,function(loc){for(var i=0;i<_23b.length;i++){if(_23b[i]==loc){dojo["require"](_23a+"_"+loc);return true;}}return false;});};_23c();var _23e=dojo.config.extraLocale||[];for(var i=0;i<_23e.length;i++){_23c(_23e[i]);}};}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(_23f){var _240={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 _241=dojo.cldr.supplemental._region(_23f);var dow=_240[_241];return (dow===undefined)?1:dow;};dojo.cldr.supplemental._region=function(_242){_242=dojo.i18n.normalizeLocale(_242);var tags=_242.split("-");var _243=tags[1];if(!_243){_243={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(_243.length==4){_243=tags[2];}}return _243;};dojo.cldr.supplemental.getWeekend=function(_244){var _245={"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 _246={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 _247=dojo.cldr.supplemental._region(_244);var _248=_245[_247];var end=_246[_247];if(_248===undefined){_248=6;}if(end===undefined){end=0;}return {start:_248,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(_249){var _24a=_249.getMonth();var days=[31,28,31,30,31,30,31,31,30,31,30,31];if(_24a==1&&dojo.date.isLeapYear(_249)){return 29;}return days[_24a];};dojo.date.isLeapYear=function(_24b){var year=_24b.getFullYear();return !(year%400)||(!(year%4)&&!!(year%100));};dojo.date.getTimezoneName=function(_24c){var str=_24c.toString();var tz="";var _24d;var pos=str.indexOf("(");if(pos>-1){tz=str.substring(++pos,str.indexOf(")"));}else{var pat=/([A-Z\/]+) \d{4}$/;if((_24d=str.match(pat))){tz=_24d[1];}else{str=_24c.toLocaleString();pat=/ ([A-Z\/]+)$/;if((_24d=str.match(pat))){tz=_24d[1];}}}return (tz=="AM"||tz=="PM")?"":tz;};dojo.date.compare=function(_24e,_24f,_250){_24e=new Date(+_24e);_24f=new Date(+(_24f||new Date()));if(_250=="date"){_24e.setHours(0,0,0,0);_24f.setHours(0,0,0,0);}else{if(_250=="time"){_24e.setFullYear(0,0,0);_24f.setFullYear(0,0,0);}}if(_24e>_24f){return 1;}if(_24e<_24f){return -1;}return 0;};dojo.date.add=function(date,_251,_252){var sum=new Date(+date);var _253=false;var _254="Date";switch(_251){case "day":break;case "weekday":var days,_255;var mod=_252%5;if(!mod){days=(_252>0)?5:-5;_255=(_252>0)?((_252-5)/5):((_252+5)/5);}else{days=mod;_255=parseInt(_252/5);}var strt=date.getDay();var adj=0;if(strt==6&&_252>0){adj=1;}else{if(strt==0&&_252<0){adj=-1;}}var trgt=strt+days;if(trgt==0||trgt==6){adj=(_252>0)?2:-2;}_252=(7*_255)+days+adj;break;case "year":_254="FullYear";_253=true;break;case "week":_252*=7;break;case "quarter":_252*=3;case "month":_253=true;_254="Month";break;default:_254="UTC"+_251.charAt(0).toUpperCase()+_251.substring(1)+"s";}if(_254){sum["set"+_254](sum["get"+_254]()+_252);}if(_253&&(sum.getDate()<date.getDate())){sum.setDate(0);}return sum;};dojo.date.difference=function(_256,_257,_258){_257=_257||new Date();_258=_258||"day";var _259=_257.getFullYear()-_256.getFullYear();var _25a=1;switch(_258){case "quarter":var m1=_256.getMonth();var m2=_257.getMonth();var q1=Math.floor(m1/3)+1;var q2=Math.floor(m2/3)+1;q2+=(_259*4);_25a=q2-q1;break;case "weekday":var days=Math.round(dojo.date.difference(_256,_257,"day"));var _25b=parseInt(dojo.date.difference(_256,_257,"week"));var mod=days%7;if(mod==0){days=_25b*5;}else{var adj=0;var aDay=_256.getDay();var bDay=_257.getDay();_25b=parseInt(days/7);mod=days%7;var _25c=new Date(_256);_25c.setDate(_25c.getDate()+(_25b*7));var _25d=_25c.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 (_25d+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 (_25d+mod)<0:adj=2;}}}days+=adj;days-=(_25b*2);}_25a=days;break;case "year":_25a=_259;break;case "month":_25a=(_257.getMonth()-_256.getMonth())+(_259*12);break;case "week":_25a=parseInt(dojo.date.difference(_256,_257,"day")/7);break;case "day":_25a/=24;case "hour":_25a/=60;case "minute":_25a/=60;case "second":_25a/=1000;case "millisecond":_25a*=_257.getTime()-_256.getTime();}return Math.round(_25a);};}if(!dojo._hasResource["dojo.regexp"]){dojo._hasResource["dojo.regexp"]=true;dojo.provide("dojo.regexp");dojo.getObject("regexp",true,dojo);dojo.regexp.escapeString=function(str,_25e){return str.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(ch){if(_25e&&_25e.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};dojo.regexp.buildGroupRE=function(arr,re,_25f){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("|"),_25f);};dojo.regexp.group=function(_260,_261){return "("+(_261?"?:":"")+_260+")";};}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 _262(_263,_264,_265,_266){return _266.replace(/([a-z])\1*/ig,function(_267){var s,pad,c=_267.charAt(0),l=_267.length,_268=["abbr","wide","narrow"];switch(c){case "G":s=_264[(l<4)?"eraAbbr":"eraNames"][_263.getFullYear()<0?0:1];break;case "y":s=_263.getFullYear();switch(l){case 1:break;case 2:if(!_265.fullYear){s=String(s);s=s.substr(s.length-2);break;}default:pad=true;}break;case "Q":case "q":s=Math.ceil((_263.getMonth()+1)/3);pad=true;break;case "M":var m=_263.getMonth();if(l<3){s=m+1;pad=true;}else{var _269=["months","format",_268[l-3]].join("-");s=_264[_269][m];}break;case "w":var _26a=0;s=dojo.date.locale._getWeekOfYear(_263,_26a);pad=true;break;case "d":s=_263.getDate();pad=true;break;case "D":s=dojo.date.locale._getDayOfYear(_263);pad=true;break;case "E":var d=_263.getDay();if(l<3){s=d+1;pad=true;}else{var _26b=["days","format",_268[l-3]].join("-");s=_264[_26b][d];}break;case "a":var _26c=(_263.getHours()<12)?"am":"pm";s=_265[_26c]||_264["dayPeriods-format-wide-"+_26c];break;case "h":case "H":case "K":case "k":var h=_263.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=_263.getMinutes();pad=true;break;case "s":s=_263.getSeconds();pad=true;break;case "S":s=Math.round(_263.getMilliseconds()*Math.pow(10,l-3));pad=true;break;case "v":case "z":s=dojo.date.locale._getZone(_263,true,_265);if(s){break;}l=4;case "Z":var _26d=dojo.date.locale._getZone(_263,false,_265);var tz=[(_26d<=0?"+":"-"),dojo.string.pad(Math.floor(Math.abs(_26d)/60),2),dojo.string.pad(Math.abs(_26d)%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: "+_266);}if(pad){s=dojo.string.pad(s,l);}return s;});};dojo.date.locale._getZone=function(_26e,_26f,_270){if(_26f){return dojo.date.getTimezoneName(_26e);}else{return _26e.getTimezoneOffset();}};dojo.date.locale.format=function(_271,_272){_272=_272||{};var _273=dojo.i18n.normalizeLocale(_272.locale),_274=_272.formatLength||"short",_275=dojo.date.locale._getGregorianBundle(_273),str=[],_276=dojo.hitch(this,_262,_271,_275,_272);if(_272.selector=="year"){return _277(_275["dateFormatItem-yyyy"]||"yyyy",_276);}var _278;if(_272.selector!="date"){_278=_272.timePattern||_275["timeFormat-"+_274];if(_278){str.push(_277(_278,_276));}}if(_272.selector!="time"){_278=_272.datePattern||_275["dateFormat-"+_274];if(_278){str.push(_277(_278,_276));}}return str.length==1?str[0]:_275["dateTimeFormat-"+_274].replace(/\{(\d+)\}/g,function(_279,key){return str[key];});};dojo.date.locale.regexp=function(_27a){return dojo.date.locale._parseInfo(_27a).regexp;};dojo.date.locale._parseInfo=function(_27b){_27b=_27b||{};var _27c=dojo.i18n.normalizeLocale(_27b.locale),_27d=dojo.date.locale._getGregorianBundle(_27c),_27e=_27b.formatLength||"short",_27f=_27b.datePattern||_27d["dateFormat-"+_27e],_280=_27b.timePattern||_27d["timeFormat-"+_27e],_281;if(_27b.selector=="date"){_281=_27f;}else{if(_27b.selector=="time"){_281=_280;}else{_281=_27d["dateTimeFormat-"+_27e].replace(/\{(\d+)\}/g,function(_282,key){return [_280,_27f][key];});}}var _283=[],re=_277(_281,dojo.hitch(this,_284,_283,_27d,_27b));return {regexp:re,tokens:_283,bundle:_27d};};dojo.date.locale.parse=function(_285,_286){var _287=/[\u200E\u200F\u202A\u202E]/g,info=dojo.date.locale._parseInfo(_286),_288=info.tokens,_289=info.bundle,re=new RegExp("^"+info.regexp.replace(_287,"")+"$",info.strict?"":"i"),_28a=re.exec(_285&&_285.replace(_287,""));if(!_28a){return null;}var _28b=["abbr","wide","narrow"],_28c=[1970,0,1,0,0,0,0],amPm="",_28d=dojo.every(_28a,function(v,i){if(!i){return true;}var _28e=_288[i-1];var l=_28e.length;switch(_28e.charAt(0)){case "y":if(l!=2&&_286.strict){_28c[0]=v;}else{if(v<100){v=Number(v);var year=""+new Date().getFullYear(),_28f=year.substring(0,2)*100,_290=Math.min(Number(year.substring(2,4))+20,99),num=(v<_290)?_28f+v:_28f-100+v;_28c[0]=num;}else{if(_286.strict){return false;}_28c[0]=v;}}break;case "M":if(l>2){var _291=_289["months-format-"+_28b[l-3]].concat();if(!_286.strict){v=v.replace(".","").toLowerCase();_291=dojo.map(_291,function(s){return s.replace(".","").toLowerCase();});}v=dojo.indexOf(_291,v);if(v==-1){return false;}}else{v--;}_28c[1]=v;break;case "E":case "e":var days=_289["days-format-"+_28b[l-3]].concat();if(!_286.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":_28c[1]=0;case "d":_28c[2]=v;break;case "a":var am=_286.am||_289["dayPeriods-format-wide-am"],pm=_286.pm||_289["dayPeriods-format-wide-pm"];if(!_286.strict){var _292=/\./g;v=v.replace(_292,"").toLowerCase();am=am.replace(_292,"").toLowerCase();pm=pm.replace(_292,"").toLowerCase();}if(_286.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;}_28c[3]=v;break;case "m":_28c[4]=v;break;case "s":_28c[5]=v;break;case "S":_28c[6]=v;}return true;});var _293=+_28c[3];if(amPm==="p"&&_293<12){_28c[3]=_293+12;}else{if(amPm==="a"&&_293==12){_28c[3]=0;}}var _294=new Date(_28c[0],_28c[1],_28c[2],_28c[3],_28c[4],_28c[5],_28c[6]);if(_286.strict){_294.setFullYear(_28c[0]);}var _295=_288.join(""),_296=_295.indexOf("d")!=-1,_297=_295.indexOf("M")!=-1;if(!_28d||(_297&&_294.getMonth()>_28c[1])||(_296&&_294.getDate()>_28c[2])){return null;}if((_297&&_294.getMonth()<_28c[1])||(_296&&_294.getDate()<_28c[2])){_294=dojo.date.add(_294,"hour",1);}return _294;};function _277(_298,_299,_29a,_29b){var _29c=function(x){return x;};_299=_299||_29c;_29a=_29a||_29c;_29b=_29b||_29c;var _29d=_298.match(/(''|[^'])+/g),_29e=_298.charAt(0)=="'";dojo.forEach(_29d,function(_29f,i){if(!_29f){_29d[i]="";}else{_29d[i]=(_29e?_29a:_299)(_29f.replace(/''/g,"'"));_29e=!_29e;}});return _29b(_29d.join(""));};function _284(_2a0,_2a1,_2a2,_2a3){_2a3=dojo.regexp.escapeString(_2a3);if(!_2a2.strict){_2a3=_2a3.replace(" a"," ?a");}return _2a3.replace(/([a-z])\1*/ig,function(_2a4){var s,c=_2a4.charAt(0),l=_2a4.length,p2="",p3="";if(_2a2.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=_2a2.am||_2a1["dayPeriods-format-wide-am"],pm=_2a2.pm||_2a1["dayPeriods-format-wide-pm"];s=am+"|"+pm;if(!_2a2.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(_2a0){_2a0.push(_2a4);}return "("+s+")";}).replace(/[\xa0 ]/g,"[\\s\\xa0]");};})();(function(){var _2a5=[];dojo.date.locale.addCustomFormats=function(_2a6,_2a7){_2a5.push({pkg:_2a6,name:_2a7});};dojo.date.locale._getGregorianBundle=function(_2a8){var _2a9={};dojo.forEach(_2a5,function(desc){var _2aa=dojo.i18n.getLocalization(desc.pkg,desc.name,_2a8);_2a9=dojo.mixin(_2a9,_2aa);},this);return _2a9;};})();dojo.date.locale.addCustomFormats("dojo.cldr","gregorian");dojo.date.locale.getNames=function(item,type,_2ab,_2ac){var _2ad,_2ae=dojo.date.locale._getGregorianBundle(_2ac),_2af=[item,_2ab,type];if(_2ab=="standAlone"){var key=_2af.join("-");_2ad=_2ae[key];if(_2ad[0]==1){_2ad=undefined;}}_2af[1]="format";return (_2ad||_2ae[_2af.join("-")]).concat();};dojo.date.locale.isWeekend=function(_2b0,_2b1){var _2b2=dojo.cldr.supplemental.getWeekend(_2b1),day=(_2b0||new Date()).getDay();if(_2b2.end<_2b2.start){_2b2.end+=7;if(day<_2b2.start){day+=7;}}return day>=_2b2.start&&day<=_2b2.end;};dojo.date.locale._getDayOfYear=function(_2b3){return dojo.date.difference(new Date(_2b3.getFullYear(),0,1,_2b3.getHours()),_2b3)+1;};dojo.date.locale._getWeekOfYear=function(_2b4,_2b5){if(arguments.length==1){_2b5=0;}var _2b6=new Date(_2b4.getFullYear(),0,1).getDay(),adj=(_2b6-_2b5+7)%7,week=Math.floor((dojo.date.locale._getDayOfYear(_2b4)+adj-1)/7);if(_2b6==_2b5){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(_2b7){return _2b7&&!isNaN(_2b7)&&typeof _2b7=="object"&&_2b7.toString()!=this.constructor.prototype.value.toString();},setValue:function(_2b8){dojo.deprecated("dijit.Calendar:setValue() is deprecated.  Use set('value', ...) instead.","","2.0");this.set("value",_2b8);},_getValueAttr:function(){var _2b9=new this.dateClassObj(this.value);_2b9.setHours(0,0,0,0);if(_2b9.getDate()<this.value.getDate()){_2b9=this.dateFuncObj.add(_2b9,"hour",1);}return _2b9;},_setValueAttr:function(_2ba,_2bb){if(_2ba){_2ba=new this.dateClassObj(_2ba);}if(this._isValidDate(_2ba)){if(!this._isValidDate(this.value)||this.dateFuncObj.compare(_2ba,this.value)){_2ba.setHours(1,0,0,0);if(!this.isDisabledDate(_2ba,this.lang)){this._set("value",_2ba);this.set("currentFocus",_2ba);if(_2bb||typeof _2bb=="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 _2bc=new this.dateClassObj(this.currentFocus);_2bc.setDate(1);var _2bd=_2bc.getDay(),_2be=this.dateFuncObj.getDaysInMonth(_2bc),_2bf=this.dateFuncObj.getDaysInMonth(this.dateFuncObj.add(_2bc,"month",-1)),_2c0=new this.dateClassObj(),_2c1=dojo.cldr.supplemental.getFirstDayOfWeek(this.lang);if(_2c1>_2bd){_2c1-=7;}dojo.query(".dijitCalendarDateTemplate",this.domNode).forEach(function(_2c2,i){i+=_2c1;var date=new this.dateClassObj(_2bc),_2c3,_2c4="dijitCalendar",adj=0;if(i<_2bd){_2c3=_2bf-_2bd+i+1;adj=-1;_2c4+="Previous";}else{if(i>=(_2bd+_2be)){_2c3=i-_2bd-_2be+1;adj=1;_2c4+="Next";}else{_2c3=i-_2bd+1;_2c4+="Current";}}if(adj){date=this.dateFuncObj.add(date,"month",adj);}date.setDate(_2c3);if(!this.dateFuncObj.compare(date,_2c0,"date")){_2c4="dijitCalendarCurrentDate "+_2c4;}if(this._isSelectedDate(date,this.lang)){_2c4="dijitCalendarSelectedDate "+_2c4;}if(this.isDisabledDate(date,this.lang)){_2c4="dijitCalendarDisabledDate "+_2c4;}var _2c5=this.getClassForDate(date,this.lang);if(_2c5){_2c4=_2c5+" "+_2c4;}_2c2.className=_2c4+"Month dijitCalendarDateTemplate";_2c2.dijitDateValue=date.valueOf();dojo.attr(_2c2,"dijitDateValue",date.valueOf());var _2c6=dojo.query(".dijitCalendarDateLabel",_2c2)[0],text=date.getDateLocalized?date.getDateLocalized(this.lang):date.getDate();this._setText(_2c6,text);},this);var _2c7=this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,_2bc);this.monthDropDownButton.dropDown.set("months",_2c7);this.monthDropDownButton.containerNode.innerHTML=(dojo.isIE==6?"":"<div class='dijitSpacer'>"+this.monthDropDownButton.dropDown.domNode.innerHTML+"</div>")+"<div class='dijitCalendarMonthLabel dijitCalendarCurrentMonthLabel'>"+_2c7[_2bc.getMonth()]+"</div>";var y=_2bc.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 _2c8=(args.datePackage&&(args.datePackage!="dojo.date"))?args.datePackage+".Date":"Date";this.dateClassObj=dojo.getObject(_2c8,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 _2c9=dojo.hitch(this,function(_2ca,n){var _2cb=dojo.query(_2ca,this.domNode)[0];for(var i=0;i<n;i++){_2cb.parentNode.appendChild(_2cb.cloneNode(true));}});_2c9(".dijitCalendarDayLabelTemplate",6);_2c9(".dijitCalendarDateTemplate",6);_2c9(".dijitCalendarWeekTemplate",5);var _2cc=this.dateLocaleModule.getNames("days",this.dayWidth,"standAlone",this.lang);var _2cd=dojo.cldr.supplemental.getFirstDayOfWeek(this.lang);dojo.query(".dijitCalendarDayLabel",this.domNode).forEach(function(_2ce,i){this._setText(_2ce,_2cc[(i+_2cd)%7]);},this);var _2cf=new this.dateClassObj(this.currentFocus);this.monthDropDownButton.dropDown=new dijit.Calendar._MonthDropDown({id:this.id+"_mdd",onChange:dojo.hitch(this,"_onMonthSelect")});this.set("currentFocus",_2cf,false);var _2d0=this;var _2d1=function(_2d2,_2d3,adj){_2d0._connects.push(dijit.typematic.addMouseListener(_2d0[_2d2],_2d0,function(_2d4){if(_2d4>=0){_2d0._adjustDisplay(_2d3,adj);}},0.8,500));};_2d1("incrementMonth","month",1);_2d1("decrementMonth","month",-1);_2d1("nextYearLabelNode","year",1);_2d1("previousYearLabelNode","year",-1);},_adjustDisplay:function(part,_2d5){this._setCurrentFocusAttr(this.dateFuncObj.add(this.currentFocus,part,_2d5));},_setCurrentFocusAttr:function(date,_2d6){var _2d7=this.currentFocus,_2d8=_2d7?dojo.query("[dijitDateValue="+_2d7.valueOf()+"]",this.domNode)[0]:null;date=new this.dateClassObj(date);date.setHours(1,0,0,0);this._set("currentFocus",date);this._populateGrid();var _2d9=dojo.query("[dijitDateValue="+date.valueOf()+"]",this.domNode)[0];_2d9.setAttribute("tabIndex",this.tabIndex);if(this._focused||_2d6){_2d9.focus();}if(_2d8&&_2d8!=_2d9){if(dojo.isWebKit){_2d8.setAttribute("tabIndex","-1");}else{_2d8.removeAttribute("tabIndex");}}},focus:function(){this._setCurrentFocusAttr(this.currentFocus,true);},_onMonthSelect:function(_2da){this.currentFocus=this.dateFuncObj.add(this.currentFocus,"month",_2da-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,_2db=-1,_2dc,_2dd=this.currentFocus;switch(evt.keyCode){case dk.RIGHT_ARROW:_2db=1;case dk.LEFT_ARROW:_2dc="day";if(!this.isLeftToRight()){_2db*=-1;}break;case dk.DOWN_ARROW:_2db=1;case dk.UP_ARROW:_2dc="week";break;case dk.PAGE_DOWN:_2db=1;case dk.PAGE_UP:_2dc=evt.ctrlKey||evt.altKey?"year":"month";break;case dk.END:_2dd=this.dateFuncObj.add(_2dd,"month",1);_2dc="day";case dk.HOME:_2dd=new this.dateClassObj(_2dd);_2dd.setDate(1);break;case dk.ENTER:case dk.SPACE:this.set("value",this.currentFocus);break;default:return true;}if(_2dc){_2dd=this.dateFuncObj.add(_2dd,_2dc,_2db);}this._setCurrentFocusAttr(_2dd);return false;},_onKeyPress:function(evt){if(!this.handleKey(evt)){dojo.stopEvent(evt);}},onValueSelected:function(date){},onChange:function(date){},_isSelectedDate:function(_2de,_2df){return this._isValidDate(this.value)&&!this.dateFuncObj.compare(_2de,this.value,"date");},isDisabledDate:function(_2e0,_2e1){},getClassForDate:function(_2e2,_2e3){}});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(_2e4){this.domNode.innerHTML=dojo.map(_2e4,function(_2e5,idx){return _2e5?"<div class='dijitCalendarMonthLabel' month='"+idx+"'>"+_2e5+"</div>":"";}).join("");},_onClick:function(evt){this.onChange(dojo.attr(evt.target,"month"));},onChange:function(_2e6){},_onMenuHover:function(evt){dojo.toggleClass(evt.target,"dijitCalendarMonthLabelHover",evt.type=="mouseover");}});}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(_2e7,_2e8,_2e9){var _2ea;if(_2e7!==undefined){_2ea=this.filter(_2e7);if(typeof _2e9!="string"){if(_2ea!==null&&((typeof _2ea!="number")||!isNaN(_2ea))){_2e9=this.filter(this.format(_2ea,this.constraints));}else{_2e9="";}}}if(_2e9!=null&&_2e9!=undefined&&((typeof _2e9)!="number"||!isNaN(_2e9))&&this.textbox.value!=_2e9){this.textbox.value=_2e9;this._set("displayedValue",this.get("displayedValue"));}this._updatePlaceHolder();this.inherited(arguments,[_2ea,_2e8]);},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(_2eb){dojo.deprecated(this.declaredClass+"::setDisplayedValue() is deprecated. Use set('displayedValue', ...) instead.","","2.0");this.set("displayedValue",_2eb);},_setDisplayedValueAttr:function(_2ec){if(_2ec===null||_2ec===undefined){_2ec="";}else{if(typeof _2ec!="string"){_2ec=String(_2ec);}}this.textbox.value=_2ec;this._setValueAttr(this.get("value"),undefined);this._set("displayedValue",this.get("displayedValue"));},format:function(_2ed,_2ee){return ((_2ed==null||_2ed==undefined)?"":(_2ed.toString?_2ed.toString():_2ed));},parse:function(_2ef,_2f0){return _2ef;},_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 _2f1=this;setTimeout(function(){_2f1._handleOnChange(_2f1.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 _2f2=this.domNode.getElementsByTagName("INPUT");if(_2f2){for(var i=0;i<_2f2.length;i++){_2f2[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 _2f3;if(dojo.isIE){var _2f4=dojo.doc.selection.createRange();var _2f5=_2f4.parentElement();_2f3=_2f5==this.textbox&&_2f4.text.length==0;}else{_2f3=this.textbox.selectionStart==this.textbox.selectionEnd;}if(_2f3){dijit.selectInputText(this.textbox);}});}this._updatePlaceHolder();this.inherited(arguments);this._refreshState();},reset:function(){this.textbox.value="";this.inherited(arguments);}});dijit.selectInputText=function(_2f6,_2f7,stop){var _2f8=dojo.global;var _2f9=dojo.doc;_2f6=dojo.byId(_2f6);if(isNaN(_2f7)){_2f7=0;}if(isNaN(stop)){stop=_2f6.value?_2f6.value.length:0;}dijit.focus(_2f6);if(_2f9["selection"]&&dojo.body()["createTextRange"]){if(_2f6.createTextRange){var r=_2f6.createTextRange();r.collapse(true);r.moveStart("character",-99999);r.moveStart("character",_2f7);r.moveEnd("character",stop-_2f7);r.select();}}else{if(_2f8["getSelection"]){if(_2f6.setSelectionRange){_2f6.setSelectionRange(_2f7,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(_2fa,_2fb,_2fc,rtl){if(this.aroundNode&&this.aroundNode===_2fb){return;}this.domNode.width="auto";if(this.fadeOut.status()=="playing"){this._onDeck=arguments;return;}this.containerNode.innerHTML=_2fa;var pos=dijit.placeOnScreenAroundElement(this.domNode,_2fb,dijit.getPopupAroundAlignment((_2fc&&_2fc.length)?_2fc:dijit.Tooltip.defaultPosition,!rtl),dojo.hitch(this,"orient"));dojo.style(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=true;this.aroundNode=_2fb;},orient:function(node,_2fd,_2fe,_2ff,_300){this.connectorNode.style.top="";var _301=_2ff.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"}[_2fd+"-"+_2fe];this.domNode.style.width="auto";var size=dojo.contentBox(this.domNode);var _302=Math.min((Math.max(_301,1)),size.w);var _303=_302<size.w;this.domNode.style.width=_302+"px";if(_303){this.containerNode.style.overflow="auto";var _304=this.containerNode.scrollWidth;this.containerNode.style.overflow="visible";if(_304>_302){_304=_304+dojo.style(this.domNode,"paddingLeft")+dojo.style(this.domNode,"paddingRight");this.domNode.style.width=_304+"px";}}if(_2fe.charAt(0)=="B"&&_2fd.charAt(0)=="B"){var mb=dojo.marginBox(node);var _305=this.connectorNode.offsetHeight;if(mb.h>_2ff.h){var _306=_2ff.h-(_300.h/2)-(_305/2);this.connectorNode.style.top=_306+"px";this.connectorNode.style.bottom="";}else{this.connectorNode.style.bottom=Math.min(Math.max(_300.h/2-_305/2,0),mb.h-_305)+"px";this.connectorNode.style.top="";}}else{this.connectorNode.style.top="";this.connectorNode.style.bottom="";}return Math.max(0,size.w-_301);},_onShow:function(){if(dojo.isIE){this.domNode.style.filter="";}},hide:function(_307){if(this._onDeck&&this._onDeck[1]==_307){this._onDeck=null;}else{if(this.aroundNode===_307){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(_308,_309,_30a,rtl){if(!dijit._masterTT){dijit._masterTT=new dijit._MasterTooltip();}return dijit._masterTT.show(_308,_309,_30a,rtl);};dijit.hideTooltip=function(_30b){if(!dijit._masterTT){dijit._masterTT=new dijit._MasterTooltip();}return dijit._masterTT.hide(_30b);};dojo.declare("dijit.Tooltip",dijit._Widget,{label:"",showDelay:400,connectId:[],position:[],_setConnectIdAttr:function(_30c){dojo.forEach(this._connections||[],function(_30d){dojo.forEach(_30d,dojo.hitch(this,"disconnect"));},this);var ary=dojo.isArrayLike(_30c)?_30c:(_30c?[_30c]:[]);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",_30c);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 _30e=e.target;this._showTimer=setTimeout(dojo.hitch(this,function(){this.open(_30e);}),this.showDelay);}},_onUnHover:function(e){if(this._focus){return;}if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}this.close();},open:function(_30f){if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}dijit.showTooltip(this.label||this.domNode.innerHTML,_30f,this.position,!this.isLeftToRight());this._connectNode=_30f;this.onShow(_30f,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(_310,_311){},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(_312){return this.regExp;},state:"",tooltipPosition:[],_setValueAttr:function(){this.inherited(arguments);this.validate(this._focused);},validator:function(_313,_314){return (new RegExp("^(?:"+this.regExpGen(_314)+")"+(this.required?"":"?")+"$")).test(_313)&&(!this.required||!this._isEmpty(_313))&&(this._isEmpty(_313)||this.parse(_313,_314)!==undefined);},_isValidSubset:function(){return this.textbox.value.search(this._partialre)==0;},isValid:function(_315){return this.validator(this.textbox.value,this.constraints);},_isEmpty:function(_316){return (this.trim?/^\s*$/:/^$/).test(_316);},getErrorMessage:function(_317){return (this.required&&this._isEmpty(this.textbox.value))?this.missingMessage:this.invalidMessage;},getPromptMessage:function(_318){return this.promptMessage;},_maskValidSubsetError:true,validate:function(_319){var _31a="";var _31b=this.disabled||this.isValid(_319);if(_31b){this._maskValidSubsetError=true;}var _31c=this._isEmpty(this.textbox.value);var _31d=!_31b&&_319&&this._isValidSubset();this._set("state",_31b?"":(((((!this._hasBeenBlurred||_319)&&_31c)||_31d)&&this._maskValidSubsetError)?"Incomplete":"Error"));dijit.setWaiState(this.focusNode,"invalid",_31b?"false":"true");if(this.state=="Error"){this._maskValidSubsetError=_319&&_31d;_31a=this.getErrorMessage(_319);}else{if(this.state=="Incomplete"){_31a=this.getPromptMessage(_319);this._maskValidSubsetError=!this._hasBeenBlurred||_319;}else{if(_31c){_31a=this.getPromptMessage(_319);}}}this.set("message",_31a);return _31b;},displayMessage:function(_31e){dijit.hideTooltip(this.domNode);if(_31e&&this._focused){dijit.showTooltip(_31e,this.domNode,this.tooltipPosition,!this.isLeftToRight());}},_refreshState:function(){this.validate(this._focused);this.inherited(arguments);},constructor:function(){this.constraints={};},_setConstraintsAttr:function(_31f){if(!_31f.locale&&this.lang){_31f.locale=this.lang;}this._set("constraints",_31f);this._computePartialRE();},_computePartialRE:function(){var p=this.regExpGen(this.constraints);this.regExp=p;var _320="";if(p!=".*"){this.regExp.replace(/\\.|\[\]|\[.*?[^\\]{1}\]|\{.*?\}|\(\?[=:!]|./g,function(re){switch(re.charAt(0)){case "{":case "+":case "?":case "*":case "^":case "$":case "|":case "(":_320+=re;break;case ")":_320+="|$)";break;default:_320+="(?:"+re+"|$)";break;}});}try{"".search(_320);}catch(e){_320=this.regExp;console.warn("RegExp error in "+this.declaredClass+": "+this.regExp);}this._partialre="^(?:"+_320+")$";},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(_321){this.inherited(arguments);this._refreshState();},_setRequiredAttr:function(_322){this._set("required",_322);dijit.setWaiState(this.focusNode,"required",_322);this._refreshState();},_setMessageAttr:function(_323){this._set("message",_323);this.displayMessage(_323);},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,_324){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(_325,_326){return ("min" in _326?(this.compare(_325,_326.min)>=0):true)&&("max" in _326?(this.compare(_325,_326.max)<=0):true);},isInRange:function(_327){return this.rangeCheck(this.get("value"),this.constraints);},_isDefinitelyOutOfRange:function(){var val=this.get("value");var _328=false;var _329=false;if("min" in this.constraints){var min=this.constraints.min;min=this.compare(val,((typeof min=="number")&&min>=0&&val!=0)?0:min);_328=(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);_329=(typeof max=="number")&&max>0;}return _328||_329;},_isValidSubset:function(){return this.inherited(arguments)&&!this._isDefinitelyOutOfRange();},isValid:function(_32a){return this.inherited(arguments)&&((this._isEmpty(this.textbox.value)&&!this.required)||this.isInRange(_32a));},getErrorMessage:function(_32b){var v=this.get("value");if(v!==null&&v!==""&&v!==undefined&&(typeof v!="number"||!isNaN(v))&&!this.isInRange(_32b)){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(_32c){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(_32d,_32e){dijit.setWaiState(this.focusNode,"valuenow",_32d);this.inherited(arguments);}});}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 _32f=this._isInvalidDate(val1);var _330=this._isInvalidDate(val2);return _32f?(_330?0:-1):(_330?1:dojo.date.compare(val1,val2,this._selector));},forceWidth:true,format:function(_331,_332){if(!_331){return "";}return this.dateLocaleModule.format(_331,_332);},"parse":function(_333,_334){return this.dateLocaleModule.parse(_333,_334)||(this._isEmpty(_333)?null:undefined);},serialize:function(val,_335){if(val.toGregorian){val=val.toGregorian();}return dojo.date.stamp.toISOString(val,_335);},dropDownDefaultValue:new Date(),value:new Date(""),_blankValue:null,popupClass:"",_selector:"",constructor:function(args){var _336=args.datePackage?args.datePackage+".Date":"Date";this.dateClassObj=dojo.getObject(_336,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(_337){_337.selector=this._selector;_337.fullYear=true;var _338=dojo.date.stamp.fromISOString;if(typeof _337.min=="string"){_337.min=_338(_337.min);}if(typeof _337.max=="string"){_337.max=_338(_337.max);}this.inherited(arguments);},_isInvalidDate:function(_339){return !_339||isNaN(_339)||typeof _339!="object"||_339.toString()==this._invalidDate;},_setValueAttr:function(_33a,_33b,_33c){if(_33a!==undefined){if(typeof _33a=="string"){_33a=dojo.date.stamp.fromISOString(_33a);}if(this._isInvalidDate(_33a)){_33a=null;}if(_33a instanceof Date&&!(this.dateClassObj instanceof Date)){_33a=new this.dateClassObj(_33a);}}this.inherited(arguments);if(this.value instanceof Date){this.filterString="";}if(this.dropDown){this.dropDown.set("value",_33a,false);}},_set:function(attr,_33d){if(attr=="value"&&this.value instanceof Date&&this.compare(_33d,this.value)==0){return;}this.inherited(arguments);},_setDropDownDefaultValueAttr:function(val){if(this._isInvalidDate(val)){val=new this.dateClassObj();}this.dropDownDefaultValue=val;},openDropDown:function(_33e){if(this.dropDown){this.dropDown.destroy();}var _33f=dojo.getObject(this.popupClass,false),_340=this,_341=this.get("value");this.dropDown=new _33f({onChange:function(_342){_340.set("value",_342,true);},id:this.id+"_popup",dir:_340.dir,lang:_340.lang,value:_341,currentFocus:!this._isInvalidDate(_341)?_341:this.dropDownDefaultValue,constraints:_340.constraints,filterString:_340.filterString,datePackage:_340.datePackage,isDisabledDate:function(date){return !_340.rangeCheck(date,_340.constraints);}});this.inherited(arguments);},_getDisplayedValueAttr:function(){return this.textbox.value;},_setDisplayedValueAttr:function(_343,_344){this._setValueAttr(this.parse(_343,this.constraints),_344,_343);}});}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(_345){dojo.deprecated("dijit._TimePicker:setValue() is deprecated.  Use set('value', ...) instead.","","2.0");this.set("value",_345);},_setValueAttr:function(date){this._set("value",date);this._showText();},_setFilterStringAttr:function(val){this._set("filterString",val);this._showText();},isDisabledDate:function(_346,_347){return false;},_getFilteredNodes:function(_348,_349,_34a,_34b){var _34c=[],_34d=_34b?_34b.date:this._refDate,n,i=_348,max=this._maxIncrement+Math.abs(i),chk=_34a?-1:1,dec=_34a?1:0,inc=1-dec;do{i-=dec;n=this._createOption(i);if(n){if((_34a&&n.date>_34d)||(!_34a&&n.date<_34d)){break;}_34c[_34a?"unshift":"push"](n);_34d=n.date;}i+=inc;}while(_34c.length<_349&&(i*chk)<max);return _34c;},_showText:function(){var _34e=dojo.date.stamp.fromISOString;this.timeMenu.innerHTML="";this._clickableIncrementDate=_34e(this.clickableIncrement);this._visibleIncrementDate=_34e(this.visibleIncrement);this._visibleRangeDate=_34e(this.visibleRange);var _34f=function(date){return date.getHours()*60*60+date.getMinutes()*60+date.getSeconds();},_350=_34f(this._clickableIncrementDate),_351=_34f(this._visibleIncrementDate),_352=_34f(this._visibleRangeDate),time=(this.value||this.currentFocus).getTime();this._refDate=new Date(time-time%(_350*1000));this._refDate.setFullYear(1970,0,1);this._clickableIncrement=1;this._totalIncrements=_352/_350;this._visibleIncrement=_351/_350;this._maxIncrement=(60*60*24)/_350;var _353=Math.min(this._totalIncrements,10),_354=this._getFilteredNodes(0,(_353>>1)+1,false),_355=[],_356=_353-_354.length,_357=this._getFilteredNodes(0,_356,true,_354[0]);if(_357.length<_356&&_354.length>0){_355=this._getFilteredNodes(_354.length,_356-_357.length,false,_354[_354.length-1]);}dojo.forEach(_357.concat(_354,_355),function(n){this.timeMenu.appendChild(n);},this);},constructor:function(){this.constraints={};},postMixInProperties:function(){this.inherited(arguments);this._setConstraintsAttr(this.constraints);},_setConstraintsAttr:function(_358){dojo.mixin(this,_358);if(!_358.locale){_358.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(_359){var date=new Date(this._refDate);var _35a=this._clickableIncrementDate;date.setHours(date.getHours()+_35a.getHours()*_359,date.getMinutes()+_35a.getMinutes()*_359,date.getSeconds()+_35a.getSeconds()*_359);if(this.constraints.selector=="time"){date.setFullYear(1970,0,1);}var _35b=dojo.date.locale.format(date,this.constraints);if(this.filterString&&_35b.toLowerCase().indexOf(this.filterString)!==0){return null;}var div=dojo.create("div",{"class":this.baseClass+"Item"});div.date=date;div.index=_359;dojo.create("div",{"class":this.baseClass+"ItemInner",innerHTML:_35b},div);if(_359%this._visibleIncrement<1&&_359%this._visibleIncrement>-1){dojo.addClass(div,this.baseClass+"Marker");}else{if(!(_359%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 _35c=tgt.target.date||tgt.target.parentNode.date;if(!_35c||this.isDisabledDate(_35c)){return;}this._highlighted_option=null;this.set("value",_35c);this.onChange(_35c);},onChange:function(time){},_highlightOption:function(node,_35d){if(!node){return;}if(_35d){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",_35d);if(dojo.hasClass(node,this.baseClass+"Marker")){dojo.toggleClass(node,this.baseClass+"MarkerHover",_35d);}else{dojo.toggleClass(node,this.baseClass+"TickHover",_35d);}},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 _35e=(dojo.isIE?e.wheelDelta:-e.detail);this[(_35e>0?"_onArrowUp":"_onArrowDown")]();},_onArrowUp:function(_35f){if(typeof _35f=="number"&&_35f==-1){return;}if(!this.timeMenu.childNodes.length){return;}var _360=this.timeMenu.childNodes[0].index;var divs=this._getFilteredNodes(_360,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(_361){if(typeof _361=="number"&&_361==-1){return;}if(!this.timeMenu.childNodes.length){return;}var _362=this.timeMenu.childNodes[this.timeMenu.childNodes.length-1].index+1;var divs=this._getFilteredNodes(_362,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 _363=this.timeMenu,tgt=this._highlighted_option||dojo.query("."+this.baseClass+"ItemSelected",_363)[0];if(!tgt){tgt=_363.childNodes[0];}else{if(_363.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["dojox.gfx.matrix"]){dojo._hasResource["dojox.gfx.matrix"]=true;dojo.provide("dojox.gfx.matrix");(function(){var m=dojox.gfx.matrix;var _364={};m._degToRad=function(_365){return _364[_365]||(_364[_365]=(Math.PI*_365/180));};m._radToDeg=function(_366){return _366/Math.PI*180;};m.Matrix2D=function(arg){if(arg){if(typeof arg=="number"){this.xx=this.yy=arg;}else{if(arg instanceof Array){if(arg.length>0){var _367=m.normalize(arg[0]);for(var i=1;i<arg.length;++i){var l=_367,r=dojox.gfx.matrix.normalize(arg[i]);_367=new m.Matrix2D();_367.xx=l.xx*r.xx+l.xy*r.yx;_367.xy=l.xx*r.xy+l.xy*r.yy;_367.yx=l.yx*r.xx+l.yy*r.yx;_367.yy=l.yx*r.xy+l.yy*r.yy;_367.dx=l.xx*r.dx+l.xy*r.dy+l.dx;_367.dy=l.yx*r.dx+l.yy*r.dy+l.dy;}dojo.mixin(this,_367);}}else{dojo.mixin(this,arg);}}}};dojo.extend(m.Matrix2D,{xx:1,xy:0,yx:0,yy:1,dx:0,dy:0});dojo.mixin(m,{identity:new m.Matrix2D(),flipX:new m.Matrix2D({xx:-1}),flipY:new m.Matrix2D({yy:-1}),flipXY:new m.Matrix2D({xx:-1,yy:-1}),translate:function(a,b){if(arguments.length>1){return new m.Matrix2D({dx:a,dy:b});}return new m.Matrix2D({dx:a.x,dy:a.y});},scale:function(a,b){if(arguments.length>1){return new m.Matrix2D({xx:a,yy:b});}if(typeof a=="number"){return new m.Matrix2D({xx:a,yy:a});}return new m.Matrix2D({xx:a.x,yy:a.y});},rotate:function(_368){var c=Math.cos(_368);var s=Math.sin(_368);return new m.Matrix2D({xx:c,xy:-s,yx:s,yy:c});},rotateg:function(_369){return m.rotate(m._degToRad(_369));},skewX:function(_36a){return new m.Matrix2D({xy:Math.tan(_36a)});},skewXg:function(_36b){return m.skewX(m._degToRad(_36b));},skewY:function(_36c){return new m.Matrix2D({yx:Math.tan(_36c)});},skewYg:function(_36d){return m.skewY(m._degToRad(_36d));},reflect:function(a,b){if(arguments.length==1){b=a.y;a=a.x;}var a2=a*a,b2=b*b,n2=a2+b2,xy=2*a*b/n2;return new m.Matrix2D({xx:2*a2/n2-1,xy:xy,yx:xy,yy:2*b2/n2-1});},project:function(a,b){if(arguments.length==1){b=a.y;a=a.x;}var a2=a*a,b2=b*b,n2=a2+b2,xy=a*b/n2;return new m.Matrix2D({xx:a2/n2,xy:xy,yx:xy,yy:b2/n2});},normalize:function(_36e){return (_36e instanceof m.Matrix2D)?_36e:new m.Matrix2D(_36e);},clone:function(_36f){var obj=new m.Matrix2D();for(var i in _36f){if(typeof (_36f[i])=="number"&&typeof (obj[i])=="number"&&obj[i]!=_36f[i]){obj[i]=_36f[i];}}return obj;},invert:function(_370){var M=m.normalize(_370),D=M.xx*M.yy-M.xy*M.yx,M=new m.Matrix2D({xx:M.yy/D,xy:-M.xy/D,yx:-M.yx/D,yy:M.xx/D,dx:(M.xy*M.dy-M.yy*M.dx)/D,dy:(M.yx*M.dx-M.xx*M.dy)/D});return M;},_multiplyPoint:function(_371,x,y){return {x:_371.xx*x+_371.xy*y+_371.dx,y:_371.yx*x+_371.yy*y+_371.dy};},multiplyPoint:function(_372,a,b){var M=m.normalize(_372);if(typeof a=="number"&&typeof b=="number"){return m._multiplyPoint(M,a,b);}return m._multiplyPoint(M,a.x,a.y);},multiply:function(_373){var M=m.normalize(_373);for(var i=1;i<arguments.length;++i){var l=M,r=m.normalize(arguments[i]);M=new m.Matrix2D();M.xx=l.xx*r.xx+l.xy*r.yx;M.xy=l.xx*r.xy+l.xy*r.yy;M.yx=l.yx*r.xx+l.yy*r.yx;M.yy=l.yx*r.xy+l.yy*r.yy;M.dx=l.xx*r.dx+l.xy*r.dy+l.dx;M.dy=l.yx*r.dx+l.yy*r.dy+l.dy;}return M;},_sandwich:function(_374,x,y){return m.multiply(m.translate(x,y),_374,m.translate(-x,-y));},scaleAt:function(a,b,c,d){switch(arguments.length){case 4:return m._sandwich(m.scale(a,b),c,d);case 3:if(typeof c=="number"){return m._sandwich(m.scale(a),b,c);}return m._sandwich(m.scale(a,b),c.x,c.y);}return m._sandwich(m.scale(a),b.x,b.y);},rotateAt:function(_375,a,b){if(arguments.length>2){return m._sandwich(m.rotate(_375),a,b);}return m._sandwich(m.rotate(_375),a.x,a.y);},rotategAt:function(_376,a,b){if(arguments.length>2){return m._sandwich(m.rotateg(_376),a,b);}return m._sandwich(m.rotateg(_376),a.x,a.y);},skewXAt:function(_377,a,b){if(arguments.length>2){return m._sandwich(m.skewX(_377),a,b);}return m._sandwich(m.skewX(_377),a.x,a.y);},skewXgAt:function(_378,a,b){if(arguments.length>2){return m._sandwich(m.skewXg(_378),a,b);}return m._sandwich(m.skewXg(_378),a.x,a.y);},skewYAt:function(_379,a,b){if(arguments.length>2){return m._sandwich(m.skewY(_379),a,b);}return m._sandwich(m.skewY(_379),a.x,a.y);},skewYgAt:function(_37a,a,b){if(arguments.length>2){return m._sandwich(m.skewYg(_37a),a,b);}return m._sandwich(m.skewYg(_37a),a.x,a.y);}});})();dojox.gfx.Matrix2D=dojox.gfx.matrix.Matrix2D;}if(!dojo._hasResource["dojox.gfx._base"]){dojo._hasResource["dojox.gfx._base"]=true;dojo.provide("dojox.gfx._base");(function(){var g=dojox.gfx,b=g._base;g._hasClass=function(node,_37b){var cls=node.getAttribute("className");return cls&&(" "+cls+" ").indexOf(" "+_37b+" ")>=0;};g._addClass=function(node,_37c){var cls=node.getAttribute("className")||"";if(!cls||(" "+cls+" ").indexOf(" "+_37c+" ")<0){node.setAttribute("className",cls+(cls?" ":"")+_37c);}};g._removeClass=function(node,_37d){var cls=node.getAttribute("className");if(cls){node.setAttribute("className",cls.replace(new RegExp("(^|\\s+)"+_37d+"(\\s+|$)"),"$1$2"));}};b._getFontMeasurements=function(){var _37e={"1em":0,"1ex":0,"100%":0,"12pt":0,"16px":0,"xx-small":0,"x-small":0,"small":0,"medium":0,"large":0,"x-large":0,"xx-large":0};if(dojo.isIE){dojo.doc.documentElement.style.fontSize="100%";}var div=dojo.create("div",{style:{position:"absolute",left:"0",top:"-100px",width:"30px",height:"1000em",borderWidth:"0",margin:"0",padding:"0",outline:"none",lineHeight:"1",overflow:"hidden"}},dojo.body());for(var p in _37e){div.style.fontSize=p;_37e[p]=Math.round(div.offsetHeight*12/16)*16/12/1000;}dojo.body().removeChild(div);return _37e;};var _37f=null;b._getCachedFontMeasurements=function(_380){if(_380||!_37f){_37f=b._getFontMeasurements();}return _37f;};var _381=null,_382={};b._getTextBox=function(text,_383,_384){var m,s,al=arguments.length;if(!_381){_381=dojo.create("div",{style:{position:"absolute",top:"-10000px",left:"0"}},dojo.body());}m=_381;m.className="";s=m.style;s.borderWidth="0";s.margin="0";s.padding="0";s.outline="0";if(al>1&&_383){for(var i in _383){if(i in _382){continue;}s[i]=_383[i];}}if(al>2&&_384){m.className=_384;}m.innerHTML=text;if(m["getBoundingClientRect"]){var bcr=m.getBoundingClientRect();return {l:bcr.left,t:bcr.top,w:bcr.width||(bcr.right-bcr.left),h:bcr.height||(bcr.bottom-bcr.top)};}else{return dojo.marginBox(m);}};var _385=0;b._getUniqueId=function(){var id;do{id=dojo._scopeName+"Unique"+(++_385);}while(dojo.byId(id));return id;};})();dojo.mixin(dojox.gfx,{defaultPath:{type:"path",path:""},defaultPolyline:{type:"polyline",points:[]},defaultRect:{type:"rect",x:0,y:0,width:100,height:100,r:0},defaultEllipse:{type:"ellipse",cx:0,cy:0,rx:200,ry:100},defaultCircle:{type:"circle",cx:0,cy:0,r:100},defaultLine:{type:"line",x1:0,y1:0,x2:100,y2:100},defaultImage:{type:"image",x:0,y:0,width:0,height:0,src:""},defaultText:{type:"text",x:0,y:0,text:"",align:"start",decoration:"none",rotated:false,kerning:true},defaultTextPath:{type:"textpath",text:"",align:"start",decoration:"none",rotated:false,kerning:true},defaultStroke:{type:"stroke",color:"black",style:"solid",width:1,cap:"butt",join:4},defaultLinearGradient:{type:"linear",x1:0,y1:0,x2:100,y2:100,colors:[{offset:0,color:"black"},{offset:1,color:"white"}]},defaultRadialGradient:{type:"radial",cx:0,cy:0,r:100,colors:[{offset:0,color:"black"},{offset:1,color:"white"}]},defaultPattern:{type:"pattern",x:0,y:0,width:0,height:0,src:""},defaultFont:{type:"font",style:"normal",variant:"normal",weight:"normal",size:"10pt",family:"serif"},getDefault:(function(){var _386={};return function(type){var t=_386[type];if(t){return new t();}t=_386[type]=new Function;t.prototype=dojox.gfx["default"+type];return new t();};})(),normalizeColor:function(_387){return (_387 instanceof dojo.Color)?_387:new dojo.Color(_387);},normalizeParameters:function(_388,_389){if(_389){var _38a={};for(var x in _388){if(x in _389&&!(x in _38a)){_388[x]=_389[x];}}}return _388;},makeParameters:function(_38b,_38c){if(!_38c){return dojo.delegate(_38b);}var _38d={};for(var i in _38b){if(!(i in _38d)){_38d[i]=dojo.clone((i in _38c)?_38c[i]:_38b[i]);}}return _38d;},formatNumber:function(x,_38e){var val=x.toString();if(val.indexOf("e")>=0){val=x.toFixed(4);}else{var _38f=val.indexOf(".");if(_38f>=0&&val.length-_38f>5){val=x.toFixed(4);}}if(x<0){return val;}return _38e?" "+val:val;},makeFontString:function(font){return font.style+" "+font.variant+" "+font.weight+" "+font.size+" "+font.family;},splitFontString:function(str){var font=dojox.gfx.getDefault("Font");var t=str.split(/\s+/);do{if(t.length<5){break;}font.style=t[0];font.variant=t[1];font.weight=t[2];var i=t[3].indexOf("/");font.size=i<0?t[3]:t[3].substring(0,i);var j=4;if(i<0){if(t[4]=="/"){j=6;}else{if(t[4].charAt(0)=="/"){j=5;}}}if(j<t.length){font.family=t.slice(j).join(" ");}}while(false);return font;},cm_in_pt:72/2.54,mm_in_pt:7.2/2.54,px_in_pt:function(){return dojox.gfx._base._getCachedFontMeasurements()["12pt"]/12;},pt2px:function(len){return len*dojox.gfx.px_in_pt();},px2pt:function(len){return len/dojox.gfx.px_in_pt();},normalizedLength:function(len){if(len.length==0){return 0;}if(len.length>2){var _390=dojox.gfx.px_in_pt();var val=parseFloat(len);switch(len.slice(-2)){case "px":return val;case "pt":return val*_390;case "in":return val*72*_390;case "pc":return val*12*_390;case "mm":return val*dojox.gfx.mm_in_pt*_390;case "cm":return val*dojox.gfx.cm_in_pt*_390;}}return parseFloat(len);},pathVmlRegExp:/([A-Za-z]+)|(\d+(\.\d+)?)|(\.\d+)|(-\d+(\.\d+)?)|(-\.\d+)/g,pathSvgRegExp:/([A-Za-z])|(\d+(\.\d+)?)|(\.\d+)|(-\d+(\.\d+)?)|(-\.\d+)/g,equalSources:function(a,b){return a&&b&&a==b;},switchTo:function(_391){var ns=dojox.gfx[_391];if(ns){dojo.forEach(["Group","Rect","Ellipse","Circle","Line","Polyline","Image","Text","Path","TextPath","Surface","createSurface"],function(name){dojox.gfx[name]=ns[name];});}}});}if(!dojo._hasResource["dojox.gfx"]){dojo._hasResource["dojox.gfx"]=true;dojo.provide("dojox.gfx");dojo.loadInit(function(){var gfx=dojo.getObject("dojox.gfx",true),sl,flag,_392;while(!gfx.renderer){if(dojo.config.forceGfxRenderer){dojox.gfx.renderer=dojo.config.forceGfxRenderer;break;}var _393=(typeof dojo.config.gfxRenderer=="string"?dojo.config.gfxRenderer:"svg,vml,canvas,silverlight").split(",");for(var i=0;i<_393.length;++i){switch(_393[i]){case "svg":if("SVGAngle" in dojo.global){dojox.gfx.renderer="svg";}break;case "vml":if(dojo.isIE){dojox.gfx.renderer="vml";}break;case "silverlight":try{if(dojo.isIE){sl=new ActiveXObject("AgControl.AgControl");if(sl&&sl.IsVersionSupported("1.0")){flag=true;}}else{if(navigator.plugins["Silverlight Plug-In"]){flag=true;}}}catch(e){flag=false;}finally{sl=null;}if(flag){dojox.gfx.renderer="silverlight";}break;case "canvas":if(dojo.global.CanvasRenderingContext2D){dojox.gfx.renderer="canvas";}break;}if(gfx.renderer){break;}}break;}if(dojo.config.isDebug){}if(gfx[gfx.renderer]){gfx.switchTo(gfx.renderer);}else{gfx.loadAndSwitch=gfx.renderer;dojo["require"]("dojox.gfx."+gfx.renderer);}});}if(!dojo._hasResource["dojox.lang.functional.lambda"]){dojo._hasResource["dojox.lang.functional.lambda"]=true;dojo.provide("dojox.lang.functional.lambda");(function(){var df=dojox.lang.functional,_394={};var _395="ab".split(/a*/).length>1?String.prototype.split:function(sep){var r=this.split.call(this,sep),m=sep.exec(this);if(m&&m.index==0){r.unshift("");}return r;};var _396=function(s){var args=[],_397=_395.call(s,/\s*->\s*/m);if(_397.length>1){while(_397.length){s=_397.pop();args=_397.pop().split(/\s*,\s*|\s+/m);if(_397.length){_397.push("(function("+args+"){return ("+s+")})");}}}else{if(s.match(/\b_\b/)){args=["_"];}else{var l=s.match(/^\s*(?:[+*\/%&|\^\.=<>]|!=)/m),r=s.match(/[+\-*\/%&|\^\.=<>!]\s*$/m);if(l||r){if(l){args.push("$1");s="$1"+s;}if(r){args.push("$2");s=s+"$2";}}else{var vars=s.replace(/(?:\b[A-Z]|\.[a-zA-Z_$])[a-zA-Z_$\d]*|[a-zA-Z_$][a-zA-Z_$\d]*:|this|true|false|null|undefined|typeof|instanceof|in|delete|new|void|arguments|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|escape|eval|isFinite|isNaN|parseFloat|parseInt|unescape|dojo|dijit|dojox|window|document|'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"/g,"").match(/([a-z_$][a-z_$\d]*)/gi)||[],t={};dojo.forEach(vars,function(v){if(!(v in t)){args.push(v);t[v]=1;}});}}}return {args:args,body:s};};var _398=function(a){return a.length?function(){var i=a.length-1,x=df.lambda(a[i]).apply(this,arguments);for(--i;i>=0;--i){x=df.lambda(a[i]).call(this,x);}return x;}:function(x){return x;};};dojo.mixin(df,{rawLambda:function(s){return _396(s);},buildLambda:function(s){s=_396(s);return "function("+s.args.join(",")+"){return ("+s.body+");}";},lambda:function(s){if(typeof s=="function"){return s;}if(s instanceof Array){return _398(s);}if(s in _394){return _394[s];}s=_396(s);return _394[s]=new Function(s.args,"return ("+s.body+");");},clearLambdaCache:function(){_394={};}});})();}if(!dojo._hasResource["dojox.lang.functional.array"]){dojo._hasResource["dojox.lang.functional.array"]=true;dojo.provide("dojox.lang.functional.array");(function(){var d=dojo,df=dojox.lang.functional,_399={};d.mixin(df,{filter:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||d.global;f=df.lambda(f);var t=[],v,i,n;if(d.isArray(a)){for(i=0,n=a.length;i<n;++i){v=a[i];if(f.call(o,v,i,a)){t.push(v);}}}else{if(typeof a.hasNext=="function"&&typeof a.next=="function"){for(i=0;a.hasNext();){v=a.next();if(f.call(o,v,i++,a)){t.push(v);}}}else{for(i in a){if(!(i in _399)){v=a[i];if(f.call(o,v,i,a)){t.push(v);}}}}}return t;},forEach:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||d.global;f=df.lambda(f);var i,n;if(d.isArray(a)){for(i=0,n=a.length;i<n;f.call(o,a[i],i,a),++i){}}else{if(typeof a.hasNext=="function"&&typeof a.next=="function"){for(i=0;a.hasNext();f.call(o,a.next(),i++,a)){}}else{for(i in a){if(!(i in _399)){f.call(o,a[i],i,a);}}}}return o;},map:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||d.global;f=df.lambda(f);var t,n,i;if(d.isArray(a)){t=new Array(n=a.length);for(i=0;i<n;t[i]=f.call(o,a[i],i,a),++i){}}else{if(typeof a.hasNext=="function"&&typeof a.next=="function"){t=[];for(i=0;a.hasNext();t.push(f.call(o,a.next(),i++,a))){}}else{t=[];for(i in a){if(!(i in _399)){t.push(f.call(o,a[i],i,a));}}}}return t;},every:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||d.global;f=df.lambda(f);var i,n;if(d.isArray(a)){for(i=0,n=a.length;i<n;++i){if(!f.call(o,a[i],i,a)){return false;}}}else{if(typeof a.hasNext=="function"&&typeof a.next=="function"){for(i=0;a.hasNext();){if(!f.call(o,a.next(),i++,a)){return false;}}}else{for(i in a){if(!(i in _399)){if(!f.call(o,a[i],i,a)){return false;}}}}}return true;},some:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||d.global;f=df.lambda(f);var i,n;if(d.isArray(a)){for(i=0,n=a.length;i<n;++i){if(f.call(o,a[i],i,a)){return true;}}}else{if(typeof a.hasNext=="function"&&typeof a.next=="function"){for(i=0;a.hasNext();){if(f.call(o,a.next(),i++,a)){return true;}}}else{for(i in a){if(!(i in _399)){if(f.call(o,a[i],i,a)){return true;}}}}}return false;}});})();}if(!dojo._hasResource["dojox.lang.functional.object"]){dojo._hasResource["dojox.lang.functional.object"]=true;dojo.provide("dojox.lang.functional.object");(function(){var d=dojo,df=dojox.lang.functional,_39a={};d.mixin(df,{keys:function(obj){var t=[];for(var i in obj){if(!(i in _39a)){t.push(i);}}return t;},values:function(obj){var t=[];for(var i in obj){if(!(i in _39a)){t.push(obj[i]);}}return t;},filterIn:function(obj,f,o){o=o||d.global;f=df.lambda(f);var t={},v,i;for(i in obj){if(!(i in _39a)){v=obj[i];if(f.call(o,v,i,obj)){t[i]=v;}}}return t;},forIn:function(obj,f,o){o=o||d.global;f=df.lambda(f);for(var i in obj){if(!(i in _39a)){f.call(o,obj[i],i,obj);}}return o;},mapIn:function(obj,f,o){o=o||d.global;f=df.lambda(f);var t={},i;for(i in obj){if(!(i in _39a)){t[i]=f.call(o,obj[i],i,obj);}}return t;}});})();}if(!dojo._hasResource["dojox.lang.functional"]){dojo._hasResource["dojox.lang.functional"]=true;dojo.provide("dojox.lang.functional");}if(!dojo._hasResource["dojox.lang.functional.fold"]){dojo._hasResource["dojox.lang.functional.fold"]=true;dojo.provide("dojox.lang.functional.fold");(function(){var d=dojo,df=dojox.lang.functional,_39b={};d.mixin(df,{foldl:function(a,f,z,o){if(typeof a=="string"){a=a.split("");}o=o||d.global;f=df.lambda(f);var i,n;if(d.isArray(a)){for(i=0,n=a.length;i<n;z=f.call(o,z,a[i],i,a),++i){}}else{if(typeof a.hasNext=="function"&&typeof a.next=="function"){for(i=0;a.hasNext();z=f.call(o,z,a.next(),i++,a)){}}else{for(i in a){if(!(i in _39b)){z=f.call(o,z,a[i],i,a);}}}}return z;},foldl1:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||d.global;f=df.lambda(f);var z,i,n;if(d.isArray(a)){z=a[0];for(i=1,n=a.length;i<n;z=f.call(o,z,a[i],i,a),++i){}}else{if(typeof a.hasNext=="function"&&typeof a.next=="function"){if(a.hasNext()){z=a.next();for(i=1;a.hasNext();z=f.call(o,z,a.next(),i++,a)){}}}else{var _39c=true;for(i in a){if(!(i in _39b)){if(_39c){z=a[i];_39c=false;}else{z=f.call(o,z,a[i],i,a);}}}}}return z;},foldr:function(a,f,z,o){if(typeof a=="string"){a=a.split("");}o=o||d.global;f=df.lambda(f);for(var i=a.length;i>0;--i,z=f.call(o,z,a[i],i,a)){}return z;},foldr1:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||d.global;f=df.lambda(f);var n=a.length,z=a[n-1],i=n-1;for(;i>0;--i,z=f.call(o,z,a[i],i,a)){}return z;},reduce:function(a,f,z){return arguments.length<3?df.foldl1(a,f):df.foldl(a,f,z);},reduceRight:function(a,f,z){return arguments.length<3?df.foldr1(a,f):df.foldr(a,f,z);},unfold:function(pr,f,g,z,o){o=o||d.global;f=df.lambda(f);g=df.lambda(g);pr=df.lambda(pr);var t=[];for(;!pr.call(o,z);t.push(f.call(o,z)),z=g.call(o,z)){}return t;}});})();}if(!dojo._hasResource["dojox.lang.functional.reversed"]){dojo._hasResource["dojox.lang.functional.reversed"]=true;dojo.provide("dojox.lang.functional.reversed");(function(){var d=dojo,df=dojox.lang.functional;d.mixin(df,{filterRev:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||d.global;f=df.lambda(f);var t=[],v,i=a.length-1;for(;i>=0;--i){v=a[i];if(f.call(o,v,i,a)){t.push(v);}}return t;},forEachRev:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||d.global;f=df.lambda(f);for(var i=a.length-1;i>=0;f.call(o,a[i],i,a),--i){}},mapRev:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||d.global;f=df.lambda(f);var n=a.length,t=new Array(n),i=n-1,j=0;for(;i>=0;t[j++]=f.call(o,a[i],i,a),--i){}return t;},everyRev:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||d.global;f=df.lambda(f);for(var i=a.length-1;i>=0;--i){if(!f.call(o,a[i],i,a)){return false;}}return true;},someRev:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||d.global;f=df.lambda(f);for(var i=a.length-1;i>=0;--i){if(f.call(o,a[i],i,a)){return true;}}return false;}});})();}if(!dojo._hasResource["dojox.charting.Element"]){dojo._hasResource["dojox.charting.Element"]=true;dojo.provide("dojox.charting.Element");dojo.declare("dojox.charting.Element",null,{chart:null,group:null,htmlElements:null,dirty:true,constructor:function(_39d){this.chart=_39d;this.group=null;this.htmlElements=[];this.dirty=true;this.trailingSymbol="...";this._events=[];},createGroup:function(_39e){if(!_39e){_39e=this.chart.surface;}if(!this.group){this.group=_39e.createGroup();}return this;},purgeGroup:function(){this.destroyHtmlElements();if(this.group){this.group.clear();this.group.removeShape();this.group=null;}this.dirty=true;if(this._events.length){dojo.forEach(this._events,function(item){item.shape.disconnect(item.handle);});this._events=[];}return this;},cleanGroup:function(_39f){this.destroyHtmlElements();if(!_39f){_39f=this.chart.surface;}if(this.group){this.group.clear();}else{this.group=_39f.createGroup();}this.dirty=true;return this;},destroyHtmlElements:function(){if(this.htmlElements.length){dojo.forEach(this.htmlElements,dojo.destroy);this.htmlElements=[];}},destroy:function(){this.purgeGroup();},getTextWidth:function(s,font){return dojox.gfx._base._getTextBox(s,{font:font}).w||0;},getTextWithLimitLength:function(s,font,_3a0,_3a1){if(!s||s.length<=0){return {text:"",truncated:_3a1||false};}if(!_3a0||_3a0<=0){return {text:s,truncated:_3a1||false};}var _3a2=2,_3a3=0.618,_3a4=s.substring(0,1)+this.trailingSymbol,_3a5=this.getTextWidth(_3a4,font);if(_3a0<=_3a5){return {text:_3a4,truncated:true};}var _3a6=this.getTextWidth(s,font);if(_3a6<=_3a0){return {text:s,truncated:_3a1||false};}else{var _3a7=0,end=s.length;while(_3a7<end){if(end-_3a7<=_3a2){while(this.getTextWidth(s.substring(0,_3a7)+this.trailingSymbol,font)>_3a0){_3a7-=1;}return {text:(s.substring(0,_3a7)+this.trailingSymbol),truncated:true};}var _3a8=_3a7+Math.round((end-_3a7)*_3a3),_3a9=this.getTextWidth(s.substring(0,_3a8),font);if(_3a9<_3a0){_3a7=_3a8;end=end;}else{_3a7=_3a7;end=_3a8;}}}},getTextWithLimitCharCount:function(s,font,_3aa,_3ab){if(!s||s.length<=0){return {text:"",truncated:_3ab||false};}if(!_3aa||_3aa<=0||s.length<=_3aa){return {text:s,truncated:_3ab||false};}return {text:s.substring(0,_3aa)+this.trailingSymbol,truncated:true};},_plotFill:function(fill,dim,_3ac){if(!fill||!fill.type||!fill.space){return fill;}var _3ad=fill.space;switch(fill.type){case "linear":if(_3ad==="plot"||_3ad==="shapeX"||_3ad==="shapeY"){fill=dojox.gfx.makeParameters(dojox.gfx.defaultLinearGradient,fill);fill.space=_3ad;if(_3ad==="plot"||_3ad==="shapeX"){var span=dim.height-_3ac.t-_3ac.b;fill.y1=_3ac.t+span*fill.y1/100;fill.y2=_3ac.t+span*fill.y2/100;}if(_3ad==="plot"||_3ad==="shapeY"){var span=dim.width-_3ac.l-_3ac.r;fill.x1=_3ac.l+span*fill.x1/100;fill.x2=_3ac.l+span*fill.x2/100;}}break;case "radial":if(_3ad==="plot"){fill=dojox.gfx.makeParameters(dojox.gfx.defaultRadialGradient,fill);fill.space=_3ad;var _3ae=dim.width-_3ac.l-_3ac.r,_3af=dim.height-_3ac.t-_3ac.b;fill.cx=_3ac.l+_3ae*fill.cx/100;fill.cy=_3ac.t+_3af*fill.cy/100;fill.r=fill.r*Math.sqrt(_3ae*_3ae+_3af*_3af)/200;}break;case "pattern":if(_3ad==="plot"||_3ad==="shapeX"||_3ad==="shapeY"){fill=dojox.gfx.makeParameters(dojox.gfx.defaultPattern,fill);fill.space=_3ad;if(_3ad==="plot"||_3ad==="shapeX"){var span=dim.height-_3ac.t-_3ac.b;fill.y=_3ac.t+span*fill.y/100;fill.height=span*fill.height/100;}if(_3ad==="plot"||_3ad==="shapeY"){var span=dim.width-_3ac.l-_3ac.r;fill.x=_3ac.l+span*fill.x/100;fill.width=span*fill.width/100;}}break;}return fill;},_shapeFill:function(fill,bbox){if(!fill||!fill.space){return fill;}var _3b0=fill.space;switch(fill.type){case "linear":if(_3b0==="shape"||_3b0==="shapeX"||_3b0==="shapeY"){fill=dojox.gfx.makeParameters(dojox.gfx.defaultLinearGradient,fill);fill.space=_3b0;if(_3b0==="shape"||_3b0==="shapeX"){var span=bbox.width;fill.x1=bbox.x+span*fill.x1/100;fill.x2=bbox.x+span*fill.x2/100;}if(_3b0==="shape"||_3b0==="shapeY"){var span=bbox.height;fill.y1=bbox.y+span*fill.y1/100;fill.y2=bbox.y+span*fill.y2/100;}}break;case "radial":if(_3b0==="shape"){fill=dojox.gfx.makeParameters(dojox.gfx.defaultRadialGradient,fill);fill.space=_3b0;fill.cx=bbox.x+bbox.width/2;fill.cy=bbox.y+bbox.height/2;fill.r=fill.r*bbox.width/200;}break;case "pattern":if(_3b0==="shape"||_3b0==="shapeX"||_3b0==="shapeY"){fill=dojox.gfx.makeParameters(dojox.gfx.defaultPattern,fill);fill.space=_3b0;if(_3b0==="shape"||_3b0==="shapeX"){var span=bbox.width;fill.x=bbox.x+span*fill.x/100;fill.width=span*fill.width/100;}if(_3b0==="shape"||_3b0==="shapeY"){var span=bbox.height;fill.y=bbox.y+span*fill.y/100;fill.height=span*fill.height/100;}}break;}return fill;},_pseudoRadialFill:function(fill,_3b1,_3b2,_3b3,end){if(!fill||fill.type!=="radial"||fill.space!=="shape"){return fill;}var _3b4=fill.space;fill=dojox.gfx.makeParameters(dojox.gfx.defaultRadialGradient,fill);fill.space=_3b4;if(arguments.length<4){fill.cx=_3b1.x;fill.cy=_3b1.y;fill.r=fill.r*_3b2/100;return fill;}var _3b5=arguments.length<5?_3b3:(end+_3b3)/2;return {type:"linear",x1:_3b1.x,y1:_3b1.y,x2:_3b1.x+fill.r*_3b2*Math.cos(_3b5)/100,y2:_3b1.y+fill.r*_3b2*Math.sin(_3b5)/100,colors:fill.colors};return fill;}});}if(!dojo._hasResource["dojo.colors"]){dojo._hasResource["dojo.colors"]=true;dojo.provide("dojo.colors");dojo.getObject("colors",true,dojo);(function(){var _3b6=function(m1,m2,h){if(h<0){++h;}if(h>1){--h;}var h6=6*h;if(h6<1){return m1+(m2-m1)*h6;}if(2*h<1){return m2;}if(3*h<2){return m1+(m2-m1)*(2/3-h)*6;}return m1;};dojo.colorFromRgb=function(_3b7,obj){var m=_3b7.toLowerCase().match(/^(rgba?|hsla?)\(([\s\.\-,%0-9]+)\)/);if(m){var c=m[2].split(/\s*,\s*/),l=c.length,t=m[1],a;if((t=="rgb"&&l==3)||(t=="rgba"&&l==4)){var r=c[0];if(r.charAt(r.length-1)=="%"){a=dojo.map(c,function(x){return parseFloat(x)*2.56;});if(l==4){a[3]=c[3];}return dojo.colorFromArray(a,obj);}return dojo.colorFromArray(c,obj);}if((t=="hsl"&&l==3)||(t=="hsla"&&l==4)){var H=((parseFloat(c[0])%360)+360)%360/360,S=parseFloat(c[1])/100,L=parseFloat(c[2])/100,m2=L<=0.5?L*(S+1):L+S-L*S,m1=2*L-m2;a=[_3b6(m1,m2,H+1/3)*256,_3b6(m1,m2,H)*256,_3b6(m1,m2,H-1/3)*256,1];if(l==4){a[3]=c[3];}return dojo.colorFromArray(a,obj);}}return null;};var _3b8=function(c,low,high){c=Number(c);return isNaN(c)?high:c<low?low:c>high?high:c;};dojo.Color.prototype.sanitize=function(){var t=this;t.r=Math.round(_3b8(t.r,0,255));t.g=Math.round(_3b8(t.g,0,255));t.b=Math.round(_3b8(t.b,0,255));t.a=_3b8(t.a,0,1);return this;};})();dojo.colors.makeGrey=function(g,a){return dojo.colorFromArray([g,g,g,a]);};dojo.mixin(dojo.Color.named,{aliceblue:[240,248,255],antiquewhite:[250,235,215],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],blanchedalmond:[255,235,205],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],oldlace:[253,245,230],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],thistle:[216,191,216],tomato:[255,99,71],transparent:[0,0,0,0],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],whitesmoke:[245,245,245],yellowgreen:[154,205,50]});}if(!dojo._hasResource["dojox.color._base"]){dojo._hasResource["dojox.color._base"]=true;dojo.provide("dojox.color._base");dojox.color.Color=dojo.Color;dojox.color.blend=dojo.blendColors;dojox.color.fromRgb=dojo.colorFromRgb;dojox.color.fromHex=dojo.colorFromHex;dojox.color.fromArray=dojo.colorFromArray;dojox.color.fromString=dojo.colorFromString;dojox.color.greyscale=dojo.colors.makeGrey;dojo.mixin(dojox.color,{fromCmy:function(cyan,_3b9,_3ba){if(dojo.isArray(cyan)){_3b9=cyan[1],_3ba=cyan[2],cyan=cyan[0];}else{if(dojo.isObject(cyan)){_3b9=cyan.m,_3ba=cyan.y,cyan=cyan.c;}}cyan/=100,_3b9/=100,_3ba/=100;var r=1-cyan,g=1-_3b9,b=1-_3ba;return new dojox.color.Color({r:Math.round(r*255),g:Math.round(g*255),b:Math.round(b*255)});},fromCmyk:function(cyan,_3bb,_3bc,_3bd){if(dojo.isArray(cyan)){_3bb=cyan[1],_3bc=cyan[2],_3bd=cyan[3],cyan=cyan[0];}else{if(dojo.isObject(cyan)){_3bb=cyan.m,_3bc=cyan.y,_3bd=cyan.b,cyan=cyan.c;}}cyan/=100,_3bb/=100,_3bc/=100,_3bd/=100;var r,g,b;r=1-Math.min(1,cyan*(1-_3bd)+_3bd);g=1-Math.min(1,_3bb*(1-_3bd)+_3bd);b=1-Math.min(1,_3bc*(1-_3bd)+_3bd);return new dojox.color.Color({r:Math.round(r*255),g:Math.round(g*255),b:Math.round(b*255)});},fromHsl:function(hue,_3be,_3bf){if(dojo.isArray(hue)){_3be=hue[1],_3bf=hue[2],hue=hue[0];}else{if(dojo.isObject(hue)){_3be=hue.s,_3bf=hue.l,hue=hue.h;}}_3be/=100;_3bf/=100;while(hue<0){hue+=360;}while(hue>=360){hue-=360;}var r,g,b;if(hue<120){r=(120-hue)/60,g=hue/60,b=0;}else{if(hue<240){r=0,g=(240-hue)/60,b=(hue-120)/60;}else{r=(hue-240)/60,g=0,b=(360-hue)/60;}}r=2*_3be*Math.min(r,1)+(1-_3be);g=2*_3be*Math.min(g,1)+(1-_3be);b=2*_3be*Math.min(b,1)+(1-_3be);if(_3bf<0.5){r*=_3bf,g*=_3bf,b*=_3bf;}else{r=(1-_3bf)*r+2*_3bf-1;g=(1-_3bf)*g+2*_3bf-1;b=(1-_3bf)*b+2*_3bf-1;}return new dojox.color.Color({r:Math.round(r*255),g:Math.round(g*255),b:Math.round(b*255)});},fromHsv:function(hue,_3c0,_3c1){if(dojo.isArray(hue)){_3c0=hue[1],_3c1=hue[2],hue=hue[0];}else{if(dojo.isObject(hue)){_3c0=hue.s,_3c1=hue.v,hue=hue.h;}}if(hue==360){hue=0;}_3c0/=100;_3c1/=100;var r,g,b;if(_3c0==0){r=_3c1,b=_3c1,g=_3c1;}else{var _3c2=hue/60,i=Math.floor(_3c2),f=_3c2-i;var p=_3c1*(1-_3c0);var q=_3c1*(1-(_3c0*f));var t=_3c1*(1-(_3c0*(1-f)));switch(i){case 0:r=_3c1,g=t,b=p;break;case 1:r=q,g=_3c1,b=p;break;case 2:r=p,g=_3c1,b=t;break;case 3:r=p,g=q,b=_3c1;break;case 4:r=t,g=p,b=_3c1;break;case 5:r=_3c1,g=p,b=q;break;}}return new dojox.color.Color({r:Math.round(r*255),g:Math.round(g*255),b:Math.round(b*255)});}});dojo.extend(dojox.color.Color,{toCmy:function(){var cyan=1-(this.r/255),_3c3=1-(this.g/255),_3c4=1-(this.b/255);return {c:Math.round(cyan*100),m:Math.round(_3c3*100),y:Math.round(_3c4*100)};},toCmyk:function(){var cyan,_3c5,_3c6,_3c7;var r=this.r/255,g=this.g/255,b=this.b/255;_3c7=Math.min(1-r,1-g,1-b);cyan=(1-r-_3c7)/(1-_3c7);_3c5=(1-g-_3c7)/(1-_3c7);_3c6=(1-b-_3c7)/(1-_3c7);return {c:Math.round(cyan*100),m:Math.round(_3c5*100),y:Math.round(_3c6*100),b:Math.round(_3c7*100)};},toHsl:function(){var r=this.r/255,g=this.g/255,b=this.b/255;var min=Math.min(r,b,g),max=Math.max(r,g,b);var _3c8=max-min;var h=0,s=0,l=(min+max)/2;if(l>0&&l<1){s=_3c8/((l<0.5)?(2*l):(2-2*l));}if(_3c8>0){if(max==r&&max!=g){h+=(g-b)/_3c8;}if(max==g&&max!=b){h+=(2+(b-r)/_3c8);}if(max==b&&max!=r){h+=(4+(r-g)/_3c8);}h*=60;}return {h:h,s:Math.round(s*100),l:Math.round(l*100)};},toHsv:function(){var r=this.r/255,g=this.g/255,b=this.b/255;var min=Math.min(r,b,g),max=Math.max(r,g,b);var _3c9=max-min;var h=null,s=(max==0)?0:(_3c9/max);if(s==0){h=0;}else{if(r==max){h=60*(g-b)/_3c9;}else{if(g==max){h=120+60*(b-r)/_3c9;}else{h=240+60*(r-g)/_3c9;}}if(h<0){h+=360;}}return {h:h,s:Math.round(s*100),v:Math.round(max*100)};}});}if(!dojo._hasResource["dojox.color"]){dojo._hasResource["dojox.color"]=true;dojo.provide("dojox.color");}if(!dojo._hasResource["dojox.color.Palette"]){dojo._hasResource["dojox.color.Palette"]=true;dojo.provide("dojox.color.Palette");(function(){var dxc=dojox.color;dxc.Palette=function(base){this.colors=[];if(base instanceof dojox.color.Palette){this.colors=base.colors.slice(0);}else{if(base instanceof dojox.color.Color){this.colors=[null,null,base,null,null];}else{if(dojo.isArray(base)){this.colors=dojo.map(base.slice(0),function(item){if(dojo.isString(item)){return new dojox.color.Color(item);}return item;});}else{if(dojo.isString(base)){this.colors=[null,null,new dojox.color.Color(base),null,null];}}}}};function _3ca(p,_3cb,val){var ret=new dojox.color.Palette();ret.colors=[];dojo.forEach(p.colors,function(item){var r=(_3cb=="dr")?item.r+val:item.r,g=(_3cb=="dg")?item.g+val:item.g,b=(_3cb=="db")?item.b+val:item.b,a=(_3cb=="da")?item.a+val:item.a;ret.colors.push(new dojox.color.Color({r:Math.min(255,Math.max(0,r)),g:Math.min(255,Math.max(0,g)),b:Math.min(255,Math.max(0,b)),a:Math.min(1,Math.max(0,a))}));});return ret;};function tCMY(p,_3cc,val){var ret=new dojox.color.Palette();ret.colors=[];dojo.forEach(p.colors,function(item){var o=item.toCmy(),c=(_3cc=="dc")?o.c+val:o.c,m=(_3cc=="dm")?o.m+val:o.m,y=(_3cc=="dy")?o.y+val:o.y;ret.colors.push(dojox.color.fromCmy(Math.min(100,Math.max(0,c)),Math.min(100,Math.max(0,m)),Math.min(100,Math.max(0,y))));});return ret;};function _3cd(p,_3ce,val){var ret=new dojox.color.Palette();ret.colors=[];dojo.forEach(p.colors,function(item){var o=item.toCmyk(),c=(_3ce=="dc")?o.c+val:o.c,m=(_3ce=="dm")?o.m+val:o.m,y=(_3ce=="dy")?o.y+val:o.y,k=(_3ce=="dk")?o.b+val:o.b;ret.colors.push(dojox.color.fromCmyk(Math.min(100,Math.max(0,c)),Math.min(100,Math.max(0,m)),Math.min(100,Math.max(0,y)),Math.min(100,Math.max(0,k))));});return ret;};function tHSL(p,_3cf,val){var ret=new dojox.color.Palette();ret.colors=[];dojo.forEach(p.colors,function(item){var o=item.toHsl(),h=(_3cf=="dh")?o.h+val:o.h,s=(_3cf=="ds")?o.s+val:o.s,l=(_3cf=="dl")?o.l+val:o.l;ret.colors.push(dojox.color.fromHsl(h%360,Math.min(100,Math.max(0,s)),Math.min(100,Math.max(0,l))));});return ret;};function tHSV(p,_3d0,val){var ret=new dojox.color.Palette();ret.colors=[];dojo.forEach(p.colors,function(item){var o=item.toHsv(),h=(_3d0=="dh")?o.h+val:o.h,s=(_3d0=="ds")?o.s+val:o.s,v=(_3d0=="dv")?o.v+val:o.v;ret.colors.push(dojox.color.fromHsv(h%360,Math.min(100,Math.max(0,s)),Math.min(100,Math.max(0,v))));});return ret;};function _3d1(val,low,high){return high-((high-val)*((high-low)/high));};dojo.extend(dxc.Palette,{transform:function(_3d2){var fn=_3ca;if(_3d2.use){var use=_3d2.use.toLowerCase();if(use.indexOf("hs")==0){if(use.charAt(2)=="l"){fn=tHSL;}else{fn=tHSV;}}else{if(use.indexOf("cmy")==0){if(use.charAt(3)=="k"){fn=_3cd;}else{fn=tCMY;}}}}else{if("dc" in _3d2||"dm" in _3d2||"dy" in _3d2){if("dk" in _3d2){fn=_3cd;}else{fn=tCMY;}}else{if("dh" in _3d2||"ds" in _3d2){if("dv" in _3d2){fn=tHSV;}else{fn=tHSL;}}}}var _3d3=this;for(var p in _3d2){if(p=="use"){continue;}_3d3=fn(_3d3,p,_3d2[p]);}return _3d3;},clone:function(){return new dxc.Palette(this);}});dojo.mixin(dxc.Palette,{generators:{analogous:function(args){var high=args.high||60,low=args.low||18,base=dojo.isString(args.base)?new dojox.color.Color(args.base):args.base,hsv=base.toHsv();var h=[(hsv.h+low+360)%360,(hsv.h+Math.round(low/2)+360)%360,hsv.h,(hsv.h-Math.round(high/2)+360)%360,(hsv.h-high+360)%360];var s1=Math.max(10,(hsv.s<=95)?hsv.s+5:(100-(hsv.s-95))),s2=(hsv.s>1)?hsv.s-1:21-hsv.s,v1=(hsv.v>=92)?hsv.v-9:Math.max(hsv.v+9,20),v2=(hsv.v<=90)?Math.max(hsv.v+5,20):(95+Math.ceil((hsv.v-90)/2)),s=[s1,s2,hsv.s,s1,s1],v=[v1,v2,hsv.v,v1,v2];return new dxc.Palette(dojo.map(h,function(hue,i){return dojox.color.fromHsv(hue,s[i],v[i]);}));},monochromatic:function(args){var base=dojo.isString(args.base)?new dojox.color.Color(args.base):args.base,hsv=base.toHsv();var s1=(hsv.s-30>9)?hsv.s-30:hsv.s+30,s2=hsv.s,v1=_3d1(hsv.v,20,100),v2=(hsv.v-20>20)?hsv.v-20:hsv.v+60,v3=(hsv.v-50>20)?hsv.v-50:hsv.v+30;return new dxc.Palette([dojox.color.fromHsv(hsv.h,s1,v1),dojox.color.fromHsv(hsv.h,s2,v3),base,dojox.color.fromHsv(hsv.h,s1,v3),dojox.color.fromHsv(hsv.h,s2,v2)]);},triadic:function(args){var base=dojo.isString(args.base)?new dojox.color.Color(args.base):args.base,hsv=base.toHsv();var h1=(hsv.h+57+360)%360,h2=(hsv.h-157+360)%360,s1=(hsv.s>20)?hsv.s-10:hsv.s+10,s2=(hsv.s>90)?hsv.s-10:hsv.s+10,s3=(hsv.s>95)?hsv.s-5:hsv.s+5,v1=(hsv.v-20>20)?hsv.v-20:hsv.v+20,v2=(hsv.v-30>20)?hsv.v-30:hsv.v+30,v3=(hsv.v-30>70)?hsv.v-30:hsv.v+30;return new dxc.Palette([dojox.color.fromHsv(h1,s1,hsv.v),dojox.color.fromHsv(hsv.h,s2,v2),base,dojox.color.fromHsv(h2,s2,v1),dojox.color.fromHsv(h2,s3,v3)]);},complementary:function(args){var base=dojo.isString(args.base)?new dojox.color.Color(args.base):args.base,hsv=base.toHsv();var h1=((hsv.h*2)+137<360)?(hsv.h*2)+137:Math.floor(hsv.h/2)-137,s1=Math.max(hsv.s-10,0),s2=_3d1(hsv.s,10,100),s3=Math.min(100,hsv.s+20),v1=Math.min(100,hsv.v+30),v2=(hsv.v>20)?hsv.v-30:hsv.v+30;return new dxc.Palette([dojox.color.fromHsv(hsv.h,s1,v1),dojox.color.fromHsv(hsv.h,s2,v2),base,dojox.color.fromHsv(h1,s3,v2),dojox.color.fromHsv(h1,hsv.s,hsv.v)]);},splitComplementary:function(args){var base=dojo.isString(args.base)?new dojox.color.Color(args.base):args.base,_3d4=args.da||30,hsv=base.toHsv();var _3d5=((hsv.h*2)+137<360)?(hsv.h*2)+137:Math.floor(hsv.h/2)-137,h1=(_3d5-_3d4+360)%360,h2=(_3d5+_3d4)%360,s1=Math.max(hsv.s-10,0),s2=_3d1(hsv.s,10,100),s3=Math.min(100,hsv.s+20),v1=Math.min(100,hsv.v+30),v2=(hsv.v>20)?hsv.v-30:hsv.v+30;return new dxc.Palette([dojox.color.fromHsv(h1,s1,v1),dojox.color.fromHsv(h1,s2,v2),base,dojox.color.fromHsv(h2,s3,v2),dojox.color.fromHsv(h2,hsv.s,hsv.v)]);},compound:function(args){var base=dojo.isString(args.base)?new dojox.color.Color(args.base):args.base,hsv=base.toHsv();var h1=((hsv.h*2)+18<360)?(hsv.h*2)+18:Math.floor(hsv.h/2)-18,h2=((hsv.h*2)+120<360)?(hsv.h*2)+120:Math.floor(hsv.h/2)-120,h3=((hsv.h*2)+99<360)?(hsv.h*2)+99:Math.floor(hsv.h/2)-99,s1=(hsv.s-40>10)?hsv.s-40:hsv.s+40,s2=(hsv.s-10>80)?hsv.s-10:hsv.s+10,s3=(hsv.s-25>10)?hsv.s-25:hsv.s+25,v1=(hsv.v-40>10)?hsv.v-40:hsv.v+40,v2=(hsv.v-20>80)?hsv.v-20:hsv.v+20,v3=Math.max(hsv.v,20);return new dxc.Palette([dojox.color.fromHsv(h1,s1,v1),dojox.color.fromHsv(h1,s2,v2),base,dojox.color.fromHsv(h2,s3,v3),dojox.color.fromHsv(h3,s2,v2)]);},shades:function(args){var base=dojo.isString(args.base)?new dojox.color.Color(args.base):args.base,hsv=base.toHsv();var s=(hsv.s==100&&hsv.v==0)?0:hsv.s,v1=(hsv.v-50>20)?hsv.v-50:hsv.v+30,v2=(hsv.v-25>=20)?hsv.v-25:hsv.v+55,v3=(hsv.v-75>=20)?hsv.v-75:hsv.v+5,v4=Math.max(hsv.v-10,20);return new dxc.Palette([new dojox.color.fromHsv(hsv.h,s,v1),new dojox.color.fromHsv(hsv.h,s,v2),base,new dojox.color.fromHsv(hsv.h,s,v3),new dojox.color.fromHsv(hsv.h,s,v4)]);}},generate:function(base,type){if(dojo.isFunction(type)){return type({base:base});}else{if(dxc.Palette.generators[type]){return dxc.Palette.generators[type]({base:base});}}throw new Error("dojox.color.Palette.generate: the specified generator ('"+type+"') does not exist.");}});})();}if(!dojo._hasResource["dojox.lang.utils"]){dojo._hasResource["dojox.lang.utils"]=true;dojo.provide("dojox.lang.utils");(function(){var _3d6={},du=dojox.lang.utils,opts=Object.prototype.toString;var _3d7=function(o){if(o){switch(opts.call(o)){case "[object Array]":return o.slice(0);case "[object Object]":return dojo.delegate(o);}}return o;};dojo.mixin(du,{coerceType:function(_3d8,_3d9){switch(typeof _3d8){case "number":return Number(eval("("+_3d9+")"));case "string":return String(_3d9);case "boolean":return Boolean(eval("("+_3d9+")"));}return eval("("+_3d9+")");},updateWithObject:function(_3da,_3db,conv){if(!_3db){return _3da;}for(var x in _3da){if(x in _3db&&!(x in _3d6)){var t=_3da[x];if(t&&typeof t=="object"){du.updateWithObject(t,_3db[x],conv);}else{_3da[x]=conv?du.coerceType(t,_3db[x]):_3d7(_3db[x]);}}}return _3da;},updateWithPattern:function(_3dc,_3dd,_3de,conv){if(!_3dd||!_3de){return _3dc;}for(var x in _3de){if(x in _3dd&&!(x in _3d6)){_3dc[x]=conv?du.coerceType(_3de[x],_3dd[x]):_3d7(_3dd[x]);}}return _3dc;},merge:function(_3df,_3e0){if(_3e0){var _3e1=opts.call(_3df),_3e2=opts.call(_3e0),t,i,l,m;switch(_3e2){case "[object Array]":if(_3e2==_3e1){t=new Array(Math.max(_3df.length,_3e0.length));for(i=0,l=t.length;i<l;++i){t[i]=du.merge(_3df[i],_3e0[i]);}return t;}return _3e0.slice(0);case "[object Object]":if(_3e2==_3e1&&_3df){t=dojo.delegate(_3df);for(i in _3e0){if(i in _3df){l=_3df[i];m=_3e0[i];if(m!==l){t[i]=du.merge(l,m);}}else{t[i]=dojo.clone(_3e0[i]);}}return t;}return dojo.clone(_3e0);}}return _3e0;}});})();}if(!dojo._hasResource["dojox.gfx.gradutils"]){dojo._hasResource["dojox.gfx.gradutils"]=true;dojo.provide("dojox.gfx.gradutils");(function(){var d=dojo,m=dojox.gfx.matrix,C=d.Color;function _3e3(o,c){if(o<=0){return c[0].color;}var len=c.length;if(o>=1){return c[len-1].color;}for(var i=0;i<len;++i){var stop=c[i];if(stop.offset>=o){if(i){var prev=c[i-1];return d.blendColors(new C(prev.color),new C(stop.color),(o-prev.offset)/(stop.offset-prev.offset));}return stop.color;}}return c[len-1].color;};dojox.gfx.gradutils.getColor=function(fill,pt){var o;if(fill){switch(fill.type){case "linear":var _3e4=Math.atan2(fill.y2-fill.y1,fill.x2-fill.x1),_3e5=m.rotate(-_3e4),_3e6=m.project(fill.x2-fill.x1,fill.y2-fill.y1),p=m.multiplyPoint(_3e6,pt),pf1=m.multiplyPoint(_3e6,fill.x1,fill.y1),pf2=m.multiplyPoint(_3e6,fill.x2,fill.y2),_3e7=m.multiplyPoint(_3e5,pf2.x-pf1.x,pf2.y-pf1.y).x,o=m.multiplyPoint(_3e5,p.x-pf1.x,p.y-pf1.y).x/_3e7;break;case "radial":var dx=pt.x-fill.cx,dy=pt.y-fill.cy,o=Math.sqrt(dx*dx+dy*dy)/fill.r;break;}return _3e3(o,fill.colors);}return new C(fill||[0,0,0,0]);};dojox.gfx.gradutils.reverse=function(fill){if(fill){switch(fill.type){case "linear":case "radial":fill=dojo.delegate(fill);if(fill.colors){var c=fill.colors,l=c.length,i=0,stop,n=fill.colors=new Array(c.length);for(;i<l;++i){stop=c[i];n[i]={offset:1-stop.offset,color:stop.color};}n.sort(function(a,b){return a.offset-b.offset;});}break;}}return fill;};})();}if(!dojo._hasResource["dojox.charting.Theme"]){dojo._hasResource["dojox.charting.Theme"]=true;dojo.provide("dojox.charting.Theme");dojo.declare("dojox.charting.Theme",null,{shapeSpaces:{shape:1,shapeX:1,shapeY:1},constructor:function(_3e8){_3e8=_3e8||{};var def=dojox.charting.Theme.defaultTheme;dojo.forEach(["chart","plotarea","axis","series","marker"],function(name){this[name]=dojo.delegate(def[name],_3e8[name]);},this);if(_3e8.seriesThemes&&_3e8.seriesThemes.length){this.colors=null;this.seriesThemes=_3e8.seriesThemes.slice(0);}else{this.seriesThemes=null;this.colors=(_3e8.colors||dojox.charting.Theme.defaultColors).slice(0);}this.markerThemes=null;if(_3e8.markerThemes&&_3e8.markerThemes.length){this.markerThemes=_3e8.markerThemes.slice(0);}this.markers=_3e8.markers?dojo.clone(_3e8.markers):dojo.delegate(dojox.charting.Theme.defaultMarkers);this.noGradConv=_3e8.noGradConv;this.noRadialConv=_3e8.noRadialConv;if(_3e8.reverseFills){this.reverseFills();}this._current=0;this._buildMarkerArray();},clone:function(){var _3e9=new dojox.charting.Theme({chart:this.chart,plotarea:this.plotarea,axis:this.axis,series:this.series,marker:this.marker,colors:this.colors,markers:this.markers,seriesThemes:this.seriesThemes,markerThemes:this.markerThemes,noGradConv:this.noGradConv,noRadialConv:this.noRadialConv});dojo.forEach(["clone","clear","next","skip","addMixin","post","getTick"],function(name){if(this.hasOwnProperty(name)){_3e9[name]=this[name];}},this);return _3e9;},clear:function(){this._current=0;},next:function(_3ea,_3eb,_3ec){var _3ed=dojox.lang.utils.merge,_3ee,_3ef;if(this.colors){_3ee=dojo.delegate(this.series);_3ef=dojo.delegate(this.marker);var _3f0=new dojo.Color(this.colors[this._current%this.colors.length]),old;if(_3ee.stroke&&_3ee.stroke.color){_3ee.stroke=dojo.delegate(_3ee.stroke);old=new dojo.Color(_3ee.stroke.color);_3ee.stroke.color=new dojo.Color(_3f0);_3ee.stroke.color.a=old.a;}else{_3ee.stroke={color:_3f0};}if(_3ef.stroke&&_3ef.stroke.color){_3ef.stroke=dojo.delegate(_3ef.stroke);old=new dojo.Color(_3ef.stroke.color);_3ef.stroke.color=new dojo.Color(_3f0);_3ef.stroke.color.a=old.a;}else{_3ef.stroke={color:_3f0};}if(!_3ee.fill||_3ee.fill.type){_3ee.fill=_3f0;}else{old=new dojo.Color(_3ee.fill);_3ee.fill=new dojo.Color(_3f0);_3ee.fill.a=old.a;}if(!_3ef.fill||_3ef.fill.type){_3ef.fill=_3f0;}else{old=new dojo.Color(_3ef.fill);_3ef.fill=new dojo.Color(_3f0);_3ef.fill.a=old.a;}}else{_3ee=this.seriesThemes?_3ed(this.series,this.seriesThemes[this._current%this.seriesThemes.length]):this.series;_3ef=this.markerThemes?_3ed(this.marker,this.markerThemes[this._current%this.markerThemes.length]):_3ee;}var _3f1=_3ef&&_3ef.symbol||this._markers[this._current%this._markers.length];var _3f2={series:_3ee,marker:_3ef,symbol:_3f1};++this._current;if(_3eb){_3f2=this.addMixin(_3f2,_3ea,_3eb);}if(_3ec){_3f2=this.post(_3f2,_3ea);}return _3f2;},skip:function(){++this._current;},addMixin:function(_3f3,_3f4,_3f5,_3f6){if(dojo.isArray(_3f5)){dojo.forEach(_3f5,function(m){_3f3=this.addMixin(_3f3,_3f4,m);},this);}else{var t={};if("color" in _3f5){if(_3f4=="line"||_3f4=="area"){dojo.setObject("series.stroke.color",_3f5.color,t);dojo.setObject("marker.stroke.color",_3f5.color,t);}else{dojo.setObject("series.fill",_3f5.color,t);}}dojo.forEach(["stroke","outline","shadow","fill","font","fontColor","labelWiring"],function(name){var _3f7="marker"+name.charAt(0).toUpperCase()+name.substr(1),b=_3f7 in _3f5;if(name in _3f5){dojo.setObject("series."+name,_3f5[name],t);if(!b){dojo.setObject("marker."+name,_3f5[name],t);}}if(b){dojo.setObject("marker."+name,_3f5[_3f7],t);}});if("marker" in _3f5){t.symbol=_3f5.marker;}_3f3=dojox.lang.utils.merge(_3f3,t);}if(_3f6){_3f3=this.post(_3f3,_3f4);}return _3f3;},post:function(_3f8,_3f9){var fill=_3f8.series.fill,t;if(!this.noGradConv&&this.shapeSpaces[fill.space]&&fill.type=="linear"){if(_3f9=="bar"){t={x1:fill.y1,y1:fill.x1,x2:fill.y2,y2:fill.x2};}else{if(!this.noRadialConv&&fill.space=="shape"&&(_3f9=="slice"||_3f9=="circle")){t={type:"radial",cx:0,cy:0,r:100};}}if(t){return dojox.lang.utils.merge(_3f8,{series:{fill:t}});}}return _3f8;},getTick:function(name,_3fa){var tick=this.axis.tick,_3fb=name+"Tick";merge=dojox.lang.utils.merge;if(tick){if(this.axis[_3fb]){tick=merge(tick,this.axis[_3fb]);}}else{tick=this.axis[_3fb];}if(_3fa){if(tick){if(_3fa[_3fb]){tick=merge(tick,_3fa[_3fb]);}}else{tick=_3fa[_3fb];}}return tick;},inspectObjects:function(f){dojo.forEach(["chart","plotarea","axis","series","marker"],function(name){f(this[name]);},this);if(this.seriesThemes){dojo.forEach(this.seriesThemes,f);}if(this.markerThemes){dojo.forEach(this.markerThemes,f);}},reverseFills:function(){this.inspectObjects(function(o){if(o&&o.fill){o.fill=dojox.gfx.gradutils.reverse(o.fill);}});},addMarker:function(name,_3fc){this.markers[name]=_3fc;this._buildMarkerArray();},setMarkers:function(obj){this.markers=obj;this._buildMarkerArray();},_buildMarkerArray:function(){this._markers=[];for(var p in this.markers){this._markers.push(this.markers[p]);}}});dojo.mixin(dojox.charting.Theme,{defaultMarkers:{CIRCLE:"m-3,0 c0,-4 6,-4 6,0 m-6,0 c0,4 6,4 6,0",SQUARE:"m-3,-3 l0,6 6,0 0,-6 z",DIAMOND:"m0,-3 l3,3 -3,3 -3,-3 z",CROSS:"m0,-3 l0,6 m-3,-3 l6,0",X:"m-3,-3 l6,6 m0,-6 l-6,6",TRIANGLE:"m-3,3 l3,-6 3,6 z",TRIANGLE_INVERTED:"m-3,-3 l3,6 3,-6 z"},defaultColors:["#54544c","#858e94","#6e767a","#948585","#474747"],defaultTheme:{chart:{stroke:null,fill:"white",pageStyle:null,titleGap:20,titlePos:"top",titleFont:"normal normal bold 14pt Tahoma",titleFontColor:"#333"},plotarea:{stroke:null,fill:"white"},axis:{stroke:{color:"#333",width:1},tick:{color:"#666",position:"center",font:"normal normal normal 7pt Tahoma",fontColor:"#333",titleGap:15,titleFont:"normal normal normal 11pt Tahoma",titleFontColor:"#333",titleOrientation:"axis"},majorTick:{width:1,length:6},minorTick:{width:0.8,length:3},microTick:{width:0.5,length:1}},series:{stroke:{width:1.5,color:"#333"},outline:{width:0.1,color:"#ccc"},shadow:null,fill:"#ccc",font:"normal normal normal 8pt Tahoma",fontColor:"#000",labelWiring:{width:1,color:"#ccc"}},marker:{stroke:{width:1.5,color:"#333"},outline:{width:0.1,color:"#ccc"},shadow:null,fill:"#ccc",font:"normal normal normal 8pt Tahoma",fontColor:"#000"}},defineColors:function(_3fd){_3fd=_3fd||{};var c=[],n=_3fd.num||5;if(_3fd.colors){var l=_3fd.colors.length;for(var i=0;i<n;i++){c.push(_3fd.colors[i%l]);}return c;}if(_3fd.hue){var s=_3fd.saturation||100;var st=_3fd.low||30;var end=_3fd.high||90;var l=(end+st)/2;return dojox.color.Palette.generate(dojox.color.fromHsv(_3fd.hue,s,l),"monochromatic").colors;}if(_3fd.generator){return dojox.color.Palette.generate(_3fd.base,_3fd.generator).colors;}return c;},generateGradient:function(_3fe,_3ff,_400){var fill=dojo.delegate(_3fe);fill.colors=[{offset:0,color:_3ff},{offset:1,color:_400}];return fill;},generateHslColor:function(_401,_402){_401=new dojox.color.Color(_401);var hsl=_401.toHsl(),_403=dojox.color.fromHsl(hsl.h,hsl.s,_402);_403.a=_401.a;return _403;},generateHslGradient:function(_404,_405,_406,_407){_404=new dojox.color.Color(_404);var hsl=_404.toHsl(),_408=dojox.color.fromHsl(hsl.h,hsl.s,_406),_409=dojox.color.fromHsl(hsl.h,hsl.s,_407);_408.a=_409.a=_404.a;return dojox.charting.Theme.generateGradient(_405,_408,_409);}});}if(!dojo._hasResource["dojox.charting.Series"]){dojo._hasResource["dojox.charting.Series"]=true;dojo.provide("dojox.charting.Series");dojo.declare("dojox.charting.Series",dojox.charting.Element,{constructor:function(_40a,data,_40b){dojo.mixin(this,_40b);if(typeof this.plot!="string"){this.plot="default";}this.update(data);},clear:function(){this.dyn={};},update:function(data){if(dojo.isArray(data)){this.data=data;}else{this.source=data;this.data=this.source.data;if(this.source.setSeriesObject){this.source.setSeriesObject(this);}}this.dirty=true;this.clear();}});}if(!dojo._hasResource["dojox.charting.axis2d.common"]){dojo._hasResource["dojox.charting.axis2d.common"]=true;dojo.provide("dojox.charting.axis2d.common");(function(){var g=dojox.gfx;var _40c=function(s){s.marginLeft="0px";s.marginTop="0px";s.marginRight="0px";s.marginBottom="0px";s.paddingLeft="0px";s.paddingTop="0px";s.paddingRight="0px";s.paddingBottom="0px";s.borderLeftWidth="0px";s.borderTopWidth="0px";s.borderRightWidth="0px";s.borderBottomWidth="0px";};var _40d=function(n){if(n["getBoundingClientRect"]){var bcr=n.getBoundingClientRect();return bcr.width||(bcr.right-bcr.left);}else{return dojo.marginBox(n).w;}};dojo.mixin(dojox.charting.axis2d.common,{createText:{gfx:function(_40e,_40f,x,y,_410,text,font,_411){return _40f.createText({x:x,y:y,text:text,align:_410}).setFont(font).setFill(_411);},html:function(_412,_413,x,y,_414,text,font,_415,_416){var p=dojo.doc.createElement("div"),s=p.style,_417;_40c(s);s.font=font;p.innerHTML=String(text).replace(/\s/g,"&nbsp;");s.color=_415;s.position="absolute";s.left="-10000px";dojo.body().appendChild(p);var size=g.normalizedLength(g.splitFontString(font).size);if(!_416){_417=_40d(p);}dojo.body().removeChild(p);s.position="relative";if(_416){s.width=_416+"px";switch(_414){case "middle":s.textAlign="center";s.left=(x-_416/2)+"px";break;case "end":s.textAlign="right";s.left=(x-_416)+"px";break;default:s.left=x+"px";s.textAlign="left";break;}}else{switch(_414){case "middle":s.left=Math.floor(x-_417/2)+"px";break;case "end":s.left=Math.floor(x-_417)+"px";break;default:s.left=Math.floor(x)+"px";break;}}s.top=Math.floor(y-size)+"px";s.whiteSpace="nowrap";var wrap=dojo.doc.createElement("div"),w=wrap.style;_40c(w);w.width="0px";w.height="0px";wrap.appendChild(p);_412.node.insertBefore(wrap,_412.node.firstChild);return wrap;}}});})();}if(!dojo._hasResource["dojox.charting.Chart"]){dojo._hasResource["dojox.charting.Chart"]=true;dojo.provide("dojox.charting.Chart");(function(){var df=dojox.lang.functional,dc=dojox.charting,g=dojox.gfx,_418=df.lambda("item.clear()"),_419=df.lambda("item.purgeGroup()"),_41a=df.lambda("item.destroy()"),_41b=df.lambda("item.dirty = false"),_41c=df.lambda("item.dirty = true"),_41d=df.lambda("item.name");dojo.declare("dojox.charting.Chart",null,{constructor:function(node,_41e){if(!_41e){_41e={};}this.margins=_41e.margins?_41e.margins:{l:10,t:10,r:10,b:10};this.stroke=_41e.stroke;this.fill=_41e.fill;this.delayInMs=_41e.delayInMs||200;this.title=_41e.title;this.titleGap=_41e.titleGap;this.titlePos=_41e.titlePos;this.titleFont=_41e.titleFont;this.titleFontColor=_41e.titleFontColor;this.chartTitle=null;this.theme=null;this.axes={};this.stack=[];this.plots={};this.series=[];this.runs={};this.dirty=true;this.coords=null;this.node=dojo.byId(node);var box=dojo.marginBox(node);this.surface=g.createSurface(this.node,box.w||400,box.h||300);},destroy:function(){dojo.forEach(this.series,_41a);dojo.forEach(this.stack,_41a);df.forIn(this.axes,_41a);if(this.chartTitle&&this.chartTitle.tagName){dojo.destroy(this.chartTitle);}this.surface.destroy();},getCoords:function(){if(!this.coords){this.coords=dojo.coords(this.node,true);}return this.coords;},setTheme:function(_41f){this.theme=_41f.clone();this.dirty=true;return this;},addAxis:function(name,_420){var axis,_421=_420&&_420.type||"Default";if(typeof _421=="string"){if(!dc.axis2d||!dc.axis2d[_421]){throw Error("Can't find axis: "+_421+" - didn't you forget to dojo"+".require() it?");}axis=new dc.axis2d[_421](this,_420);}else{axis=new _421(this,_420);}axis.name=name;axis.dirty=true;if(name in this.axes){this.axes[name].destroy();}this.axes[name]=axis;this.dirty=true;return this;},getAxis:function(name){return this.axes[name];},removeAxis:function(name){if(name in this.axes){this.axes[name].destroy();delete this.axes[name];this.dirty=true;}return this;},addPlot:function(name,_422){var plot,_423=_422&&_422.type||"Default";if(typeof _423=="string"){if(!dc.plot2d||!dc.plot2d[_423]){throw Error("Can't find plot: "+_423+" - didn't you forget to dojo"+".require() it?");}plot=new dc.plot2d[_423](this,_422);}else{plot=new _423(this,_422);}plot.name=name;plot.dirty=true;if(name in this.plots){this.stack[this.plots[name]].destroy();this.stack[this.plots[name]]=plot;}else{this.plots[name]=this.stack.length;this.stack.push(plot);}this.dirty=true;return this;},removePlot:function(name){if(name in this.plots){var _424=this.plots[name];delete this.plots[name];this.stack[_424].destroy();this.stack.splice(_424,1);df.forIn(this.plots,function(idx,name,_425){if(idx>_424){_425[name]=idx-1;}});var ns=dojo.filter(this.series,function(run){return run.plot!=name;});if(ns.length<this.series.length){dojo.forEach(this.series,function(run){if(run.plot==name){run.destroy();}});this.runs={};dojo.forEach(ns,function(run,_426){this.runs[run.plot]=_426;},this);this.series=ns;}this.dirty=true;}return this;},getPlotOrder:function(){return df.map(this.stack,_41d);},setPlotOrder:function(_427){var _428={},_429=df.filter(_427,function(name){if(!(name in this.plots)||(name in _428)){return false;}_428[name]=1;return true;},this);if(_429.length<this.stack.length){df.forEach(this.stack,function(plot){var name=plot.name;if(!(name in _428)){_429.push(name);}});}var _42a=df.map(_429,function(name){return this.stack[this.plots[name]];},this);df.forEach(_42a,function(plot,i){this.plots[plot.name]=i;},this);this.stack=_42a;this.dirty=true;return this;},movePlotToFront:function(name){if(name in this.plots){var _42b=this.plots[name];if(_42b){var _42c=this.getPlotOrder();_42c.splice(_42b,1);_42c.unshift(name);return this.setPlotOrder(_42c);}}return this;},movePlotToBack:function(name){if(name in this.plots){var _42d=this.plots[name];if(_42d<this.stack.length-1){var _42e=this.getPlotOrder();_42e.splice(_42d,1);_42e.push(name);return this.setPlotOrder(_42e);}}return this;},addSeries:function(name,data,_42f){var run=new dc.Series(this,data,_42f);run.name=name;if(name in this.runs){this.series[this.runs[name]].destroy();this.series[this.runs[name]]=run;}else{this.runs[name]=this.series.length;this.series.push(run);}this.dirty=true;if(!("ymin" in run)&&"min" in run){run.ymin=run.min;}if(!("ymax" in run)&&"max" in run){run.ymax=run.max;}return this;},removeSeries:function(name){if(name in this.runs){var _430=this.runs[name];delete this.runs[name];this.series[_430].destroy();this.series.splice(_430,1);df.forIn(this.runs,function(idx,name,runs){if(idx>_430){runs[name]=idx-1;}});this.dirty=true;}return this;},updateSeries:function(name,data){if(name in this.runs){var run=this.series[this.runs[name]];run.update(data);this._invalidateDependentPlots(run.plot,false);this._invalidateDependentPlots(run.plot,true);}return this;},getSeriesOrder:function(_431){return df.map(df.filter(this.series,function(run){return run.plot==_431;}),_41d);},setSeriesOrder:function(_432){var _433,_434={},_435=df.filter(_432,function(name){if(!(name in this.runs)||(name in _434)){return false;}var run=this.series[this.runs[name]];if(_433){if(run.plot!=_433){return false;}}else{_433=run.plot;}_434[name]=1;return true;},this);df.forEach(this.series,function(run){var name=run.name;if(!(name in _434)&&run.plot==_433){_435.push(name);}});var _436=df.map(_435,function(name){return this.series[this.runs[name]];},this);this.series=_436.concat(df.filter(this.series,function(run){return run.plot!=_433;}));df.forEach(this.series,function(run,i){this.runs[run.name]=i;},this);this.dirty=true;return this;},moveSeriesToFront:function(name){if(name in this.runs){var _437=this.runs[name],_438=this.getSeriesOrder(this.series[_437].plot);if(name!=_438[0]){_438.splice(_437,1);_438.unshift(name);return this.setSeriesOrder(_438);}}return this;},moveSeriesToBack:function(name){if(name in this.runs){var _439=this.runs[name],_43a=this.getSeriesOrder(this.series[_439].plot);if(name!=_43a[_43a.length-1]){_43a.splice(_439,1);_43a.push(name);return this.setSeriesOrder(_43a);}}return this;},resize:function(_43b,_43c){var box;switch(arguments.length){case 1:box=dojo.mixin({},_43b);dojo.marginBox(this.node,box);break;case 2:box={w:_43b,h:_43c};dojo.marginBox(this.node,box);break;}box=dojo.marginBox(this.node);this.surface.setDimensions(box.w,box.h);this.dirty=true;this.coords=null;return this.render();},getGeometry:function(){var ret={};df.forIn(this.axes,function(axis){if(axis.initialized()){ret[axis.name]={name:axis.name,vertical:axis.vertical,scaler:axis.scaler,ticks:axis.ticks};}});return ret;},setAxisWindow:function(name,_43d,_43e,zoom){var axis=this.axes[name];if(axis){axis.setWindow(_43d,_43e);dojo.forEach(this.stack,function(plot){if(plot.hAxis==name||plot.vAxis==name){plot.zoom=zoom;}});}return this;},setWindow:function(sx,sy,dx,dy,zoom){if(!("plotArea" in this)){this.calculateGeometry();}df.forIn(this.axes,function(axis){var _43f,_440,_441=axis.getScaler().bounds,s=_441.span/(_441.upper-_441.lower);if(axis.vertical){_43f=sy;_440=dy/s/_43f;}else{_43f=sx;_440=dx/s/_43f;}axis.setWindow(_43f,_440);});dojo.forEach(this.stack,function(plot){plot.zoom=zoom;});return this;},zoomIn:function(name,_442){var axis=this.axes[name];if(axis){var _443,_444,_445=axis.getScaler().bounds;var _446=Math.min(_442[0],_442[1]);var _447=Math.max(_442[0],_442[1]);_446=_442[0]<_445.lower?_445.lower:_446;_447=_442[1]>_445.upper?_445.upper:_447;_443=(_445.upper-_445.lower)/(_447-_446);_444=_446-_445.lower;this.setAxisWindow(name,_443,_444);this.render();}},calculateGeometry:function(){if(this.dirty){return this.fullGeometry();}var _448=dojo.filter(this.stack,function(plot){return plot.dirty||(plot.hAxis&&this.axes[plot.hAxis].dirty)||(plot.vAxis&&this.axes[plot.vAxis].dirty);},this);_449(_448,this.plotArea);return this;},fullGeometry:function(){this._makeDirty();dojo.forEach(this.stack,_418);if(!this.theme){this.setTheme(new dojox.charting.Theme(dojox.charting._def));}dojo.forEach(this.series,function(run){if(!(run.plot in this.plots)){if(!dc.plot2d||!dc.plot2d.Default){throw Error("Can't find plot: Default - didn't you forget to dojo"+".require() it?");}var plot=new dc.plot2d.Default(this,{});plot.name=run.plot;this.plots[run.plot]=this.stack.length;this.stack.push(plot);}this.stack[this.plots[run.plot]].addSeries(run);},this);dojo.forEach(this.stack,function(plot){if(plot.hAxis){plot.setAxis(this.axes[plot.hAxis]);}if(plot.vAxis){plot.setAxis(this.axes[plot.vAxis]);}},this);var dim=this.dim=this.surface.getDimensions();dim.width=g.normalizedLength(dim.width);dim.height=g.normalizedLength(dim.height);df.forIn(this.axes,_418);_449(this.stack,dim);var _44a=this.offsets={l:0,r:0,t:0,b:0};df.forIn(this.axes,function(axis){df.forIn(axis.getOffsets(),function(o,i){_44a[i]+=o;});});if(this.title){this.titleGap=(this.titleGap==0)?0:this.titleGap||this.theme.chart.titleGap||20;this.titlePos=this.titlePos||this.theme.chart.titlePos||"top";this.titleFont=this.titleFont||this.theme.chart.titleFont;this.titleFontColor=this.titleFontColor||this.theme.chart.titleFontColor||"black";var _44b=g.normalizedLength(g.splitFontString(this.titleFont).size);_44a[this.titlePos=="top"?"t":"b"]+=(_44b+this.titleGap);}df.forIn(this.margins,function(o,i){_44a[i]+=o;});this.plotArea={width:dim.width-_44a.l-_44a.r,height:dim.height-_44a.t-_44a.b};df.forIn(this.axes,_418);_449(this.stack,this.plotArea);return this;},render:function(){if(this.theme){this.theme.clear();}if(this.dirty){return this.fullRender();}this.calculateGeometry();df.forEachRev(this.stack,function(plot){plot.render(this.dim,this.offsets);},this);df.forIn(this.axes,function(axis){axis.render(this.dim,this.offsets);},this);this._makeClean();if(this.surface.render){this.surface.render();}return this;},fullRender:function(){this.fullGeometry();var _44c=this.offsets,dim=this.dim,rect;dojo.forEach(this.series,_419);df.forIn(this.axes,_419);dojo.forEach(this.stack,_419);if(this.chartTitle&&this.chartTitle.tagName){dojo.destroy(this.chartTitle);}this.surface.clear();this.chartTitle=null;var t=this.theme,fill=t.plotarea&&t.plotarea.fill,_44d=t.plotarea&&t.plotarea.stroke,rect={x:_44c.l-1,y:_44c.t-1,width:dim.width-_44c.l-_44c.r+2,height:dim.height-_44c.t-_44c.b+2};if(fill){fill=dc.Element.prototype._shapeFill(dc.Element.prototype._plotFill(fill,dim,_44c),rect);this.surface.createRect(rect).setFill(fill);}if(_44d){this.surface.createRect({x:_44c.l,y:_44c.t,width:dim.width-_44c.l-_44c.r+1,height:dim.height-_44c.t-_44c.b+1}).setStroke(_44d);}df.foldr(this.stack,function(z,plot){return plot.render(dim,_44c),0;},0);fill=this.fill!==undefined?this.fill:(t.chart&&t.chart.fill);_44d=this.stroke!==undefined?this.stroke:(t.chart&&t.chart.stroke);if(fill=="inherit"){var node=this.node,fill=new dojo.Color(dojo.style(node,"backgroundColor"));while(fill.a==0&&node!=document.documentElement){fill=new dojo.Color(dojo.style(node,"backgroundColor"));node=node.parentNode;}}if(fill){fill=dc.Element.prototype._plotFill(fill,dim,_44c);if(_44c.l){rect={width:_44c.l,height:dim.height+1};this.surface.createRect(rect).setFill(dc.Element.prototype._shapeFill(fill,rect));}if(_44c.r){rect={x:dim.width-_44c.r,width:_44c.r+1,height:dim.height+2};this.surface.createRect(rect).setFill(dc.Element.prototype._shapeFill(fill,rect));}if(_44c.t){rect={width:dim.width+1,height:_44c.t};this.surface.createRect(rect).setFill(dc.Element.prototype._shapeFill(fill,rect));}if(_44c.b){rect={y:dim.height-_44c.b,width:dim.width+1,height:_44c.b+2};this.surface.createRect(rect).setFill(dc.Element.prototype._shapeFill(fill,rect));}}if(_44d){this.surface.createRect({width:dim.width-1,height:dim.height-1}).setStroke(_44d);}if(this.title){var _44e=(g.renderer=="canvas"),_44f=_44e||!dojo.isIE&&!dojo.isOpera?"html":"gfx",_450=g.normalizedLength(g.splitFontString(this.titleFont).size);this.chartTitle=dc.axis2d.common.createText[_44f](this,this.surface,dim.width/2,this.titlePos=="top"?_450+this.margins.t:dim.height-this.margins.b,"middle",this.title,this.titleFont,this.titleFontColor);}df.forIn(this.axes,function(axis){axis.render(dim,_44c);});this._makeClean();if(this.surface.render){this.surface.render();}return this;},delayedRender:function(){if(!this._delayedRenderHandle){this._delayedRenderHandle=setTimeout(dojo.hitch(this,function(){clearTimeout(this._delayedRenderHandle);this._delayedRenderHandle=null;this.render();}),this.delayInMs);}return this;},connectToPlot:function(name,_451,_452){return name in this.plots?this.stack[this.plots[name]].connect(_451,_452):null;},fireEvent:function(_453,_454,_455){if(_453 in this.runs){var _456=this.series[this.runs[_453]].plot;if(_456 in this.plots){var plot=this.stack[this.plots[_456]];if(plot){plot.fireEvent(_453,_454,_455);}}}return this;},_makeClean:function(){dojo.forEach(this.axes,_41b);dojo.forEach(this.stack,_41b);dojo.forEach(this.series,_41b);this.dirty=false;},_makeDirty:function(){dojo.forEach(this.axes,_41c);dojo.forEach(this.stack,_41c);dojo.forEach(this.series,_41c);this.dirty=true;},_invalidateDependentPlots:function(_457,_458){if(_457 in this.plots){var plot=this.stack[this.plots[_457]],axis,_459=_458?"vAxis":"hAxis";if(plot[_459]){axis=this.axes[plot[_459]];if(axis&&axis.dependOnData()){axis.dirty=true;dojo.forEach(this.stack,function(p){if(p[_459]&&p[_459]==plot[_459]){p.dirty=true;}});}}else{plot.dirty=true;}}}});function _45a(_45b){return {min:_45b.hmin,max:_45b.hmax};};function _45c(_45d){return {min:_45d.vmin,max:_45d.vmax};};function _45e(_45f,h){_45f.hmin=h.min;_45f.hmax=h.max;};function _460(_461,v){_461.vmin=v.min;_461.vmax=v.max;};function _462(_463,_464){if(_463&&_464){_463.min=Math.min(_463.min,_464.min);_463.max=Math.max(_463.max,_464.max);}return _463||_464;};function _449(_465,_466){var _467={},axes={};dojo.forEach(_465,function(plot){var _468=_467[plot.name]=plot.getSeriesStats();if(plot.hAxis){axes[plot.hAxis]=_462(axes[plot.hAxis],_45a(_468));}if(plot.vAxis){axes[plot.vAxis]=_462(axes[plot.vAxis],_45c(_468));}});dojo.forEach(_465,function(plot){var _469=_467[plot.name];if(plot.hAxis){_45e(_469,axes[plot.hAxis]);}if(plot.vAxis){_460(_469,axes[plot.vAxis]);}plot.initializeScalers(_466,_469);});};})();}if(!dojo._hasResource["dojox.charting.widget.Chart"]){dojo._hasResource["dojox.charting.widget.Chart"]=true;dojo.provide("dojox.charting.widget.Chart");(function(){var _46a,_46b,_46c,_46d,_46e,_46f=function(o){return o;},df=dojox.lang.functional,du=dojox.lang.utils,dc=dojox.charting,d=dojo;dojo.declare("dojox.charting.widget.Chart",dijit._Widget,{theme:null,margins:null,stroke:null,fill:null,buildRendering:function(){var n=this.domNode=this.srcNodeRef;var axes=d.query("> .axis",n).map(_46b).filter(_46f),_470=d.query("> .plot",n).map(_46c).filter(_46f),_471=d.query("> .action",n).map(_46d).filter(_46f),_472=d.query("> .series",n).map(_46e).filter(_46f);n.innerHTML="";var c=this.chart=new dc.Chart(n,{margins:this.margins,stroke:this.stroke,fill:this.fill});if(this.theme){c.setTheme(this.theme);}axes.forEach(function(axis){c.addAxis(axis.name,axis.kwArgs);});_470.forEach(function(plot){c.addPlot(plot.name,plot.kwArgs);});this.actions=_471.map(function(_473){return new _473.action(c,_473.plot,_473.kwArgs);});var _474=df.foldl(_472,function(_475,_476){if(_476.type=="data"){c.addSeries(_476.name,_476.data,_476.kwArgs);_475=true;}else{c.addSeries(_476.name,[0],_476.kwArgs);var kw={};du.updateWithPattern(kw,_476.kwArgs,{"query":"","queryOptions":null,"start":0,"count":1},true);if(_476.kwArgs.sort){kw.sort=dojo.clone(_476.kwArgs.sort);}d.mixin(kw,{onComplete:function(data){var _477;if("valueFn" in _476.kwArgs){var fn=_476.kwArgs.valueFn;_477=d.map(data,function(x){return fn(_476.data.getValue(x,_476.field,0));});}else{_477=d.map(data,function(x){return _476.data.getValue(x,_476.field,0);});}c.addSeries(_476.name,_477,_476.kwArgs).render();}});_476.data.fetch(kw);}return _475;},false);if(_474){c.render();}},destroy:function(){this.chart.destroy();this.inherited(arguments);},resize:function(box){this.chart.resize(box);}});_46a=function(node,type,kw){var dp=eval("("+type+".prototype.defaultParams)");var x,attr;for(x in dp){if(x in kw){continue;}attr=node.getAttribute(x);kw[x]=du.coerceType(dp[x],attr==null||typeof attr=="undefined"?dp[x]:attr);}var op=eval("("+type+".prototype.optionalParams)");for(x in op){if(x in kw){continue;}attr=node.getAttribute(x);if(attr!=null){kw[x]=du.coerceType(op[x],attr);}}};_46b=function(node){var name=node.getAttribute("name"),type=node.getAttribute("type");if(!name){return null;}var o={name:name,kwArgs:{}},kw=o.kwArgs;if(type){if(dc.axis2d[type]){type=dojox._scopeName+".charting.axis2d."+type;}var axis=eval("("+type+")");if(axis){kw.type=axis;}}else{type=dojox._scopeName+".charting.axis2d.Default";}_46a(node,type,kw);if(kw.font||kw.fontColor){if(!kw.tick){kw.tick={};}if(kw.font){kw.tick.font=kw.font;}if(kw.fontColor){kw.tick.fontColor=kw.fontColor;}}return o;};_46c=function(node){var name=node.getAttribute("name"),type=node.getAttribute("type");if(!name){return null;}var o={name:name,kwArgs:{}},kw=o.kwArgs;if(type){if(dc.plot2d&&dc.plot2d[type]){type=dojox._scopeName+".charting.plot2d."+type;}var plot=eval("("+type+")");if(plot){kw.type=plot;}}else{type=dojox._scopeName+".charting.plot2d.Default";}_46a(node,type,kw);return o;};_46d=function(node){var plot=node.getAttribute("plot"),type=node.getAttribute("type");if(!plot){plot="default";}var o={plot:plot,kwArgs:{}},kw=o.kwArgs;if(type){if(dc.action2d[type]){type=dojox._scopeName+".charting.action2d."+type;}var _478=eval("("+type+")");if(!_478){return null;}o.action=_478;}else{return null;}_46a(node,type,kw);return o;};_46e=function(node){var ga=d.partial(d.attr,node);var name=ga("name");if(!name){return null;}var o={name:name,kwArgs:{}},kw=o.kwArgs,t;t=ga("plot");if(t!=null){kw.plot=t;}t=ga("marker");if(t!=null){kw.marker=t;}t=ga("stroke");if(t!=null){kw.stroke=eval("("+t+")");}t=ga("outline");if(t!=null){kw.outline=eval("("+t+")");}t=ga("shadow");if(t!=null){kw.shadow=eval("("+t+")");}t=ga("fill");if(t!=null){kw.fill=eval("("+t+")");}t=ga("font");if(t!=null){kw.font=t;}t=ga("fontColor");if(t!=null){kw.fontColor=eval("("+t+")");}t=ga("legend");if(t!=null){kw.legend=t;}t=ga("data");if(t!=null){o.type="data";o.data=t?dojo.map(String(t).split(","),Number):[];return o;}t=ga("array");if(t!=null){o.type="data";o.data=eval("("+t+")");return o;}t=ga("store");if(t!=null){o.type="store";o.data=eval("("+t+")");t=ga("field");o.field=t!=null?t:"value";t=ga("query");if(!!t){kw.query=t;}t=ga("queryOptions");if(!!t){kw.queryOptions=eval("("+t+")");}t=ga("start");if(!!t){kw.start=Number(t);}t=ga("count");if(!!t){kw.count=Number(t);}t=ga("sort");if(!!t){kw.sort=eval("("+t+")");}t=ga("valueFn");if(!!t){kw.valueFn=df.lambda(t);}return o;}return null;};})();}if(!dojo._hasResource["dojo.fx.easing"]){dojo._hasResource["dojo.fx.easing"]=true;dojo.provide("dojo.fx.easing");dojo.getObject("fx.easing",true,dojo);dojo.fx.easing={linear:function(n){return n;},quadIn:function(n){return Math.pow(n,2);},quadOut:function(n){return n*(n-2)*-1;},quadInOut:function(n){n=n*2;if(n<1){return Math.pow(n,2)/2;}return -1*((--n)*(n-2)-1)/2;},cubicIn:function(n){return Math.pow(n,3);},cubicOut:function(n){return Math.pow(n-1,3)+1;},cubicInOut:function(n){n=n*2;if(n<1){return Math.pow(n,3)/2;}n-=2;return (Math.pow(n,3)+2)/2;},quartIn:function(n){return Math.pow(n,4);},quartOut:function(n){return -1*(Math.pow(n-1,4)-1);},quartInOut:function(n){n=n*2;if(n<1){return Math.pow(n,4)/2;}n-=2;return -1/2*(Math.pow(n,4)-2);},quintIn:function(n){return Math.pow(n,5);},quintOut:function(n){return Math.pow(n-1,5)+1;},quintInOut:function(n){n=n*2;if(n<1){return Math.pow(n,5)/2;}n-=2;return (Math.pow(n,5)+2)/2;},sineIn:function(n){return -1*Math.cos(n*(Math.PI/2))+1;},sineOut:function(n){return Math.sin(n*(Math.PI/2));},sineInOut:function(n){return -1*(Math.cos(Math.PI*n)-1)/2;},expoIn:function(n){return (n==0)?0:Math.pow(2,10*(n-1));},expoOut:function(n){return (n==1)?1:(-1*Math.pow(2,-10*n)+1);},expoInOut:function(n){if(n==0){return 0;}if(n==1){return 1;}n=n*2;if(n<1){return Math.pow(2,10*(n-1))/2;}--n;return (-1*Math.pow(2,-10*n)+2)/2;},circIn:function(n){return -1*(Math.sqrt(1-Math.pow(n,2))-1);},circOut:function(n){n=n-1;return Math.sqrt(1-Math.pow(n,2));},circInOut:function(n){n=n*2;if(n<1){return -1/2*(Math.sqrt(1-Math.pow(n,2))-1);}n-=2;return 1/2*(Math.sqrt(1-Math.pow(n,2))+1);},backIn:function(n){var s=1.70158;return Math.pow(n,2)*((s+1)*n-s);},backOut:function(n){n=n-1;var s=1.70158;return Math.pow(n,2)*((s+1)*n+s)+1;},backInOut:function(n){var s=1.70158*1.525;n=n*2;if(n<1){return (Math.pow(n,2)*((s+1)*n-s))/2;}n-=2;return (Math.pow(n,2)*((s+1)*n+s)+2)/2;},elasticIn:function(n){if(n==0||n==1){return n;}var p=0.3;var s=p/4;n=n-1;return -1*Math.pow(2,10*n)*Math.sin((n-s)*(2*Math.PI)/p);},elasticOut:function(n){if(n==0||n==1){return n;}var p=0.3;var s=p/4;return Math.pow(2,-10*n)*Math.sin((n-s)*(2*Math.PI)/p)+1;},elasticInOut:function(n){if(n==0){return 0;}n=n*2;if(n==2){return 1;}var p=0.3*1.5;var s=p/4;if(n<1){n-=1;return -0.5*(Math.pow(2,10*n)*Math.sin((n-s)*(2*Math.PI)/p));}n-=1;return 0.5*(Math.pow(2,-10*n)*Math.sin((n-s)*(2*Math.PI)/p))+1;},bounceIn:function(n){return (1-dojo.fx.easing.bounceOut(1-n));},bounceOut:function(n){var s=7.5625;var p=2.75;var l;if(n<(1/p)){l=s*Math.pow(n,2);}else{if(n<(2/p)){n-=(1.5/p);l=s*Math.pow(n,2)+0.75;}else{if(n<(2.5/p)){n-=(2.25/p);l=s*Math.pow(n,2)+0.9375;}else{n-=(2.625/p);l=s*Math.pow(n,2)+0.984375;}}}return l;},bounceInOut:function(n){if(n<0.5){return dojo.fx.easing.bounceIn(n*2)/2;}return (dojo.fx.easing.bounceOut(n*2-1)/2)+0.5;}};}if(!dojo._hasResource["dojox.gfx.fx"]){dojo._hasResource["dojox.gfx.fx"]=true;dojo.provide("dojox.gfx.fx");(function(){var d=dojo,g=dojox.gfx,m=g.matrix;function _479(_47a,end){this.start=_47a,this.end=end;};_479.prototype.getValue=function(r){return (this.end-this.start)*r+this.start;};function _47b(_47c,end,_47d){this.start=_47c,this.end=end;this.units=_47d;};_47b.prototype.getValue=function(r){return (this.end-this.start)*r+this.start+this.units;};function _47e(_47f,end){this.start=_47f,this.end=end;this.temp=new dojo.Color();};_47e.prototype.getValue=function(r){return d.blendColors(this.start,this.end,r,this.temp);};function _480(_481){this.values=_481;this.length=_481.length;};_480.prototype.getValue=function(r){return this.values[Math.min(Math.floor(r*this.length),this.length-1)];};function _482(_483,def){this.values=_483;this.def=def?def:{};};_482.prototype.getValue=function(r){var ret=dojo.clone(this.def);for(var i in this.values){ret[i]=this.values[i].getValue(r);}return ret;};function _484(_485,_486){this.stack=_485;this.original=_486;};_484.prototype.getValue=function(r){var ret=[];dojo.forEach(this.stack,function(t){if(t instanceof m.Matrix2D){ret.push(t);return;}if(t.name=="original"&&this.original){ret.push(this.original);return;}if(!(t.name in m)){return;}var f=m[t.name];if(typeof f!="function"){ret.push(f);return;}var val=dojo.map(t.start,function(v,i){return (t.end[i]-v)*r+v;}),_487=f.apply(m,val);if(_487 instanceof m.Matrix2D){ret.push(_487);}},this);return ret;};var _488=new d.Color(0,0,0,0);function _489(prop,obj,name,def){if(prop.values){return new _480(prop.values);}var _48a,_48b,end;if(prop.start){_48b=g.normalizeColor(prop.start);}else{_48b=_48a=obj?(name?obj[name]:obj):def;}if(prop.end){end=g.normalizeColor(prop.end);}else{if(!_48a){_48a=obj?(name?obj[name]:obj):def;}end=_48a;}return new _47e(_48b,end);};function _48c(prop,obj,name,def){if(prop.values){return new _480(prop.values);}var _48d,_48e,end;if(prop.start){_48e=prop.start;}else{_48e=_48d=obj?obj[name]:def;}if(prop.end){end=prop.end;}else{if(typeof _48d!="number"){_48d=obj?obj[name]:def;}end=_48d;}return new _479(_48e,end);};g.fx.animateStroke=function(args){if(!args.easing){args.easing=d._defaultEasing;}var anim=new d.Animation(args),_48f=args.shape,_490;d.connect(anim,"beforeBegin",anim,function(){_490=_48f.getStroke();var prop=args.color,_491={},_492,_493,end;if(prop){_491.color=_489(prop,_490,"color",_488);}prop=args.style;if(prop&&prop.values){_491.style=new _480(prop.values);}prop=args.width;if(prop){_491.width=_48c(prop,_490,"width",1);}prop=args.cap;if(prop&&prop.values){_491.cap=new _480(prop.values);}prop=args.join;if(prop){if(prop.values){_491.join=new _480(prop.values);}else{_493=prop.start?prop.start:(_490&&_490.join||0);end=prop.end?prop.end:(_490&&_490.join||0);if(typeof _493=="number"&&typeof end=="number"){_491.join=new _479(_493,end);}}}this.curve=new _482(_491,_490);});d.connect(anim,"onAnimate",_48f,"setStroke");return anim;};g.fx.animateFill=function(args){if(!args.easing){args.easing=d._defaultEasing;}var anim=new d.Animation(args),_494=args.shape,fill;d.connect(anim,"beforeBegin",anim,function(){fill=_494.getFill();var prop=args.color,_495={};if(prop){this.curve=_489(prop,fill,"",_488);}});d.connect(anim,"onAnimate",_494,"setFill");return anim;};g.fx.animateFont=function(args){if(!args.easing){args.easing=d._defaultEasing;}var anim=new d.Animation(args),_496=args.shape,font;d.connect(anim,"beforeBegin",anim,function(){font=_496.getFont();var prop=args.style,_497={},_498,_499,end;if(prop&&prop.values){_497.style=new _480(prop.values);}prop=args.variant;if(prop&&prop.values){_497.variant=new _480(prop.values);}prop=args.weight;if(prop&&prop.values){_497.weight=new _480(prop.values);}prop=args.family;if(prop&&prop.values){_497.family=new _480(prop.values);}prop=args.size;if(prop&&prop.units){_499=parseFloat(prop.start?prop.start:(_496.font&&_496.font.size||"0"));end=parseFloat(prop.end?prop.end:(_496.font&&_496.font.size||"0"));_497.size=new _47b(_499,end,prop.units);}this.curve=new _482(_497,font);});d.connect(anim,"onAnimate",_496,"setFont");return anim;};g.fx.animateTransform=function(args){if(!args.easing){args.easing=d._defaultEasing;}var anim=new d.Animation(args),_49a=args.shape,_49b;d.connect(anim,"beforeBegin",anim,function(){_49b=_49a.getTransform();this.curve=new _484(args.transform,_49b);});d.connect(anim,"onAnimate",_49a,"setTransform");return anim;};})();}if(!dojo._hasResource["dojox.charting.action2d.Base"]){dojo._hasResource["dojox.charting.action2d.Base"]=true;dojo.provide("dojox.charting.action2d.Base");(function(){var _49c=400,_49d=dojo.fx.easing.backOut,df=dojox.lang.functional;dojo.declare("dojox.charting.action2d.Base",null,{overOutEvents:{onmouseover:1,onmouseout:1},constructor:function(_49e,plot,_49f){this.chart=_49e;this.plot=plot||"default";this.anim={};if(!_49f){_49f={};}this.duration=_49f.duration?_49f.duration:_49c;this.easing=_49f.easing?_49f.easing:_49d;},connect:function(){this.handle=this.chart.connectToPlot(this.plot,this,"process");},disconnect:function(){if(this.handle){dojo.disconnect(this.handle);this.handle=null;}},reset:function(){},destroy:function(){this.disconnect();df.forIn(this.anim,function(o){df.forIn(o,function(anim){anim.action.stop(true);});});this.anim={};}});})();}if(!dojo._hasResource["dojox.charting.action2d.Highlight"]){dojo._hasResource["dojox.charting.action2d.Highlight"]=true;dojo.provide("dojox.charting.action2d.Highlight");(function(){var _4a0=100,_4a1=75,_4a2=50,c=dojox.color,cc=function(_4a3){return function(){return _4a3;};},hl=function(_4a4){var a=new c.Color(_4a4),x=a.toHsl();if(x.s==0){x.l=x.l<50?100:0;}else{x.s=_4a0;if(x.l<_4a2){x.l=_4a1;}else{if(x.l>_4a1){x.l=_4a2;}else{x.l=x.l-_4a2>_4a1-x.l?_4a2:_4a1;}}}return c.fromHsl(x);};dojo.declare("dojox.charting.action2d.Highlight",dojox.charting.action2d.Base,{defaultParams:{duration:400,easing:dojo.fx.easing.backOut},optionalParams:{highlight:"red"},constructor:function(_4a5,plot,_4a6){var a=_4a6&&_4a6.highlight;this.colorFun=a?(dojo.isFunction(a)?a:cc(a)):hl;this.connect();},process:function(o){if(!o.shape||!(o.type in this.overOutEvents)){return;}var _4a7=o.run.name,_4a8=o.index,anim,_4a9,_4aa;if(_4a7 in this.anim){anim=this.anim[_4a7][_4a8];}else{this.anim[_4a7]={};}if(anim){anim.action.stop(true);}else{var _4ab=o.shape.getFill();if(!_4ab||!(_4ab instanceof dojo.Color)){return;}this.anim[_4a7][_4a8]=anim={start:_4ab,end:this.colorFun(_4ab)};}var _4ac=anim.start,end=anim.end;if(o.type=="onmouseout"){var t=_4ac;_4ac=end;end=t;}anim.action=dojox.gfx.fx.animateFill({shape:o.shape,duration:this.duration,easing:this.easing,color:{start:_4ac,end:end}});if(o.type=="onmouseout"){dojo.connect(anim.action,"onEnd",this,function(){if(this.anim[_4a7]){delete this.anim[_4a7][_4a8];}});}anim.action.play();}});})();}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 _4ad=this;dojo.mixin(_4ad,args);_4ad.node=args.node;_4ad._showArgs=dojo.mixin({},args);_4ad._showArgs.node=_4ad.node;_4ad._showArgs.duration=_4ad.showDuration;_4ad.showAnim=_4ad.showFunc(_4ad._showArgs);_4ad._hideArgs=dojo.mixin({},args);_4ad._hideArgs.node=_4ad.node;_4ad._hideArgs.duration=_4ad.hideDuration;_4ad.hideAnim=_4ad.hideFunc(_4ad._hideArgs);dojo.connect(_4ad.showAnim,"beforeBegin",dojo.hitch(_4ad.hideAnim,"stop",true));dojo.connect(_4ad.hideAnim,"beforeBegin",dojo.hitch(_4ad.showAnim,"stop",true));},show:function(_4ae){return this.showAnim.play(_4ae||0);},hide:function(_4af){return this.hideAnim.play(_4af||0);}});}if(!dojo._hasResource["dojo.fx"]){dojo._hasResource["dojo.fx"]=true;dojo.provide("dojo.fx");(function(){var d=dojo,_4b0={_fire:function(evt,args){if(this[evt]){this[evt].apply(this,args||[]);}return this;}};var _4b1=function(_4b2){this._index=-1;this._animations=_4b2||[];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(_4b1,{_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(_4b3,_4b4){if(!this._current){this._current=this._animations[this._index=0];}if(!_4b4&&this._current.status()=="playing"){return this;}var _4b5=d.connect(this._current,"beforeBegin",this,function(){this._fire("beforeBegin");}),_4b6=d.connect(this._current,"onBegin",this,function(arg){this._fire("onBegin",arguments);}),_4b7=d.connect(this._current,"onPlay",this,function(arg){this._fire("onPlay",arguments);d.disconnect(_4b5);d.disconnect(_4b6);d.disconnect(_4b7);});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(_4b8,_4b9){this.pause();var _4ba=this.duration*_4b8;this._current=null;d.some(this._animations,function(a){if(a.duration<=_4ba){this._current=a;return true;}_4ba-=a.duration;return false;});if(this._current){this._current.gotoPercent(_4ba/this._current.duration,_4b9);}return this;},stop:function(_4bb){if(this._current){if(_4bb){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(_4b1,_4b0);dojo.fx.chain=function(_4bc){return new _4b1(_4bc);};var _4bd=function(_4be){this._animations=_4be||[];this._connects=[];this._finished=0;this.duration=0;d.forEach(_4be,function(a){var _4bf=a.duration;if(a.delay){_4bf+=a.delay;}if(this.duration<_4bf){this.duration=_4bf;}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(_4bd,{_doAction:function(_4c0,args){d.forEach(this._animations,function(a){a[_4c0].apply(a,args);});return this;},_onEnd:function(){if(++this._finished>this._animations.length){this._fire("onEnd");}},_call:function(_4c1,args){var t=this._pseudoAnimation;t[_4c1].apply(t,args);},play:function(_4c2,_4c3){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(_4c4,_4c5){var ms=this.duration*_4c4;d.forEach(this._animations,function(a){a.gotoPercent(a.duration<ms?1:(ms/a.duration),_4c5);});this._call("gotoPercent",arguments);return this;},stop:function(_4c6){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(_4bd,_4b0);dojo.fx.combine=function(_4c7){return new _4bd(_4c7);};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 _4c8=d.style(node,"height");return Math.max(_4c8,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["dojox.charting.action2d.Magnify"]){dojo._hasResource["dojox.charting.action2d.Magnify"]=true;dojo.provide("dojox.charting.action2d.Magnify");(function(){var _4c9=2,m=dojox.gfx.matrix,gf=dojox.gfx.fx;dojo.declare("dojox.charting.action2d.Magnify",dojox.charting.action2d.Base,{defaultParams:{duration:400,easing:dojo.fx.easing.backOut,scale:_4c9},optionalParams:{},constructor:function(_4ca,plot,_4cb){this.scale=_4cb&&typeof _4cb.scale=="number"?_4cb.scale:_4c9;this.connect();},process:function(o){if(!o.shape||!(o.type in this.overOutEvents)||!("cx" in o)||!("cy" in o)){return;}var _4cc=o.run.name,_4cd=o.index,_4ce=[],anim,init,_4cf;if(_4cc in this.anim){anim=this.anim[_4cc][_4cd];}else{this.anim[_4cc]={};}if(anim){anim.action.stop(true);}else{this.anim[_4cc][_4cd]=anim={};}if(o.type=="onmouseover"){init=m.identity;_4cf=this.scale;}else{init=m.scaleAt(this.scale,o.cx,o.cy);_4cf=1/this.scale;}var _4d0={shape:o.shape,duration:this.duration,easing:this.easing,transform:[{name:"scaleAt",start:[1,o.cx,o.cy],end:[_4cf,o.cx,o.cy]},init]};if(o.shape){_4ce.push(gf.animateTransform(_4d0));}if(o.oultine){_4d0.shape=o.outline;_4ce.push(gf.animateTransform(_4d0));}if(o.shadow){_4d0.shape=o.shadow;_4ce.push(gf.animateTransform(_4d0));}if(!_4ce.length){delete this.anim[_4cc][_4cd];return;}anim.action=dojo.fx.combine(_4ce);if(o.type=="onmouseout"){dojo.connect(anim.action,"onEnd",this,function(){if(this.anim[_4cc]){delete this.anim[_4cc][_4cd];}});}anim.action.play();}});})();}if(!dojo._hasResource["dojox.lang.functional.scan"]){dojo._hasResource["dojox.lang.functional.scan"]=true;dojo.provide("dojox.lang.functional.scan");(function(){var d=dojo,df=dojox.lang.functional,_4d1={};d.mixin(df,{scanl:function(a,f,z,o){if(typeof a=="string"){a=a.split("");}o=o||d.global;f=df.lambda(f);var t,n,i;if(d.isArray(a)){t=new Array((n=a.length)+1);t[0]=z;for(i=0;i<n;z=f.call(o,z,a[i],i,a),t[++i]=z){}}else{if(typeof a.hasNext=="function"&&typeof a.next=="function"){t=[z];for(i=0;a.hasNext();t.push(z=f.call(o,z,a.next(),i++,a))){}}else{t=[z];for(i in a){if(!(i in _4d1)){t.push(z=f.call(o,z,a[i],i,a));}}}}return t;},scanl1:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||d.global;f=df.lambda(f);var t,n,z,_4d2=true;if(d.isArray(a)){t=new Array(n=a.length);t[0]=z=a[0];for(var i=1;i<n;t[i]=z=f.call(o,z,a[i],i,a),++i){}}else{if(typeof a.hasNext=="function"&&typeof a.next=="function"){if(a.hasNext()){t=[z=a.next()];for(var i=1;a.hasNext();t.push(z=f.call(o,z,a.next(),i++,a))){}}}else{for(var i in a){if(!(i in _4d1)){if(_4d2){t=[z=a[i]];_4d2=false;}else{t.push(z=f.call(o,z,a[i],i,a));}}}}}return t;},scanr:function(a,f,z,o){if(typeof a=="string"){a=a.split("");}o=o||d.global;f=df.lambda(f);var n=a.length,t=new Array(n+1),i=n;t[n]=z;for(;i>0;--i,z=f.call(o,z,a[i],i,a),t[i]=z){}return t;},scanr1:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||d.global;f=df.lambda(f);var n=a.length,t=new Array(n),z=a[n-1],i=n-1;t[i]=z;for(;i>0;--i,z=f.call(o,z,a[i],i,a),t[i]=z){}return t;}});})();}if(!dojo._hasResource["dojox.charting.action2d.MoveSlice"]){dojo._hasResource["dojox.charting.action2d.MoveSlice"]=true;dojo.provide("dojox.charting.action2d.MoveSlice");(function(){var _4d3=1.05,_4d4=7,m=dojox.gfx.matrix,gf=dojox.gfx.fx,df=dojox.lang.functional;dojo.declare("dojox.charting.action2d.MoveSlice",dojox.charting.action2d.Base,{defaultParams:{duration:400,easing:dojo.fx.easing.backOut,scale:_4d3,shift:_4d4},optionalParams:{},constructor:function(_4d5,plot,_4d6){if(!_4d6){_4d6={};}this.scale=typeof _4d6.scale=="number"?_4d6.scale:_4d3;this.shift=typeof _4d6.shift=="number"?_4d6.shift:_4d4;this.connect();},process:function(o){if(!o.shape||o.element!="slice"||!(o.type in this.overOutEvents)){return;}if(!this.angles){var _4d7=m._degToRad(o.plot.opt.startAngle);if(typeof o.run.data[0]=="number"){this.angles=df.map(df.scanl(o.run.data,"+",_4d7),"* 2 * Math.PI / this",df.foldl(o.run.data,"+",0));}else{this.angles=df.map(df.scanl(o.run.data,"a + b.y",_4d7),"* 2 * Math.PI / this",df.foldl(o.run.data,"a + b.y",0));}}var _4d8=o.index,anim,_4d9,_4da,_4db,_4dc,_4dd=(this.angles[_4d8]+this.angles[_4d8+1])/2,_4de=m.rotateAt(-_4dd,o.cx,o.cy),_4df=m.rotateAt(_4dd,o.cx,o.cy);anim=this.anim[_4d8];if(anim){anim.action.stop(true);}else{this.anim[_4d8]=anim={};}if(o.type=="onmouseover"){_4db=0;_4dc=this.shift;_4d9=1;_4da=this.scale;}else{_4db=this.shift;_4dc=0;_4d9=this.scale;_4da=1;}anim.action=dojox.gfx.fx.animateTransform({shape:o.shape,duration:this.duration,easing:this.easing,transform:[_4df,{name:"translate",start:[_4db,0],end:[_4dc,0]},{name:"scaleAt",start:[_4d9,o.cx,o.cy],end:[_4da,o.cx,o.cy]},_4de]});if(o.type=="onmouseout"){dojo.connect(anim.action,"onEnd",this,function(){delete this.anim[_4d8];});}anim.action.play();},reset:function(){delete this.angles;}});})();}if(!dojo._hasResource["dojox.charting.action2d.Shake"]){dojo._hasResource["dojox.charting.action2d.Shake"]=true;dojo.provide("dojox.charting.action2d.Shake");(function(){var _4e0=3,m=dojox.gfx.matrix,gf=dojox.gfx.fx;dojo.declare("dojox.charting.action2d.Shake",dojox.charting.action2d.Base,{defaultParams:{duration:400,easing:dojo.fx.easing.backOut,shiftX:_4e0,shiftY:_4e0},optionalParams:{},constructor:function(_4e1,plot,_4e2){if(!_4e2){_4e2={};}this.shiftX=typeof _4e2.shiftX=="number"?_4e2.shiftX:_4e0;this.shiftY=typeof _4e2.shiftY=="number"?_4e2.shiftY:_4e0;this.connect();},process:function(o){if(!o.shape||!(o.type in this.overOutEvents)){return;}var _4e3=o.run.name,_4e4=o.index,_4e5=[],anim,_4e6=o.type=="onmouseover"?this.shiftX:-this.shiftX,_4e7=o.type=="onmouseover"?this.shiftY:-this.shiftY;if(_4e3 in this.anim){anim=this.anim[_4e3][_4e4];}else{this.anim[_4e3]={};}if(anim){anim.action.stop(true);}else{this.anim[_4e3][_4e4]=anim={};}var _4e8={shape:o.shape,duration:this.duration,easing:this.easing,transform:[{name:"translate",start:[this.shiftX,this.shiftY],end:[0,0]},m.identity]};if(o.shape){_4e5.push(gf.animateTransform(_4e8));}if(o.oultine){_4e8.shape=o.outline;_4e5.push(gf.animateTransform(_4e8));}if(o.shadow){_4e8.shape=o.shadow;_4e5.push(gf.animateTransform(_4e8));}if(!_4e5.length){delete this.anim[_4e3][_4e4];return;}anim.action=dojo.fx.combine(_4e5);if(o.type=="onmouseout"){dojo.connect(anim.action,"onEnd",this,function(){if(this.anim[_4e3]){delete this.anim[_4e3][_4e4];}});}anim.action.play();}});})();}if(!dojo._hasResource["dojox.charting.action2d.Tooltip"]){dojo._hasResource["dojox.charting.action2d.Tooltip"]=true;dojo.provide("dojox.charting.action2d.Tooltip");(function(){var _4e9=function(o){var t=o.run&&o.run.data&&o.run.data[o.index];if(t&&typeof t!="number"&&(t.tooltip||t.text)){return t.tooltip||t.text;}if(o.element=="candlestick"){return "<table cellpadding=\"1\" cellspacing=\"0\" border=\"0\" style=\"font-size:0.9em;\">"+"<tr><td>Open:</td><td align=\"right\"><strong>"+o.data.open+"</strong></td></tr>"+"<tr><td>High:</td><td align=\"right\"><strong>"+o.data.high+"</strong></td></tr>"+"<tr><td>Low:</td><td align=\"right\"><strong>"+o.data.low+"</strong></td></tr>"+"<tr><td>Close:</td><td align=\"right\"><strong>"+o.data.close+"</strong></td></tr>"+(o.data.mid!==undefined?"<tr><td>Mid:</td><td align=\"right\"><strong>"+o.data.mid+"</strong></td></tr>":"")+"</table>";}return o.element=="bar"?o.x:o.y;};var df=dojox.lang.functional,m=dojox.gfx.matrix,pi4=Math.PI/4,pi2=Math.PI/2;dojo.declare("dojox.charting.action2d.Tooltip",dojox.charting.action2d.Base,{defaultParams:{text:_4e9},optionalParams:{},constructor:function(_4ea,plot,_4eb){this.text=_4eb&&_4eb.text?_4eb.text:_4e9;this.connect();},process:function(o){if(o.type==="onplotreset"||o.type==="onmouseout"){dijit.hideTooltip(this.aroundRect);this.aroundRect=null;if(o.type==="onplotreset"){delete this.angles;}return;}if(!o.shape||o.type!=="onmouseover"){return;}var _4ec={type:"rect"},_4ed=["after","before"];switch(o.element){case "marker":_4ec.x=o.cx;_4ec.y=o.cy;_4ec.width=_4ec.height=1;break;case "circle":_4ec.x=o.cx-o.cr;_4ec.y=o.cy-o.cr;_4ec.width=_4ec.height=2*o.cr;break;case "column":_4ed=["above","below"];case "bar":_4ec=dojo.clone(o.shape.getShape());break;case "candlestick":_4ec.x=o.x;_4ec.y=o.y;_4ec.width=o.width;_4ec.height=o.height;break;default:if(!this.angles){if(typeof o.run.data[0]=="number"){this.angles=df.map(df.scanl(o.run.data,"+",0),"* 2 * Math.PI / this",df.foldl(o.run.data,"+",0));}else{this.angles=df.map(df.scanl(o.run.data,"a + b.y",0),"* 2 * Math.PI / this",df.foldl(o.run.data,"a + b.y",0));}}var _4ee=m._degToRad(o.plot.opt.startAngle),_4ef=(this.angles[o.index]+this.angles[o.index+1])/2+_4ee;_4ec.x=o.cx+o.cr*Math.cos(_4ef);_4ec.y=o.cy+o.cr*Math.sin(_4ef);_4ec.width=_4ec.height=1;if(_4ef<pi4){}else{if(_4ef<pi2+pi4){_4ed=["below","above"];}else{if(_4ef<Math.PI+pi4){_4ed=["before","after"];}else{if(_4ef<2*Math.PI-pi4){_4ed=["above","below"];}}}}break;}var lt=dojo.coords(this.chart.node,true);_4ec.x+=lt.x;_4ec.y+=lt.y;_4ec.x=Math.round(_4ec.x);_4ec.y=Math.round(_4ec.y);_4ec.width=Math.ceil(_4ec.width);_4ec.height=Math.ceil(_4ec.height);this.aroundRect=_4ec;var _4f0=this.text(o);if(_4f0){dijit.showTooltip(_4f0,this.aroundRect,_4ed);}}});})();}if(!dojo._hasResource["dojox.charting.scaler.common"]){dojo._hasResource["dojox.charting.scaler.common"]=true;dojo.provide("dojox.charting.scaler.common");(function(){var eq=function(a,b){return Math.abs(a-b)<=0.000001*(Math.abs(a)+Math.abs(b));};dojo.mixin(dojox.charting.scaler.common,{findString:function(val,text){val=val.toLowerCase();for(var i=0;i<text.length;++i){if(val==text[i]){return true;}}return false;},getNumericLabel:function(_4f1,_4f2,_4f3){var def="";if(dojo.number){def=(_4f3.fixed?dojo.number.format(_4f1,{places:_4f2<0?-_4f2:0}):dojo.number.format(_4f1))||"";}else{def=_4f3.fixed?_4f1.toFixed(_4f2<0?-_4f2:0):_4f1.toString();}if(_4f3.labelFunc){var r=_4f3.labelFunc(def,_4f1,_4f2);if(r){return r;}}if(_4f3.labels){var l=_4f3.labels,lo=0,hi=l.length;while(lo<hi){var mid=Math.floor((lo+hi)/2),val=l[mid].value;if(val<_4f1){lo=mid+1;}else{hi=mid;}}if(lo<l.length&&eq(l[lo].value,_4f1)){return l[lo].text;}--lo;if(lo>=0&&lo<l.length&&eq(l[lo].value,_4f1)){return l[lo].text;}lo+=2;if(lo<l.length&&eq(l[lo].value,_4f1)){return l[lo].text;}}return def;}});})();}if(!dojo._hasResource["dojox.charting.scaler.linear"]){dojo._hasResource["dojox.charting.scaler.linear"]=true;dojo.provide("dojox.charting.scaler.linear");(function(){var _4f4=3,dc=dojox.charting,dcs=dc.scaler,dcsc=dcs.common,_4f5=dcsc.findString,_4f6=dcsc.getNumericLabel;var _4f7=function(min,max,_4f8,_4f9,_4fa,_4fb,span){_4f8=dojo.delegate(_4f8);if(!_4f9){if(_4f8.fixUpper=="major"){_4f8.fixUpper="minor";}if(_4f8.fixLower=="major"){_4f8.fixLower="minor";}}if(!_4fa){if(_4f8.fixUpper=="minor"){_4f8.fixUpper="micro";}if(_4f8.fixLower=="minor"){_4f8.fixLower="micro";}}if(!_4fb){if(_4f8.fixUpper=="micro"){_4f8.fixUpper="none";}if(_4f8.fixLower=="micro"){_4f8.fixLower="none";}}var _4fc=_4f5(_4f8.fixLower,["major"])?Math.floor(_4f8.min/_4f9)*_4f9:_4f5(_4f8.fixLower,["minor"])?Math.floor(_4f8.min/_4fa)*_4fa:_4f5(_4f8.fixLower,["micro"])?Math.floor(_4f8.min/_4fb)*_4fb:_4f8.min,_4fd=_4f5(_4f8.fixUpper,["major"])?Math.ceil(_4f8.max/_4f9)*_4f9:_4f5(_4f8.fixUpper,["minor"])?Math.ceil(_4f8.max/_4fa)*_4fa:_4f5(_4f8.fixUpper,["micro"])?Math.ceil(_4f8.max/_4fb)*_4fb:_4f8.max;if(_4f8.useMin){min=_4fc;}if(_4f8.useMax){max=_4fd;}var _4fe=(!_4f9||_4f8.useMin&&_4f5(_4f8.fixLower,["major"]))?min:Math.ceil(min/_4f9)*_4f9,_4ff=(!_4fa||_4f8.useMin&&_4f5(_4f8.fixLower,["major","minor"]))?min:Math.ceil(min/_4fa)*_4fa,_500=(!_4fb||_4f8.useMin&&_4f5(_4f8.fixLower,["major","minor","micro"]))?min:Math.ceil(min/_4fb)*_4fb,_501=!_4f9?0:(_4f8.useMax&&_4f5(_4f8.fixUpper,["major"])?Math.round((max-_4fe)/_4f9):Math.floor((max-_4fe)/_4f9))+1,_502=!_4fa?0:(_4f8.useMax&&_4f5(_4f8.fixUpper,["major","minor"])?Math.round((max-_4ff)/_4fa):Math.floor((max-_4ff)/_4fa))+1,_503=!_4fb?0:(_4f8.useMax&&_4f5(_4f8.fixUpper,["major","minor","micro"])?Math.round((max-_500)/_4fb):Math.floor((max-_500)/_4fb))+1,_504=_4fa?Math.round(_4f9/_4fa):0,_505=_4fb?Math.round(_4fa/_4fb):0,_506=_4f9?Math.floor(Math.log(_4f9)/Math.LN10):0,_507=_4fa?Math.floor(Math.log(_4fa)/Math.LN10):0,_508=span/(max-min);if(!isFinite(_508)){_508=1;}return {bounds:{lower:_4fc,upper:_4fd,from:min,to:max,scale:_508,span:span},major:{tick:_4f9,start:_4fe,count:_501,prec:_506},minor:{tick:_4fa,start:_4ff,count:_502,prec:_507},micro:{tick:_4fb,start:_500,count:_503,prec:0},minorPerMajor:_504,microPerMinor:_505,scaler:dcs.linear};};dojo.mixin(dojox.charting.scaler.linear,{buildScaler:function(min,max,span,_509){var h={fixUpper:"none",fixLower:"none",natural:false};if(_509){if("fixUpper" in _509){h.fixUpper=String(_509.fixUpper);}if("fixLower" in _509){h.fixLower=String(_509.fixLower);}if("natural" in _509){h.natural=Boolean(_509.natural);}}if("min" in _509){min=_509.min;}if("max" in _509){max=_509.max;}if(_509.includeZero){if(min>0){min=0;}if(max<0){max=0;}}h.min=min;h.useMin=true;h.max=max;h.useMax=true;if("from" in _509){min=_509.from;h.useMin=false;}if("to" in _509){max=_509.to;h.useMax=false;}if(max<=min){return _4f7(min,max,h,0,0,0,span);}var mag=Math.floor(Math.log(max-min)/Math.LN10),_50a=_509&&("majorTickStep" in _509)?_509.majorTickStep:Math.pow(10,mag),_50b=0,_50c=0,_50d;if(_509&&("minorTickStep" in _509)){_50b=_509.minorTickStep;}else{do{_50b=_50a/10;if(!h.natural||_50b>0.9){_50d=_4f7(min,max,h,_50a,_50b,0,span);if(_50d.bounds.scale*_50d.minor.tick>_4f4){break;}}_50b=_50a/5;if(!h.natural||_50b>0.9){_50d=_4f7(min,max,h,_50a,_50b,0,span);if(_50d.bounds.scale*_50d.minor.tick>_4f4){break;}}_50b=_50a/2;if(!h.natural||_50b>0.9){_50d=_4f7(min,max,h,_50a,_50b,0,span);if(_50d.bounds.scale*_50d.minor.tick>_4f4){break;}}return _4f7(min,max,h,_50a,0,0,span);}while(false);}if(_509&&("microTickStep" in _509)){_50c=_509.microTickStep;_50d=_4f7(min,max,h,_50a,_50b,_50c,span);}else{do{_50c=_50b/10;if(!h.natural||_50c>0.9){_50d=_4f7(min,max,h,_50a,_50b,_50c,span);if(_50d.bounds.scale*_50d.micro.tick>_4f4){break;}}_50c=_50b/5;if(!h.natural||_50c>0.9){_50d=_4f7(min,max,h,_50a,_50b,_50c,span);if(_50d.bounds.scale*_50d.micro.tick>_4f4){break;}}_50c=_50b/2;if(!h.natural||_50c>0.9){_50d=_4f7(min,max,h,_50a,_50b,_50c,span);if(_50d.bounds.scale*_50d.micro.tick>_4f4){break;}}_50c=0;}while(false);}return _50c?_50d:_4f7(min,max,h,_50a,_50b,0,span);},buildTicks:function(_50e,_50f){var step,next,tick,_510=_50e.major.start,_511=_50e.minor.start,_512=_50e.micro.start;if(_50f.microTicks&&_50e.micro.tick){step=_50e.micro.tick,next=_512;}else{if(_50f.minorTicks&&_50e.minor.tick){step=_50e.minor.tick,next=_511;}else{if(_50e.major.tick){step=_50e.major.tick,next=_510;}else{return null;}}}var _513=1/_50e.bounds.scale;if(_50e.bounds.to<=_50e.bounds.from||isNaN(_513)||!isFinite(_513)||step<=0||isNaN(step)||!isFinite(step)){return null;}var _514=[],_515=[],_516=[];while(next<=_50e.bounds.to+_513){if(Math.abs(_510-next)<step/2){tick={value:_510};if(_50f.majorLabels){tick.label=_4f6(_510,_50e.major.prec,_50f);}_514.push(tick);_510+=_50e.major.tick;_511+=_50e.minor.tick;_512+=_50e.micro.tick;}else{if(Math.abs(_511-next)<step/2){if(_50f.minorTicks){tick={value:_511};if(_50f.minorLabels&&(_50e.minMinorStep<=_50e.minor.tick*_50e.bounds.scale)){tick.label=_4f6(_511,_50e.minor.prec,_50f);}_515.push(tick);}_511+=_50e.minor.tick;_512+=_50e.micro.tick;}else{if(_50f.microTicks){_516.push({value:_512});}_512+=_50e.micro.tick;}}next+=step;}return {major:_514,minor:_515,micro:_516};},getTransformerFromModel:function(_517){var _518=_517.bounds.from,_519=_517.bounds.scale;return function(x){return (x-_518)*_519;};},getTransformerFromPlot:function(_51a){var _51b=_51a.bounds.from,_51c=_51a.bounds.scale;return function(x){return x/_51c+_51b;};}});})();}if(!dojo._hasResource["dojox.charting.axis2d.Base"]){dojo._hasResource["dojox.charting.axis2d.Base"]=true;dojo.provide("dojox.charting.axis2d.Base");dojo.declare("dojox.charting.axis2d.Base",dojox.charting.Element,{constructor:function(_51d,_51e){this.vertical=_51e&&_51e.vertical;},clear:function(){return this;},initialized:function(){return false;},calculate:function(min,max,span){return this;},getScaler:function(){return null;},getTicks:function(){return null;},getOffsets:function(){return {l:0,r:0,t:0,b:0};},render:function(dim,_51f){this.dirty=false;return this;}});}if(!dojo._hasResource["dojox.charting.axis2d.Invisible"]){dojo._hasResource["dojox.charting.axis2d.Invisible"]=true;dojo.provide("dojox.charting.axis2d.Invisible");(function(){var dc=dojox.charting,df=dojox.lang.functional,du=dojox.lang.utils,g=dojox.gfx,lin=dc.scaler.linear,_520=du.merge,_521=4,_522=45;dojo.declare("dojox.charting.axis2d.Invisible",dojox.charting.axis2d.Base,{defaultParams:{vertical:false,fixUpper:"none",fixLower:"none",natural:false,leftBottom:true,includeZero:false,fixed:true,majorLabels:true,minorTicks:true,minorLabels:true,microTicks:false,rotation:0},optionalParams:{min:0,max:1,from:0,to:1,majorTickStep:4,minorTickStep:2,microTickStep:1,labels:[],labelFunc:null,maxLabelSize:0,maxLabelCharCount:0,trailingSymbol:null},constructor:function(_523,_524){this.opt=dojo.clone(this.defaultParams);du.updateWithObject(this.opt,_524);du.updateWithPattern(this.opt,_524,this.optionalParams);},dependOnData:function(){return !("min" in this.opt)||!("max" in this.opt);},clear:function(){delete this.scaler;delete this.ticks;this.dirty=true;return this;},initialized:function(){return "scaler" in this&&!(this.dirty&&this.dependOnData());},setWindow:function(_525,_526){this.scale=_525;this.offset=_526;return this.clear();},getWindowScale:function(){return "scale" in this?this.scale:1;},getWindowOffset:function(){return "offset" in this?this.offset:0;},_groupLabelWidth:function(_527,font,_528){if(!_527.length){return 0;}if(dojo.isObject(_527[0])){_527=df.map(_527,function(_529){return _529.text;});}if(_528){_527=df.map(_527,function(_52a){return dojo.trim(_52a).length==0?"":_52a.substring(0,_528)+this.trailingSymbol;},this);}var s=_527.join("<br>");return dojox.gfx._base._getTextBox(s,{font:font}).w||0;},calculate:function(min,max,span,_52b){if(this.initialized()){return this;}var o=this.opt;this.labels="labels" in o?o.labels:_52b;this.scaler=lin.buildScaler(min,max,span,o);var tsb=this.scaler.bounds;if("scale" in this){o.from=tsb.lower+this.offset;o.to=(tsb.upper-tsb.lower)/this.scale+o.from;if(!isFinite(o.from)||isNaN(o.from)||!isFinite(o.to)||isNaN(o.to)||o.to-o.from>=tsb.upper-tsb.lower){delete o.from;delete o.to;delete this.scale;delete this.offset;}else{if(o.from<tsb.lower){o.to+=tsb.lower-o.from;o.from=tsb.lower;}else{if(o.to>tsb.upper){o.from+=tsb.upper-o.to;o.to=tsb.upper;}}this.offset=o.from-tsb.lower;}this.scaler=lin.buildScaler(min,max,span,o);tsb=this.scaler.bounds;if(this.scale==1&&this.offset==0){delete this.scale;delete this.offset;}}var ta=this.chart.theme.axis,_52c=0,_52d=o.rotation%360,_52e=o.font||(ta.majorTick&&ta.majorTick.font)||(ta.tick&&ta.tick.font),size=_52e?g.normalizedLength(g.splitFontString(_52e).size):0,cosr=Math.abs(Math.cos(_52d*Math.PI/180)),sinr=Math.abs(Math.sin(_52d*Math.PI/180));if(_52d<0){_52d+=360;}if(size){if(this.vertical?_52d!=0&&_52d!=180:_52d!=90&&_52d!=270){if(this.labels){_52c=this._groupLabelWidth(this.labels,_52e,o.maxLabelCharCount);}else{var _52f=Math.ceil(Math.log(Math.max(Math.abs(tsb.from),Math.abs(tsb.to)))/Math.LN10),t=[];if(tsb.from<0||tsb.to<0){t.push("-");}t.push(dojo.string.rep("9",_52f));var _530=Math.floor(Math.log(tsb.to-tsb.from)/Math.LN10);if(_530>0){t.push(".");t.push(dojo.string.rep("9",_530));}_52c=dojox.gfx._base._getTextBox(t.join(""),{font:_52e}).w;}_52c=o.maxLabelSize?Math.min(o.maxLabelSize,_52c):_52c;}else{_52c=size;}switch(_52d){case 0:case 90:case 180:case 270:break;default:var gap1=Math.sqrt(_52c*_52c+size*size),gap2=this.vertical?size*cosr+_52c*sinr:_52c*cosr+size*sinr;_52c=Math.min(gap1,gap2);break;}}this.scaler.minMinorStep=_52c+_521;this.ticks=lin.buildTicks(this.scaler,o);return this;},getScaler:function(){return this.scaler;},getTicks:function(){return this.ticks;}});})();}if(!dojo._hasResource["dojox.charting.axis2d.Default"]){dojo._hasResource["dojox.charting.axis2d.Default"]=true;dojo.provide("dojox.charting.axis2d.Default");(function(){var dc=dojox.charting,du=dojox.lang.utils,g=dojox.gfx,lin=dc.scaler.linear,_531=4,_532=45;dojo.declare("dojox.charting.axis2d.Default",dojox.charting.axis2d.Invisible,{defaultParams:{vertical:false,fixUpper:"none",fixLower:"none",natural:false,leftBottom:true,includeZero:false,fixed:true,majorLabels:true,minorTicks:true,minorLabels:true,microTicks:false,rotation:0,htmlLabels:true},optionalParams:{min:0,max:1,from:0,to:1,majorTickStep:4,minorTickStep:2,microTickStep:1,labels:[],labelFunc:null,maxLabelSize:0,maxLabelCharCount:0,trailingSymbol:null,stroke:{},majorTick:{},minorTick:{},microTick:{},tick:{},font:"",fontColor:"",title:"",titleGap:0,titleFont:"",titleFontColor:"",titleOrientation:""},constructor:function(_533,_534){this.opt=dojo.clone(this.defaultParams);du.updateWithObject(this.opt,_534);du.updateWithPattern(this.opt,_534,this.optionalParams);},getOffsets:function(){var s=this.scaler,_535={l:0,r:0,t:0,b:0};if(!s){return _535;}var o=this.opt,_536=0,a,b,c,d,gl=dc.scaler.common.getNumericLabel,_537=0,ma=s.major,mi=s.minor,ta=this.chart.theme.axis,_538=o.font||(ta.majorTick&&ta.majorTick.font)||(ta.tick&&ta.tick.font),_539=o.titleFont||(ta.tick&&ta.tick.titleFont),_53a=(o.titleGap==0)?0:o.titleGap||(ta.tick&&ta.tick.titleGap)||15,_53b=this.chart.theme.getTick("major",o),_53c=this.chart.theme.getTick("minor",o),size=_538?g.normalizedLength(g.splitFontString(_538).size):0,_53d=_539?g.normalizedLength(g.splitFontString(_539).size):0,_53e=o.rotation%360,_53f=o.leftBottom,cosr=Math.abs(Math.cos(_53e*Math.PI/180)),sinr=Math.abs(Math.sin(_53e*Math.PI/180));this.trailingSymbol=(o.trailingSymbol===undefined||o.trailingSymbol===null)?this.trailingSymbol:o.trailingSymbol;if(_53e<0){_53e+=360;}if(size){if(this.labels){_536=this._groupLabelWidth(this.labels,_538,o.maxLabelCharCount);}else{_536=this._groupLabelWidth([gl(ma.start,ma.prec,o),gl(ma.start+ma.count*ma.tick,ma.prec,o),gl(mi.start,mi.prec,o),gl(mi.start+mi.count*mi.tick,mi.prec,o)],_538,o.maxLabelCharCount);}_536=o.maxLabelSize?Math.min(o.maxLabelSize,_536):_536;if(this.vertical){var side=_53f?"l":"r";switch(_53e){case 0:case 180:_535[side]=_536;_535.t=_535.b=size/2;break;case 90:case 270:_535[side]=size;_535.t=_535.b=_536/2;break;default:if(_53e<=_532||(180<_53e&&_53e<=(180+_532))){_535[side]=size*sinr/2+_536*cosr;_535[_53f?"t":"b"]=size*cosr/2+_536*sinr;_535[_53f?"b":"t"]=size*cosr/2;}else{if(_53e>(360-_532)||(180>_53e&&_53e>(180-_532))){_535[side]=size*sinr/2+_536*cosr;_535[_53f?"b":"t"]=size*cosr/2+_536*sinr;_535[_53f?"t":"b"]=size*cosr/2;}else{if(_53e<90||(180<_53e&&_53e<270)){_535[side]=size*sinr+_536*cosr;_535[_53f?"t":"b"]=size*cosr+_536*sinr;}else{_535[side]=size*sinr+_536*cosr;_535[_53f?"b":"t"]=size*cosr+_536*sinr;}}}break;}_535[side]+=_531+Math.max(_53b.length,_53c.length)+(o.title?(_53d+_53a):0);}else{var side=_53f?"b":"t";switch(_53e){case 0:case 180:_535[side]=size;_535.l=_535.r=_536/2;break;case 90:case 270:_535[side]=_536;_535.l=_535.r=size/2;break;default:if((90-_532)<=_53e&&_53e<=90||(270-_532)<=_53e&&_53e<=270){_535[side]=size*sinr/2+_536*cosr;_535[_53f?"r":"l"]=size*cosr/2+_536*sinr;_535[_53f?"l":"r"]=size*cosr/2;}else{if(90<=_53e&&_53e<=(90+_532)||270<=_53e&&_53e<=(270+_532)){_535[side]=size*sinr/2+_536*cosr;_535[_53f?"l":"r"]=size*cosr/2+_536*sinr;_535[_53f?"r":"l"]=size*cosr/2;}else{if(_53e<_532||(180<_53e&&_53e<(180-_532))){_535[side]=size*sinr+_536*cosr;_535[_53f?"r":"l"]=size*cosr+_536*sinr;}else{_535[side]=size*sinr+_536*cosr;_535[_53f?"l":"r"]=size*cosr+_536*sinr;}}}break;}_535[side]+=_531+Math.max(_53b.length,_53c.length)+(o.title?(_53d+_53a):0);}}if(_536){this._cachedLabelWidth=_536;}return _535;},render:function(dim,_540){if(!this.dirty){return this;}var o=this.opt,ta=this.chart.theme.axis,_541=o.leftBottom,_542=o.rotation%360,_543,stop,_544,_545=0,_546,_547,_548,_549,_54a,_54b,_54c=o.font||(ta.majorTick&&ta.majorTick.font)||(ta.tick&&ta.tick.font),_54d=o.titleFont||(ta.tick&&ta.tick.titleFont),_54e=o.fontColor||(ta.majorTick&&ta.majorTick.fontColor)||(ta.tick&&ta.tick.fontColor)||"black",_54f=o.titleFontColor||(ta.tick&&ta.tick.titleFontColor)||"black",_550=(o.titleGap==0)?0:o.titleGap||(ta.tick&&ta.tick.titleGap)||15,_551=o.titleOrientation||(ta.tick&&ta.tick.titleOrientation)||"axis",_552=this.chart.theme.getTick("major",o),_553=this.chart.theme.getTick("minor",o),_554=this.chart.theme.getTick("micro",o),_555=Math.max(_552.length,_553.length,_554.length),_556="stroke" in o?o.stroke:ta.stroke,size=_54c?g.normalizedLength(g.splitFontString(_54c).size):0,cosr=Math.abs(Math.cos(_542*Math.PI/180)),sinr=Math.abs(Math.sin(_542*Math.PI/180)),_557=_54d?g.normalizedLength(g.splitFontString(_54d).size):0;if(_542<0){_542+=360;}if(this.vertical){_543={y:dim.height-_540.b};stop={y:_540.t};_544={y:(dim.height-_540.b+_540.t)/2};_546=size*sinr+(this._cachedLabelWidth||0)*cosr+_531+Math.max(_552.length,_553.length)+_557+_550;_547={x:0,y:-1};_54a={x:0,y:0};_548={x:1,y:0};_549={x:_531,y:0};switch(_542){case 0:_54b="end";_54a.y=size*0.4;break;case 90:_54b="middle";_54a.x=-size;break;case 180:_54b="start";_54a.y=-size*0.4;break;case 270:_54b="middle";break;default:if(_542<_532){_54b="end";_54a.y=size*0.4;}else{if(_542<90){_54b="end";_54a.y=size*0.4;}else{if(_542<(180-_532)){_54b="start";}else{if(_542<(180+_532)){_54b="start";_54a.y=-size*0.4;}else{if(_542<270){_54b="start";_54a.x=_541?0:size*0.4;}else{if(_542<(360-_532)){_54b="end";_54a.x=_541?0:size*0.4;}else{_54b="end";_54a.y=size*0.4;}}}}}}}if(_541){_543.x=stop.x=_540.l;_545=(_551&&_551=="away")?90:270;_544.x=_540.l-_546+(_545==270?_557:0);_548.x=-1;_549.x=-_549.x;}else{_543.x=stop.x=dim.width-_540.r;_545=(_551&&_551=="axis")?90:270;_544.x=dim.width-_540.r+_546-(_545==270?0:_557);switch(_54b){case "start":_54b="end";break;case "end":_54b="start";break;case "middle":_54a.x+=size;break;}}}else{_543={x:_540.l};stop={x:dim.width-_540.r};_544={x:(dim.width-_540.r+_540.l)/2};_546=size*cosr+(this._cachedLabelWidth||0)*sinr+_531+Math.max(_552.length,_553.length)+_557+_550;_547={x:1,y:0};_54a={x:0,y:0};_548={x:0,y:1};_549={x:0,y:_531};switch(_542){case 0:_54b="middle";_54a.y=size;break;case 90:_54b="start";_54a.x=-size*0.4;break;case 180:_54b="middle";break;case 270:_54b="end";_54a.x=size*0.4;break;default:if(_542<(90-_532)){_54b="start";_54a.y=_541?size:0;}else{if(_542<(90+_532)){_54b="start";_54a.x=-size*0.4;}else{if(_542<180){_54b="start";_54a.y=_541?0:-size;}else{if(_542<(270-_532)){_54b="end";_54a.y=_541?0:-size;}else{if(_542<(270+_532)){_54b="end";_54a.y=_541?size*0.4:0;}else{_54b="end";_54a.y=_541?size:0;}}}}}}if(_541){_543.y=stop.y=dim.height-_540.b;_545=(_551&&_551=="axis")?180:0;_544.y=dim.height-_540.b+_546-(_545?_557:0);}else{_543.y=stop.y=_540.t;_545=(_551&&_551=="away")?180:0;_544.y=_540.t-_546+(_545?0:_557);_548.y=-1;_549.y=-_549.y;switch(_54b){case "start":_54b="end";break;case "end":_54b="start";break;case "middle":_54a.y-=size;break;}}}this.cleanGroup();try{var s=this.group,c=this.scaler,t=this.ticks,_558,f=lin.getTransformerFromModel(this.scaler),_559=!_545&&!_542&&this.opt.htmlLabels&&!dojo.isIE&&!dojo.isOpera?"html":"gfx",dx=_548.x*_552.length,dy=_548.y*_552.length;s.createLine({x1:_543.x,y1:_543.y,x2:stop.x,y2:stop.y}).setStroke(_556);if(o.title){var _55a=dc.axis2d.common.createText[_559](this.chart,s,_544.x,_544.y,"middle",o.title,_54d,_54f);if(_559=="html"){this.htmlElements.push(_55a);}else{_55a.setTransform(g.matrix.rotategAt(_545,_544.x,_544.y));}}dojo.forEach(t.major,function(tick){var _55b=f(tick.value),elem,x=_543.x+_547.x*_55b,y=_543.y+_547.y*_55b;s.createLine({x1:x,y1:y,x2:x+dx,y2:y+dy}).setStroke(_552);if(tick.label){var _55c=o.maxLabelCharCount?this.getTextWithLimitCharCount(tick.label,_54c,o.maxLabelCharCount):{text:tick.label,truncated:false};_55c=o.maxLabelSize?this.getTextWithLimitLength(_55c.text,_54c,o.maxLabelSize,_55c.truncated):_55c;elem=dc.axis2d.common.createText[_559](this.chart,s,x+dx+_549.x+(_542?0:_54a.x),y+dy+_549.y+(_542?0:_54a.y),_54b,_55c.text,_54c,_54e);_55c.truncated&&this.labelTooltip(elem,this.chart,tick.label,_55c.text,_54c,_559);if(_559=="html"){this.htmlElements.push(elem);}else{if(_542){elem.setTransform([{dx:_54a.x,dy:_54a.y},g.matrix.rotategAt(_542,x+dx+_549.x,y+dy+_549.y)]);}}}},this);dx=_548.x*_553.length;dy=_548.y*_553.length;_558=c.minMinorStep<=c.minor.tick*c.bounds.scale;dojo.forEach(t.minor,function(tick){var _55d=f(tick.value),elem,x=_543.x+_547.x*_55d,y=_543.y+_547.y*_55d;s.createLine({x1:x,y1:y,x2:x+dx,y2:y+dy}).setStroke(_553);if(_558&&tick.label){var _55e=o.maxLabelCharCount?this.getTextWithLimitCharCount(tick.label,_54c,o.maxLabelCharCount):{text:tick.label,truncated:false};_55e=o.maxLabelSize?this.getTextWithLimitLength(_55e.text,_54c,o.maxLabelSize,_55e.truncated):_55e;elem=dc.axis2d.common.createText[_559](this.chart,s,x+dx+_549.x+(_542?0:_54a.x),y+dy+_549.y+(_542?0:_54a.y),_54b,_55e.text,_54c,_54e);_55e.truncated&&this.labelTooltip(elem,this.chart,tick.label,_55e.text,_54c,_559);if(_559=="html"){this.htmlElements.push(elem);}else{if(_542){elem.setTransform([{dx:_54a.x,dy:_54a.y},g.matrix.rotategAt(_542,x+dx+_549.x,y+dy+_549.y)]);}}}},this);dx=_548.x*_554.length;dy=_548.y*_554.length;dojo.forEach(t.micro,function(tick){var _55f=f(tick.value),elem,x=_543.x+_547.x*_55f,y=_543.y+_547.y*_55f;s.createLine({x1:x,y1:y,x2:x+dx,y2:y+dy}).setStroke(_554);},this);}catch(e){}this.dirty=false;return this;},labelTooltip:function(elem,_560,_561,_562,font,_563){if(!dijit||!dijit.Tooltip){return;}var _564={type:"rect"},_565=["above","below"],_566=dojox.gfx._base._getTextBox(_562,{font:font}).w||0;fontHeight=font?g.normalizedLength(g.splitFontString(font).size):0;if(_563=="html"){dojo.mixin(_564,dojo.coords(elem.firstChild,true));_564.width=Math.ceil(_566);_564.height=Math.ceil(fontHeight);this._events.push({shape:dojo,handle:dojo.connect(elem.firstChild,"onmouseover",this,function(e){dijit.showTooltip(_561,_564,_565);})});this._events.push({shape:dojo,handle:dojo.connect(elem.firstChild,"onmouseout",this,function(e){dijit.hideTooltip(_564);})});}else{var shp=elem.getShape(),lt=dojo.coords(_560.node,true);_564=dojo.mixin(_564,{x:shp.x-_566/2,y:shp.y});_564.x+=lt.x;_564.y+=lt.y;_564.x=Math.round(_564.x);_564.y=Math.round(_564.y);_564.width=Math.ceil(_566);_564.height=Math.ceil(fontHeight);this._events.push({shape:elem,handle:elem.connect("onmouseenter",this,function(e){dijit.showTooltip(_561,_564,_565);})});this._events.push({shape:elem,handle:elem.connect("onmouseleave",this,function(e){dijit.hideTooltip(_564);})});}}});})();}if(!dojo._hasResource["dojox.charting.plot2d.common"]){dojo._hasResource["dojox.charting.plot2d.common"]=true;dojo.provide("dojox.charting.plot2d.common");(function(){var df=dojox.lang.functional,dc=dojox.charting.plot2d.common;dojo.mixin(dojox.charting.plot2d.common,{makeStroke:function(_567){if(!_567){return _567;}if(typeof _567=="string"||_567 instanceof dojo.Color){_567={color:_567};}return dojox.gfx.makeParameters(dojox.gfx.defaultStroke,_567);},augmentColor:function(_568,_569){var t=new dojo.Color(_568),c=new dojo.Color(_569);c.a=t.a;return c;},augmentStroke:function(_56a,_56b){var s=dc.makeStroke(_56a);if(s){s.color=dc.augmentColor(s.color,_56b);}return s;},augmentFill:function(fill,_56c){var fc,c=new dojo.Color(_56c);if(typeof fill=="string"||fill instanceof dojo.Color){return dc.augmentColor(fill,_56c);}return fill;},defaultStats:{vmin:Number.POSITIVE_INFINITY,vmax:Number.NEGATIVE_INFINITY,hmin:Number.POSITIVE_INFINITY,hmax:Number.NEGATIVE_INFINITY},collectSimpleStats:function(_56d){var _56e=dojo.delegate(dc.defaultStats);for(var i=0;i<_56d.length;++i){var run=_56d[i];for(var j=0;j<run.data.length;j++){if(run.data[j]!==null){if(typeof run.data[j]=="number"){var _56f=_56e.vmin,_570=_56e.vmax;if(!("ymin" in run)||!("ymax" in run)){dojo.forEach(run.data,function(val,i){if(val!==null){var x=i+1,y=val;if(isNaN(y)){y=0;}_56e.hmin=Math.min(_56e.hmin,x);_56e.hmax=Math.max(_56e.hmax,x);_56e.vmin=Math.min(_56e.vmin,y);_56e.vmax=Math.max(_56e.vmax,y);}});}if("ymin" in run){_56e.vmin=Math.min(_56f,run.ymin);}if("ymax" in run){_56e.vmax=Math.max(_570,run.ymax);}}else{var _571=_56e.hmin,_572=_56e.hmax,_56f=_56e.vmin,_570=_56e.vmax;if(!("xmin" in run)||!("xmax" in run)||!("ymin" in run)||!("ymax" in run)){dojo.forEach(run.data,function(val,i){if(val!==null){var x="x" in val?val.x:i+1,y=val.y;if(isNaN(x)){x=0;}if(isNaN(y)){y=0;}_56e.hmin=Math.min(_56e.hmin,x);_56e.hmax=Math.max(_56e.hmax,x);_56e.vmin=Math.min(_56e.vmin,y);_56e.vmax=Math.max(_56e.vmax,y);}});}if("xmin" in run){_56e.hmin=Math.min(_571,run.xmin);}if("xmax" in run){_56e.hmax=Math.max(_572,run.xmax);}if("ymin" in run){_56e.vmin=Math.min(_56f,run.ymin);}if("ymax" in run){_56e.vmax=Math.max(_570,run.ymax);}}break;}}}return _56e;},calculateBarSize:function(_573,opt,_574){if(!_574){_574=1;}var gap=opt.gap,size=(_573-2*gap)/_574;if("minBarSize" in opt){size=Math.max(size,opt.minBarSize);}if("maxBarSize" in opt){size=Math.min(size,opt.maxBarSize);}size=Math.max(size,1);gap=(_573-size*_574)/2;return {size:size,gap:gap};},collectStackedStats:function(_575){var _576=dojo.clone(dc.defaultStats);if(_575.length){_576.hmin=Math.min(_576.hmin,1);_576.hmax=df.foldl(_575,"seed, run -> Math.max(seed, run.data.length)",_576.hmax);for(var i=0;i<_576.hmax;++i){var v=_575[0].data[i];v=v&&(typeof v=="number"?v:v.y);if(isNaN(v)){v=0;}_576.vmin=Math.min(_576.vmin,v);for(var j=1;j<_575.length;++j){var t=_575[j].data[i];t=t&&(typeof t=="number"?t:t.y);if(isNaN(t)){t=0;}v+=t;}_576.vmax=Math.max(_576.vmax,v);}}return _576;},curve:function(a,_577){var arr=a.slice(0);if(_577=="x"){arr[arr.length]=arr[0];}var p=dojo.map(arr,function(item,i){if(i==0){return "M"+item.x+","+item.y;}if(!isNaN(_577)){var dx=item.x-arr[i-1].x,dy=arr[i-1].y;return "C"+(item.x-(_577-1)*(dx/_577))+","+dy+" "+(item.x-(dx/_577))+","+item.y+" "+item.x+","+item.y;}else{if(_577=="X"||_577=="x"||_577=="S"){var p0,p1=arr[i-1],p2=arr[i],p3;var bz1x,bz1y,bz2x,bz2y;var f=1/6;if(i==1){if(_577=="x"){p0=arr[arr.length-2];}else{p0=p1;}f=1/3;}else{p0=arr[i-2];}if(i==(arr.length-1)){if(_577=="x"){p3=arr[1];}else{p3=p2;}f=1/3;}else{p3=arr[i+1];}var p1p2=Math.sqrt((p2.x-p1.x)*(p2.x-p1.x)+(p2.y-p1.y)*(p2.y-p1.y));var p0p2=Math.sqrt((p2.x-p0.x)*(p2.x-p0.x)+(p2.y-p0.y)*(p2.y-p0.y));var p1p3=Math.sqrt((p3.x-p1.x)*(p3.x-p1.x)+(p3.y-p1.y)*(p3.y-p1.y));var _578=p0p2*f;var _579=p1p3*f;if(_578>p1p2/2&&_579>p1p2/2){_578=p1p2/2;_579=p1p2/2;}else{if(_578>p1p2/2){_578=p1p2/2;_579=p1p2/2*p1p3/p0p2;}else{if(_579>p1p2/2){_579=p1p2/2;_578=p1p2/2*p0p2/p1p3;}}}if(_577=="S"){if(p0==p1){_578=0;}if(p2==p3){_579=0;}}bz1x=p1.x+_578*(p2.x-p0.x)/p0p2;bz1y=p1.y+_578*(p2.y-p0.y)/p0p2;bz2x=p2.x-_579*(p3.x-p1.x)/p1p3;bz2y=p2.y-_579*(p3.y-p1.y)/p1p3;}}return "C"+(bz1x+","+bz1y+" "+bz2x+","+bz2y+" "+p2.x+","+p2.y);});return p.join(" ");},getLabel:function(_57a,_57b,_57c){if(dojo.number){return (_57b?dojo.number.format(_57a,{places:_57c}):dojo.number.format(_57a))||"";}return _57b?_57a.toFixed(_57c):_57a.toString();}});})();}if(!dojo._hasResource["dojox.charting.scaler.primitive"]){dojo._hasResource["dojox.charting.scaler.primitive"]=true;dojo.provide("dojox.charting.scaler.primitive");dojox.charting.scaler.primitive={buildScaler:function(min,max,span,_57d){if(min==max){min-=0.5;max+=0.5;}return {bounds:{lower:min,upper:max,from:min,to:max,scale:span/(max-min),span:span},scaler:dojox.charting.scaler.primitive};},buildTicks:function(_57e,_57f){return {major:[],minor:[],micro:[]};},getTransformerFromModel:function(_580){var _581=_580.bounds.from,_582=_580.bounds.scale;return function(x){return (x-_581)*_582;};},getTransformerFromPlot:function(_583){var _584=_583.bounds.from,_585=_583.bounds.scale;return function(x){return x/_585+_584;};}};}if(!dojo._hasResource["dojox.charting.plot2d._PlotEvents"]){dojo._hasResource["dojox.charting.plot2d._PlotEvents"]=true;dojo.provide("dojox.charting.plot2d._PlotEvents");dojo.declare("dojox.charting.plot2d._PlotEvents",null,{constructor:function(){this._shapeEvents=[];this._eventSeries={};},destroy:function(){this.resetEvents();this.inherited(arguments);},plotEvent:function(o){},raiseEvent:function(o){this.plotEvent(o);var t=dojo.delegate(o);t.originalEvent=o.type;t.originalPlot=o.plot;t.type="onindirect";dojo.forEach(this.chart.stack,function(plot){if(plot!==this&&plot.plotEvent){t.plot=plot;plot.plotEvent(t);}},this);},connect:function(_586,_587){this.dirty=true;return dojo.connect(this,"plotEvent",_586,_587);},events:function(){var ls=this.plotEvent._listeners;if(!ls||!ls.length){return false;}for(var i in ls){if(!(i in Array.prototype)){return true;}}return false;},resetEvents:function(){if(this._shapeEvents.length){dojo.forEach(this._shapeEvents,function(item){item.shape.disconnect(item.handle);});this._shapeEvents=[];}this.raiseEvent({type:"onplotreset",plot:this});},_connectSingleEvent:function(o,_588){this._shapeEvents.push({shape:o.eventMask,handle:o.eventMask.connect(_588,this,function(e){o.type=_588;o.event=e;this.raiseEvent(o);o.event=null;})});},_connectEvents:function(o){if(o){o.chart=this.chart;o.plot=this;o.hAxis=this.hAxis||null;o.vAxis=this.vAxis||null;o.eventMask=o.eventMask||o.shape;this._connectSingleEvent(o,"onmouseover");this._connectSingleEvent(o,"onmouseout");this._connectSingleEvent(o,"onclick");}},_reconnectEvents:function(_589){var a=this._eventSeries[_589];if(a){dojo.forEach(a,this._connectEvents,this);}},fireEvent:function(_58a,_58b,_58c,_58d){var s=this._eventSeries[_58a];if(s&&s.length&&_58c<s.length){var o=s[_58c];o.type=_58b;o.event=_58d||null;this.raiseEvent(o);o.event=null;}}});}if(!dojo._hasResource["dojox.charting.plot2d.Base"]){dojo._hasResource["dojox.charting.plot2d.Base"]=true;dojo.provide("dojox.charting.plot2d.Base");dojo.declare("dojox.charting.plot2d.Base",[dojox.charting.Element,dojox.charting.plot2d._PlotEvents],{constructor:function(_58e,_58f){this.zoom=null,this.zoomQueue=[];this.lastWindow={vscale:1,hscale:1,xoffset:0,yoffset:0};},clear:function(){this.series=[];this._hAxis=null;this._vAxis=null;this.dirty=true;return this;},setAxis:function(axis){if(axis){this[axis.vertical?"_vAxis":"_hAxis"]=axis;}return this;},addSeries:function(run){this.series.push(run);return this;},getSeriesStats:function(){return dojox.charting.plot2d.common.collectSimpleStats(this.series);},calculateAxes:function(dim){this.initializeScalers(dim,this.getSeriesStats());return this;},isDirty:function(){return this.dirty||this._hAxis&&this._hAxis.dirty||this._vAxis&&this._vAxis.dirty;},isDataDirty:function(){return dojo.some(this.series,function(item){return item.dirty;});},performZoom:function(dim,_590){var vs=this._vAxis.scale||1,hs=this._hAxis.scale||1,_591=dim.height-_590.b,_592=this._hScaler.bounds,_593=(_592.from-_592.lower)*_592.scale,_594=this._vScaler.bounds,_595=(_594.from-_594.lower)*_594.scale;rVScale=vs/this.lastWindow.vscale,rHScale=hs/this.lastWindow.hscale,rXOffset=(this.lastWindow.xoffset-_593)/((this.lastWindow.hscale==1)?hs:this.lastWindow.hscale),rYOffset=(_595-this.lastWindow.yoffset)/((this.lastWindow.vscale==1)?vs:this.lastWindow.vscale),shape=this.group,anim=dojox.gfx.fx.animateTransform(dojo.delegate({shape:shape,duration:1200,transform:[{name:"translate",start:[0,0],end:[_590.l*(1-rHScale),_591*(1-rVScale)]},{name:"scale",start:[1,1],end:[rHScale,rVScale]},{name:"original"},{name:"translate",start:[0,0],end:[rXOffset,rYOffset]}]},this.zoom));dojo.mixin(this.lastWindow,{vscale:vs,hscale:hs,xoffset:_593,yoffset:_595});this.zoomQueue.push(anim);dojo.connect(anim,"onEnd",this,function(){this.zoom=null;this.zoomQueue.shift();if(this.zoomQueue.length>0){this.zoomQueue[0].play();}});if(this.zoomQueue.length==1){this.zoomQueue[0].play();}return this;},render:function(dim,_596){return this;},getRequiredColors:function(){return this.series.length;},initializeScalers:function(dim,_597){if(this._hAxis){if(!this._hAxis.initialized()){this._hAxis.calculate(_597.hmin,_597.hmax,dim.width);}this._hScaler=this._hAxis.getScaler();}else{this._hScaler=dojox.charting.scaler.primitive.buildScaler(_597.hmin,_597.hmax,dim.width);}if(this._vAxis){if(!this._vAxis.initialized()){this._vAxis.calculate(_597.vmin,_597.vmax,dim.height);}this._vScaler=this._vAxis.getScaler();}else{this._vScaler=dojox.charting.scaler.primitive.buildScaler(_597.vmin,_597.vmax,dim.height);}return this;}});}if(!dojo._hasResource["dojox.charting.plot2d.Default"]){dojo._hasResource["dojox.charting.plot2d.Default"]=true;dojo.provide("dojox.charting.plot2d.Default");(function(){var df=dojox.lang.functional,du=dojox.lang.utils,dc=dojox.charting.plot2d.common,_598=df.lambda("item.purgeGroup()");var _599=1200;dojo.declare("dojox.charting.plot2d.Default",dojox.charting.plot2d.Base,{defaultParams:{hAxis:"x",vAxis:"y",lines:true,areas:false,markers:false,tension:"",animate:false},optionalParams:{stroke:{},outline:{},shadow:{},fill:{},font:"",fontColor:"",markerStroke:{},markerOutline:{},markerShadow:{},markerFill:{},markerFont:"",markerFontColor:""},constructor:function(_59a,_59b){this.opt=dojo.clone(this.defaultParams);du.updateWithObject(this.opt,_59b);du.updateWithPattern(this.opt,_59b,this.optionalParams);this.series=[];this.hAxis=this.opt.hAxis;this.vAxis=this.opt.vAxis;this.animate=this.opt.animate;},render:function(dim,_59c){if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_59c);}this.resetEvents();this.dirty=this.isDirty();if(this.dirty){dojo.forEach(this.series,_598);this._eventSeries={};this.cleanGroup();this.group.setTransform(null);var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,_59d,_59e,_59f,_5a0=this.events();for(var i=this.series.length-1;i>=0;--i){var run=this.series[i];if(!this.dirty&&!run.dirty){t.skip();this._reconnectEvents(run.name);continue;}run.cleanGroup();if(!run.data.length){run.dirty=false;t.skip();continue;}var _5a1=t.next(this.opt.areas?"area":"line",[this.opt,run],true),s=run.group,_5a2=[],_5a3=[],rseg=null,_5a4,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler),_5a5=this._eventSeries[run.name]=new Array(run.data.length);for(var j=0;j<run.data.length;j++){if(run.data[j]!=null){if(!rseg){rseg=[];_5a3.push(j);_5a2.push(rseg);}rseg.push(run.data[j]);}else{rseg=null;}}for(var seg=0;seg<_5a2.length;seg++){if(typeof _5a2[seg][0]=="number"){_5a4=dojo.map(_5a2[seg],function(v,i){return {x:ht(i+_5a3[seg]+1)+_59c.l,y:dim.height-_59c.b-vt(v)};},this);}else{_5a4=dojo.map(_5a2[seg],function(v,i){return {x:ht(v.x)+_59c.l,y:dim.height-_59c.b-vt(v.y)};},this);}var _5a6=this.opt.tension?dc.curve(_5a4,this.opt.tension):"";if(this.opt.areas&&_5a4.length>1){var fill=_5a1.series.fill;var _5a7=dojo.clone(_5a4);if(this.opt.tension){var _5a8="L"+_5a7[_5a7.length-1].x+","+(dim.height-_59c.b)+" L"+_5a7[0].x+","+(dim.height-_59c.b)+" L"+_5a7[0].x+","+_5a7[0].y;run.dyn.fill=s.createPath(_5a6+" "+_5a8).setFill(fill).getFill();}else{_5a7.push({x:_5a4[_5a4.length-1].x,y:dim.height-_59c.b});_5a7.push({x:_5a4[0].x,y:dim.height-_59c.b});_5a7.push(_5a4[0]);run.dyn.fill=s.createPolyline(_5a7).setFill(fill).getFill();}}if(this.opt.lines||this.opt.markers){_59d=_5a1.series.stroke;if(_5a1.series.outline){_59e=run.dyn.outline=dc.makeStroke(_5a1.series.outline);_59e.width=2*_59e.width+_59d.width;}}if(this.opt.markers){run.dyn.marker=_5a1.symbol;}var _5a9=null,_5aa=null,_5ab=null;if(_59d&&_5a1.series.shadow&&_5a4.length>1){var _5ac=_5a1.series.shadow,_5ad=dojo.map(_5a4,function(c){return {x:c.x+_5ac.dx,y:c.y+_5ac.dy};});if(this.opt.lines){if(this.opt.tension){run.dyn.shadow=s.createPath(dc.curve(_5ad,this.opt.tension)).setStroke(_5ac).getStroke();}else{run.dyn.shadow=s.createPolyline(_5ad).setStroke(_5ac).getStroke();}}if(this.opt.markers&&_5a1.marker.shadow){_5ac=_5a1.marker.shadow;_5ab=dojo.map(_5ad,function(c){return s.createPath("M"+c.x+" "+c.y+" "+_5a1.symbol).setStroke(_5ac).setFill(_5ac.color);},this);}}if(this.opt.lines&&_5a4.length>1){if(_59e){if(this.opt.tension){run.dyn.outline=s.createPath(_5a6).setStroke(_59e).getStroke();}else{run.dyn.outline=s.createPolyline(_5a4).setStroke(_59e).getStroke();}}if(this.opt.tension){run.dyn.stroke=s.createPath(_5a6).setStroke(_59d).getStroke();}else{run.dyn.stroke=s.createPolyline(_5a4).setStroke(_59d).getStroke();}}if(this.opt.markers){_5a9=new Array(_5a4.length);_5aa=new Array(_5a4.length);_59e=null;if(_5a1.marker.outline){_59e=dc.makeStroke(_5a1.marker.outline);_59e.width=2*_59e.width+(_5a1.marker.stroke?_5a1.marker.stroke.width:0);}dojo.forEach(_5a4,function(c,i){var path="M"+c.x+" "+c.y+" "+_5a1.symbol;if(_59e){_5aa[i]=s.createPath(path).setStroke(_59e);}_5a9[i]=s.createPath(path).setStroke(_5a1.marker.stroke).setFill(_5a1.marker.fill);},this);run.dyn.markerFill=_5a1.marker.fill;run.dyn.markerStroke=_5a1.marker.stroke;if(_5a0){dojo.forEach(_5a9,function(s,i){var o={element:"marker",index:i+_5a3[seg],run:run,shape:s,outline:_5aa[i]||null,shadow:_5ab&&_5ab[i]||null,cx:_5a4[i].x,cy:_5a4[i].y};if(typeof _5a2[seg][0]=="number"){o.x=i+_5a3[seg]+1;o.y=_5a2[seg][i];}else{o.x=_5a2[seg][i].x;o.y=_5a2[seg][i].y;}this._connectEvents(o);_5a5[i+_5a3[seg]]=o;},this);}else{delete this._eventSeries[run.name];}}}run.dirty=false;}if(this.animate){var _5ae=this.group;dojox.gfx.fx.animateTransform(dojo.delegate({shape:_5ae,duration:_599,transform:[{name:"translate",start:[0,dim.height-_59c.b],end:[0,0]},{name:"scale",start:[1,0],end:[1,1]},{name:"original"}]},this.animate)).play();}this.dirty=false;return this;}});})();}if(!dojo._hasResource["dojox.charting.plot2d.Lines"]){dojo._hasResource["dojox.charting.plot2d.Lines"]=true;dojo.provide("dojox.charting.plot2d.Lines");dojo.declare("dojox.charting.plot2d.Lines",dojox.charting.plot2d.Default,{constructor:function(){this.opt.lines=true;}});}if(!dojo._hasResource["dojox.charting.plot2d.Areas"]){dojo._hasResource["dojox.charting.plot2d.Areas"]=true;dojo.provide("dojox.charting.plot2d.Areas");dojo.declare("dojox.charting.plot2d.Areas",dojox.charting.plot2d.Default,{constructor:function(){this.opt.lines=true;this.opt.areas=true;}});}if(!dojo._hasResource["dojox.charting.plot2d.Markers"]){dojo._hasResource["dojox.charting.plot2d.Markers"]=true;dojo.provide("dojox.charting.plot2d.Markers");dojo.declare("dojox.charting.plot2d.Markers",dojox.charting.plot2d.Default,{constructor:function(){this.opt.markers=true;}});}if(!dojo._hasResource["dojox.charting.plot2d.MarkersOnly"]){dojo._hasResource["dojox.charting.plot2d.MarkersOnly"]=true;dojo.provide("dojox.charting.plot2d.MarkersOnly");dojo.declare("dojox.charting.plot2d.MarkersOnly",dojox.charting.plot2d.Default,{constructor:function(){this.opt.lines=false;this.opt.markers=true;}});}if(!dojo._hasResource["dojox.charting.plot2d.Scatter"]){dojo._hasResource["dojox.charting.plot2d.Scatter"]=true;dojo.provide("dojox.charting.plot2d.Scatter");(function(){var df=dojox.lang.functional,du=dojox.lang.utils,dc=dojox.charting.plot2d.common,_5af=df.lambda("item.purgeGroup()");dojo.declare("dojox.charting.plot2d.Scatter",dojox.charting.plot2d.Base,{defaultParams:{hAxis:"x",vAxis:"y",shadows:null,animate:null},optionalParams:{markerStroke:{},markerOutline:{},markerShadow:{},markerFill:{},markerFont:"",markerFontColor:""},constructor:function(_5b0,_5b1){this.opt=dojo.clone(this.defaultParams);du.updateWithObject(this.opt,_5b1);du.updateWithPattern(this.opt,_5b1,this.optionalParams);this.series=[];this.hAxis=this.opt.hAxis;this.vAxis=this.opt.vAxis;this.animate=this.opt.animate;},render:function(dim,_5b2){if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_5b2);}this.resetEvents();this.dirty=this.isDirty();if(this.dirty){dojo.forEach(this.series,_5af);this._eventSeries={};this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,_5b3=this.events();for(var i=this.series.length-1;i>=0;--i){var run=this.series[i];if(!this.dirty&&!run.dirty){t.skip();this._reconnectEvents(run.name);continue;}run.cleanGroup();if(!run.data.length){run.dirty=false;t.skip();continue;}var _5b4=t.next("marker",[this.opt,run]),s=run.group,_5b5,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler);if(typeof run.data[0]=="number"){_5b5=dojo.map(run.data,function(v,i){return {x:ht(i+1)+_5b2.l,y:dim.height-_5b2.b-vt(v)};},this);}else{_5b5=dojo.map(run.data,function(v,i){return {x:ht(v.x)+_5b2.l,y:dim.height-_5b2.b-vt(v.y)};},this);}var _5b6=new Array(_5b5.length),_5b7=new Array(_5b5.length),_5b8=new Array(_5b5.length);dojo.forEach(_5b5,function(c,i){var _5b9=typeof run.data[i]=="number"?t.post(_5b4,"marker"):t.addMixin(_5b4,"marker",run.data[i],true),path="M"+c.x+" "+c.y+" "+_5b9.symbol;if(_5b9.marker.shadow){_5b6[i]=s.createPath("M"+(c.x+_5b9.marker.shadow.dx)+" "+(c.y+_5b9.marker.shadow.dy)+" "+_5b9.symbol).setStroke(_5b9.marker.shadow).setFill(_5b9.marker.shadow.color);if(this.animate){this._animateScatter(_5b6[i],dim.height-_5b2.b);}}if(_5b9.marker.outline){var _5ba=dc.makeStroke(_5b9.marker.outline);_5ba.width=2*_5ba.width+_5b9.marker.stroke.width;_5b8[i]=s.createPath(path).setStroke(_5ba);if(this.animate){this._animateScatter(_5b8[i],dim.height-_5b2.b);}}var _5bb=dc.makeStroke(_5b9.marker.stroke),fill=this._plotFill(_5b9.marker.fill,dim,_5b2);if(fill&&(fill.type==="linear"||fill.type=="radial")){var _5bc=dojox.gfx.gradutils.getColor(fill,{x:c.x,y:c.y});if(_5bb){_5bb.color=_5bc;}_5b7[i]=s.createPath(path).setStroke(_5bb).setFill(_5bc);}else{_5b7[i]=s.createPath(path).setStroke(_5bb).setFill(fill);}if(this.animate){this._animateScatter(_5b7[i],dim.height-_5b2.b);}},this);if(_5b7.length){run.dyn.stroke=_5b7[_5b7.length-1].getStroke();run.dyn.fill=_5b7[_5b7.length-1].getFill();}if(_5b3){var _5bd=new Array(_5b7.length);dojo.forEach(_5b7,function(s,i){var o={element:"marker",index:i,run:run,shape:s,outline:_5b8&&_5b8[i]||null,shadow:_5b6&&_5b6[i]||null,cx:_5b5[i].x,cy:_5b5[i].y};if(typeof run.data[0]=="number"){o.x=i+1;o.y=run.data[i];}else{o.x=run.data[i].x;o.y=run.data[i].y;}this._connectEvents(o);_5bd[i]=o;},this);this._eventSeries[run.name]=_5bd;}else{delete this._eventSeries[run.name];}run.dirty=false;}this.dirty=false;return this;},_animateScatter:function(_5be,_5bf){dojox.gfx.fx.animateTransform(dojo.delegate({shape:_5be,duration:1200,transform:[{name:"translate",start:[0,_5bf],end:[0,0]},{name:"scale",start:[0,0],end:[1,1]},{name:"original"}]},this.animate)).play();}});})();}if(!dojo._hasResource["dojox.lang.functional.sequence"]){dojo._hasResource["dojox.lang.functional.sequence"]=true;dojo.provide("dojox.lang.functional.sequence");(function(){var d=dojo,df=dojox.lang.functional;d.mixin(df,{repeat:function(n,f,z,o){o=o||d.global;f=df.lambda(f);var t=new Array(n),i=1;t[0]=z;for(;i<n;t[i]=z=f.call(o,z),++i){}return t;},until:function(pr,f,z,o){o=o||d.global;f=df.lambda(f);pr=df.lambda(pr);var t=[];for(;!pr.call(o,z);t.push(z),z=f.call(o,z)){}return t;}});})();}if(!dojo._hasResource["dojox.charting.plot2d.Stacked"]){dojo._hasResource["dojox.charting.plot2d.Stacked"]=true;dojo.provide("dojox.charting.plot2d.Stacked");(function(){var df=dojox.lang.functional,dc=dojox.charting.plot2d.common,_5c0=df.lambda("item.purgeGroup()");dojo.declare("dojox.charting.plot2d.Stacked",dojox.charting.plot2d.Default,{getSeriesStats:function(){var _5c1=dc.collectStackedStats(this.series);this._maxRunLength=_5c1.hmax;return _5c1;},render:function(dim,_5c2){if(this._maxRunLength<=0){return this;}var acc=df.repeat(this._maxRunLength,"-> 0",0);for(var i=0;i<this.series.length;++i){var run=this.series[i];for(var j=0;j<run.data.length;++j){var v=run.data[j];if(v!==null){if(isNaN(v)){v=0;}acc[j]+=v;}}}if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_5c2);}this.resetEvents();this.dirty=this.isDirty();if(this.dirty){dojo.forEach(this.series,_5c0);this._eventSeries={};this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,_5c3=this.events(),ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler);for(var i=this.series.length-1;i>=0;--i){var run=this.series[i];if(!this.dirty&&!run.dirty){t.skip();this._reconnectEvents(run.name);continue;}run.cleanGroup();var _5c4=t.next(this.opt.areas?"area":"line",[this.opt,run],true),s=run.group,_5c5,_5c6=dojo.map(acc,function(v,i){return {x:ht(i+1)+_5c2.l,y:dim.height-_5c2.b-vt(v)};},this);var _5c7=this.opt.tension?dc.curve(_5c6,this.opt.tension):"";if(this.opt.areas){var _5c8=dojo.clone(_5c6);if(this.opt.tension){var p=dc.curve(_5c8,this.opt.tension);p+=" L"+_5c6[_5c6.length-1].x+","+(dim.height-_5c2.b)+" L"+_5c6[0].x+","+(dim.height-_5c2.b)+" L"+_5c6[0].x+","+_5c6[0].y;run.dyn.fill=s.createPath(p).setFill(_5c4.series.fill).getFill();}else{_5c8.push({x:_5c6[_5c6.length-1].x,y:dim.height-_5c2.b});_5c8.push({x:_5c6[0].x,y:dim.height-_5c2.b});_5c8.push(_5c6[0]);run.dyn.fill=s.createPolyline(_5c8).setFill(_5c4.series.fill).getFill();}}if(this.opt.lines||this.opt.markers){if(_5c4.series.outline){_5c5=dc.makeStroke(_5c4.series.outline);_5c5.width=2*_5c5.width+_5c4.series.stroke.width;}}if(this.opt.markers){run.dyn.marker=_5c4.symbol;}var _5c9,_5ca,_5cb;if(_5c4.series.shadow&&_5c4.series.stroke){var _5cc=_5c4.series.shadow,_5cd=dojo.map(_5c6,function(c){return {x:c.x+_5cc.dx,y:c.y+_5cc.dy};});if(this.opt.lines){if(this.opt.tension){run.dyn.shadow=s.createPath(dc.curve(_5cd,this.opt.tension)).setStroke(_5cc).getStroke();}else{run.dyn.shadow=s.createPolyline(_5cd).setStroke(_5cc).getStroke();}}if(this.opt.markers){_5cc=_5c4.marker.shadow;_5cb=dojo.map(_5cd,function(c){return s.createPath("M"+c.x+" "+c.y+" "+_5c4.symbol).setStroke(_5cc).setFill(_5cc.color);},this);}}if(this.opt.lines){if(_5c5){if(this.opt.tension){run.dyn.outline=s.createPath(_5c7).setStroke(_5c5).getStroke();}else{run.dyn.outline=s.createPolyline(_5c6).setStroke(_5c5).getStroke();}}if(this.opt.tension){run.dyn.stroke=s.createPath(_5c7).setStroke(_5c4.series.stroke).getStroke();}else{run.dyn.stroke=s.createPolyline(_5c6).setStroke(_5c4.series.stroke).getStroke();}}if(this.opt.markers){_5c9=new Array(_5c6.length);_5ca=new Array(_5c6.length);_5c5=null;if(_5c4.marker.outline){_5c5=dc.makeStroke(_5c4.marker.outline);_5c5.width=2*_5c5.width+(_5c4.marker.stroke?_5c4.marker.stroke.width:0);}dojo.forEach(_5c6,function(c,i){var path="M"+c.x+" "+c.y+" "+_5c4.symbol;if(_5c5){_5ca[i]=s.createPath(path).setStroke(_5c5);}_5c9[i]=s.createPath(path).setStroke(_5c4.marker.stroke).setFill(_5c4.marker.fill);},this);if(_5c3){var _5ce=new Array(_5c9.length);dojo.forEach(_5c9,function(s,i){var o={element:"marker",index:i,run:run,shape:s,outline:_5ca[i]||null,shadow:_5cb&&_5cb[i]||null,cx:_5c6[i].x,cy:_5c6[i].y,x:i+1,y:run.data[i]};this._connectEvents(o);_5ce[i]=o;},this);this._eventSeries[run.name]=_5ce;}else{delete this._eventSeries[run.name];}}run.dirty=false;for(var j=0;j<run.data.length;++j){var v=run.data[j];if(v!==null){if(isNaN(v)){v=0;}acc[j]-=v;}}}this.dirty=false;return this;}});})();}if(!dojo._hasResource["dojox.charting.plot2d.StackedLines"]){dojo._hasResource["dojox.charting.plot2d.StackedLines"]=true;dojo.provide("dojox.charting.plot2d.StackedLines");dojo.declare("dojox.charting.plot2d.StackedLines",dojox.charting.plot2d.Stacked,{constructor:function(){this.opt.lines=true;}});}if(!dojo._hasResource["dojox.charting.plot2d.StackedAreas"]){dojo._hasResource["dojox.charting.plot2d.StackedAreas"]=true;dojo.provide("dojox.charting.plot2d.StackedAreas");dojo.declare("dojox.charting.plot2d.StackedAreas",dojox.charting.plot2d.Stacked,{constructor:function(){this.opt.lines=true;this.opt.areas=true;}});}if(!dojo._hasResource["dojox.charting.plot2d.Columns"]){dojo._hasResource["dojox.charting.plot2d.Columns"]=true;dojo.provide("dojox.charting.plot2d.Columns");(function(){var df=dojox.lang.functional,du=dojox.lang.utils,dc=dojox.charting.plot2d.common,_5cf=df.lambda("item.purgeGroup()");dojo.declare("dojox.charting.plot2d.Columns",dojox.charting.plot2d.Base,{defaultParams:{hAxis:"x",vAxis:"y",gap:0,animate:null},optionalParams:{minBarSize:1,maxBarSize:1,stroke:{},outline:{},shadow:{},fill:{},font:"",fontColor:""},constructor:function(_5d0,_5d1){this.opt=dojo.clone(this.defaultParams);du.updateWithObject(this.opt,_5d1);du.updateWithPattern(this.opt,_5d1,this.optionalParams);this.series=[];this.hAxis=this.opt.hAxis;this.vAxis=this.opt.vAxis;this.animate=this.opt.animate;},getSeriesStats:function(){var _5d2=dc.collectSimpleStats(this.series);_5d2.hmin-=0.5;_5d2.hmax+=0.5;return _5d2;},render:function(dim,_5d3){if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_5d3);}this.resetEvents();this.dirty=this.isDirty();if(this.dirty){dojo.forEach(this.series,_5cf);this._eventSeries={};this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,f,gap,_5d4,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler),_5d5=Math.max(0,this._vScaler.bounds.lower),_5d6=vt(_5d5),_5d7=this.events();f=dc.calculateBarSize(this._hScaler.bounds.scale,this.opt);gap=f.gap;_5d4=f.size;for(var i=this.series.length-1;i>=0;--i){var run=this.series[i];if(!this.dirty&&!run.dirty){t.skip();this._reconnectEvents(run.name);continue;}run.cleanGroup();var _5d8=t.next("column",[this.opt,run]),s=run.group,_5d9=new Array(run.data.length);for(var j=0;j<run.data.length;++j){var _5da=run.data[j];if(_5da!==null){var v=typeof _5da=="number"?_5da:_5da.y,vv=vt(v),_5db=vv-_5d6,h=Math.abs(_5db),_5dc=typeof _5da!="number"?t.addMixin(_5d8,"column",_5da,true):t.post(_5d8,"column");if(_5d4>=1&&h>=1){var rect={x:_5d3.l+ht(j+0.5)+gap,y:dim.height-_5d3.b-(v>_5d5?vv:_5d6),width:_5d4,height:h};var _5dd=this._plotFill(_5dc.series.fill,dim,_5d3);_5dd=this._shapeFill(_5dd,rect);var _5de=s.createRect(rect).setFill(_5dd).setStroke(_5dc.series.stroke);run.dyn.fill=_5de.getFill();run.dyn.stroke=_5de.getStroke();if(_5d7){var o={element:"column",index:j,run:run,shape:_5de,x:j+0.5,y:v};this._connectEvents(o);_5d9[j]=o;}if(this.animate){this._animateColumn(_5de,dim.height-_5d3.b-_5d6,h);}}}}this._eventSeries[run.name]=_5d9;run.dirty=false;}this.dirty=false;return this;},_animateColumn:function(_5df,_5e0,_5e1){dojox.gfx.fx.animateTransform(dojo.delegate({shape:_5df,duration:1200,transform:[{name:"translate",start:[0,_5e0-(_5e0/_5e1)],end:[0,0]},{name:"scale",start:[1,1/_5e1],end:[1,1]},{name:"original"}]},this.animate)).play();}});})();}if(!dojo._hasResource["dojox.charting.plot2d.StackedColumns"]){dojo._hasResource["dojox.charting.plot2d.StackedColumns"]=true;dojo.provide("dojox.charting.plot2d.StackedColumns");(function(){var df=dojox.lang.functional,dc=dojox.charting.plot2d.common,_5e2=df.lambda("item.purgeGroup()");dojo.declare("dojox.charting.plot2d.StackedColumns",dojox.charting.plot2d.Columns,{getSeriesStats:function(){var _5e3=dc.collectStackedStats(this.series);this._maxRunLength=_5e3.hmax;_5e3.hmin-=0.5;_5e3.hmax+=0.5;return _5e3;},render:function(dim,_5e4){if(this._maxRunLength<=0){return this;}var acc=df.repeat(this._maxRunLength,"-> 0",0);for(var i=0;i<this.series.length;++i){var run=this.series[i];for(var j=0;j<run.data.length;++j){var _5e5=run.data[j];if(_5e5!==null){var v=typeof _5e5=="number"?_5e5:_5e5.y;if(isNaN(v)){v=0;}acc[j]+=v;}}}if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_5e4);}this.resetEvents();this.dirty=this.isDirty();if(this.dirty){dojo.forEach(this.series,_5e2);this._eventSeries={};this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,f,gap,_5e6,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler),_5e7=this.events();f=dc.calculateBarSize(this._hScaler.bounds.scale,this.opt);gap=f.gap;_5e6=f.size;for(var i=this.series.length-1;i>=0;--i){var run=this.series[i];if(!this.dirty&&!run.dirty){t.skip();this._reconnectEvents(run.name);continue;}run.cleanGroup();var _5e8=t.next("column",[this.opt,run]),s=run.group,_5e9=new Array(acc.length);for(var j=0;j<acc.length;++j){var _5e5=run.data[j];if(_5e5!==null){var v=acc[j],_5ea=vt(v),_5eb=typeof _5e5!="number"?t.addMixin(_5e8,"column",_5e5,true):t.post(_5e8,"column");if(_5e6>=1&&_5ea>=1){var rect={x:_5e4.l+ht(j+0.5)+gap,y:dim.height-_5e4.b-vt(v),width:_5e6,height:_5ea};var _5ec=this._plotFill(_5eb.series.fill,dim,_5e4);_5ec=this._shapeFill(_5ec,rect);var _5ed=s.createRect(rect).setFill(_5ec).setStroke(_5eb.series.stroke);run.dyn.fill=_5ed.getFill();run.dyn.stroke=_5ed.getStroke();if(_5e7){var o={element:"column",index:j,run:run,shape:_5ed,x:j+0.5,y:v};this._connectEvents(o);_5e9[j]=o;}if(this.animate){this._animateColumn(_5ed,dim.height-_5e4.b,_5ea);}}}}this._eventSeries[run.name]=_5e9;run.dirty=false;for(var j=0;j<run.data.length;++j){var _5e5=run.data[j];if(_5e5!==null){var v=typeof _5e5=="number"?_5e5:_5e5.y;if(isNaN(v)){v=0;}acc[j]-=v;}}}this.dirty=false;return this;}});})();}if(!dojo._hasResource["dojox.charting.plot2d.ClusteredColumns"]){dojo._hasResource["dojox.charting.plot2d.ClusteredColumns"]=true;dojo.provide("dojox.charting.plot2d.ClusteredColumns");(function(){var df=dojox.lang.functional,dc=dojox.charting.plot2d.common,_5ee=df.lambda("item.purgeGroup()");dojo.declare("dojox.charting.plot2d.ClusteredColumns",dojox.charting.plot2d.Columns,{render:function(dim,_5ef){if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_5ef);}this.resetEvents();this.dirty=this.isDirty();if(this.dirty){dojo.forEach(this.series,_5ee);this._eventSeries={};this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,f,gap,_5f0,_5f1,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler),_5f2=Math.max(0,this._vScaler.bounds.lower),_5f3=vt(_5f2),_5f4=this.events();f=dc.calculateBarSize(this._hScaler.bounds.scale,this.opt,this.series.length);gap=f.gap;_5f0=_5f1=f.size;for(var i=0;i<this.series.length;++i){var run=this.series[i],_5f5=_5f1*i;if(!this.dirty&&!run.dirty){t.skip();this._reconnectEvents(run.name);continue;}run.cleanGroup();var _5f6=t.next("column",[this.opt,run]),s=run.group,_5f7=new Array(run.data.length);for(var j=0;j<run.data.length;++j){var _5f8=run.data[j];if(_5f8!==null){var v=typeof _5f8=="number"?_5f8:_5f8.y,vv=vt(v),_5f9=vv-_5f3,h=Math.abs(_5f9),_5fa=typeof _5f8!="number"?t.addMixin(_5f6,"column",_5f8,true):t.post(_5f6,"column");if(_5f0>=1&&h>=1){var rect={x:_5ef.l+ht(j+0.5)+gap+_5f5,y:dim.height-_5ef.b-(v>_5f2?vv:_5f3),width:_5f0,height:h};var _5fb=this._plotFill(_5fa.series.fill,dim,_5ef);_5fb=this._shapeFill(_5fb,rect);var _5fc=s.createRect(rect).setFill(_5fb).setStroke(_5fa.series.stroke);run.dyn.fill=_5fc.getFill();run.dyn.stroke=_5fc.getStroke();if(_5f4){var o={element:"column",index:j,run:run,shape:_5fc,x:j+0.5,y:v};this._connectEvents(o);_5f7[j]=o;}if(this.animate){this._animateColumn(_5fc,dim.height-_5ef.b-_5f3,h);}}}}this._eventSeries[run.name]=_5f7;run.dirty=false;}this.dirty=false;return this;}});})();}if(!dojo._hasResource["dojox.charting.plot2d.Bars"]){dojo._hasResource["dojox.charting.plot2d.Bars"]=true;dojo.provide("dojox.charting.plot2d.Bars");(function(){var df=dojox.lang.functional,du=dojox.lang.utils,dc=dojox.charting.plot2d.common,_5fd=df.lambda("item.purgeGroup()");dojo.declare("dojox.charting.plot2d.Bars",dojox.charting.plot2d.Base,{defaultParams:{hAxis:"x",vAxis:"y",gap:0,animate:null},optionalParams:{minBarSize:1,maxBarSize:1,stroke:{},outline:{},shadow:{},fill:{},font:"",fontColor:""},constructor:function(_5fe,_5ff){this.opt=dojo.clone(this.defaultParams);du.updateWithObject(this.opt,_5ff);du.updateWithPattern(this.opt,_5ff,this.optionalParams);this.series=[];this.hAxis=this.opt.hAxis;this.vAxis=this.opt.vAxis;this.animate=this.opt.animate;},getSeriesStats:function(){var _600=dc.collectSimpleStats(this.series),t;_600.hmin-=0.5;_600.hmax+=0.5;t=_600.hmin,_600.hmin=_600.vmin,_600.vmin=t;t=_600.hmax,_600.hmax=_600.vmax,_600.vmax=t;return _600;},render:function(dim,_601){if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_601);}this.dirty=this.isDirty();this.resetEvents();if(this.dirty){dojo.forEach(this.series,_5fd);this._eventSeries={};this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,f,gap,_602,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler),_603=Math.max(0,this._hScaler.bounds.lower),_604=ht(_603),_605=this.events();f=dc.calculateBarSize(this._vScaler.bounds.scale,this.opt);gap=f.gap;_602=f.size;for(var i=this.series.length-1;i>=0;--i){var run=this.series[i];if(!this.dirty&&!run.dirty){t.skip();this._reconnectEvents(run.name);continue;}run.cleanGroup();var _606=t.next("bar",[this.opt,run]),s=run.group,_607=new Array(run.data.length);for(var j=0;j<run.data.length;++j){var _608=run.data[j];if(_608!==null){var v=typeof _608=="number"?_608:_608.y,hv=ht(v),_609=hv-_604,w=Math.abs(_609),_60a=typeof _608!="number"?t.addMixin(_606,"bar",_608,true):t.post(_606,"bar");if(w>=1&&_602>=1){var rect={x:_601.l+(v<_603?hv:_604),y:dim.height-_601.b-vt(j+1.5)+gap,width:w,height:_602};var _60b=this._plotFill(_60a.series.fill,dim,_601);_60b=this._shapeFill(_60b,rect);var _60c=s.createRect(rect).setFill(_60b).setStroke(_60a.series.stroke);run.dyn.fill=_60c.getFill();run.dyn.stroke=_60c.getStroke();if(_605){var o={element:"bar",index:j,run:run,shape:_60c,x:v,y:j+1.5};this._connectEvents(o);_607[j]=o;}if(this.animate){this._animateBar(_60c,_601.l+_604,-w);}}}}this._eventSeries[run.name]=_607;run.dirty=false;}this.dirty=false;return this;},_animateBar:function(_60d,_60e,_60f){dojox.gfx.fx.animateTransform(dojo.delegate({shape:_60d,duration:1200,transform:[{name:"translate",start:[_60e-(_60e/_60f),0],end:[0,0]},{name:"scale",start:[1/_60f,1],end:[1,1]},{name:"original"}]},this.animate)).play();}});})();}if(!dojo._hasResource["dojox.charting.plot2d.StackedBars"]){dojo._hasResource["dojox.charting.plot2d.StackedBars"]=true;dojo.provide("dojox.charting.plot2d.StackedBars");(function(){var df=dojox.lang.functional,dc=dojox.charting.plot2d.common,_610=df.lambda("item.purgeGroup()");dojo.declare("dojox.charting.plot2d.StackedBars",dojox.charting.plot2d.Bars,{getSeriesStats:function(){var _611=dc.collectStackedStats(this.series),t;this._maxRunLength=_611.hmax;_611.hmin-=0.5;_611.hmax+=0.5;t=_611.hmin,_611.hmin=_611.vmin,_611.vmin=t;t=_611.hmax,_611.hmax=_611.vmax,_611.vmax=t;return _611;},render:function(dim,_612){if(this._maxRunLength<=0){return this;}var acc=df.repeat(this._maxRunLength,"-> 0",0);for(var i=0;i<this.series.length;++i){var run=this.series[i];for(var j=0;j<run.data.length;++j){var _613=run.data[j];if(_613!==null){var v=typeof _613=="number"?_613:_613.y;if(isNaN(v)){v=0;}acc[j]+=v;}}}if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_612);}this.resetEvents();this.dirty=this.isDirty();if(this.dirty){dojo.forEach(this.series,_610);this._eventSeries={};this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,f,gap,_614,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler),_615=this.events();f=dc.calculateBarSize(this._vScaler.bounds.scale,this.opt);gap=f.gap;_614=f.size;for(var i=this.series.length-1;i>=0;--i){var run=this.series[i];if(!this.dirty&&!run.dirty){t.skip();this._reconnectEvents(run.name);continue;}run.cleanGroup();var _616=t.next("bar",[this.opt,run]),s=run.group,_617=new Array(acc.length);for(var j=0;j<acc.length;++j){var _613=run.data[j];if(_613!==null){var v=acc[j],_618=ht(v),_619=typeof _613!="number"?t.addMixin(_616,"bar",_613,true):t.post(_616,"bar");if(_618>=1&&_614>=1){var rect={x:_612.l,y:dim.height-_612.b-vt(j+1.5)+gap,width:_618,height:_614};var _61a=this._plotFill(_619.series.fill,dim,_612);_61a=this._shapeFill(_61a,rect);var _61b=s.createRect(rect).setFill(_61a).setStroke(_619.series.stroke);run.dyn.fill=_61b.getFill();run.dyn.stroke=_61b.getStroke();if(_615){var o={element:"bar",index:j,run:run,shape:_61b,x:v,y:j+1.5};this._connectEvents(o);_617[j]=o;}if(this.animate){this._animateBar(_61b,_612.l,-_618);}}}}this._eventSeries[run.name]=_617;run.dirty=false;for(var j=0;j<run.data.length;++j){var _613=run.data[j];if(_613!==null){var v=typeof _613=="number"?_613:_613.y;if(isNaN(v)){v=0;}acc[j]-=v;}}}this.dirty=false;return this;}});})();}if(!dojo._hasResource["dojox.charting.plot2d.ClusteredBars"]){dojo._hasResource["dojox.charting.plot2d.ClusteredBars"]=true;dojo.provide("dojox.charting.plot2d.ClusteredBars");(function(){var df=dojox.lang.functional,dc=dojox.charting.plot2d.common,_61c=df.lambda("item.purgeGroup()");dojo.declare("dojox.charting.plot2d.ClusteredBars",dojox.charting.plot2d.Bars,{render:function(dim,_61d){if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_61d);}this.resetEvents();this.dirty=this.isDirty();if(this.dirty){dojo.forEach(this.series,_61c);this._eventSeries={};this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,f,gap,_61e,_61f,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler),_620=Math.max(0,this._hScaler.bounds.lower),_621=ht(_620),_622=this.events();f=dc.calculateBarSize(this._vScaler.bounds.scale,this.opt,this.series.length);gap=f.gap;_61e=_61f=f.size;for(var i=this.series.length-1;i>=0;--i){var run=this.series[i],_623=_61f*(this.series.length-i-1);if(!this.dirty&&!run.dirty){t.skip();this._reconnectEvents(run.name);continue;}run.cleanGroup();var _624=t.next("bar",[this.opt,run]),s=run.group,_625=new Array(run.data.length);for(var j=0;j<run.data.length;++j){var _626=run.data[j];if(_626!==null){var v=typeof _626=="number"?_626:_626.y,hv=ht(v),_627=hv-_621,w=Math.abs(_627),_628=typeof _626!="number"?t.addMixin(_624,"bar",_626,true):t.post(_624,"bar");if(w>=1&&_61e>=1){var rect={x:_61d.l+(v<_620?hv:_621),y:dim.height-_61d.b-vt(j+1.5)+gap+_623,width:w,height:_61e};var _629=this._plotFill(_628.series.fill,dim,_61d);_629=this._shapeFill(_629,rect);var _62a=s.createRect(rect).setFill(_629).setStroke(_628.series.stroke);run.dyn.fill=_62a.getFill();run.dyn.stroke=_62a.getStroke();if(_622){var o={element:"bar",index:j,run:run,shape:_62a,x:v,y:j+1.5};this._connectEvents(o);_625[j]=o;}if(this.animate){this._animateBar(_62a,_61d.l+_621,-_627);}}}}this._eventSeries[run.name]=_625;run.dirty=false;}this.dirty=false;return this;}});})();}if(!dojo._hasResource["dojox.charting.plot2d.Grid"]){dojo._hasResource["dojox.charting.plot2d.Grid"]=true;dojo.provide("dojox.charting.plot2d.Grid");(function(){var du=dojox.lang.utils,dc=dojox.charting.plot2d.common;dojo.declare("dojox.charting.plot2d.Grid",dojox.charting.Element,{defaultParams:{hAxis:"x",vAxis:"y",hMajorLines:true,hMinorLines:false,vMajorLines:true,vMinorLines:false,hStripes:"none",vStripes:"none",animate:null},optionalParams:{},constructor:function(_62b,_62c){this.opt=dojo.clone(this.defaultParams);du.updateWithObject(this.opt,_62c);this.hAxis=this.opt.hAxis;this.vAxis=this.opt.vAxis;this.dirty=true;this.animate=this.opt.animate;this.zoom=null,this.zoomQueue=[];this.lastWindow={vscale:1,hscale:1,xoffset:0,yoffset:0};},clear:function(){this._hAxis=null;this._vAxis=null;this.dirty=true;return this;},setAxis:function(axis){if(axis){this[axis.vertical?"_vAxis":"_hAxis"]=axis;}return this;},addSeries:function(run){return this;},getSeriesStats:function(){return dojo.delegate(dc.defaultStats);},initializeScalers:function(){return this;},isDirty:function(){return this.dirty||this._hAxis&&this._hAxis.dirty||this._vAxis&&this._vAxis.dirty;},performZoom:function(dim,_62d){var vs=this._vAxis.scale||1,hs=this._hAxis.scale||1,_62e=dim.height-_62d.b,_62f=this._hAxis.getScaler().bounds,_630=(_62f.from-_62f.lower)*_62f.scale,_631=this._vAxis.getScaler().bounds,_632=(_631.from-_631.lower)*_631.scale;rVScale=vs/this.lastWindow.vscale,rHScale=hs/this.lastWindow.hscale,rXOffset=(this.lastWindow.xoffset-_630)/((this.lastWindow.hscale==1)?hs:this.lastWindow.hscale),rYOffset=(_632-this.lastWindow.yoffset)/((this.lastWindow.vscale==1)?vs:this.lastWindow.vscale),shape=this.group,anim=dojox.gfx.fx.animateTransform(dojo.delegate({shape:shape,duration:1200,transform:[{name:"translate",start:[0,0],end:[_62d.l*(1-rHScale),_62e*(1-rVScale)]},{name:"scale",start:[1,1],end:[rHScale,rVScale]},{name:"original"},{name:"translate",start:[0,0],end:[rXOffset,rYOffset]}]},this.zoom));dojo.mixin(this.lastWindow,{vscale:vs,hscale:hs,xoffset:_630,yoffset:_632});this.zoomQueue.push(anim);dojo.connect(anim,"onEnd",this,function(){this.zoom=null;this.zoomQueue.shift();if(this.zoomQueue.length>0){this.zoomQueue[0].play();}});if(this.zoomQueue.length==1){this.zoomQueue[0].play();}return this;},getRequiredColors:function(){return 0;},render:function(dim,_633){if(this.zoom){return this.performZoom(dim,_633);}this.dirty=this.isDirty();if(!this.dirty){return this;}this.cleanGroup();var s=this.group,ta=this.chart.theme.axis;try{var _634=this._vAxis.getScaler(),vt=_634.scaler.getTransformerFromModel(_634),_635=this._vAxis.getTicks();if(this.opt.hMinorLines){dojo.forEach(_635.minor,function(tick){var y=dim.height-_633.b-vt(tick.value);var _636=s.createLine({x1:_633.l,y1:y,x2:dim.width-_633.r,y2:y}).setStroke(ta.minorTick);if(this.animate){this._animateGrid(_636,"h",_633.l,_633.r+_633.l-dim.width);}},this);}if(this.opt.hMajorLines){dojo.forEach(_635.major,function(tick){var y=dim.height-_633.b-vt(tick.value);var _637=s.createLine({x1:_633.l,y1:y,x2:dim.width-_633.r,y2:y}).setStroke(ta.majorTick);if(this.animate){this._animateGrid(_637,"h",_633.l,_633.r+_633.l-dim.width);}},this);}}catch(e){}try{var _638=this._hAxis.getScaler(),ht=_638.scaler.getTransformerFromModel(_638),_635=this._hAxis.getTicks();if(_635&&this.opt.vMinorLines){dojo.forEach(_635.minor,function(tick){var x=_633.l+ht(tick.value);var _639=s.createLine({x1:x,y1:_633.t,x2:x,y2:dim.height-_633.b}).setStroke(ta.minorTick);if(this.animate){this._animateGrid(_639,"v",dim.height-_633.b,dim.height-_633.b-_633.t);}},this);}if(_635&&this.opt.vMajorLines){dojo.forEach(_635.major,function(tick){var x=_633.l+ht(tick.value);var _63a=s.createLine({x1:x,y1:_633.t,x2:x,y2:dim.height-_633.b}).setStroke(ta.majorTick);if(this.animate){this._animateGrid(_63a,"v",dim.height-_633.b,dim.height-_633.b-_633.t);}},this);}}catch(e){}this.dirty=false;return this;},_animateGrid:function(_63b,type,_63c,size){var _63d=type=="h"?[_63c,0]:[0,_63c];var _63e=type=="h"?[1/size,1]:[1,1/size];dojox.gfx.fx.animateTransform(dojo.delegate({shape:_63b,duration:1200,transform:[{name:"translate",start:_63d,end:[0,0]},{name:"scale",start:_63e,end:[1,1]},{name:"original"}]},this.animate)).play();}});})();}if(!dojo._hasResource["dojox.charting.plot2d.Pie"]){dojo._hasResource["dojox.charting.plot2d.Pie"]=true;dojo.provide("dojox.charting.plot2d.Pie");(function(){var df=dojox.lang.functional,du=dojox.lang.utils,dc=dojox.charting.plot2d.common,da=dojox.charting.axis2d.common,g=dojox.gfx,m=g.matrix,_63f=0.2;dojo.declare("dojox.charting.plot2d.Pie",[dojox.charting.Element,dojox.charting.plot2d._PlotEvents],{defaultParams:{labels:true,ticks:false,fixed:true,precision:1,labelOffset:20,labelStyle:"default",htmlLabels:true,radGrad:"native",fanSize:5,startAngle:0},optionalParams:{radius:0,stroke:{},outline:{},shadow:{},fill:{},font:"",fontColor:"",labelWiring:{}},constructor:function(_640,_641){this.opt=dojo.clone(this.defaultParams);du.updateWithObject(this.opt,_641);du.updateWithPattern(this.opt,_641,this.optionalParams);this.run=null;this.dyn=[];},clear:function(){this.dirty=true;this.dyn=[];this.run=null;return this;},setAxis:function(axis){return this;},addSeries:function(run){this.run=run;return this;},getSeriesStats:function(){return dojo.delegate(dc.defaultStats);},initializeScalers:function(){return this;},getRequiredColors:function(){return this.run?this.run.data.length:0;},render:function(dim,_642){if(!this.dirty){return this;}this.resetEvents();this.dirty=false;this._eventSeries={};this.cleanGroup();var s=this.group,t=this.chart.theme;if(!this.run||!this.run.data.length){return this;}var rx=(dim.width-_642.l-_642.r)/2,ry=(dim.height-_642.t-_642.b)/2,r=Math.min(rx,ry),_643="font" in this.opt?this.opt.font:t.axis.font,size=_643?g.normalizedLength(g.splitFontString(_643).size):0,_644="fontColor" in this.opt?this.opt.fontColor:t.axis.fontColor,_645=m._degToRad(this.opt.startAngle),_646=_645,step,_647,_648,_649,_64a,_64b,run=this.run.data,_64c=this.events();if(typeof run[0]=="number"){_647=df.map(run,"x ? Math.max(x, 0) : 0");if(df.every(_647,"<= 0")){return this;}_648=df.map(_647,"/this",df.foldl(_647,"+",0));if(this.opt.labels){_649=dojo.map(_648,function(x){return x>0?this._getLabel(x*100)+"%":"";},this);}}else{_647=df.map(run,"x ? Math.max(x.y, 0) : 0");if(df.every(_647,"<= 0")){return this;}_648=df.map(_647,"/this",df.foldl(_647,"+",0));if(this.opt.labels){_649=dojo.map(_648,function(x,i){if(x<=0){return "";}var v=run[i];return "text" in v?v.text:this._getLabel(x*100)+"%";},this);}}var _64d=df.map(run,function(v,i){if(v===null||typeof v=="number"){return t.next("slice",[this.opt,this.run],true);}return t.next("slice",[this.opt,this.run,v],true);},this);if(this.opt.labels){_64a=df.foldl1(df.map(_649,function(_64e,i){var font=_64d[i].series.font;return dojox.gfx._base._getTextBox(_64e,{font:font}).w;},this),"Math.max(a, b)")/2;if(this.opt.labelOffset<0){r=Math.min(rx-2*_64a,ry-size)+this.opt.labelOffset;}_64b=r-this.opt.labelOffset;}if("radius" in this.opt){r=this.opt.radius;_64b=r-this.opt.labelOffset;}var _64f={cx:_642.l+rx,cy:_642.t+ry,r:r};this.dyn=[];var _650=new Array(_648.length);dojo.some(_648,function(_651,i){if(_651<=0){return false;}var v=run[i],_652=_64d[i],_653;if(_651>=1){_653=this._plotFill(_652.series.fill,dim,_642);_653=this._shapeFill(_653,{x:_64f.cx-_64f.r,y:_64f.cy-_64f.r,width:2*_64f.r,height:2*_64f.r});_653=this._pseudoRadialFill(_653,{x:_64f.cx,y:_64f.cy},_64f.r);var _654=s.createCircle(_64f).setFill(_653).setStroke(_652.series.stroke);this.dyn.push({fill:_653,stroke:_652.series.stroke});if(_64c){var o={element:"slice",index:i,run:this.run,shape:_654,x:i,y:typeof v=="number"?v:v.y,cx:_64f.cx,cy:_64f.cy,cr:r};this._connectEvents(o);_650[i]=o;}return true;}var end=_646+_651*2*Math.PI;if(i+1==_648.length){end=_645+2*Math.PI;}var step=end-_646,x1=_64f.cx+r*Math.cos(_646),y1=_64f.cy+r*Math.sin(_646),x2=_64f.cx+r*Math.cos(end),y2=_64f.cy+r*Math.sin(end);var _655=m._degToRad(this.opt.fanSize);if(_652.series.fill&&_652.series.fill.type==="radial"&&this.opt.radGrad==="fan"&&step>_655){var _656=s.createGroup(),_657=Math.ceil(step/_655),_658=step/_657;_653=this._shapeFill(_652.series.fill,{x:_64f.cx-_64f.r,y:_64f.cy-_64f.r,width:2*_64f.r,height:2*_64f.r});for(var j=0;j<_657;++j){var _659=j==0?x1:_64f.cx+r*Math.cos(_646+(j-_63f)*_658),_65a=j==0?y1:_64f.cy+r*Math.sin(_646+(j-_63f)*_658),_65b=j==_657-1?x2:_64f.cx+r*Math.cos(_646+(j+1+_63f)*_658),_65c=j==_657-1?y2:_64f.cy+r*Math.sin(_646+(j+1+_63f)*_658),fan=_656.createPath({}).moveTo(_64f.cx,_64f.cy).lineTo(_659,_65a).arcTo(r,r,0,_658>Math.PI,true,_65b,_65c).lineTo(_64f.cx,_64f.cy).closePath().setFill(this._pseudoRadialFill(_653,{x:_64f.cx,y:_64f.cy},r,_646+(j+0.5)*_658,_646+(j+0.5)*_658));}_656.createPath({}).moveTo(_64f.cx,_64f.cy).lineTo(x1,y1).arcTo(r,r,0,step>Math.PI,true,x2,y2).lineTo(_64f.cx,_64f.cy).closePath().setStroke(_652.series.stroke);_654=_656;}else{_654=s.createPath({}).moveTo(_64f.cx,_64f.cy).lineTo(x1,y1).arcTo(r,r,0,step>Math.PI,true,x2,y2).lineTo(_64f.cx,_64f.cy).closePath().setStroke(_652.series.stroke);var _653=_652.series.fill;if(_653&&_653.type==="radial"){_653=this._shapeFill(_653,{x:_64f.cx-_64f.r,y:_64f.cy-_64f.r,width:2*_64f.r,height:2*_64f.r});if(this.opt.radGrad==="linear"){_653=this._pseudoRadialFill(_653,{x:_64f.cx,y:_64f.cy},r,_646,end);}}else{if(_653&&_653.type==="linear"){_653=this._plotFill(_653,dim,_642);_653=this._shapeFill(_653,_654.getBoundingBox());}}_654.setFill(_653);}this.dyn.push({fill:_653,stroke:_652.series.stroke});if(_64c){var o={element:"slice",index:i,run:this.run,shape:_654,x:i,y:typeof v=="number"?v:v.y,cx:_64f.cx,cy:_64f.cy,cr:r};this._connectEvents(o);_650[i]=o;}_646=end;return false;},this);if(this.opt.labels){if(this.opt.labelStyle=="default"){_646=_645;dojo.some(_648,function(_65d,i){if(_65d<=0){return false;}var _65e=_64d[i];if(_65d>=1){var v=run[i],elem=da.createText[this.opt.htmlLabels&&dojox.gfx.renderer!="vml"?"html":"gfx"](this.chart,s,_64f.cx,_64f.cy+size/2,"middle",_649[i],_65e.series.font,_65e.series.fontColor);if(this.opt.htmlLabels){this.htmlElements.push(elem);}return true;}var end=_646+_65d*2*Math.PI,v=run[i];if(i+1==_648.length){end=_645+2*Math.PI;}var _65f=(_646+end)/2,x=_64f.cx+_64b*Math.cos(_65f),y=_64f.cy+_64b*Math.sin(_65f)+size/2;var elem=da.createText[this.opt.htmlLabels&&dojox.gfx.renderer!="vml"?"html":"gfx"](this.chart,s,x,y,"middle",_649[i],_65e.series.font,_65e.series.fontColor);if(this.opt.htmlLabels){this.htmlElements.push(elem);}_646=end;return false;},this);}else{if(this.opt.labelStyle=="columns"){_646=_645;var _660=[];dojo.forEach(_648,function(_661,i){var end=_646+_661*2*Math.PI;if(i+1==_648.length){end=_645+2*Math.PI;}var _662=(_646+end)/2;_660.push({angle:_662,left:Math.cos(_662)<0,theme:_64d[i],index:i,omit:end-_646<0.001});_646=end;});var _663=dojox.gfx._base._getTextBox("a",{font:_643}).h;this._getProperLabelRadius(_660,_663,_64f.r*1.1);dojo.forEach(_660,function(_664,i){if(!_664.omit){var _665=_64f.cx-_64f.r*2,_666=_64f.cx+_64f.r*2,_667=dojox.gfx._base._getTextBox(_649[i],{font:_643}).w,x=_64f.cx+_664.labelR*Math.cos(_664.angle),y=_64f.cy+_664.labelR*Math.sin(_664.angle),_668=(_664.left)?(_665+_667):(_666-_667),_669=(_664.left)?_665:_668;var _66a=s.createPath().moveTo(_64f.cx+_64f.r*Math.cos(_664.angle),_64f.cy+_64f.r*Math.sin(_664.angle));if(Math.abs(_664.labelR*Math.cos(_664.angle))<_64f.r*2-_667){_66a.lineTo(x,y);}_66a.lineTo(_668,y).setStroke(_664.theme.series.labelWiring);var elem=da.createText[this.opt.htmlLabels&&dojox.gfx.renderer!="vml"?"html":"gfx"](this.chart,s,_669,y,"left",_649[i],_664.theme.series.font,_664.theme.series.fontColor);if(this.opt.htmlLabels){this.htmlElements.push(elem);}}},this);}}}var esi=0;this._eventSeries[this.run.name]=df.map(run,function(v){return v<=0?null:_650[esi++];});return this;},_getProperLabelRadius:function(_66b,_66c,_66d){var _66e={},_66f={},_670=1,_671=1;if(_66b.length==1){_66b[0].labelR=_66d;return;}for(var i=0;i<_66b.length;i++){var _672=Math.abs(Math.sin(_66b[i].angle));if(_66b[i].left){if(_670>_672){_670=_672;_66e=_66b[i];}}else{if(_671>_672){_671=_672;_66f=_66b[i];}}}_66e.labelR=_66f.labelR=_66d;this._caculateLabelR(_66e,_66b,_66c);this._caculateLabelR(_66f,_66b,_66c);},_caculateLabelR:function(_673,_674,_675){var i=_673.index,_676=_674.length,_677=_673.labelR;while(!(_674[i%_676].left^_674[(i+1)%_676].left)){if(!_674[(i+1)%_676].omit){var _678=(Math.sin(_674[i%_676].angle)*_677+((_674[i%_676].left)?(-_675):_675))/Math.sin(_674[(i+1)%_676].angle);_677=(_678<_673.labelR)?_673.labelR:_678;_674[(i+1)%_676].labelR=_677;}i++;}i=_673.index,j=(i==0)?_676-1:i-1;while(!(_674[i].left^_674[j].left)){if(!_674[j].omit){var _678=(Math.sin(_674[i].angle)*_677+((_674[i].left)?_675:(-_675)))/Math.sin(_674[j].angle);_677=(_678<_673.labelR)?_673.labelR:_678;_674[j].labelR=_677;}i--;j--;i=(i<0)?i+_674.length:i;j=(j<0)?j+_674.length:j;}},_getLabel:function(_679){return dc.getLabel(_679,this.opt.fixed,this.opt.precision);}});})();}if(!dojo._hasResource["dojox.charting.plot2d.Bubble"]){dojo._hasResource["dojox.charting.plot2d.Bubble"]=true;dojo.provide("dojox.charting.plot2d.Bubble");(function(){var df=dojox.lang.functional,du=dojox.lang.utils,dc=dojox.charting.plot2d.common,_67a=df.lambda("item.purgeGroup()");dojo.declare("dojox.charting.plot2d.Bubble",dojox.charting.plot2d.Base,{defaultParams:{hAxis:"x",vAxis:"y",animate:null},optionalParams:{stroke:{},outline:{},shadow:{},fill:{},font:"",fontColor:""},constructor:function(_67b,_67c){this.opt=dojo.clone(this.defaultParams);du.updateWithObject(this.opt,_67c);du.updateWithPattern(this.opt,_67c,this.optionalParams);this.series=[];this.hAxis=this.opt.hAxis;this.vAxis=this.opt.vAxis;this.animate=this.opt.animate;},render:function(dim,_67d){if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_67d);}this.resetEvents();this.dirty=this.isDirty();if(this.dirty){dojo.forEach(this.series,_67a);this._eventSeries={};this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler),_67e=this.events();for(var i=this.series.length-1;i>=0;--i){var run=this.series[i];if(!this.dirty&&!run.dirty){t.skip();this._reconnectEvents(run.name);continue;}run.cleanGroup();if(!run.data.length){run.dirty=false;t.skip();continue;}if(typeof run.data[0]=="number"){console.warn("dojox.charting.plot2d.Bubble: the data in the following series cannot be rendered as a bubble chart; ",run);continue;}var _67f=t.next("circle",[this.opt,run]),s=run.group,_680=dojo.map(run.data,function(v,i){return v?{x:ht(v.x)+_67d.l,y:dim.height-_67d.b-vt(v.y),radius:this._vScaler.bounds.scale*(v.size/2)}:null;},this);var _681=null,_682=null,_683=null;if(_67f.series.shadow){_683=dojo.map(_680,function(item){if(item!==null){var _684=t.addMixin(_67f,"circle",item,true),_685=_684.series.shadow;var _686=s.createCircle({cx:item.x+_685.dx,cy:item.y+_685.dy,r:item.radius}).setStroke(_685).setFill(_685.color);if(this.animate){this._animateBubble(_686,dim.height-_67d.b,item.radius);}return _686;}return null;},this);if(_683.length){run.dyn.shadow=_683[_683.length-1].getStroke();}}if(_67f.series.outline){_682=dojo.map(_680,function(item){if(item!==null){var _687=t.addMixin(_67f,"circle",item,true),_688=dc.makeStroke(_687.series.outline);_688.width=2*_688.width+_67f.series.stroke.width;var _689=s.createCircle({cx:item.x,cy:item.y,r:item.radius}).setStroke(_688);if(this.animate){this._animateBubble(_689,dim.height-_67d.b,item.radius);}return _689;}return null;},this);if(_682.length){run.dyn.outline=_682[_682.length-1].getStroke();}}_681=dojo.map(_680,function(item){if(item!==null){var _68a=t.addMixin(_67f,"circle",item,true),rect={x:item.x-item.radius,y:item.y-item.radius,width:2*item.radius,height:2*item.radius};var _68b=this._plotFill(_68a.series.fill,dim,_67d);_68b=this._shapeFill(_68b,rect);var _68c=s.createCircle({cx:item.x,cy:item.y,r:item.radius}).setFill(_68b).setStroke(_68a.series.stroke);if(this.animate){this._animateBubble(_68c,dim.height-_67d.b,item.radius);}return _68c;}return null;},this);if(_681.length){run.dyn.fill=_681[_681.length-1].getFill();run.dyn.stroke=_681[_681.length-1].getStroke();}if(_67e){var _68d=new Array(_681.length);dojo.forEach(_681,function(s,i){if(s!==null){var o={element:"circle",index:i,run:run,shape:s,outline:_682&&_682[i]||null,shadow:_683&&_683[i]||null,x:run.data[i].x,y:run.data[i].y,r:run.data[i].size/2,cx:_680[i].x,cy:_680[i].y,cr:_680[i].radius};this._connectEvents(o);_68d[i]=o;}},this);this._eventSeries[run.name]=_68d;}else{delete this._eventSeries[run.name];}run.dirty=false;}this.dirty=false;return this;},_animateBubble:function(_68e,_68f,size){dojox.gfx.fx.animateTransform(dojo.delegate({shape:_68e,duration:1200,transform:[{name:"translate",start:[0,_68f],end:[0,0]},{name:"scale",start:[0,1/size],end:[1,1]},{name:"original"}]},this.animate)).play();}});})();}if(!dojo._hasResource["dojox.charting.plot2d.Candlesticks"]){dojo._hasResource["dojox.charting.plot2d.Candlesticks"]=true;dojo.provide("dojox.charting.plot2d.Candlesticks");(function(){var df=dojox.lang.functional,du=dojox.lang.utils,dc=dojox.charting.plot2d.common,_690=df.lambda("item.purgeGroup()");dojo.declare("dojox.charting.plot2d.Candlesticks",dojox.charting.plot2d.Base,{defaultParams:{hAxis:"x",vAxis:"y",gap:2,animate:null},optionalParams:{minBarSize:1,maxBarSize:1,stroke:{},outline:{},shadow:{},fill:{},font:"",fontColor:""},constructor:function(_691,_692){this.opt=dojo.clone(this.defaultParams);du.updateWithObject(this.opt,_692);du.updateWithPattern(this.opt,_692,this.optionalParams);this.series=[];this.hAxis=this.opt.hAxis;this.vAxis=this.opt.vAxis;this.animate=this.opt.animate;},collectStats:function(_693){var _694=dojo.delegate(dc.defaultStats);for(var i=0;i<_693.length;i++){var run=_693[i];if(!run.data.length){continue;}var _695=_694.vmin,_696=_694.vmax;if(!("ymin" in run)||!("ymax" in run)){dojo.forEach(run.data,function(val,idx){if(val!==null){var x=val.x||idx+1;_694.hmin=Math.min(_694.hmin,x);_694.hmax=Math.max(_694.hmax,x);_694.vmin=Math.min(_694.vmin,val.open,val.close,val.high,val.low);_694.vmax=Math.max(_694.vmax,val.open,val.close,val.high,val.low);}});}if("ymin" in run){_694.vmin=Math.min(_695,run.ymin);}if("ymax" in run){_694.vmax=Math.max(_696,run.ymax);}}return _694;},getSeriesStats:function(){var _697=this.collectStats(this.series);_697.hmin-=0.5;_697.hmax+=0.5;return _697;},render:function(dim,_698){if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_698);}this.resetEvents();this.dirty=this.isDirty();if(this.dirty){dojo.forEach(this.series,_690);this._eventSeries={};this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,f,gap,_699,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler),_69a=Math.max(0,this._vScaler.bounds.lower),_69b=vt(_69a),_69c=this.events();f=dc.calculateBarSize(this._hScaler.bounds.scale,this.opt);gap=f.gap;_699=f.size;for(var i=this.series.length-1;i>=0;--i){var run=this.series[i];if(!this.dirty&&!run.dirty){t.skip();this._reconnectEvents(run.name);continue;}run.cleanGroup();var _69d=t.next("candlestick",[this.opt,run]),s=run.group,_69e=new Array(run.data.length);for(var j=0;j<run.data.length;++j){var v=run.data[j];if(v!==null){var _69f=t.addMixin(_69d,"candlestick",v,true);var x=ht(v.x||(j+0.5))+_698.l+gap,y=dim.height-_698.b,open=vt(v.open),_6a0=vt(v.close),high=vt(v.high),low=vt(v.low);if("mid" in v){var mid=vt(v.mid);}if(low>high){var tmp=high;high=low;low=tmp;}if(_699>=1){var _6a1=open>_6a0;var line={x1:_699/2,x2:_699/2,y1:y-high,y2:y-low},rect={x:0,y:y-Math.max(open,_6a0),width:_699,height:Math.max(_6a1?open-_6a0:_6a0-open,1)};shape=s.createGroup();shape.setTransform({dx:x,dy:0});var _6a2=shape.createGroup();_6a2.createLine(line).setStroke(_69f.series.stroke);_6a2.createRect(rect).setStroke(_69f.series.stroke).setFill(_6a1?_69f.series.fill:"white");if("mid" in v){_6a2.createLine({x1:(_69f.series.stroke.width||1),x2:_699-(_69f.series.stroke.width||1),y1:y-mid,y2:y-mid}).setStroke(_6a1?"white":_69f.series.stroke);}run.dyn.fill=_69f.series.fill;run.dyn.stroke=_69f.series.stroke;if(_69c){var o={element:"candlestick",index:j,run:run,shape:_6a2,x:x,y:y-Math.max(open,_6a0),cx:_699/2,cy:(y-Math.max(open,_6a0))+(Math.max(_6a1?open-_6a0:_6a0-open,1)/2),width:_699,height:Math.max(_6a1?open-_6a0:_6a0-open,1),data:v};this._connectEvents(o);_69e[j]=o;}}if(this.animate){this._animateCandlesticks(shape,y-low,high-low);}}}this._eventSeries[run.name]=_69e;run.dirty=false;}this.dirty=false;return this;},_animateCandlesticks:function(_6a3,_6a4,_6a5){dojox.gfx.fx.animateTransform(dojo.delegate({shape:_6a3,duration:1200,transform:[{name:"translate",start:[0,_6a4-(_6a4/_6a5)],end:[0,0]},{name:"scale",start:[1,1/_6a5],end:[1,1]},{name:"original"}]},this.animate)).play();}});})();}if(!dojo._hasResource["dojox.charting.plot2d.OHLC"]){dojo._hasResource["dojox.charting.plot2d.OHLC"]=true;dojo.provide("dojox.charting.plot2d.OHLC");(function(){var df=dojox.lang.functional,du=dojox.lang.utils,dc=dojox.charting.plot2d.common,_6a6=df.lambda("item.purgeGroup()");dojo.declare("dojox.charting.plot2d.OHLC",dojox.charting.plot2d.Base,{defaultParams:{hAxis:"x",vAxis:"y",gap:2,animate:null},optionalParams:{minBarSize:1,maxBarSize:1,stroke:{},outline:{},shadow:{},fill:{},font:"",fontColor:""},constructor:function(_6a7,_6a8){this.opt=dojo.clone(this.defaultParams);du.updateWithObject(this.opt,_6a8);du.updateWithPattern(this.opt,_6a8,this.optionalParams);this.series=[];this.hAxis=this.opt.hAxis;this.vAxis=this.opt.vAxis;this.animate=this.opt.animate;},collectStats:function(_6a9){var _6aa=dojo.delegate(dc.defaultStats);for(var i=0;i<_6a9.length;i++){var run=_6a9[i];if(!run.data.length){continue;}var _6ab=_6aa.vmin,_6ac=_6aa.vmax;if(!("ymin" in run)||!("ymax" in run)){dojo.forEach(run.data,function(val,idx){if(val!==null){var x=val.x||idx+1;_6aa.hmin=Math.min(_6aa.hmin,x);_6aa.hmax=Math.max(_6aa.hmax,x);_6aa.vmin=Math.min(_6aa.vmin,val.open,val.close,val.high,val.low);_6aa.vmax=Math.max(_6aa.vmax,val.open,val.close,val.high,val.low);}});}if("ymin" in run){_6aa.vmin=Math.min(_6ab,run.ymin);}if("ymax" in run){_6aa.vmax=Math.max(_6ac,run.ymax);}}return _6aa;},getSeriesStats:function(){var _6ad=this.collectStats(this.series);_6ad.hmin-=0.5;_6ad.hmax+=0.5;return _6ad;},render:function(dim,_6ae){if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_6ae);}this.resetEvents();this.dirty=this.isDirty();if(this.dirty){dojo.forEach(this.series,_6a6);this._eventSeries={};this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,f,gap,_6af,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler),_6b0=Math.max(0,this._vScaler.bounds.lower),_6b1=vt(_6b0),_6b2=this.events();f=dc.calculateBarSize(this._hScaler.bounds.scale,this.opt);gap=f.gap;_6af=f.size;for(var i=this.series.length-1;i>=0;--i){var run=this.series[i];if(!this.dirty&&!run.dirty){t.skip();this._reconnectEvents(run.name);continue;}run.cleanGroup();var _6b3=t.next("candlestick",[this.opt,run]),s=run.group,_6b4=new Array(run.data.length);for(var j=0;j<run.data.length;++j){var v=run.data[j];if(v!==null){var _6b5=t.addMixin(_6b3,"candlestick",v,true);var x=ht(v.x||(j+0.5))+_6ae.l+gap,y=dim.height-_6ae.b,open=vt(v.open),_6b6=vt(v.close),high=vt(v.high),low=vt(v.low);if(low>high){var tmp=high;high=low;low=tmp;}if(_6af>=1){var hl={x1:_6af/2,x2:_6af/2,y1:y-high,y2:y-low},op={x1:0,x2:((_6af/2)+((_6b5.series.stroke.width||1)/2)),y1:y-open,y2:y-open},cl={x1:((_6af/2)-((_6b5.series.stroke.width||1)/2)),x2:_6af,y1:y-_6b6,y2:y-_6b6};shape=s.createGroup();shape.setTransform({dx:x,dy:0});var _6b7=shape.createGroup();_6b7.createLine(hl).setStroke(_6b5.series.stroke);_6b7.createLine(op).setStroke(_6b5.series.stroke);_6b7.createLine(cl).setStroke(_6b5.series.stroke);run.dyn.stroke=_6b5.series.stroke;if(_6b2){var o={element:"candlestick",index:j,run:run,shape:_6b7,x:x,y:y-Math.max(open,_6b6),cx:_6af/2,cy:(y-Math.max(open,_6b6))+(Math.max(open>_6b6?open-_6b6:_6b6-open,1)/2),width:_6af,height:Math.max(open>_6b6?open-_6b6:_6b6-open,1),data:v};this._connectEvents(o);_6b4[j]=o;}}if(this.animate){this._animateOHLC(shape,y-low,high-low);}}}this._eventSeries[run.name]=_6b4;run.dirty=false;}this.dirty=false;return this;},_animateOHLC:function(_6b8,_6b9,_6ba){dojox.gfx.fx.animateTransform(dojo.delegate({shape:_6b8,duration:1200,transform:[{name:"translate",start:[0,_6b9-(_6b9/_6ba)],end:[0,0]},{name:"scale",start:[1,1/_6ba],end:[1,1]},{name:"original"}]},this.animate)).play();}});})();}if(!dojo._hasResource["dojox.charting.plot2d.Spider"]){dojo._hasResource["dojox.charting.plot2d.Spider"]=true;dojo.provide("dojox.charting.plot2d.Spider");dojo.experimental("dojox.charting.plot2d.Spider");(function(){var df=dojox.lang.functional,du=dojox.lang.utils,dc=dojox.charting.plot2d.common,da=dojox.charting.axis2d.common,g=dojox.gfx,m=g.matrix,_6bb=0.2;dojo.declare("dojox.charting.plot2d.Spider",[dojox.charting.Element,dojox.charting.plot2d._PlotEvents],{defaultParams:{labels:true,ticks:false,fixed:true,precision:1,labelOffset:-10,labelStyle:"default",htmlLabels:true,startAngle:-90,divisions:3,axisColor:"",axisWidth:0,spiderColor:"",spiderWidth:0,seriesWidth:0,seriesFillAlpha:0.2,spiderOrigin:0.16,markerSize:3,spiderType:"polygon",animationType:dojo.fx.easing.backOut,axisTickFont:"",axisTickFontColor:"",axisFont:"",axisFontColor:""},optionalParams:{radius:0,font:"",fontColor:""},constructor:function(_6bc,_6bd){this.opt=dojo.clone(this.defaultParams);du.updateWithObject(this.opt,_6bd);du.updateWithPattern(this.opt,_6bd,this.optionalParams);this.series=[];this.dyn=[];this.datas={};this.labelKey=[];this.oldSeriePoints={};this.animations={};},clear:function(){this.dirty=true;this.dyn=[];this.series=[];this.datas={};this.labelKey=[];this.oldSeriePoints={};this.animations={};return this;},setAxis:function(axis){return this;},addSeries:function(run){var _6be=false;this.series.push(run);for(var key in run.data){var val=run.data[key],data=this.datas[key];if(data){data.vlist.push(val);data.min=Math.min(data.min,val);data.max=Math.max(data.max,val);}else{this.datas[key]={min:val,max:val,vlist:[val]};}}if(this.labelKey.length<=0){for(var key in run.data){this.labelKey.push(key);}}return this;},getSeriesStats:function(){return dojox.charting.plot2d.common.collectSimpleStats(this.series);},calculateAxes:function(dim){this.initializeScalers(dim,this.getSeriesStats());return this;},getRequiredColors:function(){return this.series.length;},initializeScalers:function(dim,_6bf){if(this._hAxis){if(!this._hAxis.initialized()){this._hAxis.calculate(_6bf.hmin,_6bf.hmax,dim.width);}this._hScaler=this._hAxis.getScaler();}else{this._hScaler=dojox.charting.scaler.primitive.buildScaler(_6bf.hmin,_6bf.hmax,dim.width);}if(this._vAxis){if(!this._vAxis.initialized()){this._vAxis.calculate(_6bf.vmin,_6bf.vmax,dim.height);}this._vScaler=this._vAxis.getScaler();}else{this._vScaler=dojox.charting.scaler.primitive.buildScaler(_6bf.vmin,_6bf.vmax,dim.height);}return this;},render:function(dim,_6c0){if(!this.dirty){return this;}this.dirty=false;this.cleanGroup();var s=this.group,t=this.chart.theme;this.resetEvents();if(!this.series||!this.series.length){return this;}var o=this.opt,ta=t.axis,rx=(dim.width-_6c0.l-_6c0.r)/2,ry=(dim.height-_6c0.t-_6c0.b)/2,r=Math.min(rx,ry),_6c1=o.font||(ta.majorTick&&ta.majorTick.font)||(ta.tick&&ta.tick.font)||"normal normal normal 7pt Tahoma",_6c2=o.axisFont||(ta.tick&&ta.tick.titleFont)||"normal normal normal 11pt Tahoma",_6c3=o.axisTickFontColor||(ta.majorTick&&ta.majorTick.fontColor)||(ta.tick&&ta.tick.fontColor)||"silver",_6c4=o.axisFontColor||(ta.tick&&ta.tick.titleFontColor)||"black",_6c5=o.axisColor||(ta.tick&&ta.tick.axisColor)||"silver",_6c6=o.spiderColor||(ta.tick&&ta.tick.spiderColor)||"silver",_6c7=o.axisWidth||(ta.stroke&&ta.stroke.width)||2,_6c8=o.spiderWidth||(ta.stroke&&ta.stroke.width)||2,_6c9=o.seriesWidth||(ta.stroke&&ta.stroke.width)||2,_6ca=g.normalizedLength(g.splitFontString(_6c2).size),_6cb=m._degToRad(o.startAngle),_6cc=_6cb,step,_6cd,_6ce,_6cf,_6d0,_6d1,_6d2,_6d3,_6d4,_6d5,_6d6,ro=o.spiderOrigin,dv=o.divisions>=3?o.divisions:3,ms=o.markerSize,spt=o.spiderType,at=o.animationType,_6d7=o.labelOffset<-10?o.labelOffset:-10,_6d8=0.2;if(o.labels){_6cf=dojo.map(this.series,function(s){return s.name;},this);_6d0=df.foldl1(df.map(_6cf,function(_6d9,i){var font=t.series.font;return dojox.gfx._base._getTextBox(_6d9,{font:font}).w;},this),"Math.max(a, b)")/2;r=Math.min(rx-2*_6d0,ry-_6ca)+_6d7;_6d1=r-_6d7;}if("radius" in o){r=o.radius;_6d1=r-_6d7;}r/=(1+_6d8);var _6da={cx:_6c0.l+rx,cy:_6c0.t+ry,r:r};for(var i=this.series.length-1;i>=0;i--){var _6db=this.series[i];if(!this.dirty&&!_6db.dirty){t.skip();continue;}_6db.cleanGroup();var run=_6db.data;if(run!==null){var len=this._getObjectLength(run);if(!_6d2||_6d2.length<=0){_6d2=[],_6d3=[],_6d6=[];this._buildPoints(_6d2,len,_6da,r,_6cc,true);this._buildPoints(_6d3,len,_6da,r*ro,_6cc,true);this._buildPoints(_6d6,len,_6da,_6d1,_6cc);if(dv>2){_6d4=[],_6d5=[];for(var j=0;j<dv-2;j++){_6d4[j]=[];this._buildPoints(_6d4[j],len,_6da,r*(ro+(1-ro)*(j+1)/(dv-1)),_6cc,true);_6d5[j]=r*(ro+(1-ro)*(j+1)/(dv-1));}}}}}var _6dc=s.createGroup(),_6dd={color:_6c5,width:_6c7},_6de={color:_6c6,width:_6c8};for(var j=_6d2.length-1;j>=0;--j){var _6df=_6d2[j],st={x:_6df.x+(_6df.x-_6da.cx)*_6d8,y:_6df.y+(_6df.y-_6da.cy)*_6d8},nd={x:_6df.x+(_6df.x-_6da.cx)*_6d8/2,y:_6df.y+(_6df.y-_6da.cy)*_6d8/2};_6dc.createLine({x1:_6da.cx,y1:_6da.cy,x2:st.x,y2:st.y}).setStroke(_6dd);this._drawArrow(_6dc,st,nd,_6dd);}var _6e0=s.createGroup();for(var j=_6d6.length-1;j>=0;--j){var _6df=_6d6[j],_6e1=dojox.gfx._base._getTextBox(this.labelKey[j],{font:_6c2}).w||0,_6e2=this.opt.htmlLabels&&dojox.gfx.renderer!="vml"?"html":"gfx";elem=da.createText[_6e2](this.chart,_6e0,(!dojo._isBodyLtr()&&_6e2=="html")?(_6df.x+_6e1-dim.width):_6df.x,_6df.y,"middle",this.labelKey[j],_6c2,_6c4);if(this.opt.htmlLabels){this.htmlElements.push(elem);}}var _6e3=s.createGroup();if(spt=="polygon"){_6e3.createPolyline(_6d2).setStroke(_6de);_6e3.createPolyline(_6d3).setStroke(_6de);if(_6d4.length>0){for(var j=_6d4.length-1;j>=0;--j){_6e3.createPolyline(_6d4[j]).setStroke(_6de);}}}else{var _6e4=this._getObjectLength(this.datas);_6e3.createCircle({cx:_6da.cx,cy:_6da.cy,r:r}).setStroke(_6de);_6e3.createCircle({cx:_6da.cx,cy:_6da.cy,r:r*ro}).setStroke(_6de);if(_6d5.length>0){for(var j=_6d5.length-1;j>=0;--j){_6e3.createCircle({cx:_6da.cx,cy:_6da.cy,r:_6d5[j]}).setStroke(_6de);}}}var _6e5=s.createGroup(),len=this._getObjectLength(this.datas),k=0;for(var key in this.datas){var data=this.datas[key],min=data.min,max=data.max,_6e6=max-min,end=_6cc+2*Math.PI*k/len;for(var i=0;i<dv;i++){var text=min+_6e6*i/(dv-1),_6df=this._getCoordinate(_6da,r*(ro+(1-ro)*i/(dv-1)),end);text=this._getLabel(text);var _6e1=dojox.gfx._base._getTextBox(text,{font:_6c1}).w||0,_6e2=this.opt.htmlLabels&&dojox.gfx.renderer!="vml"?"html":"gfx";if(this.opt.htmlLabels){this.htmlElements.push(da.createText[_6e2](this.chart,_6e5,(!dojo._isBodyLtr()&&_6e2=="html")?(_6df.x+_6e1-dim.width):_6df.x,_6df.y,"start",text,_6c1,_6c3));}}k++;}this.chart.seriesShapes={};var _6e7=[];for(var i=this.series.length-1;i>=0;i--){var _6db=this.series[i],run=_6db.data;if(run!==null){var _6e8=[],k=0,_6e9=[];for(var key in run){var data=this.datas[key],min=data.min,max=data.max,_6e6=max-min,_6ea=run[key],end=_6cc+2*Math.PI*k/len,_6df=this._getCoordinate(_6da,r*(ro+(1-ro)*(_6ea-min)/_6e6),end);_6e8.push(_6df);_6e9.push({sname:_6db.name,key:key,data:_6ea});k++;}_6e8[_6e8.length]=_6e8[0];_6e9[_6e9.length]=_6e9[0];var _6eb=this._getBoundary(_6e8),_6ec=t.next("spider",[o,_6db]),ts=_6db.group,f=g.normalizeColor(_6ec.series.fill),sk={color:_6ec.series.fill,width:_6c9};f.a=o.seriesFillAlpha;_6db.dyn={fill:f,stroke:sk};var osps=this.oldSeriePoints[_6db.name];var cs=this._createSeriesEntry(ts,(osps||_6d3),_6e8,f,sk,r,ro,ms,at);this.chart.seriesShapes[_6db.name]=cs;this.oldSeriePoints[_6db.name]=_6e8;var po={element:"spider_poly",index:i,id:"spider_poly_"+_6db.name,run:_6db,plot:this,shape:cs.poly,parent:ts,brect:_6eb,cx:_6da.cx,cy:_6da.cy,cr:r,f:f,s:s};this._connectEvents(po);var so={element:"spider_plot",index:i,id:"spider_plot_"+_6db.name,run:_6db,plot:this,shape:_6db.group};this._connectEvents(so);dojo.forEach(cs.circles,function(c,i){var _6ed=c.getShape(),co={element:"spider_circle",index:i,id:"spider_circle_"+_6db.name+i,run:_6db,plot:this,shape:c,parent:ts,tdata:_6e9[i],cx:_6e8[i].x,cy:_6e8[i].y,f:f,s:s};this._connectEvents(co);},this);}}return this;},_createSeriesEntry:function(ts,osps,sps,f,sk,r,ro,ms,at){var _6ee=ts.createPolyline(osps).setFill(f).setStroke(sk),_6ef=[];for(var j=0;j<osps.length;j++){var _6f0=osps[j],cr=ms;var _6f1=ts.createCircle({cx:_6f0.x,cy:_6f0.y,r:cr}).setFill(f).setStroke(sk);_6ef.push(_6f1);}var _6f2=dojo.map(sps,function(np,j){var sp=osps[j],anim=new dojo._Animation({duration:1000,easing:at,curve:[sp.y,np.y]});var spl=_6ee,sc=_6ef[j];dojo.connect(anim,"onAnimate",function(y){var _6f3=spl.getShape();_6f3.points[j].y=y;spl.setShape(_6f3);var _6f4=sc.getShape();_6f4.cy=y;sc.setShape(_6f4);});return anim;});var _6f5=dojo.map(sps,function(np,j){var sp=osps[j],anim=new dojo._Animation({duration:1000,easing:at,curve:[sp.x,np.x]});var spl=_6ee,sc=_6ef[j];dojo.connect(anim,"onAnimate",function(x){var _6f6=spl.getShape();_6f6.points[j].x=x;spl.setShape(_6f6);var _6f7=sc.getShape();_6f7.cx=x;sc.setShape(_6f7);});return anim;});var _6f8=dojo.fx.combine(_6f2.concat(_6f5));_6f8.play();return {group:ts,poly:_6ee,circles:_6ef};},plotEvent:function(o){var _6f9=o.id?o.id:"default",a;if(_6f9 in this.animations){a=this.animations[_6f9];a.anim&&a.anim.stop(true);}else{a=this.animations[_6f9]={};}if(o.element=="spider_poly"){if(!a.color){var _6fa=o.shape.getFill();if(!_6fa||!(_6fa instanceof dojo.Color)){return;}a.color={start:_6fa,end:_6fb(_6fa)};}var _6fc=a.color.start,end=a.color.end;if(o.type=="onmouseout"){var t=_6fc;_6fc=end;end=t;}a.anim=dojox.gfx.fx.animateFill({shape:o.shape,duration:800,easing:dojo.fx.easing.backOut,color:{start:_6fc,end:end}});a.anim.play();}else{if(o.element=="spider_circle"){var init,_6fd,_6fe=1.5;if(o.type=="onmouseover"){init=dojox.gfx.matrix.identity;_6fd=_6fe;var _6ff={type:"rect"};_6ff.x=o.cx;_6ff.y=o.cy;_6ff.width=_6ff.height=1;var lt=dojo.coords(this.chart.node,true);_6ff.x+=lt.x;_6ff.y+=lt.y;_6ff.x=Math.round(_6ff.x);_6ff.y=Math.round(_6ff.y);_6ff.width=Math.ceil(_6ff.width);_6ff.height=Math.ceil(_6ff.height);this.aroundRect=_6ff;var _700=["after","before"];if(dijit&&dijit.Tooltip){dijit.showTooltip(o.tdata.sname+"<br/>"+o.tdata.key+"<br/>"+o.tdata.data,this.aroundRect,_700);}}else{init=dojox.gfx.matrix.scaleAt(_6fe,o.cx,o.cy);_6fd=1/_6fe;if(dijit&&dijit.Tooltip){this.aroundRect&&dijit.hideTooltip(this.aroundRect);}}var cs=o.shape.getShape(),init=m.scaleAt(_6fe,cs.cx,cs.cy),_701={shape:o.shape,duration:200,easing:dojo.fx.easing.backOut,transform:[{name:"scaleAt",start:[1,cs.cx,cs.cy],end:[_6fd,cs.cx,cs.cy]},init]};a.anim=dojox.gfx.fx.animateTransform(_701);a.anim.play();}else{if(o.element=="spider_plot"){if(o.type=="onmouseover"&&!dojo.isIE){o.shape.moveToFront();}}}}},_getBoundary:function(_702){var xmax=_702[0].x,xmin=_702[0].x,ymax=_702[0].y,ymin=_702[0].y;for(var i=0;i<_702.length;i++){var _703=_702[i];xmax=Math.max(_703.x,xmax);ymax=Math.max(_703.y,ymax);xmin=Math.min(_703.x,xmin);ymin=Math.min(_703.y,ymin);}return {x:xmin,y:ymin,width:xmax-xmin,height:ymax-ymin};},_drawArrow:function(s,_704,end,_705){var len=Math.sqrt(Math.pow(end.x-_704.x,2)+Math.pow(end.y-_704.y,2)),sin=(end.y-_704.y)/len,cos=(end.x-_704.x)/len,_706={x:end.x+(len/3)*(-sin),y:end.y+(len/3)*cos},_707={x:end.x+(len/3)*sin,y:end.y+(len/3)*(-cos)};s.createPolyline([_704,_706,_707]).setFill(_705.color).setStroke(_705);},_buildPoints:function(_708,_709,_70a,_70b,_70c,_70d){for(var i=0;i<_709;i++){var end=_70c+2*Math.PI*i/_709;_708.push(this._getCoordinate(_70a,_70b,end));}if(_70d){_708.push(this._getCoordinate(_70a,_70b,_70c+2*Math.PI));}},_getCoordinate:function(_70e,_70f,_710){return {x:_70e.cx+_70f*Math.cos(_710),y:_70e.cy+_70f*Math.sin(_710)};},_getObjectLength:function(obj){var _711=0;if(dojo.isObject(obj)){for(var key in obj){_711++;}}return _711;},_getLabel:function(_712){return dc.getLabel(_712,this.opt.fixed,this.opt.precision);}});function _6fb(_713){var a=new dojox.color.Color(_713),x=a.toHsl();if(x.s==0){x.l=x.l<50?100:0;}else{x.s=100;if(x.l<50){x.l=75;}else{if(x.l>75){x.l=50;}else{x.l=x.l-50>75-x.l?50:75;}}}var _713=dojox.color.fromHsl(x);_713.a=0.7;return _713;};})();}if(!dojo._hasResource["dojox.charting.Chart2D"]){dojo._hasResource["dojox.charting.Chart2D"]=true;dojo.provide("dojox.charting.Chart2D");dojo.deprecated("dojox.charting.Chart2D","Use dojo.charting.Chart instead and require all other components explicitly","2.0");dojox.charting.Chart2D=dojox.charting.Chart;}if(!dojo._hasResource["dojox.charting.widget.Chart2D"]){dojo._hasResource["dojox.charting.widget.Chart2D"]=true;dojo.provide("dojox.charting.widget.Chart2D");dojo.deprecated("dojox.charting.widget.Chart2D","Use dojo.charting.widget.Chart instead and require all other components explicitly","2.0");dojox.charting.widget.Chart2D=dojox.charting.widget.Chart;}if(!dojo._hasResource["dojox.charting.themes.gradientGenerator"]){dojo._hasResource["dojox.charting.themes.gradientGenerator"]=true;dojo.provide("dojox.charting.themes.gradientGenerator");(function(){var gg=dojox.charting.themes.gradientGenerator;gg.generateFills=function(_714,_715,_716,_717){var _718=dojox.charting.Theme;return dojo.map(_714,function(c){return _718.generateHslGradient(c,_715,_716,_717);});};gg.updateFills=function(_719,_71a,_71b,_71c){var _71d=dojox.charting.Theme;dojo.forEach(_719,function(t){if(t.fill&&!t.fill.type){t.fill=_71d.generateHslGradient(t.fill,_71a,_71b,_71c);}});};gg.generateMiniTheme=function(_71e,_71f,_720,_721,_722){var _723=dojox.charting.Theme;return dojo.map(_71e,function(c){c=new dojox.color.Color(c);return {fill:_723.generateHslGradient(c,_71f,_720,_721),stroke:{color:_723.generateHslColor(c,_722)}};});};gg.generateGradientByIntensity=function(_724,_725){_724=new dojo.Color(_724);return dojo.map(_725,function(stop){var s=stop.i/255;return {offset:stop.o,color:new dojo.Color([_724.r*s,_724.g*s,_724.b*s,_724.a])};});};})();}if(!dojo._hasResource["dojox.charting.themes.PrimaryColors"]){dojo._hasResource["dojox.charting.themes.PrimaryColors"]=true;dojo.provide("dojox.charting.themes.PrimaryColors");(function(){var dc=dojox.charting,_726=dc.themes,_727=["#f00","#0f0","#00f","#ff0","#0ff","#f0f"],_728={type:"linear",space:"plot",x1:0,y1:0,x2:0,y2:100};_726.PrimaryColors=new dc.Theme({seriesThemes:_726.gradientGenerator.generateMiniTheme(_727,_728,90,40,25)});})();}if(!dojo._hasResource["dojox.charting.themes.ThreeD"]){dojo._hasResource["dojox.charting.themes.ThreeD"]=true;dojo.provide("dojox.charting.themes.ThreeD");(function(){var dc=dojox.charting,_729=dc.themes,_72a=dc.Theme,gi=_729.gradientGenerator.generateGradientByIntensity,_72b=["#f00","#0f0","#00f","#ff0","#0ff","#f0f"],_72c={type:"linear",space:"shape",x1:0,y1:0,x2:100,y2:0},_72d=[{o:0,i:174},{o:0.08,i:231},{o:0.18,i:237},{o:0.3,i:231},{o:0.39,i:221},{o:0.49,i:206},{o:0.58,i:187},{o:0.68,i:165},{o:0.8,i:128},{o:0.9,i:102},{o:1,i:174}],_72e=2,_72f=100,_730=50,_731=dojo.map(_72b,function(c){var fill=dojo.delegate(_72c),_72b=fill.colors=_729.gradientGenerator.generateGradientByIntensity(c,_72d),_732=_72b[_72e].color;_732.r+=_72f;_732.g+=_72f;_732.b+=_72f;_732.sanitize();return fill;});_729.ThreeD=_729.PrimaryColors.clone();_729.ThreeD.series.shadow={dx:1,dy:1,width:3,color:[0,0,0,0.15]};_729.ThreeD.next=function(_733,_734,_735){if(_733=="bar"||_733=="column"){var _736=this._current%this.seriesThemes.length,s=this.seriesThemes[_736],old=s.fill;s.fill=_731[_736];var _737=_72a.prototype.next.apply(this,arguments);s.fill=old;return _737;}return _72a.prototype.next.apply(this,arguments);};})();}dojo.i18n._preloadLocalizations("dojo.nls.vclBlockMachines",["ROOT","en","en-gb","en-us","es","es-es","es-mx","ja","ja-jp","xx","zh","zh-cn"]);
