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

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

		http://dojotoolkit.org
*/

//>>built
require({cache:{"dojox/charting/plot2d/_PlotEvents":function(){define("dojox/charting/plot2d/_PlotEvents",["dojo/_base/lang","dojo/_base/array","dojo/_base/declare","dojo/_base/connect"],function(_1,_2,_3,_4){return _3("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=_1.delegate(o);t.originalEvent=o.type;t.originalPlot=o.plot;t.type="onindirect";_2.forEach(this.chart.stack,function(_5){if(_5!==this&&_5.plotEvent){t.plot=_5;_5.plotEvent(t);}},this);},connect:function(_6,_7){this.dirty=true;return _4.connect(this,"plotEvent",_6,_7);},events:function(){return !!this.plotEvent.after;},resetEvents:function(){if(this._shapeEvents.length){_2.forEach(this._shapeEvents,function(_8){_8.shape.disconnect(_8.handle);});this._shapeEvents=[];}this.raiseEvent({type:"onplotreset",plot:this});},_connectSingleEvent:function(o,_9){this._shapeEvents.push({shape:o.eventMask,handle:o.eventMask.connect(_9,this,function(e){o.type=_9;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(_a){var a=this._eventSeries[_a];if(a){_2.forEach(a,this._connectEvents,this);}},fireEvent:function(_b,_c,_d,_e){var s=this._eventSeries[_b];if(s&&s.length&&_d<s.length){var o=s[_d];o.type=_c;o.event=_e||null;this.raiseEvent(o);o.event=null;}}});});},"dojo/uacss":function(){define(["./dom-geometry","./_base/lang","./ready","./_base/sniff","./_base/window"],function(_f,_10,_11,has,_12){var _13=_12.doc.documentElement,ie=has("ie"),_14=has("opera"),maj=Math.floor,ff=has("ff"),_15=_f.boxModel.replace(/-/,""),_16={"dj_ie":ie,"dj_ie6":maj(ie)==6,"dj_ie7":maj(ie)==7,"dj_ie8":maj(ie)==8,"dj_ie9":maj(ie)==9,"dj_quirks":has("quirks"),"dj_iequirks":ie&&has("quirks"),"dj_opera":_14,"dj_khtml":has("khtml"),"dj_webkit":has("webkit"),"dj_safari":has("safari"),"dj_chrome":has("chrome"),"dj_gecko":has("mozilla"),"dj_ff3":maj(ff)==3};_16["dj_"+_15]=true;var _17="";for(var clz in _16){if(_16[clz]){_17+=clz+" ";}}_13.className=_10.trim(_13.className+" "+_17);_11(90,function(){if(!_f.isBodyLtr()){var _18="dj_rtl dijitRtl "+_17.replace(/ /g,"-rtl ");_13.className=_10.trim(_13.className+" "+_18+"dj_rtl dijitRtl "+_17.replace(/ /g,"-rtl "));}});return has;});},"dojox/charting/axis2d/Invisible":function(){define(["dojo/_base/lang","dojo/_base/declare","./Base","../scaler/linear","dojox/gfx","dojox/lang/utils","dojox/lang/functional","dojo/string"],function(_19,_1a,_1b,lin,g,du,df,_1c){var _1d=du.merge,_1e=4,_1f=45;return _1a("dojox.charting.axis2d.Invisible",_1b,{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(_20,_21){this.opt=_19.clone(this.defaultParams);du.updateWithObject(this.opt,_21);du.updateWithPattern(this.opt,_21,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(_22,_23){this.scale=_22;this.offset=_23;return this.clear();},getWindowScale:function(){return "scale" in this?this.scale:1;},getWindowOffset:function(){return "offset" in this?this.offset:0;},_groupLabelWidth:function(_24,_25,_26){if(!_24.length){return 0;}if(_19.isObject(_24[0])){_24=df.map(_24,function(_27){return _27.text;});}if(_26){_24=df.map(_24,function(_28){return _19.trim(_28).length==0?"":_28.substring(0,_26)+this.trailingSymbol;},this);}var s=_24.join("<br>");return g._base._getTextBox(s,{font:_25}).w||0;},calculate:function(min,max,_29,_2a){if(this.initialized()){return this;}var o=this.opt;this.labels="labels" in o?o.labels:_2a;this.scaler=lin.buildScaler(min,max,_29,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,_29,o);tsb=this.scaler.bounds;if(this.scale==1&&this.offset==0){delete this.scale;delete this.offset;}}var ta=this.chart.theme.axis,_2b=0,_2c=o.rotation%360,_2d=o.font||(ta.majorTick&&ta.majorTick.font)||(ta.tick&&ta.tick.font),_2e=_2d?g.normalizedLength(g.splitFontString(_2d).size):0,_2f=Math.abs(Math.cos(_2c*Math.PI/180)),_30=Math.abs(Math.sin(_2c*Math.PI/180));if(_2c<0){_2c+=360;}if(_2e){if(this.vertical?_2c!=0&&_2c!=180:_2c!=90&&_2c!=270){if(this.labels){_2b=this._groupLabelWidth(this.labels,_2d,o.maxLabelCharCount);}else{var _31=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(_1c.rep("9",_31));var _32=Math.floor(Math.log(tsb.to-tsb.from)/Math.LN10);if(_32>0){t.push(".");t.push(_1c.rep("9",_32));}_2b=g._base._getTextBox(t.join(""),{font:_2d}).w;}_2b=o.maxLabelSize?Math.min(o.maxLabelSize,_2b):_2b;}else{_2b=_2e;}switch(_2c){case 0:case 90:case 180:case 270:break;default:var _33=Math.sqrt(_2b*_2b+_2e*_2e),_34=this.vertical?_2e*_2f+_2b*_30:_2b*_2f+_2e*_30;_2b=Math.min(_33,_34);break;}}this.scaler.minMinorStep=_2b+_1e;this.ticks=lin.buildTicks(this.scaler,o);return this;},getScaler:function(){return this.scaler;},getTicks:function(){return this.ticks;}});});},"dojox/lang/utils":function(){define("dojox/lang/utils",["..","dojo/_base/lang"],function(_35,_36){var du=_36.getObject("lang.utils",true,_35);var _37={},_38=Object.prototype.toString;var _39=function(o){if(o){switch(_38.call(o)){case "[object Array]":return o.slice(0);case "[object Object]":return _36.delegate(o);}}return o;};_36.mixin(du,{coerceType:function(_3a,_3b){switch(typeof _3a){case "number":return Number(eval("("+_3b+")"));case "string":return String(_3b);case "boolean":return Boolean(eval("("+_3b+")"));}return eval("("+_3b+")");},updateWithObject:function(_3c,_3d,_3e){if(!_3d){return _3c;}for(var x in _3c){if(x in _3d&&!(x in _37)){var t=_3c[x];if(t&&typeof t=="object"){du.updateWithObject(t,_3d[x],_3e);}else{_3c[x]=_3e?du.coerceType(t,_3d[x]):_39(_3d[x]);}}}return _3c;},updateWithPattern:function(_3f,_40,_41,_42){if(!_40||!_41){return _3f;}for(var x in _41){if(x in _40&&!(x in _37)){_3f[x]=_42?du.coerceType(_41[x],_40[x]):_39(_40[x]);}}return _3f;},merge:function(_43,_44){if(_44){var _45=_38.call(_43),_46=_38.call(_44),t,i,l,m;switch(_46){case "[object Array]":if(_46==_45){t=new Array(Math.max(_43.length,_44.length));for(i=0,l=t.length;i<l;++i){t[i]=du.merge(_43[i],_44[i]);}return t;}return _44.slice(0);case "[object Object]":if(_46==_45&&_43){t=_36.delegate(_43);for(i in _44){if(i in _43){l=_43[i];m=_44[i];if(m!==l){t[i]=du.merge(l,m);}}else{t[i]=_36.clone(_44[i]);}}return t;}return _36.clone(_44);}}return _44;}});return du;});},"dojox/charting/plot2d/Pie":function(){define("dojox/charting/plot2d/Pie",["dojo/_base/lang","dojo/_base/array","dojo/_base/declare","../Element","./_PlotEvents","./common","../axis2d/common","dojox/gfx","dojox/gfx/matrix","dojox/lang/functional","dojox/lang/utils"],function(_47,arr,_48,_49,_4a,dc,da,g,m,df,du){var _4b=0.2;return _48("dojox.charting.plot2d.Pie",[_49,_4a],{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(_4c,_4d){this.opt=_47.clone(this.defaultParams);du.updateWithObject(this.opt,_4d);du.updateWithPattern(this.opt,_4d,this.optionalParams);this.run=null;this.dyn=[];},clear:function(){this.dirty=true;this.dyn=[];this.run=null;return this;},setAxis:function(_4e){return this;},addSeries:function(run){this.run=run;return this;},getSeriesStats:function(){return _47.delegate(dc.defaultStats);},initializeScalers:function(){return this;},getRequiredColors:function(){return this.run?this.run.data.length:0;},render:function(dim,_4f){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-_4f.l-_4f.r)/2,ry=(dim.height-_4f.t-_4f.b)/2,r=Math.min(rx,ry),_50="font" in this.opt?this.opt.font:t.axis.font,_51=_50?g.normalizedLength(g.splitFontString(_50).size):0,_52="fontColor" in this.opt?this.opt.fontColor:t.axis.fontColor,_53=m._degToRad(this.opt.startAngle),_54=_53,_55,_56,_57,_58,_59,_5a,run=this.run.data,_5b=this.events();if(typeof run[0]=="number"){_56=df.map(run,"x ? Math.max(x, 0) : 0");if(df.every(_56,"<= 0")){return this;}_57=df.map(_56,"/this",df.foldl(_56,"+",0));if(this.opt.labels){_58=arr.map(_57,function(x){return x>0?this._getLabel(x*100)+"%":"";},this);}}else{_56=df.map(run,"x ? Math.max(x.y, 0) : 0");if(df.every(_56,"<= 0")){return this;}_57=df.map(_56,"/this",df.foldl(_56,"+",0));if(this.opt.labels){_58=arr.map(_57,function(x,i){if(x<=0){return "";}var v=run[i];return "text" in v?v.text:this._getLabel(x*100)+"%";},this);}}var _5c=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){_59=df.foldl1(df.map(_58,function(_5d,i){var _5e=_5c[i].series.font;return g._base._getTextBox(_5d,{font:_5e}).w;},this),"Math.max(a, b)")/2;if(this.opt.labelOffset<0){r=Math.min(rx-2*_59,ry-_51)+this.opt.labelOffset;}_5a=r-this.opt.labelOffset;}if("radius" in this.opt){r=this.opt.radius;_5a=r-this.opt.labelOffset;}var _5f={cx:_4f.l+rx,cy:_4f.t+ry,r:r};this.dyn=[];var _60=new Array(_57.length);arr.some(_57,function(_61,i){if(_61<0){return false;}if(_61==0){this.dyn.push({fill:null,stroke:null});return false;}var v=run[i],_62=_5c[i],_63;if(_61>=1){_63=this._plotFill(_62.series.fill,dim,_4f);_63=this._shapeFill(_63,{x:_5f.cx-_5f.r,y:_5f.cy-_5f.r,width:2*_5f.r,height:2*_5f.r});_63=this._pseudoRadialFill(_63,{x:_5f.cx,y:_5f.cy},_5f.r);var _64=s.createCircle(_5f).setFill(_63).setStroke(_62.series.stroke);this.dyn.push({fill:_63,stroke:_62.series.stroke});if(_5b){var o={element:"slice",index:i,run:this.run,shape:_64,x:i,y:typeof v=="number"?v:v.y,cx:_5f.cx,cy:_5f.cy,cr:r};this._connectEvents(o);_60[i]=o;}return true;}var end=_54+_61*2*Math.PI;if(i+1==_57.length){end=_53+2*Math.PI;}var _65=end-_54,x1=_5f.cx+r*Math.cos(_54),y1=_5f.cy+r*Math.sin(_54),x2=_5f.cx+r*Math.cos(end),y2=_5f.cy+r*Math.sin(end);var _66=m._degToRad(this.opt.fanSize);if(_62.series.fill&&_62.series.fill.type==="radial"&&this.opt.radGrad==="fan"&&_65>_66){var _67=s.createGroup(),_68=Math.ceil(_65/_66),_69=_65/_68;_63=this._shapeFill(_62.series.fill,{x:_5f.cx-_5f.r,y:_5f.cy-_5f.r,width:2*_5f.r,height:2*_5f.r});for(var j=0;j<_68;++j){var _6a=j==0?x1:_5f.cx+r*Math.cos(_54+(j-_4b)*_69),_6b=j==0?y1:_5f.cy+r*Math.sin(_54+(j-_4b)*_69),_6c=j==_68-1?x2:_5f.cx+r*Math.cos(_54+(j+1+_4b)*_69),_6d=j==_68-1?y2:_5f.cy+r*Math.sin(_54+(j+1+_4b)*_69),fan=_67.createPath().moveTo(_5f.cx,_5f.cy).lineTo(_6a,_6b).arcTo(r,r,0,_69>Math.PI,true,_6c,_6d).lineTo(_5f.cx,_5f.cy).closePath().setFill(this._pseudoRadialFill(_63,{x:_5f.cx,y:_5f.cy},r,_54+(j+0.5)*_69,_54+(j+0.5)*_69));}_67.createPath().moveTo(_5f.cx,_5f.cy).lineTo(x1,y1).arcTo(r,r,0,_65>Math.PI,true,x2,y2).lineTo(_5f.cx,_5f.cy).closePath().setStroke(_62.series.stroke);_64=_67;}else{_64=s.createPath().moveTo(_5f.cx,_5f.cy).lineTo(x1,y1).arcTo(r,r,0,_65>Math.PI,true,x2,y2).lineTo(_5f.cx,_5f.cy).closePath().setStroke(_62.series.stroke);var _63=_62.series.fill;if(_63&&_63.type==="radial"){_63=this._shapeFill(_63,{x:_5f.cx-_5f.r,y:_5f.cy-_5f.r,width:2*_5f.r,height:2*_5f.r});if(this.opt.radGrad==="linear"){_63=this._pseudoRadialFill(_63,{x:_5f.cx,y:_5f.cy},r,_54,end);}}else{if(_63&&_63.type==="linear"){_63=this._plotFill(_63,dim,_4f);_63=this._shapeFill(_63,_64.getBoundingBox());}}_64.setFill(_63);}this.dyn.push({fill:_63,stroke:_62.series.stroke});if(_5b){var o={element:"slice",index:i,run:this.run,shape:_64,x:i,y:typeof v=="number"?v:v.y,cx:_5f.cx,cy:_5f.cy,cr:r};this._connectEvents(o);_60[i]=o;}_54=end;return false;},this);if(this.opt.labels){if(this.opt.labelStyle=="default"){_54=_53;arr.some(_57,function(_6e,i){if(_6e<=0){return false;}var _6f=_5c[i];if(_6e>=1){var v=run[i],_70=da.createText[this.opt.htmlLabels&&g.renderer!="vml"?"html":"gfx"](this.chart,s,_5f.cx,_5f.cy+_51/2,"middle",_58[i],_6f.series.font,_6f.series.fontColor);if(this.opt.htmlLabels){this.htmlElements.push(_70);}return true;}var end=_54+_6e*2*Math.PI,v=run[i];if(i+1==_57.length){end=_53+2*Math.PI;}var _71=(_54+end)/2,x=_5f.cx+_5a*Math.cos(_71),y=_5f.cy+_5a*Math.sin(_71)+_51/2;var _70=da.createText[this.opt.htmlLabels&&g.renderer!="vml"?"html":"gfx"](this.chart,s,x,y,"middle",_58[i],_6f.series.font,_6f.series.fontColor);if(this.opt.htmlLabels){this.htmlElements.push(_70);}_54=end;return false;},this);}else{if(this.opt.labelStyle=="columns"){_54=_53;var _72=[];arr.forEach(_57,function(_73,i){var end=_54+_73*2*Math.PI;if(i+1==_57.length){end=_53+2*Math.PI;}var _74=(_54+end)/2;_72.push({angle:_74,left:Math.cos(_74)<0,theme:_5c[i],index:i,omit:end-_54<0.001});_54=end;});var _75=g._base._getTextBox("a",{font:_50}).h;this._getProperLabelRadius(_72,_75,_5f.r*1.1);arr.forEach(_72,function(_76,i){if(!_76.omit){var _77=_5f.cx-_5f.r*2,_78=_5f.cx+_5f.r*2,_79=g._base._getTextBox(_58[i],{font:_50}).w,x=_5f.cx+_76.labelR*Math.cos(_76.angle),y=_5f.cy+_76.labelR*Math.sin(_76.angle),_7a=(_76.left)?(_77+_79):(_78-_79),_7b=(_76.left)?_77:_7a;var _7c=s.createPath().moveTo(_5f.cx+_5f.r*Math.cos(_76.angle),_5f.cy+_5f.r*Math.sin(_76.angle));if(Math.abs(_76.labelR*Math.cos(_76.angle))<_5f.r*2-_79){_7c.lineTo(x,y);}_7c.lineTo(_7a,y).setStroke(_76.theme.series.labelWiring);var _7d=da.createText[this.opt.htmlLabels&&g.renderer!="vml"?"html":"gfx"](this.chart,s,_7b,y,"left",_58[i],_76.theme.series.font,_76.theme.series.fontColor);if(this.opt.htmlLabels){this.htmlElements.push(_7d);}}},this);}}}var esi=0;this._eventSeries[this.run.name]=df.map(run,function(v){return v<=0?null:_60[esi++];});return this;},_getProperLabelRadius:function(_7e,_7f,_80){var _81={},_82={},_83=1,_84=1;if(_7e.length==1){_7e[0].labelR=_80;return;}for(var i=0;i<_7e.length;i++){var _85=Math.abs(Math.sin(_7e[i].angle));if(_7e[i].left){if(_83>_85){_83=_85;_81=_7e[i];}}else{if(_84>_85){_84=_85;_82=_7e[i];}}}_81.labelR=_82.labelR=_80;this._calculateLabelR(_81,_7e,_7f);this._calculateLabelR(_82,_7e,_7f);},_calculateLabelR:function(_86,_87,_88){var i=_86.index,_89=_87.length,_8a=_86.labelR;while(!(_87[i%_89].left^_87[(i+1)%_89].left)){if(!_87[(i+1)%_89].omit){var _8b=(Math.sin(_87[i%_89].angle)*_8a+((_87[i%_89].left)?(-_88):_88))/Math.sin(_87[(i+1)%_89].angle);_8a=(_8b<_86.labelR)?_86.labelR:_8b;_87[(i+1)%_89].labelR=_8a;}i++;}i=_86.index;var j=(i==0)?_89-1:i-1;while(!(_87[i].left^_87[j].left)){if(!_87[j].omit){var _8b=(Math.sin(_87[i].angle)*_8a+((_87[i].left)?_88:(-_88)))/Math.sin(_87[j].angle);_8a=(_8b<_86.labelR)?_86.labelR:_8b;_87[j].labelR=_8a;}i--;j--;i=(i<0)?i+_87.length:i;j=(j<0)?j+_87.length:j;}},_getLabel:function(_8c){return dc.getLabel(_8c,this.opt.fixed,this.opt.precision);}});});},"dijit/hccss":function(){define("dijit/hccss",["require","dojo/_base/config","dojo/dom-class","dojo/dom-construct","dojo/dom-style","dojo/ready","dojo/_base/sniff","dojo/_base/window"],function(_8d,_8e,_8f,_90,_91,_92,has,win){if(has("ie")||has("mozilla")){_92(90,function(){var div=_90.create("div",{id:"a11yTestNode",style:{cssText:"border: 1px solid;"+"border-color:red green;"+"position: absolute;"+"height: 5px;"+"top: -999px;"+"background-image: url(\""+(_8e.blankGif||_8d.toUrl("dojo/resources/blank.gif"))+"\");"}},win.body());var cs=_91.getComputedStyle(div);if(cs){var _93=cs.backgroundImage;var _94=(cs.borderTopColor==cs.borderRightColor)||(_93!=null&&(_93=="none"||_93=="url(invalid-url:)"));if(_94){_8f.add(win.body(),"dijit_a11y");}if(has("ie")){div.outerHTML="";}else{win.body().removeChild(div);}}});}});},"dojox/charting/action2d/Shake":function(){define("dojox/charting/action2d/Shake",["dojo/_base/connect","dojo/_base/declare","./PlotAction","dojo/fx","dojo/fx/easing","dojox/gfx/matrix","dojox/gfx/fx"],function(hub,_95,_96,df,dfe,m,gf){var _97=3;return _95("dojox.charting.action2d.Shake",_96,{defaultParams:{duration:400,easing:dfe.backOut,shiftX:_97,shiftY:_97},optionalParams:{},constructor:function(_98,_99,_9a){if(!_9a){_9a={};}this.shiftX=typeof _9a.shiftX=="number"?_9a.shiftX:_97;this.shiftY=typeof _9a.shiftY=="number"?_9a.shiftY:_97;this.connect();},process:function(o){if(!o.shape||!(o.type in this.overOutEvents)){return;}var _9b=o.run.name,_9c=o.index,_9d=[],_9e,_9f=o.type=="onmouseover"?this.shiftX:-this.shiftX,_a0=o.type=="onmouseover"?this.shiftY:-this.shiftY;if(_9b in this.anim){_9e=this.anim[_9b][_9c];}else{this.anim[_9b]={};}if(_9e){_9e.action.stop(true);}else{this.anim[_9b][_9c]=_9e={};}var _a1={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){_9d.push(gf.animateTransform(_a1));}if(o.oultine){_a1.shape=o.outline;_9d.push(gf.animateTransform(_a1));}if(o.shadow){_a1.shape=o.shadow;_9d.push(gf.animateTransform(_a1));}if(!_9d.length){delete this.anim[_9b][_9c];return;}_9e.action=df.combine(_9d);if(o.type=="onmouseout"){hub.connect(_9e.action,"onEnd",this,function(){if(this.anim[_9b]){delete this.anim[_9b][_9c];}});}_9e.action.play();}});});},"dojox/lang/functional/lambda":function(){define("dojox/lang/functional/lambda",["../..","dojo/_base/kernel","dojo/_base/lang","dojo/_base/array"],function(_a2,_a3,_a4,arr){var df=_a4.getObject("lang.functional",true,_a2);var _a5={};var _a6="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 _a7=function(s){var _a8=[],_a9=_a6.call(s,/\s*->\s*/m);if(_a9.length>1){while(_a9.length){s=_a9.pop();_a8=_a9.pop().split(/\s*,\s*|\s+/m);if(_a9.length){_a9.push("(function("+_a8+"){return ("+s+")})");}}}else{if(s.match(/\b_\b/)){_a8=["_"];}else{var l=s.match(/^\s*(?:[+*\/%&|\^\.=<>]|!=)/m),r=s.match(/[+\-*\/%&|\^\.=<>!]\s*$/m);if(l||r){if(l){_a8.push("$1");s="$1"+s;}if(r){_a8.push("$2");s=s+"$2";}}else{var _aa=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={};arr.forEach(_aa,function(v){if(!(v in t)){_a8.push(v);t[v]=1;}});}}}return {args:_a8,body:s};};var _ab=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;};};_a4.mixin(df,{rawLambda:function(s){return _a7(s);},buildLambda:function(s){s=_a7(s);return "function("+s.args.join(",")+"){return ("+s.body+");}";},lambda:function(s){if(typeof s=="function"){return s;}if(s instanceof Array){return _ab(s);}if(s in _a5){return _a5[s];}s=_a7(s);return _a5[s]=new Function(s.args,"return ("+s.body+");");},clearLambdaCache:function(){_a5={};}});return df;});},"dojox/lang/functional/reversed":function(){define(["dojo/_base/lang","dojo/_base/window","./lambda"],function(_ac,win,df){_ac.mixin(df,{filterRev:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||win.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||win.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||win.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||win.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||win.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;}});return df;});},"dojox/charting/scaler/primitive":function(){define("dojox/charting/scaler/primitive",["dojo/_base/lang"],function(_ad){var _ae=_ad.getObject("dojox.charting.scaler.primitive",true);return _ad.mixin(_ae,{buildScaler:function(min,max,_af,_b0){if(min==max){min-=0.5;max+=0.5;}return {bounds:{lower:min,upper:max,from:min,to:max,scale:_af/(max-min),span:_af},scaler:_ae};},buildTicks:function(_b1,_b2){return {major:[],minor:[],micro:[]};},getTransformerFromModel:function(_b3){var _b4=_b3.bounds.from,_b5=_b3.bounds.scale;return function(x){return (x-_b4)*_b5;};},getTransformerFromPlot:function(_b6){var _b7=_b6.bounds.from,_b8=_b6.bounds.scale;return function(x){return x/_b8+_b7;};}});});},"dojox/charting/plot2d/Candlesticks":function(){define("dojox/charting/plot2d/Candlesticks",["dojo/_base/lang","dojo/_base/declare","dojo/_base/array","./Base","./common","dojox/lang/functional","dojox/lang/functional/reversed","dojox/lang/utils","dojox/gfx/fx"],function(_b9,_ba,arr,_bb,dc,df,dfr,du,fx){var _bc=dfr.lambda("item.purgeGroup()");return _ba("dojox.charting.plot2d.Candlesticks",_bb,{defaultParams:{hAxis:"x",vAxis:"y",gap:2,animate:null},optionalParams:{minBarSize:1,maxBarSize:1,stroke:{},outline:{},shadow:{},fill:{},font:"",fontColor:""},constructor:function(_bd,_be){this.opt=_b9.clone(this.defaultParams);du.updateWithObject(this.opt,_be);du.updateWithPattern(this.opt,_be,this.optionalParams);this.series=[];this.hAxis=this.opt.hAxis;this.vAxis=this.opt.vAxis;this.animate=this.opt.animate;},collectStats:function(_bf){var _c0=_b9.delegate(dc.defaultStats);for(var i=0;i<_bf.length;i++){var run=_bf[i];if(!run.data.length){continue;}var _c1=_c0.vmin,_c2=_c0.vmax;if(!("ymin" in run)||!("ymax" in run)){arr.forEach(run.data,function(val,idx){if(val!==null){var x=val.x||idx+1;_c0.hmin=Math.min(_c0.hmin,x);_c0.hmax=Math.max(_c0.hmax,x);_c0.vmin=Math.min(_c0.vmin,val.open,val.close,val.high,val.low);_c0.vmax=Math.max(_c0.vmax,val.open,val.close,val.high,val.low);}});}if("ymin" in run){_c0.vmin=Math.min(_c1,run.ymin);}if("ymax" in run){_c0.vmax=Math.max(_c2,run.ymax);}}return _c0;},getSeriesStats:function(){var _c3=this.collectStats(this.series);_c3.hmin-=0.5;_c3.hmax+=0.5;return _c3;},render:function(dim,_c4){if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_c4);}this.resetEvents();this.dirty=this.isDirty();if(this.dirty){arr.forEach(this.series,_bc);this._eventSeries={};this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(_c5){_c5.cleanGroup(s);});}var t=this.chart.theme,f,gap,_c6,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler),_c7=Math.max(0,this._vScaler.bounds.lower),_c8=vt(_c7),_c9=this.events();f=dc.calculateBarSize(this._hScaler.bounds.scale,this.opt);gap=f.gap;_c6=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 _ca=t.next("candlestick",[this.opt,run]),s=run.group,_cb=new Array(run.data.length);for(var j=0;j<run.data.length;++j){var v=run.data[j];if(v!==null){var _cc=t.addMixin(_ca,"candlestick",v,true);var x=ht(v.x||(j+0.5))+_c4.l+gap,y=dim.height-_c4.b,_cd=vt(v.open),_ce=vt(v.close),_cf=vt(v.high),low=vt(v.low);if("mid" in v){var mid=vt(v.mid);}if(low>_cf){var tmp=_cf;_cf=low;low=tmp;}if(_c6>=1){var _d0=_cd>_ce;var _d1={x1:_c6/2,x2:_c6/2,y1:y-_cf,y2:y-low},_d2={x:0,y:y-Math.max(_cd,_ce),width:_c6,height:Math.max(_d0?_cd-_ce:_ce-_cd,1)};var _d3=s.createGroup();_d3.setTransform({dx:x,dy:0});var _d4=_d3.createGroup();_d4.createLine(_d1).setStroke(_cc.series.stroke);_d4.createRect(_d2).setStroke(_cc.series.stroke).setFill(_d0?_cc.series.fill:"white");if("mid" in v){_d4.createLine({x1:(_cc.series.stroke.width||1),x2:_c6-(_cc.series.stroke.width||1),y1:y-mid,y2:y-mid}).setStroke(_d0?"white":_cc.series.stroke);}run.dyn.fill=_cc.series.fill;run.dyn.stroke=_cc.series.stroke;if(_c9){var o={element:"candlestick",index:j,run:run,shape:_d4,x:x,y:y-Math.max(_cd,_ce),cx:_c6/2,cy:(y-Math.max(_cd,_ce))+(Math.max(_d0?_cd-_ce:_ce-_cd,1)/2),width:_c6,height:Math.max(_d0?_cd-_ce:_ce-_cd,1),data:v};this._connectEvents(o);_cb[j]=o;}}if(this.animate){this._animateCandlesticks(_d3,y-low,_cf-low);}}}this._eventSeries[run.name]=_cb;run.dirty=false;}this.dirty=false;return this;},_animateCandlesticks:function(_d5,_d6,_d7){fx.animateTransform(_b9.delegate({shape:_d5,duration:1200,transform:[{name:"translate",start:[0,_d6-(_d6/_d7)],end:[0,0]},{name:"scale",start:[1,1/_d7],end:[1,1]},{name:"original"}]},this.animate)).play();}});});},"dojox/charting/widget/Sparkline":function(){define("dojox/charting/widget/Sparkline",["dojo/_base/lang","dojo/_base/array","dojo/_base/declare","dojo/_base/html","dojo/query","./Chart","../themes/GreySkies","../plot2d/Lines","dojo/dom-prop"],function(_d8,_d9,_da,_db,_dc,_dd,_de,_df,_e0){_da("dojox.charting.widget.Sparkline",_dd,{theme:_de,margins:{l:0,r:0,t:0,b:0},type:"Lines",valueFn:"Number(x)",store:"",field:"",query:"",queryOptions:"",start:"0",count:"Infinity",sort:"",data:"",name:"default",buildRendering:function(){var n=this.srcNodeRef;if(!n.childNodes.length||!_dc("> .axis, > .plot, > .action, > .series",n).length){var _e1=document.createElement("div");_e0.set(_e1,{"class":"plot","name":"default","type":this.type});n.appendChild(_e1);var _e2=document.createElement("div");_e0.set(_e2,{"class":"series",plot:"default",name:this.name,start:this.start,count:this.count,valueFn:this.valueFn});_d9.forEach(["store","field","query","queryOptions","sort","data"],function(i){if(this[i].length){_e0.set(_e2,i,this[i]);}},this);n.appendChild(_e2);}this.inherited(arguments);}});});},"dojox/gfx/matrix":function(){define("dojox/gfx/matrix",["./_base","dojo/_base/lang"],function(g,_e3){var m=g.matrix={};var _e4={};m._degToRad=function(_e5){return _e4[_e5]||(_e4[_e5]=(Math.PI*_e5/180));};m._radToDeg=function(_e6){return _e6/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 _e7=m.normalize(arg[0]);for(var i=1;i<arg.length;++i){var l=_e7,r=m.normalize(arg[i]);_e7=new m.Matrix2D();_e7.xx=l.xx*r.xx+l.xy*r.yx;_e7.xy=l.xx*r.xy+l.xy*r.yy;_e7.yx=l.yx*r.xx+l.yy*r.yx;_e7.yy=l.yx*r.xy+l.yy*r.yy;_e7.dx=l.xx*r.dx+l.xy*r.dy+l.dx;_e7.dy=l.yx*r.dx+l.yy*r.dy+l.dy;}_e3.mixin(this,_e7);}}else{_e3.mixin(this,arg);}}}};_e3.extend(m.Matrix2D,{xx:1,xy:0,yx:0,yy:1,dx:0,dy:0});_e3.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(_e8){var c=Math.cos(_e8);var s=Math.sin(_e8);return new m.Matrix2D({xx:c,xy:-s,yx:s,yy:c});},rotateg:function(_e9){return m.rotate(m._degToRad(_e9));},skewX:function(_ea){return new m.Matrix2D({xy:Math.tan(_ea)});},skewXg:function(_eb){return m.skewX(m._degToRad(_eb));},skewY:function(_ec){return new m.Matrix2D({yx:Math.tan(_ec)});},skewYg:function(_ed){return m.skewY(m._degToRad(_ed));},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(_ee){return (_ee instanceof m.Matrix2D)?_ee:new m.Matrix2D(_ee);},clone:function(_ef){var obj=new m.Matrix2D();for(var i in _ef){if(typeof (_ef[i])=="number"&&typeof (obj[i])=="number"&&obj[i]!=_ef[i]){obj[i]=_ef[i];}}return obj;},invert:function(_f0){var M=m.normalize(_f0),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(_f1,x,y){return {x:_f1.xx*x+_f1.xy*y+_f1.dx,y:_f1.yx*x+_f1.yy*y+_f1.dy};},multiplyPoint:function(_f2,a,b){var M=m.normalize(_f2);if(typeof a=="number"&&typeof b=="number"){return m._multiplyPoint(M,a,b);}return m._multiplyPoint(M,a.x,a.y);},multiply:function(_f3){var M=m.normalize(_f3);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(_f4,x,y){return m.multiply(m.translate(x,y),_f4,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(_f5,a,b){if(arguments.length>2){return m._sandwich(m.rotate(_f5),a,b);}return m._sandwich(m.rotate(_f5),a.x,a.y);},rotategAt:function(_f6,a,b){if(arguments.length>2){return m._sandwich(m.rotateg(_f6),a,b);}return m._sandwich(m.rotateg(_f6),a.x,a.y);},skewXAt:function(_f7,a,b){if(arguments.length>2){return m._sandwich(m.skewX(_f7),a,b);}return m._sandwich(m.skewX(_f7),a.x,a.y);},skewXgAt:function(_f8,a,b){if(arguments.length>2){return m._sandwich(m.skewXg(_f8),a,b);}return m._sandwich(m.skewXg(_f8),a.x,a.y);},skewYAt:function(_f9,a,b){if(arguments.length>2){return m._sandwich(m.skewY(_f9),a,b);}return m._sandwich(m.skewY(_f9),a.x,a.y);},skewYgAt:function(_fa,a,b){if(arguments.length>2){return m._sandwich(m.skewYg(_fa),a,b);}return m._sandwich(m.skewYg(_fa),a.x,a.y);}});g.Matrix2D=m.Matrix2D;return m;});},"dojox/charting/plot2d/Scatter":function(){define("dojox/charting/plot2d/Scatter",["dojo/_base/lang","dojo/_base/array","dojo/_base/declare","./Base","./common","dojox/lang/functional","dojox/lang/functional/reversed","dojox/lang/utils","dojox/gfx/fx","dojox/gfx/gradutils"],function(_fb,arr,_fc,_fd,dc,df,dfr,du,fx,_fe){var _ff=dfr.lambda("item.purgeGroup()");return _fc("dojox.charting.plot2d.Scatter",_fd,{defaultParams:{hAxis:"x",vAxis:"y",shadows:null,animate:null},optionalParams:{markerStroke:{},markerOutline:{},markerShadow:{},markerFill:{},markerFont:"",markerFontColor:""},constructor:function(_100,_101){this.opt=_fb.clone(this.defaultParams);du.updateWithObject(this.opt,_101);du.updateWithPattern(this.opt,_101,this.optionalParams);this.series=[];this.hAxis=this.opt.hAxis;this.vAxis=this.opt.vAxis;this.animate=this.opt.animate;},render:function(dim,_102){if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_102);}this.resetEvents();this.dirty=this.isDirty();if(this.dirty){arr.forEach(this.series,_ff);this._eventSeries={};this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,_103=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 _104=t.next("marker",[this.opt,run]),s=run.group,_105,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler);if(typeof run.data[0]=="number"){_105=arr.map(run.data,function(v,i){return {x:ht(i+1)+_102.l,y:dim.height-_102.b-vt(v)};},this);}else{_105=arr.map(run.data,function(v,i){return {x:ht(v.x)+_102.l,y:dim.height-_102.b-vt(v.y)};},this);}var _106=new Array(_105.length),_107=new Array(_105.length),_108=new Array(_105.length);arr.forEach(_105,function(c,i){var _109=typeof run.data[i]=="number"?t.post(_104,"marker"):t.addMixin(_104,"marker",run.data[i],true),path="M"+c.x+" "+c.y+" "+_109.symbol;if(_109.marker.shadow){_106[i]=s.createPath("M"+(c.x+_109.marker.shadow.dx)+" "+(c.y+_109.marker.shadow.dy)+" "+_109.symbol).setStroke(_109.marker.shadow).setFill(_109.marker.shadow.color);if(this.animate){this._animateScatter(_106[i],dim.height-_102.b);}}if(_109.marker.outline){var _10a=dc.makeStroke(_109.marker.outline);_10a.width=2*_10a.width+_109.marker.stroke.width;_108[i]=s.createPath(path).setStroke(_10a);if(this.animate){this._animateScatter(_108[i],dim.height-_102.b);}}var _10b=dc.makeStroke(_109.marker.stroke),fill=this._plotFill(_109.marker.fill,dim,_102);if(fill&&(fill.type==="linear"||fill.type=="radial")){var _10c=_fe.getColor(fill,{x:c.x,y:c.y});if(_10b){_10b.color=_10c;}_107[i]=s.createPath(path).setStroke(_10b).setFill(_10c);}else{_107[i]=s.createPath(path).setStroke(_10b).setFill(fill);}if(this.animate){this._animateScatter(_107[i],dim.height-_102.b);}},this);if(_107.length){run.dyn.stroke=_107[_107.length-1].getStroke();run.dyn.fill=_107[_107.length-1].getFill();}if(_103){var _10d=new Array(_107.length);arr.forEach(_107,function(s,i){var o={element:"marker",index:i,run:run,shape:s,outline:_108&&_108[i]||null,shadow:_106&&_106[i]||null,cx:_105[i].x,cy:_105[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);_10d[i]=o;},this);this._eventSeries[run.name]=_10d;}else{delete this._eventSeries[run.name];}run.dirty=false;}this.dirty=false;return this;},_animateScatter:function(_10e,_10f){fx.animateTransform(_fb.delegate({shape:_10e,duration:1200,transform:[{name:"translate",start:[0,_10f],end:[0,0]},{name:"scale",start:[0,0],end:[1,1]},{name:"original"}]},this.animate)).play();}});});},"dojox/lang/functional/scan":function(){define("dojox/lang/functional/scan",["dojo/_base/kernel","dojo/_base/lang","./lambda"],function(d,_110,df){var _111={};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 _111)){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,_112=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(i=1;a.hasNext();t.push(z=f.call(o,z,a.next(),i++,a))){}}}else{for(i in a){if(!(i in _111)){if(_112){t=[z=a[i]];_112=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;}});});},"dojox/color/_base":function(){define("dojox/color/_base",["dojo/_base/kernel","../main","dojo/_base/lang","dojo/_base/Color","dojo/colors"],function(dojo,_113,lang,_114,_115){var cx=lang.getObject("dojox.color",true);cx.Color=_114;cx.blend=_114.blendColors;cx.fromRgb=_114.fromRgb;cx.fromHex=_114.fromHex;cx.fromArray=_114.fromArray;cx.fromString=_114.fromString;cx.greyscale=_115.makeGrey;lang.mixin(cx,{fromCmy:function(cyan,_116,_117){if(lang.isArray(cyan)){_116=cyan[1],_117=cyan[2],cyan=cyan[0];}else{if(lang.isObject(cyan)){_116=cyan.m,_117=cyan.y,cyan=cyan.c;}}cyan/=100,_116/=100,_117/=100;var r=1-cyan,g=1-_116,b=1-_117;return new _114({r:Math.round(r*255),g:Math.round(g*255),b:Math.round(b*255)});},fromCmyk:function(cyan,_118,_119,_11a){if(lang.isArray(cyan)){_118=cyan[1],_119=cyan[2],_11a=cyan[3],cyan=cyan[0];}else{if(lang.isObject(cyan)){_118=cyan.m,_119=cyan.y,_11a=cyan.b,cyan=cyan.c;}}cyan/=100,_118/=100,_119/=100,_11a/=100;var r,g,b;r=1-Math.min(1,cyan*(1-_11a)+_11a);g=1-Math.min(1,_118*(1-_11a)+_11a);b=1-Math.min(1,_119*(1-_11a)+_11a);return new _114({r:Math.round(r*255),g:Math.round(g*255),b:Math.round(b*255)});},fromHsl:function(hue,_11b,_11c){if(lang.isArray(hue)){_11b=hue[1],_11c=hue[2],hue=hue[0];}else{if(lang.isObject(hue)){_11b=hue.s,_11c=hue.l,hue=hue.h;}}_11b/=100;_11c/=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*_11b*Math.min(r,1)+(1-_11b);g=2*_11b*Math.min(g,1)+(1-_11b);b=2*_11b*Math.min(b,1)+(1-_11b);if(_11c<0.5){r*=_11c,g*=_11c,b*=_11c;}else{r=(1-_11c)*r+2*_11c-1;g=(1-_11c)*g+2*_11c-1;b=(1-_11c)*b+2*_11c-1;}return new _114({r:Math.round(r*255),g:Math.round(g*255),b:Math.round(b*255)});}});cx.fromHsv=function(hue,_11d,_11e){if(lang.isArray(hue)){_11d=hue[1],_11e=hue[2],hue=hue[0];}else{if(lang.isObject(hue)){_11d=hue.s,_11e=hue.v,hue=hue.h;}}if(hue==360){hue=0;}_11d/=100;_11e/=100;var r,g,b;if(_11d==0){r=_11e,b=_11e,g=_11e;}else{var _11f=hue/60,i=Math.floor(_11f),f=_11f-i;var p=_11e*(1-_11d);var q=_11e*(1-(_11d*f));var t=_11e*(1-(_11d*(1-f)));switch(i){case 0:r=_11e,g=t,b=p;break;case 1:r=q,g=_11e,b=p;break;case 2:r=p,g=_11e,b=t;break;case 3:r=p,g=q,b=_11e;break;case 4:r=t,g=p,b=_11e;break;case 5:r=_11e,g=p,b=q;break;}}return new _114({r:Math.round(r*255),g:Math.round(g*255),b:Math.round(b*255)});};lang.extend(_114,{toCmy:function(){var cyan=1-(this.r/255),_120=1-(this.g/255),_121=1-(this.b/255);return {c:Math.round(cyan*100),m:Math.round(_120*100),y:Math.round(_121*100)};},toCmyk:function(){var cyan,_122,_123,_124;var r=this.r/255,g=this.g/255,b=this.b/255;_124=Math.min(1-r,1-g,1-b);cyan=(1-r-_124)/(1-_124);_122=(1-g-_124)/(1-_124);_123=(1-b-_124)/(1-_124);return {c:Math.round(cyan*100),m:Math.round(_122*100),y:Math.round(_123*100),b:Math.round(_124*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 _125=max-min;var h=0,s=0,l=(min+max)/2;if(l>0&&l<1){s=_125/((l<0.5)?(2*l):(2-2*l));}if(_125>0){if(max==r&&max!=g){h+=(g-b)/_125;}if(max==g&&max!=b){h+=(2+(b-r)/_125);}if(max==b&&max!=r){h+=(4+(r-g)/_125);}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 _126=max-min;var h=null,s=(max==0)?0:(_126/max);if(s==0){h=0;}else{if(r==max){h=60*(g-b)/_126;}else{if(g==max){h=120+60*(b-r)/_126;}else{h=240+60*(r-g)/_126;}}if(h<0){h+=360;}}return {h:h,s:Math.round(s*100),v:Math.round(max*100)};}});return cx;});},"dojox/charting/plot2d/OHLC":function(){define(["dojo/_base/lang","dojo/_base/array","dojo/_base/declare","./Base","./common","dojox/lang/functional","dojox/lang/functional/reversed","dojox/lang/utils","dojox/gfx/fx"],function(lang,arr,_127,Base,dc,df,dfr,du,fx){var _128=dfr.lambda("item.purgeGroup()");return _127("dojox.charting.plot2d.OHLC",Base,{defaultParams:{hAxis:"x",vAxis:"y",gap:2,animate:null},optionalParams:{minBarSize:1,maxBarSize:1,stroke:{},outline:{},shadow:{},fill:{},font:"",fontColor:""},constructor:function(_129,_12a){this.opt=lang.clone(this.defaultParams);du.updateWithObject(this.opt,_12a);du.updateWithPattern(this.opt,_12a,this.optionalParams);this.series=[];this.hAxis=this.opt.hAxis;this.vAxis=this.opt.vAxis;this.animate=this.opt.animate;},collectStats:function(_12b){var _12c=lang.delegate(dc.defaultStats);for(var i=0;i<_12b.length;i++){var run=_12b[i];if(!run.data.length){continue;}var _12d=_12c.vmin,_12e=_12c.vmax;if(!("ymin" in run)||!("ymax" in run)){arr.forEach(run.data,function(val,idx){if(val!==null){var x=val.x||idx+1;_12c.hmin=Math.min(_12c.hmin,x);_12c.hmax=Math.max(_12c.hmax,x);_12c.vmin=Math.min(_12c.vmin,val.open,val.close,val.high,val.low);_12c.vmax=Math.max(_12c.vmax,val.open,val.close,val.high,val.low);}});}if("ymin" in run){_12c.vmin=Math.min(_12d,run.ymin);}if("ymax" in run){_12c.vmax=Math.max(_12e,run.ymax);}}return _12c;},getSeriesStats:function(){var _12f=this.collectStats(this.series);_12f.hmin-=0.5;_12f.hmax+=0.5;return _12f;},render:function(dim,_130){if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_130);}this.resetEvents();this.dirty=this.isDirty();if(this.dirty){arr.forEach(this.series,_128);this._eventSeries={};this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,f,gap,_131,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler),_132=Math.max(0,this._vScaler.bounds.lower),_133=vt(_132),_134=this.events();f=dc.calculateBarSize(this._hScaler.bounds.scale,this.opt);gap=f.gap;_131=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 _135=t.next("candlestick",[this.opt,run]),s=run.group,_136=new Array(run.data.length);for(var j=0;j<run.data.length;++j){var v=run.data[j];if(v!==null){var _137=t.addMixin(_135,"candlestick",v,true);var x=ht(v.x||(j+0.5))+_130.l+gap,y=dim.height-_130.b,open=vt(v.open),_138=vt(v.close),high=vt(v.high),low=vt(v.low);if(low>high){var tmp=high;high=low;low=tmp;}if(_131>=1){var hl={x1:_131/2,x2:_131/2,y1:y-high,y2:y-low},op={x1:0,x2:((_131/2)+((_137.series.stroke.width||1)/2)),y1:y-open,y2:y-open},cl={x1:((_131/2)-((_137.series.stroke.width||1)/2)),x2:_131,y1:y-_138,y2:y-_138};var _139=s.createGroup();_139.setTransform({dx:x,dy:0});var _13a=_139.createGroup();_13a.createLine(hl).setStroke(_137.series.stroke);_13a.createLine(op).setStroke(_137.series.stroke);_13a.createLine(cl).setStroke(_137.series.stroke);run.dyn.stroke=_137.series.stroke;if(_134){var o={element:"candlestick",index:j,run:run,shape:_13a,x:x,y:y-Math.max(open,_138),cx:_131/2,cy:(y-Math.max(open,_138))+(Math.max(open>_138?open-_138:_138-open,1)/2),width:_131,height:Math.max(open>_138?open-_138:_138-open,1),data:v};this._connectEvents(o);_136[j]=o;}}if(this.animate){this._animateOHLC(_139,y-low,high-low);}}}this._eventSeries[run.name]=_136;run.dirty=false;}this.dirty=false;return this;},_animateOHLC:function(_13b,_13c,_13d){fx.animateTransform(lang.delegate({shape:_13b,duration:1200,transform:[{name:"translate",start:[0,_13c-(_13c/_13d)],end:[0,0]},{name:"scale",start:[1,1/_13d],end:[1,1]},{name:"original"}]},this.animate)).play();}});});},"dojox/charting/plot2d/ClusteredColumns":function(){define("dojox/charting/plot2d/ClusteredColumns",["dojo/_base/array","dojo/_base/declare","./Columns","./common","dojox/lang/functional","dojox/lang/functional/reversed","dojox/lang/utils"],function(arr,_13e,_13f,dc,df,dfr,du){var _140=dfr.lambda("item.purgeGroup()");return _13e("dojox.charting.plot2d.ClusteredColumns",_13f,{render:function(dim,_141){if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_141);}this.resetEvents();this.dirty=this.isDirty();if(this.dirty){arr.forEach(this.series,_140);this._eventSeries={};this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,f,gap,_142,_143,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler),_144=Math.max(0,this._vScaler.bounds.lower),_145=vt(_144),_146=this.events();f=dc.calculateBarSize(this._hScaler.bounds.scale,this.opt,this.series.length);gap=f.gap;_142=_143=f.size;for(var i=0;i<this.series.length;++i){var run=this.series[i],_147=_143*i;if(!this.dirty&&!run.dirty){t.skip();this._reconnectEvents(run.name);continue;}run.cleanGroup();var _148=t.next("column",[this.opt,run]),s=run.group,_149=new Array(run.data.length);for(var j=0;j<run.data.length;++j){var _14a=run.data[j];if(_14a!==null){var v=typeof _14a=="number"?_14a:_14a.y,vv=vt(v),_14b=vv-_145,h=Math.abs(_14b),_14c=typeof _14a!="number"?t.addMixin(_148,"column",_14a,true):t.post(_148,"column");if(_142>=1&&h>=0){var rect={x:_141.l+ht(j+0.5)+gap+_147,y:dim.height-_141.b-(v>_144?vv:_145),width:_142,height:h};var _14d=this._plotFill(_14c.series.fill,dim,_141);_14d=this._shapeFill(_14d,rect);var _14e=s.createRect(rect).setFill(_14d).setStroke(_14c.series.stroke);run.dyn.fill=_14e.getFill();run.dyn.stroke=_14e.getStroke();if(_146){var o={element:"column",index:j,run:run,shape:_14e,x:j+0.5,y:v};this._connectEvents(o);_149[j]=o;}if(this.animate){this._animateColumn(_14e,dim.height-_141.b-_145,h);}}}}this._eventSeries[run.name]=_149;run.dirty=false;}this.dirty=false;return this;}});});},"dojox/charting/Chart":function(){define("dojox/charting/Chart",["dojo/_base/lang","dojo/_base/array","dojo/_base/declare","dojo/_base/html","dojo/dom","dojo/dom-geometry","dojo/dom-construct","dojo/_base/Color","dojo/_base/sniff","./Element","./Theme","./Series","./axis2d/common","dojox/gfx","dojox/lang/functional","dojox/lang/functional/fold","dojox/lang/functional/reversed"],function(lang,arr,_14f,html,dom,_150,_151,_152,has,_153,_154,_155,_156,g,func,_157,_158){var dc=dojox.charting,_159=func.lambda("item.clear()"),_15a=func.lambda("item.purgeGroup()"),_15b=func.lambda("item.destroy()"),_15c=func.lambda("item.dirty = false"),_15d=func.lambda("item.dirty = true"),_15e=func.lambda("item.name");_14f("dojox.charting.Chart",null,{constructor:function(node,_15f){if(!_15f){_15f={};}this.margins=_15f.margins?_15f.margins:{l:10,t:10,r:10,b:10};this.stroke=_15f.stroke;this.fill=_15f.fill;this.delayInMs=_15f.delayInMs||200;this.title=_15f.title;this.titleGap=_15f.titleGap;this.titlePos=_15f.titlePos;this.titleFont=_15f.titleFont;this.titleFontColor=_15f.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=dom.byId(node);var box=_150.getMarginBox(node);this.surface=g.createSurface(this.node,box.w||400,box.h||300);},destroy:function(){arr.forEach(this.series,_15b);arr.forEach(this.stack,_15b);func.forIn(this.axes,_15b);if(this.chartTitle&&this.chartTitle.tagName){_151.destroy(this.chartTitle);}this.surface.destroy();},getCoords:function(){return html.coords(this.node,true);},setTheme:function(_160){this.theme=_160.clone();this.dirty=true;return this;},addAxis:function(name,_161){var axis,_162=_161&&_161.type||"Default";if(typeof _162=="string"){if(!dc.axis2d||!dc.axis2d[_162]){throw Error("Can't find axis: "+_162+" - Check "+"require() dependencies.");}axis=new dc.axis2d[_162](this,_161);}else{axis=new _162(this,_161);}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,_163){var plot,_164=_163&&_163.type||"Default";if(typeof _164=="string"){if(!dc.plot2d||!dc.plot2d[_164]){throw Error("Can't find plot: "+_164+" - didn't you forget to dojo"+".require() it?");}plot=new dc.plot2d[_164](this,_163);}else{plot=new _164(this,_163);}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;},getPlot:function(name){return this.stack[this.plots[name]];},removePlot:function(name){if(name in this.plots){var _165=this.plots[name];delete this.plots[name];this.stack[_165].destroy();this.stack.splice(_165,1);func.forIn(this.plots,function(idx,name,_166){if(idx>_165){_166[name]=idx-1;}});var ns=arr.filter(this.series,function(run){return run.plot!=name;});if(ns.length<this.series.length){arr.forEach(this.series,function(run){if(run.plot==name){run.destroy();}});this.runs={};arr.forEach(ns,function(run,_167){this.runs[run.plot]=_167;},this);this.series=ns;}this.dirty=true;}return this;},getPlotOrder:function(){return func.map(this.stack,_15e);},setPlotOrder:function(_168){var _169={},_16a=func.filter(_168,function(name){if(!(name in this.plots)||(name in _169)){return false;}_169[name]=1;return true;},this);if(_16a.length<this.stack.length){func.forEach(this.stack,function(plot){var name=plot.name;if(!(name in _169)){_16a.push(name);}});}var _16b=func.map(_16a,function(name){return this.stack[this.plots[name]];},this);func.forEach(_16b,function(plot,i){this.plots[plot.name]=i;},this);this.stack=_16b;this.dirty=true;return this;},movePlotToFront:function(name){if(name in this.plots){var _16c=this.plots[name];if(_16c){var _16d=this.getPlotOrder();_16d.splice(_16c,1);_16d.unshift(name);return this.setPlotOrder(_16d);}}return this;},movePlotToBack:function(name){if(name in this.plots){var _16e=this.plots[name];if(_16e<this.stack.length-1){var _16f=this.getPlotOrder();_16f.splice(_16e,1);_16f.push(name);return this.setPlotOrder(_16f);}}return this;},addSeries:function(name,data,_170){var run=new _155(this,data,_170);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;},getSeries:function(name){return this.series[this.runs[name]];},removeSeries:function(name){if(name in this.runs){var _171=this.runs[name];delete this.runs[name];this.series[_171].destroy();this.series.splice(_171,1);func.forIn(this.runs,function(idx,name,runs){if(idx>_171){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(_172){return func.map(func.filter(this.series,function(run){return run.plot==_172;}),_15e);},setSeriesOrder:function(_173){var _174,_175={},_176=func.filter(_173,function(name){if(!(name in this.runs)||(name in _175)){return false;}var run=this.series[this.runs[name]];if(_174){if(run.plot!=_174){return false;}}else{_174=run.plot;}_175[name]=1;return true;},this);func.forEach(this.series,function(run){var name=run.name;if(!(name in _175)&&run.plot==_174){_176.push(name);}});var _177=func.map(_176,function(name){return this.series[this.runs[name]];},this);this.series=_177.concat(func.filter(this.series,function(run){return run.plot!=_174;}));func.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 _178=this.runs[name],_179=this.getSeriesOrder(this.series[_178].plot);if(name!=_179[0]){_179.splice(_178,1);_179.unshift(name);return this.setSeriesOrder(_179);}}return this;},moveSeriesToBack:function(name){if(name in this.runs){var _17a=this.runs[name],_17b=this.getSeriesOrder(this.series[_17a].plot);if(name!=_17b[_17b.length-1]){_17b.splice(_17a,1);_17b.push(name);return this.setSeriesOrder(_17b);}}return this;},resize:function(_17c,_17d){var box;switch(arguments.length){case 1:box=lang.mixin({},_17c);_150.setMarginBox(this.node,box);break;case 2:box={w:_17c,h:_17d};_150.setMarginBox(this.node,box);break;}box=_150.getMarginBox(this.node);var d=this.surface.getDimensions();if(d.width!=box.w||d.height!=box.h){this.surface.setDimensions(box.w,box.h);this.dirty=true;return this.render();}else{return this;}},getGeometry:function(){var ret={};func.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,_17e,_17f,zoom){var axis=this.axes[name];if(axis){axis.setWindow(_17e,_17f);arr.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();}func.forIn(this.axes,function(axis){var _180,_181,_182=axis.getScaler().bounds,s=_182.span/(_182.upper-_182.lower);if(axis.vertical){_180=sy;_181=dy/s/_180;}else{_180=sx;_181=dx/s/_180;}axis.setWindow(_180,_181);});arr.forEach(this.stack,function(plot){plot.zoom=zoom;});return this;},zoomIn:function(name,_183){var axis=this.axes[name];if(axis){var _184,_185,_186=axis.getScaler().bounds;var _187=Math.min(_183[0],_183[1]);var _188=Math.max(_183[0],_183[1]);_187=_183[0]<_186.lower?_186.lower:_187;_188=_183[1]>_186.upper?_186.upper:_188;_184=(_186.upper-_186.lower)/(_188-_187);_185=_187-_186.lower;this.setAxisWindow(name,_184,_185);this.render();}},calculateGeometry:function(){if(this.dirty){return this.fullGeometry();}var _189=arr.filter(this.stack,function(plot){return plot.dirty||(plot.hAxis&&this.axes[plot.hAxis].dirty)||(plot.vAxis&&this.axes[plot.vAxis].dirty);},this);_18a(_189,this.plotArea);return this;},fullGeometry:function(){this._makeDirty();arr.forEach(this.stack,_159);if(!this.theme){this.setTheme(new _154(dojox.charting._def));}arr.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);arr.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);func.forIn(this.axes,_159);_18a(this.stack,dim);var _18b=this.offsets={l:0,r:0,t:0,b:0};func.forIn(this.axes,function(axis){func.forIn(axis.getOffsets(),function(o,i){_18b[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 _18c=g.normalizedLength(g.splitFontString(this.titleFont).size);_18b[this.titlePos=="top"?"t":"b"]+=(_18c+this.titleGap);}func.forIn(this.margins,function(o,i){_18b[i]+=o;});this.plotArea={width:dim.width-_18b.l-_18b.r,height:dim.height-_18b.t-_18b.b};func.forIn(this.axes,_159);_18a(this.stack,this.plotArea);return this;},render:function(){if(this.theme){this.theme.clear();}if(this.dirty){return this.fullRender();}this.calculateGeometry();func.forEachRev(this.stack,function(plot){plot.render(this.dim,this.offsets);},this);func.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 _18d=this.offsets,dim=this.dim,rect;arr.forEach(this.series,_15a);func.forIn(this.axes,_15a);arr.forEach(this.stack,_15a);if(this.chartTitle&&this.chartTitle.tagName){_151.destroy(this.chartTitle);}this.surface.clear();this.chartTitle=null;var t=this.theme,fill=t.plotarea&&t.plotarea.fill,_18e=t.plotarea&&t.plotarea.stroke,w=Math.max(0,dim.width-_18d.l-_18d.r),h=Math.max(0,dim.height-_18d.t-_18d.b),rect={x:_18d.l-1,y:_18d.t-1,width:w+2,height:h+2};if(fill){fill=_153.prototype._shapeFill(_153.prototype._plotFill(fill,dim,_18d),rect);this.surface.createRect(rect).setFill(fill);}if(_18e){this.surface.createRect({x:_18d.l,y:_18d.t,width:w+1,height:h+1}).setStroke(_18e);}func.foldr(this.stack,function(z,plot){return plot.render(dim,_18d),0;},0);fill=this.fill!==undefined?this.fill:(t.chart&&t.chart.fill);_18e=this.stroke!==undefined?this.stroke:(t.chart&&t.chart.stroke);if(fill=="inherit"){var node=this.node,fill=new _152(html.style(node,"backgroundColor"));while(fill.a==0&&node!=document.documentElement){fill=new _152(html.style(node,"backgroundColor"));node=node.parentNode;}}if(fill){fill=_153.prototype._plotFill(fill,dim,_18d);if(_18d.l){rect={width:_18d.l,height:dim.height+1};this.surface.createRect(rect).setFill(_153.prototype._shapeFill(fill,rect));}if(_18d.r){rect={x:dim.width-_18d.r,width:_18d.r+1,height:dim.height+2};this.surface.createRect(rect).setFill(_153.prototype._shapeFill(fill,rect));}if(_18d.t){rect={width:dim.width+1,height:_18d.t};this.surface.createRect(rect).setFill(_153.prototype._shapeFill(fill,rect));}if(_18d.b){rect={y:dim.height-_18d.b,width:dim.width+1,height:_18d.b+2};this.surface.createRect(rect).setFill(_153.prototype._shapeFill(fill,rect));}}if(_18e){this.surface.createRect({width:dim.width-1,height:dim.height-1}).setStroke(_18e);}if(this.title){var _18f=(g.renderer=="canvas"),_190=_18f||!has("ie")&&!has("opera")?"html":"gfx",_191=g.normalizedLength(g.splitFontString(this.titleFont).size);this.chartTitle=_156.createText[_190](this,this.surface,dim.width/2,this.titlePos=="top"?_191+this.margins.t:dim.height-this.margins.b,"middle",this.title,this.titleFont,this.titleFontColor);}func.forIn(this.axes,function(axis){axis.render(dim,_18d);});this._makeClean();if(this.surface.render){this.surface.render();}return this;},delayedRender:function(){if(!this._delayedRenderHandle){this._delayedRenderHandle=setTimeout(lang.hitch(this,function(){clearTimeout(this._delayedRenderHandle);this._delayedRenderHandle=null;this.render();}),this.delayInMs);}return this;},connectToPlot:function(name,_192,_193){return name in this.plots?this.stack[this.plots[name]].connect(_192,_193):null;},fireEvent:function(_194,_195,_196){if(_194 in this.runs){var _197=this.series[this.runs[_194]].plot;if(_197 in this.plots){var plot=this.stack[this.plots[_197]];if(plot){plot.fireEvent(_194,_195,_196);}}}return this;},_makeClean:function(){arr.forEach(this.axes,_15c);arr.forEach(this.stack,_15c);arr.forEach(this.series,_15c);this.dirty=false;},_makeDirty:function(){arr.forEach(this.axes,_15d);arr.forEach(this.stack,_15d);arr.forEach(this.series,_15d);this.dirty=true;},_invalidateDependentPlots:function(_198,_199){if(_198 in this.plots){var plot=this.stack[this.plots[_198]],axis,_19a=_199?"vAxis":"hAxis";if(plot[_19a]){axis=this.axes[plot[_19a]];if(axis&&axis.dependOnData()){axis.dirty=true;arr.forEach(this.stack,function(p){if(p[_19a]&&p[_19a]==plot[_19a]){p.dirty=true;}});}}else{plot.dirty=true;}}}});function _19b(_19c){return {min:_19c.hmin,max:_19c.hmax};};function _19d(_19e){return {min:_19e.vmin,max:_19e.vmax};};function _19f(_1a0,h){_1a0.hmin=h.min;_1a0.hmax=h.max;};function _1a1(_1a2,v){_1a2.vmin=v.min;_1a2.vmax=v.max;};function _1a3(_1a4,_1a5){if(_1a4&&_1a5){_1a4.min=Math.min(_1a4.min,_1a5.min);_1a4.max=Math.max(_1a4.max,_1a5.max);}return _1a4||_1a5;};function _18a(_1a6,_1a7){var _1a8={},axes={};arr.forEach(_1a6,function(plot){var _1a9=_1a8[plot.name]=plot.getSeriesStats();if(plot.hAxis){axes[plot.hAxis]=_1a3(axes[plot.hAxis],_19b(_1a9));}if(plot.vAxis){axes[plot.vAxis]=_1a3(axes[plot.vAxis],_19d(_1a9));}});arr.forEach(_1a6,function(plot){var _1aa=_1a8[plot.name];if(plot.hAxis){_19f(_1aa,axes[plot.hAxis]);}if(plot.vAxis){_1a1(_1aa,axes[plot.vAxis]);}plot.initializeScalers(_1a7,_1aa);});};return dojox.charting.Chart;});},"dojox/lang/functional/sequence":function(){define("dojox/lang/functional/sequence",["dojo/_base/lang","./lambda"],function(lang,df){lang.mixin(df,{repeat:function(n,f,z,o){o=o||dojo.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||dojo.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;}});return df;});},"dojox/charting/plot2d/MarkersOnly":function(){define("dojox/charting/plot2d/MarkersOnly",["dojo/_base/declare","./Default"],function(_1ab,_1ac){return _1ab("dojox.charting.plot2d.MarkersOnly",_1ac,{constructor:function(){this.opt.lines=false;this.opt.markers=true;}});});},"dojox/charting/plot2d/Areas":function(){define("dojox/charting/plot2d/Areas",["dojo/_base/declare","./Default"],function(_1ad,_1ae){return _1ad("dojox.charting.plot2d.Areas",_1ae,{constructor:function(){this.opt.lines=true;this.opt.areas=true;}});});},"dojox/charting/action2d/Base":function(){define("dojox/charting/action2d/Base",["dojo/_base/lang","dojo/_base/declare"],function(lang,_1af){return _1af("dojox.charting.action2d.Base",null,{constructor:function(_1b0,plot){this.chart=_1b0;this.plot=plot?(lang.isString(plot)?this.chart.getPlot(plot):plot):this.chart.getPlot("default");},connect:function(){},disconnect:function(){},destroy:function(){this.disconnect();}});});},"dojo/fx":function(){define(["./_base/lang","./Evented","./_base/kernel","./_base/array","./_base/connect","./_base/fx","./dom","./dom-style","./dom-geometry","./ready","require"],function(lang,_1b1,dojo,_1b2,_1b3,_1b4,dom,_1b5,geom,_1b6,_1b7){if(!dojo.isAsync){_1b6(0,function(){var _1b8=["./fx/Toggler"];_1b7(_1b8);});}var _1b9=dojo.fx={};var _1ba={_fire:function(evt,args){if(this[evt]){this[evt].apply(this,args||[]);}return this;}};var _1bb=function(_1bc){this._index=-1;this._animations=_1bc||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=0;_1b2.forEach(this._animations,function(a){this.duration+=a.duration;if(a.delay){this.duration+=a.delay;}},this);};_1bb.prototype=new _1b1();lang.extend(_1bb,{_onAnimate:function(){this._fire("onAnimate",arguments);},_onEnd:function(){_1b3.disconnect(this._onAnimateCtx);_1b3.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=_1b3.connect(this._current,"onAnimate",this,"_onAnimate");this._onEndCtx=_1b3.connect(this._current,"onEnd",this,"_onEnd");this._current.play(0,true);}},play:function(_1bd,_1be){if(!this._current){this._current=this._animations[this._index=0];}if(!_1be&&this._current.status()=="playing"){return this;}var _1bf=_1b3.connect(this._current,"beforeBegin",this,function(){this._fire("beforeBegin");}),_1c0=_1b3.connect(this._current,"onBegin",this,function(arg){this._fire("onBegin",arguments);}),_1c1=_1b3.connect(this._current,"onPlay",this,function(arg){this._fire("onPlay",arguments);_1b3.disconnect(_1bf);_1b3.disconnect(_1c0);_1b3.disconnect(_1c1);});if(this._onAnimateCtx){_1b3.disconnect(this._onAnimateCtx);}this._onAnimateCtx=_1b3.connect(this._current,"onAnimate",this,"_onAnimate");if(this._onEndCtx){_1b3.disconnect(this._onEndCtx);}this._onEndCtx=_1b3.connect(this._current,"onEnd",this,"_onEnd");this._current.play.apply(this._current,arguments);return this;},pause:function(){if(this._current){var e=_1b3.connect(this._current,"onPause",this,function(arg){this._fire("onPause",arguments);_1b3.disconnect(e);});this._current.pause();}return this;},gotoPercent:function(_1c2,_1c3){this.pause();var _1c4=this.duration*_1c2;this._current=null;_1b2.some(this._animations,function(a){if(a.duration<=_1c4){this._current=a;return true;}_1c4-=a.duration;return false;});if(this._current){this._current.gotoPercent(_1c4/this._current.duration,_1c3);}return this;},stop:function(_1c5){if(this._current){if(_1c5){for(;this._index+1<this._animations.length;++this._index){this._animations[this._index].stop(true);}this._current=this._animations[this._index];}var e=_1b3.connect(this._current,"onStop",this,function(arg){this._fire("onStop",arguments);_1b3.disconnect(e);});this._current.stop();}return this;},status:function(){return this._current?this._current.status():"stopped";},destroy:function(){if(this._onAnimateCtx){_1b3.disconnect(this._onAnimateCtx);}if(this._onEndCtx){_1b3.disconnect(this._onEndCtx);}}});lang.extend(_1bb,_1ba);_1b9.chain=function(_1c6){return new _1bb(_1c6);};var _1c7=function(_1c8){this._animations=_1c8||[];this._connects=[];this._finished=0;this.duration=0;_1b2.forEach(_1c8,function(a){var _1c9=a.duration;if(a.delay){_1c9+=a.delay;}if(this.duration<_1c9){this.duration=_1c9;}this._connects.push(_1b3.connect(a,"onEnd",this,"_onEnd"));},this);this._pseudoAnimation=new _1b4.Animation({curve:[0,1],duration:this.duration});var self=this;_1b2.forEach(["beforeBegin","onBegin","onPlay","onAnimate","onPause","onStop","onEnd"],function(evt){self._connects.push(_1b3.connect(self._pseudoAnimation,evt,function(){self._fire(evt,arguments);}));});};lang.extend(_1c7,{_doAction:function(_1ca,args){_1b2.forEach(this._animations,function(a){a[_1ca].apply(a,args);});return this;},_onEnd:function(){if(++this._finished>this._animations.length){this._fire("onEnd");}},_call:function(_1cb,args){var t=this._pseudoAnimation;t[_1cb].apply(t,args);},play:function(_1cc,_1cd){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(_1ce,_1cf){var ms=this.duration*_1ce;_1b2.forEach(this._animations,function(a){a.gotoPercent(a.duration<ms?1:(ms/a.duration),_1cf);});this._call("gotoPercent",arguments);return this;},stop:function(_1d0){this._doAction("stop",arguments);this._call("stop",arguments);return this;},status:function(){return this._pseudoAnimation.status();},destroy:function(){_1b2.forEach(this._connects,_1b3.disconnect);}});lang.extend(_1c7,_1ba);_1b9.combine=function(_1d1){return new _1c7(_1d1);};_1b9.wipeIn=function(args){var node=args.node=dom.byId(args.node),s=node.style,o;var anim=_1b4.animateProperty(lang.mixin({properties:{height:{start:function(){o=s.overflow;s.overflow="hidden";if(s.visibility=="hidden"||s.display=="none"){s.height="1px";s.display="";s.visibility="";return 1;}else{var _1d2=_1b5.get(node,"height");return Math.max(_1d2,1);}},end:function(){return node.scrollHeight;}}}},args));var fini=function(){s.height="auto";s.overflow=o;};_1b3.connect(anim,"onStop",fini);_1b3.connect(anim,"onEnd",fini);return anim;};_1b9.wipeOut=function(args){var node=args.node=dom.byId(args.node),s=node.style,o;var anim=_1b4.animateProperty(lang.mixin({properties:{height:{end:1}}},args));_1b3.connect(anim,"beforeBegin",function(){o=s.overflow;s.overflow="hidden";s.display="";});var fini=function(){s.overflow=o;s.height="auto";s.display="none";};_1b3.connect(anim,"onStop",fini);_1b3.connect(anim,"onEnd",fini);return anim;};_1b9.slideTo=function(args){var node=args.node=dom.byId(args.node),top=null,left=null;var init=(function(n){return function(){var cs=_1b5.getComputedStyle(n);var pos=cs.position;top=(pos=="absolute"?n.offsetTop:parseInt(cs.top)||0);left=(pos=="absolute"?n.offsetLeft:parseInt(cs.left)||0);if(pos!="absolute"&&pos!="relative"){var ret=geom.position(n,true);top=ret.y;left=ret.x;n.style.position="absolute";n.style.top=top+"px";n.style.left=left+"px";}};})(node);init();var anim=_1b4.animateProperty(lang.mixin({properties:{top:args.top||0,left:args.left||0}},args));_1b3.connect(anim,"beforeBegin",anim,init);return anim;};return _1b9;});},"dojox/gfx/fx":function(){define("dojox/gfx/fx",["dojo/_base/lang","./_base","./matrix","dojo/_base/Color","dojo/_base/array","dojo/_base/fx","dojo/_base/connect"],function(lang,g,m,_1d3,arr,fx,Hub){var fxg=g.fx={};function _1d4(_1d5,end){this.start=_1d5,this.end=end;};_1d4.prototype.getValue=function(r){return (this.end-this.start)*r+this.start;};function _1d6(_1d7,end,_1d8){this.start=_1d7,this.end=end;this.units=_1d8;};_1d6.prototype.getValue=function(r){return (this.end-this.start)*r+this.start+this.units;};function _1d9(_1da,end){this.start=_1da,this.end=end;this.temp=new _1d3();};_1d9.prototype.getValue=function(r){return _1d3.blendColors(this.start,this.end,r,this.temp);};function _1db(_1dc){this.values=_1dc;this.length=_1dc.length;};_1db.prototype.getValue=function(r){return this.values[Math.min(Math.floor(r*this.length),this.length-1)];};function _1dd(_1de,def){this.values=_1de;this.def=def?def:{};};_1dd.prototype.getValue=function(r){var ret=lang.clone(this.def);for(var i in this.values){ret[i]=this.values[i].getValue(r);}return ret;};function _1df(_1e0,_1e1){this.stack=_1e0;this.original=_1e1;};_1df.prototype.getValue=function(r){var ret=[];arr.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=arr.map(t.start,function(v,i){return (t.end[i]-v)*r+v;}),_1e2=f.apply(m,val);if(_1e2 instanceof m.Matrix2D){ret.push(_1e2);}},this);return ret;};var _1e3=new _1d3(0,0,0,0);function _1e4(prop,obj,name,def){if(prop.values){return new _1db(prop.values);}var _1e5,_1e6,end;if(prop.start){_1e6=g.normalizeColor(prop.start);}else{_1e6=_1e5=obj?(name?obj[name]:obj):def;}if(prop.end){end=g.normalizeColor(prop.end);}else{if(!_1e5){_1e5=obj?(name?obj[name]:obj):def;}end=_1e5;}return new _1d9(_1e6,end);};function _1e7(prop,obj,name,def){if(prop.values){return new _1db(prop.values);}var _1e8,_1e9,end;if(prop.start){_1e9=prop.start;}else{_1e9=_1e8=obj?obj[name]:def;}if(prop.end){end=prop.end;}else{if(typeof _1e8!="number"){_1e8=obj?obj[name]:def;}end=_1e8;}return new _1d4(_1e9,end);};fxg.animateStroke=function(args){if(!args.easing){args.easing=fx._defaultEasing;}var anim=new fx.Animation(args),_1ea=args.shape,_1eb;Hub.connect(anim,"beforeBegin",anim,function(){_1eb=_1ea.getStroke();var prop=args.color,_1ec={},_1ed,_1ee,end;if(prop){_1ec.color=_1e4(prop,_1eb,"color",_1e3);}prop=args.style;if(prop&&prop.values){_1ec.style=new _1db(prop.values);}prop=args.width;if(prop){_1ec.width=_1e7(prop,_1eb,"width",1);}prop=args.cap;if(prop&&prop.values){_1ec.cap=new _1db(prop.values);}prop=args.join;if(prop){if(prop.values){_1ec.join=new _1db(prop.values);}else{_1ee=prop.start?prop.start:(_1eb&&_1eb.join||0);end=prop.end?prop.end:(_1eb&&_1eb.join||0);if(typeof _1ee=="number"&&typeof end=="number"){_1ec.join=new _1d4(_1ee,end);}}}this.curve=new _1dd(_1ec,_1eb);});Hub.connect(anim,"onAnimate",_1ea,"setStroke");return anim;};fxg.animateFill=function(args){if(!args.easing){args.easing=fx._defaultEasing;}var anim=new fx.Animation(args),_1ef=args.shape,fill;Hub.connect(anim,"beforeBegin",anim,function(){fill=_1ef.getFill();var prop=args.color,_1f0={};if(prop){this.curve=_1e4(prop,fill,"",_1e3);}});Hub.connect(anim,"onAnimate",_1ef,"setFill");return anim;};fxg.animateFont=function(args){if(!args.easing){args.easing=fx._defaultEasing;}var anim=new fx.Animation(args),_1f1=args.shape,font;Hub.connect(anim,"beforeBegin",anim,function(){font=_1f1.getFont();var prop=args.style,_1f2={},_1f3,_1f4,end;if(prop&&prop.values){_1f2.style=new _1db(prop.values);}prop=args.variant;if(prop&&prop.values){_1f2.variant=new _1db(prop.values);}prop=args.weight;if(prop&&prop.values){_1f2.weight=new _1db(prop.values);}prop=args.family;if(prop&&prop.values){_1f2.family=new _1db(prop.values);}prop=args.size;if(prop&&prop.units){_1f4=parseFloat(prop.start?prop.start:(_1f1.font&&_1f1.font.size||"0"));end=parseFloat(prop.end?prop.end:(_1f1.font&&_1f1.font.size||"0"));_1f2.size=new _1d6(_1f4,end,prop.units);}this.curve=new _1dd(_1f2,font);});Hub.connect(anim,"onAnimate",_1f1,"setFont");return anim;};fxg.animateTransform=function(args){if(!args.easing){args.easing=fx._defaultEasing;}var anim=new fx.Animation(args),_1f5=args.shape,_1f6;Hub.connect(anim,"beforeBegin",anim,function(){_1f6=_1f5.getTransform();this.curve=new _1df(args.transform,_1f6);});Hub.connect(anim,"onAnimate",_1f5,"setTransform");return anim;};return fxg;});},"dojox/charting/action2d/PlotAction":function(){define("dojox/charting/action2d/PlotAction",["dojo/_base/connect","dojo/_base/declare","./Base","dojo/fx/easing","dojox/lang/functional","dojox/lang/functional/object"],function(hub,_1f7,Base,dfe,df,dlfo){var _1f8=400,_1f9=dfe.backOut;return _1f7("dojox.charting.action2d.PlotAction",Base,{overOutEvents:{onmouseover:1,onmouseout:1},constructor:function(_1fa,plot,_1fb){this.anim={};if(!_1fb){_1fb={};}this.duration=_1fb.duration?_1fb.duration:_1f8;this.easing=_1fb.easing?_1fb.easing:_1f9;},connect:function(){this.handle=this.chart.connectToPlot(this.plot.name,this,"process");},disconnect:function(){if(this.handle){hub.disconnect(this.handle);this.handle=null;}},reset:function(){},destroy:function(){this.inherited(arguments);df.forIn(this.anim,function(o){df.forIn(o,function(anim){anim.action.stop(true);});});this.anim={};}});});},"dijit/BackgroundIframe":function(){define("dijit/BackgroundIframe",["require",".","dojo/_base/config","dojo/dom-construct","dojo/dom-style","dojo/_base/lang","dojo/on","dojo/_base/sniff","dojo/_base/window"],function(_1fc,_1fd,_1fe,_1ff,_200,lang,on,has,win){var _201=new function(){var _202=[];this.pop=function(){var _203;if(_202.length){_203=_202.pop();_203.style.display="";}else{if(has("ie")<9){var burl=_1fe["dojoBlankHtmlUrl"]||_1fc.toUrl("dojo/resources/blank.html")||"javascript:\"\"";var html="<iframe src='"+burl+"' role='presentation'"+" style='position: absolute; left: 0px; top: 0px;"+"z-index: -1; filter:Alpha(Opacity=\"0\");'>";_203=win.doc.createElement(html);}else{_203=_1ff.create("iframe");_203.src="javascript:\"\"";_203.className="dijitBackgroundIframe";_203.setAttribute("role","presentation");_200.set(_203,"opacity",0.1);}_203.tabIndex=-1;}return _203;};this.push=function(_204){_204.style.display="none";_202.push(_204);};}();_1fd.BackgroundIframe=function(node){if(!node.id){throw new Error("no id");}if(has("ie")||has("mozilla")){var _205=(this.iframe=_201.pop());node.appendChild(_205);if(has("ie")<7||has("quirks")){this.resize(node);this._conn=on(node,"resize",lang.hitch(this,function(){this.resize(node);}));}else{_200.set(_205,{width:"100%",height:"100%"});}}};lang.extend(_1fd.BackgroundIframe,{resize:function(node){if(this.iframe){_200.set(this.iframe,{width:node.offsetWidth+"px",height:node.offsetHeight+"px"});}},destroy:function(){if(this._conn){this._conn.remove();this._conn=null;}if(this.iframe){_201.push(this.iframe);delete this.iframe;}}});return _1fd.BackgroundIframe;});},"dojox/main":function(){define("dojox/main",["dojo/_base/kernel"],function(dojo){return dojo.dojox;});},"dojox/charting/action2d/Magnify":function(){define("dojox/charting/action2d/Magnify",["dojo/_base/connect","dojo/_base/declare","./PlotAction","dojox/gfx/matrix","dojox/gfx/fx","dojo/fx","dojo/fx/easing"],function(Hub,_206,_207,m,gf,df,dfe){var _208=2;return _206("dojox.charting.action2d.Magnify",_207,{defaultParams:{duration:400,easing:dfe.backOut,scale:_208},optionalParams:{},constructor:function(_209,plot,_20a){this.scale=_20a&&typeof _20a.scale=="number"?_20a.scale:_208;this.connect();},process:function(o){if(!o.shape||!(o.type in this.overOutEvents)||!("cx" in o)||!("cy" in o)){return;}var _20b=o.run.name,_20c=o.index,_20d=[],anim,init,_20e;if(_20b in this.anim){anim=this.anim[_20b][_20c];}else{this.anim[_20b]={};}if(anim){anim.action.stop(true);}else{this.anim[_20b][_20c]=anim={};}if(o.type=="onmouseover"){init=m.identity;_20e=this.scale;}else{init=m.scaleAt(this.scale,o.cx,o.cy);_20e=1/this.scale;}var _20f={shape:o.shape,duration:this.duration,easing:this.easing,transform:[{name:"scaleAt",start:[1,o.cx,o.cy],end:[_20e,o.cx,o.cy]},init]};if(o.shape){_20d.push(gf.animateTransform(_20f));}if(o.oultine){_20f.shape=o.outline;_20d.push(gf.animateTransform(_20f));}if(o.shadow){_20f.shape=o.shadow;_20d.push(gf.animateTransform(_20f));}if(!_20d.length){delete this.anim[_20b][_20c];return;}anim.action=df.combine(_20d);if(o.type=="onmouseout"){Hub.connect(anim.action,"onEnd",this,function(){if(this.anim[_20b]){delete this.anim[_20b][_20c];}});}anim.action.play();}});});},"dojo/Stateful":function(){define(["./_base/kernel","./_base/declare","./_base/lang","./_base/array"],function(dojo,_210,lang,_211){return dojo.declare("dojo.Stateful",null,{postscript:function(_212){if(_212){lang.mixin(this,_212);}},get:function(name){return this[name];},set:function(name,_213){if(typeof name==="object"){for(var x in name){this.set(x,name[x]);}return this;}var _214=this[name];this[name]=_213;if(this._watchCallbacks){this._watchCallbacks(name,_214,_213);}return this;},watch:function(name,_215){var _216=this._watchCallbacks;if(!_216){var self=this;_216=this._watchCallbacks=function(name,_217,_218,_219){var _21a=function(_21b){if(_21b){_21b=_21b.slice();for(var i=0,l=_21b.length;i<l;i++){try{_21b[i].call(self,name,_217,_218);}catch(e){console.error(e);}}}};_21a(_216["_"+name]);if(!_219){_21a(_216["*"]);}};}if(!_215&&typeof name==="function"){_215=name;name="*";}else{name="_"+name;}var _21c=_216[name];if(typeof _21c!=="object"){_21c=_216[name]=[];}_21c.push(_215);return {unwatch:function(){_21c.splice(_211.indexOf(_21c,_215),1);}};}});});},"dojox/charting/plot2d/Markers":function(){define("dojox/charting/plot2d/Markers",["dojo/_base/declare","./Default"],function(_21d,_21e){return _21d("dojox.charting.plot2d.Markers",_21e,{constructor:function(){this.opt.markers=true;}});});},"dojox/charting/plot2d/Bubble":function(){define("dojox/charting/plot2d/Bubble",["dojo/_base/lang","dojo/_base/declare","dojo/_base/array","./Base","./common","dojox/lang/functional","dojox/lang/functional/reversed","dojox/lang/utils","dojox/gfx/fx"],function(lang,_21f,arr,Base,dc,df,dfr,du,fx){var _220=dfr.lambda("item.purgeGroup()");return _21f("dojox.charting.plot2d.Bubble",Base,{defaultParams:{hAxis:"x",vAxis:"y",animate:null},optionalParams:{stroke:{},outline:{},shadow:{},fill:{},font:"",fontColor:""},constructor:function(_221,_222){this.opt=lang.clone(this.defaultParams);du.updateWithObject(this.opt,_222);du.updateWithPattern(this.opt,_222,this.optionalParams);this.series=[];this.hAxis=this.opt.hAxis;this.vAxis=this.opt.vAxis;this.animate=this.opt.animate;},render:function(dim,_223){if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_223);}this.resetEvents();this.dirty=this.isDirty();if(this.dirty){arr.forEach(this.series,_220);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),_224=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 _225=t.next("circle",[this.opt,run]),s=run.group,_226=arr.map(run.data,function(v,i){return v?{x:ht(v.x)+_223.l,y:dim.height-_223.b-vt(v.y),radius:this._vScaler.bounds.scale*(v.size/2)}:null;},this);var _227=null,_228=null,_229=null;if(_225.series.shadow){_229=arr.map(_226,function(item){if(item!==null){var _22a=t.addMixin(_225,"circle",item,true),_22b=_22a.series.shadow;var _22c=s.createCircle({cx:item.x+_22b.dx,cy:item.y+_22b.dy,r:item.radius}).setStroke(_22b).setFill(_22b.color);if(this.animate){this._animateBubble(_22c,dim.height-_223.b,item.radius);}return _22c;}return null;},this);if(_229.length){run.dyn.shadow=_229[_229.length-1].getStroke();}}if(_225.series.outline){_228=arr.map(_226,function(item){if(item!==null){var _22d=t.addMixin(_225,"circle",item,true),_22e=dc.makeStroke(_22d.series.outline);_22e.width=2*_22e.width+_225.series.stroke.width;var _22f=s.createCircle({cx:item.x,cy:item.y,r:item.radius}).setStroke(_22e);if(this.animate){this._animateBubble(_22f,dim.height-_223.b,item.radius);}return _22f;}return null;},this);if(_228.length){run.dyn.outline=_228[_228.length-1].getStroke();}}_227=arr.map(_226,function(item){if(item!==null){var _230=t.addMixin(_225,"circle",item,true),rect={x:item.x-item.radius,y:item.y-item.radius,width:2*item.radius,height:2*item.radius};var _231=this._plotFill(_230.series.fill,dim,_223);_231=this._shapeFill(_231,rect);var _232=s.createCircle({cx:item.x,cy:item.y,r:item.radius}).setFill(_231).setStroke(_230.series.stroke);if(this.animate){this._animateBubble(_232,dim.height-_223.b,item.radius);}return _232;}return null;},this);if(_227.length){run.dyn.fill=_227[_227.length-1].getFill();run.dyn.stroke=_227[_227.length-1].getStroke();}if(_224){var _233=new Array(_227.length);arr.forEach(_227,function(s,i){if(s!==null){var o={element:"circle",index:i,run:run,shape:s,outline:_228&&_228[i]||null,shadow:_229&&_229[i]||null,x:run.data[i].x,y:run.data[i].y,r:run.data[i].size/2,cx:_226[i].x,cy:_226[i].y,cr:_226[i].radius};this._connectEvents(o);_233[i]=o;}},this);this._eventSeries[run.name]=_233;}else{delete this._eventSeries[run.name];}run.dirty=false;}this.dirty=false;return this;},_animateBubble:function(_234,_235,size){fx.animateTransform(lang.delegate({shape:_234,duration:1200,transform:[{name:"translate",start:[0,_235],end:[0,0]},{name:"scale",start:[0,1/size],end:[1,1]},{name:"original"}]},this.animate)).play();}});});},"dojo/touch":function(){define(["./_base/kernel","./on","./has","./mouse"],function(dojo,on,has,_236){function _237(type){return function(node,_238){return on(node,type,_238);};};var _239=has("touch");dojo.touch={press:_237(_239?"touchstart":"mousedown"),move:_237(_239?"touchmove":"mousemove"),release:_237(_239?"touchend":"mouseup"),cancel:_239?_237("touchcancel"):_236.leave};return dojo.touch;});},"dojox/gfx/gradutils":function(){define(["./_base","dojo/_base/lang","./matrix","dojo/_base/Color"],function(g,lang,m,_23a){var _23b=g.gradutils={};function _23c(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 _23a.blendColors(new _23a(prev.color),new _23a(stop.color),(o-prev.offset)/(stop.offset-prev.offset));}return stop.color;}}return c[len-1].color;};_23b.getColor=function(fill,pt){var o;if(fill){switch(fill.type){case "linear":var _23d=Math.atan2(fill.y2-fill.y1,fill.x2-fill.x1),_23e=m.rotate(-_23d),_23f=m.project(fill.x2-fill.x1,fill.y2-fill.y1),p=m.multiplyPoint(_23f,pt),pf1=m.multiplyPoint(_23f,fill.x1,fill.y1),pf2=m.multiplyPoint(_23f,fill.x2,fill.y2),_240=m.multiplyPoint(_23e,pf2.x-pf1.x,pf2.y-pf1.y).x;o=m.multiplyPoint(_23e,p.x-pf1.x,p.y-pf1.y).x/_240;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 _23c(o,fill.colors);}return new _23a(fill||[0,0,0,0]);};_23b.reverse=function(fill){if(fill){switch(fill.type){case "linear":case "radial":fill=lang.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;};return _23b;});},"dojo/string":function(){define(["./_base/kernel","./_base/lang"],function(dojo,lang){lang.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(_241,map,_242,_243){_243=_243||dojo.global;_242=_242?lang.hitch(_243,_242):function(v){return v;};return _241.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_244,key,_245){var _246=lang.getObject(key,false,map);if(_245){_246=lang.getObject(_245,false,_243).call(_243,_246,key);}return _242(_246,key).toString();});};dojo.string.trim=String.prototype.trim?lang.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;};return dojo.string;});},"dijit/registry":function(){define("dijit/registry",["dojo/_base/array","dojo/_base/sniff","dojo/_base/unload","dojo/_base/window","."],function(_247,has,_248,win,_249){var _24a={},hash={};var _24b={length:0,add:function(_24c){if(hash[_24c.id]){throw new Error("Tried to register widget with id=="+_24c.id+" but that id is already registered");}hash[_24c.id]=_24c;this.length++;},remove:function(id){if(hash[id]){delete hash[id];this.length--;}},byId:function(id){return typeof id=="string"?hash[id]:id;},byNode:function(node){return hash[node.getAttribute("widgetId")];},toArray:function(){var ar=[];for(var id in hash){ar.push(hash[id]);}return ar;},getUniqueId:function(_24d){var id;do{id=_24d+"_"+(_24d in _24a?++_24a[_24d]:_24a[_24d]=0);}while(hash[id]);return _249._scopeName=="dijit"?id:_249._scopeName+"_"+id;},findWidgets:function(root){var _24e=[];function _24f(root){for(var node=root.firstChild;node;node=node.nextSibling){if(node.nodeType==1){var _250=node.getAttribute("widgetId");if(_250){var _251=hash[_250];if(_251){_24e.push(_251);}}else{_24f(node);}}}};_24f(root);return _24e;},_destroyAll:function(){_249._curFocus=null;_249._prevFocus=null;_249._activeStack=[];_247.forEach(_24b.findWidgets(win.body()),function(_252){if(!_252._destroyed){if(_252.destroyRecursive){_252.destroyRecursive();}else{if(_252.destroy){_252.destroy();}}}});},getEnclosingWidget:function(node){while(node){var id=node.getAttribute&&node.getAttribute("widgetId");if(id){return hash[id];}node=node.parentNode;}return null;},_hash:hash};if(has("ie")){_248.addOnWindowUnload(function(){_24b._destroyAll();});}_249.registry=_24b;return _24b;});},"dojox/charting/plot2d/Lines":function(){define("dojox/charting/plot2d/Lines",["dojo/_base/declare","./Default"],function(_253,_254){return _253("dojox.charting.plot2d.Lines",_254,{constructor:function(){this.opt.lines=true;}});});},"dijit/_base/manager":function(){define("dijit/_base/manager",["dojo/_base/array","dojo/_base/config","../registry",".."],function(_255,_256,_257,_258){_255.forEach(["byId","getUniqueId","findWidgets","_destroyAll","byNode","getEnclosingWidget"],function(name){_258[name]=_257[name];});_258.defaultDuration=_256["defaultDuration"]||200;return _258;});},"dojox/charting/plot2d/StackedAreas":function(){define("dojox/charting/plot2d/StackedAreas",["dojo/_base/declare","./Stacked"],function(_259,_25a){return _259("dojox.charting.plot2d.StackedAreas",_25a,{constructor:function(){this.opt.lines=true;this.opt.areas=true;}});});},"dojox/charting/plot2d/Stacked":function(){define("dojox/charting/plot2d/Stacked",["dojo/_base/lang","dojo/_base/declare","dojo/_base/array","./Default","./common","dojox/lang/functional","dojox/lang/functional/reversed","dojox/lang/functional/sequence"],function(lang,_25b,arr,_25c,dc,df,dfr,dfs){var _25d=dfr.lambda("item.purgeGroup()");return _25b("dojox.charting.plot2d.Stacked",_25c,{getSeriesStats:function(){var _25e=dc.collectStackedStats(this.series);this._maxRunLength=_25e.hmax;return _25e;},render:function(dim,_25f){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,_25f);}this.resetEvents();this.dirty=this.isDirty();if(this.dirty){arr.forEach(this.series,_25d);this._eventSeries={};this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,_260=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 _261=t.next(this.opt.areas?"area":"line",[this.opt,run],true),s=run.group,_262,_263=arr.map(acc,function(v,i){return {x:ht(i+1)+_25f.l,y:dim.height-_25f.b-vt(v)};},this);var _264=this.opt.tension?dc.curve(_263,this.opt.tension):"";if(this.opt.areas){var _265=lang.clone(_263);if(this.opt.tension){var p=dc.curve(_265,this.opt.tension);p+=" L"+_263[_263.length-1].x+","+(dim.height-_25f.b)+" L"+_263[0].x+","+(dim.height-_25f.b)+" L"+_263[0].x+","+_263[0].y;run.dyn.fill=s.createPath(p).setFill(_261.series.fill).getFill();}else{_265.push({x:_263[_263.length-1].x,y:dim.height-_25f.b});_265.push({x:_263[0].x,y:dim.height-_25f.b});_265.push(_263[0]);run.dyn.fill=s.createPolyline(_265).setFill(_261.series.fill).getFill();}}if(this.opt.lines||this.opt.markers){if(_261.series.outline){_262=dc.makeStroke(_261.series.outline);_262.width=2*_262.width+_261.series.stroke.width;}}if(this.opt.markers){run.dyn.marker=_261.symbol;}var _266,_267,_268;if(_261.series.shadow&&_261.series.stroke){var _269=_261.series.shadow,_26a=arr.map(_263,function(c){return {x:c.x+_269.dx,y:c.y+_269.dy};});if(this.opt.lines){if(this.opt.tension){run.dyn.shadow=s.createPath(dc.curve(_26a,this.opt.tension)).setStroke(_269).getStroke();}else{run.dyn.shadow=s.createPolyline(_26a).setStroke(_269).getStroke();}}if(this.opt.markers){_269=_261.marker.shadow;_268=arr.map(_26a,function(c){return s.createPath("M"+c.x+" "+c.y+" "+_261.symbol).setStroke(_269).setFill(_269.color);},this);}}if(this.opt.lines){if(_262){if(this.opt.tension){run.dyn.outline=s.createPath(_264).setStroke(_262).getStroke();}else{run.dyn.outline=s.createPolyline(_263).setStroke(_262).getStroke();}}if(this.opt.tension){run.dyn.stroke=s.createPath(_264).setStroke(_261.series.stroke).getStroke();}else{run.dyn.stroke=s.createPolyline(_263).setStroke(_261.series.stroke).getStroke();}}if(this.opt.markers){_266=new Array(_263.length);_267=new Array(_263.length);_262=null;if(_261.marker.outline){_262=dc.makeStroke(_261.marker.outline);_262.width=2*_262.width+(_261.marker.stroke?_261.marker.stroke.width:0);}arr.forEach(_263,function(c,i){var path="M"+c.x+" "+c.y+" "+_261.symbol;if(_262){_267[i]=s.createPath(path).setStroke(_262);}_266[i]=s.createPath(path).setStroke(_261.marker.stroke).setFill(_261.marker.fill);},this);if(_260){var _26b=new Array(_266.length);arr.forEach(_266,function(s,i){var o={element:"marker",index:i,run:run,shape:s,outline:_267[i]||null,shadow:_268&&_268[i]||null,cx:_263[i].x,cy:_263[i].y,x:i+1,y:run.data[i]};this._connectEvents(o);_26b[i]=o;},this);this._eventSeries[run.name]=_26b;}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;}});});},"dojo/fx/easing":function(){define(["../_base/lang"],function(lang){var _26c={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-_26c.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 _26c.bounceIn(n*2)/2;}return (_26c.bounceOut(n*2-1)/2)+0.5;}};lang.setObject("dojo.fx.easing",_26c);return _26c;});},"dojox/charting/action2d/Highlight":function(){define("dojox/charting/action2d/Highlight",["dojo/_base/kernel","dojo/_base/lang","dojo/_base/declare","dojo/_base/Color","dojo/_base/connect","dojox/color/_base","./PlotAction","dojo/fx/easing","dojox/gfx/fx"],function(dojo,lang,_26d,_26e,hub,c,_26f,dfe,dgf){var _270=100,_271=75,_272=50,cc=function(_273){return function(){return _273;};},hl=function(_274){var a=new c.Color(_274),x=a.toHsl();if(x.s==0){x.l=x.l<50?100:0;}else{x.s=_270;if(x.l<_272){x.l=_271;}else{if(x.l>_271){x.l=_272;}else{x.l=x.l-_272>_271-x.l?_272:_271;}}}return c.fromHsl(x);};return _26d("dojox.charting.action2d.Highlight",_26f,{defaultParams:{duration:400,easing:dfe.backOut},optionalParams:{highlight:"red"},constructor:function(_275,plot,_276){var a=_276&&_276.highlight;this.colorFun=a?(lang.isFunction(a)?a:cc(a)):hl;this.connect();},process:function(o){if(!o.shape||!(o.type in this.overOutEvents)){return;}var _277=o.run.name,_278=o.index,anim,_279,_27a;if(_277 in this.anim){anim=this.anim[_277][_278];}else{this.anim[_277]={};}if(anim){anim.action.stop(true);}else{var _27b=o.shape.getFill();if(!_27b||!(_27b instanceof _26e)){return;}this.anim[_277][_278]=anim={start:_27b,end:this.colorFun(_27b)};}var _27c=anim.start,end=anim.end;if(o.type=="onmouseout"){var t=_27c;_27c=end;end=t;}anim.action=dgf.animateFill({shape:o.shape,duration:this.duration,easing:this.easing,color:{start:_27c,end:end}});if(o.type=="onmouseout"){hub.connect(anim.action,"onEnd",this,function(){if(this.anim[_277]){delete this.anim[_277][_278];}});}anim.action.play();}});});},"dojox/color/Palette":function(){define("dojox/color/Palette",["dojo/_base/kernel","../main","dojo/_base/lang","dojo/_base/array","./_base"],function(dojo,_27d,lang,arr,dxc){dxc.Palette=function(base){this.colors=[];if(base instanceof dxc.Palette){this.colors=base.colors.slice(0);}else{if(base instanceof dxc.Color){this.colors=[null,null,base,null,null];}else{if(lang.isArray(base)){this.colors=arr.map(base.slice(0),function(item){if(lang.isString(item)){return new dxc.Color(item);}return item;});}else{if(lang.isString(base)){this.colors=[null,null,new dxc.Color(base),null,null];}}}}};function _27e(p,_27f,val){var ret=new dxc.Palette();ret.colors=[];arr.forEach(p.colors,function(item){var r=(_27f=="dr")?item.r+val:item.r,g=(_27f=="dg")?item.g+val:item.g,b=(_27f=="db")?item.b+val:item.b,a=(_27f=="da")?item.a+val:item.a;ret.colors.push(new dxc.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,_280,val){var ret=new dxc.Palette();ret.colors=[];arr.forEach(p.colors,function(item){var o=item.toCmy(),c=(_280=="dc")?o.c+val:o.c,m=(_280=="dm")?o.m+val:o.m,y=(_280=="dy")?o.y+val:o.y;ret.colors.push(dxc.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 _281(p,_282,val){var ret=new dxc.Palette();ret.colors=[];arr.forEach(p.colors,function(item){var o=item.toCmyk(),c=(_282=="dc")?o.c+val:o.c,m=(_282=="dm")?o.m+val:o.m,y=(_282=="dy")?o.y+val:o.y,k=(_282=="dk")?o.b+val:o.b;ret.colors.push(dxc.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,_283,val){var ret=new dxc.Palette();ret.colors=[];arr.forEach(p.colors,function(item){var o=item.toHsl(),h=(_283=="dh")?o.h+val:o.h,s=(_283=="ds")?o.s+val:o.s,l=(_283=="dl")?o.l+val:o.l;ret.colors.push(dxc.fromHsl(h%360,Math.min(100,Math.max(0,s)),Math.min(100,Math.max(0,l))));});return ret;};function tHSV(p,_284,val){var ret=new dxc.Palette();ret.colors=[];arr.forEach(p.colors,function(item){var o=item.toHsv(),h=(_284=="dh")?o.h+val:o.h,s=(_284=="ds")?o.s+val:o.s,v=(_284=="dv")?o.v+val:o.v;ret.colors.push(dxc.fromHsv(h%360,Math.min(100,Math.max(0,s)),Math.min(100,Math.max(0,v))));});return ret;};function _285(val,low,high){return high-((high-val)*((high-low)/high));};lang.extend(dxc.Palette,{transform:function(_286){var fn=_27e;if(_286.use){var use=_286.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=_281;}else{fn=tCMY;}}}}else{if("dc" in _286||"dm" in _286||"dy" in _286){if("dk" in _286){fn=_281;}else{fn=tCMY;}}else{if("dh" in _286||"ds" in _286){if("dv" in _286){fn=tHSV;}else{fn=tHSL;}}}}var _287=this;for(var p in _286){if(p=="use"){continue;}_287=fn(_287,p,_286[p]);}return _287;},clone:function(){return new dxc.Palette(this);}});lang.mixin(dxc.Palette,{generators:{analogous:function(args){var high=args.high||60,low=args.low||18,base=lang.isString(args.base)?new dxc.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(arr.map(h,function(hue,i){return dxc.fromHsv(hue,s[i],v[i]);}));},monochromatic:function(args){var base=lang.isString(args.base)?new dxc.Color(args.base):args.base,hsv=base.toHsv();var s1=(hsv.s-30>9)?hsv.s-30:hsv.s+30,s2=hsv.s,v1=_285(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([dxc.fromHsv(hsv.h,s1,v1),dxc.fromHsv(hsv.h,s2,v3),base,dxc.fromHsv(hsv.h,s1,v3),dxc.fromHsv(hsv.h,s2,v2)]);},triadic:function(args){var base=lang.isString(args.base)?new dxc.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([dxc.fromHsv(h1,s1,hsv.v),dxc.fromHsv(hsv.h,s2,v2),base,dxc.fromHsv(h2,s2,v1),dxc.fromHsv(h2,s3,v3)]);},complementary:function(args){var base=lang.isString(args.base)?new dxc.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=_285(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([dxc.fromHsv(hsv.h,s1,v1),dxc.fromHsv(hsv.h,s2,v2),base,dxc.fromHsv(h1,s3,v2),dxc.fromHsv(h1,hsv.s,hsv.v)]);},splitComplementary:function(args){var base=lang.isString(args.base)?new dxc.Color(args.base):args.base,_288=args.da||30,hsv=base.toHsv();var _289=((hsv.h*2)+137<360)?(hsv.h*2)+137:Math.floor(hsv.h/2)-137,h1=(_289-_288+360)%360,h2=(_289+_288)%360,s1=Math.max(hsv.s-10,0),s2=_285(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([dxc.fromHsv(h1,s1,v1),dxc.fromHsv(h1,s2,v2),base,dxc.fromHsv(h2,s3,v2),dxc.fromHsv(h2,hsv.s,hsv.v)]);},compound:function(args){var base=lang.isString(args.base)?new dxc.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([dxc.fromHsv(h1,s1,v1),dxc.fromHsv(h1,s2,v2),base,dxc.fromHsv(h2,s3,v3),dxc.fromHsv(h3,s2,v2)]);},shades:function(args){var base=lang.isString(args.base)?new dxc.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 dxc.fromHsv(hsv.h,s,v1),new dxc.fromHsv(hsv.h,s,v2),base,new dxc.fromHsv(hsv.h,s,v3),new dxc.fromHsv(hsv.h,s,v4)]);}},generate:function(base,type){if(lang.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.");}});return dxc.Palette;});},"dijit/a11y":function(){define("dijit/a11y",["dojo/_base/array","dojo/_base/config","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-style","dojo/_base/sniff","./_base/manager","."],function(_28a,_28b,_28c,dom,_28d,_28e,has,_28f,_290){var _291=(_290._isElementShown=function(elem){var s=_28e.get(elem);return (s.visibility!="hidden")&&(s.visibility!="collapsed")&&(s.display!="none")&&(_28d.get(elem,"type")!="hidden");});_290.hasDefaultTabStop=function(elem){switch(elem.nodeName.toLowerCase()){case "a":return _28d.has(elem,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return true;case "iframe":var body;try{var _292=elem.contentDocument;if("designMode" in _292&&_292.designMode=="on"){return true;}body=_292.body;}catch(e1){try{body=elem.contentWindow.document.body;}catch(e2){return false;}}return body&&(body.contentEditable=="true"||(body.firstChild&&body.firstChild.contentEditable=="true"));default:return elem.contentEditable=="true";}};var _293=(_290.isTabNavigable=function(elem){if(_28d.get(elem,"disabled")){return false;}else{if(_28d.has(elem,"tabIndex")){return _28d.get(elem,"tabIndex")>=0;}else{return _290.hasDefaultTabStop(elem);}}});_290._getTabNavigable=function(root){var _294,last,_295,_296,_297,_298,_299={};function _29a(node){return node&&node.tagName.toLowerCase()=="input"&&node.type&&node.type.toLowerCase()=="radio"&&node.name&&node.name.toLowerCase();};var _29b=function(_29c){for(var _29d=_29c.firstChild;_29d;_29d=_29d.nextSibling){if(_29d.nodeType!=1||(has("ie")&&_29d.scopeName!=="HTML")||!_291(_29d)){continue;}if(_293(_29d)){var _29e=_28d.get(_29d,"tabIndex");if(!_28d.has(_29d,"tabIndex")||_29e==0){if(!_294){_294=_29d;}last=_29d;}else{if(_29e>0){if(!_295||_29e<_296){_296=_29e;_295=_29d;}if(!_297||_29e>=_298){_298=_29e;_297=_29d;}}}var rn=_29a(_29d);if(_28d.get(_29d,"checked")&&rn){_299[rn]=_29d;}}if(_29d.nodeName.toUpperCase()!="SELECT"){_29b(_29d);}}};if(_291(root)){_29b(root);}function rs(node){return _299[_29a(node)]||node;};return {first:rs(_294),last:rs(last),lowest:rs(_295),highest:rs(_297)};};_290.getFirstInTabbingOrder=function(root){var _29f=_290._getTabNavigable(dom.byId(root));return _29f.lowest?_29f.lowest:_29f.first;};_290.getLastInTabbingOrder=function(root){var _2a0=_290._getTabNavigable(dom.byId(root));return _2a0.last?_2a0.last:_2a0.highest;};return {hasDefaultTabStop:_290.hasDefaultTabStop,isTabNavigable:_290.isTabNavigable,_getTabNavigable:_290._getTabNavigable,getFirstInTabbingOrder:_290.getFirstInTabbingOrder,getLastInTabbingOrder:_290.getLastInTabbingOrder};});},"dojox/charting/axis2d/Base":function(){define("dojox/charting/axis2d/Base",["dojo/_base/declare","../Element"],function(_2a1,_2a2){return _2a1("dojox.charting.axis2d.Base",_2a2,{constructor:function(_2a3,_2a4){this.vertical=_2a4&&_2a4.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,_2a5){this.dirty=false;return this;}});});},"dojox/charting/plot2d/Grid":function(){define("dojox/charting/plot2d/Grid",["dojo/_base/lang","dojo/_base/declare","dojo/_base/connect","dojo/_base/array","../Element","./common","dojox/lang/utils","dojox/gfx/fx"],function(lang,_2a6,hub,arr,_2a7,dc,du,fx){return _2a6("dojox.charting.plot2d.Grid",_2a7,{defaultParams:{hAxis:"x",vAxis:"y",hMajorLines:true,hMinorLines:false,vMajorLines:true,vMinorLines:false,hStripes:"none",vStripes:"none",animate:null,enableCache:false},optionalParams:{},constructor:function(_2a8,_2a9){this.opt=lang.clone(this.defaultParams);du.updateWithObject(this.opt,_2a9);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};if(this.opt.enableCache){this._lineFreePool=[];this._lineUsePool=[];}},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 lang.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,_2aa){var vs=this._vAxis.scale||1,hs=this._hAxis.scale||1,_2ab=dim.height-_2aa.b,_2ac=this._hAxis.getScaler().bounds,_2ad=(_2ac.from-_2ac.lower)*_2ac.scale,_2ae=this._vAxis.getScaler().bounds,_2af=(_2ae.from-_2ae.lower)*_2ae.scale,_2b0=vs/this.lastWindow.vscale,_2b1=hs/this.lastWindow.hscale,_2b2=(this.lastWindow.xoffset-_2ad)/((this.lastWindow.hscale==1)?hs:this.lastWindow.hscale),_2b3=(_2af-this.lastWindow.yoffset)/((this.lastWindow.vscale==1)?vs:this.lastWindow.vscale),_2b4=this.group,anim=fx.animateTransform(lang.delegate({shape:_2b4,duration:1200,transform:[{name:"translate",start:[0,0],end:[_2aa.l*(1-_2b1),_2ab*(1-_2b0)]},{name:"scale",start:[1,1],end:[_2b1,_2b0]},{name:"original"},{name:"translate",start:[0,0],end:[_2b2,_2b3]}]},this.zoom));lang.mixin(this.lastWindow,{vscale:vs,hscale:hs,xoffset:_2ad,yoffset:_2af});this.zoomQueue.push(anim);hub.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;},cleanGroup:function(){this.inherited(arguments);if(this.opt.enableCache){this._lineFreePool=this._lineFreePool.concat(this._lineUsePool);this._lineUsePool=[];}},createLine:function(_2b5,_2b6){var line;if(this.opt.enableCache&&this._lineFreePool.length>0){line=this._lineFreePool.pop();line.setShape(_2b6);_2b5.add(line);}else{line=_2b5.createLine(_2b6);}if(this.opt.enableCache){this._lineUsePool.push(line);}return line;},render:function(dim,_2b7){if(this.zoom){return this.performZoom(dim,_2b7);}this.dirty=this.isDirty();if(!this.dirty){return this;}this.cleanGroup();var s=this.group,ta=this.chart.theme.axis;try{var _2b8=this._vAxis.getScaler(),vt=_2b8.scaler.getTransformerFromModel(_2b8),_2b9=this._vAxis.getTicks();if(_2b9!=null){if(this.opt.hMinorLines){arr.forEach(_2b9.minor,function(tick){var y=dim.height-_2b7.b-vt(tick.value);var _2ba=this.createLine(s,{x1:_2b7.l,y1:y,x2:dim.width-_2b7.r,y2:y}).setStroke(ta.minorTick);if(this.animate){this._animateGrid(_2ba,"h",_2b7.l,_2b7.r+_2b7.l-dim.width);}},this);}if(this.opt.hMajorLines){arr.forEach(_2b9.major,function(tick){var y=dim.height-_2b7.b-vt(tick.value);var _2bb=this.createLine(s,{x1:_2b7.l,y1:y,x2:dim.width-_2b7.r,y2:y}).setStroke(ta.majorTick);if(this.animate){this._animateGrid(_2bb,"h",_2b7.l,_2b7.r+_2b7.l-dim.width);}},this);}}}catch(e){}try{var _2bc=this._hAxis.getScaler(),ht=_2bc.scaler.getTransformerFromModel(_2bc),_2b9=this._hAxis.getTicks();if(this!=null){if(_2b9&&this.opt.vMinorLines){arr.forEach(_2b9.minor,function(tick){var x=_2b7.l+ht(tick.value);var _2bd=this.createLine(s,{x1:x,y1:_2b7.t,x2:x,y2:dim.height-_2b7.b}).setStroke(ta.minorTick);if(this.animate){this._animateGrid(_2bd,"v",dim.height-_2b7.b,dim.height-_2b7.b-_2b7.t);}},this);}if(_2b9&&this.opt.vMajorLines){arr.forEach(_2b9.major,function(tick){var x=_2b7.l+ht(tick.value);var _2be=this.createLine(s,{x1:x,y1:_2b7.t,x2:x,y2:dim.height-_2b7.b}).setStroke(ta.majorTick);if(this.animate){this._animateGrid(_2be,"v",dim.height-_2b7.b,dim.height-_2b7.b-_2b7.t);}},this);}}}catch(e){}this.dirty=false;return this;},_animateGrid:function(_2bf,type,_2c0,size){var _2c1=type=="h"?[_2c0,0]:[0,_2c0];var _2c2=type=="h"?[1/size,1]:[1,1/size];fx.animateTransform(lang.delegate({shape:_2bf,duration:1200,transform:[{name:"translate",start:_2c1,end:[0,0]},{name:"scale",start:_2c2,end:[1,1]},{name:"original"}]},this.animate)).play();}});});},"dojox/gfx/utils":function(){define("dojox/gfx/utils",["dojo/_base/kernel","dojo/_base/lang","./_base","dojo/_base/html","dojo/_base/array","dojo/_base/window","dojo/_base/json","dojo/_base/Deferred","dojo/_base/sniff","require","dojo/_base/config"],function(_2c3,lang,g,html,arr,win,_2c4,_2c5,has,_2c6,_2c7){var gu=g.utils={};lang.mixin(gu,{forEach:function(_2c8,f,o){o=o||win.global;f.call(o,_2c8);if(_2c8 instanceof g.Surface||_2c8 instanceof g.Group){arr.forEach(_2c8.children,function(_2c9){gu.forEach(_2c9,f,o);});}},serialize:function(_2ca){var t={},v,_2cb=_2ca instanceof g.Surface;if(_2cb||_2ca instanceof g.Group){t.children=arr.map(_2ca.children,gu.serialize);if(_2cb){return t.children;}}else{t.shape=_2ca.getShape();}if(_2ca.getTransform){v=_2ca.getTransform();if(v){t.transform=v;}}if(_2ca.getStroke){v=_2ca.getStroke();if(v){t.stroke=v;}}if(_2ca.getFill){v=_2ca.getFill();if(v){t.fill=v;}}if(_2ca.getFont){v=_2ca.getFont();if(v){t.font=v;}}return t;},toJson:function(_2cc,_2cd){return _2c4.toJson(gu.serialize(_2cc),_2cd);},deserialize:function(_2ce,_2cf){if(_2cf instanceof Array){return arr.map(_2cf,lang.hitch(null,gu.deserialize,_2ce));}var _2d0=("shape" in _2cf)?_2ce.createShape(_2cf.shape):_2ce.createGroup();if("transform" in _2cf){_2d0.setTransform(_2cf.transform);}if("stroke" in _2cf){_2d0.setStroke(_2cf.stroke);}if("fill" in _2cf){_2d0.setFill(_2cf.fill);}if("font" in _2cf){_2d0.setFont(_2cf.font);}if("children" in _2cf){arr.forEach(_2cf.children,lang.hitch(null,gu.deserialize,_2d0));}return _2d0;},fromJson:function(_2d1,json){return gu.deserialize(_2d1,_2c4.fromJson(json));},toSvg:function(_2d2){var _2d3=new _2c5();if(g.renderer==="svg"){try{var svg=gu._cleanSvg(gu._innerXML(_2d2.rawNode));_2d3.callback(svg);}catch(e){_2d3.errback(e);}}else{if(!gu._initSvgSerializerDeferred){gu._initSvgSerializer();}var _2d4=gu.toJson(_2d2);var _2d5=function(){try{var sDim=_2d2.getDimensions();var _2d6=sDim.width;var _2d7=sDim.height;var node=gu._gfxSvgProxy.document.createElement("div");gu._gfxSvgProxy.document.body.appendChild(node);win.withDoc(gu._gfxSvgProxy.document,function(){html.style(node,"width",_2d6);html.style(node,"height",_2d7);},this);var ts=gu._gfxSvgProxy[dojox._scopeName].gfx.createSurface(node,_2d6,_2d7);var draw=function(_2d8){try{gu._gfxSvgProxy[dojox._scopeName].gfx.utils.fromJson(_2d8,_2d4);var svg=gu._cleanSvg(node.innerHTML);_2d8.clear();_2d8.destroy();gu._gfxSvgProxy.document.body.removeChild(node);_2d3.callback(svg);}catch(e){_2d3.errback(e);}};ts.whenLoaded(null,draw);}catch(ex){_2d3.errback(ex);}};if(gu._initSvgSerializerDeferred.fired>0){_2d5();}else{gu._initSvgSerializerDeferred.addCallback(_2d5);}}return _2d3;},_gfxSvgProxy:null,_initSvgSerializerDeferred:null,_svgSerializerInitialized:function(){gu._initSvgSerializerDeferred.callback(true);},_initSvgSerializer:function(){if(!gu._initSvgSerializerDeferred){gu._initSvgSerializerDeferred=new _2c5();var f=win.doc.createElement("iframe");html.style(f,{display:"none",position:"absolute",width:"1em",height:"1em",top:"-10000px"});var intv;if(has("ie")){f.onreadystatechange=function(){if(f.contentWindow.document.readyState=="complete"){f.onreadystatechange=function(){};intv=setInterval(function(){if(f.contentWindow[_2c3.scopeMap["dojo"][1]._scopeName]&&f.contentWindow[_2c3.scopeMap["dojox"][1]._scopeName].gfx&&f.contentWindow[_2c3.scopeMap["dojox"][1]._scopeName].gfx.utils){clearInterval(intv);f.contentWindow.parent[_2c3.scopeMap["dojox"][1]._scopeName].gfx.utils._gfxSvgProxy=f.contentWindow;f.contentWindow.parent[_2c3.scopeMap["dojox"][1]._scopeName].gfx.utils._svgSerializerInitialized();}},50);}};}else{f.onload=function(){f.onload=function(){};intv=setInterval(function(){if(f.contentWindow[_2c3.scopeMap["dojo"][1]._scopeName]&&f.contentWindow[_2c3.scopeMap["dojox"][1]._scopeName].gfx&&f.contentWindow[_2c3.scopeMap["dojox"][1]._scopeName].gfx.utils){clearInterval(intv);f.contentWindow.parent[_2c3.scopeMap["dojox"][1]._scopeName].gfx.utils._gfxSvgProxy=f.contentWindow;f.contentWindow.parent[_2c3.scopeMap["dojox"][1]._scopeName].gfx.utils._svgSerializerInitialized();}},50);};}var uri=(_2c7["dojoxGfxSvgProxyFrameUrl"]||_2c6.toUrl("dojox/gfx/resources/gfxSvgProxyFrame.html"));f.setAttribute("src",uri.toString());win.body().appendChild(f);}},_innerXML:function(node){if(node.innerXML){return node.innerXML;}else{if(node.xml){return node.xml;}else{if(typeof XMLSerializer!="undefined"){return (new XMLSerializer()).serializeToString(node);}}}return null;},_cleanSvg:function(svg){if(svg){if(svg.indexOf("xmlns=\"http://www.w3.org/2000/svg\"")==-1){svg=svg.substring(4,svg.length);svg="<svg xmlns=\"http://www.w3.org/2000/svg\""+svg;}if(svg.indexOf("xmlns:xlink=\"http://www.w3.org/1999/xlink\"")==-1){svg=svg.substring(4,svg.length);svg="<svg xmlns:xlink=\"http://www.w3.org/1999/xlink\""+svg;}if(svg.indexOf("xlink:href")===-1){svg=svg.replace(/href\s*=/g,"xlink:href=");}svg=svg.replace(/\bdojoGfx\w*\s*=\s*(['"])\w*\1/g,"");svg=svg.replace(/\b__gfxObject__\s*=\s*(['"])\w*\1/g,"");svg=svg.replace(/[=]([^"']+?)(\s|>)/g,"=\"$1\"$2");}return svg;}});return gu;});},"dojox/lang/functional/fold":function(){define("dojox/lang/functional/fold",["dojo/_base/lang","dojo/_base/array","dojo/_base/window","./lambda"],function(lang,arr,win,df){var _2d9={};lang.mixin(df,{foldl:function(a,f,z,o){if(typeof a=="string"){a=a.split("");}o=o||win.global;f=df.lambda(f);var i,n;if(lang.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 _2d9)){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||win.global;f=df.lambda(f);var z,i,n;if(lang.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 _2da=true;for(i in a){if(!(i in _2d9)){if(_2da){z=a[i];_2da=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||win.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||win.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||win.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;}});});},"url:dijit/templates/Tooltip.html":"<div class=\"dijitTooltip dijitTooltipLeft\" id=\"dojoTooltip\"\n\t><div class=\"dijitTooltipContainer dijitTooltipContents\" data-dojo-attach-point=\"containerNode\" role='alert'></div\n\t><div class=\"dijitTooltipConnector\" data-dojo-attach-point=\"connectorNode\"></div\n></div>\n","dojox/charting/plot2d/Spider":function(){define("dojox/charting/plot2d/Spider",["dojo/_base/lang","dojo/_base/declare","dojo/_base/connect","dojo/_base/html","dojo/_base/array","dojo/dom-geometry","dojo/_base/fx","dojo/fx","dojo/_base/sniff","../Element","./_PlotEvents","dojo/_base/Color","dojox/color/_base","./common","../axis2d/common","../scaler/primitive","dojox/gfx","dojox/gfx/matrix","dojox/gfx/fx","dojox/lang/functional","dojox/lang/utils","dojo/fx/easing"],function(lang,_2db,hub,html,arr,_2dc,_2dd,_2de,has,_2df,_2e0,_2e1,_2e2,dc,da,_2e3,g,m,_2e4,df,du,_2e5){var _2e6=0.2;var _2e7=_2db("dojox.charting.plot2d.Spider",[_2df,_2e0],{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:_2e5.backOut,axisTickFont:"",axisTickFontColor:"",axisFont:"",axisFontColor:""},optionalParams:{radius:0,font:"",fontColor:""},constructor:function(_2e8,_2e9){this.opt=lang.clone(this.defaultParams);du.updateWithObject(this.opt,_2e9);du.updateWithPattern(this.opt,_2e9,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 _2ea=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 dc.collectSimpleStats(this.series);},calculateAxes:function(dim){this.initializeScalers(dim,this.getSeriesStats());return this;},getRequiredColors:function(){return this.series.length;},initializeScalers:function(dim,_2eb){if(this._hAxis){if(!this._hAxis.initialized()){this._hAxis.calculate(_2eb.hmin,_2eb.hmax,dim.width);}this._hScaler=this._hAxis.getScaler();}else{this._hScaler=_2e3.buildScaler(_2eb.hmin,_2eb.hmax,dim.width);}if(this._vAxis){if(!this._vAxis.initialized()){this._vAxis.calculate(_2eb.vmin,_2eb.vmax,dim.height);}this._vScaler=this._vAxis.getScaler();}else{this._vScaler=_2e3.buildScaler(_2eb.vmin,_2eb.vmax,dim.height);}return this;},render:function(dim,_2ec){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-_2ec.l-_2ec.r)/2,ry=(dim.height-_2ec.t-_2ec.b)/2,r=Math.min(rx,ry),_2ed=o.font||(ta.majorTick&&ta.majorTick.font)||(ta.tick&&ta.tick.font)||"normal normal normal 7pt Tahoma",_2ee=o.axisFont||(ta.tick&&ta.tick.titleFont)||"normal normal normal 11pt Tahoma",_2ef=o.axisTickFontColor||(ta.majorTick&&ta.majorTick.fontColor)||(ta.tick&&ta.tick.fontColor)||"silver",_2f0=o.axisFontColor||(ta.tick&&ta.tick.titleFontColor)||"black",_2f1=o.axisColor||(ta.tick&&ta.tick.axisColor)||"silver",_2f2=o.spiderColor||(ta.tick&&ta.tick.spiderColor)||"silver",_2f3=o.axisWidth||(ta.stroke&&ta.stroke.width)||2,_2f4=o.spiderWidth||(ta.stroke&&ta.stroke.width)||2,_2f5=o.seriesWidth||(ta.stroke&&ta.stroke.width)||2,_2f6=g.normalizedLength(g.splitFontString(_2ee).size),_2f7=m._degToRad(o.startAngle),_2f8=_2f7,step,_2f9,_2fa,_2fb,_2fc,_2fd,_2fe,_2ff,_300,_301,_302,ro=o.spiderOrigin,dv=o.divisions>=3?o.divisions:3,ms=o.markerSize,spt=o.spiderType,at=o.animationType,_303=o.labelOffset<-10?o.labelOffset:-10,_304=0.2;if(o.labels){_2fb=arr.map(this.series,function(s){return s.name;},this);_2fc=df.foldl1(df.map(_2fb,function(_305,i){var font=t.series.font;return g._base._getTextBox(_305,{font:font}).w;},this),"Math.max(a, b)")/2;r=Math.min(rx-2*_2fc,ry-_2f6)+_303;_2fd=r-_303;}if("radius" in o){r=o.radius;_2fd=r-_303;}r/=(1+_304);var _306={cx:_2ec.l+rx,cy:_2ec.t+ry,r:r};for(var i=this.series.length-1;i>=0;i--){var _307=this.series[i];if(!this.dirty&&!_307.dirty){t.skip();continue;}_307.cleanGroup();var run=_307.data;if(run!==null){var len=this._getObjectLength(run);if(!_2fe||_2fe.length<=0){_2fe=[],_2ff=[],_302=[];this._buildPoints(_2fe,len,_306,r,_2f8,true);this._buildPoints(_2ff,len,_306,r*ro,_2f8,true);this._buildPoints(_302,len,_306,_2fd,_2f8);if(dv>2){_300=[],_301=[];for(var j=0;j<dv-2;j++){_300[j]=[];this._buildPoints(_300[j],len,_306,r*(ro+(1-ro)*(j+1)/(dv-1)),_2f8,true);_301[j]=r*(ro+(1-ro)*(j+1)/(dv-1));}}}}}var _308=s.createGroup(),_309={color:_2f1,width:_2f3},_30a={color:_2f2,width:_2f4};for(var j=_2fe.length-1;j>=0;--j){var _30b=_2fe[j],st={x:_30b.x+(_30b.x-_306.cx)*_304,y:_30b.y+(_30b.y-_306.cy)*_304},nd={x:_30b.x+(_30b.x-_306.cx)*_304/2,y:_30b.y+(_30b.y-_306.cy)*_304/2};_308.createLine({x1:_306.cx,y1:_306.cy,x2:st.x,y2:st.y}).setStroke(_309);this._drawArrow(_308,st,nd,_309);}var _30c=s.createGroup();for(var j=_302.length-1;j>=0;--j){var _30b=_302[j],_30d=g._base._getTextBox(this.labelKey[j],{font:_2ee}).w||0,_30e=this.opt.htmlLabels&&g.renderer!="vml"?"html":"gfx",elem=da.createText[_30e](this.chart,_30c,(!_2dc.isBodyLtr()&&_30e=="html")?(_30b.x+_30d-dim.width):_30b.x,_30b.y,"middle",this.labelKey[j],_2ee,_2f0);if(this.opt.htmlLabels){this.htmlElements.push(elem);}}var _30f=s.createGroup();if(spt=="polygon"){_30f.createPolyline(_2fe).setStroke(_30a);_30f.createPolyline(_2ff).setStroke(_30a);if(_300.length>0){for(var j=_300.length-1;j>=0;--j){_30f.createPolyline(_300[j]).setStroke(_30a);}}}else{var _310=this._getObjectLength(this.datas);_30f.createCircle({cx:_306.cx,cy:_306.cy,r:r}).setStroke(_30a);_30f.createCircle({cx:_306.cx,cy:_306.cy,r:r*ro}).setStroke(_30a);if(_301.length>0){for(var j=_301.length-1;j>=0;--j){_30f.createCircle({cx:_306.cx,cy:_306.cy,r:_301[j]}).setStroke(_30a);}}}var _311=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,_312=max-min,end=_2f8+2*Math.PI*k/len;for(var i=0;i<dv;i++){var text=min+_312*i/(dv-1),_30b=this._getCoordinate(_306,r*(ro+(1-ro)*i/(dv-1)),end);text=this._getLabel(text);var _30d=g._base._getTextBox(text,{font:_2ed}).w||0,_30e=this.opt.htmlLabels&&g.renderer!="vml"?"html":"gfx";if(this.opt.htmlLabels){this.htmlElements.push(da.createText[_30e](this.chart,_311,(!_2dc.isBodyLtr()&&_30e=="html")?(_30b.x+_30d-dim.width):_30b.x,_30b.y,"start",text,_2ed,_2ef));}}k++;}this.chart.seriesShapes={};var _313=[];for(var i=this.series.length-1;i>=0;i--){var _307=this.series[i],run=_307.data;if(run!==null){var _314=[],k=0,_315=[];for(var key in run){var data=this.datas[key],min=data.min,max=data.max,_312=max-min,_316=run[key],end=_2f8+2*Math.PI*k/len,_30b=this._getCoordinate(_306,r*(ro+(1-ro)*(_316-min)/_312),end);_314.push(_30b);_315.push({sname:_307.name,key:key,data:_316});k++;}_314[_314.length]=_314[0];_315[_315.length]=_315[0];var _317=this._getBoundary(_314),_318=t.next("spider",[o,_307]),ts=_307.group,f=g.normalizeColor(_318.series.fill),sk={color:_318.series.fill,width:_2f5};f.a=o.seriesFillAlpha;_307.dyn={fill:f,stroke:sk};var osps=this.oldSeriePoints[_307.name];var cs=this._createSeriesEntry(ts,(osps||_2ff),_314,f,sk,r,ro,ms,at);this.chart.seriesShapes[_307.name]=cs;this.oldSeriePoints[_307.name]=_314;var po={element:"spider_poly",index:i,id:"spider_poly_"+_307.name,run:_307,plot:this,shape:cs.poly,parent:ts,brect:_317,cx:_306.cx,cy:_306.cy,cr:r,f:f,s:s};this._connectEvents(po);var so={element:"spider_plot",index:i,id:"spider_plot_"+_307.name,run:_307,plot:this,shape:_307.group};this._connectEvents(so);arr.forEach(cs.circles,function(c,i){var _319=c.getShape(),co={element:"spider_circle",index:i,id:"spider_circle_"+_307.name+i,run:_307,plot:this,shape:c,parent:ts,tdata:_315[i],cx:_314[i].x,cy:_314[i].y,f:f,s:s};this._connectEvents(co);},this);}}return this;},_createSeriesEntry:function(ts,osps,sps,f,sk,r,ro,ms,at){var _31a=ts.createPolyline(osps).setFill(f).setStroke(sk),_31b=[];for(var j=0;j<osps.length;j++){var _31c=osps[j],cr=ms;var _31d=ts.createCircle({cx:_31c.x,cy:_31c.y,r:cr}).setFill(f).setStroke(sk);_31b.push(_31d);}var _31e=arr.map(sps,function(np,j){var sp=osps[j],anim=new _2dd.Animation({duration:1000,easing:at,curve:[sp.y,np.y]});var spl=_31a,sc=_31b[j];hub.connect(anim,"onAnimate",function(y){var _31f=spl.getShape();_31f.points[j].y=y;spl.setShape(_31f);var _320=sc.getShape();_320.cy=y;sc.setShape(_320);});return anim;});var _321=arr.map(sps,function(np,j){var sp=osps[j],anim=new _2dd.Animation({duration:1000,easing:at,curve:[sp.x,np.x]});var spl=_31a,sc=_31b[j];hub.connect(anim,"onAnimate",function(x){var _322=spl.getShape();_322.points[j].x=x;spl.setShape(_322);var _323=sc.getShape();_323.cx=x;sc.setShape(_323);});return anim;});var _324=_2de.combine(_31e.concat(_321));_324.play();return {group:ts,poly:_31a,circles:_31b};},plotEvent:function(o){var _325=o.id?o.id:"default",a;if(_325 in this.animations){a=this.animations[_325];a.anim&&a.anim.stop(true);}else{a=this.animations[_325]={};}if(o.element=="spider_poly"){if(!a.color){var _326=o.shape.getFill();if(!_326||!(_326 instanceof _2e1)){return;}a.color={start:_326,end:_327(_326)};}var _328=a.color.start,end=a.color.end;if(o.type=="onmouseout"){var t=_328;_328=end;end=t;}a.anim=_2e4.animateFill({shape:o.shape,duration:800,easing:_2e5.backOut,color:{start:_328,end:end}});a.anim.play();}else{if(o.element=="spider_circle"){var init,_329,_32a=1.5;if(o.type=="onmouseover"){init=m.identity;_329=_32a;var _32b={type:"rect"};_32b.x=o.cx;_32b.y=o.cy;_32b.width=_32b.height=1;var lt=html.coords(this.chart.node,true);_32b.x+=lt.x;_32b.y+=lt.y;_32b.x=Math.round(_32b.x);_32b.y=Math.round(_32b.y);_32b.width=Math.ceil(_32b.width);_32b.height=Math.ceil(_32b.height);this.aroundRect=_32b;var _32c=["after","before"];dc.doIfLoaded("dijit/Tooltip",dojo.hitch(this,function(_32d){_32d.show(o.tdata.sname+"<br/>"+o.tdata.key+"<br/>"+o.tdata.data,this.aroundRect,_32c);}));}else{init=m.scaleAt(_32a,o.cx,o.cy);_329=1/_32a;dc.doIfLoaded("dijit/Tooltip",dojo.hitch(this,function(_32e){this.aroundRect&&_32e.hide(this.aroundRect);}));}var cs=o.shape.getShape(),init=m.scaleAt(_32a,cs.cx,cs.cy),_32f={shape:o.shape,duration:200,easing:_2e5.backOut,transform:[{name:"scaleAt",start:[1,cs.cx,cs.cy],end:[_329,cs.cx,cs.cy]},init]};a.anim=_2e4.animateTransform(_32f);a.anim.play();}else{if(o.element=="spider_plot"){if(o.type=="onmouseover"&&!has("ie")){o.shape.moveToFront();}}}}},_getBoundary:function(_330){var xmax=_330[0].x,xmin=_330[0].x,ymax=_330[0].y,ymin=_330[0].y;for(var i=0;i<_330.length;i++){var _331=_330[i];xmax=Math.max(_331.x,xmax);ymax=Math.max(_331.y,ymax);xmin=Math.min(_331.x,xmin);ymin=Math.min(_331.y,ymin);}return {x:xmin,y:ymin,width:xmax-xmin,height:ymax-ymin};},_drawArrow:function(s,_332,end,_333){var len=Math.sqrt(Math.pow(end.x-_332.x,2)+Math.pow(end.y-_332.y,2)),sin=(end.y-_332.y)/len,cos=(end.x-_332.x)/len,_334={x:end.x+(len/3)*(-sin),y:end.y+(len/3)*cos},_335={x:end.x+(len/3)*sin,y:end.y+(len/3)*(-cos)};s.createPolyline([_332,_334,_335]).setFill(_333.color).setStroke(_333);},_buildPoints:function(_336,_337,_338,_339,_33a,_33b){for(var i=0;i<_337;i++){var end=_33a+2*Math.PI*i/_337;_336.push(this._getCoordinate(_338,_339,end));}if(_33b){_336.push(this._getCoordinate(_338,_339,_33a+2*Math.PI));}},_getCoordinate:function(_33c,_33d,_33e){return {x:_33c.cx+_33d*Math.cos(_33e),y:_33c.cy+_33d*Math.sin(_33e)};},_getObjectLength:function(obj){var _33f=0;if(lang.isObject(obj)){for(var key in obj){_33f++;}}return _33f;},_getLabel:function(_340){return dc.getLabel(_340,this.opt.fixed,this.opt.precision);}});function _327(_341){var a=new _2e2.Color(_341),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 _341=_2e2.fromHsl(x);_341.a=0.7;return _341;};return _2e7;});},"dojox/charting/plot2d/StackedBars":function(){define("dojox/charting/plot2d/StackedBars",["dojo/_base/lang","dojo/_base/array","dojo/_base/declare","./Bars","./common","dojox/lang/functional","dojox/lang/functional/reversed","dojox/lang/functional/sequence"],function(lang,arr,_342,Bars,dc,df,dfr,dfs){var _343=dfr.lambda("item.purgeGroup()");return _342("dojox.charting.plot2d.StackedBars",Bars,{getSeriesStats:function(){var _344=dc.collectStackedStats(this.series),t;this._maxRunLength=_344.hmax;_344.hmin-=0.5;_344.hmax+=0.5;t=_344.hmin,_344.hmin=_344.vmin,_344.vmin=t;t=_344.hmax,_344.hmax=_344.vmax,_344.vmax=t;return _344;},render:function(dim,_345){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 _346=run.data[j];if(_346!==null){var v=typeof _346=="number"?_346:_346.y;if(isNaN(v)){v=0;}acc[j]+=v;}}}if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_345);}this.resetEvents();this.dirty=this.isDirty();if(this.dirty){arr.forEach(this.series,_343);this._eventSeries={};this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,f,gap,_347,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler),_348=this.events();f=dc.calculateBarSize(this._vScaler.bounds.scale,this.opt);gap=f.gap;_347=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 _349=t.next("bar",[this.opt,run]),s=run.group,_34a=new Array(acc.length);for(var j=0;j<acc.length;++j){var _346=run.data[j];if(_346!==null){var v=acc[j],_34b=ht(v),_34c=typeof _346!="number"?t.addMixin(_349,"bar",_346,true):t.post(_349,"bar");if(_34b>=0&&_347>=1){var rect={x:_345.l,y:dim.height-_345.b-vt(j+1.5)+gap,width:_34b,height:_347};var _34d=this._plotFill(_34c.series.fill,dim,_345);_34d=this._shapeFill(_34d,rect);var _34e=s.createRect(rect).setFill(_34d).setStroke(_34c.series.stroke);run.dyn.fill=_34e.getFill();run.dyn.stroke=_34e.getStroke();if(_348){var o={element:"bar",index:j,run:run,shape:_34e,x:v,y:j+1.5};this._connectEvents(o);_34a[j]=o;}if(this.animate){this._animateBar(_34e,_345.l,-_34b);}}}}this._eventSeries[run.name]=_34a;run.dirty=false;for(var j=0;j<run.data.length;++j){var _346=run.data[j];if(_346!==null){var v=typeof _346=="number"?_346:_346.y;if(isNaN(v)){v=0;}acc[j]-=v;}}}this.dirty=false;return this;}});});},"dojox/charting/themes/GreySkies":function(){define("dojox/charting/themes/GreySkies",["../Theme","./common"],function(_34f,_350){_350.GreySkies=new _34f(_34f._def);return _350.GreySkies;});},"dojox/charting/plot2d/Columns":function(){define("dojox/charting/plot2d/Columns",["dojo/_base/lang","dojo/_base/array","dojo/_base/declare","./Base","./common","dojox/lang/functional","dojox/lang/functional/reversed","dojox/lang/utils","dojox/gfx/fx"],function(lang,arr,_351,Base,dc,df,dfr,du,fx){var _352=dfr.lambda("item.purgeGroup()");return _351("dojox.charting.plot2d.Columns",Base,{defaultParams:{hAxis:"x",vAxis:"y",gap:0,animate:null,enableCache:false},optionalParams:{minBarSize:1,maxBarSize:1,stroke:{},outline:{},shadow:{},fill:{},font:"",fontColor:""},constructor:function(_353,_354){this.opt=lang.clone(this.defaultParams);du.updateWithObject(this.opt,_354);du.updateWithPattern(this.opt,_354,this.optionalParams);this.series=[];this.hAxis=this.opt.hAxis;this.vAxis=this.opt.vAxis;this.animate=this.opt.animate;},getSeriesStats:function(){var _355=dc.collectSimpleStats(this.series);_355.hmin-=0.5;_355.hmax+=0.5;return _355;},createRect:function(run,_356,_357){var rect;if(this.opt.enableCache&&run._rectFreePool.length>0){rect=run._rectFreePool.pop();rect.setShape(_357);_356.add(rect);}else{rect=_356.createRect(_357);}if(this.opt.enableCache){run._rectUsePool.push(rect);}return rect;},render:function(dim,_358){if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_358);}var t=this.getSeriesStats();this.resetEvents();this.dirty=this.isDirty();if(this.dirty){arr.forEach(this.series,_352);this._eventSeries={};this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,f,gap,_359,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler),_35a=Math.max(0,this._vScaler.bounds.lower),_35b=vt(_35a),min=Math.max(0,Math.floor(this._hScaler.bounds.from-1)),max=Math.ceil(this._hScaler.bounds.to),_35c=this.events();f=dc.calculateBarSize(this._hScaler.bounds.scale,this.opt);gap=f.gap;_359=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();if(this.opt.enableCache){run._rectFreePool=(run._rectFreePool?run._rectFreePool:[]).concat(run._rectUsePool?run._rectUsePool:[]);run._rectUsePool=[];}var _35d=t.next("column",[this.opt,run]),s=run.group,_35e=new Array(run.data.length);var l=Math.min(run.data.length,max);for(var j=min;j<l;++j){var _35f=run.data[j];if(_35f!==null){var v=typeof _35f=="number"?_35f:_35f.y,vv=vt(v),_360=vv-_35b,h=Math.abs(_360),_361=typeof _35f!="number"?t.addMixin(_35d,"column",_35f,true):t.post(_35d,"column");if(_359>=1&&h>=0){var rect={x:_358.l+ht(j+0.5)+gap,y:dim.height-_358.b-(v>_35a?vv:_35b),width:_359,height:h};var _362=this._plotFill(_361.series.fill,dim,_358);_362=this._shapeFill(_362,rect);var _363=this.createRect(run,s,rect).setFill(_362).setStroke(_361.series.stroke);run.dyn.fill=_363.getFill();run.dyn.stroke=_363.getStroke();if(_35c){var o={element:"column",index:j,run:run,shape:_363,x:j+0.5,y:v};this._connectEvents(o);_35e[j]=o;}if(this.animate){this._animateColumn(_363,dim.height-_358.b-_35b,h);}}}}this._eventSeries[run.name]=_35e;run.dirty=false;}this.dirty=false;return this;},_animateColumn:function(_364,_365,_366){fx.animateTransform(lang.delegate({shape:_364,duration:1200,transform:[{name:"translate",start:[0,_365-(_365/_366)],end:[0,0]},{name:"scale",start:[1,1/_366],end:[1,1]},{name:"original"}]},this.animate)).play();}});});},"dijit/place":function(){define("dijit/place",["dojo/_base/array","dojo/dom-geometry","dojo/dom-style","dojo/_base/kernel","dojo/_base/window","dojo/window","."],function(_367,_368,_369,_36a,win,_36b,_36c){function _36d(node,_36e,_36f,_370){var view=_36b.getBox();if(!node.parentNode||String(node.parentNode.tagName).toLowerCase()!="body"){win.body().appendChild(node);}var best=null;_367.some(_36e,function(_371){var _372=_371.corner;var pos=_371.pos;var _373=0;var _374={w:{"L":view.l+view.w-pos.x,"R":pos.x-view.l,"M":view.w}[_372.charAt(1)],h:{"T":view.t+view.h-pos.y,"B":pos.y-view.t,"M":view.h}[_372.charAt(0)]};if(_36f){var res=_36f(node,_371.aroundCorner,_372,_374,_370);_373=typeof res=="undefined"?0:res;}var _375=node.style;var _376=_375.display;var _377=_375.visibility;if(_375.display=="none"){_375.visibility="hidden";_375.display="";}var mb=_368.getMarginBox(node);_375.display=_376;_375.visibility=_377;var _378={"L":pos.x,"R":pos.x-mb.w,"M":Math.max(view.l,Math.min(view.l+view.w,pos.x+(mb.w>>1))-mb.w)}[_372.charAt(1)],_379={"T":pos.y,"B":pos.y-mb.h,"M":Math.max(view.t,Math.min(view.t+view.h,pos.y+(mb.h>>1))-mb.h)}[_372.charAt(0)],_37a=Math.max(view.l,_378),_37b=Math.max(view.t,_379),endX=Math.min(view.l+view.w,_378+mb.w),endY=Math.min(view.t+view.h,_379+mb.h),_37c=endX-_37a,_37d=endY-_37b;_373+=(mb.w-_37c)+(mb.h-_37d);if(best==null||_373<best.overflow){best={corner:_372,aroundCorner:_371.aroundCorner,x:_37a,y:_37b,w:_37c,h:_37d,overflow:_373,spaceAvailable:_374};}return !_373;});if(best.overflow&&_36f){_36f(node,best.aroundCorner,best.corner,best.spaceAvailable,_370);}var l=_368.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;};return (_36c.place={at:function(node,pos,_37e,_37f){var _380=_367.map(_37e,function(_381){var c={corner:_381,pos:{x:pos.x,y:pos.y}};if(_37f){c.pos.x+=_381.charAt(1)=="L"?_37f.x:-_37f.x;c.pos.y+=_381.charAt(0)=="T"?_37f.y:-_37f.y;}return c;});return _36d(node,_380);},around:function(node,_382,_383,_384,_385){var _386=(typeof _382=="string"||"offsetWidth" in _382)?_368.position(_382,true):_382;if(_382.parentNode){var _387=_382.parentNode;while(_387&&_387.nodeType==1&&_387.nodeName!="BODY"){var _388=_368.position(_387,true);var _389=_369.getComputedStyle(_387).overflow;if(_389=="hidden"||_389=="auto"||_389=="scroll"){var _38a=Math.min(_386.y+_386.h,_388.y+_388.h);var _38b=Math.min(_386.x+_386.w,_388.x+_388.w);_386.x=Math.max(_386.x,_388.x);_386.y=Math.max(_386.y,_388.y);_386.h=_38a-_386.y;_386.w=_38b-_386.x;}_387=_387.parentNode;}}var x=_386.x,y=_386.y,_38c="w" in _386?_386.w:(_386.w=_386.width),_38d="h" in _386?_386.h:(_36a.deprecated("place.around: dijit.place.__Rectangle: { x:"+x+", y:"+y+", height:"+_386.height+", width:"+_38c+" } has been deprecated.  Please use { x:"+x+", y:"+y+", h:"+_386.height+", w:"+_38c+" }","","2.0"),_386.h=_386.height);var _38e=[];function push(_38f,_390){_38e.push({aroundCorner:_38f,corner:_390,pos:{x:{"L":x,"R":x+_38c,"M":x+(_38c>>1)}[_38f.charAt(1)],y:{"T":y,"B":y+_38d,"M":y+(_38d>>1)}[_38f.charAt(0)]}});};_367.forEach(_383,function(pos){var ltr=_384;switch(pos){case "above-centered":push("TM","BM");break;case "below-centered":push("BM","TM");break;case "after-centered":ltr=!ltr;case "before-centered":push(ltr?"ML":"MR",ltr?"MR":"ML");break;case "after":ltr=!ltr;case "before":push(ltr?"TL":"TR",ltr?"TR":"TL");push(ltr?"BL":"BR",ltr?"BR":"BL");break;case "below-alt":ltr=!ltr;case "below":push(ltr?"BL":"BR",ltr?"TL":"TR");push(ltr?"BR":"BL",ltr?"TR":"TL");break;case "above-alt":ltr=!ltr;case "above":push(ltr?"TL":"TR",ltr?"BL":"BR");push(ltr?"TR":"TL",ltr?"BR":"BL");break;default:push(pos.aroundCorner,pos.corner);}});var _391=_36d(node,_38e,_385,{w:_38c,h:_38d});_391.aroundNodePos=_386;return _391;}});});},"dojox/lang/functional/array":function(){define("dojox/lang/functional/array",["dojo/_base/kernel","dojo/_base/lang","dojo/_base/array","dojo/_base/window","./lambda"],function(dojo,lang,arr,win,df){var _392={};lang.mixin(df,{filter:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||win.global;f=df.lambda(f);var t=[],v,i,n;if(lang.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 _392)){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||win.global;f=df.lambda(f);var i,n;if(lang.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 _392)){f.call(o,a[i],i,a);}}}}return o;},map:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||win.global;f=df.lambda(f);var t,n,i;if(lang.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 _392)){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||win.global;f=df.lambda(f);var i,n;if(lang.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 _392)){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||win.global;f=df.lambda(f);var i,n;if(lang.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 _392)){if(f.call(o,a[i],i,a)){return true;}}}}}return false;}});return df;});},"dojox/charting/Theme":function(){define("dojox/charting/Theme",["dojo/_base/lang","dojo/_base/array","dojo/_base/declare","dojo/_base/Color","dojox/color/_base","dojox/color/Palette","dojox/lang/utils","dojox/gfx/gradutils"],function(lang,arr,_393,_394,_395,_396,dlu,dgg){var _397=_393("dojox.charting.Theme",null,{shapeSpaces:{shape:1,shapeX:1,shapeY:1},constructor:function(_398){_398=_398||{};var def=_397.defaultTheme;arr.forEach(["chart","plotarea","axis","series","marker","indicator"],function(name){this[name]=lang.delegate(def[name],_398[name]);},this);if(_398.seriesThemes&&_398.seriesThemes.length){this.colors=null;this.seriesThemes=_398.seriesThemes.slice(0);}else{this.seriesThemes=null;this.colors=(_398.colors||_397.defaultColors).slice(0);}this.markerThemes=null;if(_398.markerThemes&&_398.markerThemes.length){this.markerThemes=_398.markerThemes.slice(0);}this.markers=_398.markers?lang.clone(_398.markers):lang.delegate(_397.defaultMarkers);this.noGradConv=_398.noGradConv;this.noRadialConv=_398.noRadialConv;if(_398.reverseFills){this.reverseFills();}this._current=0;this._buildMarkerArray();},clone:function(){var _399=new _397({chart:this.chart,plotarea:this.plotarea,axis:this.axis,series:this.series,marker:this.marker,colors:this.colors,markers:this.markers,indicator:this.indicator,seriesThemes:this.seriesThemes,markerThemes:this.markerThemes,noGradConv:this.noGradConv,noRadialConv:this.noRadialConv});arr.forEach(["clone","clear","next","skip","addMixin","post","getTick"],function(name){if(this.hasOwnProperty(name)){_399[name]=this[name];}},this);return _399;},clear:function(){this._current=0;},next:function(_39a,_39b,_39c){var _39d=dlu.merge,_39e,_39f;if(this.colors){_39e=lang.delegate(this.series);_39f=lang.delegate(this.marker);var _3a0=new _394(this.colors[this._current%this.colors.length]),old;if(_39e.stroke&&_39e.stroke.color){_39e.stroke=lang.delegate(_39e.stroke);old=new _394(_39e.stroke.color);_39e.stroke.color=new _394(_3a0);_39e.stroke.color.a=old.a;}else{_39e.stroke={color:_3a0};}if(_39f.stroke&&_39f.stroke.color){_39f.stroke=lang.delegate(_39f.stroke);old=new _394(_39f.stroke.color);_39f.stroke.color=new _394(_3a0);_39f.stroke.color.a=old.a;}else{_39f.stroke={color:_3a0};}if(!_39e.fill||_39e.fill.type){_39e.fill=_3a0;}else{old=new _394(_39e.fill);_39e.fill=new _394(_3a0);_39e.fill.a=old.a;}if(!_39f.fill||_39f.fill.type){_39f.fill=_3a0;}else{old=new _394(_39f.fill);_39f.fill=new _394(_3a0);_39f.fill.a=old.a;}}else{_39e=this.seriesThemes?_39d(this.series,this.seriesThemes[this._current%this.seriesThemes.length]):this.series;_39f=this.markerThemes?_39d(this.marker,this.markerThemes[this._current%this.markerThemes.length]):_39e;}var _3a1=_39f&&_39f.symbol||this._markers[this._current%this._markers.length];var _3a2={series:_39e,marker:_39f,symbol:_3a1};++this._current;if(_39b){_3a2=this.addMixin(_3a2,_39a,_39b);}if(_39c){_3a2=this.post(_3a2,_39a);}return _3a2;},skip:function(){++this._current;},addMixin:function(_3a3,_3a4,_3a5,_3a6){if(lang.isArray(_3a5)){arr.forEach(_3a5,function(m){_3a3=this.addMixin(_3a3,_3a4,m);},this);}else{var t={};if("color" in _3a5){if(_3a4=="line"||_3a4=="area"){lang.setObject("series.stroke.color",_3a5.color,t);lang.setObject("marker.stroke.color",_3a5.color,t);}else{lang.setObject("series.fill",_3a5.color,t);}}arr.forEach(["stroke","outline","shadow","fill","font","fontColor","labelWiring"],function(name){var _3a7="marker"+name.charAt(0).toUpperCase()+name.substr(1),b=_3a7 in _3a5;if(name in _3a5){lang.setObject("series."+name,_3a5[name],t);if(!b){lang.setObject("marker."+name,_3a5[name],t);}}if(b){lang.setObject("marker."+name,_3a5[_3a7],t);}});if("marker" in _3a5){t.symbol=_3a5.marker;}_3a3=dlu.merge(_3a3,t);}if(_3a6){_3a3=this.post(_3a3,_3a4);}return _3a3;},post:function(_3a8,_3a9){var fill=_3a8.series.fill,t;if(!this.noGradConv&&this.shapeSpaces[fill.space]&&fill.type=="linear"){if(_3a9=="bar"){t={x1:fill.y1,y1:fill.x1,x2:fill.y2,y2:fill.x2};}else{if(!this.noRadialConv&&fill.space=="shape"&&(_3a9=="slice"||_3a9=="circle")){t={type:"radial",cx:0,cy:0,r:100};}}if(t){return dlu.merge(_3a8,{series:{fill:t}});}}return _3a8;},getTick:function(name,_3aa){var tick=this.axis.tick,_3ab=name+"Tick",_3ac=dlu.merge;if(tick){if(this.axis[_3ab]){tick=_3ac(tick,this.axis[_3ab]);}}else{tick=this.axis[_3ab];}if(_3aa){if(tick){if(_3aa[_3ab]){tick=_3ac(tick,_3aa[_3ab]);}}else{tick=_3aa[_3ab];}}return tick;},inspectObjects:function(f){arr.forEach(["chart","plotarea","axis","series","marker","indicator"],function(name){f(this[name]);},this);if(this.seriesThemes){arr.forEach(this.seriesThemes,f);}if(this.markerThemes){arr.forEach(this.markerThemes,f);}},reverseFills:function(){this.inspectObjects(function(o){if(o&&o.fill){o.fill=dgg.reverse(o.fill);}});},addMarker:function(name,_3ad){this.markers[name]=_3ad;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]);}}});lang.mixin(_397,{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"},indicator:{lineStroke:{width:1.5,color:"#333"},lineOutline:{width:0.1,color:"#ccc"},lineShadow:null,stroke:{width:1.5,color:"#333"},outline:{width:0.1,color:"#ccc"},shadow:null,fill:"#ccc",radius:3,font:"normal normal normal 10pt Tahoma",fontColor:"#000",markerFill:"#ccc",markerSymbol:"m-3,0 c0,-4 6,-4 6,0 m-6,0 c0,4 6,4 6,0",markerStroke:{width:1.5,color:"#333"},markerOutline:{width:0.1,color:"#ccc"},markerShadow:null}},defineColors:function(_3ae){_3ae=_3ae||{};var l,c=[],n=_3ae.num||5;if(_3ae.colors){l=_3ae.colors.length;for(var i=0;i<n;i++){c.push(_3ae.colors[i%l]);}return c;}if(_3ae.hue){var s=_3ae.saturation||100,st=_3ae.low||30,end=_3ae.high||90;l=(end+st)/2;return _395.Palette.generate(_395.fromHsv(_3ae.hue,s,l),"monochromatic").colors;}if(_3ae.generator){return _395.Palette.generate(_3ae.base,_3ae.generator).colors;}return c;},generateGradient:function(_3af,_3b0,_3b1){var fill=lang.delegate(_3af);fill.colors=[{offset:0,color:_3b0},{offset:1,color:_3b1}];return fill;},generateHslColor:function(_3b2,_3b3){_3b2=new _394(_3b2);var hsl=_3b2.toHsl(),_3b4=_395.fromHsl(hsl.h,hsl.s,_3b3);_3b4.a=_3b2.a;return _3b4;},generateHslGradient:function(_3b5,_3b6,_3b7,_3b8){_3b5=new _394(_3b5);var hsl=_3b5.toHsl(),_3b9=_395.fromHsl(hsl.h,hsl.s,_3b7),_3ba=_395.fromHsl(hsl.h,hsl.s,_3b8);_3b9.a=_3ba.a=_3b5.a;return _397.generateGradient(_3b6,_3b9,_3ba);}});return _397;});},"dojox/charting/themes/common":function(){define("dojox/charting/themes/common",["dojo/_base/lang"],function(lang){return lang.getObject("dojox.charting.themes",true);});},"dojox/charting/plot2d/common":function(){define("dojox/charting/plot2d/common",["dojo/_base/lang","dojo/_base/array","dojo/_base/Color","dojox/gfx","dojox/lang/functional","../scaler/common"],function(lang,arr,_3bb,g,df,sc){var _3bc=lang.getObject("dojox.charting.plot2d.common",true);return lang.mixin(_3bc,{doIfLoaded:sc.doIfLoaded,makeStroke:function(_3bd){if(!_3bd){return _3bd;}if(typeof _3bd=="string"||_3bd instanceof _3bb){_3bd={color:_3bd};}return g.makeParameters(g.defaultStroke,_3bd);},augmentColor:function(_3be,_3bf){var t=new _3bb(_3be),c=new _3bb(_3bf);c.a=t.a;return c;},augmentStroke:function(_3c0,_3c1){var s=_3bc.makeStroke(_3c0);if(s){s.color=_3bc.augmentColor(s.color,_3c1);}return s;},augmentFill:function(fill,_3c2){var fc,c=new _3bb(_3c2);if(typeof fill=="string"||fill instanceof _3bb){return _3bc.augmentColor(fill,_3c2);}return fill;},defaultStats:{vmin:Number.POSITIVE_INFINITY,vmax:Number.NEGATIVE_INFINITY,hmin:Number.POSITIVE_INFINITY,hmax:Number.NEGATIVE_INFINITY},collectSimpleStats:function(_3c3){var _3c4=lang.delegate(_3bc.defaultStats);for(var i=0;i<_3c3.length;++i){var run=_3c3[i];for(var j=0;j<run.data.length;j++){if(run.data[j]!==null){if(typeof run.data[j]=="number"){var _3c5=_3c4.vmin,_3c6=_3c4.vmax;if(!("ymin" in run)||!("ymax" in run)){arr.forEach(run.data,function(val,i){if(val!==null){var x=i+1,y=val;if(isNaN(y)){y=0;}_3c4.hmin=Math.min(_3c4.hmin,x);_3c4.hmax=Math.max(_3c4.hmax,x);_3c4.vmin=Math.min(_3c4.vmin,y);_3c4.vmax=Math.max(_3c4.vmax,y);}});}if("ymin" in run){_3c4.vmin=Math.min(_3c5,run.ymin);}if("ymax" in run){_3c4.vmax=Math.max(_3c6,run.ymax);}}else{var _3c7=_3c4.hmin,_3c8=_3c4.hmax,_3c5=_3c4.vmin,_3c6=_3c4.vmax;if(!("xmin" in run)||!("xmax" in run)||!("ymin" in run)||!("ymax" in run)){arr.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;}_3c4.hmin=Math.min(_3c4.hmin,x);_3c4.hmax=Math.max(_3c4.hmax,x);_3c4.vmin=Math.min(_3c4.vmin,y);_3c4.vmax=Math.max(_3c4.vmax,y);}});}if("xmin" in run){_3c4.hmin=Math.min(_3c7,run.xmin);}if("xmax" in run){_3c4.hmax=Math.max(_3c8,run.xmax);}if("ymin" in run){_3c4.vmin=Math.min(_3c5,run.ymin);}if("ymax" in run){_3c4.vmax=Math.max(_3c6,run.ymax);}}break;}}}return _3c4;},calculateBarSize:function(_3c9,opt,_3ca){if(!_3ca){_3ca=1;}var gap=opt.gap,size=(_3c9-2*gap)/_3ca;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=(_3c9-size*_3ca)/2;return {size:size,gap:gap};},collectStackedStats:function(_3cb){var _3cc=lang.clone(_3bc.defaultStats);if(_3cb.length){_3cc.hmin=Math.min(_3cc.hmin,1);_3cc.hmax=df.foldl(_3cb,"seed, run -> Math.max(seed, run.data.length)",_3cc.hmax);for(var i=0;i<_3cc.hmax;++i){var v=_3cb[0].data[i];v=v&&(typeof v=="number"?v:v.y);if(isNaN(v)){v=0;}_3cc.vmin=Math.min(_3cc.vmin,v);for(var j=1;j<_3cb.length;++j){var t=_3cb[j].data[i];t=t&&(typeof t=="number"?t:t.y);if(isNaN(t)){t=0;}v+=t;}_3cc.vmax=Math.max(_3cc.vmax,v);}}return _3cc;},curve:function(a,_3cd){var _3ce=a.slice(0);if(_3cd=="x"){_3ce[_3ce.length]=arr[0];}var p=arr.map(_3ce,function(item,i){if(i==0){return "M"+item.x+","+item.y;}if(!isNaN(_3cd)){var dx=item.x-_3ce[i-1].x,dy=_3ce[i-1].y;return "C"+(item.x-(_3cd-1)*(dx/_3cd))+","+dy+" "+(item.x-(dx/_3cd))+","+item.y+" "+item.x+","+item.y;}else{if(_3cd=="X"||_3cd=="x"||_3cd=="S"){var p0,p1=_3ce[i-1],p2=_3ce[i],p3;var bz1x,bz1y,bz2x,bz2y;var f=1/6;if(i==1){if(_3cd=="x"){p0=_3ce[_3ce.length-2];}else{p0=p1;}f=1/3;}else{p0=_3ce[i-2];}if(i==(_3ce.length-1)){if(_3cd=="x"){p3=_3ce[1];}else{p3=p2;}f=1/3;}else{p3=_3ce[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 _3cf=p0p2*f;var _3d0=p1p3*f;if(_3cf>p1p2/2&&_3d0>p1p2/2){_3cf=p1p2/2;_3d0=p1p2/2;}else{if(_3cf>p1p2/2){_3cf=p1p2/2;_3d0=p1p2/2*p1p3/p0p2;}else{if(_3d0>p1p2/2){_3d0=p1p2/2;_3cf=p1p2/2*p0p2/p1p3;}}}if(_3cd=="S"){if(p0==p1){_3cf=0;}if(p2==p3){_3d0=0;}}bz1x=p1.x+_3cf*(p2.x-p0.x)/p0p2;bz1y=p1.y+_3cf*(p2.y-p0.y)/p0p2;bz2x=p2.x-_3d0*(p3.x-p1.x)/p1p3;bz2y=p2.y-_3d0*(p3.y-p1.y)/p1p3;}}return "C"+(bz1x+","+bz1y+" "+bz2x+","+bz2y+" "+p2.x+","+p2.y);});return p.join(" ");},getLabel:function(_3d1,_3d2,_3d3){return sc.doIfLoaded("dojo/number",function(_3d4){return (_3d2?_3d4.format(_3d1,{places:_3d3}):_3d4.format(_3d1))||"";},function(){return _3d2?_3d1.toFixed(_3d3):_3d1.toString();});}});});},"dijit/_Widget":function(){define("dijit/_Widget",["dojo/aspect","dojo/_base/config","dojo/_base/connect","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/query","dojo/ready","./registry","./_WidgetBase","./_OnDijitClickMixin","./_FocusMixin","dojo/uacss","./hccss"],function(_3d5,_3d6,_3d7,_3d8,_3d9,lang,_3da,_3db,_3dc,_3dd,_3de,_3df){function _3e0(){};function _3e1(_3e2){return function(obj,_3e3,_3e4,_3e5){if(obj&&typeof _3e3=="string"&&obj[_3e3]==_3e0){return obj.on(_3e3.substring(2).toLowerCase(),lang.hitch(_3e4,_3e5));}return _3e2.apply(_3d7,arguments);};};_3d5.around(_3d7,"connect",_3e1);if(_3d9.connect){_3d5.around(_3d9,"connect",_3e1);}var _3e6=_3d8("dijit._Widget",[_3dd,_3de,_3df],{onClick:_3e0,onDblClick:_3e0,onKeyDown:_3e0,onKeyPress:_3e0,onKeyUp:_3e0,onMouseDown:_3e0,onMouseMove:_3e0,onMouseOut:_3e0,onMouseOver:_3e0,onMouseLeave:_3e0,onMouseEnter:_3e0,onMouseUp:_3e0,constructor:function(_3e7){this._toConnect={};for(var name in _3e7){if(this[name]===_3e0){this._toConnect[name.replace(/^on/,"").toLowerCase()]=_3e7[name];delete _3e7[name];}}},postCreate:function(){this.inherited(arguments);for(var name in this._toConnect){this.on(name,this._toConnect[name]);}delete this._toConnect;},on:function(type,func){if(this[this._onMap(type)]===_3e0){return _3d7.connect(this.domNode,type.toLowerCase(),this,func);}return this.inherited(arguments);},_setFocusedAttr:function(val){this._focused=val;this._set("focused",val);},setAttribute:function(attr,_3e8){_3d9.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0");this.set(attr,_3e8);},attr:function(name,_3e9){if(_3d6.isDebug){var _3ea=arguments.callee._ach||(arguments.callee._ach={}),_3eb=(arguments.callee.caller||"unknown caller").toString();if(!_3ea[_3eb]){_3d9.deprecated(this.declaredClass+"::attr() is deprecated. Use get() or set() instead, called from "+_3eb,"","2.0");_3ea[_3eb]=true;}}var args=arguments.length;if(args>=2||typeof name==="object"){return this.set.apply(this,arguments);}else{return this.get(name);}},getDescendants:function(){_3d9.deprecated(this.declaredClass+"::getDescendants() is deprecated. Use getChildren() instead.","","2.0");return this.containerNode?_3da("[widgetId]",this.containerNode).map(_3dc.byNode):[];},_onShow:function(){this.onShow();},onShow:function(){},onHide:function(){},onClose:function(){return true;}});if(!_3d9.isAsync){_3db(0,function(){var _3ec=["dijit/_base"];require(_3ec);});}return _3e6;});},"dijit/_FocusMixin":function(){define("dijit/_FocusMixin",["./focus","./_WidgetBase","dojo/_base/declare","dojo/_base/lang"],function(_3ed,_3ee,_3ef,lang){lang.extend(_3ee,{focused:false,onFocus:function(){},onBlur:function(){},_onFocus:function(){this.onFocus();},_onBlur:function(){this.onBlur();}});return _3ef("dijit._FocusMixin",null,{_focusManager:_3ed});});},"dijit/_OnDijitClickMixin":function(){define("dijit/_OnDijitClickMixin",["dojo/on","dojo/_base/array","dojo/keys","dojo/_base/declare","dojo/_base/sniff","dojo/_base/unload","dojo/_base/window"],function(on,_3f0,keys,_3f1,has,_3f2,win){var _3f3=null;if(has("ie")){(function(){var _3f4=function(evt){_3f3=evt.srcElement;};win.doc.attachEvent("onkeydown",_3f4);_3f2.addOnWindowUnload(function(){win.doc.detachEvent("onkeydown",_3f4);});})();}else{win.doc.addEventListener("keydown",function(evt){_3f3=evt.target;},true);}var _3f5=function(node,_3f6){if(/input|button/i.test(node.nodeName)){return on(node,"click",_3f6);}else{function _3f7(e){return (e.keyCode==keys.ENTER||e.keyCode==keys.SPACE)&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey;};var _3f8=[on(node,"keypress",function(e){if(_3f7(e)){_3f3=e.target;e.preventDefault();}}),on(node,"keyup",function(e){if(_3f7(e)&&e.target==_3f3){_3f3=null;_3f6.call(this,e);}}),on(node,"click",function(e){_3f6.call(this,e);})];return {remove:function(){_3f0.forEach(_3f8,function(h){h.remove();});}};}};return _3f1("dijit._OnDijitClickMixin",null,{connect:function(obj,_3f9,_3fa){return this.inherited(arguments,[obj,_3f9=="ondijitclick"?_3f5:_3f9,_3fa]);}});});},"dojo/cache":function(){define(["./_base/kernel","./text"],function(dojo,text){return dojo.cache;});},"dojox/charting/plot2d/Bars":function(){define("dojox/charting/plot2d/Bars",["dojo/_base/kernel","dojo/_base/lang","dojo/_base/array","dojo/_base/declare","./Base","./common","dojox/gfx/fx","dojox/lang/utils","dojox/lang/functional","dojox/lang/functional/reversed"],function(dojo,lang,arr,_3fb,Base,dc,fx,du,df,dfr){var _3fc=dfr.lambda("item.purgeGroup()");return _3fb("dojox.charting.plot2d.Bars",Base,{defaultParams:{hAxis:"x",vAxis:"y",gap:0,animate:null,enableCache:false},optionalParams:{minBarSize:1,maxBarSize:1,stroke:{},outline:{},shadow:{},fill:{},font:"",fontColor:""},constructor:function(_3fd,_3fe){this.opt=lang.clone(this.defaultParams);du.updateWithObject(this.opt,_3fe);du.updateWithPattern(this.opt,_3fe,this.optionalParams);this.series=[];this.hAxis=this.opt.hAxis;this.vAxis=this.opt.vAxis;this.animate=this.opt.animate;},getSeriesStats:function(){var _3ff=dc.collectSimpleStats(this.series),t;_3ff.hmin-=0.5;_3ff.hmax+=0.5;t=_3ff.hmin,_3ff.hmin=_3ff.vmin,_3ff.vmin=t;t=_3ff.hmax,_3ff.hmax=_3ff.vmax,_3ff.vmax=t;return _3ff;},createRect:function(run,_400,_401){var rect;if(this.opt.enableCache&&run._rectFreePool.length>0){rect=run._rectFreePool.pop();rect.setShape(_401);_400.add(rect);}else{rect=_400.createRect(_401);}if(this.opt.enableCache){run._rectUsePool.push(rect);}return rect;},render:function(dim,_402){if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_402);}this.dirty=this.isDirty();this.resetEvents();if(this.dirty){arr.forEach(this.series,_3fc);this._eventSeries={};this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,f,gap,_403,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler),_404=Math.max(0,this._hScaler.bounds.lower),_405=ht(_404),_406=this.events();f=dc.calculateBarSize(this._vScaler.bounds.scale,this.opt);gap=f.gap;_403=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();if(this.opt.enableCache){run._rectFreePool=(run._rectFreePool?run._rectFreePool:[]).concat(run._rectUsePool?run._rectUsePool:[]);run._rectUsePool=[];}var _407=t.next("bar",[this.opt,run]),s=run.group,_408=new Array(run.data.length);for(var j=0;j<run.data.length;++j){var _409=run.data[j];if(_409!==null){var v=typeof _409=="number"?_409:_409.y,hv=ht(v),_40a=hv-_405,w=Math.abs(_40a),_40b=typeof _409!="number"?t.addMixin(_407,"bar",_409,true):t.post(_407,"bar");if(w>=0&&_403>=1){var rect={x:_402.l+(v<_404?hv:_405),y:dim.height-_402.b-vt(j+1.5)+gap,width:w,height:_403};var _40c=this._plotFill(_40b.series.fill,dim,_402);_40c=this._shapeFill(_40c,rect);var _40d=this.createRect(run,s,rect).setFill(_40c).setStroke(_40b.series.stroke);run.dyn.fill=_40d.getFill();run.dyn.stroke=_40d.getStroke();if(_406){var o={element:"bar",index:j,run:run,shape:_40d,x:v,y:j+1.5};this._connectEvents(o);_408[j]=o;}if(this.animate){this._animateBar(_40d,_402.l+_405,-w);}}}}this._eventSeries[run.name]=_408;run.dirty=false;}this.dirty=false;return this;},_animateBar:function(_40e,_40f,_410){fx.animateTransform(lang.delegate({shape:_40e,duration:1200,transform:[{name:"translate",start:[_40f-(_40f/_410),0],end:[0,0]},{name:"scale",start:[1/_410,1],end:[1,1]},{name:"original"}]},this.animate)).play();}});});},"dojox/gfx/_base":function(){define("dojox/gfx/_base",["dojo/_base/lang","dojo/_base/html","dojo/_base/Color","dojo/_base/sniff","dojo/_base/window","dojo/_base/array","dojo/dom","dojo/dom-construct","dojo/dom-geometry"],function(lang,html,_411,has,win,arr,dom,_412,_413){var g=lang.getObject("dojox.gfx",true),b=g._base={};g._hasClass=function(node,_414){var cls=node.getAttribute("className");return cls&&(" "+cls+" ").indexOf(" "+_414+" ")>=0;};g._addClass=function(node,_415){var cls=node.getAttribute("className")||"";if(!cls||(" "+cls+" ").indexOf(" "+_415+" ")<0){node.setAttribute("className",cls+(cls?" ":"")+_415);}};g._removeClass=function(node,_416){var cls=node.getAttribute("className");if(cls){node.setAttribute("className",cls.replace(new RegExp("(^|\\s+)"+_416+"(\\s+|$)"),"$1$2"));}};b._getFontMeasurements=function(){var _417={"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};var p;if(has("ie")){win.doc.documentElement.style.fontSize="100%";}var div=_412.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"}},win.body());for(p in _417){div.style.fontSize=p;_417[p]=Math.round(div.offsetHeight*12/16)*16/12/1000;}win.body().removeChild(div);return _417;};var _418=null;b._getCachedFontMeasurements=function(_419){if(_419||!_418){_418=b._getFontMeasurements();}return _418;};var _41a=null,_41b={};b._getTextBox=function(text,_41c,_41d){var m,s,al=arguments.length;var i;if(!_41a){_41a=_412.create("div",{style:{position:"absolute",top:"-10000px",left:"0"}},win.body());}m=_41a;m.className="";s=m.style;s.borderWidth="0";s.margin="0";s.padding="0";s.outline="0";if(al>1&&_41c){for(i in _41c){if(i in _41b){continue;}s[i]=_41c[i];}}if(al>2&&_41d){m.className=_41d;}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 _413.getMarginBox(m);}};var _41e=0;b._getUniqueId=function(){var id;do{id=dojo._scopeName+"xUnique"+(++_41e);}while(dom.byId(id));return id;};lang.mixin(g,{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 _41f={};return function(type){var t=_41f[type];if(t){return new t();}t=_41f[type]=new Function();t.prototype=g["default"+type];return new t();};})(),normalizeColor:function(_420){return (_420 instanceof _411)?_420:new _411(_420);},normalizeParameters:function(_421,_422){var x;if(_422){var _423={};for(x in _421){if(x in _422&&!(x in _423)){_421[x]=_422[x];}}}return _421;},makeParameters:function(_424,_425){var i=null;if(!_425){return lang.delegate(_424);}var _426={};for(i in _424){if(!(i in _426)){_426[i]=lang.clone((i in _425)?_425[i]:_424[i]);}}return _426;},formatNumber:function(x,_427){var val=x.toString();if(val.indexOf("e")>=0){val=x.toFixed(4);}else{var _428=val.indexOf(".");if(_428>=0&&val.length-_428>5){val=x.toFixed(4);}}if(x<0){return val;}return _427?" "+val:val;},makeFontString:function(font){return font.style+" "+font.variant+" "+font.weight+" "+font.size+" "+font.family;},splitFontString:function(str){var font=g.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 g._base._getCachedFontMeasurements()["12pt"]/12;},pt2px:function(len){return len*g.px_in_pt();},px2pt:function(len){return len/g.px_in_pt();},normalizedLength:function(len){if(len.length===0){return 0;}if(len.length>2){var _429=g.px_in_pt();var val=parseFloat(len);switch(len.slice(-2)){case "px":return val;case "pt":return val*_429;case "in":return val*72*_429;case "pc":return val*12*_429;case "mm":return val*g.mm_in_pt*_429;case "cm":return val*g.cm_in_pt*_429;}}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(_42a){var ns=typeof _42a=="string"?g[_42a]:_42a;if(ns){arr.forEach(["Group","Rect","Ellipse","Circle","Line","Polyline","Image","Text","Path","TextPath","Surface","createSurface","fixTarget"],function(name){g[name]=ns[name];});}}});return g;});},"dijit/focus":function(){define("dijit/focus",["dojo/aspect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/Evented","dojo/_base/lang","dojo/on","dojo/ready","dojo/_base/sniff","dojo/Stateful","dojo/_base/unload","dojo/_base/window","dojo/window","./a11y","./registry","."],function(_42b,_42c,dom,_42d,_42e,_42f,lang,on,_430,has,_431,_432,win,_433,a11y,_434,_435){var _436=_42c([_431,_42f],{curNode:null,activeStack:[],constructor:function(){var _437=lang.hitch(this,function(node){if(dom.isDescendant(this.curNode,node)){this.set("curNode",null);}if(dom.isDescendant(this.prevNode,node)){this.set("prevNode",null);}});_42b.before(_42e,"empty",_437);_42b.before(_42e,"destroy",_437);},registerIframe:function(_438){return this.registerWin(_438.contentWindow,_438);},registerWin:function(_439,_43a){var _43b=this;var _43c=function(evt){_43b._justMouseDowned=true;setTimeout(function(){_43b._justMouseDowned=false;},0);if(has("ie")&&evt&&evt.srcElement&&evt.srcElement.parentNode==null){return;}_43b._onTouchNode(_43a||evt.target||evt.srcElement,"mouse");};var doc=has("ie")?_439.document.documentElement:_439.document;if(doc){if(has("ie")){_439.document.body.attachEvent("onmousedown",_43c);var _43d=function(evt){var tag=evt.srcElement.tagName.toLowerCase();if(tag=="#document"||tag=="body"){return;}if(a11y.isTabNavigable(evt.srcElement)){_43b._onFocusNode(_43a||evt.srcElement);}else{_43b._onTouchNode(_43a||evt.srcElement);}};doc.attachEvent("onactivate",_43d);var _43e=function(evt){_43b._onBlurNode(_43a||evt.srcElement);};doc.attachEvent("ondeactivate",_43e);return {remove:function(){_439.document.detachEvent("onmousedown",_43c);doc.detachEvent("onactivate",_43d);doc.detachEvent("ondeactivate",_43e);doc=null;}};}else{doc.body.addEventListener("mousedown",_43c,true);doc.body.addEventListener("touchstart",_43c,true);var _43f=function(evt){_43b._onFocusNode(_43a||evt.target);};doc.addEventListener("focus",_43f,true);var _440=function(evt){_43b._onBlurNode(_43a||evt.target);};doc.addEventListener("blur",_440,true);return {remove:function(){doc.body.removeEventListener("mousedown",_43c,true);doc.body.removeEventListener("touchstart",_43c,true);doc.removeEventListener("focus",_43f,true);doc.removeEventListener("blur",_440,true);doc=null;}};}}},_onBlurNode:function(){this.set("prevNode",this.curNode);this.set("curNode",null);if(this._justMouseDowned){return;}if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);}this._clearActiveWidgetsTimer=setTimeout(lang.hitch(this,function(){delete this._clearActiveWidgetsTimer;this._setStack([]);this.prevNode=null;}),100);},_onTouchNode:function(node,by){if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);delete this._clearActiveWidgetsTimer;}var _441=[];try{while(node){var _442=_42d.get(node,"dijitPopupParent");if(_442){node=_434.byId(_442).domNode;}else{if(node.tagName&&node.tagName.toLowerCase()=="body"){if(node===win.body()){break;}node=_433.get(node.ownerDocument).frameElement;}else{var id=node.getAttribute&&node.getAttribute("widgetId"),_443=id&&_434.byId(id);if(_443&&!(by=="mouse"&&_443.get("disabled"))){_441.unshift(id);}node=node.parentNode;}}}}catch(e){}this._setStack(_441,by);},_onFocusNode:function(node){if(!node){return;}if(node.nodeType==9){return;}this._onTouchNode(node);if(node==this.curNode){return;}this.set("curNode",node);},_setStack:function(_444,by){var _445=this.activeStack;this.set("activeStack",_444);for(var _446=0;_446<Math.min(_445.length,_444.length);_446++){if(_445[_446]!=_444[_446]){break;}}var _447;for(var i=_445.length-1;i>=_446;i--){_447=_434.byId(_445[i]);if(_447){_447._hasBeenBlurred=true;_447.set("focused",false);if(_447._focusManager==this){_447._onBlur(by);}this.emit("widget-blur",_447,by);}}for(i=_446;i<_444.length;i++){_447=_434.byId(_444[i]);if(_447){_447.set("focused",true);if(_447._focusManager==this){_447._onFocus(by);}this.emit("widget-focus",_447,by);}}},focus:function(node){if(node){try{node.focus();}catch(e){}}}});var _448=new _436();_430(function(){var _449=_448.registerWin(win.doc.parentWindow||win.doc.defaultView);if(has("ie")){_432.addOnWindowUnload(function(){_449.remove();_449=null;});}});_435.focus=function(node){_448.focus(node);};for(var attr in _448){if(!/^_/.test(attr)){_435.focus[attr]=typeof _448[attr]=="function"?lang.hitch(_448,attr):_448[attr];}}_448.watch(function(attr,_44a,_44b){_435.focus[attr]=_44b;});return _448;});},"dojox/charting/widget/Legend":function(){define("dojox/charting/widget/Legend",["dojo/_base/lang","dojo/_base/html","dojo/_base/declare","dijit/_Widget","dojox/gfx","dojo/_base/array","dojox/lang/functional","dojox/lang/functional/array","dojox/lang/functional/fold","dojo/dom","dojo/dom-construct","dojo/dom-class","dijit/_base/manager"],function(lang,html,_44c,_44d,gfx,_44e,df,dfa,dff,dom,_44f,_450,_451){var _452=/\.(StackedColumns|StackedAreas|ClusteredBars)$/;return _44c("dojox.charting.widget.Legend",_44d,{chartRef:"",horizontal:true,swatchSize:18,legendBody:null,postCreate:function(){if(!this.chart){if(!this.chartRef){return;}this.chart=_451.byId(this.chartRef);if(!this.chart){var node=dom.byId(this.chartRef);if(node){this.chart=_451.byNode(node);}else{return;}}this.series=this.chart.chart.series;}else{this.series=this.chart.series;}this.refresh();},buildRendering:function(){this.domNode=_44f.create("table",{role:"group","aria-label":"chart legend","class":"dojoxLegendNode"});this.legendBody=_44f.create("tbody",null,this.domNode);this.inherited(arguments);},refresh:function(){if(this._surfaces){_44e.forEach(this._surfaces,function(_453){_453.destroy();});}this._surfaces=[];while(this.legendBody.lastChild){_44f.destroy(this.legendBody.lastChild);}if(this.horizontal){_450.add(this.domNode,"dojoxLegendHorizontal");this._tr=_44f.create("tr",null,this.legendBody);this._inrow=0;}var s=this.series;if(s.length==0){return;}if(s[0].chart.stack[0].declaredClass=="dojox.charting.plot2d.Pie"){var t=s[0].chart.stack[0];if(typeof t.run.data[0]=="number"){var _454=df.map(t.run.data,"Math.max(x, 0)");if(df.every(_454,"<= 0")){return;}var _455=df.map(_454,"/this",df.foldl(_454,"+",0));_44e.forEach(_455,function(x,i){this._addLabel(t.dyn[i],t._getLabel(x*100)+"%");},this);}else{_44e.forEach(t.run.data,function(x,i){this._addLabel(t.dyn[i],x.legend||x.text||x.y);},this);}}else{if(this._isReversal()){s=s.slice(0).reverse();}_44e.forEach(s,function(x){this._addLabel(x.dyn,x.legend||x.name);},this);}},_addLabel:function(dyn,_456){var _457=_44f.create("td"),icon=_44f.create("div",null,_457),text=_44f.create("label",null,_457),div=_44f.create("div",{style:{"width":this.swatchSize+"px","height":this.swatchSize+"px","float":"left"}},icon);_450.add(icon,"dojoxLegendIcon dijitInline");_450.add(text,"dojoxLegendText");if(this._tr){this._tr.appendChild(_457);if(++this._inrow===this.horizontal){this._tr=_44f.create("tr",null,this.legendBody);this._inrow=0;}}else{var tr=_44f.create("tr",null,this.legendBody);tr.appendChild(_457);}this._makeIcon(div,dyn);text.innerHTML=String(_456);text.dir=this.getTextDir(_456,text.dir);},_makeIcon:function(div,dyn){var mb={h:this.swatchSize,w:this.swatchSize};var _458=gfx.createSurface(div,mb.w,mb.h);this._surfaces.push(_458);if(dyn.fill){_458.createRect({x:2,y:2,width:mb.w-4,height:mb.h-4}).setFill(dyn.fill).setStroke(dyn.stroke);}else{if(dyn.stroke||dyn.marker){var line={x1:0,y1:mb.h/2,x2:mb.w,y2:mb.h/2};if(dyn.stroke){_458.createLine(line).setStroke(dyn.stroke);}if(dyn.marker){var c={x:mb.w/2,y:mb.h/2};if(dyn.stroke){_458.createPath({path:"M"+c.x+" "+c.y+" "+dyn.marker}).setFill(dyn.stroke.color).setStroke(dyn.stroke);}else{_458.createPath({path:"M"+c.x+" "+c.y+" "+dyn.marker}).setFill(dyn.color).setStroke(dyn.color);}}}else{_458.createRect({x:2,y:2,width:mb.w-4,height:mb.h-4}).setStroke("black");_458.createLine({x1:2,y1:2,x2:mb.w-2,y2:mb.h-2}).setStroke("black");_458.createLine({x1:2,y1:mb.h-2,x2:mb.w-2,y2:2}).setStroke("black");}}},_isReversal:function(){return (!this.horizontal)&&_44e.some(this.chart.stack,function(item){return _452.test(item.declaredClass);});}});});},"dojox/charting/plot2d/StackedLines":function(){define("dojox/charting/plot2d/StackedLines",["dojo/_base/declare","./Stacked"],function(_459,_45a){return _459("dojox.charting.plot2d.StackedLines",_45a,{constructor:function(){this.opt.lines=true;}});});},"dojox/charting/plot2d/StackedColumns":function(){define("dojox/charting/plot2d/StackedColumns",["dojo/_base/lang","dojo/_base/array","dojo/_base/declare","./Columns","./common","dojox/lang/functional","dojox/lang/functional/reversed","dojox/lang/functional/sequence"],function(lang,arr,_45b,_45c,dc,df,dfr,dfs){var _45d=dfr.lambda("item.purgeGroup()");return _45b("dojox.charting.plot2d.StackedColumns",_45c,{getSeriesStats:function(){var _45e=dc.collectStackedStats(this.series);this._maxRunLength=_45e.hmax;_45e.hmin-=0.5;_45e.hmax+=0.5;return _45e;},render:function(dim,_45f){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 _460=run.data[j];if(_460!==null){var v=typeof _460=="number"?_460:_460.y;if(isNaN(v)){v=0;}acc[j]+=v;}}}if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_45f);}this.resetEvents();this.dirty=this.isDirty();if(this.dirty){arr.forEach(this.series,_45d);this._eventSeries={};this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,f,gap,_461,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler),_462=this.events();f=dc.calculateBarSize(this._hScaler.bounds.scale,this.opt);gap=f.gap;_461=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 _463=t.next("column",[this.opt,run]),s=run.group,_464=new Array(acc.length);for(var j=0;j<acc.length;++j){var _460=run.data[j];if(_460!==null){var v=acc[j],_465=vt(v),_466=typeof _460!="number"?t.addMixin(_463,"column",_460,true):t.post(_463,"column");if(_461>=1&&_465>=0){var rect={x:_45f.l+ht(j+0.5)+gap,y:dim.height-_45f.b-vt(v),width:_461,height:_465};var _467=this._plotFill(_466.series.fill,dim,_45f);_467=this._shapeFill(_467,rect);var _468=s.createRect(rect).setFill(_467).setStroke(_466.series.stroke);run.dyn.fill=_468.getFill();run.dyn.stroke=_468.getStroke();if(_462){var o={element:"column",index:j,run:run,shape:_468,x:j+0.5,y:v};this._connectEvents(o);_464[j]=o;}if(this.animate){this._animateColumn(_468,dim.height-_45f.b,_465);}}}}this._eventSeries[run.name]=_464;run.dirty=false;for(var j=0;j<run.data.length;++j){var _460=run.data[j];if(_460!==null){var v=typeof _460=="number"?_460:_460.y;if(isNaN(v)){v=0;}acc[j]-=v;}}}this.dirty=false;return this;}});});},"dojox/charting/Series":function(){define(["dojo/_base/lang","dojo/_base/declare","./Element"],function(lang,_469,_46a){return _469("dojox.charting.Series",_46a,{constructor:function(_46b,data,_46c){lang.mixin(this,_46c);if(typeof this.plot!="string"){this.plot="default";}this.update(data);},clear:function(){this.dyn={};},update:function(data){if(lang.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();}});});},"dojox/charting/plot2d/Default":function(){define("dojox/charting/plot2d/Default",["dojo/_base/lang","dojo/_base/declare","dojo/_base/array","./Base","./common","dojox/lang/functional","dojox/lang/functional/reversed","dojox/lang/utils","dojox/gfx/fx"],function(lang,_46d,arr,Base,dc,df,dfr,du,fx){var _46e=dfr.lambda("item.purgeGroup()");var _46f=1200;return _46d("dojox.charting.plot2d.Default",Base,{defaultParams:{hAxis:"x",vAxis:"y",lines:true,areas:false,markers:false,tension:"",animate:false,enableCache:false},optionalParams:{stroke:{},outline:{},shadow:{},fill:{},font:"",fontColor:"",markerStroke:{},markerOutline:{},markerShadow:{},markerFill:{},markerFont:"",markerFontColor:""},constructor:function(_470,_471){this.opt=lang.clone(this.defaultParams);du.updateWithObject(this.opt,_471);du.updateWithPattern(this.opt,_471,this.optionalParams);this.series=[];this.hAxis=this.opt.hAxis;this.vAxis=this.opt.vAxis;this.animate=this.opt.animate;},createPath:function(run,_472,_473){var path;if(this.opt.enableCache&&run._pathFreePool.length>0){path=run._pathFreePool.pop();path.setShape(_473);_472.add(path);}else{path=_472.createPath(_473);}if(this.opt.enableCache){run._pathUsePool.push(path);}return path;},render:function(dim,_474){if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_474);}this.resetEvents();this.dirty=this.isDirty();if(this.dirty){arr.forEach(this.series,_46e);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,_475,_476,_477,_478=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(this.opt.enableCache){run._pathFreePool=(run._pathFreePool?run._pathFreePool:[]).concat(run._pathUsePool?run._pathUsePool:[]);run._pathUsePool=[];}if(!run.data.length){run.dirty=false;t.skip();continue;}var _479=t.next(this.opt.areas?"area":"line",[this.opt,run],true),s=run.group,_47a=[],_47b=[],rseg=null,_47c,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler),_47d=this._eventSeries[run.name]=new Array(run.data.length);var _47e=typeof run.data[0]=="number";var min=_47e?Math.max(0,Math.floor(this._hScaler.bounds.from-1)):0,max=_47e?Math.min(run.data.length,Math.ceil(this._hScaler.bounds.to)):run.data.length;for(var j=min;j<max;j++){if(run.data[j]!=null){if(!rseg){rseg=[];_47b.push(j);_47a.push(rseg);}rseg.push(run.data[j]);}else{rseg=null;}}for(var seg=0;seg<_47a.length;seg++){if(typeof _47a[seg][0]=="number"){_47c=arr.map(_47a[seg],function(v,i){return {x:ht(i+_47b[seg]+1)+_474.l,y:dim.height-_474.b-vt(v)};},this);}else{_47c=arr.map(_47a[seg],function(v,i){return {x:ht(v.x)+_474.l,y:dim.height-_474.b-vt(v.y)};},this);}var _47f=this.opt.tension?dc.curve(_47c,this.opt.tension):"";if(this.opt.areas&&_47c.length>1){var fill=_479.series.fill;var _480=lang.clone(_47c);if(this.opt.tension){var _481="L"+_480[_480.length-1].x+","+(dim.height-_474.b)+" L"+_480[0].x+","+(dim.height-_474.b)+" L"+_480[0].x+","+_480[0].y;run.dyn.fill=s.createPath(_47f+" "+_481).setFill(fill).getFill();}else{_480.push({x:_47c[_47c.length-1].x,y:dim.height-_474.b});_480.push({x:_47c[0].x,y:dim.height-_474.b});_480.push(_47c[0]);run.dyn.fill=s.createPolyline(_480).setFill(fill).getFill();}}if(this.opt.lines||this.opt.markers){_475=_479.series.stroke;if(_479.series.outline){_476=run.dyn.outline=dc.makeStroke(_479.series.outline);_476.width=2*_476.width+_475.width;}}if(this.opt.markers){run.dyn.marker=_479.symbol;}var _482=null,_483=null,_484=null;if(_475&&_479.series.shadow&&_47c.length>1){var _485=_479.series.shadow,_486=arr.map(_47c,function(c){return {x:c.x+_485.dx,y:c.y+_485.dy};});if(this.opt.lines){if(this.opt.tension){run.dyn.shadow=s.createPath(dc.curve(_486,this.opt.tension)).setStroke(_485).getStroke();}else{run.dyn.shadow=s.createPolyline(_486).setStroke(_485).getStroke();}}if(this.opt.markers&&_479.marker.shadow){_485=_479.marker.shadow;_484=arr.map(_486,function(c){return this.createPath(run,s,"M"+c.x+" "+c.y+" "+_479.symbol).setStroke(_485).setFill(_485.color);},this);}}if(this.opt.lines&&_47c.length>1){if(_476){if(this.opt.tension){run.dyn.outline=s.createPath(_47f).setStroke(_476).getStroke();}else{run.dyn.outline=s.createPolyline(_47c).setStroke(_476).getStroke();}}if(this.opt.tension){run.dyn.stroke=s.createPath(_47f).setStroke(_475).getStroke();}else{run.dyn.stroke=s.createPolyline(_47c).setStroke(_475).getStroke();}}if(this.opt.markers){_482=new Array(_47c.length);_483=new Array(_47c.length);_476=null;if(_479.marker.outline){_476=dc.makeStroke(_479.marker.outline);_476.width=2*_476.width+(_479.marker.stroke?_479.marker.stroke.width:0);}arr.forEach(_47c,function(c,i){var path="M"+c.x+" "+c.y+" "+_479.symbol;if(_476){_483[i]=this.createPath(run,s,path).setStroke(_476);}_482[i]=this.createPath(run,s,path).setStroke(_479.marker.stroke).setFill(_479.marker.fill);},this);run.dyn.markerFill=_479.marker.fill;run.dyn.markerStroke=_479.marker.stroke;if(_478){arr.forEach(_482,function(s,i){var o={element:"marker",index:i+_47b[seg],run:run,shape:s,outline:_483[i]||null,shadow:_484&&_484[i]||null,cx:_47c[i].x,cy:_47c[i].y};if(typeof _47a[seg][0]=="number"){o.x=i+_47b[seg]+1;o.y=_47a[seg][i];}else{o.x=_47a[seg][i].x;o.y=_47a[seg][i].y;}this._connectEvents(o);_47d[i+_47b[seg]]=o;},this);}else{delete this._eventSeries[run.name];}}}run.dirty=false;}if(this.animate){var _487=this.group;fx.animateTransform(lang.delegate({shape:_487,duration:_46f,transform:[{name:"translate",start:[0,dim.height-_474.b],end:[0,0]},{name:"scale",start:[1,0],end:[1,1]},{name:"original"}]},this.animate)).play();}this.dirty=false;return this;}});});},"dijit/main":function(){define("dijit/main",["dojo/_base/kernel"],function(dojo){return dojo.dijit;});},"dojox/charting/plot2d/Base":function(){define("dojox/charting/plot2d/Base",["dojo/_base/lang","dojo/_base/declare","dojo/_base/connect","../Element","./_PlotEvents","dojo/_base/array","../scaler/primitive","./common","dojox/gfx/fx"],function(lang,_488,hub,_489,_48a,arr,_48b,_48c,fx){return _488("dojox.charting.plot2d.Base",[_489,_48a],{constructor:function(_48d,_48e){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;},toPage:function(_48f){var ah=this._hAxis,av=this._vAxis,sh=ah.getScaler(),sv=av.getScaler(),th=sh.scaler.getTransformerFromModel(sh),tv=sv.scaler.getTransformerFromModel(sv),c=this.chart.getCoords(),o=this.chart.offsets,dim=this.chart.dim;var t=function(_490){var r={};r.x=th(_490[ah.name])+c.x+o.l;r.y=c.y+dim.height-o.b-tv(_490[av.name]);return r;};return _48f?t(_48f):t;},toData:function(_491){var ah=this._hAxis,av=this._vAxis,sh=ah.getScaler(),sv=av.getScaler(),th=sh.scaler.getTransformerFromPlot(sh),tv=sv.scaler.getTransformerFromPlot(sv),c=this.chart.getCoords(),o=this.chart.offsets,dim=this.chart.dim;var t=function(_492){var r={};r[ah.name]=th(_492.x-c.x-o.l);r[av.name]=tv(c.y+dim.height-_492.y-o.b);return r;};return _491?t(_491):t;},addSeries:function(run){this.series.push(run);return this;},getSeriesStats:function(){return _48c.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 arr.some(this.series,function(item){return item.dirty;});},performZoom:function(dim,_493){var vs=this._vAxis.scale||1,hs=this._hAxis.scale||1,_494=dim.height-_493.b,_495=this._hScaler.bounds,_496=(_495.from-_495.lower)*_495.scale,_497=this._vScaler.bounds,_498=(_497.from-_497.lower)*_497.scale,_499=vs/this.lastWindow.vscale,_49a=hs/this.lastWindow.hscale,_49b=(this.lastWindow.xoffset-_496)/((this.lastWindow.hscale==1)?hs:this.lastWindow.hscale),_49c=(_498-this.lastWindow.yoffset)/((this.lastWindow.vscale==1)?vs:this.lastWindow.vscale),_49d=this.group,anim=fx.animateTransform(lang.delegate({shape:_49d,duration:1200,transform:[{name:"translate",start:[0,0],end:[_493.l*(1-_49a),_494*(1-_499)]},{name:"scale",start:[1,1],end:[_49a,_499]},{name:"original"},{name:"translate",start:[0,0],end:[_49b,_49c]}]},this.zoom));lang.mixin(this.lastWindow,{vscale:vs,hscale:hs,xoffset:_496,yoffset:_498});this.zoomQueue.push(anim);hub.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,_49e){return this;},getRequiredColors:function(){return this.series.length;},initializeScalers:function(dim,_49f){if(this._hAxis){if(!this._hAxis.initialized()){this._hAxis.calculate(_49f.hmin,_49f.hmax,dim.width);}this._hScaler=this._hAxis.getScaler();}else{this._hScaler=_48b.buildScaler(_49f.hmin,_49f.hmax,dim.width);}if(this._vAxis){if(!this._vAxis.initialized()){this._vAxis.calculate(_49f.vmin,_49f.vmax,dim.height);}this._vScaler=this._vAxis.getScaler();}else{this._vScaler=_48b.buildScaler(_49f.vmin,_49f.vmax,dim.height);}return this;}});});},"dojox/charting/action2d/Tooltip":function(){define("dojox/charting/action2d/Tooltip",["dojo/_base/kernel","dijit/Tooltip","dojo/_base/lang","dojo/_base/html","dojo/_base/declare","./PlotAction","dojox/gfx/matrix","dojox/lang/functional","dojox/lang/functional/scan","dojox/lang/functional/fold"],function(dojo,_4a0,lang,html,_4a1,_4a2,m,df,dfs,dff){var _4a3=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 pi4=Math.PI/4,pi2=Math.PI/2;return _4a1("dojox.charting.action2d.Tooltip",_4a2,{defaultParams:{text:_4a3},optionalParams:{},constructor:function(_4a4,plot,_4a5){this.text=_4a5&&_4a5.text?_4a5.text:_4a3;this.connect();},process:function(o){if(o.type==="onplotreset"||o.type==="onmouseout"){_4a0.hide(this.aroundRect);this.aroundRect=null;if(o.type==="onplotreset"){delete this.angles;}return;}if(!o.shape||o.type!=="onmouseover"){return;}var _4a6={type:"rect"},_4a7=["after","before"];switch(o.element){case "marker":_4a6.x=o.cx;_4a6.y=o.cy;_4a6.w=_4a6.h=1;break;case "circle":_4a6.x=o.cx-o.cr;_4a6.y=o.cy-o.cr;_4a6.w=_4a6.h=2*o.cr;break;case "column":_4a7=["above","below"];case "bar":_4a6=lang.clone(o.shape.getShape());_4a6.w=_4a6.width;_4a6.h=_4a6.height;break;case "candlestick":_4a6.x=o.x;_4a6.y=o.y;_4a6.w=o.width;_4a6.h=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 _4a8=m._degToRad(o.plot.opt.startAngle),_4a9=(this.angles[o.index]+this.angles[o.index+1])/2+_4a8;_4a6.x=o.cx+o.cr*Math.cos(_4a9);_4a6.y=o.cy+o.cr*Math.sin(_4a9);_4a6.w=_4a6.h=1;if(_4a9<pi4){}else{if(_4a9<pi2+pi4){_4a7=["below","above"];}else{if(_4a9<Math.PI+pi4){_4a7=["before","after"];}else{if(_4a9<2*Math.PI-pi4){_4a7=["above","below"];}}}}break;}var lt=this.chart.getCoords();_4a6.x+=lt.x;_4a6.y+=lt.y;_4a6.x=Math.round(_4a6.x);_4a6.y=Math.round(_4a6.y);_4a6.w=Math.ceil(_4a6.w);_4a6.h=Math.ceil(_4a6.h);this.aroundRect=_4a6;var _4aa=this.text(o);if(this.chart.getTextDir){var _4ab=(html.style(this.chart.node,"direction")=="rtl");var _4ac=(this.chart.getTextDir(_4aa)=="rtl");}if(_4aa){if(_4ac&&!_4ab){_4a0.show("<span dir = 'rtl'>"+_4aa+"</span>",this.aroundRect,_4a7);}else{if(!_4ac&&_4ab){_4a0.show("<span dir = 'ltr'>"+_4aa+"</span>",this.aroundRect,_4a7);}else{_4a0.show(_4aa,this.aroundRect,_4a7);}}}}});});},"dojox/gfx":function(){define(["dojo/_base/lang","./gfx/_base","./gfx/renderer!"],function(lang,_4ad,_4ae){_4ad.switchTo(_4ae);return _4ad;});},"dojox/gfx/shape":function(){define("dojox/gfx/shape",["./_base","dojo/_base/lang","dojo/_base/declare","dojo/_base/window","dojo/_base/sniff","dojo/_base/connect","dojo/_base/array","dojo/dom-construct","dojo/_base/Color","./matrix"],function(g,lang,_4af,win,has,_4b0,arr,_4b1,_4b2,_4b3){var _4b4=g.shape={};var _4b5={};var _4b6={};_4b4.register=function(_4b7){var t=_4b7.declaredClass.split(".").pop();var i=t in _4b5?++_4b5[t]:((_4b5[t]=0));var uid=t+i;_4b6[uid]=_4b7;return uid;};_4b4.byId=function(id){return _4b6[id];};_4b4.dispose=function(_4b8){delete _4b6[_4b8.getUID()];};_4af("dojox.gfx.shape.Shape",null,{constructor:function(){this.rawNode=null;this.shape=null;this.matrix=null;this.fillStyle=null;this.strokeStyle=null;this.bbox=null;this.parent=null;this.parentMatrix=null;var uid=_4b4.register(this);this.getUID=function(){return uid;};},getNode:function(){return this.rawNode;},getShape:function(){return this.shape;},getTransform:function(){return this.matrix;},getFill:function(){return this.fillStyle;},getStroke:function(){return this.strokeStyle;},getParent:function(){return this.parent;},getBoundingBox:function(){return this.bbox;},getTransformedBoundingBox:function(){var b=this.getBoundingBox();if(!b){return null;}var m=this._getRealMatrix(),gm=_4b3;return [gm.multiplyPoint(m,b.x,b.y),gm.multiplyPoint(m,b.x+b.width,b.y),gm.multiplyPoint(m,b.x+b.width,b.y+b.height),gm.multiplyPoint(m,b.x,b.y+b.height)];},getEventSource:function(){return this.rawNode;},setShape:function(_4b9){this.shape=g.makeParameters(this.shape,_4b9);this.bbox=null;return this;},setFill:function(fill){if(!fill){this.fillStyle=null;return this;}var f=null;if(typeof (fill)=="object"&&"type" in fill){switch(fill.type){case "linear":f=g.makeParameters(g.defaultLinearGradient,fill);break;case "radial":f=g.makeParameters(g.defaultRadialGradient,fill);break;case "pattern":f=g.makeParameters(g.defaultPattern,fill);break;}}else{f=g.normalizeColor(fill);}this.fillStyle=f;return this;},setStroke:function(_4ba){if(!_4ba){this.strokeStyle=null;return this;}if(typeof _4ba=="string"||lang.isArray(_4ba)||_4ba instanceof _4b2){_4ba={color:_4ba};}var s=this.strokeStyle=g.makeParameters(g.defaultStroke,_4ba);s.color=g.normalizeColor(s.color);return this;},setTransform:function(_4bb){this.matrix=_4b3.clone(_4bb?_4b3.normalize(_4bb):_4b3.identity);return this._applyTransform();},_applyTransform:function(){return this;},moveToFront:function(){var p=this.getParent();if(p){p._moveChildToFront(this);this._moveToFront();}return this;},moveToBack:function(){var p=this.getParent();if(p){p._moveChildToBack(this);this._moveToBack();}return this;},_moveToFront:function(){},_moveToBack:function(){},applyRightTransform:function(_4bc){return _4bc?this.setTransform([this.matrix,_4bc]):this;},applyLeftTransform:function(_4bd){return _4bd?this.setTransform([_4bd,this.matrix]):this;},applyTransform:function(_4be){return _4be?this.setTransform([this.matrix,_4be]):this;},removeShape:function(_4bf){if(this.parent){this.parent.remove(this,_4bf);}return this;},_setParent:function(_4c0,_4c1){this.parent=_4c0;return this._updateParentMatrix(_4c1);},_updateParentMatrix:function(_4c2){this.parentMatrix=_4c2?_4b3.clone(_4c2):null;return this._applyTransform();},_getRealMatrix:function(){var m=this.matrix;var p=this.parent;while(p){if(p.matrix){m=_4b3.multiply(p.matrix,m);}p=p.parent;}return m;}});_4b4._eventsProcessing={connect:function(name,_4c3,_4c4){return _4b0.connect(this.getEventSource(),name,_4b4.fixCallback(this,g.fixTarget,_4c3,_4c4));},disconnect:function(_4c5){_4b0.disconnect(_4c5);}};_4b4.fixCallback=function(_4c6,_4c7,_4c8,_4c9){if(!_4c9){_4c9=_4c8;_4c8=null;}if(lang.isString(_4c9)){_4c8=_4c8||win.global;if(!_4c8[_4c9]){throw (["dojox.gfx.shape.fixCallback: scope[\"",_4c9,"\"] is null (scope=\"",_4c8,"\")"].join(""));}return function(e){return _4c7(e,_4c6)?_4c8[_4c9].apply(_4c8,arguments||[]):undefined;};}return !_4c8?function(e){return _4c7(e,_4c6)?_4c9.apply(_4c8,arguments):undefined;}:function(e){return _4c7(e,_4c6)?_4c9.apply(_4c8,arguments||[]):undefined;};};lang.extend(_4b4.Shape,_4b4._eventsProcessing);_4b4.Container={_init:function(){this.children=[];},openBatch:function(){},closeBatch:function(){},add:function(_4ca){var _4cb=_4ca.getParent();if(_4cb){_4cb.remove(_4ca,true);}this.children.push(_4ca);return _4ca._setParent(this,this._getRealMatrix());},remove:function(_4cc,_4cd){for(var i=0;i<this.children.length;++i){if(this.children[i]==_4cc){if(_4cd){}else{_4cc.parent=null;_4cc.parentMatrix=null;}this.children.splice(i,1);break;}}return this;},clear:function(){var _4ce;for(var i=0;i<this.children.length;++i){_4ce=this.children[i];_4ce.parent=null;_4ce.parentMatrix=null;}this.children=[];return this;},_moveChildToFront:function(_4cf){for(var i=0;i<this.children.length;++i){if(this.children[i]==_4cf){this.children.splice(i,1);this.children.push(_4cf);break;}}return this;},_moveChildToBack:function(_4d0){for(var i=0;i<this.children.length;++i){if(this.children[i]==_4d0){this.children.splice(i,1);this.children.unshift(_4d0);break;}}return this;}};_4af("dojox.gfx.shape.Surface",null,{constructor:function(){this.rawNode=null;this._parent=null;this._nodes=[];this._events=[];},destroy:function(){arr.forEach(this._nodes,_4b1.destroy);this._nodes=[];arr.forEach(this._events,_4b0.disconnect);this._events=[];this.rawNode=null;if(has("ie")){while(this._parent.lastChild){_4b1.destroy(this._parent.lastChild);}}else{this._parent.innerHTML="";}this._parent=null;},getEventSource:function(){return this.rawNode;},_getRealMatrix:function(){return null;},isLoaded:true,onLoad:function(_4d1){},whenLoaded:function(_4d2,_4d3){var f=lang.hitch(_4d2,_4d3);if(this.isLoaded){f(this);}else{var h=_4b0.connect(this,"onLoad",function(_4d4){_4b0.disconnect(h);f(_4d4);});}}});lang.extend(_4b4.Surface,_4b4._eventsProcessing);_4af("dojox.gfx.Point",null,{});_4af("dojox.gfx.Rectangle",null,{});_4af("dojox.gfx.shape.Rect",_4b4.Shape,{constructor:function(_4d5){this.shape=g.getDefault("Rect");this.rawNode=_4d5;},getBoundingBox:function(){return this.shape;}});_4af("dojox.gfx.shape.Ellipse",_4b4.Shape,{constructor:function(_4d6){this.shape=g.getDefault("Ellipse");this.rawNode=_4d6;},getBoundingBox:function(){if(!this.bbox){var _4d7=this.shape;this.bbox={x:_4d7.cx-_4d7.rx,y:_4d7.cy-_4d7.ry,width:2*_4d7.rx,height:2*_4d7.ry};}return this.bbox;}});_4af("dojox.gfx.shape.Circle",_4b4.Shape,{constructor:function(_4d8){this.shape=g.getDefault("Circle");this.rawNode=_4d8;},getBoundingBox:function(){if(!this.bbox){var _4d9=this.shape;this.bbox={x:_4d9.cx-_4d9.r,y:_4d9.cy-_4d9.r,width:2*_4d9.r,height:2*_4d9.r};}return this.bbox;}});_4af("dojox.gfx.shape.Line",_4b4.Shape,{constructor:function(_4da){this.shape=g.getDefault("Line");this.rawNode=_4da;},getBoundingBox:function(){if(!this.bbox){var _4db=this.shape;this.bbox={x:Math.min(_4db.x1,_4db.x2),y:Math.min(_4db.y1,_4db.y2),width:Math.abs(_4db.x2-_4db.x1),height:Math.abs(_4db.y2-_4db.y1)};}return this.bbox;}});_4af("dojox.gfx.shape.Polyline",_4b4.Shape,{constructor:function(_4dc){this.shape=g.getDefault("Polyline");this.rawNode=_4dc;},setShape:function(_4dd,_4de){if(_4dd&&_4dd instanceof Array){this.inherited(arguments,[{points:_4dd}]);if(_4de&&this.shape.points.length){this.shape.points.push(this.shape.points[0]);}}else{this.inherited(arguments,[_4dd]);}return this;},_normalizePoints:function(){var p=this.shape.points,l=p&&p.length;if(l&&typeof p[0]=="number"){var _4df=[];for(var i=0;i<l;i+=2){_4df.push({x:p[i],y:p[i+1]});}this.shape.points=_4df;}},getBoundingBox:function(){if(!this.bbox&&this.shape.points.length){var p=this.shape.points;var l=p.length;var t=p[0];var bbox={l:t.x,t:t.y,r:t.x,b:t.y};for(var i=1;i<l;++i){t=p[i];if(bbox.l>t.x){bbox.l=t.x;}if(bbox.r<t.x){bbox.r=t.x;}if(bbox.t>t.y){bbox.t=t.y;}if(bbox.b<t.y){bbox.b=t.y;}}this.bbox={x:bbox.l,y:bbox.t,width:bbox.r-bbox.l,height:bbox.b-bbox.t};}return this.bbox;}});_4af("dojox.gfx.shape.Image",_4b4.Shape,{constructor:function(_4e0){this.shape=g.getDefault("Image");this.rawNode=_4e0;},getBoundingBox:function(){return this.shape;},setStroke:function(){return this;},setFill:function(){return this;}});_4af("dojox.gfx.shape.Text",_4b4.Shape,{constructor:function(_4e1){this.fontStyle=null;this.shape=g.getDefault("Text");this.rawNode=_4e1;},getFont:function(){return this.fontStyle;},setFont:function(_4e2){this.fontStyle=typeof _4e2=="string"?g.splitFontString(_4e2):g.makeParameters(g.defaultFont,_4e2);this._setFont();return this;}});_4b4.Creator={createShape:function(_4e3){switch(_4e3.type){case g.defaultPath.type:return this.createPath(_4e3);case g.defaultRect.type:return this.createRect(_4e3);case g.defaultCircle.type:return this.createCircle(_4e3);case g.defaultEllipse.type:return this.createEllipse(_4e3);case g.defaultLine.type:return this.createLine(_4e3);case g.defaultPolyline.type:return this.createPolyline(_4e3);case g.defaultImage.type:return this.createImage(_4e3);case g.defaultText.type:return this.createText(_4e3);case g.defaultTextPath.type:return this.createTextPath(_4e3);}return null;},createGroup:function(){return this.createObject(g.Group);},createRect:function(rect){return this.createObject(g.Rect,rect);},createEllipse:function(_4e4){return this.createObject(g.Ellipse,_4e4);},createCircle:function(_4e5){return this.createObject(g.Circle,_4e5);},createLine:function(line){return this.createObject(g.Line,line);},createPolyline:function(_4e6){return this.createObject(g.Polyline,_4e6);},createImage:function(_4e7){return this.createObject(g.Image,_4e7);},createText:function(text){return this.createObject(g.Text,text);},createPath:function(path){return this.createObject(g.Path,path);},createTextPath:function(text){return this.createObject(g.TextPath,{}).setText(text);},createObject:function(_4e8,_4e9){return null;}};return _4b4;});},"dojox/charting/Chart2D":function(){define("dojox/charting/Chart2D",["dojo/_base/kernel","dojox","./Chart","./axis2d/Default","./axis2d/Invisible","./plot2d/Default","./plot2d/Lines","./plot2d/Areas","./plot2d/Markers","./plot2d/MarkersOnly","./plot2d/Scatter","./plot2d/Stacked","./plot2d/StackedLines","./plot2d/StackedAreas","./plot2d/Columns","./plot2d/StackedColumns","./plot2d/ClusteredColumns","./plot2d/Bars","./plot2d/StackedBars","./plot2d/ClusteredBars","./plot2d/Grid","./plot2d/Pie","./plot2d/Bubble","./plot2d/Candlesticks","./plot2d/OHLC","./plot2d/Spider"],function(dojo,_4ea,_4eb){dojo.deprecated("dojox.charting.Chart2D","Use dojo.charting.Chart instead and require all other components explicitly","2.0");return _4ea.charting.Chart2D=_4eb;});},"dojox/charting/scaler/linear":function(){define("dojox/charting/scaler/linear",["dojo/_base/lang","./common"],function(lang,_4ec){var _4ed=lang.getObject("dojox.charting.scaler.linear",true);var _4ee=3,_4ef=_4ec.findString,_4f0=_4ec.getNumericLabel;var _4f1=function(min,max,_4f2,_4f3,_4f4,_4f5,span){_4f2=lang.delegate(_4f2);if(!_4f3){if(_4f2.fixUpper=="major"){_4f2.fixUpper="minor";}if(_4f2.fixLower=="major"){_4f2.fixLower="minor";}}if(!_4f4){if(_4f2.fixUpper=="minor"){_4f2.fixUpper="micro";}if(_4f2.fixLower=="minor"){_4f2.fixLower="micro";}}if(!_4f5){if(_4f2.fixUpper=="micro"){_4f2.fixUpper="none";}if(_4f2.fixLower=="micro"){_4f2.fixLower="none";}}var _4f6=_4ef(_4f2.fixLower,["major"])?Math.floor(_4f2.min/_4f3)*_4f3:_4ef(_4f2.fixLower,["minor"])?Math.floor(_4f2.min/_4f4)*_4f4:_4ef(_4f2.fixLower,["micro"])?Math.floor(_4f2.min/_4f5)*_4f5:_4f2.min,_4f7=_4ef(_4f2.fixUpper,["major"])?Math.ceil(_4f2.max/_4f3)*_4f3:_4ef(_4f2.fixUpper,["minor"])?Math.ceil(_4f2.max/_4f4)*_4f4:_4ef(_4f2.fixUpper,["micro"])?Math.ceil(_4f2.max/_4f5)*_4f5:_4f2.max;if(_4f2.useMin){min=_4f6;}if(_4f2.useMax){max=_4f7;}var _4f8=(!_4f3||_4f2.useMin&&_4ef(_4f2.fixLower,["major"]))?min:Math.ceil(min/_4f3)*_4f3,_4f9=(!_4f4||_4f2.useMin&&_4ef(_4f2.fixLower,["major","minor"]))?min:Math.ceil(min/_4f4)*_4f4,_4fa=(!_4f5||_4f2.useMin&&_4ef(_4f2.fixLower,["major","minor","micro"]))?min:Math.ceil(min/_4f5)*_4f5,_4fb=!_4f3?0:(_4f2.useMax&&_4ef(_4f2.fixUpper,["major"])?Math.round((max-_4f8)/_4f3):Math.floor((max-_4f8)/_4f3))+1,_4fc=!_4f4?0:(_4f2.useMax&&_4ef(_4f2.fixUpper,["major","minor"])?Math.round((max-_4f9)/_4f4):Math.floor((max-_4f9)/_4f4))+1,_4fd=!_4f5?0:(_4f2.useMax&&_4ef(_4f2.fixUpper,["major","minor","micro"])?Math.round((max-_4fa)/_4f5):Math.floor((max-_4fa)/_4f5))+1,_4fe=_4f4?Math.round(_4f3/_4f4):0,_4ff=_4f5?Math.round(_4f4/_4f5):0,_500=_4f3?Math.floor(Math.log(_4f3)/Math.LN10):0,_501=_4f4?Math.floor(Math.log(_4f4)/Math.LN10):0,_502=span/(max-min);if(!isFinite(_502)){_502=1;}return {bounds:{lower:_4f6,upper:_4f7,from:min,to:max,scale:_502,span:span},major:{tick:_4f3,start:_4f8,count:_4fb,prec:_500},minor:{tick:_4f4,start:_4f9,count:_4fc,prec:_501},micro:{tick:_4f5,start:_4fa,count:_4fd,prec:0},minorPerMajor:_4fe,microPerMinor:_4ff,scaler:_4ed};};return lang.mixin(_4ed,{buildScaler:function(min,max,span,_503){var h={fixUpper:"none",fixLower:"none",natural:false};if(_503){if("fixUpper" in _503){h.fixUpper=String(_503.fixUpper);}if("fixLower" in _503){h.fixLower=String(_503.fixLower);}if("natural" in _503){h.natural=Boolean(_503.natural);}}if("min" in _503){min=_503.min;}if("max" in _503){max=_503.max;}if(_503.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 _503){min=_503.from;h.useMin=false;}if("to" in _503){max=_503.to;h.useMax=false;}if(max<=min){return _4f1(min,max,h,0,0,0,span);}var mag=Math.floor(Math.log(max-min)/Math.LN10),_504=_503&&("majorTickStep" in _503)?_503.majorTickStep:Math.pow(10,mag),_505=0,_506=0,_507;if(_503&&("minorTickStep" in _503)){_505=_503.minorTickStep;}else{do{_505=_504/10;if(!h.natural||_505>0.9){_507=_4f1(min,max,h,_504,_505,0,span);if(_507.bounds.scale*_507.minor.tick>_4ee){break;}}_505=_504/5;if(!h.natural||_505>0.9){_507=_4f1(min,max,h,_504,_505,0,span);if(_507.bounds.scale*_507.minor.tick>_4ee){break;}}_505=_504/2;if(!h.natural||_505>0.9){_507=_4f1(min,max,h,_504,_505,0,span);if(_507.bounds.scale*_507.minor.tick>_4ee){break;}}return _4f1(min,max,h,_504,0,0,span);}while(false);}if(_503&&("microTickStep" in _503)){_506=_503.microTickStep;_507=_4f1(min,max,h,_504,_505,_506,span);}else{do{_506=_505/10;if(!h.natural||_506>0.9){_507=_4f1(min,max,h,_504,_505,_506,span);if(_507.bounds.scale*_507.micro.tick>_4ee){break;}}_506=_505/5;if(!h.natural||_506>0.9){_507=_4f1(min,max,h,_504,_505,_506,span);if(_507.bounds.scale*_507.micro.tick>_4ee){break;}}_506=_505/2;if(!h.natural||_506>0.9){_507=_4f1(min,max,h,_504,_505,_506,span);if(_507.bounds.scale*_507.micro.tick>_4ee){break;}}_506=0;}while(false);}return _506?_507:_4f1(min,max,h,_504,_505,0,span);},buildTicks:function(_508,_509){var step,next,tick,_50a=_508.major.start,_50b=_508.minor.start,_50c=_508.micro.start;if(_509.microTicks&&_508.micro.tick){step=_508.micro.tick,next=_50c;}else{if(_509.minorTicks&&_508.minor.tick){step=_508.minor.tick,next=_50b;}else{if(_508.major.tick){step=_508.major.tick,next=_50a;}else{return null;}}}var _50d=1/_508.bounds.scale;if(_508.bounds.to<=_508.bounds.from||isNaN(_50d)||!isFinite(_50d)||step<=0||isNaN(step)||!isFinite(step)){return null;}var _50e=[],_50f=[],_510=[];while(next<=_508.bounds.to+_50d){if(Math.abs(_50a-next)<step/2){tick={value:_50a};if(_509.majorLabels){tick.label=_4f0(_50a,_508.major.prec,_509);}_50e.push(tick);_50a+=_508.major.tick;_50b+=_508.minor.tick;_50c+=_508.micro.tick;}else{if(Math.abs(_50b-next)<step/2){if(_509.minorTicks){tick={value:_50b};if(_509.minorLabels&&(_508.minMinorStep<=_508.minor.tick*_508.bounds.scale)){tick.label=_4f0(_50b,_508.minor.prec,_509);}_50f.push(tick);}_50b+=_508.minor.tick;_50c+=_508.micro.tick;}else{if(_509.microTicks){_510.push({value:_50c});}_50c+=_508.micro.tick;}}next+=step;}return {major:_50e,minor:_50f,micro:_510};},getTransformerFromModel:function(_511){var _512=_511.bounds.from,_513=_511.bounds.scale;return function(x){return (x-_512)*_513;};},getTransformerFromPlot:function(_514){var _515=_514.bounds.from,_516=_514.bounds.scale;return function(x){return x/_516+_515;};}});});},"dojox/gfx/renderer":function(){define("dojox/gfx/renderer",["./_base","dojo/_base/lang","dojo/_base/sniff","dojo/_base/window","dojo/_base/config"],function(g,lang,has,win,_517){var _518=null;return {load:function(id,_519,load){if(_518&&id!="force"){load(_518);return;}var _51a=_517.forceGfxRenderer,_51b=!_51a&&(lang.isString(_517.gfxRenderer)?_517.gfxRenderer:"svg,vml,canvas,silverlight").split(","),_51c,_51d;while(!_51a&&_51b.length){switch(_51b.shift()){case "svg":if("SVGAngle" in win.global){_51a="svg";}break;case "vml":if(has("ie")){_51a="vml";}break;case "silverlight":try{if(has("ie")){_51c=new ActiveXObject("AgControl.AgControl");if(_51c&&_51c.IsVersionSupported("1.0")){_51d=true;}}else{if(navigator.plugins["Silverlight Plug-In"]){_51d=true;}}}catch(e){_51d=false;}finally{_51c=null;}if(_51d){_51a="silverlight";}break;case "canvas":if(win.global.CanvasRenderingContext2D){_51a="canvas";}break;}}if(_51a==="canvas"&&_517.canvasEvents!==false){_51a="canvasWithEvents";}if(_517.isDebug){}function _51e(){_519(["dojox/gfx/"+_51a],function(_51f){g.renderer=_51a;_518=_51f;load(_51f);});};if(_51a=="svg"&&typeof window.svgweb!="undefined"){window.svgweb.addOnLoad(_51e);}else{_51e();}}};});},"dojox/charting/widget/Chart":function(){define("dojox/charting/widget/Chart",["dojo/_base/kernel","dojo/_base/lang","dojo/_base/array","dojo/_base/html","dojo/_base/declare","dojo/query","dijit/_Widget","../Chart","dojox/lang/utils","dojox/lang/functional","dojox/lang/functional/lambda","dijit/_base/manager"],function(_520,lang,arr,html,_521,_522,_523,_524,du,df,dfl){var _525,_526,_527,_528,_529,_52a=function(o){return o;},dc=lang.getObject("dojox.charting");var _52b=_521("dojox.charting.widget.Chart",_523,{theme:null,margins:null,stroke:undefined,fill:undefined,buildRendering:function(){this.inherited(arguments);n=this.domNode;var axes=_522("> .axis",n).map(_526).filter(_52a),_52c=_522("> .plot",n).map(_527).filter(_52a),_52d=_522("> .action",n).map(_528).filter(_52a),_52e=_522("> .series",n).map(_529).filter(_52a);n.innerHTML="";var c=this.chart=new _524(n,{margins:this.margins,stroke:this.stroke,fill:this.fill,textDir:this.textDir});if(this.theme){c.setTheme(this.theme);}axes.forEach(function(axis){c.addAxis(axis.name,axis.kwArgs);});_52c.forEach(function(plot){c.addPlot(plot.name,plot.kwArgs);});this.actions=_52d.map(function(_52f){return new _52f.action(c,_52f.plot,_52f.kwArgs);});var _530=df.foldl(_52e,function(_531,_532){if(_532.type=="data"){c.addSeries(_532.name,_532.data,_532.kwArgs);_531=true;}else{c.addSeries(_532.name,[0],_532.kwArgs);var kw={};du.updateWithPattern(kw,_532.kwArgs,{"query":"","queryOptions":null,"start":0,"count":1},true);if(_532.kwArgs.sort){kw.sort=lang.clone(_532.kwArgs.sort);}lang.mixin(kw,{onComplete:function(data){var _533;if("valueFn" in _532.kwArgs){var fn=_532.kwArgs.valueFn;_533=arr.map(data,function(x){return fn(_532.data.getValue(x,_532.field,0));});}else{_533=arr.map(data,function(x){return _532.data.getValue(x,_532.field,0);});}c.addSeries(_532.name,_533,_532.kwArgs).render();}});_532.data.fetch(kw);}return _531;},false);if(_530){c.render();}},destroy:function(){this.chart.destroy();this.inherited(arguments);},resize:function(box){this.chart.resize(box);}});_525=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);}}};_526=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=dojo._scopeName+"x.charting.axis2d."+type;}var axis=eval("("+type+")");if(axis){kw.type=axis;}}else{type=dojo._scopeName+"x.charting.axis2d.Default";}_525(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;};_527=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=dojo._scopeName+"x.charting.plot2d."+type;}var plot=eval("("+type+")");if(plot){kw.type=plot;}}else{type=dojo._scopeName+"x.charting.plot2d.Default";}_525(node,type,kw);return o;};_528=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=dojo._scopeName+"x.charting.action2d."+type;}var _534=eval("("+type+")");if(!_534){return null;}o.action=_534;}else{return null;}_525(node,type,kw);return o;};_529=function(node){var ga=lang.partial(html.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?arr.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=dfl.lambda(t);}return o;}return null;};return _52b;});},"dojox/lang/functional":function(){define("dojox/lang/functional",["./functional/lambda","./functional/array","./functional/object"],function(df){return df;});},"dojox/charting/scaler/common":function(){define("dojox/charting/scaler/common",["dojo/_base/lang"],function(lang){var eq=function(a,b){return Math.abs(a-b)<=0.000001*(Math.abs(a)+Math.abs(b));};var _535=lang.getObject("dojox.charting.scaler.common",true);var _536={};return lang.mixin(_535,{doIfLoaded:function(_537,_538,_539){if(_536[_537]==undefined){try{_536[_537]=require(_537);}catch(e){_536[_537]=null;}}if(_536[_537]){return _538(_536[_537]);}else{return _539();}},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(_53a,_53b,_53c){var def="";_535.doIfLoaded("dojo/number",function(_53d){def=(_53c.fixed?_53d.format(_53a,{places:_53b<0?-_53b:0}):_53d.format(_53a))||"";},function(){def=_53c.fixed?_53a.toFixed(_53b<0?-_53b:0):_53a.toString();});if(_53c.labelFunc){var r=_53c.labelFunc(def,_53a,_53b);if(r){return r;}}if(_53c.labels){var l=_53c.labels,lo=0,hi=l.length;while(lo<hi){var mid=Math.floor((lo+hi)/2),val=l[mid].value;if(val<_53a){lo=mid+1;}else{hi=mid;}}if(lo<l.length&&eq(l[lo].value,_53a)){return l[lo].text;}--lo;if(lo>=0&&lo<l.length&&eq(l[lo].value,_53a)){return l[lo].text;}lo+=2;if(lo<l.length&&eq(l[lo].value,_53a)){return l[lo].text;}}return def;}});});},"dojox/charting/axis2d/common":function(){define("dojox/charting/axis2d/common",["dojo/_base/lang","dojo/_base/html","dojo/_base/window","dojo/dom-geometry","dojox/gfx"],function(lang,html,win,_53e,g){var _53f=lang.getObject("dojox.charting.axis2d.common",true);var _540=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 _541=function(n){if(n["getBoundingClientRect"]){var bcr=n.getBoundingClientRect();return bcr.width||(bcr.right-bcr.left);}else{return _53e.getMarginBox(n).w;}};return lang.mixin(_53f,{createText:{gfx:function(_542,_543,x,y,_544,text,font,_545){return _543.createText({x:x,y:y,text:text,align:_544}).setFont(font).setFill(_545);},html:function(_546,_547,x,y,_548,text,font,_549,_54a){var p=win.doc.createElement("div"),s=p.style,_54b;if(_546.getTextDir){p.dir=_546.getTextDir(text);}_540(s);s.font=font;p.innerHTML=String(text).replace(/\s/g,"&nbsp;");s.color=_549;s.position="absolute";s.left="-10000px";win.body().appendChild(p);var size=g.normalizedLength(g.splitFontString(font).size);if(!_54a){_54b=_541(p);}if(p.dir=="rtl"){x+=_54a?_54a:_54b;}win.body().removeChild(p);s.position="relative";if(_54a){s.width=_54a+"px";switch(_548){case "middle":s.textAlign="center";s.left=(x-_54a/2)+"px";break;case "end":s.textAlign="right";s.left=(x-_54a)+"px";break;default:s.left=x+"px";s.textAlign="left";break;}}else{switch(_548){case "middle":s.left=Math.floor(x-_54b/2)+"px";break;case "end":s.left=Math.floor(x-_54b)+"px";break;default:s.left=Math.floor(x)+"px";break;}}s.top=Math.floor(y-size)+"px";s.whiteSpace="nowrap";var wrap=win.doc.createElement("div"),w=wrap.style;_540(w);w.width="0px";w.height="0px";wrap.appendChild(p);_546.node.insertBefore(wrap,_546.node.firstChild);return wrap;}}});});},"dijit/_TemplatedMixin":function(){define("dijit/_TemplatedMixin",["dojo/_base/lang","dojo/touch","./_WidgetBase","dojo/string","dojo/cache","dojo/_base/array","dojo/_base/declare","dojo/dom-construct","dojo/_base/sniff","dojo/_base/unload","dojo/_base/window"],function(lang,_54c,_54d,_54e,_54f,_550,_551,_552,has,_553,win){var _554=_551("dijit._TemplatedMixin",null,{templateString:null,templatePath:null,_skipNodeCache:false,_earlyTemplatedStartup:false,constructor:function(){this._attachPoints=[];this._attachEvents=[];},_stringRepl:function(tmpl){var _555=this.declaredClass,_556=this;return _54e.substitute(tmpl,this,function(_557,key){if(key.charAt(0)=="!"){_557=lang.getObject(key.substr(1),false,_556);}if(typeof _557=="undefined"){throw new Error(_555+" template:"+key);}if(_557==null){return "";}return key.charAt(0)=="!"?_557:_557.toString().replace(/"/g,"&quot;");},this);},buildRendering:function(){if(!this.templateString){this.templateString=_54f(this.templatePath,{sanitize:true});}var _558=_554.getCachedTemplate(this.templateString,this._skipNodeCache);var node;if(lang.isString(_558)){node=_552.toDom(this._stringRepl(_558));if(node.nodeType!=1){throw new Error("Invalid template: "+_558);}}else{node=_558.cloneNode(true);}this.domNode=node;this.inherited(arguments);this._attachTemplateNodes(node,function(n,p){return n.getAttribute(p);});this._beforeFillContent();this._fillContent(this.srcNodeRef);},_beforeFillContent:function(){},_fillContent:function(_559){var dest=this.containerNode;if(_559&&dest){while(_559.hasChildNodes()){dest.appendChild(_559.firstChild);}}},_attachTemplateNodes:function(_55a,_55b){var _55c=lang.isArray(_55a)?_55a:(_55a.all||_55a.getElementsByTagName("*"));var x=lang.isArray(_55a)?0:-1;for(;x<_55c.length;x++){var _55d=(x==-1)?_55a:_55c[x];if(this.widgetsInTemplate&&(_55b(_55d,"dojoType")||_55b(_55d,"data-dojo-type"))){continue;}var _55e=_55b(_55d,"dojoAttachPoint")||_55b(_55d,"data-dojo-attach-point");if(_55e){var _55f,_560=_55e.split(/\s*,\s*/);while((_55f=_560.shift())){if(lang.isArray(this[_55f])){this[_55f].push(_55d);}else{this[_55f]=_55d;}this._attachPoints.push(_55f);}}var _561=_55b(_55d,"dojoAttachEvent")||_55b(_55d,"data-dojo-attach-event");if(_561){var _562,_563=_561.split(/\s*,\s*/);var trim=lang.trim;while((_562=_563.shift())){if(_562){var _564=null;if(_562.indexOf(":")!=-1){var _565=_562.split(":");_562=trim(_565[0]);_564=trim(_565[1]);}else{_562=trim(_562);}if(!_564){_564=_562;}this._attachEvents.push(this.connect(_55d,_54c[_562]||_562,_564));}}}}},destroyRendering:function(){_550.forEach(this._attachPoints,function(_566){delete this[_566];},this);this._attachPoints=[];_550.forEach(this._attachEvents,this.disconnect,this);this._attachEvents=[];this.inherited(arguments);}});_554._templateCache={};_554.getCachedTemplate=function(_567,_568){var _569=_554._templateCache;var key=_567;var _56a=_569[key];if(_56a){try{if(!_56a.ownerDocument||_56a.ownerDocument==win.doc){return _56a;}}catch(e){}_552.destroy(_56a);}_567=_54e.trim(_567);if(_568||_567.match(/\$\{([^\}]+)\}/g)){return (_569[key]=_567);}else{var node=_552.toDom(_567);if(node.nodeType!=1){throw new Error("Invalid template: "+_567);}return (_569[key]=node);}};if(has("ie")){_553.addOnWindowUnload(function(){var _56b=_554._templateCache;for(var key in _56b){var _56c=_56b[key];if(typeof _56c=="object"){_552.destroy(_56c);}delete _56b[key];}});}lang.extend(_54d,{dojoAttachEvent:"",dojoAttachPoint:""});return _554;});},"dojox/lang/functional/object":function(){define(["dojo/_base/kernel","dojo/_base/lang","dojo/_base/window","./lambda"],function(dojo,lang,win,df){var _56d={};lang.mixin(df,{keys:function(obj){var t=[];for(var i in obj){if(!(i in _56d)){t.push(i);}}return t;},values:function(obj){var t=[];for(var i in obj){if(!(i in _56d)){t.push(obj[i]);}}return t;},filterIn:function(obj,f,o){o=o||win.global;f=df.lambda(f);var t={},v,i;for(i in obj){if(!(i in _56d)){v=obj[i];if(f.call(o,v,i,obj)){t[i]=v;}}}return t;},forIn:function(obj,f,o){o=o||win.global;f=df.lambda(f);for(var i in obj){if(!(i in _56d)){f.call(o,obj[i],i,obj);}}return o;},mapIn:function(obj,f,o){o=o||win.global;f=df.lambda(f);var t={},i;for(i in obj){if(!(i in _56d)){t[i]=f.call(o,obj[i],i,obj);}}return t;}});return df;});},"dojo/window":function(){define(["./_base/lang","./_base/sniff","./_base/window","./dom","./dom-geometry","./dom-style"],function(lang,has,_56e,dom,geom,_56f){var _570=lang.getObject("dojo.window",true);_570.getBox=function(){var _571=(_56e.doc.compatMode=="BackCompat")?_56e.body():_56e.doc.documentElement,_572=geom.docScroll(),w,h;if(has("touch")){var _573=_56e.doc.parentWindow||_56e.doc.defaultView;w=_573.innerWidth||_571.clientWidth;h=_573.innerHeight||_571.clientHeight;}else{w=_571.clientWidth;h=_571.clientHeight;}return {l:_572.x,t:_572.y,w:w,h:h};};_570.get=function(doc){if(has("ie")&&_570!==document.parentWindow){doc.parentWindow.execScript("document._parentWindow = window;","Javascript");var win=doc._parentWindow;doc._parentWindow=null;return win;}return doc.parentWindow||doc.defaultView;};_570.scrollIntoView=function(node,pos){try{node=dom.byId(node);var doc=node.ownerDocument||_56e.doc,body=doc.body||_56e.body(),html=doc.documentElement||body.parentNode,isIE=has("ie"),isWK=has("webkit");if((!(has("mozilla")||isIE||isWK||has("opera"))||node==body||node==html)&&(typeof node.scrollIntoView!="undefined")){node.scrollIntoView(false);return;}var _574=doc.compatMode=="BackCompat",_575=(isIE>=9&&node.ownerDocument.parentWindow.frameElement)?((html.clientHeight>0&&html.clientWidth>0&&(body.clientHeight==0||body.clientWidth==0||body.clientHeight>html.clientHeight||body.clientWidth>html.clientWidth))?html:body):(_574?body:html),_576=isWK?body:_575,_577=_575.clientWidth,_578=_575.clientHeight,rtl=!geom.isBodyLtr(),_579=pos||geom.position(node),el=node.parentNode,_57a=function(el){return ((isIE<=6||(isIE&&_574))?false:(_56f.get(el,"position").toLowerCase()=="fixed"));};if(_57a(node)){return;}while(el){if(el==body){el=_576;}var _57b=geom.position(el),_57c=_57a(el);if(el==_576){_57b.w=_577;_57b.h=_578;if(_576==html&&isIE&&rtl){_57b.x+=_576.offsetWidth-_57b.w;}if(_57b.x<0||!isIE){_57b.x=0;}if(_57b.y<0||!isIE){_57b.y=0;}}else{var pb=geom.getPadBorderExtents(el);_57b.w-=pb.w;_57b.h-=pb.h;_57b.x+=pb.l;_57b.y+=pb.t;var _57d=el.clientWidth,_57e=_57b.w-_57d;if(_57d>0&&_57e>0){_57b.w=_57d;_57b.x+=(rtl&&(isIE||el.clientLeft>pb.l))?_57e:0;}_57d=el.clientHeight;_57e=_57b.h-_57d;if(_57d>0&&_57e>0){_57b.h=_57d;}}if(_57c){if(_57b.y<0){_57b.h+=_57b.y;_57b.y=0;}if(_57b.x<0){_57b.w+=_57b.x;_57b.x=0;}if(_57b.y+_57b.h>_578){_57b.h=_578-_57b.y;}if(_57b.x+_57b.w>_577){_57b.w=_577-_57b.x;}}var l=_579.x-_57b.x,t=_579.y-Math.max(_57b.y,0),r=l+_579.w-_57b.w,bot=t+_579.h-_57b.h;if(r*l>0){var s=Math[l<0?"max":"min"](l,r);if(rtl&&((isIE==8&&!_574)||isIE>=9)){s=-s;}_579.x+=el.scrollLeft;el.scrollLeft+=s;_579.x-=el.scrollLeft;}if(bot*t>0){_579.y+=el.scrollTop;el.scrollTop+=Math[t<0?"max":"min"](t,bot);_579.y-=el.scrollTop;}el=(el!=_576)&&!_57c&&el.parentNode;}}catch(error){console.error("scrollIntoView: "+error);node.scrollIntoView(false);}};return _570;});},"dojox/charting/axis2d/Default":function(){define("dojox/charting/axis2d/Default",["dojo/_base/lang","dojo/_base/array","dojo/_base/sniff","dojo/_base/declare","dojo/_base/connect","dojo/_base/html","dojo/dom-geometry","./Invisible","../scaler/common","../scaler/linear","./common","dojox/gfx","dojox/lang/utils"],function(lang,arr,has,_57f,_580,html,_581,_582,_583,lin,_584,g,du){var _585=4,_586=45;return _57f("dojox.charting.axis2d.Default",_582,{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,enableCache:false},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(_587,_588){this.opt=lang.clone(this.defaultParams);du.updateWithObject(this.opt,_588);du.updateWithPattern(this.opt,_588,this.optionalParams);if(this.opt.enableCache){this._textFreePool=[];this._lineFreePool=[];this._textUsePool=[];this._lineUsePool=[];}},getOffsets:function(){var s=this.scaler,_589={l:0,r:0,t:0,b:0};if(!s){return _589;}var o=this.opt,_58a=0,a,b,c,d,gl=_583.getNumericLabel,_58b=0,ma=s.major,mi=s.minor,ta=this.chart.theme.axis,_58c=o.font||(ta.majorTick&&ta.majorTick.font)||(ta.tick&&ta.tick.font),_58d=o.titleFont||(ta.tick&&ta.tick.titleFont),_58e=(o.titleGap==0)?0:o.titleGap||(ta.tick&&ta.tick.titleGap)||15,_58f=this.chart.theme.getTick("major",o),_590=this.chart.theme.getTick("minor",o),size=_58c?g.normalizedLength(g.splitFontString(_58c).size):0,_591=_58d?g.normalizedLength(g.splitFontString(_58d).size):0,_592=o.rotation%360,_593=o.leftBottom,cosr=Math.abs(Math.cos(_592*Math.PI/180)),sinr=Math.abs(Math.sin(_592*Math.PI/180));this.trailingSymbol=(o.trailingSymbol===undefined||o.trailingSymbol===null)?this.trailingSymbol:o.trailingSymbol;if(_592<0){_592+=360;}if(size){if(this.labels){_58a=this._groupLabelWidth(this.labels,_58c,o.maxLabelCharCount);}else{_58a=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)],_58c,o.maxLabelCharCount);}_58a=o.maxLabelSize?Math.min(o.maxLabelSize,_58a):_58a;if(this.vertical){var side=_593?"l":"r";switch(_592){case 0:case 180:_589[side]=_58a;_589.t=_589.b=size/2;break;case 90:case 270:_589[side]=size;_589.t=_589.b=_58a/2;break;default:if(_592<=_586||(180<_592&&_592<=(180+_586))){_589[side]=size*sinr/2+_58a*cosr;_589[_593?"t":"b"]=size*cosr/2+_58a*sinr;_589[_593?"b":"t"]=size*cosr/2;}else{if(_592>(360-_586)||(180>_592&&_592>(180-_586))){_589[side]=size*sinr/2+_58a*cosr;_589[_593?"b":"t"]=size*cosr/2+_58a*sinr;_589[_593?"t":"b"]=size*cosr/2;}else{if(_592<90||(180<_592&&_592<270)){_589[side]=size*sinr+_58a*cosr;_589[_593?"t":"b"]=size*cosr+_58a*sinr;}else{_589[side]=size*sinr+_58a*cosr;_589[_593?"b":"t"]=size*cosr+_58a*sinr;}}}break;}_589[side]+=_585+Math.max(_58f.length,_590.length)+(o.title?(_591+_58e):0);}else{var side=_593?"b":"t";switch(_592){case 0:case 180:_589[side]=size;_589.l=_589.r=_58a/2;break;case 90:case 270:_589[side]=_58a;_589.l=_589.r=size/2;break;default:if((90-_586)<=_592&&_592<=90||(270-_586)<=_592&&_592<=270){_589[side]=size*sinr/2+_58a*cosr;_589[_593?"r":"l"]=size*cosr/2+_58a*sinr;_589[_593?"l":"r"]=size*cosr/2;}else{if(90<=_592&&_592<=(90+_586)||270<=_592&&_592<=(270+_586)){_589[side]=size*sinr/2+_58a*cosr;_589[_593?"l":"r"]=size*cosr/2+_58a*sinr;_589[_593?"r":"l"]=size*cosr/2;}else{if(_592<_586||(180<_592&&_592<(180-_586))){_589[side]=size*sinr+_58a*cosr;_589[_593?"r":"l"]=size*cosr+_58a*sinr;}else{_589[side]=size*sinr+_58a*cosr;_589[_593?"l":"r"]=size*cosr+_58a*sinr;}}}break;}_589[side]+=_585+Math.max(_58f.length,_590.length)+(o.title?(_591+_58e):0);}}if(_58a){this._cachedLabelWidth=_58a;}return _589;},cleanGroup:function(_594){if(this.opt.enableCache&&this.group){this._lineFreePool=this._lineFreePool.concat(this._lineUsePool);this._lineUsePool=[];this._textFreePool=this._textFreePool.concat(this._textUsePool);this._textUsePool=[];}this.inherited(arguments);},createText:function(_595,_596,x,y,_597,_598,font,_599,_59a){if(!this.opt.enableCache||_595=="html"){return _584.createText[_595](this.chart,_596,x,y,_597,_598,font,_599,_59a);}var text;if(this._textFreePool.length>0){text=this._textFreePool.pop();text.setShape({x:x,y:y,text:_598,align:_597});_596.add(text);}else{text=_584.createText[_595](this.chart,_596,x,y,_597,_598,font,_599,_59a);}this._textUsePool.push(text);return text;},createLine:function(_59b,_59c){var line;if(this.opt.enableCache&&this._lineFreePool.length>0){line=this._lineFreePool.pop();line.setShape(_59c);_59b.add(line);}else{line=_59b.createLine(_59c);}if(this.opt.enableCache){this._lineUsePool.push(line);}return line;},render:function(dim,_59d){if(!this.dirty){return this;}var o=this.opt,ta=this.chart.theme.axis,_59e=o.leftBottom,_59f=o.rotation%360,_5a0,stop,_5a1,_5a2=0,_5a3,_5a4,_5a5,_5a6,_5a7,_5a8,_5a9=o.font||(ta.majorTick&&ta.majorTick.font)||(ta.tick&&ta.tick.font),_5aa=o.titleFont||(ta.tick&&ta.tick.titleFont),_5ab=o.fontColor||(ta.majorTick&&ta.majorTick.fontColor)||(ta.tick&&ta.tick.fontColor)||"black",_5ac=o.titleFontColor||(ta.tick&&ta.tick.titleFontColor)||"black",_5ad=(o.titleGap==0)?0:o.titleGap||(ta.tick&&ta.tick.titleGap)||15,_5ae=o.titleOrientation||(ta.tick&&ta.tick.titleOrientation)||"axis",_5af=this.chart.theme.getTick("major",o),_5b0=this.chart.theme.getTick("minor",o),_5b1=this.chart.theme.getTick("micro",o),_5b2=Math.max(_5af.length,_5b0.length,_5b1.length),_5b3="stroke" in o?o.stroke:ta.stroke,size=_5a9?g.normalizedLength(g.splitFontString(_5a9).size):0,cosr=Math.abs(Math.cos(_59f*Math.PI/180)),sinr=Math.abs(Math.sin(_59f*Math.PI/180)),_5b4=_5aa?g.normalizedLength(g.splitFontString(_5aa).size):0;if(_59f<0){_59f+=360;}if(this.vertical){_5a0={y:dim.height-_59d.b};stop={y:_59d.t};_5a1={y:(dim.height-_59d.b+_59d.t)/2};_5a3=size*sinr+(this._cachedLabelWidth||0)*cosr+_585+Math.max(_5af.length,_5b0.length)+_5b4+_5ad;_5a4={x:0,y:-1};_5a7={x:0,y:0};_5a5={x:1,y:0};_5a6={x:_585,y:0};switch(_59f){case 0:_5a8="end";_5a7.y=size*0.4;break;case 90:_5a8="middle";_5a7.x=-size;break;case 180:_5a8="start";_5a7.y=-size*0.4;break;case 270:_5a8="middle";break;default:if(_59f<_586){_5a8="end";_5a7.y=size*0.4;}else{if(_59f<90){_5a8="end";_5a7.y=size*0.4;}else{if(_59f<(180-_586)){_5a8="start";}else{if(_59f<(180+_586)){_5a8="start";_5a7.y=-size*0.4;}else{if(_59f<270){_5a8="start";_5a7.x=_59e?0:size*0.4;}else{if(_59f<(360-_586)){_5a8="end";_5a7.x=_59e?0:size*0.4;}else{_5a8="end";_5a7.y=size*0.4;}}}}}}}if(_59e){_5a0.x=stop.x=_59d.l;_5a2=(_5ae&&_5ae=="away")?90:270;_5a1.x=_59d.l-_5a3+(_5a2==270?_5b4:0);_5a5.x=-1;_5a6.x=-_5a6.x;}else{_5a0.x=stop.x=dim.width-_59d.r;_5a2=(_5ae&&_5ae=="axis")?90:270;_5a1.x=dim.width-_59d.r+_5a3-(_5a2==270?0:_5b4);switch(_5a8){case "start":_5a8="end";break;case "end":_5a8="start";break;case "middle":_5a7.x+=size;break;}}}else{_5a0={x:_59d.l};stop={x:dim.width-_59d.r};_5a1={x:(dim.width-_59d.r+_59d.l)/2};_5a3=size*cosr+(this._cachedLabelWidth||0)*sinr+_585+Math.max(_5af.length,_5b0.length)+_5b4+_5ad;_5a4={x:1,y:0};_5a7={x:0,y:0};_5a5={x:0,y:1};_5a6={x:0,y:_585};switch(_59f){case 0:_5a8="middle";_5a7.y=size;break;case 90:_5a8="start";_5a7.x=-size*0.4;break;case 180:_5a8="middle";break;case 270:_5a8="end";_5a7.x=size*0.4;break;default:if(_59f<(90-_586)){_5a8="start";_5a7.y=_59e?size:0;}else{if(_59f<(90+_586)){_5a8="start";_5a7.x=-size*0.4;}else{if(_59f<180){_5a8="start";_5a7.y=_59e?0:-size;}else{if(_59f<(270-_586)){_5a8="end";_5a7.y=_59e?0:-size;}else{if(_59f<(270+_586)){_5a8="end";_5a7.y=_59e?size*0.4:0;}else{_5a8="end";_5a7.y=_59e?size:0;}}}}}}if(_59e){_5a0.y=stop.y=dim.height-_59d.b;_5a2=(_5ae&&_5ae=="axis")?180:0;_5a1.y=dim.height-_59d.b+_5a3-(_5a2?_5b4:0);}else{_5a0.y=stop.y=_59d.t;_5a2=(_5ae&&_5ae=="away")?180:0;_5a1.y=_59d.t-_5a3+(_5a2?0:_5b4);_5a5.y=-1;_5a6.y=-_5a6.y;switch(_5a8){case "start":_5a8="end";break;case "end":_5a8="start";break;case "middle":_5a7.y-=size;break;}}}this.cleanGroup();try{var s=this.group,c=this.scaler,t=this.ticks,_5b5,f=lin.getTransformerFromModel(this.scaler),_5b6=(!o.title||!_5a2)&&!_59f&&this.opt.htmlLabels&&!has("ie")&&!has("opera")?"html":"gfx",dx=_5a5.x*_5af.length,dy=_5a5.y*_5af.length;s.createLine({x1:_5a0.x,y1:_5a0.y,x2:stop.x,y2:stop.y}).setStroke(_5b3);if(o.title){var _5b7=_584.createText[_5b6](this.chart,s,_5a1.x,_5a1.y,"middle",o.title,_5aa,_5ac);if(_5b6=="html"){this.htmlElements.push(_5b7);}else{_5b7.setTransform(g.matrix.rotategAt(_5a2,_5a1.x,_5a1.y));}}if(t==null){this.dirty=false;return this;}arr.forEach(t.major,function(tick){var _5b8=f(tick.value),elem,x=_5a0.x+_5a4.x*_5b8,y=_5a0.y+_5a4.y*_5b8;this.createLine(s,{x1:x,y1:y,x2:x+dx,y2:y+dy}).setStroke(_5af);if(tick.label){var _5b9=o.maxLabelCharCount?this.getTextWithLimitCharCount(tick.label,_5a9,o.maxLabelCharCount):{text:tick.label,truncated:false};_5b9=o.maxLabelSize?this.getTextWithLimitLength(_5b9.text,_5a9,o.maxLabelSize,_5b9.truncated):_5b9;elem=this.createText(_5b6,s,x+dx+_5a6.x+(_59f?0:_5a7.x),y+dy+_5a6.y+(_59f?0:_5a7.y),_5a8,_5b9.text,_5a9,_5ab);if(this.chart.truncateBidi&&_5b9.truncated){this.chart.truncateBidi(elem,tick.label,_5b6);}_5b9.truncated&&this.labelTooltip(elem,this.chart,tick.label,_5b9.text,_5a9,_5b6);if(_5b6=="html"){this.htmlElements.push(elem);}else{if(_59f){elem.setTransform([{dx:_5a7.x,dy:_5a7.y},g.matrix.rotategAt(_59f,x+dx+_5a6.x,y+dy+_5a6.y)]);}}}},this);dx=_5a5.x*_5b0.length;dy=_5a5.y*_5b0.length;_5b5=c.minMinorStep<=c.minor.tick*c.bounds.scale;arr.forEach(t.minor,function(tick){var _5ba=f(tick.value),elem,x=_5a0.x+_5a4.x*_5ba,y=_5a0.y+_5a4.y*_5ba;this.createLine(s,{x1:x,y1:y,x2:x+dx,y2:y+dy}).setStroke(_5b0);if(_5b5&&tick.label){var _5bb=o.maxLabelCharCount?this.getTextWithLimitCharCount(tick.label,_5a9,o.maxLabelCharCount):{text:tick.label,truncated:false};_5bb=o.maxLabelSize?this.getTextWithLimitLength(_5bb.text,_5a9,o.maxLabelSize,_5bb.truncated):_5bb;elem=this.createText(_5b6,s,x+dx+_5a6.x+(_59f?0:_5a7.x),y+dy+_5a6.y+(_59f?0:_5a7.y),_5a8,_5bb.text,_5a9,_5ab);if(this.chart.getTextDir&&_5bb.truncated){this.chart.truncateBidi(elem,tick.label,_5b6);}_5bb.truncated&&this.labelTooltip(elem,this.chart,tick.label,_5bb.text,_5a9,_5b6);if(_5b6=="html"){this.htmlElements.push(elem);}else{if(_59f){elem.setTransform([{dx:_5a7.x,dy:_5a7.y},g.matrix.rotategAt(_59f,x+dx+_5a6.x,y+dy+_5a6.y)]);}}}},this);dx=_5a5.x*_5b1.length;dy=_5a5.y*_5b1.length;arr.forEach(t.micro,function(tick){var _5bc=f(tick.value),elem,x=_5a0.x+_5a4.x*_5bc,y=_5a0.y+_5a4.y*_5bc;this.createLine(s,{x1:x,y1:y,x2:x+dx,y2:y+dy}).setStroke(_5b1);},this);}catch(e){}this.dirty=false;return this;},labelTooltip:function(elem,_5bd,_5be,_5bf,font,_5c0){var _5c1=["dijit/Tooltip"];var _5c2={type:"rect"},_5c3=["above","below"],_5c4=g._base._getTextBox(_5bf,{font:font}).w||0,_5c5=font?g.normalizedLength(g.splitFontString(font).size):0;if(_5c0=="html"){lang.mixin(_5c2,html.coords(elem.firstChild,true));_5c2.width=Math.ceil(_5c4);_5c2.height=Math.ceil(_5c5);this._events.push({shape:dojo,handle:_580.connect(elem.firstChild,"onmouseover",this,function(e){require(_5c1,function(_5c6){_5c6.show(_5be,_5c2,_5c3);});})});this._events.push({shape:dojo,handle:_580.connect(elem.firstChild,"onmouseout",this,function(e){require(_5c1,function(_5c7){_5c7.hide(_5c2);});})});}else{var shp=elem.getShape(),lt=html.coords(_5bd.node,true);_5c2=lang.mixin(_5c2,{x:shp.x-_5c4/2,y:shp.y});_5c2.x+=lt.x;_5c2.y+=lt.y;_5c2.x=Math.round(_5c2.x);_5c2.y=Math.round(_5c2.y);_5c2.width=Math.ceil(_5c4);_5c2.height=Math.ceil(_5c5);this._events.push({shape:elem,handle:elem.connect("onmouseenter",this,function(e){require(_5c1,function(_5c8){_5c8.show(_5be,_5c2,_5c3);});})});this._events.push({shape:elem,handle:elem.connect("onmouseleave",this,function(e){require(_5c1,function(_5c9){_5c9.hide(_5c2);});})});}}});});},"dojox/charting/plot2d/ClusteredBars":function(){define("dojox/charting/plot2d/ClusteredBars",["dojo/_base/lang","dojo/_base/array","dojo/_base/declare","./Bars","./common","dojox/lang/functional","dojox/lang/functional/reversed","dojox/lang/utils"],function(lang,arr,_5ca,Bars,dc,df,dfr,du){var _5cb=dfr.lambda("item.purgeGroup()");return _5ca("dojox.charting.plot2d.ClusteredBars",Bars,{render:function(dim,_5cc){if(this.zoom&&!this.isDataDirty()){return this.performZoom(dim,_5cc);}this.resetEvents();this.dirty=this.isDirty();if(this.dirty){arr.forEach(this.series,_5cb);this._eventSeries={};this.cleanGroup();var s=this.group;df.forEachRev(this.series,function(item){item.cleanGroup(s);});}var t=this.chart.theme,f,gap,_5cd,_5ce,ht=this._hScaler.scaler.getTransformerFromModel(this._hScaler),vt=this._vScaler.scaler.getTransformerFromModel(this._vScaler),_5cf=Math.max(0,this._hScaler.bounds.lower),_5d0=ht(_5cf),_5d1=this.events();f=dc.calculateBarSize(this._vScaler.bounds.scale,this.opt,this.series.length);gap=f.gap;_5cd=_5ce=f.size;for(var i=this.series.length-1;i>=0;--i){var run=this.series[i],_5d2=_5ce*(this.series.length-i-1);if(!this.dirty&&!run.dirty){t.skip();this._reconnectEvents(run.name);continue;}run.cleanGroup();var _5d3=t.next("bar",[this.opt,run]),s=run.group,_5d4=new Array(run.data.length);for(var j=0;j<run.data.length;++j){var _5d5=run.data[j];if(_5d5!==null){var v=typeof _5d5=="number"?_5d5:_5d5.y,hv=ht(v),_5d6=hv-_5d0,w=Math.abs(_5d6),_5d7=typeof _5d5!="number"?t.addMixin(_5d3,"bar",_5d5,true):t.post(_5d3,"bar");if(w>=0&&_5cd>=1){var rect={x:_5cc.l+(v<_5cf?hv:_5d0),y:dim.height-_5cc.b-vt(j+1.5)+gap+_5d2,width:w,height:_5cd};var _5d8=this._plotFill(_5d7.series.fill,dim,_5cc);_5d8=this._shapeFill(_5d8,rect);var _5d9=s.createRect(rect).setFill(_5d8).setStroke(_5d7.series.stroke);run.dyn.fill=_5d9.getFill();run.dyn.stroke=_5d9.getStroke();if(_5d1){var o={element:"bar",index:j,run:run,shape:_5d9,x:v,y:j+1.5};this._connectEvents(o);_5d4[j]=o;}if(this.animate){this._animateBar(_5d9,_5cc.l+_5d0,-_5d6);}}}}this._eventSeries[run.name]=_5d4;run.dirty=false;}this.dirty=false;return this;}});});},"dojox/charting/action2d/MoveSlice":function(){define("dojox/charting/action2d/MoveSlice",["dojo/_base/connect","dojo/_base/declare","./PlotAction","dojo/fx/easing","dojox/gfx/matrix","dojox/gfx/fx","dojox/lang/functional","dojox/lang/functional/scan","dojox/lang/functional/fold"],function(hub,_5da,_5db,dfe,m,gf,df,dfs,dff){var _5dc=1.05,_5dd=7;return _5da("dojox.charting.action2d.MoveSlice",_5db,{defaultParams:{duration:400,easing:dfe.backOut,scale:_5dc,shift:_5dd},optionalParams:{},constructor:function(_5de,plot,_5df){if(!_5df){_5df={};}this.scale=typeof _5df.scale=="number"?_5df.scale:_5dc;this.shift=typeof _5df.shift=="number"?_5df.shift:_5dd;this.connect();},process:function(o){if(!o.shape||o.element!="slice"||!(o.type in this.overOutEvents)){return;}if(!this.angles){var _5e0=m._degToRad(o.plot.opt.startAngle);if(typeof o.run.data[0]=="number"){this.angles=df.map(df.scanl(o.run.data,"+",_5e0),"* 2 * Math.PI / this",df.foldl(o.run.data,"+",0));}else{this.angles=df.map(df.scanl(o.run.data,"a + b.y",_5e0),"* 2 * Math.PI / this",df.foldl(o.run.data,"a + b.y",0));}}var _5e1=o.index,anim,_5e2,_5e3,_5e4,_5e5,_5e6=(this.angles[_5e1]+this.angles[_5e1+1])/2,_5e7=m.rotateAt(-_5e6,o.cx,o.cy),_5e8=m.rotateAt(_5e6,o.cx,o.cy);anim=this.anim[_5e1];if(anim){anim.action.stop(true);}else{this.anim[_5e1]=anim={};}if(o.type=="onmouseover"){_5e4=0;_5e5=this.shift;_5e2=1;_5e3=this.scale;}else{_5e4=this.shift;_5e5=0;_5e2=this.scale;_5e3=1;}anim.action=gf.animateTransform({shape:o.shape,duration:this.duration,easing:this.easing,transform:[_5e8,{name:"translate",start:[_5e4,0],end:[_5e5,0]},{name:"scaleAt",start:[_5e2,o.cx,o.cy],end:[_5e3,o.cx,o.cy]},_5e7]});if(o.type=="onmouseout"){hub.connect(anim.action,"onEnd",this,function(){delete this.anim[_5e1];});}anim.action.play();},reset:function(){delete this.angles;}});});},"dojo/colors":function(){define(["./_base/kernel","./_base/lang","./_base/Color","./_base/array"],function(dojo,lang,_5e9,_5ea){var _5eb=lang.getObject("dojo.colors",true);var _5ec=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=_5e9.fromRgb=function(_5ed,obj){var m=_5ed.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=_5ea.map(c,function(x){return parseFloat(x)*2.56;});if(l==4){a[3]=c[3];}return _5e9.fromArray(a,obj);}return _5e9.fromArray(c,obj);}if((t=="hsl"&&l==3)||(t=="hsla"&&l==4)){var H=((parseFloat(c[0])%360)+360)%360/360,S=parseFloat(c[1])/100,L=parseFloat(c[2])/100,m2=L<=0.5?L*(S+1):L+S-L*S,m1=2*L-m2;a=[_5ec(m1,m2,H+1/3)*256,_5ec(m1,m2,H)*256,_5ec(m1,m2,H-1/3)*256,1];if(l==4){a[3]=c[3];}return _5e9.fromArray(a,obj);}}return null;};var _5ee=function(c,low,high){c=Number(c);return isNaN(c)?high:c<low?low:c>high?high:c;};_5e9.prototype.sanitize=function(){var t=this;t.r=Math.round(_5ee(t.r,0,255));t.g=Math.round(_5ee(t.g,0,255));t.b=Math.round(_5ee(t.b,0,255));t.a=_5ee(t.a,0,1);return this;};_5eb.makeGrey=_5e9.makeGrey=function(g,a){return _5e9.fromArray([g,g,g,a]);};lang.mixin(_5e9.named,{"aliceblue":[240,248,255],"antiquewhite":[250,235,215],"aquamarine":[127,255,212],"azure":[240,255,255],"beige":[245,245,220],"bisque":[255,228,196],"blanchedalmond":[255,235,205],"blueviolet":[138,43,226],"brown":[165,42,42],"burlywood":[222,184,135],"cadetblue":[95,158,160],"chartreuse":[127,255,0],"chocolate":[210,105,30],"coral":[255,127,80],"cornflowerblue":[100,149,237],"cornsilk":[255,248,220],"crimson":[220,20,60],"cyan":[0,255,255],"darkblue":[0,0,139],"darkcyan":[0,139,139],"darkgoldenrod":[184,134,11],"darkgray":[169,169,169],"darkgreen":[0,100,0],"darkgrey":[169,169,169],"darkkhaki":[189,183,107],"darkmagenta":[139,0,139],"darkolivegreen":[85,107,47],"darkorange":[255,140,0],"darkorchid":[153,50,204],"darkred":[139,0,0],"darksalmon":[233,150,122],"darkseagreen":[143,188,143],"darkslateblue":[72,61,139],"darkslategray":[47,79,79],"darkslategrey":[47,79,79],"darkturquoise":[0,206,209],"darkviolet":[148,0,211],"deeppink":[255,20,147],"deepskyblue":[0,191,255],"dimgray":[105,105,105],"dimgrey":[105,105,105],"dodgerblue":[30,144,255],"firebrick":[178,34,34],"floralwhite":[255,250,240],"forestgreen":[34,139,34],"gainsboro":[220,220,220],"ghostwhite":[248,248,255],"gold":[255,215,0],"goldenrod":[218,165,32],"greenyellow":[173,255,47],"grey":[128,128,128],"honeydew":[240,255,240],"hotpink":[255,105,180],"indianred":[205,92,92],"indigo":[75,0,130],"ivory":[255,255,240],"khaki":[240,230,140],"lavender":[230,230,250],"lavenderblush":[255,240,245],"lawngreen":[124,252,0],"lemonchiffon":[255,250,205],"lightblue":[173,216,230],"lightcoral":[240,128,128],"lightcyan":[224,255,255],"lightgoldenrodyellow":[250,250,210],"lightgray":[211,211,211],"lightgreen":[144,238,144],"lightgrey":[211,211,211],"lightpink":[255,182,193],"lightsalmon":[255,160,122],"lightseagreen":[32,178,170],"lightskyblue":[135,206,250],"lightslategray":[119,136,153],"lightslategrey":[119,136,153],"lightsteelblue":[176,196,222],"lightyellow":[255,255,224],"limegreen":[50,205,50],"linen":[250,240,230],"magenta":[255,0,255],"mediumaquamarine":[102,205,170],"mediumblue":[0,0,205],"mediumorchid":[186,85,211],"mediumpurple":[147,112,219],"mediumseagreen":[60,179,113],"mediumslateblue":[123,104,238],"mediumspringgreen":[0,250,154],"mediumturquoise":[72,209,204],"mediumvioletred":[199,21,133],"midnightblue":[25,25,112],"mintcream":[245,255,250],"mistyrose":[255,228,225],"moccasin":[255,228,181],"navajowhite":[255,222,173],"oldlace":[253,245,230],"olivedrab":[107,142,35],"orange":[255,165,0],"orangered":[255,69,0],"orchid":[218,112,214],"palegoldenrod":[238,232,170],"palegreen":[152,251,152],"paleturquoise":[175,238,238],"palevioletred":[219,112,147],"papayawhip":[255,239,213],"peachpuff":[255,218,185],"peru":[205,133,63],"pink":[255,192,203],"plum":[221,160,221],"powderblue":[176,224,230],"rosybrown":[188,143,143],"royalblue":[65,105,225],"saddlebrown":[139,69,19],"salmon":[250,128,114],"sandybrown":[244,164,96],"seagreen":[46,139,87],"seashell":[255,245,238],"sienna":[160,82,45],"skyblue":[135,206,235],"slateblue":[106,90,205],"slategray":[112,128,144],"slategrey":[112,128,144],"snow":[255,250,250],"springgreen":[0,255,127],"steelblue":[70,130,180],"tan":[210,180,140],"thistle":[216,191,216],"tomato":[255,99,71],"turquoise":[64,224,208],"violet":[238,130,238],"wheat":[245,222,179],"whitesmoke":[245,245,245],"yellowgreen":[154,205,50]});return _5e9;});},"dijit/Tooltip":function(){require({cache:{"url:dijit/templates/Tooltip.html":"<div class=\"dijitTooltip dijitTooltipLeft\" id=\"dojoTooltip\"\n\t><div class=\"dijitTooltipContainer dijitTooltipContents\" data-dojo-attach-point=\"containerNode\" role='alert'></div\n\t><div class=\"dijitTooltipConnector\" data-dojo-attach-point=\"connectorNode\"></div\n></div>\n"}});define("dijit/Tooltip",["dojo/_base/array","dojo/_base/declare","dojo/_base/fx","dojo/dom","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang","dojo/_base/sniff","dojo/_base/window","./_base/manager","./place","./_Widget","./_TemplatedMixin","./BackgroundIframe","dojo/text!./templates/Tooltip.html","."],function(_5ef,_5f0,fx,dom,_5f1,_5f2,_5f3,lang,has,win,_5f4,_5f5,_5f6,_5f7,_5f8,_5f9,_5fa){var _5fb=_5f0("dijit._MasterTooltip",[_5f6,_5f7],{duration:_5f4.defaultDuration,templateString:_5f9,postCreate:function(){win.body().appendChild(this.domNode);this.bgIframe=new _5f8(this.domNode);this.fadeIn=fx.fadeIn({node:this.domNode,duration:this.duration,onEnd:lang.hitch(this,"_onShow")});this.fadeOut=fx.fadeOut({node:this.domNode,duration:this.duration,onEnd:lang.hitch(this,"_onHide")});},show:function(_5fc,_5fd,_5fe,rtl,_5ff){if(this.aroundNode&&this.aroundNode===_5fd&&this.containerNode.innerHTML==_5fc){return;}this.domNode.width="auto";if(this.fadeOut.status()=="playing"){this._onDeck=arguments;return;}this.containerNode.innerHTML=_5fc;this.set("textDir",_5ff);this.containerNode.align=rtl?"right":"left";var pos=_5f5.around(this.domNode,_5fd,_5fe&&_5fe.length?_5fe:_600.defaultPosition,!rtl,lang.hitch(this,"orient"));var _601=pos.aroundNodePos;if(pos.corner.charAt(0)=="M"&&pos.aroundCorner.charAt(0)=="M"){this.connectorNode.style.top=_601.y+((_601.h-this.connectorNode.offsetHeight)>>1)-pos.y+"px";this.connectorNode.style.left="";}else{if(pos.corner.charAt(1)=="M"&&pos.aroundCorner.charAt(1)=="M"){this.connectorNode.style.left=_601.x+((_601.w-this.connectorNode.offsetWidth)>>1)-pos.x+"px";}}_5f3.set(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=true;this.aroundNode=_5fd;},orient:function(node,_602,_603,_604,_605){this.connectorNode.style.top="";var _606=_604.w-this.connectorNode.offsetWidth;node.className="dijitTooltip "+{"MR-ML":"dijitTooltipRight","ML-MR":"dijitTooltipLeft","TM-BM":"dijitTooltipAbove","BM-TM":"dijitTooltipBelow","BL-TL":"dijitTooltipBelow dijitTooltipABLeft","TL-BL":"dijitTooltipAbove dijitTooltipABLeft","BR-TR":"dijitTooltipBelow dijitTooltipABRight","TR-BR":"dijitTooltipAbove dijitTooltipABRight","BR-BL":"dijitTooltipRight","BL-BR":"dijitTooltipLeft"}[_602+"-"+_603];this.domNode.style.width="auto";var size=_5f2.getContentBox(this.domNode);var _607=Math.min((Math.max(_606,1)),size.w);var _608=_607<size.w;this.domNode.style.width=_607+"px";if(_608){this.containerNode.style.overflow="auto";var _609=this.containerNode.scrollWidth;this.containerNode.style.overflow="visible";if(_609>_607){_609=_609+_5f3.get(this.domNode,"paddingLeft")+_5f3.get(this.domNode,"paddingRight");this.domNode.style.width=_609+"px";}}if(_603.charAt(0)=="B"&&_602.charAt(0)=="B"){var mb=_5f2.getMarginBox(node);var _60a=this.connectorNode.offsetHeight;if(mb.h>_604.h){var _60b=_604.h-((_605.h+_60a)>>1);this.connectorNode.style.top=_60b+"px";this.connectorNode.style.bottom="";}else{this.connectorNode.style.bottom=Math.min(Math.max(_605.h/2-_60a/2,0),mb.h-_60a)+"px";this.connectorNode.style.top="";}}else{this.connectorNode.style.top="";this.connectorNode.style.bottom="";}return Math.max(0,size.w-_606);},_onShow:function(){if(has("ie")){this.domNode.style.filter="";}},hide:function(_60c){if(this._onDeck&&this._onDeck[1]==_60c){this._onDeck=null;}else{if(this.aroundNode===_60c){this.fadeIn.stop();this.isShowingNow=false;this.aroundNode=null;this.fadeOut.play();}else{}}},_onHide:function(){this.domNode.style.cssText="";this.containerNode.innerHTML="";if(this._onDeck){this.show.apply(this,this._onDeck);this._onDeck=null;}},_setAutoTextDir:function(node){this.applyTextDir(node,has("ie")?node.outerText:node.textContent);_5ef.forEach(node.children,function(_60d){this._setAutoTextDir(_60d);},this);},_setTextDirAttr:function(_60e){this._set("textDir",typeof _60e!="undefined"?_60e:"");if(_60e=="auto"){this._setAutoTextDir(this.containerNode);}else{this.containerNode.dir=this.textDir;}}});_5fa.showTooltip=function(_60f,_610,_611,rtl,_612){if(!_600._masterTT){_5fa._masterTT=_600._masterTT=new _5fb();}return _600._masterTT.show(_60f,_610,_611,rtl,_612);};_5fa.hideTooltip=function(_613){return _600._masterTT&&_600._masterTT.hide(_613);};var _600=_5f0("dijit.Tooltip",_5f6,{label:"",showDelay:400,connectId:[],position:[],_setConnectIdAttr:function(_614){_5ef.forEach(this._connections||[],function(_615){_5ef.forEach(_615,lang.hitch(this,"disconnect"));},this);this._connectIds=_5ef.filter(lang.isArrayLike(_614)?_614:(_614?[_614]:[]),function(id){return dom.byId(id);});this._connections=_5ef.map(this._connectIds,function(id){var node=dom.byId(id);return [this.connect(node,"onmouseenter","_onHover"),this.connect(node,"onmouseleave","_onUnHover"),this.connect(node,"onfocus","_onHover"),this.connect(node,"onblur","_onUnHover")];},this);this._set("connectId",_614);},addTarget:function(node){var id=node.id||node;if(_5ef.indexOf(this._connectIds,id)==-1){this.set("connectId",this._connectIds.concat(id));}},removeTarget:function(node){var id=node.id||node,idx=_5ef.indexOf(this._connectIds,id);if(idx>=0){this._connectIds.splice(idx,1);this.set("connectId",this._connectIds);}},buildRendering:function(){this.inherited(arguments);_5f1.add(this.domNode,"dijitTooltipData");},startup:function(){this.inherited(arguments);var ids=this.connectId;_5ef.forEach(lang.isArrayLike(ids)?ids:[ids],this.addTarget,this);},_onHover:function(e){if(!this._showTimer){var _616=e.target;this._showTimer=setTimeout(lang.hitch(this,function(){this.open(_616);}),this.showDelay);}},_onUnHover:function(){if(this._focus){return;}if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}this.close();},open:function(_617){if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}_600.show(this.label||this.domNode.innerHTML,_617,this.position,!this.isLeftToRight(),this.textDir);this._connectNode=_617;this.onShow(_617,this.position);},close:function(){if(this._connectNode){_600.hide(this._connectNode);delete this._connectNode;this.onHide();}if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}},onShow:function(){},onHide:function(){},uninitialize:function(){this.close();this.inherited(arguments);}});_600._MasterTooltip=_5fb;_600.show=_5fa.showTooltip;_600.hide=_5fa.hideTooltip;_600.defaultPosition=["after-centered","before-centered"];return _600;});},"dojox/charting/Element":function(){define("dojox/charting/Element",["dojo/_base/lang","dojo/_base/array","dojo/dom-construct","dojo/_base/declare","dojox/gfx","dojox/gfx/utils","dojox/gfx/shape"],function(lang,arr,_618,_619,gfx,_61a,_61b){return _619("dojox.charting.Element",null,{chart:null,group:null,htmlElements:null,dirty:true,constructor:function(_61c){this.chart=_61c;this.group=null;this.htmlElements=[];this.dirty=true;this.trailingSymbol="...";this._events=[];},createGroup:function(_61d){if(!_61d){_61d=this.chart.surface;}if(!this.group){this.group=_61d.createGroup();}return this;},purgeGroup:function(){this.destroyHtmlElements();if(this.group){_61a.forEach(this.group,function(_61e){_61b.dispose(_61e);});this.group.clear();this.group.removeShape();this.group=null;}this.dirty=true;if(this._events.length){arr.forEach(this._events,function(item){item.shape.disconnect(item.handle);});this._events=[];}return this;},cleanGroup:function(_61f){this.destroyHtmlElements();if(!_61f){_61f=this.chart.surface;}if(this.group){this.group.clear();}else{this.group=_61f.createGroup();}this.dirty=true;return this;},destroyHtmlElements:function(){if(this.htmlElements.length){arr.forEach(this.htmlElements,_618.destroy);this.htmlElements=[];}},destroy:function(){this.purgeGroup();},getTextWidth:function(s,font){return gfx._base._getTextBox(s,{font:font}).w||0;},getTextWithLimitLength:function(s,font,_620,_621){if(!s||s.length<=0){return {text:"",truncated:_621||false};}if(!_620||_620<=0){return {text:s,truncated:_621||false};}var _622=2,_623=0.618,_624=s.substring(0,1)+this.trailingSymbol,_625=this.getTextWidth(_624,font);if(_620<=_625){return {text:_624,truncated:true};}var _626=this.getTextWidth(s,font);if(_626<=_620){return {text:s,truncated:_621||false};}else{var _627=0,end=s.length;while(_627<end){if(end-_627<=_622){while(this.getTextWidth(s.substring(0,_627)+this.trailingSymbol,font)>_620){_627-=1;}return {text:(s.substring(0,_627)+this.trailingSymbol),truncated:true};}var _628=_627+Math.round((end-_627)*_623),_629=this.getTextWidth(s.substring(0,_628),font);if(_629<_620){_627=_628;end=end;}else{_627=_627;end=_628;}}}},getTextWithLimitCharCount:function(s,font,_62a,_62b){if(!s||s.length<=0){return {text:"",truncated:_62b||false};}if(!_62a||_62a<=0||s.length<=_62a){return {text:s,truncated:_62b||false};}return {text:s.substring(0,_62a)+this.trailingSymbol,truncated:true};},_plotFill:function(fill,dim,_62c){if(!fill||!fill.type||!fill.space){return fill;}var _62d=fill.space;switch(fill.type){case "linear":if(_62d==="plot"||_62d==="shapeX"||_62d==="shapeY"){fill=gfx.makeParameters(gfx.defaultLinearGradient,fill);fill.space=_62d;if(_62d==="plot"||_62d==="shapeX"){var span=dim.height-_62c.t-_62c.b;fill.y1=_62c.t+span*fill.y1/100;fill.y2=_62c.t+span*fill.y2/100;}if(_62d==="plot"||_62d==="shapeY"){var span=dim.width-_62c.l-_62c.r;fill.x1=_62c.l+span*fill.x1/100;fill.x2=_62c.l+span*fill.x2/100;}}break;case "radial":if(_62d==="plot"){fill=gfx.makeParameters(gfx.defaultRadialGradient,fill);fill.space=_62d;var _62e=dim.width-_62c.l-_62c.r,_62f=dim.height-_62c.t-_62c.b;fill.cx=_62c.l+_62e*fill.cx/100;fill.cy=_62c.t+_62f*fill.cy/100;fill.r=fill.r*Math.sqrt(_62e*_62e+_62f*_62f)/200;}break;case "pattern":if(_62d==="plot"||_62d==="shapeX"||_62d==="shapeY"){fill=gfx.makeParameters(gfx.defaultPattern,fill);fill.space=_62d;if(_62d==="plot"||_62d==="shapeX"){var span=dim.height-_62c.t-_62c.b;fill.y=_62c.t+span*fill.y/100;fill.height=span*fill.height/100;}if(_62d==="plot"||_62d==="shapeY"){var span=dim.width-_62c.l-_62c.r;fill.x=_62c.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 _630=fill.space;switch(fill.type){case "linear":if(_630==="shape"||_630==="shapeX"||_630==="shapeY"){fill=gfx.makeParameters(gfx.defaultLinearGradient,fill);fill.space=_630;if(_630==="shape"||_630==="shapeX"){var span=bbox.width;fill.x1=bbox.x+span*fill.x1/100;fill.x2=bbox.x+span*fill.x2/100;}if(_630==="shape"||_630==="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(_630==="shape"){fill=gfx.makeParameters(gfx.defaultRadialGradient,fill);fill.space=_630;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(_630==="shape"||_630==="shapeX"||_630==="shapeY"){fill=gfx.makeParameters(gfx.defaultPattern,fill);fill.space=_630;if(_630==="shape"||_630==="shapeX"){var span=bbox.width;fill.x=bbox.x+span*fill.x/100;fill.width=span*fill.width/100;}if(_630==="shape"||_630==="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,_631,_632,_633,end){if(!fill||fill.type!=="radial"||fill.space!=="shape"){return fill;}var _634=fill.space;fill=gfx.makeParameters(gfx.defaultRadialGradient,fill);fill.space=_634;if(arguments.length<4){fill.cx=_631.x;fill.cy=_631.y;fill.r=fill.r*_632/100;return fill;}var _635=arguments.length<5?_633:(end+_633)/2;return {type:"linear",x1:_631.x,y1:_631.y,x2:_631.x+fill.r*_632*Math.cos(_635)/100,y2:_631.y+fill.r*_632*Math.sin(_635)/100,colors:fill.colors};return fill;}});});},"dijit/_WidgetBase":function(){define("dijit/_WidgetBase",["require","dojo/_base/array","dojo/aspect","dojo/_base/config","dojo/_base/connect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/ready","dojo/Stateful","dojo/topic","dojo/_base/window","./registry"],function(_636,_637,_638,_639,_63a,_63b,dom,_63c,_63d,_63e,_63f,_640,_641,lang,on,_642,_643,_644,win,_645){if(!_641.isAsync){_642(0,function(){var _646=["dijit/_base/manager"];_636(_646);});}var _647={};function _648(obj){var ret={};for(var attr in obj){ret[attr.toLowerCase()]=true;}return ret;};function _649(attr){return function(val){_63c[val?"set":"remove"](this.domNode,attr,val);this._set(attr,val);};};return _63b("dijit._WidgetBase",_643,{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:_649("lang"),dir:"",_setDirAttr:_649("dir"),textDir:"","class":"",_setClassAttr:{node:"domNode",type:"class"},style:"",title:"",tooltip:"",baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,attributeMap:{},_blankGif:_639.blankGif||_636.toUrl("dojo/resources/blank.gif"),postscript:function(_64a,_64b){this.create(_64a,_64b);},create:function(_64c,_64d){this.srcNodeRef=dom.byId(_64d);this._connects=[];this._supportingWidgets=[];if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_64c){this.params=_64c;lang.mixin(this,_64c);}this.postMixInProperties();if(!this.id){this.id=_645.getUniqueId(this.declaredClass.replace(/\./g,"_"));}_645.add(this);this.buildRendering();if(this.domNode){this._applyAttributes();var _64e=this.srcNodeRef;if(_64e&&_64e.parentNode&&this.domNode!==_64e){_64e.parentNode.replaceChild(this.domNode,_64e);}}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 ctor=this.constructor,list=ctor._setterAttrs;if(!list){list=(ctor._setterAttrs=[]);for(var attr in this.attributeMap){list.push(attr);}var _64f=ctor.prototype;for(var _650 in _64f){if(_650 in this.attributeMap){continue;}var _651="_set"+_650.replace(/^[a-z]|-[a-zA-Z]/g,function(c){return c.charAt(c.length-1).toUpperCase();})+"Attr";if(_651 in _64f){list.push(_650);}}}_637.forEach(list,function(attr){if(this.params&&attr in this.params){}else{if(this[attr]){this.set(attr,this[attr]);}}},this);for(var _652 in this.params){this.set(_652,this[_652]);}},postMixInProperties:function(){},buildRendering:function(){if(!this.domNode){this.domNode=this.srcNodeRef||_63e.create("div");}if(this.baseClass){var _653=this.baseClass.split(" ");if(!this.isLeftToRight()){_653=_653.concat(_637.map(_653,function(name){return name+"Rtl";}));}_63d.add(this.domNode,_653);}},postCreate:function(){},startup:function(){if(this._started){return;}this._started=true;_637.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}});},destroyRecursive:function(_654){this._beingDestroyed=true;this.destroyDescendants(_654);this.destroy(_654);},destroy:function(_655){this._beingDestroyed=true;this.uninitialize();var c;while(c=this._connects.pop()){c.remove();}var w;while(w=this._supportingWidgets.pop()){if(w.destroyRecursive){w.destroyRecursive();}else{if(w.destroy){w.destroy();}}}this.destroyRendering(_655);_645.remove(this.id);this._destroyed=true;},destroyRendering:function(_656){if(this.bgIframe){this.bgIframe.destroy(_656);delete this.bgIframe;}if(this.domNode){if(_656){_63c.remove(this.domNode,"widgetId");}else{_63e.destroy(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_656){_63e.destroy(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_657){_637.forEach(this.getChildren(),function(_658){if(_658.destroyRecursive){_658.destroyRecursive(_657);}});},uninitialize:function(){return false;},_setStyleAttr:function(_659){var _65a=this.domNode;if(lang.isObject(_659)){_640.set(_65a,_659);}else{if(_65a.style.cssText){_65a.style.cssText+="; "+_659;}else{_65a.style.cssText=_659;}}this._set("style",_659);},_attrToDom:function(attr,_65b,_65c){_65c=arguments.length>=3?_65c:this.attributeMap[attr];_637.forEach(lang.isArray(_65c)?_65c:[_65c],function(_65d){var _65e=this[_65d.node||_65d||"domNode"];var type=_65d.type||"attribute";switch(type){case "attribute":if(lang.isFunction(_65b)){_65b=lang.hitch(this,_65b);}var _65f=_65d.attribute?_65d.attribute:(/^on[A-Z][a-zA-Z]*$/.test(attr)?attr.toLowerCase():attr);_63c.set(_65e,_65f,_65b);break;case "innerText":_65e.innerHTML="";_65e.appendChild(win.doc.createTextNode(_65b));break;case "innerHTML":_65e.innerHTML=_65b;break;case "class":_63d.replace(_65e,_65b,this[attr]);break;}},this);},get:function(name){var _660=this._getAttrNames(name);return this[_660.g]?this[_660.g]():this[name];},set:function(name,_661){if(typeof name==="object"){for(var x in name){this.set(x,name[x]);}return this;}var _662=this._getAttrNames(name),_663=this[_662.s];if(lang.isFunction(_663)){var _664=_663.apply(this,Array.prototype.slice.call(arguments,1));}else{var _665=this.focusNode&&!lang.isFunction(this.focusNode)?"focusNode":"domNode",tag=this[_665].tagName,_666=_647[tag]||(_647[tag]=_648(this[_665])),map=name in this.attributeMap?this.attributeMap[name]:_662.s in this?this[_662.s]:((_662.l in _666&&typeof _661!="function")||/^aria-|^data-|^role$/.test(name))?_665:null;if(map!=null){this._attrToDom(name,_661,map);}this._set(name,_661);}return _664||this;},_attrPairNames:{},_getAttrNames:function(name){var apn=this._attrPairNames;if(apn[name]){return apn[name];}var uc=name.replace(/^[a-z]|-[a-zA-Z]/g,function(c){return c.charAt(c.length-1).toUpperCase();});return (apn[name]={n:name+"Node",s:"_set"+uc+"Attr",g:"_get"+uc+"Attr",l:uc.toLowerCase()});},_set:function(name,_667){var _668=this[name];this[name]=_667;if(this._watchCallbacks&&this._created&&_667!==_668){this._watchCallbacks(name,_668,_667);}},on:function(type,func){return _638.after(this,this._onMap(type),func,true);},_onMap:function(type){var ctor=this.constructor,map=ctor._onMap;if(!map){map=(ctor._onMap={});for(var attr in ctor.prototype){if(/^on/.test(attr)){map[attr.replace(/^on/,"").toLowerCase()]=attr;}}}return map[type.toLowerCase()];},toString:function(){return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";},getChildren:function(){return this.containerNode?_645.findWidgets(this.containerNode):[];},getParent:function(){return _645.getEnclosingWidget(this.domNode.parentNode);},connect:function(obj,_669,_66a){var _66b=_63a.connect(obj,_669,this,_66a);this._connects.push(_66b);return _66b;},disconnect:function(_66c){var i=_637.indexOf(this._connects,_66c);if(i!=-1){_66c.remove();this._connects.splice(i,1);}},subscribe:function(t,_66d){var _66e=_644.subscribe(t,lang.hitch(this,_66d));this._connects.push(_66e);return _66e;},unsubscribe:function(_66f){this.disconnect(_66f);},isLeftToRight:function(){return this.dir?(this.dir=="ltr"):_63f.isBodyLtr();},isFocusable:function(){return this.focus&&(_640.get(this.domNode,"display")!="none");},placeAt:function(_670,_671){if(_670.declaredClass&&_670.addChild){_670.addChild(this,_671);}else{_63e.place(this.domNode,_670,_671);}return this;},getTextDir:function(text,_672){return _672;},applyTextDir:function(){}});});}}});require(["dojo/i18n"],function(i18n){i18n._preloadLocalizations("dojox/charting/widget/nls/Chart2D",[]);});define("dojox/charting/widget/Chart2D",["dojo/_base/kernel","./Chart","../Chart2D","../action2d/Highlight","../action2d/Magnify","../action2d/MoveSlice","../action2d/Shake","../action2d/Tooltip"],function(dojo,_673){dojo.deprecated("dojox.charting.widget.Chart2D","Use dojo.charting.widget.Chart instead and require all other components explicitly","2.0");return dojox.charting.widget.Chart2D=_673;});