@datagrok/helm 2.5.0 → 2.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/dist/455.js +2 -0
- package/dist/455.js.map +1 -0
- package/dist/package-dojo.js +2 -0
- package/dist/package-dojo.js.map +1 -0
- package/dist/package-test.js +1 -1
- package/dist/package-test.js.map +1 -1
- package/dist/package.js +1 -1
- package/dist/package.js.map +1 -1
- package/files/tests/peptide.csv +14 -0
- package/helm/dojo/package.ts +41 -0
- package/helm/dojo/types.ts +12 -0
- package/package.json +7 -6
- package/src/helm-helper.ts +78 -7
- package/src/helm-monomer-placer.ts +6 -0
- package/src/package-test.ts +7 -1
- package/src/package-utils.ts +42 -23
- package/src/package.ts +35 -8
- package/src/tests/findMonomers-tests.ts +2 -3
- package/src/tests/get-molfiles-tests.ts +3 -3
- package/src/tests/get-monomer-tests.ts +15 -35
- package/src/tests/helm-helper-tests.ts +85 -0
- package/src/tests/helm-input-tests.ts +2 -4
- package/src/tests/helm-service-tests.ts +2 -6
- package/src/tests/helm-web-editor-tests.ts +3 -4
- package/src/tests/parse-helm-tests.ts +4 -8
- package/src/tests/properties-widget-tests.ts +2 -5
- package/src/tests/renderers-tests.ts +2 -3
- package/src/utils/get-hovered.ts +20 -7
- package/src/utils/get-monomer.ts +1 -75
- package/src/utils/helm-grid-cell-renderer.ts +27 -6
- package/src/widgets/helm-input.ts +4 -4
- package/vendor/dojo-1.10.10/dijit/_base.js.uncompressed.js +27 -0
- package/vendor/dojo-1.10.10/dojox/gfx/_base.js +253 -0
- package/vendor/dojo-1.10.10/dojox/gfx/_base.js.uncompressed.js +1024 -0
- package/webpack.config.js +7 -0
- package/src/cell-renderer.ts +0 -162
- package/src/utils/get-monomer-dummy.ts +0 -149
- package/src/utils/get-monomer-of-library.ts +0 -90
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var helm_dojo;(()=>{var __webpack_modules__={7090:function(t,e){define("dijit/BackgroundIframe",["require","./main","dojo/_base/config","dojo/dom-construct","dojo/dom-style","dojo/_base/lang","dojo/on","dojo/sniff"],(function(t,e,n,i,o,r,a,s){s.add("config-bgIframe",(s("ie")||s("trident"))&&!/IEMobile\/10\.0/.test(navigator.userAgent));var l=new function(){var e=[];this.pop=function(){var r;if(e.length)(r=e.pop()).style.display="";else{if(s("ie")<9){var a="<iframe src='"+(n.dojoBlankHtmlUrl||t.toUrl("dojo/resources/blank.html")||'javascript:""')+"' role='presentation' style='position: absolute; left: 0px; top: 0px;z-index: -1; filter:Alpha(Opacity=\"0\");'>";r=document.createElement(a)}else(r=i.create("iframe")).src='javascript:""',r.className="dijitBackgroundIframe",r.setAttribute("role","presentation"),o.set(r,"opacity",.1);r.tabIndex=-1}return r},this.push=function(t){t.style.display="none",e.push(t)}};return e.BackgroundIframe=function(t){if(!t.id)throw new Error("no id");if(s("config-bgIframe")){var e=this.iframe=l.pop();t.appendChild(e),s("ie")<7||s("quirks")?(this.resize(t),this._conn=a(t,"resize",r.hitch(this,"resize",t))):o.set(e,{width:"100%",height:"100%"})}},r.extend(e.BackgroundIframe,{resize:function(t){this.iframe&&o.set(this.iframe,{width:t.offsetWidth+"px",height:t.offsetHeight+"px"})},destroy:function(){this._conn&&(this._conn.remove(),this._conn=null),this.iframe&&(this.iframe.parentNode.removeChild(this.iframe),l.push(this.iframe),delete this.iframe)}}),e.BackgroundIframe}))},2165:function(t,e){define("dijit/BackgroundIframe",["require","./main","dojo/_base/config","dojo/dom-construct","dojo/dom-style","dojo/_base/lang","dojo/on","dojo/sniff"],(function(t,e,n,i,o,r,a,s){s.add("config-bgIframe",(s("ie")||s("trident"))&&!/IEMobile\/10\.0/.test(navigator.userAgent));var l=new function(){var e=[];this.pop=function(){var r;if(e.length)(r=e.pop()).style.display="";else{if(s("ie")<9){var a="<iframe src='"+(n.dojoBlankHtmlUrl||t.toUrl("dojo/resources/blank.html")||'javascript:""')+"' role='presentation' style='position: absolute; left: 0px; top: 0px;z-index: -1; filter:Alpha(Opacity=\"0\");'>";r=document.createElement(a)}else(r=i.create("iframe")).src='javascript:""',r.className="dijitBackgroundIframe",r.setAttribute("role","presentation"),o.set(r,"opacity",.1);r.tabIndex=-1}return r},this.push=function(t){t.style.display="none",e.push(t)}};return e.BackgroundIframe=function(t){if(!t.id)throw new Error("no id");if(s("config-bgIframe")){var e=this.iframe=l.pop();t.appendChild(e),s("ie")<7||s("quirks")?(this.resize(t),this._conn=a(t,"resize",r.hitch(this,"resize",t))):o.set(e,{width:"100%",height:"100%"})}},r.extend(e.BackgroundIframe,{resize:function(t){this.iframe&&o.set(this.iframe,{width:t.offsetWidth+"px",height:t.offsetHeight+"px"})},destroy:function(){this._conn&&(this._conn.remove(),this._conn=null),this.iframe&&(this.iframe.parentNode.removeChild(this.iframe),l.push(this.iframe),delete this.iframe)}}),e.BackgroundIframe}))},4673:function(t,e){define("dijit/Destroyable",["dojo/_base/array","dojo/aspect","dojo/_base/declare"],(function(t,e,n){return n("dijit.Destroyable",null,{destroy:function(t){this._destroyed=!0},own:function(){var n=["destroyRecursive","destroy","remove"];return t.forEach(arguments,(function(i){var o,r=e.before(this,"destroy",(function(t){i[o](t)})),a=[];function s(){r.remove(),t.forEach(a,(function(t){t.remove()}))}i.then?(o="cancel",i.then(s,s)):t.forEach(n,(function(t){"function"==typeof i[t]&&(o||(o=t),a.push(e.after(i,t,s,!0)))}))}),this),arguments}})}))},6537:function(t,e){define("dijit/Destroyable",["dojo/_base/array","dojo/aspect","dojo/_base/declare"],(function(t,e,n){return n("dijit.Destroyable",null,{destroy:function(t){this._destroyed=!0},own:function(){var n=["destroyRecursive","destroy","remove"];return t.forEach(arguments,(function(i){var o,r=e.before(this,"destroy",(function(t){i[o](t)})),a=[];function s(){r.remove(),t.forEach(a,(function(t){t.remove()}))}i.then?(o="cancel",i.then(s,s)):t.forEach(n,(function(t){"function"==typeof i[t]&&(o||(o=t),a.push(e.after(i,t,s,!0)))}))}),this),arguments}})}))},5679:function(t,e){require({cache:{"url:dijit/templates/Tooltip.html":'<div class="dijitTooltip dijitTooltipLeft" id="dojoTooltip" data-dojo-attach-event="mouseenter:onMouseEnter,mouseleave:onMouseLeave"\n\t><div class="dijitTooltipConnector" data-dojo-attach-point="connectorNode"></div\n\t><div class="dijitTooltipContainer dijitTooltipContents" data-dojo-attach-point="containerNode" role=\'alert\'></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/mouse","dojo/on","dojo/sniff","./_base/manager","./place","./_Widget","./_TemplatedMixin","./BackgroundIframe","dojo/text!./templates/Tooltip.html","./main"],(function(t,e,n,i,o,r,a,s,l,c,d,h,u,f,p,m,g,y){var v=e("dijit._MasterTooltip",[f,p],{duration:h.defaultDuration,templateString:g,postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode),this.bgIframe=new m(this.domNode),this.fadeIn=n.fadeIn({node:this.domNode,duration:this.duration,onEnd:s.hitch(this,"_onShow")}),this.fadeOut=n.fadeOut({node:this.domNode,duration:this.duration,onEnd:s.hitch(this,"_onHide")})},show:function(t,e,n,i,o,r,l){if(!this.aroundNode||this.aroundNode!==e||this.containerNode.innerHTML!=t)if("playing"!=this.fadeOut.status()){this.containerNode.innerHTML=t,o&&this.set("textDir",o),this.containerNode.align=i?"right":"left";var c=u.around(this.domNode,e,n&&n.length?n:k.defaultPosition,!i,s.hitch(this,"orient")),d=c.aroundNodePos;"M"==c.corner.charAt(0)&&"M"==c.aroundCorner.charAt(0)?(this.connectorNode.style.top=d.y+(d.h-this.connectorNode.offsetHeight>>1)-c.y+"px",this.connectorNode.style.left=""):"M"==c.corner.charAt(1)&&"M"==c.aroundCorner.charAt(1)?this.connectorNode.style.left=d.x+(d.w-this.connectorNode.offsetWidth>>1)-c.x+"px":(this.connectorNode.style.left="",this.connectorNode.style.top=""),a.set(this.domNode,"opacity",0),this.fadeIn.play(),this.isShowingNow=!0,this.aroundNode=e,this.onMouseEnter=r||w,this.onMouseLeave=l||w}else this._onDeck=arguments},orient:function(t,e,n,i,o){this.connectorNode.style.top="";var a=i.h,s=i.w;t.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"}[e+"-"+n],this.domNode.style.width="auto";var l=r.position(this.domNode);(d("ie")||d("trident"))&&(l.w+=2);var c=Math.min(Math.max(s,1),l.w);if(r.setMarginBox(this.domNode,{w:c}),"B"==n.charAt(0)&&"B"==e.charAt(0)){var h=r.position(t),u=this.connectorNode.offsetHeight;if(h.h>a){var f=a-(o.h+u>>1);this.connectorNode.style.top=f+"px",this.connectorNode.style.bottom=""}else this.connectorNode.style.bottom=Math.min(Math.max(o.h/2-u/2,0),h.h-u)+"px",this.connectorNode.style.top=""}else this.connectorNode.style.top="",this.connectorNode.style.bottom="";return Math.max(0,l.w-s)},_onShow:function(){d("ie")&&(this.domNode.style.filter="")},hide:function(t){this._onDeck&&this._onDeck[1]==t?this._onDeck=null:this.aroundNode===t&&(this.fadeIn.stop(),this.isShowingNow=!1,this.aroundNode=null,this.fadeOut.play()),this.onMouseEnter=this.onMouseLeave=w},_onHide:function(){this.domNode.style.cssText="",this.containerNode.innerHTML="",this._onDeck&&(this.show.apply(this,this._onDeck),this._onDeck=null)}});d("dojo-bidi")&&v.extend({_setAutoTextDir:function(e){this.applyTextDir(e),t.forEach(e.children,(function(t){this._setAutoTextDir(t)}),this)},_setTextDirAttr:function(t){this._set("textDir",t),"auto"==t?this._setAutoTextDir(this.containerNode):this.containerNode.dir=this.textDir}}),y.showTooltip=function(e,n,i,o,r,a,s){return i&&(i=t.map(i,(function(t){return{after:"after-centered",before:"before-centered"}[t]||t}))),k._masterTT||(y._masterTT=k._masterTT=new v),k._masterTT.show(e,n,i,o,r,a,s)},y.hideTooltip=function(t){return k._masterTT&&k._masterTT.hide(t)};var b="DORMANT",x="SHOW TIMER",_="SHOWING",j="HIDE TIMER";function w(){}var k=e("dijit.Tooltip",f,{label:"",showDelay:400,hideDelay:400,connectId:[],position:[],selector:"",_setConnectIdAttr:function(e){t.forEach(this._connections||[],(function(e){t.forEach(e,(function(t){t.remove()}))}),this),this._connectIds=t.filter(s.isArrayLike(e)?e:e?[e]:[],(function(t){return i.byId(t,this.ownerDocument)}),this),this._connections=t.map(this._connectIds,(function(t){var e=i.byId(t,this.ownerDocument),n=this.selector,o=n?function(t){return c.selector(n,t)}:function(t){return t},r=this;return[c(e,o(l.enter),(function(){r._onHover(this)})),c(e,o("focusin"),(function(){r._onHover(this)})),c(e,o(l.leave),s.hitch(r,"_onUnHover")),c(e,o("focusout"),s.hitch(r,"set","state",b))]}),this),this._set("connectId",e)},addTarget:function(e){var n=e.id||e;-1==t.indexOf(this._connectIds,n)&&this.set("connectId",this._connectIds.concat(n))},removeTarget:function(e){var n=e.id||e,i=t.indexOf(this._connectIds,n);i>=0&&(this._connectIds.splice(i,1),this.set("connectId",this._connectIds))},buildRendering:function(){this.inherited(arguments),o.add(this.domNode,"dijitTooltipData")},startup:function(){this.inherited(arguments);var e=this.connectId;t.forEach(s.isArrayLike(e)?e:[e],this.addTarget,this)},getContent:function(t){return this.label||this.domNode.innerHTML},state:b,_setStateAttr:function(t){if(!(this.state==t||t==x&&this.state==_||t==j&&this.state==b)){switch(this._hideTimer&&(this._hideTimer.remove(),delete this._hideTimer),this._showTimer&&(this._showTimer.remove(),delete this._showTimer),t){case b:this._connectNode&&(k.hide(this._connectNode),delete this._connectNode,this.onHide());break;case x:this.state!=_&&(this._showTimer=this.defer((function(){this.set("state",_)}),this.showDelay));break;case _:var e=this.getContent(this._connectNode);if(!e)return void this.set("state",b);k.show(e,this._connectNode,this.position,!this.isLeftToRight(),this.textDir,s.hitch(this,"set","state",_),s.hitch(this,"set","state",j)),this.onShow(this._connectNode,this.position);break;case j:this._hideTimer=this.defer((function(){this.set("state",b)}),this.hideDelay)}this._set("state",t)}},_onHover:function(t){this._connectNode&&t!=this._connectNode&&this.set("state",b),this._connectNode=t,this.set("state",x)},_onUnHover:function(t){this.set("state",j)},open:function(t){this.set("state",b),this._connectNode=t,this.set("state",_)},close:function(){this.set("state",b)},onShow:function(){},onHide:function(){},destroy:function(){this.set("state",b),t.forEach(this._connections||[],(function(e){t.forEach(e,(function(t){t.remove()}))}),this),this.inherited(arguments)}});return k._MasterTooltip=v,k.show=y.showTooltip,k.hide=y.hideTooltip,k.defaultPosition=["after-centered","before-centered"],k}))},1912:function(t,e){require({cache:{"url:dijit/templates/Tooltip.html":'<div class="dijitTooltip dijitTooltipLeft" id="dojoTooltip" data-dojo-attach-event="mouseenter:onMouseEnter,mouseleave:onMouseLeave"\n\t><div class="dijitTooltipConnector" data-dojo-attach-point="connectorNode"></div\n\t><div class="dijitTooltipContainer dijitTooltipContents" data-dojo-attach-point="containerNode" role=\'alert\'></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/mouse","dojo/on","dojo/sniff","./_base/manager","./place","./_Widget","./_TemplatedMixin","./BackgroundIframe","dojo/text!./templates/Tooltip.html","./main"],(function(t,e,n,i,o,r,a,s,l,c,d,h,u,f,p,m,g,y){var v=e("dijit._MasterTooltip",[f,p],{duration:h.defaultDuration,templateString:g,postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode),this.bgIframe=new m(this.domNode),this.fadeIn=n.fadeIn({node:this.domNode,duration:this.duration,onEnd:s.hitch(this,"_onShow")}),this.fadeOut=n.fadeOut({node:this.domNode,duration:this.duration,onEnd:s.hitch(this,"_onHide")})},show:function(t,e,n,i,o,r,l){if(!this.aroundNode||this.aroundNode!==e||this.containerNode.innerHTML!=t)if("playing"!=this.fadeOut.status()){this.containerNode.innerHTML=t,o&&this.set("textDir",o),this.containerNode.align=i?"right":"left";var c=u.around(this.domNode,e,n&&n.length?n:k.defaultPosition,!i,s.hitch(this,"orient")),d=c.aroundNodePos;"M"==c.corner.charAt(0)&&"M"==c.aroundCorner.charAt(0)?(this.connectorNode.style.top=d.y+(d.h-this.connectorNode.offsetHeight>>1)-c.y+"px",this.connectorNode.style.left=""):"M"==c.corner.charAt(1)&&"M"==c.aroundCorner.charAt(1)?this.connectorNode.style.left=d.x+(d.w-this.connectorNode.offsetWidth>>1)-c.x+"px":(this.connectorNode.style.left="",this.connectorNode.style.top=""),a.set(this.domNode,"opacity",0),this.fadeIn.play(),this.isShowingNow=!0,this.aroundNode=e,this.onMouseEnter=r||w,this.onMouseLeave=l||w}else this._onDeck=arguments},orient:function(t,e,n,i,o){this.connectorNode.style.top="";var a=i.h,s=i.w;t.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"}[e+"-"+n],this.domNode.style.width="auto";var l=r.position(this.domNode);(d("ie")||d("trident"))&&(l.w+=2);var c=Math.min(Math.max(s,1),l.w);if(r.setMarginBox(this.domNode,{w:c}),"B"==n.charAt(0)&&"B"==e.charAt(0)){var h=r.position(t),u=this.connectorNode.offsetHeight;if(h.h>a){var f=a-(o.h+u>>1);this.connectorNode.style.top=f+"px",this.connectorNode.style.bottom=""}else this.connectorNode.style.bottom=Math.min(Math.max(o.h/2-u/2,0),h.h-u)+"px",this.connectorNode.style.top=""}else this.connectorNode.style.top="",this.connectorNode.style.bottom="";return Math.max(0,l.w-s)},_onShow:function(){d("ie")&&(this.domNode.style.filter="")},hide:function(t){this._onDeck&&this._onDeck[1]==t?this._onDeck=null:this.aroundNode===t&&(this.fadeIn.stop(),this.isShowingNow=!1,this.aroundNode=null,this.fadeOut.play()),this.onMouseEnter=this.onMouseLeave=w},_onHide:function(){this.domNode.style.cssText="",this.containerNode.innerHTML="",this._onDeck&&(this.show.apply(this,this._onDeck),this._onDeck=null)}});d("dojo-bidi")&&v.extend({_setAutoTextDir:function(e){this.applyTextDir(e),t.forEach(e.children,(function(t){this._setAutoTextDir(t)}),this)},_setTextDirAttr:function(t){this._set("textDir",t),"auto"==t?this._setAutoTextDir(this.containerNode):this.containerNode.dir=this.textDir}}),y.showTooltip=function(e,n,i,o,r,a,s){return i&&(i=t.map(i,(function(t){return{after:"after-centered",before:"before-centered"}[t]||t}))),k._masterTT||(y._masterTT=k._masterTT=new v),k._masterTT.show(e,n,i,o,r,a,s)},y.hideTooltip=function(t){return k._masterTT&&k._masterTT.hide(t)};var b="DORMANT",x="SHOW TIMER",_="SHOWING",j="HIDE TIMER";function w(){}var k=e("dijit.Tooltip",f,{label:"",showDelay:400,hideDelay:400,connectId:[],position:[],selector:"",_setConnectIdAttr:function(e){t.forEach(this._connections||[],(function(e){t.forEach(e,(function(t){t.remove()}))}),this),this._connectIds=t.filter(s.isArrayLike(e)?e:e?[e]:[],(function(t){return i.byId(t,this.ownerDocument)}),this),this._connections=t.map(this._connectIds,(function(t){var e=i.byId(t,this.ownerDocument),n=this.selector,o=n?function(t){return c.selector(n,t)}:function(t){return t},r=this;return[c(e,o(l.enter),(function(){r._onHover(this)})),c(e,o("focusin"),(function(){r._onHover(this)})),c(e,o(l.leave),s.hitch(r,"_onUnHover")),c(e,o("focusout"),s.hitch(r,"set","state",b))]}),this),this._set("connectId",e)},addTarget:function(e){var n=e.id||e;-1==t.indexOf(this._connectIds,n)&&this.set("connectId",this._connectIds.concat(n))},removeTarget:function(e){var n=e.id||e,i=t.indexOf(this._connectIds,n);i>=0&&(this._connectIds.splice(i,1),this.set("connectId",this._connectIds))},buildRendering:function(){this.inherited(arguments),o.add(this.domNode,"dijitTooltipData")},startup:function(){this.inherited(arguments);var e=this.connectId;t.forEach(s.isArrayLike(e)?e:[e],this.addTarget,this)},getContent:function(t){return this.label||this.domNode.innerHTML},state:b,_setStateAttr:function(t){if(!(this.state==t||t==x&&this.state==_||t==j&&this.state==b)){switch(this._hideTimer&&(this._hideTimer.remove(),delete this._hideTimer),this._showTimer&&(this._showTimer.remove(),delete this._showTimer),t){case b:this._connectNode&&(k.hide(this._connectNode),delete this._connectNode,this.onHide());break;case x:this.state!=_&&(this._showTimer=this.defer((function(){this.set("state",_)}),this.showDelay));break;case _:var e=this.getContent(this._connectNode);if(!e)return void this.set("state",b);k.show(e,this._connectNode,this.position,!this.isLeftToRight(),this.textDir,s.hitch(this,"set","state",_),s.hitch(this,"set","state",j)),this.onShow(this._connectNode,this.position);break;case j:this._hideTimer=this.defer((function(){this.set("state",b)}),this.hideDelay)}this._set("state",t)}},_onHover:function(t){this._connectNode&&t!=this._connectNode&&this.set("state",b),this._connectNode=t,this.set("state",x)},_onUnHover:function(t){this.set("state",j)},open:function(t){this.set("state",b),this._connectNode=t,this.set("state",_)},close:function(){this.set("state",b)},onShow:function(){},onHide:function(){},destroy:function(){this.set("state",b),t.forEach(this._connections||[],(function(e){t.forEach(e,(function(t){t.remove()}))}),this),this.inherited(arguments)}});return k._MasterTooltip=v,k.show=y.showTooltip,k.hide=y.hideTooltip,k.defaultPosition=["after-centered","before-centered"],k}))},672:function(t,e){define("dijit/Viewport",["dojo/Evented","dojo/on","dojo/domReady","dojo/sniff","dojo/window"],(function(t,e,n,i,o){var r,a=new t;return n((function(){var t=o.getBox();if(a._rlh=e(window,"resize",(function(){var e=o.getBox();t.h==e.h&&t.w==e.w||(t=e,a.emit("resize"))})),8==i("ie")){var n=screen.deviceXDPI;setInterval((function(){screen.deviceXDPI!=n&&(n=screen.deviceXDPI,a.emit("resize"))}),500)}i("ios")&&(e(document,"focusin",(function(t){r=t.target})),e(document,"focusout",(function(t){r=null})))})),a.getEffectiveBox=function(t){var e=o.getBox(t),n=r&&r.tagName&&r.tagName.toLowerCase();if(i("ios")&&r&&!r.readOnly&&("textarea"==n||"input"==n&&/^(color|email|number|password|search|tel|text|url)$/.test(r.type))){e.h*=0==orientation||180==orientation?.66:.4;var a=r.getBoundingClientRect();e.h=Math.max(e.h,a.top+a.height)}return e},a}))},9579:function(t,e){define("dijit/Viewport",["dojo/Evented","dojo/on","dojo/domReady","dojo/sniff","dojo/window"],(function(t,e,n,i,o){var r,a=new t;return n((function(){var t=o.getBox();if(a._rlh=e(window,"resize",(function(){var e=o.getBox();t.h==e.h&&t.w==e.w||(t=e,a.emit("resize"))})),8==i("ie")){var n=screen.deviceXDPI;setInterval((function(){screen.deviceXDPI!=n&&(n=screen.deviceXDPI,a.emit("resize"))}),500)}i("ios")&&(e(document,"focusin",(function(t){r=t.target})),e(document,"focusout",(function(t){r=null})))})),a.getEffectiveBox=function(t){var e=o.getBox(t),n=r&&r.tagName&&r.tagName.toLowerCase();if(i("ios")&&r&&!r.readOnly&&("textarea"==n||"input"==n&&/^(color|email|number|password|search|tel|text|url)$/.test(r.type))){e.h*=0==orientation||180==orientation?.66:.4;var a=r.getBoundingClientRect();e.h=Math.max(e.h,a.top+a.height)}return e},a}))},2952:function(t,e){define("dijit/WidgetSet",["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","./registry"],(function(t,e,n,i){var o=e("dijit.WidgetSet",null,{constructor:function(){this._hash={},this.length=0},add:function(t){if(this._hash[t.id])throw new Error("Tried to register widget with id=="+t.id+" but that id is already registered");this._hash[t.id]=t,this.length++},remove:function(t){this._hash[t]&&(delete this._hash[t],this.length--)},forEach:function(t,e){e=e||n.global;var i,o=0;for(i in this._hash)t.call(e,this._hash[i],o++,this._hash);return this},filter:function(t,e){e=e||n.global;var i,r=new o,a=0;for(i in this._hash){var s=this._hash[i];t.call(e,s,a++,this._hash)&&r.add(s)}return r},byId:function(t){return this._hash[t]},byClass:function(t){var e,n,i=new o;for(e in this._hash)(n=this._hash[e]).declaredClass==t&&i.add(n);return i},toArray:function(){var t=[];for(var e in this._hash)t.push(this._hash[e]);return t},map:function(e,n){return t.map(this.toArray(),e,n)},every:function(t,e){e=e||n.global;var i,o=0;for(i in this._hash)if(!t.call(e,this._hash[i],o++,this._hash))return!1;return!0},some:function(t,e){e=e||n.global;var i,o=0;for(i in this._hash)if(t.call(e,this._hash[i],o++,this._hash))return!0;return!1}});return t.forEach(["forEach","filter","byClass","map","every","some"],(function(t){i[t]=o.prototype[t]})),o}))},4147:function(t,e){define("dijit/WidgetSet",["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","./registry"],(function(t,e,n,i){var o=e("dijit.WidgetSet",null,{constructor:function(){this._hash={},this.length=0},add:function(t){if(this._hash[t.id])throw new Error("Tried to register widget with id=="+t.id+" but that id is already registered");this._hash[t.id]=t,this.length++},remove:function(t){this._hash[t]&&(delete this._hash[t],this.length--)},forEach:function(t,e){e=e||n.global;var i,o=0;for(i in this._hash)t.call(e,this._hash[i],o++,this._hash);return this},filter:function(t,e){e=e||n.global;var i,r=new o,a=0;for(i in this._hash){var s=this._hash[i];t.call(e,s,a++,this._hash)&&r.add(s)}return r},byId:function(t){return this._hash[t]},byClass:function(t){var e,n,i=new o;for(e in this._hash)(n=this._hash[e]).declaredClass==t&&i.add(n);return i},toArray:function(){var t=[];for(var e in this._hash)t.push(this._hash[e]);return t},map:function(e,n){return t.map(this.toArray(),e,n)},every:function(t,e){e=e||n.global;var i,o=0;for(i in this._hash)if(!t.call(e,this._hash[i],o++,this._hash))return!1;return!0},some:function(t,e){e=e||n.global;var i,o=0;for(i in this._hash)if(t.call(e,this._hash[i],o++,this._hash))return!0;return!1}});return t.forEach(["forEach","filter","byClass","map","every","some"],(function(t){i[t]=o.prototype[t]})),o}))},2827:function(t,e){define("dijit/_AttachMixin",["require","dojo/_base/array","dojo/_base/connect","dojo/_base/declare","dojo/_base/lang","dojo/mouse","dojo/on","dojo/touch","./_WidgetBase"],(function(t,e,n,i,o,r,a,s,l){var c,d=o.delegate(s,{mouseenter:r.enter,mouseleave:r.leave,keypress:n._keypress}),h=i("dijit._AttachMixin",null,{constructor:function(){this._attachPoints=[],this._attachEvents=[]},buildRendering:function(){this.inherited(arguments),this._attachTemplateNodes(this.domNode),this._beforeFillContent()},_beforeFillContent:function(){},_attachTemplateNodes:function(t){for(var e=t;;)if(1==e.nodeType&&(this._processTemplateNode(e,(function(t,e){return t.getAttribute(e)}),this._attach)||this.searchContainerNode)&&e.firstChild)e=e.firstChild;else{if(e==t)return;for(;!e.nextSibling;)if((e=e.parentNode)==t)return;e=e.nextSibling}},_processTemplateNode:function(t,e,n){var i=!0,r=this.attachScope||this,a=e(t,"dojoAttachPoint")||e(t,"data-dojo-attach-point");if(a)for(var s,l=a.split(/\s*,\s*/);s=l.shift();)o.isArray(r[s])?r[s].push(t):r[s]=t,i="containerNode"!=s,this._attachPoints.push(s);var c=e(t,"dojoAttachEvent")||e(t,"data-dojo-attach-event");if(c)for(var d,h=c.split(/\s*,\s*/),u=o.trim;d=h.shift();)if(d){var f=null;if(-1!=d.indexOf(":")){var p=d.split(":");d=u(p[0]),f=u(p[1])}else d=u(d);f||(f=d),this._attachEvents.push(n(t,d,o.hitch(r,f)))}return i},_attach:function(e,n,i){return n="dijitclick"==(n=n.replace(/^on/,"").toLowerCase())?c||(c=t("./a11yclick")):d[n]||n,a(e,n,i)},_detachTemplateNodes:function(){var t=this.attachScope||this;e.forEach(this._attachPoints,(function(e){delete t[e]})),this._attachPoints=[],e.forEach(this._attachEvents,(function(t){t.remove()})),this._attachEvents=[]},destroyRendering:function(){this._detachTemplateNodes(),this.inherited(arguments)}});return o.extend(l,{dojoAttachEvent:"",dojoAttachPoint:""}),h}))},3004:function(t,e){define("dijit/_AttachMixin",["require","dojo/_base/array","dojo/_base/connect","dojo/_base/declare","dojo/_base/lang","dojo/mouse","dojo/on","dojo/touch","./_WidgetBase"],(function(t,e,n,i,o,r,a,s,l){var c,d=o.delegate(s,{mouseenter:r.enter,mouseleave:r.leave,keypress:n._keypress}),h=i("dijit._AttachMixin",null,{constructor:function(){this._attachPoints=[],this._attachEvents=[]},buildRendering:function(){this.inherited(arguments),this._attachTemplateNodes(this.domNode),this._beforeFillContent()},_beforeFillContent:function(){},_attachTemplateNodes:function(t){for(var e=t;;)if(1==e.nodeType&&(this._processTemplateNode(e,(function(t,e){return t.getAttribute(e)}),this._attach)||this.searchContainerNode)&&e.firstChild)e=e.firstChild;else{if(e==t)return;for(;!e.nextSibling;)if((e=e.parentNode)==t)return;e=e.nextSibling}},_processTemplateNode:function(t,e,n){var i=!0,r=this.attachScope||this,a=e(t,"dojoAttachPoint")||e(t,"data-dojo-attach-point");if(a)for(var s,l=a.split(/\s*,\s*/);s=l.shift();)o.isArray(r[s])?r[s].push(t):r[s]=t,i="containerNode"!=s,this._attachPoints.push(s);var c=e(t,"dojoAttachEvent")||e(t,"data-dojo-attach-event");if(c)for(var d,h=c.split(/\s*,\s*/),u=o.trim;d=h.shift();)if(d){var f=null;if(-1!=d.indexOf(":")){var p=d.split(":");d=u(p[0]),f=u(p[1])}else d=u(d);f||(f=d),this._attachEvents.push(n(t,d,o.hitch(r,f)))}return i},_attach:function(e,n,i){return n="dijitclick"==(n=n.replace(/^on/,"").toLowerCase())?c||(c=t("./a11yclick")):d[n]||n,a(e,n,i)},_detachTemplateNodes:function(){var t=this.attachScope||this;e.forEach(this._attachPoints,(function(e){delete t[e]})),this._attachPoints=[],e.forEach(this._attachEvents,(function(t){t.remove()})),this._attachEvents=[]},destroyRendering:function(){this._detachTemplateNodes(),this.inherited(arguments)}});return o.extend(l,{dojoAttachEvent:"",dojoAttachPoint:""}),h}))},3304:function(t,e){define("dijit/_Contained",["dojo/_base/declare","./registry"],(function(t,e){return t("dijit._Contained",null,{_getSibling:function(t){var e=this.getParent();return e&&e._getSiblingOfChild&&e._getSiblingOfChild(this,"previous"==t?-1:1)||null},getPreviousSibling:function(){return this._getSibling("previous")},getNextSibling:function(){return this._getSibling("next")},getIndexInParent:function(){var t=this.getParent();return t&&t.getIndexOfChild?t.getIndexOfChild(this):-1}})}))},5587:function(t,e){define("dijit/_Contained",["dojo/_base/declare","./registry"],(function(t,e){return t("dijit._Contained",null,{_getSibling:function(t){var e=this.getParent();return e&&e._getSiblingOfChild&&e._getSiblingOfChild(this,"previous"==t?-1:1)||null},getPreviousSibling:function(){return this._getSibling("previous")},getNextSibling:function(){return this._getSibling("next")},getIndexInParent:function(){var t=this.getParent();return t&&t.getIndexOfChild?t.getIndexOfChild(this):-1}})}))},3502:function(t,e){define("dijit/_Container",["dojo/_base/array","dojo/_base/declare","dojo/dom-construct","dojo/_base/kernel"],(function(t,e,n,i){return e("dijit._Container",null,{buildRendering:function(){this.inherited(arguments),this.containerNode||(this.containerNode=this.domNode)},addChild:function(t,e){var i=this.containerNode;if(e>0){for(i=i.firstChild;e>0;)1==i.nodeType&&e--,i=i.nextSibling;i?e="before":(i=this.containerNode,e="last")}n.place(t.domNode,i,e),this._started&&!t._started&&t.startup()},removeChild:function(t){if("number"==typeof t&&(t=this.getChildren()[t]),t){var e=t.domNode;e&&e.parentNode&&e.parentNode.removeChild(e)}},hasChildren:function(){return this.getChildren().length>0},_getSiblingOfChild:function(e,n){var i=this.getChildren();return i[t.indexOf(i,e)+n]},getIndexOfChild:function(e){return t.indexOf(this.getChildren(),e)}})}))},5257:function(t,e){define("dijit/_Container",["dojo/_base/array","dojo/_base/declare","dojo/dom-construct","dojo/_base/kernel"],(function(t,e,n,i){return e("dijit._Container",null,{buildRendering:function(){this.inherited(arguments),this.containerNode||(this.containerNode=this.domNode)},addChild:function(t,e){var i=this.containerNode;if(e>0){for(i=i.firstChild;e>0;)1==i.nodeType&&e--,i=i.nextSibling;i?e="before":(i=this.containerNode,e="last")}n.place(t.domNode,i,e),this._started&&!t._started&&t.startup()},removeChild:function(t){if("number"==typeof t&&(t=this.getChildren()[t]),t){var e=t.domNode;e&&e.parentNode&&e.parentNode.removeChild(e)}},hasChildren:function(){return this.getChildren().length>0},_getSiblingOfChild:function(e,n){var i=this.getChildren();return i[t.indexOf(i,e)+n]},getIndexOfChild:function(e){return t.indexOf(this.getChildren(),e)}})}))},1604:function(t,e){define("dijit/_CssStateMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/dom-class","dojo/has","dojo/_base/lang","dojo/on","dojo/domReady","dojo/touch","dojo/_base/window","./a11yclick","./registry"],(function(t,e,n,i,o,r,a,s,l,c,d,h){var u=e("dijit._CssStateMixin",[],{hovering:!1,active:!1,_applyAttributes:function(){for(var e in this.inherited(arguments),t.forEach(["disabled","readOnly","checked","selected","focused","state","hovering","active","_opened"],(function(t){this.watch(t,r.hitch(this,"_setStateClass"))}),this),this.cssStateNodes||{})this._trackMouseState(this[e],this.cssStateNodes[e]);this._trackMouseState(this.domNode,this.baseClass),this._setStateClass()},_cssMouseEvent:function(t){if(!this.disabled)switch(t.type){case"mouseover":case"MSPointerOver":case"pointerover":this._set("hovering",!0),this._set("active",this._mouseDown);break;case"mouseout":case"MSPointerOut":case"pointerout":this._set("hovering",!1),this._set("active",!1);break;case"mousedown":case"touchstart":case"MSPointerDown":case"pointerdown":case"keydown":this._set("active",!0);break;case"mouseup":case"dojotouchend":case"MSPointerUp":case"pointerup":case"keyup":this._set("active",!1)}},_setStateClass:function(){var e=this.baseClass.split(" ");function n(n){e=e.concat(t.map(e,(function(t){return t+n})),"dijit"+n)}this.isLeftToRight()||n("Rtl");var i="mixed"==this.checked?"Mixed":this.checked?"Checked":"";this.checked&&n(i),this.state&&n(this.state),this.selected&&n("Selected"),this._opened&&n("Opened"),this.disabled?n("Disabled"):this.readOnly?n("ReadOnly"):this.active?n("Active"):this.hovering&&n("Hover"),this.focused&&n("Focused");var o=this.stateNode||this.domNode,r={};t.forEach(o.className.split(" "),(function(t){r[t]=!0})),"_stateClasses"in this&&t.forEach(this._stateClasses,(function(t){delete r[t]})),t.forEach(e,(function(t){r[t]=!0}));var a=[];for(var s in r)a.push(s);o.className=a.join(" "),this._stateClasses=e},_subnodeCssMouseEvent:function(t,e,n){if(!this.disabled&&!this.readOnly)switch(n.type){case"mouseover":case"MSPointerOver":case"pointerover":o(!0);break;case"mouseout":case"MSPointerOut":case"pointerout":o(!1),r(!1);break;case"mousedown":case"touchstart":case"MSPointerDown":case"pointerdown":case"keydown":r(!0);break;case"mouseup":case"MSPointerUp":case"pointerup":case"dojotouchend":case"keyup":r(!1);break;case"focus":case"focusin":a(!0);break;case"blur":case"focusout":a(!1)}function o(n){i.toggle(t,e+"Hover",n)}function r(n){i.toggle(t,e+"Active",n)}function a(n){i.toggle(t,e+"Focused",n)}},_trackMouseState:function(t,e){t._cssState=e}});return s((function(){function t(t,e,i){if(!i||!n.isDescendant(i,e))for(var o=e;o&&o!=i;o=o.parentNode)if(o._cssState){var r=h.getEnclosingWidget(o);r&&(o==r.domNode?r._cssMouseEvent(t):r._subnodeCssMouseEvent(o,o._cssState,t))}}var e,i=c.body();a(i,l.over,(function(e){t(e,e.target,e.relatedTarget)})),a(i,l.out,(function(e){t(e,e.target,e.relatedTarget)})),a(i,d.press,(function(n){t(n,e=n.target)})),a(i,d.release,(function(n){t(n,e),e=null})),a(i,"focusin, focusout",(function(t){var e=t.target;if(e._cssState&&!e.getAttribute("widgetId")){var n=h.getEnclosingWidget(e);n&&n._subnodeCssMouseEvent(e,e._cssState,t)}}))})),u}))},5591:function(t,e){define("dijit/_CssStateMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/dom-class","dojo/has","dojo/_base/lang","dojo/on","dojo/domReady","dojo/touch","dojo/_base/window","./a11yclick","./registry"],(function(t,e,n,i,o,r,a,s,l,c,d,h){var u=e("dijit._CssStateMixin",[],{hovering:!1,active:!1,_applyAttributes:function(){for(var e in this.inherited(arguments),t.forEach(["disabled","readOnly","checked","selected","focused","state","hovering","active","_opened"],(function(t){this.watch(t,r.hitch(this,"_setStateClass"))}),this),this.cssStateNodes||{})this._trackMouseState(this[e],this.cssStateNodes[e]);this._trackMouseState(this.domNode,this.baseClass),this._setStateClass()},_cssMouseEvent:function(t){if(!this.disabled)switch(t.type){case"mouseover":case"MSPointerOver":case"pointerover":this._set("hovering",!0),this._set("active",this._mouseDown);break;case"mouseout":case"MSPointerOut":case"pointerout":this._set("hovering",!1),this._set("active",!1);break;case"mousedown":case"touchstart":case"MSPointerDown":case"pointerdown":case"keydown":this._set("active",!0);break;case"mouseup":case"dojotouchend":case"MSPointerUp":case"pointerup":case"keyup":this._set("active",!1)}},_setStateClass:function(){var e=this.baseClass.split(" ");function n(n){e=e.concat(t.map(e,(function(t){return t+n})),"dijit"+n)}this.isLeftToRight()||n("Rtl");var i="mixed"==this.checked?"Mixed":this.checked?"Checked":"";this.checked&&n(i),this.state&&n(this.state),this.selected&&n("Selected"),this._opened&&n("Opened"),this.disabled?n("Disabled"):this.readOnly?n("ReadOnly"):this.active?n("Active"):this.hovering&&n("Hover"),this.focused&&n("Focused");var o=this.stateNode||this.domNode,r={};t.forEach(o.className.split(" "),(function(t){r[t]=!0})),"_stateClasses"in this&&t.forEach(this._stateClasses,(function(t){delete r[t]})),t.forEach(e,(function(t){r[t]=!0}));var a=[];for(var s in r)a.push(s);o.className=a.join(" "),this._stateClasses=e},_subnodeCssMouseEvent:function(t,e,n){if(!this.disabled&&!this.readOnly)switch(n.type){case"mouseover":case"MSPointerOver":case"pointerover":o(!0);break;case"mouseout":case"MSPointerOut":case"pointerout":o(!1),r(!1);break;case"mousedown":case"touchstart":case"MSPointerDown":case"pointerdown":case"keydown":r(!0);break;case"mouseup":case"MSPointerUp":case"pointerup":case"dojotouchend":case"keyup":r(!1);break;case"focus":case"focusin":a(!0);break;case"blur":case"focusout":a(!1)}function o(n){i.toggle(t,e+"Hover",n)}function r(n){i.toggle(t,e+"Active",n)}function a(n){i.toggle(t,e+"Focused",n)}},_trackMouseState:function(t,e){t._cssState=e}});return s((function(){function t(t,e,i){if(!i||!n.isDescendant(i,e))for(var o=e;o&&o!=i;o=o.parentNode)if(o._cssState){var r=h.getEnclosingWidget(o);r&&(o==r.domNode?r._cssMouseEvent(t):r._subnodeCssMouseEvent(o,o._cssState,t))}}var e,i=c.body();a(i,l.over,(function(e){t(e,e.target,e.relatedTarget)})),a(i,l.out,(function(e){t(e,e.target,e.relatedTarget)})),a(i,d.press,(function(n){t(n,e=n.target)})),a(i,d.release,(function(n){t(n,e),e=null})),a(i,"focusin, focusout",(function(t){var e=t.target;if(e._cssState&&!e.getAttribute("widgetId")){var n=h.getEnclosingWidget(e);n&&n._subnodeCssMouseEvent(e,e._cssState,t)}}))})),u}))},32:function(t,e){define("dijit/_FocusMixin",["./focus","./_WidgetBase","dojo/_base/declare","dojo/_base/lang"],(function(t,e,n,i){return i.extend(e,{focused:!1,onFocus:function(){},onBlur:function(){},_onFocus:function(){this.onFocus()},_onBlur:function(){this.onBlur()}}),n("dijit._FocusMixin",null,{_focusManager:t})}))},7451:function(t,e){define("dijit/_FocusMixin",["./focus","./_WidgetBase","dojo/_base/declare","dojo/_base/lang"],(function(t,e,n,i){return i.extend(e,{focused:!1,onFocus:function(){},onBlur:function(){},_onFocus:function(){this.onFocus()},_onBlur:function(){this.onBlur()}}),n("dijit._FocusMixin",null,{_focusManager:t})}))},1588:function(t,e){define("dijit/_HasDropDown",["dojo/_base/declare","dojo/_base/Deferred","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/has","dojo/keys","dojo/_base/lang","dojo/on","dojo/touch","./registry","./focus","./popup","./_FocusMixin"],(function(t,e,n,i,o,r,a,s,l,c,d,h,u,f,p,m){return t("dijit._HasDropDown",m,{_buttonNode:null,_arrowWrapperNode:null,_popupStateNode:null,_aroundNode:null,dropDown:null,autoWidth:!0,forceWidth:!1,maxHeight:-1,dropDownPosition:["below","above"],_stopClickEvents:!0,_onDropDownMouseDown:function(t){this.disabled||this.readOnly||("MSPointerDown"!=t.type&&t.preventDefault(),this.own(d.once(this.ownerDocument,h.release,c.hitch(this,"_onDropDownMouseUp"))),this.toggleDropDown())},_onDropDownMouseUp:function(t){var e=this.dropDown,n=!1;if(t&&this._opened){var i=r.position(this._buttonNode,!0);if(!(t.pageX>=i.x&&t.pageX<=i.x+i.w&&t.pageY>=i.y&&t.pageY<=i.y+i.h)){for(var a=t.target;a&&!n;)o.contains(a,"dijitPopup")?n=!0:a=a.parentNode;if(n){if(a=t.target,e.onItemClick){for(var s;a&&!(s=u.byNode(a));)a=a.parentNode;s&&s.onClick&&s.getParent&&s.getParent().onItemClick(s,t)}return}}}this._opened?e.focus&&(!1!==e.autoFocus||"mouseup"==t.type&&!this.hovering)&&(this._focusDropDownTimer=this.defer((function(){e.focus(),delete this._focusDropDownTimer}))):this.focus&&this.defer("focus")},_onDropDownClick:function(t){this._stopClickEvents&&(t.stopPropagation(),t.preventDefault())},buildRendering:function(){this.inherited(arguments),this._buttonNode=this._buttonNode||this.focusNode||this.domNode,this._popupStateNode=this._popupStateNode||this.focusNode||this._buttonNode;var t={after:this.isLeftToRight()?"Right":"Left",before:this.isLeftToRight()?"Left":"Right",above:"Up",below:"Down",left:"Left",right:"Right"}[this.dropDownPosition[0]]||this.dropDownPosition[0]||"Down";o.add(this._arrowWrapperNode||this._buttonNode,"dijit"+t+"ArrowButton")},postCreate:function(){this.inherited(arguments);var t=this.focusNode||this.domNode;this.own(d(this._buttonNode,h.press,c.hitch(this,"_onDropDownMouseDown")),d(this._buttonNode,"click",c.hitch(this,"_onDropDownClick")),d(t,"keydown",c.hitch(this,"_onKey")),d(t,"keyup",c.hitch(this,"_onKeyUp")))},destroy:function(){this._opened&&this.closeDropDown(!0),this.dropDown&&(this.dropDown._destroyed||this.dropDown.destroyRecursive(),delete this.dropDown),this.inherited(arguments)},_onKey:function(t){if(!this.disabled&&!this.readOnly){var e=this.dropDown,n=t.target;if(e&&this._opened&&e.handleKey&&!1===e.handleKey(t))return t.stopPropagation(),void t.preventDefault();e&&this._opened&&t.keyCode==l.ESCAPE?(this.closeDropDown(),t.stopPropagation(),t.preventDefault()):!this._opened&&(t.keyCode==l.DOWN_ARROW||(t.keyCode==l.ENTER||t.keyCode==l.SPACE&&(!this._searchTimer||t.ctrlKey||t.altKey||t.metaKey))&&("input"!==(n.tagName||"").toLowerCase()||n.type&&"text"!==n.type.toLowerCase()))&&(this._toggleOnKeyUp=!0,t.stopPropagation(),t.preventDefault())}},_onKeyUp:function(){if(this._toggleOnKeyUp){delete this._toggleOnKeyUp,this.toggleDropDown();var t=this.dropDown;t&&t.focus&&this.defer(c.hitch(t,"focus"),1)}},_onBlur:function(){this.closeDropDown(!1),this.inherited(arguments)},isLoaded:function(){return!0},loadDropDown:function(t){t()},loadAndOpenDropDown:function(){var t=new e,n=c.hitch(this,(function(){this.openDropDown(),t.resolve(this.dropDown)}));return this.isLoaded()?n():this.loadDropDown(n),t},toggleDropDown:function(){this.disabled||this.readOnly||(this._opened?this.closeDropDown(!0):this.loadAndOpenDropDown())},openDropDown:function(){var t=this.dropDown,e=t.domNode,n=this._aroundNode||this.domNode,a=this,s=p.open({parent:this,popup:t,around:n,orient:this.dropDownPosition,maxHeight:this.maxHeight,onExecute:function(){a.closeDropDown(!0)},onCancel:function(){a.closeDropDown(!0)},onClose:function(){i.set(a._popupStateNode,"popupActive",!1),o.remove(a._popupStateNode,"dijitHasDropDownOpen"),a._set("_opened",!1)}});if(this.forceWidth||this.autoWidth&&n.offsetWidth>t._popupWrapper.offsetWidth){var l=n.offsetWidth-t._popupWrapper.offsetWidth,d={w:t.domNode.offsetWidth+l};this._origStyle=e.style.cssText,c.isFunction(t.resize)?t.resize(d):r.setMarginBox(e,d),"R"==s.corner[1]&&(t._popupWrapper.style.left=t._popupWrapper.style.left.replace("px","")-l+"px")}return i.set(this._popupStateNode,"popupActive","true"),o.add(this._popupStateNode,"dijitHasDropDownOpen"),this._set("_opened",!0),this._popupStateNode.setAttribute("aria-expanded","true"),this._popupStateNode.setAttribute("aria-owns",t.id),"presentation"===e.getAttribute("role")||e.getAttribute("aria-labelledby")||e.setAttribute("aria-labelledby",this.id),s},closeDropDown:function(t){this._focusDropDownTimer&&(this._focusDropDownTimer.remove(),delete this._focusDropDownTimer),this._opened&&(this._popupStateNode.setAttribute("aria-expanded","false"),t&&this.focus&&this.focus(),p.close(this.dropDown),this._opened=!1),this._origStyle&&(this.dropDown.domNode.style.cssText=this._origStyle,delete this._origStyle)}})}))},1719:function(t,e){define("dijit/_HasDropDown",["dojo/_base/declare","dojo/_base/Deferred","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/has","dojo/keys","dojo/_base/lang","dojo/on","dojo/touch","./registry","./focus","./popup","./_FocusMixin"],(function(t,e,n,i,o,r,a,s,l,c,d,h,u,f,p,m){return t("dijit._HasDropDown",m,{_buttonNode:null,_arrowWrapperNode:null,_popupStateNode:null,_aroundNode:null,dropDown:null,autoWidth:!0,forceWidth:!1,maxHeight:-1,dropDownPosition:["below","above"],_stopClickEvents:!0,_onDropDownMouseDown:function(t){this.disabled||this.readOnly||("MSPointerDown"!=t.type&&t.preventDefault(),this.own(d.once(this.ownerDocument,h.release,c.hitch(this,"_onDropDownMouseUp"))),this.toggleDropDown())},_onDropDownMouseUp:function(t){var e=this.dropDown,n=!1;if(t&&this._opened){var i=r.position(this._buttonNode,!0);if(!(t.pageX>=i.x&&t.pageX<=i.x+i.w&&t.pageY>=i.y&&t.pageY<=i.y+i.h)){for(var a=t.target;a&&!n;)o.contains(a,"dijitPopup")?n=!0:a=a.parentNode;if(n){if(a=t.target,e.onItemClick){for(var s;a&&!(s=u.byNode(a));)a=a.parentNode;s&&s.onClick&&s.getParent&&s.getParent().onItemClick(s,t)}return}}}this._opened?e.focus&&(!1!==e.autoFocus||"mouseup"==t.type&&!this.hovering)&&(this._focusDropDownTimer=this.defer((function(){e.focus(),delete this._focusDropDownTimer}))):this.focus&&this.defer("focus")},_onDropDownClick:function(t){this._stopClickEvents&&(t.stopPropagation(),t.preventDefault())},buildRendering:function(){this.inherited(arguments),this._buttonNode=this._buttonNode||this.focusNode||this.domNode,this._popupStateNode=this._popupStateNode||this.focusNode||this._buttonNode;var t={after:this.isLeftToRight()?"Right":"Left",before:this.isLeftToRight()?"Left":"Right",above:"Up",below:"Down",left:"Left",right:"Right"}[this.dropDownPosition[0]]||this.dropDownPosition[0]||"Down";o.add(this._arrowWrapperNode||this._buttonNode,"dijit"+t+"ArrowButton")},postCreate:function(){this.inherited(arguments);var t=this.focusNode||this.domNode;this.own(d(this._buttonNode,h.press,c.hitch(this,"_onDropDownMouseDown")),d(this._buttonNode,"click",c.hitch(this,"_onDropDownClick")),d(t,"keydown",c.hitch(this,"_onKey")),d(t,"keyup",c.hitch(this,"_onKeyUp")))},destroy:function(){this._opened&&this.closeDropDown(!0),this.dropDown&&(this.dropDown._destroyed||this.dropDown.destroyRecursive(),delete this.dropDown),this.inherited(arguments)},_onKey:function(t){if(!this.disabled&&!this.readOnly){var e=this.dropDown,n=t.target;if(e&&this._opened&&e.handleKey&&!1===e.handleKey(t))return t.stopPropagation(),void t.preventDefault();e&&this._opened&&t.keyCode==l.ESCAPE?(this.closeDropDown(),t.stopPropagation(),t.preventDefault()):!this._opened&&(t.keyCode==l.DOWN_ARROW||(t.keyCode==l.ENTER||t.keyCode==l.SPACE&&(!this._searchTimer||t.ctrlKey||t.altKey||t.metaKey))&&("input"!==(n.tagName||"").toLowerCase()||n.type&&"text"!==n.type.toLowerCase()))&&(this._toggleOnKeyUp=!0,t.stopPropagation(),t.preventDefault())}},_onKeyUp:function(){if(this._toggleOnKeyUp){delete this._toggleOnKeyUp,this.toggleDropDown();var t=this.dropDown;t&&t.focus&&this.defer(c.hitch(t,"focus"),1)}},_onBlur:function(){this.closeDropDown(!1),this.inherited(arguments)},isLoaded:function(){return!0},loadDropDown:function(t){t()},loadAndOpenDropDown:function(){var t=new e,n=c.hitch(this,(function(){this.openDropDown(),t.resolve(this.dropDown)}));return this.isLoaded()?n():this.loadDropDown(n),t},toggleDropDown:function(){this.disabled||this.readOnly||(this._opened?this.closeDropDown(!0):this.loadAndOpenDropDown())},openDropDown:function(){var t=this.dropDown,e=t.domNode,n=this._aroundNode||this.domNode,a=this,s=p.open({parent:this,popup:t,around:n,orient:this.dropDownPosition,maxHeight:this.maxHeight,onExecute:function(){a.closeDropDown(!0)},onCancel:function(){a.closeDropDown(!0)},onClose:function(){i.set(a._popupStateNode,"popupActive",!1),o.remove(a._popupStateNode,"dijitHasDropDownOpen"),a._set("_opened",!1)}});if(this.forceWidth||this.autoWidth&&n.offsetWidth>t._popupWrapper.offsetWidth){var l=n.offsetWidth-t._popupWrapper.offsetWidth,d={w:t.domNode.offsetWidth+l};this._origStyle=e.style.cssText,c.isFunction(t.resize)?t.resize(d):r.setMarginBox(e,d),"R"==s.corner[1]&&(t._popupWrapper.style.left=t._popupWrapper.style.left.replace("px","")-l+"px")}return i.set(this._popupStateNode,"popupActive","true"),o.add(this._popupStateNode,"dijitHasDropDownOpen"),this._set("_opened",!0),this._popupStateNode.setAttribute("aria-expanded","true"),this._popupStateNode.setAttribute("aria-owns",t.id),"presentation"===e.getAttribute("role")||e.getAttribute("aria-labelledby")||e.setAttribute("aria-labelledby",this.id),s},closeDropDown:function(t){this._focusDropDownTimer&&(this._focusDropDownTimer.remove(),delete this._focusDropDownTimer),this._opened&&(this._popupStateNode.setAttribute("aria-expanded","false"),t&&this.focus&&this.focus(),p.close(this.dropDown),this._opened=!1),this._origStyle&&(this.dropDown.domNode.style.cssText=this._origStyle,delete this._origStyle)}})}))},4645:function(t,e){define("dijit/_OnDijitClickMixin",["dojo/on","dojo/_base/array","dojo/keys","dojo/_base/declare","dojo/has","./a11yclick"],(function(t,e,n,i,o,r){var a=i("dijit._OnDijitClickMixin",null,{connect:function(t,e,n){return this.inherited(arguments,[t,"ondijitclick"==e?r:e,n])}});return a.a11yclick=r,a}))},9126:function(t,e){define("dijit/_OnDijitClickMixin",["dojo/on","dojo/_base/array","dojo/keys","dojo/_base/declare","dojo/has","./a11yclick"],(function(t,e,n,i,o,r){var a=i("dijit._OnDijitClickMixin",null,{connect:function(t,e,n){return this.inherited(arguments,[t,"ondijitclick"==e?r:e,n])}});return a.a11yclick=r,a}))},5702:function(t,e){define("dijit/_TemplatedMixin",["dojo/cache","dojo/_base/declare","dojo/dom-construct","dojo/_base/lang","dojo/on","dojo/sniff","dojo/string","./_AttachMixin"],(function(t,e,n,i,o,r,a,s){var l=e("dijit._TemplatedMixin",s,{templateString:null,templatePath:null,_skipNodeCache:!1,searchContainerNode:!0,_stringRepl:function(t){var e=this.declaredClass,n=this;return a.substitute(t,this,(function(t,o){if("!"==o.charAt(0)&&(t=i.getObject(o.substr(1),!1,n)),void 0===t)throw new Error(e+" template:"+o);return null==t?"":"!"==o.charAt(0)?t:this._escapeValue(""+t)}),this)},_escapeValue:function(t){return t.replace(/["'<>&]/g,(function(t){return{"&":"&","<":"<",">":">",'"':""","'":"'"}[t]}))},buildRendering:function(){if(!this._rendered){this.templateString||(this.templateString=t(this.templatePath,{sanitize:!0}));var e,o=l.getCachedTemplate(this.templateString,this._skipNodeCache,this.ownerDocument);if(i.isString(o)){if(1!=(e=n.toDom(this._stringRepl(o),this.ownerDocument)).nodeType)throw new Error("Invalid template: "+o)}else e=o.cloneNode(!0);this.domNode=e}this.inherited(arguments),this._rendered||this._fillContent(this.srcNodeRef),this._rendered=!0},_fillContent:function(t){var e=this.containerNode;if(t&&e)for(;t.hasChildNodes();)e.appendChild(t.firstChild)}});return l._templateCache={},l.getCachedTemplate=function(t,e,i){var o=l._templateCache,r=t,s=o[r];if(s){try{if(!s.ownerDocument||s.ownerDocument==(i||document))return s}catch(t){}n.destroy(s)}if(t=a.trim(t),e||t.match(/\$\{([^\}]+)\}/g))return o[r]=t;var c=n.toDom(t,i);if(1!=c.nodeType)throw new Error("Invalid template: "+t);return o[r]=c},r("ie")&&o(window,"unload",(function(){var t=l._templateCache;for(var e in t){var i=t[e];"object"==typeof i&&n.destroy(i),delete t[e]}})),l}))},4737:function(t,e){define("dijit/_TemplatedMixin",["dojo/cache","dojo/_base/declare","dojo/dom-construct","dojo/_base/lang","dojo/on","dojo/sniff","dojo/string","./_AttachMixin"],(function(t,e,n,i,o,r,a,s){var l=e("dijit._TemplatedMixin",s,{templateString:null,templatePath:null,_skipNodeCache:!1,searchContainerNode:!0,_stringRepl:function(t){var e=this.declaredClass,n=this;return a.substitute(t,this,(function(t,o){if("!"==o.charAt(0)&&(t=i.getObject(o.substr(1),!1,n)),void 0===t)throw new Error(e+" template:"+o);return null==t?"":"!"==o.charAt(0)?t:this._escapeValue(""+t)}),this)},_escapeValue:function(t){return t.replace(/["'<>&]/g,(function(t){return{"&":"&","<":"<",">":">",'"':""","'":"'"}[t]}))},buildRendering:function(){if(!this._rendered){this.templateString||(this.templateString=t(this.templatePath,{sanitize:!0}));var e,o=l.getCachedTemplate(this.templateString,this._skipNodeCache,this.ownerDocument);if(i.isString(o)){if(1!=(e=n.toDom(this._stringRepl(o),this.ownerDocument)).nodeType)throw new Error("Invalid template: "+o)}else e=o.cloneNode(!0);this.domNode=e}this.inherited(arguments),this._rendered||this._fillContent(this.srcNodeRef),this._rendered=!0},_fillContent:function(t){var e=this.containerNode;if(t&&e)for(;t.hasChildNodes();)e.appendChild(t.firstChild)}});return l._templateCache={},l.getCachedTemplate=function(t,e,i){var o=l._templateCache,r=t,s=o[r];if(s){try{if(!s.ownerDocument||s.ownerDocument==(i||document))return s}catch(t){}n.destroy(s)}if(t=a.trim(t),e||t.match(/\$\{([^\}]+)\}/g))return o[r]=t;var c=n.toDom(t,i);if(1!=c.nodeType)throw new Error("Invalid template: "+t);return o[r]=c},r("ie")&&o(window,"unload",(function(){var t=l._templateCache;for(var e in t){var i=t[e];"object"==typeof i&&n.destroy(i),delete t[e]}})),l}))},6893:function(t,e){define("dijit/_Widget",["dojo/aspect","dojo/_base/config","dojo/_base/connect","dojo/_base/declare","dojo/has","dojo/_base/kernel","dojo/_base/lang","dojo/query","dojo/ready","./registry","./_WidgetBase","./_OnDijitClickMixin","./_FocusMixin","dojo/uacss","./hccss"],(function(t,e,n,i,o,r,a,s,l,c,d,h,u){function f(){}function p(t){return function(e,i,o,r){return e&&"string"==typeof i&&e[i]==f?e.on(i.substring(2).toLowerCase(),a.hitch(o,r)):t.apply(n,arguments)}}t.around(n,"connect",p),r.connect&&t.around(r,"connect",p);var m=i("dijit._Widget",[d,h,u],{onClick:f,onDblClick:f,onKeyDown:f,onKeyPress:f,onKeyUp:f,onMouseDown:f,onMouseMove:f,onMouseOut:f,onMouseOver:f,onMouseLeave:f,onMouseEnter:f,onMouseUp:f,constructor:function(t){for(var e in this._toConnect={},t)this[e]===f&&(this._toConnect[e.replace(/^on/,"").toLowerCase()]=t[e],delete t[e])},postCreate:function(){for(var t in this.inherited(arguments),this._toConnect)this.on(t,this._toConnect[t]);delete this._toConnect},on:function(t,e){return this[this._onMap(t)]===f?n.connect(this.domNode,t.toLowerCase(),this,e):this.inherited(arguments)},_setFocusedAttr:function(t){this._focused=t,this._set("focused",t)},setAttribute:function(t,e){r.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0"),this.set(t,e)},attr:function(t,e){return arguments.length>=2||"object"==typeof t?this.set.apply(this,arguments):this.get(t)},getDescendants:function(){return r.deprecated(this.declaredClass+"::getDescendants() is deprecated. Use getChildren() instead.","","2.0"),this.containerNode?s("[widgetId]",this.containerNode).map(c.byNode):[]},_onShow:function(){this.onShow()},onShow:function(){},onHide:function(){},onClose:function(){return!0}});return o("dijit-legacy-requires")&&l(0,(function(){require(["dijit/_base"])})),m}))},7534:function(t,e){define("dijit/_Widget",["dojo/aspect","dojo/_base/config","dojo/_base/connect","dojo/_base/declare","dojo/has","dojo/_base/kernel","dojo/_base/lang","dojo/query","dojo/ready","./registry","./_WidgetBase","./_OnDijitClickMixin","./_FocusMixin","dojo/uacss","./hccss"],(function(t,e,n,i,o,r,a,s,l,c,d,h,u){function f(){}function p(t){return function(e,i,o,r){return e&&"string"==typeof i&&e[i]==f?e.on(i.substring(2).toLowerCase(),a.hitch(o,r)):t.apply(n,arguments)}}t.around(n,"connect",p),r.connect&&t.around(r,"connect",p);var m=i("dijit._Widget",[d,h,u],{onClick:f,onDblClick:f,onKeyDown:f,onKeyPress:f,onKeyUp:f,onMouseDown:f,onMouseMove:f,onMouseOut:f,onMouseOver:f,onMouseLeave:f,onMouseEnter:f,onMouseUp:f,constructor:function(t){for(var e in this._toConnect={},t)this[e]===f&&(this._toConnect[e.replace(/^on/,"").toLowerCase()]=t[e],delete t[e])},postCreate:function(){for(var t in this.inherited(arguments),this._toConnect)this.on(t,this._toConnect[t]);delete this._toConnect},on:function(t,e){return this[this._onMap(t)]===f?n.connect(this.domNode,t.toLowerCase(),this,e):this.inherited(arguments)},_setFocusedAttr:function(t){this._focused=t,this._set("focused",t)},setAttribute:function(t,e){r.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0"),this.set(t,e)},attr:function(t,e){return arguments.length>=2||"object"==typeof t?this.set.apply(this,arguments):this.get(t)},getDescendants:function(){return r.deprecated(this.declaredClass+"::getDescendants() is deprecated. Use getChildren() instead.","","2.0"),this.containerNode?s("[widgetId]",this.containerNode).map(c.byNode):[]},_onShow:function(){this.onShow()},onShow:function(){},onHide:function(){},onClose:function(){return!0}});return o("dijit-legacy-requires")&&l(0,(function(){require(["dijit/_base"])})),m}))},796:function(t,e){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/has","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/ready","dojo/Stateful","dojo/topic","dojo/_base/window","./Destroyable","dojo/has!dojo-bidi?./_BidiMixin","./registry"],(function(t,e,n,i,o,r,a,s,l,c,d,h,u,f,p,m,g,y,v,b,x,_,j){u.add("dijit-legacy-requires",!f.isAsync),u.add("dojo-bidi",!1),u("dijit-legacy-requires")&&g(0,(function(){t(["dijit/_base/manager"])}));var w={};function k(t){return function(e){s[e?"set":"remove"](this.domNode,t,e),this._set(t,e)}}var C=r("dijit._WidgetBase",[y,x],{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:k("lang"),dir:"",_setDirAttr:k("dir"),class:"",_setClassAttr:{node:"domNode",type:"class"},_setTypeAttr:null,style:"",title:"",tooltip:"",baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,ownerDocument:null,_setOwnerDocumentAttr:function(t){this._set("ownerDocument",t)},attributeMap:{},_blankGif:i.blankGif||t.toUrl("dojo/resources/blank.gif"),_introspect:function(){var t=this.constructor;if(!t._setterAttrs){var e=t.prototype,n=t._setterAttrs=[],i=t._onMap={};for(var o in e.attributeMap)n.push(o);for(o in e)/^on/.test(o)&&(i[o.substring(2).toLowerCase()]=o),/^_set[A-Z](.*)Attr$/.test(o)&&(o=o.charAt(4).toLowerCase()+o.substr(5,o.length-9),e.attributeMap&&o in e.attributeMap||n.push(o))}},postscript:function(t,e){this.create(t,e)},create:function(t,e){var n;if(this._introspect(),this.srcNodeRef=a.byId(e),this._connects=[],this._supportingWidgets=[],this.srcNodeRef&&"string"==typeof this.srcNodeRef.id&&(this.id=this.srcNodeRef.id),t&&(this.params=t,p.mixin(this,t)),this.postMixInProperties(),this.id||(this.id=j.getUniqueId(this.declaredClass.replace(/\./g,"_")),this.params&&delete this.params.id),this.ownerDocument=this.ownerDocument||(this.srcNodeRef?this.srcNodeRef.ownerDocument:document),this.ownerDocumentBody=b.body(this.ownerDocument),j.add(this),this.buildRendering(),this.domNode){this._applyAttributes();var i=this.srcNodeRef;i&&i.parentNode&&this.domNode!==i&&(i.parentNode.replaceChild(this.domNode,i),n=!0),this.domNode.setAttribute("widgetId",this.id)}this.postCreate(),n&&delete this.srcNodeRef,this._created=!0},_applyAttributes:function(){var t={};for(var n in this.params||{})t[n]=this._get(n);for(n in e.forEach(this.constructor._setterAttrs,(function(e){if(!(e in t)){var n=this._get(e);n&&this.set(e,n)}}),this),t)this.set(n,t[n])},postMixInProperties:function(){},buildRendering:function(){if(this.domNode||(this.domNode=this.srcNodeRef||this.ownerDocument.createElement("div")),this.baseClass){var t=this.baseClass.split(" ");this.isLeftToRight()||(t=t.concat(e.map(t,(function(t){return t+"Rtl"})))),l.add(this.domNode,t)}},postCreate:function(){},startup:function(){this._started||(this._started=!0,e.forEach(this.getChildren(),(function(t){t._started||t._destroyed||!p.isFunction(t.startup)||(t.startup(),t._started=!0)})))},destroyRecursive:function(t){this._beingDestroyed=!0,this.destroyDescendants(t),this.destroy(t)},destroy:function(t){function n(e){e.destroyRecursive?e.destroyRecursive(t):e.destroy&&e.destroy(t)}this._beingDestroyed=!0,this.uninitialize(),e.forEach(this._connects,p.hitch(this,"disconnect")),e.forEach(this._supportingWidgets,n),this.domNode&&e.forEach(j.findWidgets(this.domNode,this.containerNode),n),this.destroyRendering(t),j.remove(this.id),this._destroyed=!0},destroyRendering:function(t){this.bgIframe&&(this.bgIframe.destroy(t),delete this.bgIframe),this.domNode&&(t?s.remove(this.domNode,"widgetId"):c.destroy(this.domNode),delete this.domNode),this.srcNodeRef&&(t||c.destroy(this.srcNodeRef),delete this.srcNodeRef)},destroyDescendants:function(t){e.forEach(this.getChildren(),(function(e){e.destroyRecursive&&e.destroyRecursive(t)}))},uninitialize:function(){return!1},_setStyleAttr:function(t){var e=this.domNode;p.isObject(t)?h.set(e,t):e.style.cssText?e.style.cssText+="; "+t:e.style.cssText=t,this._set("style",t)},_attrToDom:function(t,n,i){i=arguments.length>=3?i:this.attributeMap[t],e.forEach(p.isArray(i)?i:[i],(function(e){var i=this[e.node||e||"domNode"];switch(e.type||"attribute"){case"attribute":p.isFunction(n)&&(n=p.hitch(this,n));var o=e.attribute?e.attribute:/^on[A-Z][a-zA-Z]*$/.test(t)?t.toLowerCase():t;i.tagName?s.set(i,o,n):i.set(o,n);break;case"innerText":i.innerHTML="",i.appendChild(this.ownerDocument.createTextNode(n));break;case"innerHTML":i.innerHTML=n;break;case"class":l.replace(i,n,this[t])}}),this)},get:function(t){var e=this._getAttrNames(t);return this[e.g]?this[e.g]():this._get(t)},set:function(t,e){if("object"==typeof t){for(var n in t)this.set(n,t[n]);return this}var i=this._getAttrNames(t),o=this[i.s];if(p.isFunction(o))var r=o.apply(this,Array.prototype.slice.call(arguments,1));else{var a=this.focusNode&&!p.isFunction(this.focusNode)?"focusNode":"domNode",s=this[a]&&this[a].tagName,l=s&&(w[s]||(w[s]=function(t){var e={};for(var n in t)e[n.toLowerCase()]=!0;return e}(this[a]))),c=t in this.attributeMap?this.attributeMap[t]:i.s in this?this[i.s]:l&&i.l in l&&"function"!=typeof e||/^aria-|^data-|^role$/.test(t)?a:null;null!=c&&this._attrToDom(t,e,c),this._set(t,e)}return r||this},_attrPairNames:{},_getAttrNames:function(t){var e=this._attrPairNames;if(e[t])return e[t];var n=t.replace(/^[a-z]|-[a-zA-Z]/g,(function(t){return t.charAt(t.length-1).toUpperCase()}));return e[t]={n:t+"Node",s:"_set"+n+"Attr",g:"_get"+n+"Attr",l:n.toLowerCase()}},_set:function(t,e){var n,i,o=this[t];this[t]=e,!this._created||(n=o)===(i=e)||n!=n&&i!=i||(this._watchCallbacks&&this._watchCallbacks(t,o,e),this.emit("attrmodified-"+t,{detail:{prevValue:o,newValue:e}}))},_get:function(t){return this[t]},emit:function(t,e,n){void 0===(e=e||{}).bubbles&&(e.bubbles=!0),void 0===e.cancelable&&(e.cancelable=!0),e.detail||(e.detail={}),e.detail.widget=this;var i,o=this["on"+t];return o&&(i=o.apply(this,n||[e])),this._started&&!this._beingDestroyed&&m.emit(this.domNode,t.toLowerCase(),e),i},on:function(t,e){var i=this._onMap(t);return i?n.after(this,i,e,!0):this.own(m(this.domNode,t,e))[0]},_onMap:function(t){var e=this.constructor,n=e._onMap;if(!n)for(var i in n=e._onMap={},e.prototype)/^on/.test(i)&&(n[i.replace(/^on/,"").toLowerCase()]=i);return n["string"==typeof t&&t.toLowerCase()]},toString:function(){return"[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]"},getChildren:function(){return this.containerNode?j.findWidgets(this.containerNode):[]},getParent:function(){return j.getEnclosingWidget(this.domNode.parentNode)},connect:function(t,e,n){return this.own(o.connect(t,e,this,n))[0]},disconnect:function(t){t.remove()},subscribe:function(t,e){return this.own(v.subscribe(t,p.hitch(this,e)))[0]},unsubscribe:function(t){t.remove()},isLeftToRight:function(){return this.dir?"ltr"==this.dir.toLowerCase():d.isBodyLtr(this.ownerDocument)},isFocusable:function(){return this.focus&&"none"!=h.get(this.domNode,"display")},placeAt:function(t,e){var n=!t.tagName&&j.byId(t);if(!n||!n.addChild||e&&"number"!=typeof e){var i=n&&"domNode"in n?n.containerNode&&!/after|before|replace/.test(e||"")?n.containerNode:n.domNode:a.byId(t,this.ownerDocument);c.place(this.domNode,i,e),!this._started&&(this.getParent()||{})._started&&this.startup()}else n.addChild(this,e);return this},defer:function(t,e){var n=setTimeout(p.hitch(this,(function(){n&&(n=null,this._destroyed||p.hitch(this,t)())})),e||0);return{remove:function(){return n&&(clearTimeout(n),n=null),null}}}});return u("dojo-bidi")&&C.extend(_),C}))},271:function(t,e){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/has","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/ready","dojo/Stateful","dojo/topic","dojo/_base/window","./Destroyable","dojo/has!dojo-bidi?./_BidiMixin","./registry"],(function(t,e,n,i,o,r,a,s,l,c,d,h,u,f,p,m,g,y,v,b,x,_,j){u.add("dijit-legacy-requires",!f.isAsync),u.add("dojo-bidi",!1),u("dijit-legacy-requires")&&g(0,(function(){t(["dijit/_base/manager"])}));var w={};function k(t){return function(e){s[e?"set":"remove"](this.domNode,t,e),this._set(t,e)}}var C=r("dijit._WidgetBase",[y,x],{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:k("lang"),dir:"",_setDirAttr:k("dir"),class:"",_setClassAttr:{node:"domNode",type:"class"},_setTypeAttr:null,style:"",title:"",tooltip:"",baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,ownerDocument:null,_setOwnerDocumentAttr:function(t){this._set("ownerDocument",t)},attributeMap:{},_blankGif:i.blankGif||t.toUrl("dojo/resources/blank.gif"),_introspect:function(){var t=this.constructor;if(!t._setterAttrs){var e=t.prototype,n=t._setterAttrs=[],i=t._onMap={};for(var o in e.attributeMap)n.push(o);for(o in e)/^on/.test(o)&&(i[o.substring(2).toLowerCase()]=o),/^_set[A-Z](.*)Attr$/.test(o)&&(o=o.charAt(4).toLowerCase()+o.substr(5,o.length-9),e.attributeMap&&o in e.attributeMap||n.push(o))}},postscript:function(t,e){this.create(t,e)},create:function(t,e){var n;if(this._introspect(),this.srcNodeRef=a.byId(e),this._connects=[],this._supportingWidgets=[],this.srcNodeRef&&"string"==typeof this.srcNodeRef.id&&(this.id=this.srcNodeRef.id),t&&(this.params=t,p.mixin(this,t)),this.postMixInProperties(),this.id||(this.id=j.getUniqueId(this.declaredClass.replace(/\./g,"_")),this.params&&delete this.params.id),this.ownerDocument=this.ownerDocument||(this.srcNodeRef?this.srcNodeRef.ownerDocument:document),this.ownerDocumentBody=b.body(this.ownerDocument),j.add(this),this.buildRendering(),this.domNode){this._applyAttributes();var i=this.srcNodeRef;i&&i.parentNode&&this.domNode!==i&&(i.parentNode.replaceChild(this.domNode,i),n=!0),this.domNode.setAttribute("widgetId",this.id)}this.postCreate(),n&&delete this.srcNodeRef,this._created=!0},_applyAttributes:function(){var t={};for(var n in this.params||{})t[n]=this._get(n);for(n in e.forEach(this.constructor._setterAttrs,(function(e){if(!(e in t)){var n=this._get(e);n&&this.set(e,n)}}),this),t)this.set(n,t[n])},postMixInProperties:function(){},buildRendering:function(){if(this.domNode||(this.domNode=this.srcNodeRef||this.ownerDocument.createElement("div")),this.baseClass){var t=this.baseClass.split(" ");this.isLeftToRight()||(t=t.concat(e.map(t,(function(t){return t+"Rtl"})))),l.add(this.domNode,t)}},postCreate:function(){},startup:function(){this._started||(this._started=!0,e.forEach(this.getChildren(),(function(t){t._started||t._destroyed||!p.isFunction(t.startup)||(t.startup(),t._started=!0)})))},destroyRecursive:function(t){this._beingDestroyed=!0,this.destroyDescendants(t),this.destroy(t)},destroy:function(t){function n(e){e.destroyRecursive?e.destroyRecursive(t):e.destroy&&e.destroy(t)}this._beingDestroyed=!0,this.uninitialize(),e.forEach(this._connects,p.hitch(this,"disconnect")),e.forEach(this._supportingWidgets,n),this.domNode&&e.forEach(j.findWidgets(this.domNode,this.containerNode),n),this.destroyRendering(t),j.remove(this.id),this._destroyed=!0},destroyRendering:function(t){this.bgIframe&&(this.bgIframe.destroy(t),delete this.bgIframe),this.domNode&&(t?s.remove(this.domNode,"widgetId"):c.destroy(this.domNode),delete this.domNode),this.srcNodeRef&&(t||c.destroy(this.srcNodeRef),delete this.srcNodeRef)},destroyDescendants:function(t){e.forEach(this.getChildren(),(function(e){e.destroyRecursive&&e.destroyRecursive(t)}))},uninitialize:function(){return!1},_setStyleAttr:function(t){var e=this.domNode;p.isObject(t)?h.set(e,t):e.style.cssText?e.style.cssText+="; "+t:e.style.cssText=t,this._set("style",t)},_attrToDom:function(t,n,i){i=arguments.length>=3?i:this.attributeMap[t],e.forEach(p.isArray(i)?i:[i],(function(e){var i=this[e.node||e||"domNode"];switch(e.type||"attribute"){case"attribute":p.isFunction(n)&&(n=p.hitch(this,n));var o=e.attribute?e.attribute:/^on[A-Z][a-zA-Z]*$/.test(t)?t.toLowerCase():t;i.tagName?s.set(i,o,n):i.set(o,n);break;case"innerText":i.innerHTML="",i.appendChild(this.ownerDocument.createTextNode(n));break;case"innerHTML":i.innerHTML=n;break;case"class":l.replace(i,n,this[t])}}),this)},get:function(t){var e=this._getAttrNames(t);return this[e.g]?this[e.g]():this._get(t)},set:function(t,e){if("object"==typeof t){for(var n in t)this.set(n,t[n]);return this}var i=this._getAttrNames(t),o=this[i.s];if(p.isFunction(o))var r=o.apply(this,Array.prototype.slice.call(arguments,1));else{var a=this.focusNode&&!p.isFunction(this.focusNode)?"focusNode":"domNode",s=this[a]&&this[a].tagName,l=s&&(w[s]||(w[s]=function(t){var e={};for(var n in t)e[n.toLowerCase()]=!0;return e}(this[a]))),c=t in this.attributeMap?this.attributeMap[t]:i.s in this?this[i.s]:l&&i.l in l&&"function"!=typeof e||/^aria-|^data-|^role$/.test(t)?a:null;null!=c&&this._attrToDom(t,e,c),this._set(t,e)}return r||this},_attrPairNames:{},_getAttrNames:function(t){var e=this._attrPairNames;if(e[t])return e[t];var n=t.replace(/^[a-z]|-[a-zA-Z]/g,(function(t){return t.charAt(t.length-1).toUpperCase()}));return e[t]={n:t+"Node",s:"_set"+n+"Attr",g:"_get"+n+"Attr",l:n.toLowerCase()}},_set:function(t,e){var n,i,o=this[t];this[t]=e,!this._created||(n=o)===(i=e)||n!=n&&i!=i||(this._watchCallbacks&&this._watchCallbacks(t,o,e),this.emit("attrmodified-"+t,{detail:{prevValue:o,newValue:e}}))},_get:function(t){return this[t]},emit:function(t,e,n){void 0===(e=e||{}).bubbles&&(e.bubbles=!0),void 0===e.cancelable&&(e.cancelable=!0),e.detail||(e.detail={}),e.detail.widget=this;var i,o=this["on"+t];return o&&(i=o.apply(this,n||[e])),this._started&&!this._beingDestroyed&&m.emit(this.domNode,t.toLowerCase(),e),i},on:function(t,e){var i=this._onMap(t);return i?n.after(this,i,e,!0):this.own(m(this.domNode,t,e))[0]},_onMap:function(t){var e=this.constructor,n=e._onMap;if(!n)for(var i in n=e._onMap={},e.prototype)/^on/.test(i)&&(n[i.replace(/^on/,"").toLowerCase()]=i);return n["string"==typeof t&&t.toLowerCase()]},toString:function(){return"[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]"},getChildren:function(){return this.containerNode?j.findWidgets(this.containerNode):[]},getParent:function(){return j.getEnclosingWidget(this.domNode.parentNode)},connect:function(t,e,n){return this.own(o.connect(t,e,this,n))[0]},disconnect:function(t){t.remove()},subscribe:function(t,e){return this.own(v.subscribe(t,p.hitch(this,e)))[0]},unsubscribe:function(t){t.remove()},isLeftToRight:function(){return this.dir?"ltr"==this.dir.toLowerCase():d.isBodyLtr(this.ownerDocument)},isFocusable:function(){return this.focus&&"none"!=h.get(this.domNode,"display")},placeAt:function(t,e){var n=!t.tagName&&j.byId(t);if(!n||!n.addChild||e&&"number"!=typeof e){var i=n&&"domNode"in n?n.containerNode&&!/after|before|replace/.test(e||"")?n.containerNode:n.domNode:a.byId(t,this.ownerDocument);c.place(this.domNode,i,e),!this._started&&(this.getParent()||{})._started&&this.startup()}else n.addChild(this,e);return this},defer:function(t,e){var n=setTimeout(p.hitch(this,(function(){n&&(n=null,this._destroyed||p.hitch(this,t)())})),e||0);return{remove:function(){return n&&(clearTimeout(n),n=null),null}}}});return u("dojo-bidi")&&C.extend(_),C}))},2880:function(t,e){define("dijit/_base",["./main","./a11y","./WidgetSet","./_base/focus","./_base/manager","./_base/place","./_base/popup","./_base/scroll","./_base/sniff","./_base/typematic","./_base/wai","./_base/window"],(function(t){return t._base}))},8427:function(t,e){define("dijit/_base",["./main","./a11y","./WidgetSet","./_base/focus","./_base/manager","./_base/place","./_base/popup","./_base/scroll","./_base/sniff","./_base/typematic","./_base/wai","./_base/window"],(function(t){return t._base}))},4491:function(t,e){define("dijit/_base/focus",["dojo/_base/array","dojo/dom","dojo/_base/lang","dojo/topic","dojo/_base/window","../focus","../selection","../main"],(function(t,e,n,i,o,r,a,s){var l={_curFocus:null,_prevFocus:null,isCollapsed:function(){return s.getBookmark().isCollapsed},getBookmark:function(){return(o.global==window?a:new a.SelectionManager(o.global)).getBookmark()},moveToBookmark:function(t){return(o.global==window?a:new a.SelectionManager(o.global)).moveToBookmark(t)},getFocus:function(t,n){var i=!r.curNode||t&&e.isDescendant(r.curNode,t.domNode)?s._prevFocus:r.curNode;return{node:i,bookmark:i&&i==r.curNode&&o.withGlobal(n||o.global,s.getBookmark),openedForWindow:n}},_activeStack:[],registerIframe:function(t){return r.registerIframe(t)},unregisterIframe:function(t){t&&t.remove()},registerWin:function(t,e){return r.registerWin(t,e)},unregisterWin:function(t){t&&t.remove()}};return r.focus=function(t){if(t){var e="node"in t?t.node:t,n=t.bookmark,i=t.openedForWindow,a=!!n&&n.isCollapsed;if(e){var l="iframe"==e.tagName.toLowerCase()?e.contentWindow:e;if(l&&l.focus)try{l.focus()}catch(t){}r._onFocusNode(e)}if(n&&o.withGlobal(i||o.global,s.isCollapsed)&&!a){i&&i.focus();try{o.withGlobal(i||o.global,s.moveToBookmark,null,[n])}catch(t){}}}},r.watch("curNode",(function(t,e,n){s._curFocus=n,s._prevFocus=e,n&&i.publish("focusNode",n)})),r.watch("activeStack",(function(t,e,n){s._activeStack=n})),r.on("widget-blur",(function(t,e){i.publish("widgetBlur",t,e)})),r.on("widget-focus",(function(t,e){i.publish("widgetFocus",t,e)})),n.mixin(s,l),s}))},3276:function(t,e){define("dijit/_base/focus",["dojo/_base/array","dojo/dom","dojo/_base/lang","dojo/topic","dojo/_base/window","../focus","../selection","../main"],(function(t,e,n,i,o,r,a,s){var l={_curFocus:null,_prevFocus:null,isCollapsed:function(){return s.getBookmark().isCollapsed},getBookmark:function(){return(o.global==window?a:new a.SelectionManager(o.global)).getBookmark()},moveToBookmark:function(t){return(o.global==window?a:new a.SelectionManager(o.global)).moveToBookmark(t)},getFocus:function(t,n){var i=!r.curNode||t&&e.isDescendant(r.curNode,t.domNode)?s._prevFocus:r.curNode;return{node:i,bookmark:i&&i==r.curNode&&o.withGlobal(n||o.global,s.getBookmark),openedForWindow:n}},_activeStack:[],registerIframe:function(t){return r.registerIframe(t)},unregisterIframe:function(t){t&&t.remove()},registerWin:function(t,e){return r.registerWin(t,e)},unregisterWin:function(t){t&&t.remove()}};return r.focus=function(t){if(t){var e="node"in t?t.node:t,n=t.bookmark,i=t.openedForWindow,a=!!n&&n.isCollapsed;if(e){var l="iframe"==e.tagName.toLowerCase()?e.contentWindow:e;if(l&&l.focus)try{l.focus()}catch(t){}r._onFocusNode(e)}if(n&&o.withGlobal(i||o.global,s.isCollapsed)&&!a){i&&i.focus();try{o.withGlobal(i||o.global,s.moveToBookmark,null,[n])}catch(t){}}}},r.watch("curNode",(function(t,e,n){s._curFocus=n,s._prevFocus=e,n&&i.publish("focusNode",n)})),r.watch("activeStack",(function(t,e,n){s._activeStack=n})),r.on("widget-blur",(function(t,e){i.publish("widgetBlur",t,e)})),r.on("widget-focus",(function(t,e){i.publish("widgetFocus",t,e)})),n.mixin(s,l),s}))},2848:function(t,e){define("dijit/_base/manager",["dojo/_base/array","dojo/_base/config","dojo/_base/lang","../registry","../main"],(function(t,e,n,i,o){var r={};return t.forEach(["byId","getUniqueId","findWidgets","_destroyAll","byNode","getEnclosingWidget"],(function(t){r[t]=i[t]})),n.mixin(r,{defaultDuration:e.defaultDuration||200}),n.mixin(o,r),o}))},1819:function(t,e){define("dijit/_base/manager",["dojo/_base/array","dojo/_base/config","dojo/_base/lang","../registry","../main"],(function(t,e,n,i,o){var r={};return t.forEach(["byId","getUniqueId","findWidgets","_destroyAll","byNode","getEnclosingWidget"],(function(t){r[t]=i[t]})),n.mixin(r,{defaultDuration:e.defaultDuration||200}),n.mixin(o,r),o}))},9180:function(t,e){define("dijit/_base/place",["dojo/_base/array","dojo/_base/lang","dojo/window","../place","../main"],(function(t,e,n,i,o){var r={getViewport:function(){return n.getBox()}};return r.placeOnScreen=i.at,r.placeOnScreenAroundElement=function(t,n,o,r){var a;if(e.isArray(o))a=o;else for(var s in a=[],o)a.push({aroundCorner:s,corner:o[s]});return i.around(t,n,a,!0,r)},r.placeOnScreenAroundNode=r.placeOnScreenAroundElement,r.placeOnScreenAroundRectangle=r.placeOnScreenAroundElement,r.getPopupAroundAlignment=function(e,n){var i={};return t.forEach(e,(function(t){var e=n;switch(t){case"after":i[n?"BR":"BL"]=n?"BL":"BR";break;case"before":i[n?"BL":"BR"]=n?"BR":"BL";break;case"below-alt":e=!e;case"below":i[e?"BL":"BR"]=e?"TL":"TR",i[e?"BR":"BL"]=e?"TR":"TL";break;case"above-alt":e=!e;default:i[e?"TL":"TR"]=e?"BL":"BR",i[e?"TR":"TL"]=e?"BR":"BL"}})),i},e.mixin(o,r),o}))},2415:function(t,e){define("dijit/_base/place",["dojo/_base/array","dojo/_base/lang","dojo/window","../place","../main"],(function(t,e,n,i,o){var r={getViewport:function(){return n.getBox()}};return r.placeOnScreen=i.at,r.placeOnScreenAroundElement=function(t,n,o,r){var a;if(e.isArray(o))a=o;else for(var s in a=[],o)a.push({aroundCorner:s,corner:o[s]});return i.around(t,n,a,!0,r)},r.placeOnScreenAroundNode=r.placeOnScreenAroundElement,r.placeOnScreenAroundRectangle=r.placeOnScreenAroundElement,r.getPopupAroundAlignment=function(e,n){var i={};return t.forEach(e,(function(t){var e=n;switch(t){case"after":i[n?"BR":"BL"]=n?"BL":"BR";break;case"before":i[n?"BL":"BR"]=n?"BR":"BL";break;case"below-alt":e=!e;case"below":i[e?"BL":"BR"]=e?"TL":"TR",i[e?"BR":"BL"]=e?"TR":"TL";break;case"above-alt":e=!e;default:i[e?"TL":"TR"]=e?"BL":"BR",i[e?"TR":"TL"]=e?"BR":"BL"}})),i},e.mixin(o,r),o}))},3209:function(t,e){define("dijit/_base/popup",["dojo/dom-class","dojo/_base/window","../popup","../BackgroundIframe"],(function(t,e,n){var i=n._createWrapper;n._createWrapper=function(n){return n.declaredClass||(n={_popupWrapper:n.parentNode&&t.contains(n.parentNode,"dijitPopup")?n.parentNode:null,domNode:n,destroy:function(){},ownerDocument:n.ownerDocument,ownerDocumentBody:e.body(n.ownerDocument)}),i.call(this,n)};var o=n.open;return n.open=function(t){if(t.orient&&"string"!=typeof t.orient&&!("length"in t.orient)){var e=[];for(var n in t.orient)e.push({aroundCorner:n,corner:t.orient[n]});t.orient=e}return o.call(this,t)},n}))},4418:function(t,e){define("dijit/_base/popup",["dojo/dom-class","dojo/_base/window","../popup","../BackgroundIframe"],(function(t,e,n){var i=n._createWrapper;n._createWrapper=function(n){return n.declaredClass||(n={_popupWrapper:n.parentNode&&t.contains(n.parentNode,"dijitPopup")?n.parentNode:null,domNode:n,destroy:function(){},ownerDocument:n.ownerDocument,ownerDocumentBody:e.body(n.ownerDocument)}),i.call(this,n)};var o=n.open;return n.open=function(t){if(t.orient&&"string"!=typeof t.orient&&!("length"in t.orient)){var e=[];for(var n in t.orient)e.push({aroundCorner:n,corner:t.orient[n]});t.orient=e}return o.call(this,t)},n}))},78:function(t,e){define("dijit/_base/scroll",["dojo/window","../main"],(function(t,e){e.scrollIntoView=function(e,n){t.scrollIntoView(e,n)}}))},3225:function(t,e){define("dijit/_base/scroll",["dojo/window","../main"],(function(t,e){e.scrollIntoView=function(e,n){t.scrollIntoView(e,n)}}))},4739:function(t,e){define("dijit/_base/sniff",["dojo/uacss"],(function(){}))},4244:function(t,e){define("dijit/_base/sniff",["dojo/uacss"],(function(){}))},7853:function(t,e){define("dijit/_base/typematic",["../typematic"],(function(){}))},478:function(t,e){define("dijit/_base/typematic",["../typematic"],(function(){}))},4096:function(t,e){define("dijit/_base/wai",["dojo/dom-attr","dojo/_base/lang","../main","../hccss"],(function(t,e,n){var i={hasWaiRole:function(t,e){var n=this.getWaiRole(t);return e?n.indexOf(e)>-1:n.length>0},getWaiRole:function(n){return e.trim((t.get(n,"role")||"").replace("wairole:",""))},setWaiRole:function(e,n){t.set(e,"role",n)},removeWaiRole:function(n,i){var o=t.get(n,"role");if(o)if(i){var r=e.trim((" "+o+" ").replace(" "+i+" "," "));t.set(n,"role",r)}else n.removeAttribute("role")},hasWaiState:function(t,e){return t.hasAttribute?t.hasAttribute("aria-"+e):!!t.getAttribute("aria-"+e)},getWaiState:function(t,e){return t.getAttribute("aria-"+e)||""},setWaiState:function(t,e,n){t.setAttribute("aria-"+e,n)},removeWaiState:function(t,e){t.removeAttribute("aria-"+e)}};return e.mixin(n,i),n}))},8667:function(t,e){define("dijit/_base/wai",["dojo/dom-attr","dojo/_base/lang","../main","../hccss"],(function(t,e,n){var i={hasWaiRole:function(t,e){var n=this.getWaiRole(t);return e?n.indexOf(e)>-1:n.length>0},getWaiRole:function(n){return e.trim((t.get(n,"role")||"").replace("wairole:",""))},setWaiRole:function(e,n){t.set(e,"role",n)},removeWaiRole:function(n,i){var o=t.get(n,"role");if(o)if(i){var r=e.trim((" "+o+" ").replace(" "+i+" "," "));t.set(n,"role",r)}else n.removeAttribute("role")},hasWaiState:function(t,e){return t.hasAttribute?t.hasAttribute("aria-"+e):!!t.getAttribute("aria-"+e)},getWaiState:function(t,e){return t.getAttribute("aria-"+e)||""},setWaiState:function(t,e,n){t.setAttribute("aria-"+e,n)},removeWaiState:function(t,e){t.removeAttribute("aria-"+e)}};return e.mixin(n,i),n}))},2247:function(t,e){define("dijit/_base/window",["dojo/window","../main"],(function(t,e){e.getDocumentWindow=function(e){return t.get(e)}}))},8832:function(t,e){define("dijit/_base/window",["dojo/window","../main"],(function(t,e){e.getDocumentWindow=function(e){return t.get(e)}}))},7674:function(t,e){define("dijit/a11y",["dojo/_base/array","dojo/dom","dojo/dom-attr","dojo/dom-style","dojo/_base/lang","dojo/sniff","./main"],(function(t,e,n,i,o,r,a){var s,l={_isElementShown:function(t){var e=i.get(t);return"hidden"!=e.visibility&&"collapsed"!=e.visibility&&"none"!=e.display&&"hidden"!=n.get(t,"type")},hasDefaultTabStop:function(t){switch(t.nodeName.toLowerCase()){case"a":return n.has(t,"href");case"area":case"button":case"input":case"object":case"select":case"textarea":return!0;case"iframe":var e;try{var i=t.contentDocument;if("designMode"in i&&"on"==i.designMode)return!0;e=i.body}catch(n){try{e=t.contentWindow.document.body}catch(t){return!1}}return e&&("true"==e.contentEditable||e.firstChild&&"true"==e.firstChild.contentEditable);default:return"true"==t.contentEditable}},effectiveTabIndex:function(t){return n.get(t,"disabled")?s:n.has(t,"tabIndex")?+n.get(t,"tabIndex"):l.hasDefaultTabStop(t)?0:s},isTabNavigable:function(t){return l.effectiveTabIndex(t)>=0},isFocusable:function(t){return l.effectiveTabIndex(t)>=-1},_getTabNavigable:function(t){var e,i,o,a,s,c,d={};function h(t){return t&&"input"==t.tagName.toLowerCase()&&t.type&&"radio"==t.type.toLowerCase()&&t.name&&t.name.toLowerCase()}var u=l._isElementShown,f=l.effectiveTabIndex,p=function(t){for(var l=t.firstChild;l;l=l.nextSibling)if(!(1!=l.nodeType||r("ie")<=9&&"HTML"!==l.scopeName)&&u(l)){var m=f(l);if(m>=0){0==m?(e||(e=l),i=l):m>0&&((!o||m<a)&&(a=m,o=l),(!s||m>=c)&&(c=m,s=l));var g=h(l);n.get(l,"checked")&&g&&(d[g]=l)}"SELECT"!=l.nodeName.toUpperCase()&&p(l)}};function m(t){return d[h(t)]||t}return u(t)&&p(t),{first:m(e),last:m(i),lowest:m(o),highest:m(s)}},getFirstInTabbingOrder:function(t,n){var i=l._getTabNavigable(e.byId(t,n));return i.lowest?i.lowest:i.first},getLastInTabbingOrder:function(t,n){var i=l._getTabNavigable(e.byId(t,n));return i.last?i.last:i.highest}};return o.mixin(a,l),l}))},5069:function(t,e){define("dijit/a11y",["dojo/_base/array","dojo/dom","dojo/dom-attr","dojo/dom-style","dojo/_base/lang","dojo/sniff","./main"],(function(t,e,n,i,o,r,a){var s,l={_isElementShown:function(t){var e=i.get(t);return"hidden"!=e.visibility&&"collapsed"!=e.visibility&&"none"!=e.display&&"hidden"!=n.get(t,"type")},hasDefaultTabStop:function(t){switch(t.nodeName.toLowerCase()){case"a":return n.has(t,"href");case"area":case"button":case"input":case"object":case"select":case"textarea":return!0;case"iframe":var e;try{var i=t.contentDocument;if("designMode"in i&&"on"==i.designMode)return!0;e=i.body}catch(n){try{e=t.contentWindow.document.body}catch(t){return!1}}return e&&("true"==e.contentEditable||e.firstChild&&"true"==e.firstChild.contentEditable);default:return"true"==t.contentEditable}},effectiveTabIndex:function(t){return n.get(t,"disabled")?s:n.has(t,"tabIndex")?+n.get(t,"tabIndex"):l.hasDefaultTabStop(t)?0:s},isTabNavigable:function(t){return l.effectiveTabIndex(t)>=0},isFocusable:function(t){return l.effectiveTabIndex(t)>=-1},_getTabNavigable:function(t){var e,i,o,a,s,c,d={};function h(t){return t&&"input"==t.tagName.toLowerCase()&&t.type&&"radio"==t.type.toLowerCase()&&t.name&&t.name.toLowerCase()}var u=l._isElementShown,f=l.effectiveTabIndex,p=function(t){for(var l=t.firstChild;l;l=l.nextSibling)if(!(1!=l.nodeType||r("ie")<=9&&"HTML"!==l.scopeName)&&u(l)){var m=f(l);if(m>=0){0==m?(e||(e=l),i=l):m>0&&((!o||m<a)&&(a=m,o=l),(!s||m>=c)&&(c=m,s=l));var g=h(l);n.get(l,"checked")&&g&&(d[g]=l)}"SELECT"!=l.nodeName.toUpperCase()&&p(l)}};function m(t){return d[h(t)]||t}return u(t)&&p(t),{first:m(e),last:m(i),lowest:m(o),highest:m(s)}},getFirstInTabbingOrder:function(t,n){var i=l._getTabNavigable(e.byId(t,n));return i.lowest?i.lowest:i.first},getLastInTabbingOrder:function(t,n){var i=l._getTabNavigable(e.byId(t,n));return i.last?i.last:i.highest}};return o.mixin(a,l),l}))},1680:function(t,e){define("dijit/a11yclick",["dojo/keys","dojo/mouse","dojo/on","dojo/touch"],(function(t,e,n,i){function o(e){if((e.keyCode===t.ENTER||e.keyCode===t.SPACE)&&!/input|button|textarea/i.test(e.target.nodeName))for(var n=e.target;n;n=n.parentNode)if(n.dojoClick)return!0}var r;n(document,"keydown",(function(t){o(t)?(r=t.target,t.preventDefault()):r=null})),n(document,"keyup",(function(t){o(t)&&t.target==r&&(r=null,n.emit(t.target,"click",{cancelable:!0,bubbles:!0,ctrlKey:t.ctrlKey,shiftKey:t.shiftKey,metaKey:t.metaKey,altKey:t.altKey,_origType:t.type}))}));var a=function(t,e){return t.dojoClick=!0,n(t,"click",e)};return a.click=a,a.press=function(o,r){var a=n(o,i.press,(function(t){("mousedown"!=t.type||e.isLeft(t))&&r(t)})),s=n(o,"keydown",(function(e){e.keyCode!==t.ENTER&&e.keyCode!==t.SPACE||r(e)}));return{remove:function(){a.remove(),s.remove()}}},a.release=function(o,r){var a=n(o,i.release,(function(t){("mouseup"!=t.type||e.isLeft(t))&&r(t)})),s=n(o,"keyup",(function(e){e.keyCode!==t.ENTER&&e.keyCode!==t.SPACE||r(e)}));return{remove:function(){a.remove(),s.remove()}}},a.move=i.move,a}))},9595:function(t,e){define("dijit/a11yclick",["dojo/keys","dojo/mouse","dojo/on","dojo/touch"],(function(t,e,n,i){function o(e){if((e.keyCode===t.ENTER||e.keyCode===t.SPACE)&&!/input|button|textarea/i.test(e.target.nodeName))for(var n=e.target;n;n=n.parentNode)if(n.dojoClick)return!0}var r;n(document,"keydown",(function(t){o(t)?(r=t.target,t.preventDefault()):r=null})),n(document,"keyup",(function(t){o(t)&&t.target==r&&(r=null,n.emit(t.target,"click",{cancelable:!0,bubbles:!0,ctrlKey:t.ctrlKey,shiftKey:t.shiftKey,metaKey:t.metaKey,altKey:t.altKey,_origType:t.type}))}));var a=function(t,e){return t.dojoClick=!0,n(t,"click",e)};return a.click=a,a.press=function(o,r){var a=n(o,i.press,(function(t){("mousedown"!=t.type||e.isLeft(t))&&r(t)})),s=n(o,"keydown",(function(e){e.keyCode!==t.ENTER&&e.keyCode!==t.SPACE||r(e)}));return{remove:function(){a.remove(),s.remove()}}},a.release=function(o,r){var a=n(o,i.release,(function(t){("mouseup"!=t.type||e.isLeft(t))&&r(t)})),s=n(o,"keyup",(function(e){e.keyCode!==t.ENTER&&e.keyCode!==t.SPACE||r(e)}));return{remove:function(){a.remove(),s.remove()}}},a.move=i.move,a}))},3912:function(t,e){define("dijit/focus",["dojo/aspect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/Evented","dojo/_base/lang","dojo/on","dojo/domReady","dojo/sniff","dojo/Stateful","dojo/_base/window","dojo/window","./a11y","./registry","./main"],(function(t,e,n,i,o,r,a,s,l,c,d,h,u,f,p,m,g){var y,v,b=new(e([h,a],{curNode:null,activeStack:[],constructor:function(){var e=s.hitch(this,(function(t){n.isDescendant(this.curNode,t)&&this.set("curNode",null),n.isDescendant(this.prevNode,t)&&this.set("prevNode",null)}));t.before(r,"empty",e),t.before(r,"destroy",e)},registerIframe:function(t){return this.registerWin(t.contentWindow,t)},registerWin:function(t,e){var n=this,i=t.document&&t.document.body;if(i){var o=d("pointer-events")?"pointerdown":d("MSPointer")?"MSPointerDown":d("touch-events")?"mousedown, touchstart":"mousedown",r=l(t.document,o,(function(t){t&&t.target&&null==t.target.parentNode||n._onTouchNode(e||t.target,"mouse")})),a=l(i,"focusin",(function(t){if(t.target.tagName){var i=t.target.tagName.toLowerCase();"#document"!=i&&"body"!=i&&(p.isFocusable(t.target)?n._onFocusNode(e||t.target):n._onTouchNode(e||t.target))}})),s=l(i,"focusout",(function(t){n._onBlurNode(e||t.target)}));return{remove:function(){r.remove(),a.remove(),s.remove(),r=a=s=null,i=null}}}},_onBlurNode:function(t){var e=(new Date).getTime();e<y+100||(this._clearFocusTimer&&clearTimeout(this._clearFocusTimer),this._clearFocusTimer=setTimeout(s.hitch(this,(function(){this.set("prevNode",this.curNode),this.set("curNode",null)})),0),this._clearActiveWidgetsTimer&&clearTimeout(this._clearActiveWidgetsTimer),e<v+100||(this._clearActiveWidgetsTimer=setTimeout(s.hitch(this,(function(){delete this._clearActiveWidgetsTimer,this._setStack([])})),0)))},_onTouchNode:function(t,e){v=(new Date).getTime(),this._clearActiveWidgetsTimer&&(clearTimeout(this._clearActiveWidgetsTimer),delete this._clearActiveWidgetsTimer),o.contains(t,"dijitPopup")&&(t=t.firstChild);var n=[];try{for(;t;){var r=i.get(t,"dijitPopupParent");if(r)t=m.byId(r).domNode;else if(t.tagName&&"body"==t.tagName.toLowerCase()){if(t===u.body())break;t=f.get(t.ownerDocument).frameElement}else{var a=t.getAttribute&&t.getAttribute("widgetId"),s=a&&m.byId(a);!s||"mouse"==e&&s.get("disabled")||n.unshift(a),t=t.parentNode}}}catch(t){}this._setStack(n,e)},_onFocusNode:function(t){t&&9!=t.nodeType&&(y=(new Date).getTime(),this._clearFocusTimer&&(clearTimeout(this._clearFocusTimer),delete this._clearFocusTimer),this._onTouchNode(t),t!=this.curNode&&(this.set("prevNode",this.curNode),this.set("curNode",t)))},_setStack:function(t,e){var n=this.activeStack,i=n.length-1,o=t.length-1;if(t[o]!=n[i]){var r,a;for(this.set("activeStack",t),a=i;a>=0&&n[a]!=t[a];a--)(r=m.byId(n[a]))&&(r._hasBeenBlurred=!0,r.set("focused",!1),r._focusManager==this&&r._onBlur(e),this.emit("widget-blur",r,e));for(a++;a<=o;a++)(r=m.byId(t[a]))&&(r.set("focused",!0),r._focusManager==this&&r._onFocus(e),this.emit("widget-focus",r,e))}},focus:function(t){if(t)try{t.focus()}catch(t){}}}));for(var x in c((function(){var t=b.registerWin(f.get(document));d("ie")&&l(window,"unload",(function(){t&&(t.remove(),t=null)}))})),g.focus=function(t){b.focus(t)},b)/^_/.test(x)||(g.focus[x]="function"==typeof b[x]?s.hitch(b,x):b[x]);return b.watch((function(t,e,n){g.focus[t]=n})),b}))},7763:function(t,e){define("dijit/focus",["dojo/aspect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/Evented","dojo/_base/lang","dojo/on","dojo/domReady","dojo/sniff","dojo/Stateful","dojo/_base/window","dojo/window","./a11y","./registry","./main"],(function(t,e,n,i,o,r,a,s,l,c,d,h,u,f,p,m,g){var y,v,b=new(e([h,a],{curNode:null,activeStack:[],constructor:function(){var e=s.hitch(this,(function(t){n.isDescendant(this.curNode,t)&&this.set("curNode",null),n.isDescendant(this.prevNode,t)&&this.set("prevNode",null)}));t.before(r,"empty",e),t.before(r,"destroy",e)},registerIframe:function(t){return this.registerWin(t.contentWindow,t)},registerWin:function(t,e){var n=this,i=t.document&&t.document.body;if(i){var o=d("pointer-events")?"pointerdown":d("MSPointer")?"MSPointerDown":d("touch-events")?"mousedown, touchstart":"mousedown",r=l(t.document,o,(function(t){t&&t.target&&null==t.target.parentNode||n._onTouchNode(e||t.target,"mouse")})),a=l(i,"focusin",(function(t){if(t.target.tagName){var i=t.target.tagName.toLowerCase();"#document"!=i&&"body"!=i&&(p.isFocusable(t.target)?n._onFocusNode(e||t.target):n._onTouchNode(e||t.target))}})),s=l(i,"focusout",(function(t){n._onBlurNode(e||t.target)}));return{remove:function(){r.remove(),a.remove(),s.remove(),r=a=s=null,i=null}}}},_onBlurNode:function(t){var e=(new Date).getTime();e<y+100||(this._clearFocusTimer&&clearTimeout(this._clearFocusTimer),this._clearFocusTimer=setTimeout(s.hitch(this,(function(){this.set("prevNode",this.curNode),this.set("curNode",null)})),0),this._clearActiveWidgetsTimer&&clearTimeout(this._clearActiveWidgetsTimer),e<v+100||(this._clearActiveWidgetsTimer=setTimeout(s.hitch(this,(function(){delete this._clearActiveWidgetsTimer,this._setStack([])})),0)))},_onTouchNode:function(t,e){v=(new Date).getTime(),this._clearActiveWidgetsTimer&&(clearTimeout(this._clearActiveWidgetsTimer),delete this._clearActiveWidgetsTimer),o.contains(t,"dijitPopup")&&(t=t.firstChild);var n=[];try{for(;t;){var r=i.get(t,"dijitPopupParent");if(r)t=m.byId(r).domNode;else if(t.tagName&&"body"==t.tagName.toLowerCase()){if(t===u.body())break;t=f.get(t.ownerDocument).frameElement}else{var a=t.getAttribute&&t.getAttribute("widgetId"),s=a&&m.byId(a);!s||"mouse"==e&&s.get("disabled")||n.unshift(a),t=t.parentNode}}}catch(t){}this._setStack(n,e)},_onFocusNode:function(t){t&&9!=t.nodeType&&(y=(new Date).getTime(),this._clearFocusTimer&&(clearTimeout(this._clearFocusTimer),delete this._clearFocusTimer),this._onTouchNode(t),t!=this.curNode&&(this.set("prevNode",this.curNode),this.set("curNode",t)))},_setStack:function(t,e){var n=this.activeStack,i=n.length-1,o=t.length-1;if(t[o]!=n[i]){var r,a;for(this.set("activeStack",t),a=i;a>=0&&n[a]!=t[a];a--)(r=m.byId(n[a]))&&(r._hasBeenBlurred=!0,r.set("focused",!1),r._focusManager==this&&r._onBlur(e),this.emit("widget-blur",r,e));for(a++;a<=o;a++)(r=m.byId(t[a]))&&(r.set("focused",!0),r._focusManager==this&&r._onFocus(e),this.emit("widget-focus",r,e))}},focus:function(t){if(t)try{t.focus()}catch(t){}}}));for(var x in c((function(){var t=b.registerWin(f.get(document));d("ie")&&l(window,"unload",(function(){t&&(t.remove(),t=null)}))})),g.focus=function(t){b.focus(t)},b)/^_/.test(x)||(g.focus[x]="function"==typeof b[x]?s.hitch(b,x):b[x]);return b.watch((function(t,e,n){g.focus[t]=n})),b}))},9987:function(t,e){require({cache:{"url:dijit/form/templates/Button.html":'<span class="dijit dijitReset dijitInline" role="presentation"\n\t><span class="dijitReset dijitInline dijitButtonNode"\n\t\tdata-dojo-attach-event="ondijitclick:__onClick" role="presentation"\n\t\t><span class="dijitReset dijitStretch dijitButtonContents"\n\t\t\tdata-dojo-attach-point="titleNode,focusNode"\n\t\t\trole="button" aria-labelledby="${id}_label"\n\t\t\t><span class="dijitReset dijitInline dijitIcon" data-dojo-attach-point="iconNode"></span\n\t\t\t><span class="dijitReset dijitToggleButtonIconChar">●</span\n\t\t\t><span class="dijitReset dijitInline dijitButtonText"\n\t\t\t\tid="${id}_label"\n\t\t\t\tdata-dojo-attach-point="containerNode"\n\t\t\t></span\n\t\t></span\n\t></span\n\t><input ${!nameAttrSetting} type="${type}" value="${value}" class="dijitOffScreen"\n\t\tdata-dojo-attach-event="onclick:_onClick"\n\t\ttabIndex="-1" aria-hidden="true" data-dojo-attach-point="valueNode"\n/></span>\n'}}),define("dijit/form/Button",["require","dojo/_base/declare","dojo/dom-class","dojo/has","dojo/_base/kernel","dojo/_base/lang","dojo/ready","./_FormWidget","./_ButtonMixin","dojo/text!./templates/Button.html","../a11yclick"],(function(t,e,n,i,o,r,a,s,l,c){i("dijit-legacy-requires")&&a(0,(function(){t(["dijit/form/DropDownButton","dijit/form/ComboButton","dijit/form/ToggleButton"])}));var d=e("dijit.form.Button"+(i("dojo-bidi")?"_NoBidi":""),[s,l],{showLabel:!0,iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitButton",templateString:c,_setValueAttr:"valueNode",_setNameAttr:function(t){this.valueNode&&this.valueNode.setAttribute("name",t)},_fillContent:function(t){if(t&&(!this.params||!("label"in this.params))){var e=r.trim(t.innerHTML);e&&(this.label=e)}},_setShowLabelAttr:function(t){this.containerNode&&n.toggle(this.containerNode,"dijitDisplayNone",!t),this._set("showLabel",t)},setLabel:function(t){o.deprecated("dijit.form.Button.setLabel() is deprecated. Use set('label', ...) instead.","","2.0"),this.set("label",t)},_setLabelAttr:function(t){this.inherited(arguments),this.showLabel||"title"in this.params||(this.titleNode.title=r.trim(this.containerNode.innerText||this.containerNode.textContent||""))}});return i("dojo-bidi")&&(d=e("dijit.form.Button",d,{_setLabelAttr:function(t){this.inherited(arguments),this.titleNode.title&&this.applyTextDir(this.titleNode,this.titleNode.title)},_setTextDirAttr:function(t){this._created&&this.textDir!=t&&(this._set("textDir",t),this._setLabelAttr(this.label))}})),d}))},3636:function(t,e){require({cache:{"url:dijit/form/templates/Button.html":'<span class="dijit dijitReset dijitInline" role="presentation"\n\t><span class="dijitReset dijitInline dijitButtonNode"\n\t\tdata-dojo-attach-event="ondijitclick:__onClick" role="presentation"\n\t\t><span class="dijitReset dijitStretch dijitButtonContents"\n\t\t\tdata-dojo-attach-point="titleNode,focusNode"\n\t\t\trole="button" aria-labelledby="${id}_label"\n\t\t\t><span class="dijitReset dijitInline dijitIcon" data-dojo-attach-point="iconNode"></span\n\t\t\t><span class="dijitReset dijitToggleButtonIconChar">●</span\n\t\t\t><span class="dijitReset dijitInline dijitButtonText"\n\t\t\t\tid="${id}_label"\n\t\t\t\tdata-dojo-attach-point="containerNode"\n\t\t\t></span\n\t\t></span\n\t></span\n\t><input ${!nameAttrSetting} type="${type}" value="${value}" class="dijitOffScreen"\n\t\tdata-dojo-attach-event="onclick:_onClick"\n\t\ttabIndex="-1" aria-hidden="true" data-dojo-attach-point="valueNode"\n/></span>\n'}}),define("dijit/form/Button",["require","dojo/_base/declare","dojo/dom-class","dojo/has","dojo/_base/kernel","dojo/_base/lang","dojo/ready","./_FormWidget","./_ButtonMixin","dojo/text!./templates/Button.html","../a11yclick"],(function(t,e,n,i,o,r,a,s,l,c){i("dijit-legacy-requires")&&a(0,(function(){t(["dijit/form/DropDownButton","dijit/form/ComboButton","dijit/form/ToggleButton"])}));var d=e("dijit.form.Button"+(i("dojo-bidi")?"_NoBidi":""),[s,l],{showLabel:!0,iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitButton",templateString:c,_setValueAttr:"valueNode",_setNameAttr:function(t){this.valueNode&&this.valueNode.setAttribute("name",t)},_fillContent:function(t){if(t&&(!this.params||!("label"in this.params))){var e=r.trim(t.innerHTML);e&&(this.label=e)}},_setShowLabelAttr:function(t){this.containerNode&&n.toggle(this.containerNode,"dijitDisplayNone",!t),this._set("showLabel",t)},setLabel:function(t){o.deprecated("dijit.form.Button.setLabel() is deprecated. Use set('label', ...) instead.","","2.0"),this.set("label",t)},_setLabelAttr:function(t){this.inherited(arguments),this.showLabel||"title"in this.params||(this.titleNode.title=r.trim(this.containerNode.innerText||this.containerNode.textContent||""))}});return i("dojo-bidi")&&(d=e("dijit.form.Button",d,{_setLabelAttr:function(t){this.inherited(arguments),this.titleNode.title&&this.applyTextDir(this.titleNode,this.titleNode.title)},_setTextDirAttr:function(t){this._created&&this.textDir!=t&&(this._set("textDir",t),this._setLabelAttr(this.label))}})),d}))},1688:function(t,e){define("dijit/form/ComboBox",["dojo/_base/declare","./ValidationTextBox","./ComboBoxMixin"],(function(t,e,n){return t("dijit.form.ComboBox",[e,n],{})}))},2787:function(t,e){define("dijit/form/ComboBox",["dojo/_base/declare","./ValidationTextBox","./ComboBoxMixin"],(function(t,e,n){return t("dijit.form.ComboBox",[e,n],{})}))},6057:function(t,e){require({cache:{"url:dijit/form/templates/ComboButton.html":'<table class="dijit dijitReset dijitInline dijitLeft"\n\tcellspacing=\'0\' cellpadding=\'0\' role="presentation"\n\t><tbody role="presentation"><tr role="presentation"\n\t\t><td class="dijitReset dijitStretch dijitButtonNode" data-dojo-attach-point="buttonNode" data-dojo-attach-event="ondijitclick:__onClick,onkeydown:_onButtonKeyDown"\n\t\t><div id="${id}_button" class="dijitReset dijitButtonContents"\n\t\t\tdata-dojo-attach-point="titleNode"\n\t\t\trole="button" aria-labelledby="${id}_label"\n\t\t\t><div class="dijitReset dijitInline dijitIcon" data-dojo-attach-point="iconNode" role="presentation"></div\n\t\t\t><div class="dijitReset dijitInline dijitButtonText" id="${id}_label" data-dojo-attach-point="containerNode" role="presentation"></div\n\t\t></div\n\t\t></td\n\t\t><td id="${id}_arrow" class=\'dijitReset dijitRight dijitButtonNode dijitArrowButton\'\n\t\t\tdata-dojo-attach-point="_popupStateNode,focusNode,_buttonNode"\n\t\t\tdata-dojo-attach-event="onkeydown:_onArrowKeyDown"\n\t\t\ttitle="${optionsTitle}"\n\t\t\trole="button" aria-haspopup="true"\n\t\t\t><div class="dijitReset dijitArrowButtonInner" role="presentation"></div\n\t\t\t><div class="dijitReset dijitArrowButtonChar" role="presentation">▼</div\n\t\t></td\n\t\t><td style="display:none !important;"\n\t\t\t><input ${!nameAttrSetting} type="${type}" value="${value}" data-dojo-attach-point="valueNode"\n\t\t\t\tclass="dijitOffScreen" aria-hidden="true" data-dojo-attach-event="onclick:_onClick"\n\t\t/></td></tr></tbody\n></table>\n'}}),define("dijit/form/ComboButton",["dojo/_base/declare","dojo/keys","../focus","./DropDownButton","dojo/text!./templates/ComboButton.html","../a11yclick"],(function(t,e,n,i,o){return t("dijit.form.ComboButton",i,{templateString:o,_setIdAttr:"",_setTabIndexAttr:["focusNode","titleNode"],_setTitleAttr:"titleNode",optionsTitle:"",baseClass:"dijitComboButton",cssStateNodes:{buttonNode:"dijitButtonNode",titleNode:"dijitButtonContents",_popupStateNode:"dijitDownArrowButton"},_focusedNode:null,_onButtonKeyDown:function(t){t.keyCode==e[this.isLeftToRight()?"RIGHT_ARROW":"LEFT_ARROW"]&&(n.focus(this._popupStateNode),t.stopPropagation(),t.preventDefault())},_onArrowKeyDown:function(t){t.keyCode==e[this.isLeftToRight()?"LEFT_ARROW":"RIGHT_ARROW"]&&(n.focus(this.titleNode),t.stopPropagation(),t.preventDefault())},focus:function(t){this.disabled||n.focus("start"==t?this.titleNode:this._popupStateNode)}})}))},9394:function(t,e){require({cache:{"url:dijit/form/templates/ComboButton.html":'<table class="dijit dijitReset dijitInline dijitLeft"\n\tcellspacing=\'0\' cellpadding=\'0\' role="presentation"\n\t><tbody role="presentation"><tr role="presentation"\n\t\t><td class="dijitReset dijitStretch dijitButtonNode" data-dojo-attach-point="buttonNode" data-dojo-attach-event="ondijitclick:__onClick,onkeydown:_onButtonKeyDown"\n\t\t><div id="${id}_button" class="dijitReset dijitButtonContents"\n\t\t\tdata-dojo-attach-point="titleNode"\n\t\t\trole="button" aria-labelledby="${id}_label"\n\t\t\t><div class="dijitReset dijitInline dijitIcon" data-dojo-attach-point="iconNode" role="presentation"></div\n\t\t\t><div class="dijitReset dijitInline dijitButtonText" id="${id}_label" data-dojo-attach-point="containerNode" role="presentation"></div\n\t\t></div\n\t\t></td\n\t\t><td id="${id}_arrow" class=\'dijitReset dijitRight dijitButtonNode dijitArrowButton\'\n\t\t\tdata-dojo-attach-point="_popupStateNode,focusNode,_buttonNode"\n\t\t\tdata-dojo-attach-event="onkeydown:_onArrowKeyDown"\n\t\t\ttitle="${optionsTitle}"\n\t\t\trole="button" aria-haspopup="true"\n\t\t\t><div class="dijitReset dijitArrowButtonInner" role="presentation"></div\n\t\t\t><div class="dijitReset dijitArrowButtonChar" role="presentation">▼</div\n\t\t></td\n\t\t><td style="display:none !important;"\n\t\t\t><input ${!nameAttrSetting} type="${type}" value="${value}" data-dojo-attach-point="valueNode"\n\t\t\t\tclass="dijitOffScreen" aria-hidden="true" data-dojo-attach-event="onclick:_onClick"\n\t\t/></td></tr></tbody\n></table>\n'}}),define("dijit/form/ComboButton",["dojo/_base/declare","dojo/keys","../focus","./DropDownButton","dojo/text!./templates/ComboButton.html","../a11yclick"],(function(t,e,n,i,o){return t("dijit.form.ComboButton",i,{templateString:o,_setIdAttr:"",_setTabIndexAttr:["focusNode","titleNode"],_setTitleAttr:"titleNode",optionsTitle:"",baseClass:"dijitComboButton",cssStateNodes:{buttonNode:"dijitButtonNode",titleNode:"dijitButtonContents",_popupStateNode:"dijitDownArrowButton"},_focusedNode:null,_onButtonKeyDown:function(t){t.keyCode==e[this.isLeftToRight()?"RIGHT_ARROW":"LEFT_ARROW"]&&(n.focus(this._popupStateNode),t.stopPropagation(),t.preventDefault())},_onArrowKeyDown:function(t){t.keyCode==e[this.isLeftToRight()?"LEFT_ARROW":"RIGHT_ARROW"]&&(n.focus(this.titleNode),t.stopPropagation(),t.preventDefault())},focus:function(t){this.disabled||n.focus("start"==t?this.titleNode:this._popupStateNode)}})}))},4650:function(t,e){require({cache:{"url:dijit/form/templates/DropDownButton.html":'<span class="dijit dijitReset dijitInline"\n\t><span class=\'dijitReset dijitInline dijitButtonNode\'\n\t\tdata-dojo-attach-event="ondijitclick:__onClick" data-dojo-attach-point="_buttonNode"\n\t\t><span class="dijitReset dijitStretch dijitButtonContents"\n\t\t\tdata-dojo-attach-point="focusNode,titleNode,_arrowWrapperNode,_popupStateNode"\n\t\t\trole="button" aria-haspopup="true" aria-labelledby="${id}_label"\n\t\t\t><span class="dijitReset dijitInline dijitIcon"\n\t\t\t\tdata-dojo-attach-point="iconNode"\n\t\t\t></span\n\t\t\t><span class="dijitReset dijitInline dijitButtonText"\n\t\t\t\tdata-dojo-attach-point="containerNode"\n\t\t\t\tid="${id}_label"\n\t\t\t></span\n\t\t\t><span class="dijitReset dijitInline dijitArrowButtonInner"></span\n\t\t\t><span class="dijitReset dijitInline dijitArrowButtonChar">▼</span\n\t\t></span\n\t></span\n\t><input ${!nameAttrSetting} type="${type}" value="${value}" class="dijitOffScreen" tabIndex="-1"\n\t\tdata-dojo-attach-event="onclick:_onClick" data-dojo-attach-point="valueNode" aria-hidden="true"\n/></span>\n'}}),define("dijit/form/DropDownButton",["dojo/_base/declare","dojo/_base/lang","dojo/query","../registry","../popup","./Button","../_Container","../_HasDropDown","dojo/text!./templates/DropDownButton.html","../a11yclick"],(function(t,e,n,i,o,r,a,s,l){return t("dijit.form.DropDownButton",[r,a,s],{baseClass:"dijitDropDownButton",templateString:l,_fillContent:function(){if(this.srcNodeRef){var t=n("*",this.srcNodeRef);this.inherited(arguments,[t[0]]),this.dropDownContainer=this.srcNodeRef}},startup:function(){if(!this._started){if(!this.dropDown&&this.dropDownContainer){var t=n("[widgetId]",this.dropDownContainer)[0];t&&(this.dropDown=i.byNode(t)),delete this.dropDownContainer}this.dropDown&&o.hide(this.dropDown),this.inherited(arguments)}},isLoaded:function(){var t=this.dropDown;return!!t&&(!t.href||t.isLoaded)},loadDropDown:function(t){var n=this.dropDown,i=n.on("load",e.hitch(this,(function(){i.remove(),t()})));n.refresh()},isFocusable:function(){return this.inherited(arguments)&&!this._mouseDown}})}))},3181:function(t,e){require({cache:{"url:dijit/form/templates/DropDownButton.html":'<span class="dijit dijitReset dijitInline"\n\t><span class=\'dijitReset dijitInline dijitButtonNode\'\n\t\tdata-dojo-attach-event="ondijitclick:__onClick" data-dojo-attach-point="_buttonNode"\n\t\t><span class="dijitReset dijitStretch dijitButtonContents"\n\t\t\tdata-dojo-attach-point="focusNode,titleNode,_arrowWrapperNode,_popupStateNode"\n\t\t\trole="button" aria-haspopup="true" aria-labelledby="${id}_label"\n\t\t\t><span class="dijitReset dijitInline dijitIcon"\n\t\t\t\tdata-dojo-attach-point="iconNode"\n\t\t\t></span\n\t\t\t><span class="dijitReset dijitInline dijitButtonText"\n\t\t\t\tdata-dojo-attach-point="containerNode"\n\t\t\t\tid="${id}_label"\n\t\t\t></span\n\t\t\t><span class="dijitReset dijitInline dijitArrowButtonInner"></span\n\t\t\t><span class="dijitReset dijitInline dijitArrowButtonChar">▼</span\n\t\t></span\n\t></span\n\t><input ${!nameAttrSetting} type="${type}" value="${value}" class="dijitOffScreen" tabIndex="-1"\n\t\tdata-dojo-attach-event="onclick:_onClick" data-dojo-attach-point="valueNode" aria-hidden="true"\n/></span>\n'}}),define("dijit/form/DropDownButton",["dojo/_base/declare","dojo/_base/lang","dojo/query","../registry","../popup","./Button","../_Container","../_HasDropDown","dojo/text!./templates/DropDownButton.html","../a11yclick"],(function(t,e,n,i,o,r,a,s,l){return t("dijit.form.DropDownButton",[r,a,s],{baseClass:"dijitDropDownButton",templateString:l,_fillContent:function(){if(this.srcNodeRef){var t=n("*",this.srcNodeRef);this.inherited(arguments,[t[0]]),this.dropDownContainer=this.srcNodeRef}},startup:function(){if(!this._started){if(!this.dropDown&&this.dropDownContainer){var t=n("[widgetId]",this.dropDownContainer)[0];t&&(this.dropDown=i.byNode(t)),delete this.dropDownContainer}this.dropDown&&o.hide(this.dropDown),this.inherited(arguments)}},isLoaded:function(){var t=this.dropDown;return!!t&&(!t.href||t.isLoaded)},loadDropDown:function(t){var n=this.dropDown,i=n.on("load",e.hitch(this,(function(){i.remove(),t()})));n.refresh()},isFocusable:function(){return this.inherited(arguments)&&!this._mouseDown}})}))},2575:function(t,e){define("dijit/form/ToggleButton",["dojo/_base/declare","dojo/_base/kernel","./Button","./_ToggleButtonMixin"],(function(t,e,n,i){return t("dijit.form.ToggleButton",[n,i],{baseClass:"dijitToggleButton",setChecked:function(t){e.deprecated("setChecked("+t+") is deprecated. Use set('checked',"+t+") instead.","","2.0"),this.set("checked",t)}})}))},8552:function(t,e){define("dijit/form/ToggleButton",["dojo/_base/declare","dojo/_base/kernel","./Button","./_ToggleButtonMixin"],(function(t,e,n,i){return t("dijit.form.ToggleButton",[n,i],{baseClass:"dijitToggleButton",setChecked:function(t){e.deprecated("setChecked("+t+") is deprecated. Use set('checked',"+t+") instead.","","2.0"),this.set("checked",t)}})}))},5606:function(t,e){define("dijit/form/_ButtonMixin",["dojo/_base/declare","dojo/dom","dojo/has","../registry"],(function(t,e,n,i){var o=t("dijit.form._ButtonMixin"+(n("dojo-bidi")?"_NoBidi":""),null,{label:"",type:"button",__onClick:function(t){return t.stopPropagation(),t.preventDefault(),this.disabled||this.valueNode.click(t),!1},_onClick:function(t){if(this.disabled)return t.stopPropagation(),t.preventDefault(),!1;!1===this.onClick(t)&&t.preventDefault();var e=t.defaultPrevented;if(!e&&"submit"==this.type&&!(this.valueNode||this.focusNode).form)for(var n=this.domNode;n.parentNode;n=n.parentNode){var o=i.byNode(n);if(o&&"function"==typeof o._onSubmit){o._onSubmit(t),t.preventDefault(),e=!0;break}}return!e},postCreate:function(){this.inherited(arguments),e.setSelectable(this.focusNode,!1)},onClick:function(){return!0},_setLabelAttr:function(t){this._set("label",t),(this.containerNode||this.focusNode).innerHTML=t}});return n("dojo-bidi")&&(o=t("dijit.form._ButtonMixin",o,{_setLabelAttr:function(){this.inherited(arguments);var t=this.containerNode||this.focusNode;this.applyTextDir(t)}})),o}))},7730:function(t,e){define("dijit/form/_ButtonMixin",["dojo/_base/declare","dojo/dom","dojo/has","../registry"],(function(t,e,n,i){var o=t("dijit.form._ButtonMixin"+(n("dojo-bidi")?"_NoBidi":""),null,{label:"",type:"button",__onClick:function(t){return t.stopPropagation(),t.preventDefault(),this.disabled||this.valueNode.click(t),!1},_onClick:function(t){if(this.disabled)return t.stopPropagation(),t.preventDefault(),!1;!1===this.onClick(t)&&t.preventDefault();var e=t.defaultPrevented;if(!e&&"submit"==this.type&&!(this.valueNode||this.focusNode).form)for(var n=this.domNode;n.parentNode;n=n.parentNode){var o=i.byNode(n);if(o&&"function"==typeof o._onSubmit){o._onSubmit(t),t.preventDefault(),e=!0;break}}return!e},postCreate:function(){this.inherited(arguments),e.setSelectable(this.focusNode,!1)},onClick:function(){return!0},_setLabelAttr:function(t){this._set("label",t),(this.containerNode||this.focusNode).innerHTML=t}});return n("dojo-bidi")&&(o=t("dijit.form._ButtonMixin",o,{_setLabelAttr:function(){this.inherited(arguments);var t=this.containerNode||this.focusNode;this.applyTextDir(t)}})),o}))},8942:function(t,e){define("dijit/form/_FormValueMixin",["dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","./_FormWidgetMixin"],(function(t,e,n,i,o,r,a){return t("dijit.form._FormValueMixin",a,{readOnly:!1,_setReadOnlyAttr:function(t){r("trident")&&"disabled"in this?e.set(this.focusNode,"readOnly",t||this.disabled):e.set(this.focusNode,"readOnly",t),this._set("readOnly",t)},postCreate:function(){this.inherited(arguments),void 0===this._resetValue&&(this._lastValueReported=this._resetValue=this.value)},_setValueAttr:function(t,e){this._handleOnChange(t,e)},_handleOnChange:function(t,e){this._set("value",t),this.inherited(arguments)},undo:function(){this._setValueAttr(this._lastValueReported,!1)},reset:function(){this._hasBeenBlurred=!1,this._setValueAttr(this._resetValue,!0)}})}))},6217:function(t,e){define("dijit/form/_FormValueMixin",["dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/lang","dojo/on","dojo/sniff","./_FormWidgetMixin"],(function(t,e,n,i,o,r,a){return t("dijit.form._FormValueMixin",a,{readOnly:!1,_setReadOnlyAttr:function(t){r("trident")&&"disabled"in this?e.set(this.focusNode,"readOnly",t||this.disabled):e.set(this.focusNode,"readOnly",t),this._set("readOnly",t)},postCreate:function(){this.inherited(arguments),void 0===this._resetValue&&(this._lastValueReported=this._resetValue=this.value)},_setValueAttr:function(t,e){this._handleOnChange(t,e)},_handleOnChange:function(t,e){this._set("value",t),this.inherited(arguments)},undo:function(){this._setValueAttr(this._lastValueReported,!1)},reset:function(){this._hasBeenBlurred=!1,this._setValueAttr(this._resetValue,!0)}})}))},2271:function(t,e){define("dijit/form/_FormValueWidget",["dojo/_base/declare","dojo/sniff","./_FormWidget","./_FormValueMixin"],(function(t,e,n,i){return t("dijit.form._FormValueWidget",[n,i],{_layoutHackIE7:function(){if(7==e("ie"))for(var t=this.domNode,n=t.parentNode,i=t.firstChild||t,o=i.style.filter,r=this;n&&0==n.clientHeight;)!function(){var t=r.connect(n,"onscroll",(function(){r.disconnect(t),i.style.filter=(new Date).getMilliseconds(),r.defer((function(){i.style.filter=o}))}))}(),n=n.parentNode}})}))},3464:function(t,e){define("dijit/form/_FormValueWidget",["dojo/_base/declare","dojo/sniff","./_FormWidget","./_FormValueMixin"],(function(t,e,n,i){return t("dijit.form._FormValueWidget",[n,i],{_layoutHackIE7:function(){if(7==e("ie"))for(var t=this.domNode,n=t.parentNode,i=t.firstChild||t,o=i.style.filter,r=this;n&&0==n.clientHeight;)!function(){var t=r.connect(n,"onscroll",(function(){r.disconnect(t),i.style.filter=(new Date).getMilliseconds(),r.defer((function(){i.style.filter=o}))}))}(),n=n.parentNode}})}))},3972:function(t,e){define("dijit/form/_FormWidget",["dojo/_base/declare","dojo/sniff","dojo/_base/kernel","dojo/ready","../_Widget","../_CssStateMixin","../_TemplatedMixin","./_FormWidgetMixin"],(function(t,e,n,i,o,r,a,s){return e("dijit-legacy-requires")&&i(0,(function(){require(["dijit/form/_FormValueWidget"])})),t("dijit.form._FormWidget",[o,a,r,s],{setDisabled:function(t){n.deprecated("setDisabled("+t+") is deprecated. Use set('disabled',"+t+") instead.","","2.0"),this.set("disabled",t)},setValue:function(t){n.deprecated("dijit.form._FormWidget:setValue("+t+") is deprecated. Use set('value',"+t+") instead.","","2.0"),this.set("value",t)},getValue:function(){return n.deprecated(this.declaredClass+"::getValue() is deprecated. Use get('value') instead.","","2.0"),this.get("value")},postMixInProperties:function(){this.nameAttrSetting=this.name&&!e("msapp")?'name="'+this.name.replace(/"/g,""")+'"':"",this.inherited(arguments)}})}))},5831:function(t,e){define("dijit/form/_FormWidget",["dojo/_base/declare","dojo/sniff","dojo/_base/kernel","dojo/ready","../_Widget","../_CssStateMixin","../_TemplatedMixin","./_FormWidgetMixin"],(function(t,e,n,i,o,r,a,s){return e("dijit-legacy-requires")&&i(0,(function(){require(["dijit/form/_FormValueWidget"])})),t("dijit.form._FormWidget",[o,a,r,s],{setDisabled:function(t){n.deprecated("setDisabled("+t+") is deprecated. Use set('disabled',"+t+") instead.","","2.0"),this.set("disabled",t)},setValue:function(t){n.deprecated("dijit.form._FormWidget:setValue("+t+") is deprecated. Use set('value',"+t+") instead.","","2.0"),this.set("value",t)},getValue:function(){return n.deprecated(this.declaredClass+"::getValue() is deprecated. Use get('value') instead.","","2.0"),this.get("value")},postMixInProperties:function(){this.nameAttrSetting=this.name&&!e("msapp")?'name="'+this.name.replace(/"/g,""")+'"':"",this.inherited(arguments)}})}))},6443:function(t,e){define("dijit/form/_FormWidgetMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-style","dojo/_base/lang","dojo/mouse","dojo/on","dojo/sniff","dojo/window","../a11y"],(function(t,e,n,i,o,r,a,s,l,c){return e("dijit.form._FormWidgetMixin",null,{name:"",alt:"",value:"",type:"text","aria-label":"focusNode",tabIndex:"0",_setTabIndexAttr:"focusNode",disabled:!1,intermediateChanges:!1,scrollOnFocus:!0,_setIdAttr:"focusNode",_setDisabledAttr:function(e){if(this._set("disabled",e),/^(button|input|select|textarea|optgroup|option|fieldset)$/i.test(this.focusNode.tagName)?(n.set(this.focusNode,"disabled",e),s("trident")&&"readOnly"in this&&n.set(this.focusNode,"readonly",e||this.readOnly)):this.focusNode.setAttribute("aria-disabled",e?"true":"false"),this.valueNode&&n.set(this.valueNode,"disabled",e),e){this._set("hovering",!1),this._set("active",!1);var i="tabIndex"in this.attributeMap?this.attributeMap.tabIndex:"_setTabIndexAttr"in this?this._setTabIndexAttr:"focusNode";t.forEach(o.isArray(i)?i:[i],(function(t){var e=this[t];s("webkit")||c.hasDefaultTabStop(e)?e.setAttribute("tabIndex","-1"):e.removeAttribute("tabIndex")}),this)}else""!=this.tabIndex&&this.set("tabIndex",this.tabIndex)},_onFocus:function(t){if("mouse"==t&&this.isFocusable())var e=this.own(a(this.focusNode,"focus",(function(){i.remove(),e.remove()})))[0],n=s("pointer-events")?"pointerup":s("MSPointer")?"MSPointerUp":s("touch-events")?"touchend, mouseup":"mouseup",i=this.own(a(this.ownerDocumentBody,n,o.hitch(this,(function(t){i.remove(),e.remove(),this.focused&&("touchend"==t.type?this.defer("focus"):this.focus())}))))[0];this.scrollOnFocus&&this.defer((function(){l.scrollIntoView(this.domNode)})),this.inherited(arguments)},isFocusable:function(){return!this.disabled&&this.focusNode&&"none"!=i.get(this.domNode,"display")},focus:function(){if(!this.disabled&&this.focusNode.focus)try{this.focusNode.focus()}catch(t){}},compare:function(t,e){return"number"==typeof t&&"number"==typeof e?isNaN(t)&&isNaN(e)?0:t-e:t>e?1:t<e?-1:0},onChange:function(){},_onChangeActive:!1,_handleOnChange:function(t,e){null!=this._lastValueReported||null!==e&&this._onChangeActive||(this._resetValue=this._lastValueReported=t),this._pendingOnChange=this._pendingOnChange||typeof t!=typeof this._lastValueReported||0!=this.compare(t,this._lastValueReported),(this.intermediateChanges||e||void 0===e)&&this._pendingOnChange&&(this._lastValueReported=t,this._pendingOnChange=!1,this._onChangeActive&&(this._onChangeHandle&&this._onChangeHandle.remove(),this._onChangeHandle=this.defer((function(){this._onChangeHandle=null,this.onChange(t)}))))},create:function(){this.inherited(arguments),this._onChangeActive=!0},destroy:function(){this._onChangeHandle&&(this._onChangeHandle.remove(),this.onChange(this._lastValueReported)),this.inherited(arguments)}})}))},5628:function(t,e){define("dijit/form/_FormWidgetMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-style","dojo/_base/lang","dojo/mouse","dojo/on","dojo/sniff","dojo/window","../a11y"],(function(t,e,n,i,o,r,a,s,l,c){return e("dijit.form._FormWidgetMixin",null,{name:"",alt:"",value:"",type:"text","aria-label":"focusNode",tabIndex:"0",_setTabIndexAttr:"focusNode",disabled:!1,intermediateChanges:!1,scrollOnFocus:!0,_setIdAttr:"focusNode",_setDisabledAttr:function(e){if(this._set("disabled",e),/^(button|input|select|textarea|optgroup|option|fieldset)$/i.test(this.focusNode.tagName)?(n.set(this.focusNode,"disabled",e),s("trident")&&"readOnly"in this&&n.set(this.focusNode,"readonly",e||this.readOnly)):this.focusNode.setAttribute("aria-disabled",e?"true":"false"),this.valueNode&&n.set(this.valueNode,"disabled",e),e){this._set("hovering",!1),this._set("active",!1);var i="tabIndex"in this.attributeMap?this.attributeMap.tabIndex:"_setTabIndexAttr"in this?this._setTabIndexAttr:"focusNode";t.forEach(o.isArray(i)?i:[i],(function(t){var e=this[t];s("webkit")||c.hasDefaultTabStop(e)?e.setAttribute("tabIndex","-1"):e.removeAttribute("tabIndex")}),this)}else""!=this.tabIndex&&this.set("tabIndex",this.tabIndex)},_onFocus:function(t){if("mouse"==t&&this.isFocusable())var e=this.own(a(this.focusNode,"focus",(function(){i.remove(),e.remove()})))[0],n=s("pointer-events")?"pointerup":s("MSPointer")?"MSPointerUp":s("touch-events")?"touchend, mouseup":"mouseup",i=this.own(a(this.ownerDocumentBody,n,o.hitch(this,(function(t){i.remove(),e.remove(),this.focused&&("touchend"==t.type?this.defer("focus"):this.focus())}))))[0];this.scrollOnFocus&&this.defer((function(){l.scrollIntoView(this.domNode)})),this.inherited(arguments)},isFocusable:function(){return!this.disabled&&this.focusNode&&"none"!=i.get(this.domNode,"display")},focus:function(){if(!this.disabled&&this.focusNode.focus)try{this.focusNode.focus()}catch(t){}},compare:function(t,e){return"number"==typeof t&&"number"==typeof e?isNaN(t)&&isNaN(e)?0:t-e:t>e?1:t<e?-1:0},onChange:function(){},_onChangeActive:!1,_handleOnChange:function(t,e){null!=this._lastValueReported||null!==e&&this._onChangeActive||(this._resetValue=this._lastValueReported=t),this._pendingOnChange=this._pendingOnChange||typeof t!=typeof this._lastValueReported||0!=this.compare(t,this._lastValueReported),(this.intermediateChanges||e||void 0===e)&&this._pendingOnChange&&(this._lastValueReported=t,this._pendingOnChange=!1,this._onChangeActive&&(this._onChangeHandle&&this._onChangeHandle.remove(),this._onChangeHandle=this.defer((function(){this._onChangeHandle=null,this.onChange(t)}))))},create:function(){this.inherited(arguments),this._onChangeActive=!0},destroy:function(){this._onChangeHandle&&(this._onChangeHandle.remove(),this.onChange(this._lastValueReported)),this.inherited(arguments)}})}))},9033:function(t,e){define("dijit/form/_ToggleButtonMixin",["dojo/_base/declare","dojo/dom-attr"],(function(t,e){return t("dijit.form._ToggleButtonMixin",null,{checked:!1,_aria_attr:"aria-pressed",_onClick:function(t){var e=this.checked;this._set("checked",!e);var n=this.inherited(arguments);return this.set("checked",n?this.checked:e),n},_setCheckedAttr:function(t,n){this._set("checked",t);var i=this.focusNode||this.domNode;this._created&&e.get(i,"checked")!=!!t&&e.set(i,"checked",!!t),i.setAttribute(this._aria_attr,String(t)),this._handleOnChange(t,n)},postCreate:function(){this.inherited(arguments);var t=this.focusNode||this.domNode;this.checked&&t.setAttribute("checked","checked"),void 0===this._resetValue&&(this._lastValueReported=this._resetValue=this.checked)},reset:function(){this._hasBeenBlurred=!1,this.set("checked",this.params.checked||!1)}})}))},4210:function(t,e){define("dijit/form/_ToggleButtonMixin",["dojo/_base/declare","dojo/dom-attr"],(function(t,e){return t("dijit.form._ToggleButtonMixin",null,{checked:!1,_aria_attr:"aria-pressed",_onClick:function(t){var e=this.checked;this._set("checked",!e);var n=this.inherited(arguments);return this.set("checked",n?this.checked:e),n},_setCheckedAttr:function(t,n){this._set("checked",t);var i=this.focusNode||this.domNode;this._created&&e.get(i,"checked")!=!!t&&e.set(i,"checked",!!t),i.setAttribute(this._aria_attr,String(t)),this._handleOnChange(t,n)},postCreate:function(){this.inherited(arguments);var t=this.focusNode||this.domNode;this.checked&&t.setAttribute("checked","checked"),void 0===this._resetValue&&(this._lastValueReported=this._resetValue=this.checked)},reset:function(){this._hasBeenBlurred=!1,this.set("checked",this.params.checked||!1)}})}))},6504:function(t,e){define("dijit/hccss",["dojo/dom-class","dojo/hccss","dojo/domReady","dojo/_base/window"],(function(t,e,n,i){return n((function(){e("highcontrast")&&t.add(i.body(),"dijit_a11y")})),e}))},3555:function(t,e){define("dijit/hccss",["dojo/dom-class","dojo/hccss","dojo/domReady","dojo/_base/window"],(function(t,e,n,i){return n((function(){e("highcontrast")&&t.add(i.body(),"dijit_a11y")})),e}))},3498:function(t,e){require({cache:{"url:dijit/layout/templates/AccordionButton.html":"<div data-dojo-attach-event='ondijitclick:_onTitleClick' class='dijitAccordionTitle' role=\"presentation\">\n\t<div data-dojo-attach-point='titleNode,focusNode' data-dojo-attach-event='onkeydown:_onTitleKeyDown'\n\t\t\tclass='dijitAccordionTitleFocus' role=\"tab\" aria-expanded=\"false\"\n\t\t><span class='dijitInline dijitAccordionArrow' role=\"presentation\"></span\n\t\t><span class='arrowTextUp' role=\"presentation\">+</span\n\t\t><span class='arrowTextDown' role=\"presentation\">-</span\n\t\t><span role=\"presentation\" class=\"dijitInline dijitIcon\" data-dojo-attach-point=\"iconNode\"></span>\n\t\t<span role=\"presentation\" data-dojo-attach-point='titleTextNode, textDirNode' class='dijitAccordionText'></span>\n\t</div>\n</div>\n"}}),define("dijit/layout/AccordionContainer",["require","dojo/_base/array","dojo/_base/declare","dojo/_base/fx","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/keys","dojo/_base/lang","dojo/sniff","dojo/topic","../focus","../_base/manager","dojo/ready","../_Widget","../_Container","../_TemplatedMixin","../_CssStateMixin","./StackContainer","./ContentPane","dojo/text!./templates/AccordionButton.html","../a11yclick"],(function(t,e,n,i,o,r,a,s,l,c,d,h,u,f,p,m,g,y,v,b,x,_,j){var w=n("dijit.layout._AccordionButton",[g,v,b],{templateString:j,label:"",_setLabelAttr:{node:"titleTextNode",type:"innerHTML"},title:"",_setTitleAttr:{node:"titleTextNode",type:"attribute",attribute:"title"},iconClassAttr:"",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitAccordionTitle",getParent:function(){return this.parent},buildRendering:function(){this.inherited(arguments);var t=this.id.replace(" ","_");r.set(this.titleTextNode,"id",t+"_title"),this.focusNode.setAttribute("aria-labelledby",r.get(this.titleTextNode,"id")),o.setSelectable(this.domNode,!1)},getTitleHeight:function(){return l.getMarginSize(this.domNode).h},_onTitleClick:function(){this.getParent().selectChild(this.contentWidget,!0),f.focus(this.focusNode)},_onTitleKeyDown:function(t){return this.getParent()._onKeyDown(t,this.contentWidget)},_setSelectedAttr:function(t){this._set("selected",t),this.focusNode.setAttribute("aria-expanded",t?"true":"false"),this.focusNode.setAttribute("aria-selected",t?"true":"false"),this.focusNode.setAttribute("tabIndex",t?"0":"-1")}});h("dojo-bidi")&&w.extend({_setLabelAttr:function(t){this._set("label",t),r.set(this.titleTextNode,"innerHTML",t),this.applyTextDir(this.titleTextNode)},_setTitleAttr:function(t){this._set("title",t),r.set(this.titleTextNode,"title",t),this.applyTextDir(this.titleTextNode)}});var k=n("dijit.layout._AccordionInnerContainer"+(h("dojo-bidi")?"_NoBidi":""),[g,b],{baseClass:"dijitAccordionInnerContainer",isLayoutContainer:!0,buildRendering:function(){this.domNode=s.place("<div class='"+this.baseClass+"' role='presentation'>",this.contentWidget.domNode,"after");var t=this.contentWidget,e=d.isString(this.buttonWidget)?d.getObject(this.buttonWidget):this.buttonWidget;this.button=t._buttonWidget=new e({contentWidget:t,label:t.title,title:t.tooltip,dir:t.dir,lang:t.lang,textDir:t.textDir||this.textDir,iconClass:t.iconClass,id:t.id+"_button",parent:this.parent}).placeAt(this.domNode),this.containerNode=s.place("<div class='dijitAccordionChildWrapper' role='tabpanel' style='display:none'>",this.domNode),this.containerNode.setAttribute("aria-labelledby",this.button.id),s.place(this.contentWidget.domNode,this.containerNode)},postCreate:function(){this.inherited(arguments);var t=this.button,e=this.contentWidget;this._contentWidgetWatches=[e.watch("title",d.hitch(this,(function(e,n,i){t.set("label",i)}))),e.watch("tooltip",d.hitch(this,(function(e,n,i){t.set("title",i)}))),e.watch("iconClass",d.hitch(this,(function(e,n,i){t.set("iconClass",i)})))]},_setSelectedAttr:function(t){if(this._set("selected",t),this.button.set("selected",t),t){var e=this.contentWidget;e.onSelected&&e.onSelected()}},startup:function(){this.contentWidget.startup()},destroy:function(){this.button.destroyRecursive(),e.forEach(this._contentWidgetWatches||[],(function(t){t.unwatch()})),delete this.contentWidget._buttonWidget,delete this.contentWidget._wrapperWidget,this.inherited(arguments)},destroyDescendants:function(t){this.contentWidget.destroyRecursive(t)}});h("dojo-bidi")&&(k=n("dijit.layout._AccordionInnerContainer",k,{postCreate:function(){this.inherited(arguments);var t=this.button;this._contentWidgetWatches.push(this.contentWidget.watch("textDir",(function(e,n,i){t.set("textDir",i)})))}}));var C=n("dijit.layout.AccordionContainer",x,{duration:p.defaultDuration,buttonWidget:w,baseClass:"dijitAccordionContainer",buildRendering:function(){this.inherited(arguments),this.domNode.style.overflow="hidden",this.domNode.setAttribute("role","tablist")},startup:function(){this._started||(this.inherited(arguments),this.selectedChildWidget&&this.selectedChildWidget._wrapperWidget.set("selected",!0))},layout:function(){var t=this.selectedChildWidget;if(t){var n=t._wrapperWidget.domNode,i=l.getMarginExtents(n),o=l.getPadBorderExtents(n),r=t._wrapperWidget.containerNode,a=l.getMarginExtents(r),s=l.getPadBorderExtents(r),c=this._contentBox,d=0;e.forEach(this.getChildren(),(function(e){e!=t&&(d+=l.getMarginSize(e._wrapperWidget.domNode).h)})),this._verticalSpace=c.h-d-i.h-o.h-a.h-s.h-t._buttonWidget.getTitleHeight(),this._containerContentBox={h:this._verticalSpace,w:this._contentBox.w-i.w-o.w-a.w-s.w},t&&t.resize(this._containerContentBox)}},_setupChild:function(t){t._wrapperWidget=k({contentWidget:t,buttonWidget:this.buttonWidget,id:t.id+"_wrapper",dir:t.dir,lang:t.lang,textDir:t.textDir||this.textDir,parent:this}),this.inherited(arguments),s.place(t.domNode,t._wrapper,"replace")},removeChild:function(t){t._wrapperWidget&&(s.place(t.domNode,t._wrapperWidget.domNode,"after"),t._wrapperWidget.destroy(),delete t._wrapperWidget),a.remove(t.domNode,"dijitHidden"),this.inherited(arguments)},getChildren:function(){return e.map(this.inherited(arguments),(function(t){return"dijit.layout._AccordionInnerContainer"==t.declaredClass?t.contentWidget:t}),this)},destroy:function(){this._animation&&this._animation.stop(),e.forEach(this.getChildren(),(function(t){t._wrapperWidget?t._wrapperWidget.destroy():t.destroyRecursive()})),this.inherited(arguments)},_showChild:function(t){return t._wrapperWidget.containerNode.style.display="block",this.inherited(arguments)},_hideChild:function(t){t._wrapperWidget.containerNode.style.display="none",this.inherited(arguments)},_transition:function(t,e,n){h("ie")<8&&(n=!1),this._animation&&(this._animation.stop(!0),delete this._animation);var o=this;if(t){t._wrapperWidget.set("selected",!0);var r=this._showChild(t);this.doLayout&&t.resize&&t.resize(this._containerContentBox)}if(e&&(e._wrapperWidget.set("selected",!1),n||this._hideChild(e)),n){var a=t._wrapperWidget.containerNode,s=e._wrapperWidget.containerNode,c=t._wrapperWidget.containerNode,d=l.getMarginExtents(c),u=l.getPadBorderExtents(c),f=d.h+u.h;s.style.height=o._verticalSpace-f+"px",this._animation=new i.Animation({node:a,duration:this.duration,curve:[1,this._verticalSpace-f-1],onAnimate:function(t){t=Math.floor(t),a.style.height=t+"px",s.style.height=o._verticalSpace-f-t+"px"},onEnd:function(){delete o._animation,a.style.height="auto",e._wrapperWidget.containerNode.style.display="none",s.style.height="auto",o._hideChild(e)}}),this._animation.onStop=this._animation.onEnd,this._animation.play()}return r},_onKeyDown:function(t,e){if(!this.disabled&&!t.altKey&&(e||t.ctrlKey)){var n=t.keyCode;e&&(n==c.LEFT_ARROW||n==c.UP_ARROW)||t.ctrlKey&&n==c.PAGE_UP?(this._adjacent(!1)._buttonWidget._onTitleClick(),t.stopPropagation(),t.preventDefault()):(e&&(n==c.RIGHT_ARROW||n==c.DOWN_ARROW)||t.ctrlKey&&(n==c.PAGE_DOWN||n==c.TAB))&&(this._adjacent(!0)._buttonWidget._onTitleClick(),t.stopPropagation(),t.preventDefault())}}});return h("dijit-legacy-requires")&&m(0,(function(){t(["dijit/layout/AccordionPane"])})),C._InnerContainer=k,C._Button=w,C}))},8141:function(t,e){require({cache:{"url:dijit/layout/templates/AccordionButton.html":"<div data-dojo-attach-event='ondijitclick:_onTitleClick' class='dijitAccordionTitle' role=\"presentation\">\n\t<div data-dojo-attach-point='titleNode,focusNode' data-dojo-attach-event='onkeydown:_onTitleKeyDown'\n\t\t\tclass='dijitAccordionTitleFocus' role=\"tab\" aria-expanded=\"false\"\n\t\t><span class='dijitInline dijitAccordionArrow' role=\"presentation\"></span\n\t\t><span class='arrowTextUp' role=\"presentation\">+</span\n\t\t><span class='arrowTextDown' role=\"presentation\">-</span\n\t\t><span role=\"presentation\" class=\"dijitInline dijitIcon\" data-dojo-attach-point=\"iconNode\"></span>\n\t\t<span role=\"presentation\" data-dojo-attach-point='titleTextNode, textDirNode' class='dijitAccordionText'></span>\n\t</div>\n</div>\n"}}),define("dijit/layout/AccordionContainer",["require","dojo/_base/array","dojo/_base/declare","dojo/_base/fx","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/keys","dojo/_base/lang","dojo/sniff","dojo/topic","../focus","../_base/manager","dojo/ready","../_Widget","../_Container","../_TemplatedMixin","../_CssStateMixin","./StackContainer","./ContentPane","dojo/text!./templates/AccordionButton.html","../a11yclick"],(function(t,e,n,i,o,r,a,s,l,c,d,h,u,f,p,m,g,y,v,b,x,_,j){var w=n("dijit.layout._AccordionButton",[g,v,b],{templateString:j,label:"",_setLabelAttr:{node:"titleTextNode",type:"innerHTML"},title:"",_setTitleAttr:{node:"titleTextNode",type:"attribute",attribute:"title"},iconClassAttr:"",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitAccordionTitle",getParent:function(){return this.parent},buildRendering:function(){this.inherited(arguments);var t=this.id.replace(" ","_");r.set(this.titleTextNode,"id",t+"_title"),this.focusNode.setAttribute("aria-labelledby",r.get(this.titleTextNode,"id")),o.setSelectable(this.domNode,!1)},getTitleHeight:function(){return l.getMarginSize(this.domNode).h},_onTitleClick:function(){this.getParent().selectChild(this.contentWidget,!0),f.focus(this.focusNode)},_onTitleKeyDown:function(t){return this.getParent()._onKeyDown(t,this.contentWidget)},_setSelectedAttr:function(t){this._set("selected",t),this.focusNode.setAttribute("aria-expanded",t?"true":"false"),this.focusNode.setAttribute("aria-selected",t?"true":"false"),this.focusNode.setAttribute("tabIndex",t?"0":"-1")}});h("dojo-bidi")&&w.extend({_setLabelAttr:function(t){this._set("label",t),r.set(this.titleTextNode,"innerHTML",t),this.applyTextDir(this.titleTextNode)},_setTitleAttr:function(t){this._set("title",t),r.set(this.titleTextNode,"title",t),this.applyTextDir(this.titleTextNode)}});var k=n("dijit.layout._AccordionInnerContainer"+(h("dojo-bidi")?"_NoBidi":""),[g,b],{baseClass:"dijitAccordionInnerContainer",isLayoutContainer:!0,buildRendering:function(){this.domNode=s.place("<div class='"+this.baseClass+"' role='presentation'>",this.contentWidget.domNode,"after");var t=this.contentWidget,e=d.isString(this.buttonWidget)?d.getObject(this.buttonWidget):this.buttonWidget;this.button=t._buttonWidget=new e({contentWidget:t,label:t.title,title:t.tooltip,dir:t.dir,lang:t.lang,textDir:t.textDir||this.textDir,iconClass:t.iconClass,id:t.id+"_button",parent:this.parent}).placeAt(this.domNode),this.containerNode=s.place("<div class='dijitAccordionChildWrapper' role='tabpanel' style='display:none'>",this.domNode),this.containerNode.setAttribute("aria-labelledby",this.button.id),s.place(this.contentWidget.domNode,this.containerNode)},postCreate:function(){this.inherited(arguments);var t=this.button,e=this.contentWidget;this._contentWidgetWatches=[e.watch("title",d.hitch(this,(function(e,n,i){t.set("label",i)}))),e.watch("tooltip",d.hitch(this,(function(e,n,i){t.set("title",i)}))),e.watch("iconClass",d.hitch(this,(function(e,n,i){t.set("iconClass",i)})))]},_setSelectedAttr:function(t){if(this._set("selected",t),this.button.set("selected",t),t){var e=this.contentWidget;e.onSelected&&e.onSelected()}},startup:function(){this.contentWidget.startup()},destroy:function(){this.button.destroyRecursive(),e.forEach(this._contentWidgetWatches||[],(function(t){t.unwatch()})),delete this.contentWidget._buttonWidget,delete this.contentWidget._wrapperWidget,this.inherited(arguments)},destroyDescendants:function(t){this.contentWidget.destroyRecursive(t)}});h("dojo-bidi")&&(k=n("dijit.layout._AccordionInnerContainer",k,{postCreate:function(){this.inherited(arguments);var t=this.button;this._contentWidgetWatches.push(this.contentWidget.watch("textDir",(function(e,n,i){t.set("textDir",i)})))}}));var C=n("dijit.layout.AccordionContainer",x,{duration:p.defaultDuration,buttonWidget:w,baseClass:"dijitAccordionContainer",buildRendering:function(){this.inherited(arguments),this.domNode.style.overflow="hidden",this.domNode.setAttribute("role","tablist")},startup:function(){this._started||(this.inherited(arguments),this.selectedChildWidget&&this.selectedChildWidget._wrapperWidget.set("selected",!0))},layout:function(){var t=this.selectedChildWidget;if(t){var n=t._wrapperWidget.domNode,i=l.getMarginExtents(n),o=l.getPadBorderExtents(n),r=t._wrapperWidget.containerNode,a=l.getMarginExtents(r),s=l.getPadBorderExtents(r),c=this._contentBox,d=0;e.forEach(this.getChildren(),(function(e){e!=t&&(d+=l.getMarginSize(e._wrapperWidget.domNode).h)})),this._verticalSpace=c.h-d-i.h-o.h-a.h-s.h-t._buttonWidget.getTitleHeight(),this._containerContentBox={h:this._verticalSpace,w:this._contentBox.w-i.w-o.w-a.w-s.w},t&&t.resize(this._containerContentBox)}},_setupChild:function(t){t._wrapperWidget=k({contentWidget:t,buttonWidget:this.buttonWidget,id:t.id+"_wrapper",dir:t.dir,lang:t.lang,textDir:t.textDir||this.textDir,parent:this}),this.inherited(arguments),s.place(t.domNode,t._wrapper,"replace")},removeChild:function(t){t._wrapperWidget&&(s.place(t.domNode,t._wrapperWidget.domNode,"after"),t._wrapperWidget.destroy(),delete t._wrapperWidget),a.remove(t.domNode,"dijitHidden"),this.inherited(arguments)},getChildren:function(){return e.map(this.inherited(arguments),(function(t){return"dijit.layout._AccordionInnerContainer"==t.declaredClass?t.contentWidget:t}),this)},destroy:function(){this._animation&&this._animation.stop(),e.forEach(this.getChildren(),(function(t){t._wrapperWidget?t._wrapperWidget.destroy():t.destroyRecursive()})),this.inherited(arguments)},_showChild:function(t){return t._wrapperWidget.containerNode.style.display="block",this.inherited(arguments)},_hideChild:function(t){t._wrapperWidget.containerNode.style.display="none",this.inherited(arguments)},_transition:function(t,e,n){h("ie")<8&&(n=!1),this._animation&&(this._animation.stop(!0),delete this._animation);var o=this;if(t){t._wrapperWidget.set("selected",!0);var r=this._showChild(t);this.doLayout&&t.resize&&t.resize(this._containerContentBox)}if(e&&(e._wrapperWidget.set("selected",!1),n||this._hideChild(e)),n){var a=t._wrapperWidget.containerNode,s=e._wrapperWidget.containerNode,c=t._wrapperWidget.containerNode,d=l.getMarginExtents(c),u=l.getPadBorderExtents(c),f=d.h+u.h;s.style.height=o._verticalSpace-f+"px",this._animation=new i.Animation({node:a,duration:this.duration,curve:[1,this._verticalSpace-f-1],onAnimate:function(t){t=Math.floor(t),a.style.height=t+"px",s.style.height=o._verticalSpace-f-t+"px"},onEnd:function(){delete o._animation,a.style.height="auto",e._wrapperWidget.containerNode.style.display="none",s.style.height="auto",o._hideChild(e)}}),this._animation.onStop=this._animation.onEnd,this._animation.play()}return r},_onKeyDown:function(t,e){if(!this.disabled&&!t.altKey&&(e||t.ctrlKey)){var n=t.keyCode;e&&(n==c.LEFT_ARROW||n==c.UP_ARROW)||t.ctrlKey&&n==c.PAGE_UP?(this._adjacent(!1)._buttonWidget._onTitleClick(),t.stopPropagation(),t.preventDefault()):(e&&(n==c.RIGHT_ARROW||n==c.DOWN_ARROW)||t.ctrlKey&&(n==c.PAGE_DOWN||n==c.TAB))&&(this._adjacent(!0)._buttonWidget._onTitleClick(),t.stopPropagation(),t.preventDefault())}}});return h("dijit-legacy-requires")&&m(0,(function(){t(["dijit/layout/AccordionPane"])})),C._InnerContainer=k,C._Button=w,C}))},3507:function(t,e){define("dijit/layout/AccordionPane",["dojo/_base/declare","dojo/_base/kernel","./ContentPane"],(function(t,e,n){return t("dijit.layout.AccordionPane",n,{constructor:function(){e.deprecated("dijit.layout.AccordionPane deprecated, use ContentPane instead","","2.0")},onSelected:function(){}})}))},2148:function(t,e){define("dijit/layout/AccordionPane",["dojo/_base/declare","dojo/_base/kernel","./ContentPane"],(function(t,e,n){return t("dijit.layout.AccordionPane",n,{constructor:function(){e.deprecated("dijit.layout.AccordionPane deprecated, use ContentPane instead","","2.0")},onSelected:function(){}})}))},7416:function(t,e){define("dijit/layout/ContentPane",["dojo/_base/kernel","dojo/_base/lang","../_Widget","../_Container","./_ContentPaneResizeMixin","dojo/string","dojo/html","dojo/i18n!../nls/loading","dojo/_base/array","dojo/_base/declare","dojo/_base/Deferred","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/_base/xhr","dojo/i18n","dojo/when"],(function(t,e,n,i,o,r,a,s,l,c,d,h,u,f,p,m,g){return c("dijit.layout.ContentPane",[n,i,o],{href:"",content:"",extractContent:!1,parseOnLoad:!0,parserScope:t._scopeName,preventCache:!1,preload:!1,refreshOnShow:!1,loadingMessage:"<span class='dijitContentPaneLoading'><span class='dijitInline dijitIconLoading'></span>${loadingState}</span>",errorMessage:"<span class='dijitContentPaneError'><span class='dijitInline dijitIconError'></span>${errorState}</span>",isLoaded:!1,baseClass:"dijitContentPane",ioArgs:{},onLoadDeferred:null,_setTitleAttr:null,stopParser:!0,template:!1,markupFactory:function(t,e,n){var i=new n(t,e);return!i.href&&i._contentSetter&&i._contentSetter.parseDeferred&&!i._contentSetter.parseDeferred.isFulfilled()?i._contentSetter.parseDeferred.then((function(){return i})):i},create:function(t,n){if((!t||!t.template)&&n&&!("href"in t)&&!("content"in t)){for(var i=(n=h.byId(n)).ownerDocument.createDocumentFragment();n.firstChild;)i.appendChild(n.firstChild);t=e.delegate(t,{content:i})}this.inherited(arguments,[t,n])},postMixInProperties:function(){this.inherited(arguments);var t=m.getLocalization("dijit","loading",this.lang);this.loadingMessage=r.substitute(this.loadingMessage,t),this.errorMessage=r.substitute(this.errorMessage,t)},buildRendering:function(){this.inherited(arguments),this.containerNode||(this.containerNode=this.domNode),this.domNode.removeAttribute("title")},startup:function(){this.inherited(arguments),this._contentSetter&&l.forEach(this._contentSetter.parseResults,(function(t){t._started||t._destroyed||!e.isFunction(t.startup)||(t.startup(),t._started=!0)}),this)},_startChildren:function(){l.forEach(this.getChildren(),(function(t){t._started||t._destroyed||!e.isFunction(t.startup)||(t.startup(),t._started=!0)})),this._contentSetter&&l.forEach(this._contentSetter.parseResults,(function(t){t._started||t._destroyed||!e.isFunction(t.startup)||(t.startup(),t._started=!0)}),this)},setHref:function(e){return t.deprecated("dijit.layout.ContentPane.setHref() is deprecated. Use set('href', ...) instead.","","2.0"),this.set("href",e)},_setHrefAttr:function(t){return this.cancel(),this.onLoadDeferred=new d(e.hitch(this,"cancel")),this.onLoadDeferred.then(e.hitch(this,"onLoad")),this._set("href",t),this.preload||this._created&&this._isShown()?this._load():this._hrefChanged=!0,this.onLoadDeferred},setContent:function(e){t.deprecated("dijit.layout.ContentPane.setContent() is deprecated. Use set('content', ...) instead.","","2.0"),this.set("content",e)},_setContentAttr:function(t){return this._set("href",""),this.cancel(),this.onLoadDeferred=new d(e.hitch(this,"cancel")),this._created&&this.onLoadDeferred.then(e.hitch(this,"onLoad")),this._setContent(t||""),this._isDownloaded=!1,this.onLoadDeferred},_getContentAttr:function(){return this.containerNode.innerHTML},cancel:function(){this._xhrDfd&&-1==this._xhrDfd.fired&&this._xhrDfd.cancel(),delete this._xhrDfd,this.onLoadDeferred=null},destroy:function(){this.cancel(),this.inherited(arguments)},destroyRecursive:function(t){this._beingDestroyed||this.inherited(arguments)},_onShow:function(){if(this.inherited(arguments),this.href&&!this._xhrDfd&&(!this.isLoaded||this._hrefChanged||this.refreshOnShow))return this.refresh()},refresh:function(){return this.cancel(),this.onLoadDeferred=new d(e.hitch(this,"cancel")),this.onLoadDeferred.then(e.hitch(this,"onLoad")),this._load(),this.onLoadDeferred},_load:function(){this._setContent(this.onDownloadStart(),!0);var t=this,n={preventCache:this.preventCache||this.refreshOnShow,url:this.href,handleAs:"text"};e.isObject(this.ioArgs)&&e.mixin(n,this.ioArgs);var i,o=this._xhrDfd=(this.ioMethod||p.get)(n);o.then((function(e){i=e;try{return t._isDownloaded=!0,t._setContent(e,!1)}catch(e){t._onError("Content",e)}}),(function(e){return o.canceled||t._onError("Download",e),delete t._xhrDfd,e})).then((function(){return t.onDownloadEnd(),delete t._xhrDfd,i})),delete this._hrefChanged},_onLoadHandler:function(t){this._set("isLoaded",!0);try{this.onLoadDeferred.resolve(t)}catch(t){console.error("Error "+(this.widgetId||this.id)+" running custom onLoad code: "+t.message)}},_onUnloadHandler:function(){this._set("isLoaded",!1);try{this.onUnload()}catch(t){console.error("Error "+this.widgetId+" running custom onUnload code: "+t.message)}},destroyDescendants:function(t){this.isLoaded&&this._onUnloadHandler();var e=this._contentSetter;l.forEach(this.getChildren(),(function(e){e.destroyRecursive?e.destroyRecursive(t):e.destroy&&e.destroy(t),e._destroyed=!0})),e&&(l.forEach(e.parseResults,(function(e){e._destroyed||(e.destroyRecursive?e.destroyRecursive(t):e.destroy&&e.destroy(t),e._destroyed=!0)})),delete e.parseResults),t||f.empty(this.containerNode),delete this._singleChild},_setContent:function(t,n){this.destroyDescendants();var i=this._contentSetter;i&&i instanceof a._ContentSetter||(i=this._contentSetter=new a._ContentSetter({node:this.containerNode,_onError:e.hitch(this,this._onError),onContentError:e.hitch(this,(function(t){var e=this.onContentError(t);try{this.containerNode.innerHTML=e}catch(t){console.error("Fatal "+this.id+" could not change content due to "+t.message,t)}}))}));var o=e.mixin({cleanContent:this.cleanContent,extractContent:this.extractContent,parseContent:!t.domNode&&this.parseOnLoad,parserScope:this.parserScope,startup:!1,dir:this.dir,lang:this.lang,textDir:this.textDir},this._contentSetterParams||{}),r=i.set(e.isObject(t)&&t.domNode?t.domNode:t,o),s=this;return g(r&&r.then?r:i.parseDeferred,(function(){delete s._contentSetterParams,n||(s._started&&(s._startChildren(),s._scheduleLayout()),s._onLoadHandler(t))}))},_onError:function(t,e,n){this.onLoadDeferred.reject(e);var i=this["on"+t+"Error"].call(this,e);n?console.error(n,e):i&&this._setContent(i,!0)},onLoad:function(){},onUnload:function(){},onDownloadStart:function(){return this.loadingMessage},onContentError:function(){},onDownloadError:function(){return this.errorMessage},onDownloadEnd:function(){}})}))},1635:function(t,e){define("dijit/layout/ContentPane",["dojo/_base/kernel","dojo/_base/lang","../_Widget","../_Container","./_ContentPaneResizeMixin","dojo/string","dojo/html","dojo/i18n!../nls/loading","dojo/_base/array","dojo/_base/declare","dojo/_base/Deferred","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/_base/xhr","dojo/i18n","dojo/when"],(function(t,e,n,i,o,r,a,s,l,c,d,h,u,f,p,m,g){return c("dijit.layout.ContentPane",[n,i,o],{href:"",content:"",extractContent:!1,parseOnLoad:!0,parserScope:t._scopeName,preventCache:!1,preload:!1,refreshOnShow:!1,loadingMessage:"<span class='dijitContentPaneLoading'><span class='dijitInline dijitIconLoading'></span>${loadingState}</span>",errorMessage:"<span class='dijitContentPaneError'><span class='dijitInline dijitIconError'></span>${errorState}</span>",isLoaded:!1,baseClass:"dijitContentPane",ioArgs:{},onLoadDeferred:null,_setTitleAttr:null,stopParser:!0,template:!1,markupFactory:function(t,e,n){var i=new n(t,e);return!i.href&&i._contentSetter&&i._contentSetter.parseDeferred&&!i._contentSetter.parseDeferred.isFulfilled()?i._contentSetter.parseDeferred.then((function(){return i})):i},create:function(t,n){if((!t||!t.template)&&n&&!("href"in t)&&!("content"in t)){for(var i=(n=h.byId(n)).ownerDocument.createDocumentFragment();n.firstChild;)i.appendChild(n.firstChild);t=e.delegate(t,{content:i})}this.inherited(arguments,[t,n])},postMixInProperties:function(){this.inherited(arguments);var t=m.getLocalization("dijit","loading",this.lang);this.loadingMessage=r.substitute(this.loadingMessage,t),this.errorMessage=r.substitute(this.errorMessage,t)},buildRendering:function(){this.inherited(arguments),this.containerNode||(this.containerNode=this.domNode),this.domNode.removeAttribute("title")},startup:function(){this.inherited(arguments),this._contentSetter&&l.forEach(this._contentSetter.parseResults,(function(t){t._started||t._destroyed||!e.isFunction(t.startup)||(t.startup(),t._started=!0)}),this)},_startChildren:function(){l.forEach(this.getChildren(),(function(t){t._started||t._destroyed||!e.isFunction(t.startup)||(t.startup(),t._started=!0)})),this._contentSetter&&l.forEach(this._contentSetter.parseResults,(function(t){t._started||t._destroyed||!e.isFunction(t.startup)||(t.startup(),t._started=!0)}),this)},setHref:function(e){return t.deprecated("dijit.layout.ContentPane.setHref() is deprecated. Use set('href', ...) instead.","","2.0"),this.set("href",e)},_setHrefAttr:function(t){return this.cancel(),this.onLoadDeferred=new d(e.hitch(this,"cancel")),this.onLoadDeferred.then(e.hitch(this,"onLoad")),this._set("href",t),this.preload||this._created&&this._isShown()?this._load():this._hrefChanged=!0,this.onLoadDeferred},setContent:function(e){t.deprecated("dijit.layout.ContentPane.setContent() is deprecated. Use set('content', ...) instead.","","2.0"),this.set("content",e)},_setContentAttr:function(t){return this._set("href",""),this.cancel(),this.onLoadDeferred=new d(e.hitch(this,"cancel")),this._created&&this.onLoadDeferred.then(e.hitch(this,"onLoad")),this._setContent(t||""),this._isDownloaded=!1,this.onLoadDeferred},_getContentAttr:function(){return this.containerNode.innerHTML},cancel:function(){this._xhrDfd&&-1==this._xhrDfd.fired&&this._xhrDfd.cancel(),delete this._xhrDfd,this.onLoadDeferred=null},destroy:function(){this.cancel(),this.inherited(arguments)},destroyRecursive:function(t){this._beingDestroyed||this.inherited(arguments)},_onShow:function(){if(this.inherited(arguments),this.href&&!this._xhrDfd&&(!this.isLoaded||this._hrefChanged||this.refreshOnShow))return this.refresh()},refresh:function(){return this.cancel(),this.onLoadDeferred=new d(e.hitch(this,"cancel")),this.onLoadDeferred.then(e.hitch(this,"onLoad")),this._load(),this.onLoadDeferred},_load:function(){this._setContent(this.onDownloadStart(),!0);var t=this,n={preventCache:this.preventCache||this.refreshOnShow,url:this.href,handleAs:"text"};e.isObject(this.ioArgs)&&e.mixin(n,this.ioArgs);var i,o=this._xhrDfd=(this.ioMethod||p.get)(n);o.then((function(e){i=e;try{return t._isDownloaded=!0,t._setContent(e,!1)}catch(e){t._onError("Content",e)}}),(function(e){return o.canceled||t._onError("Download",e),delete t._xhrDfd,e})).then((function(){return t.onDownloadEnd(),delete t._xhrDfd,i})),delete this._hrefChanged},_onLoadHandler:function(t){this._set("isLoaded",!0);try{this.onLoadDeferred.resolve(t)}catch(t){console.error("Error "+(this.widgetId||this.id)+" running custom onLoad code: "+t.message)}},_onUnloadHandler:function(){this._set("isLoaded",!1);try{this.onUnload()}catch(t){console.error("Error "+this.widgetId+" running custom onUnload code: "+t.message)}},destroyDescendants:function(t){this.isLoaded&&this._onUnloadHandler();var e=this._contentSetter;l.forEach(this.getChildren(),(function(e){e.destroyRecursive?e.destroyRecursive(t):e.destroy&&e.destroy(t),e._destroyed=!0})),e&&(l.forEach(e.parseResults,(function(e){e._destroyed||(e.destroyRecursive?e.destroyRecursive(t):e.destroy&&e.destroy(t),e._destroyed=!0)})),delete e.parseResults),t||f.empty(this.containerNode),delete this._singleChild},_setContent:function(t,n){this.destroyDescendants();var i=this._contentSetter;i&&i instanceof a._ContentSetter||(i=this._contentSetter=new a._ContentSetter({node:this.containerNode,_onError:e.hitch(this,this._onError),onContentError:e.hitch(this,(function(t){var e=this.onContentError(t);try{this.containerNode.innerHTML=e}catch(t){console.error("Fatal "+this.id+" could not change content due to "+t.message,t)}}))}));var o=e.mixin({cleanContent:this.cleanContent,extractContent:this.extractContent,parseContent:!t.domNode&&this.parseOnLoad,parserScope:this.parserScope,startup:!1,dir:this.dir,lang:this.lang,textDir:this.textDir},this._contentSetterParams||{}),r=i.set(e.isObject(t)&&t.domNode?t.domNode:t,o),s=this;return g(r&&r.then?r:i.parseDeferred,(function(){delete s._contentSetterParams,n||(s._started&&(s._startChildren(),s._scheduleLayout()),s._onLoadHandler(t))}))},_onError:function(t,e,n){this.onLoadDeferred.reject(e);var i=this["on"+t+"Error"].call(this,e);n?console.error(n,e):i&&this._setContent(i,!0)},onLoad:function(){},onUnload:function(){},onDownloadStart:function(){return this.loadingMessage},onContentError:function(){},onDownloadError:function(){return this.errorMessage},onDownloadEnd:function(){}})}))},8652:function(t,e){define("dijit/layout/StackContainer",["dojo/_base/array","dojo/cookie","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/has","dojo/_base/lang","dojo/on","dojo/ready","dojo/topic","dojo/when","../registry","../_WidgetBase","./_LayoutWidget"],(function(t,e,n,i,o,r,a,s,l,c,d,h,u,f){r("dijit-legacy-requires")&&l(0,(function(){require(["dijit/layout/StackController"])}));var p=n("dijit.layout.StackContainer",f,{doLayout:!0,persist:!1,baseClass:"dijitStackContainer",buildRendering:function(){this.inherited(arguments),i.add(this.domNode,"dijitLayoutContainer")},postCreate:function(){this.inherited(arguments),this.own(s(this.domNode,"keydown",a.hitch(this,"_onKeyDown")))},startup:function(){if(!this._started){var n=this.getChildren();t.forEach(n,this._setupChild,this),this.persist?this.selectedChildWidget=h.byId(e(this.id+"_selectedChild")):t.some(n,(function(t){return t.selected&&(this.selectedChildWidget=t),t.selected}),this);var i=this.selectedChildWidget;!i&&n[0]&&((i=this.selectedChildWidget=n[0]).selected=!0),c.publish(this.id+"-startup",{children:n,selected:i,textDir:this.textDir}),this.inherited(arguments)}},resize:function(){if(!this._hasBeenShown){this._hasBeenShown=!0;var t=this.selectedChildWidget;t&&this._showChild(t)}this.inherited(arguments)},_setupChild:function(t){var e=t.domNode,n=o.place("<div role='tabpanel' class='"+this.baseClass+"ChildWrapper dijitHidden'>",t.domNode,"replace"),i=t["aria-label"]||t.title||t.label;i&&n.setAttribute("aria-label",i),o.place(e,n),t._wrapper=n,this.inherited(arguments),"none"==e.style.display&&(e.style.display="block"),t.domNode.removeAttribute("title")},addChild:function(t,e){this.inherited(arguments),this._started&&(c.publish(this.id+"-addChild",t,e),this.layout(),this.selectedChildWidget||this.selectChild(t))},removeChild:function(e){var n=t.indexOf(this.getChildren(),e);if(this.inherited(arguments),o.destroy(e._wrapper),delete e._wrapper,this._started&&c.publish(this.id+"-removeChild",e),!this._descendantsBeingDestroyed){if(this.selectedChildWidget===e&&(this.selectedChildWidget=void 0,this._started)){var i=this.getChildren();i.length&&this.selectChild(i[Math.max(n-1,0)])}this._started&&this.layout()}},selectChild:function(t,n){var i;return t=h.byId(t),this.selectedChildWidget!=t&&(i=this._transition(t,this.selectedChildWidget,n),this._set("selectedChildWidget",t),c.publish(this.id+"-selectChild",t,this._focused),this.persist&&e(this.id+"_selectedChild",this.selectedChildWidget.id)),d(i||!0)},_transition:function(t,e){e&&this._hideChild(e);var n=this._showChild(t);return t.resize&&(this.doLayout?t.resize(this._containerContentBox||this._contentBox):t.resize()),n},_adjacent:function(e){var n=this.getChildren(),i=t.indexOf(n,this.selectedChildWidget);return n[(i+=e?1:n.length-1)%n.length]},forward:function(){return this.selectChild(this._adjacent(!0),!0)},back:function(){return this.selectChild(this._adjacent(!1),!0)},_onKeyDown:function(t){c.publish(this.id+"-containerKeyDown",{e:t,page:this})},layout:function(){var t=this.selectedChildWidget;t&&t.resize&&(this.doLayout?t.resize(this._containerContentBox||this._contentBox):t.resize())},_showChild:function(t){var e=this.getChildren();return t.isFirstChild=t==e[0],t.isLastChild=t==e[e.length-1],t._set("selected",!0),t._wrapper&&i.replace(t._wrapper,"dijitVisible","dijitHidden"),t._onShow&&t._onShow()||!0},_hideChild:function(t){t._set("selected",!1),t._wrapper&&i.replace(t._wrapper,"dijitHidden","dijitVisible"),t.onHide&&t.onHide()},closeChild:function(t){t.onClose&&t.onClose(this,t)&&(this.removeChild(t),t.destroyRecursive())},destroyDescendants:function(e){this._descendantsBeingDestroyed=!0,this.selectedChildWidget=void 0,t.forEach(this.getChildren(),(function(t){e||this.removeChild(t),t.destroyRecursive(e)}),this),this._descendantsBeingDestroyed=!1}});return p.ChildWidgetProperties={selected:!1,disabled:!1,closable:!1,iconClass:"dijitNoIcon",showTitle:!0},a.extend(u,p.ChildWidgetProperties),p}))},3311:function(t,e){define("dijit/layout/StackContainer",["dojo/_base/array","dojo/cookie","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/has","dojo/_base/lang","dojo/on","dojo/ready","dojo/topic","dojo/when","../registry","../_WidgetBase","./_LayoutWidget"],(function(t,e,n,i,o,r,a,s,l,c,d,h,u,f){r("dijit-legacy-requires")&&l(0,(function(){require(["dijit/layout/StackController"])}));var p=n("dijit.layout.StackContainer",f,{doLayout:!0,persist:!1,baseClass:"dijitStackContainer",buildRendering:function(){this.inherited(arguments),i.add(this.domNode,"dijitLayoutContainer")},postCreate:function(){this.inherited(arguments),this.own(s(this.domNode,"keydown",a.hitch(this,"_onKeyDown")))},startup:function(){if(!this._started){var n=this.getChildren();t.forEach(n,this._setupChild,this),this.persist?this.selectedChildWidget=h.byId(e(this.id+"_selectedChild")):t.some(n,(function(t){return t.selected&&(this.selectedChildWidget=t),t.selected}),this);var i=this.selectedChildWidget;!i&&n[0]&&((i=this.selectedChildWidget=n[0]).selected=!0),c.publish(this.id+"-startup",{children:n,selected:i,textDir:this.textDir}),this.inherited(arguments)}},resize:function(){if(!this._hasBeenShown){this._hasBeenShown=!0;var t=this.selectedChildWidget;t&&this._showChild(t)}this.inherited(arguments)},_setupChild:function(t){var e=t.domNode,n=o.place("<div role='tabpanel' class='"+this.baseClass+"ChildWrapper dijitHidden'>",t.domNode,"replace"),i=t["aria-label"]||t.title||t.label;i&&n.setAttribute("aria-label",i),o.place(e,n),t._wrapper=n,this.inherited(arguments),"none"==e.style.display&&(e.style.display="block"),t.domNode.removeAttribute("title")},addChild:function(t,e){this.inherited(arguments),this._started&&(c.publish(this.id+"-addChild",t,e),this.layout(),this.selectedChildWidget||this.selectChild(t))},removeChild:function(e){var n=t.indexOf(this.getChildren(),e);if(this.inherited(arguments),o.destroy(e._wrapper),delete e._wrapper,this._started&&c.publish(this.id+"-removeChild",e),!this._descendantsBeingDestroyed){if(this.selectedChildWidget===e&&(this.selectedChildWidget=void 0,this._started)){var i=this.getChildren();i.length&&this.selectChild(i[Math.max(n-1,0)])}this._started&&this.layout()}},selectChild:function(t,n){var i;return t=h.byId(t),this.selectedChildWidget!=t&&(i=this._transition(t,this.selectedChildWidget,n),this._set("selectedChildWidget",t),c.publish(this.id+"-selectChild",t,this._focused),this.persist&&e(this.id+"_selectedChild",this.selectedChildWidget.id)),d(i||!0)},_transition:function(t,e){e&&this._hideChild(e);var n=this._showChild(t);return t.resize&&(this.doLayout?t.resize(this._containerContentBox||this._contentBox):t.resize()),n},_adjacent:function(e){var n=this.getChildren(),i=t.indexOf(n,this.selectedChildWidget);return n[(i+=e?1:n.length-1)%n.length]},forward:function(){return this.selectChild(this._adjacent(!0),!0)},back:function(){return this.selectChild(this._adjacent(!1),!0)},_onKeyDown:function(t){c.publish(this.id+"-containerKeyDown",{e:t,page:this})},layout:function(){var t=this.selectedChildWidget;t&&t.resize&&(this.doLayout?t.resize(this._containerContentBox||this._contentBox):t.resize())},_showChild:function(t){var e=this.getChildren();return t.isFirstChild=t==e[0],t.isLastChild=t==e[e.length-1],t._set("selected",!0),t._wrapper&&i.replace(t._wrapper,"dijitVisible","dijitHidden"),t._onShow&&t._onShow()||!0},_hideChild:function(t){t._set("selected",!1),t._wrapper&&i.replace(t._wrapper,"dijitHidden","dijitVisible"),t.onHide&&t.onHide()},closeChild:function(t){t.onClose&&t.onClose(this,t)&&(this.removeChild(t),t.destroyRecursive())},destroyDescendants:function(e){this._descendantsBeingDestroyed=!0,this.selectedChildWidget=void 0,t.forEach(this.getChildren(),(function(t){e||this.removeChild(t),t.destroyRecursive(e)}),this),this._descendantsBeingDestroyed=!1}});return p.ChildWidgetProperties={selected:!1,disabled:!1,closable:!1,iconClass:"dijitNoIcon",showTitle:!0},a.extend(u,p.ChildWidgetProperties),p}))},4628:function(t,e){define("dijit/layout/StackController",["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/keys","dojo/_base/lang","dojo/on","dojo/topic","../focus","../registry","../_Widget","../_TemplatedMixin","../_Container","../form/ToggleButton","dojo/touch"],(function(t,e,n,i,o,r,a,s,l,c,d,h,u,f){var p=e("dijit.layout._StackButton",f,{tabIndex:"-1",closeButton:!1,_aria_attr:"aria-selected",buildRendering:function(t){this.inherited(arguments),(this.focusNode||this.domNode).setAttribute("role","tab")}}),m=e("dijit.layout.StackController",[d,h,u],{baseClass:"dijitStackController",templateString:"<span role='tablist' data-dojo-attach-event='onkeydown'></span>",containerId:"",buttonWidget:p,buttonWidgetCloseClass:"dijitStackCloseButton",pane2button:function(t){return c.byId(this.id+"_"+t)},postCreate:function(){this.inherited(arguments),this.own(s.subscribe(this.containerId+"-startup",r.hitch(this,"onStartup")),s.subscribe(this.containerId+"-addChild",r.hitch(this,"onAddChild")),s.subscribe(this.containerId+"-removeChild",r.hitch(this,"onRemoveChild")),s.subscribe(this.containerId+"-selectChild",r.hitch(this,"onSelectChild")),s.subscribe(this.containerId+"-containerKeyDown",r.hitch(this,"onContainerKeyDown"))),this.containerNode.dojoClick=!0,this.own(a(this.containerNode,"click",r.hitch(this,(function(t){var e=c.getEnclosingWidget(t.target);if(e!=this.containerNode&&!e.disabled&&e.page)for(var i=t.target;i!==this.containerNode;i=i.parentNode){if(n.contains(i,this.buttonWidgetCloseClass)){this.onCloseButtonClick(e.page);break}if(i==e.domNode){this.onButtonClick(e.page);break}}}))))},onStartup:function(e){this.textDir=e.textDir,t.forEach(e.children,this.onAddChild,this),e.selected&&this.onSelectChild(e.selected);var n=c.byId(this.containerId).containerNode,i=r.hitch(this,"pane2button"),o={title:"label",showtitle:"showLabel",iconclass:"iconClass",closable:"closeButton",tooltip:"title",disabled:"disabled",textdir:"textdir"},s=function(t,e){return a(n,"attrmodified-"+t,(function(t){var n=i(t.detail&&t.detail.widget&&t.detail.widget.id);n&&n.set(e,t.detail.newValue)}))};for(var l in o)this.own(s(l,o[l]))},destroy:function(t){this.destroyDescendants(t),this.inherited(arguments)},onAddChild:function(t,e){var n=new(r.isString(this.buttonWidget)?r.getObject(this.buttonWidget):this.buttonWidget)({id:this.id+"_"+t.id,name:this.id+"_"+t.id,label:t.title,disabled:t.disabled,ownerDocument:this.ownerDocument,dir:t.dir,lang:t.lang,textDir:t.textDir||this.textDir,showLabel:t.showTitle,iconClass:t.iconClass,closeButton:t.closable,title:t.tooltip,page:t});this.addChild(n,e),t.controlButton=n,this._currentChild||this.onSelectChild(t);var i=t._wrapper.getAttribute("aria-labelledby")?t._wrapper.getAttribute("aria-labelledby")+" "+n.id:n.id;t._wrapper.removeAttribute("aria-label"),t._wrapper.setAttribute("aria-labelledby",i)},onRemoveChild:function(t){this._currentChild===t&&(this._currentChild=null);var e=this.pane2button(t.id);e&&(this.removeChild(e),e.destroy()),delete t.controlButton},onSelectChild:function(t){if(t){if(this._currentChild){var e=this.pane2button(this._currentChild.id);e.set("checked",!1),e.focusNode.setAttribute("tabIndex","-1")}var n=this.pane2button(t.id);n.set("checked",!0),this._currentChild=t,n.focusNode.setAttribute("tabIndex","0"),c.byId(this.containerId)}},onButtonClick:function(t){var e=this.pane2button(t.id);l.focus(e.focusNode),this._currentChild&&this._currentChild.id===t.id&&e.set("checked",!0),c.byId(this.containerId).selectChild(t)},onCloseButtonClick:function(t){if(c.byId(this.containerId).closeChild(t),this._currentChild){var e=this.pane2button(this._currentChild.id);e&&l.focus(e.focusNode||e.domNode)}},adjacent:function(e){this.isLeftToRight()||this.tabPosition&&!/top|bottom/.test(this.tabPosition)||(e=!e);var n,i=this.getChildren(),o=t.indexOf(i,this.pane2button(this._currentChild.id)),r=i[o];do{n=i[o=(o+(e?1:i.length-1))%i.length]}while(n.disabled&&n!=r);return n},onkeydown:function(t,e){if(!this.disabled&&!t.altKey){var n=null;if(t.ctrlKey||!t._djpage){switch(t.keyCode){case o.LEFT_ARROW:case o.UP_ARROW:t._djpage||(n=!1);break;case o.PAGE_UP:t.ctrlKey&&(n=!1);break;case o.RIGHT_ARROW:case o.DOWN_ARROW:t._djpage||(n=!0);break;case o.PAGE_DOWN:t.ctrlKey&&(n=!0);break;case o.HOME:for(var i=this.getChildren(),r=0;r<i.length;r++)if(!(a=i[r]).disabled){this.onButtonClick(a.page);break}t.stopPropagation(),t.preventDefault();break;case o.END:for(r=(i=this.getChildren()).length-1;r>=0;r--){var a;if(!(a=i[r]).disabled){this.onButtonClick(a.page);break}}t.stopPropagation(),t.preventDefault();break;case o.DELETE:case"W".charCodeAt(0):this._currentChild.closable&&(t.keyCode==o.DELETE||t.ctrlKey)&&(this.onCloseButtonClick(this._currentChild),t.stopPropagation(),t.preventDefault());break;case o.TAB:t.ctrlKey&&(this.onButtonClick(this.adjacent(!t.shiftKey).page),t.stopPropagation(),t.preventDefault())}null!==n&&(this.onButtonClick(this.adjacent(n).page),t.stopPropagation(),t.preventDefault())}}},onContainerKeyDown:function(t){t.e._djpage=t.page,this.onkeydown(t.e)}});return m.StackButton=p,m}))},3568:function(t,e){define("dijit/layout/StackController",["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/keys","dojo/_base/lang","dojo/on","dojo/topic","../focus","../registry","../_Widget","../_TemplatedMixin","../_Container","../form/ToggleButton","dojo/touch"],(function(t,e,n,i,o,r,a,s,l,c,d,h,u,f){var p=e("dijit.layout._StackButton",f,{tabIndex:"-1",closeButton:!1,_aria_attr:"aria-selected",buildRendering:function(t){this.inherited(arguments),(this.focusNode||this.domNode).setAttribute("role","tab")}}),m=e("dijit.layout.StackController",[d,h,u],{baseClass:"dijitStackController",templateString:"<span role='tablist' data-dojo-attach-event='onkeydown'></span>",containerId:"",buttonWidget:p,buttonWidgetCloseClass:"dijitStackCloseButton",pane2button:function(t){return c.byId(this.id+"_"+t)},postCreate:function(){this.inherited(arguments),this.own(s.subscribe(this.containerId+"-startup",r.hitch(this,"onStartup")),s.subscribe(this.containerId+"-addChild",r.hitch(this,"onAddChild")),s.subscribe(this.containerId+"-removeChild",r.hitch(this,"onRemoveChild")),s.subscribe(this.containerId+"-selectChild",r.hitch(this,"onSelectChild")),s.subscribe(this.containerId+"-containerKeyDown",r.hitch(this,"onContainerKeyDown"))),this.containerNode.dojoClick=!0,this.own(a(this.containerNode,"click",r.hitch(this,(function(t){var e=c.getEnclosingWidget(t.target);if(e!=this.containerNode&&!e.disabled&&e.page)for(var i=t.target;i!==this.containerNode;i=i.parentNode){if(n.contains(i,this.buttonWidgetCloseClass)){this.onCloseButtonClick(e.page);break}if(i==e.domNode){this.onButtonClick(e.page);break}}}))))},onStartup:function(e){this.textDir=e.textDir,t.forEach(e.children,this.onAddChild,this),e.selected&&this.onSelectChild(e.selected);var n=c.byId(this.containerId).containerNode,i=r.hitch(this,"pane2button"),o={title:"label",showtitle:"showLabel",iconclass:"iconClass",closable:"closeButton",tooltip:"title",disabled:"disabled",textdir:"textdir"},s=function(t,e){return a(n,"attrmodified-"+t,(function(t){var n=i(t.detail&&t.detail.widget&&t.detail.widget.id);n&&n.set(e,t.detail.newValue)}))};for(var l in o)this.own(s(l,o[l]))},destroy:function(t){this.destroyDescendants(t),this.inherited(arguments)},onAddChild:function(t,e){var n=new(r.isString(this.buttonWidget)?r.getObject(this.buttonWidget):this.buttonWidget)({id:this.id+"_"+t.id,name:this.id+"_"+t.id,label:t.title,disabled:t.disabled,ownerDocument:this.ownerDocument,dir:t.dir,lang:t.lang,textDir:t.textDir||this.textDir,showLabel:t.showTitle,iconClass:t.iconClass,closeButton:t.closable,title:t.tooltip,page:t});this.addChild(n,e),t.controlButton=n,this._currentChild||this.onSelectChild(t);var i=t._wrapper.getAttribute("aria-labelledby")?t._wrapper.getAttribute("aria-labelledby")+" "+n.id:n.id;t._wrapper.removeAttribute("aria-label"),t._wrapper.setAttribute("aria-labelledby",i)},onRemoveChild:function(t){this._currentChild===t&&(this._currentChild=null);var e=this.pane2button(t.id);e&&(this.removeChild(e),e.destroy()),delete t.controlButton},onSelectChild:function(t){if(t){if(this._currentChild){var e=this.pane2button(this._currentChild.id);e.set("checked",!1),e.focusNode.setAttribute("tabIndex","-1")}var n=this.pane2button(t.id);n.set("checked",!0),this._currentChild=t,n.focusNode.setAttribute("tabIndex","0"),c.byId(this.containerId)}},onButtonClick:function(t){var e=this.pane2button(t.id);l.focus(e.focusNode),this._currentChild&&this._currentChild.id===t.id&&e.set("checked",!0),c.byId(this.containerId).selectChild(t)},onCloseButtonClick:function(t){if(c.byId(this.containerId).closeChild(t),this._currentChild){var e=this.pane2button(this._currentChild.id);e&&l.focus(e.focusNode||e.domNode)}},adjacent:function(e){this.isLeftToRight()||this.tabPosition&&!/top|bottom/.test(this.tabPosition)||(e=!e);var n,i=this.getChildren(),o=t.indexOf(i,this.pane2button(this._currentChild.id)),r=i[o];do{n=i[o=(o+(e?1:i.length-1))%i.length]}while(n.disabled&&n!=r);return n},onkeydown:function(t,e){if(!this.disabled&&!t.altKey){var n=null;if(t.ctrlKey||!t._djpage){switch(t.keyCode){case o.LEFT_ARROW:case o.UP_ARROW:t._djpage||(n=!1);break;case o.PAGE_UP:t.ctrlKey&&(n=!1);break;case o.RIGHT_ARROW:case o.DOWN_ARROW:t._djpage||(n=!0);break;case o.PAGE_DOWN:t.ctrlKey&&(n=!0);break;case o.HOME:for(var i=this.getChildren(),r=0;r<i.length;r++)if(!(a=i[r]).disabled){this.onButtonClick(a.page);break}t.stopPropagation(),t.preventDefault();break;case o.END:for(r=(i=this.getChildren()).length-1;r>=0;r--){var a;if(!(a=i[r]).disabled){this.onButtonClick(a.page);break}}t.stopPropagation(),t.preventDefault();break;case o.DELETE:case"W".charCodeAt(0):this._currentChild.closable&&(t.keyCode==o.DELETE||t.ctrlKey)&&(this.onCloseButtonClick(this._currentChild),t.stopPropagation(),t.preventDefault());break;case o.TAB:t.ctrlKey&&(this.onButtonClick(this.adjacent(!t.shiftKey).page),t.stopPropagation(),t.preventDefault())}null!==n&&(this.onButtonClick(this.adjacent(n).page),t.stopPropagation(),t.preventDefault())}}},onContainerKeyDown:function(t){t.e._djpage=t.page,this.onkeydown(t.e)}});return m.StackButton=p,m}))},1486:function(t,e){define("dijit/layout/_ContentPaneResizeMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang","dojo/query","../registry","../Viewport","./utils"],(function(t,e,n,i,o,r,a,s,l,c){return e("dijit.layout._ContentPaneResizeMixin",null,{doLayout:!0,isLayoutContainer:!0,startup:function(){if(!this._started){var t=this.getParent();this._childOfLayoutWidget=t&&t.isLayoutContainer,this._needLayout=!this._childOfLayoutWidget,this.inherited(arguments),this._isShown()&&this._onShow(),this._childOfLayoutWidget||this.own(l.on("resize",r.hitch(this,"resize")))}},_checkIfSingleChild:function(){if(this.doLayout){var t=[],e=!1;a("> *",this.containerNode).some((function(n){var i=s.byNode(n);i&&i.resize?t.push(i):!/script|link|style/i.test(n.nodeName)&&n.offsetHeight&&(e=!0)})),this._singleChild=1!=t.length||e?null:t[0],n.toggle(this.containerNode,this.baseClass+"SingleChild",!!this._singleChild)}},resize:function(t,e){this._resizeCalled=!0,this._scheduleLayout(t,e)},_scheduleLayout:function(t,e){this._isShown()?this._layout(t,e):(this._needLayout=!0,this._changeSize=t,this._resultSize=e)},_layout:function(t,e){delete this._needLayout,this._wasShown||!1===this.open||this._onShow(),t&&i.setMarginBox(this.domNode,t);var n=this.containerNode;if(n===this.domNode){var o=e||{};r.mixin(o,t||{}),"h"in o&&"w"in o||(o=r.mixin(i.getMarginBox(n),o)),this._contentBox=c.marginBox2contentBox(n,o)}else this._contentBox=i.getContentBox(n);this._layoutChildren()},_layoutChildren:function(){if(this._checkIfSingleChild(),this._singleChild&&this._singleChild.resize){var t=this._contentBox||i.getContentBox(this.containerNode);this._singleChild.resize({w:t.w,h:t.h})}else for(var e,n=this.getChildren(),o=0;e=n[o++];)e.resize&&e.resize()},_isShown:function(){if(this._childOfLayoutWidget)return this._resizeCalled&&"open"in this?this.open:this._resizeCalled;if("open"in this)return this.open;var t=this.domNode,e=this.domNode.parentNode;return"none"!=t.style.display&&"hidden"!=t.style.visibility&&!n.contains(t,"dijitHidden")&&e&&e.style&&"none"!=e.style.display},_onShow:function(){this._wasShown=!0,this._needLayout&&this._layout(this._changeSize,this._resultSize),this.inherited(arguments)}})}))},3305:function(t,e){define("dijit/layout/_ContentPaneResizeMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang","dojo/query","../registry","../Viewport","./utils"],(function(t,e,n,i,o,r,a,s,l,c){return e("dijit.layout._ContentPaneResizeMixin",null,{doLayout:!0,isLayoutContainer:!0,startup:function(){if(!this._started){var t=this.getParent();this._childOfLayoutWidget=t&&t.isLayoutContainer,this._needLayout=!this._childOfLayoutWidget,this.inherited(arguments),this._isShown()&&this._onShow(),this._childOfLayoutWidget||this.own(l.on("resize",r.hitch(this,"resize")))}},_checkIfSingleChild:function(){if(this.doLayout){var t=[],e=!1;a("> *",this.containerNode).some((function(n){var i=s.byNode(n);i&&i.resize?t.push(i):!/script|link|style/i.test(n.nodeName)&&n.offsetHeight&&(e=!0)})),this._singleChild=1!=t.length||e?null:t[0],n.toggle(this.containerNode,this.baseClass+"SingleChild",!!this._singleChild)}},resize:function(t,e){this._resizeCalled=!0,this._scheduleLayout(t,e)},_scheduleLayout:function(t,e){this._isShown()?this._layout(t,e):(this._needLayout=!0,this._changeSize=t,this._resultSize=e)},_layout:function(t,e){delete this._needLayout,this._wasShown||!1===this.open||this._onShow(),t&&i.setMarginBox(this.domNode,t);var n=this.containerNode;if(n===this.domNode){var o=e||{};r.mixin(o,t||{}),"h"in o&&"w"in o||(o=r.mixin(i.getMarginBox(n),o)),this._contentBox=c.marginBox2contentBox(n,o)}else this._contentBox=i.getContentBox(n);this._layoutChildren()},_layoutChildren:function(){if(this._checkIfSingleChild(),this._singleChild&&this._singleChild.resize){var t=this._contentBox||i.getContentBox(this.containerNode);this._singleChild.resize({w:t.w,h:t.h})}else for(var e,n=this.getChildren(),o=0;e=n[o++];)e.resize&&e.resize()},_isShown:function(){if(this._childOfLayoutWidget)return this._resizeCalled&&"open"in this?this.open:this._resizeCalled;if("open"in this)return this.open;var t=this.domNode,e=this.domNode.parentNode;return"none"!=t.style.display&&"hidden"!=t.style.visibility&&!n.contains(t,"dijitHidden")&&e&&e.style&&"none"!=e.style.display},_onShow:function(){this._wasShown=!0,this._needLayout&&this._layout(this._changeSize,this._resultSize),this.inherited(arguments)}})}))},1508:function(t,e){define("dijit/layout/_LayoutWidget",["dojo/_base/lang","../_Widget","../_Container","../_Contained","../Viewport","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style"],(function(t,e,n,i,o,r,a,s,l){return r("dijit.layout._LayoutWidget",[e,n,i],{baseClass:"dijitLayoutContainer",isLayoutContainer:!0,_setTitleAttr:null,buildRendering:function(){this.inherited(arguments),a.add(this.domNode,"dijitContainer")},startup:function(){if(!this._started){this.inherited(arguments);var e=this.getParent&&this.getParent();e&&e.isLayoutContainer||(this.resize(),this.own(o.on("resize",t.hitch(this,"resize"))))}},resize:function(e,n){var i=this.domNode;e&&s.setMarginBox(i,e);var o=n||{};t.mixin(o,e||{}),"h"in o&&"w"in o||(o=t.mixin(s.getMarginBox(i),o));var r=l.getComputedStyle(i),a=s.getMarginExtents(i,r),c=s.getBorderExtents(i,r),d=this._borderBox={w:o.w-(a.w+c.w),h:o.h-(a.h+c.h)},h=s.getPadExtents(i,r);this._contentBox={l:l.toPixelValue(i,r.paddingLeft),t:l.toPixelValue(i,r.paddingTop),w:d.w-h.w,h:d.h-h.h},this.layout()},layout:function(){},_setupChild:function(t){var e=this.baseClass+"-child "+(t.baseClass?this.baseClass+"-"+t.baseClass:"");a.add(t.domNode,e)},addChild:function(t,e){this.inherited(arguments),this._started&&this._setupChild(t)},removeChild:function(t){var e=this.baseClass+"-child"+(t.baseClass?" "+this.baseClass+"-"+t.baseClass:"");a.remove(t.domNode,e),this.inherited(arguments)}})}))},2839:function(t,e){define("dijit/layout/_LayoutWidget",["dojo/_base/lang","../_Widget","../_Container","../_Contained","../Viewport","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style"],(function(t,e,n,i,o,r,a,s,l){return r("dijit.layout._LayoutWidget",[e,n,i],{baseClass:"dijitLayoutContainer",isLayoutContainer:!0,_setTitleAttr:null,buildRendering:function(){this.inherited(arguments),a.add(this.domNode,"dijitContainer")},startup:function(){if(!this._started){this.inherited(arguments);var e=this.getParent&&this.getParent();e&&e.isLayoutContainer||(this.resize(),this.own(o.on("resize",t.hitch(this,"resize"))))}},resize:function(e,n){var i=this.domNode;e&&s.setMarginBox(i,e);var o=n||{};t.mixin(o,e||{}),"h"in o&&"w"in o||(o=t.mixin(s.getMarginBox(i),o));var r=l.getComputedStyle(i),a=s.getMarginExtents(i,r),c=s.getBorderExtents(i,r),d=this._borderBox={w:o.w-(a.w+c.w),h:o.h-(a.h+c.h)},h=s.getPadExtents(i,r);this._contentBox={l:l.toPixelValue(i,r.paddingLeft),t:l.toPixelValue(i,r.paddingTop),w:d.w-h.w,h:d.h-h.h},this.layout()},layout:function(){},_setupChild:function(t){var e=this.baseClass+"-child "+(t.baseClass?this.baseClass+"-"+t.baseClass:"");a.add(t.domNode,e)},addChild:function(t,e){this.inherited(arguments),this._started&&this._setupChild(t)},removeChild:function(t){var e=this.baseClass+"-child"+(t.baseClass?" "+this.baseClass+"-"+t.baseClass:"");a.remove(t.domNode,e),this.inherited(arguments)}})}))},1998:function(t,e){define("dijit/layout/utils",["dojo/_base/array","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang"],(function(t,e,n,i,o){function r(t,e){var i=t.resize?t.resize(e):n.setMarginBox(t.domNode,e);i?o.mixin(t,i):(o.mixin(t,n.getMarginBox(t.domNode)),o.mixin(t,e))}var a={marginBox2contentBox:function(t,e){var o=i.getComputedStyle(t),r=n.getMarginExtents(t,o),a=n.getPadBorderExtents(t,o);return{l:i.toPixelValue(t,o.paddingLeft),t:i.toPixelValue(t,o.paddingTop),w:e.w-(r.w+a.w),h:e.h-(r.h+a.h)}},layoutChildren:function(n,i,a,s,l){i=o.mixin({},i),e.add(n,"dijitLayoutContainer"),a=t.filter(a,(function(t){return"center"!=t.region&&"client"!=t.layoutAlign})).concat(t.filter(a,(function(t){return"center"==t.region||"client"==t.layoutAlign}))),t.forEach(a,(function(t){var n=t.domNode,o=t.region||t.layoutAlign;if(!o)throw new Error("No region setting for "+t.id);var a,c=n.style;c.left=i.l+"px",c.top=i.t+"px",c.position="absolute",e.add(n,"dijitAlign"+((a=o).substring(0,1).toUpperCase()+a.substring(1)));var d={};s&&s==t.id&&(d["top"==t.region||"bottom"==t.region?"h":"w"]=l),"leading"==o&&(o=t.isLeftToRight()?"left":"right"),"trailing"==o&&(o=t.isLeftToRight()?"right":"left"),"top"==o||"bottom"==o?(d.w=i.w,r(t,d),i.h-=t.h,"top"==o?i.t+=t.h:c.top=i.t+i.h+"px"):"left"==o||"right"==o?(d.h=i.h,r(t,d),i.w-=t.w,"left"==o?i.l+=t.w:c.left=i.l+i.w+"px"):"client"!=o&&"center"!=o||r(t,i)}))}};return o.setObject("dijit.layout.utils",a),a}))},7721:function(t,e){define("dijit/layout/utils",["dojo/_base/array","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang"],(function(t,e,n,i,o){function r(t,e){var i=t.resize?t.resize(e):n.setMarginBox(t.domNode,e);i?o.mixin(t,i):(o.mixin(t,n.getMarginBox(t.domNode)),o.mixin(t,e))}var a={marginBox2contentBox:function(t,e){var o=i.getComputedStyle(t),r=n.getMarginExtents(t,o),a=n.getPadBorderExtents(t,o);return{l:i.toPixelValue(t,o.paddingLeft),t:i.toPixelValue(t,o.paddingTop),w:e.w-(r.w+a.w),h:e.h-(r.h+a.h)}},layoutChildren:function(n,i,a,s,l){i=o.mixin({},i),e.add(n,"dijitLayoutContainer"),a=t.filter(a,(function(t){return"center"!=t.region&&"client"!=t.layoutAlign})).concat(t.filter(a,(function(t){return"center"==t.region||"client"==t.layoutAlign}))),t.forEach(a,(function(t){var n=t.domNode,o=t.region||t.layoutAlign;if(!o)throw new Error("No region setting for "+t.id);var a,c=n.style;c.left=i.l+"px",c.top=i.t+"px",c.position="absolute",e.add(n,"dijitAlign"+((a=o).substring(0,1).toUpperCase()+a.substring(1)));var d={};s&&s==t.id&&(d["top"==t.region||"bottom"==t.region?"h":"w"]=l),"leading"==o&&(o=t.isLeftToRight()?"left":"right"),"trailing"==o&&(o=t.isLeftToRight()?"right":"left"),"top"==o||"bottom"==o?(d.w=i.w,r(t,d),i.h-=t.h,"top"==o?i.t+=t.h:c.top=i.t+i.h+"px"):"left"==o||"right"==o?(d.h=i.h,r(t,d),i.w-=t.w,"left"==o?i.l+=t.w:c.left=i.l+i.w+"px"):"client"!=o&&"center"!=o||r(t,i)}))}};return o.setObject("dijit.layout.utils",a),a}))},7191:function(t,e){define("dijit/main",["dojo/_base/kernel"],(function(t){return t.dijit}))},6451:function(t,e){define("dijit/main",["dojo/_base/kernel"],(function(t){return t.dijit}))},7025:function(t,e){define("dijit/nls/dijit-all_en-us",{"dojo/nls/colors":{aliceblue:"alice blue",antiquewhite:"antique white",aqua:"aqua",aquamarine:"aquamarine",azure:"azure",beige:"beige",bisque:"bisque",black:"black",blanchedalmond:"blanched almond",blue:"blue",blueviolet:"blue-violet",brown:"brown",burlywood:"burlywood",cadetblue:"cadet blue",chartreuse:"chartreuse",chocolate:"chocolate",coral:"coral",cornflowerblue:"cornflower blue",cornsilk:"cornsilk",crimson:"crimson",cyan:"cyan",darkblue:"dark blue",darkcyan:"dark cyan",darkgoldenrod:"dark goldenrod",darkgray:"dark gray",darkgreen:"dark green",darkgrey:"dark gray",darkkhaki:"dark khaki",darkmagenta:"dark magenta",darkolivegreen:"dark olive green",darkorange:"dark orange",darkorchid:"dark orchid",darkred:"dark red",darksalmon:"dark salmon",darkseagreen:"dark sea green",darkslateblue:"dark slate blue",darkslategray:"dark slate gray",darkslategrey:"dark slate gray",darkturquoise:"dark turquoise",darkviolet:"dark violet",deeppink:"deep pink",deepskyblue:"deep sky blue",dimgray:"dim gray",dimgrey:"dim gray",dodgerblue:"dodger blue",firebrick:"fire brick",floralwhite:"floral white",forestgreen:"forest green",fuchsia:"fuchsia",gainsboro:"gainsboro",ghostwhite:"ghost white",gold:"gold",goldenrod:"goldenrod",gray:"gray",green:"green",greenyellow:"green-yellow",grey:"gray",honeydew:"honeydew",hotpink:"hot pink",indianred:"indian red",indigo:"indigo",ivory:"ivory",khaki:"khaki",lavender:"lavender",lavenderblush:"lavender blush",lawngreen:"lawn green",lemonchiffon:"lemon chiffon",lightblue:"light blue",lightcoral:"light coral",lightcyan:"light cyan",lightgoldenrodyellow:"light goldenrod yellow",lightgray:"light gray",lightgreen:"light green",lightgrey:"light gray",lightpink:"light pink",lightsalmon:"light salmon",lightseagreen:"light sea green",lightskyblue:"light sky blue",lightslategray:"light slate gray",lightslategrey:"light slate gray",lightsteelblue:"light steel blue",lightyellow:"light yellow",lime:"lime",limegreen:"lime green",linen:"linen",magenta:"magenta",maroon:"maroon",mediumaquamarine:"medium aquamarine",mediumblue:"medium blue",mediumorchid:"medium orchid",mediumpurple:"medium purple",mediumseagreen:"medium sea green",mediumslateblue:"medium slate blue",mediumspringgreen:"medium spring green",mediumturquoise:"medium turquoise",mediumvioletred:"medium violet-red",midnightblue:"midnight blue",mintcream:"mint cream",mistyrose:"misty rose",moccasin:"moccasin",navajowhite:"navajo white",navy:"navy",oldlace:"old lace",olive:"olive",olivedrab:"olive drab",orange:"orange",orangered:"orange red",orchid:"orchid",palegoldenrod:"pale goldenrod",palegreen:"pale green",paleturquoise:"pale turquoise",palevioletred:"pale violet-red",papayawhip:"papaya whip",peachpuff:"peach puff",peru:"peru",pink:"pink",plum:"plum",powderblue:"powder blue",purple:"purple",red:"red",rosybrown:"rosy brown",royalblue:"royal blue",saddlebrown:"saddle brown",salmon:"salmon",sandybrown:"sandy brown",seagreen:"sea green",seashell:"seashell",sienna:"sienna",silver:"silver",skyblue:"sky blue",slateblue:"slate blue",slategray:"slate gray",slategrey:"slate gray",snow:"snow",springgreen:"spring green",steelblue:"steel blue",tan:"tan",teal:"teal",thistle:"thistle",tomato:"tomato",transparent:"transparent",turquoise:"turquoise",violet:"violet",wheat:"wheat",white:"white",whitesmoke:"white smoke",yellow:"yellow",yellowgreen:"yellow green",_localized:{}},"dijit/nls/loading":{loadingState:"Loading...",errorState:"Sorry, an error occurred",_localized:{}},"dijit/nls/common":{buttonOk:"OK",buttonCancel:"Cancel",buttonSave:"Save",itemClose:"Close",_localized:{}},"dijit/_editor/nls/commands":{bold:"Bold",copy:"Copy",cut:"Cut",delete:"Delete",indent:"Indent",insertHorizontalRule:"Horizontal Rule",insertOrderedList:"Numbered List",insertUnorderedList:"Bullet List",italic:"Italic",justifyCenter:"Align Center",justifyFull:"Justify",justifyLeft:"Align Left",justifyRight:"Align Right",outdent:"Outdent",paste:"Paste",redo:"Redo",removeFormat:"Remove Format",selectAll:"Select All",strikethrough:"Strikethrough",subscript:"Subscript",superscript:"Superscript",underline:"Underline",undo:"Undo",unlink:"Remove Link",createLink:"Create Link",toggleDir:"Toggle Direction",insertImage:"Insert Image",insertTable:"Insert/Edit Table",toggleTableBorder:"Toggle Table Border",deleteTable:"Delete Table",tableProp:"Table Property",htmlToggle:"HTML Source",foreColor:"Foreground Color",hiliteColor:"Background Color",plainFormatBlock:"Paragraph Style",formatBlock:"Paragraph Style",fontSize:"Font Size",fontName:"Font Name",tabIndent:"Tab Indent",fullScreen:"Toggle Full Screen",viewSource:"View HTML Source",print:"Print",newPage:"New Page",systemShortcut:'The "${0}" action is only available in your browser using a keyboard shortcut. Use ${1}.',ctrlKey:"ctrl+${0}",appleKey:"⌘${0}",_localized:{}},"dijit/form/nls/validate":{invalidMessage:"The value entered is not valid.",missingMessage:"This value is required.",rangeMessage:"This value is out of range.",_localized:{}},"dijit/form/nls/ComboBox":{previousMessage:"Previous choices",nextMessage:"More choices",_localized:{}},"dijit/_editor/nls/FontChoice":{1:"xx-small",2:"x-small",3:"small",4:"medium",5:"large",6:"x-large",7:"xx-large",fontSize:"Size",fontName:"Font",formatBlock:"Format",serif:"serif","sans-serif":"sans-serif",monospace:"monospace",cursive:"cursive",fantasy:"fantasy",noFormat:"None",p:"Paragraph",h1:"Heading",h2:"Subheading",h3:"Sub-subheading",pre:"Pre-formatted",_localized:{}},"dojo/cldr/nls/number":{scientificFormat:"#E0","currencySpacing-afterCurrency-currencyMatch":"[:^S:]",infinity:"∞",superscriptingExponent:"×",list:";",percentSign:"%",minusSign:"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","decimalFormat-short":"000T","currencySpacing-afterCurrency-insertBetween":" ",nan:"NaN",plusSign:"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencySpacing-beforeCurrency-currencyMatch":"[:^S:]",currencyFormat:"¤#,##0.00;(¤#,##0.00)",perMille:"‰",group:",",percentFormat:"#,##0%","decimalFormat-long":"000 trillion",decimalFormat:"#,##0.###",decimal:".","currencySpacing-beforeCurrency-insertBetween":" ",exponential:"E",_localized:{}},"dojo/cldr/nls/currency":{USD_symbol:"$",CAD_symbol:"CA$",GBP_symbol:"£",HKD_symbol:"HK$",JPY_symbol:"¥",AUD_symbol:"A$",CNY_symbol:"CN¥",EUR_symbol:"€",HKD_displayName:"Hong Kong Dollar",CHF_displayName:"Swiss Franc",CAD_displayName:"Canadian Dollar",CNY_displayName:"Chinese Yuan",AUD_displayName:"Australian Dollar",JPY_displayName:"Japanese Yen",USD_displayName:"US Dollar",GBP_displayName:"British Pound Sterling",EUR_displayName:"Euro",_localized:{}},"dojo/cldr/nls/gregorian":{"dateFormatItem-Ehm":"E h:mm a","days-standAlone-short":["Su","Mo","Tu","We","Th","Fr","Sa"],"months-format-narrow":["J","F","M","A","M","J","J","A","S","O","N","D"],"field-second-relative+0":"now","quarters-standAlone-narrow":["1","2","3","4"],"field-weekday":"Day of the Week","dateFormatItem-yQQQ":"QQQ y","dateFormatItem-yMEd":"E, M/d/y","field-wed-relative+0":"this Wednesday","field-wed-relative+1":"next Wednesday","dateFormatItem-GyMMMEd":"E, MMM d, y G","dateFormatItem-MMMEd":"E, MMM d",eraNarrow:["B","A"],"field-tue-relative+-1":"last Tuesday","days-format-short":["Su","Mo","Tu","We","Th","Fr","Sa"],"dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateFormat-long":"MMMM d, y","field-fri-relative+-1":"last Friday","field-wed-relative+-1":"last Wednesday","months-format-wide":["January","February","March","April","May","June","July","August","September","October","November","December"],"dateTimeFormat-medium":"{1}, {0}","dayPeriods-format-wide-pm":"PM","dateFormat-full":"EEEE, MMMM d, y","field-thu-relative+-1":"last Thursday","dateFormatItem-Md":"M/d","dayPeriods-format-abbr-am":"AM","dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","dayPeriods-format-wide-noon":"noon","dateFormatItem-yMd":"M/d/y","field-era":"Era","dateFormatItem-yM":"M/y","months-standAlone-wide":["January","February","March","April","May","June","July","August","September","October","November","December"],"timeFormat-short":"h:mm a","quarters-format-wide":["1st quarter","2nd quarter","3rd quarter","4th quarter"],"dateFormatItem-yQQQQ":"QQQQ y","timeFormat-long":"h:mm:ss a z","field-year":"Year","dateFormatItem-yMMM":"MMM y","dateTimeFormats-appendItem-Era":"{0} {1}","field-hour":"Hour","months-format-abbr":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"field-sat-relative+0":"this Saturday","field-sat-relative+1":"next Saturday","timeFormat-full":"h:mm:ss a zzzz","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","field-day-relative+0":"today","field-thu-relative+0":"this Thursday","field-day-relative+1":"tomorrow","field-thu-relative+1":"next Thursday","dateFormatItem-GyMMMd":"MMM d, y G","dateFormatItem-H":"HH","months-standAlone-abbr":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"quarters-format-abbr":["Q1","Q2","Q3","Q4"],"quarters-standAlone-wide":["1st quarter","2nd quarter","3rd quarter","4th quarter"],"dateFormatItem-Gy":"y G","dateFormatItem-M":"L","days-standAlone-wide":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"dayPeriods-format-abbr-noon":"noon","timeFormat-medium":"h:mm:ss a","field-sun-relative+0":"this Sunday","dateFormatItem-Hm":"HH:mm","field-sun-relative+1":"next Sunday","quarters-standAlone-abbr":["Q1","Q2","Q3","Q4"],eraAbbr:["BC","AD"],"field-minute":"Minute","field-dayperiod":"AM/PM","days-standAlone-abbr":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"dateFormatItem-d":"d","dateFormatItem-ms":"mm:ss","quarters-format-narrow":["1","2","3","4"],"field-day-relative+-1":"yesterday","dateTimeFormat-long":"{1} 'at' {0}","dayPeriods-format-narrow-am":"a","dateFormatItem-h":"h a","dateFormatItem-MMMd":"MMM d","dateFormatItem-MEd":"E, M/d","dateTimeFormat-full":"{1} 'at' {0}","field-fri-relative+0":"this Friday","field-fri-relative+1":"next Friday","field-day":"Day","days-format-wide":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"field-zone":"Time Zone","months-standAlone-narrow":["J","F","M","A","M","J","J","A","S","O","N","D"],"dateFormatItem-y":"y","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","field-year-relative+-1":"last year","field-month-relative+-1":"last month","dateTimeFormats-appendItem-Year":"{0} {1}","dateFormatItem-hm":"h:mm a","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","dayPeriods-format-abbr-pm":"PM","days-format-abbr":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],eraNames:["Before Christ","Anno Domini"],"dateFormatItem-yMMMd":"MMM d, y","days-format-narrow":["S","M","T","W","T","F","S"],"field-month":"Month","days-standAlone-narrow":["S","M","T","W","T","F","S"],"dateFormatItem-MMM":"LLL","field-tue-relative+0":"this Tuesday","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","field-tue-relative+1":"next Tuesday","dayPeriods-format-wide-am":"AM","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateFormatItem-EHm":"E HH:mm","field-mon-relative+0":"this Monday","field-mon-relative+1":"next Monday","dateFormat-short":"M/d/yy","dateFormatItem-EHms":"E HH:mm:ss","dateFormatItem-Ehms":"E h:mm:ss a","dayPeriods-format-narrow-noon":"n","field-second":"Second","field-sat-relative+-1":"last Saturday","dateFormatItem-yMMMEd":"E, MMM d, y","field-sun-relative+-1":"last Sunday","field-month-relative+0":"this month","field-month-relative+1":"next month","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateFormatItem-Ed":"d E","field-week":"Week","dateFormat-medium":"MMM d, y","field-week-relative+-1":"last week","field-year-relative+0":"this year","field-year-relative+1":"next year","dayPeriods-format-narrow-pm":"p","dateTimeFormat-short":"{1}, {0}","dateFormatItem-Hms":"HH:mm:ss","dateFormatItem-hms":"h:mm:ss a","dateFormatItem-GyMMM":"MMM y G","field-mon-relative+-1":"last Monday","field-week-relative+0":"this week","field-week-relative+1":"next week",_localized:{}}})},9626:function(t,e){define("dijit/nls/dijit-all_en-us",{"dojo/nls/colors":{aliceblue:"alice blue",antiquewhite:"antique white",aqua:"aqua",aquamarine:"aquamarine",azure:"azure",beige:"beige",bisque:"bisque",black:"black",blanchedalmond:"blanched almond",blue:"blue",blueviolet:"blue-violet",brown:"brown",burlywood:"burlywood",cadetblue:"cadet blue",chartreuse:"chartreuse",chocolate:"chocolate",coral:"coral",cornflowerblue:"cornflower blue",cornsilk:"cornsilk",crimson:"crimson",cyan:"cyan",darkblue:"dark blue",darkcyan:"dark cyan",darkgoldenrod:"dark goldenrod",darkgray:"dark gray",darkgreen:"dark green",darkgrey:"dark gray",darkkhaki:"dark khaki",darkmagenta:"dark magenta",darkolivegreen:"dark olive green",darkorange:"dark orange",darkorchid:"dark orchid",darkred:"dark red",darksalmon:"dark salmon",darkseagreen:"dark sea green",darkslateblue:"dark slate blue",darkslategray:"dark slate gray",darkslategrey:"dark slate gray",darkturquoise:"dark turquoise",darkviolet:"dark violet",deeppink:"deep pink",deepskyblue:"deep sky blue",dimgray:"dim gray",dimgrey:"dim gray",dodgerblue:"dodger blue",firebrick:"fire brick",floralwhite:"floral white",forestgreen:"forest green",fuchsia:"fuchsia",gainsboro:"gainsboro",ghostwhite:"ghost white",gold:"gold",goldenrod:"goldenrod",gray:"gray",green:"green",greenyellow:"green-yellow",grey:"gray",honeydew:"honeydew",hotpink:"hot pink",indianred:"indian red",indigo:"indigo",ivory:"ivory",khaki:"khaki",lavender:"lavender",lavenderblush:"lavender blush",lawngreen:"lawn green",lemonchiffon:"lemon chiffon",lightblue:"light blue",lightcoral:"light coral",lightcyan:"light cyan",lightgoldenrodyellow:"light goldenrod yellow",lightgray:"light gray",lightgreen:"light green",lightgrey:"light gray",lightpink:"light pink",lightsalmon:"light salmon",lightseagreen:"light sea green",lightskyblue:"light sky blue",lightslategray:"light slate gray",lightslategrey:"light slate gray",lightsteelblue:"light steel blue",lightyellow:"light yellow",lime:"lime",limegreen:"lime green",linen:"linen",magenta:"magenta",maroon:"maroon",mediumaquamarine:"medium aquamarine",mediumblue:"medium blue",mediumorchid:"medium orchid",mediumpurple:"medium purple",mediumseagreen:"medium sea green",mediumslateblue:"medium slate blue",mediumspringgreen:"medium spring green",mediumturquoise:"medium turquoise",mediumvioletred:"medium violet-red",midnightblue:"midnight blue",mintcream:"mint cream",mistyrose:"misty rose",moccasin:"moccasin",navajowhite:"navajo white",navy:"navy",oldlace:"old lace",olive:"olive",olivedrab:"olive drab",orange:"orange",orangered:"orange red",orchid:"orchid",palegoldenrod:"pale goldenrod",palegreen:"pale green",paleturquoise:"pale turquoise",palevioletred:"pale violet-red",papayawhip:"papaya whip",peachpuff:"peach puff",peru:"peru",pink:"pink",plum:"plum",powderblue:"powder blue",purple:"purple",red:"red",rosybrown:"rosy brown",royalblue:"royal blue",saddlebrown:"saddle brown",salmon:"salmon",sandybrown:"sandy brown",seagreen:"sea green",seashell:"seashell",sienna:"sienna",silver:"silver",skyblue:"sky blue",slateblue:"slate blue",slategray:"slate gray",slategrey:"slate gray",snow:"snow",springgreen:"spring green",steelblue:"steel blue",tan:"tan",teal:"teal",thistle:"thistle",tomato:"tomato",transparent:"transparent",turquoise:"turquoise",violet:"violet",wheat:"wheat",white:"white",whitesmoke:"white smoke",yellow:"yellow",yellowgreen:"yellow green",_localized:{}},"dijit/nls/loading":{loadingState:"Loading...",errorState:"Sorry, an error occurred",_localized:{}},"dijit/nls/common":{buttonOk:"OK",buttonCancel:"Cancel",buttonSave:"Save",itemClose:"Close",_localized:{}},"dijit/_editor/nls/commands":{bold:"Bold",copy:"Copy",cut:"Cut",delete:"Delete",indent:"Indent",insertHorizontalRule:"Horizontal Rule",insertOrderedList:"Numbered List",insertUnorderedList:"Bullet List",italic:"Italic",justifyCenter:"Align Center",justifyFull:"Justify",justifyLeft:"Align Left",justifyRight:"Align Right",outdent:"Outdent",paste:"Paste",redo:"Redo",removeFormat:"Remove Format",selectAll:"Select All",strikethrough:"Strikethrough",subscript:"Subscript",superscript:"Superscript",underline:"Underline",undo:"Undo",unlink:"Remove Link",createLink:"Create Link",toggleDir:"Toggle Direction",insertImage:"Insert Image",insertTable:"Insert/Edit Table",toggleTableBorder:"Toggle Table Border",deleteTable:"Delete Table",tableProp:"Table Property",htmlToggle:"HTML Source",foreColor:"Foreground Color",hiliteColor:"Background Color",plainFormatBlock:"Paragraph Style",formatBlock:"Paragraph Style",fontSize:"Font Size",fontName:"Font Name",tabIndent:"Tab Indent",fullScreen:"Toggle Full Screen",viewSource:"View HTML Source",print:"Print",newPage:"New Page",systemShortcut:'The "${0}" action is only available in your browser using a keyboard shortcut. Use ${1}.',ctrlKey:"ctrl+${0}",appleKey:"⌘${0}",_localized:{}},"dijit/form/nls/validate":{invalidMessage:"The value entered is not valid.",missingMessage:"This value is required.",rangeMessage:"This value is out of range.",_localized:{}},"dijit/form/nls/ComboBox":{previousMessage:"Previous choices",nextMessage:"More choices",_localized:{}},"dijit/_editor/nls/FontChoice":{1:"xx-small",2:"x-small",3:"small",4:"medium",5:"large",6:"x-large",7:"xx-large",fontSize:"Size",fontName:"Font",formatBlock:"Format",serif:"serif","sans-serif":"sans-serif",monospace:"monospace",cursive:"cursive",fantasy:"fantasy",noFormat:"None",p:"Paragraph",h1:"Heading",h2:"Subheading",h3:"Sub-subheading",pre:"Pre-formatted",_localized:{}},"dojo/cldr/nls/number":{scientificFormat:"#E0","currencySpacing-afterCurrency-currencyMatch":"[:^S:]",infinity:"∞",superscriptingExponent:"×",list:";",percentSign:"%",minusSign:"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","decimalFormat-short":"000T","currencySpacing-afterCurrency-insertBetween":" ",nan:"NaN",plusSign:"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencySpacing-beforeCurrency-currencyMatch":"[:^S:]",currencyFormat:"¤#,##0.00;(¤#,##0.00)",perMille:"‰",group:",",percentFormat:"#,##0%","decimalFormat-long":"000 trillion",decimalFormat:"#,##0.###",decimal:".","currencySpacing-beforeCurrency-insertBetween":" ",exponential:"E",_localized:{}},"dojo/cldr/nls/currency":{USD_symbol:"$",CAD_symbol:"CA$",GBP_symbol:"£",HKD_symbol:"HK$",JPY_symbol:"¥",AUD_symbol:"A$",CNY_symbol:"CN¥",EUR_symbol:"€",HKD_displayName:"Hong Kong Dollar",CHF_displayName:"Swiss Franc",CAD_displayName:"Canadian Dollar",CNY_displayName:"Chinese Yuan",AUD_displayName:"Australian Dollar",JPY_displayName:"Japanese Yen",USD_displayName:"US Dollar",GBP_displayName:"British Pound Sterling",EUR_displayName:"Euro",_localized:{}},"dojo/cldr/nls/gregorian":{"dateFormatItem-Ehm":"E h:mm a","days-standAlone-short":["Su","Mo","Tu","We","Th","Fr","Sa"],"months-format-narrow":["J","F","M","A","M","J","J","A","S","O","N","D"],"field-second-relative+0":"now","quarters-standAlone-narrow":["1","2","3","4"],"field-weekday":"Day of the Week","dateFormatItem-yQQQ":"QQQ y","dateFormatItem-yMEd":"E, M/d/y","field-wed-relative+0":"this Wednesday","field-wed-relative+1":"next Wednesday","dateFormatItem-GyMMMEd":"E, MMM d, y G","dateFormatItem-MMMEd":"E, MMM d",eraNarrow:["B","A"],"field-tue-relative+-1":"last Tuesday","days-format-short":["Su","Mo","Tu","We","Th","Fr","Sa"],"dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateFormat-long":"MMMM d, y","field-fri-relative+-1":"last Friday","field-wed-relative+-1":"last Wednesday","months-format-wide":["January","February","March","April","May","June","July","August","September","October","November","December"],"dateTimeFormat-medium":"{1}, {0}","dayPeriods-format-wide-pm":"PM","dateFormat-full":"EEEE, MMMM d, y","field-thu-relative+-1":"last Thursday","dateFormatItem-Md":"M/d","dayPeriods-format-abbr-am":"AM","dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","dayPeriods-format-wide-noon":"noon","dateFormatItem-yMd":"M/d/y","field-era":"Era","dateFormatItem-yM":"M/y","months-standAlone-wide":["January","February","March","April","May","June","July","August","September","October","November","December"],"timeFormat-short":"h:mm a","quarters-format-wide":["1st quarter","2nd quarter","3rd quarter","4th quarter"],"dateFormatItem-yQQQQ":"QQQQ y","timeFormat-long":"h:mm:ss a z","field-year":"Year","dateFormatItem-yMMM":"MMM y","dateTimeFormats-appendItem-Era":"{0} {1}","field-hour":"Hour","months-format-abbr":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"field-sat-relative+0":"this Saturday","field-sat-relative+1":"next Saturday","timeFormat-full":"h:mm:ss a zzzz","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","field-day-relative+0":"today","field-thu-relative+0":"this Thursday","field-day-relative+1":"tomorrow","field-thu-relative+1":"next Thursday","dateFormatItem-GyMMMd":"MMM d, y G","dateFormatItem-H":"HH","months-standAlone-abbr":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"quarters-format-abbr":["Q1","Q2","Q3","Q4"],"quarters-standAlone-wide":["1st quarter","2nd quarter","3rd quarter","4th quarter"],"dateFormatItem-Gy":"y G","dateFormatItem-M":"L","days-standAlone-wide":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"dayPeriods-format-abbr-noon":"noon","timeFormat-medium":"h:mm:ss a","field-sun-relative+0":"this Sunday","dateFormatItem-Hm":"HH:mm","field-sun-relative+1":"next Sunday","quarters-standAlone-abbr":["Q1","Q2","Q3","Q4"],eraAbbr:["BC","AD"],"field-minute":"Minute","field-dayperiod":"AM/PM","days-standAlone-abbr":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"dateFormatItem-d":"d","dateFormatItem-ms":"mm:ss","quarters-format-narrow":["1","2","3","4"],"field-day-relative+-1":"yesterday","dateTimeFormat-long":"{1} 'at' {0}","dayPeriods-format-narrow-am":"a","dateFormatItem-h":"h a","dateFormatItem-MMMd":"MMM d","dateFormatItem-MEd":"E, M/d","dateTimeFormat-full":"{1} 'at' {0}","field-fri-relative+0":"this Friday","field-fri-relative+1":"next Friday","field-day":"Day","days-format-wide":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"field-zone":"Time Zone","months-standAlone-narrow":["J","F","M","A","M","J","J","A","S","O","N","D"],"dateFormatItem-y":"y","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","field-year-relative+-1":"last year","field-month-relative+-1":"last month","dateTimeFormats-appendItem-Year":"{0} {1}","dateFormatItem-hm":"h:mm a","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","dayPeriods-format-abbr-pm":"PM","days-format-abbr":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],eraNames:["Before Christ","Anno Domini"],"dateFormatItem-yMMMd":"MMM d, y","days-format-narrow":["S","M","T","W","T","F","S"],"field-month":"Month","days-standAlone-narrow":["S","M","T","W","T","F","S"],"dateFormatItem-MMM":"LLL","field-tue-relative+0":"this Tuesday","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","field-tue-relative+1":"next Tuesday","dayPeriods-format-wide-am":"AM","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateFormatItem-EHm":"E HH:mm","field-mon-relative+0":"this Monday","field-mon-relative+1":"next Monday","dateFormat-short":"M/d/yy","dateFormatItem-EHms":"E HH:mm:ss","dateFormatItem-Ehms":"E h:mm:ss a","dayPeriods-format-narrow-noon":"n","field-second":"Second","field-sat-relative+-1":"last Saturday","dateFormatItem-yMMMEd":"E, MMM d, y","field-sun-relative+-1":"last Sunday","field-month-relative+0":"this month","field-month-relative+1":"next month","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateFormatItem-Ed":"d E","field-week":"Week","dateFormat-medium":"MMM d, y","field-week-relative+-1":"last week","field-year-relative+0":"this year","field-year-relative+1":"next year","dayPeriods-format-narrow-pm":"p","dateTimeFormat-short":"{1}, {0}","dateFormatItem-Hms":"HH:mm:ss","dateFormatItem-hms":"h:mm:ss a","dateFormatItem-GyMMM":"MMM y G","field-mon-relative+-1":"last Monday","field-week-relative+0":"this week","field-week-relative+1":"next week",_localized:{}}})},1800:function(t,e){define("dijit/nls/loading",{root:{loadingState:"Loading...",errorState:"Sorry, an error occurred"},bs:!0,mk:!0,sr:!0,zh:!0,"zh-tw":!0,uk:!0,tr:!0,th:!0,sv:!0,sl:!0,sk:!0,ru:!0,ro:!0,pt:!0,"pt-pt":!0,pl:!0,nl:!0,nb:!0,ko:!0,kk:!0,ja:!0,it:!0,id:!0,hu:!0,hr:!0,he:!0,fr:!0,fi:!0,eu:!0,es:!0,el:!0,de:!0,da:!0,cs:!0,ca:!0,bg:!0,az:!0,ar:!0})},7171:function(t,e){define("dijit/nls/loading",{root:{loadingState:"Loading...",errorState:"Sorry, an error occurred"},bs:!0,mk:!0,sr:!0,zh:!0,"zh-tw":!0,uk:!0,tr:!0,th:!0,sv:!0,sl:!0,sk:!0,ru:!0,ro:!0,pt:!0,"pt-pt":!0,pl:!0,nl:!0,nb:!0,ko:!0,kk:!0,ja:!0,it:!0,id:!0,hu:!0,hr:!0,he:!0,fr:!0,fi:!0,eu:!0,es:!0,el:!0,de:!0,da:!0,cs:!0,ca:!0,bg:!0,az:!0,ar:!0})},603:function(t,e){define("dijit/place",["dojo/_base/array","dojo/dom-geometry","dojo/dom-style","dojo/_base/kernel","dojo/_base/window","./Viewport","./main"],(function(t,e,n,i,o,r,a){function s(i,a,s,l){var c=r.getEffectiveBox(i.ownerDocument);i.parentNode&&"body"==String(i.parentNode.tagName).toLowerCase()||o.body(i.ownerDocument).appendChild(i);var d=null;t.some(a,(function(t){var n=t.corner,o=t.pos,r=0,a={w:{L:c.l+c.w-o.x,R:o.x-c.l,M:c.w}[n.charAt(1)],h:{T:c.t+c.h-o.y,B:o.y-c.t,M:c.h}[n.charAt(0)]},h=i.style;if(h.left=h.right="auto",s){var u=s(i,t.aroundCorner,n,a,l);r=void 0===u?0:u}var f=i.style,p=f.display,m=f.visibility;"none"==f.display&&(f.visibility="hidden",f.display="");var g=e.position(i);f.display=p,f.visibility=m;var y={L:o.x,R:o.x-g.w,M:Math.max(c.l,Math.min(c.l+c.w,o.x+(g.w>>1))-g.w)}[n.charAt(1)],v={T:o.y,B:o.y-g.h,M:Math.max(c.t,Math.min(c.t+c.h,o.y+(g.h>>1))-g.h)}[n.charAt(0)],b=Math.max(c.l,y),x=Math.max(c.t,v),_=Math.min(c.l+c.w,y+g.w)-b,j=Math.min(c.t+c.h,v+g.h)-x;return r+=g.w-_+(g.h-j),(null==d||r<d.overflow)&&(d={corner:n,aroundCorner:t.aroundCorner,x:b,y:x,w:_,h:j,overflow:r,spaceAvailable:a}),!r})),d.overflow&&s&&s(i,d.aroundCorner,d.corner,d.spaceAvailable,l);var h=d.y,u=d.x,f=o.body(i.ownerDocument);/relative|absolute/.test(n.get(f,"position"))&&(h-=n.get(f,"marginTop"),u-=n.get(f,"marginLeft"));var p=i.style;return p.top=h+"px",p.left=u+"px",p.right="auto",d}var l={TL:"BR",TR:"BL",BL:"TR",BR:"TL"},c={at:function(e,n,i,o,r){return s(e,t.map(i,(function(t){var e={corner:t,aroundCorner:l[t],pos:{x:n.x,y:n.y}};return o&&(e.pos.x+="L"==t.charAt(1)?o.x:-o.x,e.pos.y+="T"==t.charAt(0)?o.y:-o.y),e})),r)},around:function(o,r,a,l,c){var d;if("string"==typeof r||"offsetWidth"in r||"ownerSVGElement"in r){if(d=e.position(r,!0),/^(above|below)/.test(a[0])){var h=e.getBorderExtents(r),u=r.firstChild?e.getBorderExtents(r.firstChild):{t:0,l:0,b:0,r:0},f=e.getBorderExtents(o),p=o.firstChild?e.getBorderExtents(o.firstChild):{t:0,l:0,b:0,r:0};d.y+=Math.min(h.t+u.t,f.t+p.t),d.h-=Math.min(h.t+u.t,f.t+p.t)+Math.min(h.b+u.b,f.b+p.b)}}else d=r;if(r.parentNode)for(var m="absolute"==n.getComputedStyle(r).position,g=r.parentNode;g&&1==g.nodeType&&"BODY"!=g.nodeName;){var y=e.position(g,!0),v=n.getComputedStyle(g);if(/relative|absolute/.test(v.position)&&(m=!1),!m&&/hidden|auto|scroll/.test(v.overflow)){var b=Math.min(d.y+d.h,y.y+y.h),x=Math.min(d.x+d.w,y.x+y.w);d.x=Math.max(d.x,y.x),d.y=Math.max(d.y,y.y),d.h=b-d.y,d.w=x-d.x}"absolute"==v.position&&(m=!0),g=g.parentNode}var _=d.x,j=d.y,w="w"in d?d.w:d.w=d.width,k="h"in d?d.h:(i.deprecated("place.around: dijit/place.__Rectangle: { x:"+_+", y:"+j+", height:"+d.height+", width:"+w+" } has been deprecated. Please use { x:"+_+", y:"+j+", h:"+d.height+", w:"+w+" }","","2.0"),d.h=d.height),C=[];function S(t,e){C.push({aroundCorner:t,corner:e,pos:{x:{L:_,R:_+w,M:_+(w>>1)}[t.charAt(1)],y:{T:j,B:j+k,M:j+(k>>1)}[t.charAt(0)]}})}t.forEach(a,(function(t){var e=l;switch(t){case"above-centered":S("TM","BM");break;case"below-centered":S("BM","TM");break;case"after-centered":e=!e;case"before-centered":S(e?"ML":"MR",e?"MR":"ML");break;case"after":e=!e;case"before":S(e?"TL":"TR",e?"TR":"TL"),S(e?"BL":"BR",e?"BR":"BL");break;case"below-alt":e=!e;case"below":S(e?"BL":"BR",e?"TL":"TR"),S(e?"BR":"BL",e?"TR":"TL");break;case"above-alt":e=!e;case"above":S(e?"TL":"TR",e?"BL":"BR"),S(e?"TR":"TL",e?"BR":"BL");break;default:S(t.aroundCorner,t.corner)}}));var M=s(o,C,c,{w,h:k});return M.aroundNodePos=d,M}};return a.place=c}))},3516:function(t,e){define("dijit/place",["dojo/_base/array","dojo/dom-geometry","dojo/dom-style","dojo/_base/kernel","dojo/_base/window","./Viewport","./main"],(function(t,e,n,i,o,r,a){function s(i,a,s,l){var c=r.getEffectiveBox(i.ownerDocument);i.parentNode&&"body"==String(i.parentNode.tagName).toLowerCase()||o.body(i.ownerDocument).appendChild(i);var d=null;t.some(a,(function(t){var n=t.corner,o=t.pos,r=0,a={w:{L:c.l+c.w-o.x,R:o.x-c.l,M:c.w}[n.charAt(1)],h:{T:c.t+c.h-o.y,B:o.y-c.t,M:c.h}[n.charAt(0)]},h=i.style;if(h.left=h.right="auto",s){var u=s(i,t.aroundCorner,n,a,l);r=void 0===u?0:u}var f=i.style,p=f.display,m=f.visibility;"none"==f.display&&(f.visibility="hidden",f.display="");var g=e.position(i);f.display=p,f.visibility=m;var y={L:o.x,R:o.x-g.w,M:Math.max(c.l,Math.min(c.l+c.w,o.x+(g.w>>1))-g.w)}[n.charAt(1)],v={T:o.y,B:o.y-g.h,M:Math.max(c.t,Math.min(c.t+c.h,o.y+(g.h>>1))-g.h)}[n.charAt(0)],b=Math.max(c.l,y),x=Math.max(c.t,v),_=Math.min(c.l+c.w,y+g.w)-b,j=Math.min(c.t+c.h,v+g.h)-x;return r+=g.w-_+(g.h-j),(null==d||r<d.overflow)&&(d={corner:n,aroundCorner:t.aroundCorner,x:b,y:x,w:_,h:j,overflow:r,spaceAvailable:a}),!r})),d.overflow&&s&&s(i,d.aroundCorner,d.corner,d.spaceAvailable,l);var h=d.y,u=d.x,f=o.body(i.ownerDocument);/relative|absolute/.test(n.get(f,"position"))&&(h-=n.get(f,"marginTop"),u-=n.get(f,"marginLeft"));var p=i.style;return p.top=h+"px",p.left=u+"px",p.right="auto",d}var l={TL:"BR",TR:"BL",BL:"TR",BR:"TL"},c={at:function(e,n,i,o,r){return s(e,t.map(i,(function(t){var e={corner:t,aroundCorner:l[t],pos:{x:n.x,y:n.y}};return o&&(e.pos.x+="L"==t.charAt(1)?o.x:-o.x,e.pos.y+="T"==t.charAt(0)?o.y:-o.y),e})),r)},around:function(o,r,a,l,c){var d;if("string"==typeof r||"offsetWidth"in r||"ownerSVGElement"in r){if(d=e.position(r,!0),/^(above|below)/.test(a[0])){var h=e.getBorderExtents(r),u=r.firstChild?e.getBorderExtents(r.firstChild):{t:0,l:0,b:0,r:0},f=e.getBorderExtents(o),p=o.firstChild?e.getBorderExtents(o.firstChild):{t:0,l:0,b:0,r:0};d.y+=Math.min(h.t+u.t,f.t+p.t),d.h-=Math.min(h.t+u.t,f.t+p.t)+Math.min(h.b+u.b,f.b+p.b)}}else d=r;if(r.parentNode)for(var m="absolute"==n.getComputedStyle(r).position,g=r.parentNode;g&&1==g.nodeType&&"BODY"!=g.nodeName;){var y=e.position(g,!0),v=n.getComputedStyle(g);if(/relative|absolute/.test(v.position)&&(m=!1),!m&&/hidden|auto|scroll/.test(v.overflow)){var b=Math.min(d.y+d.h,y.y+y.h),x=Math.min(d.x+d.w,y.x+y.w);d.x=Math.max(d.x,y.x),d.y=Math.max(d.y,y.y),d.h=b-d.y,d.w=x-d.x}"absolute"==v.position&&(m=!0),g=g.parentNode}var _=d.x,j=d.y,w="w"in d?d.w:d.w=d.width,k="h"in d?d.h:(i.deprecated("place.around: dijit/place.__Rectangle: { x:"+_+", y:"+j+", height:"+d.height+", width:"+w+" } has been deprecated. Please use { x:"+_+", y:"+j+", h:"+d.height+", w:"+w+" }","","2.0"),d.h=d.height),C=[];function S(t,e){C.push({aroundCorner:t,corner:e,pos:{x:{L:_,R:_+w,M:_+(w>>1)}[t.charAt(1)],y:{T:j,B:j+k,M:j+(k>>1)}[t.charAt(0)]}})}t.forEach(a,(function(t){var e=l;switch(t){case"above-centered":S("TM","BM");break;case"below-centered":S("BM","TM");break;case"after-centered":e=!e;case"before-centered":S(e?"ML":"MR",e?"MR":"ML");break;case"after":e=!e;case"before":S(e?"TL":"TR",e?"TR":"TL"),S(e?"BL":"BR",e?"BR":"BL");break;case"below-alt":e=!e;case"below":S(e?"BL":"BR",e?"TL":"TR"),S(e?"BR":"BL",e?"TR":"TL");break;case"above-alt":e=!e;case"above":S(e?"TL":"TR",e?"BL":"BR"),S(e?"TR":"TL",e?"BR":"BL");break;default:S(t.aroundCorner,t.corner)}}));var M=s(o,C,c,{w,h:k});return M.aroundNodePos=d,M}};return a.place=c}))},9270:function(t,e){define("dijit/popup",["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/has","dojo/keys","dojo/_base/lang","dojo/on","./place","./BackgroundIframe","./Viewport","./main","dojo/touch"],(function(t,e,n,i,o,r,a,s,l,c,d,h,u,f,p,m){function g(){this._popupWrapper&&(r.destroy(this._popupWrapper),delete this._popupWrapper)}var y=n(null,{_stack:[],_beginZIndex:1e3,_idGen:1,_repositionAll:function(){if(this._firstAroundNode){var t=this._firstAroundPosition,e=a.position(this._firstAroundNode,!0),n=e.x-t.x,i=e.y-t.y;if(n||i){this._firstAroundPosition=e;for(var o=0;o<this._stack.length;o++){var r=this._stack[o].wrapper.style;r.top=parseFloat(r.top)+i+"px","auto"==r.right?r.left=parseFloat(r.left)+n+"px":r.right=parseFloat(r.right)-n+"px"}}this._aroundMoveListener=setTimeout(d.hitch(this,"_repositionAll"),n||i?10:50)}},_createWrapper:function(t){var n=t._popupWrapper,i=t.domNode;if(!n){(n=r.create("div",{class:"dijitPopup",style:{display:"none"},role:"region","aria-label":t["aria-label"]||t.label||t.name||t.id},t.ownerDocumentBody)).appendChild(i);var o=i.style;o.display="",o.visibility="",o.position="",o.top="0px",t._popupWrapper=n,e.after(t,"destroy",g,!0),"ontouchend"in document&&h(n,"touchend",(function(t){/^(input|button|textarea)$/i.test(t.target.tagName)||t.preventDefault()})),n.dojoClick=!0}return n},moveOffScreen:function(t){var e=this._createWrapper(t),n=a.isBodyLtr(t.ownerDocument),i={visibility:"hidden",top:"-9999px",display:""};return i[n?"left":"right"]="-9999px",i[n?"right":"left"]="auto",s.set(e,i),e},hide:function(t){var e=this._createWrapper(t);s.set(e,{display:"none",height:"auto",overflowY:"visible",border:""});var n=t.domNode;"_originalStyle"in n&&(n.style.cssText=n._originalStyle)},getTopPopup:function(){for(var t=this._stack,e=t.length-1;e>0&&t[e].parent===t[e-1].widget;e--);return t[e]},open:function(t){for(var e=this._stack,n=t.popup,r=n.domNode,m=t.orient||["below","below-alt","above","above-alt"],g=t.parent?t.parent.isLeftToRight():a.isBodyLtr(n.ownerDocument),y=t.around,v=t.around&&t.around.id?t.around.id+"_dropdown":"popup_"+this._idGen++;e.length&&(!t.parent||!i.isDescendant(t.parent.domNode,e[e.length-1].widget.domNode));)this.close(e[e.length-1].widget);var b=this.moveOffScreen(n);n.startup&&!n._started&&n.startup();var x,_=a.position(r);if("maxHeight"in t&&-1!=t.maxHeight)x=t.maxHeight||1/0;else{var j=p.getEffectiveBox(this.ownerDocument),w=y?a.position(y,!1):{y:t.y-(t.padding||0),h:2*(t.padding||0)};x=Math.floor(Math.max(w.y,j.h-(w.y+w.h)))}if(_.h>x){var k=s.getComputedStyle(r),C=k.borderLeftWidth+" "+k.borderLeftStyle+" "+k.borderLeftColor;s.set(b,{overflowY:"scroll",height:x+"px",border:C}),r._originalStyle=r.style.cssText,r.style.border="none"}o.set(b,{id:v,style:{zIndex:this._beginZIndex+e.length},class:"dijitPopup "+(n.baseClass||n.class||"").split(" ")[0]+"Popup",dijitPopupParent:t.parent?t.parent.id:""}),0==e.length&&y&&(this._firstAroundNode=y,this._firstAroundPosition=a.position(y,!0),this._aroundMoveListener=setTimeout(d.hitch(this,"_repositionAll"),50)),l("config-bgIframe")&&!n.bgIframe&&(n.bgIframe=new f(b));var S=n.orient?d.hitch(n,"orient"):null,M=y?u.around(b,y,m,g,S):u.at(b,t,"R"==m?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],t.padding,S);b.style.visibility="visible",r.style.visibility="visible";var T=[];return T.push(h(b,"keydown",d.hitch(this,(function(e){if(e.keyCode==c.ESCAPE&&t.onCancel)e.stopPropagation(),e.preventDefault(),t.onCancel();else if(e.keyCode==c.TAB){e.stopPropagation(),e.preventDefault();var n=this.getTopPopup();n&&n.onCancel&&n.onCancel()}})))),n.onCancel&&t.onCancel&&T.push(n.on("cancel",t.onCancel)),T.push(n.on(n.onExecute?"execute":"change",d.hitch(this,(function(){var t=this.getTopPopup();t&&t.onExecute&&t.onExecute()})))),e.push({widget:n,wrapper:b,parent:t.parent,onExecute:t.onExecute,onCancel:t.onCancel,onClose:t.onClose,handlers:T}),n.onOpen&&n.onOpen(M),M},close:function(e){for(var n=this._stack;e&&t.some(n,(function(t){return t.widget==e}))||!e&&n.length;){var i,o=n.pop(),r=o.widget,a=o.onClose;for(r.bgIframe&&(r.bgIframe.destroy(),delete r.bgIframe),r.onClose&&r.onClose();i=o.handlers.pop();)i.remove();r&&r.domNode&&this.hide(r),a&&a()}0==n.length&&this._aroundMoveListener&&(clearTimeout(this._aroundMoveListener),this._firstAroundNode=this._firstAroundPosition=this._aroundMoveListener=null)}});return m.popup=new y}))},4993:function(t,e){define("dijit/popup",["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/has","dojo/keys","dojo/_base/lang","dojo/on","./place","./BackgroundIframe","./Viewport","./main","dojo/touch"],(function(t,e,n,i,o,r,a,s,l,c,d,h,u,f,p,m){function g(){this._popupWrapper&&(r.destroy(this._popupWrapper),delete this._popupWrapper)}var y=n(null,{_stack:[],_beginZIndex:1e3,_idGen:1,_repositionAll:function(){if(this._firstAroundNode){var t=this._firstAroundPosition,e=a.position(this._firstAroundNode,!0),n=e.x-t.x,i=e.y-t.y;if(n||i){this._firstAroundPosition=e;for(var o=0;o<this._stack.length;o++){var r=this._stack[o].wrapper.style;r.top=parseFloat(r.top)+i+"px","auto"==r.right?r.left=parseFloat(r.left)+n+"px":r.right=parseFloat(r.right)-n+"px"}}this._aroundMoveListener=setTimeout(d.hitch(this,"_repositionAll"),n||i?10:50)}},_createWrapper:function(t){var n=t._popupWrapper,i=t.domNode;if(!n){(n=r.create("div",{class:"dijitPopup",style:{display:"none"},role:"region","aria-label":t["aria-label"]||t.label||t.name||t.id},t.ownerDocumentBody)).appendChild(i);var o=i.style;o.display="",o.visibility="",o.position="",o.top="0px",t._popupWrapper=n,e.after(t,"destroy",g,!0),"ontouchend"in document&&h(n,"touchend",(function(t){/^(input|button|textarea)$/i.test(t.target.tagName)||t.preventDefault()})),n.dojoClick=!0}return n},moveOffScreen:function(t){var e=this._createWrapper(t),n=a.isBodyLtr(t.ownerDocument),i={visibility:"hidden",top:"-9999px",display:""};return i[n?"left":"right"]="-9999px",i[n?"right":"left"]="auto",s.set(e,i),e},hide:function(t){var e=this._createWrapper(t);s.set(e,{display:"none",height:"auto",overflowY:"visible",border:""});var n=t.domNode;"_originalStyle"in n&&(n.style.cssText=n._originalStyle)},getTopPopup:function(){for(var t=this._stack,e=t.length-1;e>0&&t[e].parent===t[e-1].widget;e--);return t[e]},open:function(t){for(var e=this._stack,n=t.popup,r=n.domNode,m=t.orient||["below","below-alt","above","above-alt"],g=t.parent?t.parent.isLeftToRight():a.isBodyLtr(n.ownerDocument),y=t.around,v=t.around&&t.around.id?t.around.id+"_dropdown":"popup_"+this._idGen++;e.length&&(!t.parent||!i.isDescendant(t.parent.domNode,e[e.length-1].widget.domNode));)this.close(e[e.length-1].widget);var b=this.moveOffScreen(n);n.startup&&!n._started&&n.startup();var x,_=a.position(r);if("maxHeight"in t&&-1!=t.maxHeight)x=t.maxHeight||1/0;else{var j=p.getEffectiveBox(this.ownerDocument),w=y?a.position(y,!1):{y:t.y-(t.padding||0),h:2*(t.padding||0)};x=Math.floor(Math.max(w.y,j.h-(w.y+w.h)))}if(_.h>x){var k=s.getComputedStyle(r),C=k.borderLeftWidth+" "+k.borderLeftStyle+" "+k.borderLeftColor;s.set(b,{overflowY:"scroll",height:x+"px",border:C}),r._originalStyle=r.style.cssText,r.style.border="none"}o.set(b,{id:v,style:{zIndex:this._beginZIndex+e.length},class:"dijitPopup "+(n.baseClass||n.class||"").split(" ")[0]+"Popup",dijitPopupParent:t.parent?t.parent.id:""}),0==e.length&&y&&(this._firstAroundNode=y,this._firstAroundPosition=a.position(y,!0),this._aroundMoveListener=setTimeout(d.hitch(this,"_repositionAll"),50)),l("config-bgIframe")&&!n.bgIframe&&(n.bgIframe=new f(b));var S=n.orient?d.hitch(n,"orient"):null,M=y?u.around(b,y,m,g,S):u.at(b,t,"R"==m?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],t.padding,S);b.style.visibility="visible",r.style.visibility="visible";var T=[];return T.push(h(b,"keydown",d.hitch(this,(function(e){if(e.keyCode==c.ESCAPE&&t.onCancel)e.stopPropagation(),e.preventDefault(),t.onCancel();else if(e.keyCode==c.TAB){e.stopPropagation(),e.preventDefault();var n=this.getTopPopup();n&&n.onCancel&&n.onCancel()}})))),n.onCancel&&t.onCancel&&T.push(n.on("cancel",t.onCancel)),T.push(n.on(n.onExecute?"execute":"change",d.hitch(this,(function(){var t=this.getTopPopup();t&&t.onExecute&&t.onExecute()})))),e.push({widget:n,wrapper:b,parent:t.parent,onExecute:t.onExecute,onCancel:t.onCancel,onClose:t.onClose,handlers:T}),n.onOpen&&n.onOpen(M),M},close:function(e){for(var n=this._stack;e&&t.some(n,(function(t){return t.widget==e}))||!e&&n.length;){var i,o=n.pop(),r=o.widget,a=o.onClose;for(r.bgIframe&&(r.bgIframe.destroy(),delete r.bgIframe),r.onClose&&r.onClose();i=o.handlers.pop();)i.remove();r&&r.domNode&&this.hide(r),a&&a()}0==n.length&&this._aroundMoveListener&&(clearTimeout(this._aroundMoveListener),this._firstAroundNode=this._firstAroundPosition=this._aroundMoveListener=null)}});return m.popup=new y}))},1057:function(t,e){define("dijit/registry",["dojo/_base/array","dojo/_base/window","./main"],(function(t,e,n){var i={},o={},r={length:0,add:function(t){if(o[t.id])throw new Error("Tried to register widget with id=="+t.id+" but that id is already registered");o[t.id]=t,this.length++},remove:function(t){o[t]&&(delete o[t],this.length--)},byId:function(t){return"string"==typeof t?o[t]:t},byNode:function(t){return o[t.getAttribute("widgetId")]},toArray:function(){var t=[];for(var e in o)t.push(o[e]);return t},getUniqueId:function(t){var e;do{e=t+"_"+(t in i?++i[t]:i[t]=0)}while(o[e]);return"dijit"==n._scopeName?e:n._scopeName+"_"+e},findWidgets:function(t,e){var n=[];return function t(i){for(var r=i.firstChild;r;r=r.nextSibling)if(1==r.nodeType){var a=r.getAttribute("widgetId");if(a){var s=o[a];s&&n.push(s)}else r!==e&&t(r)}}(t),n},_destroyAll:function(){n._curFocus=null,n._prevFocus=null,n._activeStack=[],t.forEach(r.findWidgets(e.body()),(function(t){t._destroyed||(t.destroyRecursive?t.destroyRecursive():t.destroy&&t.destroy())}))},getEnclosingWidget:function(t){for(;t;){var e=1==t.nodeType&&t.getAttribute("widgetId");if(e)return o[e];t=t.parentNode}return null},_hash:o};return n.registry=r,r}))},6426:function(t,e){define("dijit/registry",["dojo/_base/array","dojo/_base/window","./main"],(function(t,e,n){var i={},o={},r={length:0,add:function(t){if(o[t.id])throw new Error("Tried to register widget with id=="+t.id+" but that id is already registered");o[t.id]=t,this.length++},remove:function(t){o[t]&&(delete o[t],this.length--)},byId:function(t){return"string"==typeof t?o[t]:t},byNode:function(t){return o[t.getAttribute("widgetId")]},toArray:function(){var t=[];for(var e in o)t.push(o[e]);return t},getUniqueId:function(t){var e;do{e=t+"_"+(t in i?++i[t]:i[t]=0)}while(o[e]);return"dijit"==n._scopeName?e:n._scopeName+"_"+e},findWidgets:function(t,e){var n=[];return function t(i){for(var r=i.firstChild;r;r=r.nextSibling)if(1==r.nodeType){var a=r.getAttribute("widgetId");if(a){var s=o[a];s&&n.push(s)}else r!==e&&t(r)}}(t),n},_destroyAll:function(){n._curFocus=null,n._prevFocus=null,n._activeStack=[],t.forEach(r.findWidgets(e.body()),(function(t){t._destroyed||(t.destroyRecursive?t.destroyRecursive():t.destroy&&t.destroy())}))},getEnclosingWidget:function(t){for(;t;){var e=1==t.nodeType&&t.getAttribute("widgetId");if(e)return o[e];t=t.parentNode}return null},_hash:o};return n.registry=r,r}))},8097:function(t,e){define("dijit/selection",["dojo/_base/array","dojo/dom","dojo/_base/lang","dojo/sniff","dojo/_base/window","dijit/focus"],(function(t,e,n,i,o,r){var a=function(a){var s=a.document;this.getType=function(){if(s.getSelection){var t,e="text";try{t=a.getSelection()}catch(t){}if(t&&1==t.rangeCount){var n=t.getRangeAt(0);n.startContainer==n.endContainer&&n.endOffset-n.startOffset==1&&3!=n.startContainer.nodeType&&(e="control")}return e}return s.selection.type.toLowerCase()},this.getSelectedText=function(){if(s.getSelection){var t=a.getSelection();return t?t.toString():""}return"control"==this.getType()?null:s.selection.createRange().text},this.getSelectedHtml=function(){if(s.getSelection){var t=a.getSelection();if(t&&t.rangeCount){var e,n="";for(e=0;e<t.rangeCount;e++){var i=t.getRangeAt(e).cloneContents(),o=s.createElement("div");o.appendChild(i),n+=o.innerHTML}return n}return null}return"control"==this.getType()?null:s.selection.createRange().htmlText},this.getSelectedElement=function(){if("control"==this.getType()){if(s.getSelection){var t=a.getSelection();return t.anchorNode.childNodes[t.anchorOffset]}var e=s.selection.createRange();if(e&&e.item)return s.selection.createRange().item(0)}return null},this.getParentElement=function(){if("control"==this.getType()){var t=this.getSelectedElement();if(t)return t.parentNode}else{if(!s.getSelection){var e=s.selection.createRange();return e.collapse(!0),e.parentElement()}var n=s.getSelection();if(n){for(var i=n.anchorNode;i&&1!=i.nodeType;)i=i.parentNode;return i}}return null},this.hasAncestorElement=function(t){return null!=this.getAncestorElement.apply(this,arguments)},this.getAncestorElement=function(t){var e=this.getSelectedElement()||this.getParentElement();return this.getParentOfType(e,arguments)},this.isTag=function(t,e){if(t&&t.tagName)for(var n=t.tagName.toLowerCase(),i=0;i<e.length;i++){var o=String(e[i]).toLowerCase();if(n==o)return o}return""},this.getParentOfType=function(t,e){for(;t;){if(this.isTag(t,e).length)return t;t=t.parentNode}return null},this.collapse=function(t){if(s.getSelection){var e=a.getSelection();e.removeAllRanges?t?e.collapseToStart():e.collapseToEnd():e.collapse(t)}else{var n=s.selection.createRange();n.collapse(t),n.select()}},this.remove=function(){var t=s.selection;return s.getSelection?((t=a.getSelection()).deleteFromDocument(),t):("none"!=t.type.toLowerCase()&&t.clear(),t)},this.selectElementChildren=function(t,n){var o;if(t=e.byId(t),s.getSelection){var r=a.getSelection();i("opera")?((o=r.rangeCount?r.getRangeAt(0):s.createRange()).setStart(t,0),o.setEnd(t,3==t.nodeType?t.length:t.childNodes.length),r.addRange(o)):r.selectAllChildren(t)}else if((o=t.ownerDocument.body.createTextRange()).moveToElementText(t),!n)try{o.select()}catch(t){}},this.selectElement=function(t,n){var r;if(t=e.byId(t),s.getSelection){var a=s.getSelection();r=s.createRange(),a.removeAllRanges&&(i("opera")&&a.getRangeAt(0)&&(r=a.getRangeAt(0)),r.selectNode(t),a.removeAllRanges(),a.addRange(r))}else try{var l=t.tagName?t.tagName.toLowerCase():"";(r="img"===l||"table"===l?o.body(s).createControlRange():o.body(s).createRange()).addElement(t),n||r.select()}catch(e){this.selectElementChildren(t,n)}},this.inSelection=function(t){var e,n;if(t)if(s.getSelection){var i=a.getSelection();if(i&&i.rangeCount>0&&(n=i.getRangeAt(0)),n&&n.compareBoundaryPoints&&s.createRange)try{if((e=s.createRange()).setStart(t,0),1===n.compareBoundaryPoints(n.START_TO_END,e))return!0}catch(t){}}else{n=s.selection.createRange();try{(e=t.ownerDocument.body.createTextRange()).moveToElementText(t)}catch(t){}if(n&&e&&1===n.compareEndPoints("EndToStart",e))return!0}return!1},this.getBookmark=function(){var t,e,n,i=s.selection,o=r.curNode;if(s.getSelection){if(i=a.getSelection())if(i.isCollapsed){if((n=o?o.tagName:"")&&("textarea"==(n=n.toLowerCase())||"input"==n&&(!o.type||"text"==o.type.toLowerCase())))return{isCollapsed:(i={start:o.selectionStart,end:o.selectionEnd,node:o,pRange:!0}).end<=i.start,mark:i};t={isCollapsed:!0},i.rangeCount&&(t.mark=i.getRangeAt(0).cloneRange())}else t={isCollapsed:!1,mark:(e=i.getRangeAt(0)).cloneRange()}}else if(i){if(n=(n=o?o.tagName:"").toLowerCase(),o&&n&&("button"==n||"textarea"==n||"input"==n))return i.type&&"none"==i.type.toLowerCase()?{isCollapsed:!0,mark:null}:{isCollapsed:!(e=i.createRange()).text||!e.text.length,mark:{range:e,pRange:!0}};t={};try{e=i.createRange(),t.isCollapsed=!("Text"==i.type?e.htmlText.length:e.length)}catch(e){return t.isCollapsed=!0,t}if("CONTROL"==i.type.toUpperCase())if(e.length){t.mark=[];for(var l=0,c=e.length;l<c;)t.mark.push(e.item(l++))}else t.isCollapsed=!0,t.mark=null;else t.mark=e.getBookmark()}else console.warn("No idea how to store the current selection for this browser!");return t},this.moveToBookmark=function(e){var i=e.mark;if(i)if(s.getSelection){var o=a.getSelection();if(o&&o.removeAllRanges)if(i.pRange){var r=i.node;r.selectionStart=i.start,r.selectionEnd=i.end}else o.removeAllRanges(),o.addRange(i);else console.warn("No idea how to restore selection for this browser!")}else{var l;s.selection&&i&&(i.pRange?l=i.range:n.isArray(i)?(l=s.body.createControlRange(),t.forEach(i,(function(t){l.addElement(t)}))):(l=s.body.createTextRange()).moveToBookmark(i),l.select())}},this.isCollapsed=function(){return this.getBookmark().isCollapsed}},s=new a(window);return s.SelectionManager=a,s}))},7241:function(t,e){define("dijit/selection",["dojo/_base/array","dojo/dom","dojo/_base/lang","dojo/sniff","dojo/_base/window","dijit/focus"],(function(t,e,n,i,o,r){var a=function(a){var s=a.document;this.getType=function(){if(s.getSelection){var t,e="text";try{t=a.getSelection()}catch(t){}if(t&&1==t.rangeCount){var n=t.getRangeAt(0);n.startContainer==n.endContainer&&n.endOffset-n.startOffset==1&&3!=n.startContainer.nodeType&&(e="control")}return e}return s.selection.type.toLowerCase()},this.getSelectedText=function(){if(s.getSelection){var t=a.getSelection();return t?t.toString():""}return"control"==this.getType()?null:s.selection.createRange().text},this.getSelectedHtml=function(){if(s.getSelection){var t=a.getSelection();if(t&&t.rangeCount){var e,n="";for(e=0;e<t.rangeCount;e++){var i=t.getRangeAt(e).cloneContents(),o=s.createElement("div");o.appendChild(i),n+=o.innerHTML}return n}return null}return"control"==this.getType()?null:s.selection.createRange().htmlText},this.getSelectedElement=function(){if("control"==this.getType()){if(s.getSelection){var t=a.getSelection();return t.anchorNode.childNodes[t.anchorOffset]}var e=s.selection.createRange();if(e&&e.item)return s.selection.createRange().item(0)}return null},this.getParentElement=function(){if("control"==this.getType()){var t=this.getSelectedElement();if(t)return t.parentNode}else{if(!s.getSelection){var e=s.selection.createRange();return e.collapse(!0),e.parentElement()}var n=s.getSelection();if(n){for(var i=n.anchorNode;i&&1!=i.nodeType;)i=i.parentNode;return i}}return null},this.hasAncestorElement=function(t){return null!=this.getAncestorElement.apply(this,arguments)},this.getAncestorElement=function(t){var e=this.getSelectedElement()||this.getParentElement();return this.getParentOfType(e,arguments)},this.isTag=function(t,e){if(t&&t.tagName)for(var n=t.tagName.toLowerCase(),i=0;i<e.length;i++){var o=String(e[i]).toLowerCase();if(n==o)return o}return""},this.getParentOfType=function(t,e){for(;t;){if(this.isTag(t,e).length)return t;t=t.parentNode}return null},this.collapse=function(t){if(s.getSelection){var e=a.getSelection();e.removeAllRanges?t?e.collapseToStart():e.collapseToEnd():e.collapse(t)}else{var n=s.selection.createRange();n.collapse(t),n.select()}},this.remove=function(){var t=s.selection;return s.getSelection?((t=a.getSelection()).deleteFromDocument(),t):("none"!=t.type.toLowerCase()&&t.clear(),t)},this.selectElementChildren=function(t,n){var o;if(t=e.byId(t),s.getSelection){var r=a.getSelection();i("opera")?((o=r.rangeCount?r.getRangeAt(0):s.createRange()).setStart(t,0),o.setEnd(t,3==t.nodeType?t.length:t.childNodes.length),r.addRange(o)):r.selectAllChildren(t)}else if((o=t.ownerDocument.body.createTextRange()).moveToElementText(t),!n)try{o.select()}catch(t){}},this.selectElement=function(t,n){var r;if(t=e.byId(t),s.getSelection){var a=s.getSelection();r=s.createRange(),a.removeAllRanges&&(i("opera")&&a.getRangeAt(0)&&(r=a.getRangeAt(0)),r.selectNode(t),a.removeAllRanges(),a.addRange(r))}else try{var l=t.tagName?t.tagName.toLowerCase():"";(r="img"===l||"table"===l?o.body(s).createControlRange():o.body(s).createRange()).addElement(t),n||r.select()}catch(e){this.selectElementChildren(t,n)}},this.inSelection=function(t){var e,n;if(t)if(s.getSelection){var i=a.getSelection();if(i&&i.rangeCount>0&&(n=i.getRangeAt(0)),n&&n.compareBoundaryPoints&&s.createRange)try{if((e=s.createRange()).setStart(t,0),1===n.compareBoundaryPoints(n.START_TO_END,e))return!0}catch(t){}}else{n=s.selection.createRange();try{(e=t.ownerDocument.body.createTextRange()).moveToElementText(t)}catch(t){}if(n&&e&&1===n.compareEndPoints("EndToStart",e))return!0}return!1},this.getBookmark=function(){var t,e,n,i=s.selection,o=r.curNode;if(s.getSelection){if(i=a.getSelection())if(i.isCollapsed){if((n=o?o.tagName:"")&&("textarea"==(n=n.toLowerCase())||"input"==n&&(!o.type||"text"==o.type.toLowerCase())))return{isCollapsed:(i={start:o.selectionStart,end:o.selectionEnd,node:o,pRange:!0}).end<=i.start,mark:i};t={isCollapsed:!0},i.rangeCount&&(t.mark=i.getRangeAt(0).cloneRange())}else t={isCollapsed:!1,mark:(e=i.getRangeAt(0)).cloneRange()}}else if(i){if(n=(n=o?o.tagName:"").toLowerCase(),o&&n&&("button"==n||"textarea"==n||"input"==n))return i.type&&"none"==i.type.toLowerCase()?{isCollapsed:!0,mark:null}:{isCollapsed:!(e=i.createRange()).text||!e.text.length,mark:{range:e,pRange:!0}};t={};try{e=i.createRange(),t.isCollapsed=!("Text"==i.type?e.htmlText.length:e.length)}catch(e){return t.isCollapsed=!0,t}if("CONTROL"==i.type.toUpperCase())if(e.length){t.mark=[];for(var l=0,c=e.length;l<c;)t.mark.push(e.item(l++))}else t.isCollapsed=!0,t.mark=null;else t.mark=e.getBookmark()}else console.warn("No idea how to store the current selection for this browser!");return t},this.moveToBookmark=function(e){var i=e.mark;if(i)if(s.getSelection){var o=a.getSelection();if(o&&o.removeAllRanges)if(i.pRange){var r=i.node;r.selectionStart=i.start,r.selectionEnd=i.end}else o.removeAllRanges(),o.addRange(i);else console.warn("No idea how to restore selection for this browser!")}else if(s.selection&&i){var l;i.pRange?l=i.range:n.isArray(i)?(l=s.body.createControlRange(),t.forEach(i,(function(t){l.addElement(t)}))):(l=s.body.createTextRange()).moveToBookmark(i),l.select()}},this.isCollapsed=function(){return this.getBookmark().isCollapsed}},s=new a(window);return s.SelectionManager=a,s}))},3614:function(t,e){define("dijit/typematic",["dojo/_base/array","dojo/_base/connect","dojo/_base/lang","dojo/on","dojo/sniff","./main"],(function(t,e,n,i,o,r){var a=r.typematic={_fireEventAndReload:function(){this._timer=null,this._callback(++this._count,this._node,this._evt),this._currentTimeout=Math.max(this._currentTimeout<0?this._initialDelay:this._subsequentDelay>1?this._subsequentDelay:Math.round(this._currentTimeout*this._subsequentDelay),this._minDelay),this._timer=setTimeout(n.hitch(this,"_fireEventAndReload"),this._currentTimeout)},trigger:function(t,e,i,o,r,a,s,l){if(r!=this._obj){for(var c in this.stop(),this._initialDelay=s||500,this._subsequentDelay=a||.9,this._minDelay=l||10,this._obj=r,this._node=i,this._currentTimeout=-1,this._count=-1,this._callback=n.hitch(e,o),this._evt={faux:!0},t)if("layerX"!=c&&"layerY"!=c){var d=t[c];"function"!=typeof d&&void 0!==d&&(this._evt[c]=d)}this._fireEventAndReload()}},stop:function(){this._timer&&(clearTimeout(this._timer),this._timer=null),this._obj&&(this._callback(-1,this._node,this._evt),this._obj=null)},addKeyListener:function(o,r,s,l,c,d,h){var u="keyCode"in r?"keydown":"charCode"in r?"keypress":e._keypress,f="keyCode"in r?"keyCode":"charCode"in r?"charCode":"charOrCode",p=[i(o,u,n.hitch(this,(function(t){t[f]!=r[f]||void 0!==r.ctrlKey&&r.ctrlKey!=t.ctrlKey||void 0!==r.altKey&&r.altKey!=t.altKey||void 0!==r.metaKey&&r.metaKey!=(t.metaKey||!1)||void 0!==r.shiftKey&&r.shiftKey!=t.shiftKey?a._obj==r&&a.stop():(t.stopPropagation(),t.preventDefault(),a.trigger(t,s,o,l,r,c,d,h))}))),i(o,"keyup",n.hitch(this,(function(){a._obj==r&&a.stop()})))];return{remove:function(){t.forEach(p,(function(t){t.remove()}))}}},addMouseListener:function(e,r,s,l,c,d){var h=[i(e,"mousedown",n.hitch(this,(function(t){t.preventDefault(),a.trigger(t,r,e,s,e,l,c,d)}))),i(e,"mouseup",n.hitch(this,(function(t){this._obj&&t.preventDefault(),a.stop()}))),i(e,"mouseout",n.hitch(this,(function(t){this._obj&&t.preventDefault(),a.stop()}))),i(e,"dblclick",n.hitch(this,(function(t){t.preventDefault(),o("ie")<9&&(a.trigger(t,r,e,s,e,l,c,d),setTimeout(n.hitch(this,a.stop),50))})))];return{remove:function(){t.forEach(h,(function(t){t.remove()}))}}},addListener:function(e,n,i,o,r,a,s,l){var c=[this.addKeyListener(n,i,o,r,a,s,l),this.addMouseListener(e,o,r,a,s,l)];return{remove:function(){t.forEach(c,(function(t){t.remove()}))}}}};return a}))},8377:function(t,e){define("dijit/typematic",["dojo/_base/array","dojo/_base/connect","dojo/_base/lang","dojo/on","dojo/sniff","./main"],(function(t,e,n,i,o,r){var a=r.typematic={_fireEventAndReload:function(){this._timer=null,this._callback(++this._count,this._node,this._evt),this._currentTimeout=Math.max(this._currentTimeout<0?this._initialDelay:this._subsequentDelay>1?this._subsequentDelay:Math.round(this._currentTimeout*this._subsequentDelay),this._minDelay),this._timer=setTimeout(n.hitch(this,"_fireEventAndReload"),this._currentTimeout)},trigger:function(t,e,i,o,r,a,s,l){if(r!=this._obj){for(var c in this.stop(),this._initialDelay=s||500,this._subsequentDelay=a||.9,this._minDelay=l||10,this._obj=r,this._node=i,this._currentTimeout=-1,this._count=-1,this._callback=n.hitch(e,o),this._evt={faux:!0},t)if("layerX"!=c&&"layerY"!=c){var d=t[c];"function"!=typeof d&&void 0!==d&&(this._evt[c]=d)}this._fireEventAndReload()}},stop:function(){this._timer&&(clearTimeout(this._timer),this._timer=null),this._obj&&(this._callback(-1,this._node,this._evt),this._obj=null)},addKeyListener:function(o,r,s,l,c,d,h){var u="keyCode"in r?"keydown":"charCode"in r?"keypress":e._keypress,f="keyCode"in r?"keyCode":"charCode"in r?"charCode":"charOrCode",p=[i(o,u,n.hitch(this,(function(t){t[f]!=r[f]||void 0!==r.ctrlKey&&r.ctrlKey!=t.ctrlKey||void 0!==r.altKey&&r.altKey!=t.altKey||void 0!==r.metaKey&&r.metaKey!=(t.metaKey||!1)||void 0!==r.shiftKey&&r.shiftKey!=t.shiftKey?a._obj==r&&a.stop():(t.stopPropagation(),t.preventDefault(),a.trigger(t,s,o,l,r,c,d,h))}))),i(o,"keyup",n.hitch(this,(function(){a._obj==r&&a.stop()})))];return{remove:function(){t.forEach(p,(function(t){t.remove()}))}}},addMouseListener:function(e,r,s,l,c,d){var h=[i(e,"mousedown",n.hitch(this,(function(t){t.preventDefault(),a.trigger(t,r,e,s,e,l,c,d)}))),i(e,"mouseup",n.hitch(this,(function(t){this._obj&&t.preventDefault(),a.stop()}))),i(e,"mouseout",n.hitch(this,(function(t){this._obj&&t.preventDefault(),a.stop()}))),i(e,"dblclick",n.hitch(this,(function(t){t.preventDefault(),o("ie")<9&&(a.trigger(t,r,e,s,e,l,c,d),setTimeout(n.hitch(this,a.stop),50))})))];return{remove:function(){t.forEach(h,(function(t){t.remove()}))}}},addListener:function(e,n,i,o,r,a,s,l){var c=[this.addKeyListener(n,i,o,r,a,s,l),this.addMouseListener(e,o,r,a,s,l)];return{remove:function(){t.forEach(c,(function(t){t.remove()}))}}}};return a}))},2179:function(t,e){define("dojo/NodeList-manipulate",["./query","./_base/lang","./_base/array","./dom-construct","./dom-attr","./NodeList-dom"],(function(t,e,n,i,o){var r=t.NodeList;function a(t){for(;t.childNodes[0]&&1==t.childNodes[0].nodeType;)t=t.childNodes[0];return t}function s(t,e){return"string"==typeof t?11==(t=i.toDom(t,e&&e.ownerDocument)).nodeType&&(t=t.childNodes[0]):1==t.nodeType&&t.parentNode&&(t=t.cloneNode(!1)),t}return e.extend(r,{_placeMultiple:function(e,n){for(var o="string"==typeof e||e.nodeType?t(e):e,r=[],a=0;a<o.length;a++)for(var s,l=o[a],c=this.length,d=c-1;s=this[d];d--)a>0&&(s=this._cloneNode(s),r.unshift(s)),d==c-1?i.place(s,l,n):l.parentNode.insertBefore(s,l),l=s;return r.length&&(r.unshift(0),r.unshift(this.length-1),Array.prototype.splice.apply(this,r)),this},innerHTML:function(t){return arguments.length?this.addContent(t,"only"):this[0].innerHTML},text:function(t){if(arguments.length){for(var e,n=0;e=this[n];n++)1==e.nodeType&&o.set(e,"textContent",t);return this}var i="";for(n=0;e=this[n];n++)i+=o.get(e,"textContent");return i},val:function(t){if(arguments.length){for(var i,o=e.isArray(t),r=0;i=this[r];r++){var a=i.nodeName.toUpperCase(),s=i.type,l=o?t[r]:t;if("SELECT"==a)for(var c=i.options,d=0;d<c.length;d++){var h=c[d];i.multiple?h.selected=-1!=n.indexOf(t,h.value):h.selected=h.value==l}else"checkbox"==s||"radio"==s?i.checked=i.value==l:i.value=l}return this}if((i=this[0])&&1==i.nodeType){if(t=i.value||"","SELECT"==i.nodeName.toUpperCase()&&i.multiple){for(t=[],c=i.options,d=0;d<c.length;d++)(h=c[d]).selected&&t.push(h.value);t.length||(t=null)}return t}},append:function(t){return this.addContent(t,"last")},appendTo:function(t){return this._placeMultiple(t,"last")},prepend:function(t){return this.addContent(t,"first")},prependTo:function(t){return this._placeMultiple(t,"first")},after:function(t){return this.addContent(t,"after")},insertAfter:function(t){return this._placeMultiple(t,"after")},before:function(t){return this.addContent(t,"before")},insertBefore:function(t){return this._placeMultiple(t,"before")},remove:r.prototype.orphan,wrap:function(t){if(this[0]){t=s(t,this[0]);for(var e,n=0;e=this[n];n++){var i=this._cloneNode(t);e.parentNode&&e.parentNode.replaceChild(i,e),a(i).appendChild(e)}}return this},wrapAll:function(t){if(this[0]){t=s(t,this[0]),this[0].parentNode.replaceChild(t,this[0]);for(var e,n=a(t),i=0;e=this[i];i++)n.appendChild(e)}return this},wrapInner:function(t){if(this[0]){t=s(t,this[0]);for(var n=0;n<this.length;n++){var i=this._cloneNode(t);this._wrap(e._toArray(this[n].childNodes),null,this._NodeListCtor).wrapAll(i)}}return this},replaceWith:function(t){t=this._normalize(t,this[0]);for(var e,n=0;e=this[n];n++)this._place(t,e,"before",n>0),e.parentNode.removeChild(e);return this},replaceAll:function(e){for(var n,i=t(e),o=this._normalize(this,this[0]),r=0;n=i[r];r++)this._place(o,n,"before",r>0),n.parentNode.removeChild(n);return this},clone:function(){for(var t=[],e=0;e<this.length;e++)t.push(this._cloneNode(this[e]));return this._wrap(t,this,this._NodeListCtor)}}),r.prototype.html||(r.prototype.html=r.prototype.innerHTML),r}))},6724:function(t,e){define("dojo/NodeList-manipulate",["./query","./_base/lang","./_base/array","./dom-construct","./dom-attr","./NodeList-dom"],(function(t,e,n,i,o){var r=t.NodeList;function a(t){for(;t.childNodes[0]&&1==t.childNodes[0].nodeType;)t=t.childNodes[0];return t}function s(t,e){return"string"==typeof t?11==(t=i.toDom(t,e&&e.ownerDocument)).nodeType&&(t=t.childNodes[0]):1==t.nodeType&&t.parentNode&&(t=t.cloneNode(!1)),t}return e.extend(r,{_placeMultiple:function(e,n){for(var o="string"==typeof e||e.nodeType?t(e):e,r=[],a=0;a<o.length;a++)for(var s,l=o[a],c=this.length,d=c-1;s=this[d];d--)a>0&&(s=this._cloneNode(s),r.unshift(s)),d==c-1?i.place(s,l,n):l.parentNode.insertBefore(s,l),l=s;return r.length&&(r.unshift(0),r.unshift(this.length-1),Array.prototype.splice.apply(this,r)),this},innerHTML:function(t){return arguments.length?this.addContent(t,"only"):this[0].innerHTML},text:function(t){if(arguments.length){for(var e,n=0;e=this[n];n++)1==e.nodeType&&o.set(e,"textContent",t);return this}var i="";for(n=0;e=this[n];n++)i+=o.get(e,"textContent");return i},val:function(t){if(arguments.length){for(var i,o=e.isArray(t),r=0;i=this[r];r++){var a=i.nodeName.toUpperCase(),s=i.type,l=o?t[r]:t;if("SELECT"==a)for(var c=i.options,d=0;d<c.length;d++){var h=c[d];i.multiple?h.selected=-1!=n.indexOf(t,h.value):h.selected=h.value==l}else"checkbox"==s||"radio"==s?i.checked=i.value==l:i.value=l}return this}if((i=this[0])&&1==i.nodeType){if(t=i.value||"","SELECT"==i.nodeName.toUpperCase()&&i.multiple){for(t=[],c=i.options,d=0;d<c.length;d++)(h=c[d]).selected&&t.push(h.value);t.length||(t=null)}return t}},append:function(t){return this.addContent(t,"last")},appendTo:function(t){return this._placeMultiple(t,"last")},prepend:function(t){return this.addContent(t,"first")},prependTo:function(t){return this._placeMultiple(t,"first")},after:function(t){return this.addContent(t,"after")},insertAfter:function(t){return this._placeMultiple(t,"after")},before:function(t){return this.addContent(t,"before")},insertBefore:function(t){return this._placeMultiple(t,"before")},remove:r.prototype.orphan,wrap:function(t){if(this[0]){t=s(t,this[0]);for(var e,n=0;e=this[n];n++){var i=this._cloneNode(t);e.parentNode&&e.parentNode.replaceChild(i,e),a(i).appendChild(e)}}return this},wrapAll:function(t){if(this[0]){t=s(t,this[0]),this[0].parentNode.replaceChild(t,this[0]);for(var e,n=a(t),i=0;e=this[i];i++)n.appendChild(e)}return this},wrapInner:function(t){if(this[0]){t=s(t,this[0]);for(var n=0;n<this.length;n++){var i=this._cloneNode(t);this._wrap(e._toArray(this[n].childNodes),null,this._NodeListCtor).wrapAll(i)}}return this},replaceWith:function(t){t=this._normalize(t,this[0]);for(var e,n=0;e=this[n];n++)this._place(t,e,"before",n>0),e.parentNode.removeChild(e);return this},replaceAll:function(e){for(var n,i=t(e),o=this._normalize(this,this[0]),r=0;n=i[r];r++)this._place(o,n,"before",r>0),n.parentNode.removeChild(n);return this},clone:function(){for(var t=[],e=0;e<this.length;e++)t.push(this._cloneNode(this[e]));return this._wrap(t,this,this._NodeListCtor)}}),r.prototype.html||(r.prototype.html=r.prototype.innerHTML),r}))},3534:function(t,e){define("dojo/Stateful",["./_base/declare","./_base/lang","./_base/array","./when"],(function(t,e,n,i){return t("dojo.Stateful",null,{_attrPairNames:{},_getAttrNames:function(t){var e=this._attrPairNames;return e[t]?e[t]:e[t]={s:"_"+t+"Setter",g:"_"+t+"Getter"}},postscript:function(t){t&&this.set(t)},_get:function(t,e){return"function"==typeof this[e.g]?this[e.g]():this[t]},get:function(t){return this._get(t,this._getAttrNames(t))},set:function(t,e){if("object"==typeof t){for(var n in t)t.hasOwnProperty(n)&&"_watchCallbacks"!=n&&this.set(n,t[n]);return this}var o,r=this._getAttrNames(t),a=this._get(t,r),s=this[r.s];if("function"==typeof s?o=s.apply(this,Array.prototype.slice.call(arguments,1)):this[t]=e,this._watchCallbacks){var l=this;i(o,(function(){l._watchCallbacks(t,a,e)}))}return this},_changeAttrValue:function(t,e){var n=this.get(t);return this[t]=e,this._watchCallbacks&&this._watchCallbacks(t,n,e),this},watch:function(t,e){var i=this._watchCallbacks;if(!i){var o=this;i=this._watchCallbacks=function(t,e,n,r){var a=function(i){if(i)for(var r=0,a=(i=i.slice()).length;r<a;r++)i[r].call(o,t,e,n)};a(i["_"+t]),r||a(i["*"])}}e||"function"!=typeof t?t="_"+t:(e=t,t="*");var r=i[t];"object"!=typeof r&&(r=i[t]=[]),r.push(e);var a={};return a.unwatch=a.remove=function(){var t=n.indexOf(r,e);t>-1&&r.splice(t,1)},a}})}))},9545:function(t,e){define("dojo/Stateful",["./_base/declare","./_base/lang","./_base/array","./when"],(function(t,e,n,i){return t("dojo.Stateful",null,{_attrPairNames:{},_getAttrNames:function(t){var e=this._attrPairNames;return e[t]?e[t]:e[t]={s:"_"+t+"Setter",g:"_"+t+"Getter"}},postscript:function(t){t&&this.set(t)},_get:function(t,e){return"function"==typeof this[e.g]?this[e.g]():this[t]},get:function(t){return this._get(t,this._getAttrNames(t))},set:function(t,e){if("object"==typeof t){for(var n in t)t.hasOwnProperty(n)&&"_watchCallbacks"!=n&&this.set(n,t[n]);return this}var o,r=this._getAttrNames(t),a=this._get(t,r),s=this[r.s];if("function"==typeof s?o=s.apply(this,Array.prototype.slice.call(arguments,1)):this[t]=e,this._watchCallbacks){var l=this;i(o,(function(){l._watchCallbacks(t,a,e)}))}return this},_changeAttrValue:function(t,e){var n=this.get(t);return this[t]=e,this._watchCallbacks&&this._watchCallbacks(t,n,e),this},watch:function(t,e){var i=this._watchCallbacks;if(!i){var o=this;i=this._watchCallbacks=function(t,e,n,r){var a=function(i){if(i)for(var r=0,a=(i=i.slice()).length;r<a;r++)i[r].call(o,t,e,n)};a(i["_"+t]),r||a(i["*"])}}e||"function"!=typeof t?t="_"+t:(e=t,t="*");var r=i[t];"object"!=typeof r&&(r=i[t]=[]),r.push(e);var a={};return a.unwatch=a.remove=function(){var t=n.indexOf(r,e);t>-1&&r.splice(t,1)},a}})}))},1338:function(t,e){define("dojo/_base/url",["./kernel"],(function(t){var e=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),n=new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$"),i=function(){for(var t=null,o=arguments,r=[o[0]],a=1;a<o.length;a++)if(o[a]){var s=new i(o[a]+""),l=new i(r[0]+"");if(""!=s.path||s.scheme||s.authority||s.query){if(!s.scheme&&(s.scheme=l.scheme,!s.authority&&(s.authority=l.authority,"/"!=s.path.charAt(0)))){for(var c=(l.path.substring(0,l.path.lastIndexOf("/")+1)+s.path).split("/"),d=0;d<c.length;d++)"."==c[d]?d==c.length-1?c[d]="":(c.splice(d,1),d--):d>0&&(1!=d||""!=c[0])&&".."==c[d]&&".."!=c[d-1]&&(d==c.length-1?(c.splice(d,1),c[d-1]=""):(c.splice(d-1,2),d-=2));s.path=c.join("/")}}else s.fragment!=t&&(l.fragment=s.fragment),s=l;r=[],s.scheme&&r.push(s.scheme,":"),s.authority&&r.push("//",s.authority),r.push(s.path),s.query&&r.push("?",s.query),s.fragment&&r.push("#",s.fragment)}this.uri=r.join("");var h=this.uri.match(e);this.scheme=h[2]||(h[1]?"":t),this.authority=h[4]||(h[3]?"":t),this.path=h[5],this.query=h[7]||(h[6]?"":t),this.fragment=h[9]||(h[8]?"":t),this.authority!=t&&(h=this.authority.match(n),this.user=h[3]||t,this.password=h[4]||t,this.host=h[6]||h[7],this.port=h[9]||t)};return i.prototype.toString=function(){return this.uri},t._Url=i}))},6653:function(t,e){define("dojo/_base/url",["./kernel"],(function(t){var e=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),n=new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$"),i=function(){for(var t=null,o=arguments,r=[o[0]],a=1;a<o.length;a++)if(o[a]){var s=new i(o[a]+""),l=new i(r[0]+"");if(""!=s.path||s.scheme||s.authority||s.query){if(!s.scheme&&(s.scheme=l.scheme,!s.authority&&(s.authority=l.authority,"/"!=s.path.charAt(0)))){for(var c=(l.path.substring(0,l.path.lastIndexOf("/")+1)+s.path).split("/"),d=0;d<c.length;d++)"."==c[d]?d==c.length-1?c[d]="":(c.splice(d,1),d--):d>0&&(1!=d||""!=c[0])&&".."==c[d]&&".."!=c[d-1]&&(d==c.length-1?(c.splice(d,1),c[d-1]=""):(c.splice(d-1,2),d-=2));s.path=c.join("/")}}else s.fragment!=t&&(l.fragment=s.fragment),s=l;r=[],s.scheme&&r.push(s.scheme,":"),s.authority&&r.push("//",s.authority),r.push(s.path),s.query&&r.push("?",s.query),s.fragment&&r.push("#",s.fragment)}this.uri=r.join("");var h=this.uri.match(e);this.scheme=h[2]||(h[1]?"":t),this.authority=h[4]||(h[3]?"":t),this.path=h[5],this.query=h[7]||(h[6]?"":t),this.fragment=h[9]||(h[8]?"":t),this.authority!=t&&(h=this.authority.match(n),this.user=h[3]||t,this.password=h[4]||t,this.host=h[6]||h[7],this.port=h[9]||t)};return i.prototype.toString=function(){return this.uri},t._Url=i}))},4709:function(t,e){define("dojo/cache",["./_base/kernel","./text"],(function(t){return t.cache}))},5413:function(t,e){define("dojo/cache",["./_base/kernel","./text"],(function(t){return t.cache}))},1782:function(t,e){define("dojo/colors",["./_base/kernel","./_base/lang","./_base/Color","./_base/array"],(function(t,e,n,i){var o={};e.setObject("dojo.colors",o);var r=function(t,e,n){n<0&&++n,n>1&&--n;var i=6*n;return i<1?t+(e-t)*i:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t};t.colorFromRgb=n.fromRgb=function(t,e){var o=t.toLowerCase().match(/^(rgba?|hsla?)\(([\s\.\-,%0-9]+)\)/);if(o){var a,s=o[2].split(/\s*,\s*/),l=s.length,c=o[1];if("rgb"==c&&3==l||"rgba"==c&&4==l){var d=s[0];return"%"==d.charAt(d.length-1)?(a=i.map(s,(function(t){return 2.56*parseFloat(t)})),4==l&&(a[3]=s[3]),n.fromArray(a,e)):n.fromArray(s,e)}if("hsl"==c&&3==l||"hsla"==c&&4==l){var h=(parseFloat(s[0])%360+360)%360/360,u=parseFloat(s[1])/100,f=parseFloat(s[2])/100,p=f<=.5?f*(u+1):f+u-f*u,m=2*f-p;return a=[256*r(m,p,h+1/3),256*r(m,p,h),256*r(m,p,h-1/3),1],4==l&&(a[3]=s[3]),n.fromArray(a,e)}}return null};var a=function(t,e,n){return t=Number(t),isNaN(t)?n:t<e?e:t>n?n:t};return n.prototype.sanitize=function(){var t=this;return t.r=Math.round(a(t.r,0,255)),t.g=Math.round(a(t.g,0,255)),t.b=Math.round(a(t.b,0,255)),t.a=a(t.a,0,1),this},o.makeGrey=n.makeGrey=function(t,e){return n.fromArray([t,t,t,e])},e.mixin(n.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]}),n}))},6993:function(t,e){define("dojo/colors",["./_base/kernel","./_base/lang","./_base/Color","./_base/array"],(function(t,e,n,i){var o={};e.setObject("dojo.colors",o);var r=function(t,e,n){n<0&&++n,n>1&&--n;var i=6*n;return i<1?t+(e-t)*i:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t};t.colorFromRgb=n.fromRgb=function(t,e){var o=t.toLowerCase().match(/^(rgba?|hsla?)\(([\s\.\-,%0-9]+)\)/);if(o){var a,s=o[2].split(/\s*,\s*/),l=s.length,c=o[1];if("rgb"==c&&3==l||"rgba"==c&&4==l){var d=s[0];return"%"==d.charAt(d.length-1)?(a=i.map(s,(function(t){return 2.56*parseFloat(t)})),4==l&&(a[3]=s[3]),n.fromArray(a,e)):n.fromArray(s,e)}if("hsl"==c&&3==l||"hsla"==c&&4==l){var h=(parseFloat(s[0])%360+360)%360/360,u=parseFloat(s[1])/100,f=parseFloat(s[2])/100,p=f<=.5?f*(u+1):f+u-f*u,m=2*f-p;return a=[256*r(m,p,h+1/3),256*r(m,p,h),256*r(m,p,h-1/3),1],4==l&&(a[3]=s[3]),n.fromArray(a,e)}}return null};var a=function(t,e,n){return t=Number(t),isNaN(t)?n:t<e?e:t>n?n:t};return n.prototype.sanitize=function(){var t=this;return t.r=Math.round(a(t.r,0,255)),t.g=Math.round(a(t.g,0,255)),t.b=Math.round(a(t.b,0,255)),t.a=a(t.a,0,1),this},o.makeGrey=n.makeGrey=function(t,e){return n.fromArray([t,t,t,e])},e.mixin(n.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]}),n}))},280:function(t,e){define("dojo/cookie",["./_base/kernel","./regexp"],(function(t,e){return t.cookie=function(t,n,i){var o,r=document.cookie;if(1==arguments.length){var a=r.match(new RegExp("(?:^|; )"+e.escapeString(t)+"=([^;]*)"));o=a?decodeURIComponent(a[1]):void 0}else{var s=(i=i||{}).expires;if("number"==typeof s){var l=new Date;l.setTime(l.getTime()+24*s*60*60*1e3),s=i.expires=l}s&&s.toUTCString&&(i.expires=s.toUTCString());var c,d=t+"="+(n=encodeURIComponent(n));for(c in i){d+="; "+c;var h=i[c];!0!==h&&(d+="="+h)}document.cookie=d}return o},t.cookie.isSupported=function(){return"cookieEnabled"in navigator||(this("__djCookieTest__","CookiesAllowed"),navigator.cookieEnabled="CookiesAllowed"==this("__djCookieTest__"),navigator.cookieEnabled&&this("__djCookieTest__","",{expires:-1})),navigator.cookieEnabled},t.cookie}))},7139:function(t,e){define("dojo/cookie",["./_base/kernel","./regexp"],(function(t,e){return t.cookie=function(t,n,i){var o,r=document.cookie;if(1==arguments.length){var a=r.match(new RegExp("(?:^|; )"+e.escapeString(t)+"=([^;]*)"));o=a?decodeURIComponent(a[1]):void 0}else{var s=(i=i||{}).expires;if("number"==typeof s){var l=new Date;l.setTime(l.getTime()+24*s*60*60*1e3),s=i.expires=l}s&&s.toUTCString&&(i.expires=s.toUTCString());var c,d=t+"="+(n=encodeURIComponent(n));for(c in i){d+="; "+c;var h=i[c];!0!==h&&(d+="="+h)}document.cookie=d}return o},t.cookie.isSupported=function(){return"cookieEnabled"in navigator||(this("__djCookieTest__","CookiesAllowed"),navigator.cookieEnabled="CookiesAllowed"==this("__djCookieTest__"),navigator.cookieEnabled&&this("__djCookieTest__","",{expires:-1})),navigator.cookieEnabled},t.cookie}))},6014:function(t,e){define("dojo/date/stamp",["../_base/lang","../_base/array"],(function(t,e){var n={};return t.setObject("dojo.date.stamp",n),n.fromISOString=function(t,i){n._isoRegExp||(n._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/);var o=n._isoRegExp.exec(t),r=null;if(o){o.shift(),o[1]&&o[1]--,o[6]&&(o[6]*=1e3),i&&(i=new Date(i),e.forEach(e.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],(function(t){return i["get"+t]()})),(function(t,e){o[e]=o[e]||t}))),r=new Date(o[0]||1970,o[1]||0,o[2]||1,o[3]||0,o[4]||0,o[5]||0,o[6]||0),o[0]<100&&r.setFullYear(o[0]||1970);var a=0,s=o[7]&&o[7].charAt(0);"Z"!=s&&(a=60*(o[8]||0)+(Number(o[9])||0),"-"!=s&&(a*=-1)),s&&(a-=r.getTimezoneOffset()),a&&r.setTime(r.getTime()+6e4*a)}return r},n.toISOString=function(t,e){var n=function(t){return t<10?"0"+t:t},i=[],o=(e=e||{}).zulu?"getUTC":"get",r="";if("time"!=e.selector){var a=t[o+"FullYear"]();r=["0000".substr((a+"").length)+a,n(t[o+"Month"]()+1),n(t[o+"Date"]())].join("-")}if(i.push(r),"date"!=e.selector){var s=[n(t[o+"Hours"]()),n(t[o+"Minutes"]()),n(t[o+"Seconds"]())].join(":"),l=t[o+"Milliseconds"]();if(e.milliseconds&&(s+="."+(l<100?"0":"")+n(l)),e.zulu)s+="Z";else if("time"!=e.selector){var c=t.getTimezoneOffset(),d=Math.abs(c);s+=(c>0?"-":"+")+n(Math.floor(d/60))+":"+n(d%60)}i.push(s)}return i.join("T")},n}))},489:function(t,e){define("dojo/date/stamp",["../_base/lang","../_base/array"],(function(t,e){var n={};return t.setObject("dojo.date.stamp",n),n.fromISOString=function(t,i){n._isoRegExp||(n._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/);var o=n._isoRegExp.exec(t),r=null;if(o){o.shift(),o[1]&&o[1]--,o[6]&&(o[6]*=1e3),i&&(i=new Date(i),e.forEach(e.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],(function(t){return i["get"+t]()})),(function(t,e){o[e]=o[e]||t}))),r=new Date(o[0]||1970,o[1]||0,o[2]||1,o[3]||0,o[4]||0,o[5]||0,o[6]||0),o[0]<100&&r.setFullYear(o[0]||1970);var a=0,s=o[7]&&o[7].charAt(0);"Z"!=s&&(a=60*(o[8]||0)+(Number(o[9])||0),"-"!=s&&(a*=-1)),s&&(a-=r.getTimezoneOffset()),a&&r.setTime(r.getTime()+6e4*a)}return r},n.toISOString=function(t,e){var n=function(t){return t<10?"0"+t:t},i=[],o=(e=e||{}).zulu?"getUTC":"get",r="";if("time"!=e.selector){var a=t[o+"FullYear"]();r=["0000".substr((a+"").length)+a,n(t[o+"Month"]()+1),n(t[o+"Date"]())].join("-")}if(i.push(r),"date"!=e.selector){var s=[n(t[o+"Hours"]()),n(t[o+"Minutes"]()),n(t[o+"Seconds"]())].join(":"),l=t[o+"Milliseconds"]();if(e.milliseconds&&(s+="."+(l<100?"0":"")+n(l)),e.zulu)s+="Z";else if("time"!=e.selector){var c=t.getTimezoneOffset(),d=Math.abs(c);s+=(c>0?"-":"+")+n(Math.floor(d/60))+":"+n(d%60)}i.push(s)}return i.join("T")},n}))},3080:function(module,exports){!function(t,e){var n=function(){return void 0!==m&&"function"!=typeof m?m:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this}(),i=function(){},o=function(t){for(var e in t)return 0;return 1},r={}.toString,a=function(t){return"[object Function]"==r.call(t)},s=function(t){return"[object String]"==r.call(t)},l=function(t){return"[object Array]"==r.call(t)},c=function(t,e){if(t)for(var n=0;n<t.length;)e(t[n++])},d=function(t,e){for(var n in e)t[n]=e[n];return t},h=function(t,e){return d(new Error(t),{src:"dojoLoader",info:e})},u=1,f=function(){return"_"+u++},p=function(t,e,n){return lt(t,e,n,0,p)},m=n,g=m.document,y=g&&g.createElement("DiV"),v=p.has=function(t){return a(b[t])?b[t]=b[t](m,g,y):b[t]},b=v.cache=e.hasCache;for(var x in a(t)&&(t=t(n)),v.add=function(t,e,n,i){return(void 0===b[t]||i)&&(b[t]=e),n&&v(t)},v.add("host-webworker","undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope),v("host-webworker")&&(d(e.hasCache,{"host-browser":0,dom:0,"dojo-dom-ready-api":0,"dojo-sniff":0,"dojo-inject-api":1,"host-webworker":1,"dojo-guarantee-console":0}),e.loaderPatch={injectUrl:function(t,e){try{importScripts(t),e()}catch(t){console.error(t)}}}),t.has)v.add(x,t.has[x],0,1);var _,j=0,w="sync",k=[],C=0,S=i,M=i;p.isXdUrl=i,p.initSyncLoader=function(t,e,n){return C||(C=t,S=e,M=n),{sync:w,requested:1,arrived:2,nonmodule:3,executing:4,executed:5,syncExecStack:k,modules:U,execQ:dt,getModule:jt,injectModule:Gt,setArrived:ft,signal:I,finishExec:Lt,execModule:Ft,dojoRequirePlugin:C,getLegacyMode:function(){return j},guardCheckComplete:Rt}};var T=location.protocol,A=location.host;if(p.isXdUrl=function(t){if(/^\./.test(t))return!1;if(/^\/\//.test(t))return!0;var e=t.match(/^([^\/\:]+\:)\/+([^\/]+)/);return e&&(e[1]!=T||A&&e[2]!=A)},v.add("dojo-force-activex-xhr",!g.addEventListener&&"file:"==window.location.protocol),v.add("native-xhr","undefined"!=typeof XMLHttpRequest),v("native-xhr")&&!v("dojo-force-activex-xhr"))_=function(){return new XMLHttpRequest};else{for(var N,E=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],P=0;P<3;)try{if(N=E[P++],new ActiveXObject(N))break}catch(t){}_=function(){return new ActiveXObject(N)}}p.getXhr=_,v.add("dojo-gettext-api",1),p.getText=function(t,e,n){var i=_();if(i.open("GET",Ot(t),!1),i.send(null),200!=i.status&&(location.host||i.status))throw h("xhrFailed",i.status);return n&&n(i.responseText,e),i.responseText};var L=new Function("return eval(arguments[0]);");p.eval=function(t,e){return L(t+"\r\n//# sourceURL="+e)};var D={},F="error",I=p.signal=function(t,e){var n=D[t];c(n&&n.slice(0),(function(t){t.apply(null,l(e)?e:[e])}))},R=p.on=function(t,e){var n=D[t]||(D[t]=[]);return n.push(e),{remove:function(){for(var t=0;t<n.length;t++)if(n[t]===e)return void n.splice(t,1)}}},B=[],O={},W=[],z={},q=p.map={},H=[],U={},G="",V={},K="url:",X={},$={},Q=0,Y=function(t){var e,n,i,o,r;for(e in X)n=X[e],(i=e.match(/^url\:(.+)/))?V[K+kt(i[1],t)]=n:"*now"==e?o=n:"*noref"!=e&&(r=bt(e,t,!0),V[r.mid]=V[K+r.url]=n);o&&o(ct(t)),X={}},J=function(t){return t.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,(function(t){return"\\"+t}))},Z=function(t,e){for(var n in e.splice(0,e.length),t)e.push([n,t[n],new RegExp("^"+J(n)+"(/|$)"),n.length]);return e.sort((function(t,e){return e[3]-t[3]})),e},tt=function(t){var e=t.name;e||(t={name:e=t}),(t=d({main:"main"},t)).location=t.location?t.location:e,t.packageMap&&(q[e]=t.packageMap),t.main.indexOf("./")||(t.main=t.main.substring(2)),z[e]=t},et=[],nt=function(t,e,n){for(var i in t){if("waitSeconds"==i&&(p.waitms=1e3*(t[i]||0)),"cacheBust"==i&&(G=t[i]?s(t[i])?t[i]:(new Date).getTime()+"":""),"baseUrl"!=i&&"combo"!=i||(p[i]=t[i]),"async"==i){var o=t[i];p.legacyMode=j=s(o)&&/sync|legacyAsync/.test(o)?o:!o&&w,p.async=!j}t[i]!==b&&(p.rawConfig[i]=t[i],"has"!=i&&v.add("config-"+i,t[i],0,e))}for(i in p.baseUrl||(p.baseUrl="./"),/\/$/.test(p.baseUrl)||(p.baseUrl+="/"),t.has)v.add(i,t.has[i],0,e);for(var r in c(t.packages,tt),t.packagePaths)c(t.packagePaths[r],(function(t){var e=r+"/"+t;s(t)&&(t={name:t}),t.location=e,tt(t)}));if(Z(d(q,t.map),H),c(H,(function(t){t[1]=Z(t[1],[]),"*"==t[0]&&(H.star=t)})),Z(d(O,t.paths),W),l=t.aliases,h=B,c(l,(function(t){h.push([s(t[0])?new RegExp("^"+J(t[0])+"$"):t[0],t[1]])})),e)et.push({config:t.config});else for(i in t.config){var a=jt(i,n);a.config=d(a.config||{},t.config[i])}var l,h;t.cache&&(Y(),X=t.cache,t.cache["*noref"]&&Y()),I("config",[t,p.rawConfig])};v("dojo-cdn");var it,ot,rt,at=g.getElementsByTagName("script");for(P=0;P<at.length;)(ot=(Yt=at[P++]).getAttribute("src"))&&(rt=ot.match(/(((.*)\/)|^)dojo\.js(\W|$)/i))&&(it=rt[3]||"",e.baseUrl=e.baseUrl||it,Q=Yt),(ot=Yt.getAttribute("data-dojo-config")||Yt.getAttribute("djConfig"))&&($=p.eval("({ "+ot+" })","data-dojo-config"),Q=Yt);p.rawConfig={},nt(e,1),v("dojo-cdn")&&(z.dojo.location=it,it&&(it+="/"),z.dijit.location=it+"../dijit/",z.dojox.location=it+"../dojox/"),nt(t,1),nt($,1);var st=function(t){Rt((function(){c(t.deps,Gt)}))},lt=function(t,e,n,o,r){var a,c;if(s(t)){if((a=jt(t,o,!0))&&a.executed)return a.result;throw h("undefinedModule",t)}if(l(t)||(nt(t,0,o),t=e,e=n),l(t))if(t.length){c="require*"+f();for(var u,m=[],g=0;g<t.length;)u=t[g++],m.push(jt(u,o));a=d(yt("",c,0,""),{injected:2,deps:m,def:e||i,require:o?o.require:p,gc:1}),U[a.mid]=a,st(a);var y=It&&j!=w;Rt((function(){Ft(a,y)})),a.executed||dt.push(a),Bt()}else e&&e();return r},ct=function(t){if(!t)return p;var e=t.require;return e||(e=function(n,i,o){return lt(n,i,o,t,e)},t.require=d(e,p),e.module=t,e.toUrl=function(e){return kt(e,t)},e.toAbsMid=function(e){return wt(e,t)},e.syncLoadNls=function(e){var n=bt(e,t),i=U[n.mid];return i&&i.executed||(zt=V[n.mid]||V[K+n.url])&&(Ut(zt),i=U[n.mid]),i&&i.executed&&i.result}),e},dt=[],ht=[],ut={},ft=function(t){t.injected=2,delete ut[t.mid],t.url&&delete ut[t.url],o(ut)&&($t(),"xd"==j&&(j=w))},pt=p.idle=function(){return!ht.length&&o(ut)&&!dt.length&&!It},mt=function(t,e){if(e)for(var n=0;n<e.length;n++)if(e[n][2].test(t))return e[n];return 0},gt=function(t){var e,n,i=[];for(t=t.replace(/\\/g,"/").split("/");t.length;)".."==(e=t.shift())&&i.length&&".."!=n?(i.pop(),n=i[i.length-1]):"."!=e&&i.push(n=e);return i.join("/")},yt=function(t,e,n,i){var o=p.isXdUrl(i);return{pid:t,mid:e,pack:n,url:i,executed:0,def:0,isXd:o,isAmd:!!(o||z[t]&&z[t].isAmd)}},vt=function(t,e,n,i,o,r,s,l,d){var u,f,p,m,g,y,b;if(b=/^\./.test(t),/(^\/)|(\:)|(\.js$)/.test(t)||b&&!e)return yt(0,t,0,t);if(t=gt(b?e.mid+"/../"+t:t),/^\./.test(t))throw h("irrationalPath",t);e&&(m=mt(e.mid,r)),(m=(m=m||r.star)&&mt(t,m[1]))&&(t=m[1]+t.substring(m[3])),(f=n[u=(rt=t.match(/^([^\/]+)(\/(.+))?$/))?rt[1]:""])?t=u+"/"+(p=rt[3]||f.main):u="";var x=0;return c(l,(function(e){var n=t.match(e[0]);n&&n.length>0&&(x=a(e[1])?t.replace(e[0],e[1]):e[1])})),x?vt(x,0,n,i,o,r,s,l,d):(y=i[t])?d?yt(y.pid,y.mid,y.pack,y.url):i[t]:(g=(m=mt(t,s))?m[1]+t.substring(m[3]):u?("/"===f.location.slice(-1)?f.location.slice(0,-1):f.location)+"/"+p:v("config-tlmSiblingOfDojo")?"../"+t:t,/(^\/)|(\:)/.test(g)||(g=o+g),yt(u,t,f,gt(g+=".js")))},bt=function(t,e,n){return vt(t,e,z,U,p.baseUrl,n?[]:H,n?[]:W,n?[]:B)},xt=function(t,e,n){return t.normalize?t.normalize(e,(function(t){return wt(t,n)})):wt(e,n)},_t=0,jt=function(t,e,n){var i,o,r,a;return(i=t.match(/^(.+?)\!(.*)$/))?(o=jt(i[1],e,n),j!=w||o.executed||(Gt(o),2!==o.injected||o.executed||Rt((function(){Ft(o)})),o.executed?Pt(o):dt.unshift(o)),5!==o.executed||o.load||Pt(o),o.load?(r=xt(o,i[2],e),t=o.mid+"!"+(o.dynamic?++_t+"!":"")+r):(r=i[2],t=o.mid+"!"+ ++_t+"!waitingForPlugin"),a={plugin:o,mid:t,req:ct(e),prid:r}):a=bt(t,e),U[a.mid]||!n&&(U[a.mid]=a)},wt=p.toAbsMid=function(t,e){return bt(t,e).mid},kt=p.toUrl=function(t,e){var n=bt(t+"/x",e),i=n.url;return Ot(0===n.pid?t:i.substring(0,i.length-5))},Ct={injected:2,executed:5,def:3,result:3},St=function(t){return U[t]=d({mid:t},Ct)},Mt=St("require"),Tt=St("exports"),At=St("module"),Nt={},Et=0,Pt=function(t){var e=t.result;return t.dynamic=e.dynamic,t.normalize=e.normalize,t.load=e.load,t},Lt=function(t){for(p.trace("loader-finish-exec",[t.mid]),t.executed=5,t.defOrder=Et++,c(t.provides,(function(t){t()})),t.loadQ&&(Pt(t),function(t){var e={};c(t.loadQ,(function(n){var i=xt(t,n.prid,n.req.module),o=t.dynamic?n.mid.replace(/waitingForPlugin$/,i):t.mid+"!"+i,r=d(d({},n),{mid:o,prid:i,injected:0});U[o]||Wt(U[o]=r),e[n.mid]=U[o],ft(n),delete U[n.mid]})),t.loadQ=0;var n=function(t){for(var n,i=t.deps||[],o=0;o<i.length;o++)(n=e[i[o].mid])&&(i[o]=n)};for(var i in U)n(U[i]);c(dt,n)}(t)),P=0;P<dt.length;)dt[P]===t?dt.splice(P,1):P++;/^require\*/.test(t.mid)&&delete U[t.mid]},Dt=[],Ft=function(t,e){if(4===t.executed)return p.trace("loader-circular-dependency",[Dt.concat(t.mid).join("->")]),!t.def||e?Nt:t.cjs&&t.cjs.exports;if(!t.executed){if(!t.def)return Nt;var n,i,o=t.mid,r=t.deps||[],s=[],l=0;for(t.executed=4;n=r[l++];){if((i=n===Mt?ct(t):n===Tt?t.cjs.exports:n===At?t.cjs:Ft(n,e))===Nt)return t.executed=0,p.trace("loader-exec-module",["abort",o]),Nt;s.push(i)}!function(t,e){p.trace("loader-run-factory",[t.mid]);var n,i=t.def;if(k.unshift(t),v("config-dojo-loader-catches"))try{n=a(i)?i.apply(null,e):i}catch(e){I(F,t.result=h("factoryThrew",[t,e]))}else n=a(i)?i.apply(null,e):i;t.result=void 0===n&&t.cjs?t.cjs.exports:n,k.shift(t)}(t,s),Lt(t)}return t.result},It=0,Rt=function(t){try{It++,t()}catch(t){throw t}finally{It--}pt()&&I("idle",[])},Bt=function(){It||Rt((function(){S();for(var t,e,n=0;n<dt.length;)t=Et,e=dt[n],Ft(e),t!=Et?(S(),n=0):n++}))},Ot="function"==typeof t.fixupUrl?t.fixupUrl:function(t){return(t+="")+(G?(/\?/.test(t)?"&":"?")+G:"")};void 0===v("dojo-loader-eval-hint-url")&&v.add("dojo-loader-eval-hint-url",1);var Wt=function(t){var e=t.plugin;5!==e.executed||e.load||Pt(e),e.load?e.load(t.prid,t.req,(function(e){t.result=e,ft(t),Lt(t),Bt()})):e.loadQ?e.loadQ.push(t):(e.loadQ=[t],dt.unshift(e),Gt(e))},zt=0,qt=0,Ht=0,Ut=function(t,e){if(v("config-stripStrict")&&(t=t.replace(/(["'])use strict\1/g,"")),Ht=1,v("config-dojo-loader-catches"))try{t===zt?zt.call(null):p.eval(t,v("dojo-loader-eval-hint-url")?e.url:e.mid)}catch(t){I(F,h("evalModuleThrew",e))}else t===zt?zt.call(null):p.eval(t,v("dojo-loader-eval-hint-url")?e.url:e.mid);Ht=0},Gt=function(t){var e,n=t.mid,i=t.url;if(!(t.executed||t.injected||ut[n]||t.url&&(t.pack&&ut[t.url]===t.pack||1==ut[t.url])))if((e=t).injected=1,ut[e.mid]=1,e.url&&(ut[e.url]=e.pack||1),Qt(),t.plugin)Wt(t);else{var o=function(){if(Kt(t),2!==t.injected){if(v("dojo-enforceDefine"))return void I(F,h("noDefine",t));ft(t),d(t,Ct),p.trace("loader-define-nonmodule",[t.url])}j?!k.length&&Bt():Bt()};if(zt=V[n]||V[K+t.url])return p.trace("loader-inject",["cache",t.mid,i]),Ut(zt,t),void o();if(j)if(t.isXd)j==w&&(j="xd");else if(!t.isAmd||j==w){var r=function(e){if(j==w){if(k.unshift(t),Ut(e,t),k.shift(),Kt(t),t.cjs||(ft(t),Lt(t)),t.finish){var r=n+"*finish",a=t.finish;delete t.finish,te(r,["dojo",("dojo/require!"+a.join(",")).replace(/\./g,"/")],(function(t){c(a,(function(e){t.require(e)}))})),dt.unshift(jt(r))}o()}else(e=M(t,e))?(Ut(e,t),o()):(qt=t,p.injectUrl(Ot(i),o,t),qt=0)};if(p.trace("loader-inject",["xhr",t.mid,i,j!=w]),v("config-dojo-loader-catches"))try{p.getText(i,j!=w,r)}catch(e){I(F,h("xhrInjectFailed",[t,e]))}else p.getText(i,j!=w,r);return}p.trace("loader-inject",["script",t.mid,i]),qt=t,p.injectUrl(Ot(i),o,t),qt=0}},Vt=function(t,e,n){p.trace("loader-define-module",[t.mid,e]);var i=t.mid;if(2===t.injected)return I(F,h("multipleDefine",t)),t;d(t,{deps:e,def:n,cjs:{id:t.mid,uri:t.url,exports:t.result={},setExports:function(e){t.cjs.exports=e},config:function(){return t.config}}});for(var o=0;e[o];o++)e[o]=jt(e[o],t);return j&&!ut[i]&&(st(t),dt.push(t),Bt()),ft(t),a(n)||e.length||(t.result=n,Lt(t)),t},Kt=function(t,e){for(var n,i,o=[];ht.length;)i=ht.shift(),e&&(i[0]=e.shift()),n=i[0]&&jt(i[0])||t,o.push([n,i[1],i[2]]);Y(t),c(o,(function(t){st(Vt.apply(null,t))}))},Xt=0,$t=i,Qt=i;$t=function(){Xt&&clearTimeout(Xt),Xt=0},Qt=function(){$t(),p.waitms&&(Xt=m.setTimeout((function(){$t(),I(F,h("timeout",ut))}),p.waitms))},v.add("ie-event-behavior",g.attachEvent&&"undefined"==typeof Windows&&("undefined"==typeof opera||"[object Opera]"!=opera.toString()));var Yt,Jt=function(t,e,n,i){return v("ie-event-behavior")?(t.attachEvent(n,i),function(){t.detachEvent(n,i)}):(t.addEventListener(e,i,!1),function(){t.removeEventListener(e,i,!1)})},Zt=Jt(window,"load","onload",(function(){p.pageLoaded=1;try{"complete"!=g.readyState&&(g.readyState="complete")}catch(t){}Zt()}));for(at=g.getElementsByTagName("script"),P=0;!Q;)/^dojo/.test((Yt=at[P++])&&Yt.type)||(Q=Yt);p.injectUrl=function(t,e,n){var i=n.node=g.createElement("script"),o=Jt(i,"load","onreadystatechange",(function(t){var n=(t=t||window.event).target||t.srcElement;("load"===t.type||/complete|loaded/.test(n.readyState))&&(o(),r(),e&&e())})),r=Jt(i,"error","onerror",(function(e){o(),r(),I(F,h("scriptError",[t,e]))}));return i.type="text/javascript",i.charset="utf-8",i.src=t,Q.parentNode.insertBefore(i,Q),i},p.log=function(){try{for(var t=0;t<arguments.length;t++);}catch(t){}},p.trace=i;var te=function(t,e,n){var i=arguments.length,o=["require","exports","module"],r=[0,t,e];1==i?r=[0,a(t)?o:[],t]:2==i&&s(t)?r=[t,a(e)?o:[],e]:3==i&&(r=[t,e,n]),p.trace("loader-define",r.slice(0,2));var l,c=r[0]&&jt(r[0]);if(c&&!ut[c.mid])st(Vt(c,r[1],r[2]));else if(!v("ie-event-behavior")||Ht)ht.push(r);else{if(!(c=c||qt))for(t in ut)if((l=U[t])&&l.node&&"interactive"===l.node.readyState){c=l;break}c?(Y(c),st(Vt(c,r[1],r[2]))):I(F,h("ieDefineFailed",r[0])),Bt()}};if(te.amd={vendor:"dojotoolkit.org"},d(d(p,e.loaderPatch),t.loaderPatch),R(F,(function(t){try{if(console.error(t),t instanceof Error)for(var e in t);}catch(t){}})),d(p,{uid:f,cache:V,packs:z}),m.define)I(F,h("defineAlreadyDefined",0));else{m.define=te,m.require=p,c(et,(function(t){nt(t)}));var ee=$.deps||t.deps||e.deps,ne=$.callback||t.callback||e.callback;p.boot=ee||ne?[ee||[],ne]:0}}((function(t){return t.dojoConfig||t.djConfig||t.require||{}}),{async:0,hasCache:{"config-selectorEngine":"acme","config-tlmSiblingOfDojo":1,"dojo-built":1,"dojo-loader":1,dom:1,"host-browser":1},packages:[{location:"../dijit",name:"dijit"},{location:"../dojox",name:"dojox"},{location:".",name:"dojo"}]}),require({cache:{"dojo/loadInit":function(){define(["./_base/loader"],(function(t){return{dynamic:0,normalize:function(t){return t},load:t.loadInit}}))},"dojo/_base/loader":function(){define(["./kernel","../has","require","module","../json","./lang","./array"],(function(dojo,has,_11f,_120,json,lang,_121){var _122=function(t){return{src:_120.id,id:t}},_123=function(t){return t.replace(/\./g,"/")},_124=/\/\/>>built/,_125=[],_126=[],_127=function(t,e,n){_125.push(n),_121.forEach(t.split(","),(function(t){var n=_12b(t,e.module);_126.push(n),_12c(n)})),_12d()},_12d=function(){var t,e;for(e in _12f)if(void 0===(t=_12f[e]).noReqPluginCheck&&(t.noReqPluginCheck=/loadInit\!/.test(e)||/require\!/.test(e)?1:0),!t.executed&&!t.noReqPluginCheck&&t.injected==_130)return;_131((function(){var t=_125;_125=[],_121.forEach(t,(function(t){t(1)}))}))},_138=function(mid,_139,_13a){_139([mid],(function(_13b){_139(_13b.names,(function(){for(var _13c="",args=[],i=0;i<arguments.length;i++)_13c+="var "+_13b.names[i]+"= arguments["+i+"]; ",args.push(arguments[i]);eval(_13c);var _13d=_139.module,_13e=[],_13f,_140={provide:function(t){t=_123(t);var e=_12b(t,_13d);e!==_13d&&_167(e)},require:function(t,e){t=_123(t),e&&(_12b(t,_13d).result=_162),_13e.push(t)},requireLocalization:function(t,e,n){_13f||(_13f=["dojo/i18n"]),n=(n||dojo.locale).toLowerCase(),t=_123(t)+"/nls/"+(/root/i.test(n)?"":n+"/")+_123(e),_12b(t,_13d).isXd&&_13f.push("dojo/i18n!"+t)},loadInit:function(t){t()}},hold={},p;try{for(p in _140)hold[p]=dojo[p],dojo[p]=_140[p];_13b.def.apply(null,args)}catch(t){_148("error",[_122("failedDojoLoadInit"),t])}finally{for(p in _140)dojo[p]=hold[p]}_13f&&(_13e=_13e.concat(_13f)),_13e.length?_127(_13e.join(","),_139,_13a):_13a()}))}))},_149=function(t,e,n){var i,o=/\(|\)/g,r=1;for(o.lastIndex=e;(i=o.exec(t))&&(")"==i[0]?r-=1:r+=1,0!=r););if(0!=r)throw"unmatched paren around character "+o.lastIndex+" in: "+t;return[dojo.trim(t.substring(n,o.lastIndex))+";\n",o.lastIndex]},_14f=/\/\/.*|\/\*[\s\S]*?\*\/|("(?:\\.|[^"])*"|'(?:\\.|[^'])*'|`(?:\\.|[^`])*`)/gm,_150=/(^|\s)dojo\.(loadInit|require|provide|requireLocalization|requireIf|requireAfterIf|platformRequire)\s*\(/gm,_151=/(^|\s)(require|define)\s*\(/m,_152=function(t,e){var n,i,o,r,a=[],s=[],l=[];for(e=e||t.replace(_14f,"$1");n=_150.exec(e);)o=(i=_150.lastIndex)-n[0].length,r=_149(e,i,o),"loadInit"==n[2]?a.push(r[0]):s.push(r[0]),_150.lastIndex=r[1];return(l=a.concat(s)).length||!_151.test(e)?[t.replace(/(^|\s)dojo\.loadInit\s*\(/g,"\n0 && dojo.loadInit("),l.join(""),l]:0},_15b=function(t,e){var n,i,o=[],r=[];if(_124.test(e)||!(n=_152(e)))return 0;for(var a in i=t.mid+"-*loadInit",_12b("dojo",t).result.scopeMap)o.push(a),r.push('"'+a+'"');return"// xdomain rewrite of "+t.mid+"\ndefine('"+i+"',{\n\tnames:"+json.stringify(o)+",\n\tdef:function("+o.join(",")+"){"+n[1]+"}});\n\ndefine("+json.stringify(o.concat(["dojo/loadInit!"+i]))+", function("+o.join(",")+"){\n"+n[0]+"});"},_160=_11f.initSyncLoader(_127,_12d,_15b),sync=_160.sync,_130=_160.requested,_161=_160.arrived,_162=_160.nonmodule,_163=_160.executing,_164=_160.executed,_165=_160.syncExecStack,_12f=_160.modules,_166=_160.execQ,_12b=_160.getModule,_12c=_160.injectModule,_167=_160.setArrived,_148=_160.signal,_168=_160.finishExec,_169=_160.execModule,_16a=_160.getLegacyMode,_131=_160.guardCheckComplete,_133,_134;return _127=_160.dojoRequirePlugin,dojo.provide=function(t){var e=_165[0],n=lang.mixin(_12b(_123(t),_11f.module),{executed:_163,result:lang.getObject(t,!0)});return _167(n),e&&(e.provides||(e.provides=[])).push((function(){n.result=lang.getObject(t),delete n.provides,n.executed!==_164&&_168(n)})),n.result},has.add("config-publishRequireResult",1,0,0),dojo.require=function(t,e){var n=function(t,e){var n=_12b(_123(t),_11f.module);if(_165.length&&_165[0].finish)_165[0].finish.push(t);else{if(n.executed)return n.result;e&&(n.result=_162);var i=_16a();if(_12c(n),i=_16a(),n.executed!==_164&&n.injected===_161&&_160.guardCheckComplete((function(){_169(n)})),n.executed)return n.result;i==sync?n.cjs?_166.unshift(n):_165.length&&(_165[0].finish=[t]):_166.push(n)}}(t,e);return has("config-publishRequireResult")&&!lang.exists(t)&&void 0!==n&&lang.setObject(t,n),n},dojo.loadInit=function(t){t()},dojo.registerModulePath=function(t,e){var n={};n[t.replace(/\./g,"/")]=e,_11f({paths:n})},dojo.platformRequire=function(t){for(var e,n=(t.common||[]).concat(t[dojo._name]||t.default||[]);n.length;)lang.isArray(e=n.shift())?dojo.require.apply(dojo,e):dojo.require(e)},dojo.requireIf=dojo.requireAfterIf=function(t,e,n){t&&dojo.require(e,n)},dojo.requireLocalization=function(t,e,n){_11f(["../i18n"],(function(i){i.getLocalization(t,e,n)}))},{extractLegacyApiApplications:_152,require:_127,loadInit:_138}}))},"dojo/_base/kernel":function(){define(["../global","../has","./config","require","module"],(function(t,e,n,i,o){var r,a,s,l={},c={},d={config:n,global:t,dijit:l,dojox:c},h={dojo:["dojo",d],dijit:["dijit",l],dojox:["dojox",c]},u=i.map&&i.map[o.id.match(/[^\/]+/)[0]];for(a in u)h[a]?h[a][0]=u[a]:h[a]=[u[a],{}];for(a in h)(s=h[a])[1]._scopeName=s[0],n.noGlobals||(t[s[0]]=s[1]);d.scopeMap=h,d.baseUrl=d.config.baseUrl=i.baseUrl,d.isAsync=i.async,d.locale=n.locale;var f="$Rev: 48cb00f2 $".match(/[0-9a-f]{7,}/);d.version={major:1,minor:10,patch:10,flag:"",revision:f?f[0]:NaN,toString:function(){var t=d.version;return t.major+"."+t.minor+"."+t.patch+t.flag+" ("+t.revision+")"}},Function("d","d.eval = function(){return d.global.eval ? d.global.eval(arguments[0]) : eval(arguments[0]);}")(d),d.exit=function(){},e("host-webworker"),e.add("console-as-object",(function(){return Function.prototype.bind&&console&&"object"==typeof console.log})),"undefined"!=typeof console||(console={});var p,m=["assert","count","debug","dir","dirxml","error","group","groupEnd","info","profile","profileEnd","time","timeEnd","trace","warn","log"];for(r=0;p=m[r++];)console[p]?e("console-as-object")&&(console[p]=Function.prototype.bind.call(console[p],console)):function(){var t=p+"";console[t]="log"in console?function(){var e=Array.prototype.slice.call(arguments);e.unshift(t+":"),console.log(e.join(" "))}:function(){},console[t]._fake=!0}();if(e.add("dojo-debug-messages",!!n.isDebug),d.deprecated=d.experimental=function(){},e("dojo-debug-messages")&&(d.deprecated=function(t,e,n){var i="DEPRECATED: "+t;e&&(i+=" "+e),n&&(i+=" -- will be removed in version: "+n),console.warn(i)},d.experimental=function(t,e){var n="EXPERIMENTAL: "+t+" -- APIs subject to change without notice.";e&&(n+=" "+e),console.warn(n)}),n.modulePaths){d.deprecated("dojo.modulePaths","use paths configuration");var g={};for(a in n.modulePaths)g[a.replace(/\./g,"/")]=n.modulePaths[a];i({paths:g})}return d.moduleUrl=function(t,e){d.deprecated("dojo.moduleUrl()","use require.toUrl","2.0");var n=null;return t&&(n=i.toUrl(t.replace(/\./g,"/")+(e?"/"+e:"")+"/*.*").replace(/\/\*\.\*/,"")+(e?"":"/")),n},d._hasResource={},d}))},"dojo/global":function(){define((function(){return"undefined"!=typeof global&&"function"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this}))},"dojo/has":function(){define(["./global","require","module"],(function(t,e,n){var i=e.has||function(){};i.add("dom-addeventlistener",!!document.addEventListener),i.add("touch","ontouchstart"in document||"onpointerdown"in document&&navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints),i.add("touch-events","ontouchstart"in document),i.add("pointer-events","pointerEnabled"in window.navigator?window.navigator.pointerEnabled:"PointerEvent"in window),i.add("MSPointer",window.navigator.msPointerEnabled),i.add("touch-action",i("touch")&&i("pointer-events")),i.add("device-width",screen.availWidth||innerWidth);var o=document.createElement("form");return i.add("dom-attributes-explicit",0==o.attributes.length),i.add("dom-attributes-specified-flag",o.attributes.length>0&&o.attributes.length<40),i.clearElement=function(t){return t.innerHTML="",t},i.normalize=function(t,e){var n=t.match(/[\?:]|[^:\?]*/g),o=0,r=function(t){var e=n[o++];return":"==e?0:"?"==n[o++]?!t&&i(e)?r():(r(!0),r(t)):e||0};return(t=r())&&e(t)},i.load=function(t,e,n){t?e([t],n):n()},i}))},"dojo/_base/config":function(){define(["../global","../has","require"],(function(t,e,n){var i,o={},r=n.rawConfig;for(i in r)o[i]=r[i];if(!o.locale&&"undefined"!=typeof navigator){var a=navigator.languages&&navigator.languages.length?navigator.languages[0]:navigator.language||navigator.userLanguage;a&&(o.locale=a.toLowerCase())}return o}))},"dojo/json":function(){define(["./has"],(function(has){"use strict";var _1a6="undefined"!=typeof JSON;if(has.add("json-parse",_1a6),has.add("json-stringify",_1a6&&'{"a":1}'==JSON.stringify({a:0},(function(t,e){return e||1}))),has("json-stringify"))return JSON;var _1a7=function(t){return('"'+t.replace(/(["\\])/g,"\\$1")+'"').replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r")};return{parse:has("json-parse")?JSON.parse:function(str,_1a8){if(_1a8&&!/^([\s\[\{]*(?:"(?:\\.|[^"])*"|-?\d[\d\.]*(?:[Ee][+-]?\d+)?|null|true|false|)[\s\]\}]*(?:,|:|$))+$/.test(str))throw new SyntaxError("Invalid characters in JSON");return eval("("+str+")")},stringify:function(t,e,n){return"string"==typeof e&&(n=e,e=null),function t(i,o,r){e&&(i=e(r,i));var a,s=typeof i;if("number"==s)return isFinite(i)?i+"":"null";if("boolean"==s)return i+"";if(null===i)return"null";if("string"==typeof i)return _1a7(i);if("function"!=s&&"undefined"!=s){if("function"==typeof i.toJSON)return t(i.toJSON(r),o,r);if(i instanceof Date)return'"{FullYear}-{Month+}-{Date}T{Hours}:{Minutes}:{Seconds}Z"'.replace(/\{(\w+)(\+)?\}/g,(function(t,e,n){var o=i["getUTC"+e]()+(n?1:0);return o<10?"0"+o:o}));if(i.valueOf()!==i)return t(i.valueOf(),o,r);var l=n?o+n:"",c=n?" ":"",d=n?"\n":"";if(i instanceof Array){var h=i.length,u=[];for(r=0;r<h;r++)"string"!=typeof(a=t(i[r],l,r))&&(a="null"),u.push(d+l+a);return"["+u.join(",")+d+o+"]"}var f=[];for(r in i){var p;if(i.hasOwnProperty(r)){if("number"==typeof r)p='"'+r+'"';else{if("string"!=typeof r)continue;p=_1a7(r)}if("string"!=typeof(a=t(i[r],l,r)))continue;f.push(d+l+p+":"+c+a)}}return"{"+f.join(",")+d+o+"}"}}(t,"","")}}}))},"dojo/_base/lang":function(){define(["./kernel","../has","../sniff"],(function(t,e){e.add("bug-for-in-skips-shadowed",(function(){for(var t in{toString:1})return 0;return 1}));var n=e("bug-for-in-skips-shadowed")?"hasOwnProperty.valueOf.isPrototypeOf.propertyIsEnumerable.toLocaleString.toString.constructor".split("."):[],i=n.length,o=function(e,n,i){i||(i=e[0]&&t.scopeMap[e[0]]?t.scopeMap[e.shift()][1]:t.global);try{for(var o=0;o<e.length;o++){var r=e[o];if(!(r in i)){if(!n)return;i[r]={}}i=i[r]}return i}catch(t){}},r=Object.prototype.toString,a=function(t,e,n){return(n||[]).concat(Array.prototype.slice.call(t,e||0))},s=/\{([^\}]+)\}/g,l={_extraNames:n,_mixin:function(t,o,r){var a,s,l,c={};for(a in o)s=o[a],a in t&&(t[a]===s||a in c&&c[a]===s)||(t[a]=r?r(s):s);if(e("bug-for-in-skips-shadowed")&&o)for(l=0;l<i;++l)s=o[a=n[l]],a in t&&(t[a]===s||a in c&&c[a]===s)||(t[a]=r?r(s):s);return t},mixin:function(t,e){t||(t={});for(var n=1,i=arguments.length;n<i;n++)l._mixin(t,arguments[n]);return t},setObject:function(t,e,n){var i=t.split("."),r=i.pop(),a=o(i,!0,n);return a&&r?a[r]=e:void 0},getObject:function(t,e,n){return t?o(t.split("."),e,n):n},exists:function(t,e){return void 0!==l.getObject(t,!1,e)},isString:function(t){return"string"==typeof t||t instanceof String},isArray:function(t){return t&&(t instanceof Array||"array"==typeof t)},isFunction:function(t){return"[object Function]"===r.call(t)},isObject:function(t){return void 0!==t&&(null===t||"object"==typeof t||l.isArray(t)||l.isFunction(t))},isArrayLike:function(t){return t&&void 0!==t&&!l.isString(t)&&!l.isFunction(t)&&!(t.tagName&&"form"==t.tagName.toLowerCase())&&(l.isArray(t)||isFinite(t.length))},isAlien:function(t){return t&&!l.isFunction(t)&&/\{\s*\[native code\]\s*\}/.test(String(t))},extend:function(t,e){for(var n=1,i=arguments.length;n<i;n++)l._mixin(t.prototype,arguments[n]);return t},_hitchArgs:function(e,n){var i=l._toArray(arguments,2),o=l.isString(n);return function(){var r=l._toArray(arguments),a=o?(e||t.global)[n]:n;return a&&a.apply(e||this,i.concat(r))}},hitch:function(e,n){if(arguments.length>2)return l._hitchArgs.apply(t,arguments);if(n||(n=e,e=null),l.isString(n)){if(!(e=e||t.global)[n])throw['lang.hitch: scope["',n,'"] is null (scope="',e,'")'].join("");return function(){return e[n].apply(e,arguments||[])}}return e?function(){return n.apply(e,arguments||[])}:n},delegate:function(){function t(){}return function(e,n){t.prototype=e;var i=new t;return t.prototype=null,n&&l._mixin(i,n),i}}(),_toArray:e("ie")?function(){function t(t,e,n){for(var i=n||[],o=e||0;o<t.length;o++)i.push(t[o]);return i}return function(e){return(e.item?t:a).apply(this,arguments)}}():a,partial:function(e){return l.hitch.apply(t,[null].concat(l._toArray(arguments)))},clone:function(t){if(!t||"object"!=typeof t||l.isFunction(t))return t;if(t.nodeType&&"cloneNode"in t)return t.cloneNode(!0);if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp)return new RegExp(t);var e,n,i;if(l.isArray(t))for(e=[],n=0,i=t.length;n<i;++n)n in t&&e.push(l.clone(t[n]));else e=t.constructor?new t.constructor:{};return l._mixin(e,t,l.clone)},trim:String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")},replace:function(t,e,n){return t.replace(n||s,l.isFunction(e)?e:function(t,n){return l.getObject(n,!1,e)})}};return l.mixin(t,l),l}))},"dojo/sniff":function(){define(["./has"],(function(t){var e=navigator,n=e.userAgent,i=e.appVersion,o=parseFloat(i);if(t.add("air",n.indexOf("AdobeAIR")>=0),t.add("wp",parseFloat(n.split("Windows Phone")[1])||void 0),t.add("msapp",parseFloat(n.split("MSAppHost/")[1])||void 0),t.add("khtml",i.indexOf("Konqueror")>=0?o:void 0),t.add("edge",parseFloat(n.split("Edge/")[1])||void 0),t.add("opr",parseFloat(n.split("OPR/")[1])||void 0),t.add("webkit",!t("wp")&&!t("edge")&&parseFloat(n.split("WebKit/")[1])||void 0),t.add("chrome",!t("edge")&&!t("opr")&&parseFloat(n.split("Chrome/")[1])||void 0),t.add("android",!t("wp")&&parseFloat(n.split("Android ")[1])||void 0),t.add("safari",!(i.indexOf("Safari")>=0)||t("wp")||t("chrome")||t("android")||t("edge")||t("opr")?void 0:parseFloat(i.split("Version/")[1])),t.add("mac",i.indexOf("Macintosh")>=0),t.add("quirks","BackCompat"==document.compatMode),!t("wp")&&n.match(/(iPhone|iPod|iPad)/)){var r=RegExp.$1.replace(/P/,"p"),a=n.match(/OS ([\d_]+)/)?RegExp.$1:"1",s=parseFloat(a.replace(/_/,".").replace(/_/g,""));t.add(r,s),t.add("ios",s)}if(t.add("bb",(n.indexOf("BlackBerry")>=0||n.indexOf("BB10")>=0)&&parseFloat(n.split("Version/")[1])||void 0),t.add("trident",parseFloat(i.split("Trident/")[1])||void 0),t.add("svg","undefined"!=typeof SVGAngle),!t("webkit")){if(n.indexOf("Opera")>=0&&t.add("opera",o>=9.8&&parseFloat(n.split("Version/")[1])||o),!(n.indexOf("Gecko")>=0)||t("wp")||t("khtml")||t("trident")||t("edge")||t.add("mozilla",o),t("mozilla")&&t.add("ff",parseFloat(n.split("Firefox/")[1]||n.split("Minefield/")[1])||void 0),document.all&&!t("opera")){var l=parseFloat(i.split("MSIE ")[1])||void 0,c=document.documentMode;c&&5!=c&&Math.floor(l)!=c&&(l=c),t.add("ie",l)}t.add("wii","undefined"!=typeof opera&&opera.wiiremote)}return t}))},"dojo/_base/array":function(){define(["./kernel","../has","./lang"],(function(t,e,n){var i={};function o(t){return i[t]=new Function("item","index","array",t)}function r(t){var e=!t;return function(n,r,a){var s,l=0,c=n&&n.length||0;if(c&&"string"==typeof n&&(n=n.split("")),"string"==typeof r&&(r=i[r]||o(r)),a){for(;l<c;++l)if(s=!r.call(a,n[l],l,n),t^s)return!s}else for(;l<c;++l)if(s=!r(n[l],l,n),t^s)return!s;return e}}function a(t){var e=1,n=0,i=0;return t||(e=n=i=-1),function(o,r,a,l){if(l&&e>0)return s.lastIndexOf(o,r,a);var c,d=o&&o.length||0,h=t?d+i:n;for(void 0===a?c=t?n:d+i:a<0?(c=d+a)<0&&(c=n):c=a>=d?d+i:a,d&&"string"==typeof o&&(o=o.split(""));c!=h;c+=e)if(o[c]==r)return c;return-1}}var s={every:r(!1),some:r(!0),indexOf:a(!0),lastIndexOf:a(!1),forEach:function(t,e,n){var r=0,a=t&&t.length||0;if(a&&"string"==typeof t&&(t=t.split("")),"string"==typeof e&&(e=i[e]||o(e)),n)for(;r<a;++r)e.call(n,t[r],r,t);else for(;r<a;++r)e(t[r],r,t)},map:function(t,e,n,r){var a=0,s=t&&t.length||0,l=new(r||Array)(s);if(s&&"string"==typeof t&&(t=t.split("")),"string"==typeof e&&(e=i[e]||o(e)),n)for(;a<s;++a)l[a]=e.call(n,t[a],a,t);else for(;a<s;++a)l[a]=e(t[a],a,t);return l},filter:function(t,e,n){var r,a=0,s=t&&t.length||0,l=[];if(s&&"string"==typeof t&&(t=t.split("")),"string"==typeof e&&(e=i[e]||o(e)),n)for(;a<s;++a)r=t[a],e.call(n,r,a,t)&&l.push(r);else for(;a<s;++a)e(r=t[a],a,t)&&l.push(r);return l},clearCache:function(){i={}}};return n.mixin(t,s),s}))},"dojo/text":function(){define(["./_base/kernel","require","./has","./request"],(function(t,e,n,i){var o;o=function(t,e,n){i(t,{sync:!!e,headers:{"X-Requested-With":null}}).then(n)};var r={},a=function(t){if(t){var e=(t=t.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"")).match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);e&&(t=e[1])}else t="";return t},s={},l={};return t.cache=function(t,n,i){var s;"string"==typeof t?/\//.test(t)?(s=t,i=n):s=e.toUrl(t.replace(/\./g,"/")+(n?"/"+n:"")):(s=t+"",i=n);var l=null!=i&&"string"!=typeof i?i.value:i,c=i&&i.sanitize;return"string"==typeof l?(r[s]=l,c?a(l):l):null===l?(delete r[s],null):(s in r||o(s,!0,(function(t){r[s]=t})),c?a(r[s]):r[s])},{dynamic:!0,normalize:function(t,e){var n=t.split("!"),i=n[0];return(/^\./.test(i)?e(i):i)+(n[1]?"!"+n[1]:"")},load:function(t,e,n){var i=t.split("!"),c=i.length>1,d=i[0],h=e.toUrl(i[0]),u="url:"+h,f=s,p=function(t){n(c?a(t):t)};if(d in r?f=r[d]:e.cache&&u in e.cache?f=e.cache[u]:h in r&&(f=r[h]),f===s)if(l[h])l[h].push(p);else{var m=l[h]=[p];o(h,!e.async,(function(t){r[d]=r[h]=t;for(var e=0;e<m.length;)m[e++](t);delete l[h]}))}else p(f)}}}))},"dojo/request":function(){define(["./request/default!"],(function(t){return t}))},"dojo/request/default":function(){define(["exports","require","../has"],(function(t,e,n){var i,o=n("config-requestProvider");i="./xhr",o||(o=i),t.getPlatformDefaultId=function(){return i},t.load=function(t,n,r,a){e(["platform"==t?i:o],(function(t){r(t)}))}}))},"dojo/i18n":function(){define(["./_base/kernel","require","./has","./_base/array","./_base/config","./_base/lang","./_base/xhr","./json","module"],(function(t,e,n,i,o,r,a,s,l){n.add("dojo-preload-i18n-Api",1);var c=t.i18n={},d=/(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,h={},u=function(e,n,i){return i=i?i.toLowerCase():t.locale,e=e.replace(/\./g,"/"),n=n.replace(/\./g,"/"),/root/i.test(i)?e+"/nls/"+n:e+"/nls/"+i+"/"+n},f=t.getL10nName=function(t,e,n){return l.id+"!"+u(t,e,n)},p=function(e,a,l){var c,u,f=d.exec(e),p=f[1]+"/",m=f[5]||f[4],g=p+m,y=f[5]&&f[4],v=y||t.locale||"",b=g+"/"+v,x=y?[v]:(c=v,u=o.extraLocale||[],(u=r.isArray(u)?u:[u]).push(c),u),k=x.length,C=function(){--k||l(r.delegate(h[b]))},S=e.split("*"),M="preload"==S[1];if(n("dojo-preload-i18n-Api")){if(M&&(h[e]||(h[e]=1,_(S[2],s.parse(S[3]),1,a)),l(1)),M||j(e,a,l)&&!h[b])return}else if(M)return void l(1);i.forEach(x,(function(t){var e=g+"/"+t;n("dojo-preload-i18n-Api")&&w(e),h[e]?C():function(t,e,n,i,o,a){t([e],(function(s){var l=r.clone(s.root||s.ROOT),c=function(t,e,n,i){for(var o=[n+i],r=e.split("-"),a="",s=0;s<r.length;s++)a+=(a?"-":"")+r[s],t&&!t[a]||(o.push(n+a+"/"+i),o.specificity=a);return o}(!s._v1x&&s,o,n,i);t(c,(function(){for(var t=1;t<c.length;t++)l=r.mixin(r.clone(l),arguments[t]);h[e+"/"+o]=l,l.$locale=c.specificity,a()}))}))}(a,g,p,m,t,C)}))};if(n("dojo-unit-tests"))var m=c.unitTests=[];n("dojo-preload-i18n-Api");var g,y=c.normalizeLocale=function(e){var n=e?e.toLowerCase():t.locale;return"root"==n?"ROOT":n},v=function(t,n){return n.isXdUrl(e.toUrl(t+".js"))},b=0,x=[],_=c._preloadLocalizations=function(n,o,a,s){function l(t,e){for(var n=t.split("-");n.length;){if(e(n.join("-")))return;n.pop()}e("ROOT")}function c(){b++}function d(){for(--b;!b&&x.length;)p.apply(null,x.shift())}function u(t,e,n,i){return i.toAbsMid(t+e+"/"+n)}function f(t){l(t=y(t),(function(f){if(i.indexOf(o,f)>=0){var p=n.replace(/\./g,"/")+"_"+f;return c(),function(t,e){v(t,s)||a?s([t],e):C([t],e,s)}(p,(function(n){for(var i in n){var o,a,p=n[i],m=i.match(/(.+)\/([^\/]+)$/);if(m&&(o=m[2],a=m[1]+"/",p._localized)){var g;if("ROOT"===f){var y=g=p._localized;delete p._localized,y.root=p,h[e.toAbsMid(i)]=y}else g=p._localized,h[u(a,o,f,e)]=p;if(f!==t){function v(n,i,o,a){var f=[],p=[];l(t,(function(t){a[t]&&(f.push(e.toAbsMid(n+t+"/"+i)),p.push(u(n,i,t,e)))})),f.length?(c(),s(f,(function(){for(var a=f.length-1;a>=0;a--)o=r.mixin(r.clone(o),arguments[a]),h[p[a]]=o;h[u(n,i,t,e)]=r.clone(o),d()}))):h[u(n,i,t,e)]=o}v(a,o,p,g)}}}d()})),!0}return!1}))}s=s||e,f(),i.forEach(t.config.extraLocale,f)},j=function(t,e,n){return b&&x.push([t,e,n]),b},w=function(){},k={},C=function(t,e,n){var o=[];i.forEach(t,(function(t){var e=n.toUrl(t+".js");function i(n){g||(g=new Function("__bundle","__checkForLegacyModules","__mid","__amdValue","var define = function(mid, factory){define.called = 1; __amdValue.result = factory || mid;},\t require = function(){define.called = 1;};try{define.called = 0;eval(__bundle);if(define.called==1)return __amdValue;if((__checkForLegacyModules = __checkForLegacyModules(__mid)))return __checkForLegacyModules;}catch(e){}try{return eval('('+__bundle+')');}catch(e){return e;}"));var i=g(n,w,t,k);i===k?o.push(h[e]=k.result):(i instanceof Error&&(console.error("failed to evaluate i18n bundle; url="+e,i),i={}),o.push(h[e]=/nls\/[^\/]+\/[^\/]+$/.test(e)?i:{root:i,_v1x:1}))}if(h[e])o.push(h[e]);else{var r=n.syncLoadNls(t);if(r||(r=w(t.replace(/nls\/([^\/]*)\/([^\/]*)$/,"nls/$2/$1"))),r)o.push(r);else if(a)a.get({url:e,sync:!0,load:i,error:function(){o.push(h[e]={})}});else try{n.getText(e,!0,i)}catch(t){o.push(h[e]={})}}})),e&&e.apply(null,o)};return w=function(e){for(var n,i=e.split("/"),o=t.global[i[0]],r=1;o&&r<i.length-1;o=o[i[r++]]);return o&&((n=o[i[r]])||(n=o[i[r].replace(/-/g,"_")]),n&&(h[e]=n)),n},c.getLocalization=function(t,n,i){var o,r=u(t,n,i);return p(r,v(r,e)?e:function(t,n){C(t,n,e)},(function(t){o=t})),o},n("dojo-unit-tests")&&m.push((function(t){t.register("tests.i18n.unit",(function(t){var e;e=g("{prop:1}",w,"nonsense",k),t.is({prop:1},e),t.is(void 0,e[1]),e=g("({prop:1})",w,"nonsense",k),t.is({prop:1},e),t.is(void 0,e[1]),e=g("{'prop-x':1}",w,"nonsense",k),t.is({"prop-x":1},e),t.is(void 0,e[1]),e=g("({'prop-x':1})",w,"nonsense",k),t.is({"prop-x":1},e),t.is(void 0,e[1]),e=g("define({'prop-x':1})",w,"nonsense",k),t.is(k,e),t.is({"prop-x":1},k.result),e=g("define('some/module', {'prop-x':1})",w,"nonsense",k),t.is(k,e),t.is({"prop-x":1},k.result),e=g("this is total nonsense and should throw an error",w,"nonsense",k),t.is(e instanceof Error,!0)}))})),r.mixin(c,{dynamic:!0,normalize:function(t,e){return/^\./.test(t)?e(t):t},load:p,cache:h,getL10nName:f})}))},"dojo/_base/xhr":function(){define(["./kernel","./sniff","require","../io-query","../dom","../dom-form","./Deferred","./config","./json","./lang","./array","../on","../aspect","../request/watch","../request/xhr","../request/util"],(function(t,e,n,i,o,r,a,s,l,c,d,h,u,f,p,m){t._xhrObj=p._create;var g=t.config;t.objectToQuery=i.objectToQuery,t.queryToObject=i.queryToObject,t.fieldToObject=r.fieldToObject,t.formToObject=r.toObject,t.formToQuery=r.toQuery,t.formToJson=r.toJson,t._blockAsync=!1;var y=t._contentHandlers=t.contentHandlers={text:function(t){return t.responseText},json:function(t){return l.fromJson(t.responseText||null)},"json-comment-filtered":function(t){s.useCommentedJson||console.warn("Consider using the standard mimetype:application/json. json-commenting can introduce security issues. To decrease the chances of hijacking, use the standard the 'json' handler and prefix your json with: {}&&\nUse djConfig.useCommentedJson=true to turn off this message.");var e=t.responseText,n=e.indexOf("/*"),i=e.lastIndexOf("*/");if(-1==n||-1==i)throw new Error("JSON was not comment filtered");return l.fromJson(e.substring(n+2,i))},javascript:function(e){return t.eval(e.responseText)},xml:function(t){var n=t.responseXML;if(n&&e("dom-qsa2.1")&&!n.querySelectorAll&&e("dom-parser")&&(n=(new DOMParser).parseFromString(t.responseText,"application/xml")),e("ie")&&(!n||!n.documentElement)){var i=function(t){return"MSXML"+t+".DOMDocument"},o=["Microsoft.XMLDOM",i(6),i(4),i(3),i(2)];d.some(o,(function(e){try{var i=new ActiveXObject(e);i.async=!1,i.loadXML(t.responseText),n=i}catch(t){return!1}return!0}))}return n},"json-comment-optional":function(t){return t.responseText&&/^[^{\[]*\/\*/.test(t.responseText)?y["json-comment-filtered"](t):y.json(t)}};t._ioSetArgs=function(e,n,s,l){var d={args:e,url:e.url},h=null;if(e.form){var u=o.byId(e.form),f=u.getAttributeNode("action");d.url=d.url||(f?f.value:null),h=r.toObject(u)}var p={};h&&c.mixin(p,h),e.content&&c.mixin(p,e.content),e.preventCache&&(p["dojo.preventCache"]=(new Date).valueOf()),d.query=i.objectToQuery(p),d.handleAs=e.handleAs||"text";var m=new a((function(t){t.canceled=!0,n&&n(t);var e=t.ioArgs.error;return e||((e=new Error("request cancelled")).dojoType="cancel",t.ioArgs.error=e),e}));m.addCallback(s);var y=e.load;y&&c.isFunction(y)&&m.addCallback((function(t){return y.call(e,t,d)}));var v=e.error;v&&c.isFunction(v)&&m.addErrback((function(t){return v.call(e,t,d)}));var b=e.handle;return b&&c.isFunction(b)&&m.addBoth((function(t){return b.call(e,t,d)})),m.addErrback((function(t){return l(t,m)})),g.ioPublish&&t.publish&&!1!==d.args.ioPublish&&(m.addCallbacks((function(e){return t.publish("/dojo/io/load",[m,e]),e}),(function(e){return t.publish("/dojo/io/error",[m,e]),e})),m.addBoth((function(e){return t.publish("/dojo/io/done",[m,e]),e}))),m.ioArgs=d,m};var v=function(t){var e=y[t.ioArgs.handleAs](t.ioArgs.xhr);return void 0===e?null:e},b=function(t,e){return e.ioArgs.args.failOk||console.error(t),t},x=function(e){_<=0&&(_=0,g.ioPublish&&t.publish&&(!e||e&&!1!==e.ioArgs.args.ioPublish)&&t.publish("/dojo/io/stop"))},_=0;return u.after(f,"_onAction",(function(){_-=1})),u.after(f,"_onInFlight",x),t._ioCancelAll=f.cancelAll,t._ioNotifyStart=function(e){g.ioPublish&&t.publish&&!1!==e.ioArgs.args.ioPublish&&(_||t.publish("/dojo/io/start"),_+=1,t.publish("/dojo/io/send",[e]))},t._ioWatch=function(t,e,n,i){t.ioArgs.options=t.ioArgs.args,c.mixin(t,{response:t.ioArgs,isValid:function(n){return e(t)},isReady:function(e){return n(t)},handleResponse:function(e){return i(t)}}),f(t),x(t)},t._ioAddQueryToUrl=function(t){t.query.length&&(t.url+=(-1==t.url.indexOf("?")?"?":"&")+t.query,t.query=null)},t.xhr=function(e,n,i){var o,r=t._ioSetArgs(n,(function(t){o&&o.cancel()}),v,b),a=r.ioArgs;"postData"in n?a.query=n.postData:"putData"in n?a.query=n.putData:"rawBody"in n?a.query=n.rawBody:(arguments.length>2&&!i||-1==="POST|PUT".indexOf(e.toUpperCase()))&&t._ioAddQueryToUrl(a);var s={method:e,handleAs:"text",timeout:n.timeout,withCredentials:n.withCredentials,ioArgs:a};void 0!==n.headers&&(s.headers=n.headers),void 0!==n.contentType&&(s.headers||(s.headers={}),s.headers["Content-Type"]=n.contentType),void 0!==a.query&&(s.data=a.query),void 0!==n.sync&&(s.sync=n.sync),t._ioNotifyStart(r);try{o=p(a.url,s,!0)}catch(t){return r.cancel(),r}return r.ioArgs.xhr=o.response.xhr,o.then((function(){r.resolve(r)})).otherwise((function(t){a.error=t,t.response&&(t.status=t.response.status,t.responseText=t.response.text,t.xhr=t.response.xhr),r.reject(t)})),r},t.xhrGet=function(e){return t.xhr("GET",e)},t.rawXhrPost=t.xhrPost=function(e){return t.xhr("POST",e,!0)},t.rawXhrPut=t.xhrPut=function(e){return t.xhr("PUT",e,!0)},t.xhrDelete=function(e){return t.xhr("DELETE",e)},t._isDocumentOk=function(t){return m.checkStatus(t.status)},t._getText=function(e){var n;return t.xhrGet({url:e,sync:!0,load:function(t){n=t}}),n},c.mixin(t.xhr,{_xhrObj:t._xhrObj,fieldToObject:r.fieldToObject,formToObject:r.toObject,objectToQuery:i.objectToQuery,formToQuery:r.toQuery,formToJson:r.toJson,queryToObject:i.queryToObject,contentHandlers:y,_ioSetArgs:t._ioSetArgs,_ioCancelAll:t._ioCancelAll,_ioNotifyStart:t._ioNotifyStart,_ioWatch:t._ioWatch,_ioAddQueryToUrl:t._ioAddQueryToUrl,_isDocumentOk:t._isDocumentOk,_getText:t._getText,get:t.xhrGet,post:t.xhrPost,put:t.xhrPut,del:t.xhrDelete}),t.xhr}))},"dojo/_base/sniff":function(){define(["./kernel","./lang","../sniff"],(function(t,e,n){return t._name="browser",e.mixin(t,{isBrowser:!0,isFF:n("ff"),isIE:n("ie"),isKhtml:n("khtml"),isWebKit:n("webkit"),isMozilla:n("mozilla"),isMoz:n("mozilla"),isOpera:n("opera"),isSafari:n("safari"),isChrome:n("chrome"),isMac:n("mac"),isIos:n("ios"),isAndroid:n("android"),isWii:n("wii"),isQuirks:n("quirks"),isAir:n("air")}),n}))},"dojo/io-query":function(){define(["./_base/lang"],(function(t){var e={};return{objectToQuery:function(n){var i=encodeURIComponent,o=[];for(var r in n){var a=n[r];if(a!=e[r]){var s=i(r)+"=";if(t.isArray(a))for(var l=0,c=a.length;l<c;++l)o.push(s+i(a[l]));else o.push(s+i(a))}}return o.join("&")},queryToObject:function(e){for(var n,i,o,r=decodeURIComponent,a=e.split("&"),s={},l=0,c=a.length;l<c;++l)if((o=a[l]).length){var d=o.indexOf("=");d<0?(n=r(o),i=""):(n=r(o.slice(0,d)),i=r(o.slice(d+1))),"string"==typeof s[n]&&(s[n]=[s[n]]),t.isArray(s[n])?s[n].push(i):s[n]=i}return s}}}))},"dojo/dom":function(){define(["./sniff","./_base/window"],(function(t,e){if(t("ie")<=7)try{document.execCommand("BackgroundImageCache",!1,!0)}catch(t){}var n={};t("ie")?n.byId=function(t,n){if("string"!=typeof t)return t;var i=n||e.doc,o=t&&i.getElementById(t);if(o&&(o.attributes.id.value==t||o.id==t))return o;var r=i.all[t];r&&!r.nodeName||(r=[r]);for(var a=0;o=r[a++];)if(o.attributes&&o.attributes.id&&o.attributes.id.value==t||o.id==t)return o}:n.byId=function(t,n){return("string"==typeof t?(n||e.doc).getElementById(t):t)||null},n.isDescendant=function(t,e){try{for(t=n.byId(t),e=n.byId(e);t;){if(t==e)return!0;t=t.parentNode}}catch(t){}return!1},t.add("css-user-select",(function(t,e,n){if(!n)return!1;var i=n.style,o=["Khtml","O","Moz","Webkit"],r=o.length,a="userSelect";do{if(void 0!==i[a])return a}while(r--&&(a=o[r]+"UserSelect"));return!1}));var i=t("css-user-select");return n.setSelectable=i?function(t,e){n.byId(t).style[i]=e?"":"none"}:function(t,e){var i=(t=n.byId(t)).getElementsByTagName("*"),o=i.length;if(e)for(t.removeAttribute("unselectable");o--;)i[o].removeAttribute("unselectable");else for(t.setAttribute("unselectable","on");o--;)i[o].setAttribute("unselectable","on")},n}))},"dojo/_base/window":function(){define(["./kernel","./lang","../sniff"],(function(t,e,n){var i={global:t.global,doc:t.global.document||null,body:function(e){return(e=e||t.doc).body||e.getElementsByTagName("body")[0]},setContext:function(e,n){t.global=i.global=e,t.doc=i.doc=n},withGlobal:function(e,n,o,r){var a=t.global;try{return t.global=i.global=e,i.withDoc.call(null,e.document,n,o,r)}finally{t.global=i.global=a}},withDoc:function(e,o,r,a){var s,l,c,d=i.doc,h=n("quirks"),u=n("ie");try{return t.doc=i.doc=e,t.isQuirks=n.add("quirks","BackCompat"==t.doc.compatMode,!0,!0),n("ie")&&(c=e.parentWindow)&&c.navigator&&(s=parseFloat(c.navigator.appVersion.split("MSIE ")[1])||void 0,(l=e.documentMode)&&5!=l&&Math.floor(s)!=l&&(s=l),t.isIE=n.add("ie",s,!0,!0)),r&&"string"==typeof o&&(o=r[o]),o.apply(r,a||[])}finally{t.doc=i.doc=d,t.isQuirks=n.add("quirks",h,!0,!0),t.isIE=n.add("ie",u,!0,!0)}}};return e.mixin(t,i),i}))},"dojo/dom-form":function(){define(["./_base/lang","./dom","./io-query","./json"],(function(t,e,n,i){function o(e,n,i){if(null!==i){var o=e[n];"string"==typeof o?e[n]=[o,i]:t.isArray(o)?o.push(i):e[n]=i}}var r={fieldToObject:function(t){var n=null;if(t=e.byId(t)){var i=t.name,o=(t.type||"").toLowerCase();if(i&&o&&!t.disabled)if("radio"==o||"checkbox"==o)t.checked&&(n=t.value);else if(t.multiple){n=[];for(var r=[t.firstChild];r.length;)for(var a=r.pop();a;a=a.nextSibling){if(1!=a.nodeType||"option"!=a.tagName.toLowerCase()){a.nextSibling&&r.push(a.nextSibling),a.firstChild&&r.push(a.firstChild);break}a.selected&&n.push(a.value)}}else n=t.value}return n},toObject:function(t){for(var n={},i=e.byId(t).elements,a=0,s=i.length;a<s;++a){var l=i[a],c=l.name,d=(l.type||"").toLowerCase();c&&d&&"file|submit|image|reset|button".indexOf(d)<0&&!l.disabled&&(o(n,c,r.fieldToObject(l)),"image"==d&&(n[c+".x"]=n[c+".y"]=n[c].x=n[c].y=0))}return n},toQuery:function(t){return n.objectToQuery(r.toObject(t))},toJson:function(t,e){return i.stringify(r.toObject(t),null,e?4:0)}};return r}))},"dojo/_base/Deferred":function(){define(["./kernel","../Deferred","../promise/Promise","../errors/CancelError","../has","./lang","../when"],(function(t,e,n,i,o,r,a){var s=function(){},l=Object.freeze||function(){},c=t.Deferred=function(t){var a,d,h,u,f,p,m,g=this.promise=new n;function y(t){if(d)throw new Error("This deferred has already been resolved");a=t,d=!0,v()}function v(){for(var t;!t&&m;){var n=m;m=m.next,(t=n.progress==s)&&(d=!1);var i=f?n.error:n.resolved;if(o("config-useDeferredInstrumentation")&&f&&e.instrumentRejected&&e.instrumentRejected(a,!!i),i)try{var l=i(a);if(l&&"function"==typeof l.then){l.then(r.hitch(n.deferred,"resolve"),r.hitch(n.deferred,"reject"),r.hitch(n.deferred,"progress"));continue}var c=t&&void 0===l;t&&!c&&(f=l instanceof Error),n.deferred[c&&f?"reject":"resolve"](c?a:l)}catch(t){n.deferred.reject(t)}else f?n.deferred.reject(a):n.deferred.resolve(a)}}this.isResolved=g.isResolved=function(){return 0==u},this.isRejected=g.isRejected=function(){return 1==u},this.isFulfilled=g.isFulfilled=function(){return u>=0},this.isCanceled=g.isCanceled=function(){return h},this.resolve=this.callback=function(t){this.fired=u=0,this.results=[t,null],y(t)},this.reject=this.errback=function(t){f=!0,this.fired=u=1,o("config-useDeferredInstrumentation")&&e.instrumentRejected&&e.instrumentRejected(t,!!m),y(t),this.results=[null,t]},this.progress=function(t){for(var e=m;e;){var n=e.progress;n&&n(t),e=e.next}},this.addCallbacks=function(t,e){return this.then(t,e,s),this},g.then=this.then=function(t,e,n){var i=n==s?this:new c(g.cancel),o={resolved:t,error:e,progress:n,deferred:i};return m?p=p.next=o:m=p=o,d&&v(),i.promise};var b=this;g.cancel=this.cancel=function(){if(!d){var e=t&&t(b);d||(e instanceof Error||(e=new i(e)),e.log=!1,b.reject(e))}h=!0},l(g)};return r.extend(c,{addCallback:function(e){return this.addCallbacks(r.hitch.apply(t,arguments))},addErrback:function(e){return this.addCallbacks(null,r.hitch.apply(t,arguments))},addBoth:function(e){var n=r.hitch.apply(t,arguments);return this.addCallbacks(n,n)},fired:-1}),c.when=t.when=a,c}))},"dojo/Deferred":function(){define(["./has","./_base/lang","./errors/CancelError","./promise/Promise","./promise/instrumentation"],(function(t,e,n,i,o){"use strict";var r="This deferred has already been fulfilled.",a=Object.freeze||function(){},s=function(t,e,n,i,o){2===e&&h.instrumentRejected&&0===t.length&&h.instrumentRejected(n,!1,i,o);for(var r=0;r<t.length;r++)l(t[r],e,n,i)},l=function(t,e,n,i){var o=t[e],r=t.deferred;if(o)try{var a=o(n);if(0===e)void 0!==a&&d(r,e,a);else{if(a&&"function"==typeof a.then)return t.cancel=a.cancel,void a.then(c(r,1),c(r,2),c(r,0));d(r,1,a)}}catch(t){d(r,2,t)}else d(r,e,n);2===e&&h.instrumentRejected&&h.instrumentRejected(n,!!o,i,r.promise)},c=function(t,e){return function(n){d(t,e,n)}},d=function(t,e,n){if(!t.isCanceled())switch(e){case 0:t.progress(n);break;case 1:t.resolve(n);break;case 2:t.reject(n)}},h=function(t){var e,o,c,d=this.promise=new i,u=this,f=!1,p=[];Error.captureStackTrace&&(Error.captureStackTrace(u,h),Error.captureStackTrace(d,h)),this.isResolved=d.isResolved=function(){return 1===e},this.isRejected=d.isRejected=function(){return 2===e},this.isFulfilled=d.isFulfilled=function(){return!!e},this.isCanceled=d.isCanceled=function(){return f},this.progress=function(t,n){if(e){if(!0===n)throw new Error(r);return d}return s(p,0,t,null,u),d},this.resolve=function(t,n){if(e){if(!0===n)throw new Error(r);return d}return s(p,e=1,o=t,null,u),p=null,d};var m=this.reject=function(t,n){if(e){if(!0===n)throw new Error(r);return d}return Error.captureStackTrace&&Error.captureStackTrace(c={},m),s(p,e=2,o=t,c,u),p=null,d};this.then=d.then=function(t,n,i){var r=[i,t,n];return r.cancel=d.cancel,r.deferred=new h((function(t){return r.cancel&&r.cancel(t)})),e&&!p?l(r,e,o,c):p.push(r),r.deferred.promise},this.cancel=d.cancel=function(i,a){if(e){if(!0===a)throw new Error(r)}else{if(t){var s=t(i);i=void 0===s?i:s}if(f=!0,!e)return void 0===i&&(i=new n),m(i),i;if(2===e&&o===i)return i}},a(d)};return h.prototype.toString=function(){return"[object Deferred]"},o&&o(h),h}))},"dojo/errors/CancelError":function(){define(["./create"],(function(t){return t("CancelError",null,null,{dojoType:"cancel"})}))},"dojo/errors/create":function(){define(["../_base/lang"],(function(t){return function(e,n,i,o){i=i||Error;var r=function(t){if(i===Error){Error.captureStackTrace&&Error.captureStackTrace(this,r);var e,o=Error.call(this,t);for(e in o)o.hasOwnProperty(e)&&(this[e]=o[e]);this.message=t,this.stack=o.stack}else i.apply(this,arguments);n&&n.apply(this,arguments)};return r.prototype=t.delegate(i.prototype,o),r.prototype.name=e,r.prototype.constructor=r,r}}))},"dojo/promise/Promise":function(){define(["../_base/lang"],(function(t){"use strict";function e(){throw new TypeError("abstract")}return t.extend((function(){}),{then:function(t,n,i){e()},cancel:function(t,n){e()},isResolved:function(){e()},isRejected:function(){e()},isFulfilled:function(){e()},isCanceled:function(){e()},always:function(t){return this.then(t,t)},otherwise:function(t){return this.then(null,t)},trace:function(){return this},traceRejected:function(){return this},toString:function(){return"[object Promise]"}})}))},"dojo/promise/instrumentation":function(){define(["./tracer","../has","../_base/lang","../_base/array"],(function(t,e,n,i){function o(t,e,n){var i="";t&&t.stack&&(i+=t.stack),e&&e.stack&&(i+="\n ----------------------------------------\n rejected"+e.stack.split("\n").slice(1).join("\n").replace(/^\s+/," ")),n&&n.stack&&(i+="\n ----------------------------------------\n"+n.stack),console.error(t,i)}function r(t,e,n,i){e||o(t,n,i)}e.add("config-useDeferredInstrumentation","report-unhandled-rejections");var a=[],s=!1,l=1e3;function c(t,e,n,o){i.some(a,(function(n){if(n.error===t)return e&&(n.handled=!0),!0}))||a.push({error:t,rejection:n,handled:e,deferred:o,timestamp:(new Date).getTime()}),s||(s=setTimeout(d,l))}function d(){var t=(new Date).getTime(),e=t-l;a=i.filter(a,(function(t){return!(t.timestamp<e&&(t.handled||o(t.error,t.rejection,t.deferred),1))})),s=!!a.length&&setTimeout(d,a[0].timestamp+l-t)}return function(i){var o=e("config-useDeferredInstrumentation");if(o){t.on("resolved",n.hitch(console,"log","resolved")),t.on("rejected",n.hitch(console,"log","rejected")),t.on("progress",n.hitch(console,"log","progress"));var a=[];if("string"==typeof o&&(a=o.split(","),o=a.shift()),"report-rejections"===o)i.instrumentRejected=r;else{if("report-unhandled-rejections"!==o&&!0!==o&&1!==o)throw new Error("Unsupported instrumentation usage <"+o+">");i.instrumentRejected=c,l=parseInt(a[0],10)||l}}}}))},"dojo/promise/tracer":function(){define(["../_base/lang","./Promise","../Evented"],(function(t,e,n){"use strict";var i=new n,o=i.emit;function r(t){setTimeout((function(){o.apply(i,t)}),0)}return i.emit=null,e.prototype.trace=function(){var e=t._toArray(arguments);return this.then((function(t){r(["resolved",t].concat(e))}),(function(t){r(["rejected",t].concat(e))}),(function(t){r(["progress",t].concat(e))})),this},e.prototype.traceRejected=function(){var e=t._toArray(arguments);return this.otherwise((function(t){r(["rejected",t].concat(e))})),this},i}))},"dojo/Evented":function(){define(["./aspect","./on"],(function(t,e){"use strict";var n=t.after;function i(){}return i.prototype={on:function(t,i){return e.parse(this,t,i,(function(t,e){return n(t,"on"+e,i,!0)}))},emit:function(t,n){var i=[this];return i.push.apply(i,arguments),e.emit.apply(e,i)}},i}))},"dojo/aspect":function(){define([],(function(){"use strict";function t(t){return function(e,n,i,o){var r,a=e[n];a&&a.target==e||(e[n]=r=function(){for(var t=r.nextId,e=arguments,n=r.before;n;)n.advice&&(e=n.advice.apply(this,e)||e),n=n.next;if(r.around)var i=r.around.advice(this,e);for(var o=r.after;o&&o.id<t;){if(o.advice)if(o.receiveArguments){var a=o.advice.apply(this,e);i=void 0===a?i:a}else i=o.advice.call(this,i,e);o=o.next}return i},a&&(r.around={advice:function(t,e){return a.apply(t,e)}}),r.target=e,r.nextId=r.nextId||0);var s=function(t,e,n,i){var o,r=t[e],a="around"==e;if(a){var s=n((function(){return r.advice(this,arguments)}));o={remove:function(){s&&(s=t=n=null)},advice:function(t,e){return s?s.apply(t,e):r.advice(t,e)}}}else o={remove:function(){if(o.advice){var i=o.previous,r=o.next;r||i?(i?i.next=r:t[e]=r,r&&(r.previous=i)):delete t[e],t=n=o.advice=null}},id:t.nextId++,advice:n,receiveArguments:i};if(r&&!a)if("after"==e){for(;r.next&&(r=r.next););r.next=o,o.previous=r}else"before"==e&&(t[e]=o,o.next=r,r.previous=o);else t[e]=o;return o}(r||a,t,i,o);return i=null,s}}var e=t("after");return{before:t("before"),around:t("around"),after:e}}))},"dojo/on":function(){define(["./has!dom-addeventlistener?:./aspect","./_base/kernel","./sniff"],(function(t,e,n){"use strict";var i=window.ScriptEngineMajorVersion;n.add("jscript",i&&i()+ScriptEngineMinorVersion()/10),n.add("event-orientationchange",n("touch")&&!n("android")),n.add("event-stopimmediatepropagation",window.Event&&!!window.Event.prototype&&!!window.Event.prototype.stopImmediatePropagation),n.add("event-focusin",(function(t,e,n){return"onfocusin"in n})),n("touch")&&n.add("touch-can-modify-event-delegate",(function(){var t=function(){};t.prototype=document.createEvent("MouseEvents");try{var e=new t;return e.target=null,null===e.target}catch(t){return!1}}));var o=function(t,e,n,i){return"function"!=typeof t.on||"function"==typeof e||t.nodeType?o.parse(t,e,n,a,i,this):t.on(e,n)};o.pausable=function(t,e,n,i){var r,a=o(t,e,(function(){if(!r)return n.apply(this,arguments)}),i);return a.pause=function(){r=!0},a.resume=function(){r=!1},a},o.once=function(t,e,n,i){var r=o(t,e,(function(){return r.remove(),n.apply(this,arguments)}));return r},o.parse=function(t,e,n,i,r,a){var s;if(e.call)return e.call(a,t,n);if(e instanceof Array?s=e:e.indexOf(",")>-1&&(s=e.split(/\s*,\s*/)),s){for(var l,c=[],d=0;l=s[d++];)c.push(o.parse(t,l,n,i,r,a));return c.remove=function(){for(var t=0;t<c.length;t++)c[t].remove()},c}return i(t,e,n,r,a)};var r=/^touch/;function a(t,e,i,a,s){var l=e.match(/(.*):(.*)/);if(l)return e=l[2],l=l[1],o.selector(l,e).call(s,t,i);if(n("touch")&&(r.test(e)&&(i=j(i)),n("event-orientationchange")||"orientationchange"!=e||(e="resize",t=window,i=j(i))),f&&(i=f(i)),t.addEventListener){var c=e in h,d=c?h[e]:e;return t.addEventListener(d,i,c),{remove:function(){t.removeEventListener(d,i,c)}}}if(e="on"+e,g&&t.attachEvent)return g(t,e,i);throw new Error("Target must be an event emitter")}function s(){this.cancelable=!1,this.defaultPrevented=!0}function l(){this.bubbles=!1}o.matches=function(t,n,i,o,r){for(r=r&&"function"==typeof r.matches?r:e.query,o=!1!==o,1!=t.nodeType&&(t=t.parentNode);!r.matches(t,n,i);)if(t==i||!1===o||!(t=t.parentNode)||1!=t.nodeType)return!1;return t},o.selector=function(t,e,n){return function(i,r){var a="function"==typeof t?{matches:t}:this,s=e.bubble;function l(e){return o.matches(e,t,i,n,a)}return s?o(i,s(l),r):o(i,e,(function(t){var e=l(t.target);if(e)return r.call(e,t)}))}};var c=[].slice,d=o.emit=function(t,e,n){var i=c.call(arguments,2),o="on"+e;if("parentNode"in t){var r=i[0]={};for(var a in n)r[a]=n[a];r.preventDefault=s,r.stopPropagation=l,r.target=t,r.type=e,n=r}do{t[o]&&t[o].apply(t,i)}while(n&&n.bubbles&&(t=t.parentNode));return n&&n.cancelable&&n},h=n("event-focusin")?{}:{focusin:"focus",focusout:"blur"};if(!n("event-stopimmediatepropagation"))var u=function(){this.immediatelyStopped=!0,this.modified=!0},f=function(t){return function(e){if(!e.immediatelyStopped)return e.stopImmediatePropagation=u,t.apply(this,arguments)}};if(n("dom-addeventlistener"))o.emit=function(t,e,n){if(t.dispatchEvent&&document.createEvent){var i=(t.ownerDocument||document).createEvent("HTMLEvents");for(var r in i.initEvent(e,!!n.bubbles,!!n.cancelable),n)r in i||(i[r]=n[r]);return t.dispatchEvent(i)&&i}return d.apply(o,arguments)};else{o._fixEvent=function(t,e){if(t||(t=(e&&(e.ownerDocument||e.document||e).parentWindow||window).event),!t)return t;try{p&&t.type==p.type&&t.srcElement==p.target&&(t=p)}catch(t){}if(!t.target&&(t.target=t.srcElement,t.currentTarget=e||t.srcElement,"mouseover"==t.type&&(t.relatedTarget=t.fromElement),"mouseout"==t.type&&(t.relatedTarget=t.toElement),t.stopPropagation||(t.stopPropagation=v,t.preventDefault=b),"keypress"===t.type)){var n="charCode"in t?t.charCode:t.keyCode;10==n?(n=0,t.keyCode=13):13==n||27==n?n=0:3==n&&(n=99),t.charCode=n,y(t)}return t};var p,m=function(t){this.handle=t};m.prototype.remove=function(){delete _dojoIEListeners_[this.handle]};var g=function(e,i,r){var a;if(a=r,r=function(t){t=o._fixEvent(t,this);var e=a.call(this,t);return t.modified&&(p||setTimeout((function(){p=null})),p=t),e},((e.ownerDocument?e.ownerDocument.parentWindow:e.parentWindow||e.window||window)!=top||n("jscript")<5.8)&&!n("config-_allow_leaks")){"undefined"==typeof _dojoIEListeners_&&(_dojoIEListeners_=[]);var s,l=e[i];if(!l||!l.listeners){var c=l;(l=Function("event","var callee = arguments.callee; for(var i = 0; i<callee.listeners.length; i++){var listener = _dojoIEListeners_[callee.listeners[i]]; if(listener){listener.call(this,event);}}")).listeners=[],e[i]=l,l.global=this,c&&l.listeners.push(_dojoIEListeners_.push(c)-1)}return l.listeners.push(s=l.global._dojoIEListeners_.push(r)-1),new m(s)}return t.after(e,i,r,!0)},y=function(t){t.keyChar=t.charCode?String.fromCharCode(t.charCode):"",t.charOrCode=t.keyChar||t.keyCode},v=function(){this.cancelBubble=!0},b=o._preventDefault=function(){if(this.bubbledKeyCode=this.keyCode,this.ctrlKey)try{this.keyCode=0}catch(t){}this.defaultPrevented=!0,this.returnValue=!1,this.modified=!0}}if(n("touch"))var x=function(){},_=window.orientation,j=function(t){return function(e){var i=e.corrected;if(!i){var o=e.type;try{delete e.type}catch(t){}if(e.type){if(n("touch-can-modify-event-delegate"))x.prototype=e,i=new x;else for(var r in i={},e)i[r]=e[r];i.preventDefault=function(){e.preventDefault()},i.stopPropagation=function(){e.stopPropagation()}}else(i=e).type=o;if(e.corrected=i,"resize"==o)return _==window.orientation?null:(_=window.orientation,i.type="orientationchange",t.call(this,i));if("rotation"in i||(i.rotation=0,i.scale=1),window.TouchEvent&&e instanceof TouchEvent){var a=i.changedTouches[0];for(var s in a)delete i[s],i[s]=a[s]}}return t.call(this,i)}};return o}))},"dojo/when":function(){define(["./Deferred","./promise/Promise"],(function(t,e){"use strict";return function(n,i,o,r){var a=n&&"function"==typeof n.then,s=a&&n instanceof e;if(!a)return arguments.length>1?i?i(n):n:(new t).resolve(n);if(!s){var l=new t(n.cancel);n.then(l.resolve,l.reject,l.progress),n=l.promise}return i||o||r?n.then(i,o,r):n}}))},"dojo/_base/json":function(){define(["./kernel","../json"],(function(dojo,json){return dojo.fromJson=function(js){return eval("("+js+")")},dojo._escapeString=json.stringify,dojo.toJsonIndentStr="\t",dojo.toJson=function(t,e){return json.stringify(t,(function(t,e){if(e){var n=e.__json__||e.json;if("function"==typeof n)return n.call(e)}return e}),e&&dojo.toJsonIndentStr)},dojo}))},"dojo/request/watch":function(){define(["./util","../errors/RequestTimeoutError","../errors/CancelError","../_base/array","../_base/window","../has!host-browser?dom-addeventlistener?:../on:"],(function(t,e,n,i,o,r){var a=null,s=[];function l(){for(var t,n=+new Date,i=0;i<s.length&&(t=s[i]);i++){var o=t.response,r=o.options;t.isCanceled&&t.isCanceled()||t.isValid&&!t.isValid(o)?(s.splice(i--,1),c._onAction&&c._onAction()):t.isReady&&t.isReady(o)?(s.splice(i--,1),t.handleResponse(o),c._onAction&&c._onAction()):t.startTime&&t.startTime+(r.timeout||0)<n&&(s.splice(i--,1),t.cancel(new e("Timeout exceeded",o)),c._onAction&&c._onAction())}c._onInFlight&&c._onInFlight(t),s.length||(clearInterval(a),a=null)}function c(t){t.response.options.timeout&&(t.startTime=+new Date),t.isFulfilled()||(s.push(t),a||(a=setInterval(l,50)),t.response.options.sync&&l())}return c.cancelAll=function(){try{i.forEach(s,(function(t){try{t.cancel(new n("All requests canceled."))}catch(t){}}))}catch(t){}},o&&r&&o.doc.attachEvent&&r(o.global,"unload",(function(){c.cancelAll()})),c}))},"dojo/request/util":function(){define(["exports","../errors/RequestError","../errors/CancelError","../Deferred","../io-query","../_base/array","../_base/lang","../promise/Promise"],(function(t,e,n,i,o,r,a,s){t.deepCopy=function(e,n){for(var i in n){var o=e[i],r=n[i];o!==r&&(o&&"object"==typeof o&&r&&"object"==typeof r?t.deepCopy(o,r):e[i]=r)}return e},t.deepCreate=function(e,n){n=n||{};var i,o,r=a.delegate(e);for(i in e)(o=e[i])&&"object"==typeof o&&(r[i]=t.deepCreate(o,n[i]));return t.deepCopy(r,n)};var l=Object.freeze||function(t){return t};function c(t){return l(t)}function d(t){return void 0!==t.data?t.data:t.text}t.deferred=function(o,r,h,u,f,p){var m=new i((function(t){return r&&r(m,o),t&&(t instanceof e||t instanceof n)?t:new n("Request canceled",o)}));m.response=o,m.isValid=h,m.isReady=u,m.handleResponse=f;var g=m.then(c).otherwise((function(t){throw t.response=o,t}));t.notify&&g.then(a.hitch(t.notify,"emit","load"),a.hitch(t.notify,"emit","error"));var y=g.then(d),v=new s;for(var b in y)y.hasOwnProperty(b)&&(v[b]=y[b]);return v.response=g,l(v),p&&m.then((function(t){p.call(m,t)}),(function(t){p.call(m,o,t)})),m.promise=v,m.then=v.then,m},t.addCommonMethods=function(t,e){r.forEach(e||["GET","POST","PUT","DELETE"],(function(e){t[("DELETE"===e?"DEL":e).toLowerCase()]=function(n,i){return(i=a.delegate(i||{})).method=e,t(n,i)}}))},t.parseArgs=function(t,e,n){var i=e.data,r=e.query;return i&&!n&&"object"==typeof i&&(e.data=o.objectToQuery(i)),r?("object"==typeof r&&(r=o.objectToQuery(r)),e.preventCache&&(r+=(r?"&":"")+"request.preventCache="+ +new Date)):e.preventCache&&(r="request.preventCache="+ +new Date),t&&r&&(t+=(~t.indexOf("?")?"&":"?")+r),{url:t,options:e,getHeader:function(t){return null}}},t.checkStatus=function(t){return(t=t||0)>=200&&t<300||304===t||1223===t||!t}}))},"dojo/errors/RequestError":function(){define(["./create"],(function(t){return t("RequestError",(function(t,e){this.response=e}))}))},"dojo/errors/RequestTimeoutError":function(){define(["./create","./RequestError"],(function(t,e){return t("RequestTimeoutError",null,e,{dojoType:"timeout"})}))},"dojo/request/xhr":function(){define(["../errors/RequestError","./watch","./handlers","./util","../has"],(function(t,e,n,i,o){o.add("native-xhr",(function(){return"undefined"!=typeof XMLHttpRequest})),o.add("dojo-force-activex-xhr",(function(){return o("activex")&&"file:"===window.location.protocol})),o.add("native-xhr2",(function(){if(o("native-xhr")&&!o("dojo-force-activex-xhr")){var t=new XMLHttpRequest;return void 0!==t.addEventListener&&("undefined"==typeof opera||void 0!==t.upload)}})),o.add("native-formdata",(function(){return"undefined"!=typeof FormData})),o.add("native-response-type",(function(){return o("native-xhr")&&void 0!==(new XMLHttpRequest).responseType})),o.add("native-xhr2-blob",(function(){if(o("native-response-type")){var t=new XMLHttpRequest;t.open("GET","/",!0),t.responseType="blob";var e=t.responseType;return t.abort(),"blob"===e}}));var r,a,s,l,c={blob:o("native-xhr2-blob")?"blob":"arraybuffer",document:"document",arraybuffer:"arraybuffer"};function d(e,o){var r=e.xhr;e.status=e.xhr.status;try{e.text=r.responseText}catch(t){}if("xml"===e.options.handleAs&&(e.data=r.responseXML),!o)try{n(e)}catch(t){o=t}o?this.reject(o):i.checkStatus(r.status)?this.resolve(e):(o=new t("Unable to load "+e.url+" status: "+r.status,e),this.reject(o))}function h(t){return this.xhr.getResponseHeader(t)}o("native-xhr2")?(r=function(t){return!this.isFulfilled()},l=function(t,e){e.xhr.abort()},s=function(e,n,i){function o(t){n.handleResponse(i)}function r(e){var o=e.target,r=new t("Unable to load "+i.url+" status: "+o.status,i);n.handleResponse(i,r)}function a(t){t.lengthComputable?(i.loaded=t.loaded,i.total=t.total,n.progress(i)):3===i.xhr.readyState&&(i.loaded="loaded"in t?t.loaded:t.position,n.progress(i))}return e.addEventListener("load",o,!1),e.addEventListener("error",r,!1),e.addEventListener("progress",a,!1),function(){e.removeEventListener("load",o,!1),e.removeEventListener("error",r,!1),e.removeEventListener("progress",a,!1),e=null}}):(r=function(t){return t.xhr.readyState},a=function(t){return 4===t.xhr.readyState},l=function(t,e){var n=e.xhr,i=typeof n.abort;"function"!==i&&"object"!==i&&"unknown"!==i||n.abort()});var u,f={data:null,query:null,sync:!1,method:"GET"};function p(n,m,g){var y=o("native-formdata")&&m&&m.data&&m.data instanceof FormData,v=i.parseArgs(n,i.deepCreate(f,m),y);n=v.url,m=v.options;var b,x=i.deferred(v,l,r,a,d,(function(){b&&b()})),_=v.xhr=p._create();if(!_)return x.cancel(new t("XHR was not created")),g?x:x.promise;v.getHeader=h,s&&(b=s(_,x,v));var j=void 0===m.data?null:m.data,w=!m.sync,k=m.method;try{_.open(k,n,w,m.user||u,m.password||u),m.withCredentials&&(_.withCredentials=m.withCredentials),o("native-response-type")&&m.handleAs in c&&(_.responseType=c[m.handleAs]);var C=m.headers,S=!y&&"application/x-www-form-urlencoded";if(C)for(var M in C)"content-type"===M.toLowerCase()?S=C[M]:C[M]&&_.setRequestHeader(M,C[M]);S&&!1!==S&&_.setRequestHeader("Content-Type",S),C&&"X-Requested-With"in C||_.setRequestHeader("X-Requested-With","XMLHttpRequest"),i.notify&&i.notify.emit("send",v,x.promise.cancel),_.send(j)}catch(t){x.reject(t)}return e(x),_=null,g?x:x.promise}if(p._create=function(){throw new Error("XMLHTTP not available")},o("native-xhr")&&!o("dojo-force-activex-xhr"))p._create=function(){return new XMLHttpRequest};else if(o("activex"))try{new ActiveXObject("Msxml2.XMLHTTP"),p._create=function(){return new ActiveXObject("Msxml2.XMLHTTP")}}catch(t){try{new ActiveXObject("Microsoft.XMLHTTP"),p._create=function(){return new ActiveXObject("Microsoft.XMLHTTP")}}catch(t){}}return i.addCommonMethods(p),p}))},"dojo/request/handlers":function(){define(["../json","../_base/kernel","../_base/array","../has","../selector/_loader"],(function(t,e,n,i){var o;if(i.add("activex","undefined"!=typeof ActiveXObject),i.add("dom-parser",(function(t){return"DOMParser"in t})),i("activex")){var r,a=["Msxml2.DOMDocument.6.0","Msxml2.DOMDocument.4.0","MSXML2.DOMDocument.3.0","MSXML.DOMDocument"];o=function(t){var e=t.data,o=t.text;function s(t){try{var n=new ActiveXObject(t);n.async=!1,n.loadXML(o),e=n,r=t}catch(t){return!1}return!0}return e&&i("dom-qsa2.1")&&!e.querySelectorAll&&i("dom-parser")&&(e=(new DOMParser).parseFromString(o,"application/xml")),e&&e.documentElement||r&&s(r)||n.some(a,s),e}}var s=function(t){return i("native-xhr2-blob")||"blob"!==t.options.handleAs||"undefined"==typeof Blob?t.xhr.response:new Blob([t.xhr.response],{type:t.xhr.getResponseHeader("Content-Type")})},l={javascript:function(t){return e.eval(t.text||"")},json:function(e){return t.parse(e.text||null)},xml:o,blob:s,arraybuffer:s,document:s};function c(t){var e=l[t.options.handleAs];return t.data=e?e(t):t.data||t.text,t}return c.register=function(t,e){l[t]=e},c}))},"dojo/selector/_loader":function(){define(["../has","require"],(function(t,e){"use strict";if("undefined"!=typeof document){var n=document.createElement("div");t.add("dom-qsa2.1",!!n.querySelectorAll),t.add("dom-qsa3",(function(){try{return n.innerHTML="<p class='TEST'></p>",1==n.querySelectorAll(".TEST:empty").length}catch(t){}}))}var i,o="./acme",r="./lite";return{load:function(n,a,s,l){if(l&&l.isBuild)s();else{var c=e;if("?"==(n="css2"==(n="default"==n?t("config-selectorEngine")||"css3":n)||"lite"==n?r:"css2.1"==n?t("dom-qsa2.1")?r:o:"css3"==n?t("dom-qsa3")?r:o:"acme"==n?o:(c=a)&&n).charAt(n.length-1)){n=n.substring(0,n.length-1);var d=!0}if(d&&(t("dom-compliant-qsa")||i))return s(i);c([n],(function(t){"./lite"!=n&&(i=t),s(t)}))}}}}))},"dojo/main":function(){define(["./_base/kernel","./has","require","./sniff","./_base/lang","./_base/array","./_base/config","./ready","./_base/declare","./_base/connect","./_base/Deferred","./_base/json","./_base/Color","./has!dojo-firebug?./_firebug/firebug","./_base/browser","./_base/loader"],(function(t,e,n,i,o,r,a,s){a.isDebug&&n(["./_firebug/firebug"]);var l=a.require;return l&&(l=r.map(o.isArray(l)?l:[l],(function(t){return t.replace(/\./g,"/")})),t.isAsync?n(l):s(1,(function(){n(l)}))),t}))},"dojo/ready":function(){define(["./_base/kernel","./has","require","./domReady","./_base/lang"],(function(t,e,n,i,o){var r=0,a=[],s=0,l=function(){r=1,t._postLoad=t.config.afterOnLoad=!0,c()},c=function(){if(!s){for(s=1;r&&(!i||0==i._Q.length)&&(!n.idle||n.idle())&&a.length;){var t=a.shift();try{t()}catch(t){if(t.info=t.message,!n.signal)throw t;n.signal("error",t)}}s=0}};n.on&&n.on("idle",c),i&&(i._onQEmpty=c);var d=t.ready=t.addOnLoad=function(e,n,i){var r=o._toArray(arguments);"number"!=typeof e?(i=n,n=e,e=1e3):r.shift(),(i=i?o.hitch.apply(t,r):function(){n()}).priority=e;for(var s=0;s<a.length&&e>=a[s].priority;s++);a.splice(s,0,i),c()},h=t.config.addOnLoad;return h&&d[o.isArray(h)?"apply":"call"](t,h),t.config.parseOnLoad&&!t.isAsync&&d(99,(function(){t.parser||(t.deprecated("Add explicit require(['dojo/parser']);","","2.0"),n(["dojo/parser"]))})),i?i(l):l(),d}))},"dojo/domReady":function(){define(["./global","./has"],(function(t,e){var n,i=document,o={loaded:1,complete:1},r="string"!=typeof i.readyState,a=!!o[i.readyState],s=[];function l(t){s.push(t),a&&c()}function c(){if(!n){for(n=!0;s.length;)try{s.shift()(i)}catch(t){console.error(t,"in domReady callback",t.stack)}n=!1,l._onQEmpty()}}if(l.load=function(t,e,n){l(n)},l._Q=s,l._onQEmpty=function(){},r&&(i.readyState="loading"),!a){var d=[],h=function(e){e=e||t.event,a||"readystatechange"==e.type&&!o[i.readyState]||(r&&(i.readyState="complete"),a=1,c())},u=function(t,e){t.addEventListener(e,h,!1),s.push((function(){t.removeEventListener(e,h,!1)}))};if(!e("dom-addeventlistener")){u=function(t,e){e="on"+e,t.attachEvent(e,h),s.push((function(){t.detachEvent(e,h)}))};var f=i.createElement("div");try{f.doScroll&&null===t.frameElement&&d.push((function(){try{return f.doScroll("left"),1}catch(t){}}))}catch(t){}}if(u(i,"DOMContentLoaded"),u(t,"load"),"onreadystatechange"in i?u(i,"readystatechange"):r||d.push((function(){return o[i.readyState]})),d.length){var p=function(){if(!a){for(var t=d.length;t--;)if(d[t]())return void h("poller");setTimeout(p,30)}};p()}}return l}))},"dojo/_base/declare":function(){define(["./kernel","../has","./lang"],(function(t,e,n){var i=n.mixin,o=Object.prototype,r=o.toString,a=new Function,s=0,l="constructor";function c(t,e){throw new Error("declare"+(e?" "+e:"")+": "+t)}function d(t,e,n){var i,r,a,s,d,h,u,f,p,m=this._inherited=this._inherited||{};if("string"==typeof t&&(i=t,t=e,e=n),n=0,s=t.callee,(i=i||s.nom)||c("can't deduce a name to call inherited()",this.declaredClass),a=(d=this.constructor._meta).bases,p=m.p,i!=l){if(m.c!==s&&(p=0,(d=(h=a[0])._meta).hidden[i]!==s)){(r=d.chains)&&"string"==typeof r[i]&&c("calling chained method with inherited: "+i,this.declaredClass);do{if(d=h._meta,u=h.prototype,d&&(u[i]===s&&u.hasOwnProperty(i)||d.hidden[i]===s))break}while(h=a[++p]);p=h?p:-1}if(h=a[++p])if(u=h.prototype,h._meta&&u.hasOwnProperty(i))n=u[i];else{f=o[i];do{if((n=(u=h.prototype)[i])&&(h._meta?u.hasOwnProperty(i):n!==f))break}while(h=a[++p])}n=h&&n||o[i]}else{if(m.c!==s&&(p=0,(d=a[0]._meta)&&d.ctor!==s)){for((r=d.chains)&&"manual"===r.constructor||c("calling chained constructor with inherited",this.declaredClass);(h=a[++p])&&(!(d=h._meta)||d.ctor!==s););p=h?p:-1}for(;(h=a[++p])&&!(n=(d=h._meta)?d.ctor:h););n=h&&n}if(m.c=n,m.p=p,n)return!0===e?n:n.apply(this,e||t)}function h(t,e){return"string"==typeof t?this.__inherited(t,e,!0):this.__inherited(t,!0)}var u=t.config.isDebug?function(t,e,n){var i=this.getInherited(t,e);if(i)return i.apply(this,n||e||t)}:d;function f(t){for(var e=this.constructor._meta.bases,n=0,i=e.length;n<i;++n)if(e[n]===t)return!0;return this instanceof t}function p(t,i){for(var o in i)o!=l&&i.hasOwnProperty(o)&&(t[o]=i[o]);if(e("bug-for-in-skips-shadowed"))for(var r=n._extraNames,a=r.length;a;)(o=r[--a])!=l&&i.hasOwnProperty(o)&&(t[o]=i[o])}function m(t){return x.safeMixin(this.prototype,t),this}function g(t,e){return t instanceof Array||"function"==typeof t||(e=t,t=void 0),e=e||{},x([this].concat(t=t||[]),e)}function y(t,e,n){return function(){var i,o,r,a=0,s=1;for(n&&(a=e.length-1,s=-1);i=e[a];a+=s)(r=((o=i._meta)?o.hidden:i.prototype)[t])&&r.apply(this,arguments)}}function v(t){a.prototype=t.prototype;var e=new a;return a.prototype=null,e}function b(t){var e=t.callee,n=v(e);return e.apply(n,t),n}function x(t,e,a){"string"!=typeof t&&(a=e,e=t,t=""),a=a||{};var _,j,w,k,C,S,M,T,A,N,E=1,P=e;if("[object Array]"==r.call(e)?(S=function(t,e){for(var n,i,o,a,l,d,h,u,f=[],p=[{cls:0,refs:[]}],m={},g=1,y=t.length,v=0;v<y;++v){for((o=t[v])?"[object Function]"!=r.call(o)&&c("mixin #"+v+" is not a callable constructor.",e):c("mixin #"+v+" is unknown. Did you use dojo.require to pull it in?",e),a=0,n=(i=o._meta?o._meta.bases:[o]).length-1;n>=0;--n)(l=i[n].prototype).hasOwnProperty("declaredClass")||(l.declaredClass="uniqName_"+s++),h=l.declaredClass,m.hasOwnProperty(h)||(m[h]={count:0,refs:[],cls:i[n]},++g),d=m[h],a&&a!==d&&(d.refs.push(a),++a.count),a=d;++a.count,p[0].refs.push(a)}for(;p.length;){for(a=p.pop(),f.push(a.cls),--g;1==(u=a.refs).length;){if(!(a=u[0])||--a.count){a=0;break}f.push(a.cls),--g}if(a)for(v=0,y=u.length;v<y;++v)--(a=u[v]).count||p.push(a)}return g&&c("can't build consistent linearization",e),o=t[0],f[0]=o?o._meta&&o===f[f.length-o._meta.bases.length]?o._meta.bases.length:1:0,f}(e,t),w=S[0],e=S[E=S.length-w]):(S=[0],e?"[object Function]"==r.call(e)?(w=e._meta,S=S.concat(w?w.bases:e)):c("base class is not a callable constructor.",t):null!==e&&c("unknown base class. Did you use dojo.require to pull it in?",t)),e)for(j=E-1;_=v(e),j;--j)((w=S[j])._meta?p:i)(_,w.prototype),(k=new Function).superclass=e,k.prototype=_,e=_.constructor=k;else _={};for(x.safeMixin(_,a),(w=a.constructor)!==o.constructor&&(w.nom=l,_.constructor=w),j=E-1;j;--j)(w=S[j]._meta)&&w.chains&&(M=i(M||{},w.chains));if(_["-chains-"]&&(M=i(M||{},_["-chains-"])),e&&e.prototype&&e.prototype["-chains-"]&&(M=i(M||{},e.prototype["-chains-"])),w=!M||!M.hasOwnProperty(l),S[0]=k=M&&"manual"===M.constructor?(N=S,function(){var t,e,n=arguments,i=0;if(!(this instanceof n.callee))return b(n);for(;t=N[i];++i)if(t=(e=t._meta)?e.ctor:t){t.apply(this,n);break}(t=this.postscript)&&t.apply(this,n)}):1==S.length?function(t,e){return function(){var n,i=arguments,o=i,r=i[0];if(!(this instanceof i.callee))return b(i);e&&(r&&(n=r.preamble)&&(o=n.apply(this,o)||o),(n=this.preamble)&&n.apply(this,o)),t&&t.apply(this,i),(n=this.postscript)&&n.apply(this,i)}}(a.constructor,w):(T=S,A=w,function(){var t,e,n,i,o=arguments,r=o,a=o[0],s=T.length;if(!(this instanceof o.callee))return b(o);if(A&&(a&&a.preamble||this.preamble))for((i=new Array(T.length))[0]=o,e=0;(a=o[0])&&(t=a.preamble)&&(o=t.apply(this,o)||o),(t=(t=T[e].prototype).hasOwnProperty("preamble")&&t.preamble)&&(o=t.apply(this,o)||o),++e!=s;)i[e]=o;for(e=s-1;e>=0;--e)(t=(n=(t=T[e])._meta)?n.ctor:t)&&t.apply(this,i?i[e]:o);(t=this.postscript)&&t.apply(this,r)}),k._meta={bases:S,hidden:a,chains:M,parents:P,ctor:a.constructor},k.superclass=e&&e.prototype,k.extend=m,k.createSubclass=g,k.prototype=_,_.constructor=k,_.getInherited=h,_.isInstanceOf=f,_.inherited=u,_.__inherited=d,t&&(_.declaredClass=t,n.setObject(t,k)),M)for(C in M)_[C]&&"string"==typeof M[C]&&C!=l&&((w=_[C]=y(C,S,"after"===M[C])).nom=C);return k}return t.safeMixin=x.safeMixin=function(t,i){var a,s;for(a in i)(s=i[a])===o[a]&&a in o||a==l||("[object Function]"==r.call(s)&&(s.nom=a),t[a]=s);if(e("bug-for-in-skips-shadowed"))for(var c=n._extraNames,d=c.length;d;)(s=i[a=c[--d]])===o[a]&&a in o||a==l||("[object Function]"==r.call(s)&&(s.nom=a),t[a]=s);return t},t.declare=x,x}))},"dojo/_base/connect":function(){define(["./kernel","../on","../topic","../aspect","./event","../mouse","./sniff","./lang","../keys"],(function(t,e,n,i,o,r,a,s){function l(n,o,a,l,d){if(l=s.hitch(a,l),!n||!n.addEventListener&&!n.attachEvent)return i.after(n||t.global,o,l,!0);if("string"==typeof o&&"on"==o.substring(0,2)&&(o=o.substring(2)),n||(n=t.global),!d)switch(o){case"keypress":o=c;break;case"mouseenter":o=r.enter;break;case"mouseleave":o=r.leave}return e(n,o,l,d)}a.add("events-keypress-typed",(function(){var t={charCode:0};try{((t=document.createEvent("KeyboardEvent")).initKeyboardEvent||t.initKeyEvent).call(t,"keypress",!0,!0,null,!1,!1,!1,!1,9,3)}catch(t){}return 0==t.charCode&&!a("opera")}));var c,d={106:42,111:47,186:59,187:43,188:44,189:45,190:46,191:47,192:96,219:91,220:92,221:93,222:39,229:113},h=a("mac")?"metaKey":"ctrlKey",u=function(t,e){var n=s.mixin({},t,e);return f(n),n.preventDefault=function(){t.preventDefault()},n.stopPropagation=function(){t.stopPropagation()},n};function f(t){t.keyChar=t.charCode?String.fromCharCode(t.charCode):"",t.charOrCode=t.keyChar||t.keyCode}var p={_keypress:c=a("events-keypress-typed")?function(t,n){var i=e(t,"keydown",(function(t){var e=t.keyCode,i=13!=e&&32!=e&&(27!=e||!a("ie"))&&(e<48||e>90)&&(e<96||e>111)&&(e<186||e>192)&&(e<219||e>222)&&229!=e;if(i||t.ctrlKey){var o=i?0:e;if(t.ctrlKey){if(3==e||13==e)return n.call(t.currentTarget,t);o>95&&o<106?o-=48:!t.shiftKey&&o>=65&&o<=90?o+=32:o=d[o]||o}var r=u(t,{type:"keypress",faux:!0,charCode:o});n.call(t.currentTarget,r),a("ie")&&function(t,e){try{return t.keyCode=e}catch(t){return 0}}(t,r.keyCode)}})),o=e(t,"keypress",(function(t){var e=t.charCode;return t=u(t,{charCode:e=e>=32?e:0,faux:!0}),n.call(this,t)}));return{remove:function(){i.remove(),o.remove()}}}:a("opera")?function(t,n){return e(t,"keypress",(function(t){var e=t.which;return 3==e&&(e=99),e=e<32&&!t.shiftKey?0:e,t.ctrlKey&&!t.shiftKey&&e>=65&&e<=90&&(e+=32),n.call(this,u(t,{charCode:e}))}))}:function(t,n){return e(t,"keypress",(function(t){return f(t),n.call(this,t)}))},connect:function(t,e,n,i,o){var r=arguments,a=[],s=0;a.push("string"==typeof r[0]?null:r[s++],r[s++]);var c=r[s+1];a.push("string"==typeof c||"function"==typeof c?r[s++]:null,r[s++]);for(var d=r.length;s<d;s++)a.push(r[s]);return l.apply(this,a)},disconnect:function(t){t&&t.remove()},subscribe:function(t,e,i){return n.subscribe(t,s.hitch(e,i))},publish:function(t,e){return n.publish.apply(n,[t].concat(e))},connectPublisher:function(t,e,n){var i=function(){p.publish(t,arguments)};return n?p.connect(e,n,i):p.connect(e,i)},isCopyKey:function(t){return t[h]}};return p.unsubscribe=p.disconnect,s.mixin(t,p),p}))},"dojo/topic":function(){define(["./Evented"],(function(t){var e=new t;return{publish:function(t,n){return e.emit.apply(e,arguments)},subscribe:function(t,n){return e.on.apply(e,arguments)}}}))},"dojo/_base/event":function(){define(["./kernel","../on","../has","../dom-geometry"],(function(t,e,n,i){if(e._fixEvent){var o=e._fixEvent;e._fixEvent=function(t,e){return(t=o(t,e))&&i.normalizeEvent(t),t}}var r={fix:function(t,n){return e._fixEvent?e._fixEvent(t,n):t},stop:function(t){n("dom-addeventlistener")||t&&t.preventDefault?(t.preventDefault(),t.stopPropagation()):((t=t||window.event).cancelBubble=!0,e._preventDefault.call(t))}};return t.fixEvent=r.fix,t.stopEvent=r.stop,r}))},"dojo/dom-geometry":function(){define(["./sniff","./_base/window","./dom","./dom-style"],(function(t,e,n,i){var o={boxModel:"content-box"};t("ie")&&(o.boxModel="BackCompat"==document.compatMode?"border-box":"content-box"),o.getPadExtents=function(t,e){t=n.byId(t);var o=e||i.getComputedStyle(t),r=i.toPixelValue,a=r(t,o.paddingLeft),s=r(t,o.paddingTop),l=r(t,o.paddingRight),c=r(t,o.paddingBottom);return{l:a,t:s,r:l,b:c,w:a+l,h:s+c}};var r="none";function a(t,e,n,i,o,r){r=r||"px";var a=t.style;isNaN(e)||(a.left=e+r),isNaN(n)||(a.top=n+r),i>=0&&(a.width=i+r),o>=0&&(a.height=o+r)}function s(t){return"button"==t.tagName.toLowerCase()||"input"==t.tagName.toLowerCase()&&"button"==(t.getAttribute("type")||"").toLowerCase()}function l(t){return"border-box"==o.boxModel||"table"==t.tagName.toLowerCase()||s(t)}o.getBorderExtents=function(t,e){t=n.byId(t);var o=i.toPixelValue,a=e||i.getComputedStyle(t),s=a.borderLeftStyle!=r?o(t,a.borderLeftWidth):0,l=a.borderTopStyle!=r?o(t,a.borderTopWidth):0,c=a.borderRightStyle!=r?o(t,a.borderRightWidth):0,d=a.borderBottomStyle!=r?o(t,a.borderBottomWidth):0;return{l:s,t:l,r:c,b:d,w:s+c,h:l+d}},o.getPadBorderExtents=function(t,e){t=n.byId(t);var r=e||i.getComputedStyle(t),a=o.getPadExtents(t,r),s=o.getBorderExtents(t,r);return{l:a.l+s.l,t:a.t+s.t,r:a.r+s.r,b:a.b+s.b,w:a.w+s.w,h:a.h+s.h}},o.getMarginExtents=function(t,e){t=n.byId(t);var o=e||i.getComputedStyle(t),r=i.toPixelValue,a=r(t,o.marginLeft),s=r(t,o.marginTop),l=r(t,o.marginRight),c=r(t,o.marginBottom);return{l:a,t:s,r:l,b:c,w:a+l,h:s+c}},o.getMarginBox=function(e,a){e=n.byId(e);var s,l=a||i.getComputedStyle(e),c=o.getMarginExtents(e,l),d=e.offsetLeft-c.l,h=e.offsetTop-c.t,u=e.parentNode,f=i.toPixelValue;if(t("mozilla")){var p=parseFloat(l.left),m=parseFloat(l.top);isNaN(p)||isNaN(m)?u&&u.style&&"visible"!=(s=i.getComputedStyle(u)).overflow&&(d+=s.borderLeftStyle!=r?f(e,s.borderLeftWidth):0,h+=s.borderTopStyle!=r?f(e,s.borderTopWidth):0):(d=p,h=m)}else(t("opera")||8==t("ie")&&!t("quirks"))&&u&&(d-=(s=i.getComputedStyle(u)).borderLeftStyle!=r?f(e,s.borderLeftWidth):0,h-=s.borderTopStyle!=r?f(e,s.borderTopWidth):0);return{l:d,t:h,w:e.offsetWidth+c.w,h:e.offsetHeight+c.h}},o.getContentBox=function(e,r){e=n.byId(e);var a,s=r||i.getComputedStyle(e),l=e.clientWidth,c=o.getPadExtents(e,s),d=o.getBorderExtents(e,s);return l?(a=e.clientHeight,d.w=d.h=0):(l=e.offsetWidth,a=e.offsetHeight),t("opera")&&(c.l+=d.l,c.t+=d.t),{l:c.l,t:c.t,w:l-c.w-d.w,h:a-c.h-d.h}},o.setContentSize=function(t,e,i){t=n.byId(t);var r=e.w,s=e.h;if(l(t)){var c=o.getPadBorderExtents(t,i);r>=0&&(r+=c.w),s>=0&&(s+=c.h)}a(t,NaN,NaN,r,s)};var c={l:0,t:0,w:0,h:0};return o.setMarginBox=function(e,r,d){e=n.byId(e);var h=d||i.getComputedStyle(e),u=r.w,f=r.h,p=l(e)?c:o.getPadBorderExtents(e,h),m=o.getMarginExtents(e,h);if(t("webkit")&&s(e)){var g=e.style;u>=0&&!g.width&&(g.width="4px"),f>=0&&!g.height&&(g.height="4px")}u>=0&&(u=Math.max(u-p.w-m.w,0)),f>=0&&(f=Math.max(f-p.h-m.h,0)),a(e,r.l,r.t,u,f)},o.isBodyLtr=function(t){return t=t||e.doc,"ltr"==(e.body(t).dir||t.documentElement.dir||"ltr").toLowerCase()},o.docScroll=function(n){n=n||e.doc;var i=e.doc.parentWindow||e.doc.defaultView;return"pageXOffset"in i?{x:i.pageXOffset,y:i.pageYOffset}:(i=t("quirks")?e.body(n):n.documentElement)&&{x:o.fixIeBiDiScrollLeft(i.scrollLeft||0,n),y:i.scrollTop||0}},o.getIeDocumentElementOffset=function(n){var i=(n=n||e.doc).documentElement;if(t("ie")<8){var o=i.getBoundingClientRect(),r=o.left,a=o.top;return t("ie")<7&&(r+=i.clientLeft,a+=i.clientTop),{x:r<0?0:r,y:a<0?0:a}}return{x:0,y:0}},o.fixIeBiDiScrollLeft=function(n,i){i=i||e.doc;var r=t("ie");if(r&&!o.isBodyLtr(i)){var a=t("quirks"),s=a?e.body(i):i.documentElement,l=e.global;return 6==r&&!a&&l.frameElement&&s.scrollHeight>s.clientHeight&&(n+=s.clientLeft),r<8||a?n+s.clientWidth-s.scrollWidth:-n}return n},o.position=function(i,r){i=n.byId(i);var a=e.body(i.ownerDocument),s=i.getBoundingClientRect();if(s={x:s.left,y:s.top,w:s.right-s.left,h:s.bottom-s.top},t("ie")<9){var l=o.getIeDocumentElementOffset(i.ownerDocument);s.x-=l.x+(t("quirks")?a.clientLeft+a.offsetLeft:0),s.y-=l.y+(t("quirks")?a.clientTop+a.offsetTop:0)}if(r){var c=o.docScroll(i.ownerDocument);s.x+=c.x,s.y+=c.y}return s},o.getMarginSize=function(t,e){t=n.byId(t);var r=o.getMarginExtents(t,e||i.getComputedStyle(t)),a=t.getBoundingClientRect();return{w:a.right-a.left+r.w,h:a.bottom-a.top+r.h}},o.normalizeEvent=function(e){if("layerX"in e||(e.layerX=e.offsetX,e.layerY=e.offsetY),!t("dom-addeventlistener")){var n=e.target,i=n&&n.ownerDocument||document,r=t("quirks")?i.body:i.documentElement,a=o.getIeDocumentElementOffset(i);e.pageX=e.clientX+o.fixIeBiDiScrollLeft(r.scrollLeft||0,i)-a.x,e.pageY=e.clientY+(r.scrollTop||0)-a.y}},o}))},"dojo/dom-style":function(){define(["./sniff","./dom"],(function(t,e){var n,i,o={};n=t("webkit")?function(t){var e;if(1==t.nodeType){var n=t.ownerDocument.defaultView;!(e=n.getComputedStyle(t,null))&&t.style&&(t.style.display="",e=n.getComputedStyle(t,null))}return e||{}}:t("ie")&&(t("ie")<9||t("quirks"))?function(t){return 1==t.nodeType&&t.currentStyle?t.currentStyle:{}}:function(t){return 1==t.nodeType?t.ownerDocument.defaultView.getComputedStyle(t,null):{}},o.getComputedStyle=n,i=t("ie")?function(t,e){if(!e)return 0;if("medium"==e)return 4;if(e.slice&&"px"==e.slice(-2))return parseFloat(e);var n=t.style,i=t.runtimeStyle,o=t.currentStyle,r=n.left,a=i.left;i.left=o.left;try{n.left=e,e=n.pixelLeft}catch(t){e=0}return n.left=r,i.left=a,e}:function(t,e){return parseFloat(e)||0},o.toPixelValue=i;var r="DXImageTransform.Microsoft.Alpha",a=function(t,e){try{return t.filters.item(r)}catch(t){return e?{}:null}},s=t("ie")<9||t("ie")<10&&t("quirks")?function(t){try{return a(t).Opacity/100}catch(t){return 1}}:function(t){return n(t).opacity},l=t("ie")<9||t("ie")<10&&t("quirks")?function(t,e){""===e&&(e=1);var n=100*e;if(1===e?(t.style.zoom="",a(t)&&(t.style.filter=t.style.filter.replace(new RegExp("\\s*progid:"+r+"\\([^\\)]+?\\)","i"),""))):(t.style.zoom=1,a(t)?a(t,1).Opacity=n:t.style.filter+=" progid:"+r+"(Opacity="+n+")",a(t,1).Enabled=!0),"tr"==t.tagName.toLowerCase())for(var i=t.firstChild;i;i=i.nextSibling)"td"==i.tagName.toLowerCase()&&l(i,e);return e}:function(t,e){return t.style.opacity=e},c={left:!0,top:!0},d=/margin|padding|width|height|max|min|offset/,h={cssFloat:1,styleFloat:1,float:1};return o.get=function(t,n){var r=e.byId(t),a=arguments.length;if(2==a&&"opacity"==n)return s(r);n=h[n]?"cssFloat"in r.style?"cssFloat":"styleFloat":n;var l=o.getComputedStyle(r);return 1==a?l:function(t,e,n){if(e=e.toLowerCase(),"auto"==n){if("height"==e)return t.offsetHeight;if("width"==e)return t.offsetWidth}return"fontweight"==e?700===n?"bold":"normal":(e in c||(c[e]=d.test(e)),c[e]?i(t,n):n)}(r,n,l[n]||r.style[n])},o.set=function(t,n,i){var r=e.byId(t),a=arguments.length,s="opacity"==n;if(n=h[n]?"cssFloat"in r.style?"cssFloat":"styleFloat":n,3==a)return s?l(r,i):r.style[n]=i;for(var c in n)o.set(t,c,n[c]);return o.getComputedStyle(r)},o}))},"dojo/mouse":function(){define(["./_base/kernel","./on","./has","./dom","./_base/window"],(function(t,e,n,i,o){var r,a;function s(t,n){var o=function(o,r){return e(o,t,(function(t){return n?n(t,r):i.isDescendant(t.relatedTarget,o)?void 0:r.call(this,t)}))};return o.bubble=function(e){return s(t,(function(t,n){var i=e(t.target),o=t.relatedTarget;if(i&&i!=(o&&1==o.nodeType&&e(o)))return n.call(i,t)}))},o}return n.add("dom-quirks",o.doc&&"BackCompat"==o.doc.compatMode),n.add("events-mouseenter",o.doc&&"onmouseenter"in o.doc.createElement("div")),n.add("events-mousewheel",o.doc&&"onmousewheel"in o.doc),r=n("dom-quirks")&&n("ie")||!n("dom-addeventlistener")?{LEFT:1,MIDDLE:4,RIGHT:2,isButton:function(t,e){return t.button&e},isLeft:function(t){return 1&t.button},isMiddle:function(t){return 4&t.button},isRight:function(t){return 2&t.button}}:{LEFT:0,MIDDLE:1,RIGHT:2,isButton:function(t,e){return t.button==e},isLeft:function(t){return 0==t.button},isMiddle:function(t){return 1==t.button},isRight:function(t){return 2==t.button}},t.mouseButtons=r,a=n("events-mousewheel")?"mousewheel":function(t,n){return e(t,"DOMMouseScroll",(function(t){t.wheelDelta=-t.detail,n.call(this,t)}))},{_eventHandler:s,enter:s("mouseover"),leave:s("mouseout"),wheel:a,isLeft:r.isLeft,isMiddle:r.isMiddle,isRight:r.isRight}}))},"dojo/keys":function(){define(["./_base/kernel","./sniff"],(function(t,e){return t.keys={BACKSPACE:8,TAB:9,CLEAR:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,META:e("webkit")?91:224,PAUSE:19,CAPS_LOCK:20,ESCAPE:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT_ARROW:37,UP_ARROW:38,RIGHT_ARROW:39,DOWN_ARROW:40,INSERT:45,DELETE:46,HELP:47,LEFT_WINDOW:91,RIGHT_WINDOW:92,SELECT:93,NUMPAD_0:96,NUMPAD_1:97,NUMPAD_2:98,NUMPAD_3:99,NUMPAD_4:100,NUMPAD_5:101,NUMPAD_6:102,NUMPAD_7:103,NUMPAD_8:104,NUMPAD_9:105,NUMPAD_MULTIPLY:106,NUMPAD_PLUS:107,NUMPAD_ENTER:108,NUMPAD_MINUS:109,NUMPAD_PERIOD:110,NUMPAD_DIVIDE:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,NUM_LOCK:144,SCROLL_LOCK:145,UP_DPAD:175,DOWN_DPAD:176,LEFT_DPAD:177,RIGHT_DPAD:178,copyKey:e("mac")&&!e("air")?e("safari")?91:224:17}}))},"dojo/_base/Color":function(){define(["./kernel","./lang","./array","./config"],(function(t,e,n,i){var o=t.Color=function(t){t&&this.setColor(t)};return o.named={black:[0,0,0],silver:[192,192,192],gray:[128,128,128],white:[255,255,255],maroon:[128,0,0],red:[255,0,0],purple:[128,0,128],fuchsia:[255,0,255],green:[0,128,0],lime:[0,255,0],olive:[128,128,0],yellow:[255,255,0],navy:[0,0,128],blue:[0,0,255],teal:[0,128,128],aqua:[0,255,255],transparent:i.transparentColor||[0,0,0,0]},e.extend(o,{r:255,g:255,b:255,a:1,_set:function(t,e,n,i){var o=this;o.r=t,o.g=e,o.b=n,o.a=i},setColor:function(t){return e.isString(t)?o.fromString(t,this):e.isArray(t)?o.fromArray(t,this):(this._set(t.r,t.g,t.b,t.a),t instanceof o||this.sanitize()),this},sanitize:function(){return this},toRgb:function(){var t=this;return[t.r,t.g,t.b]},toRgba:function(){var t=this;return[t.r,t.g,t.b,t.a]},toHex:function(){return"#"+n.map(["r","g","b"],(function(t){var e=this[t].toString(16);return e.length<2?"0"+e:e}),this).join("")},toCss:function(t){var e=this,n=e.r+", "+e.g+", "+e.b;return(t?"rgba("+n+", "+e.a:"rgb("+n)+")"},toString:function(){return this.toCss(!0)}}),o.blendColors=t.blendColors=function(t,e,n,i){var r=i||new o;return r.r=Math.round(t.r+(e.r-t.r)*n),r.g=Math.round(t.g+(e.g-t.g)*n),r.b=Math.round(t.b+(e.b-t.b)*n),r.a=t.a+(e.a-t.a)*n,r.sanitize()},o.fromRgb=t.colorFromRgb=function(t,e){var n=t.toLowerCase().match(/^rgba?\(([\s\.,0-9]+)\)/);return n&&o.fromArray(n[1].split(/\s*,\s*/),e)},o.fromHex=t.colorFromHex=function(t,e){var i=e||new o,r=4==t.length?4:8,a=(1<<r)-1;return t=Number("0x"+t.substr(1)),isNaN(t)?null:(n.forEach(["b","g","r"],(function(e){var n=t&a;t>>=r,i[e]=4==r?17*n:n})),i.a=1,i)},o.fromArray=t.colorFromArray=function(t,e){var n=e||new o;return n._set(Number(t[0]),Number(t[1]),Number(t[2]),Number(t[3])),isNaN(n.a)&&(n.a=1),n.sanitize()},o.fromString=t.colorFromString=function(t,e){var n=o.named[t];return n&&o.fromArray(n,e)||o.fromRgb(t,e)||o.fromHex(t,e)},o}))},"dojo/_base/browser":function(){require.has&&require.has.add("config-selectorEngine","acme"),define(["../ready","./kernel","./connect","./unload","./window","./event","./html","./NodeList","../query","./xhr","./fx"],(function(t){return t}))},"dojo/_base/unload":function(){define(["./kernel","./lang","../on"],(function(t,e,n){var i=window,o={addOnWindowUnload:function(o,r){t.windowUnloaded||n(i,"unload",t.windowUnloaded=function(){}),n(i,"unload",e.hitch(o,r))},addOnUnload:function(t,o){n(i,"beforeunload",e.hitch(t,o))}};return t.addOnWindowUnload=o.addOnWindowUnload,t.addOnUnload=o.addOnUnload,o}))},"dojo/_base/html":function(){define(["./kernel","../dom","../dom-style","../dom-attr","../dom-prop","../dom-class","../dom-construct","../dom-geometry"],(function(t,e,n,i,o,r,a,s){return t.byId=e.byId,t.isDescendant=e.isDescendant,t.setSelectable=e.setSelectable,t.getAttr=i.get,t.setAttr=i.set,t.hasAttr=i.has,t.removeAttr=i.remove,t.getNodeProp=i.getNodeProp,t.attr=function(t,e,n){return 2==arguments.length?i["string"==typeof e?"get":"set"](t,e):i.set(t,e,n)},t.hasClass=r.contains,t.addClass=r.add,t.removeClass=r.remove,t.toggleClass=r.toggle,t.replaceClass=r.replace,t._toDom=t.toDom=a.toDom,t.place=a.place,t.create=a.create,t.empty=function(t){a.empty(t)},t._destroyElement=t.destroy=function(t){a.destroy(t)},t._getPadExtents=t.getPadExtents=s.getPadExtents,t._getBorderExtents=t.getBorderExtents=s.getBorderExtents,t._getPadBorderExtents=t.getPadBorderExtents=s.getPadBorderExtents,t._getMarginExtents=t.getMarginExtents=s.getMarginExtents,t._getMarginSize=t.getMarginSize=s.getMarginSize,t._getMarginBox=t.getMarginBox=s.getMarginBox,t.setMarginBox=s.setMarginBox,t._getContentBox=t.getContentBox=s.getContentBox,t.setContentSize=s.setContentSize,t._isBodyLtr=t.isBodyLtr=s.isBodyLtr,t._docScroll=t.docScroll=s.docScroll,t._getIeDocumentElementOffset=t.getIeDocumentElementOffset=s.getIeDocumentElementOffset,t._fixIeBiDiScrollLeft=t.fixIeBiDiScrollLeft=s.fixIeBiDiScrollLeft,t.position=s.position,t.marginBox=function(t,e){return e?s.setMarginBox(t,e):s.getMarginBox(t)},t.contentBox=function(t,e){return e?s.setContentSize(t,e):s.getContentBox(t)},t.coords=function(i,o){t.deprecated("dojo.coords()","Use dojo.position() or dojo.marginBox()."),i=e.byId(i);var r=n.getComputedStyle(i),a=s.getMarginBox(i,r),l=s.position(i,o);return a.x=l.x,a.y=l.y,a},t.getProp=o.get,t.setProp=o.set,t.prop=function(t,e,n){return 2==arguments.length?o["string"==typeof e?"get":"set"](t,e):o.set(t,e,n)},t.getStyle=n.get,t.setStyle=n.set,t.getComputedStyle=n.getComputedStyle,t.__toPixelValue=t.toPixelValue=n.toPixelValue,t.style=function(t,e,i){switch(arguments.length){case 1:return n.get(t);case 2:return n["string"==typeof e?"get":"set"](t,e)}return n.set(t,e,i)},t}))},"dojo/dom-attr":function(){define(["exports","./sniff","./_base/lang","./dom","./dom-style","./dom-prop"],(function(t,e,n,i,o,r){var a={innerHTML:1,textContent:1,className:1,htmlFor:e("ie"),value:1},s={classname:"class",htmlfor:"for",tabindex:"tabIndex",readonly:"readOnly"};function l(t,e){var n=t.getAttributeNode&&t.getAttributeNode(e);return!!n&&n.specified}t.has=function(t,e){var n=e.toLowerCase();return a[r.names[n]||e]||l(i.byId(t),s[n]||e)},t.get=function(t,e){t=i.byId(t);var o=e.toLowerCase(),c=r.names[o]||e,d=a[c],h=t[c];if(d&&void 0!==h)return h;if("textContent"==c)return r.get(t,c);if("href"!=c&&("boolean"==typeof h||n.isFunction(h)))return h;var u=s[o]||e;return l(t,u)?t.getAttribute(u):null},t.set=function(e,l,c){if(e=i.byId(e),2==arguments.length){for(var d in l)t.set(e,d,l[d]);return e}var h=l.toLowerCase(),u=r.names[h]||l,f=a[u];return"style"==u&&"string"!=typeof c?(o.set(e,c),e):f||"boolean"==typeof c||n.isFunction(c)?r.set(e,l,c):(e.setAttribute(s[h]||l,c),e)},t.remove=function(t,e){i.byId(t).removeAttribute(s[e.toLowerCase()]||e)},t.getNodeProp=function(t,e){t=i.byId(t);var n=e.toLowerCase(),o=r.names[n]||e;if(o in t&&"href"!=o)return t[o];var a=s[n]||e;return l(t,a)?t.getAttribute(a):null}}))},"dojo/dom-prop":function(){define(["exports","./_base/kernel","./sniff","./_base/lang","./dom","./dom-style","./dom-construct","./_base/connect"],(function(t,e,n,i,o,r,a,s){var l={},c=0,d=e._scopeName+"attrid";function h(t){for(var e,n="",i=t.childNodes,o=0;e=i[o];o++)8!=e.nodeType&&(1==e.nodeType?n+=h(e):n+=e.nodeValue);return n}n.add("dom-textContent",(function(t,e,n){return"textContent"in n})),t.names={class:"className",for:"htmlFor",tabindex:"tabIndex",readonly:"readOnly",colspan:"colSpan",frameborder:"frameBorder",rowspan:"rowSpan",textcontent:"textContent",valuetype:"valueType"},t.get=function(e,i){e=o.byId(e);var r=i.toLowerCase(),a=t.names[r]||i;return"textContent"!=a||n("dom-textContent")?e[a]:h(e)},t.set=function(e,h,u){if(e=o.byId(e),2==arguments.length&&"string"!=typeof h){for(var f in h)t.set(e,f,h[f]);return e}var p=h.toLowerCase(),m=t.names[p]||h;if("style"==m&&"string"!=typeof u)return r.set(e,u),e;if("innerHTML"==m)return n("ie")&&e.tagName.toLowerCase()in{col:1,colgroup:1,table:1,tbody:1,tfoot:1,thead:1,tr:1,title:1}?(a.empty(e),e.appendChild(a.toDom(u,e.ownerDocument))):e[m]=u,e;if("textContent"==m&&!n("dom-textContent"))return a.empty(e),e.appendChild(e.ownerDocument.createTextNode(u)),e;if(i.isFunction(u)){var g=e[d];g||(g=c++,e[d]=g),l[g]||(l[g]={});var y=l[g][m];if(y)s.disconnect(y);else try{delete e[m]}catch(t){}return u?l[g][m]=s.connect(e,m,u):e[m]=null,e}return e[m]=u,e}}))},"dojo/dom-construct":function(){define(["exports","./_base/kernel","./sniff","./_base/window","./dom","./dom-attr"],(function(t,e,n,i,o,r){var a,s={option:["select"],tbody:["table"],thead:["table"],tfoot:["table"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","thead","tr"],legend:["fieldset"],caption:["table"],colgroup:["table"],col:["table","colgroup"],li:["ul"]},l=/<\s*([\w\:]+)/,c={},d=0,h="__"+e._scopeName+"ToDomId";for(var u in s)if(s.hasOwnProperty(u)){var f=s[u];f.pre="option"==u?'<select multiple="multiple">':"<"+f.join("><")+">",f.post="</"+f.reverse().join("></")+">"}function p(t,e){var n=e.parentNode;n&&n.insertBefore(t,e)}n("ie")<=8&&(a=function(t){t.__dojo_html5_tested="yes";var e=m("div",{innerHTML:"<nav>a</nav>",style:{visibility:"hidden"}},t.body);1!==e.childNodes.length&&"abbr article aside audio canvas details figcaption figure footer header hgroup mark meter nav output progress section summary time video".replace(/\b\w+\b/g,(function(e){t.createElement(e)})),y(e)}),t.toDom=function(t,e){var o=(e=e||i.doc)[h];o||(e[h]=o=++d+"",c[o]=e.createElement("div")),n("ie")<=8&&!e.__dojo_html5_tested&&e.body&&a(e);var r,u,f,p,m=(t+="").match(l),g=m?m[1].toLowerCase():"",y=c[o];if(m&&s[g])for(r=s[g],y.innerHTML=r.pre+t+r.post,u=r.length;u;--u)y=y.firstChild;else y.innerHTML=t;if(1==y.childNodes.length)return y.removeChild(y.firstChild);for(p=e.createDocumentFragment();f=y.firstChild;)p.appendChild(f);return p},t.place=function(e,n,i){if(n=o.byId(n),"string"==typeof e&&(e=/^\s*</.test(e)?t.toDom(e,n.ownerDocument):o.byId(e)),"number"==typeof i){var r=n.childNodes;!r.length||r.length<=i?n.appendChild(e):p(e,r[i<0?0:i])}else switch(i){case"before":p(e,n);break;case"after":!function(t,e){var n=e.parentNode;n&&(n.lastChild==e?n.appendChild(t):n.insertBefore(t,e.nextSibling))}(e,n);break;case"replace":n.parentNode.replaceChild(e,n);break;case"only":t.empty(n),n.appendChild(e);break;case"first":if(n.firstChild){p(e,n.firstChild);break}default:n.appendChild(e)}return e};var m=t.create=function(e,n,a,s){var l=i.doc;return a&&(l=(a=o.byId(a)).ownerDocument),"string"==typeof e&&(e=l.createElement(e)),n&&r.set(e,n),a&&t.place(e,a,s),e};function g(t){if("innerHTML"in t)try{return void(t.innerHTML="")}catch(t){}for(var e;e=t.lastChild;)t.removeChild(e)}t.empty=function(t){g(o.byId(t))};var y=t.destroy=function(t){(t=o.byId(t))&&function(t,e){t.firstChild&&g(t),e&&(n("ie")&&e.canHaveChildren&&"removeNode"in t?t.removeNode(!1):e.removeChild(t))}(t,t.parentNode)}}))},"dojo/dom-class":function(){define(["./_base/lang","./_base/array","./dom"],(function(t,e,n){var i,o="className",r=/\s+/,a=[""];function s(t){if("string"==typeof t||t instanceof String){if(t&&!r.test(t))return a[0]=t,a;var n=t.split(r);return n.length&&!n[0]&&n.shift(),n.length&&!n[n.length-1]&&n.pop(),n}return t?e.filter(t,(function(t){return t})):[]}var l={};return i={contains:function(t,e){return(" "+n.byId(t)[o]+" ").indexOf(" "+e+" ")>=0},add:function(t,e){t=n.byId(t),e=s(e);var i,r=t[o];i=(r=r?" "+r+" ":" ").length;for(var a,l=0,c=e.length;l<c;++l)(a=e[l])&&r.indexOf(" "+a+" ")<0&&(r+=a+" ");i<r.length&&(t[o]=r.substr(1,r.length-2))},remove:function(e,i){var r;if(e=n.byId(e),void 0!==i){i=s(i),r=" "+e[o]+" ";for(var a=0,l=i.length;a<l;++a)r=r.replace(" "+i[a]+" "," ");r=t.trim(r)}else r="";e[o]!=r&&(e[o]=r)},replace:function(t,e,r){t=n.byId(t),l[o]=t[o],i.remove(l,r),i.add(l,e),t[o]!==l[o]&&(t[o]=l[o])},toggle:function(t,e,o){if(t=n.byId(t),void 0===o)for(var r,a=0,l=(e=s(e)).length;a<l;++a)r=e[a],i[i.contains(t,r)?"remove":"add"](t,r);else i[o?"add":"remove"](t,e);return o}}}))},"dojo/_base/NodeList":function(){define(["./kernel","../query","./array","./html","../NodeList-dom"],(function(t,e,n){var i=e.NodeList,o=i.prototype;return o.connect=i._adaptAsForEach((function(){return t.connect.apply(this,arguments)})),o.coords=i._adaptAsMap(t.coords),i.events=["blur","focus","change","click","error","keydown","keypress","keyup","load","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","submit"],n.forEach(i.events,(function(t){var e="on"+t;o[e]=function(t,n){return this.connect(e,t,n)}})),t.NodeList=i,i}))},"dojo/query":function(){define(["./_base/kernel","./has","./dom","./on","./_base/array","./_base/lang","./selector/_loader","./selector/_loader!default"],(function(t,e,n,i,o,r,a,s){"use strict";e.add("array-extensible",(function(){return 1==r.delegate([],{length:1}).length&&!e("bug-for-in-skips-shadowed")}));var l=Array.prototype,c=l.slice,d=l.concat,h=o.forEach,u=function(e,n,i){return n=[0].concat(c.call(n,0)),i=i||t.global,function(t){return n[0]=t,e.apply(i,n)}},f=function(t){var n=this instanceof p&&e("array-extensible");"number"==typeof t&&(t=Array(t));var i=t&&"length"in t?t:arguments;if(n||!i.sort){for(var o=n?this:[],a=o.length=i.length,s=0;s<a;s++)o[s]=i[s];if(n)return o;i=o}return r._mixin(i,m),i._NodeListCtor=function(t){return p(t)},i},p=f,m=p.prototype=e("array-extensible")?[]:{};function g(t,e){var i=function(i,o){if("string"==typeof o&&!(o=n.byId(o)))return new e([]);var r="string"==typeof i?t(i,o):i?i.end&&i.on?i:[i]:[];return r.end&&r.on?r:new e(r)};if(i.matches=t.match||function(t,e,n){return i.filter([t],e,n).length>0},i.filter=t.filter||function(t,e,n){return i(e,n).filter((function(e){return o.indexOf(t,e)>-1}))},"function"!=typeof t){var r=t.search;t=function(t,e){return r(e||document,t)}}return i}p._wrap=m._wrap=function(t,e,n){var i=new(n||this._NodeListCtor||p)(t);return e?i._stash(e):i},p._adaptAsMap=function(t,e){return function(){return this.map(u(t,arguments,e))}},p._adaptAsForEach=function(t,e){return function(){return this.forEach(u(t,arguments,e)),this}},p._adaptAsFilter=function(t,e){return function(){return this.filter(u(t,arguments,e))}},p._adaptWithCondition=function(e,n,i){return function(){var o=arguments,r=u(e,o,i);return n.call(i||t.global,o)?this.map(r):(this.forEach(r),this)}},h(["slice","splice"],(function(t){var e=l[t];m[t]=function(){return this._wrap(e.apply(this,arguments),"slice"==t?this:null)}})),h(["indexOf","lastIndexOf","every","some"],(function(e){var n=o[e];m[e]=function(){return n.apply(t,[this].concat(c.call(arguments,0)))}})),r.extend(f,{constructor:p,_NodeListCtor:p,toString:function(){return this.join(",")},_stash:function(t){return this._parent=t,this},on:function(t,e){var n=this.map((function(n){return i(n,t,e)}));return n.remove=function(){for(var t=0;t<n.length;t++)n[t].remove()},n},end:function(){return this._parent?this._parent:new this._NodeListCtor(0)},concat:function(t){var e=c.call(this,0),n=o.map(arguments,(function(t){return c.call(t,0)}));return this._wrap(d.apply(e,n),this)},map:function(t,e){return this._wrap(o.map(this,t,e),this)},forEach:function(t,e){return h(this,t,e),this},filter:function(t){var e=arguments,n=this,i=0;if("string"==typeof t){if(n=y._filterResult(this,e[0]),1==e.length)return n._stash(this);i=1}return this._wrap(o.filter(n,e[i],e[i+1]),this)},instantiate:function(t,e){var n=r.isFunction(t)?t:r.getObject(t);return e=e||{},this.forEach((function(t){new n(e,t)}))},at:function(){var t=new this._NodeListCtor(0);return h(arguments,(function(e){e<0&&(e=this.length+e),this[e]&&t.push(this[e])}),this),t._stash(this)}});var y=g(s,f);return t.query=g(s,(function(t){return f(t)})),y.load=function(t,e,n){a.load(t,e,(function(t){n(g(t,f))}))},t._filterQueryResult=y._filterResult=function(t,e,n){return new f(y.filter(t,e,n))},t.NodeList=y.NodeList=f,y}))},"dojo/selector/acme":function(){define(["../dom","../sniff","../_base/array","../_base/lang","../_base/window"],(function(t,e,n,i,o){var r=i.trim,a=n.forEach,s=function(){return o.doc},l="BackCompat"==s().compatMode,c=">~+",d=!1,h=function(){return!0},u=function(t){c.indexOf(t.slice(-1))>=0?t+=" * ":t+=" ";for(var e,n,i=function(e,n){return r(t.slice(e,n))},o=[],a=-1,s=-1,l=-1,h=-1,u=-1,f=-1,p=-1,m="",g="",y=0,v=t.length,b=null,x=null,_=function(){f>=0&&(b.id=i(f,y).replace(/\\/g,""),f=-1),function(){if(p>=0){var t=p==y?null:i(p,y);b[c.indexOf(t)<0?"tag":"oper"]=t,p=-1}}(),u>=0&&(b.classes.push(i(u+1,y).replace(/\\/g,"")),u=-1)};m=g,g=t.charAt(y),y<v;y++)if("\\"!=m)if(b||(n=y,b={query:null,pseudos:[],attrs:[],classes:[],tag:null,oper:null,id:null,getTag:function(){return d?this.otag:this.tag}},p=y),e)g==e&&(e=null);else if("'"!=g&&'"'!=g)if(a>=0){if("]"==g){x.attr?x.matchFor=i(l||a+1,y):x.attr=i(a+1,y);var j=x.matchFor;j&&('"'!=j.charAt(0)&&"'"!=j.charAt(0)||(x.matchFor=j.slice(1,-1))),x.matchFor&&(x.matchFor=x.matchFor.replace(/\\/g,"")),b.attrs.push(x),x=null,a=l=-1}else if("="==g){var w="|~^$*".indexOf(m)>=0?m:"";x.type=w+g,x.attr=i(a+1,y-w.length),l=y+1}}else s>=0?")"==g&&(h>=0&&(x.value=i(s+1,y)),h=s=-1):"#"==g?(_(),f=y+1):"."==g?(_(),u=y):":"==g?(_(),h=y):"["==g?(_(),a=y,x={}):"("==g?(h>=0&&(x={name:i(h+1,y),value:null},b.pseudos.push(x)),s=y):" "==g&&m!=g&&(_(),h>=0&&b.pseudos.push({name:i(h+1,y)}),b.loops=b.pseudos.length||b.attrs.length||b.classes.length,b.oquery=b.query=i(n,y),b.otag=b.tag=b.oper?null:b.tag||"*",b.tag&&(b.tag=b.tag.toUpperCase()),o.length&&o[o.length-1].oper&&(b.infixOper=o.pop(),b.query=b.infixOper.query+" "+b.query),o.push(b),b=null);else e=g;return o},f=function(t,e){return t?e?function(){return t.apply(window,arguments)&&e.apply(window,arguments)}:t:e},p=function(t,e){var n=e||[];return t&&n.push(t),n},m=function(t){return 1==t.nodeType},g=function(t,e){return t?"class"==e?t.className||"":"for"==e?t.htmlFor||"":"style"==e?t.style.cssText||"":(d?t.getAttribute(e):t.getAttribute(e,2))||"":""},y={"*=":function(t,e){return function(n){return g(n,t).indexOf(e)>=0}},"^=":function(t,e){return function(n){return 0==g(n,t).indexOf(e)}},"$=":function(t,e){return function(n){var i=" "+g(n,t),o=i.lastIndexOf(e);return o>-1&&o==i.length-e.length}},"~=":function(t,e){var n=" "+e+" ";return function(e){return(" "+g(e,t)+" ").indexOf(n)>=0}},"|=":function(t,e){var n=e+"-";return function(i){var o=g(i,t);return o==e||0==o.indexOf(n)}},"=":function(t,e){return function(n){return g(n,t)==e}}},v=s().documentElement,b=!(v.nextElementSibling||"nextElementSibling"in v),x=b?"nextSibling":"nextElementSibling",_=b?"previousSibling":"previousElementSibling",j=b?m:h,w=function(t){for(;t=t[_];)if(j(t))return!1;return!0},k=function(t){for(;t=t[x];)if(j(t))return!1;return!0},C=function(t){var n=t.parentNode,i=0,o=(n=7!=n.nodeType?n:n.nextSibling).children||n.childNodes,r=t._i||t.getAttribute("_i")||-1,a=n._l||(void 0!==n.getAttribute?n.getAttribute("_l"):-1);if(!o)return-1;var s=o.length;if(a==s&&r>=0&&a>=0)return r;e("ie")&&void 0!==n.setAttribute?n.setAttribute("_l",s):n._l=s,r=-1;for(var l=n.firstElementChild||n.firstChild;l;l=l[x])j(l)&&(e("ie")?l.setAttribute("_i",++i):l._i=++i,t===l&&(r=i));return r},S=function(t){return!(C(t)%2)},M=function(t){return C(t)%2},T={checked:function(t,e){return function(t){return!!("checked"in t?t.checked:t.selected)}},disabled:function(t,e){return function(t){return t.disabled}},enabled:function(t,e){return function(t){return!t.disabled}},"first-child":function(){return w},"last-child":function(){return k},"only-child":function(t,e){return function(t){return w(t)&&k(t)}},empty:function(t,e){return function(t){for(var e=t.childNodes,n=t.childNodes.length-1;n>=0;n--){var i=e[n].nodeType;if(1===i||3==i)return!1}return!0}},contains:function(t,e){var n=e.charAt(0);return'"'!=n&&"'"!=n||(e=e.slice(1,-1)),function(t){return t.innerHTML.indexOf(e)>=0}},not:function(t,e){var n=u(e)[0],i={el:1};"*"!=n.tag&&(i.tag=1),n.classes.length||(i.classes=1);var o=N(n,i);return function(t){return!o(t)}},"nth-child":function(t,e){var n=parseInt;if("odd"==e)return M;if("even"==e)return S;if(-1!=e.indexOf("n")){var i=e.split("n",2),o=i[0]?"-"==i[0]?-1:n(i[0]):1,r=i[1]?n(i[1]):0,a=0,s=-1;if(o>0?r<0?r=r%o&&o+r%o:r>0&&(r>=o&&(a=r-r%o),r%=o):o<0&&(o*=-1,r>0&&(s=r,r%=o)),o>0)return function(t){var e=C(t);return e>=a&&(s<0||e<=s)&&e%o==r};e=r}var l=n(e);return function(t){return C(t)==l}}},A=e("ie")<9||9==e("ie")&&e("quirks")?function(t){var e=t.toLowerCase();return"class"==e&&(t="className"),function(n){return d?n.getAttribute(t):n[t]||n[e]}}:function(t){return function(e){return e&&e.getAttribute&&e.hasAttribute(t)}},N=function(t,e){if(!t)return h;var n=null;return"el"in(e=e||{})||(n=f(n,m)),"tag"in e||"*"!=t.tag&&(n=f(n,(function(e){return e&&(d?e.tagName:e.tagName.toUpperCase())==t.getTag()}))),"classes"in e||a(t.classes,(function(t,e,i){var o=new RegExp("(?:^|\\s)"+t+"(?:\\s|$)");(n=f(n,(function(t){return o.test(t.className)}))).count=e})),"pseudos"in e||a(t.pseudos,(function(t){var e=t.name;T[e]&&(n=f(n,T[e](e,t.value)))})),"attrs"in e||a(t.attrs,(function(t){var e,i=t.attr;t.type&&y[t.type]?e=y[t.type](i,t.matchFor):i.length&&(e=A(i)),e&&(n=f(n,e))})),"id"in e||t.id&&(n=f(n,(function(e){return!!e&&e.id==t.id}))),n||"default"in e||(n=h),n},E={},P=function(e){var n=E[e.query];if(n)return n;var i,o,r,a=e.infixOper,c=a?a.oper:"",d=N(e,{el:1}),u="*"==e.tag,f=s().getElementsByClassName;if(c){var g={el:1};u&&(g.tag=1),d=N(e,g),"+"==c?(r=d,n=function(t,e,n){for(;t=t[x];)if(!b||m(t)){n&&!V(t,n)||!r(t)||e.push(t);break}return e}):"~"==c?(o=d,n=function(t,e,n){for(var i=t[x];i;){if(j(i)){if(n&&!V(i,n))break;o(i)&&e.push(i)}i=i[x]}return e}):">"==c&&(i=(i=d)||h,n=function(t,e,n){for(var o,r=0,a=t.children||t.childNodes;o=a[r++];)j(o)&&(!n||V(o,n))&&i(o,r)&&e.push(o);return e})}else if(e.id)d=!e.loops&&u?h:N(e,{el:1,id:1}),n=function(n,i){var o=t.byId(e.id,n.ownerDocument||n);if(o&&d(o))return 9==n.nodeType||function(t,e){for(var n=t.parentNode;n&&n!=e;)n=n.parentNode;return!!n}(o,n)?p(o,i):void 0};else if(f&&/\{\s*\[native code\]\s*\}/.test(String(f))&&e.classes.length&&!l){d=N(e,{el:1,classes:1,id:1});var y=e.classes.join(" ");n=function(t,e,n){for(var i,o=p(0,e),r=0,a=t.getElementsByClassName(y);i=a[r++];)d(i,t)&&V(i,n)&&o.push(i);return o}}else u||e.loops?(d=N(e,{el:1,tag:1,id:1}),n=function(t,n,i){for(var o,r=p(0,n),a=0,s=e.getTag(),l=s?t.getElementsByTagName(s):[];o=l[a++];)d(o,t)&&V(o,i)&&r.push(o);return r}):n=function(t,n,i){for(var o,r=p(0,n),a=0,s=e.getTag(),l=s?t.getElementsByTagName(s):[];o=l[a++];)V(o,i)&&r.push(o);return r};return E[e.query]=n},L={},D={},F=function(t){var e=u(r(t));if(1==e.length){var n=P(e[0]);return function(t){var e=n(t,[]);return e&&(e.nozip=!0),e}}return function(t){return function(t,e){for(var n,i,o,r,a=p(t),s=e.length,l=0;l<s;l++){r=[],n=e[l],a.length-1>0&&(o={},r.nozip=!0);for(var c=P(n),d=0;i=a[d];d++)c(i,r,o);if(!r.length)break;a=r}return r}(t,e)}},I=e("ie")?"commentStrip":"nozip",R="querySelectorAll",B=!!s()[R],O=/\\[>~+]|n\+\d|([^ \\])?([>~+])([^ =])?/g,W=function(t,e,n,i){return n?(e?e+" ":"")+n+(i?" "+i:""):t},z=/([^[]*)([^\]]*])?/g,q=function(t,e,n){return e.replace(O,W)+(n||"")},H=function(t,n){if(t=t.replace(z,q),B){var i=D[t];if(i&&!n)return i}var o=L[t];if(o)return o;var r=t.charAt(0),a=-1==t.indexOf(" ");if(t.indexOf("#")>=0&&a&&(n=!0),B&&!n&&-1==c.indexOf(r)&&(!e("ie")||-1==t.indexOf(":"))&&!(l&&t.indexOf(".")>=0)&&-1==t.indexOf(":contains")&&-1==t.indexOf(":checked")&&-1==t.indexOf("|=")){var s=c.indexOf(t.charAt(t.length-1))>=0?t+" *":t;return D[t]=function(e){try{if(9!=e.nodeType&&!a)throw"";var n=e[R](s);return n[I]=!0,n}catch(n){return H(t,!0)(e)}}}var d=t.match(/([^\s,](?:"(?:\\.|[^"])+"|'(?:\\.|[^'])+'|[^,])*)/g);return L[t]=d.length<2?F(t):function(t){for(var e,n=0,i=[];e=d[n++];)i=i.concat(F(e)(t));return i}},U=0,G=e("ie")?function(t){return d?t.getAttribute("_uid")||t.setAttribute("_uid",++U)||U:t.uniqueID}:function(t){return t._uid||(t._uid=++U)},V=function(t,e){if(!e)return 1;var n=G(t);return e[n]?0:e[n]=1},K="_zipIdx",X=function(t,n){var i=(n=n||s()).ownerDocument||n;d="div"===i.createElement("div").tagName;var o=H(t)(n);return o&&o.nozip?o:function(t){if(t&&t.nozip)return t;if(!t||!t.length)return[];if(t.length<2)return[t[0]];var n,i,o=[];if(U++,e("ie")&&d){var r=U+"";for(n=0;n<t.length;n++)(i=t[n])&&i.getAttribute(K)!=r&&(o.push(i),i.setAttribute(K,r))}else if(e("ie")&&t.commentStrip)try{for(n=0;n<t.length;n++)(i=t[n])&&m(i)&&o.push(i)}catch(t){}else for(n=0;n<t.length;n++)(i=t[n])&&i[K]!=U&&(o.push(i),i[K]=U);return o}(o)};return X.filter=function(e,i,o){for(var r,a=[],s=u(i),l=1!=s.length||/[^\w#\.]/.test(i)?function(e){return-1!=n.indexOf(X(i,t.byId(o)),e)}:N(s[0]),c=0;r=e[c];c++)l(r)&&a.push(r);return a},X}))},"dojo/NodeList-dom":function(){define(["./_base/kernel","./query","./_base/array","./_base/lang","./dom-class","./dom-construct","./dom-geometry","./dom-attr","./dom-style"],(function(t,e,n,i,o,r,a,s,l){var c=function(t){return 1==t.length&&"string"==typeof t[0]},d=function(t){var e=t.parentNode;e&&e.removeChild(t)},h=e.NodeList,u=h._adaptWithCondition,f=h._adaptAsForEach,p=h._adaptAsMap;function m(t){return function(e,n,i){return 2==arguments.length?t["string"==typeof n?"get":"set"](e,n):t.set(e,n,i)}}return i.extend(h,{_normalize:function(e,n){var o=!0===e.parse;if("string"==typeof e.template){var a=e.templateFunc||t.string&&t.string.substitute;e=a?a(e.template,e):e}var s=typeof e;return"string"==s||"number"==s?e=11==(e=r.toDom(e,n&&n.ownerDocument)).nodeType?i._toArray(e.childNodes):[e]:i.isArrayLike(e)?i.isArray(e)||(e=i._toArray(e)):e=[e],o&&(e._runParse=!0),e},_cloneNode:function(t){return t.cloneNode(!0)},_place:function(e,n,i,o){if(1==n.nodeType||"only"!=i)for(var a,s=n,l=e.length,c=l-1;c>=0;c--){var d=o?this._cloneNode(e[c]):e[c];if(e._runParse&&t.parser&&t.parser.parse)for(a||(a=s.ownerDocument.createElement("div")),a.appendChild(d),t.parser.parse(a),d=a.firstChild;a.firstChild;)a.removeChild(a.firstChild);c==l-1?r.place(d,s,i):s.parentNode.insertBefore(d,s),s=d}},position:p(a.position),attr:u(m(s),c),style:u(m(l),c),addClass:f(o.add),removeClass:f(o.remove),toggleClass:f(o.toggle),replaceClass:f(o.replace),empty:f(r.empty),removeAttr:f(s.remove),marginBox:p(a.getMarginBox),place:function(t,n){var i=e(t)[0];return this.forEach((function(t){r.place(t,i,n)}))},orphan:function(t){return(t?e._filterResult(this,t):this).forEach(d)},adopt:function(t,n){return e(t).place(this[0],n)._stash(this)},query:function(t){if(!t)return this;var n=new h;return this.map((function(i){e(t,i).forEach((function(t){void 0!==t&&n.push(t)}))})),n._stash(this)},filter:function(t){var i=arguments,o=this,r=0;if("string"==typeof t){if(o=e._filterResult(this,i[0]),1==i.length)return o._stash(this);r=1}return this._wrap(n.filter(o,i[r],i[r+1]),this)},addContent:function(t,e){t=this._normalize(t,this[0]);for(var n,i=0;n=this[i];i++)t.length?this._place(t,n,e,i>0):r.empty(n);return this}}),h}))},"dojo/_base/fx":function(){define(["./kernel","./config","./lang","../Evented","./Color","../aspect","../sniff","../dom","../dom-style"],(function(t,e,n,i,o,r,a,s,l){var c=n.mixin,d={},h=d._Line=function(t,e){this.start=t,this.end=e};h.prototype.getValue=function(t){return(this.end-this.start)*t+this.start};var u=d.Animation=function(t){c(this,t),n.isArray(this.curve)&&(this.curve=new h(this.curve[0],this.curve[1]))};u.prototype=new i,n.extend(u,{duration:350,repeat:0,rate:20,_percent:0,_startRepeatCount:0,_getStep:function(){var t=this._percent,e=this.easing;return e?e(t):t},_fire:function(t,n){var i=n||[];if(this[t])if(e.debugAtAllCosts)this[t].apply(this,i);else try{this[t].apply(this,i)}catch(e){console.error("exception in animation handler for:",t),console.error(e)}return this},play:function(t,e){var i=this;if(i._delayTimer&&i._clearTimer(),e)i._stopTimer(),i._active=i._paused=!1,i._percent=0;else if(i._active&&!i._paused)return i;i._fire("beforeBegin",[i.node]);var o=t||i.delay,r=n.hitch(i,"_play",e);return o>0?(i._delayTimer=setTimeout(r,o),i):(r(),i)},_play:function(t){var e=this;e._delayTimer&&e._clearTimer(),e._startTime=(new Date).valueOf(),e._paused&&(e._startTime-=e.duration*e._percent),e._active=!0,e._paused=!1;var n=e.curve.getValue(e._getStep());return e._percent||(e._startRepeatCount||(e._startRepeatCount=e.repeat),e._fire("onBegin",[n])),e._fire("onPlay",[n]),e._cycle(),e},pause:function(){var t=this;return t._delayTimer&&t._clearTimer(),t._stopTimer(),t._active?(t._paused=!0,t._fire("onPause",[t.curve.getValue(t._getStep())]),t):t},gotoPercent:function(t,e){var n=this;return n._stopTimer(),n._active=n._paused=!0,n._percent=t,e&&n.play(),n},stop:function(t){var e=this;return e._delayTimer&&e._clearTimer(),e._timer?(e._stopTimer(),t&&(e._percent=1),e._fire("onStop",[e.curve.getValue(e._getStep())]),e._active=e._paused=!1,e):e},destroy:function(){this.stop()},status:function(){return this._active?this._paused?"paused":"playing":"stopped"},_cycle:function(){var t=this;if(t._active){var e=(new Date).valueOf(),n=0===t.duration?1:(e-t._startTime)/t.duration;n>=1&&(n=1),t._percent=n,t.easing&&(n=t.easing(n)),t._fire("onAnimate",[t.curve.getValue(n)]),t._percent<1?t._startTimer():(t._active=!1,t.repeat>0?(t.repeat--,t.play(null,!0)):-1==t.repeat?t.play(null,!0):t._startRepeatCount&&(t.repeat=t._startRepeatCount,t._startRepeatCount=0),t._percent=0,t._fire("onEnd",[t.node]),!t.repeat&&t._stopTimer())}return t},_clearTimer:function(){clearTimeout(this._delayTimer),delete this._delayTimer}});var f=0,p=null,m={run:function(){}};n.extend(u,{_startTimer:function(){this._timer||(this._timer=r.after(m,"run",n.hitch(this,"_cycle"),!0),f++),p||(p=setInterval(n.hitch(m,"run"),this.rate))},_stopTimer:function(){this._timer&&(this._timer.remove(),this._timer=null,f--),f<=0&&(clearInterval(p),p=null,f=0)}});var g=a("ie")?function(t){var e=t.style;e.width.length||"auto"!=l.get(t,"width")||(e.width="auto")}:function(){};d._fade=function(t){t.node=s.byId(t.node);var e=c({properties:{}},t),i=e.properties.opacity={};i.start="start"in e?e.start:function(){return+l.get(e.node,"opacity")||0},i.end=e.end;var o=d.animateProperty(e);return r.after(o,"beforeBegin",n.partial(g,e.node),!0),o},d.fadeIn=function(t){return d._fade(c({end:1},t))},d.fadeOut=function(t){return d._fade(c({end:0},t))},d._defaultEasing=function(t){return.5+Math.sin((t+1.5)*Math.PI)/2};var y=function(t){for(var e in this._properties=t,t){var n=t[e];n.start instanceof o&&(n.tempColor=new o)}};return y.prototype.getValue=function(t){var e={};for(var i in this._properties){var r=this._properties[i],a=r.start;a instanceof o?e[i]=o.blendColors(a,r.end,t,r.tempColor).toCss():n.isArray(a)||(e[i]=(r.end-a)*t+a+("opacity"!=i?r.units||"px":0))}return e},d.animateProperty=function(e){var i=e.node=s.byId(e.node);e.easing||(e.easing=t._defaultEasing);var a=new u(e);return r.after(a,"beforeBegin",n.hitch(a,(function(){var t={};for(var e in this.properties){"width"!=e&&"height"!=e||(this.node.display="block");var r=this.properties[e];n.isFunction(r)&&(r=r(i)),r=t[e]=c({},n.isObject(r)?r:{end:r}),n.isFunction(r.start)&&(r.start=r.start(i)),n.isFunction(r.end)&&(r.end=r.end(i));var a=e.toLowerCase().indexOf("color")>=0;function s(t,e){var n={height:t.offsetHeight,width:t.offsetWidth}[e];return void 0!==n?n:(n=l.get(t,e),"opacity"==e?+n:a?n:parseFloat(n))}"end"in r?"start"in r||(r.start=s(i,e)):r.end=s(i,e),a?(r.start=new o(r.start),r.end=new o(r.end)):r.start="opacity"==e?+r.start:parseFloat(r.start)}this.curve=new y(t)})),!0),r.after(a,"onAnimate",n.hitch(l,"set",a.node),!0),a},d.anim=function(t,e,n,i,o,r){return d.animateProperty({node:t,duration:n||u.prototype.duration,properties:e,easing:i,onEnd:o}).play(r||0)},c(t,d),t._Animation=u,d}))}}}),function(){var t=this.require;t({cache:{}}),!t.async&&t(["dojo"]),t.boot&&t.apply(null,t.boot)}()},5603:function(module,exports){!function(t,e){var n=function(){return void 0!==m&&"function"!=typeof m?m:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this}(),i=function(){},o=function(t){for(var e in t)return 0;return 1},r={}.toString,a=function(t){return"[object Function]"==r.call(t)},s=function(t){return"[object String]"==r.call(t)},l=function(t){return"[object Array]"==r.call(t)},c=function(t,e){if(t)for(var n=0;n<t.length;)e(t[n++])},d=function(t,e){for(var n in e)t[n]=e[n];return t},h=function(t,e){return d(new Error(t),{src:"dojoLoader",info:e})},u=1,f=function(){return"_"+u++},p=function(t,e,n){return lt(t,e,n,0,p)},m=n,g=m.document,y=g&&g.createElement("DiV"),v=p.has=function(t){return a(b[t])?b[t]=b[t](m,g,y):b[t]},b=v.cache=e.hasCache;for(var x in a(t)&&(t=t(n)),v.add=function(t,e,n,i){return(void 0===b[t]||i)&&(b[t]=e),n&&v(t)},v.add("host-webworker","undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope),v("host-webworker")&&(d(e.hasCache,{"host-browser":0,dom:0,"dojo-dom-ready-api":0,"dojo-sniff":0,"dojo-inject-api":1,"host-webworker":1,"dojo-guarantee-console":0}),e.loaderPatch={injectUrl:function(t,e){try{importScripts(t),e()}catch(e){console.info("failed to load resource ("+t+")"),console.error(e)}}}),t.has)v.add(x,t.has[x],0,1);var _,j=0,w="sync",k=[],C=0,S=i,M=i;p.isXdUrl=i,p.initSyncLoader=function(t,e,n){return C||(C=t,S=e,M=n),{sync:w,requested:1,arrived:2,nonmodule:3,executing:4,executed:5,syncExecStack:k,modules:U,execQ:dt,getModule:jt,injectModule:Gt,setArrived:ft,signal:I,finishExec:Lt,execModule:Ft,dojoRequirePlugin:C,getLegacyMode:function(){return j},guardCheckComplete:Rt}};var T=location.protocol,A=location.host;if(p.isXdUrl=function(t){if(/^\./.test(t))return!1;if(/^\/\//.test(t))return!0;var e=t.match(/^([^\/\:]+\:)\/+([^\/]+)/);return e&&(e[1]!=T||A&&e[2]!=A)},v.add("dojo-force-activex-xhr",!g.addEventListener&&"file:"==window.location.protocol),v.add("native-xhr","undefined"!=typeof XMLHttpRequest),v("native-xhr")&&!v("dojo-force-activex-xhr"))_=function(){return new XMLHttpRequest};else{for(var N,E=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],P=0;P<3;)try{if(N=E[P++],new ActiveXObject(N))break}catch(t){}_=function(){return new ActiveXObject(N)}}p.getXhr=_,v.add("dojo-gettext-api",1),p.getText=function(t,e,n){var i=_();if(i.open("GET",Ot(t),!1),i.send(null),200!=i.status&&(location.host||i.status))throw h("xhrFailed",i.status);return n&&n(i.responseText,e),i.responseText};var L=new Function("return eval(arguments[0]);");p.eval=function(t,e){return L(t+"\r\n//# sourceURL="+e)};var D={},F="error",I=p.signal=function(t,e){var n=D[t];c(n&&n.slice(0),(function(t){t.apply(null,l(e)?e:[e])}))},R=p.on=function(t,e){var n=D[t]||(D[t]=[]);return n.push(e),{remove:function(){for(var t=0;t<n.length;t++)if(n[t]===e)return void n.splice(t,1)}}},B=[],O={},W=[],z={},q=p.map={},H=[],U={},G="",V={},K="url:",X={},$={},Q=0,Y=function(t){var e,n,i,o,r;for(e in X)n=X[e],(i=e.match(/^url\:(.+)/))?V[K+kt(i[1],t)]=n:"*now"==e?o=n:"*noref"!=e&&(r=bt(e,t,!0),V[r.mid]=V[K+r.url]=n);o&&o(ct(t)),X={}},J=function(t){return t.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,(function(t){return"\\"+t}))},Z=function(t,e){for(var n in e.splice(0,e.length),t)e.push([n,t[n],new RegExp("^"+J(n)+"(/|$)"),n.length]);return e.sort((function(t,e){return e[3]-t[3]})),e},tt=function(t){var e=t.name;e||(t={name:e=t}),(t=d({main:"main"},t)).location=t.location?t.location:e,t.packageMap&&(q[e]=t.packageMap),t.main.indexOf("./")||(t.main=t.main.substring(2)),z[e]=t},et=[],nt=function(t,e,n){for(var i in t){if("waitSeconds"==i&&(p.waitms=1e3*(t[i]||0)),"cacheBust"==i&&(G=t[i]?s(t[i])?t[i]:(new Date).getTime()+"":""),"baseUrl"!=i&&"combo"!=i||(p[i]=t[i]),"async"==i){var o=t[i];p.legacyMode=j=s(o)&&/sync|legacyAsync/.test(o)?o:!o&&w,p.async=!j}t[i]!==b&&(p.rawConfig[i]=t[i],"has"!=i&&v.add("config-"+i,t[i],0,e))}for(i in p.baseUrl||(p.baseUrl="./"),/\/$/.test(p.baseUrl)||(p.baseUrl+="/"),t.has)v.add(i,t.has[i],0,e);for(var r in c(t.packages,tt),t.packagePaths)c(t.packagePaths[r],(function(t){var e=r+"/"+t;s(t)&&(t={name:t}),t.location=e,tt(t)}));if(Z(d(q,t.map),H),c(H,(function(t){t[1]=Z(t[1],[]),"*"==t[0]&&(H.star=t)})),Z(d(O,t.paths),W),function(t,e){c(t,(function(t){e.push([s(t[0])?new RegExp("^"+J(t[0])+"$"):t[0],t[1]])}))}(t.aliases,B),e)et.push({config:t.config});else for(i in t.config){var a=jt(i,n);a.config=d(a.config||{},t.config[i])}t.cache&&(Y(),X=t.cache,t.cache["*noref"]&&Y()),I("config",[t,p.rawConfig])};v("dojo-cdn");var it,ot,rt,at=g.getElementsByTagName("script");for(P=0;P<at.length;)(ot=(Yt=at[P++]).getAttribute("src"))&&(rt=ot.match(/(((.*)\/)|^)dojo\.js(\W|$)/i))&&(it=rt[3]||"",e.baseUrl=e.baseUrl||it,Q=Yt),(ot=Yt.getAttribute("data-dojo-config")||Yt.getAttribute("djConfig"))&&($=p.eval("({ "+ot+" })","data-dojo-config"),Q=Yt);p.rawConfig={},nt(e,1),v("dojo-cdn")&&(z.dojo.location=it,it&&(it+="/"),z.dijit.location=it+"../dijit/",z.dojox.location=it+"../dojox/"),nt(t,1),nt($,1);var st=function(t){Rt((function(){c(t.deps,Gt)}))},lt=function(t,e,n,o,r){var a,c;if(s(t)){if((a=jt(t,o,!0))&&a.executed)return a.result;throw h("undefinedModule",t)}if(l(t)||(nt(t,0,o),t=e,e=n),l(t))if(t.length){c="require*"+f();for(var u,m=[],g=0;g<t.length;)u=t[g++],m.push(jt(u,o));a=d(yt("",c,0,""),{injected:2,deps:m,def:e||i,require:o?o.require:p,gc:1}),U[a.mid]=a,st(a);var y=It&&j!=w;Rt((function(){Ft(a,y)})),a.executed||dt.push(a),Bt()}else e&&e();return r},ct=function(t){if(!t)return p;var e=t.require;return e||(e=function(n,i,o){return lt(n,i,o,t,e)},t.require=d(e,p),e.module=t,e.toUrl=function(e){return kt(e,t)},e.toAbsMid=function(e){return wt(e,t)},e.syncLoadNls=function(e){var n=bt(e,t),i=U[n.mid];return i&&i.executed||(zt=V[n.mid]||V[K+n.url])&&(Ut(zt),i=U[n.mid]),i&&i.executed&&i.result}),e},dt=[],ht=[],ut={},ft=function(t){t.injected=2,delete ut[t.mid],t.url&&delete ut[t.url],o(ut)&&($t(),"xd"==j&&(j=w))},pt=p.idle=function(){return!ht.length&&o(ut)&&!dt.length&&!It},mt=function(t,e){if(e)for(var n=0;n<e.length;n++)if(e[n][2].test(t))return e[n];return 0},gt=function(t){var e,n,i=[];for(t=t.replace(/\\/g,"/").split("/");t.length;)".."==(e=t.shift())&&i.length&&".."!=n?(i.pop(),n=i[i.length-1]):"."!=e&&i.push(n=e);return i.join("/")},yt=function(t,e,n,i){var o=p.isXdUrl(i);return{pid:t,mid:e,pack:n,url:i,executed:0,def:0,isXd:o,isAmd:!!(o||z[t]&&z[t].isAmd)}},vt=function(t,e,n,i,o,r,s,l,d){var u,f,p,m,g,y,b;if(b=/^\./.test(t),/(^\/)|(\:)|(\.js$)/.test(t)||b&&!e)return yt(0,t,0,t);if(t=gt(b?e.mid+"/../"+t:t),/^\./.test(t))throw h("irrationalPath",t);e&&(m=mt(e.mid,r)),(m=(m=m||r.star)&&mt(t,m[1]))&&(t=m[1]+t.substring(m[3])),(f=n[u=(rt=t.match(/^([^\/]+)(\/(.+))?$/))?rt[1]:""])?t=u+"/"+(p=rt[3]||f.main):u="";var x=0;return c(l,(function(e){var n=t.match(e[0]);n&&n.length>0&&(x=a(e[1])?t.replace(e[0],e[1]):e[1])})),x?vt(x,0,n,i,o,r,s,l,d):(y=i[t])?d?yt(y.pid,y.mid,y.pack,y.url):i[t]:(g=(m=mt(t,s))?m[1]+t.substring(m[3]):u?("/"===f.location.slice(-1)?f.location.slice(0,-1):f.location)+"/"+p:v("config-tlmSiblingOfDojo")?"../"+t:t,/(^\/)|(\:)/.test(g)||(g=o+g),yt(u,t,f,gt(g+=".js")))},bt=function(t,e,n){return vt(t,e,z,U,p.baseUrl,n?[]:H,n?[]:W,n?[]:B)},xt=function(t,e,n){return t.normalize?t.normalize(e,(function(t){return wt(t,n)})):wt(e,n)},_t=0,jt=function(t,e,n){var i,o,r,a;return(i=t.match(/^(.+?)\!(.*)$/))?(o=jt(i[1],e,n),j!=w||o.executed||(Gt(o),2!==o.injected||o.executed||Rt((function(){Ft(o)})),o.executed?Pt(o):dt.unshift(o)),5!==o.executed||o.load||Pt(o),o.load?(r=xt(o,i[2],e),t=o.mid+"!"+(o.dynamic?++_t+"!":"")+r):(r=i[2],t=o.mid+"!"+ ++_t+"!waitingForPlugin"),a={plugin:o,mid:t,req:ct(e),prid:r}):a=bt(t,e),U[a.mid]||!n&&(U[a.mid]=a)},wt=p.toAbsMid=function(t,e){return bt(t,e).mid},kt=p.toUrl=function(t,e){var n=bt(t+"/x",e),i=n.url;return Ot(0===n.pid?t:i.substring(0,i.length-5))},Ct={injected:2,executed:5,def:3,result:3},St=function(t){return U[t]=d({mid:t},Ct)},Mt=St("require"),Tt=St("exports"),At=St("module"),Nt={},Et=0,Pt=function(t){var e=t.result;return t.dynamic=e.dynamic,t.normalize=e.normalize,t.load=e.load,t},Lt=function(t){for(p.trace("loader-finish-exec",[t.mid]),t.executed=5,t.defOrder=Et++,c(t.provides,(function(t){t()})),t.loadQ&&(Pt(t),function(t){var e={};c(t.loadQ,(function(n){var i=xt(t,n.prid,n.req.module),o=t.dynamic?n.mid.replace(/waitingForPlugin$/,i):t.mid+"!"+i,r=d(d({},n),{mid:o,prid:i,injected:0});U[o]||Wt(U[o]=r),e[n.mid]=U[o],ft(n),delete U[n.mid]})),t.loadQ=0;var n=function(t){for(var n,i=t.deps||[],o=0;o<i.length;o++)(n=e[i[o].mid])&&(i[o]=n)};for(var i in U)n(U[i]);c(dt,n)}(t)),P=0;P<dt.length;)dt[P]===t?dt.splice(P,1):P++;/^require\*/.test(t.mid)&&delete U[t.mid]},Dt=[],Ft=function(t,e){if(4===t.executed)return p.trace("loader-circular-dependency",[Dt.concat(t.mid).join("->")]),!t.def||e?Nt:t.cjs&&t.cjs.exports;if(!t.executed){if(!t.def)return Nt;var n,i,o=t.mid,r=t.deps||[],s=[],l=0;for(t.executed=4;n=r[l++];){if((i=n===Mt?ct(t):n===Tt?t.cjs.exports:n===At?t.cjs:Ft(n,e))===Nt)return t.executed=0,p.trace("loader-exec-module",["abort",o]),Nt;s.push(i)}!function(t,e){p.trace("loader-run-factory",[t.mid]);var n,i=t.def;if(k.unshift(t),v("config-dojo-loader-catches"))try{n=a(i)?i.apply(null,e):i}catch(e){I(F,t.result=h("factoryThrew",[t,e]))}else n=a(i)?i.apply(null,e):i;t.result=void 0===n&&t.cjs?t.cjs.exports:n,k.shift(t)}(t,s),Lt(t)}return t.result},It=0,Rt=function(t){try{It++,t()}catch(t){throw t}finally{It--}pt()&&I("idle",[])},Bt=function(){It||Rt((function(){S();for(var t,e,n=0;n<dt.length;)t=Et,e=dt[n],Ft(e),t!=Et?(S(),n=0):n++}))},Ot="function"==typeof t.fixupUrl?t.fixupUrl:function(t){return(t+="")+(G?(/\?/.test(t)?"&":"?")+G:"")};void 0===v("dojo-loader-eval-hint-url")&&v.add("dojo-loader-eval-hint-url",1);var Wt=function(t){var e=t.plugin;5!==e.executed||e.load||Pt(e),e.load?e.load(t.prid,t.req,(function(e){t.result=e,ft(t),Lt(t),Bt()})):e.loadQ?e.loadQ.push(t):(e.loadQ=[t],dt.unshift(e),Gt(e))},zt=0,qt=0,Ht=0,Ut=function(t,e){if(v("config-stripStrict")&&(t=t.replace(/(["'])use strict\1/g,"")),Ht=1,v("config-dojo-loader-catches"))try{t===zt?zt.call(null):p.eval(t,v("dojo-loader-eval-hint-url")?e.url:e.mid)}catch(t){I(F,h("evalModuleThrew",e))}else t===zt?zt.call(null):p.eval(t,v("dojo-loader-eval-hint-url")?e.url:e.mid);Ht=0},Gt=function(t){var e=t.mid,n=t.url;if(!(t.executed||t.injected||ut[e]||t.url&&(t.pack&&ut[t.url]===t.pack||1==ut[t.url])))if(function(t){t.injected=1,ut[t.mid]=1,t.url&&(ut[t.url]=t.pack||1),Qt()}(t),t.plugin)Wt(t);else{var i=function(){if(Kt(t),2!==t.injected){if(v("dojo-enforceDefine"))return void I(F,h("noDefine",t));ft(t),d(t,Ct),p.trace("loader-define-nonmodule",[t.url])}j?!k.length&&Bt():Bt()};if(zt=V[e]||V[K+t.url])return p.trace("loader-inject",["cache",t.mid,n]),Ut(zt,t),void i();if(j)if(t.isXd)j==w&&(j="xd");else if(!t.isAmd||j==w){var o=function(o){if(j==w){if(k.unshift(t),Ut(o,t),k.shift(),Kt(t),t.cjs||(ft(t),Lt(t)),t.finish){var r=e+"*finish",a=t.finish;delete t.finish,te(r,["dojo",("dojo/require!"+a.join(",")).replace(/\./g,"/")],(function(t){c(a,(function(e){t.require(e)}))})),dt.unshift(jt(r))}i()}else(o=M(t,o))?(Ut(o,t),i()):(qt=t,p.injectUrl(Ot(n),i,t),qt=0)};if(p.trace("loader-inject",["xhr",t.mid,n,j!=w]),v("config-dojo-loader-catches"))try{p.getText(n,j!=w,o)}catch(e){I(F,h("xhrInjectFailed",[t,e]))}else p.getText(n,j!=w,o);return}p.trace("loader-inject",["script",t.mid,n]),qt=t,p.injectUrl(Ot(n),i,t),qt=0}},Vt=function(t,e,n){p.trace("loader-define-module",[t.mid,e]);var i=t.mid;if(2===t.injected)return I(F,h("multipleDefine",t)),t;d(t,{deps:e,def:n,cjs:{id:t.mid,uri:t.url,exports:t.result={},setExports:function(e){t.cjs.exports=e},config:function(){return t.config}}});for(var o=0;e[o];o++)e[o]=jt(e[o],t);return j&&!ut[i]&&(st(t),dt.push(t),Bt()),ft(t),a(n)||e.length||(t.result=n,Lt(t)),t},Kt=function(t,e){for(var n,i,o=[];ht.length;)i=ht.shift(),e&&(i[0]=e.shift()),n=i[0]&&jt(i[0])||t,o.push([n,i[1],i[2]]);Y(t),c(o,(function(t){st(Vt.apply(null,t))}))},Xt=0,$t=i,Qt=i;$t=function(){Xt&&clearTimeout(Xt),Xt=0},Qt=function(){$t(),p.waitms&&(Xt=m.setTimeout((function(){$t(),I(F,h("timeout",ut))}),p.waitms))},v.add("ie-event-behavior",g.attachEvent&&"undefined"==typeof Windows&&("undefined"==typeof opera||"[object Opera]"!=opera.toString()));var Yt,Jt=function(t,e,n,i){return v("ie-event-behavior")?(t.attachEvent(n,i),function(){t.detachEvent(n,i)}):(t.addEventListener(e,i,!1),function(){t.removeEventListener(e,i,!1)})},Zt=Jt(window,"load","onload",(function(){p.pageLoaded=1;try{"complete"!=g.readyState&&(g.readyState="complete")}catch(t){}Zt()}));for(at=g.getElementsByTagName("script"),P=0;!Q;)/^dojo/.test((Yt=at[P++])&&Yt.type)||(Q=Yt);p.injectUrl=function(t,e,n){var i=n.node=g.createElement("script"),o=Jt(i,"load","onreadystatechange",(function(t){var n=(t=t||window.event).target||t.srcElement;("load"===t.type||/complete|loaded/.test(n.readyState))&&(o(),r(),e&&e())})),r=Jt(i,"error","onerror",(function(e){o(),r(),I(F,h("scriptError",[t,e]))}));return i.type="text/javascript",i.charset="utf-8",i.src=t,Q.parentNode.insertBefore(i,Q),i},p.log=function(){try{for(var t=0;t<arguments.length;t++)console.log(arguments[t])}catch(t){}},p.trace=i;var te=function(t,e,n){var i=arguments.length,o=["require","exports","module"],r=[0,t,e];1==i?r=[0,a(t)?o:[],t]:2==i&&s(t)?r=[t,a(e)?o:[],e]:3==i&&(r=[t,e,n]),p.trace("loader-define",r.slice(0,2));var l,c=r[0]&&jt(r[0]);if(c&&!ut[c.mid])st(Vt(c,r[1],r[2]));else if(!v("ie-event-behavior")||Ht)ht.push(r);else{if(!(c=c||qt))for(t in ut)if((l=U[t])&&l.node&&"interactive"===l.node.readyState){c=l;break}c?(Y(c),st(Vt(c,r[1],r[2]))):I(F,h("ieDefineFailed",r[0])),Bt()}};if(te.amd={vendor:"dojotoolkit.org"},d(d(p,e.loaderPatch),t.loaderPatch),R(F,(function(t){try{if(console.error(t),t instanceof Error){for(var e in t)console.log(e+":",t[e]);console.log(".")}}catch(t){}})),d(p,{uid:f,cache:V,packs:z}),m.define)I(F,h("defineAlreadyDefined",0));else{m.define=te,m.require=p,c(et,(function(t){nt(t)}));var ee=$.deps||t.deps||e.deps,ne=$.callback||t.callback||e.callback;p.boot=ee||ne?[ee||[],ne]:0}}((function(t){return t.dojoConfig||t.djConfig||t.require||{}}),{async:0,hasCache:{"config-selectorEngine":"acme","config-tlmSiblingOfDojo":1,"dojo-built":1,"dojo-loader":1,dom:1,"host-browser":1},packages:[{location:"../dijit",name:"dijit"},{location:"../dojox",name:"dojox"},{location:".",name:"dojo"}]}),require({cache:{"dojo/loadInit":function(){define(["./_base/loader"],(function(t){return{dynamic:0,normalize:function(t){return t},load:t.loadInit}}))},"dojo/_base/loader":function(){define(["./kernel","../has","require","module","../json","./lang","./array"],(function(dojo,has,require,thisModule,json,lang,array){var makeErrorToken=function(t){return{src:thisModule.id,id:t}},slashName=function(t){return t.replace(/\./g,"/")},buildDetectRe=/\/\/>>built/,dojoRequireCallbacks=[],dojoRequireModuleStack=[],dojoRequirePlugin=function(t,e,n){dojoRequireCallbacks.push(n),array.forEach(t.split(","),(function(t){var n=getModule(t,e.module);dojoRequireModuleStack.push(n),injectModule(n)})),checkDojoRequirePlugin()},checkDojoRequirePlugin=function(){var t,e;for(e in modules)if(void 0===(t=modules[e]).noReqPluginCheck&&(t.noReqPluginCheck=/loadInit\!/.test(e)||/require\!/.test(e)?1:0),!t.executed&&!t.noReqPluginCheck&&t.injected==requested)return;guardCheckComplete((function(){var t=dojoRequireCallbacks;dojoRequireCallbacks=[],array.forEach(t,(function(t){t(1)}))}))},dojoLoadInitPlugin=function(mid,require,loaded){require([mid],(function(bundle){require(bundle.names,(function(){for(var scopeText="",args=[],i=0;i<arguments.length;i++)scopeText+="var "+bundle.names[i]+"= arguments["+i+"]; ",args.push(arguments[i]);eval(scopeText);var callingModule=require.module,requireList=[],i18nDeps,syncLoaderApi={provide:function(t){t=slashName(t);var e=getModule(t,callingModule);e!==callingModule&&setArrived(e)},require:function(t,e){t=slashName(t),e&&(getModule(t,callingModule).result=nonmodule),requireList.push(t)},requireLocalization:function(t,e,n){i18nDeps||(i18nDeps=["dojo/i18n"]),n=(n||dojo.locale).toLowerCase(),t=slashName(t)+"/nls/"+(/root/i.test(n)?"":n+"/")+slashName(e),getModule(t,callingModule).isXd&&i18nDeps.push("dojo/i18n!"+t)},loadInit:function(t){t()}},hold={},p;try{for(p in syncLoaderApi)hold[p]=dojo[p],dojo[p]=syncLoaderApi[p];bundle.def.apply(null,args)}catch(t){signal("error",[makeErrorToken("failedDojoLoadInit"),t])}finally{for(p in syncLoaderApi)dojo[p]=hold[p]}i18nDeps&&(requireList=requireList.concat(i18nDeps)),requireList.length?dojoRequirePlugin(requireList.join(","),require,loaded):loaded()}))}))},extractApplication=function(t,e,n){var i,o=/\(|\)/g,r=1;for(o.lastIndex=e;(i=o.exec(t))&&(")"==i[0]?r-=1:r+=1,0!=r););if(0!=r)throw"unmatched paren around character "+o.lastIndex+" in: "+t;return[dojo.trim(t.substring(n,o.lastIndex))+";\n",o.lastIndex]},removeCommentRe=/\/\/.*|\/\*[\s\S]*?\*\/|("(?:\\.|[^"])*"|'(?:\\.|[^'])*'|`(?:\\.|[^`])*`)/gm,syncLoaderApiRe=/(^|\s)dojo\.(loadInit|require|provide|requireLocalization|requireIf|requireAfterIf|platformRequire)\s*\(/gm,amdLoaderApiRe=/(^|\s)(require|define)\s*\(/m,extractLegacyApiApplications=function(t,e){var n,i,o,r,a=[],s=[],l=[];for(e=e||t.replace(removeCommentRe,"$1");n=syncLoaderApiRe.exec(e);)o=(i=syncLoaderApiRe.lastIndex)-n[0].length,r=extractApplication(e,i,o),"loadInit"==n[2]?a.push(r[0]):s.push(r[0]),syncLoaderApiRe.lastIndex=r[1];return(l=a.concat(s)).length||!amdLoaderApiRe.test(e)?[t.replace(/(^|\s)dojo\.loadInit\s*\(/g,"\n0 && dojo.loadInit("),l.join(""),l]:0},transformToAmd=function(t,e){var n,i,o=[],r=[];if(buildDetectRe.test(e)||!(n=extractLegacyApiApplications(e)))return 0;for(var a in i=t.mid+"-*loadInit",getModule("dojo",t).result.scopeMap)o.push(a),r.push('"'+a+'"');return"// xdomain rewrite of "+t.mid+"\ndefine('"+i+"',{\n\tnames:"+json.stringify(o)+",\n\tdef:function("+o.join(",")+"){"+n[1]+"}});\n\ndefine("+json.stringify(o.concat(["dojo/loadInit!"+i]))+", function("+o.join(",")+"){\n"+n[0]+"});"},loaderVars=require.initSyncLoader(dojoRequirePlugin,checkDojoRequirePlugin,transformToAmd),sync=loaderVars.sync,requested=loaderVars.requested,arrived=loaderVars.arrived,nonmodule=loaderVars.nonmodule,executing=loaderVars.executing,executed=loaderVars.executed,syncExecStack=loaderVars.syncExecStack,modules=loaderVars.modules,execQ=loaderVars.execQ,getModule=loaderVars.getModule,injectModule=loaderVars.injectModule,setArrived=loaderVars.setArrived,signal=loaderVars.signal,finishExec=loaderVars.finishExec,execModule=loaderVars.execModule,getLegacyMode=loaderVars.getLegacyMode,guardCheckComplete=loaderVars.guardCheckComplete,touched,traverse;return dojoRequirePlugin=loaderVars.dojoRequirePlugin,dojo.provide=function(t){var e=syncExecStack[0],n=lang.mixin(getModule(slashName(t),require.module),{executed:executing,result:lang.getObject(t,!0)});return setArrived(n),e&&(e.provides||(e.provides=[])).push((function(){n.result=lang.getObject(t),delete n.provides,n.executed!==executed&&finishExec(n)})),n.result},has.add("config-publishRequireResult",1,0,0),dojo.require=function(t,e){var n=function(t,e){var n=getModule(slashName(t),require.module);if(syncExecStack.length&&syncExecStack[0].finish)syncExecStack[0].finish.push(t);else{if(n.executed)return n.result;e&&(n.result=nonmodule);var i=getLegacyMode();if(injectModule(n),i=getLegacyMode(),n.executed!==executed&&n.injected===arrived&&loaderVars.guardCheckComplete((function(){execModule(n)})),n.executed)return n.result;i==sync?n.cjs?execQ.unshift(n):syncExecStack.length&&(syncExecStack[0].finish=[t]):execQ.push(n)}}(t,e);return has("config-publishRequireResult")&&!lang.exists(t)&&void 0!==n&&lang.setObject(t,n),n},dojo.loadInit=function(t){t()},dojo.registerModulePath=function(t,e){var n={};n[t.replace(/\./g,"/")]=e,require({paths:n})},dojo.platformRequire=function(t){for(var e,n=(t.common||[]).concat(t[dojo._name]||t.default||[]);n.length;)lang.isArray(e=n.shift())?dojo.require.apply(dojo,e):dojo.require(e)},dojo.requireIf=dojo.requireAfterIf=function(t,e,n){t&&dojo.require(e,n)},dojo.requireLocalization=function(t,e,n){require(["../i18n"],(function(i){i.getLocalization(t,e,n)}))},{extractLegacyApiApplications,require:dojoRequirePlugin,loadInit:dojoLoadInitPlugin}}))},"dojo/_base/kernel":function(){define(["../global","../has","./config","require","module"],(function(t,e,n,i,o){var r,a,s,l={},c={},d={config:n,global:t,dijit:l,dojox:c},h={dojo:["dojo",d],dijit:["dijit",l],dojox:["dojox",c]},u=i.map&&i.map[o.id.match(/[^\/]+/)[0]];for(a in u)h[a]?h[a][0]=u[a]:h[a]=[u[a],{}];for(a in h)(s=h[a])[1]._scopeName=s[0],n.noGlobals||(t[s[0]]=s[1]);d.scopeMap=h,d.baseUrl=d.config.baseUrl=i.baseUrl,d.isAsync=i.async,d.locale=n.locale;var f="$Rev: 48cb00f2 $".match(/[0-9a-f]{7,}/);d.version={major:1,minor:10,patch:10,flag:"",revision:f?f[0]:NaN,toString:function(){var t=d.version;return t.major+"."+t.minor+"."+t.patch+t.flag+" ("+t.revision+")"}},Function("d","d.eval = function(){return d.global.eval ? d.global.eval(arguments[0]) : eval(arguments[0]);}")(d),d.exit=function(){},e("host-webworker"),e.add("console-as-object",(function(){return Function.prototype.bind&&console&&"object"==typeof console.log})),"undefined"!=typeof console||(console={});var p,m=["assert","count","debug","dir","dirxml","error","group","groupEnd","info","profile","profileEnd","time","timeEnd","trace","warn","log"];for(r=0;p=m[r++];)console[p]?e("console-as-object")&&(console[p]=Function.prototype.bind.call(console[p],console)):function(){var t=p+"";console[t]="log"in console?function(){var e=Array.prototype.slice.call(arguments);e.unshift(t+":"),console.log(e.join(" "))}:function(){},console[t]._fake=!0}();if(e.add("dojo-debug-messages",!!n.isDebug),d.deprecated=d.experimental=function(){},e("dojo-debug-messages")&&(d.deprecated=function(t,e,n){var i="DEPRECATED: "+t;e&&(i+=" "+e),n&&(i+=" -- will be removed in version: "+n),console.warn(i)},d.experimental=function(t,e){var n="EXPERIMENTAL: "+t+" -- APIs subject to change without notice.";e&&(n+=" "+e),console.warn(n)}),n.modulePaths){d.deprecated("dojo.modulePaths","use paths configuration");var g={};for(a in n.modulePaths)g[a.replace(/\./g,"/")]=n.modulePaths[a];i({paths:g})}return d.moduleUrl=function(t,e){d.deprecated("dojo.moduleUrl()","use require.toUrl","2.0");var n=null;return t&&(n=i.toUrl(t.replace(/\./g,"/")+(e?"/"+e:"")+"/*.*").replace(/\/\*\.\*/,"")+(e?"":"/")),n},d._hasResource={},d}))},"dojo/global":function(){define((function(){return"undefined"!=typeof global&&"function"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this}))},"dojo/has":function(){define(["./global","require","module"],(function(t,e,n){var i=e.has||function(){};i.add("dom-addeventlistener",!!document.addEventListener),i.add("touch","ontouchstart"in document||"onpointerdown"in document&&navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints),i.add("touch-events","ontouchstart"in document),i.add("pointer-events","pointerEnabled"in window.navigator?window.navigator.pointerEnabled:"PointerEvent"in window),i.add("MSPointer",window.navigator.msPointerEnabled),i.add("touch-action",i("touch")&&i("pointer-events")),i.add("device-width",screen.availWidth||innerWidth);var o=document.createElement("form");return i.add("dom-attributes-explicit",0==o.attributes.length),i.add("dom-attributes-specified-flag",o.attributes.length>0&&o.attributes.length<40),i.clearElement=function(t){return t.innerHTML="",t},i.normalize=function(t,e){var n=t.match(/[\?:]|[^:\?]*/g),o=0,r=function(t){var e=n[o++];return":"==e?0:"?"==n[o++]?!t&&i(e)?r():(r(!0),r(t)):e||0};return(t=r())&&e(t)},i.load=function(t,e,n){t?e([t],n):n()},i}))},"dojo/_base/config":function(){define(["../global","../has","require"],(function(t,e,n){var i,o={},r=n.rawConfig;for(i in r)o[i]=r[i];if(!o.locale&&"undefined"!=typeof navigator){var a=navigator.languages&&navigator.languages.length?navigator.languages[0]:navigator.language||navigator.userLanguage;a&&(o.locale=a.toLowerCase())}return o}))},"dojo/json":function(){define(["./has"],(function(has){"use strict";var hasJSON="undefined"!=typeof JSON;if(has.add("json-parse",hasJSON),has.add("json-stringify",hasJSON&&'{"a":1}'==JSON.stringify({a:0},(function(t,e){return e||1}))),has("json-stringify"))return JSON;var escapeString=function(t){return('"'+t.replace(/(["\\])/g,"\\$1")+'"').replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r")};return{parse:has("json-parse")?JSON.parse:function(str,strict){if(strict&&!/^([\s\[\{]*(?:"(?:\\.|[^"])*"|-?\d[\d\.]*(?:[Ee][+-]?\d+)?|null|true|false|)[\s\]\}]*(?:,|:|$))+$/.test(str))throw new SyntaxError("Invalid characters in JSON");return eval("("+str+")")},stringify:function(t,e,n){return"string"==typeof e&&(n=e,e=null),function t(i,o,r){e&&(i=e(r,i));var a,s=typeof i;if("number"==s)return isFinite(i)?i+"":"null";if("boolean"==s)return i+"";if(null===i)return"null";if("string"==typeof i)return escapeString(i);if("function"!=s&&"undefined"!=s){if("function"==typeof i.toJSON)return t(i.toJSON(r),o,r);if(i instanceof Date)return'"{FullYear}-{Month+}-{Date}T{Hours}:{Minutes}:{Seconds}Z"'.replace(/\{(\w+)(\+)?\}/g,(function(t,e,n){var o=i["getUTC"+e]()+(n?1:0);return o<10?"0"+o:o}));if(i.valueOf()!==i)return t(i.valueOf(),o,r);var l=n?o+n:"",c=n?" ":"",d=n?"\n":"";if(i instanceof Array){var h=i.length,u=[];for(r=0;r<h;r++)"string"!=typeof(a=t(i[r],l,r))&&(a="null"),u.push(d+l+a);return"["+u.join(",")+d+o+"]"}var f=[];for(r in i){var p;if(i.hasOwnProperty(r)){if("number"==typeof r)p='"'+r+'"';else{if("string"!=typeof r)continue;p=escapeString(r)}if("string"!=typeof(a=t(i[r],l,r)))continue;f.push(d+l+p+":"+c+a)}}return"{"+f.join(",")+d+o+"}"}}(t,"","")}}}))},"dojo/_base/lang":function(){define(["./kernel","../has","../sniff"],(function(t,e){e.add("bug-for-in-skips-shadowed",(function(){for(var t in{toString:1})return 0;return 1}));var n=e("bug-for-in-skips-shadowed")?"hasOwnProperty.valueOf.isPrototypeOf.propertyIsEnumerable.toLocaleString.toString.constructor".split("."):[],i=n.length,o=function(e,n,i){i||(i=e[0]&&t.scopeMap[e[0]]?t.scopeMap[e.shift()][1]:t.global);try{for(var o=0;o<e.length;o++){var r=e[o];if(!(r in i)){if(!n)return;i[r]={}}i=i[r]}return i}catch(t){}},r=Object.prototype.toString,a=function(t,e,n){return(n||[]).concat(Array.prototype.slice.call(t,e||0))},s=/\{([^\}]+)\}/g,l={_extraNames:n,_mixin:function(t,o,r){var a,s,l,c={};for(a in o)s=o[a],a in t&&(t[a]===s||a in c&&c[a]===s)||(t[a]=r?r(s):s);if(e("bug-for-in-skips-shadowed")&&o)for(l=0;l<i;++l)s=o[a=n[l]],a in t&&(t[a]===s||a in c&&c[a]===s)||(t[a]=r?r(s):s);return t},mixin:function(t,e){t||(t={});for(var n=1,i=arguments.length;n<i;n++)l._mixin(t,arguments[n]);return t},setObject:function(t,e,n){var i=t.split("."),r=i.pop(),a=o(i,!0,n);return a&&r?a[r]=e:void 0},getObject:function(t,e,n){return t?o(t.split("."),e,n):n},exists:function(t,e){return void 0!==l.getObject(t,!1,e)},isString:function(t){return"string"==typeof t||t instanceof String},isArray:function(t){return t&&(t instanceof Array||"array"==typeof t)},isFunction:function(t){return"[object Function]"===r.call(t)},isObject:function(t){return void 0!==t&&(null===t||"object"==typeof t||l.isArray(t)||l.isFunction(t))},isArrayLike:function(t){return t&&void 0!==t&&!l.isString(t)&&!l.isFunction(t)&&!(t.tagName&&"form"==t.tagName.toLowerCase())&&(l.isArray(t)||isFinite(t.length))},isAlien:function(t){return t&&!l.isFunction(t)&&/\{\s*\[native code\]\s*\}/.test(String(t))},extend:function(t,e){for(var n=1,i=arguments.length;n<i;n++)l._mixin(t.prototype,arguments[n]);return t},_hitchArgs:function(e,n){var i=l._toArray(arguments,2),o=l.isString(n);return function(){var r=l._toArray(arguments),a=o?(e||t.global)[n]:n;return a&&a.apply(e||this,i.concat(r))}},hitch:function(e,n){if(arguments.length>2)return l._hitchArgs.apply(t,arguments);if(n||(n=e,e=null),l.isString(n)){if(!(e=e||t.global)[n])throw['lang.hitch: scope["',n,'"] is null (scope="',e,'")'].join("");return function(){return e[n].apply(e,arguments||[])}}return e?function(){return n.apply(e,arguments||[])}:n},delegate:function(){function t(){}return function(e,n){t.prototype=e;var i=new t;return t.prototype=null,n&&l._mixin(i,n),i}}(),_toArray:e("ie")?function(){function t(t,e,n){for(var i=n||[],o=e||0;o<t.length;o++)i.push(t[o]);return i}return function(e){return(e.item?t:a).apply(this,arguments)}}():a,partial:function(e){return l.hitch.apply(t,[null].concat(l._toArray(arguments)))},clone:function(t){if(!t||"object"!=typeof t||l.isFunction(t))return t;if(t.nodeType&&"cloneNode"in t)return t.cloneNode(!0);if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp)return new RegExp(t);var e,n,i;if(l.isArray(t))for(e=[],n=0,i=t.length;n<i;++n)n in t&&e.push(l.clone(t[n]));else e=t.constructor?new t.constructor:{};return l._mixin(e,t,l.clone)},trim:String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")},replace:function(t,e,n){return t.replace(n||s,l.isFunction(e)?e:function(t,n){return l.getObject(n,!1,e)})}};return l.mixin(t,l),l}))},"dojo/sniff":function(){define(["./has"],(function(t){var e=navigator,n=e.userAgent,i=e.appVersion,o=parseFloat(i);if(t.add("air",n.indexOf("AdobeAIR")>=0),t.add("wp",parseFloat(n.split("Windows Phone")[1])||void 0),t.add("msapp",parseFloat(n.split("MSAppHost/")[1])||void 0),t.add("khtml",i.indexOf("Konqueror")>=0?o:void 0),t.add("edge",parseFloat(n.split("Edge/")[1])||void 0),t.add("opr",parseFloat(n.split("OPR/")[1])||void 0),t.add("webkit",!t("wp")&&!t("edge")&&parseFloat(n.split("WebKit/")[1])||void 0),t.add("chrome",!t("edge")&&!t("opr")&&parseFloat(n.split("Chrome/")[1])||void 0),t.add("android",!t("wp")&&parseFloat(n.split("Android ")[1])||void 0),t.add("safari",!(i.indexOf("Safari")>=0)||t("wp")||t("chrome")||t("android")||t("edge")||t("opr")?void 0:parseFloat(i.split("Version/")[1])),t.add("mac",i.indexOf("Macintosh")>=0),t.add("quirks","BackCompat"==document.compatMode),!t("wp")&&n.match(/(iPhone|iPod|iPad)/)){var r=RegExp.$1.replace(/P/,"p"),a=n.match(/OS ([\d_]+)/)?RegExp.$1:"1",s=parseFloat(a.replace(/_/,".").replace(/_/g,""));t.add(r,s),t.add("ios",s)}if(t.add("bb",(n.indexOf("BlackBerry")>=0||n.indexOf("BB10")>=0)&&parseFloat(n.split("Version/")[1])||void 0),t.add("trident",parseFloat(i.split("Trident/")[1])||void 0),t.add("svg","undefined"!=typeof SVGAngle),!t("webkit")){if(n.indexOf("Opera")>=0&&t.add("opera",o>=9.8&&parseFloat(n.split("Version/")[1])||o),!(n.indexOf("Gecko")>=0)||t("wp")||t("khtml")||t("trident")||t("edge")||t.add("mozilla",o),t("mozilla")&&t.add("ff",parseFloat(n.split("Firefox/")[1]||n.split("Minefield/")[1])||void 0),document.all&&!t("opera")){var l=parseFloat(i.split("MSIE ")[1])||void 0,c=document.documentMode;c&&5!=c&&Math.floor(l)!=c&&(l=c),t.add("ie",l)}t.add("wii","undefined"!=typeof opera&&opera.wiiremote)}return t}))},"dojo/_base/array":function(){define(["./kernel","../has","./lang"],(function(t,e,n){var i={};function o(t){return i[t]=new Function("item","index","array",t)}function r(t){var e=!t;return function(n,r,a){var s,l=0,c=n&&n.length||0;if(c&&"string"==typeof n&&(n=n.split("")),"string"==typeof r&&(r=i[r]||o(r)),a){for(;l<c;++l)if(s=!r.call(a,n[l],l,n),t^s)return!s}else for(;l<c;++l)if(s=!r(n[l],l,n),t^s)return!s;return e}}function a(t){var e=1,n=0,i=0;return t||(e=n=i=-1),function(o,r,a,l){if(l&&e>0)return s.lastIndexOf(o,r,a);var c,d=o&&o.length||0,h=t?d+i:n;for(void 0===a?c=t?n:d+i:a<0?(c=d+a)<0&&(c=n):c=a>=d?d+i:a,d&&"string"==typeof o&&(o=o.split(""));c!=h;c+=e)if(o[c]==r)return c;return-1}}var s={every:r(!1),some:r(!0),indexOf:a(!0),lastIndexOf:a(!1),forEach:function(t,e,n){var r=0,a=t&&t.length||0;if(a&&"string"==typeof t&&(t=t.split("")),"string"==typeof e&&(e=i[e]||o(e)),n)for(;r<a;++r)e.call(n,t[r],r,t);else for(;r<a;++r)e(t[r],r,t)},map:function(t,e,n,r){var a=0,s=t&&t.length||0,l=new(r||Array)(s);if(s&&"string"==typeof t&&(t=t.split("")),"string"==typeof e&&(e=i[e]||o(e)),n)for(;a<s;++a)l[a]=e.call(n,t[a],a,t);else for(;a<s;++a)l[a]=e(t[a],a,t);return l},filter:function(t,e,n){var r,a=0,s=t&&t.length||0,l=[];if(s&&"string"==typeof t&&(t=t.split("")),"string"==typeof e&&(e=i[e]||o(e)),n)for(;a<s;++a)r=t[a],e.call(n,r,a,t)&&l.push(r);else for(;a<s;++a)e(r=t[a],a,t)&&l.push(r);return l},clearCache:function(){i={}}};return n.mixin(t,s),s}))},"dojo/text":function(){define(["./_base/kernel","require","./has","./request"],(function(t,e,n,i){var o;o=function(t,e,n){i(t,{sync:!!e,headers:{"X-Requested-With":null}}).then(n)};var r={},a=function(t){if(t){var e=(t=t.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"")).match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);e&&(t=e[1])}else t="";return t},s={},l={};return t.cache=function(t,n,i){var s;"string"==typeof t?/\//.test(t)?(s=t,i=n):s=e.toUrl(t.replace(/\./g,"/")+(n?"/"+n:"")):(s=t+"",i=n);var l=null!=i&&"string"!=typeof i?i.value:i,c=i&&i.sanitize;return"string"==typeof l?(r[s]=l,c?a(l):l):null===l?(delete r[s],null):(s in r||o(s,!0,(function(t){r[s]=t})),c?a(r[s]):r[s])},{dynamic:!0,normalize:function(t,e){var n=t.split("!"),i=n[0];return(/^\./.test(i)?e(i):i)+(n[1]?"!"+n[1]:"")},load:function(t,e,n){var i=t.split("!"),c=i.length>1,d=i[0],h=e.toUrl(i[0]),u="url:"+h,f=s,p=function(t){n(c?a(t):t)};if(d in r?f=r[d]:e.cache&&u in e.cache?f=e.cache[u]:h in r&&(f=r[h]),f===s)if(l[h])l[h].push(p);else{var m=l[h]=[p];o(h,!e.async,(function(t){r[d]=r[h]=t;for(var e=0;e<m.length;)m[e++](t);delete l[h]}))}else p(f)}}}))},"dojo/request":function(){define(["./request/default!"],(function(t){return t}))},"dojo/request/default":function(){define(["exports","require","../has"],(function(t,e,n){var i,o=n("config-requestProvider");i="./xhr",o||(o=i),t.getPlatformDefaultId=function(){return i},t.load=function(t,n,r,a){e(["platform"==t?i:o],(function(t){r(t)}))}}))},"dojo/i18n":function(){define(["./_base/kernel","require","./has","./_base/array","./_base/config","./_base/lang","./_base/xhr","./json","module"],(function(t,e,n,i,o,r,a,s,l){n.add("dojo-preload-i18n-Api",1);var c=t.i18n={},d=/(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,h={},u=function(e,n,i){return i=i?i.toLowerCase():t.locale,e=e.replace(/\./g,"/"),n=n.replace(/\./g,"/"),/root/i.test(i)?e+"/nls/"+n:e+"/nls/"+i+"/"+n},f=t.getL10nName=function(t,e,n){return l.id+"!"+u(t,e,n)},p=function(e,a,l){var c=d.exec(e),u=c[1]+"/",f=c[5]||c[4],p=u+f,m=c[5]&&c[4],g=m||t.locale||"",y=p+"/"+g,v=m?[g]:function(t){var e=o.extraLocale||[];return(e=r.isArray(e)?e:[e]).push(t),e}(g),b=v.length,x=function(){--b||l(r.delegate(h[y]))},k=e.split("*"),C="preload"==k[1];if(n("dojo-preload-i18n-Api")){if(C&&(h[e]||(h[e]=1,_(k[2],s.parse(k[3]),1,a)),l(1)),C||j(e,a,l)&&!h[y])return}else if(C)return void l(1);i.forEach(v,(function(t){var e=p+"/"+t;n("dojo-preload-i18n-Api")&&w(e),h[e]?x():function(t,e,n,i,o,a){t([e],(function(s){var l=r.clone(s.root||s.ROOT),c=function(t,e,n,i){for(var o=[n+i],r=e.split("-"),a="",s=0;s<r.length;s++)a+=(a?"-":"")+r[s],t&&!t[a]||(o.push(n+a+"/"+i),o.specificity=a);return o}(!s._v1x&&s,o,n,i);t(c,(function(){for(var t=1;t<c.length;t++)l=r.mixin(r.clone(l),arguments[t]);h[e+"/"+o]=l,l.$locale=c.specificity,a()}))}))}(a,p,u,f,t,x)}))};if(n("dojo-unit-tests"))var m=c.unitTests=[];n("dojo-preload-i18n-Api");var g,y=c.normalizeLocale=function(e){var n=e?e.toLowerCase():t.locale;return"root"==n?"ROOT":n},v=function(t,n){return n.isXdUrl(e.toUrl(t+".js"))},b=0,x=[],_=c._preloadLocalizations=function(n,o,a,s){function l(t,e){for(var n=t.split("-");n.length;){if(e(n.join("-")))return;n.pop()}e("ROOT")}function c(){b++}function d(){for(--b;!b&&x.length;)p.apply(null,x.shift())}function u(t,e,n,i){return i.toAbsMid(t+e+"/"+n)}function f(t){l(t=y(t),(function(f){if(i.indexOf(o,f)>=0){var p=n.replace(/\./g,"/")+"_"+f;return c(),function(t,e){v(t,s)||a?s([t],e):C([t],e,s)}(p,(function(n){for(var i in n){var o,a,p=n[i],m=i.match(/(.+)\/([^\/]+)$/);if(m&&(o=m[2],a=m[1]+"/",p._localized)){var g;if("ROOT"===f){var y=g=p._localized;delete p._localized,y.root=p,h[e.toAbsMid(i)]=y}else g=p._localized,h[u(a,o,f,e)]=p;if(f!==t){function v(n,i,o,a){var f=[],p=[];l(t,(function(t){a[t]&&(f.push(e.toAbsMid(n+t+"/"+i)),p.push(u(n,i,t,e)))})),f.length?(c(),s(f,(function(){for(var a=f.length-1;a>=0;a--)o=r.mixin(r.clone(o),arguments[a]),h[p[a]]=o;h[u(n,i,t,e)]=r.clone(o),d()}))):h[u(n,i,t,e)]=o}v(a,o,p,g)}}}d()})),!0}return!1}))}s=s||e,f(),i.forEach(t.config.extraLocale,f)},j=function(t,e,n){return b&&x.push([t,e,n]),b},w=function(){},k={},C=function(t,e,n){var o=[];i.forEach(t,(function(t){var e=n.toUrl(t+".js");function i(n){g||(g=new Function("__bundle","__checkForLegacyModules","__mid","__amdValue","var define = function(mid, factory){define.called = 1; __amdValue.result = factory || mid;},\t require = function(){define.called = 1;};try{define.called = 0;eval(__bundle);if(define.called==1)return __amdValue;if((__checkForLegacyModules = __checkForLegacyModules(__mid)))return __checkForLegacyModules;}catch(e){}try{return eval('('+__bundle+')');}catch(e){return e;}"));var i=g(n,w,t,k);i===k?o.push(h[e]=k.result):(i instanceof Error&&(console.error("failed to evaluate i18n bundle; url="+e,i),i={}),o.push(h[e]=/nls\/[^\/]+\/[^\/]+$/.test(e)?i:{root:i,_v1x:1}))}if(h[e])o.push(h[e]);else{var r=n.syncLoadNls(t);if(r||(r=w(t.replace(/nls\/([^\/]*)\/([^\/]*)$/,"nls/$2/$1"))),r)o.push(r);else if(a)a.get({url:e,sync:!0,load:i,error:function(){o.push(h[e]={})}});else try{n.getText(e,!0,i)}catch(t){o.push(h[e]={})}}})),e&&e.apply(null,o)};return w=function(e){for(var n,i=e.split("/"),o=t.global[i[0]],r=1;o&&r<i.length-1;o=o[i[r++]]);return o&&((n=o[i[r]])||(n=o[i[r].replace(/-/g,"_")]),n&&(h[e]=n)),n},c.getLocalization=function(t,n,i){var o,r=u(t,n,i);return p(r,v(r,e)?e:function(t,n){C(t,n,e)},(function(t){o=t})),o},n("dojo-unit-tests")&&m.push((function(t){t.register("tests.i18n.unit",(function(t){var e;e=g("{prop:1}",w,"nonsense",k),t.is({prop:1},e),t.is(void 0,e[1]),e=g("({prop:1})",w,"nonsense",k),t.is({prop:1},e),t.is(void 0,e[1]),e=g("{'prop-x':1}",w,"nonsense",k),t.is({"prop-x":1},e),t.is(void 0,e[1]),e=g("({'prop-x':1})",w,"nonsense",k),t.is({"prop-x":1},e),t.is(void 0,e[1]),e=g("define({'prop-x':1})",w,"nonsense",k),t.is(k,e),t.is({"prop-x":1},k.result),e=g("define('some/module', {'prop-x':1})",w,"nonsense",k),t.is(k,e),t.is({"prop-x":1},k.result),e=g("this is total nonsense and should throw an error",w,"nonsense",k),t.is(e instanceof Error,!0)}))})),r.mixin(c,{dynamic:!0,normalize:function(t,e){return/^\./.test(t)?e(t):t},load:p,cache:h,getL10nName:f})}))},"dojo/_base/xhr":function(){define(["./kernel","./sniff","require","../io-query","../dom","../dom-form","./Deferred","./config","./json","./lang","./array","../on","../aspect","../request/watch","../request/xhr","../request/util"],(function(t,e,n,i,o,r,a,s,l,c,d,h,u,f,p,m){t._xhrObj=p._create;var g=t.config;t.objectToQuery=i.objectToQuery,t.queryToObject=i.queryToObject,t.fieldToObject=r.fieldToObject,t.formToObject=r.toObject,t.formToQuery=r.toQuery,t.formToJson=r.toJson,t._blockAsync=!1;var y=t._contentHandlers=t.contentHandlers={text:function(t){return t.responseText},json:function(t){return l.fromJson(t.responseText||null)},"json-comment-filtered":function(t){s.useCommentedJson||console.warn("Consider using the standard mimetype:application/json. json-commenting can introduce security issues. To decrease the chances of hijacking, use the standard the 'json' handler and prefix your json with: {}&&\nUse djConfig.useCommentedJson=true to turn off this message.");var e=t.responseText,n=e.indexOf("/*"),i=e.lastIndexOf("*/");if(-1==n||-1==i)throw new Error("JSON was not comment filtered");return l.fromJson(e.substring(n+2,i))},javascript:function(e){return t.eval(e.responseText)},xml:function(t){var n=t.responseXML;if(n&&e("dom-qsa2.1")&&!n.querySelectorAll&&e("dom-parser")&&(n=(new DOMParser).parseFromString(t.responseText,"application/xml")),e("ie")&&(!n||!n.documentElement)){var i=function(t){return"MSXML"+t+".DOMDocument"},o=["Microsoft.XMLDOM",i(6),i(4),i(3),i(2)];d.some(o,(function(e){try{var i=new ActiveXObject(e);i.async=!1,i.loadXML(t.responseText),n=i}catch(t){return!1}return!0}))}return n},"json-comment-optional":function(t){return t.responseText&&/^[^{\[]*\/\*/.test(t.responseText)?y["json-comment-filtered"](t):y.json(t)}};t._ioSetArgs=function(e,n,s,l){var d={args:e,url:e.url},h=null;if(e.form){var u=o.byId(e.form),f=u.getAttributeNode("action");d.url=d.url||(f?f.value:null),h=r.toObject(u)}var p={};h&&c.mixin(p,h),e.content&&c.mixin(p,e.content),e.preventCache&&(p["dojo.preventCache"]=(new Date).valueOf()),d.query=i.objectToQuery(p),d.handleAs=e.handleAs||"text";var m=new a((function(t){t.canceled=!0,n&&n(t);var e=t.ioArgs.error;return e||((e=new Error("request cancelled")).dojoType="cancel",t.ioArgs.error=e),e}));m.addCallback(s);var y=e.load;y&&c.isFunction(y)&&m.addCallback((function(t){return y.call(e,t,d)}));var v=e.error;v&&c.isFunction(v)&&m.addErrback((function(t){return v.call(e,t,d)}));var b=e.handle;return b&&c.isFunction(b)&&m.addBoth((function(t){return b.call(e,t,d)})),m.addErrback((function(t){return l(t,m)})),g.ioPublish&&t.publish&&!1!==d.args.ioPublish&&(m.addCallbacks((function(e){return t.publish("/dojo/io/load",[m,e]),e}),(function(e){return t.publish("/dojo/io/error",[m,e]),e})),m.addBoth((function(e){return t.publish("/dojo/io/done",[m,e]),e}))),m.ioArgs=d,m};var v=function(t){var e=y[t.ioArgs.handleAs](t.ioArgs.xhr);return void 0===e?null:e},b=function(t,e){return e.ioArgs.args.failOk||console.error(t),t},x=function(e){_<=0&&(_=0,g.ioPublish&&t.publish&&(!e||e&&!1!==e.ioArgs.args.ioPublish)&&t.publish("/dojo/io/stop"))},_=0;return u.after(f,"_onAction",(function(){_-=1})),u.after(f,"_onInFlight",x),t._ioCancelAll=f.cancelAll,t._ioNotifyStart=function(e){g.ioPublish&&t.publish&&!1!==e.ioArgs.args.ioPublish&&(_||t.publish("/dojo/io/start"),_+=1,t.publish("/dojo/io/send",[e]))},t._ioWatch=function(t,e,n,i){t.ioArgs.options=t.ioArgs.args,c.mixin(t,{response:t.ioArgs,isValid:function(n){return e(t)},isReady:function(e){return n(t)},handleResponse:function(e){return i(t)}}),f(t),x(t)},t._ioAddQueryToUrl=function(t){t.query.length&&(t.url+=(-1==t.url.indexOf("?")?"?":"&")+t.query,t.query=null)},t.xhr=function(e,n,i){var o,r=t._ioSetArgs(n,(function(t){o&&o.cancel()}),v,b),a=r.ioArgs;"postData"in n?a.query=n.postData:"putData"in n?a.query=n.putData:"rawBody"in n?a.query=n.rawBody:(arguments.length>2&&!i||-1==="POST|PUT".indexOf(e.toUpperCase()))&&t._ioAddQueryToUrl(a);var s={method:e,handleAs:"text",timeout:n.timeout,withCredentials:n.withCredentials,ioArgs:a};void 0!==n.headers&&(s.headers=n.headers),void 0!==n.contentType&&(s.headers||(s.headers={}),s.headers["Content-Type"]=n.contentType),void 0!==a.query&&(s.data=a.query),void 0!==n.sync&&(s.sync=n.sync),t._ioNotifyStart(r);try{o=p(a.url,s,!0)}catch(t){return r.cancel(),r}return r.ioArgs.xhr=o.response.xhr,o.then((function(){r.resolve(r)})).otherwise((function(t){a.error=t,t.response&&(t.status=t.response.status,t.responseText=t.response.text,t.xhr=t.response.xhr),r.reject(t)})),r},t.xhrGet=function(e){return t.xhr("GET",e)},t.rawXhrPost=t.xhrPost=function(e){return t.xhr("POST",e,!0)},t.rawXhrPut=t.xhrPut=function(e){return t.xhr("PUT",e,!0)},t.xhrDelete=function(e){return t.xhr("DELETE",e)},t._isDocumentOk=function(t){return m.checkStatus(t.status)},t._getText=function(e){var n;return t.xhrGet({url:e,sync:!0,load:function(t){n=t}}),n},c.mixin(t.xhr,{_xhrObj:t._xhrObj,fieldToObject:r.fieldToObject,formToObject:r.toObject,objectToQuery:i.objectToQuery,formToQuery:r.toQuery,formToJson:r.toJson,queryToObject:i.queryToObject,contentHandlers:y,_ioSetArgs:t._ioSetArgs,_ioCancelAll:t._ioCancelAll,_ioNotifyStart:t._ioNotifyStart,_ioWatch:t._ioWatch,_ioAddQueryToUrl:t._ioAddQueryToUrl,_isDocumentOk:t._isDocumentOk,_getText:t._getText,get:t.xhrGet,post:t.xhrPost,put:t.xhrPut,del:t.xhrDelete}),t.xhr}))},"dojo/_base/sniff":function(){define(["./kernel","./lang","../sniff"],(function(t,e,n){return t._name="browser",e.mixin(t,{isBrowser:!0,isFF:n("ff"),isIE:n("ie"),isKhtml:n("khtml"),isWebKit:n("webkit"),isMozilla:n("mozilla"),isMoz:n("mozilla"),isOpera:n("opera"),isSafari:n("safari"),isChrome:n("chrome"),isMac:n("mac"),isIos:n("ios"),isAndroid:n("android"),isWii:n("wii"),isQuirks:n("quirks"),isAir:n("air")}),n}))},"dojo/io-query":function(){define(["./_base/lang"],(function(t){var e={};return{objectToQuery:function(n){var i=encodeURIComponent,o=[];for(var r in n){var a=n[r];if(a!=e[r]){var s=i(r)+"=";if(t.isArray(a))for(var l=0,c=a.length;l<c;++l)o.push(s+i(a[l]));else o.push(s+i(a))}}return o.join("&")},queryToObject:function(e){for(var n,i,o,r=decodeURIComponent,a=e.split("&"),s={},l=0,c=a.length;l<c;++l)if((o=a[l]).length){var d=o.indexOf("=");d<0?(n=r(o),i=""):(n=r(o.slice(0,d)),i=r(o.slice(d+1))),"string"==typeof s[n]&&(s[n]=[s[n]]),t.isArray(s[n])?s[n].push(i):s[n]=i}return s}}}))},"dojo/dom":function(){define(["./sniff","./_base/window"],(function(t,e){if(t("ie")<=7)try{document.execCommand("BackgroundImageCache",!1,!0)}catch(t){}var n={};t("ie")?n.byId=function(t,n){if("string"!=typeof t)return t;var i=n||e.doc,o=t&&i.getElementById(t);if(o&&(o.attributes.id.value==t||o.id==t))return o;var r=i.all[t];r&&!r.nodeName||(r=[r]);for(var a=0;o=r[a++];)if(o.attributes&&o.attributes.id&&o.attributes.id.value==t||o.id==t)return o}:n.byId=function(t,n){return("string"==typeof t?(n||e.doc).getElementById(t):t)||null},n.isDescendant=function(t,e){try{for(t=n.byId(t),e=n.byId(e);t;){if(t==e)return!0;t=t.parentNode}}catch(t){}return!1},t.add("css-user-select",(function(t,e,n){if(!n)return!1;var i=n.style,o=["Khtml","O","Moz","Webkit"],r=o.length,a="userSelect";do{if(void 0!==i[a])return a}while(r--&&(a=o[r]+"UserSelect"));return!1}));var i=t("css-user-select");return n.setSelectable=i?function(t,e){n.byId(t).style[i]=e?"":"none"}:function(t,e){var i=(t=n.byId(t)).getElementsByTagName("*"),o=i.length;if(e)for(t.removeAttribute("unselectable");o--;)i[o].removeAttribute("unselectable");else for(t.setAttribute("unselectable","on");o--;)i[o].setAttribute("unselectable","on")},n}))},"dojo/_base/window":function(){define(["./kernel","./lang","../sniff"],(function(t,e,n){var i={global:t.global,doc:t.global.document||null,body:function(e){return(e=e||t.doc).body||e.getElementsByTagName("body")[0]},setContext:function(e,n){t.global=i.global=e,t.doc=i.doc=n},withGlobal:function(e,n,o,r){var a=t.global;try{return t.global=i.global=e,i.withDoc.call(null,e.document,n,o,r)}finally{t.global=i.global=a}},withDoc:function(e,o,r,a){var s,l,c,d=i.doc,h=n("quirks"),u=n("ie");try{return t.doc=i.doc=e,t.isQuirks=n.add("quirks","BackCompat"==t.doc.compatMode,!0,!0),n("ie")&&(c=e.parentWindow)&&c.navigator&&(s=parseFloat(c.navigator.appVersion.split("MSIE ")[1])||void 0,(l=e.documentMode)&&5!=l&&Math.floor(s)!=l&&(s=l),t.isIE=n.add("ie",s,!0,!0)),r&&"string"==typeof o&&(o=r[o]),o.apply(r,a||[])}finally{t.doc=i.doc=d,t.isQuirks=n.add("quirks",h,!0,!0),t.isIE=n.add("ie",u,!0,!0)}}};return e.mixin(t,i),i}))},"dojo/dom-form":function(){define(["./_base/lang","./dom","./io-query","./json"],(function(t,e,n,i){function o(e,n,i){if(null!==i){var o=e[n];"string"==typeof o?e[n]=[o,i]:t.isArray(o)?o.push(i):e[n]=i}}var r={fieldToObject:function(t){var n=null;if(t=e.byId(t)){var i=t.name,o=(t.type||"").toLowerCase();if(i&&o&&!t.disabled)if("radio"==o||"checkbox"==o)t.checked&&(n=t.value);else if(t.multiple){n=[];for(var r=[t.firstChild];r.length;)for(var a=r.pop();a;a=a.nextSibling){if(1!=a.nodeType||"option"!=a.tagName.toLowerCase()){a.nextSibling&&r.push(a.nextSibling),a.firstChild&&r.push(a.firstChild);break}a.selected&&n.push(a.value)}}else n=t.value}return n},toObject:function(t){for(var n={},i=e.byId(t).elements,a=0,s=i.length;a<s;++a){var l=i[a],c=l.name,d=(l.type||"").toLowerCase();c&&d&&"file|submit|image|reset|button".indexOf(d)<0&&!l.disabled&&(o(n,c,r.fieldToObject(l)),"image"==d&&(n[c+".x"]=n[c+".y"]=n[c].x=n[c].y=0))}return n},toQuery:function(t){return n.objectToQuery(r.toObject(t))},toJson:function(t,e){return i.stringify(r.toObject(t),null,e?4:0)}};return r}))},"dojo/_base/Deferred":function(){define(["./kernel","../Deferred","../promise/Promise","../errors/CancelError","../has","./lang","../when"],(function(t,e,n,i,o,r,a){var s=function(){},l=Object.freeze||function(){},c=t.Deferred=function(t){var a,d,h,u,f,p,m,g=this.promise=new n;function y(t){if(d)throw new Error("This deferred has already been resolved");a=t,d=!0,v()}function v(){for(var t;!t&&m;){var n=m;m=m.next,(t=n.progress==s)&&(d=!1);var i=f?n.error:n.resolved;if(o("config-useDeferredInstrumentation")&&f&&e.instrumentRejected&&e.instrumentRejected(a,!!i),i)try{var l=i(a);if(l&&"function"==typeof l.then){l.then(r.hitch(n.deferred,"resolve"),r.hitch(n.deferred,"reject"),r.hitch(n.deferred,"progress"));continue}var c=t&&void 0===l;t&&!c&&(f=l instanceof Error),n.deferred[c&&f?"reject":"resolve"](c?a:l)}catch(t){n.deferred.reject(t)}else f?n.deferred.reject(a):n.deferred.resolve(a)}}this.isResolved=g.isResolved=function(){return 0==u},this.isRejected=g.isRejected=function(){return 1==u},this.isFulfilled=g.isFulfilled=function(){return u>=0},this.isCanceled=g.isCanceled=function(){return h},this.resolve=this.callback=function(t){this.fired=u=0,this.results=[t,null],y(t)},this.reject=this.errback=function(t){f=!0,this.fired=u=1,o("config-useDeferredInstrumentation")&&e.instrumentRejected&&e.instrumentRejected(t,!!m),y(t),this.results=[null,t]},this.progress=function(t){for(var e=m;e;){var n=e.progress;n&&n(t),e=e.next}},this.addCallbacks=function(t,e){return this.then(t,e,s),this},g.then=this.then=function(t,e,n){var i=n==s?this:new c(g.cancel),o={resolved:t,error:e,progress:n,deferred:i};return m?p=p.next=o:m=p=o,d&&v(),i.promise};var b=this;g.cancel=this.cancel=function(){if(!d){var e=t&&t(b);d||(e instanceof Error||(e=new i(e)),e.log=!1,b.reject(e))}h=!0},l(g)};return r.extend(c,{addCallback:function(e){return this.addCallbacks(r.hitch.apply(t,arguments))},addErrback:function(e){return this.addCallbacks(null,r.hitch.apply(t,arguments))},addBoth:function(e){var n=r.hitch.apply(t,arguments);return this.addCallbacks(n,n)},fired:-1}),c.when=t.when=a,c}))},"dojo/Deferred":function(){define(["./has","./_base/lang","./errors/CancelError","./promise/Promise","./promise/instrumentation"],(function(t,e,n,i,o){"use strict";var r="This deferred has already been fulfilled.",a=Object.freeze||function(){},s=function(t,e,n,i,o){2===e&&h.instrumentRejected&&0===t.length&&h.instrumentRejected(n,!1,i,o);for(var r=0;r<t.length;r++)l(t[r],e,n,i)},l=function(t,e,n,i){var o=t[e],r=t.deferred;if(o)try{var a=o(n);if(0===e)void 0!==a&&d(r,e,a);else{if(a&&"function"==typeof a.then)return t.cancel=a.cancel,void a.then(c(r,1),c(r,2),c(r,0));d(r,1,a)}}catch(t){d(r,2,t)}else d(r,e,n);2===e&&h.instrumentRejected&&h.instrumentRejected(n,!!o,i,r.promise)},c=function(t,e){return function(n){d(t,e,n)}},d=function(t,e,n){if(!t.isCanceled())switch(e){case 0:t.progress(n);break;case 1:t.resolve(n);break;case 2:t.reject(n)}},h=function(t){var e,o,c,d=this.promise=new i,u=this,f=!1,p=[];Error.captureStackTrace&&(Error.captureStackTrace(u,h),Error.captureStackTrace(d,h)),this.isResolved=d.isResolved=function(){return 1===e},this.isRejected=d.isRejected=function(){return 2===e},this.isFulfilled=d.isFulfilled=function(){return!!e},this.isCanceled=d.isCanceled=function(){return f},this.progress=function(t,n){if(e){if(!0===n)throw new Error(r);return d}return s(p,0,t,null,u),d},this.resolve=function(t,n){if(e){if(!0===n)throw new Error(r);return d}return s(p,e=1,o=t,null,u),p=null,d};var m=this.reject=function(t,n){if(e){if(!0===n)throw new Error(r);return d}return Error.captureStackTrace&&Error.captureStackTrace(c={},m),s(p,e=2,o=t,c,u),p=null,d};this.then=d.then=function(t,n,i){var r=[i,t,n];return r.cancel=d.cancel,r.deferred=new h((function(t){return r.cancel&&r.cancel(t)})),e&&!p?l(r,e,o,c):p.push(r),r.deferred.promise},this.cancel=d.cancel=function(i,a){if(e){if(!0===a)throw new Error(r)}else{if(t){var s=t(i);i=void 0===s?i:s}if(f=!0,!e)return void 0===i&&(i=new n),m(i),i;if(2===e&&o===i)return i}},a(d)};return h.prototype.toString=function(){return"[object Deferred]"},o&&o(h),h}))},"dojo/errors/CancelError":function(){define(["./create"],(function(t){return t("CancelError",null,null,{dojoType:"cancel"})}))},"dojo/errors/create":function(){define(["../_base/lang"],(function(t){return function(e,n,i,o){i=i||Error;var r=function(t){if(i===Error){Error.captureStackTrace&&Error.captureStackTrace(this,r);var e,o=Error.call(this,t);for(e in o)o.hasOwnProperty(e)&&(this[e]=o[e]);this.message=t,this.stack=o.stack}else i.apply(this,arguments);n&&n.apply(this,arguments)};return r.prototype=t.delegate(i.prototype,o),r.prototype.name=e,r.prototype.constructor=r,r}}))},"dojo/promise/Promise":function(){define(["../_base/lang"],(function(t){"use strict";function e(){throw new TypeError("abstract")}return t.extend((function(){}),{then:function(t,n,i){e()},cancel:function(t,n){e()},isResolved:function(){e()},isRejected:function(){e()},isFulfilled:function(){e()},isCanceled:function(){e()},always:function(t){return this.then(t,t)},otherwise:function(t){return this.then(null,t)},trace:function(){return this},traceRejected:function(){return this},toString:function(){return"[object Promise]"}})}))},"dojo/promise/instrumentation":function(){define(["./tracer","../has","../_base/lang","../_base/array"],(function(t,e,n,i){function o(t,e,n){var i="";t&&t.stack&&(i+=t.stack),e&&e.stack&&(i+="\n ----------------------------------------\n rejected"+e.stack.split("\n").slice(1).join("\n").replace(/^\s+/," ")),n&&n.stack&&(i+="\n ----------------------------------------\n"+n.stack),console.error(t,i)}function r(t,e,n,i){e||o(t,n,i)}e.add("config-useDeferredInstrumentation","report-unhandled-rejections");var a=[],s=!1,l=1e3;function c(t,e,n,o){i.some(a,(function(n){if(n.error===t)return e&&(n.handled=!0),!0}))||a.push({error:t,rejection:n,handled:e,deferred:o,timestamp:(new Date).getTime()}),s||(s=setTimeout(d,l))}function d(){var t=(new Date).getTime(),e=t-l;a=i.filter(a,(function(t){return!(t.timestamp<e&&(t.handled||o(t.error,t.rejection,t.deferred),1))})),s=!!a.length&&setTimeout(d,a[0].timestamp+l-t)}return function(i){var o=e("config-useDeferredInstrumentation");if(o){t.on("resolved",n.hitch(console,"log","resolved")),t.on("rejected",n.hitch(console,"log","rejected")),t.on("progress",n.hitch(console,"log","progress"));var a=[];if("string"==typeof o&&(a=o.split(","),o=a.shift()),"report-rejections"===o)i.instrumentRejected=r;else{if("report-unhandled-rejections"!==o&&!0!==o&&1!==o)throw new Error("Unsupported instrumentation usage <"+o+">");i.instrumentRejected=c,l=parseInt(a[0],10)||l}}}}))},"dojo/promise/tracer":function(){define(["../_base/lang","./Promise","../Evented"],(function(t,e,n){"use strict";var i=new n,o=i.emit;function r(t){setTimeout((function(){o.apply(i,t)}),0)}return i.emit=null,e.prototype.trace=function(){var e=t._toArray(arguments);return this.then((function(t){r(["resolved",t].concat(e))}),(function(t){r(["rejected",t].concat(e))}),(function(t){r(["progress",t].concat(e))})),this},e.prototype.traceRejected=function(){var e=t._toArray(arguments);return this.otherwise((function(t){r(["rejected",t].concat(e))})),this},i}))},"dojo/Evented":function(){define(["./aspect","./on"],(function(t,e){"use strict";var n=t.after;function i(){}return i.prototype={on:function(t,i){return e.parse(this,t,i,(function(t,e){return n(t,"on"+e,i,!0)}))},emit:function(t,n){var i=[this];return i.push.apply(i,arguments),e.emit.apply(e,i)}},i}))},"dojo/aspect":function(){define([],(function(){"use strict";function t(t){return function(e,n,i,o){var r,a=e[n];a&&a.target==e||(e[n]=r=function(){for(var t=r.nextId,e=arguments,n=r.before;n;)n.advice&&(e=n.advice.apply(this,e)||e),n=n.next;if(r.around)var i=r.around.advice(this,e);for(var o=r.after;o&&o.id<t;){if(o.advice)if(o.receiveArguments){var a=o.advice.apply(this,e);i=void 0===a?i:a}else i=o.advice.call(this,i,e);o=o.next}return i},a&&(r.around={advice:function(t,e){return a.apply(t,e)}}),r.target=e,r.nextId=r.nextId||0);var s=function(t,e,n,i){var o,r=t[e],a="around"==e;if(a){var s=n((function(){return r.advice(this,arguments)}));o={remove:function(){s&&(s=t=n=null)},advice:function(t,e){return s?s.apply(t,e):r.advice(t,e)}}}else o={remove:function(){if(o.advice){var i=o.previous,r=o.next;r||i?(i?i.next=r:t[e]=r,r&&(r.previous=i)):delete t[e],t=n=o.advice=null}},id:t.nextId++,advice:n,receiveArguments:i};if(r&&!a)if("after"==e){for(;r.next&&(r=r.next););r.next=o,o.previous=r}else"before"==e&&(t[e]=o,o.next=r,r.previous=o);else t[e]=o;return o}(r||a,t,i,o);return i=null,s}}var e=t("after");return{before:t("before"),around:t("around"),after:e}}))},"dojo/on":function(){define(["./has!dom-addeventlistener?:./aspect","./_base/kernel","./sniff"],(function(t,e,n){"use strict";var i=window.ScriptEngineMajorVersion;n.add("jscript",i&&i()+ScriptEngineMinorVersion()/10),n.add("event-orientationchange",n("touch")&&!n("android")),n.add("event-stopimmediatepropagation",window.Event&&!!window.Event.prototype&&!!window.Event.prototype.stopImmediatePropagation),n.add("event-focusin",(function(t,e,n){return"onfocusin"in n})),n("touch")&&n.add("touch-can-modify-event-delegate",(function(){var t=function(){};t.prototype=document.createEvent("MouseEvents");try{var e=new t;return e.target=null,null===e.target}catch(t){return!1}}));var o=function(t,e,n,i){return"function"!=typeof t.on||"function"==typeof e||t.nodeType?o.parse(t,e,n,a,i,this):t.on(e,n)};o.pausable=function(t,e,n,i){var r,a=o(t,e,(function(){if(!r)return n.apply(this,arguments)}),i);return a.pause=function(){r=!0},a.resume=function(){r=!1},a},o.once=function(t,e,n,i){var r=o(t,e,(function(){return r.remove(),n.apply(this,arguments)}));return r},o.parse=function(t,e,n,i,r,a){var s;if(e.call)return e.call(a,t,n);if(e instanceof Array?s=e:e.indexOf(",")>-1&&(s=e.split(/\s*,\s*/)),s){for(var l,c=[],d=0;l=s[d++];)c.push(o.parse(t,l,n,i,r,a));return c.remove=function(){for(var t=0;t<c.length;t++)c[t].remove()},c}return i(t,e,n,r,a)};var r=/^touch/;function a(t,e,i,a,s){var l=e.match(/(.*):(.*)/);if(l)return e=l[2],l=l[1],o.selector(l,e).call(s,t,i);if(n("touch")&&(r.test(e)&&(i=j(i)),n("event-orientationchange")||"orientationchange"!=e||(e="resize",t=window,i=j(i))),f&&(i=f(i)),t.addEventListener){var c=e in h,d=c?h[e]:e;return t.addEventListener(d,i,c),{remove:function(){t.removeEventListener(d,i,c)}}}if(e="on"+e,g&&t.attachEvent)return g(t,e,i);throw new Error("Target must be an event emitter")}function s(){this.cancelable=!1,this.defaultPrevented=!0}function l(){this.bubbles=!1}o.matches=function(t,n,i,o,r){for(r=r&&"function"==typeof r.matches?r:e.query,o=!1!==o,1!=t.nodeType&&(t=t.parentNode);!r.matches(t,n,i);)if(t==i||!1===o||!(t=t.parentNode)||1!=t.nodeType)return!1;return t},o.selector=function(t,e,n){return function(i,r){var a="function"==typeof t?{matches:t}:this,s=e.bubble;function l(e){return o.matches(e,t,i,n,a)}return s?o(i,s(l),r):o(i,e,(function(t){var e=l(t.target);if(e)return r.call(e,t)}))}};var c=[].slice,d=o.emit=function(t,e,n){var i=c.call(arguments,2),o="on"+e;if("parentNode"in t){var r=i[0]={};for(var a in n)r[a]=n[a];r.preventDefault=s,r.stopPropagation=l,r.target=t,r.type=e,n=r}do{t[o]&&t[o].apply(t,i)}while(n&&n.bubbles&&(t=t.parentNode));return n&&n.cancelable&&n},h=n("event-focusin")?{}:{focusin:"focus",focusout:"blur"};if(!n("event-stopimmediatepropagation"))var u=function(){this.immediatelyStopped=!0,this.modified=!0},f=function(t){return function(e){if(!e.immediatelyStopped)return e.stopImmediatePropagation=u,t.apply(this,arguments)}};if(n("dom-addeventlistener"))o.emit=function(t,e,n){if(t.dispatchEvent&&document.createEvent){var i=(t.ownerDocument||document).createEvent("HTMLEvents");for(var r in i.initEvent(e,!!n.bubbles,!!n.cancelable),n)r in i||(i[r]=n[r]);return t.dispatchEvent(i)&&i}return d.apply(o,arguments)};else{o._fixEvent=function(t,e){if(t||(t=(e&&(e.ownerDocument||e.document||e).parentWindow||window).event),!t)return t;try{p&&t.type==p.type&&t.srcElement==p.target&&(t=p)}catch(t){}if(!t.target&&(t.target=t.srcElement,t.currentTarget=e||t.srcElement,"mouseover"==t.type&&(t.relatedTarget=t.fromElement),"mouseout"==t.type&&(t.relatedTarget=t.toElement),t.stopPropagation||(t.stopPropagation=v,t.preventDefault=b),"keypress"===t.type)){var n="charCode"in t?t.charCode:t.keyCode;10==n?(n=0,t.keyCode=13):13==n||27==n?n=0:3==n&&(n=99),t.charCode=n,y(t)}return t};var p,m=function(t){this.handle=t};m.prototype.remove=function(){delete _dojoIEListeners_[this.handle]};var g=function(e,i,r){if(r=function(t){return function(e){e=o._fixEvent(e,this);var n=t.call(this,e);return e.modified&&(p||setTimeout((function(){p=null})),p=e),n}}(r),((e.ownerDocument?e.ownerDocument.parentWindow:e.parentWindow||e.window||window)!=top||n("jscript")<5.8)&&!n("config-_allow_leaks")){"undefined"==typeof _dojoIEListeners_&&(_dojoIEListeners_=[]);var a,s=e[i];if(!s||!s.listeners){var l=s;(s=Function("event","var callee = arguments.callee; for(var i = 0; i<callee.listeners.length; i++){var listener = _dojoIEListeners_[callee.listeners[i]]; if(listener){listener.call(this,event);}}")).listeners=[],e[i]=s,s.global=this,l&&s.listeners.push(_dojoIEListeners_.push(l)-1)}return s.listeners.push(a=s.global._dojoIEListeners_.push(r)-1),new m(a)}return t.after(e,i,r,!0)},y=function(t){t.keyChar=t.charCode?String.fromCharCode(t.charCode):"",t.charOrCode=t.keyChar||t.keyCode},v=function(){this.cancelBubble=!0},b=o._preventDefault=function(){if(this.bubbledKeyCode=this.keyCode,this.ctrlKey)try{this.keyCode=0}catch(t){}this.defaultPrevented=!0,this.returnValue=!1,this.modified=!0}}if(n("touch"))var x=function(){},_=window.orientation,j=function(t){return function(e){var i=e.corrected;if(!i){var o=e.type;try{delete e.type}catch(t){}if(e.type){if(n("touch-can-modify-event-delegate"))x.prototype=e,i=new x;else for(var r in i={},e)i[r]=e[r];i.preventDefault=function(){e.preventDefault()},i.stopPropagation=function(){e.stopPropagation()}}else(i=e).type=o;if(e.corrected=i,"resize"==o)return _==window.orientation?null:(_=window.orientation,i.type="orientationchange",t.call(this,i));if("rotation"in i||(i.rotation=0,i.scale=1),window.TouchEvent&&e instanceof TouchEvent){var a=i.changedTouches[0];for(var s in a)delete i[s],i[s]=a[s]}}return t.call(this,i)}};return o}))},"dojo/when":function(){define(["./Deferred","./promise/Promise"],(function(t,e){"use strict";return function(n,i,o,r){var a=n&&"function"==typeof n.then,s=a&&n instanceof e;if(!a)return arguments.length>1?i?i(n):n:(new t).resolve(n);if(!s){var l=new t(n.cancel);n.then(l.resolve,l.reject,l.progress),n=l.promise}return i||o||r?n.then(i,o,r):n}}))},"dojo/_base/json":function(){define(["./kernel","../json"],(function(dojo,json){return dojo.fromJson=function(js){return eval("("+js+")")},dojo._escapeString=json.stringify,dojo.toJsonIndentStr="\t",dojo.toJson=function(t,e){return json.stringify(t,(function(t,e){if(e){var n=e.__json__||e.json;if("function"==typeof n)return n.call(e)}return e}),e&&dojo.toJsonIndentStr)},dojo}))},"dojo/request/watch":function(){define(["./util","../errors/RequestTimeoutError","../errors/CancelError","../_base/array","../_base/window","../has!host-browser?dom-addeventlistener?:../on:"],(function(t,e,n,i,o,r){var a=null,s=[];function l(){for(var t,n=+new Date,i=0;i<s.length&&(t=s[i]);i++){var o=t.response,r=o.options;t.isCanceled&&t.isCanceled()||t.isValid&&!t.isValid(o)?(s.splice(i--,1),c._onAction&&c._onAction()):t.isReady&&t.isReady(o)?(s.splice(i--,1),t.handleResponse(o),c._onAction&&c._onAction()):t.startTime&&t.startTime+(r.timeout||0)<n&&(s.splice(i--,1),t.cancel(new e("Timeout exceeded",o)),c._onAction&&c._onAction())}c._onInFlight&&c._onInFlight(t),s.length||(clearInterval(a),a=null)}function c(t){t.response.options.timeout&&(t.startTime=+new Date),t.isFulfilled()||(s.push(t),a||(a=setInterval(l,50)),t.response.options.sync&&l())}return c.cancelAll=function(){try{i.forEach(s,(function(t){try{t.cancel(new n("All requests canceled."))}catch(t){}}))}catch(t){}},o&&r&&o.doc.attachEvent&&r(o.global,"unload",(function(){c.cancelAll()})),c}))},"dojo/request/util":function(){define(["exports","../errors/RequestError","../errors/CancelError","../Deferred","../io-query","../_base/array","../_base/lang","../promise/Promise"],(function(t,e,n,i,o,r,a,s){t.deepCopy=function(e,n){for(var i in n){var o=e[i],r=n[i];o!==r&&(o&&"object"==typeof o&&r&&"object"==typeof r?t.deepCopy(o,r):e[i]=r)}return e},t.deepCreate=function(e,n){n=n||{};var i,o,r=a.delegate(e);for(i in e)(o=e[i])&&"object"==typeof o&&(r[i]=t.deepCreate(o,n[i]));return t.deepCopy(r,n)};var l=Object.freeze||function(t){return t};function c(t){return l(t)}function d(t){return void 0!==t.data?t.data:t.text}t.deferred=function(o,r,h,u,f,p){var m=new i((function(t){return r&&r(m,o),t&&(t instanceof e||t instanceof n)?t:new n("Request canceled",o)}));m.response=o,m.isValid=h,m.isReady=u,m.handleResponse=f;var g=m.then(c).otherwise((function(t){throw t.response=o,t}));t.notify&&g.then(a.hitch(t.notify,"emit","load"),a.hitch(t.notify,"emit","error"));var y=g.then(d),v=new s;for(var b in y)y.hasOwnProperty(b)&&(v[b]=y[b]);return v.response=g,l(v),p&&m.then((function(t){p.call(m,t)}),(function(t){p.call(m,o,t)})),m.promise=v,m.then=v.then,m},t.addCommonMethods=function(t,e){r.forEach(e||["GET","POST","PUT","DELETE"],(function(e){t[("DELETE"===e?"DEL":e).toLowerCase()]=function(n,i){return(i=a.delegate(i||{})).method=e,t(n,i)}}))},t.parseArgs=function(t,e,n){var i=e.data,r=e.query;return i&&!n&&"object"==typeof i&&(e.data=o.objectToQuery(i)),r?("object"==typeof r&&(r=o.objectToQuery(r)),e.preventCache&&(r+=(r?"&":"")+"request.preventCache="+ +new Date)):e.preventCache&&(r="request.preventCache="+ +new Date),t&&r&&(t+=(~t.indexOf("?")?"&":"?")+r),{url:t,options:e,getHeader:function(t){return null}}},t.checkStatus=function(t){return(t=t||0)>=200&&t<300||304===t||1223===t||!t}}))},"dojo/errors/RequestError":function(){define(["./create"],(function(t){return t("RequestError",(function(t,e){this.response=e}))}))},"dojo/errors/RequestTimeoutError":function(){define(["./create","./RequestError"],(function(t,e){return t("RequestTimeoutError",null,e,{dojoType:"timeout"})}))},"dojo/request/xhr":function(){define(["../errors/RequestError","./watch","./handlers","./util","../has"],(function(t,e,n,i,o){o.add("native-xhr",(function(){return"undefined"!=typeof XMLHttpRequest})),o.add("dojo-force-activex-xhr",(function(){return o("activex")&&"file:"===window.location.protocol})),o.add("native-xhr2",(function(){if(o("native-xhr")&&!o("dojo-force-activex-xhr")){var t=new XMLHttpRequest;return void 0!==t.addEventListener&&("undefined"==typeof opera||void 0!==t.upload)}})),o.add("native-formdata",(function(){return"undefined"!=typeof FormData})),o.add("native-response-type",(function(){return o("native-xhr")&&void 0!==(new XMLHttpRequest).responseType})),o.add("native-xhr2-blob",(function(){if(o("native-response-type")){var t=new XMLHttpRequest;t.open("GET","/",!0),t.responseType="blob";var e=t.responseType;return t.abort(),"blob"===e}}));var r,a,s,l,c={blob:o("native-xhr2-blob")?"blob":"arraybuffer",document:"document",arraybuffer:"arraybuffer"};function d(e,o){var r=e.xhr;e.status=e.xhr.status;try{e.text=r.responseText}catch(t){}if("xml"===e.options.handleAs&&(e.data=r.responseXML),!o)try{n(e)}catch(t){o=t}o?this.reject(o):i.checkStatus(r.status)?this.resolve(e):(o=new t("Unable to load "+e.url+" status: "+r.status,e),this.reject(o))}function h(t){return this.xhr.getResponseHeader(t)}o("native-xhr2")?(r=function(t){return!this.isFulfilled()},l=function(t,e){e.xhr.abort()},s=function(e,n,i){function o(t){n.handleResponse(i)}function r(e){var o=e.target,r=new t("Unable to load "+i.url+" status: "+o.status,i);n.handleResponse(i,r)}function a(t){t.lengthComputable?(i.loaded=t.loaded,i.total=t.total,n.progress(i)):3===i.xhr.readyState&&(i.loaded="loaded"in t?t.loaded:t.position,n.progress(i))}return e.addEventListener("load",o,!1),e.addEventListener("error",r,!1),e.addEventListener("progress",a,!1),function(){e.removeEventListener("load",o,!1),e.removeEventListener("error",r,!1),e.removeEventListener("progress",a,!1),e=null}}):(r=function(t){return t.xhr.readyState},a=function(t){return 4===t.xhr.readyState},l=function(t,e){var n=e.xhr,i=typeof n.abort;"function"!==i&&"object"!==i&&"unknown"!==i||n.abort()});var u,f={data:null,query:null,sync:!1,method:"GET"};function p(n,m,g){var y=o("native-formdata")&&m&&m.data&&m.data instanceof FormData,v=i.parseArgs(n,i.deepCreate(f,m),y);n=v.url,m=v.options;var b,x=i.deferred(v,l,r,a,d,(function(){b&&b()})),_=v.xhr=p._create();if(!_)return x.cancel(new t("XHR was not created")),g?x:x.promise;v.getHeader=h,s&&(b=s(_,x,v));var j=void 0===m.data?null:m.data,w=!m.sync,k=m.method;try{_.open(k,n,w,m.user||u,m.password||u),m.withCredentials&&(_.withCredentials=m.withCredentials),o("native-response-type")&&m.handleAs in c&&(_.responseType=c[m.handleAs]);var C=m.headers,S=!y&&"application/x-www-form-urlencoded";if(C)for(var M in C)"content-type"===M.toLowerCase()?S=C[M]:C[M]&&_.setRequestHeader(M,C[M]);S&&!1!==S&&_.setRequestHeader("Content-Type",S),C&&"X-Requested-With"in C||_.setRequestHeader("X-Requested-With","XMLHttpRequest"),i.notify&&i.notify.emit("send",v,x.promise.cancel),_.send(j)}catch(t){x.reject(t)}return e(x),_=null,g?x:x.promise}if(p._create=function(){throw new Error("XMLHTTP not available")},o("native-xhr")&&!o("dojo-force-activex-xhr"))p._create=function(){return new XMLHttpRequest};else if(o("activex"))try{new ActiveXObject("Msxml2.XMLHTTP"),p._create=function(){return new ActiveXObject("Msxml2.XMLHTTP")}}catch(t){try{new ActiveXObject("Microsoft.XMLHTTP"),p._create=function(){return new ActiveXObject("Microsoft.XMLHTTP")}}catch(t){}}return i.addCommonMethods(p),p}))},"dojo/request/handlers":function(){define(["../json","../_base/kernel","../_base/array","../has","../selector/_loader"],(function(t,e,n,i){var o;if(i.add("activex","undefined"!=typeof ActiveXObject),i.add("dom-parser",(function(t){return"DOMParser"in t})),i("activex")){var r,a=["Msxml2.DOMDocument.6.0","Msxml2.DOMDocument.4.0","MSXML2.DOMDocument.3.0","MSXML.DOMDocument"];o=function(t){var e=t.data,o=t.text;function s(t){try{var n=new ActiveXObject(t);n.async=!1,n.loadXML(o),e=n,r=t}catch(t){return!1}return!0}return e&&i("dom-qsa2.1")&&!e.querySelectorAll&&i("dom-parser")&&(e=(new DOMParser).parseFromString(o,"application/xml")),e&&e.documentElement||r&&s(r)||n.some(a,s),e}}var s=function(t){return i("native-xhr2-blob")||"blob"!==t.options.handleAs||"undefined"==typeof Blob?t.xhr.response:new Blob([t.xhr.response],{type:t.xhr.getResponseHeader("Content-Type")})},l={javascript:function(t){return e.eval(t.text||"")},json:function(e){return t.parse(e.text||null)},xml:o,blob:s,arraybuffer:s,document:s};function c(t){var e=l[t.options.handleAs];return t.data=e?e(t):t.data||t.text,t}return c.register=function(t,e){l[t]=e},c}))},"dojo/selector/_loader":function(){define(["../has","require"],(function(t,e){"use strict";if("undefined"!=typeof document){var n=document.createElement("div");t.add("dom-qsa2.1",!!n.querySelectorAll),t.add("dom-qsa3",(function(){try{return n.innerHTML="<p class='TEST'></p>",1==n.querySelectorAll(".TEST:empty").length}catch(t){}}))}var i,o="./acme",r="./lite";return{load:function(n,a,s,l){if(l&&l.isBuild)s();else{var c=e;if("?"==(n="css2"==(n="default"==n?t("config-selectorEngine")||"css3":n)||"lite"==n?r:"css2.1"==n?t("dom-qsa2.1")?r:o:"css3"==n?t("dom-qsa3")?r:o:"acme"==n?o:(c=a)&&n).charAt(n.length-1)){n=n.substring(0,n.length-1);var d=!0}if(d&&(t("dom-compliant-qsa")||i))return s(i);c([n],(function(t){"./lite"!=n&&(i=t),s(t)}))}}}}))},"dojo/main":function(){define(["./_base/kernel","./has","require","./sniff","./_base/lang","./_base/array","./_base/config","./ready","./_base/declare","./_base/connect","./_base/Deferred","./_base/json","./_base/Color","./has!dojo-firebug?./_firebug/firebug","./_base/browser","./_base/loader"],(function(t,e,n,i,o,r,a,s){a.isDebug&&n(["./_firebug/firebug"]);var l=a.require;return l&&(l=r.map(o.isArray(l)?l:[l],(function(t){return t.replace(/\./g,"/")})),t.isAsync?n(l):s(1,(function(){n(l)}))),t}))},"dojo/ready":function(){define(["./_base/kernel","./has","require","./domReady","./_base/lang"],(function(t,e,n,i,o){var r=0,a=[],s=0,l=function(){r=1,t._postLoad=t.config.afterOnLoad=!0,c()},c=function(){if(!s){for(s=1;r&&(!i||0==i._Q.length)&&(!n.idle||n.idle())&&a.length;){var t=a.shift();try{t()}catch(t){if(t.info=t.message,!n.signal)throw t;n.signal("error",t)}}s=0}};n.on&&n.on("idle",c),i&&(i._onQEmpty=c);var d=t.ready=t.addOnLoad=function(e,n,i){var r=o._toArray(arguments);"number"!=typeof e?(i=n,n=e,e=1e3):r.shift(),(i=i?o.hitch.apply(t,r):function(){n()}).priority=e;for(var s=0;s<a.length&&e>=a[s].priority;s++);a.splice(s,0,i),c()},h=t.config.addOnLoad;return h&&d[o.isArray(h)?"apply":"call"](t,h),t.config.parseOnLoad&&!t.isAsync&&d(99,(function(){t.parser||(t.deprecated("Add explicit require(['dojo/parser']);","","2.0"),n(["dojo/parser"]))})),i?i(l):l(),d}))},"dojo/domReady":function(){define(["./global","./has"],(function(t,e){var n,i=document,o={loaded:1,complete:1},r="string"!=typeof i.readyState,a=!!o[i.readyState],s=[];function l(t){s.push(t),a&&c()}function c(){if(!n){for(n=!0;s.length;)try{s.shift()(i)}catch(t){console.error(t,"in domReady callback",t.stack)}n=!1,l._onQEmpty()}}if(l.load=function(t,e,n){l(n)},l._Q=s,l._onQEmpty=function(){},r&&(i.readyState="loading"),!a){var d=[],h=function(e){e=e||t.event,a||"readystatechange"==e.type&&!o[i.readyState]||(r&&(i.readyState="complete"),a=1,c())},u=function(t,e){t.addEventListener(e,h,!1),s.push((function(){t.removeEventListener(e,h,!1)}))};if(!e("dom-addeventlistener")){u=function(t,e){e="on"+e,t.attachEvent(e,h),s.push((function(){t.detachEvent(e,h)}))};var f=i.createElement("div");try{f.doScroll&&null===t.frameElement&&d.push((function(){try{return f.doScroll("left"),1}catch(t){}}))}catch(t){}}if(u(i,"DOMContentLoaded"),u(t,"load"),"onreadystatechange"in i?u(i,"readystatechange"):r||d.push((function(){return o[i.readyState]})),d.length){var p=function(){if(!a){for(var t=d.length;t--;)if(d[t]())return void h("poller");setTimeout(p,30)}};p()}}return l}))},"dojo/_base/declare":function(){define(["./kernel","../has","./lang"],(function(t,e,n){var i=n.mixin,o=Object.prototype,r=o.toString,a=new Function,s=0,l="constructor";function c(t,e){throw new Error("declare"+(e?" "+e:"")+": "+t)}function d(t,e,n){var i,r,a,s,d,h,u,f,p,m=this._inherited=this._inherited||{};if("string"==typeof t&&(i=t,t=e,e=n),n=0,s=t.callee,(i=i||s.nom)||c("can't deduce a name to call inherited()",this.declaredClass),a=(d=this.constructor._meta).bases,p=m.p,i!=l){if(m.c!==s&&(p=0,(d=(h=a[0])._meta).hidden[i]!==s)){(r=d.chains)&&"string"==typeof r[i]&&c("calling chained method with inherited: "+i,this.declaredClass);do{if(d=h._meta,u=h.prototype,d&&(u[i]===s&&u.hasOwnProperty(i)||d.hidden[i]===s))break}while(h=a[++p]);p=h?p:-1}if(h=a[++p])if(u=h.prototype,h._meta&&u.hasOwnProperty(i))n=u[i];else{f=o[i];do{if((n=(u=h.prototype)[i])&&(h._meta?u.hasOwnProperty(i):n!==f))break}while(h=a[++p])}n=h&&n||o[i]}else{if(m.c!==s&&(p=0,(d=a[0]._meta)&&d.ctor!==s)){for((r=d.chains)&&"manual"===r.constructor||c("calling chained constructor with inherited",this.declaredClass);(h=a[++p])&&(!(d=h._meta)||d.ctor!==s););p=h?p:-1}for(;(h=a[++p])&&!(n=(d=h._meta)?d.ctor:h););n=h&&n}if(m.c=n,m.p=p,n)return!0===e?n:n.apply(this,e||t)}function h(t,e){return"string"==typeof t?this.__inherited(t,e,!0):this.__inherited(t,!0)}var u=t.config.isDebug?function(t,e,n){var i=this.getInherited(t,e);if(i)return i.apply(this,n||e||t)}:d;function f(t){for(var e=this.constructor._meta.bases,n=0,i=e.length;n<i;++n)if(e[n]===t)return!0;return this instanceof t}function p(t,i){for(var o in i)o!=l&&i.hasOwnProperty(o)&&(t[o]=i[o]);if(e("bug-for-in-skips-shadowed"))for(var r=n._extraNames,a=r.length;a;)(o=r[--a])!=l&&i.hasOwnProperty(o)&&(t[o]=i[o])}function m(t){return x.safeMixin(this.prototype,t),this}function g(t,e){return t instanceof Array||"function"==typeof t||(e=t,t=void 0),e=e||{},x([this].concat(t=t||[]),e)}function y(t,e,n){return function(){var i,o,r,a=0,s=1;for(n&&(a=e.length-1,s=-1);i=e[a];a+=s)(r=((o=i._meta)?o.hidden:i.prototype)[t])&&r.apply(this,arguments)}}function v(t){a.prototype=t.prototype;var e=new a;return a.prototype=null,e}function b(t){var e=t.callee,n=v(e);return e.apply(n,t),n}function x(t,e,a){"string"!=typeof t&&(a=e,e=t,t=""),a=a||{};var _,j,w,k,C,S,M,T=1,A=e;if("[object Array]"==r.call(e)?(S=function(t,e){for(var n,i,o,a,l,d,h,u,f=[],p=[{cls:0,refs:[]}],m={},g=1,y=t.length,v=0;v<y;++v){for((o=t[v])?"[object Function]"!=r.call(o)&&c("mixin #"+v+" is not a callable constructor.",e):c("mixin #"+v+" is unknown. Did you use dojo.require to pull it in?",e),a=0,n=(i=o._meta?o._meta.bases:[o]).length-1;n>=0;--n)(l=i[n].prototype).hasOwnProperty("declaredClass")||(l.declaredClass="uniqName_"+s++),h=l.declaredClass,m.hasOwnProperty(h)||(m[h]={count:0,refs:[],cls:i[n]},++g),d=m[h],a&&a!==d&&(d.refs.push(a),++a.count),a=d;++a.count,p[0].refs.push(a)}for(;p.length;){for(a=p.pop(),f.push(a.cls),--g;1==(u=a.refs).length;){if(!(a=u[0])||--a.count){a=0;break}f.push(a.cls),--g}if(a)for(v=0,y=u.length;v<y;++v)--(a=u[v]).count||p.push(a)}return g&&c("can't build consistent linearization",e),o=t[0],f[0]=o?o._meta&&o===f[f.length-o._meta.bases.length]?o._meta.bases.length:1:0,f}(e,t),w=S[0],e=S[T=S.length-w]):(S=[0],e?"[object Function]"==r.call(e)?(w=e._meta,S=S.concat(w?w.bases:e)):c("base class is not a callable constructor.",t):null!==e&&c("unknown base class. Did you use dojo.require to pull it in?",t)),e)for(j=T-1;_=v(e),j;--j)((w=S[j])._meta?p:i)(_,w.prototype),(k=new Function).superclass=e,k.prototype=_,e=_.constructor=k;else _={};for(x.safeMixin(_,a),(w=a.constructor)!==o.constructor&&(w.nom=l,_.constructor=w),j=T-1;j;--j)(w=S[j]._meta)&&w.chains&&(M=i(M||{},w.chains));if(_["-chains-"]&&(M=i(M||{},_["-chains-"])),e&&e.prototype&&e.prototype["-chains-"]&&(M=i(M||{},e.prototype["-chains-"])),w=!M||!M.hasOwnProperty(l),S[0]=k=M&&"manual"===M.constructor?function(t){return function(){var e,n,i=arguments,o=0;if(!(this instanceof i.callee))return b(i);for(;e=t[o];++o)if(e=(n=e._meta)?n.ctor:e){e.apply(this,i);break}(e=this.postscript)&&e.apply(this,i)}}(S):1==S.length?function(t,e){return function(){var n,i=arguments,o=i,r=i[0];if(!(this instanceof i.callee))return b(i);e&&(r&&(n=r.preamble)&&(o=n.apply(this,o)||o),(n=this.preamble)&&n.apply(this,o)),t&&t.apply(this,i),(n=this.postscript)&&n.apply(this,i)}}(a.constructor,w):function(t,e){return function(){var n,i,o,r,a=arguments,s=a,l=a[0],c=t.length;if(!(this instanceof a.callee))return b(a);if(e&&(l&&l.preamble||this.preamble))for((r=new Array(t.length))[0]=a,i=0;(l=a[0])&&(n=l.preamble)&&(a=n.apply(this,a)||a),(n=(n=t[i].prototype).hasOwnProperty("preamble")&&n.preamble)&&(a=n.apply(this,a)||a),++i!=c;)r[i]=a;for(i=c-1;i>=0;--i)(n=(o=(n=t[i])._meta)?o.ctor:n)&&n.apply(this,r?r[i]:a);(n=this.postscript)&&n.apply(this,s)}}(S,w),k._meta={bases:S,hidden:a,chains:M,parents:A,ctor:a.constructor},k.superclass=e&&e.prototype,k.extend=m,k.createSubclass=g,k.prototype=_,_.constructor=k,_.getInherited=h,_.isInstanceOf=f,_.inherited=u,_.__inherited=d,t&&(_.declaredClass=t,n.setObject(t,k)),M)for(C in M)_[C]&&"string"==typeof M[C]&&C!=l&&((w=_[C]=y(C,S,"after"===M[C])).nom=C);return k}return t.safeMixin=x.safeMixin=function(t,i){var a,s;for(a in i)(s=i[a])===o[a]&&a in o||a==l||("[object Function]"==r.call(s)&&(s.nom=a),t[a]=s);if(e("bug-for-in-skips-shadowed"))for(var c=n._extraNames,d=c.length;d;)(s=i[a=c[--d]])===o[a]&&a in o||a==l||("[object Function]"==r.call(s)&&(s.nom=a),t[a]=s);return t},t.declare=x,x}))},"dojo/_base/connect":function(){define(["./kernel","../on","../topic","../aspect","./event","../mouse","./sniff","./lang","../keys"],(function(t,e,n,i,o,r,a,s){function l(n,o,a,l,d){if(l=s.hitch(a,l),!n||!n.addEventListener&&!n.attachEvent)return i.after(n||t.global,o,l,!0);if("string"==typeof o&&"on"==o.substring(0,2)&&(o=o.substring(2)),n||(n=t.global),!d)switch(o){case"keypress":o=c;break;case"mouseenter":o=r.enter;break;case"mouseleave":o=r.leave}return e(n,o,l,d)}a.add("events-keypress-typed",(function(){var t={charCode:0};try{((t=document.createEvent("KeyboardEvent")).initKeyboardEvent||t.initKeyEvent).call(t,"keypress",!0,!0,null,!1,!1,!1,!1,9,3)}catch(t){}return 0==t.charCode&&!a("opera")}));var c,d={106:42,111:47,186:59,187:43,188:44,189:45,190:46,191:47,192:96,219:91,220:92,221:93,222:39,229:113},h=a("mac")?"metaKey":"ctrlKey",u=function(t,e){var n=s.mixin({},t,e);return f(n),n.preventDefault=function(){t.preventDefault()},n.stopPropagation=function(){t.stopPropagation()},n};function f(t){t.keyChar=t.charCode?String.fromCharCode(t.charCode):"",t.charOrCode=t.keyChar||t.keyCode}var p={_keypress:c=a("events-keypress-typed")?function(t,n){var i=e(t,"keydown",(function(t){var e=t.keyCode,i=13!=e&&32!=e&&(27!=e||!a("ie"))&&(e<48||e>90)&&(e<96||e>111)&&(e<186||e>192)&&(e<219||e>222)&&229!=e;if(i||t.ctrlKey){var o=i?0:e;if(t.ctrlKey){if(3==e||13==e)return n.call(t.currentTarget,t);o>95&&o<106?o-=48:!t.shiftKey&&o>=65&&o<=90?o+=32:o=d[o]||o}var r=u(t,{type:"keypress",faux:!0,charCode:o});n.call(t.currentTarget,r),a("ie")&&function(t,e){try{return t.keyCode=e}catch(t){return 0}}(t,r.keyCode)}})),o=e(t,"keypress",(function(t){var e=t.charCode;return t=u(t,{charCode:e=e>=32?e:0,faux:!0}),n.call(this,t)}));return{remove:function(){i.remove(),o.remove()}}}:a("opera")?function(t,n){return e(t,"keypress",(function(t){var e=t.which;return 3==e&&(e=99),e=e<32&&!t.shiftKey?0:e,t.ctrlKey&&!t.shiftKey&&e>=65&&e<=90&&(e+=32),n.call(this,u(t,{charCode:e}))}))}:function(t,n){return e(t,"keypress",(function(t){return f(t),n.call(this,t)}))},connect:function(t,e,n,i,o){var r=arguments,a=[],s=0;a.push("string"==typeof r[0]?null:r[s++],r[s++]);var c=r[s+1];a.push("string"==typeof c||"function"==typeof c?r[s++]:null,r[s++]);for(var d=r.length;s<d;s++)a.push(r[s]);return l.apply(this,a)},disconnect:function(t){t&&t.remove()},subscribe:function(t,e,i){return n.subscribe(t,s.hitch(e,i))},publish:function(t,e){return n.publish.apply(n,[t].concat(e))},connectPublisher:function(t,e,n){var i=function(){p.publish(t,arguments)};return n?p.connect(e,n,i):p.connect(e,i)},isCopyKey:function(t){return t[h]}};return p.unsubscribe=p.disconnect,s.mixin(t,p),p}))},"dojo/topic":function(){define(["./Evented"],(function(t){var e=new t;return{publish:function(t,n){return e.emit.apply(e,arguments)},subscribe:function(t,n){return e.on.apply(e,arguments)}}}))},"dojo/_base/event":function(){define(["./kernel","../on","../has","../dom-geometry"],(function(t,e,n,i){if(e._fixEvent){var o=e._fixEvent;e._fixEvent=function(t,e){return(t=o(t,e))&&i.normalizeEvent(t),t}}var r={fix:function(t,n){return e._fixEvent?e._fixEvent(t,n):t},stop:function(t){n("dom-addeventlistener")||t&&t.preventDefault?(t.preventDefault(),t.stopPropagation()):((t=t||window.event).cancelBubble=!0,e._preventDefault.call(t))}};return t.fixEvent=r.fix,t.stopEvent=r.stop,r}))},"dojo/dom-geometry":function(){define(["./sniff","./_base/window","./dom","./dom-style"],(function(t,e,n,i){var o={boxModel:"content-box"};t("ie")&&(o.boxModel="BackCompat"==document.compatMode?"border-box":"content-box"),o.getPadExtents=function(t,e){t=n.byId(t);var o=e||i.getComputedStyle(t),r=i.toPixelValue,a=r(t,o.paddingLeft),s=r(t,o.paddingTop),l=r(t,o.paddingRight),c=r(t,o.paddingBottom);return{l:a,t:s,r:l,b:c,w:a+l,h:s+c}};var r="none";function a(t,e,n,i,o,r){r=r||"px";var a=t.style;isNaN(e)||(a.left=e+r),isNaN(n)||(a.top=n+r),i>=0&&(a.width=i+r),o>=0&&(a.height=o+r)}function s(t){return"button"==t.tagName.toLowerCase()||"input"==t.tagName.toLowerCase()&&"button"==(t.getAttribute("type")||"").toLowerCase()}function l(t){return"border-box"==o.boxModel||"table"==t.tagName.toLowerCase()||s(t)}o.getBorderExtents=function(t,e){t=n.byId(t);var o=i.toPixelValue,a=e||i.getComputedStyle(t),s=a.borderLeftStyle!=r?o(t,a.borderLeftWidth):0,l=a.borderTopStyle!=r?o(t,a.borderTopWidth):0,c=a.borderRightStyle!=r?o(t,a.borderRightWidth):0,d=a.borderBottomStyle!=r?o(t,a.borderBottomWidth):0;return{l:s,t:l,r:c,b:d,w:s+c,h:l+d}},o.getPadBorderExtents=function(t,e){t=n.byId(t);var r=e||i.getComputedStyle(t),a=o.getPadExtents(t,r),s=o.getBorderExtents(t,r);return{l:a.l+s.l,t:a.t+s.t,r:a.r+s.r,b:a.b+s.b,w:a.w+s.w,h:a.h+s.h}},o.getMarginExtents=function(t,e){t=n.byId(t);var o=e||i.getComputedStyle(t),r=i.toPixelValue,a=r(t,o.marginLeft),s=r(t,o.marginTop),l=r(t,o.marginRight),c=r(t,o.marginBottom);return{l:a,t:s,r:l,b:c,w:a+l,h:s+c}},o.getMarginBox=function(e,a){e=n.byId(e);var s,l=a||i.getComputedStyle(e),c=o.getMarginExtents(e,l),d=e.offsetLeft-c.l,h=e.offsetTop-c.t,u=e.parentNode,f=i.toPixelValue;if(t("mozilla")){var p=parseFloat(l.left),m=parseFloat(l.top);isNaN(p)||isNaN(m)?u&&u.style&&"visible"!=(s=i.getComputedStyle(u)).overflow&&(d+=s.borderLeftStyle!=r?f(e,s.borderLeftWidth):0,h+=s.borderTopStyle!=r?f(e,s.borderTopWidth):0):(d=p,h=m)}else(t("opera")||8==t("ie")&&!t("quirks"))&&u&&(d-=(s=i.getComputedStyle(u)).borderLeftStyle!=r?f(e,s.borderLeftWidth):0,h-=s.borderTopStyle!=r?f(e,s.borderTopWidth):0);return{l:d,t:h,w:e.offsetWidth+c.w,h:e.offsetHeight+c.h}},o.getContentBox=function(e,r){e=n.byId(e);var a,s=r||i.getComputedStyle(e),l=e.clientWidth,c=o.getPadExtents(e,s),d=o.getBorderExtents(e,s);return l?(a=e.clientHeight,d.w=d.h=0):(l=e.offsetWidth,a=e.offsetHeight),t("opera")&&(c.l+=d.l,c.t+=d.t),{l:c.l,t:c.t,w:l-c.w-d.w,h:a-c.h-d.h}},o.setContentSize=function(t,e,i){t=n.byId(t);var r=e.w,s=e.h;if(l(t)){var c=o.getPadBorderExtents(t,i);r>=0&&(r+=c.w),s>=0&&(s+=c.h)}a(t,NaN,NaN,r,s)};var c={l:0,t:0,w:0,h:0};return o.setMarginBox=function(e,r,d){e=n.byId(e);var h=d||i.getComputedStyle(e),u=r.w,f=r.h,p=l(e)?c:o.getPadBorderExtents(e,h),m=o.getMarginExtents(e,h);if(t("webkit")&&s(e)){var g=e.style;u>=0&&!g.width&&(g.width="4px"),f>=0&&!g.height&&(g.height="4px")}u>=0&&(u=Math.max(u-p.w-m.w,0)),f>=0&&(f=Math.max(f-p.h-m.h,0)),a(e,r.l,r.t,u,f)},o.isBodyLtr=function(t){return t=t||e.doc,"ltr"==(e.body(t).dir||t.documentElement.dir||"ltr").toLowerCase()},o.docScroll=function(n){n=n||e.doc;var i=e.doc.parentWindow||e.doc.defaultView;return"pageXOffset"in i?{x:i.pageXOffset,y:i.pageYOffset}:(i=t("quirks")?e.body(n):n.documentElement)&&{x:o.fixIeBiDiScrollLeft(i.scrollLeft||0,n),y:i.scrollTop||0}},o.getIeDocumentElementOffset=function(n){var i=(n=n||e.doc).documentElement;if(t("ie")<8){var o=i.getBoundingClientRect(),r=o.left,a=o.top;return t("ie")<7&&(r+=i.clientLeft,a+=i.clientTop),{x:r<0?0:r,y:a<0?0:a}}return{x:0,y:0}},o.fixIeBiDiScrollLeft=function(n,i){i=i||e.doc;var r=t("ie");if(r&&!o.isBodyLtr(i)){var a=t("quirks"),s=a?e.body(i):i.documentElement,l=e.global;return 6==r&&!a&&l.frameElement&&s.scrollHeight>s.clientHeight&&(n+=s.clientLeft),r<8||a?n+s.clientWidth-s.scrollWidth:-n}return n},o.position=function(i,r){i=n.byId(i);var a=e.body(i.ownerDocument),s=i.getBoundingClientRect();if(s={x:s.left,y:s.top,w:s.right-s.left,h:s.bottom-s.top},t("ie")<9){var l=o.getIeDocumentElementOffset(i.ownerDocument);s.x-=l.x+(t("quirks")?a.clientLeft+a.offsetLeft:0),s.y-=l.y+(t("quirks")?a.clientTop+a.offsetTop:0)}if(r){var c=o.docScroll(i.ownerDocument);s.x+=c.x,s.y+=c.y}return s},o.getMarginSize=function(t,e){t=n.byId(t);var r=o.getMarginExtents(t,e||i.getComputedStyle(t)),a=t.getBoundingClientRect();return{w:a.right-a.left+r.w,h:a.bottom-a.top+r.h}},o.normalizeEvent=function(e){if("layerX"in e||(e.layerX=e.offsetX,e.layerY=e.offsetY),!t("dom-addeventlistener")){var n=e.target,i=n&&n.ownerDocument||document,r=t("quirks")?i.body:i.documentElement,a=o.getIeDocumentElementOffset(i);e.pageX=e.clientX+o.fixIeBiDiScrollLeft(r.scrollLeft||0,i)-a.x,e.pageY=e.clientY+(r.scrollTop||0)-a.y}},o}))},"dojo/dom-style":function(){define(["./sniff","./dom"],(function(t,e){var n,i,o={};n=t("webkit")?function(t){var e;if(1==t.nodeType){var n=t.ownerDocument.defaultView;!(e=n.getComputedStyle(t,null))&&t.style&&(t.style.display="",e=n.getComputedStyle(t,null))}return e||{}}:t("ie")&&(t("ie")<9||t("quirks"))?function(t){return 1==t.nodeType&&t.currentStyle?t.currentStyle:{}}:function(t){return 1==t.nodeType?t.ownerDocument.defaultView.getComputedStyle(t,null):{}},o.getComputedStyle=n,i=t("ie")?function(t,e){if(!e)return 0;if("medium"==e)return 4;if(e.slice&&"px"==e.slice(-2))return parseFloat(e);var n=t.style,i=t.runtimeStyle,o=t.currentStyle,r=n.left,a=i.left;i.left=o.left;try{n.left=e,e=n.pixelLeft}catch(t){e=0}return n.left=r,i.left=a,e}:function(t,e){return parseFloat(e)||0},o.toPixelValue=i;var r="DXImageTransform.Microsoft.Alpha",a=function(t,e){try{return t.filters.item(r)}catch(t){return e?{}:null}},s=t("ie")<9||t("ie")<10&&t("quirks")?function(t){try{return a(t).Opacity/100}catch(t){return 1}}:function(t){return n(t).opacity},l=t("ie")<9||t("ie")<10&&t("quirks")?function(t,e){""===e&&(e=1);var n=100*e;if(1===e?(t.style.zoom="",a(t)&&(t.style.filter=t.style.filter.replace(new RegExp("\\s*progid:"+r+"\\([^\\)]+?\\)","i"),""))):(t.style.zoom=1,a(t)?a(t,1).Opacity=n:t.style.filter+=" progid:"+r+"(Opacity="+n+")",a(t,1).Enabled=!0),"tr"==t.tagName.toLowerCase())for(var i=t.firstChild;i;i=i.nextSibling)"td"==i.tagName.toLowerCase()&&l(i,e);return e}:function(t,e){return t.style.opacity=e},c={left:!0,top:!0},d=/margin|padding|width|height|max|min|offset/,h={cssFloat:1,styleFloat:1,float:1};return o.get=function(t,n){var r=e.byId(t),a=arguments.length;if(2==a&&"opacity"==n)return s(r);n=h[n]?"cssFloat"in r.style?"cssFloat":"styleFloat":n;var l=o.getComputedStyle(r);return 1==a?l:function(t,e,n){if(e=e.toLowerCase(),"auto"==n){if("height"==e)return t.offsetHeight;if("width"==e)return t.offsetWidth}return"fontweight"==e?700===n?"bold":"normal":(e in c||(c[e]=d.test(e)),c[e]?i(t,n):n)}(r,n,l[n]||r.style[n])},o.set=function(t,n,i){var r=e.byId(t),a=arguments.length,s="opacity"==n;if(n=h[n]?"cssFloat"in r.style?"cssFloat":"styleFloat":n,3==a)return s?l(r,i):r.style[n]=i;for(var c in n)o.set(t,c,n[c]);return o.getComputedStyle(r)},o}))},"dojo/mouse":function(){define(["./_base/kernel","./on","./has","./dom","./_base/window"],(function(t,e,n,i,o){var r,a;function s(t,n){var o=function(o,r){return e(o,t,(function(t){return n?n(t,r):i.isDescendant(t.relatedTarget,o)?void 0:r.call(this,t)}))};return o.bubble=function(e){return s(t,(function(t,n){var i=e(t.target),o=t.relatedTarget;if(i&&i!=(o&&1==o.nodeType&&e(o)))return n.call(i,t)}))},o}return n.add("dom-quirks",o.doc&&"BackCompat"==o.doc.compatMode),n.add("events-mouseenter",o.doc&&"onmouseenter"in o.doc.createElement("div")),n.add("events-mousewheel",o.doc&&"onmousewheel"in o.doc),r=n("dom-quirks")&&n("ie")||!n("dom-addeventlistener")?{LEFT:1,MIDDLE:4,RIGHT:2,isButton:function(t,e){return t.button&e},isLeft:function(t){return 1&t.button},isMiddle:function(t){return 4&t.button},isRight:function(t){return 2&t.button}}:{LEFT:0,MIDDLE:1,RIGHT:2,isButton:function(t,e){return t.button==e},isLeft:function(t){return 0==t.button},isMiddle:function(t){return 1==t.button},isRight:function(t){return 2==t.button}},t.mouseButtons=r,a=n("events-mousewheel")?"mousewheel":function(t,n){return e(t,"DOMMouseScroll",(function(t){t.wheelDelta=-t.detail,n.call(this,t)}))},{_eventHandler:s,enter:s("mouseover"),leave:s("mouseout"),wheel:a,isLeft:r.isLeft,isMiddle:r.isMiddle,isRight:r.isRight}}))},"dojo/keys":function(){define(["./_base/kernel","./sniff"],(function(t,e){return t.keys={BACKSPACE:8,TAB:9,CLEAR:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,META:e("webkit")?91:224,PAUSE:19,CAPS_LOCK:20,ESCAPE:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT_ARROW:37,UP_ARROW:38,RIGHT_ARROW:39,DOWN_ARROW:40,INSERT:45,DELETE:46,HELP:47,LEFT_WINDOW:91,RIGHT_WINDOW:92,SELECT:93,NUMPAD_0:96,NUMPAD_1:97,NUMPAD_2:98,NUMPAD_3:99,NUMPAD_4:100,NUMPAD_5:101,NUMPAD_6:102,NUMPAD_7:103,NUMPAD_8:104,NUMPAD_9:105,NUMPAD_MULTIPLY:106,NUMPAD_PLUS:107,NUMPAD_ENTER:108,NUMPAD_MINUS:109,NUMPAD_PERIOD:110,NUMPAD_DIVIDE:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,NUM_LOCK:144,SCROLL_LOCK:145,UP_DPAD:175,DOWN_DPAD:176,LEFT_DPAD:177,RIGHT_DPAD:178,copyKey:e("mac")&&!e("air")?e("safari")?91:224:17}}))},"dojo/_base/Color":function(){define(["./kernel","./lang","./array","./config"],(function(t,e,n,i){var o=t.Color=function(t){t&&this.setColor(t)};return o.named={black:[0,0,0],silver:[192,192,192],gray:[128,128,128],white:[255,255,255],maroon:[128,0,0],red:[255,0,0],purple:[128,0,128],fuchsia:[255,0,255],green:[0,128,0],lime:[0,255,0],olive:[128,128,0],yellow:[255,255,0],navy:[0,0,128],blue:[0,0,255],teal:[0,128,128],aqua:[0,255,255],transparent:i.transparentColor||[0,0,0,0]},e.extend(o,{r:255,g:255,b:255,a:1,_set:function(t,e,n,i){var o=this;o.r=t,o.g=e,o.b=n,o.a=i},setColor:function(t){return e.isString(t)?o.fromString(t,this):e.isArray(t)?o.fromArray(t,this):(this._set(t.r,t.g,t.b,t.a),t instanceof o||this.sanitize()),this},sanitize:function(){return this},toRgb:function(){var t=this;return[t.r,t.g,t.b]},toRgba:function(){var t=this;return[t.r,t.g,t.b,t.a]},toHex:function(){return"#"+n.map(["r","g","b"],(function(t){var e=this[t].toString(16);return e.length<2?"0"+e:e}),this).join("")},toCss:function(t){var e=this,n=e.r+", "+e.g+", "+e.b;return(t?"rgba("+n+", "+e.a:"rgb("+n)+")"},toString:function(){return this.toCss(!0)}}),o.blendColors=t.blendColors=function(t,e,n,i){var r=i||new o;return r.r=Math.round(t.r+(e.r-t.r)*n),r.g=Math.round(t.g+(e.g-t.g)*n),r.b=Math.round(t.b+(e.b-t.b)*n),r.a=t.a+(e.a-t.a)*n,r.sanitize()},o.fromRgb=t.colorFromRgb=function(t,e){var n=t.toLowerCase().match(/^rgba?\(([\s\.,0-9]+)\)/);return n&&o.fromArray(n[1].split(/\s*,\s*/),e)},o.fromHex=t.colorFromHex=function(t,e){var i=e||new o,r=4==t.length?4:8,a=(1<<r)-1;return t=Number("0x"+t.substr(1)),isNaN(t)?null:(n.forEach(["b","g","r"],(function(e){var n=t&a;t>>=r,i[e]=4==r?17*n:n})),i.a=1,i)},o.fromArray=t.colorFromArray=function(t,e){var n=e||new o;return n._set(Number(t[0]),Number(t[1]),Number(t[2]),Number(t[3])),isNaN(n.a)&&(n.a=1),n.sanitize()},o.fromString=t.colorFromString=function(t,e){var n=o.named[t];return n&&o.fromArray(n,e)||o.fromRgb(t,e)||o.fromHex(t,e)},o}))},"dojo/_base/browser":function(){require.has&&require.has.add("config-selectorEngine","acme"),define(["../ready","./kernel","./connect","./unload","./window","./event","./html","./NodeList","../query","./xhr","./fx"],(function(t){return t}))},"dojo/_base/unload":function(){define(["./kernel","./lang","../on"],(function(t,e,n){var i=window,o={addOnWindowUnload:function(o,r){t.windowUnloaded||n(i,"unload",t.windowUnloaded=function(){}),n(i,"unload",e.hitch(o,r))},addOnUnload:function(t,o){n(i,"beforeunload",e.hitch(t,o))}};return t.addOnWindowUnload=o.addOnWindowUnload,t.addOnUnload=o.addOnUnload,o}))},"dojo/_base/html":function(){define(["./kernel","../dom","../dom-style","../dom-attr","../dom-prop","../dom-class","../dom-construct","../dom-geometry"],(function(t,e,n,i,o,r,a,s){return t.byId=e.byId,t.isDescendant=e.isDescendant,t.setSelectable=e.setSelectable,t.getAttr=i.get,t.setAttr=i.set,t.hasAttr=i.has,t.removeAttr=i.remove,t.getNodeProp=i.getNodeProp,t.attr=function(t,e,n){return 2==arguments.length?i["string"==typeof e?"get":"set"](t,e):i.set(t,e,n)},t.hasClass=r.contains,t.addClass=r.add,t.removeClass=r.remove,t.toggleClass=r.toggle,t.replaceClass=r.replace,t._toDom=t.toDom=a.toDom,t.place=a.place,t.create=a.create,t.empty=function(t){a.empty(t)},t._destroyElement=t.destroy=function(t){a.destroy(t)},t._getPadExtents=t.getPadExtents=s.getPadExtents,t._getBorderExtents=t.getBorderExtents=s.getBorderExtents,t._getPadBorderExtents=t.getPadBorderExtents=s.getPadBorderExtents,t._getMarginExtents=t.getMarginExtents=s.getMarginExtents,t._getMarginSize=t.getMarginSize=s.getMarginSize,t._getMarginBox=t.getMarginBox=s.getMarginBox,t.setMarginBox=s.setMarginBox,t._getContentBox=t.getContentBox=s.getContentBox,t.setContentSize=s.setContentSize,t._isBodyLtr=t.isBodyLtr=s.isBodyLtr,t._docScroll=t.docScroll=s.docScroll,t._getIeDocumentElementOffset=t.getIeDocumentElementOffset=s.getIeDocumentElementOffset,t._fixIeBiDiScrollLeft=t.fixIeBiDiScrollLeft=s.fixIeBiDiScrollLeft,t.position=s.position,t.marginBox=function(t,e){return e?s.setMarginBox(t,e):s.getMarginBox(t)},t.contentBox=function(t,e){return e?s.setContentSize(t,e):s.getContentBox(t)},t.coords=function(i,o){t.deprecated("dojo.coords()","Use dojo.position() or dojo.marginBox()."),i=e.byId(i);var r=n.getComputedStyle(i),a=s.getMarginBox(i,r),l=s.position(i,o);return a.x=l.x,a.y=l.y,a},t.getProp=o.get,t.setProp=o.set,t.prop=function(t,e,n){return 2==arguments.length?o["string"==typeof e?"get":"set"](t,e):o.set(t,e,n)},t.getStyle=n.get,t.setStyle=n.set,t.getComputedStyle=n.getComputedStyle,t.__toPixelValue=t.toPixelValue=n.toPixelValue,t.style=function(t,e,i){switch(arguments.length){case 1:return n.get(t);case 2:return n["string"==typeof e?"get":"set"](t,e)}return n.set(t,e,i)},t}))},"dojo/dom-attr":function(){define(["exports","./sniff","./_base/lang","./dom","./dom-style","./dom-prop"],(function(t,e,n,i,o,r){var a={innerHTML:1,textContent:1,className:1,htmlFor:e("ie"),value:1},s={classname:"class",htmlfor:"for",tabindex:"tabIndex",readonly:"readOnly"};function l(t,e){var n=t.getAttributeNode&&t.getAttributeNode(e);return!!n&&n.specified}t.has=function(t,e){var n=e.toLowerCase();return a[r.names[n]||e]||l(i.byId(t),s[n]||e)},t.get=function(t,e){t=i.byId(t);var o=e.toLowerCase(),c=r.names[o]||e,d=a[c],h=t[c];if(d&&void 0!==h)return h;if("textContent"==c)return r.get(t,c);if("href"!=c&&("boolean"==typeof h||n.isFunction(h)))return h;var u=s[o]||e;return l(t,u)?t.getAttribute(u):null},t.set=function(e,l,c){if(e=i.byId(e),2==arguments.length){for(var d in l)t.set(e,d,l[d]);return e}var h=l.toLowerCase(),u=r.names[h]||l,f=a[u];return"style"==u&&"string"!=typeof c?(o.set(e,c),e):f||"boolean"==typeof c||n.isFunction(c)?r.set(e,l,c):(e.setAttribute(s[h]||l,c),e)},t.remove=function(t,e){i.byId(t).removeAttribute(s[e.toLowerCase()]||e)},t.getNodeProp=function(t,e){t=i.byId(t);var n=e.toLowerCase(),o=r.names[n]||e;if(o in t&&"href"!=o)return t[o];var a=s[n]||e;return l(t,a)?t.getAttribute(a):null}}))},"dojo/dom-prop":function(){define(["exports","./_base/kernel","./sniff","./_base/lang","./dom","./dom-style","./dom-construct","./_base/connect"],(function(t,e,n,i,o,r,a,s){var l={},c=0,d=e._scopeName+"attrid";function h(t){for(var e,n="",i=t.childNodes,o=0;e=i[o];o++)8!=e.nodeType&&(1==e.nodeType?n+=h(e):n+=e.nodeValue);return n}n.add("dom-textContent",(function(t,e,n){return"textContent"in n})),t.names={class:"className",for:"htmlFor",tabindex:"tabIndex",readonly:"readOnly",colspan:"colSpan",frameborder:"frameBorder",rowspan:"rowSpan",textcontent:"textContent",valuetype:"valueType"},t.get=function(e,i){e=o.byId(e);var r=i.toLowerCase(),a=t.names[r]||i;return"textContent"!=a||n("dom-textContent")?e[a]:h(e)},t.set=function(e,h,u){if(e=o.byId(e),2==arguments.length&&"string"!=typeof h){for(var f in h)t.set(e,f,h[f]);return e}var p=h.toLowerCase(),m=t.names[p]||h;if("style"==m&&"string"!=typeof u)return r.set(e,u),e;if("innerHTML"==m)return n("ie")&&e.tagName.toLowerCase()in{col:1,colgroup:1,table:1,tbody:1,tfoot:1,thead:1,tr:1,title:1}?(a.empty(e),e.appendChild(a.toDom(u,e.ownerDocument))):e[m]=u,e;if("textContent"==m&&!n("dom-textContent"))return a.empty(e),e.appendChild(e.ownerDocument.createTextNode(u)),e;if(i.isFunction(u)){var g=e[d];g||(g=c++,e[d]=g),l[g]||(l[g]={});var y=l[g][m];if(y)s.disconnect(y);else try{delete e[m]}catch(t){}return u?l[g][m]=s.connect(e,m,u):e[m]=null,e}return e[m]=u,e}}))},"dojo/dom-construct":function(){define(["exports","./_base/kernel","./sniff","./_base/window","./dom","./dom-attr"],(function(t,e,n,i,o,r){var a,s={option:["select"],tbody:["table"],thead:["table"],tfoot:["table"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","thead","tr"],legend:["fieldset"],caption:["table"],colgroup:["table"],col:["table","colgroup"],li:["ul"]},l=/<\s*([\w\:]+)/,c={},d=0,h="__"+e._scopeName+"ToDomId";for(var u in s)if(s.hasOwnProperty(u)){var f=s[u];f.pre="option"==u?'<select multiple="multiple">':"<"+f.join("><")+">",f.post="</"+f.reverse().join("></")+">"}function p(t,e){var n=e.parentNode;n&&n.insertBefore(t,e)}n("ie")<=8&&(a=function(t){t.__dojo_html5_tested="yes";var e=m("div",{innerHTML:"<nav>a</nav>",style:{visibility:"hidden"}},t.body);1!==e.childNodes.length&&"abbr article aside audio canvas details figcaption figure footer header hgroup mark meter nav output progress section summary time video".replace(/\b\w+\b/g,(function(e){t.createElement(e)})),y(e)}),t.toDom=function(t,e){var o=(e=e||i.doc)[h];o||(e[h]=o=++d+"",c[o]=e.createElement("div")),n("ie")<=8&&!e.__dojo_html5_tested&&e.body&&a(e);var r,u,f,p,m=(t+="").match(l),g=m?m[1].toLowerCase():"",y=c[o];if(m&&s[g])for(r=s[g],y.innerHTML=r.pre+t+r.post,u=r.length;u;--u)y=y.firstChild;else y.innerHTML=t;if(1==y.childNodes.length)return y.removeChild(y.firstChild);for(p=e.createDocumentFragment();f=y.firstChild;)p.appendChild(f);return p},t.place=function(e,n,i){if(n=o.byId(n),"string"==typeof e&&(e=/^\s*</.test(e)?t.toDom(e,n.ownerDocument):o.byId(e)),"number"==typeof i){var r=n.childNodes;!r.length||r.length<=i?n.appendChild(e):p(e,r[i<0?0:i])}else switch(i){case"before":p(e,n);break;case"after":!function(t,e){var n=e.parentNode;n&&(n.lastChild==e?n.appendChild(t):n.insertBefore(t,e.nextSibling))}(e,n);break;case"replace":n.parentNode.replaceChild(e,n);break;case"only":t.empty(n),n.appendChild(e);break;case"first":if(n.firstChild){p(e,n.firstChild);break}default:n.appendChild(e)}return e};var m=t.create=function(e,n,a,s){var l=i.doc;return a&&(l=(a=o.byId(a)).ownerDocument),"string"==typeof e&&(e=l.createElement(e)),n&&r.set(e,n),a&&t.place(e,a,s),e};function g(t){if("innerHTML"in t)try{return void(t.innerHTML="")}catch(t){}for(var e;e=t.lastChild;)t.removeChild(e)}t.empty=function(t){g(o.byId(t))};var y=t.destroy=function(t){(t=o.byId(t))&&function(t,e){t.firstChild&&g(t),e&&(n("ie")&&e.canHaveChildren&&"removeNode"in t?t.removeNode(!1):e.removeChild(t))}(t,t.parentNode)}}))},"dojo/dom-class":function(){define(["./_base/lang","./_base/array","./dom"],(function(t,e,n){var i,o="className",r=/\s+/,a=[""];function s(t){if("string"==typeof t||t instanceof String){if(t&&!r.test(t))return a[0]=t,a;var n=t.split(r);return n.length&&!n[0]&&n.shift(),n.length&&!n[n.length-1]&&n.pop(),n}return t?e.filter(t,(function(t){return t})):[]}var l={};return i={contains:function(t,e){return(" "+n.byId(t)[o]+" ").indexOf(" "+e+" ")>=0},add:function(t,e){t=n.byId(t),e=s(e);var i,r=t[o];i=(r=r?" "+r+" ":" ").length;for(var a,l=0,c=e.length;l<c;++l)(a=e[l])&&r.indexOf(" "+a+" ")<0&&(r+=a+" ");i<r.length&&(t[o]=r.substr(1,r.length-2))},remove:function(e,i){var r;if(e=n.byId(e),void 0!==i){i=s(i),r=" "+e[o]+" ";for(var a=0,l=i.length;a<l;++a)r=r.replace(" "+i[a]+" "," ");r=t.trim(r)}else r="";e[o]!=r&&(e[o]=r)},replace:function(t,e,r){t=n.byId(t),l[o]=t[o],i.remove(l,r),i.add(l,e),t[o]!==l[o]&&(t[o]=l[o])},toggle:function(t,e,o){if(t=n.byId(t),void 0===o)for(var r,a=0,l=(e=s(e)).length;a<l;++a)r=e[a],i[i.contains(t,r)?"remove":"add"](t,r);else i[o?"add":"remove"](t,e);return o}}}))},"dojo/_base/NodeList":function(){define(["./kernel","../query","./array","./html","../NodeList-dom"],(function(t,e,n){var i=e.NodeList,o=i.prototype;return o.connect=i._adaptAsForEach((function(){return t.connect.apply(this,arguments)})),o.coords=i._adaptAsMap(t.coords),i.events=["blur","focus","change","click","error","keydown","keypress","keyup","load","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","submit"],n.forEach(i.events,(function(t){var e="on"+t;o[e]=function(t,n){return this.connect(e,t,n)}})),t.NodeList=i,i}))},"dojo/query":function(){define(["./_base/kernel","./has","./dom","./on","./_base/array","./_base/lang","./selector/_loader","./selector/_loader!default"],(function(t,e,n,i,o,r,a,s){"use strict";e.add("array-extensible",(function(){return 1==r.delegate([],{length:1}).length&&!e("bug-for-in-skips-shadowed")}));var l=Array.prototype,c=l.slice,d=l.concat,h=o.forEach,u=function(e,n,i){return n=[0].concat(c.call(n,0)),i=i||t.global,function(t){return n[0]=t,e.apply(i,n)}},f=function(t){var n=this instanceof p&&e("array-extensible");"number"==typeof t&&(t=Array(t));var i=t&&"length"in t?t:arguments;if(n||!i.sort){for(var o=n?this:[],a=o.length=i.length,s=0;s<a;s++)o[s]=i[s];if(n)return o;i=o}return r._mixin(i,m),i._NodeListCtor=function(t){return p(t)},i},p=f,m=p.prototype=e("array-extensible")?[]:{};function g(t,e){var i=function(i,o){if("string"==typeof o&&!(o=n.byId(o)))return new e([]);var r="string"==typeof i?t(i,o):i?i.end&&i.on?i:[i]:[];return r.end&&r.on?r:new e(r)};if(i.matches=t.match||function(t,e,n){return i.filter([t],e,n).length>0},i.filter=t.filter||function(t,e,n){return i(e,n).filter((function(e){return o.indexOf(t,e)>-1}))},"function"!=typeof t){var r=t.search;t=function(t,e){return r(e||document,t)}}return i}p._wrap=m._wrap=function(t,e,n){var i=new(n||this._NodeListCtor||p)(t);return e?i._stash(e):i},p._adaptAsMap=function(t,e){return function(){return this.map(u(t,arguments,e))}},p._adaptAsForEach=function(t,e){return function(){return this.forEach(u(t,arguments,e)),this}},p._adaptAsFilter=function(t,e){return function(){return this.filter(u(t,arguments,e))}},p._adaptWithCondition=function(e,n,i){return function(){var o=arguments,r=u(e,o,i);return n.call(i||t.global,o)?this.map(r):(this.forEach(r),this)}},h(["slice","splice"],(function(t){var e=l[t];m[t]=function(){return this._wrap(e.apply(this,arguments),"slice"==t?this:null)}})),h(["indexOf","lastIndexOf","every","some"],(function(e){var n=o[e];m[e]=function(){return n.apply(t,[this].concat(c.call(arguments,0)))}})),r.extend(f,{constructor:p,_NodeListCtor:p,toString:function(){return this.join(",")},_stash:function(t){return this._parent=t,this},on:function(t,e){var n=this.map((function(n){return i(n,t,e)}));return n.remove=function(){for(var t=0;t<n.length;t++)n[t].remove()},n},end:function(){return this._parent?this._parent:new this._NodeListCtor(0)},concat:function(t){var e=c.call(this,0),n=o.map(arguments,(function(t){return c.call(t,0)}));return this._wrap(d.apply(e,n),this)},map:function(t,e){return this._wrap(o.map(this,t,e),this)},forEach:function(t,e){return h(this,t,e),this},filter:function(t){var e=arguments,n=this,i=0;if("string"==typeof t){if(n=y._filterResult(this,e[0]),1==e.length)return n._stash(this);i=1}return this._wrap(o.filter(n,e[i],e[i+1]),this)},instantiate:function(t,e){var n=r.isFunction(t)?t:r.getObject(t);return e=e||{},this.forEach((function(t){new n(e,t)}))},at:function(){var t=new this._NodeListCtor(0);return h(arguments,(function(e){e<0&&(e=this.length+e),this[e]&&t.push(this[e])}),this),t._stash(this)}});var y=g(s,f);return t.query=g(s,(function(t){return f(t)})),y.load=function(t,e,n){a.load(t,e,(function(t){n(g(t,f))}))},t._filterQueryResult=y._filterResult=function(t,e,n){return new f(y.filter(t,e,n))},t.NodeList=y.NodeList=f,y}))},"dojo/selector/acme":function(){define(["../dom","../sniff","../_base/array","../_base/lang","../_base/window"],(function(t,e,n,i,o){var r=i.trim,a=n.forEach,s=function(){return o.doc},l="BackCompat"==s().compatMode,c=">~+",d=!1,h=function(){return!0},u=function(t){c.indexOf(t.slice(-1))>=0?t+=" * ":t+=" ";for(var e,n,i=function(e,n){return r(t.slice(e,n))},o=[],a=-1,s=-1,l=-1,h=-1,u=-1,f=-1,p=-1,m="",g="",y=0,v=t.length,b=null,x=null,_=function(){f>=0&&(b.id=i(f,y).replace(/\\/g,""),f=-1),function(){if(p>=0){var t=p==y?null:i(p,y);b[c.indexOf(t)<0?"tag":"oper"]=t,p=-1}}(),u>=0&&(b.classes.push(i(u+1,y).replace(/\\/g,"")),u=-1)};m=g,g=t.charAt(y),y<v;y++)if("\\"!=m)if(b||(n=y,b={query:null,pseudos:[],attrs:[],classes:[],tag:null,oper:null,id:null,getTag:function(){return d?this.otag:this.tag}},p=y),e)g==e&&(e=null);else if("'"!=g&&'"'!=g)if(a>=0){if("]"==g){x.attr?x.matchFor=i(l||a+1,y):x.attr=i(a+1,y);var j=x.matchFor;j&&('"'!=j.charAt(0)&&"'"!=j.charAt(0)||(x.matchFor=j.slice(1,-1))),x.matchFor&&(x.matchFor=x.matchFor.replace(/\\/g,"")),b.attrs.push(x),x=null,a=l=-1}else if("="==g){var w="|~^$*".indexOf(m)>=0?m:"";x.type=w+g,x.attr=i(a+1,y-w.length),l=y+1}}else s>=0?")"==g&&(h>=0&&(x.value=i(s+1,y)),h=s=-1):"#"==g?(_(),f=y+1):"."==g?(_(),u=y):":"==g?(_(),h=y):"["==g?(_(),a=y,x={}):"("==g?(h>=0&&(x={name:i(h+1,y),value:null},b.pseudos.push(x)),s=y):" "==g&&m!=g&&(_(),h>=0&&b.pseudos.push({name:i(h+1,y)}),b.loops=b.pseudos.length||b.attrs.length||b.classes.length,b.oquery=b.query=i(n,y),b.otag=b.tag=b.oper?null:b.tag||"*",b.tag&&(b.tag=b.tag.toUpperCase()),o.length&&o[o.length-1].oper&&(b.infixOper=o.pop(),b.query=b.infixOper.query+" "+b.query),o.push(b),b=null);else e=g;return o},f=function(t,e){return t?e?function(){return t.apply(window,arguments)&&e.apply(window,arguments)}:t:e},p=function(t,e){var n=e||[];return t&&n.push(t),n},m=function(t){return 1==t.nodeType},g=function(t,e){return t?"class"==e?t.className||"":"for"==e?t.htmlFor||"":"style"==e?t.style.cssText||"":(d?t.getAttribute(e):t.getAttribute(e,2))||"":""},y={"*=":function(t,e){return function(n){return g(n,t).indexOf(e)>=0}},"^=":function(t,e){return function(n){return 0==g(n,t).indexOf(e)}},"$=":function(t,e){return function(n){var i=" "+g(n,t),o=i.lastIndexOf(e);return o>-1&&o==i.length-e.length}},"~=":function(t,e){var n=" "+e+" ";return function(e){return(" "+g(e,t)+" ").indexOf(n)>=0}},"|=":function(t,e){var n=e+"-";return function(i){var o=g(i,t);return o==e||0==o.indexOf(n)}},"=":function(t,e){return function(n){return g(n,t)==e}}},v=s().documentElement,b=!(v.nextElementSibling||"nextElementSibling"in v),x=b?"nextSibling":"nextElementSibling",_=b?"previousSibling":"previousElementSibling",j=b?m:h,w=function(t){for(;t=t[_];)if(j(t))return!1;return!0},k=function(t){for(;t=t[x];)if(j(t))return!1;return!0},C=function(t){var n=t.parentNode,i=0,o=(n=7!=n.nodeType?n:n.nextSibling).children||n.childNodes,r=t._i||t.getAttribute("_i")||-1,a=n._l||(void 0!==n.getAttribute?n.getAttribute("_l"):-1);if(!o)return-1;var s=o.length;if(a==s&&r>=0&&a>=0)return r;e("ie")&&void 0!==n.setAttribute?n.setAttribute("_l",s):n._l=s,r=-1;for(var l=n.firstElementChild||n.firstChild;l;l=l[x])j(l)&&(e("ie")?l.setAttribute("_i",++i):l._i=++i,t===l&&(r=i));return r},S=function(t){return!(C(t)%2)},M=function(t){return C(t)%2},T={checked:function(t,e){return function(t){return!!("checked"in t?t.checked:t.selected)}},disabled:function(t,e){return function(t){return t.disabled}},enabled:function(t,e){return function(t){return!t.disabled}},"first-child":function(){return w},"last-child":function(){return k},"only-child":function(t,e){return function(t){return w(t)&&k(t)}},empty:function(t,e){return function(t){for(var e=t.childNodes,n=t.childNodes.length-1;n>=0;n--){var i=e[n].nodeType;if(1===i||3==i)return!1}return!0}},contains:function(t,e){var n=e.charAt(0);return'"'!=n&&"'"!=n||(e=e.slice(1,-1)),function(t){return t.innerHTML.indexOf(e)>=0}},not:function(t,e){var n=u(e)[0],i={el:1};"*"!=n.tag&&(i.tag=1),n.classes.length||(i.classes=1);var o=N(n,i);return function(t){return!o(t)}},"nth-child":function(t,e){var n=parseInt;if("odd"==e)return M;if("even"==e)return S;if(-1!=e.indexOf("n")){var i=e.split("n",2),o=i[0]?"-"==i[0]?-1:n(i[0]):1,r=i[1]?n(i[1]):0,a=0,s=-1;if(o>0?r<0?r=r%o&&o+r%o:r>0&&(r>=o&&(a=r-r%o),r%=o):o<0&&(o*=-1,r>0&&(s=r,r%=o)),o>0)return function(t){var e=C(t);return e>=a&&(s<0||e<=s)&&e%o==r};e=r}var l=n(e);return function(t){return C(t)==l}}},A=e("ie")<9||9==e("ie")&&e("quirks")?function(t){var e=t.toLowerCase();return"class"==e&&(t="className"),function(n){return d?n.getAttribute(t):n[t]||n[e]}}:function(t){return function(e){return e&&e.getAttribute&&e.hasAttribute(t)}},N=function(t,e){if(!t)return h;var n=null;return"el"in(e=e||{})||(n=f(n,m)),"tag"in e||"*"!=t.tag&&(n=f(n,(function(e){return e&&(d?e.tagName:e.tagName.toUpperCase())==t.getTag()}))),"classes"in e||a(t.classes,(function(t,e,i){var o=new RegExp("(?:^|\\s)"+t+"(?:\\s|$)");(n=f(n,(function(t){return o.test(t.className)}))).count=e})),"pseudos"in e||a(t.pseudos,(function(t){var e=t.name;T[e]&&(n=f(n,T[e](e,t.value)))})),"attrs"in e||a(t.attrs,(function(t){var e,i=t.attr;t.type&&y[t.type]?e=y[t.type](i,t.matchFor):i.length&&(e=A(i)),e&&(n=f(n,e))})),"id"in e||t.id&&(n=f(n,(function(e){return!!e&&e.id==t.id}))),n||"default"in e||(n=h),n},E={},P=function(e){var n=E[e.query];if(n)return n;var i=e.infixOper,o=i?i.oper:"",r=N(e,{el:1}),a="*"==e.tag,c=s().getElementsByClassName;if(o){var d={el:1};a&&(d.tag=1),r=N(e,d),"+"==o?n=function(t){return function(e,n,i){for(;e=e[x];)if(!b||m(e)){i&&!V(e,i)||!t(e)||n.push(e);break}return n}}(r):"~"==o?n=function(t){return function(e,n,i){for(var o=e[x];o;){if(j(o)){if(i&&!V(o,i))break;t(o)&&n.push(o)}o=o[x]}return n}}(r):">"==o&&(n=function(t){return t=t||h,function(e,n,i){for(var o,r=0,a=e.children||e.childNodes;o=a[r++];)j(o)&&(!i||V(o,i))&&t(o,r)&&n.push(o);return n}}(r))}else if(e.id)r=!e.loops&&a?h:N(e,{el:1,id:1}),n=function(n,i){var o=t.byId(e.id,n.ownerDocument||n);if(o&&r(o))return 9==n.nodeType||function(t,e){for(var n=t.parentNode;n&&n!=e;)n=n.parentNode;return!!n}(o,n)?p(o,i):void 0};else if(c&&/\{\s*\[native code\]\s*\}/.test(String(c))&&e.classes.length&&!l){r=N(e,{el:1,classes:1,id:1});var u=e.classes.join(" ");n=function(t,e,n){for(var i,o=p(0,e),a=0,s=t.getElementsByClassName(u);i=s[a++];)r(i,t)&&V(i,n)&&o.push(i);return o}}else a||e.loops?(r=N(e,{el:1,tag:1,id:1}),n=function(t,n,i){for(var o,a=p(0,n),s=0,l=e.getTag(),c=l?t.getElementsByTagName(l):[];o=c[s++];)r(o,t)&&V(o,i)&&a.push(o);return a}):n=function(t,n,i){for(var o,r=p(0,n),a=0,s=e.getTag(),l=s?t.getElementsByTagName(s):[];o=l[a++];)V(o,i)&&r.push(o);return r};return E[e.query]=n},L={},D={},F=function(t){var e=u(r(t));if(1==e.length){var n=P(e[0]);return function(t){var e=n(t,[]);return e&&(e.nozip=!0),e}}return function(t){return function(t,e){for(var n,i,o,r,a=p(t),s=e.length,l=0;l<s;l++){r=[],n=e[l],a.length-1>0&&(o={},r.nozip=!0);for(var c=P(n),d=0;i=a[d];d++)c(i,r,o);if(!r.length)break;a=r}return r}(t,e)}},I=e("ie")?"commentStrip":"nozip",R="querySelectorAll",B=!!s()[R],O=/\\[>~+]|n\+\d|([^ \\])?([>~+])([^ =])?/g,W=function(t,e,n,i){return n?(e?e+" ":"")+n+(i?" "+i:""):t},z=/([^[]*)([^\]]*])?/g,q=function(t,e,n){return e.replace(O,W)+(n||"")},H=function(t,n){if(t=t.replace(z,q),B){var i=D[t];if(i&&!n)return i}var o=L[t];if(o)return o;var r=t.charAt(0),a=-1==t.indexOf(" ");if(t.indexOf("#")>=0&&a&&(n=!0),B&&!n&&-1==c.indexOf(r)&&(!e("ie")||-1==t.indexOf(":"))&&!(l&&t.indexOf(".")>=0)&&-1==t.indexOf(":contains")&&-1==t.indexOf(":checked")&&-1==t.indexOf("|=")){var s=c.indexOf(t.charAt(t.length-1))>=0?t+" *":t;return D[t]=function(e){try{if(9!=e.nodeType&&!a)throw"";var n=e[R](s);return n[I]=!0,n}catch(n){return H(t,!0)(e)}}}var d=t.match(/([^\s,](?:"(?:\\.|[^"])+"|'(?:\\.|[^'])+'|[^,])*)/g);return L[t]=d.length<2?F(t):function(t){for(var e,n=0,i=[];e=d[n++];)i=i.concat(F(e)(t));return i}},U=0,G=e("ie")?function(t){return d?t.getAttribute("_uid")||t.setAttribute("_uid",++U)||U:t.uniqueID}:function(t){return t._uid||(t._uid=++U)},V=function(t,e){if(!e)return 1;var n=G(t);return e[n]?0:e[n]=1},K="_zipIdx",X=function(t,n){var i=(n=n||s()).ownerDocument||n;d="div"===i.createElement("div").tagName;var o=H(t)(n);return o&&o.nozip?o:function(t){if(t&&t.nozip)return t;if(!t||!t.length)return[];if(t.length<2)return[t[0]];var n,i,o=[];if(U++,e("ie")&&d){var r=U+"";for(n=0;n<t.length;n++)(i=t[n])&&i.getAttribute(K)!=r&&(o.push(i),i.setAttribute(K,r))}else if(e("ie")&&t.commentStrip)try{for(n=0;n<t.length;n++)(i=t[n])&&m(i)&&o.push(i)}catch(t){}else for(n=0;n<t.length;n++)(i=t[n])&&i[K]!=U&&(o.push(i),i[K]=U);return o}(o)};return X.filter=function(e,i,o){for(var r,a=[],s=u(i),l=1!=s.length||/[^\w#\.]/.test(i)?function(e){return-1!=n.indexOf(X(i,t.byId(o)),e)}:N(s[0]),c=0;r=e[c];c++)l(r)&&a.push(r);return a},X}))},"dojo/NodeList-dom":function(){define(["./_base/kernel","./query","./_base/array","./_base/lang","./dom-class","./dom-construct","./dom-geometry","./dom-attr","./dom-style"],(function(t,e,n,i,o,r,a,s,l){var c=function(t){return 1==t.length&&"string"==typeof t[0]},d=function(t){var e=t.parentNode;e&&e.removeChild(t)},h=e.NodeList,u=h._adaptWithCondition,f=h._adaptAsForEach,p=h._adaptAsMap;function m(t){return function(e,n,i){return 2==arguments.length?t["string"==typeof n?"get":"set"](e,n):t.set(e,n,i)}}return i.extend(h,{_normalize:function(e,n){var o=!0===e.parse;if("string"==typeof e.template){var a=e.templateFunc||t.string&&t.string.substitute;e=a?a(e.template,e):e}var s=typeof e;return"string"==s||"number"==s?e=11==(e=r.toDom(e,n&&n.ownerDocument)).nodeType?i._toArray(e.childNodes):[e]:i.isArrayLike(e)?i.isArray(e)||(e=i._toArray(e)):e=[e],o&&(e._runParse=!0),e},_cloneNode:function(t){return t.cloneNode(!0)},_place:function(e,n,i,o){if(1==n.nodeType||"only"!=i)for(var a,s=n,l=e.length,c=l-1;c>=0;c--){var d=o?this._cloneNode(e[c]):e[c];if(e._runParse&&t.parser&&t.parser.parse)for(a||(a=s.ownerDocument.createElement("div")),a.appendChild(d),t.parser.parse(a),d=a.firstChild;a.firstChild;)a.removeChild(a.firstChild);c==l-1?r.place(d,s,i):s.parentNode.insertBefore(d,s),s=d}},position:p(a.position),attr:u(m(s),c),style:u(m(l),c),addClass:f(o.add),removeClass:f(o.remove),toggleClass:f(o.toggle),replaceClass:f(o.replace),empty:f(r.empty),removeAttr:f(s.remove),marginBox:p(a.getMarginBox),place:function(t,n){var i=e(t)[0];return this.forEach((function(t){r.place(t,i,n)}))},orphan:function(t){return(t?e._filterResult(this,t):this).forEach(d)},adopt:function(t,n){return e(t).place(this[0],n)._stash(this)},query:function(t){if(!t)return this;var n=new h;return this.map((function(i){e(t,i).forEach((function(t){void 0!==t&&n.push(t)}))})),n._stash(this)},filter:function(t){var i=arguments,o=this,r=0;if("string"==typeof t){if(o=e._filterResult(this,i[0]),1==i.length)return o._stash(this);r=1}return this._wrap(n.filter(o,i[r],i[r+1]),this)},addContent:function(t,e){t=this._normalize(t,this[0]);for(var n,i=0;n=this[i];i++)t.length?this._place(t,n,e,i>0):r.empty(n);return this}}),h}))},"dojo/_base/fx":function(){define(["./kernel","./config","./lang","../Evented","./Color","../aspect","../sniff","../dom","../dom-style"],(function(t,e,n,i,o,r,a,s,l){var c=n.mixin,d={},h=d._Line=function(t,e){this.start=t,this.end=e};h.prototype.getValue=function(t){return(this.end-this.start)*t+this.start};var u=d.Animation=function(t){c(this,t),n.isArray(this.curve)&&(this.curve=new h(this.curve[0],this.curve[1]))};u.prototype=new i,n.extend(u,{duration:350,repeat:0,rate:20,_percent:0,_startRepeatCount:0,_getStep:function(){var t=this._percent,e=this.easing;return e?e(t):t},_fire:function(t,n){var i=n||[];if(this[t])if(e.debugAtAllCosts)this[t].apply(this,i);else try{this[t].apply(this,i)}catch(e){console.error("exception in animation handler for:",t),console.error(e)}return this},play:function(t,e){var i=this;if(i._delayTimer&&i._clearTimer(),e)i._stopTimer(),i._active=i._paused=!1,i._percent=0;else if(i._active&&!i._paused)return i;i._fire("beforeBegin",[i.node]);var o=t||i.delay,r=n.hitch(i,"_play",e);return o>0?(i._delayTimer=setTimeout(r,o),i):(r(),i)},_play:function(t){var e=this;e._delayTimer&&e._clearTimer(),e._startTime=(new Date).valueOf(),e._paused&&(e._startTime-=e.duration*e._percent),e._active=!0,e._paused=!1;var n=e.curve.getValue(e._getStep());return e._percent||(e._startRepeatCount||(e._startRepeatCount=e.repeat),e._fire("onBegin",[n])),e._fire("onPlay",[n]),e._cycle(),e},pause:function(){var t=this;return t._delayTimer&&t._clearTimer(),t._stopTimer(),t._active?(t._paused=!0,t._fire("onPause",[t.curve.getValue(t._getStep())]),t):t},gotoPercent:function(t,e){var n=this;return n._stopTimer(),n._active=n._paused=!0,n._percent=t,e&&n.play(),n},stop:function(t){var e=this;return e._delayTimer&&e._clearTimer(),e._timer?(e._stopTimer(),t&&(e._percent=1),e._fire("onStop",[e.curve.getValue(e._getStep())]),e._active=e._paused=!1,e):e},destroy:function(){this.stop()},status:function(){return this._active?this._paused?"paused":"playing":"stopped"},_cycle:function(){var t=this;if(t._active){var e=(new Date).valueOf(),n=0===t.duration?1:(e-t._startTime)/t.duration;n>=1&&(n=1),t._percent=n,t.easing&&(n=t.easing(n)),t._fire("onAnimate",[t.curve.getValue(n)]),t._percent<1?t._startTimer():(t._active=!1,t.repeat>0?(t.repeat--,t.play(null,!0)):-1==t.repeat?t.play(null,!0):t._startRepeatCount&&(t.repeat=t._startRepeatCount,t._startRepeatCount=0),t._percent=0,t._fire("onEnd",[t.node]),!t.repeat&&t._stopTimer())}return t},_clearTimer:function(){clearTimeout(this._delayTimer),delete this._delayTimer}});var f=0,p=null,m={run:function(){}};n.extend(u,{_startTimer:function(){this._timer||(this._timer=r.after(m,"run",n.hitch(this,"_cycle"),!0),f++),p||(p=setInterval(n.hitch(m,"run"),this.rate))},_stopTimer:function(){this._timer&&(this._timer.remove(),this._timer=null,f--),f<=0&&(clearInterval(p),p=null,f=0)}});var g=a("ie")?function(t){var e=t.style;e.width.length||"auto"!=l.get(t,"width")||(e.width="auto")}:function(){};d._fade=function(t){t.node=s.byId(t.node);var e=c({properties:{}},t),i=e.properties.opacity={};i.start="start"in e?e.start:function(){return+l.get(e.node,"opacity")||0},i.end=e.end;var o=d.animateProperty(e);return r.after(o,"beforeBegin",n.partial(g,e.node),!0),o},d.fadeIn=function(t){return d._fade(c({end:1},t))},d.fadeOut=function(t){return d._fade(c({end:0},t))},d._defaultEasing=function(t){return.5+Math.sin((t+1.5)*Math.PI)/2};var y=function(t){for(var e in this._properties=t,t){var n=t[e];n.start instanceof o&&(n.tempColor=new o)}};return y.prototype.getValue=function(t){var e={};for(var i in this._properties){var r=this._properties[i],a=r.start;a instanceof o?e[i]=o.blendColors(a,r.end,t,r.tempColor).toCss():n.isArray(a)||(e[i]=(r.end-a)*t+a+("opacity"!=i?r.units||"px":0))}return e},d.animateProperty=function(e){var i=e.node=s.byId(e.node);e.easing||(e.easing=t._defaultEasing);var a=new u(e);return r.after(a,"beforeBegin",n.hitch(a,(function(){var t={};for(var e in this.properties){"width"!=e&&"height"!=e||(this.node.display="block");var r=this.properties[e];n.isFunction(r)&&(r=r(i)),r=t[e]=c({},n.isObject(r)?r:{end:r}),n.isFunction(r.start)&&(r.start=r.start(i)),n.isFunction(r.end)&&(r.end=r.end(i));var a=e.toLowerCase().indexOf("color")>=0;function s(t,e){var n={height:t.offsetHeight,width:t.offsetWidth}[e];return void 0!==n?n:(n=l.get(t,e),"opacity"==e?+n:a?n:parseFloat(n))}"end"in r?"start"in r||(r.start=s(i,e)):r.end=s(i,e),a?(r.start=new o(r.start),r.end=new o(r.end)):r.start="opacity"==e?+r.start:parseFloat(r.start)}this.curve=new y(t)})),!0),r.after(a,"onAnimate",n.hitch(l,"set",a.node),!0),a},d.anim=function(t,e,n,i,o,r){return d.animateProperty({node:t,duration:n||u.prototype.duration,properties:e,easing:i,onEnd:o}).play(r||0)},c(t,d),t._Animation=u,d}))}}}),function(){var t=this.require;t({cache:{}}),!t.async&&t(["dojo"]),t.boot&&t.apply(null,t.boot)}()},4596:function(t,e){define("dojo/fx",["./_base/lang","./Evented","./_base/kernel","./_base/array","./aspect","./_base/fx","./dom","./dom-style","./dom-geometry","./ready","require"],(function(t,e,n,i,o,r,a,s,l,c,d){n.isAsync||c(0,(function(){d(["./fx/Toggler"])}));var h=n.fx={},u={_fire:function(t,e){return this[t]&&this[t].apply(this,e||[]),this}},f=function(t){this._index=-1,this._animations=t||[],this._current=this._onAnimateCtx=this._onEndCtx=null,this.duration=0,i.forEach(this._animations,(function(t){t&&(void 0!==t.duration&&(this.duration+=t.duration),t.delay&&(this.duration+=t.delay))}),this)};f.prototype=new e,t.extend(f,{_onAnimate:function(){this._fire("onAnimate",arguments)},_onEnd:function(){this._onAnimateCtx.remove(),this._onEndCtx.remove(),this._onAnimateCtx=this._onEndCtx=null,this._index+1==this._animations.length?this._fire("onEnd"):(this._current=this._animations[++this._index],this._onAnimateCtx=o.after(this._current,"onAnimate",t.hitch(this,"_onAnimate"),!0),this._onEndCtx=o.after(this._current,"onEnd",t.hitch(this,"_onEnd"),!0),this._current.play(0,!0))},play:function(e,n){if(this._current||(this._current=this._animations[this._index=0]),!n&&"playing"==this._current.status())return this;var i=o.after(this._current,"beforeBegin",t.hitch(this,(function(){this._fire("beforeBegin")})),!0),r=o.after(this._current,"onBegin",t.hitch(this,(function(t){this._fire("onBegin",arguments)})),!0),a=o.after(this._current,"onPlay",t.hitch(this,(function(t){this._fire("onPlay",arguments),i.remove(),r.remove(),a.remove()})));return this._onAnimateCtx&&this._onAnimateCtx.remove(),this._onAnimateCtx=o.after(this._current,"onAnimate",t.hitch(this,"_onAnimate"),!0),this._onEndCtx&&this._onEndCtx.remove(),this._onEndCtx=o.after(this._current,"onEnd",t.hitch(this,"_onEnd"),!0),this._current.play.apply(this._current,arguments),this},pause:function(){if(this._current){var e=o.after(this._current,"onPause",t.hitch(this,(function(t){this._fire("onPause",arguments),e.remove()})),!0);this._current.pause()}return this},gotoPercent:function(t,e){this.pause();var n=this.duration*t;return this._current=null,i.some(this._animations,(function(t,e){return n<=t.duration?(this._current=t,this._index=e,!0):(n-=t.duration,!1)}),this),this._current&&this._current.gotoPercent(n/this._current.duration),e&&this.play(),this},stop:function(e){if(this._current){if(e){for(;this._index+1<this._animations.length;++this._index)this._animations[this._index].stop(!0);this._current=this._animations[this._index]}var n=o.after(this._current,"onStop",t.hitch(this,(function(t){this._fire("onStop",arguments),n.remove()})),!0);this._current.stop()}return this},status:function(){return this._current?this._current.status():"stopped"},destroy:function(){this.stop(),this._onAnimateCtx&&this._onAnimateCtx.remove(),this._onEndCtx&&this._onEndCtx.remove()}}),t.extend(f,u),h.chain=function(t){return new f(t)};var p=function(e){this._animations=e||[],this._connects=[],this._finished=0,this.duration=0,i.forEach(e,(function(e){var n=e.duration;e.delay&&(n+=e.delay),this.duration<n&&(this.duration=n),this._connects.push(o.after(e,"onEnd",t.hitch(this,"_onEnd"),!0))}),this),this._pseudoAnimation=new r.Animation({curve:[0,1],duration:this.duration});var n=this;i.forEach(["beforeBegin","onBegin","onPlay","onAnimate","onPause","onStop","onEnd"],(function(t){n._connects.push(o.after(n._pseudoAnimation,t,(function(){n._fire(t,arguments)}),!0))}))};return t.extend(p,{_doAction:function(t,e){return i.forEach(this._animations,(function(n){n[t].apply(n,e)})),this},_onEnd:function(){++this._finished>this._animations.length&&this._fire("onEnd")},_call:function(t,e){var n=this._pseudoAnimation;n[t].apply(n,e)},play:function(t,e){return this._finished=0,this._doAction("play",arguments),this._call("play",arguments),this},pause:function(){return this._doAction("pause",arguments),this._call("pause",arguments),this},gotoPercent:function(t,e){var n=this.duration*t;return i.forEach(this._animations,(function(t){t.gotoPercent(t.duration<n?1:n/t.duration,e)})),this._call("gotoPercent",arguments),this},stop:function(t){return this._doAction("stop",arguments),this._call("stop",arguments),this},status:function(){return this._pseudoAnimation.status()},destroy:function(){this.stop(),i.forEach(this._connects,(function(t){t.remove()}))}}),t.extend(p,u),h.combine=function(t){return new p(t)},h.wipeIn=function(e){var n,i=e.node=a.byId(e.node),l=i.style,c=r.animateProperty(t.mixin({properties:{height:{start:function(){if(n=l.overflow,l.overflow="hidden","hidden"==l.visibility||"none"==l.display)return l.height="1px",l.display="",l.visibility="",1;var t=s.get(i,"height");return Math.max(t,1)},end:function(){return i.scrollHeight}}}},e)),d=function(){l.height="auto",l.overflow=n};return o.after(c,"onStop",d,!0),o.after(c,"onEnd",d,!0),c},h.wipeOut=function(e){var n,i=(e.node=a.byId(e.node)).style,s=r.animateProperty(t.mixin({properties:{height:{end:1}}},e));o.after(s,"beforeBegin",(function(){n=i.overflow,i.overflow="hidden",i.display=""}),!0);var l=function(){i.overflow=n,i.height="auto",i.display="none"};return o.after(s,"onStop",l,!0),o.after(s,"onEnd",l,!0),s},h.slideTo=function(e){var n,i=e.node=a.byId(e.node),c=null,d=null,h=(n=i,function(){var t=s.getComputedStyle(n),e=t.position;if(c="absolute"==e?n.offsetTop:parseInt(t.top)||0,d="absolute"==e?n.offsetLeft:parseInt(t.left)||0,"absolute"!=e&&"relative"!=e){var i=l.position(n,!0);c=i.y,d=i.x,n.style.position="absolute",n.style.top=c+"px",n.style.left=d+"px"}});h();var u=r.animateProperty(t.mixin({properties:{top:e.top||0,left:e.left||0}},e));return o.after(u,"beforeBegin",h,!0),u},h}))},3783:function(t,e){define("dojo/fx",["./_base/lang","./Evented","./_base/kernel","./_base/array","./aspect","./_base/fx","./dom","./dom-style","./dom-geometry","./ready","require"],(function(t,e,n,i,o,r,a,s,l,c,d){n.isAsync||c(0,(function(){d(["./fx/Toggler"])}));var h=n.fx={},u={_fire:function(t,e){return this[t]&&this[t].apply(this,e||[]),this}},f=function(t){this._index=-1,this._animations=t||[],this._current=this._onAnimateCtx=this._onEndCtx=null,this.duration=0,i.forEach(this._animations,(function(t){t&&(void 0!==t.duration&&(this.duration+=t.duration),t.delay&&(this.duration+=t.delay))}),this)};f.prototype=new e,t.extend(f,{_onAnimate:function(){this._fire("onAnimate",arguments)},_onEnd:function(){this._onAnimateCtx.remove(),this._onEndCtx.remove(),this._onAnimateCtx=this._onEndCtx=null,this._index+1==this._animations.length?this._fire("onEnd"):(this._current=this._animations[++this._index],this._onAnimateCtx=o.after(this._current,"onAnimate",t.hitch(this,"_onAnimate"),!0),this._onEndCtx=o.after(this._current,"onEnd",t.hitch(this,"_onEnd"),!0),this._current.play(0,!0))},play:function(e,n){if(this._current||(this._current=this._animations[this._index=0]),!n&&"playing"==this._current.status())return this;var i=o.after(this._current,"beforeBegin",t.hitch(this,(function(){this._fire("beforeBegin")})),!0),r=o.after(this._current,"onBegin",t.hitch(this,(function(t){this._fire("onBegin",arguments)})),!0),a=o.after(this._current,"onPlay",t.hitch(this,(function(t){this._fire("onPlay",arguments),i.remove(),r.remove(),a.remove()})));return this._onAnimateCtx&&this._onAnimateCtx.remove(),this._onAnimateCtx=o.after(this._current,"onAnimate",t.hitch(this,"_onAnimate"),!0),this._onEndCtx&&this._onEndCtx.remove(),this._onEndCtx=o.after(this._current,"onEnd",t.hitch(this,"_onEnd"),!0),this._current.play.apply(this._current,arguments),this},pause:function(){if(this._current){var e=o.after(this._current,"onPause",t.hitch(this,(function(t){this._fire("onPause",arguments),e.remove()})),!0);this._current.pause()}return this},gotoPercent:function(t,e){this.pause();var n=this.duration*t;return this._current=null,i.some(this._animations,(function(t,e){return n<=t.duration?(this._current=t,this._index=e,!0):(n-=t.duration,!1)}),this),this._current&&this._current.gotoPercent(n/this._current.duration),e&&this.play(),this},stop:function(e){if(this._current){if(e){for(;this._index+1<this._animations.length;++this._index)this._animations[this._index].stop(!0);this._current=this._animations[this._index]}var n=o.after(this._current,"onStop",t.hitch(this,(function(t){this._fire("onStop",arguments),n.remove()})),!0);this._current.stop()}return this},status:function(){return this._current?this._current.status():"stopped"},destroy:function(){this.stop(),this._onAnimateCtx&&this._onAnimateCtx.remove(),this._onEndCtx&&this._onEndCtx.remove()}}),t.extend(f,u),h.chain=function(t){return new f(t)};var p=function(e){this._animations=e||[],this._connects=[],this._finished=0,this.duration=0,i.forEach(e,(function(e){var n=e.duration;e.delay&&(n+=e.delay),this.duration<n&&(this.duration=n),this._connects.push(o.after(e,"onEnd",t.hitch(this,"_onEnd"),!0))}),this),this._pseudoAnimation=new r.Animation({curve:[0,1],duration:this.duration});var n=this;i.forEach(["beforeBegin","onBegin","onPlay","onAnimate","onPause","onStop","onEnd"],(function(t){n._connects.push(o.after(n._pseudoAnimation,t,(function(){n._fire(t,arguments)}),!0))}))};return t.extend(p,{_doAction:function(t,e){return i.forEach(this._animations,(function(n){n[t].apply(n,e)})),this},_onEnd:function(){++this._finished>this._animations.length&&this._fire("onEnd")},_call:function(t,e){var n=this._pseudoAnimation;n[t].apply(n,e)},play:function(t,e){return this._finished=0,this._doAction("play",arguments),this._call("play",arguments),this},pause:function(){return this._doAction("pause",arguments),this._call("pause",arguments),this},gotoPercent:function(t,e){var n=this.duration*t;return i.forEach(this._animations,(function(t){t.gotoPercent(t.duration<n?1:n/t.duration,e)})),this._call("gotoPercent",arguments),this},stop:function(t){return this._doAction("stop",arguments),this._call("stop",arguments),this},status:function(){return this._pseudoAnimation.status()},destroy:function(){this.stop(),i.forEach(this._connects,(function(t){t.remove()}))}}),t.extend(p,u),h.combine=function(t){return new p(t)},h.wipeIn=function(e){var n,i=e.node=a.byId(e.node),l=i.style,c=r.animateProperty(t.mixin({properties:{height:{start:function(){if(n=l.overflow,l.overflow="hidden","hidden"==l.visibility||"none"==l.display)return l.height="1px",l.display="",l.visibility="",1;var t=s.get(i,"height");return Math.max(t,1)},end:function(){return i.scrollHeight}}}},e)),d=function(){l.height="auto",l.overflow=n};return o.after(c,"onStop",d,!0),o.after(c,"onEnd",d,!0),c},h.wipeOut=function(e){var n,i=(e.node=a.byId(e.node)).style,s=r.animateProperty(t.mixin({properties:{height:{end:1}}},e));o.after(s,"beforeBegin",(function(){n=i.overflow,i.overflow="hidden",i.display=""}),!0);var l=function(){i.overflow=n,i.height="auto",i.display="none"};return o.after(s,"onStop",l,!0),o.after(s,"onEnd",l,!0),s},h.slideTo=function(e){var n,i=e.node=a.byId(e.node),c=null,d=null,h=(n=i,function(){var t=s.getComputedStyle(n),e=t.position;if(c="absolute"==e?n.offsetTop:parseInt(t.top)||0,d="absolute"==e?n.offsetLeft:parseInt(t.left)||0,"absolute"!=e&&"relative"!=e){var i=l.position(n,!0);c=i.y,d=i.x,n.style.position="absolute",n.style.top=c+"px",n.style.left=d+"px"}});h();var u=r.animateProperty(t.mixin({properties:{top:e.top||0,left:e.left||0}},e));return o.after(u,"beforeBegin",h,!0),u},h}))},1037:function(t,e){define("dojo/fx/Toggler",["../_base/lang","../_base/declare","../_base/fx","../aspect"],(function(t,e,n,i){return e("dojo.fx.Toggler",null,{node:null,showFunc:n.fadeIn,hideFunc:n.fadeOut,showDuration:200,hideDuration:200,constructor:function(e){var n=this;t.mixin(n,e),n.node=e.node,n._showArgs=t.mixin({},e),n._showArgs.node=n.node,n._showArgs.duration=n.showDuration,n.showAnim=n.showFunc(n._showArgs),n._hideArgs=t.mixin({},e),n._hideArgs.node=n.node,n._hideArgs.duration=n.hideDuration,n.hideAnim=n.hideFunc(n._hideArgs),i.after(n.showAnim,"beforeBegin",t.hitch(n.hideAnim,"stop",!0),!0),i.after(n.hideAnim,"beforeBegin",t.hitch(n.showAnim,"stop",!0),!0)},show:function(t){return this.showAnim.play(t||0)},hide:function(t){return this.hideAnim.play(t||0)}})}))},2382:function(t,e){define("dojo/fx/Toggler",["../_base/lang","../_base/declare","../_base/fx","../aspect"],(function(t,e,n,i){return e("dojo.fx.Toggler",null,{node:null,showFunc:n.fadeIn,hideFunc:n.fadeOut,showDuration:200,hideDuration:200,constructor:function(e){var n=this;t.mixin(n,e),n.node=e.node,n._showArgs=t.mixin({},e),n._showArgs.node=n.node,n._showArgs.duration=n.showDuration,n.showAnim=n.showFunc(n._showArgs),n._hideArgs=t.mixin({},e),n._hideArgs.node=n.node,n._hideArgs.duration=n.hideDuration,n.hideAnim=n.hideFunc(n._hideArgs),i.after(n.showAnim,"beforeBegin",t.hitch(n.hideAnim,"stop",!0),!0),i.after(n.hideAnim,"beforeBegin",t.hitch(n.showAnim,"stop",!0),!0)},show:function(t){return this.showAnim.play(t||0)},hide:function(t){return this.hideAnim.play(t||0)}})}))},4974:function(t,e){define("dojo/fx/easing",["../_base/lang"],(function(t){var e={linear:function(t){return t},quadIn:function(t){return Math.pow(t,2)},quadOut:function(t){return t*(t-2)*-1},quadInOut:function(t){return(t*=2)<1?Math.pow(t,2)/2:-1*(--t*(t-2)-1)/2},cubicIn:function(t){return Math.pow(t,3)},cubicOut:function(t){return Math.pow(t-1,3)+1},cubicInOut:function(t){return(t*=2)<1?Math.pow(t,3)/2:(t-=2,(Math.pow(t,3)+2)/2)},quartIn:function(t){return Math.pow(t,4)},quartOut:function(t){return-1*(Math.pow(t-1,4)-1)},quartInOut:function(t){return(t*=2)<1?Math.pow(t,4)/2:(t-=2,-.5*(Math.pow(t,4)-2))},quintIn:function(t){return Math.pow(t,5)},quintOut:function(t){return Math.pow(t-1,5)+1},quintInOut:function(t){return(t*=2)<1?Math.pow(t,5)/2:(t-=2,(Math.pow(t,5)+2)/2)},sineIn:function(t){return-1*Math.cos(t*(Math.PI/2))+1},sineOut:function(t){return Math.sin(t*(Math.PI/2))},sineInOut:function(t){return-1*(Math.cos(Math.PI*t)-1)/2},expoIn:function(t){return 0==t?0:Math.pow(2,10*(t-1))},expoOut:function(t){return 1==t?1:-1*Math.pow(2,-10*t)+1},expoInOut:function(t){return 0==t?0:1==t?1:(t*=2)<1?Math.pow(2,10*(t-1))/2:(--t,(-1*Math.pow(2,-10*t)+2)/2)},circIn:function(t){return-1*(Math.sqrt(1-Math.pow(t,2))-1)},circOut:function(t){return t-=1,Math.sqrt(1-Math.pow(t,2))},circInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-Math.pow(t,2))-1):(t-=2,.5*(Math.sqrt(1-Math.pow(t,2))+1))},backIn:function(t){var e=1.70158;return Math.pow(t,2)*((e+1)*t-e)},backOut:function(t){t-=1;var e=1.70158;return Math.pow(t,2)*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?Math.pow(t,2)*((e+1)*t-e)/2:(t-=2,(Math.pow(t,2)*((e+1)*t+e)+2)/2)},elasticIn:function(t){return 0==t||1==t?t:(t-=1,-1*Math.pow(2,10*t)*Math.sin((t-.075)*(2*Math.PI)/.3))},elasticOut:function(t){return 0==t||1==t?t:Math.pow(2,-10*t)*Math.sin((t-.075)*(2*Math.PI)/.3)+1},elasticInOut:function(t){if(0==t)return 0;if(2==(t*=2))return 1;var e=.3*1.5,n=e/4;return t<1?(t-=1,Math.pow(2,10*t)*Math.sin((t-n)*(2*Math.PI)/e)*-.5):(t-=1,Math.pow(2,-10*t)*Math.sin((t-n)*(2*Math.PI)/e)*.5+1)},bounceIn:function(t){return 1-e.bounceOut(1-t)},bounceOut:function(t){var e,n=7.5625,i=2.75;return t<1/i?e=n*Math.pow(t,2):t<2/i?(t-=1.5/i,e=n*Math.pow(t,2)+.75):t<2.5/i?(t-=2.25/i,e=n*Math.pow(t,2)+.9375):(t-=2.625/i,e=n*Math.pow(t,2)+.984375),e},bounceInOut:function(t){return t<.5?e.bounceIn(2*t)/2:e.bounceOut(2*t-1)/2+.5}};return t.setObject("dojo.fx.easing",e),e}))},7657:function(t,e){define("dojo/fx/easing",["../_base/lang"],(function(t){var e={linear:function(t){return t},quadIn:function(t){return Math.pow(t,2)},quadOut:function(t){return t*(t-2)*-1},quadInOut:function(t){return(t*=2)<1?Math.pow(t,2)/2:-1*(--t*(t-2)-1)/2},cubicIn:function(t){return Math.pow(t,3)},cubicOut:function(t){return Math.pow(t-1,3)+1},cubicInOut:function(t){return(t*=2)<1?Math.pow(t,3)/2:(t-=2,(Math.pow(t,3)+2)/2)},quartIn:function(t){return Math.pow(t,4)},quartOut:function(t){return-1*(Math.pow(t-1,4)-1)},quartInOut:function(t){return(t*=2)<1?Math.pow(t,4)/2:(t-=2,-.5*(Math.pow(t,4)-2))},quintIn:function(t){return Math.pow(t,5)},quintOut:function(t){return Math.pow(t-1,5)+1},quintInOut:function(t){return(t*=2)<1?Math.pow(t,5)/2:(t-=2,(Math.pow(t,5)+2)/2)},sineIn:function(t){return-1*Math.cos(t*(Math.PI/2))+1},sineOut:function(t){return Math.sin(t*(Math.PI/2))},sineInOut:function(t){return-1*(Math.cos(Math.PI*t)-1)/2},expoIn:function(t){return 0==t?0:Math.pow(2,10*(t-1))},expoOut:function(t){return 1==t?1:-1*Math.pow(2,-10*t)+1},expoInOut:function(t){return 0==t?0:1==t?1:(t*=2)<1?Math.pow(2,10*(t-1))/2:(--t,(-1*Math.pow(2,-10*t)+2)/2)},circIn:function(t){return-1*(Math.sqrt(1-Math.pow(t,2))-1)},circOut:function(t){return t-=1,Math.sqrt(1-Math.pow(t,2))},circInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-Math.pow(t,2))-1):(t-=2,.5*(Math.sqrt(1-Math.pow(t,2))+1))},backIn:function(t){var e=1.70158;return Math.pow(t,2)*((e+1)*t-e)},backOut:function(t){t-=1;var e=1.70158;return Math.pow(t,2)*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?Math.pow(t,2)*((e+1)*t-e)/2:(t-=2,(Math.pow(t,2)*((e+1)*t+e)+2)/2)},elasticIn:function(t){return 0==t||1==t?t:(t-=1,-1*Math.pow(2,10*t)*Math.sin((t-.075)*(2*Math.PI)/.3))},elasticOut:function(t){return 0==t||1==t?t:Math.pow(2,-10*t)*Math.sin((t-.075)*(2*Math.PI)/.3)+1},elasticInOut:function(t){if(0==t)return 0;if(2==(t*=2))return 1;var e=.3*1.5,n=e/4;return t<1?(t-=1,Math.pow(2,10*t)*Math.sin((t-n)*(2*Math.PI)/e)*-.5):(t-=1,Math.pow(2,-10*t)*Math.sin((t-n)*(2*Math.PI)/e)*.5+1)},bounceIn:function(t){return 1-e.bounceOut(1-t)},bounceOut:function(t){var e,n=7.5625,i=2.75;return t<1/i?e=n*Math.pow(t,2):t<2/i?(t-=1.5/i,e=n*Math.pow(t,2)+.75):t<2.5/i?(t-=2.25/i,e=n*Math.pow(t,2)+.9375):(t-=2.625/i,e=n*Math.pow(t,2)+.984375),e},bounceInOut:function(t){return t<.5?e.bounceIn(2*t)/2:e.bounceOut(2*t-1)/2+.5}};return t.setObject("dojo.fx.easing",e),e}))},7452:function(t,e){define("dojo/hccss",["require","./_base/config","./dom-class","./dom-style","./has","./domReady","./_base/window"],(function(t,e,n,i,o,r,a){return o.add("highcontrast",(function(){var n=a.doc.createElement("div");n.style.cssText='border: 1px solid; border-color:red green; position: absolute; height: 5px; top: -999px;background-image: url("'+(e.blankGif||t.toUrl("./resources/blank.gif"))+'");',a.body().appendChild(n);var r=i.getComputedStyle(n),s=r.backgroundImage,l=r.borderTopColor==r.borderRightColor||s&&("none"==s||"url(invalid-url:)"==s);return o("ie")<=8?n.outerHTML="":a.body().removeChild(n),l})),r((function(){o("highcontrast")&&n.add(a.body(),"dj_a11y")})),o}))},2879:function(t,e){define("dojo/hccss",["require","./_base/config","./dom-class","./dom-style","./has","./domReady","./_base/window"],(function(t,e,n,i,o,r,a){return o.add("highcontrast",(function(){var n=a.doc.createElement("div");n.style.cssText='border: 1px solid; border-color:red green; position: absolute; height: 5px; top: -999px;background-image: url("'+(e.blankGif||t.toUrl("./resources/blank.gif"))+'");',a.body().appendChild(n);var r=i.getComputedStyle(n),s=r.backgroundImage,l=r.borderTopColor==r.borderRightColor||s&&("none"==s||"url(invalid-url:)"==s);return o("ie")<=8?n.outerHTML="":a.body().removeChild(n),l})),r((function(){o("highcontrast")&&n.add(a.body(),"dj_a11y")})),o}))},8699:function(t,e){define("dojo/html",["./_base/kernel","./_base/lang","./_base/array","./_base/declare","./dom","./dom-construct","./parser"],(function(t,e,n,i,o,r,a){var s=0,l={_secureForInnerHtml:function(t){return t.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/gi,"")},_emptyNode:r.empty,_setNodeContent:function(t,n){if(r.empty(t),n)if("string"==typeof n&&(n=r.toDom(n,t.ownerDocument)),!n.nodeType&&e.isArrayLike(n))for(var i=n.length,o=0;o<n.length;o=i==n.length?o+1:0)r.place(n[o],t,"last");else r.place(n,t,"last");return t},_ContentSetter:i("dojo.html._ContentSetter",null,{node:"",content:"",id:"",cleanContent:!1,extractContent:!1,parseContent:!1,parserScope:t._scopeName,startup:!0,constructor:function(t,n){e.mixin(this,t||{}),n=this.node=o.byId(this.node||n),this.id||(this.id=["Setter",n?n.id||n.tagName:"",s++].join("_"))},set:function(t,e){void 0!==t&&(this.content=t),e&&this._mixin(e),this.onBegin(),this.setContent();var n=this.onEnd();return n&&n.then?n:this.node},setContent:function(){var t=this.node;if(!t)throw new Error(this.declaredClass+": setContent given no node");try{t=l._setNodeContent(t,this.content)}catch(n){var e=this.onContentError(n);try{t.innerHTML=e}catch(t){console.error("Fatal "+this.declaredClass+".setContent could not change content due to "+t.message,t)}}this.node=t},empty:function(){this.parseDeferred&&(this.parseDeferred.isResolved()||this.parseDeferred.cancel(),delete this.parseDeferred),this.parseResults&&this.parseResults.length&&(n.forEach(this.parseResults,(function(t){t.destroy&&t.destroy()})),delete this.parseResults),r.empty(this.node)},onBegin:function(){var t=this.content;if(e.isString(t)&&(this.cleanContent&&(t=l._secureForInnerHtml(t)),this.extractContent)){var n=t.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);n&&(t=n[1])}return this.empty(),this.content=t,this.node},onEnd:function(){return this.parseContent&&this._parse(),this.node},tearDown:function(){delete this.parseResults,delete this.parseDeferred,delete this.node,delete this.content},onContentError:function(t){return"Error occurred setting content: "+t},onExecError:function(t){return"Error occurred executing scripts: "+t},_mixin:function(t){var e,n={};for(e in t)e in n||(this[e]=t[e])},_parse:function(){var t=this.node;try{var e={};n.forEach(["dir","lang","textDir"],(function(t){this[t]&&(e[t]=this[t])}),this);var i=this;this.parseDeferred=a.parse({rootNode:t,noStart:!this.startup,inherited:e,scope:this.parserScope}).then((function(t){return i.parseResults=t}),(function(t){i._onError("Content",t,"Error parsing in _ContentSetter#"+i.id)}))}catch(t){this._onError("Content",t,"Error parsing in _ContentSetter#"+this.id)}},_onError:function(t,e,n){var i=this["on"+t+"Error"].call(this,e);n?console.error(n,e):i&&l._setNodeContent(this.node,i,!0)}}),set:function(t,n,i){return null==n&&(console.warn("dojo.html.set: no cont argument provided, using empty string"),n=""),i?new l._ContentSetter(e.mixin(i,{content:n,node:t})).set():l._setNodeContent(t,n,!0)}};return e.setObject("dojo.html",l),l}))},7628:function(t,e){define("dojo/html",["./_base/kernel","./_base/lang","./_base/array","./_base/declare","./dom","./dom-construct","./parser"],(function(t,e,n,i,o,r,a){var s=0,l={_secureForInnerHtml:function(t){return t.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/gi,"")},_emptyNode:r.empty,_setNodeContent:function(t,n){if(r.empty(t),n)if("string"==typeof n&&(n=r.toDom(n,t.ownerDocument)),!n.nodeType&&e.isArrayLike(n))for(var i=n.length,o=0;o<n.length;o=i==n.length?o+1:0)r.place(n[o],t,"last");else r.place(n,t,"last");return t},_ContentSetter:i("dojo.html._ContentSetter",null,{node:"",content:"",id:"",cleanContent:!1,extractContent:!1,parseContent:!1,parserScope:t._scopeName,startup:!0,constructor:function(t,n){e.mixin(this,t||{}),n=this.node=o.byId(this.node||n),this.id||(this.id=["Setter",n?n.id||n.tagName:"",s++].join("_"))},set:function(t,e){void 0!==t&&(this.content=t),e&&this._mixin(e),this.onBegin(),this.setContent();var n=this.onEnd();return n&&n.then?n:this.node},setContent:function(){var t=this.node;if(!t)throw new Error(this.declaredClass+": setContent given no node");try{t=l._setNodeContent(t,this.content)}catch(n){var e=this.onContentError(n);try{t.innerHTML=e}catch(t){console.error("Fatal "+this.declaredClass+".setContent could not change content due to "+t.message,t)}}this.node=t},empty:function(){this.parseDeferred&&(this.parseDeferred.isResolved()||this.parseDeferred.cancel(),delete this.parseDeferred),this.parseResults&&this.parseResults.length&&(n.forEach(this.parseResults,(function(t){t.destroy&&t.destroy()})),delete this.parseResults),r.empty(this.node)},onBegin:function(){var t=this.content;if(e.isString(t)&&(this.cleanContent&&(t=l._secureForInnerHtml(t)),this.extractContent)){var n=t.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);n&&(t=n[1])}return this.empty(),this.content=t,this.node},onEnd:function(){return this.parseContent&&this._parse(),this.node},tearDown:function(){delete this.parseResults,delete this.parseDeferred,delete this.node,delete this.content},onContentError:function(t){return"Error occurred setting content: "+t},onExecError:function(t){return"Error occurred executing scripts: "+t},_mixin:function(t){var e,n={};for(e in t)e in n||(this[e]=t[e])},_parse:function(){var t=this.node;try{var e={};n.forEach(["dir","lang","textDir"],(function(t){this[t]&&(e[t]=this[t])}),this);var i=this;this.parseDeferred=a.parse({rootNode:t,noStart:!this.startup,inherited:e,scope:this.parserScope}).then((function(t){return i.parseResults=t}),(function(t){i._onError("Content",t,"Error parsing in _ContentSetter#"+i.id)}))}catch(t){this._onError("Content",t,"Error parsing in _ContentSetter#"+this.id)}},_onError:function(t,e,n){var i=this["on"+t+"Error"].call(this,e);n?console.error(n,e):i&&l._setNodeContent(this.node,i,!0)}}),set:function(t,n,i){return null==n&&(console.warn("dojo.html.set: no cont argument provided, using empty string"),n=""),i?new l._ContentSetter(e.mixin(i,{content:n,node:t})).set():l._setNodeContent(t,n,!0)}};return e.setObject("dojo.html",l),l}))},8793:function(t,e){define("dojo/io/iframe",["../_base/config","../_base/json","../_base/kernel","../_base/lang","../_base/xhr","../sniff","../_base/window","../dom","../dom-construct","../query","require","../aspect","../request/iframe"],(function(t,e,n,i,o,r,a,s,l,c,d,h,u){n.deprecated("dojo/io/iframe","Use dojo/request/iframe.","2.0");var f=u._iframeName;f=f.substring(0,f.lastIndexOf("_"));var p=i.delegate(u,{create:function(){return p._frame=u.create.apply(u,arguments)},get:null,post:null,send:function(i){var r,a=o._ioSetArgs(i,(function(t){r&&r.cancel()}),(function(t){var i=null,o=t.ioArgs;try{var a=o.handleAs;"xml"===a||"html"===a?i=r.response.data:(i=r.response.text,"json"===a?i=e.fromJson(i):"javascript"===a&&(i=n.eval(i)))}catch(t){i=t}return i}),(function(t,e){return e.ioArgs._hasError=!0,t})),l=a.ioArgs,c="GET",d=s.byId(i.form);i.method&&"POST"===i.method.toUpperCase()&&d&&(c="POST");var f={method:c,handleAs:"json"===i.handleAs||"javascript"===i.handleAs?"text":i.handleAs,form:i.form,query:d?null:i.content,data:d?i.content:null,timeout:i.timeout,ioArgs:l};if(f.method&&(f.method=f.method.toUpperCase()),t.ioPublish&&n.publish&&!1!==l.args.ioPublish)var p=h.after(u,"_notifyStart",(function(t){t.options.ioArgs===l&&(p.remove(),o._ioNotifyStart(a))}),!0);return r=u(l.url,f,!0),l._callNext=r._callNext,r.then((function(){a.resolve(a)})).otherwise((function(t){a.ioArgs.error=t,a.reject(t)})),a},_iframeOnload:a.global[f+"_onload"]});return i.setObject("dojo.io.iframe",p),p}))},1154:function(t,e){define("dojo/io/iframe",["../_base/config","../_base/json","../_base/kernel","../_base/lang","../_base/xhr","../sniff","../_base/window","../dom","../dom-construct","../query","require","../aspect","../request/iframe"],(function(t,e,n,i,o,r,a,s,l,c,d,h,u){n.deprecated("dojo/io/iframe","Use dojo/request/iframe.","2.0");var f=u._iframeName;f=f.substring(0,f.lastIndexOf("_"));var p=i.delegate(u,{create:function(){return p._frame=u.create.apply(u,arguments)},get:null,post:null,send:function(i){var r,a=o._ioSetArgs(i,(function(t){r&&r.cancel()}),(function(t){var i=null,o=t.ioArgs;try{var a=o.handleAs;"xml"===a||"html"===a?i=r.response.data:(i=r.response.text,"json"===a?i=e.fromJson(i):"javascript"===a&&(i=n.eval(i)))}catch(t){i=t}return i}),(function(t,e){return e.ioArgs._hasError=!0,t})),l=a.ioArgs,c="GET",d=s.byId(i.form);i.method&&"POST"===i.method.toUpperCase()&&d&&(c="POST");var f={method:c,handleAs:"json"===i.handleAs||"javascript"===i.handleAs?"text":i.handleAs,form:i.form,query:d?null:i.content,data:d?i.content:null,timeout:i.timeout,ioArgs:l};if(f.method&&(f.method=f.method.toUpperCase()),t.ioPublish&&n.publish&&!1!==l.args.ioPublish)var p=h.after(u,"_notifyStart",(function(t){t.options.ioArgs===l&&(p.remove(),o._ioNotifyStart(a))}),!0);return r=u(l.url,f,!0),l._callNext=r._callNext,r.then((function(){a.resolve(a)})).otherwise((function(t){a.ioArgs.error=t,a.reject(t)})),a},_iframeOnload:a.global[f+"_onload"]});return i.setObject("dojo.io.iframe",p),p}))},3174:function(module,exports){define("dojo/io/script",["../_base/connect","../_base/kernel","../_base/lang","../sniff","../_base/window","../_base/xhr","../dom","../dom-construct","../request/script","../aspect"],(function(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a){_2.deprecated("dojo/io/script","Use dojo/request/script.","2.0");var _b={get:function(t){var e,n=this._makeScriptDeferred(t,(function(t){e&&e.cancel()})),i=n.ioArgs;return _6._ioAddQueryToUrl(i),_6._ioNotifyStart(n),e=_9.get(i.url,{timeout:t.timeout,jsonp:i.jsonp,checkString:t.checkString,ioArgs:i,frameDoc:t.frameDoc,canAttach:function(t){return i.requestId=t.id,i.scriptId=t.scriptId,i.canDelete=t.canDelete,_b._canAttach(i)}},!0),_a.around(e,"isValid",(function(t){return function(e){return _b._validCheck(n),t.call(this,e)}})),e.then((function(){n.resolve(n)})).otherwise((function(t){n.ioArgs.error=t,n.reject(t)})),n},attach:_9._attach,remove:_9._remove,_makeScriptDeferred:function(t,e){var n=_6._ioSetArgs(t,e||this._deferredCancel,this._deferredOk,this._deferredError),i=n.ioArgs;return i.id=_2._scopeName+"IoScript"+this._counter++,i.canDelete=!1,i.jsonp=t.callbackParamName||t.jsonp,i.jsonp&&(i.query=i.query||"",i.query.length>0&&(i.query+="&"),i.query+=i.jsonp+"="+(t.frameDoc?"parent.":"")+_2._scopeName+".io.script.jsonp_"+i.id+"._jsonpCallback",i.frameDoc=t.frameDoc,i.canDelete=!0,n._jsonpCallback=this._jsonpCallback,this["jsonp_"+i.id]=n),n.addBoth((function(t){i.canDelete&&(t instanceof Error?_b["jsonp_"+i.id]._jsonpCallback=function(){delete _b["jsonp_"+i.id],i.requestId&&_2.global[_9._callbacksProperty][i.requestId]()}:_b._addDeadScript(i))})),n},_deferredCancel:function(t){t.canceled=!0},_deferredOk:function(t){var e=t.ioArgs;return e.json||e.scriptLoaded||e},_deferredError:function(t,e){return t},_deadScripts:[],_counter:1,_addDeadScript:function(t){_b._deadScripts.push({id:t.id,frameDoc:t.frameDoc}),t.frameDoc=null},_validCheck:function(t){var e=_b._deadScripts;if(e&&e.length>0){for(var n=0;n<e.length;n++)_b.remove(e[n].id,e[n].frameDoc),delete _b["jsonp_"+e[n].id],e[n].frameDoc=null;_b._deadScripts=[]}return!0},_ioCheck:function(dfd){var _1d=dfd.ioArgs;if(_1d.json||_1d.scriptLoaded&&!_1d.args.checkString)return!0;var _1e=_1d.args.checkString;return _1e&&eval("typeof("+_1e+") != 'undefined'")},_resHandle:function(t){_b._ioCheck(t)?t.callback(t):t.errback(new Error("inconceivable dojo.io.script._resHandle error"))},_canAttach:function(){return!0},_jsonpCallback:function(t){this.ioArgs.json=t,this.ioArgs.requestId&&_2.global[_9._callbacksProperty][this.ioArgs.requestId](t)}};return _3.setObject("dojo.io.script",_b),_b}))},6401:function(module,exports){define("dojo/io/script",["../_base/connect","../_base/kernel","../_base/lang","../sniff","../_base/window","../_base/xhr","../dom","../dom-construct","../request/script","../aspect"],(function(connect,kernel,lang,has,win,xhr,dom,domConstruct,_script,aspect){kernel.deprecated("dojo/io/script","Use dojo/request/script.","2.0");var script={get:function(t){var e,n=this._makeScriptDeferred(t,(function(t){e&&e.cancel()})),i=n.ioArgs;return xhr._ioAddQueryToUrl(i),xhr._ioNotifyStart(n),e=_script.get(i.url,{timeout:t.timeout,jsonp:i.jsonp,checkString:t.checkString,ioArgs:i,frameDoc:t.frameDoc,canAttach:function(t){return i.requestId=t.id,i.scriptId=t.scriptId,i.canDelete=t.canDelete,script._canAttach(i)}},!0),aspect.around(e,"isValid",(function(t){return function(e){return script._validCheck(n),t.call(this,e)}})),e.then((function(){n.resolve(n)})).otherwise((function(t){n.ioArgs.error=t,n.reject(t)})),n},attach:_script._attach,remove:_script._remove,_makeScriptDeferred:function(t,e){var n=xhr._ioSetArgs(t,e||this._deferredCancel,this._deferredOk,this._deferredError),i=n.ioArgs;return i.id=kernel._scopeName+"IoScript"+this._counter++,i.canDelete=!1,i.jsonp=t.callbackParamName||t.jsonp,i.jsonp&&(i.query=i.query||"",i.query.length>0&&(i.query+="&"),i.query+=i.jsonp+"="+(t.frameDoc?"parent.":"")+kernel._scopeName+".io.script.jsonp_"+i.id+"._jsonpCallback",i.frameDoc=t.frameDoc,i.canDelete=!0,n._jsonpCallback=this._jsonpCallback,this["jsonp_"+i.id]=n),n.addBoth((function(t){i.canDelete&&(t instanceof Error?script["jsonp_"+i.id]._jsonpCallback=function(){delete script["jsonp_"+i.id],i.requestId&&kernel.global[_script._callbacksProperty][i.requestId]()}:script._addDeadScript(i))})),n},_deferredCancel:function(t){t.canceled=!0},_deferredOk:function(t){var e=t.ioArgs;return e.json||e.scriptLoaded||e},_deferredError:function(t,e){return console.log("dojo.io.script error",t),t},_deadScripts:[],_counter:1,_addDeadScript:function(t){script._deadScripts.push({id:t.id,frameDoc:t.frameDoc}),t.frameDoc=null},_validCheck:function(t){var e=script._deadScripts;if(e&&e.length>0){for(var n=0;n<e.length;n++)script.remove(e[n].id,e[n].frameDoc),delete script["jsonp_"+e[n].id],e[n].frameDoc=null;script._deadScripts=[]}return!0},_ioCheck:function(dfd){var ioArgs=dfd.ioArgs;if(ioArgs.json||ioArgs.scriptLoaded&&!ioArgs.args.checkString)return!0;var checkString=ioArgs.args.checkString;return checkString&&eval("typeof("+checkString+") != 'undefined'")},_resHandle:function(t){script._ioCheck(t)?t.callback(t):t.errback(new Error("inconceivable dojo.io.script._resHandle error"))},_canAttach:function(){return!0},_jsonpCallback:function(t){this.ioArgs.json=t,this.ioArgs.requestId&&kernel.global[_script._callbacksProperty][this.ioArgs.requestId](t)}};return lang.setObject("dojo.io.script",script),script}))},5929:function(module,exports){define("dojo/parser",["require","./_base/kernel","./_base/lang","./_base/array","./_base/config","./dom","./_base/window","./_base/url","./aspect","./promise/all","./date/stamp","./Deferred","./has","./query","./on","./ready"],(function(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a,_b,_c,_d,_e,_f,_10){function _11(_12){return eval("("+_12+")")}new Date("X");var _13=0;function _14(t){var e=t._nameCaseMap,n=t.prototype;if(!e||e._extendCnt<_13){for(var i in e=t._nameCaseMap={},n)"_"!==i.charAt(0)&&(e[i.toLowerCase()]=i);e._extendCnt=_13}return e}_9.after(_3,"extend",(function(){_13++}),!0);var _18={};function _19(t,e){var n=t.join();if(!_18[n]){for(var i=[],o=0,r=t.length;o<r;o++){var a=t[o];i[i.length]=_18[a]=_18[a]||_3.getObject(a)||~a.indexOf("/")&&(e?e(a):_1(a))}var s=i.shift();_18[n]=i.length?s.createSubclass?s.createSubclass(i):s.extend.apply(s,i):s}return _18[n]}var _1e={_clearCache:function(){_13++,_18={}},_functionFromScript:function(t,e){var n="",i="",o=t.getAttribute(e+"args")||t.getAttribute("args"),r=t.getAttribute("with"),a=(o||"").split(/\s*,\s*/);return r&&r.length&&_4.forEach(r.split(/\s*,\s*/),(function(t){n+="with("+t+"){",i+="}"})),new Function(a,n+t.innerHTML+i)},instantiate:function(t,e,n){e=e||{};var i=((n=n||{}).scope||_2._scopeName)+"Type",o="data-"+(n.scope||_2._scopeName)+"-",r=o+"type",a=o+"mixins",s=[];return _4.forEach(t,(function(t){var n=i in e?e[i]:t.getAttribute(r)||t.getAttribute(i);if(n){var o=t.getAttribute(a),l=o?[n].concat(o.split(/\s*,\s*/)):[n];s.push({node:t,types:l})}})),this._instantiate(s,e,n)},_instantiate:function(t,e,n,i){var o=_4.map(t,(function(t){var i=t.ctor||_19(t.types,n.contextRequire);if(!i)throw new Error("Unable to resolve constructor for: '"+t.types.join()+"'");return this.construct(i,t.node,e,n,t.scripts,t.inherited)}),this);function r(t){return e._started||n.noStart||_4.forEach(t,(function(t){"function"!=typeof t.startup||t._started||t.startup()})),t}return i?_a(o).then(r):r(o)},construct:function(t,e,n,i,o,r){var a,s=t&&t.prototype,l={};if((i=i||{}).defaults&&_3.mixin(l,i.defaults),r&&_3.mixin(l,r),_d("dom-attributes-explicit"))a=e.attributes;else if(_d("dom-attributes-specified-flag"))a=_4.filter(e.attributes,(function(t){return t.specified}));else{var c=(/^input$|^img$/i.test(e.nodeName)?e:e.cloneNode(!1)).outerHTML.replace(/=[^\s"']+|="[^"]*"|='[^']*'/g,"").replace(/^\s*<[a-zA-Z0-9]*\s*/,"").replace(/\s*>.*$/,"");a=_4.map(c.split(/\s+/),(function(t){var n=t.toLowerCase();return{name:t,value:"LI"==e.nodeName&&"value"==t||"enctype"==n?e.getAttribute(n):e.getAttributeNode(n).value}}))}var d=i.scope||_2._scopeName,h="data-"+d+"-",u={};"dojo"!==d&&(u[h+"props"]="data-dojo-props",u[h+"type"]="data-dojo-type",u[h+"mixins"]="data-dojo-mixins",u[d+"type"]="dojoType",u[h+"id"]="data-dojo-id");for(var f,p,m,g=0,y=[];f=a[g++];){var v=f.name,b=v.toLowerCase(),x=f.value;switch(u[b]||b){case"data-dojo-type":case"dojotype":case"data-dojo-mixins":break;case"data-dojo-props":m=x;break;case"data-dojo-id":case"jsid":p=x;break;case"data-dojo-attach-point":case"dojoattachpoint":l.dojoAttachPoint=x;break;case"data-dojo-attach-event":case"dojoattachevent":l.dojoAttachEvent=x;break;case"class":l.class=e.className;break;case"style":l.style=e.style&&e.style.cssText;break;default:if(v in s||(v=_14(t)[b]||v),v in s)switch(typeof s[v]){case"string":l[v]=x;break;case"number":l[v]=x.length?Number(x):NaN;break;case"boolean":l[v]="false"!=x.toLowerCase();break;case"function":""===x||-1!=x.search(/[^\w\.]+/i)?l[v]=new Function(x):l[v]=_3.getObject(x,!1)||new Function(x),y.push(v);break;default:var _=s[v];l[v]=_&&"length"in _?x?x.split(/\s*,\s*/):[]:_ instanceof Date?""==x?new Date(""):"now"==x?new Date:_b.fromISOString(x):_ instanceof _8?_2.baseUrl+x:_11(x)}else l[v]=x}}for(var j=0;j<y.length;j++){var w=y[j].toLowerCase();e.removeAttribute(w),e[w]=null}if(m)try{m=_11.call(i.propsThis,"{"+m+"}"),_3.mixin(l,m)}catch(t){throw new Error(t.toString()+" in data-dojo-props='"+m+"'")}_3.mixin(l,n),o||(o=t&&(t._noScript||s._noScript)?[]:_e("> script[type^='dojo/']",e));var k=[],C=[],S=[],M=[];if(o)for(g=0;g<o.length;g++){var T=o[g];e.removeChild(T);var A=T.getAttribute(h+"event")||T.getAttribute("event"),N=T.getAttribute(h+"prop"),E=T.getAttribute(h+"method"),P=T.getAttribute(h+"advice"),L=T.getAttribute("type"),D=this._functionFromScript(T,h);A?"dojo/connect"==L?k.push({method:A,func:D}):"dojo/on"==L?M.push({event:A,func:D}):l[A]=D:"dojo/aspect"==L?k.push({method:E,advice:P,func:D}):"dojo/watch"==L?S.push({prop:N,func:D}):C.push(D)}var F=t.markupFactory||s.markupFactory,I=F?F(l,e,t):new t(l,e);function R(t){for(p&&_3.setObject(p,t),g=0;g<k.length;g++)_9[k[g].advice||"after"](t,k[g].method,_3.hitch(t,k[g].func),!0);for(g=0;g<C.length;g++)C[g].call(t);for(g=0;g<S.length;g++)t.watch(S[g].prop,S[g].func);for(g=0;g<M.length;g++)_f(t,M[g].event,M[g].func);return t}return I.then?I.then(R):R(I)},scan:function(t,e){var n=[],i=[],o={},r=(e.scope||_2._scopeName)+"Type",a="data-"+(e.scope||_2._scopeName)+"-",s=a+"type",l=a+"textdir",c=a+"mixins",d=t.firstChild,h=e.inherited;if(!h){function u(t,e){return t.getAttribute&&t.getAttribute(e)||t.parentNode&&u(t.parentNode,e)}for(var f in h={dir:u(t,"dir"),lang:u(t,"lang"),textDir:u(t,l)})h[f]||delete h[f]}var p,m,g={inherited:h};function y(t){if(!t.inherited){t.inherited={};var e=t.node,n=y(t.parent),i={dir:e.getAttribute("dir")||n.dir,lang:e.getAttribute("lang")||n.lang,textDir:e.getAttribute(l)||n.textDir};for(var o in i)i[o]&&(t.inherited[o]=i[o])}return t.inherited}for(;;)if(d)if(1==d.nodeType)if(p&&"script"==d.nodeName.toLowerCase())(v=d.getAttribute("type"))&&/^dojo\/\w/i.test(v)&&p.push(d),d=d.nextSibling;else if(m)d=d.nextSibling;else{var v=d.getAttribute(s)||d.getAttribute(r),b=d.firstChild;if(v||b&&(3!=b.nodeType||b.nextSibling)){var x,_=null;if(v){var j=d.getAttribute(c),w=j?[v].concat(j.split(/\s*,\s*/)):[v];try{_=_19(w,e.contextRequire)}catch(S){}_||_4.forEach(w,(function(t){~t.indexOf("/")&&!o[t]&&(o[t]=!0,i[i.length]=t)}));var k=_&&!_.prototype._noScript?[]:null;(x={types:w,ctor:_,parent:g,node:d,scripts:k}).inherited=y(x),n.push(x)}else x={node:d,scripts:p,parent:g};p=k,m=d.stopParser||_&&_.prototype.stopParser&&!e.template,g=x,d=b}else d=d.nextSibling}else d=d.nextSibling;else{if(!g||!g.node)break;d=g.node.nextSibling,m=!1,p=(g=g.parent).scripts}var C=new _c;return i.length?(_d("dojo-debug-messages")&&console.warn("WARNING: Modules being Auto-Required: "+i.join(", ")),(e.contextRequire||_1)(i,(function(){C.resolve(_4.filter(n,(function(t){if(!t.ctor)try{t.ctor=_19(t.types,e.contextRequire)}catch(t){}for(var n=t.parent;n&&!n.types;)n=n.parent;var i=t.ctor&&t.ctor.prototype;return t.instantiateChildren=!(i&&i.stopParser&&!e.template),t.instantiate=!n||n.instantiate&&n.instantiateChildren,t.instantiate})))}))):C.resolve(n),C.promise},_require:function(t,e){var n=_11("{"+t.innerHTML+"}"),i=[],o=[],r=new _c,a=e&&e.contextRequire||_1;for(var s in n)i.push(s),o.push(n[s]);return a(o,(function(){for(var t=0;t<i.length;t++)_3.setObject(i[t],arguments[t]);r.resolve(arguments)})),r.promise},_scanAmd:function(t,e){var n=new _c,i=n.promise;n.resolve(!0);var o=this;return _e("script[type='dojo/require']",t).forEach((function(t){i=i.then((function(){return o._require(t,e)})),t.parentNode.removeChild(t)})),i},parse:function(t,e){t&&"string"!=typeof t&&!("nodeType"in t)&&(t=(e=t).rootNode);var n=t?_6.byId(t):_7.body(),i=(e=e||{}).template?{template:!0}:{},o=[],r=this,a=this._scanAmd(n,e).then((function(){return r.scan(n,e)})).then((function(t){return r._instantiate(t,i,e,!0)})).then((function(t){return o=o.concat(t)})).otherwise((function(t){throw console.error("dojo/parser::parse() error",t),t}));return _3.mixin(o,a),o}};return _2.parser=_1e,_5.parseOnLoad&&_10(100,_1e,"parse"),_1e}))},7378:function(module,exports){define("dojo/parser",["require","./_base/kernel","./_base/lang","./_base/array","./_base/config","./dom","./_base/window","./_base/url","./aspect","./promise/all","./date/stamp","./Deferred","./has","./query","./on","./ready"],(function(require,dojo,dlang,darray,config,dom,dwindow,_Url,aspect,all,dates,Deferred,has,query,don,ready){function myEval(text){return eval("("+text+")")}new Date("X");var extendCnt=0;function getNameMap(t){var e=t._nameCaseMap,n=t.prototype;if(!e||e._extendCnt<extendCnt){for(var i in e=t._nameCaseMap={},n)"_"!==i.charAt(0)&&(e[i.toLowerCase()]=i);e._extendCnt=extendCnt}return e}aspect.after(dlang,"extend",(function(){extendCnt++}),!0);var _ctorMap={};function getCtor(t,e){var n=t.join();if(!_ctorMap[n]){for(var i=[],o=0,r=t.length;o<r;o++){var a=t[o];i[i.length]=_ctorMap[a]=_ctorMap[a]||dlang.getObject(a)||~a.indexOf("/")&&(e?e(a):require(a))}var s=i.shift();_ctorMap[n]=i.length?s.createSubclass?s.createSubclass(i):s.extend.apply(s,i):s}return _ctorMap[n]}var parser={_clearCache:function(){extendCnt++,_ctorMap={}},_functionFromScript:function(t,e){var n="",i="",o=t.getAttribute(e+"args")||t.getAttribute("args"),r=t.getAttribute("with"),a=(o||"").split(/\s*,\s*/);return r&&r.length&&darray.forEach(r.split(/\s*,\s*/),(function(t){n+="with("+t+"){",i+="}"})),new Function(a,n+t.innerHTML+i)},instantiate:function(t,e,n){e=e||{};var i=((n=n||{}).scope||dojo._scopeName)+"Type",o="data-"+(n.scope||dojo._scopeName)+"-",r=o+"type",a=o+"mixins",s=[];return darray.forEach(t,(function(t){var n=i in e?e[i]:t.getAttribute(r)||t.getAttribute(i);if(n){var o=t.getAttribute(a),l=o?[n].concat(o.split(/\s*,\s*/)):[n];s.push({node:t,types:l})}})),this._instantiate(s,e,n)},_instantiate:function(t,e,n,i){var o=darray.map(t,(function(t){var i=t.ctor||getCtor(t.types,n.contextRequire);if(!i)throw new Error("Unable to resolve constructor for: '"+t.types.join()+"'");return this.construct(i,t.node,e,n,t.scripts,t.inherited)}),this);function r(t){return e._started||n.noStart||darray.forEach(t,(function(t){"function"!=typeof t.startup||t._started||t.startup()})),t}return i?all(o).then(r):r(o)},construct:function(t,e,n,i,o,r){var a,s=t&&t.prototype,l={};if((i=i||{}).defaults&&dlang.mixin(l,i.defaults),r&&dlang.mixin(l,r),has("dom-attributes-explicit"))a=e.attributes;else if(has("dom-attributes-specified-flag"))a=darray.filter(e.attributes,(function(t){return t.specified}));else{var c=(/^input$|^img$/i.test(e.nodeName)?e:e.cloneNode(!1)).outerHTML.replace(/=[^\s"']+|="[^"]*"|='[^']*'/g,"").replace(/^\s*<[a-zA-Z0-9]*\s*/,"").replace(/\s*>.*$/,"");a=darray.map(c.split(/\s+/),(function(t){var n=t.toLowerCase();return{name:t,value:"LI"==e.nodeName&&"value"==t||"enctype"==n?e.getAttribute(n):e.getAttributeNode(n).value}}))}var d=i.scope||dojo._scopeName,h="data-"+d+"-",u={};"dojo"!==d&&(u[h+"props"]="data-dojo-props",u[h+"type"]="data-dojo-type",u[h+"mixins"]="data-dojo-mixins",u[d+"type"]="dojoType",u[h+"id"]="data-dojo-id");for(var f,p,m,g=0,y=[];f=a[g++];){var v=f.name,b=v.toLowerCase(),x=f.value;switch(u[b]||b){case"data-dojo-type":case"dojotype":case"data-dojo-mixins":break;case"data-dojo-props":m=x;break;case"data-dojo-id":case"jsid":p=x;break;case"data-dojo-attach-point":case"dojoattachpoint":l.dojoAttachPoint=x;break;case"data-dojo-attach-event":case"dojoattachevent":l.dojoAttachEvent=x;break;case"class":l.class=e.className;break;case"style":l.style=e.style&&e.style.cssText;break;default:if(v in s||(v=getNameMap(t)[b]||v),v in s)switch(typeof s[v]){case"string":l[v]=x;break;case"number":l[v]=x.length?Number(x):NaN;break;case"boolean":l[v]="false"!=x.toLowerCase();break;case"function":""===x||-1!=x.search(/[^\w\.]+/i)?l[v]=new Function(x):l[v]=dlang.getObject(x,!1)||new Function(x),y.push(v);break;default:var _=s[v];l[v]=_&&"length"in _?x?x.split(/\s*,\s*/):[]:_ instanceof Date?""==x?new Date(""):"now"==x?new Date:dates.fromISOString(x):_ instanceof _Url?dojo.baseUrl+x:myEval(x)}else l[v]=x}}for(var j=0;j<y.length;j++){var w=y[j].toLowerCase();e.removeAttribute(w),e[w]=null}if(m)try{m=myEval.call(i.propsThis,"{"+m+"}"),dlang.mixin(l,m)}catch(t){throw new Error(t.toString()+" in data-dojo-props='"+m+"'")}dlang.mixin(l,n),o||(o=t&&(t._noScript||s._noScript)?[]:query("> script[type^='dojo/']",e));var k=[],C=[],S=[],M=[];if(o)for(g=0;g<o.length;g++){var T=o[g];e.removeChild(T);var A=T.getAttribute(h+"event")||T.getAttribute("event"),N=T.getAttribute(h+"prop"),E=T.getAttribute(h+"method"),P=T.getAttribute(h+"advice"),L=T.getAttribute("type"),D=this._functionFromScript(T,h);A?"dojo/connect"==L?k.push({method:A,func:D}):"dojo/on"==L?M.push({event:A,func:D}):l[A]=D:"dojo/aspect"==L?k.push({method:E,advice:P,func:D}):"dojo/watch"==L?S.push({prop:N,func:D}):C.push(D)}var F=t.markupFactory||s.markupFactory,I=F?F(l,e,t):new t(l,e);function R(t){for(p&&dlang.setObject(p,t),g=0;g<k.length;g++)aspect[k[g].advice||"after"](t,k[g].method,dlang.hitch(t,k[g].func),!0);for(g=0;g<C.length;g++)C[g].call(t);for(g=0;g<S.length;g++)t.watch(S[g].prop,S[g].func);for(g=0;g<M.length;g++)don(t,M[g].event,M[g].func);return t}return I.then?I.then(R):R(I)},scan:function(t,e){var n=[],i=[],o={},r=(e.scope||dojo._scopeName)+"Type",a="data-"+(e.scope||dojo._scopeName)+"-",s=a+"type",l=a+"textdir",c=a+"mixins",d=t.firstChild,h=e.inherited;if(!h){function u(t,e){return t.getAttribute&&t.getAttribute(e)||t.parentNode&&u(t.parentNode,e)}for(var f in h={dir:u(t,"dir"),lang:u(t,"lang"),textDir:u(t,l)})h[f]||delete h[f]}var p,m,g={inherited:h};function y(t){if(!t.inherited){t.inherited={};var e=t.node,n=y(t.parent),i={dir:e.getAttribute("dir")||n.dir,lang:e.getAttribute("lang")||n.lang,textDir:e.getAttribute(l)||n.textDir};for(var o in i)i[o]&&(t.inherited[o]=i[o])}return t.inherited}for(;;)if(d)if(1==d.nodeType)if(p&&"script"==d.nodeName.toLowerCase())(v=d.getAttribute("type"))&&/^dojo\/\w/i.test(v)&&p.push(d),d=d.nextSibling;else if(m)d=d.nextSibling;else{var v=d.getAttribute(s)||d.getAttribute(r),b=d.firstChild;if(v||b&&(3!=b.nodeType||b.nextSibling)){var x,_=null;if(v){var j=d.getAttribute(c),w=j?[v].concat(j.split(/\s*,\s*/)):[v];try{_=getCtor(w,e.contextRequire)}catch(S){}_||darray.forEach(w,(function(t){~t.indexOf("/")&&!o[t]&&(o[t]=!0,i[i.length]=t)}));var k=_&&!_.prototype._noScript?[]:null;(x={types:w,ctor:_,parent:g,node:d,scripts:k}).inherited=y(x),n.push(x)}else x={node:d,scripts:p,parent:g};p=k,m=d.stopParser||_&&_.prototype.stopParser&&!e.template,g=x,d=b}else d=d.nextSibling}else d=d.nextSibling;else{if(!g||!g.node)break;d=g.node.nextSibling,m=!1,p=(g=g.parent).scripts}var C=new Deferred;return i.length?(has("dojo-debug-messages")&&console.warn("WARNING: Modules being Auto-Required: "+i.join(", ")),(e.contextRequire||require)(i,(function(){C.resolve(darray.filter(n,(function(t){if(!t.ctor)try{t.ctor=getCtor(t.types,e.contextRequire)}catch(t){}for(var n=t.parent;n&&!n.types;)n=n.parent;var i=t.ctor&&t.ctor.prototype;return t.instantiateChildren=!(i&&i.stopParser&&!e.template),t.instantiate=!n||n.instantiate&&n.instantiateChildren,t.instantiate})))}))):C.resolve(n),C.promise},_require:function(t,e){var n=myEval("{"+t.innerHTML+"}"),i=[],o=[],r=new Deferred,a=e&&e.contextRequire||require;for(var s in n)i.push(s),o.push(n[s]);return a(o,(function(){for(var t=0;t<i.length;t++)dlang.setObject(i[t],arguments[t]);r.resolve(arguments)})),r.promise},_scanAmd:function(t,e){var n=new Deferred,i=n.promise;n.resolve(!0);var o=this;return query("script[type='dojo/require']",t).forEach((function(t){i=i.then((function(){return o._require(t,e)})),t.parentNode.removeChild(t)})),i},parse:function(t,e){t&&"string"!=typeof t&&!("nodeType"in t)&&(t=(e=t).rootNode);var n=t?dom.byId(t):dwindow.body(),i=(e=e||{}).template?{template:!0}:{},o=[],r=this,a=this._scanAmd(n,e).then((function(){return r.scan(n,e)})).then((function(t){return r._instantiate(t,i,e,!0)})).then((function(t){return o=o.concat(t)})).otherwise((function(t){throw console.error("dojo/parser::parse() error",t),t}));return dlang.mixin(o,a),o}};return dojo.parser=parser,config.parseOnLoad&&ready(100,parser,"parse"),parser}))},5009:function(t,e){define("dojo/promise/all",["../_base/array","../_base/lang","../Deferred","../when"],(function(t,e,n,i){"use strict";var o=t.some;return function(t){var r,a,s;e.isArray(t)?a=t:t&&"object"==typeof t&&(r=t);var l=[];if(r){for(var c in a=[],r)Object.hasOwnProperty.call(r,c)&&(l.push(c),a.push(r[c]));s={}}else a&&(s=[]);if(!a||!a.length)return(new n).resolve(s);var d=new n;d.promise.always((function(){s=l=null}));var h=a.length;return o(a,(function(t,e){return r||l.push(e),i(t,(function(t){d.isFulfilled()||(s[l[e]]=t,0==--h&&d.resolve(s))}),d.reject),d.isFulfilled()})),d.promise}}))},586:function(t,e){define("dojo/promise/all",["../_base/array","../_base/lang","../Deferred","../when"],(function(t,e,n,i){"use strict";var o=t.some;return function(t){var r,a,s;e.isArray(t)?a=t:t&&"object"==typeof t&&(r=t);var l=[];if(r){for(var c in a=[],r)Object.hasOwnProperty.call(r,c)&&(l.push(c),a.push(r[c]));s={}}else a&&(s=[]);if(!a||!a.length)return(new n).resolve(s);var d=new n;d.promise.always((function(){s=l=null}));var h=a.length;return o(a,(function(t,e){return r||l.push(e),i(t,(function(t){d.isFulfilled()||(s[l[e]]=t,0==--h&&d.resolve(s))}),d.reject),d.isFulfilled()})),d.promise}}))},6163:function(t,e){define("dojo/regexp",["./_base/kernel","./_base/lang"],(function(t,e){var n={};return e.setObject("dojo.regexp",n),n.escapeString=function(t,e){return t.replace(/([\.$?*|{}\(\)\[\]\\\/\+\-^])/g,(function(t){return e&&-1!=e.indexOf(t)?t:"\\"+t}))},n.buildGroupRE=function(t,e,i){if(!(t instanceof Array))return e(t);for(var o=[],r=0;r<t.length;r++)o.push(e(t[r]));return n.group(o.join("|"),i)},n.group=function(t,e){return"("+(e?"?:":"")+t+")"},n}))},5412:function(t,e){define("dojo/regexp",["./_base/kernel","./_base/lang"],(function(t,e){var n={};return e.setObject("dojo.regexp",n),n.escapeString=function(t,e){return t.replace(/([\.$?*|{}\(\)\[\]\\\/\+\-^])/g,(function(t){return e&&-1!=e.indexOf(t)?t:"\\"+t}))},n.buildGroupRE=function(t,e,i){if(!(t instanceof Array))return e(t);for(var o=[],r=0;r<t.length;r++)o.push(e(t[r]));return n.group(o.join("|"),i)},n.group=function(t,e){return"("+(e?"?:":"")+t+")"},n}))},6620:function(t,e){define("dojo/request/iframe",["module","require","./watch","./util","./handlers","../_base/lang","../io-query","../query","../has","../dom","../dom-construct","../_base/window","../NodeList-dom","../NodeList-manipulate"],(function(t,e,n,i,o,r,a,s,l,c,d,h){var u=t.id.replace(/[\/\.\-]/g,"_"),f=u+"_onload";function p(t){return!this.isFulfilled()}function m(t){return!!this._finished}function g(t,e){if(!e)try{var n=t.options,i=b.doc(b._frame),a=n.handleAs;if("html"!==a){if("xml"===a)if("html"===i.documentElement.tagName.toLowerCase()){s("a",i.documentElement).orphan();var l=i.documentElement.innerText||i.documentElement.textContent;l=l.replace(/>\s+</g,"><"),t.text=r.trim(l)}else t.data=i;else t.text=i.getElementsByTagName("textarea")[0].value;o(t)}else t.data=i}catch(t){e=t}e?this.reject(e):this._finished?this.resolve(t):this.reject(new Error("Invalid dojo/request/iframe request state"))}function y(t){this._callNext()}h.global[f]||(h.global[f]=function(){var t=b._currentDfd;if(t){var e=t.response.options,n=c.byId(e.form)||t._tmpForm;if(n){for(var i=t._contentToClean,o=0;o<i.length;o++)for(var r=i[o],a=0;a<n.childNodes.length;a++){var s=n.childNodes[a];if(s.name===r){d.destroy(s);break}}t._originalAction&&n.setAttribute("action",t._originalAction),t._originalMethod&&(n.setAttribute("method",t._originalMethod),n.method=t._originalMethod),t._originalTarget&&(n.setAttribute("target",t._originalTarget),n.target=t._originalTarget)}t._tmpForm&&(d.destroy(t._tmpForm),delete t._tmpForm),t._finished=!0}else b._fireNextRequest()});var v={method:"POST"};function b(t,e,o){var r=i.parseArgs(t,i.deepCreate(v,e),!0);if(t=r.url,"GET"!==(e=r.options).method&&"POST"!==e.method)throw new Error(e.method+" not supported by dojo/request/iframe");b._frame||(b._frame=b.create(b._iframeName,f+"();"));var a=i.deferred(r,null,p,m,g,y);return a._callNext=function(){this._calledNext||(this._calledNext=!0,b._currentDfd=null,b._fireNextRequest())},a._legacy=o,b._dfdQueue.push(a),b._fireNextRequest(),n(a),o?a:a.promise}return b.create=function(t,n,i){if(h.global[t])return h.global[t];if(h.global.frames[t])return h.global.frames[t];i||(l("config-useXDomain")&&!l("config-dojoBlankHtmlUrl")&&console.warn("dojo/request/iframe: When using cross-domain Dojo builds, please save dojo/resources/blank.html to your domain and set dojoConfig.dojoBlankHtmlUrl to the path on your domain to blank.html"),i=l("config-dojoBlankHtmlUrl")||e.toUrl("dojo/resources/blank.html"));var o=d.place('<iframe id="'+t+'" name="'+t+'" src="'+i+'" onload="'+n+'" style="position: absolute; left: 1px; top: 1px; height: 1px; width: 1px; visibility: hidden">',h.body());return h.global[t]=o,o},b.doc=function(t){if(t.contentDocument)return t.contentDocument;var e=t.name;if(e){var n=h.doc.getElementsByTagName("iframe");if(t.document&&n[e].contentWindow&&n[e].contentWindow.document)return n[e].contentWindow.document;if(h.doc.frames[e]&&h.doc.frames[e].document)return h.doc.frames[e].document}return null},b.setSrc=function(t,e,n){var i=h.global.frames[t.name];i.contentWindow&&(i=i.contentWindow);try{n?i.location.replace(e):i.location=e}catch(t){}},b._iframeName=u+"_IoIframe",b._notifyStart=function(){},b._dfdQueue=[],b._currentDfd=null,b._fireNextRequest=function(){var t;try{if(b._currentDfd||!b._dfdQueue.length)return;do{t=b._currentDfd=b._dfdQueue.shift()}while(t&&(t.canceled||t.isCanceled&&t.isCanceled())&&b._dfdQueue.length);if(!t||t.canceled||t.isCanceled&&t.isCanceled())return void(b._currentDfd=null);var e,n=t.response,o=n.options,l=t._contentToClean=[],f=c.byId(o.form),p=i.notify,m=o.data||null;if(t._legacy||"POST"!==o.method||f?"GET"===o.method&&f&&n.url.indexOf("?")>-1&&(e=n.url.slice(n.url.indexOf("?")+1),m=r.mixin(a.queryToObject(e),m)):f=t._tmpForm=d.create("form",{name:u+"_form",style:{position:"absolute",top:"-1000px",left:"-1000px"}},h.body()),f){if(!t._legacy){var g=f;do{g=g.parentNode}while(g&&g!==h.doc.documentElement);g||(f.style.position="absolute",f.style.left="-1000px",f.style.top="-1000px",h.body().appendChild(f)),f.name||(f.name=u+"_form")}if(m){var y=function(t,e){d.create("input",{type:"hidden",name:t,value:e},f),l.push(t)};for(var v in m){var x=m[v];if(r.isArray(x)&&x.length>1)for(var _=0;_<x.length;_++)y(v,x[_]);else{var j=s("input[name='"+v+"']",f);-1==j.indexOf()?y(v,x):j.val(x)}}}var w=f.getAttributeNode("action"),k=f.getAttributeNode("method"),C=f.getAttributeNode("target");n.url&&(t._originalAction=w?w.value:null,w?w.value=n.url:f.setAttribute("action",n.url)),t._legacy?k&&k.value||(k?k.value=o.method:f.setAttribute("method",o.method)):(t._originalMethod=k?k.value:null,k?k.value=o.method:f.setAttribute("method",o.method)),t._originalTarget=C?C.value:null,C?C.value=b._iframeName:f.setAttribute("target",b._iframeName),f.target=b._iframeName,p&&p.emit("send",n,t.promise.cancel),b._notifyStart(n),f.submit()}else{var S="";n.options.data&&"string"!=typeof(S=n.options.data)&&(S=a.objectToQuery(S));var M=n.url+(n.url.indexOf("?")>-1?"&":"?")+S;p&&p.emit("send",n,t.promise.cancel),b._notifyStart(n),b.setSrc(b._frame,M,!0)}}catch(e){t.reject(e)}},i.addCommonMethods(b,["GET","POST"]),b}))},2399:function(t,e){define("dojo/request/iframe",["module","require","./watch","./util","./handlers","../_base/lang","../io-query","../query","../has","../dom","../dom-construct","../_base/window","../NodeList-dom","../NodeList-manipulate"],(function(t,e,n,i,o,r,a,s,l,c,d,h){var u=t.id.replace(/[\/\.\-]/g,"_"),f=u+"_onload";function p(t){return!this.isFulfilled()}function m(t){return!!this._finished}function g(t,e){if(!e)try{var n=t.options,i=b.doc(b._frame),a=n.handleAs;if("html"!==a){if("xml"===a)if("html"===i.documentElement.tagName.toLowerCase()){s("a",i.documentElement).orphan();var l=i.documentElement.innerText||i.documentElement.textContent;l=l.replace(/>\s+</g,"><"),t.text=r.trim(l)}else t.data=i;else t.text=i.getElementsByTagName("textarea")[0].value;o(t)}else t.data=i}catch(t){e=t}e?this.reject(e):this._finished?this.resolve(t):this.reject(new Error("Invalid dojo/request/iframe request state"))}function y(t){this._callNext()}h.global[f]||(h.global[f]=function(){var t=b._currentDfd;if(t){var e=t.response.options,n=c.byId(e.form)||t._tmpForm;if(n){for(var i=t._contentToClean,o=0;o<i.length;o++)for(var r=i[o],a=0;a<n.childNodes.length;a++){var s=n.childNodes[a];if(s.name===r){d.destroy(s);break}}t._originalAction&&n.setAttribute("action",t._originalAction),t._originalMethod&&(n.setAttribute("method",t._originalMethod),n.method=t._originalMethod),t._originalTarget&&(n.setAttribute("target",t._originalTarget),n.target=t._originalTarget)}t._tmpForm&&(d.destroy(t._tmpForm),delete t._tmpForm),t._finished=!0}else b._fireNextRequest()});var v={method:"POST"};function b(t,e,o){var r=i.parseArgs(t,i.deepCreate(v,e),!0);if(t=r.url,"GET"!==(e=r.options).method&&"POST"!==e.method)throw new Error(e.method+" not supported by dojo/request/iframe");b._frame||(b._frame=b.create(b._iframeName,f+"();"));var a=i.deferred(r,null,p,m,g,y);return a._callNext=function(){this._calledNext||(this._calledNext=!0,b._currentDfd=null,b._fireNextRequest())},a._legacy=o,b._dfdQueue.push(a),b._fireNextRequest(),n(a),o?a:a.promise}return b.create=function(t,n,i){if(h.global[t])return h.global[t];if(h.global.frames[t])return h.global.frames[t];i||(l("config-useXDomain")&&!l("config-dojoBlankHtmlUrl")&&console.warn("dojo/request/iframe: When using cross-domain Dojo builds, please save dojo/resources/blank.html to your domain and set dojoConfig.dojoBlankHtmlUrl to the path on your domain to blank.html"),i=l("config-dojoBlankHtmlUrl")||e.toUrl("dojo/resources/blank.html"));var o=d.place('<iframe id="'+t+'" name="'+t+'" src="'+i+'" onload="'+n+'" style="position: absolute; left: 1px; top: 1px; height: 1px; width: 1px; visibility: hidden">',h.body());return h.global[t]=o,o},b.doc=function(t){if(t.contentDocument)return t.contentDocument;var e=t.name;if(e){var n=h.doc.getElementsByTagName("iframe");if(t.document&&n[e].contentWindow&&n[e].contentWindow.document)return n[e].contentWindow.document;if(h.doc.frames[e]&&h.doc.frames[e].document)return h.doc.frames[e].document}return null},b.setSrc=function(t,e,n){var i=h.global.frames[t.name];i.contentWindow&&(i=i.contentWindow);try{n?i.location.replace(e):i.location=e}catch(t){console.log("dojo/request/iframe.setSrc: ",t)}},b._iframeName=u+"_IoIframe",b._notifyStart=function(){},b._dfdQueue=[],b._currentDfd=null,b._fireNextRequest=function(){var t;try{if(b._currentDfd||!b._dfdQueue.length)return;do{t=b._currentDfd=b._dfdQueue.shift()}while(t&&(t.canceled||t.isCanceled&&t.isCanceled())&&b._dfdQueue.length);if(!t||t.canceled||t.isCanceled&&t.isCanceled())return void(b._currentDfd=null);var e,n=t.response,o=n.options,l=t._contentToClean=[],f=c.byId(o.form),p=i.notify,m=o.data||null;if(t._legacy||"POST"!==o.method||f?"GET"===o.method&&f&&n.url.indexOf("?")>-1&&(e=n.url.slice(n.url.indexOf("?")+1),m=r.mixin(a.queryToObject(e),m)):f=t._tmpForm=d.create("form",{name:u+"_form",style:{position:"absolute",top:"-1000px",left:"-1000px"}},h.body()),f){if(!t._legacy){var g=f;do{g=g.parentNode}while(g&&g!==h.doc.documentElement);g||(f.style.position="absolute",f.style.left="-1000px",f.style.top="-1000px",h.body().appendChild(f)),f.name||(f.name=u+"_form")}if(m){var y=function(t,e){d.create("input",{type:"hidden",name:t,value:e},f),l.push(t)};for(var v in m){var x=m[v];if(r.isArray(x)&&x.length>1)for(var _=0;_<x.length;_++)y(v,x[_]);else{var j=s("input[name='"+v+"']",f);-1==j.indexOf()?y(v,x):j.val(x)}}}var w=f.getAttributeNode("action"),k=f.getAttributeNode("method"),C=f.getAttributeNode("target");n.url&&(t._originalAction=w?w.value:null,w?w.value=n.url:f.setAttribute("action",n.url)),t._legacy?k&&k.value||(k?k.value=o.method:f.setAttribute("method",o.method)):(t._originalMethod=k?k.value:null,k?k.value=o.method:f.setAttribute("method",o.method)),t._originalTarget=C?C.value:null,C?C.value=b._iframeName:f.setAttribute("target",b._iframeName),f.target=b._iframeName,p&&p.emit("send",n,t.promise.cancel),b._notifyStart(n),f.submit()}else{var S="";n.options.data&&"string"!=typeof(S=n.options.data)&&(S=a.objectToQuery(S));var M=n.url+(n.url.indexOf("?")>-1?"&":"?")+S;p&&p.emit("send",n,t.promise.cancel),b._notifyStart(n),b.setSrc(b._frame,M,!0)}}catch(e){t.reject(e)}},i.addCommonMethods(b,["GET","POST"]),b}))},1339:function(module,exports){define("dojo/request/script",["module","./watch","./util","../_base/kernel","../_base/array","../_base/lang","../on","../dom","../dom-construct","../has","../_base/window"],(function(_1,_2,_3,_4,_5,_6,on,_7,_8,_9,_a){_9.add("script-readystatechange",(function(t,e){return void 0!==e.createElement("script").onreadystatechange&&(void 0===t.opera||"[object Opera]"!==t.opera.toString())}));var _e=_1.id.replace(/[\/\.\-]/g,"_"),_f=0,_10=_9("script-readystatechange")?"readystatechange":"load",_11=/complete|loaded/,_12=_4.global[_e+"_callbacks"]={},_13=[];function _14(t,e,n,i){var o=n||_a.doc,r=o.createElement("script");i&&on.once(r,"error",i),r.type="text/javascript";try{r.src=e}catch(t){i&&i(r)}return r.id=t,r.async=!0,r.charset="utf-8",o.getElementsByTagName("head")[0].appendChild(r)}function _18(t,e,n){_8.destroy(_7.byId(t,e)),_12[t]&&(n?_12[t]=function(){delete _12[t]}:delete _12[t])}function _1b(t){var e=t.response.options,n=e.ioArgs?e.ioArgs.frameDoc:e.frameDoc;_13.push({id:t.id,frameDoc:n}),e.ioArgs&&(e.ioArgs.frameDoc=null),e.frameDoc=null}function _1e(t,e){t.canDelete&&_20._remove(t.id,e.options.frameDoc,!0)}function _21(t){return _13&&_13.length&&(_5.forEach(_13,(function(t){_20._remove(t.id,t.frameDoc),t.frameDoc=null})),_13=[]),!t.options.jsonp||!t.data}function _24(t){return!!this.scriptLoaded}function _26(_27){var _28=_27.options.checkString;return _28&&eval("typeof("+_28+') !== "undefined"')}function _29(t,e){this.canDelete&&_1b(this),e?this.reject(e):this.resolve(t)}function _20(t,e,n){var i=_3.parseArgs(t,_3.deepCopy({},e));t=i.url,e=i.options;var o=_3.deferred(i,_1e,_21,e.jsonp?null:e.checkString?_26:_24,_29);if(_6.mixin(o,{id:_e+_f++,canDelete:!1}),e.jsonp&&(new RegExp("[?&]"+e.jsonp+"=").test(t)||(t+=(~t.indexOf("?")?"&":"?")+e.jsonp+"="+(e.frameDoc?"parent.":"")+_e+"_callbacks."+o.id),o.canDelete=!0,_12[o.id]=function(t){i.data=t,o.handleResponse(i)}),_3.notify&&_3.notify.emit("send",i,o.promise.cancel),!e.canAttach||e.canAttach(o)){var r=_20._attach(o.id,t,e.frameDoc,(function(t){if(!(t instanceof Error)){var n=new Error("Error loading "+(t.target?t.target.src:"script"));n.source=t,t=n}o.reject(t),_20._remove(o.id,e.frameDoc,!0)}));if(!e.jsonp&&!e.checkString)var a=on(r,_10,(function(t){("load"===t.type||_11.test(r.readyState))&&(a.remove(),o.scriptLoaded=t)}))}return _2(o),n?o:o.promise}return _20.get=_20,_20._attach=_14,_20._remove=_18,_20._callbacksProperty=_e+"_callbacks",_20}))},2956:function(module,exports){define("dojo/request/script",["module","./watch","./util","../_base/kernel","../_base/array","../_base/lang","../on","../dom","../dom-construct","../has","../_base/window"],(function(module,watch,util,kernel,array,lang,on,dom,domConstruct,has,win){has.add("script-readystatechange",(function(t,e){return void 0!==e.createElement("script").onreadystatechange&&(void 0===t.opera||"[object Opera]"!==t.opera.toString())}));var mid=module.id.replace(/[\/\.\-]/g,"_"),counter=0,loadEvent=has("script-readystatechange")?"readystatechange":"load",readyRegExp=/complete|loaded/,callbacks=kernel.global[mid+"_callbacks"]={},deadScripts=[];function attach(t,e,n,i){var o=n||win.doc,r=o.createElement("script");i&&on.once(r,"error",i),r.type="text/javascript";try{r.src=e}catch(t){i&&i(r)}return r.id=t,r.async=!0,r.charset="utf-8",o.getElementsByTagName("head")[0].appendChild(r)}function remove(t,e,n){domConstruct.destroy(dom.byId(t,e)),callbacks[t]&&(n?callbacks[t]=function(){delete callbacks[t]}:delete callbacks[t])}function _addDeadScript(t){var e=t.response.options,n=e.ioArgs?e.ioArgs.frameDoc:e.frameDoc;deadScripts.push({id:t.id,frameDoc:n}),e.ioArgs&&(e.ioArgs.frameDoc=null),e.frameDoc=null}function canceler(t,e){t.canDelete&&script._remove(t.id,e.options.frameDoc,!0)}function isValid(t){return deadScripts&&deadScripts.length&&(array.forEach(deadScripts,(function(t){script._remove(t.id,t.frameDoc),t.frameDoc=null})),deadScripts=[]),!t.options.jsonp||!t.data}function isReadyScript(t){return!!this.scriptLoaded}function isReadyCheckString(response){var checkString=response.options.checkString;return checkString&&eval("typeof("+checkString+') !== "undefined"')}function handleResponse(t,e){this.canDelete&&_addDeadScript(this),e?this.reject(e):this.resolve(t)}function script(t,e,n){var i=util.parseArgs(t,util.deepCopy({},e));t=i.url,e=i.options;var o=util.deferred(i,canceler,isValid,e.jsonp?null:e.checkString?isReadyCheckString:isReadyScript,handleResponse);if(lang.mixin(o,{id:mid+counter++,canDelete:!1}),e.jsonp&&(new RegExp("[?&]"+e.jsonp+"=").test(t)||(t+=(~t.indexOf("?")?"&":"?")+e.jsonp+"="+(e.frameDoc?"parent.":"")+mid+"_callbacks."+o.id),o.canDelete=!0,callbacks[o.id]=function(t){i.data=t,o.handleResponse(i)}),util.notify&&util.notify.emit("send",i,o.promise.cancel),!e.canAttach||e.canAttach(o)){var r=script._attach(o.id,t,e.frameDoc,(function(t){if(!(t instanceof Error)){var n=new Error("Error loading "+(t.target?t.target.src:"script"));n.source=t,t=n}o.reject(t),script._remove(o.id,e.frameDoc,!0)}));if(!e.jsonp&&!e.checkString)var a=on(r,loadEvent,(function(t){("load"===t.type||readyRegExp.test(r.readyState))&&(a.remove(),o.scriptLoaded=t)}))}return watch(o),n?o:o.promise}return script.get=script,script._attach=attach,script._remove=remove,script._callbacksProperty=mid+"_callbacks",script}))},9431:function(t,e){define("dojo/require",["./_base/loader"],(function(t){return{dynamic:0,normalize:function(t){return t},load:t.require}}))},2160:function(t,e){define("dojo/require",["./_base/loader"],(function(t){return{dynamic:0,normalize:function(t){return t},load:t.require}}))},1699:function(t,e){define("dojo/string",["./_base/kernel","./_base/lang"],(function(t,e){var n=/[&<>'"\/]/g,i={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},o={};return e.setObject("dojo.string",o),o.escape=function(t){return t?t.replace(n,(function(t){return i[t]})):""},o.rep=function(t,e){if(e<=0||!t)return"";for(var n=[];1&e&&n.push(t),e>>=1;)t+=t;return n.join("")},o.pad=function(t,e,n,i){n||(n="0");var r=String(t),a=o.rep(n,Math.ceil((e-r.length)/n.length));return i?r+a:a+r},o.substitute=function(n,i,o,r){return r=r||t.global,o=o?e.hitch(r,o):function(t){return t},n.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,(function(t,n,a){var s=e.getObject(n,!1,i);return a&&(s=e.getObject(a,!1,r).call(r,s,n)),o(s,n).toString()}))},o.trim=String.prototype.trim?e.trim:function(t){for(var e=(t=t.replace(/^\s+/,"")).length-1;e>=0;e--)if(/\S/.test(t.charAt(e))){t=t.substring(0,e+1);break}return t},o}))},7316:function(t,e){define("dojo/string",["./_base/kernel","./_base/lang"],(function(t,e){var n=/[&<>'"\/]/g,i={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},o={};return e.setObject("dojo.string",o),o.escape=function(t){return t?t.replace(n,(function(t){return i[t]})):""},o.rep=function(t,e){if(e<=0||!t)return"";for(var n=[];1&e&&n.push(t),e>>=1;)t+=t;return n.join("")},o.pad=function(t,e,n,i){n||(n="0");var r=String(t),a=o.rep(n,Math.ceil((e-r.length)/n.length));return i?r+a:a+r},o.substitute=function(n,i,o,r){return r=r||t.global,o=o?e.hitch(r,o):function(t){return t},n.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,(function(t,n,a){var s=e.getObject(n,!1,i);return a&&(s=e.getObject(a,!1,r).call(r,s,n)),o(s,n).toString()}))},o.trim=String.prototype.trim?e.trim:function(t){for(var e=(t=t.replace(/^\s+/,"")).length-1;e>=0;e--)if(/\S/.test(t.charAt(e))){t=t.substring(0,e+1);break}return t},o}))},403:function(t,e){define("dojo/touch",["./_base/kernel","./aspect","./dom","./dom-class","./_base/lang","./on","./has","./mouse","./domReady","./_base/window"],(function(t,e,n,i,o,r,a,s,l,c){var d,h,u,f,p,m,g,y,v,b,x=a("ios")<5,_=a("pointer-events")||a("MSPointer"),j=function(){var t={};for(var e in{down:1,move:1,up:1,cancel:1,over:1,out:1})t[e]=a("MSPointer")?"MSPointer"+e.charAt(0).toUpperCase()+e.slice(1):"pointer"+e;return t}(),w=a("touch-events"),k=!1;function C(t,e,n){return _&&n?function(t,e){return r(t,n,e)}:w?function(n,i){var o=r(n,e,(function(t){i.call(this,t),v=(new Date).getTime()})),a=r(n,t,(function(t){(!v||(new Date).getTime()>v+1e3)&&i.call(this,t)}));return{remove:function(){o.remove(),a.remove()}}}:function(e,n){return r(e,t,n)}}function S(t,e,o){if(!s.isRight(t)){var a=function(t){do{if(void 0!==t.dojoClick)return t}while(t=t.parentNode)}(t.target);if((h=!t.target.disabled&&a&&a.dojoClick)&&(u=(k="useTarget"==h)?a:t.target,k&&t.preventDefault(),f=t.changedTouches?t.changedTouches[0].pageX-c.global.pageXOffset:t.clientX,p=t.changedTouches?t.changedTouches[0].pageY-c.global.pageYOffset:t.clientY,m=("object"==typeof h?h.x:"number"==typeof h?h:0)||4,g=("object"==typeof h?h.y:"number"==typeof h?h:0)||4,!d)){function l(t){h=k?n.isDescendant(c.doc.elementFromPoint(t.changedTouches?t.changedTouches[0].pageX-c.global.pageXOffset:t.clientX,t.changedTouches?t.changedTouches[0].pageY-c.global.pageYOffset:t.clientY),u):h&&(t.changedTouches?t.changedTouches[0].target:t.target)==u&&Math.abs((t.changedTouches?t.changedTouches[0].pageX-c.global.pageXOffset:t.clientX)-f)<=m&&Math.abs((t.changedTouches?t.changedTouches[0].pageY-c.global.pageYOffset:t.clientY)-p)<=g}function v(t){c.doc.addEventListener(t,(function(e){h&&!e._dojo_click&&(new Date).getTime()<=y+1e3&&("INPUT"!=e.target.tagName||!i.contains(e.target,"dijitOffScreen"))&&(e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),"click"!=t||"INPUT"==e.target.tagName&&"radio"!=e.target.type&&"checkbox"!=e.target.type||"TEXTAREA"==e.target.tagName||"AUDIO"==e.target.tagName||"VIDEO"==e.target.tagName||e.preventDefault())}),!0)}d=!0,c.doc.addEventListener(e,(function(t){s.isRight(t)||(l(t),k&&t.preventDefault())}),!0),c.doc.addEventListener(o,(function(t){if(!s.isRight(t)&&(l(t),h)){y=(new Date).getTime();var e=k?u:t.target;"LABEL"===e.tagName&&(e=n.byId(e.getAttribute("for"))||e);var i=t.changedTouches?t.changedTouches[0]:t;function o(e){var n=document.createEvent("MouseEvents");return n._dojo_click=!0,n.initMouseEvent(e,!0,!0,t.view,t.detail,i.screenX,i.screenY,i.clientX,i.clientY,t.ctrlKey,t.altKey,t.shiftKey,t.metaKey,0,null),n}var a=o("mousedown"),c=o("mouseup"),d=o("click");setTimeout((function(){r.emit(e,"mousedown",a),r.emit(e,"mouseup",c),r.emit(e,"click",d),y=(new Date).getTime()}),0)}}),!0),v("click"),v("mousedown"),v("mouseup")}}}a("touch")&&l(_?function(){c.doc.addEventListener(j.down,(function(t){S(t,j.move,j.up)}),!0)}:function(){function t(t){var e=o.delegate(t,{bubbles:!0});return a("ios")>=6&&(e.touches=t.touches,e.altKey=t.altKey,e.changedTouches=t.changedTouches,e.ctrlKey=t.ctrlKey,e.metaKey=t.metaKey,e.shiftKey=t.shiftKey,e.targetTouches=t.targetTouches),e}b=c.body(),c.doc.addEventListener("touchstart",(function(t){v=(new Date).getTime();var e=b;b=t.target,r.emit(e,"dojotouchout",{relatedTarget:b,bubbles:!0}),r.emit(b,"dojotouchover",{relatedTarget:e,bubbles:!0}),S(t,"touchmove","touchend")}),!0),r(c.doc,"touchmove",(function(e){v=(new Date).getTime();var n=c.doc.elementFromPoint(e.pageX-(x?0:c.global.pageXOffset),e.pageY-(x?0:c.global.pageYOffset));n&&(b!==n&&(r.emit(b,"dojotouchout",{relatedTarget:n,bubbles:!0}),r.emit(n,"dojotouchover",{relatedTarget:b,bubbles:!0}),b=n),r.emit(n,"dojotouchmove",t(e))||e.preventDefault())})),r(c.doc,"touchend",(function(e){v=(new Date).getTime();var n=c.doc.elementFromPoint(e.pageX-(x?0:c.global.pageXOffset),e.pageY-(x?0:c.global.pageYOffset))||c.body();r.emit(n,"dojotouchend",t(e))}))});var M={press:C("mousedown","touchstart",j.down),move:C("mousemove","dojotouchmove",j.move),release:C("mouseup","dojotouchend",j.up),cancel:C(s.leave,"touchcancel",_?j.cancel:null),over:C("mouseover","dojotouchover",j.over),out:C("mouseout","dojotouchout",j.out),enter:s._eventHandler(C("mouseover","dojotouchover",j.over)),leave:s._eventHandler(C("mouseout","dojotouchout",j.out))};return t.touch=M,M}))},9140:function(t,e){define("dojo/touch",["./_base/kernel","./aspect","./dom","./dom-class","./_base/lang","./on","./has","./mouse","./domReady","./_base/window"],(function(t,e,n,i,o,r,a,s,l,c){var d,h,u,f,p,m,g,y,v,b,x=a("ios")<5,_=a("pointer-events")||a("MSPointer"),j=function(){var t={};for(var e in{down:1,move:1,up:1,cancel:1,over:1,out:1})t[e]=a("MSPointer")?"MSPointer"+e.charAt(0).toUpperCase()+e.slice(1):"pointer"+e;return t}(),w=a("touch-events"),k=!1;function C(t,e,n){return _&&n?function(t,e){return r(t,n,e)}:w?function(n,i){var o=r(n,e,(function(t){i.call(this,t),v=(new Date).getTime()})),a=r(n,t,(function(t){(!v||(new Date).getTime()>v+1e3)&&i.call(this,t)}));return{remove:function(){o.remove(),a.remove()}}}:function(e,n){return r(e,t,n)}}function S(t,e,o){if(!s.isRight(t)){var a=function(t){do{if(void 0!==t.dojoClick)return t}while(t=t.parentNode)}(t.target);if((h=!t.target.disabled&&a&&a.dojoClick)&&(u=(k="useTarget"==h)?a:t.target,k&&t.preventDefault(),f=t.changedTouches?t.changedTouches[0].pageX-c.global.pageXOffset:t.clientX,p=t.changedTouches?t.changedTouches[0].pageY-c.global.pageYOffset:t.clientY,m=("object"==typeof h?h.x:"number"==typeof h?h:0)||4,g=("object"==typeof h?h.y:"number"==typeof h?h:0)||4,!d)){function l(t){h=k?n.isDescendant(c.doc.elementFromPoint(t.changedTouches?t.changedTouches[0].pageX-c.global.pageXOffset:t.clientX,t.changedTouches?t.changedTouches[0].pageY-c.global.pageYOffset:t.clientY),u):h&&(t.changedTouches?t.changedTouches[0].target:t.target)==u&&Math.abs((t.changedTouches?t.changedTouches[0].pageX-c.global.pageXOffset:t.clientX)-f)<=m&&Math.abs((t.changedTouches?t.changedTouches[0].pageY-c.global.pageYOffset:t.clientY)-p)<=g}function v(t){c.doc.addEventListener(t,(function(e){h&&!e._dojo_click&&(new Date).getTime()<=y+1e3&&("INPUT"!=e.target.tagName||!i.contains(e.target,"dijitOffScreen"))&&(e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),"click"!=t||"INPUT"==e.target.tagName&&"radio"!=e.target.type&&"checkbox"!=e.target.type||"TEXTAREA"==e.target.tagName||"AUDIO"==e.target.tagName||"VIDEO"==e.target.tagName||e.preventDefault())}),!0)}d=!0,c.doc.addEventListener(e,(function(t){s.isRight(t)||(l(t),k&&t.preventDefault())}),!0),c.doc.addEventListener(o,(function(t){if(!s.isRight(t)&&(l(t),h)){y=(new Date).getTime();var e=k?u:t.target;"LABEL"===e.tagName&&(e=n.byId(e.getAttribute("for"))||e);var i=t.changedTouches?t.changedTouches[0]:t;function o(e){var n=document.createEvent("MouseEvents");return n._dojo_click=!0,n.initMouseEvent(e,!0,!0,t.view,t.detail,i.screenX,i.screenY,i.clientX,i.clientY,t.ctrlKey,t.altKey,t.shiftKey,t.metaKey,0,null),n}var a=o("mousedown"),c=o("mouseup"),d=o("click");setTimeout((function(){r.emit(e,"mousedown",a),r.emit(e,"mouseup",c),r.emit(e,"click",d),y=(new Date).getTime()}),0)}}),!0),v("click"),v("mousedown"),v("mouseup")}}}a("touch")&&l(_?function(){c.doc.addEventListener(j.down,(function(t){S(t,j.move,j.up)}),!0)}:function(){function t(t){var e=o.delegate(t,{bubbles:!0});return a("ios")>=6&&(e.touches=t.touches,e.altKey=t.altKey,e.changedTouches=t.changedTouches,e.ctrlKey=t.ctrlKey,e.metaKey=t.metaKey,e.shiftKey=t.shiftKey,e.targetTouches=t.targetTouches),e}b=c.body(),c.doc.addEventListener("touchstart",(function(t){v=(new Date).getTime();var e=b;b=t.target,r.emit(e,"dojotouchout",{relatedTarget:b,bubbles:!0}),r.emit(b,"dojotouchover",{relatedTarget:e,bubbles:!0}),S(t,"touchmove","touchend")}),!0),r(c.doc,"touchmove",(function(e){v=(new Date).getTime();var n=c.doc.elementFromPoint(e.pageX-(x?0:c.global.pageXOffset),e.pageY-(x?0:c.global.pageYOffset));n&&(b!==n&&(r.emit(b,"dojotouchout",{relatedTarget:n,bubbles:!0}),r.emit(n,"dojotouchover",{relatedTarget:b,bubbles:!0}),b=n),r.emit(n,"dojotouchmove",t(e))||e.preventDefault())})),r(c.doc,"touchend",(function(e){v=(new Date).getTime();var n=c.doc.elementFromPoint(e.pageX-(x?0:c.global.pageXOffset),e.pageY-(x?0:c.global.pageYOffset))||c.body();r.emit(n,"dojotouchend",t(e))}))});var M={press:C("mousedown","touchstart",j.down),move:C("mousemove","dojotouchmove",j.move),release:C("mouseup","dojotouchend",j.up),cancel:C(s.leave,"touchcancel",_?j.cancel:null),over:C("mouseover","dojotouchover",j.over),out:C("mouseout","dojotouchout",j.out),enter:s._eventHandler(C("mouseover","dojotouchover",j.over)),leave:s._eventHandler(C("mouseout","dojotouchout",j.out))};return t.touch=M,M}))},8053:function(t,e){define("dojo/uacss",["./dom-geometry","./_base/lang","./domReady","./sniff","./_base/window"],(function(t,e,n,i,o){var r=o.doc.documentElement,a=i("ie"),s=i("trident"),l=i("opera"),c=Math.floor,d=i("ff"),h=t.boxModel.replace(/-/,""),u={dj_quirks:i("quirks"),dj_opera:l,dj_khtml:i("khtml"),dj_webkit:i("webkit"),dj_safari:i("safari"),dj_chrome:i("chrome"),dj_edge:i("edge"),dj_gecko:i("mozilla"),dj_ios:i("ios"),dj_android:i("android")};a&&(u.dj_ie=!0,u["dj_ie"+c(a)]=!0,u.dj_iequirks=i("quirks")),s&&(u.dj_trident=!0,u["dj_trident"+c(s)]=!0),d&&(u["dj_ff"+c(d)]=!0),u["dj_"+h]=!0;var f="";for(var p in u)u[p]&&(f+=p+" ");return r.className=e.trim(r.className+" "+f),n((function(){if(!t.isBodyLtr()){var n="dj_rtl dijitRtl "+f.replace(/ /g,"-rtl ");r.className=e.trim(r.className+" "+n+"dj_rtl dijitRtl "+f.replace(/ /g,"-rtl "))}})),i}))},9158:function(t,e){define("dojo/uacss",["./dom-geometry","./_base/lang","./domReady","./sniff","./_base/window"],(function(t,e,n,i,o){var r=o.doc.documentElement,a=i("ie"),s=i("trident"),l=i("opera"),c=Math.floor,d=i("ff"),h=t.boxModel.replace(/-/,""),u={dj_quirks:i("quirks"),dj_opera:l,dj_khtml:i("khtml"),dj_webkit:i("webkit"),dj_safari:i("safari"),dj_chrome:i("chrome"),dj_edge:i("edge"),dj_gecko:i("mozilla"),dj_ios:i("ios"),dj_android:i("android")};a&&(u.dj_ie=!0,u["dj_ie"+c(a)]=!0,u.dj_iequirks=i("quirks")),s&&(u.dj_trident=!0,u["dj_trident"+c(s)]=!0),d&&(u["dj_ff"+c(d)]=!0),u["dj_"+h]=!0;var f="";for(var p in u)u[p]&&(f+=p+" ");return r.className=e.trim(r.className+" "+f),n((function(){if(!t.isBodyLtr()){var n="dj_rtl dijitRtl "+f.replace(/ /g,"-rtl ");r.className=e.trim(r.className+" "+n+"dj_rtl dijitRtl "+f.replace(/ /g,"-rtl "))}})),i}))},2682:function(t,e){define("dojo/window",["./_base/lang","./sniff","./_base/window","./dom","./dom-geometry","./dom-style","./dom-construct"],(function(t,e,n,i,o,r,a){e.add("rtl-adjust-position-for-verticalScrollBar",(function(t,e){var i=n.body(e),r=a.create("div",{style:{overflow:"scroll",overflowX:"visible",direction:"rtl",visibility:"hidden",position:"absolute",left:"0",top:"0",width:"64px",height:"64px"}},i,"last"),s=a.create("div",{style:{overflow:"hidden",direction:"ltr"}},r,"last"),l=0!=o.position(s).x;return r.removeChild(s),i.removeChild(r),l})),e.add("position-fixed-support",(function(t,e){var i=n.body(e),r=a.create("span",{style:{visibility:"hidden",position:"fixed",left:"1px",top:"1px"}},i,"last"),s=a.create("span",{style:{position:"fixed",left:"0",top:"0"}},r,"last"),l=o.position(s).x!=o.position(r).x;return r.removeChild(s),i.removeChild(r),l}));var s={getBox:function(t){var i,r,a="BackCompat"==(t=t||n.doc).compatMode?n.body(t):t.documentElement,l=o.docScroll(t);if(e("touch")){var c=s.get(t);i=c.innerWidth||a.clientWidth,r=c.innerHeight||a.clientHeight}else i=a.clientWidth,r=a.clientHeight;return{l:l.x,t:l.y,w:i,h:r}},get:function(t){if(e("ie")&&s!==document.parentWindow){t.parentWindow.execScript("document._parentWindow = window;","Javascript");var n=t._parentWindow;return t._parentWindow=null,n}return t.parentWindow||t.defaultView},scrollIntoView:function(t,a){try{var s=(t=i.byId(t)).ownerDocument||n.doc,l=n.body(s),c=s.documentElement||l.parentNode,d=e("ie")||e("trident"),h=e("webkit");if(t==l||t==c)return;if(!(e("mozilla")||d||h||e("opera")||e("trident")||e("edge"))&&"scrollIntoView"in t)return void t.scrollIntoView(!1);var u="BackCompat"==s.compatMode,f=Math.min(l.clientWidth||c.clientWidth,c.clientWidth||l.clientWidth),p=Math.min(l.clientHeight||c.clientHeight,c.clientHeight||l.clientHeight),m=h||u?l:c,g=a||o.position(t),y=t.parentNode,v=function(t){return!(d<=6||7==d&&u)&&e("position-fixed-support")&&"fixed"==r.get(t,"position").toLowerCase()},b=this,x=function(t,e,n){"BODY"==t.tagName||"HTML"==t.tagName?b.get(t.ownerDocument).scrollBy(e,n):(e&&(t.scrollLeft+=e),n&&(t.scrollTop+=n))};if(v(t))return;for(;y;){y==l&&(y=m);var _=o.position(y),j=v(y),w="rtl"==r.getComputedStyle(y).direction.toLowerCase();if(y==m)_.w=f,_.h=p,m==c&&(d||e("trident"))&&w&&(_.x+=m.offsetWidth-_.w),_.x=0,_.y=0;else{var k=o.getPadBorderExtents(y);_.w-=k.w,_.h-=k.h,_.x+=k.l,_.y+=k.t;var C=y.clientWidth,S=_.w-C;C>0&&S>0&&(w&&e("rtl-adjust-position-for-verticalScrollBar")&&(_.x+=S),_.w=C),C=y.clientHeight,S=_.h-C,C>0&&S>0&&(_.h=C)}j&&(_.y<0&&(_.h+=_.y,_.y=0),_.x<0&&(_.w+=_.x,_.x=0),_.y+_.h>p&&(_.h=p-_.y),_.x+_.w>f&&(_.w=f-_.x));var M,T,A=g.x-_.x,N=g.y-_.y,E=A+g.w-_.w,P=N+g.h-_.h;E*A>0&&(y.scrollLeft||y==m||y.scrollWidth>y.offsetHeight)&&(M=Math[A<0?"max":"min"](A,E),w&&(8==d&&!u||e("trident")>=5)&&(M=-M),T=y.scrollLeft,x(y,M,0),M=y.scrollLeft-T,g.x-=M),P*N>0&&(y.scrollTop||y==m||y.scrollHeight>y.offsetHeight)&&(M=Math.ceil(Math[N<0?"max":"min"](N,P)),T=y.scrollTop,x(y,0,M),M=y.scrollTop-T,g.y-=M),y=y!=m&&!j&&y.parentNode}}catch(e){console.error("scrollIntoView: "+e),t.scrollIntoView(!1)}}};return t.setObject("dojo.window",s),s}))},6877:function(t,e){define("dojo/window",["./_base/lang","./sniff","./_base/window","./dom","./dom-geometry","./dom-style","./dom-construct"],(function(t,e,n,i,o,r,a){e.add("rtl-adjust-position-for-verticalScrollBar",(function(t,e){var i=n.body(e),r=a.create("div",{style:{overflow:"scroll",overflowX:"visible",direction:"rtl",visibility:"hidden",position:"absolute",left:"0",top:"0",width:"64px",height:"64px"}},i,"last"),s=a.create("div",{style:{overflow:"hidden",direction:"ltr"}},r,"last"),l=0!=o.position(s).x;return r.removeChild(s),i.removeChild(r),l})),e.add("position-fixed-support",(function(t,e){var i=n.body(e),r=a.create("span",{style:{visibility:"hidden",position:"fixed",left:"1px",top:"1px"}},i,"last"),s=a.create("span",{style:{position:"fixed",left:"0",top:"0"}},r,"last"),l=o.position(s).x!=o.position(r).x;return r.removeChild(s),i.removeChild(r),l}));var s={getBox:function(t){var i,r,a="BackCompat"==(t=t||n.doc).compatMode?n.body(t):t.documentElement,l=o.docScroll(t);if(e("touch")){var c=s.get(t);i=c.innerWidth||a.clientWidth,r=c.innerHeight||a.clientHeight}else i=a.clientWidth,r=a.clientHeight;return{l:l.x,t:l.y,w:i,h:r}},get:function(t){if(e("ie")&&s!==document.parentWindow){t.parentWindow.execScript("document._parentWindow = window;","Javascript");var n=t._parentWindow;return t._parentWindow=null,n}return t.parentWindow||t.defaultView},scrollIntoView:function(t,a){try{var s=(t=i.byId(t)).ownerDocument||n.doc,l=n.body(s),c=s.documentElement||l.parentNode,d=e("ie")||e("trident"),h=e("webkit");if(t==l||t==c)return;if(!(e("mozilla")||d||h||e("opera")||e("trident")||e("edge"))&&"scrollIntoView"in t)return void t.scrollIntoView(!1);var u="BackCompat"==s.compatMode,f=Math.min(l.clientWidth||c.clientWidth,c.clientWidth||l.clientWidth),p=Math.min(l.clientHeight||c.clientHeight,c.clientHeight||l.clientHeight),m=h||u?l:c,g=a||o.position(t),y=t.parentNode,v=function(t){return!(d<=6||7==d&&u)&&e("position-fixed-support")&&"fixed"==r.get(t,"position").toLowerCase()},b=this,x=function(t,e,n){"BODY"==t.tagName||"HTML"==t.tagName?b.get(t.ownerDocument).scrollBy(e,n):(e&&(t.scrollLeft+=e),n&&(t.scrollTop+=n))};if(v(t))return;for(;y;){y==l&&(y=m);var _=o.position(y),j=v(y),w="rtl"==r.getComputedStyle(y).direction.toLowerCase();if(y==m)_.w=f,_.h=p,m==c&&(d||e("trident"))&&w&&(_.x+=m.offsetWidth-_.w),_.x=0,_.y=0;else{var k=o.getPadBorderExtents(y);_.w-=k.w,_.h-=k.h,_.x+=k.l,_.y+=k.t;var C=y.clientWidth,S=_.w-C;C>0&&S>0&&(w&&e("rtl-adjust-position-for-verticalScrollBar")&&(_.x+=S),_.w=C),C=y.clientHeight,S=_.h-C,C>0&&S>0&&(_.h=C)}j&&(_.y<0&&(_.h+=_.y,_.y=0),_.x<0&&(_.w+=_.x,_.x=0),_.y+_.h>p&&(_.h=p-_.y),_.x+_.w>f&&(_.w=f-_.x));var M,T,A=g.x-_.x,N=g.y-_.y,E=A+g.w-_.w,P=N+g.h-_.h;E*A>0&&(y.scrollLeft||y==m||y.scrollWidth>y.offsetHeight)&&(M=Math[A<0?"max":"min"](A,E),w&&(8==d&&!u||e("trident")>=5)&&(M=-M),T=y.scrollLeft,x(y,M,0),M=y.scrollLeft-T,g.x-=M),P*N>0&&(y.scrollTop||y==m||y.scrollHeight>y.offsetHeight)&&(M=Math.ceil(Math[N<0?"max":"min"](N,P)),T=y.scrollTop,x(y,0,M),M=y.scrollTop-T,g.y-=M),y=y!=m&&!j&&y.parentNode}}catch(e){console.error("scrollIntoView: "+e),t.scrollIntoView(!1)}}};return t.setObject("dojo.window",s),s}))},5857:function(t,e){define("dojox/charting/Chart",["../main","dojo/_base/lang","dojo/_base/array","dojo/_base/declare","dojo/dom-style","dojo/dom","dojo/dom-geometry","dojo/dom-construct","dojo/_base/Color","dojo/sniff","./Element","./SimpleTheme","./Series","./axis2d/common","dojox/gfx/shape","dojox/gfx","dojo/has!dojo-bidi?./bidi/Chart","dojox/lang/functional","dojox/lang/functional/fold","dojox/lang/functional/reversed"],(function(t,e,n,i,o,r,a,s,l,c,d,h,u,f,p,m,g,y){var v=e.getObject("charting",!0,t),b=y.lambda("item.clear()"),x=y.lambda("item.purgeGroup()"),_=y.lambda("item.destroy()"),j=y.lambda("item.dirty = false"),w=y.lambda("item.dirty = true"),k=y.lambda("item.name"),C=i(c("dojo-bidi")?"dojox.charting.NonBidiChart":"dojox.charting.Chart",null,{constructor:function(t,e){e||(e={}),this.margins=e.margins?e.margins:{l:10,t:10,r:10,b:10},this.stroke=e.stroke,this.fill=e.fill,this.delayInMs=e.delayInMs||200,this.title=e.title,this.titleGap=e.titleGap,this.titlePos=e.titlePos,this.titleFont=e.titleFont,this.titleFontColor=e.titleFontColor,this.chartTitle=null,this.htmlLabels=!0,"htmlLabels"in e&&(this.htmlLabels=e.htmlLabels),this.theme=null,this.axes={},this.stack=[],this.plots={},this.series=[],this.runs={},this.dirty=!0,this.node=r.byId(t);var n=a.getMarginBox(t);this.surface=m.createSurface(this.node,n.w||400,n.h||300),-1==this.surface.declaredClass.indexOf("vml")&&(this._nativeClip=!0)},destroy:function(){n.forEach(this.series,_),n.forEach(this.stack,_),y.forIn(this.axes,_),this.surface.destroy(),this.chartTitle&&this.chartTitle.tagName&&s.destroy(this.chartTitle)},getCoords:function(){var t=this.node,e=o.getComputedStyle(t),n=a.getMarginBox(t,e),i=a.position(t,!0);return n.x=i.x,n.y=i.y,n},setTheme:function(t){return this.theme=t.clone(),this.dirty=!0,this},addAxis:function(t,e){var n,i=e&&e.type||"Default";if("string"==typeof i){if(!v.axis2d||!v.axis2d[i])throw Error("Can't find axis: "+i+" - Check require() dependencies.");n=new v.axis2d[i](this,e)}else n=new i(this,e);return n.name=t,n.dirty=!0,t in this.axes&&this.axes[t].destroy(),this.axes[t]=n,this.dirty=!0,this},getAxis:function(t){return this.axes[t]},removeAxis:function(t){return t in this.axes&&(this.axes[t].destroy(),delete this.axes[t],this.dirty=!0),this},addPlot:function(t,e){var n,i=e&&e.type||"Default";if("string"==typeof i){if(!v.plot2d||!v.plot2d[i])throw Error("Can't find plot: "+i+" - didn't you forget to dojo.require() it?");n=new v.plot2d[i](this,e)}else n=new i(this,e);return n.name=t,n.dirty=!0,t in this.plots?(this.stack[this.plots[t]].destroy(),this.stack[this.plots[t]]=n):(this.plots[t]=this.stack.length,this.stack.push(n)),this.dirty=!0,this},getPlot:function(t){return this.stack[this.plots[t]]},removePlot:function(t){if(t in this.plots){var e=this.plots[t];delete this.plots[t],this.stack[e].destroy(),this.stack.splice(e,1),y.forIn(this.plots,(function(t,n,i){t>e&&(i[n]=t-1)}));var i=n.filter(this.series,(function(e){return e.plot!=t}));i.length<this.series.length&&(n.forEach(this.series,(function(e){e.plot==t&&e.destroy()})),this.runs={},n.forEach(i,(function(t,e){this.runs[t.plot]=e}),this),this.series=i),this.dirty=!0}return this},getPlotOrder:function(){return y.map(this.stack,k)},setPlotOrder:function(t){var e={},n=y.filter(t,(function(t){return t in this.plots&&!(t in e)&&(e[t]=1,!0)}),this);n.length<this.stack.length&&y.forEach(this.stack,(function(t){var i=t.name;i in e||n.push(i)}));var i=y.map(n,(function(t){return this.stack[this.plots[t]]}),this);return y.forEach(i,(function(t,e){this.plots[t.name]=e}),this),this.stack=i,this.dirty=!0,this},movePlotToFront:function(t){if(t in this.plots){var e=this.plots[t];if(e){var n=this.getPlotOrder();return n.splice(e,1),n.unshift(t),this.setPlotOrder(n)}}return this},movePlotToBack:function(t){if(t in this.plots){var e=this.plots[t];if(e<this.stack.length-1){var n=this.getPlotOrder();return n.splice(e,1),n.push(t),this.setPlotOrder(n)}}return this},addSeries:function(t,e,n){var i=new u(this,e,n);return i.name=t,t in this.runs?(this.series[this.runs[t]].destroy(),this.series[this.runs[t]]=i):(this.runs[t]=this.series.length,this.series.push(i)),this.dirty=!0,!("ymin"in i)&&"min"in i&&(i.ymin=i.min),!("ymax"in i)&&"max"in i&&(i.ymax=i.max),this},getSeries:function(t){return this.series[this.runs[t]]},removeSeries:function(t){if(t in this.runs){var e=this.runs[t];delete this.runs[t],this.series[e].destroy(),this.series.splice(e,1),y.forIn(this.runs,(function(t,n,i){t>e&&(i[n]=t-1)})),this.dirty=!0}return this},updateSeries:function(t,e,n){if(t in this.runs){var i=this.series[this.runs[t]];i.update(e),n?this.dirty=!0:(this._invalidateDependentPlots(i.plot,!1),this._invalidateDependentPlots(i.plot,!0))}return this},getSeriesOrder:function(t){return y.map(y.filter(this.series,(function(e){return e.plot==t})),k)},setSeriesOrder:function(t){var e,n={},i=y.filter(t,(function(t){if(!(t in this.runs)||t in n)return!1;var i=this.series[this.runs[t]];if(e){if(i.plot!=e)return!1}else e=i.plot;return n[t]=1,!0}),this);y.forEach(this.series,(function(t){var o=t.name;o in n||t.plot!=e||i.push(o)}));var o=y.map(i,(function(t){return this.series[this.runs[t]]}),this);return this.series=o.concat(y.filter(this.series,(function(t){return t.plot!=e}))),y.forEach(this.series,(function(t,e){this.runs[t.name]=e}),this),this.dirty=!0,this},moveSeriesToFront:function(t){if(t in this.runs){var e=this.runs[t],n=this.getSeriesOrder(this.series[e].plot);if(t!=n[0])return n.splice(e,1),n.unshift(t),this.setSeriesOrder(n)}return this},moveSeriesToBack:function(t){if(t in this.runs){var e=this.runs[t],n=this.getSeriesOrder(this.series[e].plot);if(t!=n[n.length-1])return n.splice(e,1),n.push(t),this.setSeriesOrder(n)}return this},resize:function(t,e){switch(arguments.length){case 1:a.setMarginBox(this.node,t);break;case 2:a.setMarginBox(this.node,{w:t,h:e})}var n=a.getMarginBox(this.node),i=this.surface.getDimensions();return i.width!=n.w||i.height!=n.h?(this.surface.setDimensions(n.w,n.h),this.dirty=!0,this.render()):this},getGeometry:function(){var t={};return y.forIn(this.axes,(function(e){e.initialized()&&(t[e.name]={name:e.name,vertical:e.vertical,scaler:e.scaler,ticks:e.ticks})})),t},setAxisWindow:function(t,e,i,o){var r=this.axes[t];return r&&(r.setWindow(e,i),n.forEach(this.stack,(function(e){e.hAxis!=t&&e.vAxis!=t||(e.zoom=o)}))),this},setWindow:function(t,e,i,o,r){return"plotArea"in this||this.calculateGeometry(),y.forIn(this.axes,(function(n){var r,a,s=n.getScaler().bounds,l=s.span/(s.upper-s.lower);a=n.vertical?o/l/(r=e):i/l/(r=t),n.setWindow(r,a)})),n.forEach(this.stack,(function(t){t.zoom=r})),this},zoomIn:function(t,e,n){var i=this.axes[t];if(i){var o,r,a=i.getScaler().bounds,s=Math.min(e[0],e[1]),l=Math.max(e[0],e[1]);s=e[0]<a.lower?a.lower:s,l=e[1]>a.upper?a.upper:l,o=(a.upper-a.lower)/(l-s),r=s-a.lower,this.setAxisWindow(t,o,r),n?this.delayedRender():this.render()}},calculateGeometry:function(){return this.dirty?this.fullGeometry():(M(n.filter(this.stack,(function(t){return t.dirty||t.hAxis&&this.axes[t.hAxis].dirty||t.vAxis&&this.axes[t.vAxis].dirty}),this),this.plotArea),this)},fullGeometry:function(){this._makeDirty(),n.forEach(this.stack,b),this.theme||this.setTheme(new h),n.forEach(this.series,(function(t){if(!(t.plot in this.plots)){if(!v.plot2d||!v.plot2d.Default)throw Error("Can't find plot: Default - didn't you forget to dojo.require() it?");var e=new v.plot2d.Default(this,{});e.name=t.plot,this.plots[t.plot]=this.stack.length,this.stack.push(e)}this.stack[this.plots[t.plot]].addSeries(t)}),this),n.forEach(this.stack,(function(t){t.assignAxes&&t.assignAxes(this.axes)}),this);var t=this.dim=this.surface.getDimensions();t.width=m.normalizedLength(t.width),t.height=m.normalizedLength(t.height),y.forIn(this.axes,b),M(this.stack,t);var e=this.offsets={l:0,r:0,t:0,b:0},i=this;if(y.forIn(this.axes,(function(t){c("dojo-bidi")&&i._resetLeftBottom(t),y.forIn(t.getOffsets(),(function(t,n){e[n]=Math.max(t,e[n])}))})),this.title){this.titleGap=0==this.titleGap?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 o=m.normalizedLength(m.splitFontString(this.titleFont).size);e["top"==this.titlePos?"t":"b"]+=o+this.titleGap}return y.forIn(this.margins,(function(t,n){e[n]+=t})),this.plotArea={width:t.width-e.l-e.r,height:t.height-e.t-e.b},y.forIn(this.axes,b),M(this.stack,this.plotArea),this},render:function(){return this._delayedRenderHandle&&(clearTimeout(this._delayedRenderHandle),this._delayedRenderHandle=null),this.theme&&this.theme.clear(),this.dirty?this.fullRender():(this.calculateGeometry(),y.forEachRev(this.stack,(function(t){t.render(this.dim,this.offsets)}),this),y.forIn(this.axes,(function(t){t.render(this.dim,this.offsets)}),this),this._makeClean(),this)},fullRender:function(){this.fullGeometry();var t=this.offsets,e=this.dim,i=Math.max(0,e.width-t.l-t.r),o=Math.max(0,e.height-t.t-t.b);n.forEach(this.series,x),y.forIn(this.axes,x),n.forEach(this.stack,x);var r=this.surface.children;if(p.dispose)for(var a=0;a<r.length;++a)p.dispose(r[a]);if(this.chartTitle&&this.chartTitle.tagName&&s.destroy(this.chartTitle),this.surface.clear(),this.chartTitle=null,this._renderChartBackground(e,t),this._nativeClip,this._renderPlotBackground(e,t,i,o),y.foldr(this.stack,(function(n,i){return i.render(e,t),0}),0),this._nativeClip||this._renderChartBackground(e,t),this.title){var l="canvas"==m.renderer&&this.htmlLabels||!c("ie")&&!c("opera")&&this.htmlLabels?"html":"gfx",d=m.normalizedLength(m.splitFontString(this.titleFont).size);this.chartTitle=f.createText[l](this,this.surface,e.width/2,"top"==this.titlePos?d+this.margins.t:e.height-this.margins.b,"middle",this.title,this.titleFont,this.titleFontColor)}return y.forIn(this.axes,(function(n){n.render(e,t)})),this._makeClean(),this},_renderChartBackground:function(t,e){var n,i=this.theme,r=void 0!==this.fill?this.fill:i.chart&&i.chart.fill,a=void 0!==this.stroke?this.stroke:i.chart&&i.chart.stroke;if("inherit"==r){var s=this.node;for(r=new l(o.get(s,"backgroundColor"));0==r.a&&s!=document.documentElement;)r=new l(o.get(s,"backgroundColor")),s=s.parentNode}r&&(this._nativeClip?(r=d.prototype._shapeFill(d.prototype._plotFill(r,t),{x:0,y:0,width:t.width+1,height:t.height+1}),this.surface.createRect({width:t.width+1,height:t.height+1}).setFill(r)):(r=d.prototype._plotFill(r,t,e),e.l&&(n={x:0,y:0,width:e.l,height:t.height+1},this.surface.createRect(n).setFill(d.prototype._shapeFill(r,n))),e.r&&(n={x:t.width-e.r,y:0,width:e.r+1,height:t.height+2},this.surface.createRect(n).setFill(d.prototype._shapeFill(r,n))),e.t&&(n={x:0,y:0,width:t.width+1,height:e.t},this.surface.createRect(n).setFill(d.prototype._shapeFill(r,n))),e.b&&(n={x:0,y:t.height-e.b,width:t.width+1,height:e.b+2},this.surface.createRect(n).setFill(d.prototype._shapeFill(r,n))))),a&&this.surface.createRect({width:t.width-1,height:t.height-1}).setStroke(a)},_renderPlotBackground:function(t,e,n,i){var o=this.theme,r=o.plotarea&&o.plotarea.fill,a=o.plotarea&&o.plotarea.stroke,s={x:e.l-1,y:e.t-1,width:n+2,height:i+2};r&&(r=d.prototype._shapeFill(d.prototype._plotFill(r,t,e),s),this.surface.createRect(s).setFill(r)),a&&this.surface.createRect({x:e.l,y:e.t,width:n+1,height:i+1}).setStroke(a)},delayedRender:function(){return this._delayedRenderHandle||(this._delayedRenderHandle=setTimeout(e.hitch(this,(function(){this.render()})),this.delayInMs)),this},connectToPlot:function(t,e,n){return t in this.plots?this.stack[this.plots[t]].connect(e,n):null},fireEvent:function(t,e,n){if(t in this.runs){var i=this.series[this.runs[t]].plot;if(i in this.plots){var o=this.stack[this.plots[i]];o&&o.fireEvent(t,e,n)}}return this},_makeClean:function(){n.forEach(this.axes,j),n.forEach(this.stack,j),n.forEach(this.series,j),this.dirty=!1},_makeDirty:function(){n.forEach(this.axes,w),n.forEach(this.stack,w),n.forEach(this.series,w),this.dirty=!0},_invalidateDependentPlots:function(t,e){if(t in this.plots){var i,o=this.stack[this.plots[t]],r=e?"vAxis":"hAxis";o[r]?(i=this.axes[o[r]])&&i.dependOnData()&&(i.dirty=!0,n.forEach(this.stack,(function(t){t[r]&&t[r]==o[r]&&(t.dirty=!0)}))):o.dirty=!0}},setDir:function(t){return this},_resetLeftBottom:function(t){},formatTruncatedLabel:function(t,e,n){}});function S(t,e){return t&&e&&(t.min=Math.min(t.min,e.min),t.max=Math.max(t.max,e.max)),t||e}function M(t,e){var i={},o={};n.forEach(t,(function(t){var e,n,r=i[t.name]=t.getSeriesStats();t.hAxis&&(o[t.hAxis]=S(o[t.hAxis],{min:(e=r).hmin,max:e.hmax})),t.vAxis&&(o[t.vAxis]=S(o[t.vAxis],{min:(n=r).vmin,max:n.vmax}))})),n.forEach(t,(function(t){var n,r,a,s,l=i[t.name];t.hAxis&&(n=l,r=o[t.hAxis],n.hmin=r.min,n.hmax=r.max),t.vAxis&&(a=l,s=o[t.vAxis],a.vmin=s.min,a.vmax=s.max),t.initializeScalers(e,l)}))}return c("dojo-bidi")?i("dojox.charting.Chart",[C,g]):C}))},4026:function(t,e){define("dojox/charting/Chart",["../main","dojo/_base/lang","dojo/_base/array","dojo/_base/declare","dojo/dom-style","dojo/dom","dojo/dom-geometry","dojo/dom-construct","dojo/_base/Color","dojo/sniff","./Element","./SimpleTheme","./Series","./axis2d/common","dojox/gfx/shape","dojox/gfx","dojo/has!dojo-bidi?./bidi/Chart","dojox/lang/functional","dojox/lang/functional/fold","dojox/lang/functional/reversed"],(function(t,e,n,i,o,r,a,s,l,c,d,h,u,f,p,m,g,y){var v=e.getObject("charting",!0,t),b=y.lambda("item.clear()"),x=y.lambda("item.purgeGroup()"),_=y.lambda("item.destroy()"),j=y.lambda("item.dirty = false"),w=y.lambda("item.dirty = true"),k=y.lambda("item.name"),C=i(c("dojo-bidi")?"dojox.charting.NonBidiChart":"dojox.charting.Chart",null,{constructor:function(t,e){e||(e={}),this.margins=e.margins?e.margins:{l:10,t:10,r:10,b:10},this.stroke=e.stroke,this.fill=e.fill,this.delayInMs=e.delayInMs||200,this.title=e.title,this.titleGap=e.titleGap,this.titlePos=e.titlePos,this.titleFont=e.titleFont,this.titleFontColor=e.titleFontColor,this.chartTitle=null,this.htmlLabels=!0,"htmlLabels"in e&&(this.htmlLabels=e.htmlLabels),this.theme=null,this.axes={},this.stack=[],this.plots={},this.series=[],this.runs={},this.dirty=!0,this.node=r.byId(t);var n=a.getMarginBox(t);this.surface=m.createSurface(this.node,n.w||400,n.h||300),-1==this.surface.declaredClass.indexOf("vml")&&(this._nativeClip=!0)},destroy:function(){n.forEach(this.series,_),n.forEach(this.stack,_),y.forIn(this.axes,_),this.surface.destroy(),this.chartTitle&&this.chartTitle.tagName&&s.destroy(this.chartTitle)},getCoords:function(){var t=this.node,e=o.getComputedStyle(t),n=a.getMarginBox(t,e),i=a.position(t,!0);return n.x=i.x,n.y=i.y,n},setTheme:function(t){return this.theme=t.clone(),this.dirty=!0,this},addAxis:function(t,e){var n,i=e&&e.type||"Default";if("string"==typeof i){if(!v.axis2d||!v.axis2d[i])throw Error("Can't find axis: "+i+" - Check require() dependencies.");n=new v.axis2d[i](this,e)}else n=new i(this,e);return n.name=t,n.dirty=!0,t in this.axes&&this.axes[t].destroy(),this.axes[t]=n,this.dirty=!0,this},getAxis:function(t){return this.axes[t]},removeAxis:function(t){return t in this.axes&&(this.axes[t].destroy(),delete this.axes[t],this.dirty=!0),this},addPlot:function(t,e){var n,i=e&&e.type||"Default";if("string"==typeof i){if(!v.plot2d||!v.plot2d[i])throw Error("Can't find plot: "+i+" - didn't you forget to dojo.require() it?");n=new v.plot2d[i](this,e)}else n=new i(this,e);return n.name=t,n.dirty=!0,t in this.plots?(this.stack[this.plots[t]].destroy(),this.stack[this.plots[t]]=n):(this.plots[t]=this.stack.length,this.stack.push(n)),this.dirty=!0,this},getPlot:function(t){return this.stack[this.plots[t]]},removePlot:function(t){if(t in this.plots){var e=this.plots[t];delete this.plots[t],this.stack[e].destroy(),this.stack.splice(e,1),y.forIn(this.plots,(function(t,n,i){t>e&&(i[n]=t-1)}));var i=n.filter(this.series,(function(e){return e.plot!=t}));i.length<this.series.length&&(n.forEach(this.series,(function(e){e.plot==t&&e.destroy()})),this.runs={},n.forEach(i,(function(t,e){this.runs[t.plot]=e}),this),this.series=i),this.dirty=!0}return this},getPlotOrder:function(){return y.map(this.stack,k)},setPlotOrder:function(t){var e={},n=y.filter(t,(function(t){return t in this.plots&&!(t in e)&&(e[t]=1,!0)}),this);n.length<this.stack.length&&y.forEach(this.stack,(function(t){var i=t.name;i in e||n.push(i)}));var i=y.map(n,(function(t){return this.stack[this.plots[t]]}),this);return y.forEach(i,(function(t,e){this.plots[t.name]=e}),this),this.stack=i,this.dirty=!0,this},movePlotToFront:function(t){if(t in this.plots){var e=this.plots[t];if(e){var n=this.getPlotOrder();return n.splice(e,1),n.unshift(t),this.setPlotOrder(n)}}return this},movePlotToBack:function(t){if(t in this.plots){var e=this.plots[t];if(e<this.stack.length-1){var n=this.getPlotOrder();return n.splice(e,1),n.push(t),this.setPlotOrder(n)}}return this},addSeries:function(t,e,n){var i=new u(this,e,n);return i.name=t,t in this.runs?(this.series[this.runs[t]].destroy(),this.series[this.runs[t]]=i):(this.runs[t]=this.series.length,this.series.push(i)),this.dirty=!0,!("ymin"in i)&&"min"in i&&(i.ymin=i.min),!("ymax"in i)&&"max"in i&&(i.ymax=i.max),this},getSeries:function(t){return this.series[this.runs[t]]},removeSeries:function(t){if(t in this.runs){var e=this.runs[t];delete this.runs[t],this.series[e].destroy(),this.series.splice(e,1),y.forIn(this.runs,(function(t,n,i){t>e&&(i[n]=t-1)})),this.dirty=!0}return this},updateSeries:function(t,e,n){if(t in this.runs){var i=this.series[this.runs[t]];i.update(e),n?this.dirty=!0:(this._invalidateDependentPlots(i.plot,!1),this._invalidateDependentPlots(i.plot,!0))}return this},getSeriesOrder:function(t){return y.map(y.filter(this.series,(function(e){return e.plot==t})),k)},setSeriesOrder:function(t){var e,n={},i=y.filter(t,(function(t){if(!(t in this.runs)||t in n)return!1;var i=this.series[this.runs[t]];if(e){if(i.plot!=e)return!1}else e=i.plot;return n[t]=1,!0}),this);y.forEach(this.series,(function(t){var o=t.name;o in n||t.plot!=e||i.push(o)}));var o=y.map(i,(function(t){return this.series[this.runs[t]]}),this);return this.series=o.concat(y.filter(this.series,(function(t){return t.plot!=e}))),y.forEach(this.series,(function(t,e){this.runs[t.name]=e}),this),this.dirty=!0,this},moveSeriesToFront:function(t){if(t in this.runs){var e=this.runs[t],n=this.getSeriesOrder(this.series[e].plot);if(t!=n[0])return n.splice(e,1),n.unshift(t),this.setSeriesOrder(n)}return this},moveSeriesToBack:function(t){if(t in this.runs){var e=this.runs[t],n=this.getSeriesOrder(this.series[e].plot);if(t!=n[n.length-1])return n.splice(e,1),n.push(t),this.setSeriesOrder(n)}return this},resize:function(t,e){switch(arguments.length){case 1:a.setMarginBox(this.node,t);break;case 2:a.setMarginBox(this.node,{w:t,h:e})}var n=a.getMarginBox(this.node),i=this.surface.getDimensions();return i.width!=n.w||i.height!=n.h?(this.surface.setDimensions(n.w,n.h),this.dirty=!0,this.render()):this},getGeometry:function(){var t={};return y.forIn(this.axes,(function(e){e.initialized()&&(t[e.name]={name:e.name,vertical:e.vertical,scaler:e.scaler,ticks:e.ticks})})),t},setAxisWindow:function(t,e,i,o){var r=this.axes[t];return r&&(r.setWindow(e,i),n.forEach(this.stack,(function(e){e.hAxis!=t&&e.vAxis!=t||(e.zoom=o)}))),this},setWindow:function(t,e,i,o,r){return"plotArea"in this||this.calculateGeometry(),y.forIn(this.axes,(function(n){var r,a,s=n.getScaler().bounds,l=s.span/(s.upper-s.lower);a=n.vertical?o/l/(r=e):i/l/(r=t),n.setWindow(r,a)})),n.forEach(this.stack,(function(t){t.zoom=r})),this},zoomIn:function(t,e,n){var i=this.axes[t];if(i){var o,r,a=i.getScaler().bounds,s=Math.min(e[0],e[1]),l=Math.max(e[0],e[1]);s=e[0]<a.lower?a.lower:s,l=e[1]>a.upper?a.upper:l,o=(a.upper-a.lower)/(l-s),r=s-a.lower,this.setAxisWindow(t,o,r),n?this.delayedRender():this.render()}},calculateGeometry:function(){return this.dirty?this.fullGeometry():(M(n.filter(this.stack,(function(t){return t.dirty||t.hAxis&&this.axes[t.hAxis].dirty||t.vAxis&&this.axes[t.vAxis].dirty}),this),this.plotArea),this)},fullGeometry:function(){this._makeDirty(),n.forEach(this.stack,b),this.theme||this.setTheme(new h),n.forEach(this.series,(function(t){if(!(t.plot in this.plots)){if(!v.plot2d||!v.plot2d.Default)throw Error("Can't find plot: Default - didn't you forget to dojo.require() it?");var e=new v.plot2d.Default(this,{});e.name=t.plot,this.plots[t.plot]=this.stack.length,this.stack.push(e)}this.stack[this.plots[t.plot]].addSeries(t)}),this),n.forEach(this.stack,(function(t){t.assignAxes&&t.assignAxes(this.axes)}),this);var t=this.dim=this.surface.getDimensions();t.width=m.normalizedLength(t.width),t.height=m.normalizedLength(t.height),y.forIn(this.axes,b),M(this.stack,t);var e=this.offsets={l:0,r:0,t:0,b:0},i=this;if(y.forIn(this.axes,(function(t){c("dojo-bidi")&&i._resetLeftBottom(t),y.forIn(t.getOffsets(),(function(t,n){e[n]=Math.max(t,e[n])}))})),this.title){this.titleGap=0==this.titleGap?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 o=m.normalizedLength(m.splitFontString(this.titleFont).size);e["top"==this.titlePos?"t":"b"]+=o+this.titleGap}return y.forIn(this.margins,(function(t,n){e[n]+=t})),this.plotArea={width:t.width-e.l-e.r,height:t.height-e.t-e.b},y.forIn(this.axes,b),M(this.stack,this.plotArea),this},render:function(){return this._delayedRenderHandle&&(clearTimeout(this._delayedRenderHandle),this._delayedRenderHandle=null),this.theme&&this.theme.clear(),this.dirty?this.fullRender():(this.calculateGeometry(),y.forEachRev(this.stack,(function(t){t.render(this.dim,this.offsets)}),this),y.forIn(this.axes,(function(t){t.render(this.dim,this.offsets)}),this),this._makeClean(),this)},fullRender:function(){this.fullGeometry();var t=this.offsets,e=this.dim,i=Math.max(0,e.width-t.l-t.r),o=Math.max(0,e.height-t.t-t.b);n.forEach(this.series,x),y.forIn(this.axes,x),n.forEach(this.stack,x);var r=this.surface.children;if(p.dispose)for(var a=0;a<r.length;++a)p.dispose(r[a]);if(this.chartTitle&&this.chartTitle.tagName&&s.destroy(this.chartTitle),this.surface.clear(),this.chartTitle=null,this._renderChartBackground(e,t),this._nativeClip,this._renderPlotBackground(e,t,i,o),y.foldr(this.stack,(function(n,i){return i.render(e,t),0}),0),this._nativeClip||this._renderChartBackground(e,t),this.title){var l="canvas"==m.renderer&&this.htmlLabels||!c("ie")&&!c("opera")&&this.htmlLabels?"html":"gfx",d=m.normalizedLength(m.splitFontString(this.titleFont).size);this.chartTitle=f.createText[l](this,this.surface,e.width/2,"top"==this.titlePos?d+this.margins.t:e.height-this.margins.b,"middle",this.title,this.titleFont,this.titleFontColor)}return y.forIn(this.axes,(function(n){n.render(e,t)})),this._makeClean(),this},_renderChartBackground:function(t,e){var n,i=this.theme,r=void 0!==this.fill?this.fill:i.chart&&i.chart.fill,a=void 0!==this.stroke?this.stroke:i.chart&&i.chart.stroke;if("inherit"==r){var s=this.node;for(r=new l(o.get(s,"backgroundColor"));0==r.a&&s!=document.documentElement;)r=new l(o.get(s,"backgroundColor")),s=s.parentNode}r&&(this._nativeClip?(r=d.prototype._shapeFill(d.prototype._plotFill(r,t),{x:0,y:0,width:t.width+1,height:t.height+1}),this.surface.createRect({width:t.width+1,height:t.height+1}).setFill(r)):(r=d.prototype._plotFill(r,t,e),e.l&&(n={x:0,y:0,width:e.l,height:t.height+1},this.surface.createRect(n).setFill(d.prototype._shapeFill(r,n))),e.r&&(n={x:t.width-e.r,y:0,width:e.r+1,height:t.height+2},this.surface.createRect(n).setFill(d.prototype._shapeFill(r,n))),e.t&&(n={x:0,y:0,width:t.width+1,height:e.t},this.surface.createRect(n).setFill(d.prototype._shapeFill(r,n))),e.b&&(n={x:0,y:t.height-e.b,width:t.width+1,height:e.b+2},this.surface.createRect(n).setFill(d.prototype._shapeFill(r,n))))),a&&this.surface.createRect({width:t.width-1,height:t.height-1}).setStroke(a)},_renderPlotBackground:function(t,e,n,i){var o=this.theme,r=o.plotarea&&o.plotarea.fill,a=o.plotarea&&o.plotarea.stroke,s={x:e.l-1,y:e.t-1,width:n+2,height:i+2};r&&(r=d.prototype._shapeFill(d.prototype._plotFill(r,t,e),s),this.surface.createRect(s).setFill(r)),a&&this.surface.createRect({x:e.l,y:e.t,width:n+1,height:i+1}).setStroke(a)},delayedRender:function(){return this._delayedRenderHandle||(this._delayedRenderHandle=setTimeout(e.hitch(this,(function(){this.render()})),this.delayInMs)),this},connectToPlot:function(t,e,n){return t in this.plots?this.stack[this.plots[t]].connect(e,n):null},fireEvent:function(t,e,n){if(t in this.runs){var i=this.series[this.runs[t]].plot;if(i in this.plots){var o=this.stack[this.plots[i]];o&&o.fireEvent(t,e,n)}}return this},_makeClean:function(){n.forEach(this.axes,j),n.forEach(this.stack,j),n.forEach(this.series,j),this.dirty=!1},_makeDirty:function(){n.forEach(this.axes,w),n.forEach(this.stack,w),n.forEach(this.series,w),this.dirty=!0},_invalidateDependentPlots:function(t,e){if(t in this.plots){var i,o=this.stack[this.plots[t]],r=e?"vAxis":"hAxis";o[r]?(i=this.axes[o[r]])&&i.dependOnData()&&(i.dirty=!0,n.forEach(this.stack,(function(t){t[r]&&t[r]==o[r]&&(t.dirty=!0)}))):o.dirty=!0}},setDir:function(t){return this},_resetLeftBottom:function(t){},formatTruncatedLabel:function(t,e,n){}});function S(t,e){return t&&e&&(t.min=Math.min(t.min,e.min),t.max=Math.max(t.max,e.max)),t||e}function M(t,e){var i={},o={};n.forEach(t,(function(t){var e=i[t.name]=t.getSeriesStats();t.hAxis&&(o[t.hAxis]=S(o[t.hAxis],function(t){return{min:t.hmin,max:t.hmax}}(e))),t.vAxis&&(o[t.vAxis]=S(o[t.vAxis],function(t){return{min:t.vmin,max:t.vmax}}(e)))})),n.forEach(t,(function(t){var n=i[t.name];t.hAxis&&function(t,e){t.hmin=e.min,t.hmax=e.max}(n,o[t.hAxis]),t.vAxis&&function(t,e){t.vmin=e.min,t.vmax=e.max}(n,o[t.vAxis]),t.initializeScalers(e,n)}))}return c("dojo-bidi")?i("dojox.charting.Chart",[C,g]):C}))},1903:function(t,e){define("dojox/charting/Chart2D",["dojo/_base/kernel","dojo/_base/lang","..","./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(t,e,n,i){return t.deprecated("dojox.charting.Chart2D","Use dojox.charting.Chart instead and require all other components explicitly","2.0"),e.setObject("dojox.charting.Chart2D",i)}))},4232:function(t,e){define("dojox/charting/Chart2D",["dojo/_base/kernel","dojo/_base/lang","..","./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(t,e,n,i){return t.deprecated("dojox.charting.Chart2D","Use dojox.charting.Chart instead and require all other components explicitly","2.0"),e.setObject("dojox.charting.Chart2D",i)}))},1597:function(t,e){define("dojox/charting/Element",["dojo/_base/array","dojo/dom-construct","dojo/_base/declare","dojox/gfx","dojox/gfx/shape"],(function(t,e,n,i,o){return n("dojox.charting.Element",null,{chart:null,group:null,htmlElements:null,dirty:!0,renderingOptions:null,constructor:function(t,e){this.chart=t,this.group=null,this.htmlElements=[],this.dirty=!0,this.trailingSymbol="...",this._events=[],e&&e.renderingOptions&&(this.renderingOptions=e.renderingOptions)},purgeGroup:function(){if(this.destroyHtmlElements(),this.group){this.getGroup().removeShape();var n=this.getGroup().children;if(o.dispose)for(var i=0;i<n.length;++i)o.dispose(n[i],!0);this.getGroup().rawNode&&e.empty(this.getGroup().rawNode),this.getGroup().clear(),o.dispose&&o.dispose(this.getGroup(),!0),this.getGroup()!=this.group&&(this.group.rawNode&&e.empty(this.group.rawNode),this.group.clear(),o.dispose&&o.dispose(this.group,!0)),this.group=null}return this.dirty=!0,this._events.length&&(t.forEach(this._events,(function(t){t.shape.disconnect(t.handle)})),this._events=[]),this},cleanGroup:function(t){if(this.destroyHtmlElements(),t||(t=this.chart.surface),this.group){var n,i=this.getGroup().children;if(o.dispose)for(var r=0;r<i.length;++r)o.dispose(i[r],!0);this.getGroup().rawNode&&(n=this.getGroup().bgNode,e.empty(this.getGroup().rawNode)),this.getGroup().clear(),n&&this.getGroup().rawNode.appendChild(n)}else if(this.group=t.createGroup(),this.renderingOptions&&this.group.rawNode&&"http://www.w3.org/2000/svg"==this.group.rawNode.namespaceURI)for(var a in this.renderingOptions)this.group.rawNode.setAttribute(a,this.renderingOptions[a]);return this.dirty=!0,this},getGroup:function(){return this.group},destroyHtmlElements:function(){this.htmlElements.length&&(t.forEach(this.htmlElements,e.destroy),this.htmlElements=[])},destroy:function(){this.purgeGroup()},getTextWidth:function(t,e){return i._base._getTextBox(t,{font:e}).w||0},getTextWithLimitLength:function(t,e,n,i){if(!t||t.length<=0)return{text:"",truncated:i||!1};if(!n||n<=0)return{text:t,truncated:i||!1};var o=t.substring(0,1)+this.trailingSymbol;if(n<=this.getTextWidth(o,e))return{text:o,truncated:!0};if(this.getTextWidth(t,e)<=n)return{text:t,truncated:i||!1};for(var r=0,a=t.length;r<a;){if(a-r<=2){for(;this.getTextWidth(t.substring(0,r)+this.trailingSymbol,e)>n;)r-=1;return{text:t.substring(0,r)+this.trailingSymbol,truncated:!0}}var s=r+Math.round(.618*(a-r));this.getTextWidth(t.substring(0,s),e)<n?r=s:a=s}},getTextWithLimitCharCount:function(t,e,n,i){return!t||t.length<=0?{text:"",truncated:i||!1}:!n||n<=0||t.length<=n?{text:t,truncated:i||!1}:{text:t.substring(0,n)+this.trailingSymbol,truncated:!0}},_plotFill:function(t,e,n){if(!t||!t.type||!t.space)return t;var o,r=t.space;switch(t.type){case"linear":"plot"!==r&&"shapeX"!==r&&"shapeY"!==r||((t=i.makeParameters(i.defaultLinearGradient,t)).space=r,"plot"!==r&&"shapeX"!==r||(o=e.height-n.t-n.b,t.y1=n.t+o*t.y1/100,t.y2=n.t+o*t.y2/100),"plot"!==r&&"shapeY"!==r||(o=e.width-n.l-n.r,t.x1=n.l+o*t.x1/100,t.x2=n.l+o*t.x2/100));break;case"radial":if("plot"===r){(t=i.makeParameters(i.defaultRadialGradient,t)).space=r;var a=e.width-n.l-n.r,s=e.height-n.t-n.b;t.cx=n.l+a*t.cx/100,t.cy=n.t+s*t.cy/100,t.r=t.r*Math.sqrt(a*a+s*s)/200}break;case"pattern":"plot"!==r&&"shapeX"!==r&&"shapeY"!==r||((t=i.makeParameters(i.defaultPattern,t)).space=r,"plot"!==r&&"shapeX"!==r||(o=e.height-n.t-n.b,t.y=n.t+o*t.y/100,t.height=o*t.height/100),"plot"!==r&&"shapeY"!==r||(o=e.width-n.l-n.r,t.x=n.l+o*t.x/100,t.width=o*t.width/100))}return t},_shapeFill:function(t,e){if(!t||!t.space)return t;var n,o=t.space;switch(t.type){case"linear":"shape"!==o&&"shapeX"!==o&&"shapeY"!==o||((t=i.makeParameters(i.defaultLinearGradient,t)).space=o,"shape"!==o&&"shapeX"!==o||(n=e.width,t.x1=e.x+n*t.x1/100,t.x2=e.x+n*t.x2/100),"shape"!==o&&"shapeY"!==o||(n=e.height,t.y1=e.y+n*t.y1/100,t.y2=e.y+n*t.y2/100));break;case"radial":"shape"===o&&((t=i.makeParameters(i.defaultRadialGradient,t)).space=o,t.cx=e.x+e.width/2,t.cy=e.y+e.height/2,t.r=t.r*e.width/200);break;case"pattern":"shape"!==o&&"shapeX"!==o&&"shapeY"!==o||((t=i.makeParameters(i.defaultPattern,t)).space=o,"shape"!==o&&"shapeX"!==o||(n=e.width,t.x=e.x+n*t.x/100,t.width=n*t.width/100),"shape"!==o&&"shapeY"!==o||(n=e.height,t.y=e.y+n*t.y/100,t.height=n*t.height/100))}return t},_pseudoRadialFill:function(t,e,n,o,r){if(!t||"radial"!==t.type||"shape"!==t.space)return t;var a=t.space;if((t=i.makeParameters(i.defaultRadialGradient,t)).space=a,arguments.length<4)return t.cx=e.x,t.cy=e.y,t.r=t.r*n/100,t;var s=arguments.length<5?o:(r+o)/2;return{type:"linear",x1:e.x,y1:e.y,x2:e.x+t.r*n*Math.cos(s)/100,y2:e.y+t.r*n*Math.sin(s)/100,colors:t.colors}}})}))},6030:function(t,e){define("dojox/charting/Element",["dojo/_base/array","dojo/dom-construct","dojo/_base/declare","dojox/gfx","dojox/gfx/shape"],(function(t,e,n,i,o){return n("dojox.charting.Element",null,{chart:null,group:null,htmlElements:null,dirty:!0,renderingOptions:null,constructor:function(t,e){this.chart=t,this.group=null,this.htmlElements=[],this.dirty=!0,this.trailingSymbol="...",this._events=[],e&&e.renderingOptions&&(this.renderingOptions=e.renderingOptions)},purgeGroup:function(){if(this.destroyHtmlElements(),this.group){this.getGroup().removeShape();var n=this.getGroup().children;if(o.dispose)for(var i=0;i<n.length;++i)o.dispose(n[i],!0);this.getGroup().rawNode&&e.empty(this.getGroup().rawNode),this.getGroup().clear(),o.dispose&&o.dispose(this.getGroup(),!0),this.getGroup()!=this.group&&(this.group.rawNode&&e.empty(this.group.rawNode),this.group.clear(),o.dispose&&o.dispose(this.group,!0)),this.group=null}return this.dirty=!0,this._events.length&&(t.forEach(this._events,(function(t){t.shape.disconnect(t.handle)})),this._events=[]),this},cleanGroup:function(t){if(this.destroyHtmlElements(),t||(t=this.chart.surface),this.group){var n,i=this.getGroup().children;if(o.dispose)for(var r=0;r<i.length;++r)o.dispose(i[r],!0);this.getGroup().rawNode&&(n=this.getGroup().bgNode,e.empty(this.getGroup().rawNode)),this.getGroup().clear(),n&&this.getGroup().rawNode.appendChild(n)}else if(this.group=t.createGroup(),this.renderingOptions&&this.group.rawNode&&"http://www.w3.org/2000/svg"==this.group.rawNode.namespaceURI)for(var a in this.renderingOptions)this.group.rawNode.setAttribute(a,this.renderingOptions[a]);return this.dirty=!0,this},getGroup:function(){return this.group},destroyHtmlElements:function(){this.htmlElements.length&&(t.forEach(this.htmlElements,e.destroy),this.htmlElements=[])},destroy:function(){this.purgeGroup()},getTextWidth:function(t,e){return i._base._getTextBox(t,{font:e}).w||0},getTextWithLimitLength:function(t,e,n,i){if(!t||t.length<=0)return{text:"",truncated:i||!1};if(!n||n<=0)return{text:t,truncated:i||!1};var o=t.substring(0,1)+this.trailingSymbol;if(n<=this.getTextWidth(o,e))return{text:o,truncated:!0};if(this.getTextWidth(t,e)<=n)return{text:t,truncated:i||!1};for(var r=0,a=t.length;r<a;){if(a-r<=2){for(;this.getTextWidth(t.substring(0,r)+this.trailingSymbol,e)>n;)r-=1;return{text:t.substring(0,r)+this.trailingSymbol,truncated:!0}}var s=r+Math.round(.618*(a-r));this.getTextWidth(t.substring(0,s),e)<n?r=s:a=s}},getTextWithLimitCharCount:function(t,e,n,i){return!t||t.length<=0?{text:"",truncated:i||!1}:!n||n<=0||t.length<=n?{text:t,truncated:i||!1}:{text:t.substring(0,n)+this.trailingSymbol,truncated:!0}},_plotFill:function(t,e,n){if(!t||!t.type||!t.space)return t;var o,r=t.space;switch(t.type){case"linear":"plot"!==r&&"shapeX"!==r&&"shapeY"!==r||((t=i.makeParameters(i.defaultLinearGradient,t)).space=r,"plot"!==r&&"shapeX"!==r||(o=e.height-n.t-n.b,t.y1=n.t+o*t.y1/100,t.y2=n.t+o*t.y2/100),"plot"!==r&&"shapeY"!==r||(o=e.width-n.l-n.r,t.x1=n.l+o*t.x1/100,t.x2=n.l+o*t.x2/100));break;case"radial":if("plot"===r){(t=i.makeParameters(i.defaultRadialGradient,t)).space=r;var a=e.width-n.l-n.r,s=e.height-n.t-n.b;t.cx=n.l+a*t.cx/100,t.cy=n.t+s*t.cy/100,t.r=t.r*Math.sqrt(a*a+s*s)/200}break;case"pattern":"plot"!==r&&"shapeX"!==r&&"shapeY"!==r||((t=i.makeParameters(i.defaultPattern,t)).space=r,"plot"!==r&&"shapeX"!==r||(o=e.height-n.t-n.b,t.y=n.t+o*t.y/100,t.height=o*t.height/100),"plot"!==r&&"shapeY"!==r||(o=e.width-n.l-n.r,t.x=n.l+o*t.x/100,t.width=o*t.width/100))}return t},_shapeFill:function(t,e){if(!t||!t.space)return t;var n,o=t.space;switch(t.type){case"linear":"shape"!==o&&"shapeX"!==o&&"shapeY"!==o||((t=i.makeParameters(i.defaultLinearGradient,t)).space=o,"shape"!==o&&"shapeX"!==o||(n=e.width,t.x1=e.x+n*t.x1/100,t.x2=e.x+n*t.x2/100),"shape"!==o&&"shapeY"!==o||(n=e.height,t.y1=e.y+n*t.y1/100,t.y2=e.y+n*t.y2/100));break;case"radial":"shape"===o&&((t=i.makeParameters(i.defaultRadialGradient,t)).space=o,t.cx=e.x+e.width/2,t.cy=e.y+e.height/2,t.r=t.r*e.width/200);break;case"pattern":"shape"!==o&&"shapeX"!==o&&"shapeY"!==o||((t=i.makeParameters(i.defaultPattern,t)).space=o,"shape"!==o&&"shapeX"!==o||(n=e.width,t.x=e.x+n*t.x/100,t.width=n*t.width/100),"shape"!==o&&"shapeY"!==o||(n=e.height,t.y=e.y+n*t.y/100,t.height=n*t.height/100))}return t},_pseudoRadialFill:function(t,e,n,o,r){if(!t||"radial"!==t.type||"shape"!==t.space)return t;var a=t.space;if((t=i.makeParameters(i.defaultRadialGradient,t)).space=a,arguments.length<4)return t.cx=e.x,t.cy=e.y,t.r=t.r*n/100,t;var s=arguments.length<5?o:(r+o)/2;return{type:"linear",x1:e.x,y1:e.y,x2:e.x+t.r*n*Math.cos(s)/100,y2:e.y+t.r*n*Math.sin(s)/100,colors:t.colors}}})}))},1968:function(t,e){define("dojox/charting/Series",["dojo/_base/lang","dojo/_base/declare","./Element"],(function(t,e,n){return e("dojox.charting.Series",n,{constructor:function(e,n,i){t.mixin(this,i),"string"!=typeof this.plot&&(this.plot="default"),this.update(n)},clear:function(){this.dyn={}},update:function(e){t.isArray(e)?this.data=e:(this.source=e,this.data=this.source.data,this.source.setSeriesObject&&this.source.setSeriesObject(this)),this.dirty=!0,this.clear()}})}))},5867:function(t,e){define("dojox/charting/Series",["dojo/_base/lang","dojo/_base/declare","./Element"],(function(t,e,n){return e("dojox.charting.Series",n,{constructor:function(e,n,i){t.mixin(this,i),"string"!=typeof this.plot&&(this.plot="default"),this.update(n)},clear:function(){this.dyn={}},update:function(e){t.isArray(e)?this.data=e:(this.source=e,this.data=this.source.data,this.source.setSeriesObject&&this.source.setSeriesObject(this)),this.dirty=!0,this.clear()}})}))},8614:function(t,e){define("dojox/charting/SimpleTheme",["dojo/_base/lang","dojo/_base/array","dojo/_base/declare","dojo/_base/Color","dojox/lang/utils","dojox/gfx/gradutils"],(function(t,e,n,i,o,r){var a=n("dojox.charting.SimpleTheme",null,{shapeSpaces:{shape:1,shapeX:1,shapeY:1},constructor:function(n){n=n||{};var i=a.defaultTheme;e.forEach(["chart","plotarea","axis","grid","series","marker","indicator"],(function(e){this[e]=t.delegate(i[e],n[e])}),this),n.seriesThemes&&n.seriesThemes.length?(this.colors=null,this.seriesThemes=n.seriesThemes.slice(0)):(this.seriesThemes=null,this.colors=(n.colors||a.defaultColors).slice(0)),this.markerThemes=null,n.markerThemes&&n.markerThemes.length&&(this.markerThemes=n.markerThemes.slice(0)),this.markers=n.markers?t.clone(n.markers):t.delegate(a.defaultMarkers),this.noGradConv=n.noGradConv,this.noRadialConv=n.noRadialConv,n.reverseFills&&this.reverseFills(),this._current=0,this._buildMarkerArray()},clone:function(){var t=new this.constructor({chart:this.chart,plotarea:this.plotarea,axis:this.axis,grid:this.grid,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});return e.forEach(["clone","clear","next","skip","addMixin","post","getTick"],(function(e){this.hasOwnProperty(e)&&(t[e]=this[e])}),this),t},clear:function(){this._current=0},next:function(e,n,r){var a,s,l=o.merge;if(this.colors){a=t.delegate(this.series),s=t.delegate(this.marker);var c,d=new i(this.colors[this._current%this.colors.length]);a.stroke&&a.stroke.color?(a.stroke=t.delegate(a.stroke),c=new i(a.stroke.color),a.stroke.color=new i(d),a.stroke.color.a=c.a):a.stroke={color:d},s.stroke&&s.stroke.color?(s.stroke=t.delegate(s.stroke),c=new i(s.stroke.color),s.stroke.color=new i(d),s.stroke.color.a=c.a):s.stroke={color:d},!a.fill||a.fill.type?a.fill=d:(c=new i(a.fill),a.fill=new i(d),a.fill.a=c.a),!s.fill||s.fill.type?s.fill=d:(c=new i(s.fill),s.fill=new i(d),s.fill.a=c.a)}else a=this.seriesThemes?l(this.series,this.seriesThemes[this._current%this.seriesThemes.length]):this.series,s=this.markerThemes?l(this.marker,this.markerThemes[this._current%this.markerThemes.length]):a;var h={series:a,marker:s,symbol:s&&s.symbol||this._markers[this._current%this._markers.length]};return++this._current,n&&(h=this.addMixin(h,e,n)),r&&(h=this.post(h,e)),h},skip:function(){++this._current},addMixin:function(n,i,r,a){if(t.isArray(r))e.forEach(r,(function(t){n=this.addMixin(n,i,t)}),this);else{var s={};"color"in r&&("line"==i||"area"==i?(t.setObject("series.stroke.color",r.color,s),t.setObject("marker.stroke.color",r.color,s)):t.setObject("series.fill",r.color,s)),e.forEach(["stroke","outline","shadow","fill","filter","font","fontColor","labelWiring"],(function(e){var n="marker"+e.charAt(0).toUpperCase()+e.substr(1),i=n in r;e in r&&(t.setObject("series."+e,r[e],s),i||t.setObject("marker."+e,r[e],s)),i&&t.setObject("marker."+e,r[n],s)})),"marker"in r&&(s.symbol=r.marker,s.symbol=r.marker),n=o.merge(n,s)}return a&&(n=this.post(n,i)),n},post:function(t,e){var n,i=t.series.fill;return!this.noGradConv&&this.shapeSpaces[i.space]&&"linear"==i.type&&("bar"==e?n={x1:i.y1,y1:i.x1,x2:i.y2,y2:i.x2}:this.noRadialConv||"shape"!=i.space||"slice"!=e&&"circle"!=e||(n={type:"radial",cx:0,cy:0,r:100}),n)?o.merge(t,{series:{fill:n}}):t},getTick:function(t,e){var n=this.axis.tick,i=t+"Tick",r=o.merge;return n?this.axis[i]&&(n=r(n,this.axis[i])):n=this.axis[i],e&&(n?e[i]&&(n=r(n,e[i])):n=e[i]),n},inspectObjects:function(t){e.forEach(["chart","plotarea","axis","grid","series","marker","indicator"],(function(e){t(this[e])}),this),this.seriesThemes&&e.forEach(this.seriesThemes,t),this.markerThemes&&e.forEach(this.markerThemes,t)},reverseFills:function(){this.inspectObjects((function(t){t&&t.fill&&(t.fill=r.reverse(t.fill))}))},addMarker:function(t,e){this.markers[t]=e,this._buildMarkerArray()},setMarkers:function(t){this.markers=t,this._buildMarkerArray()},_buildMarkerArray:function(){for(var t in this._markers=[],this.markers)this._markers.push(this.markers[t])}});return t.mixin(a,{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",labelGap:4},majorTick:{width:1,length:6},minorTick:{width:.8,length:3},microTick:{width:.5,length:1},title:{gap:15,font:"normal normal normal 11pt Tahoma",fontColor:"#333",orientation:"axis"}},series:{stroke:{width:1.5,color:"#333"},outline:{width:.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:.1,color:"#ccc"},shadow:null,fill:"#ccc",font:"normal normal normal 8pt Tahoma",fontColor:"#000"},indicator:{lineStroke:{width:1.5,color:"#333"},lineOutline:{width:.1,color:"#ccc"},lineShadow:null,lineFill:null,stroke:{width:1.5,color:"#333"},outline:{width:.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:.1,color:"#ccc"},markerShadow:null}}}),a}))},7569:function(t,e){define("dojox/charting/SimpleTheme",["dojo/_base/lang","dojo/_base/array","dojo/_base/declare","dojo/_base/Color","dojox/lang/utils","dojox/gfx/gradutils"],(function(t,e,n,i,o,r){var a=n("dojox.charting.SimpleTheme",null,{shapeSpaces:{shape:1,shapeX:1,shapeY:1},constructor:function(n){n=n||{};var i=a.defaultTheme;e.forEach(["chart","plotarea","axis","grid","series","marker","indicator"],(function(e){this[e]=t.delegate(i[e],n[e])}),this),n.seriesThemes&&n.seriesThemes.length?(this.colors=null,this.seriesThemes=n.seriesThemes.slice(0)):(this.seriesThemes=null,this.colors=(n.colors||a.defaultColors).slice(0)),this.markerThemes=null,n.markerThemes&&n.markerThemes.length&&(this.markerThemes=n.markerThemes.slice(0)),this.markers=n.markers?t.clone(n.markers):t.delegate(a.defaultMarkers),this.noGradConv=n.noGradConv,this.noRadialConv=n.noRadialConv,n.reverseFills&&this.reverseFills(),this._current=0,this._buildMarkerArray()},clone:function(){var t=new this.constructor({chart:this.chart,plotarea:this.plotarea,axis:this.axis,grid:this.grid,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});return e.forEach(["clone","clear","next","skip","addMixin","post","getTick"],(function(e){this.hasOwnProperty(e)&&(t[e]=this[e])}),this),t},clear:function(){this._current=0},next:function(e,n,r){var a,s,l=o.merge;if(this.colors){a=t.delegate(this.series),s=t.delegate(this.marker);var c,d=new i(this.colors[this._current%this.colors.length]);a.stroke&&a.stroke.color?(a.stroke=t.delegate(a.stroke),c=new i(a.stroke.color),a.stroke.color=new i(d),a.stroke.color.a=c.a):a.stroke={color:d},s.stroke&&s.stroke.color?(s.stroke=t.delegate(s.stroke),c=new i(s.stroke.color),s.stroke.color=new i(d),s.stroke.color.a=c.a):s.stroke={color:d},!a.fill||a.fill.type?a.fill=d:(c=new i(a.fill),a.fill=new i(d),a.fill.a=c.a),!s.fill||s.fill.type?s.fill=d:(c=new i(s.fill),s.fill=new i(d),s.fill.a=c.a)}else a=this.seriesThemes?l(this.series,this.seriesThemes[this._current%this.seriesThemes.length]):this.series,s=this.markerThemes?l(this.marker,this.markerThemes[this._current%this.markerThemes.length]):a;var h={series:a,marker:s,symbol:s&&s.symbol||this._markers[this._current%this._markers.length]};return++this._current,n&&(h=this.addMixin(h,e,n)),r&&(h=this.post(h,e)),h},skip:function(){++this._current},addMixin:function(n,i,r,a){if(t.isArray(r))e.forEach(r,(function(t){n=this.addMixin(n,i,t)}),this);else{var s={};"color"in r&&("line"==i||"area"==i?(t.setObject("series.stroke.color",r.color,s),t.setObject("marker.stroke.color",r.color,s)):t.setObject("series.fill",r.color,s)),e.forEach(["stroke","outline","shadow","fill","filter","font","fontColor","labelWiring"],(function(e){var n="marker"+e.charAt(0).toUpperCase()+e.substr(1),i=n in r;e in r&&(t.setObject("series."+e,r[e],s),i||t.setObject("marker."+e,r[e],s)),i&&t.setObject("marker."+e,r[n],s)})),"marker"in r&&(s.symbol=r.marker,s.symbol=r.marker),n=o.merge(n,s)}return a&&(n=this.post(n,i)),n},post:function(t,e){var n,i=t.series.fill;return!this.noGradConv&&this.shapeSpaces[i.space]&&"linear"==i.type&&("bar"==e?n={x1:i.y1,y1:i.x1,x2:i.y2,y2:i.x2}:this.noRadialConv||"shape"!=i.space||"slice"!=e&&"circle"!=e||(n={type:"radial",cx:0,cy:0,r:100}),n)?o.merge(t,{series:{fill:n}}):t},getTick:function(t,e){var n=this.axis.tick,i=t+"Tick",r=o.merge;return n?this.axis[i]&&(n=r(n,this.axis[i])):n=this.axis[i],e&&(n?e[i]&&(n=r(n,e[i])):n=e[i]),n},inspectObjects:function(t){e.forEach(["chart","plotarea","axis","grid","series","marker","indicator"],(function(e){t(this[e])}),this),this.seriesThemes&&e.forEach(this.seriesThemes,t),this.markerThemes&&e.forEach(this.markerThemes,t)},reverseFills:function(){this.inspectObjects((function(t){t&&t.fill&&(t.fill=r.reverse(t.fill))}))},addMarker:function(t,e){this.markers[t]=e,this._buildMarkerArray()},setMarkers:function(t){this.markers=t,this._buildMarkerArray()},_buildMarkerArray:function(){for(var t in this._markers=[],this.markers)this._markers.push(this.markers[t])}});return t.mixin(a,{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",labelGap:4},majorTick:{width:1,length:6},minorTick:{width:.8,length:3},microTick:{width:.5,length:1},title:{gap:15,font:"normal normal normal 11pt Tahoma",fontColor:"#333",orientation:"axis"}},series:{stroke:{width:1.5,color:"#333"},outline:{width:.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:.1,color:"#ccc"},shadow:null,fill:"#ccc",font:"normal normal normal 8pt Tahoma",fontColor:"#000"},indicator:{lineStroke:{width:1.5,color:"#333"},lineOutline:{width:.1,color:"#ccc"},lineShadow:null,lineFill:null,stroke:{width:1.5,color:"#333"},outline:{width:.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:.1,color:"#ccc"},markerShadow:null}}}),a}))},4400:function(t,e){define("dojox/charting/Theme",["dojo/_base/lang","dojo/_base/declare","dojo/_base/Color","./SimpleTheme","dojox/color/_base","dojox/color/Palette","dojox/gfx/gradutils"],(function(t,e,n,i,o,r){var a=e("dojox.charting.Theme",i,{});return t.mixin(a,{defineColors:function(t){var e,n=[],i=(t=t||{}).num||5;if(t.colors){e=t.colors.length;for(var a=0;a<i;a++)n.push(t.colors[a%e]);return n}if(t.hue){var s=t.saturation||100,l=t.low||30;return e=((t.high||90)+l)/2,r.generate(o.fromHsv(t.hue,s,e),"monochromatic").colors}return t.generator?o.Palette.generate(t.base,t.generator).colors:n},generateGradient:function(e,n,i){var o=t.delegate(e);return o.colors=[{offset:0,color:n},{offset:1,color:i}],o},generateHslColor:function(t,e){var i=(t=new n(t)).toHsl(),r=o.fromHsl(i.h,i.s,e);return r.a=t.a,r},generateHslGradient:function(t,e,i,r){var s=(t=new n(t)).toHsl(),l=o.fromHsl(s.h,s.s,i),c=o.fromHsl(s.h,s.s,r);return l.a=c.a=t.a,a.generateGradient(e,l,c)}}),a.defaultMarkers=i.defaultMarkers,a.defaultColors=i.defaultColors,a.defaultTheme=i.defaultTheme,a}))},6683:function(t,e){define("dojox/charting/Theme",["dojo/_base/lang","dojo/_base/declare","dojo/_base/Color","./SimpleTheme","dojox/color/_base","dojox/color/Palette","dojox/gfx/gradutils"],(function(t,e,n,i,o,r){var a=e("dojox.charting.Theme",i,{});return t.mixin(a,{defineColors:function(t){var e,n=[],i=(t=t||{}).num||5;if(t.colors){e=t.colors.length;for(var a=0;a<i;a++)n.push(t.colors[a%e]);return n}if(t.hue){var s=t.saturation||100,l=t.low||30;return e=((t.high||90)+l)/2,r.generate(o.fromHsv(t.hue,s,e),"monochromatic").colors}return t.generator?o.Palette.generate(t.base,t.generator).colors:n},generateGradient:function(e,n,i){var o=t.delegate(e);return o.colors=[{offset:0,color:n},{offset:1,color:i}],o},generateHslColor:function(t,e){var i=(t=new n(t)).toHsl(),r=o.fromHsl(i.h,i.s,e);return r.a=t.a,r},generateHslGradient:function(t,e,i,r){var s=(t=new n(t)).toHsl(),l=o.fromHsl(s.h,s.s,i),c=o.fromHsl(s.h,s.s,r);return l.a=c.a=t.a,a.generateGradient(e,l,c)}}),a.defaultMarkers=i.defaultMarkers,a.defaultColors=i.defaultColors,a.defaultTheme=i.defaultTheme,a}))},3481:function(t,e){define("dojox/charting/action2d/Base",["dojo/_base/lang","dojo/_base/declare","dojo/Evented"],(function(t,e,n){return e("dojox.charting.action2d.Base",n,{constructor:function(e,n){this.chart=e,this.plot=n?t.isString(n)?this.chart.getPlot(n):n:this.chart.getPlot("default")},connect:function(){},disconnect:function(){},destroy:function(){this.disconnect()}})}))},1010:function(t,e){define("dojox/charting/action2d/Base",["dojo/_base/lang","dojo/_base/declare","dojo/Evented"],(function(t,e,n){return e("dojox.charting.action2d.Base",n,{constructor:function(e,n){this.chart=e,this.plot=n?t.isString(n)?this.chart.getPlot(n):n:this.chart.getPlot("default")},connect:function(){},disconnect:function(){},destroy:function(){this.disconnect()}})}))},9026:function(t,e){define("dojox/charting/action2d/Highlight",["dojo/_base/lang","dojo/_base/declare","dojo/_base/Color","dojo/_base/connect","dojox/color/_base","./PlotAction","dojo/fx/easing","dojox/gfx/fx"],(function(t,e,n,i,o,r,a,s){var l=function(t){var e=new o.Color(t),n=e.toHsl();0==n.s?n.l=n.l<50?100:0:(n.s=100,n.l<50?n.l=75:n.l>75?n.l=50:n.l=n.l-50>75-n.l?50:75);var i=o.fromHsl(n);return i.a=e.a,i},c=function(t){var e=l(t);return e.a=.7,e};return e("dojox.charting.action2d.Highlight",r,{defaultParams:{duration:400,easing:a.backOut},optionalParams:{highlight:"red"},constructor:function(e,n,i){var o,r=i&&i.highlight;this.colorFunc=r?t.isFunction(r)?r:(o=r,function(){return o}):l,this.connect()},process:function(t){if(t.shape&&t.type in this.overOutEvents&&"spider_circle"!=t.element&&"spider_plot"!=t.element){"spider_poly"==t.element&&this.colorFunc==l&&(this.colorFunc=c);var e,o=t.run.name,r=t.index;if(o in this.anim?e=this.anim[o][r]:this.anim[o]={},e)e.action.stop(!0);else{var a=t.shape.getFill();if(!(a&&a instanceof n))return;this.anim[o][r]=e={start:a,end:this.colorFunc(a)}}var d=e.start,h=e.end;if("onmouseout"==t.type){var u=d;d=h,h=u}e.action=s.animateFill({shape:t.shape,duration:this.duration,easing:this.easing,color:{start:d,end:h}}),"onmouseout"==t.type&&i.connect(e.action,"onEnd",this,(function(){this.anim[o]&&delete this.anim[o][r]})),e.action.play()}}})}))},3317:function(t,e){define("dojox/charting/action2d/Highlight",["dojo/_base/lang","dojo/_base/declare","dojo/_base/Color","dojo/_base/connect","dojox/color/_base","./PlotAction","dojo/fx/easing","dojox/gfx/fx"],(function(t,e,n,i,o,r,a,s){var l=function(t){var e=new o.Color(t),n=e.toHsl();0==n.s?n.l=n.l<50?100:0:(n.s=100,n.l<50?n.l=75:n.l>75?n.l=50:n.l=n.l-50>75-n.l?50:75);var i=o.fromHsl(n);return i.a=e.a,i},c=function(t){var e=l(t);return e.a=.7,e};return e("dojox.charting.action2d.Highlight",r,{defaultParams:{duration:400,easing:a.backOut},optionalParams:{highlight:"red"},constructor:function(e,n,i){var o,r=i&&i.highlight;this.colorFunc=r?t.isFunction(r)?r:(o=r,function(){return o}):l,this.connect()},process:function(t){if(t.shape&&t.type in this.overOutEvents&&"spider_circle"!=t.element&&"spider_plot"!=t.element){"spider_poly"==t.element&&this.colorFunc==l&&(this.colorFunc=c);var e,o=t.run.name,r=t.index;if(o in this.anim?e=this.anim[o][r]:this.anim[o]={},e)e.action.stop(!0);else{var a=t.shape.getFill();if(!(a&&a instanceof n))return;this.anim[o][r]=e={start:a,end:this.colorFunc(a)}}var d=e.start,h=e.end;if("onmouseout"==t.type){var u=d;d=h,h=u}e.action=s.animateFill({shape:t.shape,duration:this.duration,easing:this.easing,color:{start:d,end:h}}),"onmouseout"==t.type&&i.connect(e.action,"onEnd",this,(function(){this.anim[o]&&delete this.anim[o][r]})),e.action.play()}}})}))},3081:function(t,e){define("dojox/charting/action2d/Magnify",["dojo/_base/connect","dojo/_base/declare","./PlotAction","dojox/gfx/matrix","dojox/gfx/fx","dojo/fx","dojo/fx/easing"],(function(t,e,n,i,o,r,a){return e("dojox.charting.action2d.Magnify",n,{defaultParams:{duration:400,easing:a.backOut,scale:2},optionalParams:{},constructor:function(t,e,n){this.scale=n&&"number"==typeof n.scale?n.scale:2,this.connect()},process:function(e){if(e.shape&&e.type in this.overOutEvents&&"cx"in e&&"cy"in e&&"spider_plot"!=e.element&&"spider_poly"!=e.element){var n,a,s,l=e.run.name,c=e.index,d=[];l in this.anim?n=this.anim[l][c]:this.anim[l]={},n?n.action.stop(!0):this.anim[l][c]=n={},"onmouseover"==e.type?(a=i.identity,s=this.scale):(a=i.scaleAt(this.scale,e.cx,e.cy),s=1/this.scale);var h={shape:e.shape,duration:this.duration,easing:this.easing,transform:[{name:"scaleAt",start:[1,e.cx,e.cy],end:[s,e.cx,e.cy]},a]};e.shape&&d.push(o.animateTransform(h)),e.outline&&(h.shape=e.outline,d.push(o.animateTransform(h))),e.shadow&&(h.shape=e.shadow,d.push(o.animateTransform(h))),d.length?(n.action=r.combine(d),"onmouseout"==e.type&&t.connect(n.action,"onEnd",this,(function(){this.anim[l]&&delete this.anim[l][c]})),n.action.play()):delete this.anim[l][c]}}})}))},7298:function(t,e){define("dojox/charting/action2d/Magnify",["dojo/_base/connect","dojo/_base/declare","./PlotAction","dojox/gfx/matrix","dojox/gfx/fx","dojo/fx","dojo/fx/easing"],(function(t,e,n,i,o,r,a){return e("dojox.charting.action2d.Magnify",n,{defaultParams:{duration:400,easing:a.backOut,scale:2},optionalParams:{},constructor:function(t,e,n){this.scale=n&&"number"==typeof n.scale?n.scale:2,this.connect()},process:function(e){if(e.shape&&e.type in this.overOutEvents&&"cx"in e&&"cy"in e&&"spider_plot"!=e.element&&"spider_poly"!=e.element){var n,a,s,l=e.run.name,c=e.index,d=[];l in this.anim?n=this.anim[l][c]:this.anim[l]={},n?n.action.stop(!0):this.anim[l][c]=n={},"onmouseover"==e.type?(a=i.identity,s=this.scale):(a=i.scaleAt(this.scale,e.cx,e.cy),s=1/this.scale);var h={shape:e.shape,duration:this.duration,easing:this.easing,transform:[{name:"scaleAt",start:[1,e.cx,e.cy],end:[s,e.cx,e.cy]},a]};e.shape&&d.push(o.animateTransform(h)),e.outline&&(h.shape=e.outline,d.push(o.animateTransform(h))),e.shadow&&(h.shape=e.shadow,d.push(o.animateTransform(h))),d.length?(n.action=r.combine(d),"onmouseout"==e.type&&t.connect(n.action,"onEnd",this,(function(){this.anim[l]&&delete this.anim[l][c]})),n.action.play()):delete this.anim[l][c]}}})}))},7711:function(t,e){define("dojox/charting/action2d/MoveSlice",["dojo/_base/connect","dojo/_base/declare","dojo/_base/array","./PlotAction","dojo/fx/easing","dojox/gfx/matrix","dojox/gfx/fx","dojox/lang/functional","dojox/lang/functional/scan","dojox/lang/functional/fold"],(function(t,e,n,i,o,r,a,s){return e("dojox.charting.action2d.MoveSlice",i,{defaultParams:{duration:400,easing:o.backOut,scale:1.05,shift:7},optionalParams:{},constructor:function(t,e,n){n||(n={}),this.scale="number"==typeof n.scale?n.scale:1.05,this.shift="number"==typeof n.shift?n.shift:7,this.connect()},process:function(e){if(e.shape&&"slice"==e.element&&e.type in this.overOutEvents){if(!this.angles){var i=r._degToRad(e.plot.opt.startAngle);"number"==typeof e.run.data[0]?this.angles=s.map(s.scanl(e.run.data,"+",0),"* 2 * Math.PI / this",s.foldl(e.run.data,"+",0)):this.angles=s.map(s.scanl(e.run.data,"a + b.y",0),"* 2 * Math.PI / this",s.foldl(e.run.data,"a + b.y",0)),this.angles=n.map(this.angles,(function(t){return t+i}))}var o,l,c,d,h,u=e.index,f=(this.angles[u]+this.angles[u+1])/2,p=r.rotateAt(-f,e.cx,e.cy),m=r.rotateAt(f,e.cx,e.cy);(o=this.anim[u])?o.action.stop(!0):this.anim[u]=o={},"onmouseover"==e.type?(d=0,h=this.shift,l=1,c=this.scale):(d=this.shift,h=0,l=this.scale,c=1),o.action=a.animateTransform({shape:e.shape,duration:this.duration,easing:this.easing,transform:[m,{name:"translate",start:[d,0],end:[h,0]},{name:"scaleAt",start:[l,e.cx,e.cy],end:[c,e.cx,e.cy]},p]}),"onmouseout"==e.type&&t.connect(o.action,"onEnd",this,(function(){delete this.anim[u]})),o.action.play()}},reset:function(){delete this.angles}})}))},5560:function(t,e){define("dojox/charting/action2d/MoveSlice",["dojo/_base/connect","dojo/_base/declare","dojo/_base/array","./PlotAction","dojo/fx/easing","dojox/gfx/matrix","dojox/gfx/fx","dojox/lang/functional","dojox/lang/functional/scan","dojox/lang/functional/fold"],(function(t,e,n,i,o,r,a,s){return e("dojox.charting.action2d.MoveSlice",i,{defaultParams:{duration:400,easing:o.backOut,scale:1.05,shift:7},optionalParams:{},constructor:function(t,e,n){n||(n={}),this.scale="number"==typeof n.scale?n.scale:1.05,this.shift="number"==typeof n.shift?n.shift:7,this.connect()},process:function(e){if(e.shape&&"slice"==e.element&&e.type in this.overOutEvents){if(!this.angles){var i=r._degToRad(e.plot.opt.startAngle);"number"==typeof e.run.data[0]?this.angles=s.map(s.scanl(e.run.data,"+",0),"* 2 * Math.PI / this",s.foldl(e.run.data,"+",0)):this.angles=s.map(s.scanl(e.run.data,"a + b.y",0),"* 2 * Math.PI / this",s.foldl(e.run.data,"a + b.y",0)),this.angles=n.map(this.angles,(function(t){return t+i}))}var o,l,c,d,h,u=e.index,f=(this.angles[u]+this.angles[u+1])/2,p=r.rotateAt(-f,e.cx,e.cy),m=r.rotateAt(f,e.cx,e.cy);(o=this.anim[u])?o.action.stop(!0):this.anim[u]=o={},"onmouseover"==e.type?(d=0,h=this.shift,l=1,c=this.scale):(d=this.shift,h=0,l=this.scale,c=1),o.action=a.animateTransform({shape:e.shape,duration:this.duration,easing:this.easing,transform:[m,{name:"translate",start:[d,0],end:[h,0]},{name:"scaleAt",start:[l,e.cx,e.cy],end:[c,e.cx,e.cy]},p]}),"onmouseout"==e.type&&t.connect(o.action,"onEnd",this,(function(){delete this.anim[u]})),o.action.play()}},reset:function(){delete this.angles}})}))},6801:function(t,e){define("dojox/charting/action2d/PlotAction",["dojo/_base/connect","dojo/_base/declare","./Base","dojo/fx/easing","dojox/lang/functional"],(function(t,e,n,i,o){var r=i.backOut;return e("dojox.charting.action2d.PlotAction",n,{overOutEvents:{onmouseover:1,onmouseout:1},constructor:function(t,e,n){this.anim={},n||(n={}),this.duration=n.duration?n.duration:400,this.easing=n.easing?n.easing:r},connect:function(){this.handle=this.chart.connectToPlot(this.plot.name,this,"process")},disconnect:function(){this.handle&&(t.disconnect(this.handle),this.handle=null)},reset:function(){},destroy:function(){this.inherited(arguments),o.forIn(this.anim,(function(t){o.forIn(t,(function(t){t.action.stop(!0)}))})),this.anim={}}})}))},5082:function(t,e){define("dojox/charting/action2d/PlotAction",["dojo/_base/connect","dojo/_base/declare","./Base","dojo/fx/easing","dojox/lang/functional"],(function(t,e,n,i,o){var r=i.backOut;return e("dojox.charting.action2d.PlotAction",n,{overOutEvents:{onmouseover:1,onmouseout:1},constructor:function(t,e,n){this.anim={},n||(n={}),this.duration=n.duration?n.duration:400,this.easing=n.easing?n.easing:r},connect:function(){this.handle=this.chart.connectToPlot(this.plot.name,this,"process")},disconnect:function(){this.handle&&(t.disconnect(this.handle),this.handle=null)},reset:function(){},destroy:function(){this.inherited(arguments),o.forIn(this.anim,(function(t){o.forIn(t,(function(t){t.action.stop(!0)}))})),this.anim={}}})}))},5037:function(t,e){define("dojox/charting/action2d/Tooltip",["dijit/Tooltip","dojo/_base/lang","dojo/_base/declare","dojo/_base/window","dojo/_base/connect","dojo/dom-style","./PlotAction","dojox/gfx/matrix","dojo/has","dojo/has!dojo-bidi?../bidi/action2d/Tooltip","dojox/lang/functional","dojox/lang/functional/scan","dojox/lang/functional/fold"],(function(t,e,n,i,o,r,a,s,l,c,d){var h=function(t,e){var n=t.run&&t.run.data&&t.run.data[t.index];return n&&"number"!=typeof n&&(n.tooltip||n.text)?n.tooltip||n.text:e.tooltipFunc?e.tooltipFunc(t):t.y},u=Math.PI/4,f=Math.PI/2,p=n(l("dojo-bidi")?"dojox.charting.action2d.NonBidiTooltip":"dojox.charting.action2d.Tooltip",a,{defaultParams:{text:h,mouseOver:!0},optionalParams:{},constructor:function(t,e,n){this.text=n&&n.text?n.text:h,this.mouseOver=!n||null==n.mouseOver||n.mouseOver,this.connect()},process:function(n){if("onplotreset"===n.type||"onmouseout"===n.type)return t.hide(this.aroundRect),this.aroundRect=null,void("onplotreset"===n.type&&delete this.angles);if(!(!n.shape||this.mouseOver&&"onmouseover"!==n.type||!this.mouseOver&&"onclick"!==n.type)){var r={type:"rect"},a=["after-centered","before-centered"];switch(n.element){case"marker":r.x=n.cx,r.y=n.cy,r.w=r.h=1;break;case"circle":r.x=n.cx-n.cr,r.y=n.cy-n.cr,r.w=r.h=2*n.cr;break;case"spider_circle":r.x=n.cx,r.y=n.cy,r.w=r.h=1;break;case"spider_plot":return;case"column":a=["above-centered","below-centered"];case"bar":(r=e.clone(n.shape.getShape())).w=r.width,r.h=r.height;break;case"candlestick":r.x=n.x,r.y=n.y,r.w=n.width,r.h=n.height;break;default:if(!this.angles){var c="number"==typeof n.run.data[0]?d.map(n.run.data,"x ? Math.max(x, 0) : 0"):d.map(n.run.data,"x ? Math.max(x.y, 0) : 0");this.angles=d.map(d.scanl(c,"+",0),"* 2 * Math.PI / this",d.foldl(c,"+",0))}var h=s._degToRad(n.plot.opt.startAngle),p=(this.angles[n.index]+this.angles[n.index+1])/2+h;r.x=n.cx+n.cr*Math.cos(p),r.y=n.cy+n.cr*Math.sin(p),r.w=r.h=1,h&&(p<0||p>2*Math.PI)&&(p=Math.abs(2*Math.PI-Math.abs(p))),p<u||(p<f+u?a=["below-centered","above-centered"]:p<Math.PI+u?a=["before-centered","after-centered"]:p<2*Math.PI-u&&(a=["above-centered","below-centered"]))}l("dojo-bidi")&&this._recheckPosition(n,r,a);var m=this.chart.getCoords();r.x+=m.x,r.y+=m.y,r.x=Math.round(r.x),r.y=Math.round(r.y),r.w=Math.ceil(r.w),r.h=Math.ceil(r.h),this.aroundRect=r;var g=this.text(n,this.plot);g&&t.show(this._format(g),this.aroundRect,a),this.mouseOver||(this._handle=o.connect(i.doc,"onclick",this,"onClick"))}},onClick:function(){this.process({type:"onmouseout"})},_recheckPosition:function(t,e,n){},_format:function(t){return t}});return l("dojo-bidi")?n("dojox.charting.action2d.Tooltip",[p,c]):p}))},4590:function(t,e){define("dojox/charting/action2d/Tooltip",["dijit/Tooltip","dojo/_base/lang","dojo/_base/declare","dojo/_base/window","dojo/_base/connect","dojo/dom-style","./PlotAction","dojox/gfx/matrix","dojo/has","dojo/has!dojo-bidi?../bidi/action2d/Tooltip","dojox/lang/functional","dojox/lang/functional/scan","dojox/lang/functional/fold"],(function(t,e,n,i,o,r,a,s,l,c,d){var h=function(t,e){var n=t.run&&t.run.data&&t.run.data[t.index];return n&&"number"!=typeof n&&(n.tooltip||n.text)?n.tooltip||n.text:e.tooltipFunc?e.tooltipFunc(t):t.y},u=Math.PI/4,f=Math.PI/2,p=n(l("dojo-bidi")?"dojox.charting.action2d.NonBidiTooltip":"dojox.charting.action2d.Tooltip",a,{defaultParams:{text:h,mouseOver:!0},optionalParams:{},constructor:function(t,e,n){this.text=n&&n.text?n.text:h,this.mouseOver=!n||null==n.mouseOver||n.mouseOver,this.connect()},process:function(n){if("onplotreset"===n.type||"onmouseout"===n.type)return t.hide(this.aroundRect),this.aroundRect=null,void("onplotreset"===n.type&&delete this.angles);if(!(!n.shape||this.mouseOver&&"onmouseover"!==n.type||!this.mouseOver&&"onclick"!==n.type)){var r={type:"rect"},a=["after-centered","before-centered"];switch(n.element){case"marker":r.x=n.cx,r.y=n.cy,r.w=r.h=1;break;case"circle":r.x=n.cx-n.cr,r.y=n.cy-n.cr,r.w=r.h=2*n.cr;break;case"spider_circle":r.x=n.cx,r.y=n.cy,r.w=r.h=1;break;case"spider_plot":return;case"column":a=["above-centered","below-centered"];case"bar":(r=e.clone(n.shape.getShape())).w=r.width,r.h=r.height;break;case"candlestick":r.x=n.x,r.y=n.y,r.w=n.width,r.h=n.height;break;default:if(!this.angles){var c="number"==typeof n.run.data[0]?d.map(n.run.data,"x ? Math.max(x, 0) : 0"):d.map(n.run.data,"x ? Math.max(x.y, 0) : 0");this.angles=d.map(d.scanl(c,"+",0),"* 2 * Math.PI / this",d.foldl(c,"+",0))}var h=s._degToRad(n.plot.opt.startAngle),p=(this.angles[n.index]+this.angles[n.index+1])/2+h;r.x=n.cx+n.cr*Math.cos(p),r.y=n.cy+n.cr*Math.sin(p),r.w=r.h=1,h&&(p<0||p>2*Math.PI)&&(p=Math.abs(2*Math.PI-Math.abs(p))),p<u||(p<f+u?a=["below-centered","above-centered"]:p<Math.PI+u?a=["before-centered","after-centered"]:p<2*Math.PI-u&&(a=["above-centered","below-centered"]))}l("dojo-bidi")&&this._recheckPosition(n,r,a);var m=this.chart.getCoords();r.x+=m.x,r.y+=m.y,r.x=Math.round(r.x),r.y=Math.round(r.y),r.w=Math.ceil(r.w),r.h=Math.ceil(r.h),this.aroundRect=r;var g=this.text(n,this.plot);g&&t.show(this._format(g),this.aroundRect,a),this.mouseOver||(this._handle=o.connect(i.doc,"onclick",this,"onClick"))}},onClick:function(){this.process({type:"onmouseout"})},_recheckPosition:function(t,e,n){},_format:function(t){return t}});return l("dojo-bidi")?n("dojox.charting.action2d.Tooltip",[p,c]):p}))},7732:function(t,e){define("dojox/charting/axis2d/Base",["dojo/_base/declare","../Element"],(function(t,e){return t("dojox.charting.axis2d.Base",e,{constructor:function(t,e){this.vertical=e&&e.vertical,this.opt={},this.opt.min=e&&e.min,this.opt.max=e&&e.max},clear:function(){return this},initialized:function(){return!1},calculate:function(t,e,n){return this},getScaler:function(){return null},getTicks:function(){return null},getOffsets:function(){return{l:0,r:0,t:0,b:0}},render:function(t,e){return this.dirty=!1,this}})}))},2263:function(t,e){define("dojox/charting/axis2d/Base",["dojo/_base/declare","../Element"],(function(t,e){return t("dojox.charting.axis2d.Base",e,{constructor:function(t,e){this.vertical=e&&e.vertical,this.opt={},this.opt.min=e&&e.min,this.opt.max=e&&e.max},clear:function(){return this},initialized:function(){return!1},calculate:function(t,e,n){return this},getScaler:function(){return null},getTicks:function(){return null},getOffsets:function(){return{l:0,r:0,t:0,b:0}},render:function(t,e){return this.dirty=!1,this}})}))},3812:function(t,e){define("dojox/charting/axis2d/Default",["dojo/_base/lang","dojo/_base/array","dojo/sniff","dojo/_base/declare","dojo/_base/connect","dojo/dom-geometry","./Invisible","../scaler/linear","./common","dojox/gfx","dojox/lang/utils","dojox/lang/functional","dojo/has!dojo-bidi?../bidi/axis2d/Default"],(function(t,e,n,i,o,r,a,s,l,c,d,h,u){var f=i(n("dojo-bidi")?"dojox.charting.axis2d.NonBidiDefault":"dojox.charting.axis2d.Default",a,{defaultParams:{vertical:!1,fixUpper:"none",fixLower:"none",natural:!1,leftBottom:!0,includeZero:!1,fixed:!0,majorLabels:!0,minorTicks:!0,minorLabels:!0,microTicks:!1,rotation:0,htmlLabels:!0,enableCache:!1,dropLabels:!0,labelSizeChange:!1,position:"leftOrBottom"},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(e,n){this.opt=t.clone(this.defaultParams),d.updateWithObject(this.opt,n),d.updateWithPattern(this.opt,n,this.optionalParams),this.opt.enableCache&&(this._textFreePool=[],this._lineFreePool=[],this._textUsePool=[],this._lineUsePool=[]),this._invalidMaxLabelSize=!0,n&&"position"in n||(this.opt.position=this.opt.leftBottom?"leftOrBottom":"rightOrTop"),this.renderingOptions={"shape-rendering":"crispEdges"}},setWindow:function(t,e){return t!=this.scale&&(this._invalidMaxLabelSize=!0),this.inherited(arguments)},_groupLabelWidth:function(e,n,i){if(!e.length)return 0;e.length>50&&(e.length=50),t.isObject(e[0])&&(e=h.map(e,(function(t){return t.text}))),i&&(e=h.map(e,(function(e){return 0==t.trim(e).length?"":e.substring(0,i)+this.trailingSymbol}),this));var o=e.join("<br>");return c._base._getTextBox(o,{font:n}).w||0},_getMaxLabelSize:function(n,i,o,r,a,l){if(null==this._maxLabelSize&&6==arguments.length){var c=this.opt;this.scaler.minMinorStep=this._prevMinMinorStep=0;var d=t.clone(c);delete d.to,delete d.from;var h=s.buildScaler(n,i,o,d,c.to-c.from);h.minMinorStep=0,this._majorStart=h.major.start;var u=s.buildTicks(h,c);if(l&&u){var f=0,p=0,m=function(t){t.label&&this.push(t.label)},g=[];this.opt.majorLabels&&(e.forEach(u.major,m,g),f=this._groupLabelWidth(g,a,d.maxLabelCharCount),d.maxLabelSize&&(f=Math.min(d.maxLabelSize,f))),g=[],this.opt.dropLabels&&this.opt.minorLabels&&(e.forEach(u.minor,m,g),p=this._groupLabelWidth(g,a,d.maxLabelCharCount),d.maxLabelSize&&(p=Math.min(d.maxLabelSize,p))),this._maxLabelSize={majLabelW:f,minLabelW:p,majLabelH:l,minLabelH:l}}else this._maxLabelSize=null}return this._maxLabelSize},calculate:function(t,e,n){if(this.inherited(arguments),this.scaler.minMinorStep=this._prevMinMinorStep,(this._invalidMaxLabelSize||n!=this._oldSpan)&&t!=1/0&&e!=-1/0){this._invalidMaxLabelSize=!1,this.opt.labelSizeChange&&(this._maxLabelSize=null),this._oldSpan=n;var i=this.opt,o=this.chart.theme.axis,r=i.rotation%360,a=this.chart.theme.axis.tick.labelGap,l=i.font||o.majorTick&&o.majorTick.font||o.tick&&o.tick.font,d=l?c.normalizedLength(c.splitFontString(l).size):0,h=this._getMaxLabelSize(t,e,n,r,l,d);if("number"!=typeof a&&(a=4),h&&i.dropLabels){var u,f,p=Math.abs(Math.cos(r*Math.PI/180)),m=Math.abs(Math.sin(r*Math.PI/180));switch(r<0&&(r+=360),r){case 0:case 180:this.vertical?u=f=d:(u=h.majLabelW,f=h.minLabelW);break;case 90:case 270:this.vertical?(u=h.majLabelW,f=h.minLabelW):u=f=d;break;default:u=this.vertical?Math.min(h.majLabelW,d/p):Math.min(h.majLabelW,d/m);var g=Math.sqrt(h.minLabelW*h.minLabelW+d*d),y=this.vertical?d*p+h.minLabelW*m:h.minLabelW*p+d*m;f=Math.min(g,y)}this.scaler.minMinorStep=this._prevMinMinorStep=Math.max(u,f)+a;var v=this.scaler.minMinorStep<=this.scaler.minor.tick*this.scaler.bounds.scale;this._skipInterval=v?0:Math.floor((u+a)/(this.scaler.major.tick*this.scaler.bounds.scale))}else this._skipInterval=0}return this.ticks=s.buildTicks(this.scaler,this.opt),this},getOffsets:function(){var t={l:0,r:0,t:0,b:0};if(!this.scaler)return t;var e=this.opt,n=this.chart.theme.axis,i=this.chart.theme.axis.tick.labelGap,o=e.titleFont||n.title&&n.title.font,r=0==e.titleGap?0:e.titleGap||n.title&&n.title.gap,a=this.chart.theme.getTick("major",e),s=this.chart.theme.getTick("minor",e),l=o?c.normalizedLength(c.splitFontString(o).size):0,d=e.rotation%360,h=e.position,u="rightOrTop"!==h,f=Math.abs(Math.cos(d*Math.PI/180)),p=Math.abs(Math.sin(d*Math.PI/180));this.trailingSymbol=void 0===e.trailingSymbol||null===e.trailingSymbol?this.trailingSymbol:e.trailingSymbol,"number"!=typeof i&&(i=4),d<0&&(d+=360);var m=this._getMaxLabelSize();if(m){var g,y=Math.ceil(Math.max(m.majLabelW,m.minLabelW))+1,v=Math.ceil(Math.max(m.majLabelH,m.minLabelH))+1;if(this.vertical){switch(g=u?"l":"r",d){case 0:case 180:t[g]="center"===h?0:y,t.t=t.b=v/2;break;case 90:case 270:t[g]=v,t.t=t.b=y/2;break;default:d<=45||180<d&&d<=225?(t[g]=v*p/2+y*f,t[u?"t":"b"]=v*f/2+y*p,t[u?"b":"t"]=v*f/2):d>315||180>d&&d>135?(t[g]=v*p/2+y*f,t[u?"b":"t"]=v*f/2+y*p,t[u?"t":"b"]=v*f/2):d<90||180<d&&d<270?(t[g]=v*p+y*f,t[u?"t":"b"]=v*f+y*p):(t[g]=v*p+y*f,t[u?"b":"t"]=v*f+y*p)}"center"===h?t[g]=0:t[g]+=i+Math.max(a.length>0?a.length:0,s.length>0?s.length:0)+(e.title?l+r:0)}else{switch(g=u?"b":"t",d){case 0:case 180:t[g]="center"===h?0:v,t.l=t.r=y/2;break;case 90:case 270:t[g]=y,t.l=t.r=v/2;break;default:45<=d&&d<=90||225<=d&&d<=270?(t[g]=v*f/2+y*p,t[u?"r":"l"]=v*p/2+y*f,t[u?"l":"r"]=v*p/2):90<=d&&d<=135||270<=d&&d<=315?(t[g]=v*f/2+y*p,t[u?"l":"r"]=v*p/2+y*f,t[u?"r":"l"]=v*p/2):d<45||180<d&&d<225?(t[g]=v*f+y*p,t[u?"r":"l"]=v*p+y*f):(t[g]=v*f+y*p,t[u?"l":"r"]=v*p+y*f)}"center"===h?t[g]=0:t[g]+=i+Math.max(a.length>0?a.length:0,s.length>0?s.length:0)+(e.title?l+r:0)}}return t},cleanGroup:function(t){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(t,e,n,i,o,r,a,s,c){return this.opt.enableCache&&"html"!=t?(this._textFreePool.length>0?((d=this._textFreePool.pop()).setShape({x:n,y:i,text:r,align:o}),e.add(d)):d=l.createText[t](this.chart,e,n,i,o,r,a,s),this._textUsePool.push(d),d):l.createText[t](this.chart,e,n,i,o,r,a,s,c);var d},createLine:function(t,e){var n;return this.opt.enableCache&&this._lineFreePool.length>0?((n=this._lineFreePool.pop()).setShape(e),t.add(n)):n=t.createLine(e),this.opt.enableCache&&this._lineUsePool.push(n),n},render:function(t,i){var o=this._isRtl();if(!this.dirty||!this.scaler)return this;var r,a,d,h,u,f,p,m,g,y=this.opt,v=this.chart.theme.axis,b=y.position,x="rightOrTop"!==b,_=y.rotation%360,j=0,w=this.chart.theme.axis.tick.labelGap,k=y.font||v.majorTick&&v.majorTick.font||v.tick&&v.tick.font,C=y.titleFont||v.title&&v.title.font,S=y.fontColor||v.majorTick&&v.majorTick.fontColor||v.tick&&v.tick.fontColor||"black",M=y.titleFontColor||v.title&&v.title.fontColor||"black",T=0==y.titleGap?0:y.titleGap||v.title&&v.title.gap||15,A=y.titleOrientation||v.title&&v.title.orientation||"axis",N=this.chart.theme.getTick("major",y),E=this.chart.theme.getTick("minor",y),P=this.chart.theme.getTick("micro",y),L="stroke"in y?y.stroke:v.stroke,D=k?c.normalizedLength(c.splitFontString(k).size):0,F=Math.abs(Math.cos(_*Math.PI/180)),I=Math.abs(Math.sin(_*Math.PI/180)),R=C?c.normalizedLength(c.splitFontString(C).size):0;"number"!=typeof w&&(w=4),_<0&&(_+=360);var B=this._getMaxLabelSize();if(B=B&&B.majLabelW,this.vertical){switch(r={y:t.height-i.b},a={y:i.t},d={y:(t.height-i.b+i.t)/2},h=D*I+(B||0)*F+w+Math.max(N.length>0?N.length:0,E.length>0?E.length:0)+R+T,u={x:0,y:-1},m={x:0,y:0},f={x:1,y:0},p={x:w,y:0},_){case 0:g="end",m.y=.4*D;break;case 90:g="middle",m.x=-D;break;case 180:g="start",m.y=.4*-D;break;case 270:g="middle";break;default:_<45||_<90?(g="end",m.y=.4*D):_<135?g="start":_<225?(g="start",m.y=.4*-D):_<270?(g="start",m.x=x?0:.4*D):_<315?(g="end",m.x=x?0:.4*D):(g="end",m.y=.4*D)}if(x)r.x=a.x="center"===b?t.width/2:i.l,j=A&&"away"==A?90:270,d.x=i.l-h+(270==j?R:0),f.x=-1,p.x=-p.x;else switch(r.x=a.x=t.width-i.r,j=A&&"axis"==A?90:270,d.x=t.width-i.r+h-(270==j?0:R),g){case"start":g="end";break;case"end":g="start";break;case"middle":m.x+=D}}else{switch(r={x:i.l},a={x:t.width-i.r},d={x:(t.width-i.r+i.l)/2},h=D*F+(B||0)*I+w+Math.max(N.length>0?N.length:0,E.length>0?E.length:0)+R+T,u={x:o?-1:1,y:0},m={x:0,y:0},f={x:0,y:1},p={x:0,y:w},_){case 0:g="middle",m.y=D;break;case 90:g="start",m.x=.4*-D;break;case 180:g="middle";break;case 270:g="end",m.x=.4*D;break;default:_<45?(g="start",m.y=x?D:0):_<135?(g="start",m.x=.4*-D):_<180?(g="start",m.y=x?0:-D):_<225?(g="end",m.y=x?0:-D):_<315?(g="end",m.y=x?.4*D:0):(g="end",m.y=x?D:0)}if(x)r.y=a.y="center"===b?t.height/2:t.height-i.b,j=A&&"axis"==A?180:0,d.y=t.height-i.b+h-(j?R:0);else switch(r.y=a.y=i.t,j=A&&"away"==A?180:0,d.y=i.t-h+(j?0:R),f.y=-1,p.y=-p.y,g){case"start":g="end";break;case"end":g="start";break;case"middle":m.y-=D}}this.cleanGroup();var O=this.group,W=this.scaler,z=this.ticks,q=s.getTransformerFromModel(this.scaler),H=y.title&&j||_||!this.opt.htmlLabels||n("ie")||n("opera")?"gfx":"html",U=f.x*N.length,G=f.y*N.length,V=this._skipInterval;if(O.createLine({x1:r.x,y1:r.y,x2:a.x,y2:a.y}).setStroke(L),y.title){var K=l.createText[H](this.chart,O,d.x,d.y,"middle",y.title,C,M);"html"==H?this.htmlElements.push(K):K.setTransform(c.matrix.rotategAt(j,d.x,d.y))}if(null==z)return this.dirty=!1,this;var X=z.major.length>0?(z.major[0].value-this._majorStart)/W.major.tick:0,$=this.opt.majorLabels;return e.forEach(z.major,(function(t,e){var n,i=q(t.value),s=(o?a.x:r.x)+u.x*i,l=r.y+u.y*i;if(e+=X,this.createLine(O,{x1:s,y1:l,x2:s+U,y2:l+G}).setStroke(N),t.label&&(!V||(e-(1+V))%(1+V)==0)){var d=y.maxLabelCharCount?this.getTextWithLimitCharCount(t.label,k,y.maxLabelCharCount):{text:t.label,truncated:!1};d=y.maxLabelSize?this.getTextWithLimitLength(d.text,k,y.maxLabelSize,d.truncated):d,n=this.createText(H,O,s+(N.length>0?U:0)+p.x+(_?0:m.x),l+(N.length>0?G:0)+p.y+(_?0:m.y),g,d.text,k,S),d.truncated&&this.chart.formatTruncatedLabel(n,t.label,H),d.truncated&&this.labelTooltip(n,this.chart,t.label,d.text,k,H),"html"==H?this.htmlElements.push(n):_&&n.setTransform([{dx:m.x,dy:m.y},c.matrix.rotategAt(_,s+(N.length>0?U:0)+p.x,l+(N.length>0?G:0)+p.y)])}}),this),U=f.x*E.length,G=f.y*E.length,$=this.opt.minorLabels&&W.minMinorStep<=W.minor.tick*W.bounds.scale,e.forEach(z.minor,(function(t){var e,n=q(t.value),i=(o?a.x:r.x)+u.x*n,s=r.y+u.y*n;if(this.createLine(O,{x1:i,y1:s,x2:i+U,y2:s+G}).setStroke(E),$&&t.label){var l=y.maxLabelCharCount?this.getTextWithLimitCharCount(t.label,k,y.maxLabelCharCount):{text:t.label,truncated:!1};l=y.maxLabelSize?this.getTextWithLimitLength(l.text,k,y.maxLabelSize,l.truncated):l,e=this.createText(H,O,i+(E.length>0?U:0)+p.x+(_?0:m.x),s+(E.length>0?G:0)+p.y+(_?0:m.y),g,l.text,k,S),l.truncated&&this.chart.formatTruncatedLabel(e,t.label,H),l.truncated&&this.labelTooltip(e,this.chart,t.label,l.text,k,H),"html"==H?this.htmlElements.push(e):_&&e.setTransform([{dx:m.x,dy:m.y},c.matrix.rotategAt(_,i+(E.length>0?U:0)+p.x,s+(E.length>0?G:0)+p.y)])}}),this),U=f.x*P.length,G=f.y*P.length,e.forEach(z.micro,(function(t){var e=q(t.value),n=r.x+u.x*e,i=r.y+u.y*e;this.createLine(O,{x1:n,y1:i,x2:n+U,y2:i+G}).setStroke(P)}),this),this.dirty=!1,this},labelTooltip:function(e,n,i,a,s,l){var d=["dijit/Tooltip"],h={type:"rect"},u=["above","below"],f=c._base._getTextBox(a,{font:s}).w||0,p=s?c.normalizedLength(c.splitFontString(s).size):0;if("html"==l)t.mixin(h,r.position(e.firstChild,!0)),h.width=Math.ceil(f),h.height=Math.ceil(p),this._events.push({shape:dojo,handle:o.connect(e.firstChild,"onmouseover",this,(function(t){require(d,(function(t){t.show(i,h,u)}))}))}),this._events.push({shape:dojo,handle:o.connect(e.firstChild,"onmouseout",this,(function(t){require(d,(function(t){t.hide(h)}))}))});else{var m=e.getShape(),g=n.getCoords();(h=t.mixin(h,{x:m.x-f/2,y:m.y})).x+=g.x,h.y+=g.y,h.x=Math.round(h.x),h.y=Math.round(h.y),h.width=Math.ceil(f),h.height=Math.ceil(p),this._events.push({shape:e,handle:e.connect("onmouseenter",this,(function(t){require(d,(function(t){t.show(i,h,u)}))}))}),this._events.push({shape:e,handle:e.connect("onmouseleave",this,(function(t){require(d,(function(t){t.hide(h)}))}))})}},_isRtl:function(){return!1}});return n("dojo-bidi")?i("dojox.charting.axis2d.Default",[f,u]):f}))},311:function(t,e){define("dojox/charting/axis2d/Default",["dojo/_base/lang","dojo/_base/array","dojo/sniff","dojo/_base/declare","dojo/_base/connect","dojo/dom-geometry","./Invisible","../scaler/linear","./common","dojox/gfx","dojox/lang/utils","dojox/lang/functional","dojo/has!dojo-bidi?../bidi/axis2d/Default"],(function(t,e,n,i,o,r,a,s,l,c,d,h,u){var f=i(n("dojo-bidi")?"dojox.charting.axis2d.NonBidiDefault":"dojox.charting.axis2d.Default",a,{defaultParams:{vertical:!1,fixUpper:"none",fixLower:"none",natural:!1,leftBottom:!0,includeZero:!1,fixed:!0,majorLabels:!0,minorTicks:!0,minorLabels:!0,microTicks:!1,rotation:0,htmlLabels:!0,enableCache:!1,dropLabels:!0,labelSizeChange:!1,position:"leftOrBottom"},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(e,n){this.opt=t.clone(this.defaultParams),d.updateWithObject(this.opt,n),d.updateWithPattern(this.opt,n,this.optionalParams),this.opt.enableCache&&(this._textFreePool=[],this._lineFreePool=[],this._textUsePool=[],this._lineUsePool=[]),this._invalidMaxLabelSize=!0,n&&"position"in n||(this.opt.position=this.opt.leftBottom?"leftOrBottom":"rightOrTop"),this.renderingOptions={"shape-rendering":"crispEdges"}},setWindow:function(t,e){return t!=this.scale&&(this._invalidMaxLabelSize=!0),this.inherited(arguments)},_groupLabelWidth:function(e,n,i){if(!e.length)return 0;e.length>50&&(e.length=50),t.isObject(e[0])&&(e=h.map(e,(function(t){return t.text}))),i&&(e=h.map(e,(function(e){return 0==t.trim(e).length?"":e.substring(0,i)+this.trailingSymbol}),this));var o=e.join("<br>");return c._base._getTextBox(o,{font:n}).w||0},_getMaxLabelSize:function(n,i,o,r,a,l){if(null==this._maxLabelSize&&6==arguments.length){var c=this.opt;this.scaler.minMinorStep=this._prevMinMinorStep=0;var d=t.clone(c);delete d.to,delete d.from;var h=s.buildScaler(n,i,o,d,c.to-c.from);h.minMinorStep=0,this._majorStart=h.major.start;var u=s.buildTicks(h,c);if(l&&u){var f=0,p=0,m=function(t){t.label&&this.push(t.label)},g=[];this.opt.majorLabels&&(e.forEach(u.major,m,g),f=this._groupLabelWidth(g,a,d.maxLabelCharCount),d.maxLabelSize&&(f=Math.min(d.maxLabelSize,f))),g=[],this.opt.dropLabels&&this.opt.minorLabels&&(e.forEach(u.minor,m,g),p=this._groupLabelWidth(g,a,d.maxLabelCharCount),d.maxLabelSize&&(p=Math.min(d.maxLabelSize,p))),this._maxLabelSize={majLabelW:f,minLabelW:p,majLabelH:l,minLabelH:l}}else this._maxLabelSize=null}return this._maxLabelSize},calculate:function(t,e,n){if(this.inherited(arguments),this.scaler.minMinorStep=this._prevMinMinorStep,(this._invalidMaxLabelSize||n!=this._oldSpan)&&t!=1/0&&e!=-1/0){this._invalidMaxLabelSize=!1,this.opt.labelSizeChange&&(this._maxLabelSize=null),this._oldSpan=n;var i=this.opt,o=this.chart.theme.axis,r=i.rotation%360,a=this.chart.theme.axis.tick.labelGap,l=i.font||o.majorTick&&o.majorTick.font||o.tick&&o.tick.font,d=l?c.normalizedLength(c.splitFontString(l).size):0,h=this._getMaxLabelSize(t,e,n,r,l,d);if("number"!=typeof a&&(a=4),h&&i.dropLabels){var u,f,p=Math.abs(Math.cos(r*Math.PI/180)),m=Math.abs(Math.sin(r*Math.PI/180));switch(r<0&&(r+=360),r){case 0:case 180:this.vertical?u=f=d:(u=h.majLabelW,f=h.minLabelW);break;case 90:case 270:this.vertical?(u=h.majLabelW,f=h.minLabelW):u=f=d;break;default:u=this.vertical?Math.min(h.majLabelW,d/p):Math.min(h.majLabelW,d/m);var g=Math.sqrt(h.minLabelW*h.minLabelW+d*d),y=this.vertical?d*p+h.minLabelW*m:h.minLabelW*p+d*m;f=Math.min(g,y)}this.scaler.minMinorStep=this._prevMinMinorStep=Math.max(u,f)+a;var v=this.scaler.minMinorStep<=this.scaler.minor.tick*this.scaler.bounds.scale;this._skipInterval=v?0:Math.floor((u+a)/(this.scaler.major.tick*this.scaler.bounds.scale))}else this._skipInterval=0}return this.ticks=s.buildTicks(this.scaler,this.opt),this},getOffsets:function(){var t={l:0,r:0,t:0,b:0};if(!this.scaler)return t;var e=this.opt,n=this.chart.theme.axis,i=this.chart.theme.axis.tick.labelGap,o=e.titleFont||n.title&&n.title.font,r=0==e.titleGap?0:e.titleGap||n.title&&n.title.gap,a=this.chart.theme.getTick("major",e),s=this.chart.theme.getTick("minor",e),l=o?c.normalizedLength(c.splitFontString(o).size):0,d=e.rotation%360,h=e.position,u="rightOrTop"!==h,f=Math.abs(Math.cos(d*Math.PI/180)),p=Math.abs(Math.sin(d*Math.PI/180));this.trailingSymbol=void 0===e.trailingSymbol||null===e.trailingSymbol?this.trailingSymbol:e.trailingSymbol,"number"!=typeof i&&(i=4),d<0&&(d+=360);var m=this._getMaxLabelSize();if(m){var g,y=Math.ceil(Math.max(m.majLabelW,m.minLabelW))+1,v=Math.ceil(Math.max(m.majLabelH,m.minLabelH))+1;if(this.vertical){switch(g=u?"l":"r",d){case 0:case 180:t[g]="center"===h?0:y,t.t=t.b=v/2;break;case 90:case 270:t[g]=v,t.t=t.b=y/2;break;default:d<=45||180<d&&d<=225?(t[g]=v*p/2+y*f,t[u?"t":"b"]=v*f/2+y*p,t[u?"b":"t"]=v*f/2):d>315||180>d&&d>135?(t[g]=v*p/2+y*f,t[u?"b":"t"]=v*f/2+y*p,t[u?"t":"b"]=v*f/2):d<90||180<d&&d<270?(t[g]=v*p+y*f,t[u?"t":"b"]=v*f+y*p):(t[g]=v*p+y*f,t[u?"b":"t"]=v*f+y*p)}"center"===h?t[g]=0:t[g]+=i+Math.max(a.length>0?a.length:0,s.length>0?s.length:0)+(e.title?l+r:0)}else{switch(g=u?"b":"t",d){case 0:case 180:t[g]="center"===h?0:v,t.l=t.r=y/2;break;case 90:case 270:t[g]=y,t.l=t.r=v/2;break;default:45<=d&&d<=90||225<=d&&d<=270?(t[g]=v*f/2+y*p,t[u?"r":"l"]=v*p/2+y*f,t[u?"l":"r"]=v*p/2):90<=d&&d<=135||270<=d&&d<=315?(t[g]=v*f/2+y*p,t[u?"l":"r"]=v*p/2+y*f,t[u?"r":"l"]=v*p/2):d<45||180<d&&d<225?(t[g]=v*f+y*p,t[u?"r":"l"]=v*p+y*f):(t[g]=v*f+y*p,t[u?"l":"r"]=v*p+y*f)}"center"===h?t[g]=0:t[g]+=i+Math.max(a.length>0?a.length:0,s.length>0?s.length:0)+(e.title?l+r:0)}}return t},cleanGroup:function(t){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(t,e,n,i,o,r,a,s,c){return this.opt.enableCache&&"html"!=t?(this._textFreePool.length>0?((d=this._textFreePool.pop()).setShape({x:n,y:i,text:r,align:o}),e.add(d)):d=l.createText[t](this.chart,e,n,i,o,r,a,s),this._textUsePool.push(d),d):l.createText[t](this.chart,e,n,i,o,r,a,s,c);var d},createLine:function(t,e){var n;return this.opt.enableCache&&this._lineFreePool.length>0?((n=this._lineFreePool.pop()).setShape(e),t.add(n)):n=t.createLine(e),this.opt.enableCache&&this._lineUsePool.push(n),n},render:function(t,i){var o=this._isRtl();if(!this.dirty||!this.scaler)return this;var r,a,d,h,u,f,p,m,g,y=this.opt,v=this.chart.theme.axis,b=y.position,x="rightOrTop"!==b,_=y.rotation%360,j=0,w=this.chart.theme.axis.tick.labelGap,k=y.font||v.majorTick&&v.majorTick.font||v.tick&&v.tick.font,C=y.titleFont||v.title&&v.title.font,S=y.fontColor||v.majorTick&&v.majorTick.fontColor||v.tick&&v.tick.fontColor||"black",M=y.titleFontColor||v.title&&v.title.fontColor||"black",T=0==y.titleGap?0:y.titleGap||v.title&&v.title.gap||15,A=y.titleOrientation||v.title&&v.title.orientation||"axis",N=this.chart.theme.getTick("major",y),E=this.chart.theme.getTick("minor",y),P=this.chart.theme.getTick("micro",y),L="stroke"in y?y.stroke:v.stroke,D=k?c.normalizedLength(c.splitFontString(k).size):0,F=Math.abs(Math.cos(_*Math.PI/180)),I=Math.abs(Math.sin(_*Math.PI/180)),R=C?c.normalizedLength(c.splitFontString(C).size):0;"number"!=typeof w&&(w=4),_<0&&(_+=360);var B=this._getMaxLabelSize();if(B=B&&B.majLabelW,this.vertical){switch(r={y:t.height-i.b},a={y:i.t},d={y:(t.height-i.b+i.t)/2},h=D*I+(B||0)*F+w+Math.max(N.length>0?N.length:0,E.length>0?E.length:0)+R+T,u={x:0,y:-1},m={x:0,y:0},f={x:1,y:0},p={x:w,y:0},_){case 0:g="end",m.y=.4*D;break;case 90:g="middle",m.x=-D;break;case 180:g="start",m.y=.4*-D;break;case 270:g="middle";break;default:_<45||_<90?(g="end",m.y=.4*D):_<135?g="start":_<225?(g="start",m.y=.4*-D):_<270?(g="start",m.x=x?0:.4*D):_<315?(g="end",m.x=x?0:.4*D):(g="end",m.y=.4*D)}if(x)r.x=a.x="center"===b?t.width/2:i.l,j=A&&"away"==A?90:270,d.x=i.l-h+(270==j?R:0),f.x=-1,p.x=-p.x;else switch(r.x=a.x=t.width-i.r,j=A&&"axis"==A?90:270,d.x=t.width-i.r+h-(270==j?0:R),g){case"start":g="end";break;case"end":g="start";break;case"middle":m.x+=D}}else{switch(r={x:i.l},a={x:t.width-i.r},d={x:(t.width-i.r+i.l)/2},h=D*F+(B||0)*I+w+Math.max(N.length>0?N.length:0,E.length>0?E.length:0)+R+T,u={x:o?-1:1,y:0},m={x:0,y:0},f={x:0,y:1},p={x:0,y:w},_){case 0:g="middle",m.y=D;break;case 90:g="start",m.x=.4*-D;break;case 180:g="middle";break;case 270:g="end",m.x=.4*D;break;default:_<45?(g="start",m.y=x?D:0):_<135?(g="start",m.x=.4*-D):_<180?(g="start",m.y=x?0:-D):_<225?(g="end",m.y=x?0:-D):_<315?(g="end",m.y=x?.4*D:0):(g="end",m.y=x?D:0)}if(x)r.y=a.y="center"===b?t.height/2:t.height-i.b,j=A&&"axis"==A?180:0,d.y=t.height-i.b+h-(j?R:0);else switch(r.y=a.y=i.t,j=A&&"away"==A?180:0,d.y=i.t-h+(j?0:R),f.y=-1,p.y=-p.y,g){case"start":g="end";break;case"end":g="start";break;case"middle":m.y-=D}}this.cleanGroup();var O=this.group,W=this.scaler,z=this.ticks,q=s.getTransformerFromModel(this.scaler),H=y.title&&j||_||!this.opt.htmlLabels||n("ie")||n("opera")?"gfx":"html",U=f.x*N.length,G=f.y*N.length,V=this._skipInterval;if(O.createLine({x1:r.x,y1:r.y,x2:a.x,y2:a.y}).setStroke(L),y.title){var K=l.createText[H](this.chart,O,d.x,d.y,"middle",y.title,C,M);"html"==H?this.htmlElements.push(K):K.setTransform(c.matrix.rotategAt(j,d.x,d.y))}if(null==z)return this.dirty=!1,this;var X=z.major.length>0?(z.major[0].value-this._majorStart)/W.major.tick:0,$=this.opt.majorLabels;return e.forEach(z.major,(function(t,e){var n,i=q(t.value),s=(o?a.x:r.x)+u.x*i,l=r.y+u.y*i;if(e+=X,this.createLine(O,{x1:s,y1:l,x2:s+U,y2:l+G}).setStroke(N),t.label&&(!V||(e-(1+V))%(1+V)==0)){var d=y.maxLabelCharCount?this.getTextWithLimitCharCount(t.label,k,y.maxLabelCharCount):{text:t.label,truncated:!1};d=y.maxLabelSize?this.getTextWithLimitLength(d.text,k,y.maxLabelSize,d.truncated):d,n=this.createText(H,O,s+(N.length>0?U:0)+p.x+(_?0:m.x),l+(N.length>0?G:0)+p.y+(_?0:m.y),g,d.text,k,S),d.truncated&&this.chart.formatTruncatedLabel(n,t.label,H),d.truncated&&this.labelTooltip(n,this.chart,t.label,d.text,k,H),"html"==H?this.htmlElements.push(n):_&&n.setTransform([{dx:m.x,dy:m.y},c.matrix.rotategAt(_,s+(N.length>0?U:0)+p.x,l+(N.length>0?G:0)+p.y)])}}),this),U=f.x*E.length,G=f.y*E.length,$=this.opt.minorLabels&&W.minMinorStep<=W.minor.tick*W.bounds.scale,e.forEach(z.minor,(function(t){var e,n=q(t.value),i=(o?a.x:r.x)+u.x*n,s=r.y+u.y*n;if(this.createLine(O,{x1:i,y1:s,x2:i+U,y2:s+G}).setStroke(E),$&&t.label){var l=y.maxLabelCharCount?this.getTextWithLimitCharCount(t.label,k,y.maxLabelCharCount):{text:t.label,truncated:!1};l=y.maxLabelSize?this.getTextWithLimitLength(l.text,k,y.maxLabelSize,l.truncated):l,e=this.createText(H,O,i+(E.length>0?U:0)+p.x+(_?0:m.x),s+(E.length>0?G:0)+p.y+(_?0:m.y),g,l.text,k,S),l.truncated&&this.chart.formatTruncatedLabel(e,t.label,H),l.truncated&&this.labelTooltip(e,this.chart,t.label,l.text,k,H),"html"==H?this.htmlElements.push(e):_&&e.setTransform([{dx:m.x,dy:m.y},c.matrix.rotategAt(_,i+(E.length>0?U:0)+p.x,s+(E.length>0?G:0)+p.y)])}}),this),U=f.x*P.length,G=f.y*P.length,e.forEach(z.micro,(function(t){var e=q(t.value),n=r.x+u.x*e,i=r.y+u.y*e;this.createLine(O,{x1:n,y1:i,x2:n+U,y2:i+G}).setStroke(P)}),this),this.dirty=!1,this},labelTooltip:function(e,n,i,a,s,l){var d=["dijit/Tooltip"],h={type:"rect"},u=["above","below"],f=c._base._getTextBox(a,{font:s}).w||0,p=s?c.normalizedLength(c.splitFontString(s).size):0;if("html"==l)t.mixin(h,r.position(e.firstChild,!0)),h.width=Math.ceil(f),h.height=Math.ceil(p),this._events.push({shape:dojo,handle:o.connect(e.firstChild,"onmouseover",this,(function(t){require(d,(function(t){t.show(i,h,u)}))}))}),this._events.push({shape:dojo,handle:o.connect(e.firstChild,"onmouseout",this,(function(t){require(d,(function(t){t.hide(h)}))}))});else{var m=e.getShape(),g=n.getCoords();(h=t.mixin(h,{x:m.x-f/2,y:m.y})).x+=g.x,h.y+=g.y,h.x=Math.round(h.x),h.y=Math.round(h.y),h.width=Math.ceil(f),h.height=Math.ceil(p),this._events.push({shape:e,handle:e.connect("onmouseenter",this,(function(t){require(d,(function(t){t.show(i,h,u)}))}))}),this._events.push({shape:e,handle:e.connect("onmouseleave",this,(function(t){require(d,(function(t){t.hide(h)}))}))})}},_isRtl:function(){return!1}});return n("dojo-bidi")?i("dojox.charting.axis2d.Default",[f,u]):f}))},4122:function(t,e){define("dojox/charting/axis2d/Invisible",["dojo/_base/lang","dojo/_base/declare","./Base","../scaler/linear","dojox/lang/utils"],(function(t,e,n,i,o){return e("dojox.charting.axis2d.Invisible",n,{defaultParams:{vertical:!1,fixUpper:"none",fixLower:"none",natural:!1,leftBottom:!0,includeZero:!1,fixed:!0},optionalParams:{min:0,max:1,from:0,to:1,majorTickStep:4,minorTickStep:2,microTickStep:1},constructor:function(e,n){this.opt=t.clone(this.defaultParams),o.updateWithObject(this.opt,n),o.updateWithPattern(this.opt,n,this.optionalParams)},dependOnData:function(){return!("min"in this.opt)||!("max"in this.opt)},clear:function(){return delete this.scaler,delete this.ticks,this.dirty=!0,this},initialized:function(){return"scaler"in this&&!(this.dirty&&this.dependOnData())},setWindow:function(t,e){return this.scale=t,this.offset=e,this.clear()},getWindowScale:function(){return"scale"in this?this.scale:1},getWindowOffset:function(){return"offset"in this?this.offset:0},calculate:function(t,e,n){if(this.initialized())return this;var o=this.opt;this.labels=o.labels,this.scaler=i.buildScaler(t,e,n,o);var r=this.scaler.bounds;return"scale"in this&&(o.from=r.lower+this.offset,o.to=(r.upper-r.lower)/this.scale+o.from,!isFinite(o.from)||isNaN(o.from)||!isFinite(o.to)||isNaN(o.to)||o.to-o.from>=r.upper-r.lower?(delete o.from,delete o.to,delete this.scale,delete this.offset):(o.from<r.lower?(o.to+=r.lower-o.from,o.from=r.lower):o.to>r.upper&&(o.from+=r.upper-o.to,o.to=r.upper),this.offset=o.from-r.lower),this.scaler=i.buildScaler(t,e,n,o),r=this.scaler.bounds,1==this.scale&&0==this.offset&&(delete this.scale,delete this.offset)),this},getScaler:function(){return this.scaler},getTicks:function(){return this.ticks}})}))},2221:function(t,e){define("dojox/charting/axis2d/Invisible",["dojo/_base/lang","dojo/_base/declare","./Base","../scaler/linear","dojox/lang/utils"],(function(t,e,n,i,o){return e("dojox.charting.axis2d.Invisible",n,{defaultParams:{vertical:!1,fixUpper:"none",fixLower:"none",natural:!1,leftBottom:!0,includeZero:!1,fixed:!0},optionalParams:{min:0,max:1,from:0,to:1,majorTickStep:4,minorTickStep:2,microTickStep:1},constructor:function(e,n){this.opt=t.clone(this.defaultParams),o.updateWithObject(this.opt,n),o.updateWithPattern(this.opt,n,this.optionalParams)},dependOnData:function(){return!("min"in this.opt)||!("max"in this.opt)},clear:function(){return delete this.scaler,delete this.ticks,this.dirty=!0,this},initialized:function(){return"scaler"in this&&!(this.dirty&&this.dependOnData())},setWindow:function(t,e){return this.scale=t,this.offset=e,this.clear()},getWindowScale:function(){return"scale"in this?this.scale:1},getWindowOffset:function(){return"offset"in this?this.offset:0},calculate:function(t,e,n){if(this.initialized())return this;var o=this.opt;this.labels=o.labels,this.scaler=i.buildScaler(t,e,n,o);var r=this.scaler.bounds;return"scale"in this&&(o.from=r.lower+this.offset,o.to=(r.upper-r.lower)/this.scale+o.from,!isFinite(o.from)||isNaN(o.from)||!isFinite(o.to)||isNaN(o.to)||o.to-o.from>=r.upper-r.lower?(delete o.from,delete o.to,delete this.scale,delete this.offset):(o.from<r.lower?(o.to+=r.lower-o.from,o.from=r.lower):o.to>r.upper&&(o.from+=r.upper-o.to,o.to=r.upper),this.offset=o.from-r.lower),this.scaler=i.buildScaler(t,e,n,o),r=this.scaler.bounds,1==this.scale&&0==this.offset&&(delete this.scale,delete this.offset)),this},getScaler:function(){return this.scaler},getTicks:function(){return this.ticks}})}))},4776:function(t,e){define("dojox/charting/axis2d/common",["dojo/_base/lang","dojo/_base/window","dojo/dom-geometry","dojox/gfx","dojo/has"],(function(t,e,n,i,o){var r=t.getObject("dojox.charting.axis2d.common",!0),a=function(t){t.marginLeft="0px",t.marginTop="0px",t.marginRight="0px",t.marginBottom="0px",t.paddingLeft="0px",t.paddingTop="0px",t.paddingRight="0px",t.paddingBottom="0px",t.borderLeftWidth="0px",t.borderTopWidth="0px",t.borderRightWidth="0px",t.borderBottomWidth="0px"};return t.mixin(r,{createText:{gfx:function(t,e,n,i,o,r,a,s){return e.createText({x:n,y:i,text:r,align:o}).setFont(a).setFill(s)},html:function(t,r,s,l,c,d,h,u,f){var p,m=e.doc.createElement("div"),g=m.style;t.getTextDir&&(m.dir=t.getTextDir(d)),a(g),g.font=h,m.innerHTML=String(d).replace(/\s/g," "),g.color=u,g.position="absolute",g.left="-10000px",e.body().appendChild(m);var y=i.normalizedLength(i.splitFontString(h).size);if(f||(p=function(t){if(t.getBoundingClientRect){var e=t.getBoundingClientRect();return e.width||e.right-e.left}return n.getMarginBox(t).w}(m)),"rtl"==m.dir&&(s+=f||p),e.body().removeChild(m),g.position="relative",f)switch(g.width=f+"px",c){case"middle":g.textAlign="center",g.left=s-f/2+"px";break;case"end":g.textAlign="right",g.left=s-f+"px";break;default:g.left=s+"px",g.textAlign="left"}else switch(c){case"middle":g.left=Math.floor(s-p/2)+"px";break;case"end":g.left=Math.floor(s-p)+"px";break;default:g.left=Math.floor(s)+"px"}g.top=Math.floor(l-y)+"px",g.whiteSpace="nowrap";var v=e.doc.createElement("div"),b=v.style;return a(b),b.width="0px",b.height="0px",v.appendChild(m),t.node.insertBefore(v,t.node.firstChild),o("dojo-bidi")&&t.htmlElementsRegistry.push([v,s,l,c,d,h,u]),v}}})}))},6963:function(t,e){define("dojox/charting/axis2d/common",["dojo/_base/lang","dojo/_base/window","dojo/dom-geometry","dojox/gfx","dojo/has"],(function(t,e,n,i,o){var r=t.getObject("dojox.charting.axis2d.common",!0),a=function(t){t.marginLeft="0px",t.marginTop="0px",t.marginRight="0px",t.marginBottom="0px",t.paddingLeft="0px",t.paddingTop="0px",t.paddingRight="0px",t.paddingBottom="0px",t.borderLeftWidth="0px",t.borderTopWidth="0px",t.borderRightWidth="0px",t.borderBottomWidth="0px"};return t.mixin(r,{createText:{gfx:function(t,e,n,i,o,r,a,s){return e.createText({x:n,y:i,text:r,align:o}).setFont(a).setFill(s)},html:function(t,r,s,l,c,d,h,u,f){var p,m=e.doc.createElement("div"),g=m.style;t.getTextDir&&(m.dir=t.getTextDir(d)),a(g),g.font=h,m.innerHTML=String(d).replace(/\s/g," "),g.color=u,g.position="absolute",g.left="-10000px",e.body().appendChild(m);var y=i.normalizedLength(i.splitFontString(h).size);if(f||(p=function(t){if(t.getBoundingClientRect){var e=t.getBoundingClientRect();return e.width||e.right-e.left}return n.getMarginBox(t).w}(m)),"rtl"==m.dir&&(s+=f||p),e.body().removeChild(m),g.position="relative",f)switch(g.width=f+"px",c){case"middle":g.textAlign="center",g.left=s-f/2+"px";break;case"end":g.textAlign="right",g.left=s-f+"px";break;default:g.left=s+"px",g.textAlign="left"}else switch(c){case"middle":g.left=Math.floor(s-p/2)+"px";break;case"end":g.left=Math.floor(s-p)+"px";break;default:g.left=Math.floor(s)+"px"}g.top=Math.floor(l-y)+"px",g.whiteSpace="nowrap";var v=e.doc.createElement("div"),b=v.style;return a(b),b.width="0px",b.height="0px",v.appendChild(m),t.node.insertBefore(v,t.node.firstChild),o("dojo-bidi")&&t.htmlElementsRegistry.push([v,s,l,c,d,h,u]),v}}})}))},1877:function(t,e){define("dojox/charting/plot2d/Areas",["dojo/_base/declare","./Default"],(function(t,e){return t("dojox.charting.plot2d.Areas",e,{constructor:function(){this.opt.lines=!0,this.opt.areas=!0}})}))},8790:function(t,e){define("dojox/charting/plot2d/Areas",["dojo/_base/declare","./Default"],(function(t,e){return t("dojox.charting.plot2d.Areas",e,{constructor:function(){this.opt.lines=!0,this.opt.areas=!0}})}))},4321:function(t,e){define("dojox/charting/plot2d/Bars",["dojo/_base/lang","dojo/_base/array","dojo/_base/declare","dojo/has","./CartesianBase","./_PlotEvents","./common","dojox/gfx/fx","dojox/lang/utils","dojox/lang/functional","dojox/lang/functional/reversed"],(function(t,e,n,i,o,r,a,s,l,c,d){var h=d.lambda("item.purgeGroup()");return n("dojox.charting.plot2d.Bars",[o,r],{defaultParams:{gap:0,animate:null,enableCache:!1},optionalParams:{minBarSize:1,maxBarSize:1,stroke:{},outline:{},shadow:{},fill:{},filter:{},styleFunc:null,font:"",fontColor:""},constructor:function(e,n){this.opt=t.clone(t.mixin(this.opt,this.defaultParams)),l.updateWithObject(this.opt,n),l.updateWithPattern(this.opt,n,this.optionalParams),this.animate=this.opt.animate,this.renderingOptions={"shape-rendering":"crispEdges"}},getSeriesStats:function(){var t,e=a.collectSimpleStats(this.series);return e.hmin-=.5,e.hmax+=.5,t=e.hmin,e.hmin=e.vmin,e.vmin=t,t=e.hmax,e.hmax=e.vmax,e.vmax=t,e},createRect:function(t,e,n){var i;return this.opt.enableCache&&t._rectFreePool.length>0?((i=t._rectFreePool.pop()).setShape(n),e.add(i)):i=e.createRect(n),this.opt.enableCache&&t._rectUsePool.push(i),i},createLabel:function(t,e,n,i){if(this.opt.labels&&"outside"==this.opt.labelStyle){var o=n.y+n.height/2,r=n.x+n.width+this.opt.labelOffset;this.renderLabel(t,r,o,this._getLabel(isNaN(e.y)?e:e.y),i,"start")}else this.inherited(arguments)},render:function(n,o){if(this.zoom&&!this.isDataDirty())return this.performZoom(n,o);var r;this.dirty=this.isDirty(),this.resetEvents(),this.dirty&&(e.forEach(this.series,h),this._eventSeries={},this.cleanGroup(),r=this.getGroup(),c.forEachRev(this.series,(function(t){t.cleanGroup(r)})));var a=this.chart.theme,s=this._hScaler.scaler.getTransformerFromModel(this._hScaler),l=this._vScaler.scaler.getTransformerFromModel(this._vScaler),d=Math.max(0,this._hScaler.bounds.lower),u=s(d),f=this.events(),p=this.getBarProperties(),m=this.series.length;e.forEach(this.series,(function(t){t.hidden&&m--}));for(var g=m,y=this.series.length-1;y>=0;--y){var v=this.series[y];if(this.dirty||v.dirty){v.cleanGroup(),this.opt.enableCache&&(v._rectFreePool=(v._rectFreePool?v._rectFreePool:[]).concat(v._rectUsePool?v._rectUsePool:[]),v._rectUsePool=[]);var b=a.next("bar",[this.opt,v]);if(v.hidden)v.dyn.fill=b.series.fill,v.dyn.stroke=b.series.stroke;else{g--;var x=new Array(v.data.length);r=v.group;for(var _=e.some(v.data,(function(t){return"number"==typeof t||t&&!t.hasOwnProperty("x")})),j=_?Math.max(0,Math.floor(this._vScaler.bounds.from-1)):0,w=_?Math.min(v.data.length,Math.ceil(this._vScaler.bounds.to)):v.data.length,k=j;k<w;++k){var C=v.data[k];if(null!=C){var S,M,T=this.getValue(C,k,y,_),A=s(T.y),N=Math.abs(A-u);if(this.opt.styleFunc||"number"!=typeof C){var E="number"!=typeof C?[C]:[];this.opt.styleFunc&&E.push(this.opt.styleFunc(C)),S=a.addMixin(b,"bar",E,!0)}else S=a.post(b,"bar");if(N>=0&&p.height>=1){var P={x:o.l+(T.y<d?A:u),y:n.height-o.b-l(T.x+1.5)+p.gap+p.thickness*(m-g-1),width:N,height:p.height};if(S.series.shadow){var L=t.clone(P);L.x+=S.series.shadow.dx,L.y+=S.series.shadow.dy,M=this.createRect(v,r,L).setFill(S.series.shadow.color).setStroke(S.series.shadow),this.animate&&this._animateBar(M,o.l+u,-N)}var D=this._plotFill(S.series.fill,n,o);D=this._shapeFill(D,P);var F=this.createRect(v,r,P).setFill(D).setStroke(S.series.stroke);if(F.setFilter&&S.series.filter&&F.setFilter(S.series.filter),v.dyn.fill=F.getFill(),v.dyn.stroke=F.getStroke(),f){var I={element:"bar",index:k,run:v,shape:F,shadow:M,cx:T.y,cy:T.x+1.5,x:_?k:v.data[k].x,y:_?v.data[k]:v.data[k].y};this._connectEvents(I),x[k]=I}!isNaN(T.py)&&T.py>d&&(P.x+=s(T.py),P.width-=s(T.py)),this.createLabel(r,C,P,S),this.animate&&this._animateBar(F,o.l+u,-N)}}}this._eventSeries[v.name]=x,v.dirty=!1}}else a.skip(),this._reconnectEvents(v.name)}return this.dirty=!1,i("dojo-bidi")&&this._checkOrientation(this.group,n,o),this},getValue:function(t,e,n,i){var o,r;return i?(o="number"==typeof t?t:t.y,r=e):(o=t.y,r=t.x-1),{y:o,x:r}},getBarProperties:function(){var t=a.calculateBarSize(this._vScaler.bounds.scale,this.opt);return{gap:t.gap,height:t.size,thickness:0}},_animateBar:function(e,n,i){0==i&&(i=1),s.animateTransform(t.delegate({shape:e,duration:1200,transform:[{name:"translate",start:[n-n/i,0],end:[0,0]},{name:"scale",start:[1/i,1],end:[1,1]},{name:"original"}]},this.animate)).play()}})}))},1610:function(t,e){define("dojox/charting/plot2d/Bars",["dojo/_base/lang","dojo/_base/array","dojo/_base/declare","dojo/has","./CartesianBase","./_PlotEvents","./common","dojox/gfx/fx","dojox/lang/utils","dojox/lang/functional","dojox/lang/functional/reversed"],(function(t,e,n,i,o,r,a,s,l,c,d){var h=d.lambda("item.purgeGroup()");return n("dojox.charting.plot2d.Bars",[o,r],{defaultParams:{gap:0,animate:null,enableCache:!1},optionalParams:{minBarSize:1,maxBarSize:1,stroke:{},outline:{},shadow:{},fill:{},filter:{},styleFunc:null,font:"",fontColor:""},constructor:function(e,n){this.opt=t.clone(t.mixin(this.opt,this.defaultParams)),l.updateWithObject(this.opt,n),l.updateWithPattern(this.opt,n,this.optionalParams),this.animate=this.opt.animate,this.renderingOptions={"shape-rendering":"crispEdges"}},getSeriesStats:function(){var t,e=a.collectSimpleStats(this.series);return e.hmin-=.5,e.hmax+=.5,t=e.hmin,e.hmin=e.vmin,e.vmin=t,t=e.hmax,e.hmax=e.vmax,e.vmax=t,e},createRect:function(t,e,n){var i;return this.opt.enableCache&&t._rectFreePool.length>0?((i=t._rectFreePool.pop()).setShape(n),e.add(i)):i=e.createRect(n),this.opt.enableCache&&t._rectUsePool.push(i),i},createLabel:function(t,e,n,i){if(this.opt.labels&&"outside"==this.opt.labelStyle){var o=n.y+n.height/2,r=n.x+n.width+this.opt.labelOffset;this.renderLabel(t,r,o,this._getLabel(isNaN(e.y)?e:e.y),i,"start")}else this.inherited(arguments)},render:function(n,o){if(this.zoom&&!this.isDataDirty())return this.performZoom(n,o);var r;this.dirty=this.isDirty(),this.resetEvents(),this.dirty&&(e.forEach(this.series,h),this._eventSeries={},this.cleanGroup(),r=this.getGroup(),c.forEachRev(this.series,(function(t){t.cleanGroup(r)})));var a=this.chart.theme,s=this._hScaler.scaler.getTransformerFromModel(this._hScaler),l=this._vScaler.scaler.getTransformerFromModel(this._vScaler),d=Math.max(0,this._hScaler.bounds.lower),u=s(d),f=this.events(),p=this.getBarProperties(),m=this.series.length;e.forEach(this.series,(function(t){t.hidden&&m--}));for(var g=m,y=this.series.length-1;y>=0;--y){var v=this.series[y];if(this.dirty||v.dirty){v.cleanGroup(),this.opt.enableCache&&(v._rectFreePool=(v._rectFreePool?v._rectFreePool:[]).concat(v._rectUsePool?v._rectUsePool:[]),v._rectUsePool=[]);var b=a.next("bar",[this.opt,v]);if(v.hidden)v.dyn.fill=b.series.fill,v.dyn.stroke=b.series.stroke;else{g--;var x=new Array(v.data.length);r=v.group;for(var _=e.some(v.data,(function(t){return"number"==typeof t||t&&!t.hasOwnProperty("x")})),j=_?Math.max(0,Math.floor(this._vScaler.bounds.from-1)):0,w=_?Math.min(v.data.length,Math.ceil(this._vScaler.bounds.to)):v.data.length,k=j;k<w;++k){var C=v.data[k];if(null!=C){var S,M,T=this.getValue(C,k,y,_),A=s(T.y),N=Math.abs(A-u);if(this.opt.styleFunc||"number"!=typeof C){var E="number"!=typeof C?[C]:[];this.opt.styleFunc&&E.push(this.opt.styleFunc(C)),S=a.addMixin(b,"bar",E,!0)}else S=a.post(b,"bar");if(N>=0&&p.height>=1){var P={x:o.l+(T.y<d?A:u),y:n.height-o.b-l(T.x+1.5)+p.gap+p.thickness*(m-g-1),width:N,height:p.height};if(S.series.shadow){var L=t.clone(P);L.x+=S.series.shadow.dx,L.y+=S.series.shadow.dy,M=this.createRect(v,r,L).setFill(S.series.shadow.color).setStroke(S.series.shadow),this.animate&&this._animateBar(M,o.l+u,-N)}var D=this._plotFill(S.series.fill,n,o);D=this._shapeFill(D,P);var F=this.createRect(v,r,P).setFill(D).setStroke(S.series.stroke);if(F.setFilter&&S.series.filter&&F.setFilter(S.series.filter),v.dyn.fill=F.getFill(),v.dyn.stroke=F.getStroke(),f){var I={element:"bar",index:k,run:v,shape:F,shadow:M,cx:T.y,cy:T.x+1.5,x:_?k:v.data[k].x,y:_?v.data[k]:v.data[k].y};this._connectEvents(I),x[k]=I}!isNaN(T.py)&&T.py>d&&(P.x+=s(T.py),P.width-=s(T.py)),this.createLabel(r,C,P,S),this.animate&&this._animateBar(F,o.l+u,-N)}}}this._eventSeries[v.name]=x,v.dirty=!1}}else a.skip(),this._reconnectEvents(v.name)}return this.dirty=!1,i("dojo-bidi")&&this._checkOrientation(this.group,n,o),this},getValue:function(t,e,n,i){var o,r;return i?(o="number"==typeof t?t:t.y,r=e):(o=t.y,r=t.x-1),{y:o,x:r}},getBarProperties:function(){var t=a.calculateBarSize(this._vScaler.bounds.scale,this.opt);return{gap:t.gap,height:t.size,thickness:0}},_animateBar:function(e,n,i){0==i&&(i=1),s.animateTransform(t.delegate({shape:e,duration:1200,transform:[{name:"translate",start:[n-n/i,0],end:[0,0]},{name:"scale",start:[1/i,1],end:[1,1]},{name:"original"}]},this.animate)).play()}})}))},3794:function(t,e){define("dojox/charting/plot2d/Base",["dojo/_base/declare","dojo/_base/array","dojox/gfx","../Element","./common","../axis2d/common","dojo/has"],(function(t,e,n,i,o,r,a){var s=t("dojox.charting.plot2d.Base",i,{constructor:function(t,e){e&&e.tooltipFunc&&(this.tooltipFunc=e.tooltipFunc)},clear:function(){return this.series=[],this.dirty=!0,this},setAxis:function(t){return this},assignAxes:function(t){e.forEach(this.axes,(function(e){this[e]&&this.setAxis(t[this[e]])}),this)},addSeries:function(t){return this.series.push(t),this},getSeriesStats:function(){return o.collectSimpleStats(this.series)},calculateAxes:function(t){return this.initializeScalers(t,this.getSeriesStats()),this},initializeScalers:function(){return this},isDataDirty:function(){return e.some(this.series,(function(t){return t.dirty}))},render:function(t,e){return this},renderLabel:function(t,e,i,o,a,s,l){var c=r.createText[this.opt.htmlLabels&&"vml"!=n.renderer?"html":"gfx"](this.chart,t,e,i,l||"middle",o,a.series.font,a.series.fontColor);return s&&(this.opt.htmlLabels&&"vml"!=n.renderer?c.style.pointerEvents="none":c.rawNode&&(c.rawNode.style.pointerEvents="none")),this.opt.htmlLabels&&"vml"!=n.renderer&&this.htmlElements.push(c),c},getRequiredColors:function(){return this.series.length},_getLabel:function(t){return o.getLabel(t,this.opt.fixed,this.opt.precision)}});return a("dojo-bidi")&&s.extend({_checkOrientation:function(t,e,n){this.chart.applyMirroring(this.group,e,n)}}),s}))},7781:function(t,e){define("dojox/charting/plot2d/Base",["dojo/_base/declare","dojo/_base/array","dojox/gfx","../Element","./common","../axis2d/common","dojo/has"],(function(t,e,n,i,o,r,a){var s=t("dojox.charting.plot2d.Base",i,{constructor:function(t,e){e&&e.tooltipFunc&&(this.tooltipFunc=e.tooltipFunc)},clear:function(){return this.series=[],this.dirty=!0,this},setAxis:function(t){return this},assignAxes:function(t){e.forEach(this.axes,(function(e){this[e]&&this.setAxis(t[this[e]])}),this)},addSeries:function(t){return this.series.push(t),this},getSeriesStats:function(){return o.collectSimpleStats(this.series)},calculateAxes:function(t){return this.initializeScalers(t,this.getSeriesStats()),this},initializeScalers:function(){return this},isDataDirty:function(){return e.some(this.series,(function(t){return t.dirty}))},render:function(t,e){return this},renderLabel:function(t,e,i,o,a,s,l){var c=r.createText[this.opt.htmlLabels&&"vml"!=n.renderer?"html":"gfx"](this.chart,t,e,i,l||"middle",o,a.series.font,a.series.fontColor);return s&&(this.opt.htmlLabels&&"vml"!=n.renderer?c.style.pointerEvents="none":c.rawNode&&(c.rawNode.style.pointerEvents="none")),this.opt.htmlLabels&&"vml"!=n.renderer&&this.htmlElements.push(c),c},getRequiredColors:function(){return this.series.length},_getLabel:function(t){return o.getLabel(t,this.opt.fixed,this.opt.precision)}});return a("dojo-bidi")&&s.extend({_checkOrientation:function(t,e,n){this.chart.applyMirroring(this.group,e,n)}}),s}))},1205:function(t,e){define("dojox/charting/plot2d/Bubble",["dojo/_base/lang","dojo/_base/declare","dojo/_base/array","dojo/has","./CartesianBase","./_PlotEvents","./common","dojox/lang/functional","dojox/lang/functional/reversed","dojox/lang/utils","dojox/gfx/fx"],(function(t,e,n,i,o,r,a,s,l,c,d){var h=l.lambda("item.purgeGroup()");return e("dojox.charting.plot2d.Bubble",[o,r],{defaultParams:{animate:null},optionalParams:{stroke:{},outline:{},shadow:{},fill:{},filter:{},styleFunc:null,font:"",fontColor:"",labelFunc:null},constructor:function(e,n){this.opt=t.clone(t.mixin(this.opt,this.defaultParams)),c.updateWithObject(this.opt,n),c.updateWithPattern(this.opt,n,this.optionalParams),this.opt.labelFunc||(this.opt.labelFunc=function(t,e,n){return this._getLabel(t.size,e,n)}),this.animate=this.opt.animate},render:function(t,e){var o;if(this.zoom&&!this.isDataDirty())return this.performZoom(t,e);this.resetEvents(),this.dirty=this.isDirty(),this.dirty&&(n.forEach(this.series,h),this._eventSeries={},this.cleanGroup(),o=this.getGroup(),s.forEachRev(this.series,(function(t){t.cleanGroup(o)})));for(var r=this.chart.theme,l=this._hScaler.scaler.getTransformerFromModel(this._hScaler),c=this._vScaler.scaler.getTransformerFromModel(this._vScaler),d=this.events(),u=this.series.length-1;u>=0;--u){var f=this.series[u];if(this.dirty||f.dirty)if(f.cleanGroup(),f.data.length)if("number"!=typeof f.data[0]){var p=r.next("circle",[this.opt,f]),m=n.map(f.data,(function(n){return n?{x:l(n.x)+e.l,y:t.height-e.b-c(n.y),radius:this._vScaler.bounds.scale*(n.size/2)}:null}),this);if(f.hidden)f.dyn.fill=p.series.fill,f.dyn.stroke=p.series.stroke;else{o=f.group;var g=null,y=null,v=null,b=this.opt.styleFunc,x=function(t){return b?r.addMixin(p,"circle",[t,b(t)],!0):r.addMixin(p,"circle",t,!0)};if(p.series.shadow&&(v=n.map(m,(function(n,i){if(null!==n){var r=x(f.data[i]).series.shadow,a=o.createCircle({cx:n.x+r.dx,cy:n.y+r.dy,r:n.radius}).setStroke(r).setFill(r.color);return this.animate&&this._animateBubble(a,t.height-e.b,n.radius),a}return null}),this),v.length&&(f.dyn.shadow=v[v.length-1].getStroke())),p.series.outline&&(y=n.map(m,(function(n,i){if(null!==n){var r=x(f.data[i]),s=a.makeStroke(r.series.outline);s.width=2*s.width+p.series.stroke.width;var l=o.createCircle({cx:n.x,cy:n.y,r:n.radius}).setStroke(s);return this.animate&&this._animateBubble(l,t.height-e.b,n.radius),l}return null}),this),y.length&&(f.dyn.outline=y[y.length-1].getStroke())),g=n.map(m,(function(n,i){if(null!==n){var r=x(f.data[i]),a={x:n.x-n.radius,y:n.y-n.radius,width:2*n.radius,height:2*n.radius},s=this._plotFill(r.series.fill,t,e);s=this._shapeFill(s,a);var l=o.createCircle({cx:n.x,cy:n.y,r:n.radius}).setFill(s).setStroke(r.series.stroke);return l.setFilter&&r.series.filter&&l.setFilter(r.series.filter),this.animate&&this._animateBubble(l,t.height-e.b,n.radius),this.createLabel(o,f.data[i],a,r),l}return null}),this),g.length&&(f.dyn.fill=g[g.length-1].getFill(),f.dyn.stroke=g[g.length-1].getStroke()),d){var _=new Array(g.length);n.forEach(g,(function(t,e){if(null!==t){var n={element:"circle",index:e,run:f,shape:t,outline:y&&y[e]||null,shadow:v&&v[e]||null,x:f.data[e].x,y:f.data[e].y,r:f.data[e].size/2,cx:m[e].x,cy:m[e].y,cr:m[e].radius};this._connectEvents(n),_[e]=n}}),this),this._eventSeries[f.name]=_}else delete this._eventSeries[f.name];f.dirty=!1}}else console.warn("dojox.charting.plot2d.Bubble: the data in the following series cannot be rendered as a bubble chart; ",f);else f.dirty=!1,r.skip();else r.skip(),this._reconnectEvents(f.name)}return this.dirty=!1,i("dojo-bidi")&&this._checkOrientation(this.group,t,e),this},_animateBubble:function(e,n,i){d.animateTransform(t.delegate({shape:e,duration:1200,transform:[{name:"translate",start:[0,n],end:[0,0]},{name:"scale",start:[0,1/i],end:[1,1]},{name:"original"}]},this.animate)).play()}})}))},9318:function(t,e){define("dojox/charting/plot2d/Bubble",["dojo/_base/lang","dojo/_base/declare","dojo/_base/array","dojo/has","./CartesianBase","./_PlotEvents","./common","dojox/lang/functional","dojox/lang/functional/reversed","dojox/lang/utils","dojox/gfx/fx"],(function(t,e,n,i,o,r,a,s,l,c,d){var h=l.lambda("item.purgeGroup()");return e("dojox.charting.plot2d.Bubble",[o,r],{defaultParams:{animate:null},optionalParams:{stroke:{},outline:{},shadow:{},fill:{},filter:{},styleFunc:null,font:"",fontColor:"",labelFunc:null},constructor:function(e,n){this.opt=t.clone(t.mixin(this.opt,this.defaultParams)),c.updateWithObject(this.opt,n),c.updateWithPattern(this.opt,n,this.optionalParams),this.opt.labelFunc||(this.opt.labelFunc=function(t,e,n){return this._getLabel(t.size,e,n)}),this.animate=this.opt.animate},render:function(t,e){var o;if(this.zoom&&!this.isDataDirty())return this.performZoom(t,e);this.resetEvents(),this.dirty=this.isDirty(),this.dirty&&(n.forEach(this.series,h),this._eventSeries={},this.cleanGroup(),o=this.getGroup(),s.forEachRev(this.series,(function(t){t.cleanGroup(o)})));for(var r=this.chart.theme,l=this._hScaler.scaler.getTransformerFromModel(this._hScaler),c=this._vScaler.scaler.getTransformerFromModel(this._vScaler),d=this.events(),u=this.series.length-1;u>=0;--u){var f=this.series[u];if(this.dirty||f.dirty)if(f.cleanGroup(),f.data.length)if("number"!=typeof f.data[0]){var p=r.next("circle",[this.opt,f]),m=n.map(f.data,(function(n){return n?{x:l(n.x)+e.l,y:t.height-e.b-c(n.y),radius:this._vScaler.bounds.scale*(n.size/2)}:null}),this);if(f.hidden)f.dyn.fill=p.series.fill,f.dyn.stroke=p.series.stroke;else{o=f.group;var g=null,y=null,v=null,b=this.opt.styleFunc,x=function(t){return b?r.addMixin(p,"circle",[t,b(t)],!0):r.addMixin(p,"circle",t,!0)};if(p.series.shadow&&(v=n.map(m,(function(n,i){if(null!==n){var r=x(f.data[i]).series.shadow,a=o.createCircle({cx:n.x+r.dx,cy:n.y+r.dy,r:n.radius}).setStroke(r).setFill(r.color);return this.animate&&this._animateBubble(a,t.height-e.b,n.radius),a}return null}),this),v.length&&(f.dyn.shadow=v[v.length-1].getStroke())),p.series.outline&&(y=n.map(m,(function(n,i){if(null!==n){var r=x(f.data[i]),s=a.makeStroke(r.series.outline);s.width=2*s.width+p.series.stroke.width;var l=o.createCircle({cx:n.x,cy:n.y,r:n.radius}).setStroke(s);return this.animate&&this._animateBubble(l,t.height-e.b,n.radius),l}return null}),this),y.length&&(f.dyn.outline=y[y.length-1].getStroke())),g=n.map(m,(function(n,i){if(null!==n){var r=x(f.data[i]),a={x:n.x-n.radius,y:n.y-n.radius,width:2*n.radius,height:2*n.radius},s=this._plotFill(r.series.fill,t,e);s=this._shapeFill(s,a);var l=o.createCircle({cx:n.x,cy:n.y,r:n.radius}).setFill(s).setStroke(r.series.stroke);return l.setFilter&&r.series.filter&&l.setFilter(r.series.filter),this.animate&&this._animateBubble(l,t.height-e.b,n.radius),this.createLabel(o,f.data[i],a,r),l}return null}),this),g.length&&(f.dyn.fill=g[g.length-1].getFill(),f.dyn.stroke=g[g.length-1].getStroke()),d){var _=new Array(g.length);n.forEach(g,(function(t,e){if(null!==t){var n={element:"circle",index:e,run:f,shape:t,outline:y&&y[e]||null,shadow:v&&v[e]||null,x:f.data[e].x,y:f.data[e].y,r:f.data[e].size/2,cx:m[e].x,cy:m[e].y,cr:m[e].radius};this._connectEvents(n),_[e]=n}}),this),this._eventSeries[f.name]=_}else delete this._eventSeries[f.name];f.dirty=!1}}else console.warn("dojox.charting.plot2d.Bubble: the data in the following series cannot be rendered as a bubble chart; ",f);else f.dirty=!1,r.skip();else r.skip(),this._reconnectEvents(f.name)}return this.dirty=!1,i("dojo-bidi")&&this._checkOrientation(this.group,t,e),this},_animateBubble:function(e,n,i){d.animateTransform(t.delegate({shape:e,duration:1200,transform:[{name:"translate",start:[0,n],end:[0,0]},{name:"scale",start:[0,1/i],end:[1,1]},{name:"original"}]},this.animate)).play()}})}))},6359:function(t,e){define("dojox/charting/plot2d/Candlesticks",["dojo/_base/lang","dojo/_base/declare","dojo/_base/array","dojo/has","./CartesianBase","./_PlotEvents","./common","dojox/lang/functional","dojox/lang/functional/reversed","dojox/lang/utils","dojox/gfx/fx"],(function(t,e,n,i,o,r,a,s,l,c,d){var h=l.lambda("item.purgeGroup()");return e("dojox.charting.plot2d.Candlesticks",[o,r],{defaultParams:{gap:2,animate:null},optionalParams:{minBarSize:1,maxBarSize:1,stroke:{},outline:{},shadow:{},fill:{},font:"",fontColor:""},constructor:function(e,n){this.opt=t.clone(this.defaultParams),c.updateWithObject(this.opt,n),c.updateWithPattern(this.opt,n,this.optionalParams),this.animate=this.opt.animate},collectStats:function(e){for(var i=t.delegate(a.defaultStats),o=0;o<e.length;o++){var r=e[o];if(r.data.length){var s=i.vmin,l=i.vmax;"ymin"in r&&"ymax"in r||n.forEach(r.data,(function(t,e){if(null!==t){var n=t.x||e+1;i.hmin=Math.min(i.hmin,n),i.hmax=Math.max(i.hmax,n),i.vmin=Math.min(i.vmin,t.open,t.close,t.high,t.low),i.vmax=Math.max(i.vmax,t.open,t.close,t.high,t.low)}})),"ymin"in r&&(i.vmin=Math.min(s,r.ymin)),"ymax"in r&&(i.vmax=Math.max(l,r.ymax))}}return i},getSeriesStats:function(){var t=this.collectStats(this.series);return t.hmin-=.5,t.hmax+=.5,t},render:function(t,e){if(this.zoom&&!this.isDataDirty())return this.performZoom(t,e);var o;this.resetEvents(),this.dirty=this.isDirty(),this.dirty&&(n.forEach(this.series,h),this._eventSeries={},this.cleanGroup(),o=this.getGroup(),s.forEachRev(this.series,(function(t){t.cleanGroup(o)})));var r,l,c,d=this.chart.theme,u=this._hScaler.scaler.getTransformerFromModel(this._hScaler),f=this._vScaler.scaler.getTransformerFromModel(this._vScaler),p=this.events();l=(r=a.calculateBarSize(this._hScaler.bounds.scale,this.opt)).gap,c=r.size;for(var m=this.series.length-1;m>=0;--m){var g=this.series[m];if(this.dirty||g.dirty){g.cleanGroup();var y=d.next("candlestick",[this.opt,g]),v=new Array(g.data.length);if(g.hidden)g.dyn.fill=y.series.fill,g.dyn.stroke=y.series.stroke;else{o=g.group;for(var b=0;b<g.data.length;++b){var x=g.data[b];if(null!==x){var _=d.addMixin(y,"candlestick",x,!0),j=u(x.x||b+.5)+e.l+l,w=t.height-e.b,k=f(x.open),C=f(x.close),S=f(x.high),M=f(x.low);if("mid"in x)var T=f(x.mid);if(M>S){var A=S;S=M,M=A}if(c>=1){var N=k>C,E={x1:c/2,x2:c/2,y1:w-S,y2:w-M},P={x:0,y:w-Math.max(k,C),width:c,height:Math.max(N?k-C:C-k,1)},L=o.createGroup();L.setTransform({dx:j,dy:0});var D=L.createGroup();if(D.createLine(E).setStroke(_.series.stroke),D.createRect(P).setStroke(_.series.stroke).setFill(N?_.series.fill:"white"),"mid"in x&&D.createLine({x1:_.series.stroke.width||1,x2:c-(_.series.stroke.width||1),y1:w-T,y2:w-T}).setStroke(N?"white":_.series.stroke),g.dyn.fill=_.series.fill,g.dyn.stroke=_.series.stroke,p){var F={element:"candlestick",index:b,run:g,shape:D,x:j,y:w-Math.max(k,C),cx:c/2,cy:w-Math.max(k,C)+Math.max(N?k-C:C-k,1)/2,width:c,height:Math.max(N?k-C:C-k,1),data:x};this._connectEvents(F),v[b]=F}}this.animate&&this._animateCandlesticks(L,w-M,S-M)}}this._eventSeries[g.name]=v,g.dirty=!1}}else d.skip(),this._reconnectEvents(g.name)}return this.dirty=!1,i("dojo-bidi")&&this._checkOrientation(this.group,t,e),this},tooltipFunc:function(t){return'<table cellpadding="1" cellspacing="0" border="0" style="font-size:0.9em;"><tr><td>Open:</td><td align="right"><strong>'+t.data.open+'</strong></td></tr><tr><td>High:</td><td align="right"><strong>'+t.data.high+'</strong></td></tr><tr><td>Low:</td><td align="right"><strong>'+t.data.low+'</strong></td></tr><tr><td>Close:</td><td align="right"><strong>'+t.data.close+"</strong></td></tr>"+(void 0!==t.data.mid?'<tr><td>Mid:</td><td align="right"><strong>'+t.data.mid+"</strong></td></tr>":"")+"</table>"},_animateCandlesticks:function(e,n,i){d.animateTransform(t.delegate({shape:e,duration:1200,transform:[{name:"translate",start:[0,n-n/i],end:[0,0]},{name:"scale",start:[1,1/i],end:[1,1]},{name:"original"}]},this.animate)).play()}})}))},8576:function(t,e){define("dojox/charting/plot2d/Candlesticks",["dojo/_base/lang","dojo/_base/declare","dojo/_base/array","dojo/has","./CartesianBase","./_PlotEvents","./common","dojox/lang/functional","dojox/lang/functional/reversed","dojox/lang/utils","dojox/gfx/fx"],(function(t,e,n,i,o,r,a,s,l,c,d){var h=l.lambda("item.purgeGroup()");return e("dojox.charting.plot2d.Candlesticks",[o,r],{defaultParams:{gap:2,animate:null},optionalParams:{minBarSize:1,maxBarSize:1,stroke:{},outline:{},shadow:{},fill:{},font:"",fontColor:""},constructor:function(e,n){this.opt=t.clone(this.defaultParams),c.updateWithObject(this.opt,n),c.updateWithPattern(this.opt,n,this.optionalParams),this.animate=this.opt.animate},collectStats:function(e){for(var i=t.delegate(a.defaultStats),o=0;o<e.length;o++){var r=e[o];if(r.data.length){var s=i.vmin,l=i.vmax;"ymin"in r&&"ymax"in r||n.forEach(r.data,(function(t,e){if(null!==t){var n=t.x||e+1;i.hmin=Math.min(i.hmin,n),i.hmax=Math.max(i.hmax,n),i.vmin=Math.min(i.vmin,t.open,t.close,t.high,t.low),i.vmax=Math.max(i.vmax,t.open,t.close,t.high,t.low)}})),"ymin"in r&&(i.vmin=Math.min(s,r.ymin)),"ymax"in r&&(i.vmax=Math.max(l,r.ymax))}}return i},getSeriesStats:function(){var t=this.collectStats(this.series);return t.hmin-=.5,t.hmax+=.5,t},render:function(t,e){if(this.zoom&&!this.isDataDirty())return this.performZoom(t,e);var o;this.resetEvents(),this.dirty=this.isDirty(),this.dirty&&(n.forEach(this.series,h),this._eventSeries={},this.cleanGroup(),o=this.getGroup(),s.forEachRev(this.series,(function(t){t.cleanGroup(o)})));var r,l,c,d=this.chart.theme,u=this._hScaler.scaler.getTransformerFromModel(this._hScaler),f=this._vScaler.scaler.getTransformerFromModel(this._vScaler),p=this.events();l=(r=a.calculateBarSize(this._hScaler.bounds.scale,this.opt)).gap,c=r.size;for(var m=this.series.length-1;m>=0;--m){var g=this.series[m];if(this.dirty||g.dirty){g.cleanGroup();var y=d.next("candlestick",[this.opt,g]),v=new Array(g.data.length);if(g.hidden)g.dyn.fill=y.series.fill,g.dyn.stroke=y.series.stroke;else{o=g.group;for(var b=0;b<g.data.length;++b){var x=g.data[b];if(null!==x){var _=d.addMixin(y,"candlestick",x,!0),j=u(x.x||b+.5)+e.l+l,w=t.height-e.b,k=f(x.open),C=f(x.close),S=f(x.high),M=f(x.low);if("mid"in x)var T=f(x.mid);if(M>S){var A=S;S=M,M=A}if(c>=1){var N=k>C,E={x1:c/2,x2:c/2,y1:w-S,y2:w-M},P={x:0,y:w-Math.max(k,C),width:c,height:Math.max(N?k-C:C-k,1)},L=o.createGroup();L.setTransform({dx:j,dy:0});var D=L.createGroup();if(D.createLine(E).setStroke(_.series.stroke),D.createRect(P).setStroke(_.series.stroke).setFill(N?_.series.fill:"white"),"mid"in x&&D.createLine({x1:_.series.stroke.width||1,x2:c-(_.series.stroke.width||1),y1:w-T,y2:w-T}).setStroke(N?"white":_.series.stroke),g.dyn.fill=_.series.fill,g.dyn.stroke=_.series.stroke,p){var F={element:"candlestick",index:b,run:g,shape:D,x:j,y:w-Math.max(k,C),cx:c/2,cy:w-Math.max(k,C)+Math.max(N?k-C:C-k,1)/2,width:c,height:Math.max(N?k-C:C-k,1),data:x};this._connectEvents(F),v[b]=F}}this.animate&&this._animateCandlesticks(L,w-M,S-M)}}this._eventSeries[g.name]=v,g.dirty=!1}}else d.skip(),this._reconnectEvents(g.name)}return this.dirty=!1,i("dojo-bidi")&&this._checkOrientation(this.group,t,e),this},tooltipFunc:function(t){return'<table cellpadding="1" cellspacing="0" border="0" style="font-size:0.9em;"><tr><td>Open:</td><td align="right"><strong>'+t.data.open+'</strong></td></tr><tr><td>High:</td><td align="right"><strong>'+t.data.high+'</strong></td></tr><tr><td>Low:</td><td align="right"><strong>'+t.data.low+'</strong></td></tr><tr><td>Close:</td><td align="right"><strong>'+t.data.close+"</strong></td></tr>"+(void 0!==t.data.mid?'<tr><td>Mid:</td><td align="right"><strong>'+t.data.mid+"</strong></td></tr>":"")+"</table>"},_animateCandlesticks:function(e,n,i){d.animateTransform(t.delegate({shape:e,duration:1200,transform:[{name:"translate",start:[0,n-n/i],end:[0,0]},{name:"scale",start:[1,1/i],end:[1,1]},{name:"original"}]},this.animate)).play()}})}))},5876:function(t,e){define("dojox/charting/plot2d/CartesianBase",["dojo/_base/lang","dojo/_base/declare","dojo/_base/connect","dojo/has","./Base","../scaler/primitive","dojox/gfx","dojox/gfx/fx","dojox/lang/utils"],(function(t,e,n,i,o,r,a,s,l){return e("dojox.charting.plot2d.CartesianBase",o,{baseParams:{hAxis:"x",vAxis:"y",labels:!1,labelOffset:10,fixed:!0,precision:1,labelStyle:"inside",htmlLabels:!0,omitLabels:!0,labelFunc:null},constructor:function(e,n){this.axes=["hAxis","vAxis"],this.zoom=null,this.zoomQueue=[],this.lastWindow={vscale:1,hscale:1,xoffset:0,yoffset:0},this.hAxis=n&&n.hAxis||"x",this.vAxis=n&&n.vAxis||"y",this.series=[],this.opt=t.clone(this.baseParams),l.updateWithObject(this.opt,n)},clear:function(){return this.inherited(arguments),this._hAxis=null,this._vAxis=null,this},cleanGroup:function(t,e){if(this.inherited(arguments),!e&&this.chart._nativeClip){var n=this.chart.offsets,i=this.chart.dim,o=Math.max(0,i.width-n.l-n.r),r=Math.max(0,i.height-n.t-n.b);this.group.setClip({x:n.l,y:n.t,width:o,height:r}),this._clippedGroup||(this._clippedGroup=this.group.createGroup())}},purgeGroup:function(){this.inherited(arguments),this._clippedGroup=null},getGroup:function(){return this._clippedGroup||this.group},setAxis:function(t){return t&&(this[t.vertical?"_vAxis":"_hAxis"]=t),this},toPage:function(t){var e=this._hAxis,n=this._vAxis,i=e.getScaler(),o=n.getScaler(),r=i.scaler.getTransformerFromModel(i),a=o.scaler.getTransformerFromModel(o),s=this.chart.getCoords(),l=this.chart.offsets,c=this.chart.dim,d=function(t){var i={};return i.x=r(t[e.name])+s.x+l.l,i.y=s.y+c.height-l.b-a(t[n.name]),i};return t?d(t):d},toData:function(t){var e=this._hAxis,n=this._vAxis,i=e.getScaler(),o=n.getScaler(),r=i.scaler.getTransformerFromPlot(i),a=o.scaler.getTransformerFromPlot(o),s=this.chart.getCoords(),l=this.chart.offsets,c=this.chart.dim,d=function(t){var i={};return i[e.name]=r(t.x-s.x-l.l),i[n.name]=a(s.y+c.height-t.y-l.b),i};return t?d(t):d},isDirty:function(){return this.dirty||this._hAxis&&this._hAxis.dirty||this._vAxis&&this._vAxis.dirty},createLabel:function(t,e,n,i){if(this.opt.labels){var o,r,s=this.opt.labelFunc?this.opt.labelFunc.apply(this,[e,this.opt.fixed,this.opt.precision]):this._getLabel(isNaN(e.y)?e:e.y);if("inside"==this.opt.labelStyle){var l=a._base._getTextBox(s,{font:i.series.font});if(o=n.x+n.width/2,r=n.y+n.height/2+l.h/4,l.w>n.width||l.h>n.height)return}else o=n.x+n.width/2,r=n.y-this.opt.labelOffset;this.renderLabel(t,o,r,s,i,"inside"==this.opt.labelStyle)}},performZoom:function(e,i){var o=this._vAxis.scale||1,r=this._hAxis.scale||1,a=e.height-i.b,l=this._hScaler.bounds,c=(l.from-l.lower)*l.scale,d=this._vScaler.bounds,h=(d.from-d.lower)*d.scale,u=o/this.lastWindow.vscale,f=r/this.lastWindow.hscale,p=(this.lastWindow.xoffset-c)/(1==this.lastWindow.hscale?r:this.lastWindow.hscale),m=(h-this.lastWindow.yoffset)/(1==this.lastWindow.vscale?o:this.lastWindow.vscale),g=this.getGroup(),y=s.animateTransform(t.delegate({shape:g,duration:1200,transform:[{name:"translate",start:[0,0],end:[i.l*(1-f),a*(1-u)]},{name:"scale",start:[1,1],end:[f,u]},{name:"original"},{name:"translate",start:[0,0],end:[p,m]}]},this.zoom));return t.mixin(this.lastWindow,{vscale:o,hscale:r,xoffset:c,yoffset:h}),this.zoomQueue.push(y),n.connect(y,"onEnd",this,(function(){this.zoom=null,this.zoomQueue.shift(),this.zoomQueue.length>0&&this.zoomQueue[0].play()})),1==this.zoomQueue.length&&this.zoomQueue[0].play(),this},initializeScalers:function(t,e){return this._hAxis?(this._hAxis.initialized()||this._hAxis.calculate(e.hmin,e.hmax,t.width),this._hScaler=this._hAxis.getScaler()):this._hScaler=r.buildScaler(e.hmin,e.hmax,t.width),this._vAxis?(this._vAxis.initialized()||this._vAxis.calculate(e.vmin,e.vmax,t.height),this._vScaler=this._vAxis.getScaler()):this._vScaler=r.buildScaler(e.vmin,e.vmax,t.height),this}})}))},6823:function(t,e){define("dojox/charting/plot2d/CartesianBase",["dojo/_base/lang","dojo/_base/declare","dojo/_base/connect","dojo/has","./Base","../scaler/primitive","dojox/gfx","dojox/gfx/fx","dojox/lang/utils"],(function(t,e,n,i,o,r,a,s,l){return e("dojox.charting.plot2d.CartesianBase",o,{baseParams:{hAxis:"x",vAxis:"y",labels:!1,labelOffset:10,fixed:!0,precision:1,labelStyle:"inside",htmlLabels:!0,omitLabels:!0,labelFunc:null},constructor:function(e,n){this.axes=["hAxis","vAxis"],this.zoom=null,this.zoomQueue=[],this.lastWindow={vscale:1,hscale:1,xoffset:0,yoffset:0},this.hAxis=n&&n.hAxis||"x",this.vAxis=n&&n.vAxis||"y",this.series=[],this.opt=t.clone(this.baseParams),l.updateWithObject(this.opt,n)},clear:function(){return this.inherited(arguments),this._hAxis=null,this._vAxis=null,this},cleanGroup:function(t,e){if(this.inherited(arguments),!e&&this.chart._nativeClip){var n=this.chart.offsets,i=this.chart.dim,o=Math.max(0,i.width-n.l-n.r),r=Math.max(0,i.height-n.t-n.b);this.group.setClip({x:n.l,y:n.t,width:o,height:r}),this._clippedGroup||(this._clippedGroup=this.group.createGroup())}},purgeGroup:function(){this.inherited(arguments),this._clippedGroup=null},getGroup:function(){return this._clippedGroup||this.group},setAxis:function(t){return t&&(this[t.vertical?"_vAxis":"_hAxis"]=t),this},toPage:function(t){var e=this._hAxis,n=this._vAxis,i=e.getScaler(),o=n.getScaler(),r=i.scaler.getTransformerFromModel(i),a=o.scaler.getTransformerFromModel(o),s=this.chart.getCoords(),l=this.chart.offsets,c=this.chart.dim,d=function(t){var i={};return i.x=r(t[e.name])+s.x+l.l,i.y=s.y+c.height-l.b-a(t[n.name]),i};return t?d(t):d},toData:function(t){var e=this._hAxis,n=this._vAxis,i=e.getScaler(),o=n.getScaler(),r=i.scaler.getTransformerFromPlot(i),a=o.scaler.getTransformerFromPlot(o),s=this.chart.getCoords(),l=this.chart.offsets,c=this.chart.dim,d=function(t){var i={};return i[e.name]=r(t.x-s.x-l.l),i[n.name]=a(s.y+c.height-t.y-l.b),i};return t?d(t):d},isDirty:function(){return this.dirty||this._hAxis&&this._hAxis.dirty||this._vAxis&&this._vAxis.dirty},createLabel:function(t,e,n,i){if(this.opt.labels){var o,r,s=this.opt.labelFunc?this.opt.labelFunc.apply(this,[e,this.opt.fixed,this.opt.precision]):this._getLabel(isNaN(e.y)?e:e.y);if("inside"==this.opt.labelStyle){var l=a._base._getTextBox(s,{font:i.series.font});if(o=n.x+n.width/2,r=n.y+n.height/2+l.h/4,l.w>n.width||l.h>n.height)return}else o=n.x+n.width/2,r=n.y-this.opt.labelOffset;this.renderLabel(t,o,r,s,i,"inside"==this.opt.labelStyle)}},performZoom:function(e,i){var o=this._vAxis.scale||1,r=this._hAxis.scale||1,a=e.height-i.b,l=this._hScaler.bounds,c=(l.from-l.lower)*l.scale,d=this._vScaler.bounds,h=(d.from-d.lower)*d.scale,u=o/this.lastWindow.vscale,f=r/this.lastWindow.hscale,p=(this.lastWindow.xoffset-c)/(1==this.lastWindow.hscale?r:this.lastWindow.hscale),m=(h-this.lastWindow.yoffset)/(1==this.lastWindow.vscale?o:this.lastWindow.vscale),g=this.getGroup(),y=s.animateTransform(t.delegate({shape:g,duration:1200,transform:[{name:"translate",start:[0,0],end:[i.l*(1-f),a*(1-u)]},{name:"scale",start:[1,1],end:[f,u]},{name:"original"},{name:"translate",start:[0,0],end:[p,m]}]},this.zoom));return t.mixin(this.lastWindow,{vscale:o,hscale:r,xoffset:c,yoffset:h}),this.zoomQueue.push(y),n.connect(y,"onEnd",this,(function(){this.zoom=null,this.zoomQueue.shift(),this.zoomQueue.length>0&&this.zoomQueue[0].play()})),1==this.zoomQueue.length&&this.zoomQueue[0].play(),this},initializeScalers:function(t,e){return this._hAxis?(this._hAxis.initialized()||this._hAxis.calculate(e.hmin,e.hmax,t.width),this._hScaler=this._hAxis.getScaler()):this._hScaler=r.buildScaler(e.hmin,e.hmax,t.width),this._vAxis?(this._vAxis.initialized()||this._vAxis.calculate(e.vmin,e.vmax,t.height),this._vScaler=this._vAxis.getScaler()):this._vScaler=r.buildScaler(e.vmin,e.vmax,t.height),this}})}))},4154:function(t,e){define("dojox/charting/plot2d/ClusteredBars",["dojo/_base/declare","dojo/_base/array","./Bars","./common"],(function(t,e,n,i){return t("dojox.charting.plot2d.ClusteredBars",n,{getBarProperties:function(){var t=this.series.length;e.forEach(this.series,(function(e){e.hidden&&t--}));var n=i.calculateBarSize(this._vScaler.bounds.scale,this.opt,t);return{gap:n.gap,height:n.size,thickness:n.size}}})}))},4138:function(t,e){define("dojox/charting/plot2d/ClusteredBars",["dojo/_base/declare","dojo/_base/array","./Bars","./common"],(function(t,e,n,i){return t("dojox.charting.plot2d.ClusteredBars",n,{getBarProperties:function(){var t=this.series.length;e.forEach(this.series,(function(e){e.hidden&&t--}));var n=i.calculateBarSize(this._vScaler.bounds.scale,this.opt,t);return{gap:n.gap,height:n.size,thickness:n.size}}})}))},7973:function(t,e){define("dojox/charting/plot2d/ClusteredColumns",["dojo/_base/declare","dojo/_base/array","./Columns","./common"],(function(t,e,n,i){return t("dojox.charting.plot2d.ClusteredColumns",n,{getBarProperties:function(){var t=this.series.length;e.forEach(this.series,(function(e){e.hidden&&t--}));var n=i.calculateBarSize(this._hScaler.bounds.scale,this.opt,t);return{gap:n.gap,width:n.size,thickness:n.size,clusterSize:t}}})}))},198:function(t,e){define("dojox/charting/plot2d/ClusteredColumns",["dojo/_base/declare","dojo/_base/array","./Columns","./common"],(function(t,e,n,i){return t("dojox.charting.plot2d.ClusteredColumns",n,{getBarProperties:function(){var t=this.series.length;e.forEach(this.series,(function(e){e.hidden&&t--}));var n=i.calculateBarSize(this._hScaler.bounds.scale,this.opt,t);return{gap:n.gap,width:n.size,thickness:n.size,clusterSize:t}}})}))},7964:function(t,e){define("dojox/charting/plot2d/Columns",["dojo/_base/lang","dojo/_base/array","dojo/_base/declare","dojo/has","./CartesianBase","./_PlotEvents","./common","dojox/lang/functional","dojox/lang/functional/reversed","dojox/lang/utils","dojox/gfx/fx"],(function(t,e,n,i,o,r,a,s,l,c,d){var h=l.lambda("item.purgeGroup()");return n("dojox.charting.plot2d.Columns",[o,r],{defaultParams:{gap:0,animate:null,enableCache:!1},optionalParams:{minBarSize:1,maxBarSize:1,stroke:{},outline:{},shadow:{},fill:{},filter:{},styleFunc:null,font:"",fontColor:""},constructor:function(e,n){this.opt=t.clone(t.mixin(this.opt,this.defaultParams)),c.updateWithObject(this.opt,n),c.updateWithPattern(this.opt,n,this.optionalParams),this.animate=this.opt.animate,this.renderingOptions={"shape-rendering":"crispEdges"}},getSeriesStats:function(){var t=a.collectSimpleStats(this.series);return t.hmin-=.5,t.hmax+=.5,t},createRect:function(t,e,n){var i;return this.opt.enableCache&&t._rectFreePool.length>0?((i=t._rectFreePool.pop()).setShape(n),e.add(i)):i=e.createRect(n),this.opt.enableCache&&t._rectUsePool.push(i),i},render:function(n,o){if(this.zoom&&!this.isDataDirty())return this.performZoom(n,o);var r;this.resetEvents(),this.dirty=this.isDirty(),this.dirty&&(e.forEach(this.series,h),this._eventSeries={},this.cleanGroup(),r=this.getGroup(),s.forEachRev(this.series,(function(t){t.cleanGroup(r)})));var a=this.chart.theme,l=this._hScaler.scaler.getTransformerFromModel(this._hScaler),c=this._vScaler.scaler.getTransformerFromModel(this._vScaler),d=Math.max(0,this._vScaler.bounds.lower),u=c(d),f=this.events(),p=this.getBarProperties(),m=this.series.length;e.forEach(this.series,(function(t){t.hidden&&m--}));for(var g=this.series.length-1;g>=0;--g){var y=this.series[g];if(this.dirty||y.dirty){y.cleanGroup(),this.opt.enableCache&&(y._rectFreePool=(y._rectFreePool?y._rectFreePool:[]).concat(y._rectUsePool?y._rectUsePool:[]),y._rectUsePool=[]);var v=a.next("column",[this.opt,y]),b=new Array(y.data.length);if(y.hidden)y.dyn.fill=v.series.fill;else{m--,r=y.group;for(var x=e.some(y.data,(function(t){return"number"==typeof t||t&&!t.hasOwnProperty("x")})),_=x?Math.max(0,Math.floor(this._hScaler.bounds.from-1)):0,j=x?Math.min(y.data.length,Math.ceil(this._hScaler.bounds.to)):y.data.length,w=_;w<j;++w){var k=y.data[w];if(null!=k){var C,S,M=this.getValue(k,w,g,x),T=c(M.y),A=Math.abs(T-u);if(this.opt.styleFunc||"number"!=typeof k){var N="number"!=typeof k?[k]:[];this.opt.styleFunc&&N.push(this.opt.styleFunc(k)),C=a.addMixin(v,"column",N,!0)}else C=a.post(v,"column");if(p.width>=1&&A>=0){var E={x:o.l+l(M.x+.5)+p.gap+p.thickness*m,y:n.height-o.b-(M.y>d?T:u),width:p.width,height:A};if(C.series.shadow){var P=t.clone(E);P.x+=C.series.shadow.dx,P.y+=C.series.shadow.dy,S=this.createRect(y,r,P).setFill(C.series.shadow.color).setStroke(C.series.shadow),this.animate&&this._animateColumn(S,n.height-o.b+u,A)}var L=this._plotFill(C.series.fill,n,o);L=this._shapeFill(L,E);var D=this.createRect(y,r,E).setFill(L).setStroke(C.series.stroke);if(D.setFilter&&C.series.filter&&D.setFilter(C.series.filter),y.dyn.fill=D.getFill(),y.dyn.stroke=D.getStroke(),f){var F={element:"column",index:w,run:y,shape:D,shadow:S,cx:M.x+.5,cy:M.y,x:x?w:y.data[w].x,y:x?y.data[w]:y.data[w].y};this._connectEvents(F),b[w]=F}!isNaN(M.py)&&M.py>d&&(E.height=T-c(M.py)),this.createLabel(r,k,E,C),this.animate&&this._animateColumn(D,n.height-o.b-u,A)}}}this._eventSeries[y.name]=b,y.dirty=!1}}else a.skip(),this._reconnectEvents(y.name)}return this.dirty=!1,i("dojo-bidi")&&this._checkOrientation(this.group,n,o),this},getValue:function(t,e,n,i){var o,r;return i?(o="number"==typeof t?t:t.y,r=e):(o=t.y,r=t.x-1),{x:r,y:o}},getBarProperties:function(){var t=a.calculateBarSize(this._hScaler.bounds.scale,this.opt);return{gap:t.gap,width:t.size,thickness:0}},_animateColumn:function(e,n,i){0==i&&(i=1),d.animateTransform(t.delegate({shape:e,duration:1200,transform:[{name:"translate",start:[0,n-n/i],end:[0,0]},{name:"scale",start:[1,1/i],end:[1,1]},{name:"original"}]},this.animate)).play()}})}))},2287:function(t,e){define("dojox/charting/plot2d/Columns",["dojo/_base/lang","dojo/_base/array","dojo/_base/declare","dojo/has","./CartesianBase","./_PlotEvents","./common","dojox/lang/functional","dojox/lang/functional/reversed","dojox/lang/utils","dojox/gfx/fx"],(function(t,e,n,i,o,r,a,s,l,c,d){var h=l.lambda("item.purgeGroup()");return n("dojox.charting.plot2d.Columns",[o,r],{defaultParams:{gap:0,animate:null,enableCache:!1},optionalParams:{minBarSize:1,maxBarSize:1,stroke:{},outline:{},shadow:{},fill:{},filter:{},styleFunc:null,font:"",fontColor:""},constructor:function(e,n){this.opt=t.clone(t.mixin(this.opt,this.defaultParams)),c.updateWithObject(this.opt,n),c.updateWithPattern(this.opt,n,this.optionalParams),this.animate=this.opt.animate,this.renderingOptions={"shape-rendering":"crispEdges"}},getSeriesStats:function(){var t=a.collectSimpleStats(this.series);return t.hmin-=.5,t.hmax+=.5,t},createRect:function(t,e,n){var i;return this.opt.enableCache&&t._rectFreePool.length>0?((i=t._rectFreePool.pop()).setShape(n),e.add(i)):i=e.createRect(n),this.opt.enableCache&&t._rectUsePool.push(i),i},render:function(n,o){if(this.zoom&&!this.isDataDirty())return this.performZoom(n,o);var r;this.resetEvents(),this.dirty=this.isDirty(),this.dirty&&(e.forEach(this.series,h),this._eventSeries={},this.cleanGroup(),r=this.getGroup(),s.forEachRev(this.series,(function(t){t.cleanGroup(r)})));var a=this.chart.theme,l=this._hScaler.scaler.getTransformerFromModel(this._hScaler),c=this._vScaler.scaler.getTransformerFromModel(this._vScaler),d=Math.max(0,this._vScaler.bounds.lower),u=c(d),f=this.events(),p=this.getBarProperties(),m=this.series.length;e.forEach(this.series,(function(t){t.hidden&&m--}));for(var g=this.series.length-1;g>=0;--g){var y=this.series[g];if(this.dirty||y.dirty){y.cleanGroup(),this.opt.enableCache&&(y._rectFreePool=(y._rectFreePool?y._rectFreePool:[]).concat(y._rectUsePool?y._rectUsePool:[]),y._rectUsePool=[]);var v=a.next("column",[this.opt,y]),b=new Array(y.data.length);if(y.hidden)y.dyn.fill=v.series.fill;else{m--,r=y.group;for(var x=e.some(y.data,(function(t){return"number"==typeof t||t&&!t.hasOwnProperty("x")})),_=x?Math.max(0,Math.floor(this._hScaler.bounds.from-1)):0,j=x?Math.min(y.data.length,Math.ceil(this._hScaler.bounds.to)):y.data.length,w=_;w<j;++w){var k=y.data[w];if(null!=k){var C,S,M=this.getValue(k,w,g,x),T=c(M.y),A=Math.abs(T-u);if(this.opt.styleFunc||"number"!=typeof k){var N="number"!=typeof k?[k]:[];this.opt.styleFunc&&N.push(this.opt.styleFunc(k)),C=a.addMixin(v,"column",N,!0)}else C=a.post(v,"column");if(p.width>=1&&A>=0){var E={x:o.l+l(M.x+.5)+p.gap+p.thickness*m,y:n.height-o.b-(M.y>d?T:u),width:p.width,height:A};if(C.series.shadow){var P=t.clone(E);P.x+=C.series.shadow.dx,P.y+=C.series.shadow.dy,S=this.createRect(y,r,P).setFill(C.series.shadow.color).setStroke(C.series.shadow),this.animate&&this._animateColumn(S,n.height-o.b+u,A)}var L=this._plotFill(C.series.fill,n,o);L=this._shapeFill(L,E);var D=this.createRect(y,r,E).setFill(L).setStroke(C.series.stroke);if(D.setFilter&&C.series.filter&&D.setFilter(C.series.filter),y.dyn.fill=D.getFill(),y.dyn.stroke=D.getStroke(),f){var F={element:"column",index:w,run:y,shape:D,shadow:S,cx:M.x+.5,cy:M.y,x:x?w:y.data[w].x,y:x?y.data[w]:y.data[w].y};this._connectEvents(F),b[w]=F}!isNaN(M.py)&&M.py>d&&(E.height=T-c(M.py)),this.createLabel(r,k,E,C),this.animate&&this._animateColumn(D,n.height-o.b-u,A)}}}this._eventSeries[y.name]=b,y.dirty=!1}}else a.skip(),this._reconnectEvents(y.name)}return this.dirty=!1,i("dojo-bidi")&&this._checkOrientation(this.group,n,o),this},getValue:function(t,e,n,i){var o,r;return i?(o="number"==typeof t?t:t.y,r=e):(o=t.y,r=t.x-1),{x:r,y:o}},getBarProperties:function(){var t=a.calculateBarSize(this._hScaler.bounds.scale,this.opt);return{gap:t.gap,width:t.size,thickness:0}},_animateColumn:function(e,n,i){0==i&&(i=1),d.animateTransform(t.delegate({shape:e,duration:1200,transform:[{name:"translate",start:[0,n-n/i],end:[0,0]},{name:"scale",start:[1,1/i],end:[1,1]},{name:"original"}]},this.animate)).play()}})}))},9498:function(t,e){define("dojox/charting/plot2d/Default",["dojo/_base/lang","dojo/_base/declare","dojo/_base/array","dojo/has","./CartesianBase","./_PlotEvents","./common","dojox/lang/functional","dojox/lang/functional/reversed","dojox/lang/utils","dojox/gfx/fx"],(function(t,e,n,i,o,r,a,s,l,c,d){var h=l.lambda("item.purgeGroup()");return e("dojox.charting.plot2d.Default",[o,r],{defaultParams:{lines:!0,areas:!1,markers:!1,tension:"",animate:!1,enableCache:!1,interpolate:!1},optionalParams:{stroke:{},outline:{},shadow:{},fill:{},filter:{},styleFunc:null,font:"",fontColor:"",marker:"",markerStroke:{},markerOutline:{},markerShadow:{},markerFill:{},markerFont:"",markerFontColor:""},constructor:function(e,n){this.opt=t.clone(t.mixin(this.opt,this.defaultParams)),c.updateWithObject(this.opt,n),c.updateWithPattern(this.opt,n,this.optionalParams),this.animate=this.opt.animate},createPath:function(t,e,n){var i;return this.opt.enableCache&&t._pathFreePool.length>0?((i=t._pathFreePool.pop()).setShape(n),e.add(i)):i=e.createPath(n),this.opt.enableCache&&t._pathUsePool.push(i),i},buildSegments:function(t,e){for(var n=this.series[t],i=e?Math.max(0,Math.floor(this._hScaler.bounds.from-1)):0,o=e?Math.min(n.data.length,Math.ceil(this._hScaler.bounds.to)):n.data.length,r=null,a=[],s=i;s<o;s++)null==n.data[s]||!e&&null==n.data[s].y?this.opt.interpolate&&!e||(r=null):(r||(r=[],a.push({index:s,rseg:r})),r.push(e&&n.data[s].hasOwnProperty("y")?n.data[s].y:n.data[s]));return a},render:function(e,o){if(this.zoom&&!this.isDataDirty())return this.performZoom(e,o);var r;this.resetEvents(),this.dirty=this.isDirty(),this.dirty&&(n.forEach(this.series,h),this._eventSeries={},this.cleanGroup(),this.getGroup().setTransform(null),r=this.getGroup(),s.forEachRev(this.series,(function(t){t.cleanGroup(r)})));for(var l,c,u=this.chart.theme,f=this.events(),p=this.series.length-1;p>=0;--p){var m=this.series[p];if(this.dirty||m.dirty)if(m.cleanGroup(),this.opt.enableCache&&(m._pathFreePool=(m._pathFreePool?m._pathFreePool:[]).concat(m._pathUsePool?m._pathUsePool:[]),m._pathUsePool=[]),m.data.length){var g,y=u.next(this.opt.areas?"area":"line",[this.opt,m],!0),v=this._hScaler.scaler.getTransformerFromModel(this._hScaler),b=this._vScaler.scaler.getTransformerFromModel(this._vScaler),x=this._eventSeries[m.name]=new Array(m.data.length);if(r=m.group,m.hidden)this.opt.lines&&(m.dyn.stroke=y.series.stroke),this.opt.markers&&(m.dyn.markerFill=y.marker.fill,m.dyn.markerStroke=y.marker.stroke,m.dyn.marker=y.symbol),this.opt.areas&&(m.dyn.fill=y.series.fill);else{for(var _=n.some(m.data,(function(t){return"number"==typeof t||t&&!t.hasOwnProperty("x")})),j=this.buildSegments(p,_),w=0;w<j.length;w++){var k=j[w];if(g=_?n.map(k.rseg,(function(t,n){return{x:v(n+k.index+1)+o.l,y:e.height-o.b-b(t),data:t}}),this):n.map(k.rseg,(function(t){return{x:v(t.x)+o.l,y:e.height-o.b-b(t.y),data:t}}),this),_&&this.opt.interpolate)for(;w<j.length;)w++,(k=j[w])&&(g=g.concat(n.map(k.rseg,(function(t,n){return{x:v(n+k.index+1)+o.l,y:e.height-o.b-b(t),data:t}}),this)));var C=this.opt.tension?a.curve(g,this.opt.tension):"";if(this.opt.areas&&g.length>1){var S=this._plotFill(y.series.fill,e,o),M=t.clone(g);if(this.opt.tension){var T="L"+M[M.length-1].x+","+(e.height-o.b)+" L"+M[0].x+","+(e.height-o.b)+" L"+M[0].x+","+M[0].y;m.dyn.fill=r.createPath(C+" "+T).setFill(S).getFill()}else M.push({x:g[g.length-1].x,y:e.height-o.b}),M.push({x:g[0].x,y:e.height-o.b}),M.push(g[0]),m.dyn.fill=r.createPolyline(M).setFill(S).getFill()}(this.opt.lines||this.opt.markers)&&(l=y.series.stroke,y.series.outline&&((c=m.dyn.outline=a.makeStroke(y.series.outline)).width=2*c.width+l.width)),this.opt.markers&&(m.dyn.marker=y.symbol);var A,N=null,E=null,P=null;if(l&&y.series.shadow&&g.length>1){var L=y.series.shadow,D=n.map(g,(function(t){return{x:t.x+L.dx,y:t.y+L.dy}}));this.opt.lines&&(this.opt.tension?m.dyn.shadow=r.createPath(a.curve(D,this.opt.tension)).setStroke(L).getStroke():m.dyn.shadow=r.createPolyline(D).setStroke(L).getStroke()),this.opt.markers&&y.marker.shadow&&(L=y.marker.shadow,P=n.map(D,(function(t){return this.createPath(m,r,"M"+t.x+" "+t.y+" "+y.symbol).setStroke(L).setFill(L.color)}),this))}this.opt.lines&&g.length>1&&(c&&(this.opt.tension?m.dyn.outline=r.createPath(C).setStroke(c).getStroke():m.dyn.outline=r.createPolyline(g).setStroke(c).getStroke()),this.opt.tension?m.dyn.stroke=(A=r.createPath(C)).setStroke(l).getStroke():m.dyn.stroke=(A=r.createPolyline(g)).setStroke(l).getStroke(),A.setFilter&&y.series.filter&&A.setFilter(y.series.filter));var F=null;if(this.opt.markers){var I=y;N=new Array(g.length),E=new Array(g.length),c=null,I.marker.outline&&((c=a.makeStroke(I.marker.outline)).width=2*c.width+(I.marker.stroke?I.marker.stroke.width:0)),n.forEach(g,(function(t,e){if(this.opt.styleFunc||"number"!=typeof t.data){var n="number"!=typeof t.data?[t.data]:[];this.opt.styleFunc&&n.push(this.opt.styleFunc(t.data)),I=u.addMixin(y,"marker",n,!0)}else I=u.post(y,"marker");var i="M"+t.x+" "+t.y+" "+I.symbol;c&&(E[e]=this.createPath(m,r,i).setStroke(c)),N[e]=this.createPath(m,r,i).setStroke(I.marker.stroke).setFill(I.marker.fill)}),this),m.dyn.markerFill=I.marker.fill,m.dyn.markerStroke=I.marker.stroke,!F&&this.opt.labels&&(F=N[0].getBoundingBox()),f?n.forEach(N,(function(t,e){var n={element:"marker",index:e+k.index,run:m,shape:t,outline:E[e]||null,shadow:P&&P[e]||null,cx:g[e].x,cy:g[e].y};_?(n.x=e+k.index+1,n.y=m.data[e+k.index]):(n.x=k.rseg[e].x,n.y=m.data[e+k.index].y),this._connectEvents(n),x[e+k.index]=n}),this):delete this._eventSeries[m.name]}if(this.opt.labels){var R=F?F.width:2,B=F?F.height:2;n.forEach(g,(function(t,e){if(this.opt.styleFunc||"number"!=typeof t.data){var n="number"!=typeof t.data?[t.data]:[];this.opt.styleFunc&&n.push(this.opt.styleFunc(t.data)),I=u.addMixin(y,"marker",n,!0)}else I=u.post(y,"marker");this.createLabel(r,k.rseg[e],{x:t.x-R/2,y:t.y-B/2,width:R,height:B},I)}),this)}}m.dirty=!1}}else m.dirty=!1,u.skip();else u.skip(),this._reconnectEvents(m.name)}if(i("dojo-bidi")&&this._checkOrientation(this.group,e,o),this.animate){var O=this.getGroup();d.animateTransform(t.delegate({shape:O,duration:1200,transform:[{name:"translate",start:[0,e.height-o.b],end:[0,0]},{name:"scale",start:[1,0],end:[1,1]},{name:"original"}]},this.animate)).play()}return this.dirty=!1,this}})}))},9405:function(t,e){define("dojox/charting/plot2d/Default",["dojo/_base/lang","dojo/_base/declare","dojo/_base/array","dojo/has","./CartesianBase","./_PlotEvents","./common","dojox/lang/functional","dojox/lang/functional/reversed","dojox/lang/utils","dojox/gfx/fx"],(function(t,e,n,i,o,r,a,s,l,c,d){var h=l.lambda("item.purgeGroup()");return e("dojox.charting.plot2d.Default",[o,r],{defaultParams:{lines:!0,areas:!1,markers:!1,tension:"",animate:!1,enableCache:!1,interpolate:!1},optionalParams:{stroke:{},outline:{},shadow:{},fill:{},filter:{},styleFunc:null,font:"",fontColor:"",marker:"",markerStroke:{},markerOutline:{},markerShadow:{},markerFill:{},markerFont:"",markerFontColor:""},constructor:function(e,n){this.opt=t.clone(t.mixin(this.opt,this.defaultParams)),c.updateWithObject(this.opt,n),c.updateWithPattern(this.opt,n,this.optionalParams),this.animate=this.opt.animate},createPath:function(t,e,n){var i;return this.opt.enableCache&&t._pathFreePool.length>0?((i=t._pathFreePool.pop()).setShape(n),e.add(i)):i=e.createPath(n),this.opt.enableCache&&t._pathUsePool.push(i),i},buildSegments:function(t,e){for(var n=this.series[t],i=e?Math.max(0,Math.floor(this._hScaler.bounds.from-1)):0,o=e?Math.min(n.data.length,Math.ceil(this._hScaler.bounds.to)):n.data.length,r=null,a=[],s=i;s<o;s++)null==n.data[s]||!e&&null==n.data[s].y?this.opt.interpolate&&!e||(r=null):(r||(r=[],a.push({index:s,rseg:r})),r.push(e&&n.data[s].hasOwnProperty("y")?n.data[s].y:n.data[s]));return a},render:function(e,o){if(this.zoom&&!this.isDataDirty())return this.performZoom(e,o);var r;this.resetEvents(),this.dirty=this.isDirty(),this.dirty&&(n.forEach(this.series,h),this._eventSeries={},this.cleanGroup(),this.getGroup().setTransform(null),r=this.getGroup(),s.forEachRev(this.series,(function(t){t.cleanGroup(r)})));for(var l,c,u=this.chart.theme,f=this.events(),p=this.series.length-1;p>=0;--p){var m=this.series[p];if(this.dirty||m.dirty)if(m.cleanGroup(),this.opt.enableCache&&(m._pathFreePool=(m._pathFreePool?m._pathFreePool:[]).concat(m._pathUsePool?m._pathUsePool:[]),m._pathUsePool=[]),m.data.length){var g,y=u.next(this.opt.areas?"area":"line",[this.opt,m],!0),v=this._hScaler.scaler.getTransformerFromModel(this._hScaler),b=this._vScaler.scaler.getTransformerFromModel(this._vScaler),x=this._eventSeries[m.name]=new Array(m.data.length);if(r=m.group,m.hidden)this.opt.lines&&(m.dyn.stroke=y.series.stroke),this.opt.markers&&(m.dyn.markerFill=y.marker.fill,m.dyn.markerStroke=y.marker.stroke,m.dyn.marker=y.symbol),this.opt.areas&&(m.dyn.fill=y.series.fill);else{for(var _=n.some(m.data,(function(t){return"number"==typeof t||t&&!t.hasOwnProperty("x")})),j=this.buildSegments(p,_),w=0;w<j.length;w++){var k=j[w];if(g=_?n.map(k.rseg,(function(t,n){return{x:v(n+k.index+1)+o.l,y:e.height-o.b-b(t),data:t}}),this):n.map(k.rseg,(function(t){return{x:v(t.x)+o.l,y:e.height-o.b-b(t.y),data:t}}),this),_&&this.opt.interpolate)for(;w<j.length;)w++,(k=j[w])&&(g=g.concat(n.map(k.rseg,(function(t,n){return{x:v(n+k.index+1)+o.l,y:e.height-o.b-b(t),data:t}}),this)));var C=this.opt.tension?a.curve(g,this.opt.tension):"";if(this.opt.areas&&g.length>1){var S=this._plotFill(y.series.fill,e,o),M=t.clone(g);if(this.opt.tension){var T="L"+M[M.length-1].x+","+(e.height-o.b)+" L"+M[0].x+","+(e.height-o.b)+" L"+M[0].x+","+M[0].y;m.dyn.fill=r.createPath(C+" "+T).setFill(S).getFill()}else M.push({x:g[g.length-1].x,y:e.height-o.b}),M.push({x:g[0].x,y:e.height-o.b}),M.push(g[0]),m.dyn.fill=r.createPolyline(M).setFill(S).getFill()}(this.opt.lines||this.opt.markers)&&(l=y.series.stroke,y.series.outline&&((c=m.dyn.outline=a.makeStroke(y.series.outline)).width=2*c.width+l.width)),this.opt.markers&&(m.dyn.marker=y.symbol);var A,N=null,E=null,P=null;if(l&&y.series.shadow&&g.length>1){var L=y.series.shadow,D=n.map(g,(function(t){return{x:t.x+L.dx,y:t.y+L.dy}}));this.opt.lines&&(this.opt.tension?m.dyn.shadow=r.createPath(a.curve(D,this.opt.tension)).setStroke(L).getStroke():m.dyn.shadow=r.createPolyline(D).setStroke(L).getStroke()),this.opt.markers&&y.marker.shadow&&(L=y.marker.shadow,P=n.map(D,(function(t){return this.createPath(m,r,"M"+t.x+" "+t.y+" "+y.symbol).setStroke(L).setFill(L.color)}),this))}this.opt.lines&&g.length>1&&(c&&(this.opt.tension?m.dyn.outline=r.createPath(C).setStroke(c).getStroke():m.dyn.outline=r.createPolyline(g).setStroke(c).getStroke()),this.opt.tension?m.dyn.stroke=(A=r.createPath(C)).setStroke(l).getStroke():m.dyn.stroke=(A=r.createPolyline(g)).setStroke(l).getStroke(),A.setFilter&&y.series.filter&&A.setFilter(y.series.filter));var F=null;if(this.opt.markers){var I=y;N=new Array(g.length),E=new Array(g.length),c=null,I.marker.outline&&((c=a.makeStroke(I.marker.outline)).width=2*c.width+(I.marker.stroke?I.marker.stroke.width:0)),n.forEach(g,(function(t,e){if(this.opt.styleFunc||"number"!=typeof t.data){var n="number"!=typeof t.data?[t.data]:[];this.opt.styleFunc&&n.push(this.opt.styleFunc(t.data)),I=u.addMixin(y,"marker",n,!0)}else I=u.post(y,"marker");var i="M"+t.x+" "+t.y+" "+I.symbol;c&&(E[e]=this.createPath(m,r,i).setStroke(c)),N[e]=this.createPath(m,r,i).setStroke(I.marker.stroke).setFill(I.marker.fill)}),this),m.dyn.markerFill=I.marker.fill,m.dyn.markerStroke=I.marker.stroke,!F&&this.opt.labels&&(F=N[0].getBoundingBox()),f?n.forEach(N,(function(t,e){var n={element:"marker",index:e+k.index,run:m,shape:t,outline:E[e]||null,shadow:P&&P[e]||null,cx:g[e].x,cy:g[e].y};_?(n.x=e+k.index+1,n.y=m.data[e+k.index]):(n.x=k.rseg[e].x,n.y=m.data[e+k.index].y),this._connectEvents(n),x[e+k.index]=n}),this):delete this._eventSeries[m.name]}if(this.opt.labels){var R=F?F.width:2,B=F?F.height:2;n.forEach(g,(function(t,e){if(this.opt.styleFunc||"number"!=typeof t.data){var n="number"!=typeof t.data?[t.data]:[];this.opt.styleFunc&&n.push(this.opt.styleFunc(t.data)),I=u.addMixin(y,"marker",n,!0)}else I=u.post(y,"marker");this.createLabel(r,k.rseg[e],{x:t.x-R/2,y:t.y-B/2,width:R,height:B},I)}),this)}}m.dirty=!1}}else m.dirty=!1,u.skip();else u.skip(),this._reconnectEvents(m.name)}if(i("dojo-bidi")&&this._checkOrientation(this.group,e,o),this.animate){var O=this.getGroup();d.animateTransform(t.delegate({shape:O,duration:1200,transform:[{name:"translate",start:[0,e.height-o.b],end:[0,0]},{name:"scale",start:[1,0],end:[1,1]},{name:"original"}]},this.animate)).play()}return this.dirty=!1,this}})}))},8011:function(t,e){define("dojox/charting/plot2d/Grid",["dojo/_base/lang","dojo/_base/declare","dojo/_base/array","dojo/sniff","./CartesianBase","./common","dojox/lang/utils","dojox/gfx/fx"],(function(t,e,n,i,o,r,a,s){var l=function(t,e){return t.value-e.value};return e("dojox.charting.plot2d.Grid",o,{defaultParams:{hMajorLines:!0,hMinorLines:!1,vMajorLines:!0,vMinorLines:!1,hStripes:!1,vStripes:!1,animate:null,enableCache:!1,renderOnAxis:!0},optionalParams:{majorHLine:{},minorHLine:{},majorVLine:{},minorVLine:{},hFill:{},vFill:{},hAlternateFill:{},vAlternateFill:{}},constructor:function(e,n){this.opt=t.clone(this.defaultParams),a.updateWithObject(this.opt,n),a.updateWithPattern(this.opt,n,this.optionalParams),this.animate=this.opt.animate,this.opt.enableCache&&(this._lineFreePool=[],this._lineUsePool=[],this._rectFreePool=[],this._rectUsePool=[])},addSeries:function(t){return this},getSeriesStats:function(){return t.delegate(r.defaultStats)},cleanGroup:function(){this.inherited(arguments),this.opt.enableCache&&(this._lineFreePool=this._lineFreePool.concat(this._lineUsePool),this._lineUsePool=[],this._rectFreePool=this._rectFreePool.concat(this._rectUsePool),this._rectUsePool=[])},createLine:function(t,e){var n;return this.opt.enableCache&&this._lineFreePool.length>0?((n=this._lineFreePool.pop()).setShape(e),t.add(n)):n=t.createLine(e),this.opt.enableCache&&this._lineUsePool.push(n),n},createRect:function(t,e){var n;return this.opt.enableCache&&this._rectFreePool.length>0?((n=this._rectFreePool.pop()).setShape(e),t.add(n)):n=t.createRect(e),this.opt.enableCache&&this._rectUsePool.push(n),n},render:function(t,e){if(this.zoom)return this.performZoom(t,e);if(this.dirty=this.isDirty(),!this.dirty)return this;this.cleanGroup();var n,o,r=this.getGroup(),a=this.chart.theme;if(i("ios")&&i("ios")<6||i("android")||i("safari")&&!i("ios")){var s=Math.max(0,t.width-e.l-e.r),l=Math.max(0,t.height-e.t-e.b);r.createRect({x:e.l,y:e.t,width:s,height:l})}if(this._vAxis){o=this._vAxis.getTicks();var c=this._vAxis.getScaler();if(null!=o&&null!=c){var d=c.scaler.getTransformerFromModel(c);this.opt.hStripes&&this._renderHRect(o,a.grid,t,e,c,d),this.opt.hMinorLines&&(n=this.opt.minorHLine||a.grid&&a.grid.minorLine||a.axis.minorTick,this._renderHLines(o.minor,n,t,e,c,d)),this.opt.hMajorLines&&(n=this.opt.majorHLine||a.grid&&a.grid.majorLine||a.axis.majorTick,this._renderHLines(o.major,n,t,e,c,d))}}if(this._hAxis){o=this._hAxis.getTicks();var h=this._hAxis.getScaler();if(null!=o&&null!=h){var u=h.scaler.getTransformerFromModel(h);this.opt.vStripes&&this._renderVRect(o,a.grid,t,e,h,u),o&&this.opt.vMinorLines&&(n=this.opt.minorVLine||a.grid&&a.grid.minorLine||a.axis.minorTick,this._renderVLines(o.minor,n,t,e,h,u)),o&&this.opt.vMajorLines&&(n=this.opt.majorVLine||a.grid&&a.grid.majorLine||a.axis.majorTick,this._renderVLines(o.major,n,t,e,h,u))}}return this.dirty=!1,this},_renderHLines:function(t,e,i,o,r,a){var s=this.getGroup();n.forEach(t,(function(t){if(this.opt.renderOnAxis||t.value!=(this._vAxis.opt.leftBottom?r.bounds.from:r.bounds.to)){var n=i.height-o.b-a(t.value),l=this.createLine(s,{x1:o.l,y1:n,x2:i.width-o.r,y2:n}).setStroke(e);this.animate&&this._animateGrid(l,"h",o.l,o.r+o.l-i.width)}}),this)},_renderVLines:function(t,e,i,o,r,a){var s=this.getGroup();n.forEach(t,(function(t){if(this.opt.renderOnAxis||t.value!=(this._hAxis.opt.leftBottom?r.bounds.from:r.bounds.to)){var n=o.l+a(t.value),l=this.createLine(s,{x1:n,y1:o.t,x2:n,y2:i.height-o.b}).setStroke(e);this.animate&&this._animateGrid(l,"v",i.height-o.b,i.height-o.b-o.t)}}),this)},_renderHRect:function(t,e,n,i,o,r){var a,s,c,d,h,u=t.major.concat(t.minor);u.sort(l),u[0].value>o.bounds.from&&u.splice(0,0,{value:o.bounds.from}),u[u.length-1].value<o.bounds.to&&u.push({value:o.bounds.to});for(var f=this.getGroup(),p=0;p<u.length-1;p++)s=u[p],c=n.height-i.b-r(s.value),d=n.height-i.b-r(u[p+1].value),(a=p%2==0?this.opt.hAlternateFill||e&&e.alternateFill:this.opt.hFill||e&&e.fill)&&(h=this.createRect(f,{x:i.l,y:c,width:n.width-i.r,height:c-d}).setFill(a),this.animate&&this._animateGrid(h,"h",i.l,i.r+i.l-n.width))},_renderVRect:function(t,e,n,i,o,r){var a,s,c,d,h,u=t.major.concat(t.minor);u.sort(l),u[0].value>o.bounds.from&&u.splice(0,0,{value:o.bounds.from}),u[u.length-1].value<o.bounds.to&&u.push({value:o.bounds.to});for(var f=this.getGroup(),p=0;p<u.length-1;p++)s=u[p],c=i.l+r(s.value),d=i.l+r(u[p+1].value),(a=p%2==0?this.opt.vAlternateFill||e&&e.alternateFill:this.opt.vFill||e&&e.fill)&&(h=this.createRect(f,{x:c,y:i.t,width:d-c,height:n.width-i.r}).setFill(a),this.animate&&this._animateGrid(h,"v",n.height-i.b,n.height-i.b-i.t))},_animateGrid:function(e,n,i,o){var r="h"==n?[i,0]:[0,i],a="h"==n?[1/o,1]:[1,1/o];s.animateTransform(t.delegate({shape:e,duration:1200,transform:[{name:"translate",start:r,end:[0,0]},{name:"scale",start:a,end:[1,1]},{name:"original"}]},this.animate)).play()}})}))},4764:function(t,e){define("dojox/charting/plot2d/Grid",["dojo/_base/lang","dojo/_base/declare","dojo/_base/array","dojo/sniff","./CartesianBase","./common","dojox/lang/utils","dojox/gfx/fx"],(function(t,e,n,i,o,r,a,s){var l=function(t,e){return t.value-e.value};return e("dojox.charting.plot2d.Grid",o,{defaultParams:{hMajorLines:!0,hMinorLines:!1,vMajorLines:!0,vMinorLines:!1,hStripes:!1,vStripes:!1,animate:null,enableCache:!1,renderOnAxis:!0},optionalParams:{majorHLine:{},minorHLine:{},majorVLine:{},minorVLine:{},hFill:{},vFill:{},hAlternateFill:{},vAlternateFill:{}},constructor:function(e,n){this.opt=t.clone(this.defaultParams),a.updateWithObject(this.opt,n),a.updateWithPattern(this.opt,n,this.optionalParams),this.animate=this.opt.animate,this.opt.enableCache&&(this._lineFreePool=[],this._lineUsePool=[],this._rectFreePool=[],this._rectUsePool=[])},addSeries:function(t){return this},getSeriesStats:function(){return t.delegate(r.defaultStats)},cleanGroup:function(){this.inherited(arguments),this.opt.enableCache&&(this._lineFreePool=this._lineFreePool.concat(this._lineUsePool),this._lineUsePool=[],this._rectFreePool=this._rectFreePool.concat(this._rectUsePool),this._rectUsePool=[])},createLine:function(t,e){var n;return this.opt.enableCache&&this._lineFreePool.length>0?((n=this._lineFreePool.pop()).setShape(e),t.add(n)):n=t.createLine(e),this.opt.enableCache&&this._lineUsePool.push(n),n},createRect:function(t,e){var n;return this.opt.enableCache&&this._rectFreePool.length>0?((n=this._rectFreePool.pop()).setShape(e),t.add(n)):n=t.createRect(e),this.opt.enableCache&&this._rectUsePool.push(n),n},render:function(t,e){if(this.zoom)return this.performZoom(t,e);if(this.dirty=this.isDirty(),!this.dirty)return this;this.cleanGroup();var n,o,r=this.getGroup(),a=this.chart.theme;if(i("ios")&&i("ios")<6||i("android")||i("safari")&&!i("ios")){var s=Math.max(0,t.width-e.l-e.r),l=Math.max(0,t.height-e.t-e.b);r.createRect({x:e.l,y:e.t,width:s,height:l})}if(this._vAxis){o=this._vAxis.getTicks();var c=this._vAxis.getScaler();if(null!=o&&null!=c){var d=c.scaler.getTransformerFromModel(c);this.opt.hStripes&&this._renderHRect(o,a.grid,t,e,c,d),this.opt.hMinorLines&&(n=this.opt.minorHLine||a.grid&&a.grid.minorLine||a.axis.minorTick,this._renderHLines(o.minor,n,t,e,c,d)),this.opt.hMajorLines&&(n=this.opt.majorHLine||a.grid&&a.grid.majorLine||a.axis.majorTick,this._renderHLines(o.major,n,t,e,c,d))}}if(this._hAxis){o=this._hAxis.getTicks();var h=this._hAxis.getScaler();if(null!=o&&null!=h){var u=h.scaler.getTransformerFromModel(h);this.opt.vStripes&&this._renderVRect(o,a.grid,t,e,h,u),o&&this.opt.vMinorLines&&(n=this.opt.minorVLine||a.grid&&a.grid.minorLine||a.axis.minorTick,this._renderVLines(o.minor,n,t,e,h,u)),o&&this.opt.vMajorLines&&(n=this.opt.majorVLine||a.grid&&a.grid.majorLine||a.axis.majorTick,this._renderVLines(o.major,n,t,e,h,u))}}return this.dirty=!1,this},_renderHLines:function(t,e,i,o,r,a){var s=this.getGroup();n.forEach(t,(function(t){if(this.opt.renderOnAxis||t.value!=(this._vAxis.opt.leftBottom?r.bounds.from:r.bounds.to)){var n=i.height-o.b-a(t.value),l=this.createLine(s,{x1:o.l,y1:n,x2:i.width-o.r,y2:n}).setStroke(e);this.animate&&this._animateGrid(l,"h",o.l,o.r+o.l-i.width)}}),this)},_renderVLines:function(t,e,i,o,r,a){var s=this.getGroup();n.forEach(t,(function(t){if(this.opt.renderOnAxis||t.value!=(this._hAxis.opt.leftBottom?r.bounds.from:r.bounds.to)){var n=o.l+a(t.value),l=this.createLine(s,{x1:n,y1:o.t,x2:n,y2:i.height-o.b}).setStroke(e);this.animate&&this._animateGrid(l,"v",i.height-o.b,i.height-o.b-o.t)}}),this)},_renderHRect:function(t,e,n,i,o,r){var a,s,c,d,h,u=t.major.concat(t.minor);u.sort(l),u[0].value>o.bounds.from&&u.splice(0,0,{value:o.bounds.from}),u[u.length-1].value<o.bounds.to&&u.push({value:o.bounds.to});for(var f=this.getGroup(),p=0;p<u.length-1;p++)s=u[p],c=n.height-i.b-r(s.value),d=n.height-i.b-r(u[p+1].value),(a=p%2==0?this.opt.hAlternateFill||e&&e.alternateFill:this.opt.hFill||e&&e.fill)&&(h=this.createRect(f,{x:i.l,y:c,width:n.width-i.r,height:c-d}).setFill(a),this.animate&&this._animateGrid(h,"h",i.l,i.r+i.l-n.width))},_renderVRect:function(t,e,n,i,o,r){var a,s,c,d,h,u=t.major.concat(t.minor);u.sort(l),u[0].value>o.bounds.from&&u.splice(0,0,{value:o.bounds.from}),u[u.length-1].value<o.bounds.to&&u.push({value:o.bounds.to});for(var f=this.getGroup(),p=0;p<u.length-1;p++)s=u[p],c=i.l+r(s.value),d=i.l+r(u[p+1].value),(a=p%2==0?this.opt.vAlternateFill||e&&e.alternateFill:this.opt.vFill||e&&e.fill)&&(h=this.createRect(f,{x:c,y:i.t,width:d-c,height:n.width-i.r}).setFill(a),this.animate&&this._animateGrid(h,"v",n.height-i.b,n.height-i.b-i.t))},_animateGrid:function(e,n,i,o){var r="h"==n?[i,0]:[0,i],a="h"==n?[1/o,1]:[1,1/o];s.animateTransform(t.delegate({shape:e,duration:1200,transform:[{name:"translate",start:r,end:[0,0]},{name:"scale",start:a,end:[1,1]},{name:"original"}]},this.animate)).play()}})}))},3164:function(t,e){define("dojox/charting/plot2d/Lines",["dojo/_base/declare","./Default"],(function(t,e){return t("dojox.charting.plot2d.Lines",e,{constructor:function(){this.opt.lines=!0}})}))},4191:function(t,e){define("dojox/charting/plot2d/Lines",["dojo/_base/declare","./Default"],(function(t,e){return t("dojox.charting.plot2d.Lines",e,{constructor:function(){this.opt.lines=!0}})}))},780:function(t,e){define("dojox/charting/plot2d/Markers",["dojo/_base/declare","./Default"],(function(t,e){return t("dojox.charting.plot2d.Markers",e,{constructor:function(){this.opt.markers=!0}})}))},3343:function(t,e){define("dojox/charting/plot2d/Markers",["dojo/_base/declare","./Default"],(function(t,e){return t("dojox.charting.plot2d.Markers",e,{constructor:function(){this.opt.markers=!0}})}))},82:function(t,e){define("dojox/charting/plot2d/MarkersOnly",["dojo/_base/declare","./Default"],(function(t,e){return t("dojox.charting.plot2d.MarkersOnly",e,{constructor:function(){this.opt.lines=!1,this.opt.markers=!0}})}))},5701:function(t,e){define("dojox/charting/plot2d/MarkersOnly",["dojo/_base/declare","./Default"],(function(t,e){return t("dojox.charting.plot2d.MarkersOnly",e,{constructor:function(){this.opt.lines=!1,this.opt.markers=!0}})}))},6533:function(t,e){define("dojox/charting/plot2d/OHLC",["dojo/_base/lang","dojo/_base/array","dojo/_base/declare","dojo/has","./CartesianBase","./_PlotEvents","./common","dojox/lang/functional","dojox/lang/functional/reversed","dojox/lang/utils","dojox/gfx/fx"],(function(t,e,n,i,o,r,a,s,l,c,d){var h=l.lambda("item.purgeGroup()");return n("dojox.charting.plot2d.OHLC",[o,r],{defaultParams:{gap:2,animate:null},optionalParams:{minBarSize:1,maxBarSize:1,stroke:{},outline:{},shadow:{},fill:{},font:"",fontColor:""},constructor:function(e,n){this.opt=t.clone(this.defaultParams),c.updateWithObject(this.opt,n),c.updateWithPattern(this.opt,n,this.optionalParams),this.animate=this.opt.animate},collectStats:function(n){for(var i=t.delegate(a.defaultStats),o=0;o<n.length;o++){var r=n[o];if(r.data.length){var s=i.vmin,l=i.vmax;"ymin"in r&&"ymax"in r||e.forEach(r.data,(function(t,e){if(null!==t){var n=t.x||e+1;i.hmin=Math.min(i.hmin,n),i.hmax=Math.max(i.hmax,n),i.vmin=Math.min(i.vmin,t.open,t.close,t.high,t.low),i.vmax=Math.max(i.vmax,t.open,t.close,t.high,t.low)}})),"ymin"in r&&(i.vmin=Math.min(s,r.ymin)),"ymax"in r&&(i.vmax=Math.max(l,r.ymax))}}return i},getSeriesStats:function(){var t=this.collectStats(this.series);return t.hmin-=.5,t.hmax+=.5,t},render:function(t,n){if(this.zoom&&!this.isDataDirty())return this.performZoom(t,n);if(this.resetEvents(),this.dirty=this.isDirty(),this.dirty){e.forEach(this.series,h),this._eventSeries={},this.cleanGroup();var o=this.getGroup();s.forEachRev(this.series,(function(t){t.cleanGroup(o)}))}var r,l,c,d=this.chart.theme,u=this._hScaler.scaler.getTransformerFromModel(this._hScaler),f=this._vScaler.scaler.getTransformerFromModel(this._vScaler),p=this.events();l=(r=a.calculateBarSize(this._hScaler.bounds.scale,this.opt)).gap,c=r.size;for(var m=this.series.length-1;m>=0;--m){var g=this.series[m];if(this.dirty||g.dirty){g.cleanGroup();for(var y=d.next("candlestick",[this.opt,g]),v=(o=g.group,new Array(g.data.length)),b=0;b<g.data.length;++b){var x=g.data[b];if(null!==x){var _=d.addMixin(y,"candlestick",x,!0),j=u(x.x||b+.5)+n.l+l,w=t.height-n.b,k=f(x.open),C=f(x.close),S=f(x.high),M=f(x.low);if(M>S){var T=S;S=M,M=T}if(c>=1){var A={x1:c/2,x2:c/2,y1:w-S,y2:w-M},N={x1:0,x2:c/2+(_.series.stroke.width||1)/2,y1:w-k,y2:w-k},E={x1:c/2-(_.series.stroke.width||1)/2,x2:c,y1:w-C,y2:w-C},P=o.createGroup();P.setTransform({dx:j,dy:0});var L=P.createGroup();if(L.createLine(A).setStroke(_.series.stroke),L.createLine(N).setStroke(_.series.stroke),L.createLine(E).setStroke(_.series.stroke),g.dyn.stroke=_.series.stroke,p){var D={element:"candlestick",index:b,run:g,shape:L,x:j,y:w-Math.max(k,C),cx:c/2,cy:w-Math.max(k,C)+Math.max(k>C?k-C:C-k,1)/2,width:c,height:Math.max(k>C?k-C:C-k,1),data:x};this._connectEvents(D),v[b]=D}}this.animate&&this._animateOHLC(P,w-M,S-M)}}this._eventSeries[g.name]=v,g.dirty=!1}else d.skip(),this._reconnectEvents(g.name)}return this.dirty=!1,i("dojo-bidi")&&this._checkOrientation(this.group,t,n),this},_animateOHLC:function(e,n,i){d.animateTransform(t.delegate({shape:e,duration:1200,transform:[{name:"translate",start:[0,n-n/i],end:[0,0]},{name:"scale",start:[1,1/i],end:[1,1]},{name:"original"}]},this.animate)).play()}})}))},6838:function(t,e){define("dojox/charting/plot2d/OHLC",["dojo/_base/lang","dojo/_base/array","dojo/_base/declare","dojo/has","./CartesianBase","./_PlotEvents","./common","dojox/lang/functional","dojox/lang/functional/reversed","dojox/lang/utils","dojox/gfx/fx"],(function(t,e,n,i,o,r,a,s,l,c,d){var h=l.lambda("item.purgeGroup()");return n("dojox.charting.plot2d.OHLC",[o,r],{defaultParams:{gap:2,animate:null},optionalParams:{minBarSize:1,maxBarSize:1,stroke:{},outline:{},shadow:{},fill:{},font:"",fontColor:""},constructor:function(e,n){this.opt=t.clone(this.defaultParams),c.updateWithObject(this.opt,n),c.updateWithPattern(this.opt,n,this.optionalParams),this.animate=this.opt.animate},collectStats:function(n){for(var i=t.delegate(a.defaultStats),o=0;o<n.length;o++){var r=n[o];if(r.data.length){var s=i.vmin,l=i.vmax;"ymin"in r&&"ymax"in r||e.forEach(r.data,(function(t,e){if(null!==t){var n=t.x||e+1;i.hmin=Math.min(i.hmin,n),i.hmax=Math.max(i.hmax,n),i.vmin=Math.min(i.vmin,t.open,t.close,t.high,t.low),i.vmax=Math.max(i.vmax,t.open,t.close,t.high,t.low)}})),"ymin"in r&&(i.vmin=Math.min(s,r.ymin)),"ymax"in r&&(i.vmax=Math.max(l,r.ymax))}}return i},getSeriesStats:function(){var t=this.collectStats(this.series);return t.hmin-=.5,t.hmax+=.5,t},render:function(t,n){if(this.zoom&&!this.isDataDirty())return this.performZoom(t,n);if(this.resetEvents(),this.dirty=this.isDirty(),this.dirty){e.forEach(this.series,h),this._eventSeries={},this.cleanGroup();var o=this.getGroup();s.forEachRev(this.series,(function(t){t.cleanGroup(o)}))}var r,l,c,d=this.chart.theme,u=this._hScaler.scaler.getTransformerFromModel(this._hScaler),f=this._vScaler.scaler.getTransformerFromModel(this._vScaler),p=this.events();l=(r=a.calculateBarSize(this._hScaler.bounds.scale,this.opt)).gap,c=r.size;for(var m=this.series.length-1;m>=0;--m){var g=this.series[m];if(this.dirty||g.dirty){g.cleanGroup();for(var y=d.next("candlestick",[this.opt,g]),v=(o=g.group,new Array(g.data.length)),b=0;b<g.data.length;++b){var x=g.data[b];if(null!==x){var _=d.addMixin(y,"candlestick",x,!0),j=u(x.x||b+.5)+n.l+l,w=t.height-n.b,k=f(x.open),C=f(x.close),S=f(x.high),M=f(x.low);if(M>S){var T=S;S=M,M=T}if(c>=1){var A={x1:c/2,x2:c/2,y1:w-S,y2:w-M},N={x1:0,x2:c/2+(_.series.stroke.width||1)/2,y1:w-k,y2:w-k},E={x1:c/2-(_.series.stroke.width||1)/2,x2:c,y1:w-C,y2:w-C},P=o.createGroup();P.setTransform({dx:j,dy:0});var L=P.createGroup();if(L.createLine(A).setStroke(_.series.stroke),L.createLine(N).setStroke(_.series.stroke),L.createLine(E).setStroke(_.series.stroke),g.dyn.stroke=_.series.stroke,p){var D={element:"candlestick",index:b,run:g,shape:L,x:j,y:w-Math.max(k,C),cx:c/2,cy:w-Math.max(k,C)+Math.max(k>C?k-C:C-k,1)/2,width:c,height:Math.max(k>C?k-C:C-k,1),data:x};this._connectEvents(D),v[b]=D}}this.animate&&this._animateOHLC(P,w-M,S-M)}}this._eventSeries[g.name]=v,g.dirty=!1}else d.skip(),this._reconnectEvents(g.name)}return this.dirty=!1,i("dojo-bidi")&&this._checkOrientation(this.group,t,n),this},_animateOHLC:function(e,n,i){d.animateTransform(t.delegate({shape:e,duration:1200,transform:[{name:"translate",start:[0,n-n/i],end:[0,0]},{name:"scale",start:[1,1/i],end:[1,1]},{name:"original"}]},this.animate)).play()}})}))},2329:function(t,e){define("dojox/charting/plot2d/Pie",["dojo/_base/lang","dojo/_base/array","dojo/_base/declare","./Base","./_PlotEvents","./common","dojox/gfx","dojox/gfx/matrix","dojox/lang/functional","dojox/lang/utils","dojo/has"],(function(t,e,n,i,o,r,a,s,l,c,d){var h=.2;return n("dojox.charting.plot2d.Pie",[i,o],{defaultParams:{labels:!0,ticks:!1,fixed:!0,precision:1,labelOffset:20,labelStyle:"default",htmlLabels:!0,radGrad:"native",fanSize:5,startAngle:0},optionalParams:{radius:0,omitLabels:!1,stroke:{},outline:{},shadow:{},fill:{},filter:{},styleFunc:null,font:"",fontColor:"",labelWiring:{}},constructor:function(e,n){this.opt=t.clone(this.defaultParams),c.updateWithObject(this.opt,n),c.updateWithPattern(this.opt,n,this.optionalParams),this.axes=[],this.run=null,this.dyn=[],this.runFilter=[]},clear:function(){return this.inherited(arguments),this.dyn=[],this.run=null,this},setAxis:function(t){return this},addSeries:function(t){return this.run=t,this},getSeriesStats:function(){return t.delegate(r.defaultStats)},getRequiredColors:function(){return this.run?this.run.data.length:0},render:function(n,i){if(!this.dirty)return this;this.resetEvents(),this.dirty=!1,this._eventSeries={},this.cleanGroup();var o=this.group,r=this.chart.theme;if(!this.run||!this.run.data.length)return this;var c,u,f,p,m,g,y=(n.width-i.l-i.r)/2,v=(n.height-i.t-i.b)/2,b=Math.min(y,v),x="font"in this.opt?this.opt.font:r.series.font,_=s._degToRad(this.opt.startAngle),j=_,w=this.events(),k=e.map(this.run.data,(function(t,n){return"number"!=typeof t&&t.hidden&&(this.runFilter.push(n),t.hidden=!1),e.some(this.runFilter,(function(t){return t==n}))?"number"==typeof t?0:{y:0,text:t.text}:t}),this);this.dyn=[],"radius"in this.opt&&(b=this.opt.radius,g=b-this.opt.labelOffset);var C={cx:i.l+y,cy:i.t+v,r:b};if(this.opt.shadow||r.shadow){var S=this.opt.shadow||r.shadow,M=t.clone(C);M.cx+=S.dx,M.cy+=S.dy,o.createCircle(M).setFill(S.color).setStroke(S)}if(o.setFilter&&(this.opt.filter||r.filter)&&o.createCircle(C).setFill(r.series.stroke).setFilter(this.opt.filter||r.filter),"number"==typeof k[0]){if(u=l.map(k,"x ? Math.max(x, 0) : 0"),l.every(u,"<= 0"))return o.createCircle(C).setStroke(r.series.stroke),this.dyn=e.map(u,(function(){return{}})),this;f=l.map(u,"/this",l.foldl(u,"+",0)),this.opt.labels&&(p=e.map(f,(function(t){return t>0?this._getLabel(100*t)+"%":""}),this))}else{if(u=l.map(k,"x ? Math.max(x.y, 0) : 0"),l.every(u,"<= 0"))return o.createCircle(C).setStroke(r.series.stroke),this.dyn=e.map(u,(function(){return{}})),this;f=l.map(u,"/this",l.foldl(u,"+",0)),this.opt.labels&&(p=e.map(f,(function(t,e){if(t<0)return"";var n=k[e];return"text"in n?n.text:this._getLabel(100*t)+"%"}),this))}var T=l.map(k,(function(t,e){var n=[this.opt,this.run];return null!==t&&"number"!=typeof t&&n.push(t),this.opt.styleFunc&&n.push(this.opt.styleFunc(t)),r.next("slice",n,!0)}),this);this.opt.labels&&(c=x?a.normalizedLength(a.splitFontString(x).size):0,m=l.foldl1(l.map(p,(function(t,e){var n=T[e].series.font;return a._base._getTextBox(t,{font:n}).w}),this),"Math.max(a, b)")/2,this.opt.labelOffset<0&&(b=Math.min(y-2*m,v-c)+this.opt.labelOffset),g=b-this.opt.labelOffset);var A=new Array(f.length);if(e.some(f,(function(t,e){if(t<0)return!1;var r,a,l=k[e],c=T[e];if(0==t)return this.dyn.push({fill:c.series.fill,stroke:c.series.stroke}),!1;if(t>=1){r=this._plotFill(c.series.fill,n,i),r=this._shapeFill(r,{x:C.cx-C.r,y:C.cy-C.r,width:2*C.r,height:2*C.r}),r=this._pseudoRadialFill(r,{x:C.cx,y:C.cy},C.r);var d=o.createCircle(C).setFill(r).setStroke(c.series.stroke);return this.dyn.push({fill:r,stroke:c.series.stroke}),w&&(a={element:"slice",index:e,run:this.run,shape:d,x:e,y:"number"==typeof l?l:l.y,cx:C.cx,cy:C.cy,cr:b},this._connectEvents(a),A[e]=a),!1}var u=j+2*t*Math.PI;e+1==f.length&&(u=_+2*Math.PI);var p=u-j,m=C.cx+b*Math.cos(j),g=C.cy+b*Math.sin(j),y=C.cx+b*Math.cos(u),v=C.cy+b*Math.sin(u),x=s._degToRad(this.opt.fanSize);if(c.series.fill&&"radial"===c.series.fill.type&&"fan"===this.opt.radGrad&&p>x){var S=o.createGroup(),M=Math.ceil(p/x),N=p/M;r=this._shapeFill(c.series.fill,{x:C.cx-C.r,y:C.cy-C.r,width:2*C.r,height:2*C.r});for(var E=0;E<M;++E){var P=0==E?m:C.cx+b*Math.cos(j+(E-h)*N),L=0==E?g:C.cy+b*Math.sin(j+(E-h)*N),D=E==M-1?y:C.cx+b*Math.cos(j+(E+1+h)*N),F=E==M-1?v:C.cy+b*Math.sin(j+(E+1+h)*N);S.createPath().moveTo(C.cx,C.cy).lineTo(P,L).arcTo(b,b,0,N>Math.PI,!0,D,F).lineTo(C.cx,C.cy).closePath().setFill(this._pseudoRadialFill(r,{x:C.cx,y:C.cy},b,j+(E+.5)*N,j+(E+.5)*N))}S.createPath().moveTo(C.cx,C.cy).lineTo(m,g).arcTo(b,b,0,p>Math.PI,!0,y,v).lineTo(C.cx,C.cy).closePath().setStroke(c.series.stroke),d=S}else d=o.createPath().moveTo(C.cx,C.cy).lineTo(m,g).arcTo(b,b,0,p>Math.PI,!0,y,v).lineTo(C.cx,C.cy).closePath().setStroke(c.series.stroke),(r=c.series.fill)&&"radial"===r.type?(r=this._shapeFill(r,{x:C.cx-C.r,y:C.cy-C.r,width:2*C.r,height:2*C.r}),"linear"===this.opt.radGrad&&(r=this._pseudoRadialFill(r,{x:C.cx,y:C.cy},b,j,u))):r&&"linear"===r.type&&(r=this._plotFill(r,n,i),r=this._shapeFill(r,d.getBoundingBox())),d.setFill(r);return this.dyn.push({fill:r,stroke:c.series.stroke}),w&&(a={element:"slice",index:e,run:this.run,shape:d,x:e,y:"number"==typeof l?l:l.y,cx:C.cx,cy:C.cy,cr:b},this._connectEvents(a),A[e]=a),j=u,!1}),this),this.opt.labels){var N=d("dojo-bidi")&&this.chart.isRightToLeft();if("default"==this.opt.labelStyle)j=_,e.some(f,(function(t,e){if(t<=0)return!1;var i=T[e];if(t>=1)return this.renderLabel(o,C.cx,C.cy+c/2,p[e],i,this.opt.labelOffset>0),!0;var r=j+2*t*Math.PI;if(e+1==f.length&&(r=_+2*Math.PI),this.opt.omitLabels&&r-j<.001)return!1;var a=(j+r)/2,s=C.cx+g*Math.cos(a),l=C.cy+g*Math.sin(a)+c/2;return this.renderLabel(o,N?n.width-s:s,l,p[e],i,this.opt.labelOffset>0),j=r,!1}),this);else if("columns"==this.opt.labelStyle){j=_;var E=this.opt.omitLabels,P=[];e.forEach(f,(function(t,e){var n=j+2*t*Math.PI;e+1==f.length&&(n=_+2*Math.PI);var i=(j+n)/2;P.push({angle:i,left:Math.cos(i)<0,theme:T[e],index:e,omit:!!E&&n-j<.001}),j=n}));var L=a._base._getTextBox("a",{font:x}).h;this._getProperLabelRadius(P,L,1.1*C.r),e.forEach(P,(function(t,e){if(!t.omit){var i=C.cx-2*C.r,r=C.cx+2*C.r,s=a._base._getTextBox(p[e],{font:t.theme.series.font}).w,l=C.cx+t.labelR*Math.cos(t.angle),c=C.cy+t.labelR*Math.sin(t.angle),d=t.left?i+s:r-s,h=t.left?i:d,u=o.createPath().moveTo(C.cx+C.r*Math.cos(t.angle),C.cy+C.r*Math.sin(t.angle));Math.abs(t.labelR*Math.cos(t.angle))<2*C.r-s&&u.lineTo(l,c),u.lineTo(d,c).setStroke(t.theme.series.labelWiring),this.renderLabel(o,N?n.width-s-h:h,c,p[e],t.theme,!1,"left")}}),this)}}var D=0;return this._eventSeries[this.run.name]=l.map(k,(function(t){return t<=0?null:A[D++]})),d("dojo-bidi")&&this._checkOrientation(this.group,n,i),this},_getProperLabelRadius:function(t,e,n){var i,o,r=1,a=1;if(1!=t.length){for(var s=0;s<t.length;s++){var l=Math.abs(Math.sin(t[s].angle));t[s].left?r>=l&&(r=l,i=t[s]):a>=l&&(a=l,o=t[s])}i.labelR=o.labelR=n,this._calculateLabelR(i,t,e),this._calculateLabelR(o,t,e)}else t[0].labelR=n},_calculateLabelR:function(t,e,n){for(var i,o=t.index,r=e.length,a=t.labelR;!(e[o%r].left^e[(o+1)%r].left);)e[(o+1)%r].omit||(a=(i=(Math.sin(e[o%r].angle)*a+(e[o%r].left?-n:n))/Math.sin(e[(o+1)%r].angle))<t.labelR?t.labelR:i,e[(o+1)%r].labelR=a),o++;for(var s=0==(o=t.index)?r-1:o-1;!(e[o].left^e[s].left);)e[s].omit||(a=(i=(Math.sin(e[o].angle)*a+(e[o].left?n:-n))/Math.sin(e[s].angle))<t.labelR?t.labelR:i,e[s].labelR=a),s--,o=--o<0?o+e.length:o,s=s<0?s+e.length:s}})}))},2626:function(t,e){define("dojox/charting/plot2d/Pie",["dojo/_base/lang","dojo/_base/array","dojo/_base/declare","./Base","./_PlotEvents","./common","dojox/gfx","dojox/gfx/matrix","dojox/lang/functional","dojox/lang/utils","dojo/has"],(function(t,e,n,i,o,r,a,s,l,c,d){var h=.2;return n("dojox.charting.plot2d.Pie",[i,o],{defaultParams:{labels:!0,ticks:!1,fixed:!0,precision:1,labelOffset:20,labelStyle:"default",htmlLabels:!0,radGrad:"native",fanSize:5,startAngle:0},optionalParams:{radius:0,omitLabels:!1,stroke:{},outline:{},shadow:{},fill:{},filter:{},styleFunc:null,font:"",fontColor:"",labelWiring:{}},constructor:function(e,n){this.opt=t.clone(this.defaultParams),c.updateWithObject(this.opt,n),c.updateWithPattern(this.opt,n,this.optionalParams),this.axes=[],this.run=null,this.dyn=[],this.runFilter=[]},clear:function(){return this.inherited(arguments),this.dyn=[],this.run=null,this},setAxis:function(t){return this},addSeries:function(t){return this.run=t,this},getSeriesStats:function(){return t.delegate(r.defaultStats)},getRequiredColors:function(){return this.run?this.run.data.length:0},render:function(n,i){if(!this.dirty)return this;this.resetEvents(),this.dirty=!1,this._eventSeries={},this.cleanGroup();var o=this.group,r=this.chart.theme;if(!this.run||!this.run.data.length)return this;var c,u,f,p,m,g,y=(n.width-i.l-i.r)/2,v=(n.height-i.t-i.b)/2,b=Math.min(y,v),x="font"in this.opt?this.opt.font:r.series.font,_=s._degToRad(this.opt.startAngle),j=_,w=this.events(),k=e.map(this.run.data,(function(t,n){return"number"!=typeof t&&t.hidden&&(this.runFilter.push(n),t.hidden=!1),e.some(this.runFilter,(function(t){return t==n}))?"number"==typeof t?0:{y:0,text:t.text}:t}),this);this.dyn=[],"radius"in this.opt&&(b=this.opt.radius,g=b-this.opt.labelOffset);var C={cx:i.l+y,cy:i.t+v,r:b};if(this.opt.shadow||r.shadow){var S=this.opt.shadow||r.shadow,M=t.clone(C);M.cx+=S.dx,M.cy+=S.dy,o.createCircle(M).setFill(S.color).setStroke(S)}if(o.setFilter&&(this.opt.filter||r.filter)&&o.createCircle(C).setFill(r.series.stroke).setFilter(this.opt.filter||r.filter),"number"==typeof k[0]){if(u=l.map(k,"x ? Math.max(x, 0) : 0"),l.every(u,"<= 0"))return o.createCircle(C).setStroke(r.series.stroke),this.dyn=e.map(u,(function(){return{}})),this;f=l.map(u,"/this",l.foldl(u,"+",0)),this.opt.labels&&(p=e.map(f,(function(t){return t>0?this._getLabel(100*t)+"%":""}),this))}else{if(u=l.map(k,"x ? Math.max(x.y, 0) : 0"),l.every(u,"<= 0"))return o.createCircle(C).setStroke(r.series.stroke),this.dyn=e.map(u,(function(){return{}})),this;f=l.map(u,"/this",l.foldl(u,"+",0)),this.opt.labels&&(p=e.map(f,(function(t,e){if(t<0)return"";var n=k[e];return"text"in n?n.text:this._getLabel(100*t)+"%"}),this))}var T=l.map(k,(function(t,e){var n=[this.opt,this.run];return null!==t&&"number"!=typeof t&&n.push(t),this.opt.styleFunc&&n.push(this.opt.styleFunc(t)),r.next("slice",n,!0)}),this);this.opt.labels&&(c=x?a.normalizedLength(a.splitFontString(x).size):0,m=l.foldl1(l.map(p,(function(t,e){var n=T[e].series.font;return a._base._getTextBox(t,{font:n}).w}),this),"Math.max(a, b)")/2,this.opt.labelOffset<0&&(b=Math.min(y-2*m,v-c)+this.opt.labelOffset),g=b-this.opt.labelOffset);var A=new Array(f.length);if(e.some(f,(function(t,e){if(t<0)return!1;var r,a,l=k[e],c=T[e];if(0==t)return this.dyn.push({fill:c.series.fill,stroke:c.series.stroke}),!1;if(t>=1){r=this._plotFill(c.series.fill,n,i),r=this._shapeFill(r,{x:C.cx-C.r,y:C.cy-C.r,width:2*C.r,height:2*C.r}),r=this._pseudoRadialFill(r,{x:C.cx,y:C.cy},C.r);var d=o.createCircle(C).setFill(r).setStroke(c.series.stroke);return this.dyn.push({fill:r,stroke:c.series.stroke}),w&&(a={element:"slice",index:e,run:this.run,shape:d,x:e,y:"number"==typeof l?l:l.y,cx:C.cx,cy:C.cy,cr:b},this._connectEvents(a),A[e]=a),!1}var u=j+2*t*Math.PI;e+1==f.length&&(u=_+2*Math.PI);var p=u-j,m=C.cx+b*Math.cos(j),g=C.cy+b*Math.sin(j),y=C.cx+b*Math.cos(u),v=C.cy+b*Math.sin(u),x=s._degToRad(this.opt.fanSize);if(c.series.fill&&"radial"===c.series.fill.type&&"fan"===this.opt.radGrad&&p>x){var S=o.createGroup(),M=Math.ceil(p/x),N=p/M;r=this._shapeFill(c.series.fill,{x:C.cx-C.r,y:C.cy-C.r,width:2*C.r,height:2*C.r});for(var E=0;E<M;++E){var P=0==E?m:C.cx+b*Math.cos(j+(E-h)*N),L=0==E?g:C.cy+b*Math.sin(j+(E-h)*N),D=E==M-1?y:C.cx+b*Math.cos(j+(E+1+h)*N),F=E==M-1?v:C.cy+b*Math.sin(j+(E+1+h)*N);S.createPath().moveTo(C.cx,C.cy).lineTo(P,L).arcTo(b,b,0,N>Math.PI,!0,D,F).lineTo(C.cx,C.cy).closePath().setFill(this._pseudoRadialFill(r,{x:C.cx,y:C.cy},b,j+(E+.5)*N,j+(E+.5)*N))}S.createPath().moveTo(C.cx,C.cy).lineTo(m,g).arcTo(b,b,0,p>Math.PI,!0,y,v).lineTo(C.cx,C.cy).closePath().setStroke(c.series.stroke),d=S}else d=o.createPath().moveTo(C.cx,C.cy).lineTo(m,g).arcTo(b,b,0,p>Math.PI,!0,y,v).lineTo(C.cx,C.cy).closePath().setStroke(c.series.stroke),(r=c.series.fill)&&"radial"===r.type?(r=this._shapeFill(r,{x:C.cx-C.r,y:C.cy-C.r,width:2*C.r,height:2*C.r}),"linear"===this.opt.radGrad&&(r=this._pseudoRadialFill(r,{x:C.cx,y:C.cy},b,j,u))):r&&"linear"===r.type&&(r=this._plotFill(r,n,i),r=this._shapeFill(r,d.getBoundingBox())),d.setFill(r);return this.dyn.push({fill:r,stroke:c.series.stroke}),w&&(a={element:"slice",index:e,run:this.run,shape:d,x:e,y:"number"==typeof l?l:l.y,cx:C.cx,cy:C.cy,cr:b},this._connectEvents(a),A[e]=a),j=u,!1}),this),this.opt.labels){var N=d("dojo-bidi")&&this.chart.isRightToLeft();if("default"==this.opt.labelStyle)j=_,e.some(f,(function(t,e){if(t<=0)return!1;var i=T[e];if(t>=1)return this.renderLabel(o,C.cx,C.cy+c/2,p[e],i,this.opt.labelOffset>0),!0;var r=j+2*t*Math.PI;if(e+1==f.length&&(r=_+2*Math.PI),this.opt.omitLabels&&r-j<.001)return!1;var a=(j+r)/2,s=C.cx+g*Math.cos(a),l=C.cy+g*Math.sin(a)+c/2;return this.renderLabel(o,N?n.width-s:s,l,p[e],i,this.opt.labelOffset>0),j=r,!1}),this);else if("columns"==this.opt.labelStyle){j=_;var E=this.opt.omitLabels,P=[];e.forEach(f,(function(t,e){var n=j+2*t*Math.PI;e+1==f.length&&(n=_+2*Math.PI);var i=(j+n)/2;P.push({angle:i,left:Math.cos(i)<0,theme:T[e],index:e,omit:!!E&&n-j<.001}),j=n}));var L=a._base._getTextBox("a",{font:x}).h;this._getProperLabelRadius(P,L,1.1*C.r),e.forEach(P,(function(t,e){if(!t.omit){var i=C.cx-2*C.r,r=C.cx+2*C.r,s=a._base._getTextBox(p[e],{font:t.theme.series.font}).w,l=C.cx+t.labelR*Math.cos(t.angle),c=C.cy+t.labelR*Math.sin(t.angle),d=t.left?i+s:r-s,h=t.left?i:d,u=o.createPath().moveTo(C.cx+C.r*Math.cos(t.angle),C.cy+C.r*Math.sin(t.angle));Math.abs(t.labelR*Math.cos(t.angle))<2*C.r-s&&u.lineTo(l,c),u.lineTo(d,c).setStroke(t.theme.series.labelWiring),this.renderLabel(o,N?n.width-s-h:h,c,p[e],t.theme,!1,"left")}}),this)}}var D=0;return this._eventSeries[this.run.name]=l.map(k,(function(t){return t<=0?null:A[D++]})),d("dojo-bidi")&&this._checkOrientation(this.group,n,i),this},_getProperLabelRadius:function(t,e,n){var i,o,r=1,a=1;if(1!=t.length){for(var s=0;s<t.length;s++){var l=Math.abs(Math.sin(t[s].angle));t[s].left?r>=l&&(r=l,i=t[s]):a>=l&&(a=l,o=t[s])}i.labelR=o.labelR=n,this._calculateLabelR(i,t,e),this._calculateLabelR(o,t,e)}else t[0].labelR=n},_calculateLabelR:function(t,e,n){for(var i,o=t.index,r=e.length,a=t.labelR;!(e[o%r].left^e[(o+1)%r].left);)e[(o+1)%r].omit||(a=(i=(Math.sin(e[o%r].angle)*a+(e[o%r].left?-n:n))/Math.sin(e[(o+1)%r].angle))<t.labelR?t.labelR:i,e[(o+1)%r].labelR=a),o++;for(var s=0==(o=t.index)?r-1:o-1;!(e[o].left^e[s].left);)e[s].omit||(a=(i=(Math.sin(e[o].angle)*a+(e[o].left?n:-n))/Math.sin(e[s].angle))<t.labelR?t.labelR:i,e[s].labelR=a),s--,o=--o<0?o+e.length:o,s=s<0?s+e.length:s}})}))},3109:function(t,e){define("dojox/charting/plot2d/Scatter",["dojo/_base/lang","dojo/_base/array","dojo/_base/declare","dojo/has","./CartesianBase","./_PlotEvents","./common","dojox/lang/functional","dojox/lang/functional/reversed","dojox/lang/utils","dojox/gfx/fx","dojox/gfx/gradutils"],(function(t,e,n,i,o,r,a,s,l,c,d,h){var u=l.lambda("item.purgeGroup()");return n("dojox.charting.plot2d.Scatter",[o,r],{defaultParams:{shadows:null,animate:null},optionalParams:{markerStroke:{},markerOutline:{},markerShadow:{},markerFill:{},markerFont:"",markerFontColor:"",styleFunc:null},constructor:function(e,n){this.opt=t.clone(t.mixin(this.opt,this.defaultParams)),c.updateWithObject(this.opt,n),c.updateWithPattern(this.opt,n,this.optionalParams),this.animate=this.opt.animate},render:function(t,n){if(this.zoom&&!this.isDataDirty())return this.performZoom(t,n);var o;this.resetEvents(),this.dirty=this.isDirty(),this.dirty&&(e.forEach(this.series,u),this._eventSeries={},this.cleanGroup(),o=this.getGroup(),s.forEachRev(this.series,(function(t){t.cleanGroup(o)})));for(var r=this.chart.theme,l=this.events(),c=this.series.length-1;c>=0;--c){var d=this.series[c];if(this.dirty||d.dirty)if(d.cleanGroup(),d.data.length){var f,p=r.next("marker",[this.opt,d]),m=this._hScaler.scaler.getTransformerFromModel(this._hScaler),g=this._vScaler.scaler.getTransformerFromModel(this._vScaler);if(d.hidden)d.dyn.marker=p.symbol,d.dyn.markerFill=p.marker.fill,d.dyn.markerStroke=p.marker.stroke;else{o=d.group,f="number"==typeof d.data[0]?e.map(d.data,(function(e,i){return{x:m(i+1)+n.l,y:t.height-n.b-g(e)}}),this):e.map(d.data,(function(e,i){return{x:m(e.x)+n.l,y:t.height-n.b-g(e.y)}}),this);var y=new Array(f.length),v=new Array(f.length),b=new Array(f.length);if(e.forEach(f,(function(e,i){var s,l=d.data[i];if(this.opt.styleFunc||"number"!=typeof l){var c="number"!=typeof l?[l]:[];this.opt.styleFunc&&c.push(this.opt.styleFunc(l)),s=r.addMixin(p,"marker",c,!0)}else s=r.post(p,"marker");var u="M"+e.x+" "+e.y+" "+s.symbol;if(s.marker.shadow&&(y[i]=o.createPath("M"+(e.x+s.marker.shadow.dx)+" "+(e.y+s.marker.shadow.dy)+" "+s.symbol).setStroke(s.marker.shadow).setFill(s.marker.shadow.color),this.animate&&this._animateScatter(y[i],t.height-n.b)),s.marker.outline){var f=a.makeStroke(s.marker.outline);f.width=2*f.width+s.marker.stroke.width,b[i]=o.createPath(u).setStroke(f),this.animate&&this._animateScatter(b[i],t.height-n.b)}var m=a.makeStroke(s.marker.stroke),g=this._plotFill(s.marker.fill,t,n);if(!g||"linear"!==g.type&&"radial"!=g.type)v[i]=o.createPath(u).setStroke(m).setFill(g);else{var x=h.getColor(g,{x:e.x,y:e.y});m&&(m.color=x),v[i]=o.createPath(u).setStroke(m).setFill(x)}if(this.opt.labels){var _=v[i].getBoundingBox();this.createLabel(o,l,_,s)}this.animate&&this._animateScatter(v[i],t.height-n.b)}),this),v.length&&(d.dyn.marker=p.symbol,d.dyn.markerStroke=v[v.length-1].getStroke(),d.dyn.markerFill=v[v.length-1].getFill()),l){var x=new Array(v.length);e.forEach(v,(function(t,e){var n={element:"marker",index:e,run:d,shape:t,outline:b&&b[e]||null,shadow:y&&y[e]||null,cx:f[e].x,cy:f[e].y};"number"==typeof d.data[0]?(n.x=e+1,n.y=d.data[e]):(n.x=d.data[e].x,n.y=d.data[e].y),this._connectEvents(n),x[e]=n}),this),this._eventSeries[d.name]=x}else delete this._eventSeries[d.name];d.dirty=!1}}else d.dirty=!1,r.skip();else r.skip(),this._reconnectEvents(d.name)}return this.dirty=!1,i("dojo-bidi")&&this._checkOrientation(this.group,t,n),this},_animateScatter:function(e,n){d.animateTransform(t.delegate({shape:e,duration:1200,transform:[{name:"translate",start:[0,n],end:[0,0]},{name:"scale",start:[0,0],end:[1,1]},{name:"original"}]},this.animate)).play()}})}))},1702:function(t,e){define("dojox/charting/plot2d/Scatter",["dojo/_base/lang","dojo/_base/array","dojo/_base/declare","dojo/has","./CartesianBase","./_PlotEvents","./common","dojox/lang/functional","dojox/lang/functional/reversed","dojox/lang/utils","dojox/gfx/fx","dojox/gfx/gradutils"],(function(t,e,n,i,o,r,a,s,l,c,d,h){var u=l.lambda("item.purgeGroup()");return n("dojox.charting.plot2d.Scatter",[o,r],{defaultParams:{shadows:null,animate:null},optionalParams:{markerStroke:{},markerOutline:{},markerShadow:{},markerFill:{},markerFont:"",markerFontColor:"",styleFunc:null},constructor:function(e,n){this.opt=t.clone(t.mixin(this.opt,this.defaultParams)),c.updateWithObject(this.opt,n),c.updateWithPattern(this.opt,n,this.optionalParams),this.animate=this.opt.animate},render:function(t,n){if(this.zoom&&!this.isDataDirty())return this.performZoom(t,n);var o;this.resetEvents(),this.dirty=this.isDirty(),this.dirty&&(e.forEach(this.series,u),this._eventSeries={},this.cleanGroup(),o=this.getGroup(),s.forEachRev(this.series,(function(t){t.cleanGroup(o)})));for(var r=this.chart.theme,l=this.events(),c=this.series.length-1;c>=0;--c){var d=this.series[c];if(this.dirty||d.dirty)if(d.cleanGroup(),d.data.length){var f,p=r.next("marker",[this.opt,d]),m=this._hScaler.scaler.getTransformerFromModel(this._hScaler),g=this._vScaler.scaler.getTransformerFromModel(this._vScaler);if(d.hidden)d.dyn.marker=p.symbol,d.dyn.markerFill=p.marker.fill,d.dyn.markerStroke=p.marker.stroke;else{o=d.group,f="number"==typeof d.data[0]?e.map(d.data,(function(e,i){return{x:m(i+1)+n.l,y:t.height-n.b-g(e)}}),this):e.map(d.data,(function(e,i){return{x:m(e.x)+n.l,y:t.height-n.b-g(e.y)}}),this);var y=new Array(f.length),v=new Array(f.length),b=new Array(f.length);if(e.forEach(f,(function(e,i){var s,l=d.data[i];if(this.opt.styleFunc||"number"!=typeof l){var c="number"!=typeof l?[l]:[];this.opt.styleFunc&&c.push(this.opt.styleFunc(l)),s=r.addMixin(p,"marker",c,!0)}else s=r.post(p,"marker");var u="M"+e.x+" "+e.y+" "+s.symbol;if(s.marker.shadow&&(y[i]=o.createPath("M"+(e.x+s.marker.shadow.dx)+" "+(e.y+s.marker.shadow.dy)+" "+s.symbol).setStroke(s.marker.shadow).setFill(s.marker.shadow.color),this.animate&&this._animateScatter(y[i],t.height-n.b)),s.marker.outline){var f=a.makeStroke(s.marker.outline);f.width=2*f.width+s.marker.stroke.width,b[i]=o.createPath(u).setStroke(f),this.animate&&this._animateScatter(b[i],t.height-n.b)}var m=a.makeStroke(s.marker.stroke),g=this._plotFill(s.marker.fill,t,n);if(!g||"linear"!==g.type&&"radial"!=g.type)v[i]=o.createPath(u).setStroke(m).setFill(g);else{var x=h.getColor(g,{x:e.x,y:e.y});m&&(m.color=x),v[i]=o.createPath(u).setStroke(m).setFill(x)}if(this.opt.labels){var _=v[i].getBoundingBox();this.createLabel(o,l,_,s)}this.animate&&this._animateScatter(v[i],t.height-n.b)}),this),v.length&&(d.dyn.marker=p.symbol,d.dyn.markerStroke=v[v.length-1].getStroke(),d.dyn.markerFill=v[v.length-1].getFill()),l){var x=new Array(v.length);e.forEach(v,(function(t,e){var n={element:"marker",index:e,run:d,shape:t,outline:b&&b[e]||null,shadow:y&&y[e]||null,cx:f[e].x,cy:f[e].y};"number"==typeof d.data[0]?(n.x=e+1,n.y=d.data[e]):(n.x=d.data[e].x,n.y=d.data[e].y),this._connectEvents(n),x[e]=n}),this),this._eventSeries[d.name]=x}else delete this._eventSeries[d.name];d.dirty=!1}}else d.dirty=!1,r.skip();else r.skip(),this._reconnectEvents(d.name)}return this.dirty=!1,i("dojo-bidi")&&this._checkOrientation(this.group,t,n),this},_animateScatter:function(e,n){d.animateTransform(t.delegate({shape:e,duration:1200,transform:[{name:"translate",start:[0,n],end:[0,0]},{name:"scale",start:[0,0],end:[1,1]},{name:"original"}]},this.animate)).play()}})}))},9174:function(t,e){define("dojox/charting/plot2d/Spider",["dojo/_base/lang","dojo/_base/declare","dojo/_base/connect","dojo/_base/array","dojo/dom-geometry","dojo/_base/fx","dojo/fx","dojo/sniff","./Base","./_PlotEvents","./common","../axis2d/common","dojox/gfx","dojox/gfx/matrix","dojox/gfx/fx","dojox/lang/functional","dojox/lang/utils","dojo/fx/easing"],(function(t,e,n,i,o,r,a,s,l,c,d,h,u,f,p,m,g,y){var v=e("dojox.charting.plot2d.Spider",[l,c],{defaultParams:{labels:!0,ticks:!1,fixed:!0,precision:1,labelOffset:-10,labelStyle:"default",htmlLabels:!0,startAngle:-90,divisions:3,axisColor:"",axisWidth:0,spiderColor:"",spiderWidth:0,seriesWidth:0,seriesFillAlpha:.2,spiderOrigin:.16,markerSize:3,spiderType:"polygon",animationType:y.backOut,animate:null,axisTickFont:"",axisTickFontColor:"",axisFont:"",axisFontColor:""},optionalParams:{radius:0,font:"",fontColor:""},constructor:function(e,n){this.opt=t.clone(this.defaultParams),g.updateWithObject(this.opt,n),g.updateWithPattern(this.opt,n,this.optionalParams),this.dyn=[],this.datas={},this.labelKey=[],this.oldSeriePoints={},this.animate=null===this.opt.animate?{}:this.opt.animate,this.animations={}},clear:function(){return this.inherited(arguments),this.dyn=[],this.axes=[],this.datas={},this.labelKey=[],this.oldSeriePoints={},this.animations={},this},setAxis:function(t){return t&&(null!=t.opt.min&&(this.datas[t.name].min=t.opt.min),null!=t.opt.max&&(this.datas[t.name].max=t.opt.max)),this},addSeries:function(t){var e;for(e in this.series.push(t),t.data){var n=t.data[e],i=this.datas[e];if(i)i.vlist.push(n),i.min=Math.min(i.min,n),i.max=Math.max(i.max,n);else{var o="__"+e;this.axes.push(o),this[o]=e,this.datas[e]={min:n,max:n,vlist:[n]}}}if(this.labelKey.length<=0)for(e in t.data)this.labelKey.push(e);return this},getSeriesStats:function(){return d.collectSimpleStats(this.series)},render:function(t,e){if(!this.dirty)return this;this.dirty=!1,this.cleanGroup();var n=this.group,r=this.chart.theme;if(this.resetEvents(),!this.series||!this.series.length)return this;var a,s,l,c,d,p,g,y,v,b,x,_,j,w,k,C,S,M,T,A=this.opt,N=r.axis,E=(t.width-e.l-e.r)/2,P=(t.height-e.t-e.b)/2,L=Math.min(E,P),D=A.font||N.majorTick&&N.majorTick.font||N.tick&&N.tick.font||"normal normal normal 7pt Tahoma",F=A.axisFont||N.tick&&N.tick.titleFont||"normal normal normal 11pt Tahoma",I=A.axisTickFontColor||N.majorTick&&N.majorTick.fontColor||N.tick&&N.tick.fontColor||"silver",R=A.axisFontColor||N.tick&&N.tick.titleFontColor||"black",B=A.axisColor||N.tick&&N.tick.axisColor||"silver",O=A.spiderColor||N.tick&&N.tick.spiderColor||"silver",W=A.axisWidth||N.stroke&&N.stroke.width||2,z=A.spiderWidth||N.stroke&&N.stroke.width||2,q=A.seriesWidth||N.stroke&&N.stroke.width||2,H=u.normalizedLength(u.splitFontString(F).size),U=f._degToRad(A.startAngle),G=A.spiderOrigin,V=A.divisions>=3?A.divisions:3,K=A.markerSize,X=A.spiderType,$=A.animationType,Q=A.labelOffset<-10?A.labelOffset:-10,Y=.2;A.labels&&(a=i.map(this.series,(function(t){return t.name}),this),s=m.foldl1(m.map(a,(function(t){var e=r.series.font;return u._base._getTextBox(t,{font:e}).w}),this),"Math.max(a, b)")/2,l=(L=Math.min(E-2*s,P-H)+Q)-Q),"radius"in A&&(l=(L=A.radius)-Q),L/=1.2;var J={cx:e.l+E,cy:e.t+P,r:L};for(v=this.series.length-1;v>=0;v--)if(k=this.series[v],this.dirty||k.dirty){if(k.cleanGroup(),null!==(C=k.data)&&(_=this._getObjectLength(C),(!c||c.length<=0)&&(c=[],d=[],y=[],this._buildPoints(c,_,J,L,U,!0,t),this._buildPoints(d,_,J,L*G,U,!0,t),this._buildPoints(y,_,J,l,U,!1,t),V>2)))for(p=[],g=[],b=0;b<V-2;b++)p[b]=[],this._buildPoints(p[b],_,J,L*(G+(1-G)*(b+1)/(V-1)),U,!0,t),g[b]=L*(G+(1-G)*(b+1)/(V-1))}else r.skip();var Z=n.createGroup(),tt={color:B,width:W},et={color:O,width:z};for(b=c.length-1;b>=0;--b){var nt={x:(x=c[b]).x+(x.x-J.cx)*Y,y:x.y+(x.y-J.cy)*Y},it={x:x.x+(x.x-J.cx)*Y/2,y:x.y+(x.y-J.cy)*Y/2};Z.createLine({x1:J.cx,y1:J.cy,x2:nt.x,y2:nt.y}).setStroke(tt),this._drawArrow(Z,nt,it,tt)}var ot=n.createGroup();for(b=y.length-1;b>=0;--b){x=y[b],j=u._base._getTextBox(this.labelKey[b],{font:F}).w||0,w=this.opt.htmlLabels&&"vml"!=u.renderer?"html":"gfx";var rt=h.createText[w](this.chart,ot,o.isBodyLtr()||"html"!=w?x.x:x.x+j-t.width,x.y,"middle",this.labelKey[b],F,R);this.opt.htmlLabels&&this.htmlElements.push(rt)}var at=n.createGroup();if("polygon"==X){if(at.createPolyline(c).setStroke(et),at.createPolyline(d).setStroke(et),p.length>0)for(b=p.length-1;b>=0;--b)at.createPolyline(p[b]).setStroke(et)}else if(at.createCircle({cx:J.cx,cy:J.cy,r:L}).setStroke(et),at.createCircle({cx:J.cx,cy:J.cy,r:L*G}).setStroke(et),g.length>0)for(b=g.length-1;b>=0;--b)at.createCircle({cx:J.cx,cy:J.cy,r:g[b]}).setStroke(et);_=this._getObjectLength(this.datas);var st=n.createGroup(),lt=0;for(var ct in this.datas){for(M=(S=this.datas[ct]).min,T=S.max-M,yt=U+2*Math.PI*lt/_,v=0;v<V;v++){var dt=M+T*v/(V-1);x=this._getCoordinate(J,L*(G+(1-G)*v/(V-1)),yt,t),dt=this._getLabel(dt),j=u._base._getTextBox(dt,{font:D}).w||0,w=this.opt.htmlLabels&&"vml"!=u.renderer?"html":"gfx",this.opt.htmlLabels&&this.htmlElements.push(h.createText[w](this.chart,st,o.isBodyLtr()||"html"!=w?x.x:x.x+j-t.width,x.y,"start",dt,D,I))}lt++}for(this.chart.seriesShapes={},v=this.series.length-1;v>=0;v--)if(null!==(C=(k=this.series[v]).data)){var ht=r.next("spider",[A,k]),ut=u.normalizeColor(ht.series.fill),ft={color:ht.series.fill,width:q};if(ut.a=A.seriesFillAlpha,k.dyn={fill:ut,stroke:ft},k.hidden)continue;var pt=[],mt=[];for(ct in lt=0,C){M=(S=this.datas[ct]).min,T=S.max-M;var gt=C[ct],yt=U+2*Math.PI*lt/_;x=this._getCoordinate(J,L*(G+(1-G)*(gt-M)/T),yt,t),pt.push(x),mt.push({sname:k.name,key:ct,data:gt}),lt++}pt[pt.length]=pt[0],mt[mt.length]=mt[0];var vt=this._getBoundary(pt),bt=k.group,xt=this.oldSeriePoints[k.name],_t=this._createSeriesEntry(bt,xt||d,pt,ut,ft,L,G,K,$);this.chart.seriesShapes[k.name]=_t,this.oldSeriePoints[k.name]=pt;var jt={element:"spider_poly",index:v,id:"spider_poly_"+k.name,run:k,plot:this,shape:_t.poly,parent:bt,brect:vt,cx:J.cx,cy:J.cy,cr:L,f:ut,s:n};this._connectEvents(jt);var wt={element:"spider_plot",index:v,id:"spider_plot_"+k.name,run:k,plot:this,shape:k.group};this._connectEvents(wt),i.forEach(_t.circles,(function(t,e){var i={element:"spider_circle",index:e,id:"spider_circle_"+k.name+e,run:k,plot:this,shape:t,parent:bt,tdata:mt[e],cx:pt[e].x,cy:pt[e].y,f:ut,s:n};this._connectEvents(i)}),this)}return this},_createSeriesEntry:function(e,o,s,l,c,d,h,u,f){for(var p=this.animate?o:s,m=e.createPolyline(p).setFill(l).setStroke(c),g=[],y=0;y<p.length;y++){var v=p[y],b=u,x=e.createCircle({cx:v.x,cy:v.y,r:b}).setFill(l).setStroke(c);g.push(x)}if(this.animate){var _=i.map(s,(function(e,i){var a=o[i],s=new r.Animation(t.delegate({duration:1e3,easing:f,curve:[a.y,e.y]},this.animate)),l=m,c=g[i];return n.connect(s,"onAnimate",(function(t){var e=l.getShape();e.points[i].y=t,l.setShape(e);var n=c.getShape();n.cy=t,c.setShape(n)})),s}),this),j=i.map(s,(function(e,i){var a=o[i],s=new r.Animation(t.delegate({duration:1e3,easing:f,curve:[a.x,e.x]},this.animate)),l=m,c=g[i];return n.connect(s,"onAnimate",(function(t){var e=l.getShape();e.points[i].x=t,l.setShape(e);var n=c.getShape();n.cx=t,c.setShape(n)})),s}),this);a.combine(_.concat(j)).play()}return{group:e,poly:m,circles:g}},plotEvent:function(t){"spider_plot"==t.element&&("onmouseover"!=t.type||s("ie")||t.shape.moveToFront())},tooltipFunc:function(t){return"spider_circle"==t.element?t.tdata.sname+"<br/>"+t.tdata.key+"<br/>"+t.tdata.data:null},_getBoundary:function(t){for(var e=t[0].x,n=t[0].x,i=t[0].y,o=t[0].y,r=0;r<t.length;r++){var a=t[r];e=Math.max(a.x,e),i=Math.max(a.y,i),n=Math.min(a.x,n),o=Math.min(a.y,o)}return{x:n,y:o,width:e-n,height:i-o}},_drawArrow:function(t,e,n,i){var o=Math.sqrt(Math.pow(n.x-e.x,2)+Math.pow(n.y-e.y,2)),r=(n.y-e.y)/o,a=(n.x-e.x)/o,s={x:n.x+o/3*-r,y:n.y+o/3*a},l={x:n.x+o/3*r,y:n.y+o/3*-a};t.createPolyline([e,s,l]).setFill(i.color).setStroke(i)},_buildPoints:function(t,e,n,i,o,r,a){for(var s=0;s<e;s++){var l=o+2*Math.PI*s/e;t.push(this._getCoordinate(n,i,l,a))}r&&t.push(this._getCoordinate(n,i,o+2*Math.PI,a))},_getCoordinate:function(t,e,n,i){var o=t.cx+e*Math.cos(n);return s("dojo-bidi")&&this.chart.isRightToLeft()&&i&&(o=i.width-o),{x:o,y:t.cy+e*Math.sin(n)}},_getObjectLength:function(e){var n=0;if(t.isObject(e))for(var i in e)n++;return n},_getLabel:function(t){return d.getLabel(t,this.opt.fixed,this.opt.precision)}});return v}))},2097:function(t,e){define("dojox/charting/plot2d/Spider",["dojo/_base/lang","dojo/_base/declare","dojo/_base/connect","dojo/_base/array","dojo/dom-geometry","dojo/_base/fx","dojo/fx","dojo/sniff","./Base","./_PlotEvents","./common","../axis2d/common","dojox/gfx","dojox/gfx/matrix","dojox/gfx/fx","dojox/lang/functional","dojox/lang/utils","dojo/fx/easing"],(function(t,e,n,i,o,r,a,s,l,c,d,h,u,f,p,m,g,y){var v=e("dojox.charting.plot2d.Spider",[l,c],{defaultParams:{labels:!0,ticks:!1,fixed:!0,precision:1,labelOffset:-10,labelStyle:"default",htmlLabels:!0,startAngle:-90,divisions:3,axisColor:"",axisWidth:0,spiderColor:"",spiderWidth:0,seriesWidth:0,seriesFillAlpha:.2,spiderOrigin:.16,markerSize:3,spiderType:"polygon",animationType:y.backOut,animate:null,axisTickFont:"",axisTickFontColor:"",axisFont:"",axisFontColor:""},optionalParams:{radius:0,font:"",fontColor:""},constructor:function(e,n){this.opt=t.clone(this.defaultParams),g.updateWithObject(this.opt,n),g.updateWithPattern(this.opt,n,this.optionalParams),this.dyn=[],this.datas={},this.labelKey=[],this.oldSeriePoints={},this.animate=null===this.opt.animate?{}:this.opt.animate,this.animations={}},clear:function(){return this.inherited(arguments),this.dyn=[],this.axes=[],this.datas={},this.labelKey=[],this.oldSeriePoints={},this.animations={},this},setAxis:function(t){return t&&(null!=t.opt.min&&(this.datas[t.name].min=t.opt.min),null!=t.opt.max&&(this.datas[t.name].max=t.opt.max)),this},addSeries:function(t){var e;for(e in this.series.push(t),t.data){var n=t.data[e],i=this.datas[e];if(i)i.vlist.push(n),i.min=Math.min(i.min,n),i.max=Math.max(i.max,n);else{var o="__"+e;this.axes.push(o),this[o]=e,this.datas[e]={min:n,max:n,vlist:[n]}}}if(this.labelKey.length<=0)for(e in t.data)this.labelKey.push(e);return this},getSeriesStats:function(){return d.collectSimpleStats(this.series)},render:function(t,e){if(!this.dirty)return this;this.dirty=!1,this.cleanGroup();var n=this.group,r=this.chart.theme;if(this.resetEvents(),!this.series||!this.series.length)return this;var a,s,l,c,d,p,g,y,v,b,x,_,j,w,k,C,S,M,T,A=this.opt,N=r.axis,E=(t.width-e.l-e.r)/2,P=(t.height-e.t-e.b)/2,L=Math.min(E,P),D=A.font||N.majorTick&&N.majorTick.font||N.tick&&N.tick.font||"normal normal normal 7pt Tahoma",F=A.axisFont||N.tick&&N.tick.titleFont||"normal normal normal 11pt Tahoma",I=A.axisTickFontColor||N.majorTick&&N.majorTick.fontColor||N.tick&&N.tick.fontColor||"silver",R=A.axisFontColor||N.tick&&N.tick.titleFontColor||"black",B=A.axisColor||N.tick&&N.tick.axisColor||"silver",O=A.spiderColor||N.tick&&N.tick.spiderColor||"silver",W=A.axisWidth||N.stroke&&N.stroke.width||2,z=A.spiderWidth||N.stroke&&N.stroke.width||2,q=A.seriesWidth||N.stroke&&N.stroke.width||2,H=u.normalizedLength(u.splitFontString(F).size),U=f._degToRad(A.startAngle),G=A.spiderOrigin,V=A.divisions>=3?A.divisions:3,K=A.markerSize,X=A.spiderType,$=A.animationType,Q=A.labelOffset<-10?A.labelOffset:-10,Y=.2;A.labels&&(a=i.map(this.series,(function(t){return t.name}),this),s=m.foldl1(m.map(a,(function(t){var e=r.series.font;return u._base._getTextBox(t,{font:e}).w}),this),"Math.max(a, b)")/2,l=(L=Math.min(E-2*s,P-H)+Q)-Q),"radius"in A&&(l=(L=A.radius)-Q),L/=1.2;var J={cx:e.l+E,cy:e.t+P,r:L};for(v=this.series.length-1;v>=0;v--)if(k=this.series[v],this.dirty||k.dirty){if(k.cleanGroup(),null!==(C=k.data)&&(_=this._getObjectLength(C),(!c||c.length<=0)&&(c=[],d=[],y=[],this._buildPoints(c,_,J,L,U,!0,t),this._buildPoints(d,_,J,L*G,U,!0,t),this._buildPoints(y,_,J,l,U,!1,t),V>2)))for(p=[],g=[],b=0;b<V-2;b++)p[b]=[],this._buildPoints(p[b],_,J,L*(G+(1-G)*(b+1)/(V-1)),U,!0,t),g[b]=L*(G+(1-G)*(b+1)/(V-1))}else r.skip();var Z=n.createGroup(),tt={color:B,width:W},et={color:O,width:z};for(b=c.length-1;b>=0;--b){var nt={x:(x=c[b]).x+(x.x-J.cx)*Y,y:x.y+(x.y-J.cy)*Y},it={x:x.x+(x.x-J.cx)*Y/2,y:x.y+(x.y-J.cy)*Y/2};Z.createLine({x1:J.cx,y1:J.cy,x2:nt.x,y2:nt.y}).setStroke(tt),this._drawArrow(Z,nt,it,tt)}var ot=n.createGroup();for(b=y.length-1;b>=0;--b){x=y[b],j=u._base._getTextBox(this.labelKey[b],{font:F}).w||0,w=this.opt.htmlLabels&&"vml"!=u.renderer?"html":"gfx";var rt=h.createText[w](this.chart,ot,o.isBodyLtr()||"html"!=w?x.x:x.x+j-t.width,x.y,"middle",this.labelKey[b],F,R);this.opt.htmlLabels&&this.htmlElements.push(rt)}var at=n.createGroup();if("polygon"==X){if(at.createPolyline(c).setStroke(et),at.createPolyline(d).setStroke(et),p.length>0)for(b=p.length-1;b>=0;--b)at.createPolyline(p[b]).setStroke(et)}else if(at.createCircle({cx:J.cx,cy:J.cy,r:L}).setStroke(et),at.createCircle({cx:J.cx,cy:J.cy,r:L*G}).setStroke(et),g.length>0)for(b=g.length-1;b>=0;--b)at.createCircle({cx:J.cx,cy:J.cy,r:g[b]}).setStroke(et);_=this._getObjectLength(this.datas);var st=n.createGroup(),lt=0;for(var ct in this.datas){for(M=(S=this.datas[ct]).min,T=S.max-M,yt=U+2*Math.PI*lt/_,v=0;v<V;v++){var dt=M+T*v/(V-1);x=this._getCoordinate(J,L*(G+(1-G)*v/(V-1)),yt,t),dt=this._getLabel(dt),j=u._base._getTextBox(dt,{font:D}).w||0,w=this.opt.htmlLabels&&"vml"!=u.renderer?"html":"gfx",this.opt.htmlLabels&&this.htmlElements.push(h.createText[w](this.chart,st,o.isBodyLtr()||"html"!=w?x.x:x.x+j-t.width,x.y,"start",dt,D,I))}lt++}for(this.chart.seriesShapes={},v=this.series.length-1;v>=0;v--)if(null!==(C=(k=this.series[v]).data)){var ht=r.next("spider",[A,k]),ut=u.normalizeColor(ht.series.fill),ft={color:ht.series.fill,width:q};if(ut.a=A.seriesFillAlpha,k.dyn={fill:ut,stroke:ft},k.hidden)continue;var pt=[],mt=[];for(ct in lt=0,C){M=(S=this.datas[ct]).min,T=S.max-M;var gt=C[ct],yt=U+2*Math.PI*lt/_;x=this._getCoordinate(J,L*(G+(1-G)*(gt-M)/T),yt,t),pt.push(x),mt.push({sname:k.name,key:ct,data:gt}),lt++}pt[pt.length]=pt[0],mt[mt.length]=mt[0];var vt=this._getBoundary(pt),bt=k.group,xt=this.oldSeriePoints[k.name],_t=this._createSeriesEntry(bt,xt||d,pt,ut,ft,L,G,K,$);this.chart.seriesShapes[k.name]=_t,this.oldSeriePoints[k.name]=pt;var jt={element:"spider_poly",index:v,id:"spider_poly_"+k.name,run:k,plot:this,shape:_t.poly,parent:bt,brect:vt,cx:J.cx,cy:J.cy,cr:L,f:ut,s:n};this._connectEvents(jt);var wt={element:"spider_plot",index:v,id:"spider_plot_"+k.name,run:k,plot:this,shape:k.group};this._connectEvents(wt),i.forEach(_t.circles,(function(t,e){var i={element:"spider_circle",index:e,id:"spider_circle_"+k.name+e,run:k,plot:this,shape:t,parent:bt,tdata:mt[e],cx:pt[e].x,cy:pt[e].y,f:ut,s:n};this._connectEvents(i)}),this)}return this},_createSeriesEntry:function(e,o,s,l,c,d,h,u,f){for(var p=this.animate?o:s,m=e.createPolyline(p).setFill(l).setStroke(c),g=[],y=0;y<p.length;y++){var v=p[y],b=u,x=e.createCircle({cx:v.x,cy:v.y,r:b}).setFill(l).setStroke(c);g.push(x)}if(this.animate){var _=i.map(s,(function(e,i){var a=o[i],s=new r.Animation(t.delegate({duration:1e3,easing:f,curve:[a.y,e.y]},this.animate)),l=m,c=g[i];return n.connect(s,"onAnimate",(function(t){var e=l.getShape();e.points[i].y=t,l.setShape(e);var n=c.getShape();n.cy=t,c.setShape(n)})),s}),this),j=i.map(s,(function(e,i){var a=o[i],s=new r.Animation(t.delegate({duration:1e3,easing:f,curve:[a.x,e.x]},this.animate)),l=m,c=g[i];return n.connect(s,"onAnimate",(function(t){var e=l.getShape();e.points[i].x=t,l.setShape(e);var n=c.getShape();n.cx=t,c.setShape(n)})),s}),this);a.combine(_.concat(j)).play()}return{group:e,poly:m,circles:g}},plotEvent:function(t){"spider_plot"==t.element&&("onmouseover"!=t.type||s("ie")||t.shape.moveToFront())},tooltipFunc:function(t){return"spider_circle"==t.element?t.tdata.sname+"<br/>"+t.tdata.key+"<br/>"+t.tdata.data:null},_getBoundary:function(t){for(var e=t[0].x,n=t[0].x,i=t[0].y,o=t[0].y,r=0;r<t.length;r++){var a=t[r];e=Math.max(a.x,e),i=Math.max(a.y,i),n=Math.min(a.x,n),o=Math.min(a.y,o)}return{x:n,y:o,width:e-n,height:i-o}},_drawArrow:function(t,e,n,i){var o=Math.sqrt(Math.pow(n.x-e.x,2)+Math.pow(n.y-e.y,2)),r=(n.y-e.y)/o,a=(n.x-e.x)/o,s={x:n.x+o/3*-r,y:n.y+o/3*a},l={x:n.x+o/3*r,y:n.y+o/3*-a};t.createPolyline([e,s,l]).setFill(i.color).setStroke(i)},_buildPoints:function(t,e,n,i,o,r,a){for(var s=0;s<e;s++){var l=o+2*Math.PI*s/e;t.push(this._getCoordinate(n,i,l,a))}r&&t.push(this._getCoordinate(n,i,o+2*Math.PI,a))},_getCoordinate:function(t,e,n,i){var o=t.cx+e*Math.cos(n);return s("dojo-bidi")&&this.chart.isRightToLeft()&&i&&(o=i.width-o),{x:o,y:t.cy+e*Math.sin(n)}},_getObjectLength:function(e){var n=0;if(t.isObject(e))for(var i in e)n++;return n},_getLabel:function(t){return d.getLabel(t,this.opt.fixed,this.opt.precision)}});return v}))},3358:function(t,e){define("dojox/charting/plot2d/Stacked",["dojo/_base/declare","./Default","./commonStacked"],(function(t,e,n){return t("dojox.charting.plot2d.Stacked",e,{getSeriesStats:function(){return n.collectStats(this.series)},buildSegments:function(t,e){for(var i=this.series[t],o=e?Math.max(0,Math.floor(this._hScaler.bounds.from-1)):0,r=e?Math.min(i.data.length-1,Math.ceil(this._hScaler.bounds.to)):i.data.length-1,a=null,s=[],l=o;l<=r;l++){var c=e?n.getIndexValue(this.series,t,l):n.getValue(this.series,t,i.data[l]?i.data[l].x:null);null==c[0]||!e&&null==c[0].y?this.opt.interpolate&&!e||(a=null):(a||(a=[],s.push({index:l,rseg:a})),a.push(c[0]))}return s}})}))},8297:function(t,e){define("dojox/charting/plot2d/Stacked",["dojo/_base/declare","./Default","./commonStacked"],(function(t,e,n){return t("dojox.charting.plot2d.Stacked",e,{getSeriesStats:function(){return n.collectStats(this.series)},buildSegments:function(t,e){for(var i=this.series[t],o=e?Math.max(0,Math.floor(this._hScaler.bounds.from-1)):0,r=e?Math.min(i.data.length-1,Math.ceil(this._hScaler.bounds.to)):i.data.length-1,a=null,s=[],l=o;l<=r;l++){var c=e?n.getIndexValue(this.series,t,l):n.getValue(this.series,t,i.data[l]?i.data[l].x:null);null==c[0]||!e&&null==c[0].y?this.opt.interpolate&&!e||(a=null):(a||(a=[],s.push({index:l,rseg:a})),a.push(c[0]))}return s}})}))},6686:function(t,e){define("dojox/charting/plot2d/StackedAreas",["dojo/_base/declare","./Stacked"],(function(t,e){return t("dojox.charting.plot2d.StackedAreas",e,{constructor:function(){this.opt.lines=!0,this.opt.areas=!0}})}))},7177:function(t,e){define("dojox/charting/plot2d/StackedAreas",["dojo/_base/declare","./Stacked"],(function(t,e){return t("dojox.charting.plot2d.StackedAreas",e,{constructor:function(){this.opt.lines=!0,this.opt.areas=!0}})}))},2520:function(t,e){define("dojox/charting/plot2d/StackedBars",["dojo/_base/declare","./Bars","./commonStacked"],(function(t,e,n){return t("dojox.charting.plot2d.StackedBars",e,{getSeriesStats:function(){var t,e=n.collectStats(this.series);return e.hmin-=.5,e.hmax+=.5,t=e.hmin,e.hmin=e.vmin,e.vmin=t,t=e.hmax,e.hmax=e.vmax,e.vmax=t,e},getValue:function(t,e,i,o){var r,a;return o?(a=e,r=n.getIndexValue(this.series,i,a)):(a=t.x-1,r=[(r=n.getValue(this.series,i,t.x))[0]?r[0].y:null,r[1]?r[1]:null]),{x:a,y:r[0],py:r[1]}}})}))},5683:function(t,e){define("dojox/charting/plot2d/StackedBars",["dojo/_base/declare","./Bars","./commonStacked"],(function(t,e,n){return t("dojox.charting.plot2d.StackedBars",e,{getSeriesStats:function(){var t,e=n.collectStats(this.series);return e.hmin-=.5,e.hmax+=.5,t=e.hmin,e.hmin=e.vmin,e.vmin=t,t=e.hmax,e.hmax=e.vmax,e.vmax=t,e},getValue:function(t,e,i,o){var r,a;return o?(a=e,r=n.getIndexValue(this.series,i,a)):(a=t.x-1,r=[(r=n.getValue(this.series,i,t.x))[0]?r[0].y:null,r[1]?r[1]:null]),{x:a,y:r[0],py:r[1]}}})}))},651:function(t,e){define("dojox/charting/plot2d/StackedColumns",["dojo/_base/declare","./Columns","./commonStacked"],(function(t,e,n){return t("dojox.charting.plot2d.StackedColumns",e,{getSeriesStats:function(){var t=n.collectStats(this.series);return t.hmin-=.5,t.hmax+=.5,t},getValue:function(t,e,i,o){var r,a;return o?(r=e,a=n.getIndexValue(this.series,i,r)):(r=t.x-1,a=[(a=n.getValue(this.series,i,t.x))[0]?a[0].y:null,a[1]?a[1]:null]),{x:r,y:a[0],py:a[1]}}})}))},5836:function(t,e){define("dojox/charting/plot2d/StackedColumns",["dojo/_base/declare","./Columns","./commonStacked"],(function(t,e,n){return t("dojox.charting.plot2d.StackedColumns",e,{getSeriesStats:function(){var t=n.collectStats(this.series);return t.hmin-=.5,t.hmax+=.5,t},getValue:function(t,e,i,o){var r,a;return o?(r=e,a=n.getIndexValue(this.series,i,r)):(r=t.x-1,a=[(a=n.getValue(this.series,i,t.x))[0]?a[0].y:null,a[1]?a[1]:null]),{x:r,y:a[0],py:a[1]}}})}))},2203:function(t,e){define("dojox/charting/plot2d/StackedLines",["dojo/_base/declare","./Stacked"],(function(t,e){return t("dojox.charting.plot2d.StackedLines",e,{constructor:function(){this.opt.lines=!0}})}))},1612:function(t,e){define("dojox/charting/plot2d/StackedLines",["dojo/_base/declare","./Stacked"],(function(t,e){return t("dojox.charting.plot2d.StackedLines",e,{constructor:function(){this.opt.lines=!0}})}))},3179:function(t,e){define("dojox/charting/plot2d/_PlotEvents",["dojo/_base/lang","dojo/_base/array","dojo/_base/declare","dojo/_base/connect"],(function(t,e,n,i){return n("dojox.charting.plot2d._PlotEvents",null,{constructor:function(){this._shapeEvents=[],this._eventSeries={}},destroy:function(){this.resetEvents(),this.inherited(arguments)},plotEvent:function(t){},raiseEvent:function(n){this.plotEvent(n);var i=t.delegate(n);i.originalEvent=n.type,i.originalPlot=n.plot,i.type="onindirect",e.forEach(this.chart.stack,(function(t){t!==this&&t.plotEvent&&(i.plot=t,t.plotEvent(i))}),this)},connect:function(t,e){return this.dirty=!0,i.connect(this,"plotEvent",t,e)},events:function(){return!!this.plotEvent.after},resetEvents:function(){this._shapeEvents.length&&(e.forEach(this._shapeEvents,(function(t){t.shape.disconnect(t.handle)})),this._shapeEvents=[]),this.raiseEvent({type:"onplotreset",plot:this})},_connectSingleEvent:function(t,e){this._shapeEvents.push({shape:t.eventMask,handle:t.eventMask.connect(e,this,(function(n){t.type=e,t.event=n,this.raiseEvent(t),t.event=null}))})},_connectEvents:function(t){t&&(t.chart=this.chart,t.plot=this,t.hAxis=this.hAxis||null,t.vAxis=this.vAxis||null,t.eventMask=t.eventMask||t.shape,this._connectSingleEvent(t,"onmouseover"),this._connectSingleEvent(t,"onmouseout"),this._connectSingleEvent(t,"onclick"))},_reconnectEvents:function(t){var n=this._eventSeries[t];n&&e.forEach(n,this._connectEvents,this)},fireEvent:function(t,e,n,i){var o=this._eventSeries[t];if(o&&o.length&&n<o.length){var r=o[n];r.type=e,r.event=i||null,this.raiseEvent(r),r.event=null}}})}))},6083:function(t,e){define("dojox/charting/plot2d/_PlotEvents",["dojo/_base/lang","dojo/_base/array","dojo/_base/declare","dojo/_base/connect"],(function(t,e,n,i){return n("dojox.charting.plot2d._PlotEvents",null,{constructor:function(){this._shapeEvents=[],this._eventSeries={}},destroy:function(){this.resetEvents(),this.inherited(arguments)},plotEvent:function(t){},raiseEvent:function(n){this.plotEvent(n);var i=t.delegate(n);i.originalEvent=n.type,i.originalPlot=n.plot,i.type="onindirect",e.forEach(this.chart.stack,(function(t){t!==this&&t.plotEvent&&(i.plot=t,t.plotEvent(i))}),this)},connect:function(t,e){return this.dirty=!0,i.connect(this,"plotEvent",t,e)},events:function(){return!!this.plotEvent.after},resetEvents:function(){this._shapeEvents.length&&(e.forEach(this._shapeEvents,(function(t){t.shape.disconnect(t.handle)})),this._shapeEvents=[]),this.raiseEvent({type:"onplotreset",plot:this})},_connectSingleEvent:function(t,e){this._shapeEvents.push({shape:t.eventMask,handle:t.eventMask.connect(e,this,(function(n){t.type=e,t.event=n,this.raiseEvent(t),t.event=null}))})},_connectEvents:function(t){t&&(t.chart=this.chart,t.plot=this,t.hAxis=this.hAxis||null,t.vAxis=this.vAxis||null,t.eventMask=t.eventMask||t.shape,this._connectSingleEvent(t,"onmouseover"),this._connectSingleEvent(t,"onmouseout"),this._connectSingleEvent(t,"onclick"))},_reconnectEvents:function(t){var n=this._eventSeries[t];n&&e.forEach(n,this._connectEvents,this)},fireEvent:function(t,e,n,i){var o=this._eventSeries[t];if(o&&o.length&&n<o.length){var r=o[n];r.type=e,r.event=i||null,this.raiseEvent(r),r.event=null}}})}))},110:function(t,e){define("dojox/charting/plot2d/common",["dojo/_base/lang","dojo/_base/array","dojo/_base/Color","dojox/gfx","dojox/lang/functional","../scaler/common"],(function(t,e,n,i,o,r){var a=t.getObject("dojox.charting.plot2d.common",!0);return t.mixin(a,{doIfLoaded:r.doIfLoaded,makeStroke:function(t){return t?(("string"==typeof t||t instanceof n)&&(t={color:t}),i.makeParameters(i.defaultStroke,t)):t},augmentColor:function(t,e){var i=new n(t),o=new n(e);return o.a=i.a,o},augmentStroke:function(t,e){var n=a.makeStroke(t);return n&&(n.color=a.augmentColor(n.color,e)),n},augmentFill:function(t,e){return new n(e),"string"==typeof t||t instanceof n?a.augmentColor(t,e):t},defaultStats:{vmin:Number.POSITIVE_INFINITY,vmax:Number.NEGATIVE_INFINITY,hmin:Number.POSITIVE_INFINITY,hmax:Number.NEGATIVE_INFINITY},collectSimpleStats:function(n){for(var i=t.delegate(a.defaultStats),o=0;o<n.length;++o)for(var r=n[o],s=0;s<r.data.length;s++)if(null!==r.data[s]){if("number"==typeof r.data[s]){var l=i.vmin,c=i.vmax;e.forEach(r.data,(function(t,e){if(null!==t){var n=e+1,o=t;isNaN(o)&&(o=0),i.hmin=Math.min(i.hmin,n),i.hmax=Math.max(i.hmax,n),i.vmin=Math.min(i.vmin,o),i.vmax=Math.max(i.vmax,o)}})),"ymin"in r&&(i.vmin=Math.min(l,r.ymin)),"ymax"in r&&(i.vmax=Math.max(c,r.ymax))}else{var d=i.hmin,h=i.hmax;l=i.vmin,c=i.vmax,"xmin"in r&&"xmax"in r&&"ymin"in r&&"ymax"in r||e.forEach(r.data,(function(t,e){if(null!==t){var n="x"in t?t.x:e+1,o=t.y;isNaN(n)&&(n=0),isNaN(o)&&(o=0),i.hmin=Math.min(i.hmin,n),i.hmax=Math.max(i.hmax,n),i.vmin=Math.min(i.vmin,o),i.vmax=Math.max(i.vmax,o)}})),"xmin"in r&&(i.hmin=Math.min(d,r.xmin)),"xmax"in r&&(i.hmax=Math.max(h,r.xmax)),"ymin"in r&&(i.vmin=Math.min(l,r.ymin)),"ymax"in r&&(i.vmax=Math.max(c,r.ymax))}break}return i},calculateBarSize:function(t,e,n){n||(n=1);var i=e.gap,o=(t-2*i)/n;return"minBarSize"in e&&(o=Math.max(o,e.minBarSize)),"maxBarSize"in e&&(o=Math.min(o,e.maxBarSize)),{size:o=Math.max(o,1),gap:i=(t-o*n)/2}},collectStackedStats:function(e){var n=t.clone(a.defaultStats);if(e.length){n.hmin=Math.min(n.hmin,1),n.hmax=o.foldl(e,"seed, run -> Math.max(seed, run.data.length)",n.hmax);for(var i=0;i<n.hmax;++i){var r=e[0].data[i];r=r&&("number"==typeof r?r:r.y),isNaN(r)&&(r=0),n.vmin=Math.min(n.vmin,r);for(var s=1;s<e.length;++s){var l=e[s].data[i];l=l&&("number"==typeof l?l:l.y),isNaN(l)&&(l=0),r+=l}n.vmax=Math.max(n.vmax,r)}}return n},curve:function(t,n){var i=t.slice(0);return"x"==n&&(i[i.length]=i[0]),e.map(i,(function(t,e){if(0==e)return"M"+t.x+","+t.y;if(!isNaN(n)){var o=t.x-i[e-1].x,r=i[e-1].y;return"C"+(t.x-o/n*(n-1))+","+r+" "+(t.x-o/n)+","+t.y+" "+t.x+","+t.y}if("X"==n||"x"==n||"S"==n){var a,s,l,c,d,h,u=i[e-1],f=i[e],p=1/6;1==e?(a="x"==n?i[i.length-2]:u,p=1/3):a=i[e-2],e==i.length-1?(s="x"==n?i[1]:f,p=1/3):s=i[e+1];var m=Math.sqrt((f.x-u.x)*(f.x-u.x)+(f.y-u.y)*(f.y-u.y)),g=Math.sqrt((f.x-a.x)*(f.x-a.x)+(f.y-a.y)*(f.y-a.y)),y=Math.sqrt((s.x-u.x)*(s.x-u.x)+(s.y-u.y)*(s.y-u.y)),v=g*p,b=y*p;v>m/2&&b>m/2?(v=m/2,b=m/2):v>m/2?(v=m/2,b=m/2*y/g):b>m/2&&(b=m/2,v=m/2*g/y),"S"==n&&(a==u&&(v=0),f==s&&(b=0)),l=u.x+v*(f.x-a.x)/g,c=u.y+v*(f.y-a.y)/g,d=f.x-b*(s.x-u.x)/y,h=f.y-b*(s.y-u.y)/y}return"C"+l+","+c+" "+d+","+h+" "+f.x+","+f.y})).join(" ")},getLabel:function(t,e,n){return r.doIfLoaded("dojo/number",(function(i){return(e?i.format(t,{places:n}):i.format(t))||""}),(function(){return e?t.toFixed(n):t.toString()}))}})}))},5545:function(t,e){define("dojox/charting/plot2d/common",["dojo/_base/lang","dojo/_base/array","dojo/_base/Color","dojox/gfx","dojox/lang/functional","../scaler/common"],(function(t,e,n,i,o,r){var a=t.getObject("dojox.charting.plot2d.common",!0);return t.mixin(a,{doIfLoaded:r.doIfLoaded,makeStroke:function(t){return t?(("string"==typeof t||t instanceof n)&&(t={color:t}),i.makeParameters(i.defaultStroke,t)):t},augmentColor:function(t,e){var i=new n(t),o=new n(e);return o.a=i.a,o},augmentStroke:function(t,e){var n=a.makeStroke(t);return n&&(n.color=a.augmentColor(n.color,e)),n},augmentFill:function(t,e){return new n(e),"string"==typeof t||t instanceof n?a.augmentColor(t,e):t},defaultStats:{vmin:Number.POSITIVE_INFINITY,vmax:Number.NEGATIVE_INFINITY,hmin:Number.POSITIVE_INFINITY,hmax:Number.NEGATIVE_INFINITY},collectSimpleStats:function(n){for(var i=t.delegate(a.defaultStats),o=0;o<n.length;++o)for(var r=n[o],s=0;s<r.data.length;s++)if(null!==r.data[s]){if("number"==typeof r.data[s]){var l=i.vmin,c=i.vmax;e.forEach(r.data,(function(t,e){if(null!==t){var n=e+1,o=t;isNaN(o)&&(o=0),i.hmin=Math.min(i.hmin,n),i.hmax=Math.max(i.hmax,n),i.vmin=Math.min(i.vmin,o),i.vmax=Math.max(i.vmax,o)}})),"ymin"in r&&(i.vmin=Math.min(l,r.ymin)),"ymax"in r&&(i.vmax=Math.max(c,r.ymax))}else{var d=i.hmin,h=i.hmax;l=i.vmin,c=i.vmax,"xmin"in r&&"xmax"in r&&"ymin"in r&&"ymax"in r||e.forEach(r.data,(function(t,e){if(null!==t){var n="x"in t?t.x:e+1,o=t.y;isNaN(n)&&(n=0),isNaN(o)&&(o=0),i.hmin=Math.min(i.hmin,n),i.hmax=Math.max(i.hmax,n),i.vmin=Math.min(i.vmin,o),i.vmax=Math.max(i.vmax,o)}})),"xmin"in r&&(i.hmin=Math.min(d,r.xmin)),"xmax"in r&&(i.hmax=Math.max(h,r.xmax)),"ymin"in r&&(i.vmin=Math.min(l,r.ymin)),"ymax"in r&&(i.vmax=Math.max(c,r.ymax))}break}return i},calculateBarSize:function(t,e,n){n||(n=1);var i=e.gap,o=(t-2*i)/n;return"minBarSize"in e&&(o=Math.max(o,e.minBarSize)),"maxBarSize"in e&&(o=Math.min(o,e.maxBarSize)),{size:o=Math.max(o,1),gap:i=(t-o*n)/2}},collectStackedStats:function(e){var n=t.clone(a.defaultStats);if(e.length){n.hmin=Math.min(n.hmin,1),n.hmax=o.foldl(e,"seed, run -> Math.max(seed, run.data.length)",n.hmax);for(var i=0;i<n.hmax;++i){var r=e[0].data[i];r=r&&("number"==typeof r?r:r.y),isNaN(r)&&(r=0),n.vmin=Math.min(n.vmin,r);for(var s=1;s<e.length;++s){var l=e[s].data[i];l=l&&("number"==typeof l?l:l.y),isNaN(l)&&(l=0),r+=l}n.vmax=Math.max(n.vmax,r)}}return n},curve:function(t,n){var i=t.slice(0);return"x"==n&&(i[i.length]=i[0]),e.map(i,(function(t,e){if(0==e)return"M"+t.x+","+t.y;if(!isNaN(n)){var o=t.x-i[e-1].x,r=i[e-1].y;return"C"+(t.x-o/n*(n-1))+","+r+" "+(t.x-o/n)+","+t.y+" "+t.x+","+t.y}if("X"==n||"x"==n||"S"==n){var a,s,l,c,d,h,u=i[e-1],f=i[e],p=1/6;1==e?(a="x"==n?i[i.length-2]:u,p=1/3):a=i[e-2],e==i.length-1?(s="x"==n?i[1]:f,p=1/3):s=i[e+1];var m=Math.sqrt((f.x-u.x)*(f.x-u.x)+(f.y-u.y)*(f.y-u.y)),g=Math.sqrt((f.x-a.x)*(f.x-a.x)+(f.y-a.y)*(f.y-a.y)),y=Math.sqrt((s.x-u.x)*(s.x-u.x)+(s.y-u.y)*(s.y-u.y)),v=g*p,b=y*p;v>m/2&&b>m/2?(v=m/2,b=m/2):v>m/2?(v=m/2,b=m/2*y/g):b>m/2&&(b=m/2,v=m/2*g/y),"S"==n&&(a==u&&(v=0),f==s&&(b=0)),l=u.x+v*(f.x-a.x)/g,c=u.y+v*(f.y-a.y)/g,d=f.x-b*(s.x-u.x)/y,h=f.y-b*(s.y-u.y)/y}return"C"+l+","+c+" "+d+","+h+" "+f.x+","+f.y})).join(" ")},getLabel:function(t,e,n){return r.doIfLoaded("dojo/number",(function(i){return(e?i.format(t,{places:n}):i.format(t))||""}),(function(){return e?t.toFixed(n):t.toString()}))}})}))},1697:function(t,e){define("dojox/charting/plot2d/commonStacked",["dojo/_base/lang","./common"],(function(t,e){var n=t.getObject("dojox.charting.plot2d.commonStacked",!0);return t.mixin(n,{collectStats:function(i){for(var o=t.delegate(e.defaultStats),r=0;r<i.length;++r)for(var a=i[r],s=0;s<a.data.length;s++){var l,c;null!==a.data[s]&&("number"!=typeof a.data[s]&&a.data[s].hasOwnProperty("x")?null!==(l=a.data[s].x)&&(c=null!=(c=n.getValue(i,r,l)[0])&&c.y?c.y:null):(c=n.getIndexValue(i,r,s)[0],l=s+1),o.hmin=Math.min(o.hmin,l),o.hmax=Math.max(o.hmax,l),o.vmin=Math.min(o.vmin,c),o.vmax=Math.max(o.vmax,c))}return o},getIndexValue:function(t,e,n){var i,o,r,a=0;for(o=0;o<=e;++o)t[o].hidden||(r=a,null!=(i=t[o].data[n])&&(isNaN(i)&&(i=i.y||0),a+=i));return[a,r]},getValue:function(t,e,n){var i,o,r,a,s=null;for(i=0;i<=e;++i)if(!t[i].hidden)for(o=0;o<t[i].data.length;o++)if(a=s,null!==(r=t[i].data[o])){if(r.x==n){s||(s={x:n}),null!=r.y&&(null==s.y&&(s.y=0),s.y+=r.y);break}if(r.x>n)break}return[s,a]}})}))},250:function(t,e){define("dojox/charting/plot2d/commonStacked",["dojo/_base/lang","./common"],(function(t,e){var n=t.getObject("dojox.charting.plot2d.commonStacked",!0);return t.mixin(n,{collectStats:function(i){for(var o=t.delegate(e.defaultStats),r=0;r<i.length;++r)for(var a=i[r],s=0;s<a.data.length;s++){var l,c;null!==a.data[s]&&("number"!=typeof a.data[s]&&a.data[s].hasOwnProperty("x")?null!==(l=a.data[s].x)&&(c=null!=(c=n.getValue(i,r,l)[0])&&c.y?c.y:null):(c=n.getIndexValue(i,r,s)[0],l=s+1),o.hmin=Math.min(o.hmin,l),o.hmax=Math.max(o.hmax,l),o.vmin=Math.min(o.vmin,c),o.vmax=Math.max(o.vmax,c))}return o},getIndexValue:function(t,e,n){var i,o,r,a=0;for(o=0;o<=e;++o)t[o].hidden||(r=a,null!=(i=t[o].data[n])&&(isNaN(i)&&(i=i.y||0),a+=i));return[a,r]},getValue:function(t,e,n){var i,o,r,a,s=null;for(i=0;i<=e;++i)if(!t[i].hidden)for(o=0;o<t[i].data.length;o++)if(a=s,null!==(r=t[i].data[o])){if(r.x==n){s||(s={x:n}),null!=r.y&&(null==s.y&&(s.y=0),s.y+=r.y);break}if(r.x>n)break}return[s,a]}})}))},7005:function(t,e){define("dojox/charting/scaler/common",["dojo/_base/lang"],(function(t){var e=function(t,e){return Math.abs(t-e)<=1e-6*(Math.abs(t)+Math.abs(e))},n=t.getObject("dojox.charting.scaler.common",!0),i={};return t.mixin(n,{doIfLoaded:function(t,e,n){if(null==i[t])try{i[t]=require(t)}catch(e){i[t]=null}return i[t]?e(i[t]):n()},getNumericLabel:function(t,i,o){var r="";if(n.doIfLoaded("dojo/number",(function(e){r=(o.fixed?e.format(t,{places:i<0?-i:0}):e.format(t))||""}),(function(){r=o.fixed?t.toFixed(i<0?-i:0):t.toString()})),o.labelFunc){var a=o.labelFunc(r,t,i);if(a)return a}if(o.labels){for(var s=o.labels,l=0,c=s.length;l<c;){var d=Math.floor((l+c)/2);s[d].value<t?l=d+1:c=d}if(l<s.length&&e(s[l].value,t))return s[l].text;if(--l>=0&&l<s.length&&e(s[l].value,t))return s[l].text;if((l+=2)<s.length&&e(s[l].value,t))return s[l].text}return r}})}))},8926:function(t,e){define("dojox/charting/scaler/common",["dojo/_base/lang"],(function(t){var e=function(t,e){return Math.abs(t-e)<=1e-6*(Math.abs(t)+Math.abs(e))},n=t.getObject("dojox.charting.scaler.common",!0),i={};return t.mixin(n,{doIfLoaded:function(t,e,n){if(null==i[t])try{i[t]=require(t)}catch(e){i[t]=null}return i[t]?e(i[t]):n()},getNumericLabel:function(t,i,o){var r="";if(n.doIfLoaded("dojo/number",(function(e){r=(o.fixed?e.format(t,{places:i<0?-i:0}):e.format(t))||""}),(function(){r=o.fixed?t.toFixed(i<0?-i:0):t.toString()})),o.labelFunc){var a=o.labelFunc(r,t,i);if(a)return a}if(o.labels){for(var s=o.labels,l=0,c=s.length;l<c;){var d=Math.floor((l+c)/2);s[d].value<t?l=d+1:c=d}if(l<s.length&&e(s[l].value,t))return s[l].text;if(--l>=0&&l<s.length&&e(s[l].value,t))return s[l].text;if((l+=2)<s.length&&e(s[l].value,t))return s[l].text}return r}})}))},8625:function(t,e){define("dojox/charting/scaler/linear",["dojo/_base/lang","./common"],(function(t,e){var n=t.getObject("dojox.charting.scaler.linear",!0),i=e.getNumericLabel;function o(t,e){t=t.toLowerCase();for(var n=e.length-1;n>=0;--n)if(t===e[n])return!0;return!1}var r=function(e,i,r,a,s,l,c){r=t.delegate(r),a||("major"==r.fixUpper&&(r.fixUpper="minor"),"major"==r.fixLower&&(r.fixLower="minor")),s||("minor"==r.fixUpper&&(r.fixUpper="micro"),"minor"==r.fixLower&&(r.fixLower="micro")),l||("micro"==r.fixUpper&&(r.fixUpper="none"),"micro"==r.fixLower&&(r.fixLower="none"));var d=o(r.fixLower,["major"])?Math.floor(r.min/a)*a:o(r.fixLower,["minor"])?Math.floor(r.min/s)*s:o(r.fixLower,["micro"])?Math.floor(r.min/l)*l:r.min,h=o(r.fixUpper,["major"])?Math.ceil(r.max/a)*a:o(r.fixUpper,["minor"])?Math.ceil(r.max/s)*s:o(r.fixUpper,["micro"])?Math.ceil(r.max/l)*l:r.max;r.useMin&&(e=d),r.useMax&&(i=h);var u=!a||r.useMin&&o(r.fixLower,["major"])?e:Math.ceil(e/a)*a,f=!s||r.useMin&&o(r.fixLower,["major","minor"])?e:Math.ceil(e/s)*s,p=!l||r.useMin&&o(r.fixLower,["major","minor","micro"])?e:Math.ceil(e/l)*l,m=a?(r.useMax&&o(r.fixUpper,["major"])?Math.round((i-u)/a):Math.floor((i-u)/a))+1:0,g=s?(r.useMax&&o(r.fixUpper,["major","minor"])?Math.round((i-f)/s):Math.floor((i-f)/s))+1:0,y=l?(r.useMax&&o(r.fixUpper,["major","minor","micro"])?Math.round((i-p)/l):Math.floor((i-p)/l))+1:0,v=s?Math.round(a/s):0,b=l?Math.round(s/l):0,x=a?Math.floor(Math.log(a)/Math.LN10):0,_=s?Math.floor(Math.log(s)/Math.LN10):0,j=c/(i-e);return isFinite(j)||(j=1),{bounds:{lower:d,upper:h,from:e,to:i,scale:j,span:c},major:{tick:a,start:u,count:m,prec:x},minor:{tick:s,start:f,count:g,prec:_},micro:{tick:l,start:p,count:y,prec:0},minorPerMajor:v,microPerMinor:b,scaler:n}};return t.mixin(n,{buildScaler:function(t,e,n,i,o,a){var s={fixUpper:"none",fixLower:"none",natural:!1};if(i&&("fixUpper"in i&&(s.fixUpper=String(i.fixUpper)),"fixLower"in i&&(s.fixLower=String(i.fixLower)),"natural"in i&&(s.natural=Boolean(i.natural))),a=!a||a<3?3:a,"min"in i&&(t=i.min),"max"in i&&(e=i.max),i.includeZero&&(t>0&&(t=0),e<0&&(e=0)),s.min=t,s.useMin=!0,s.max=e,s.useMax=!0,"from"in i&&(t=i.from,s.useMin=!1),"to"in i&&(e=i.to,s.useMax=!1),e<=t)return r(t,e,s,0,0,0,n);o||(o=e-t);var l,c=Math.floor(Math.log(o)/Math.LN10),d=i&&"majorTickStep"in i?i.majorTickStep:Math.pow(10,c),h=0,u=0;if(i&&"minorTickStep"in i)h=i.minorTickStep;else do{if(h=d/10,(!s.natural||h>.9)&&(l=r(t,e,s,d,h,0,n)).bounds.scale*l.minor.tick>a)break;if(h=d/5,(!s.natural||h>.9)&&(l=r(t,e,s,d,h,0,n)).bounds.scale*l.minor.tick>a)break;if(h=d/2,(!s.natural||h>.9)&&(l=r(t,e,s,d,h,0,n)).bounds.scale*l.minor.tick>a)break;return r(t,e,s,d,0,0,n)}while(0);if(i&&"microTickStep"in i)u=i.microTickStep,l=r(t,e,s,d,h,u,n);else do{if(u=h/10,(!s.natural||u>.9)&&(l=r(t,e,s,d,h,u,n)).bounds.scale*l.micro.tick>3)break;if(u=h/5,(!s.natural||u>.9)&&(l=r(t,e,s,d,h,u,n)).bounds.scale*l.micro.tick>3)break;if(u=h/2,(!s.natural||u>.9)&&(l=r(t,e,s,d,h,u,n)).bounds.scale*l.micro.tick>3)break;u=0}while(0);return u?l:r(t,e,s,d,h,0,n)},buildTicks:function(t,e){var n,o,r,a=t.major.start,s=t.minor.start,l=t.micro.start;if(e.microTicks&&t.micro.tick)n=t.micro.tick,o=l;else if(e.minorTicks&&t.minor.tick)n=t.minor.tick,o=s;else{if(!t.major.tick)return null;n=t.major.tick,o=a}var c=1/t.bounds.scale;if(t.bounds.to<=t.bounds.from||isNaN(c)||!isFinite(c)||n<=0||isNaN(n)||!isFinite(n))return null;for(var d=[],h=[],u=[];o<=t.bounds.to+c;)Math.abs(a-o)<n/2?(r={value:a},e.majorLabels&&(r.label=i(a,t.major.prec,e)),d.push(r),a+=t.major.tick,s+=t.minor.tick,l+=t.micro.tick):Math.abs(s-o)<n/2?(e.minorTicks&&(r={value:s},e.minorLabels&&t.minMinorStep<=t.minor.tick*t.bounds.scale&&(r.label=i(s,t.minor.prec,e)),h.push(r)),s+=t.minor.tick,l+=t.micro.tick):(e.microTicks&&u.push({value:l}),l+=t.micro.tick),o+=n;return{major:d,minor:h,micro:u}},getTransformerFromModel:function(t){var e=t.bounds.from,n=t.bounds.scale;return function(t){return(t-e)*n}},getTransformerFromPlot:function(t){var e=t.bounds.from,n=t.bounds.scale;return function(t){return t/n+e}}})}))},6490:function(t,e){define("dojox/charting/scaler/linear",["dojo/_base/lang","./common"],(function(t,e){var n=t.getObject("dojox.charting.scaler.linear",!0),i=e.getNumericLabel;function o(t,e){t=t.toLowerCase();for(var n=e.length-1;n>=0;--n)if(t===e[n])return!0;return!1}var r=function(e,i,r,a,s,l,c){r=t.delegate(r),a||("major"==r.fixUpper&&(r.fixUpper="minor"),"major"==r.fixLower&&(r.fixLower="minor")),s||("minor"==r.fixUpper&&(r.fixUpper="micro"),"minor"==r.fixLower&&(r.fixLower="micro")),l||("micro"==r.fixUpper&&(r.fixUpper="none"),"micro"==r.fixLower&&(r.fixLower="none"));var d=o(r.fixLower,["major"])?Math.floor(r.min/a)*a:o(r.fixLower,["minor"])?Math.floor(r.min/s)*s:o(r.fixLower,["micro"])?Math.floor(r.min/l)*l:r.min,h=o(r.fixUpper,["major"])?Math.ceil(r.max/a)*a:o(r.fixUpper,["minor"])?Math.ceil(r.max/s)*s:o(r.fixUpper,["micro"])?Math.ceil(r.max/l)*l:r.max;r.useMin&&(e=d),r.useMax&&(i=h);var u=!a||r.useMin&&o(r.fixLower,["major"])?e:Math.ceil(e/a)*a,f=!s||r.useMin&&o(r.fixLower,["major","minor"])?e:Math.ceil(e/s)*s,p=!l||r.useMin&&o(r.fixLower,["major","minor","micro"])?e:Math.ceil(e/l)*l,m=a?(r.useMax&&o(r.fixUpper,["major"])?Math.round((i-u)/a):Math.floor((i-u)/a))+1:0,g=s?(r.useMax&&o(r.fixUpper,["major","minor"])?Math.round((i-f)/s):Math.floor((i-f)/s))+1:0,y=l?(r.useMax&&o(r.fixUpper,["major","minor","micro"])?Math.round((i-p)/l):Math.floor((i-p)/l))+1:0,v=s?Math.round(a/s):0,b=l?Math.round(s/l):0,x=a?Math.floor(Math.log(a)/Math.LN10):0,_=s?Math.floor(Math.log(s)/Math.LN10):0,j=c/(i-e);return isFinite(j)||(j=1),{bounds:{lower:d,upper:h,from:e,to:i,scale:j,span:c},major:{tick:a,start:u,count:m,prec:x},minor:{tick:s,start:f,count:g,prec:_},micro:{tick:l,start:p,count:y,prec:0},minorPerMajor:v,microPerMinor:b,scaler:n}};return t.mixin(n,{buildScaler:function(t,e,n,i,o,a){var s={fixUpper:"none",fixLower:"none",natural:!1};if(i&&("fixUpper"in i&&(s.fixUpper=String(i.fixUpper)),"fixLower"in i&&(s.fixLower=String(i.fixLower)),"natural"in i&&(s.natural=Boolean(i.natural))),a=!a||a<3?3:a,"min"in i&&(t=i.min),"max"in i&&(e=i.max),i.includeZero&&(t>0&&(t=0),e<0&&(e=0)),s.min=t,s.useMin=!0,s.max=e,s.useMax=!0,"from"in i&&(t=i.from,s.useMin=!1),"to"in i&&(e=i.to,s.useMax=!1),e<=t)return r(t,e,s,0,0,0,n);o||(o=e-t);var l,c=Math.floor(Math.log(o)/Math.LN10),d=i&&"majorTickStep"in i?i.majorTickStep:Math.pow(10,c),h=0,u=0;if(i&&"minorTickStep"in i)h=i.minorTickStep;else do{if(h=d/10,(!s.natural||h>.9)&&(l=r(t,e,s,d,h,0,n)).bounds.scale*l.minor.tick>a)break;if(h=d/5,(!s.natural||h>.9)&&(l=r(t,e,s,d,h,0,n)).bounds.scale*l.minor.tick>a)break;if(h=d/2,(!s.natural||h>.9)&&(l=r(t,e,s,d,h,0,n)).bounds.scale*l.minor.tick>a)break;return r(t,e,s,d,0,0,n)}while(0);if(i&&"microTickStep"in i)u=i.microTickStep,l=r(t,e,s,d,h,u,n);else do{if(u=h/10,(!s.natural||u>.9)&&(l=r(t,e,s,d,h,u,n)).bounds.scale*l.micro.tick>3)break;if(u=h/5,(!s.natural||u>.9)&&(l=r(t,e,s,d,h,u,n)).bounds.scale*l.micro.tick>3)break;if(u=h/2,(!s.natural||u>.9)&&(l=r(t,e,s,d,h,u,n)).bounds.scale*l.micro.tick>3)break;u=0}while(0);return u?l:r(t,e,s,d,h,0,n)},buildTicks:function(t,e){var n,o,r,a=t.major.start,s=t.minor.start,l=t.micro.start;if(e.microTicks&&t.micro.tick)n=t.micro.tick,o=l;else if(e.minorTicks&&t.minor.tick)n=t.minor.tick,o=s;else{if(!t.major.tick)return null;n=t.major.tick,o=a}var c=1/t.bounds.scale;if(t.bounds.to<=t.bounds.from||isNaN(c)||!isFinite(c)||n<=0||isNaN(n)||!isFinite(n))return null;for(var d=[],h=[],u=[];o<=t.bounds.to+c;)Math.abs(a-o)<n/2?(r={value:a},e.majorLabels&&(r.label=i(a,t.major.prec,e)),d.push(r),a+=t.major.tick,s+=t.minor.tick,l+=t.micro.tick):Math.abs(s-o)<n/2?(e.minorTicks&&(r={value:s},e.minorLabels&&t.minMinorStep<=t.minor.tick*t.bounds.scale&&(r.label=i(s,t.minor.prec,e)),h.push(r)),s+=t.minor.tick,l+=t.micro.tick):(e.microTicks&&u.push({value:l}),l+=t.micro.tick),o+=n;return{major:d,minor:h,micro:u}},getTransformerFromModel:function(t){var e=t.bounds.from,n=t.bounds.scale;return function(t){return(t-e)*n}},getTransformerFromPlot:function(t){var e=t.bounds.from,n=t.bounds.scale;return function(t){return t/n+e}}})}))},6711:function(t,e){define("dojox/charting/scaler/primitive",["dojo/_base/lang"],(function(t){var e=t.getObject("dojox.charting.scaler.primitive",!0);return t.mixin(e,{buildScaler:function(t,n,i,o){return t==n&&(t-=.5,n+=.5),{bounds:{lower:t,upper:n,from:t,to:n,scale:i/(n-t),span:i},scaler:e}},buildTicks:function(t,e){return{major:[],minor:[],micro:[]}},getTransformerFromModel:function(t){var e=t.bounds.from,n=t.bounds.scale;return function(t){return(t-e)*n}},getTransformerFromPlot:function(t){var e=t.bounds.from,n=t.bounds.scale;return function(t){return t/n+e}}})}))},80:function(t,e){define("dojox/charting/scaler/primitive",["dojo/_base/lang"],(function(t){var e=t.getObject("dojox.charting.scaler.primitive",!0);return t.mixin(e,{buildScaler:function(t,n,i,o){return t==n&&(t-=.5,n+=.5),{bounds:{lower:t,upper:n,from:t,to:n,scale:i/(n-t),span:i},scaler:e}},buildTicks:function(t,e){return{major:[],minor:[],micro:[]}},getTransformerFromModel:function(t){var e=t.bounds.from,n=t.bounds.scale;return function(t){return(t-e)*n}},getTransformerFromPlot:function(t){var e=t.bounds.from,n=t.bounds.scale;return function(t){return t/n+e}}})}))},901:function(t,e){define("dojox/charting/themes/Claro",["../Theme","dojox/gfx/gradutils","./common"],(function(t,e,n){var i=t.generateGradient,o={type:"linear",space:"shape",x1:0,y1:0,x2:0,y2:100};return n.Claro=new t({chart:{fill:{type:"linear",x1:0,x2:0,y1:0,y2:100,colors:[{offset:0,color:"#dbdbdb"},{offset:1,color:"#efefef"}]},stroke:{color:"#b5bcc7"}},plotarea:{fill:{type:"linear",x1:0,x2:0,y1:0,y2:100,colors:[{offset:0,color:"#dbdbdb"},{offset:1,color:"#efefef"}]}},axis:{stroke:{color:"#888c76",width:1},tick:{color:"#888c76",position:"center",font:"normal normal normal 7pt Verdana, Arial, sans-serif",fontColor:"#888c76"}},series:{stroke:{width:2.5,color:"#fff"},outline:null,font:"normal normal normal 7pt Verdana, Arial, sans-serif",fontColor:"#131313"},marker:{stroke:{width:1.25,color:"#131313"},outline:{width:1.25,color:"#131313"},font:"normal normal normal 8pt Verdana, Arial, sans-serif",fontColor:"#131313"},seriesThemes:[{fill:i(o,"#2a6ead","#3a99f2")},{fill:i(o,"#613e04","#996106")},{fill:i(o,"#0e3961","#155896")},{fill:i(o,"#55aafa","#3f7fba")},{fill:i(o,"#ad7b2a","#db9b35")}],markerThemes:[{fill:"#2a6ead",stroke:{color:"#fff"}},{fill:"#613e04",stroke:{color:"#fff"}},{fill:"#0e3961",stroke:{color:"#fff"}},{fill:"#55aafa",stroke:{color:"#fff"}},{fill:"#ad7b2a",stroke:{color:"#fff"}}]}),n.Claro.next=function(e,n,i){var o,r,a="line"==e;if(a||"area"==e){o=this.seriesThemes[this._current%this.seriesThemes.length];var s=this.markerThemes[this._current%this.markerThemes.length];return o.fill.space="plot",a&&(o.stroke={width:4,color:o.fill.colors[0].color}),s.outline={width:1.25,color:s.fill},r=t.prototype.next.apply(this,arguments),delete o.outline,delete o.stroke,o.fill.space="shape",r}return"candlestick"==e?((o=this.seriesThemes[this._current%this.seriesThemes.length]).fill.space="plot",o.stroke={width:1,color:o.fill.colors[0].color},r=t.prototype.next.apply(this,arguments)):t.prototype.next.apply(this,arguments)},n.Claro.post=function(n,i){return n=t.prototype.post.apply(this,arguments),"slice"!=i&&"circle"!=i||!n.series.fill||"radial"!=n.series.fill.type||(n.series.fill=e.reverse(n.series.fill)),n},n.Claro}))},518:function(t,e){define("dojox/charting/themes/Claro",["../Theme","dojox/gfx/gradutils","./common"],(function(t,e,n){var i=t.generateGradient,o={type:"linear",space:"shape",x1:0,y1:0,x2:0,y2:100};return n.Claro=new t({chart:{fill:{type:"linear",x1:0,x2:0,y1:0,y2:100,colors:[{offset:0,color:"#dbdbdb"},{offset:1,color:"#efefef"}]},stroke:{color:"#b5bcc7"}},plotarea:{fill:{type:"linear",x1:0,x2:0,y1:0,y2:100,colors:[{offset:0,color:"#dbdbdb"},{offset:1,color:"#efefef"}]}},axis:{stroke:{color:"#888c76",width:1},tick:{color:"#888c76",position:"center",font:"normal normal normal 7pt Verdana, Arial, sans-serif",fontColor:"#888c76"}},series:{stroke:{width:2.5,color:"#fff"},outline:null,font:"normal normal normal 7pt Verdana, Arial, sans-serif",fontColor:"#131313"},marker:{stroke:{width:1.25,color:"#131313"},outline:{width:1.25,color:"#131313"},font:"normal normal normal 8pt Verdana, Arial, sans-serif",fontColor:"#131313"},seriesThemes:[{fill:i(o,"#2a6ead","#3a99f2")},{fill:i(o,"#613e04","#996106")},{fill:i(o,"#0e3961","#155896")},{fill:i(o,"#55aafa","#3f7fba")},{fill:i(o,"#ad7b2a","#db9b35")}],markerThemes:[{fill:"#2a6ead",stroke:{color:"#fff"}},{fill:"#613e04",stroke:{color:"#fff"}},{fill:"#0e3961",stroke:{color:"#fff"}},{fill:"#55aafa",stroke:{color:"#fff"}},{fill:"#ad7b2a",stroke:{color:"#fff"}}]}),n.Claro.next=function(e,n,i){var o,r,a="line"==e;if(a||"area"==e){o=this.seriesThemes[this._current%this.seriesThemes.length];var s=this.markerThemes[this._current%this.markerThemes.length];return o.fill.space="plot",a&&(o.stroke={width:4,color:o.fill.colors[0].color}),s.outline={width:1.25,color:s.fill},r=t.prototype.next.apply(this,arguments),delete o.outline,delete o.stroke,o.fill.space="shape",r}return"candlestick"==e?((o=this.seriesThemes[this._current%this.seriesThemes.length]).fill.space="plot",o.stroke={width:1,color:o.fill.colors[0].color},r=t.prototype.next.apply(this,arguments)):t.prototype.next.apply(this,arguments)},n.Claro.post=function(n,i){return n=t.prototype.post.apply(this,arguments),"slice"!=i&&"circle"!=i||!n.series.fill||"radial"!=n.series.fill.type||(n.series.fill=e.reverse(n.series.fill)),n},n.Claro}))},317:function(t,e){define("dojox/charting/themes/Wetland",["../SimpleTheme","./common"],(function(t,e){return e.Wetland=new t({colors:["#bfbc64","#737130","#73373b","#7dafca","#8d3c42"]}),e.Wetland}))},2606:function(t,e){define("dojox/charting/themes/Wetland",["../SimpleTheme","./common"],(function(t,e){return e.Wetland=new t({colors:["#bfbc64","#737130","#73373b","#7dafca","#8d3c42"]}),e.Wetland}))},7611:function(t,e){define("dojox/charting/themes/common",["dojo/_base/lang"],(function(t){return t.getObject("dojox.charting.themes",!0)}))},7196:function(t,e){define("dojox/charting/themes/common",["dojo/_base/lang"],(function(t){return t.getObject("dojox.charting.themes",!0)}))},7837:function(t,e){define("dojox/charting/widget/Legend",["dojo/_base/declare","dijit/_WidgetBase","dojox/gfx","dojo/_base/array","dojo/has","dojo/has!dojo-bidi?../bidi/widget/Legend","dojox/lang/functional","dojo/dom","dojo/dom-construct","dojo/dom-class","dijit/registry"],(function(t,e,n,i,o,r,a,s,l,c,d){var h=t(o("dojo-bidi")?"dojox.charting.widget.NonBidiLegend":"dojox.charting.widget.Legend",e,{chartRef:"",horizontal:!0,swatchSize:18,legendBody:null,postCreate:function(){!this.chart&&this.chartRef&&(this.chart=d.byId(this.chartRef)||d.byNode(s.byId(this.chartRef)),this.chart),this.chart=this.chart.chart||this.chart,this.refresh()},buildRendering:function(){this.domNode=l.create("table",{role:"group","aria-label":"chart legend",class:"dojoxLegendNode"}),this.legendBody=l.create("tbody",null,this.domNode),this.inherited(arguments)},destroy:function(){this._surfaces&&i.forEach(this._surfaces,(function(t){t.destroy()})),this.inherited(arguments)},refresh:function(){for(this._surfaces&&i.forEach(this._surfaces,(function(t){t.destroy()})),this._surfaces=[];this.legendBody.lastChild;)l.destroy(this.legendBody.lastChild);this.horizontal&&(c.add(this.domNode,"dojoxLegendHorizontal"),this._tr=l.create("tr",null,this.legendBody),this._inrow=0);var t=this.series||this.chart.series;if(0!=t.length)if("dojox.charting.plot2d.Pie"==t[0].chart.stack[0].declaredClass){var e=t[0].chart.stack[0];if("number"==typeof e.run.data[0]){var n=a.map(e.run.data,"Math.max(x, 0)"),o=a.map(n,"/this",a.foldl(n,"+",0));i.forEach(o,(function(t,n){this._addLabel(e.dyn[n],e._getLabel(100*t)+"%")}),this)}else i.forEach(e.run.data,(function(t,n){this._addLabel(e.dyn[n],t.legend||t.text||t.y)}),this)}else i.forEach(t,(function(t){this._addLabel(t.dyn,t.legend||t.name)}),this)},_addLabel:function(t,e){var n=l.create("td"),i=l.create("div",null,n),r=l.create("label",null,n),a=l.create("div",{style:{width:this.swatchSize+"px",height:this.swatchSize+"px",float:"left"}},i);c.add(i,"dojoxLegendIcon dijitInline"),c.add(r,"dojoxLegendText"),this._tr?(this._tr.appendChild(n),++this._inrow===this.horizontal&&(this._tr=l.create("tr",null,this.legendBody),this._inrow=0)):l.create("tr",null,this.legendBody).appendChild(n),this._makeIcon(a,t),r.innerHTML=String(e),o("dojo-bidi")&&(r.dir=this.getTextDir(e,r.dir))},_makeIcon:function(t,e){var i={h:this.swatchSize,w:this.swatchSize},o=n.createSurface(t,i.w,i.h);if(this._surfaces.push(o),e.fill)o.createRect({x:2,y:2,width:i.w-4,height:i.h-4}).setFill(e.fill).setStroke(e.stroke);else if(e.stroke||e.marker){var r={x1:0,y1:i.h/2,x2:i.w,y2:i.h/2};if(e.stroke&&o.createLine(r).setStroke(e.stroke),e.marker){var a={x:i.w/2,y:i.h/2};o.createPath({path:"M"+a.x+" "+a.y+" "+e.marker}).setFill(e.markerFill).setStroke(e.markerStroke)}}else o.createRect({x:2,y:2,width:i.w-4,height:i.h-4}).setStroke("black"),o.createLine({x1:2,y1:2,x2:i.w-2,y2:i.h-2}).setStroke("black"),o.createLine({x1:2,y1:i.h-2,x2:i.w-2,y2:2}).setStroke("black")}});return o("dojo-bidi")?t("dojox.charting.widget.Legend",[h,r]):h}))},7118:function(t,e){define("dojox/charting/widget/Legend",["dojo/_base/declare","dijit/_WidgetBase","dojox/gfx","dojo/_base/array","dojo/has","dojo/has!dojo-bidi?../bidi/widget/Legend","dojox/lang/functional","dojo/dom","dojo/dom-construct","dojo/dom-class","dijit/registry"],(function(t,e,n,i,o,r,a,s,l,c,d){var h=t(o("dojo-bidi")?"dojox.charting.widget.NonBidiLegend":"dojox.charting.widget.Legend",e,{chartRef:"",horizontal:!0,swatchSize:18,legendBody:null,postCreate:function(){!this.chart&&this.chartRef&&(this.chart=d.byId(this.chartRef)||d.byNode(s.byId(this.chartRef)),this.chart||console.log("Could not find chart instance with id: "+this.chartRef)),this.chart=this.chart.chart||this.chart,this.refresh()},buildRendering:function(){this.domNode=l.create("table",{role:"group","aria-label":"chart legend",class:"dojoxLegendNode"}),this.legendBody=l.create("tbody",null,this.domNode),this.inherited(arguments)},destroy:function(){this._surfaces&&i.forEach(this._surfaces,(function(t){t.destroy()})),this.inherited(arguments)},refresh:function(){for(this._surfaces&&i.forEach(this._surfaces,(function(t){t.destroy()})),this._surfaces=[];this.legendBody.lastChild;)l.destroy(this.legendBody.lastChild);this.horizontal&&(c.add(this.domNode,"dojoxLegendHorizontal"),this._tr=l.create("tr",null,this.legendBody),this._inrow=0);var t=this.series||this.chart.series;if(0!=t.length)if("dojox.charting.plot2d.Pie"==t[0].chart.stack[0].declaredClass){var e=t[0].chart.stack[0];if("number"==typeof e.run.data[0]){var n=a.map(e.run.data,"Math.max(x, 0)"),o=a.map(n,"/this",a.foldl(n,"+",0));i.forEach(o,(function(t,n){this._addLabel(e.dyn[n],e._getLabel(100*t)+"%")}),this)}else i.forEach(e.run.data,(function(t,n){this._addLabel(e.dyn[n],t.legend||t.text||t.y)}),this)}else i.forEach(t,(function(t){this._addLabel(t.dyn,t.legend||t.name)}),this)},_addLabel:function(t,e){var n=l.create("td"),i=l.create("div",null,n),r=l.create("label",null,n),a=l.create("div",{style:{width:this.swatchSize+"px",height:this.swatchSize+"px",float:"left"}},i);c.add(i,"dojoxLegendIcon dijitInline"),c.add(r,"dojoxLegendText"),this._tr?(this._tr.appendChild(n),++this._inrow===this.horizontal&&(this._tr=l.create("tr",null,this.legendBody),this._inrow=0)):l.create("tr",null,this.legendBody).appendChild(n),this._makeIcon(a,t),r.innerHTML=String(e),o("dojo-bidi")&&(r.dir=this.getTextDir(e,r.dir))},_makeIcon:function(t,e){var i={h:this.swatchSize,w:this.swatchSize},o=n.createSurface(t,i.w,i.h);if(this._surfaces.push(o),e.fill)o.createRect({x:2,y:2,width:i.w-4,height:i.h-4}).setFill(e.fill).setStroke(e.stroke);else if(e.stroke||e.marker){var r={x1:0,y1:i.h/2,x2:i.w,y2:i.h/2};if(e.stroke&&o.createLine(r).setStroke(e.stroke),e.marker){var a={x:i.w/2,y:i.h/2};o.createPath({path:"M"+a.x+" "+a.y+" "+e.marker}).setFill(e.markerFill).setStroke(e.markerStroke)}}else o.createRect({x:2,y:2,width:i.w-4,height:i.h-4}).setStroke("black"),o.createLine({x1:2,y1:2,x2:i.w-2,y2:i.h-2}).setStroke("black"),o.createLine({x1:2,y1:i.h-2,x2:i.w-2,y2:2}).setStroke("black")}});return o("dojo-bidi")?t("dojox.charting.widget.Legend",[h,r]):h}))},1411:function(t,e){define("dojox/color/Palette",["dojo/_base/lang","dojo/_base/array","./_base"],(function(t,e,n){function i(t,i,o){var r=new n.Palette;return r.colors=[],e.forEach(t.colors,(function(t){var e="dr"==i?t.r+o:t.r,a="dg"==i?t.g+o:t.g,s="db"==i?t.b+o:t.b,l="da"==i?t.a+o:t.a;r.colors.push(new n.Color({r:Math.min(255,Math.max(0,e)),g:Math.min(255,Math.max(0,a)),b:Math.min(255,Math.max(0,s)),a:Math.min(1,Math.max(0,l))}))})),r}function o(t,i,o){var r=new n.Palette;return r.colors=[],e.forEach(t.colors,(function(t){var e=t.toCmy(),a="dc"==i?e.c+o:e.c,s="dm"==i?e.m+o:e.m,l="dy"==i?e.y+o:e.y;r.colors.push(n.fromCmy(Math.min(100,Math.max(0,a)),Math.min(100,Math.max(0,s)),Math.min(100,Math.max(0,l))))})),r}function r(t,i,o){var r=new n.Palette;return r.colors=[],e.forEach(t.colors,(function(t){var e=t.toCmyk(),a="dc"==i?e.c+o:e.c,s="dm"==i?e.m+o:e.m,l="dy"==i?e.y+o:e.y,c="dk"==i?e.b+o:e.b;r.colors.push(n.fromCmyk(Math.min(100,Math.max(0,a)),Math.min(100,Math.max(0,s)),Math.min(100,Math.max(0,l)),Math.min(100,Math.max(0,c))))})),r}function a(t,i,o){var r=new n.Palette;return r.colors=[],e.forEach(t.colors,(function(t){var e=t.toHsl(),a="dh"==i?e.h+o:e.h,s="ds"==i?e.s+o:e.s,l="dl"==i?e.l+o:e.l;r.colors.push(n.fromHsl(a%360,Math.min(100,Math.max(0,s)),Math.min(100,Math.max(0,l))))})),r}function s(t,i,o){var r=new n.Palette;return r.colors=[],e.forEach(t.colors,(function(t){var e=t.toHsv(),a="dh"==i?e.h+o:e.h,s="ds"==i?e.s+o:e.s,l="dv"==i?e.v+o:e.v;r.colors.push(n.fromHsv(a%360,Math.min(100,Math.max(0,s)),Math.min(100,Math.max(0,l))))})),r}function l(t,e,n){return n-(n-e)/n*(n-t)}return n.Palette=function(i){this.colors=[],i instanceof n.Palette?this.colors=i.colors.slice(0):i instanceof n.Color?this.colors=[null,null,i,null,null]:t.isArray(i)?this.colors=e.map(i.slice(0),(function(e){return t.isString(e)?new n.Color(e):e})):t.isString(i)&&(this.colors=[null,null,new n.Color(i),null,null])},t.extend(n.Palette,{transform:function(t){var e=i;if(t.use){var n=t.use.toLowerCase();0==n.indexOf("hs")?e="l"==n.charAt(2)?a:s:0==n.indexOf("cmy")&&(e="k"==n.charAt(3)?r:o)}else"dc"in t||"dm"in t||"dy"in t?e="dk"in t?r:o:("dh"in t||"ds"in t)&&(e="dv"in t?s:a);var l=this;for(var c in t)"use"!=c&&(l=e(l,c,t[c]));return l},clone:function(){return new n.Palette(this)}}),t.mixin(n.Palette,{generators:{analogous:function(i){var o=i.high||60,r=i.low||18,a=(t.isString(i.base)?new n.Color(i.base):i.base).toHsv(),s=[(a.h+r+360)%360,(a.h+Math.round(r/2)+360)%360,a.h,(a.h-Math.round(o/2)+360)%360,(a.h-o+360)%360],l=Math.max(10,a.s<=95?a.s+5:100-(a.s-95)),c=a.s>1?a.s-1:21-a.s,d=a.v>=92?a.v-9:Math.max(a.v+9,20),h=a.v<=90?Math.max(a.v+5,20):95+Math.ceil((a.v-90)/2),u=[l,c,a.s,l,l],f=[d,h,a.v,d,h];return new n.Palette(e.map(s,(function(t,e){return n.fromHsv(t,u[e],f[e])})))},monochromatic:function(e){var i=t.isString(e.base)?new n.Color(e.base):e.base,o=i.toHsv(),r=o.s-30>9?o.s-30:o.s+30,a=o.s,s=l(o.v,20,100),c=o.v-20>20?o.v-20:o.v+60,d=o.v-50>20?o.v-50:o.v+30;return new n.Palette([n.fromHsv(o.h,r,s),n.fromHsv(o.h,a,d),i,n.fromHsv(o.h,r,d),n.fromHsv(o.h,a,c)])},triadic:function(e){var i=t.isString(e.base)?new n.Color(e.base):e.base,o=i.toHsv(),r=(o.h+57+360)%360,a=(o.h-157+360)%360,s=o.s>20?o.s-10:o.s+10,l=o.s>90?o.s-10:o.s+10,c=o.s>95?o.s-5:o.s+5,d=o.v-20>20?o.v-20:o.v+20,h=o.v-30>20?o.v-30:o.v+30,u=o.v-30>70?o.v-30:o.v+30;return new n.Palette([n.fromHsv(r,s,o.v),n.fromHsv(o.h,l,h),i,n.fromHsv(a,l,d),n.fromHsv(a,c,u)])},complementary:function(e){var i=t.isString(e.base)?new n.Color(e.base):e.base,o=i.toHsv(),r=2*o.h+137<360?2*o.h+137:Math.floor(o.h/2)-137,a=Math.max(o.s-10,0),s=l(o.s,10,100),c=Math.min(100,o.s+20),d=Math.min(100,o.v+30),h=o.v>20?o.v-30:o.v+30;return new n.Palette([n.fromHsv(o.h,a,d),n.fromHsv(o.h,s,h),i,n.fromHsv(r,c,h),n.fromHsv(r,o.s,o.v)])},splitComplementary:function(e){var i=t.isString(e.base)?new n.Color(e.base):e.base,o=e.da||30,r=i.toHsv(),a=2*r.h+137<360?2*r.h+137:Math.floor(r.h/2)-137,s=(a-o+360)%360,c=(a+o)%360,d=Math.max(r.s-10,0),h=l(r.s,10,100),u=Math.min(100,r.s+20),f=Math.min(100,r.v+30),p=r.v>20?r.v-30:r.v+30;return new n.Palette([n.fromHsv(s,d,f),n.fromHsv(s,h,p),i,n.fromHsv(c,u,p),n.fromHsv(c,r.s,r.v)])},compound:function(e){var i=t.isString(e.base)?new n.Color(e.base):e.base,o=i.toHsv(),r=2*o.h+18<360?2*o.h+18:Math.floor(o.h/2)-18,a=2*o.h+120<360?2*o.h+120:Math.floor(o.h/2)-120,s=2*o.h+99<360?2*o.h+99:Math.floor(o.h/2)-99,l=o.s-40>10?o.s-40:o.s+40,c=o.s-10>80?o.s-10:o.s+10,d=o.s-25>10?o.s-25:o.s+25,h=o.v-40>10?o.v-40:o.v+40,u=o.v-20>80?o.v-20:o.v+20,f=Math.max(o.v,20);return new n.Palette([n.fromHsv(r,l,h),n.fromHsv(r,c,u),i,n.fromHsv(a,d,f),n.fromHsv(s,c,u)])},shades:function(e){var i=t.isString(e.base)?new n.Color(e.base):e.base,o=i.toHsv(),r=100==o.s&&0==o.v?0:o.s,a=o.v-50>20?o.v-50:o.v+30,s=o.v-25>=20?o.v-25:o.v+55,l=o.v-75>=20?o.v-75:o.v+5,c=Math.max(o.v-10,20);return new n.Palette([new n.fromHsv(o.h,r,a),new n.fromHsv(o.h,r,s),i,new n.fromHsv(o.h,r,l),new n.fromHsv(o.h,r,c)])}},generate:function(e,i){if(t.isFunction(i))return i({base:e});if(n.Palette.generators[i])return n.Palette.generators[i]({base:e});throw new Error("dojox.color.Palette.generate: the specified generator ('"+i+"') does not exist.")}}),n.Palette}))},6180:function(t,e){define("dojox/color/Palette",["dojo/_base/lang","dojo/_base/array","./_base"],(function(t,e,n){function i(t,i,o){var r=new n.Palette;return r.colors=[],e.forEach(t.colors,(function(t){var e="dr"==i?t.r+o:t.r,a="dg"==i?t.g+o:t.g,s="db"==i?t.b+o:t.b,l="da"==i?t.a+o:t.a;r.colors.push(new n.Color({r:Math.min(255,Math.max(0,e)),g:Math.min(255,Math.max(0,a)),b:Math.min(255,Math.max(0,s)),a:Math.min(1,Math.max(0,l))}))})),r}function o(t,i,o){var r=new n.Palette;return r.colors=[],e.forEach(t.colors,(function(t){var e=t.toCmy(),a="dc"==i?e.c+o:e.c,s="dm"==i?e.m+o:e.m,l="dy"==i?e.y+o:e.y;r.colors.push(n.fromCmy(Math.min(100,Math.max(0,a)),Math.min(100,Math.max(0,s)),Math.min(100,Math.max(0,l))))})),r}function r(t,i,o){var r=new n.Palette;return r.colors=[],e.forEach(t.colors,(function(t){var e=t.toCmyk(),a="dc"==i?e.c+o:e.c,s="dm"==i?e.m+o:e.m,l="dy"==i?e.y+o:e.y,c="dk"==i?e.b+o:e.b;r.colors.push(n.fromCmyk(Math.min(100,Math.max(0,a)),Math.min(100,Math.max(0,s)),Math.min(100,Math.max(0,l)),Math.min(100,Math.max(0,c))))})),r}function a(t,i,o){var r=new n.Palette;return r.colors=[],e.forEach(t.colors,(function(t){var e=t.toHsl(),a="dh"==i?e.h+o:e.h,s="ds"==i?e.s+o:e.s,l="dl"==i?e.l+o:e.l;r.colors.push(n.fromHsl(a%360,Math.min(100,Math.max(0,s)),Math.min(100,Math.max(0,l))))})),r}function s(t,i,o){var r=new n.Palette;return r.colors=[],e.forEach(t.colors,(function(t){var e=t.toHsv(),a="dh"==i?e.h+o:e.h,s="ds"==i?e.s+o:e.s,l="dv"==i?e.v+o:e.v;r.colors.push(n.fromHsv(a%360,Math.min(100,Math.max(0,s)),Math.min(100,Math.max(0,l))))})),r}function l(t,e,n){return n-(n-e)/n*(n-t)}return n.Palette=function(i){this.colors=[],i instanceof n.Palette?this.colors=i.colors.slice(0):i instanceof n.Color?this.colors=[null,null,i,null,null]:t.isArray(i)?this.colors=e.map(i.slice(0),(function(e){return t.isString(e)?new n.Color(e):e})):t.isString(i)&&(this.colors=[null,null,new n.Color(i),null,null])},t.extend(n.Palette,{transform:function(t){var e=i;if(t.use){var n=t.use.toLowerCase();0==n.indexOf("hs")?e="l"==n.charAt(2)?a:s:0==n.indexOf("cmy")&&(e="k"==n.charAt(3)?r:o)}else"dc"in t||"dm"in t||"dy"in t?e="dk"in t?r:o:("dh"in t||"ds"in t)&&(e="dv"in t?s:a);var l=this;for(var c in t)"use"!=c&&(l=e(l,c,t[c]));return l},clone:function(){return new n.Palette(this)}}),t.mixin(n.Palette,{generators:{analogous:function(i){var o=i.high||60,r=i.low||18,a=(t.isString(i.base)?new n.Color(i.base):i.base).toHsv(),s=[(a.h+r+360)%360,(a.h+Math.round(r/2)+360)%360,a.h,(a.h-Math.round(o/2)+360)%360,(a.h-o+360)%360],l=Math.max(10,a.s<=95?a.s+5:100-(a.s-95)),c=a.s>1?a.s-1:21-a.s,d=a.v>=92?a.v-9:Math.max(a.v+9,20),h=a.v<=90?Math.max(a.v+5,20):95+Math.ceil((a.v-90)/2),u=[l,c,a.s,l,l],f=[d,h,a.v,d,h];return new n.Palette(e.map(s,(function(t,e){return n.fromHsv(t,u[e],f[e])})))},monochromatic:function(e){var i=t.isString(e.base)?new n.Color(e.base):e.base,o=i.toHsv(),r=o.s-30>9?o.s-30:o.s+30,a=o.s,s=l(o.v,20,100),c=o.v-20>20?o.v-20:o.v+60,d=o.v-50>20?o.v-50:o.v+30;return new n.Palette([n.fromHsv(o.h,r,s),n.fromHsv(o.h,a,d),i,n.fromHsv(o.h,r,d),n.fromHsv(o.h,a,c)])},triadic:function(e){var i=t.isString(e.base)?new n.Color(e.base):e.base,o=i.toHsv(),r=(o.h+57+360)%360,a=(o.h-157+360)%360,s=o.s>20?o.s-10:o.s+10,l=o.s>90?o.s-10:o.s+10,c=o.s>95?o.s-5:o.s+5,d=o.v-20>20?o.v-20:o.v+20,h=o.v-30>20?o.v-30:o.v+30,u=o.v-30>70?o.v-30:o.v+30;return new n.Palette([n.fromHsv(r,s,o.v),n.fromHsv(o.h,l,h),i,n.fromHsv(a,l,d),n.fromHsv(a,c,u)])},complementary:function(e){var i=t.isString(e.base)?new n.Color(e.base):e.base,o=i.toHsv(),r=2*o.h+137<360?2*o.h+137:Math.floor(o.h/2)-137,a=Math.max(o.s-10,0),s=l(o.s,10,100),c=Math.min(100,o.s+20),d=Math.min(100,o.v+30),h=o.v>20?o.v-30:o.v+30;return new n.Palette([n.fromHsv(o.h,a,d),n.fromHsv(o.h,s,h),i,n.fromHsv(r,c,h),n.fromHsv(r,o.s,o.v)])},splitComplementary:function(e){var i=t.isString(e.base)?new n.Color(e.base):e.base,o=e.da||30,r=i.toHsv(),a=2*r.h+137<360?2*r.h+137:Math.floor(r.h/2)-137,s=(a-o+360)%360,c=(a+o)%360,d=Math.max(r.s-10,0),h=l(r.s,10,100),u=Math.min(100,r.s+20),f=Math.min(100,r.v+30),p=r.v>20?r.v-30:r.v+30;return new n.Palette([n.fromHsv(s,d,f),n.fromHsv(s,h,p),i,n.fromHsv(c,u,p),n.fromHsv(c,r.s,r.v)])},compound:function(e){var i=t.isString(e.base)?new n.Color(e.base):e.base,o=i.toHsv(),r=2*o.h+18<360?2*o.h+18:Math.floor(o.h/2)-18,a=2*o.h+120<360?2*o.h+120:Math.floor(o.h/2)-120,s=2*o.h+99<360?2*o.h+99:Math.floor(o.h/2)-99,l=o.s-40>10?o.s-40:o.s+40,c=o.s-10>80?o.s-10:o.s+10,d=o.s-25>10?o.s-25:o.s+25,h=o.v-40>10?o.v-40:o.v+40,u=o.v-20>80?o.v-20:o.v+20,f=Math.max(o.v,20);return new n.Palette([n.fromHsv(r,l,h),n.fromHsv(r,c,u),i,n.fromHsv(a,d,f),n.fromHsv(s,c,u)])},shades:function(e){var i=t.isString(e.base)?new n.Color(e.base):e.base,o=i.toHsv(),r=100==o.s&&0==o.v?0:o.s,a=o.v-50>20?o.v-50:o.v+30,s=o.v-25>=20?o.v-25:o.v+55,l=o.v-75>=20?o.v-75:o.v+5,c=Math.max(o.v-10,20);return new n.Palette([new n.fromHsv(o.h,r,a),new n.fromHsv(o.h,r,s),i,new n.fromHsv(o.h,r,l),new n.fromHsv(o.h,r,c)])}},generate:function(e,i){if(t.isFunction(i))return i({base:e});if(n.Palette.generators[i])return n.Palette.generators[i]({base:e});throw new Error("dojox.color.Palette.generate: the specified generator ('"+i+"') does not exist.")}}),n.Palette}))},7980:function(t,e){define("dojox/color/_base",["../main","dojo/_base/lang","dojo/_base/Color","dojo/colors"],(function(t,e,n,i){var o=e.getObject("color",!0,t);return o.Color=n,o.blend=n.blendColors,o.fromRgb=n.fromRgb,o.fromHex=n.fromHex,o.fromArray=n.fromArray,o.fromString=n.fromString,o.greyscale=i.makeGrey,e.mixin(o,{fromCmy:function(t,i,o){e.isArray(t)?(i=t[1],o=t[2],t=t[0]):e.isObject(t)&&(i=t.m,o=t.y,t=t.c);var r=1-(t/=100),a=1-(i/=100),s=1-(o/=100);return new n({r:Math.round(255*r),g:Math.round(255*a),b:Math.round(255*s)})},fromCmyk:function(t,i,o,r){var a,s,l;return e.isArray(t)?(i=t[1],o=t[2],r=t[3],t=t[0]):e.isObject(t)&&(i=t.m,o=t.y,r=t.b,t=t.c),t/=100,i/=100,o/=100,r/=100,a=1-Math.min(1,t*(1-r)+r),s=1-Math.min(1,i*(1-r)+r),l=1-Math.min(1,o*(1-r)+r),new n({r:Math.round(255*a),g:Math.round(255*s),b:Math.round(255*l)})},fromHsl:function(t,i,o){for(e.isArray(t)?(i=t[1],o=t[2],t=t[0]):e.isObject(t)&&(i=t.s,o=t.l,t=t.h),i/=100,o/=100;t<0;)t+=360;for(;t>=360;)t-=360;var r,a,s;return t<120?(r=(120-t)/60,a=t/60,s=0):t<240?(r=0,a=(240-t)/60,s=(t-120)/60):(r=(t-240)/60,a=0,s=(360-t)/60),r=2*i*Math.min(r,1)+(1-i),a=2*i*Math.min(a,1)+(1-i),s=2*i*Math.min(s,1)+(1-i),o<.5?(r*=o,a*=o,s*=o):(r=(1-o)*r+2*o-1,a=(1-o)*a+2*o-1,s=(1-o)*s+2*o-1),new n({r:Math.round(255*r),g:Math.round(255*a),b:Math.round(255*s)})}}),o.fromHsv=function(t,i,o){var r,a,s;if(e.isArray(t)?(i=t[1],o=t[2],t=t[0]):e.isObject(t)&&(i=t.s,o=t.v,t=t.h),360==t&&(t=0),o/=100,0==(i/=100))r=o,s=o,a=o;else{var l=t/60,c=Math.floor(l),d=l-c,h=o*(1-i),u=o*(1-i*d),f=o*(1-i*(1-d));switch(c){case 0:r=o,a=f,s=h;break;case 1:r=u,a=o,s=h;break;case 2:r=h,a=o,s=f;break;case 3:r=h,a=u,s=o;break;case 4:r=f,a=h,s=o;break;case 5:r=o,a=h,s=u}}return new n({r:Math.round(255*r),g:Math.round(255*a),b:Math.round(255*s)})},e.extend(n,{toCmy:function(){var t=1-this.r/255,e=1-this.g/255,n=1-this.b/255;return{c:Math.round(100*t),m:Math.round(100*e),y:Math.round(100*n)}},toCmyk:function(){var t,e,n,i,o=this.r/255,r=this.g/255,a=this.b/255;return t=(1-o-(i=Math.min(1-o,1-r,1-a)))/(1-i),e=(1-r-i)/(1-i),n=(1-a-i)/(1-i),{c:Math.round(100*t),m:Math.round(100*e),y:Math.round(100*n),b:Math.round(100*i)}},toHsl:function(){var t=this.r/255,e=this.g/255,n=this.b/255,i=Math.min(t,n,e),o=Math.max(t,e,n),r=o-i,a=0,s=0,l=(i+o)/2;return l>0&&l<1&&(s=r/(l<.5?2*l:2-2*l)),r>0&&(o==t&&o!=e&&(a+=(e-n)/r),o==e&&o!=n&&(a+=2+(n-t)/r),o==n&&o!=t&&(a+=4+(t-e)/r),a*=60),{h:a,s:Math.round(100*s),l:Math.round(100*l)}},toHsv:function(){var t=this.r/255,e=this.g/255,n=this.b/255,i=Math.min(t,n,e),o=Math.max(t,e,n),r=o-i,a=null,s=0==o?0:r/o;return 0==s?a=0:(a=t==o?60*(e-n)/r:e==o?120+60*(n-t)/r:240+60*(t-e)/r)<0&&(a+=360),{h:a,s:Math.round(100*s),v:Math.round(100*o)}}}),o}))},8495:function(t,e){define("dojox/color/_base",["../main","dojo/_base/lang","dojo/_base/Color","dojo/colors"],(function(t,e,n,i){var o=e.getObject("color",!0,t);return o.Color=n,o.blend=n.blendColors,o.fromRgb=n.fromRgb,o.fromHex=n.fromHex,o.fromArray=n.fromArray,o.fromString=n.fromString,o.greyscale=i.makeGrey,e.mixin(o,{fromCmy:function(t,i,o){e.isArray(t)?(i=t[1],o=t[2],t=t[0]):e.isObject(t)&&(i=t.m,o=t.y,t=t.c);var r=1-(t/=100),a=1-(i/=100),s=1-(o/=100);return new n({r:Math.round(255*r),g:Math.round(255*a),b:Math.round(255*s)})},fromCmyk:function(t,i,o,r){var a,s,l;return e.isArray(t)?(i=t[1],o=t[2],r=t[3],t=t[0]):e.isObject(t)&&(i=t.m,o=t.y,r=t.b,t=t.c),t/=100,i/=100,o/=100,r/=100,a=1-Math.min(1,t*(1-r)+r),s=1-Math.min(1,i*(1-r)+r),l=1-Math.min(1,o*(1-r)+r),new n({r:Math.round(255*a),g:Math.round(255*s),b:Math.round(255*l)})},fromHsl:function(t,i,o){for(e.isArray(t)?(i=t[1],o=t[2],t=t[0]):e.isObject(t)&&(i=t.s,o=t.l,t=t.h),i/=100,o/=100;t<0;)t+=360;for(;t>=360;)t-=360;var r,a,s;return t<120?(r=(120-t)/60,a=t/60,s=0):t<240?(r=0,a=(240-t)/60,s=(t-120)/60):(r=(t-240)/60,a=0,s=(360-t)/60),r=2*i*Math.min(r,1)+(1-i),a=2*i*Math.min(a,1)+(1-i),s=2*i*Math.min(s,1)+(1-i),o<.5?(r*=o,a*=o,s*=o):(r=(1-o)*r+2*o-1,a=(1-o)*a+2*o-1,s=(1-o)*s+2*o-1),new n({r:Math.round(255*r),g:Math.round(255*a),b:Math.round(255*s)})}}),o.fromHsv=function(t,i,o){var r,a,s;if(e.isArray(t)?(i=t[1],o=t[2],t=t[0]):e.isObject(t)&&(i=t.s,o=t.v,t=t.h),360==t&&(t=0),o/=100,0==(i/=100))r=o,s=o,a=o;else{var l=t/60,c=Math.floor(l),d=l-c,h=o*(1-i),u=o*(1-i*d),f=o*(1-i*(1-d));switch(c){case 0:r=o,a=f,s=h;break;case 1:r=u,a=o,s=h;break;case 2:r=h,a=o,s=f;break;case 3:r=h,a=u,s=o;break;case 4:r=f,a=h,s=o;break;case 5:r=o,a=h,s=u}}return new n({r:Math.round(255*r),g:Math.round(255*a),b:Math.round(255*s)})},e.extend(n,{toCmy:function(){var t=1-this.r/255,e=1-this.g/255,n=1-this.b/255;return{c:Math.round(100*t),m:Math.round(100*e),y:Math.round(100*n)}},toCmyk:function(){var t,e,n,i,o=this.r/255,r=this.g/255,a=this.b/255;return t=(1-o-(i=Math.min(1-o,1-r,1-a)))/(1-i),e=(1-r-i)/(1-i),n=(1-a-i)/(1-i),{c:Math.round(100*t),m:Math.round(100*e),y:Math.round(100*n),b:Math.round(100*i)}},toHsl:function(){var t=this.r/255,e=this.g/255,n=this.b/255,i=Math.min(t,n,e),o=Math.max(t,e,n),r=o-i,a=0,s=0,l=(i+o)/2;return l>0&&l<1&&(s=r/(l<.5?2*l:2-2*l)),r>0&&(o==t&&o!=e&&(a+=(e-n)/r),o==e&&o!=n&&(a+=2+(n-t)/r),o==n&&o!=t&&(a+=4+(t-e)/r),a*=60),{h:a,s:Math.round(100*s),l:Math.round(100*l)}},toHsv:function(){var t=this.r/255,e=this.g/255,n=this.b/255,i=Math.min(t,n,e),o=Math.max(t,e,n),r=o-i,a=null,s=0==o?0:r/o;return 0==s?a=0:(a=t==o?60*(e-n)/r:e==o?120+60*(n-t)/r:240+60*(t-e)/r)<0&&(a+=360),{h:a,s:Math.round(100*s),v:Math.round(100*o)}}}),o}))},5963:function(t,e){require({cache:{"dojox/gfx/_base":function(){define(["dojo/_base/kernel","dojo/_base/lang","dojo/_base/Color","dojo/_base/sniff","dojo/_base/window","dojo/_base/array","dojo/dom","dojo/dom-construct","dojo/dom-geometry"],(function(t,e,n,i,o,r,a,s,l){var c=e.getObject("dojox.gfx",!0),d=c._base={};c._hasClass=function(t,e){var n=t.getAttribute("className");return n&&(" "+n+" ").indexOf(" "+e+" ")>=0},c._addClass=function(t,e){var n=t.getAttribute("className")||"";(!n||(" "+n+" ").indexOf(" "+e+" ")<0)&&t.setAttribute("className",n+(n?" ":"")+e)},c._removeClass=function(t,e){var n=t.getAttribute("className");n&&t.setAttribute("className",n.replace(new RegExp("(^|\\s+)"+e+"(\\s+|$)"),"$1$2"))},d._getFontMeasurements=function(){var t,e,n={"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};i("ie")&&((e=o.doc.documentElement.style.fontSize||"")||(o.doc.documentElement.style.fontSize="100%"));var r=s.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"}},o.body());for(t in n)r.style.fontSize=t,n[t]=16*Math.round(12*r.offsetHeight/16)/12/1e3;return i("ie")&&(o.doc.documentElement.style.fontSize=e),o.body().removeChild(r),n};var h=null;d._getCachedFontMeasurements=function(t){return!t&&h||(h=d._getFontMeasurements()),h};var u=null,f={};d._getTextBox=function(t,e,n){var i,r,a,c,d=arguments.length;if(u||(u=s.create("div",{style:{position:"absolute",top:"-10000px",left:"0",visibility:"hidden"}},o.body())),(i=u).className="",(r=i.style).borderWidth="0",r.margin="0",r.padding="0",r.outline="0",d>1&&e)for(a in e)a in f||(r[a]=e[a]);if(d>2&&n&&(i.className=n),i.innerHTML=t,i.getBoundingClientRect){var h=i.getBoundingClientRect();c={l:h.left,t:h.top,w:h.width||h.right-h.left,h:h.height||h.bottom-h.top}}else c=l.getMarginBox(i);return i.innerHTML="",c},d._computeTextLocation=function(t,e,n,i){var o={};switch(t.align){case"end":o.x=t.x-e;break;case"middle":o.x=t.x-e/2;break;default:o.x=t.x}var r=i?.75:1;return o.y=t.y-n*r,o},d._computeTextBoundingBox=function(t){if(!c._base._isRendered(t))return{x:0,y:0,width:0,height:0};var e,n=t.getShape(),i=t.getFont()||c.defaultFont,o=t.getTextWidth(),r=c.normalizedLength(i.size);return{x:(e=d._computeTextLocation(n,o,r,!0)).x,y:e.y,width:o,height:r}},d._isRendered=function(t){for(var e=t.parent;e&&e.getParent;)e=e.parent;return null!==e};var p=0;d._getUniqueId=function(){var e;do{e=t._scopeName+"xUnique"+ ++p}while(a.byId(e));return e};var m,g=i("pointer-events")?"touchAction":i("MSPointer")?"msTouchAction":null;return d._fixMsTouchAction=g?function(t){t.rawNode.style[g]="none"}:function(){},e.mixin(c,{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:!1,kerning:!0},defaultTextPath:{type:"textpath",text:"",align:"start",decoration:"none",rotated:!1,kerning:!0},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:(m={},function(t){var e=m[t];return e||((e=m[t]=new Function).prototype=c["default"+t]),new e}),normalizeColor:function(t){return t instanceof n?t:new n(t)},normalizeParameters:function(t,e){var n;if(e){var i={};for(n in t)n in e&&!(n in i)&&(t[n]=e[n])}return t},makeParameters:function(t,n){var i=null;if(!n)return e.delegate(t);var o={};for(i in t)i in o||(o[i]=e.clone(i in n?n[i]:t[i]));return o},formatNumber:function(t,e){var n=t.toString();if(n.indexOf("e")>=0)n=t.toFixed(4);else{var i=n.indexOf(".");i>=0&&n.length-i>5&&(n=t.toFixed(4))}return t<0?n:e?" "+n:n},makeFontString:function(t){return t.style+" "+t.variant+" "+t.weight+" "+t.size+" "+t.family},splitFontString:function(t){var e=c.getDefault("Font"),n=t.split(/\s+/);do{if(n.length<5)break;e.style=n[0],e.variant=n[1],e.weight=n[2];var i=n[3].indexOf("/");e.size=i<0?n[3]:n[3].substring(0,i);var o=4;i<0&&("/"==n[4]?o=6:"/"==n[4].charAt(0)&&(o=5)),o<n.length&&(e.family=n.slice(o).join(" "))}while(0);return e},cm_in_pt:72/2.54,mm_in_pt:7.2/2.54,px_in_pt:function(){return c._base._getCachedFontMeasurements()["12pt"]/12},pt2px:function(t){return t*c.px_in_pt()},px2pt:function(t){return t/c.px_in_pt()},normalizedLength:function(t){if(0===t.length)return 0;if(t.length>2){var e=c.px_in_pt(),n=parseFloat(t);switch(t.slice(-2)){case"px":return n;case"pt":return n*e;case"in":return 72*n*e;case"pc":return 12*n*e;case"mm":return n*c.mm_in_pt*e;case"cm":return n*c.cm_in_pt*e}}return parseFloat(t)},pathVmlRegExp:/([A-Za-z]+)|(\d+(\.\d+)?)|(\.\d+)|(-\d+(\.\d+)?)|(-\.\d+)/g,pathSvgRegExp:/([A-DF-Za-df-z])|([-+]?\d*[.]?\d+(?:[eE][-+]?\d+)?)/g,equalSources:function(t,e){return t&&e&&t===e},switchTo:function(t){var e="string"==typeof t?c[t]:t;e&&(r.forEach(["Group","Rect","Ellipse","Circle","Line","Polyline","Image","Text","Path","TextPath","Surface","createSurface","fixTarget"],(function(t){c[t]=e[t]})),"string"==typeof t?c.renderer=t:r.some(["svg","vml","canvas","canvasWithEvents","silverlight"],(function(t){return c.renderer=c[t]&&c[t].Surface===c.Surface?t:null})))}}),c}))},"dojox/gfx/renderer":function(){define(["./_base","dojo/_base/lang","dojo/_base/sniff","dojo/_base/window","dojo/_base/config"],(function(t,e,n,i,o){var r=null;return n.add("vml",(function(t,e,n){n.innerHTML='<v:shape adj="1"/>';var i="adj"in n.firstChild;return n.innerHTML="",i})),{load:function(a,s,l){if(r&&"force"!=a)l(r);else{for(var c,d,h=o.forceGfxRenderer,u=!h&&(e.isString(o.gfxRenderer)?o.gfxRenderer:"svg,vml,canvas,silverlight").split(",");!h&&u.length;)switch(u.shift()){case"svg":"SVGAngle"in i.global&&(h="svg");break;case"vml":n("vml")&&(h="vml");break;case"silverlight":try{n("ie")?(c=new ActiveXObject("AgControl.AgControl"))&&c.IsVersionSupported("1.0")&&(d=!0):navigator.plugins["Silverlight Plug-In"]&&(d=!0)}catch(t){d=!1}finally{c=null}d&&(h="silverlight");break;case"canvas":i.global.CanvasRenderingContext2D&&(h="canvas")}"canvas"===h&&!1!==o.canvasEvents&&(h="canvasWithEvents"),o.isDebug,"svg"==h&&void 0!==window.svgweb?window.svgweb.addOnLoad(f):f()}function f(){s(["dojox/gfx/"+h],(function(e){t.renderer=h,r=e,l(e)}))}}}}))}}}),define("dojox/gfx",["dojo/_base/lang","./gfx/_base","./gfx/renderer!"],(function(t,e,n){return e.switchTo(n),e}))},6828:function(t,e){require({cache:{"dojox/gfx/_base":function(){define(["dojo/_base/kernel","dojo/_base/lang","dojo/_base/Color","dojo/_base/sniff","dojo/_base/window","dojo/_base/array","dojo/dom","dojo/dom-construct","dojo/dom-geometry"],(function(t,e,n,i,o,r,a,s,l){var c=e.getObject("dojox.gfx",!0),d=c._base={};c._hasClass=function(t,e){var n=t.getAttribute("className");return n&&(" "+n+" ").indexOf(" "+e+" ")>=0},c._addClass=function(t,e){var n=t.getAttribute("className")||"";(!n||(" "+n+" ").indexOf(" "+e+" ")<0)&&t.setAttribute("className",n+(n?" ":"")+e)},c._removeClass=function(t,e){var n=t.getAttribute("className");n&&t.setAttribute("className",n.replace(new RegExp("(^|\\s+)"+e+"(\\s+|$)"),"$1$2"))},d._getFontMeasurements=function(){var t,e,n={"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};i("ie")&&((e=o.doc.documentElement.style.fontSize||"")||(o.doc.documentElement.style.fontSize="100%"));var r=s.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"}},o.body());for(t in n)r.style.fontSize=t,n[t]=16*Math.round(12*r.offsetHeight/16)/12/1e3;return i("ie")&&(o.doc.documentElement.style.fontSize=e),o.body().removeChild(r),n};var h=null;d._getCachedFontMeasurements=function(t){return!t&&h||(h=d._getFontMeasurements()),h};var u=null,f={};d._getTextBox=function(t,e,n){var i,r,a,c,d=arguments.length;if(u||(u=s.create("div",{style:{position:"absolute",top:"-10000px",left:"0",visibility:"hidden"}},o.body())),(i=u).className="",(r=i.style).borderWidth="0",r.margin="0",r.padding="0",r.outline="0",d>1&&e)for(a in e)a in f||(r[a]=e[a]);if(d>2&&n&&(i.className=n),i.innerHTML=t,i.getBoundingClientRect){var h=i.getBoundingClientRect();c={l:h.left,t:h.top,w:h.width||h.right-h.left,h:h.height||h.bottom-h.top}}else c=l.getMarginBox(i);return i.innerHTML="",c},d._computeTextLocation=function(t,e,n,i){var o={};switch(t.align){case"end":o.x=t.x-e;break;case"middle":o.x=t.x-e/2;break;default:o.x=t.x}var r=i?.75:1;return o.y=t.y-n*r,o},d._computeTextBoundingBox=function(t){if(!c._base._isRendered(t))return{x:0,y:0,width:0,height:0};var e,n=t.getShape(),i=t.getFont()||c.defaultFont,o=t.getTextWidth(),r=c.normalizedLength(i.size);return{x:(e=d._computeTextLocation(n,o,r,!0)).x,y:e.y,width:o,height:r}},d._isRendered=function(t){for(var e=t.parent;e&&e.getParent;)e=e.parent;return null!==e};var p=0;d._getUniqueId=function(){var e;do{e=t._scopeName+"xUnique"+ ++p}while(a.byId(e));return e};var m,g=i("pointer-events")?"touchAction":i("MSPointer")?"msTouchAction":null;return d._fixMsTouchAction=g?function(t){t.rawNode.style[g]="none"}:function(){},e.mixin(c,{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:!1,kerning:!0},defaultTextPath:{type:"textpath",text:"",align:"start",decoration:"none",rotated:!1,kerning:!0},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:(m={},function(t){var e=m[t];return e||((e=m[t]=new Function).prototype=c["default"+t]),new e}),normalizeColor:function(t){return t instanceof n?t:new n(t)},normalizeParameters:function(t,e){var n;if(e){var i={};for(n in t)n in e&&!(n in i)&&(t[n]=e[n])}return t},makeParameters:function(t,n){var i=null;if(!n)return e.delegate(t);var o={};for(i in t)i in o||(o[i]=e.clone(i in n?n[i]:t[i]));return o},formatNumber:function(t,e){var n=t.toString();if(n.indexOf("e")>=0)n=t.toFixed(4);else{var i=n.indexOf(".");i>=0&&n.length-i>5&&(n=t.toFixed(4))}return t<0?n:e?" "+n:n},makeFontString:function(t){return t.style+" "+t.variant+" "+t.weight+" "+t.size+" "+t.family},splitFontString:function(t){var e=c.getDefault("Font"),n=t.split(/\s+/);do{if(n.length<5)break;e.style=n[0],e.variant=n[1],e.weight=n[2];var i=n[3].indexOf("/");e.size=i<0?n[3]:n[3].substring(0,i);var o=4;i<0&&("/"==n[4]?o=6:"/"==n[4].charAt(0)&&(o=5)),o<n.length&&(e.family=n.slice(o).join(" "))}while(0);return e},cm_in_pt:72/2.54,mm_in_pt:7.2/2.54,px_in_pt:function(){return c._base._getCachedFontMeasurements()["12pt"]/12},pt2px:function(t){return t*c.px_in_pt()},px2pt:function(t){return t/c.px_in_pt()},normalizedLength:function(t){if(0===t.length)return 0;if(t.length>2){var e=c.px_in_pt(),n=parseFloat(t);switch(t.slice(-2)){case"px":return n;case"pt":return n*e;case"in":return 72*n*e;case"pc":return 12*n*e;case"mm":return n*c.mm_in_pt*e;case"cm":return n*c.cm_in_pt*e}}return parseFloat(t)},pathVmlRegExp:/([A-Za-z]+)|(\d+(\.\d+)?)|(\.\d+)|(-\d+(\.\d+)?)|(-\.\d+)/g,pathSvgRegExp:/([A-DF-Za-df-z])|([-+]?\d*[.]?\d+(?:[eE][-+]?\d+)?)/g,equalSources:function(t,e){return t&&e&&t===e},switchTo:function(t){var e="string"==typeof t?c[t]:t;e&&(r.forEach(["Group","Rect","Ellipse","Circle","Line","Polyline","Image","Text","Path","TextPath","Surface","createSurface","fixTarget"],(function(t){c[t]=e[t]})),"string"==typeof t?c.renderer=t:r.some(["svg","vml","canvas","canvasWithEvents","silverlight"],(function(t){return c.renderer=c[t]&&c[t].Surface===c.Surface?t:null})))}}),c}))},"dojox/gfx/renderer":function(){define(["./_base","dojo/_base/lang","dojo/_base/sniff","dojo/_base/window","dojo/_base/config"],(function(t,e,n,i,o){var r=null;return n.add("vml",(function(t,e,n){n.innerHTML='<v:shape adj="1"/>';var i="adj"in n.firstChild;return n.innerHTML="",i})),{load:function(a,s,l){if(r&&"force"!=a)l(r);else{for(var c,d,h=o.forceGfxRenderer,u=!h&&(e.isString(o.gfxRenderer)?o.gfxRenderer:"svg,vml,canvas,silverlight").split(",");!h&&u.length;)switch(u.shift()){case"svg":"SVGAngle"in i.global&&(h="svg");break;case"vml":n("vml")&&(h="vml");break;case"silverlight":try{n("ie")?(c=new ActiveXObject("AgControl.AgControl"))&&c.IsVersionSupported("1.0")&&(d=!0):navigator.plugins["Silverlight Plug-In"]&&(d=!0)}catch(t){d=!1}finally{c=null}d&&(h="silverlight");break;case"canvas":i.global.CanvasRenderingContext2D&&(h="canvas")}"canvas"===h&&!1!==o.canvasEvents&&(h="canvasWithEvents"),o.isDebug&&console.log("gfx renderer = "+h),"svg"==h&&void 0!==window.svgweb?window.svgweb.addOnLoad(f):f()}function f(){s(["dojox/gfx/"+h],(function(e){t.renderer=h,r=e,l(e)}))}}}}))}}}),define("dojox/gfx",["dojo/_base/lang","./gfx/_base","./gfx/renderer!"],(function(t,e,n){return e.switchTo(n),e}))},364:function(t,e){define("dojox/gfx/_base",["dojo/_base/kernel","dojo/_base/lang","dojo/_base/Color","dojo/_base/sniff","dojo/_base/window","dojo/_base/array","dojo/dom","dojo/dom-construct","dojo/dom-geometry"],(function(t,e,n,i,o,r,a,s,l){var c=e.getObject("dojox.gfx",!0),d=c._base={};c._hasClass=function(t,e){var n=t.getAttribute("className");return n&&(" "+n+" ").indexOf(" "+e+" ")>=0},c._addClass=function(t,e){var n=t.getAttribute("className")||"";(!n||(" "+n+" ").indexOf(" "+e+" ")<0)&&t.setAttribute("className",n+(n?" ":"")+e)},c._removeClass=function(t,e){var n=t.getAttribute("className");n&&t.setAttribute("className",n.replace(new RegExp("(^|\\s+)"+e+"(\\s+|$)"),"$1$2"))},d._getFontMeasurements=function(){var t,e,n={"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};i("ie")&&((e=o.doc.documentElement.style.fontSize||"")||(o.doc.documentElement.style.fontSize="100%"));var r=s.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"}},o.body());for(t in n)r.style.fontSize=t,n[t]=16*Math.round(12*r.offsetHeight/16)/12/1e3;return i("ie")&&(o.doc.documentElement.style.fontSize=e),o.body().removeChild(r),n};var h=null;d._getCachedFontMeasurements=function(t){return!t&&h||(h=d._getFontMeasurements()),h};var u=null,f={};d._getTextBox=function(t,e,n){var i,r,a,c,d=arguments.length;if(u||(u=s.create("div",{style:{position:"absolute",top:"-10000px",left:"0",visibility:"hidden"}},o.body())),(i=u).className="",(r=i.style).borderWidth="0",r.margin="0",r.padding="0",r.outline="0",d>1&&e)for(a in e)a in f||(r[a]=e[a]);if(d>2&&n&&(i.className=n),i.innerHTML=t,i.getBoundingClientRect){var h=i.getBoundingClientRect();c={l:h.left,t:h.top,w:h.width||h.right-h.left,h:h.height||h.bottom-h.top}}else c=l.getMarginBox(i);return i.innerHTML="",c},d._computeTextLocation=function(t,e,n,i){var o={};switch(t.align){case"end":o.x=t.x-e;break;case"middle":o.x=t.x-e/2;break;default:o.x=t.x}var r=i?.75:1;return o.y=t.y-n*r,o},d._computeTextBoundingBox=function(t){if(!c._base._isRendered(t))return{x:0,y:0,width:0,height:0};var e,n=t.getShape(),i=t.getFont()||c.defaultFont,o=t.getTextWidth(),r=c.normalizedLength(i.size);return{x:(e=d._computeTextLocation(n,o,r,!0)).x,y:e.y,width:o,height:r}},d._isRendered=function(t){for(var e=t.parent;e&&e.getParent;)e=e.parent;return null!==e};var p=0;d._getUniqueId=function(){var e;do{e=t._scopeName+"xUnique"+ ++p}while(a.byId(e));return e};var m,g=i("pointer-events")?"touchAction":i("MSPointer")?"msTouchAction":null;return d._fixMsTouchAction=g?function(t){t.rawNode.style[g]="none"}:function(){},e.mixin(c,{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:!1,kerning:!0},defaultTextPath:{type:"textpath",text:"",align:"start",decoration:"none",rotated:!1,kerning:!0},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:(m={},function(t){var e=m[t];return e||((e=m[t]=new Function).prototype=c["default"+t]),new e}),normalizeColor:function(t){return t instanceof n?t:new n(t)},normalizeParameters:function(t,e){var n;if(e){var i={};for(n in t)n in e&&!(n in i)&&(t[n]=e[n])}return t},makeParameters:function(t,n){var i=null;if(!n)return e.delegate(t);var o={};for(i in t)i in o||(o[i]=e.clone(i in n?n[i]:t[i]));return o},formatNumber:function(t,e){var n=t.toString();if(n.indexOf("e")>=0)n=t.toFixed(4);else{var i=n.indexOf(".");i>=0&&n.length-i>5&&(n=t.toFixed(4))}return t<0?n:e?" "+n:n},makeFontString:function(t){return t.style+" "+t.variant+" "+t.weight+" "+t.size+" "+t.family},splitFontString:function(t){var e=c.getDefault("Font"),n=t.split(/\s+/);do{if(n.length<5)break;e.style=n[0],e.variant=n[1],e.weight=n[2];var i=n[3].indexOf("/");e.size=i<0?n[3]:n[3].substring(0,i);var o=4;i<0&&("/"==n[4]?o=6:"/"==n[4].charAt(0)&&(o=5)),o<n.length&&(e.family=n.slice(o).join(" "))}while(0);return e},cm_in_pt:72/2.54,mm_in_pt:7.2/2.54,px_in_pt:function(){return c._base._getCachedFontMeasurements()["12pt"]/12},pt2px:function(t){return t*c.px_in_pt()},px2pt:function(t){return t/c.px_in_pt()},normalizedLength:function(t){if(0===t.length)return 0;if(t.length>2){var e=c.px_in_pt(),n=parseFloat(t);switch(t.slice(-2)){case"px":return n;case"pt":return n*e;case"in":return 72*n*e;case"pc":return 12*n*e;case"mm":return n*c.mm_in_pt*e;case"cm":return n*c.cm_in_pt*e}}return parseFloat(t)},pathVmlRegExp:/([A-Za-z]+)|(\d+(\.\d+)?)|(\.\d+)|(-\d+(\.\d+)?)|(-\.\d+)/g,pathSvgRegExp:/([A-DF-Za-df-z])|([-+]?\d*[.]?\d+(?:[eE][-+]?\d+)?)/g,equalSources:function(t,e){return t&&e&&t===e},switchTo:function(t){var e="string"==typeof t?c[t]:t;e&&(r.forEach(["Group","Rect","Ellipse","Circle","Line","Polyline","Image","Text","Path","TextPath","Surface","createSurface","fixTarget"],(function(t){c[t]=e[t]})),"string"==typeof t?c.renderer=t:r.some(["svg","vml","canvas","canvasWithEvents","silverlight"],(function(t){return c.renderer=c[t]&&c[t].Surface===c.Surface?t:null})))}}),c}))},8607:function(t,e){define("dojox/gfx/_base",["dojo/_base/kernel","dojo/_base/lang","dojo/_base/Color","dojo/_base/sniff","dojo/_base/window","dojo/_base/array","dojo/dom","dojo/dom-construct","dojo/dom-geometry"],(function(t,e,n,i,o,r,a,s,l){var c=e.getObject("dojox.gfx",!0),d=c._base={};c._hasClass=function(t,e){var n=t.getAttribute("className");return n&&(" "+n+" ").indexOf(" "+e+" ")>=0},c._addClass=function(t,e){var n=t.getAttribute("className")||"";(!n||(" "+n+" ").indexOf(" "+e+" ")<0)&&t.setAttribute("className",n+(n?" ":"")+e)},c._removeClass=function(t,e){var n=t.getAttribute("className");n&&t.setAttribute("className",n.replace(new RegExp("(^|\\s+)"+e+"(\\s+|$)"),"$1$2"))},d._getFontMeasurements=function(){var t,e,n={"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};i("ie")&&((e=o.doc.documentElement.style.fontSize||"")||(o.doc.documentElement.style.fontSize="100%"));var r=s.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"}},o.body());for(t in n)r.style.fontSize=t,n[t]=16*Math.round(12*r.offsetHeight/16)/12/1e3;return i("ie")&&(o.doc.documentElement.style.fontSize=e),o.body().removeChild(r),n};var h=null;d._getCachedFontMeasurements=function(t){return!t&&h||(h=d._getFontMeasurements()),h};var u=null,f={};d._getTextBox=function(t,e,n){var i,r,a,c,d=arguments.length;if(u||(u=s.create("div",{style:{position:"absolute",top:"-10000px",left:"0",visibility:"hidden"}},o.body())),(i=u).className="",(r=i.style).borderWidth="0",r.margin="0",r.padding="0",r.outline="0",d>1&&e)for(a in e)a in f||(r[a]=e[a]);if(d>2&&n&&(i.className=n),i.innerHTML=t,i.getBoundingClientRect){var h=i.getBoundingClientRect();c={l:h.left,t:h.top,w:h.width||h.right-h.left,h:h.height||h.bottom-h.top}}else c=l.getMarginBox(i);return i.innerHTML="",c},d._computeTextLocation=function(t,e,n,i){var o={};switch(t.align){case"end":o.x=t.x-e;break;case"middle":o.x=t.x-e/2;break;default:o.x=t.x}var r=i?.75:1;return o.y=t.y-n*r,o},d._computeTextBoundingBox=function(t){if(!c._base._isRendered(t))return{x:0,y:0,width:0,height:0};var e,n=t.getShape(),i=t.getFont()||c.defaultFont,o=t.getTextWidth(),r=c.normalizedLength(i.size);return{x:(e=d._computeTextLocation(n,o,r,!0)).x,y:e.y,width:o,height:r}},d._isRendered=function(t){for(var e=t.parent;e&&e.getParent;)e=e.parent;return null!==e};var p=0;d._getUniqueId=function(){var e;do{e=t._scopeName+"xUnique"+ ++p}while(a.byId(e));return e};var m,g=i("pointer-events")?"touchAction":i("MSPointer")?"msTouchAction":null;return d._fixMsTouchAction=g?function(t){t.rawNode.style[g]="none"}:function(){},e.mixin(c,{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:!1,kerning:!0},defaultTextPath:{type:"textpath",text:"",align:"start",decoration:"none",rotated:!1,kerning:!0},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:(m={},function(t){var e=m[t];return e||((e=m[t]=new Function).prototype=c["default"+t]),new e}),normalizeColor:function(t){return t instanceof n?t:new n(t)},normalizeParameters:function(t,e){var n;if(e){var i={};for(n in t)n in e&&!(n in i)&&(t[n]=e[n])}return t},makeParameters:function(t,n){var i=null;if(!n)return e.delegate(t);var o={};for(i in t)i in o||(o[i]=e.clone(i in n?n[i]:t[i]));return o},formatNumber:function(t,e){var n=t.toString();if(n.indexOf("e")>=0)n=t.toFixed(4);else{var i=n.indexOf(".");i>=0&&n.length-i>5&&(n=t.toFixed(4))}return t<0?n:e?" "+n:n},makeFontString:function(t){return t.style+" "+t.variant+" "+t.weight+" "+t.size+" "+t.family},splitFontString:function(t){var e=c.getDefault("Font"),n=t.split(/\s+/);do{if(n.length<5)break;e.style=n[0],e.variant=n[1],e.weight=n[2];var i=n[3].indexOf("/");e.size=i<0?n[3]:n[3].substring(0,i);var o=4;i<0&&("/"==n[4]?o=6:"/"==n[4].charAt(0)&&(o=5)),o<n.length&&(e.family=n.slice(o).join(" "))}while(0);return e},cm_in_pt:72/2.54,mm_in_pt:7.2/2.54,px_in_pt:function(){return c._base._getCachedFontMeasurements()["12pt"]/12},pt2px:function(t){return t*c.px_in_pt()},px2pt:function(t){return t/c.px_in_pt()},normalizedLength:function(t){if(0===t.length)return 0;if(t.length>2){var e=c.px_in_pt(),n=parseFloat(t);switch(t.slice(-2)){case"px":return n;case"pt":return n*e;case"in":return 72*n*e;case"pc":return 12*n*e;case"mm":return n*c.mm_in_pt*e;case"cm":return n*c.cm_in_pt*e}}return parseFloat(t)},pathVmlRegExp:/([A-Za-z]+)|(\d+(\.\d+)?)|(\.\d+)|(-\d+(\.\d+)?)|(-\.\d+)/g,pathSvgRegExp:/([A-DF-Za-df-z])|([-+]?\d*[.]?\d+(?:[eE][-+]?\d+)?)/g,equalSources:function(t,e){return t&&e&&t===e},switchTo:function(t){var e="string"==typeof t?c[t]:t;e&&(r.forEach(["Group","Rect","Ellipse","Circle","Line","Polyline","Image","Text","Path","TextPath","Surface","createSurface","fixTarget"],(function(t){c[t]=e[t]})),"string"==typeof t?c.renderer=t:r.some(["svg","vml","canvas","canvasWithEvents","silverlight"],(function(t){return c.renderer=c[t]&&c[t].Surface===c.Surface?t:null})))}}),c}))},5084:function(t,e){define("dojox/gfx/fx",["dojo/_base/lang","./_base","./matrix","dojo/_base/Color","dojo/_base/array","dojo/_base/fx","dojo/_base/connect","dojo/sniff"],(function(t,e,n,i,o,r,a,s){var l=e.fx={};function c(t,e){this.start=t,this.end=e}function d(t,e,n){this.start=t,this.end=e,this.units=n}function h(t,e){this.start=t,this.end=e,this.temp=new i}function u(t){this.values=t,this.length=t.length}function f(t,e){this.values=t,this.def=e||{}}function p(t,e){this.stack=t,this.original=e}c.prototype.getValue=function(t){return(this.end-this.start)*t+this.start},d.prototype.getValue=function(t){return(this.end-this.start)*t+this.start+this.units},h.prototype.getValue=function(t){return i.blendColors(this.start,this.end,t,this.temp)},u.prototype.getValue=function(t){return this.values[Math.min(Math.floor(t*this.length),this.length-1)]},f.prototype.getValue=function(e){var n=t.clone(this.def);for(var i in this.values)n[i]=this.values[i].getValue(e);return n},p.prototype.getValue=function(t){var e=[];return o.forEach(this.stack,(function(i){if(i instanceof n.Matrix2D)e.push(i);else if("original"==i.name&&this.original)e.push(this.original);else if("matrix"!=i.name){if(i.name in n){var r=n[i.name];if("function"==typeof r){var a=o.map(i.start,(function(e,n){return(i.end[n]-e)*t+e})),s=r.apply(n,a);s instanceof n.Matrix2D&&e.push(s)}else e.push(r)}}else if(i.start instanceof n.Matrix2D&&i.end instanceof n.Matrix2D){var l=new n.Matrix2D;for(var c in i.start)l[c]=(i.end[c]-i.start[c])*t+i.start[c];e.push(l)}}),this),e};var m=new i(0,0,0,0);function g(t,n,i,o){return t.values?new u(t.values):(a=t.start?e.normalizeColor(t.start):r=n?i?n[i]:n:o,t.end?s=e.normalizeColor(t.end):(r||(r=n?i?n[i]:n:o),s=r),new h(a,s));var r,a,s}return l.animateStroke=function(t){t.easing||(t.easing=r._defaultEasing);var e,n=new r.Animation(t),i=t.shape;return a.connect(n,"beforeBegin",n,(function(){e=i.getStroke();var n,o,r=t.color,a={};r&&(a.color=g(r,e,"color",m)),(r=t.style)&&r.values&&(a.style=new u(r.values)),(r=t.width)&&(a.width=function(t,e,n){return t.values?new u(t.values):(o=t.start?t.start:i=e?e[n]:1,t.end?r=t.end:("number"!=typeof i&&(i=e?e[n]:1),r=i),new c(o,r));var i,o,r}(r,e,"width")),(r=t.cap)&&r.values&&(a.cap=new u(r.values)),(r=t.join)&&(r.values?a.join=new u(r.values):(n=r.start?r.start:e&&e.join||0,o=r.end?r.end:e&&e.join||0,"number"==typeof n&&"number"==typeof o&&(a.join=new c(n,o)))),this.curve=new f(a,e)})),a.connect(n,"onAnimate",i,"setStroke"),n},l.animateFill=function(t){t.easing||(t.easing=r._defaultEasing);var e,n=new r.Animation(t),i=t.shape;return a.connect(n,"beforeBegin",n,(function(){e=i.getFill();var n=t.color;n&&(this.curve=g(n,e,"",m))})),a.connect(n,"onAnimate",i,"setFill"),n},l.animateFont=function(t){t.easing||(t.easing=r._defaultEasing);var e,n=new r.Animation(t),i=t.shape;return a.connect(n,"beforeBegin",n,(function(){e=i.getFont();var n,o,r=t.style,a={};r&&r.values&&(a.style=new u(r.values)),(r=t.variant)&&r.values&&(a.variant=new u(r.values)),(r=t.weight)&&r.values&&(a.weight=new u(r.values)),(r=t.family)&&r.values&&(a.family=new u(r.values)),(r=t.size)&&r.units&&(n=parseFloat(r.start?r.start:i.font&&i.font.size||"0"),o=parseFloat(r.end?r.end:i.font&&i.font.size||"0"),a.size=new d(n,o,r.units)),this.curve=new f(a,e)})),a.connect(n,"onAnimate",i,"setFont"),n},l.animateTransform=function(t){t.easing||(t.easing=r._defaultEasing);var n,i=new r.Animation(t),l=t.shape;if(a.connect(i,"beforeBegin",i,(function(){n=l.getTransform(),this.curve=new p(t.transform,n)})),a.connect(i,"onAnimate",l,"setTransform"),"svg"===e.renderer&&(s("ie")>=9||s("ff")))var c=[a.connect(i,"onBegin",i,(function(){for(var t=l.getParent();t&&t.getParent;)t=t.getParent();t&&(l.__svgContainer=t.rawNode.parentNode,l.__svgRoot=t.rawNode,l.__svgRoot&&l.__svgRoot.getAttribute&&(l.__svgWidth=parseInt(l.__svgRoot.getAttribute("width"),10),isNaN(l.__svgWidth)&&delete l.__svgWidth))})),a.connect(i,"onAnimate",i,(function(){try{if(l.__svgContainer){var t=l.__svgContainer.style.visibility;l.__svgContainer.style.visibility="visible",l.__svgContainer.offsetHeight,l.__svgContainer.style.visibility=t;var e=l.__svgWidth;if(!isNaN(e))try{l.__svgRoot.setAttribute("width",e-5e-6),l.__svgRoot.setAttribute("width",e)}catch(t){}}}catch(t){}})),a.connect(i,"onEnd",i,(function(){if(o.forEach(c,a.disconnect),l.__svgContainer){var t=l.__svgContainer;if(null==t.getAttribute("__gotVis")){t.setAttribute("__gotVis",!0);var e=l.__svgContainer.style.visibility,n=l.__svgRoot,i=l.__svgWidth;t.style.visibility="visible",setTimeout((function(){try{t.style.visibility=e,t.removeAttribute("__gotVis"),t=null;try{isNaN(i)||(n.setAttribute("width",i-5e-6),n.setAttribute("width",i))}catch(t){}}catch(t){}}),100)}}delete l.__svgContainer,delete l.__svgRoot,delete l.__svgWidth}))];return i},l}))},6543:function(t,e){define("dojox/gfx/fx",["dojo/_base/lang","./_base","./matrix","dojo/_base/Color","dojo/_base/array","dojo/_base/fx","dojo/_base/connect","dojo/sniff"],(function(t,e,n,i,o,r,a,s){var l=e.fx={};function c(t,e){this.start=t,this.end=e}function d(t,e,n){this.start=t,this.end=e,this.units=n}function h(t,e){this.start=t,this.end=e,this.temp=new i}function u(t){this.values=t,this.length=t.length}function f(t,e){this.values=t,this.def=e||{}}function p(t,e){this.stack=t,this.original=e}c.prototype.getValue=function(t){return(this.end-this.start)*t+this.start},d.prototype.getValue=function(t){return(this.end-this.start)*t+this.start+this.units},h.prototype.getValue=function(t){return i.blendColors(this.start,this.end,t,this.temp)},u.prototype.getValue=function(t){return this.values[Math.min(Math.floor(t*this.length),this.length-1)]},f.prototype.getValue=function(e){var n=t.clone(this.def);for(var i in this.values)n[i]=this.values[i].getValue(e);return n},p.prototype.getValue=function(t){var e=[];return o.forEach(this.stack,(function(i){if(i instanceof n.Matrix2D)e.push(i);else if("original"==i.name&&this.original)e.push(this.original);else if("matrix"!=i.name){if(i.name in n){var r=n[i.name];if("function"==typeof r){var a=o.map(i.start,(function(e,n){return(i.end[n]-e)*t+e})),s=r.apply(n,a);s instanceof n.Matrix2D&&e.push(s)}else e.push(r)}}else if(i.start instanceof n.Matrix2D&&i.end instanceof n.Matrix2D){var l=new n.Matrix2D;for(var c in i.start)l[c]=(i.end[c]-i.start[c])*t+i.start[c];e.push(l)}}),this),e};var m=new i(0,0,0,0);function g(t,n,i,o){return t.values?new u(t.values):(a=t.start?e.normalizeColor(t.start):r=n?i?n[i]:n:o,t.end?s=e.normalizeColor(t.end):(r||(r=n?i?n[i]:n:o),s=r),new h(a,s));var r,a,s}return l.animateStroke=function(t){t.easing||(t.easing=r._defaultEasing);var e,n=new r.Animation(t),i=t.shape;return a.connect(n,"beforeBegin",n,(function(){e=i.getStroke();var n,o,r=t.color,a={};r&&(a.color=g(r,e,"color",m)),(r=t.style)&&r.values&&(a.style=new u(r.values)),(r=t.width)&&(a.width=function(t,e,n){return t.values?new u(t.values):(o=t.start?t.start:i=e?e[n]:1,t.end?r=t.end:("number"!=typeof i&&(i=e?e[n]:1),r=i),new c(o,r));var i,o,r}(r,e,"width")),(r=t.cap)&&r.values&&(a.cap=new u(r.values)),(r=t.join)&&(r.values?a.join=new u(r.values):(n=r.start?r.start:e&&e.join||0,o=r.end?r.end:e&&e.join||0,"number"==typeof n&&"number"==typeof o&&(a.join=new c(n,o)))),this.curve=new f(a,e)})),a.connect(n,"onAnimate",i,"setStroke"),n},l.animateFill=function(t){t.easing||(t.easing=r._defaultEasing);var e,n=new r.Animation(t),i=t.shape;return a.connect(n,"beforeBegin",n,(function(){e=i.getFill();var n=t.color;n&&(this.curve=g(n,e,"",m))})),a.connect(n,"onAnimate",i,"setFill"),n},l.animateFont=function(t){t.easing||(t.easing=r._defaultEasing);var e,n=new r.Animation(t),i=t.shape;return a.connect(n,"beforeBegin",n,(function(){e=i.getFont();var n,o,r=t.style,a={};r&&r.values&&(a.style=new u(r.values)),(r=t.variant)&&r.values&&(a.variant=new u(r.values)),(r=t.weight)&&r.values&&(a.weight=new u(r.values)),(r=t.family)&&r.values&&(a.family=new u(r.values)),(r=t.size)&&r.units&&(n=parseFloat(r.start?r.start:i.font&&i.font.size||"0"),o=parseFloat(r.end?r.end:i.font&&i.font.size||"0"),a.size=new d(n,o,r.units)),this.curve=new f(a,e)})),a.connect(n,"onAnimate",i,"setFont"),n},l.animateTransform=function(t){t.easing||(t.easing=r._defaultEasing);var n,i=new r.Animation(t),l=t.shape;if(a.connect(i,"beforeBegin",i,(function(){n=l.getTransform(),this.curve=new p(t.transform,n)})),a.connect(i,"onAnimate",l,"setTransform"),"svg"===e.renderer&&(s("ie")>=9||s("ff")))var c=[a.connect(i,"onBegin",i,(function(){for(var t=l.getParent();t&&t.getParent;)t=t.getParent();t&&(l.__svgContainer=t.rawNode.parentNode,l.__svgRoot=t.rawNode,l.__svgRoot&&l.__svgRoot.getAttribute&&(l.__svgWidth=parseInt(l.__svgRoot.getAttribute("width"),10),isNaN(l.__svgWidth)&&delete l.__svgWidth))})),a.connect(i,"onAnimate",i,(function(){try{if(l.__svgContainer){var t=l.__svgContainer.style.visibility;l.__svgContainer.style.visibility="visible",l.__svgContainer.offsetHeight,l.__svgContainer.style.visibility=t;var e=l.__svgWidth;if(!isNaN(e))try{l.__svgRoot.setAttribute("width",e-5e-6),l.__svgRoot.setAttribute("width",e)}catch(t){}}}catch(t){}})),a.connect(i,"onEnd",i,(function(){if(o.forEach(c,a.disconnect),l.__svgContainer){var t=l.__svgContainer;if(null==t.getAttribute("__gotVis")){t.setAttribute("__gotVis",!0);var e=l.__svgContainer.style.visibility,n=l.__svgRoot,i=l.__svgWidth;t.style.visibility="visible",setTimeout((function(){try{t.style.visibility=e,t.removeAttribute("__gotVis"),t=null;try{isNaN(i)||(n.setAttribute("width",i-5e-6),n.setAttribute("width",i))}catch(t){}}catch(t){}}),100)}}delete l.__svgContainer,delete l.__svgRoot,delete l.__svgWidth}))];return i},l}))},217:function(t,e){define("dojox/gfx/gradutils",["./_base","dojo/_base/lang","./matrix","dojo/_base/Color"],(function(t,e,n,i){var o=t.gradutils={};return o.getColor=function(t,e){var o;if(t){switch(t.type){case"linear":var r=Math.atan2(t.y2-t.y1,t.x2-t.x1),a=n.rotate(-r),s=n.project(t.x2-t.x1,t.y2-t.y1),l=n.multiplyPoint(s,e),c=n.multiplyPoint(s,t.x1,t.y1),d=n.multiplyPoint(s,t.x2,t.y2),h=n.multiplyPoint(a,d.x-c.x,d.y-c.y).x;o=n.multiplyPoint(a,l.x-c.x,l.y-c.y).x/h;break;case"radial":var u=e.x-t.cx,f=e.y-t.cy;o=Math.sqrt(u*u+f*f)/t.r}return function(t,e){if(t<=0)return e[0].color;var n=e.length;if(t>=1)return e[n-1].color;for(var o=0;o<n;++o){var r=e[o];if(r.offset>=t){if(o){var a=e[o-1];return i.blendColors(new i(a.color),new i(r.color),(t-a.offset)/(r.offset-a.offset))}return r.color}}return e[n-1].color}(o,t.colors)}return new i(t||[0,0,0,0])},o.reverse=function(t){if(t)switch(t.type){case"linear":case"radial":if((t=e.delegate(t)).colors){for(var n,i=t.colors,o=i.length,r=0,a=t.colors=new Array(i.length);r<o;++r)n=i[r],a[r]={offset:1-n.offset,color:n.color};a.sort((function(t,e){return t.offset-e.offset}))}}return t},o}))},4482:function(t,e){define("dojox/gfx/gradutils",["./_base","dojo/_base/lang","./matrix","dojo/_base/Color"],(function(t,e,n,i){var o=t.gradutils={};return o.getColor=function(t,e){var o;if(t){switch(t.type){case"linear":var r=Math.atan2(t.y2-t.y1,t.x2-t.x1),a=n.rotate(-r),s=n.project(t.x2-t.x1,t.y2-t.y1),l=n.multiplyPoint(s,e),c=n.multiplyPoint(s,t.x1,t.y1),d=n.multiplyPoint(s,t.x2,t.y2),h=n.multiplyPoint(a,d.x-c.x,d.y-c.y).x;o=n.multiplyPoint(a,l.x-c.x,l.y-c.y).x/h;break;case"radial":var u=e.x-t.cx,f=e.y-t.cy;o=Math.sqrt(u*u+f*f)/t.r}return function(t,e){if(t<=0)return e[0].color;var n=e.length;if(t>=1)return e[n-1].color;for(var o=0;o<n;++o){var r=e[o];if(r.offset>=t){if(o){var a=e[o-1];return i.blendColors(new i(a.color),new i(r.color),(t-a.offset)/(r.offset-a.offset))}return r.color}}return e[n-1].color}(o,t.colors)}return new i(t||[0,0,0,0])},o.reverse=function(t){if(t)switch(t.type){case"linear":case"radial":if((t=e.delegate(t)).colors){for(var n,i=t.colors,o=i.length,r=0,a=t.colors=new Array(i.length);r<o;++r)n=i[r],a[r]={offset:1-n.offset,color:n.color};a.sort((function(t,e){return t.offset-e.offset}))}}return t},o}))},6055:function(t,e){define("dojox/gfx/matrix",["./_base","dojo/_base/lang"],(function(t,e){var n=t.matrix={},i={};return n._degToRad=function(t){return i[t]||(i[t]=Math.PI*t/180)},n._radToDeg=function(t){return t/Math.PI*180},n.Matrix2D=function(t){if(t)if("number"==typeof t)this.xx=this.yy=t;else if(t instanceof Array){if(t.length>0){for(var i=n.normalize(t[0]),o=1;o<t.length;++o){var r=i,a=n.normalize(t[o]);(i=new n.Matrix2D).xx=r.xx*a.xx+r.xy*a.yx,i.xy=r.xx*a.xy+r.xy*a.yy,i.yx=r.yx*a.xx+r.yy*a.yx,i.yy=r.yx*a.xy+r.yy*a.yy,i.dx=r.xx*a.dx+r.xy*a.dy+r.dx,i.dy=r.yx*a.dx+r.yy*a.dy+r.dy}e.mixin(this,i)}}else e.mixin(this,t)},e.extend(n.Matrix2D,{xx:1,xy:0,yx:0,yy:1,dx:0,dy:0}),e.mixin(n,{identity:new n.Matrix2D,flipX:new n.Matrix2D({xx:-1}),flipY:new n.Matrix2D({yy:-1}),flipXY:new n.Matrix2D({xx:-1,yy:-1}),translate:function(t,e){return arguments.length>1?new n.Matrix2D({dx:t,dy:e}):new n.Matrix2D({dx:t.x,dy:t.y})},scale:function(t,e){return arguments.length>1?new n.Matrix2D({xx:t,yy:e}):"number"==typeof t?new n.Matrix2D({xx:t,yy:t}):new n.Matrix2D({xx:t.x,yy:t.y})},rotate:function(t){var e=Math.cos(t),i=Math.sin(t);return new n.Matrix2D({xx:e,xy:-i,yx:i,yy:e})},rotateg:function(t){return n.rotate(n._degToRad(t))},skewX:function(t){return new n.Matrix2D({xy:Math.tan(t)})},skewXg:function(t){return n.skewX(n._degToRad(t))},skewY:function(t){return new n.Matrix2D({yx:Math.tan(t)})},skewYg:function(t){return n.skewY(n._degToRad(t))},reflect:function(t,e){1==arguments.length&&(e=t.y,t=t.x);var i=t*t,o=e*e,r=i+o,a=2*t*e/r;return new n.Matrix2D({xx:2*i/r-1,xy:a,yx:a,yy:2*o/r-1})},project:function(t,e){1==arguments.length&&(e=t.y,t=t.x);var i=t*t,o=e*e,r=i+o,a=t*e/r;return new n.Matrix2D({xx:i/r,xy:a,yx:a,yy:o/r})},normalize:function(t){return t instanceof n.Matrix2D?t:new n.Matrix2D(t)},isIdentity:function(t){return 1==t.xx&&0==t.xy&&0==t.yx&&1==t.yy&&0==t.dx&&0==t.dy},clone:function(t){var e=new n.Matrix2D;for(var i in t)"number"==typeof t[i]&&"number"==typeof e[i]&&e[i]!=t[i]&&(e[i]=t[i]);return e},invert:function(t){var e=n.normalize(t),i=e.xx*e.yy-e.xy*e.yx;return new n.Matrix2D({xx:e.yy/i,xy:-e.xy/i,yx:-e.yx/i,yy:e.xx/i,dx:(e.xy*e.dy-e.yy*e.dx)/i,dy:(e.yx*e.dx-e.xx*e.dy)/i})},_multiplyPoint:function(t,e,n){return{x:t.xx*e+t.xy*n+t.dx,y:t.yx*e+t.yy*n+t.dy}},multiplyPoint:function(t,e,i){var o=n.normalize(t);return"number"==typeof e&&"number"==typeof i?n._multiplyPoint(o,e,i):n._multiplyPoint(o,e.x,e.y)},multiplyRectangle:function(t,e){var i=n.normalize(t);if(e=e||{x:0,y:0,width:0,height:0},n.isIdentity(i))return{x:e.x,y:e.y,width:e.width,height:e.height};var o=n.multiplyPoint(i,e.x,e.y),r=n.multiplyPoint(i,e.x,e.y+e.height),a=n.multiplyPoint(i,e.x+e.width,e.y),s=n.multiplyPoint(i,e.x+e.width,e.y+e.height),l=Math.min(o.x,r.x,a.x,s.x),c=Math.min(o.y,r.y,a.y,s.y);return{x:l,y:c,width:Math.max(o.x,r.x,a.x,s.x)-l,height:Math.max(o.y,r.y,a.y,s.y)-c}},multiply:function(t){for(var e=n.normalize(t),i=1;i<arguments.length;++i){var o=e,r=n.normalize(arguments[i]);(e=new n.Matrix2D).xx=o.xx*r.xx+o.xy*r.yx,e.xy=o.xx*r.xy+o.xy*r.yy,e.yx=o.yx*r.xx+o.yy*r.yx,e.yy=o.yx*r.xy+o.yy*r.yy,e.dx=o.xx*r.dx+o.xy*r.dy+o.dx,e.dy=o.yx*r.dx+o.yy*r.dy+o.dy}return e},_sandwich:function(t,e,i){return n.multiply(n.translate(e,i),t,n.translate(-e,-i))},scaleAt:function(t,e,i,o){switch(arguments.length){case 4:return n._sandwich(n.scale(t,e),i,o);case 3:return"number"==typeof i?n._sandwich(n.scale(t),e,i):n._sandwich(n.scale(t,e),i.x,i.y)}return n._sandwich(n.scale(t),e.x,e.y)},rotateAt:function(t,e,i){return arguments.length>2?n._sandwich(n.rotate(t),e,i):n._sandwich(n.rotate(t),e.x,e.y)},rotategAt:function(t,e,i){return arguments.length>2?n._sandwich(n.rotateg(t),e,i):n._sandwich(n.rotateg(t),e.x,e.y)},skewXAt:function(t,e,i){return arguments.length>2?n._sandwich(n.skewX(t),e,i):n._sandwich(n.skewX(t),e.x,e.y)},skewXgAt:function(t,e,i){return arguments.length>2?n._sandwich(n.skewXg(t),e,i):n._sandwich(n.skewXg(t),e.x,e.y)},skewYAt:function(t,e,i){return arguments.length>2?n._sandwich(n.skewY(t),e,i):n._sandwich(n.skewY(t),e.x,e.y)},skewYgAt:function(t,e,i){return arguments.length>2?n._sandwich(n.skewYg(t),e,i):n._sandwich(n.skewYg(t),e.x,e.y)}}),t.Matrix2D=n.Matrix2D,n}))},7904:function(t,e){define("dojox/gfx/matrix",["./_base","dojo/_base/lang"],(function(t,e){var n=t.matrix={},i={};return n._degToRad=function(t){return i[t]||(i[t]=Math.PI*t/180)},n._radToDeg=function(t){return t/Math.PI*180},n.Matrix2D=function(t){if(t)if("number"==typeof t)this.xx=this.yy=t;else if(t instanceof Array){if(t.length>0){for(var i=n.normalize(t[0]),o=1;o<t.length;++o){var r=i,a=n.normalize(t[o]);(i=new n.Matrix2D).xx=r.xx*a.xx+r.xy*a.yx,i.xy=r.xx*a.xy+r.xy*a.yy,i.yx=r.yx*a.xx+r.yy*a.yx,i.yy=r.yx*a.xy+r.yy*a.yy,i.dx=r.xx*a.dx+r.xy*a.dy+r.dx,i.dy=r.yx*a.dx+r.yy*a.dy+r.dy}e.mixin(this,i)}}else e.mixin(this,t)},e.extend(n.Matrix2D,{xx:1,xy:0,yx:0,yy:1,dx:0,dy:0}),e.mixin(n,{identity:new n.Matrix2D,flipX:new n.Matrix2D({xx:-1}),flipY:new n.Matrix2D({yy:-1}),flipXY:new n.Matrix2D({xx:-1,yy:-1}),translate:function(t,e){return arguments.length>1?new n.Matrix2D({dx:t,dy:e}):new n.Matrix2D({dx:t.x,dy:t.y})},scale:function(t,e){return arguments.length>1?new n.Matrix2D({xx:t,yy:e}):"number"==typeof t?new n.Matrix2D({xx:t,yy:t}):new n.Matrix2D({xx:t.x,yy:t.y})},rotate:function(t){var e=Math.cos(t),i=Math.sin(t);return new n.Matrix2D({xx:e,xy:-i,yx:i,yy:e})},rotateg:function(t){return n.rotate(n._degToRad(t))},skewX:function(t){return new n.Matrix2D({xy:Math.tan(t)})},skewXg:function(t){return n.skewX(n._degToRad(t))},skewY:function(t){return new n.Matrix2D({yx:Math.tan(t)})},skewYg:function(t){return n.skewY(n._degToRad(t))},reflect:function(t,e){1==arguments.length&&(e=t.y,t=t.x);var i=t*t,o=e*e,r=i+o,a=2*t*e/r;return new n.Matrix2D({xx:2*i/r-1,xy:a,yx:a,yy:2*o/r-1})},project:function(t,e){1==arguments.length&&(e=t.y,t=t.x);var i=t*t,o=e*e,r=i+o,a=t*e/r;return new n.Matrix2D({xx:i/r,xy:a,yx:a,yy:o/r})},normalize:function(t){return t instanceof n.Matrix2D?t:new n.Matrix2D(t)},isIdentity:function(t){return 1==t.xx&&0==t.xy&&0==t.yx&&1==t.yy&&0==t.dx&&0==t.dy},clone:function(t){var e=new n.Matrix2D;for(var i in t)"number"==typeof t[i]&&"number"==typeof e[i]&&e[i]!=t[i]&&(e[i]=t[i]);return e},invert:function(t){var e=n.normalize(t),i=e.xx*e.yy-e.xy*e.yx;return new n.Matrix2D({xx:e.yy/i,xy:-e.xy/i,yx:-e.yx/i,yy:e.xx/i,dx:(e.xy*e.dy-e.yy*e.dx)/i,dy:(e.yx*e.dx-e.xx*e.dy)/i})},_multiplyPoint:function(t,e,n){return{x:t.xx*e+t.xy*n+t.dx,y:t.yx*e+t.yy*n+t.dy}},multiplyPoint:function(t,e,i){var o=n.normalize(t);return"number"==typeof e&&"number"==typeof i?n._multiplyPoint(o,e,i):n._multiplyPoint(o,e.x,e.y)},multiplyRectangle:function(t,e){var i=n.normalize(t);if(e=e||{x:0,y:0,width:0,height:0},n.isIdentity(i))return{x:e.x,y:e.y,width:e.width,height:e.height};var o=n.multiplyPoint(i,e.x,e.y),r=n.multiplyPoint(i,e.x,e.y+e.height),a=n.multiplyPoint(i,e.x+e.width,e.y),s=n.multiplyPoint(i,e.x+e.width,e.y+e.height),l=Math.min(o.x,r.x,a.x,s.x),c=Math.min(o.y,r.y,a.y,s.y);return{x:l,y:c,width:Math.max(o.x,r.x,a.x,s.x)-l,height:Math.max(o.y,r.y,a.y,s.y)-c}},multiply:function(t){for(var e=n.normalize(t),i=1;i<arguments.length;++i){var o=e,r=n.normalize(arguments[i]);(e=new n.Matrix2D).xx=o.xx*r.xx+o.xy*r.yx,e.xy=o.xx*r.xy+o.xy*r.yy,e.yx=o.yx*r.xx+o.yy*r.yx,e.yy=o.yx*r.xy+o.yy*r.yy,e.dx=o.xx*r.dx+o.xy*r.dy+o.dx,e.dy=o.yx*r.dx+o.yy*r.dy+o.dy}return e},_sandwich:function(t,e,i){return n.multiply(n.translate(e,i),t,n.translate(-e,-i))},scaleAt:function(t,e,i,o){switch(arguments.length){case 4:return n._sandwich(n.scale(t,e),i,o);case 3:return"number"==typeof i?n._sandwich(n.scale(t),e,i):n._sandwich(n.scale(t,e),i.x,i.y)}return n._sandwich(n.scale(t),e.x,e.y)},rotateAt:function(t,e,i){return arguments.length>2?n._sandwich(n.rotate(t),e,i):n._sandwich(n.rotate(t),e.x,e.y)},rotategAt:function(t,e,i){return arguments.length>2?n._sandwich(n.rotateg(t),e,i):n._sandwich(n.rotateg(t),e.x,e.y)},skewXAt:function(t,e,i){return arguments.length>2?n._sandwich(n.skewX(t),e,i):n._sandwich(n.skewX(t),e.x,e.y)},skewXgAt:function(t,e,i){return arguments.length>2?n._sandwich(n.skewXg(t),e,i):n._sandwich(n.skewXg(t),e.x,e.y)},skewYAt:function(t,e,i){return arguments.length>2?n._sandwich(n.skewY(t),e,i):n._sandwich(n.skewY(t),e.x,e.y)},skewYgAt:function(t,e,i){return arguments.length>2?n._sandwich(n.skewYg(t),e,i):n._sandwich(n.skewYg(t),e.x,e.y)}}),t.Matrix2D=n.Matrix2D,n}))},2261:function(t,e){define("dojox/gfx/path",["./_base","dojo/_base/lang","dojo/_base/declare","./matrix","./shape"],(function(t,e,n,i,o){var r=n("dojox.gfx.path.Path",o.Shape,{constructor:function(n){this.shape=e.clone(t.defaultPath),this.segments=[],this.tbbox=null,this.absolute=!0,this.last={},this.rawNode=n,this.segmented=!1},setAbsoluteMode:function(t){return this._confirmSegmented(),this.absolute="string"==typeof t?"absolute"==t:t,this},getAbsoluteMode:function(){return this._confirmSegmented(),this.absolute},getBoundingBox:function(){return this._confirmSegmented(),this.bbox&&"l"in this.bbox?{x:this.bbox.l,y:this.bbox.t,width:this.bbox.r-this.bbox.l,height:this.bbox.b-this.bbox.t}:null},_getRealBBox:function(){if(this._confirmSegmented(),this.tbbox)return this.tbbox;var t=this.bbox,e=this._getRealMatrix();this.bbox=null;for(var n=0,i=this.segments.length;n<i;++n)this._updateWithSegment(this.segments[n],e);var o=this.bbox;return this.bbox=t,this.tbbox=o?[{x:o.l,y:o.t},{x:o.r,y:o.t},{x:o.r,y:o.b},{x:o.l,y:o.b}]:null,this.tbbox},getLastPosition:function(){return this._confirmSegmented(),"x"in this.last?this.last:null},_applyTransform:function(){return this.tbbox=null,this.inherited(arguments)},_updateBBox:function(t,e,n){if(n){var o=i.multiplyPoint(n,t,e);t=o.x,e=o.y}this.bbox&&"l"in this.bbox?(this.bbox.l>t&&(this.bbox.l=t),this.bbox.r<t&&(this.bbox.r=t),this.bbox.t>e&&(this.bbox.t=e),this.bbox.b<e&&(this.bbox.b=e)):this.bbox={l:t,b:e,r:t,t:e}},_updateWithSegment:function(e,n){var i,o=e.args,r=o.length;switch(e.action){case"M":case"L":case"C":case"S":case"Q":case"T":for(i=0;i<r;i+=2)this._updateBBox(o[i],o[i+1],n);this.last.x=o[r-2],this.last.y=o[r-1],this.absolute=!0;break;case"H":for(i=0;i<r;++i)this._updateBBox(o[i],this.last.y,n);this.last.x=o[r-1],this.absolute=!0;break;case"V":for(i=0;i<r;++i)this._updateBBox(this.last.x,o[i],n);this.last.y=o[r-1],this.absolute=!0;break;case"m":var a=0;"x"in this.last||(this._updateBBox(this.last.x=o[0],this.last.y=o[1],n),a=2);for(i=a;i<r;i+=2)this._updateBBox(this.last.x+=o[i],this.last.y+=o[i+1],n);this.absolute=!1;break;case"l":case"t":for(i=0;i<r;i+=2)this._updateBBox(this.last.x+=o[i],this.last.y+=o[i+1],n);this.absolute=!1;break;case"h":for(i=0;i<r;++i)this._updateBBox(this.last.x+=o[i],this.last.y,n);this.absolute=!1;break;case"v":for(i=0;i<r;++i)this._updateBBox(this.last.x,this.last.y+=o[i],n);this.absolute=!1;break;case"c":for(i=0;i<r;i+=6)this._updateBBox(this.last.x+o[i],this.last.y+o[i+1],n),this._updateBBox(this.last.x+o[i+2],this.last.y+o[i+3],n),this._updateBBox(this.last.x+=o[i+4],this.last.y+=o[i+5],n);this.absolute=!1;break;case"s":case"q":for(i=0;i<r;i+=4)this._updateBBox(this.last.x+o[i],this.last.y+o[i+1],n),this._updateBBox(this.last.x+=o[i+2],this.last.y+=o[i+3],n);this.absolute=!1;break;case"A":for(i=0;i<r;i+=7)this._updateBBox(o[i+5],o[i+6],n);this.last.x=o[r-2],this.last.y=o[r-1],this.absolute=!0;break;case"a":for(i=0;i<r;i+=7)this._updateBBox(this.last.x+=o[i+5],this.last.y+=o[i+6],n);this.absolute=!1}var s=[e.action];for(i=0;i<r;++i)s.push(t.formatNumber(o[i],!0));if("string"==typeof this.shape.path)this.shape.path+=s.join("");else for(i=0,r=s.length;i<r;++i)this.shape.path.push(s[i])},_validSegments:{m:2,l:2,h:1,v:1,c:6,s:4,q:4,t:2,a:7,z:0},_pushSegment:function(t,e){this.tbbox=null;var n,i=this._validSegments[t.toLowerCase()];"number"==typeof i&&(i?e.length>=i&&(n={action:t,args:e.slice(0,e.length-e.length%i)},this.segments.push(n),this._updateWithSegment(n)):(n={action:t,args:[]},this.segments.push(n),this._updateWithSegment(n)))},_collectArgs:function(t,e){for(var n=0;n<e.length;++n){var i=e[n];"boolean"==typeof i?t.push(i?1:0):"number"==typeof i?t.push(i):i instanceof Array?this._collectArgs(t,i):"x"in i&&"y"in i&&t.push(i.x,i.y)}},moveTo:function(){this._confirmSegmented();var t=[];return this._collectArgs(t,arguments),this._pushSegment(this.absolute?"M":"m",t),this},lineTo:function(){this._confirmSegmented();var t=[];return this._collectArgs(t,arguments),this._pushSegment(this.absolute?"L":"l",t),this},hLineTo:function(){this._confirmSegmented();var t=[];return this._collectArgs(t,arguments),this._pushSegment(this.absolute?"H":"h",t),this},vLineTo:function(){this._confirmSegmented();var t=[];return this._collectArgs(t,arguments),this._pushSegment(this.absolute?"V":"v",t),this},curveTo:function(){this._confirmSegmented();var t=[];return this._collectArgs(t,arguments),this._pushSegment(this.absolute?"C":"c",t),this},smoothCurveTo:function(){this._confirmSegmented();var t=[];return this._collectArgs(t,arguments),this._pushSegment(this.absolute?"S":"s",t),this},qCurveTo:function(){this._confirmSegmented();var t=[];return this._collectArgs(t,arguments),this._pushSegment(this.absolute?"Q":"q",t),this},qSmoothCurveTo:function(){this._confirmSegmented();var t=[];return this._collectArgs(t,arguments),this._pushSegment(this.absolute?"T":"t",t),this},arcTo:function(){this._confirmSegmented();var t=[];return this._collectArgs(t,arguments),this._pushSegment(this.absolute?"A":"a",t),this},closePath:function(){return this._confirmSegmented(),this._pushSegment("Z",[]),this},_confirmSegmented:function(){if(!this.segmented){var t=this.shape.path;this.shape.path=[],this._setPath(t),this.shape.path=this.shape.path.join(""),this.segmented=!0}},_setPath:function(n){var i=e.isArray(n)?n:n.match(t.pathSvgRegExp);if(this.segments=[],this.absolute=!0,this.bbox={},this.last={},i){for(var o="",r=[],a=i.length,s=0;s<a;++s){var l=i[s],c=parseFloat(l);isNaN(c)?(o&&this._pushSegment(o,r),r=[],o=l):r.push(c)}this._pushSegment(o,r)}},setShape:function(e){return this.inherited(arguments,["string"==typeof e?{path:e}:e]),this.segmented=!1,this.segments=[],t.lazyPathSegmentation||this._confirmSegmented(),this},_2PI:2*Math.PI}),a=n("dojox.gfx.path.TextPath",r,{constructor:function(n){"text"in this||(this.text=e.clone(t.defaultTextPath)),"fontStyle"in this||(this.fontStyle=e.clone(t.defaultFont))},getText:function(){return this.text},setText:function(e){return this.text=t.makeParameters(this.text,"string"==typeof e?{text:e}:e),this._setText(),this},getFont:function(){return this.fontStyle},setFont:function(e){return this.fontStyle="string"==typeof e?t.splitFontString(e):t.makeParameters(t.defaultFont,e),this._setFont(),this}});return t.path={Path:r,TextPath:a}}))},1222:function(t,e){define("dojox/gfx/path",["./_base","dojo/_base/lang","dojo/_base/declare","./matrix","./shape"],(function(t,e,n,i,o){var r=n("dojox.gfx.path.Path",o.Shape,{constructor:function(n){this.shape=e.clone(t.defaultPath),this.segments=[],this.tbbox=null,this.absolute=!0,this.last={},this.rawNode=n,this.segmented=!1},setAbsoluteMode:function(t){return this._confirmSegmented(),this.absolute="string"==typeof t?"absolute"==t:t,this},getAbsoluteMode:function(){return this._confirmSegmented(),this.absolute},getBoundingBox:function(){return this._confirmSegmented(),this.bbox&&"l"in this.bbox?{x:this.bbox.l,y:this.bbox.t,width:this.bbox.r-this.bbox.l,height:this.bbox.b-this.bbox.t}:null},_getRealBBox:function(){if(this._confirmSegmented(),this.tbbox)return this.tbbox;var t=this.bbox,e=this._getRealMatrix();this.bbox=null;for(var n=0,i=this.segments.length;n<i;++n)this._updateWithSegment(this.segments[n],e);var o=this.bbox;return this.bbox=t,this.tbbox=o?[{x:o.l,y:o.t},{x:o.r,y:o.t},{x:o.r,y:o.b},{x:o.l,y:o.b}]:null,this.tbbox},getLastPosition:function(){return this._confirmSegmented(),"x"in this.last?this.last:null},_applyTransform:function(){return this.tbbox=null,this.inherited(arguments)},_updateBBox:function(t,e,n){if(n){var o=i.multiplyPoint(n,t,e);t=o.x,e=o.y}this.bbox&&"l"in this.bbox?(this.bbox.l>t&&(this.bbox.l=t),this.bbox.r<t&&(this.bbox.r=t),this.bbox.t>e&&(this.bbox.t=e),this.bbox.b<e&&(this.bbox.b=e)):this.bbox={l:t,b:e,r:t,t:e}},_updateWithSegment:function(e,n){var i,o=e.args,r=o.length;switch(e.action){case"M":case"L":case"C":case"S":case"Q":case"T":for(i=0;i<r;i+=2)this._updateBBox(o[i],o[i+1],n);this.last.x=o[r-2],this.last.y=o[r-1],this.absolute=!0;break;case"H":for(i=0;i<r;++i)this._updateBBox(o[i],this.last.y,n);this.last.x=o[r-1],this.absolute=!0;break;case"V":for(i=0;i<r;++i)this._updateBBox(this.last.x,o[i],n);this.last.y=o[r-1],this.absolute=!0;break;case"m":var a=0;"x"in this.last||(this._updateBBox(this.last.x=o[0],this.last.y=o[1],n),a=2);for(i=a;i<r;i+=2)this._updateBBox(this.last.x+=o[i],this.last.y+=o[i+1],n);this.absolute=!1;break;case"l":case"t":for(i=0;i<r;i+=2)this._updateBBox(this.last.x+=o[i],this.last.y+=o[i+1],n);this.absolute=!1;break;case"h":for(i=0;i<r;++i)this._updateBBox(this.last.x+=o[i],this.last.y,n);this.absolute=!1;break;case"v":for(i=0;i<r;++i)this._updateBBox(this.last.x,this.last.y+=o[i],n);this.absolute=!1;break;case"c":for(i=0;i<r;i+=6)this._updateBBox(this.last.x+o[i],this.last.y+o[i+1],n),this._updateBBox(this.last.x+o[i+2],this.last.y+o[i+3],n),this._updateBBox(this.last.x+=o[i+4],this.last.y+=o[i+5],n);this.absolute=!1;break;case"s":case"q":for(i=0;i<r;i+=4)this._updateBBox(this.last.x+o[i],this.last.y+o[i+1],n),this._updateBBox(this.last.x+=o[i+2],this.last.y+=o[i+3],n);this.absolute=!1;break;case"A":for(i=0;i<r;i+=7)this._updateBBox(o[i+5],o[i+6],n);this.last.x=o[r-2],this.last.y=o[r-1],this.absolute=!0;break;case"a":for(i=0;i<r;i+=7)this._updateBBox(this.last.x+=o[i+5],this.last.y+=o[i+6],n);this.absolute=!1}var s=[e.action];for(i=0;i<r;++i)s.push(t.formatNumber(o[i],!0));if("string"==typeof this.shape.path)this.shape.path+=s.join("");else for(i=0,r=s.length;i<r;++i)this.shape.path.push(s[i])},_validSegments:{m:2,l:2,h:1,v:1,c:6,s:4,q:4,t:2,a:7,z:0},_pushSegment:function(t,e){this.tbbox=null;var n,i=this._validSegments[t.toLowerCase()];"number"==typeof i&&(i?e.length>=i&&(n={action:t,args:e.slice(0,e.length-e.length%i)},this.segments.push(n),this._updateWithSegment(n)):(n={action:t,args:[]},this.segments.push(n),this._updateWithSegment(n)))},_collectArgs:function(t,e){for(var n=0;n<e.length;++n){var i=e[n];"boolean"==typeof i?t.push(i?1:0):"number"==typeof i?t.push(i):i instanceof Array?this._collectArgs(t,i):"x"in i&&"y"in i&&t.push(i.x,i.y)}},moveTo:function(){this._confirmSegmented();var t=[];return this._collectArgs(t,arguments),this._pushSegment(this.absolute?"M":"m",t),this},lineTo:function(){this._confirmSegmented();var t=[];return this._collectArgs(t,arguments),this._pushSegment(this.absolute?"L":"l",t),this},hLineTo:function(){this._confirmSegmented();var t=[];return this._collectArgs(t,arguments),this._pushSegment(this.absolute?"H":"h",t),this},vLineTo:function(){this._confirmSegmented();var t=[];return this._collectArgs(t,arguments),this._pushSegment(this.absolute?"V":"v",t),this},curveTo:function(){this._confirmSegmented();var t=[];return this._collectArgs(t,arguments),this._pushSegment(this.absolute?"C":"c",t),this},smoothCurveTo:function(){this._confirmSegmented();var t=[];return this._collectArgs(t,arguments),this._pushSegment(this.absolute?"S":"s",t),this},qCurveTo:function(){this._confirmSegmented();var t=[];return this._collectArgs(t,arguments),this._pushSegment(this.absolute?"Q":"q",t),this},qSmoothCurveTo:function(){this._confirmSegmented();var t=[];return this._collectArgs(t,arguments),this._pushSegment(this.absolute?"T":"t",t),this},arcTo:function(){this._confirmSegmented();var t=[];return this._collectArgs(t,arguments),this._pushSegment(this.absolute?"A":"a",t),this},closePath:function(){return this._confirmSegmented(),this._pushSegment("Z",[]),this},_confirmSegmented:function(){if(!this.segmented){var t=this.shape.path;this.shape.path=[],this._setPath(t),this.shape.path=this.shape.path.join(""),this.segmented=!0}},_setPath:function(n){var i=e.isArray(n)?n:n.match(t.pathSvgRegExp);if(this.segments=[],this.absolute=!0,this.bbox={},this.last={},i){for(var o="",r=[],a=i.length,s=0;s<a;++s){var l=i[s],c=parseFloat(l);isNaN(c)?(o&&this._pushSegment(o,r),r=[],o=l):r.push(c)}this._pushSegment(o,r)}},setShape:function(e){return this.inherited(arguments,["string"==typeof e?{path:e}:e]),this.segmented=!1,this.segments=[],t.lazyPathSegmentation||this._confirmSegmented(),this},_2PI:2*Math.PI}),a=n("dojox.gfx.path.TextPath",r,{constructor:function(n){"text"in this||(this.text=e.clone(t.defaultTextPath)),"fontStyle"in this||(this.fontStyle=e.clone(t.defaultFont))},getText:function(){return this.text},setText:function(e){return this.text=t.makeParameters(this.text,"string"==typeof e?{text:e}:e),this._setText(),this},getFont:function(){return this.fontStyle},setFont:function(e){return this.fontStyle="string"==typeof e?t.splitFontString(e):t.makeParameters(t.defaultFont,e),this._setFont(),this}});return t.path={Path:r,TextPath:a}}))},7701:function(t,e){define("dojox/gfx/shape",["./_base","dojo/_base/lang","dojo/_base/declare","dojo/_base/kernel","dojo/_base/sniff","dojo/on","dojo/_base/array","dojo/dom-construct","dojo/_base/Color","./matrix"],(function(t,e,n,i,o,r,a,s,l,c){function d(t,e){for(var n=t.length-1;e<n;)t[e]=t[++e];t.length=n}var h=t.shape={};return h.Shape=n("dojox.gfx.shape.Shape",null,{constructor:function(){if(this.rawNode=null,this.shape=null,this.matrix=null,this.fillStyle=null,this.strokeStyle=null,this.bbox=null,this.parent=null,this.parentMatrix=null,o("gfxRegistry")){var t=h.register(this);this.getUID=function(){return t}}},destroy:function(){o("gfxRegistry")&&h.dispose(this),this.rawNode&&"__gfxObject__"in this.rawNode&&(this.rawNode.__gfxObject__=null),this.rawNode=null},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 t=this.getBoundingBox();if(!t)return null;var e=this._getRealMatrix(),n=c;return[n.multiplyPoint(e,t.x,t.y),n.multiplyPoint(e,t.x+t.width,t.y),n.multiplyPoint(e,t.x+t.width,t.y+t.height),n.multiplyPoint(e,t.x,t.y+t.height)]},getEventSource:function(){return this.rawNode},setClip:function(t){this.clip=t},getClip:function(){return this.clip},setShape:function(e){return this.shape=t.makeParameters(this.shape,e),this.bbox=null,this},setFill:function(e){if(!e)return this.fillStyle=null,this;var n=null;if("object"==typeof e&&"type"in e)switch(e.type){case"linear":n=t.makeParameters(t.defaultLinearGradient,e);break;case"radial":n=t.makeParameters(t.defaultRadialGradient,e);break;case"pattern":n=t.makeParameters(t.defaultPattern,e)}else n=t.normalizeColor(e);return this.fillStyle=n,this},setStroke:function(n){if(!n)return this.strokeStyle=null,this;("string"==typeof n||e.isArray(n)||n instanceof l)&&(n={color:n});var i=this.strokeStyle=t.makeParameters(t.defaultStroke,n);return i.color=t.normalizeColor(i.color),this},setTransform:function(t){return this.matrix=c.clone(t?c.normalize(t):c.identity),this._applyTransform()},_applyTransform:function(){return this},moveToFront:function(){var t=this.getParent();return t&&(t._moveChildToFront(this),this._moveToFront()),this},moveToBack:function(){var t=this.getParent();return t&&(t._moveChildToBack(this),this._moveToBack()),this},_moveToFront:function(){},_moveToBack:function(){},applyRightTransform:function(t){return t?this.setTransform([this.matrix,t]):this},applyLeftTransform:function(t){return t?this.setTransform([t,this.matrix]):this},applyTransform:function(t){return t?this.setTransform([this.matrix,t]):this},removeShape:function(t){return this.parent&&this.parent.remove(this,t),this},_setParent:function(t,e){return this.parent=t,this._updateParentMatrix(e)},_updateParentMatrix:function(t){return this.parentMatrix=t?c.clone(t):null,this._applyTransform()},_getRealMatrix:function(){for(var t=this.matrix,e=this.parent;e;)e.matrix&&(t=c.multiply(e.matrix,t)),e=e.parent;return t}}),h._eventsProcessing={on:function(e,n){return r(this.getEventSource(),e,h.fixCallback(this,t.fixTarget,n))},connect:function(t,n,i){return"on"==t.substring(0,2)&&(t=t.substring(2)),this.on(t,i?e.hitch(n,i):n)},disconnect:function(t){return t.remove()}},h.fixCallback=function(t,n,o,r){if(r||(r=o,o=null),e.isString(r)){if(!(o=o||i.global)[r])throw['dojox.gfx.shape.fixCallback: scope["',r,'"] is null (scope="',o,'")'].join("");return function(e){return n(e,t)?o[r].apply(o,arguments||[]):void 0}}return o?function(e){return n(e,t)?r.apply(o,arguments||[]):void 0}:function(e){return n(e,t)?r.apply(o,arguments):void 0}},e.extend(h.Shape,h._eventsProcessing),h.Container={_init:function(){this.children=[],this._batch=0},openBatch:function(){return this},closeBatch:function(){return this},add:function(t){var e=t.getParent();return e&&e.remove(t,!0),this.children.push(t),t._setParent(this,this._getRealMatrix())},remove:function(t,e){for(var n=0;n<this.children.length;++n)if(this.children[n]==t){e||(t.parent=null,t.parentMatrix=null),d(this.children,n);break}return this},clear:function(t){for(var e,n=0;n<this.children.length;++n)(e=this.children[n]).parent=null,e.parentMatrix=null,t&&e.destroy();return this.children=[],this},getBoundingBox:function(){if(this.children){var t=null;return a.forEach(this.children,(function(e){var n=e.getBoundingBox();if(n){var i=e.getTransform();i&&(n=c.multiplyRectangle(i,n)),t?(t.x=Math.min(t.x,n.x),t.y=Math.min(t.y,n.y),t.endX=Math.max(t.endX,n.x+n.width),t.endY=Math.max(t.endY,n.y+n.height)):t={x:n.x,y:n.y,endX:n.x+n.width,endY:n.y+n.height}}})),t&&(t.width=t.endX-t.x,t.height=t.endY-t.y),t}return null},_moveChildToFront:function(t){for(var e=0;e<this.children.length;++e)if(this.children[e]==t){d(this.children,e),this.children.push(t);break}return this},_moveChildToBack:function(t){for(var e=0;e<this.children.length;++e)if(this.children[e]==t){d(this.children,e),this.children.unshift(t);break}return this}},h.Surface=n("dojox.gfx.shape.Surface",null,{constructor:function(){this.rawNode=null,this._parent=null,this._nodes=[],this._events=[]},destroy:function(){if(a.forEach(this._nodes,s.destroy),this._nodes=[],a.forEach(this._events,(function(t){t&&t.remove()})),this._events=[],this.rawNode=null,o("ie"))for(;this._parent.lastChild;)s.destroy(this._parent.lastChild);else this._parent.innerHTML="";this._parent=null},getEventSource:function(){return this.rawNode},_getRealMatrix:function(){return null},isLoaded:!0,onLoad:function(t){},whenLoaded:function(t,n){var i=e.hitch(t,n);this.isLoaded?i(this):r.once(this,"load",(function(t){i(t)}))}}),e.extend(h.Surface,h._eventsProcessing),h.Rect=n("dojox.gfx.shape.Rect",h.Shape,{constructor:function(e){this.shape=t.getDefault("Rect"),this.rawNode=e},getBoundingBox:function(){return this.shape}}),h.Ellipse=n("dojox.gfx.shape.Ellipse",h.Shape,{constructor:function(e){this.shape=t.getDefault("Ellipse"),this.rawNode=e},getBoundingBox:function(){if(!this.bbox){var t=this.shape;this.bbox={x:t.cx-t.rx,y:t.cy-t.ry,width:2*t.rx,height:2*t.ry}}return this.bbox}}),h.Circle=n("dojox.gfx.shape.Circle",h.Shape,{constructor:function(e){this.shape=t.getDefault("Circle"),this.rawNode=e},getBoundingBox:function(){if(!this.bbox){var t=this.shape;this.bbox={x:t.cx-t.r,y:t.cy-t.r,width:2*t.r,height:2*t.r}}return this.bbox}}),h.Line=n("dojox.gfx.shape.Line",h.Shape,{constructor:function(e){this.shape=t.getDefault("Line"),this.rawNode=e},getBoundingBox:function(){if(!this.bbox){var t=this.shape;this.bbox={x:Math.min(t.x1,t.x2),y:Math.min(t.y1,t.y2),width:Math.abs(t.x2-t.x1),height:Math.abs(t.y2-t.y1)}}return this.bbox}}),h.Polyline=n("dojox.gfx.shape.Polyline",h.Shape,{constructor:function(e){this.shape=t.getDefault("Polyline"),this.rawNode=e},setShape:function(t,e){return t&&t instanceof Array?(this.inherited(arguments,[{points:t}]),e&&this.shape.points.length&&this.shape.points.push(this.shape.points[0])):this.inherited(arguments,[t]),this},_normalizePoints:function(){var t=this.shape.points,e=t&&t.length;if(e&&"number"==typeof t[0]){for(var n=[],i=0;i<e;i+=2)n.push({x:t[i],y:t[i+1]});this.shape.points=n}},getBoundingBox:function(){if(!this.bbox&&this.shape.points.length){for(var t=this.shape.points,e=t.length,n=t[0],i={l:n.x,t:n.y,r:n.x,b:n.y},o=1;o<e;++o)n=t[o],i.l>n.x&&(i.l=n.x),i.r<n.x&&(i.r=n.x),i.t>n.y&&(i.t=n.y),i.b<n.y&&(i.b=n.y);this.bbox={x:i.l,y:i.t,width:i.r-i.l,height:i.b-i.t}}return this.bbox}}),h.Image=n("dojox.gfx.shape.Image",h.Shape,{constructor:function(e){this.shape=t.getDefault("Image"),this.rawNode=e},getBoundingBox:function(){return this.shape},setStroke:function(){return this},setFill:function(){return this}}),h.Text=n(h.Shape,{constructor:function(e){this.fontStyle=null,this.shape=t.getDefault("Text"),this.rawNode=e},getFont:function(){return this.fontStyle},setFont:function(e){return this.fontStyle="string"==typeof e?t.splitFontString(e):t.makeParameters(t.defaultFont,e),this._setFont(),this},getBoundingBox:function(){var e=null;return this.getShape().text&&(e=t._base._computeTextBoundingBox(this)),e}}),h.Creator={createShape:function(e){switch(e.type){case t.defaultPath.type:return this.createPath(e);case t.defaultRect.type:return this.createRect(e);case t.defaultCircle.type:return this.createCircle(e);case t.defaultEllipse.type:return this.createEllipse(e);case t.defaultLine.type:return this.createLine(e);case t.defaultPolyline.type:return this.createPolyline(e);case t.defaultImage.type:return this.createImage(e);case t.defaultText.type:return this.createText(e);case t.defaultTextPath.type:return this.createTextPath(e)}return null},createGroup:function(){return this.createObject(t.Group)},createRect:function(e){return this.createObject(t.Rect,e)},createEllipse:function(e){return this.createObject(t.Ellipse,e)},createCircle:function(e){return this.createObject(t.Circle,e)},createLine:function(e){return this.createObject(t.Line,e)},createPolyline:function(e){return this.createObject(t.Polyline,e)},createImage:function(e){return this.createObject(t.Image,e)},createText:function(e){return this.createObject(t.Text,e)},createPath:function(e){return this.createObject(t.Path,e)},createTextPath:function(e){return this.createObject(t.TextPath,{}).setText(e)},createObject:function(t,e){return null}},h}))},550:function(t,e){define("dojox/gfx/shape",["./_base","dojo/_base/lang","dojo/_base/declare","dojo/_base/kernel","dojo/_base/sniff","dojo/on","dojo/_base/array","dojo/dom-construct","dojo/_base/Color","./matrix"],(function(t,e,n,i,o,r,a,s,l,c){function d(t,e){for(var n=t.length-1;e<n;)t[e]=t[++e];t.length=n}var h=t.shape={};return h.Shape=n("dojox.gfx.shape.Shape",null,{constructor:function(){if(this.rawNode=null,this.shape=null,this.matrix=null,this.fillStyle=null,this.strokeStyle=null,this.bbox=null,this.parent=null,this.parentMatrix=null,o("gfxRegistry")){var t=h.register(this);this.getUID=function(){return t}}},destroy:function(){o("gfxRegistry")&&h.dispose(this),this.rawNode&&"__gfxObject__"in this.rawNode&&(this.rawNode.__gfxObject__=null),this.rawNode=null},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 t=this.getBoundingBox();if(!t)return null;var e=this._getRealMatrix(),n=c;return[n.multiplyPoint(e,t.x,t.y),n.multiplyPoint(e,t.x+t.width,t.y),n.multiplyPoint(e,t.x+t.width,t.y+t.height),n.multiplyPoint(e,t.x,t.y+t.height)]},getEventSource:function(){return this.rawNode},setClip:function(t){this.clip=t},getClip:function(){return this.clip},setShape:function(e){return this.shape=t.makeParameters(this.shape,e),this.bbox=null,this},setFill:function(e){if(!e)return this.fillStyle=null,this;var n=null;if("object"==typeof e&&"type"in e)switch(e.type){case"linear":n=t.makeParameters(t.defaultLinearGradient,e);break;case"radial":n=t.makeParameters(t.defaultRadialGradient,e);break;case"pattern":n=t.makeParameters(t.defaultPattern,e)}else n=t.normalizeColor(e);return this.fillStyle=n,this},setStroke:function(n){if(!n)return this.strokeStyle=null,this;("string"==typeof n||e.isArray(n)||n instanceof l)&&(n={color:n});var i=this.strokeStyle=t.makeParameters(t.defaultStroke,n);return i.color=t.normalizeColor(i.color),this},setTransform:function(t){return this.matrix=c.clone(t?c.normalize(t):c.identity),this._applyTransform()},_applyTransform:function(){return this},moveToFront:function(){var t=this.getParent();return t&&(t._moveChildToFront(this),this._moveToFront()),this},moveToBack:function(){var t=this.getParent();return t&&(t._moveChildToBack(this),this._moveToBack()),this},_moveToFront:function(){},_moveToBack:function(){},applyRightTransform:function(t){return t?this.setTransform([this.matrix,t]):this},applyLeftTransform:function(t){return t?this.setTransform([t,this.matrix]):this},applyTransform:function(t){return t?this.setTransform([this.matrix,t]):this},removeShape:function(t){return this.parent&&this.parent.remove(this,t),this},_setParent:function(t,e){return this.parent=t,this._updateParentMatrix(e)},_updateParentMatrix:function(t){return this.parentMatrix=t?c.clone(t):null,this._applyTransform()},_getRealMatrix:function(){for(var t=this.matrix,e=this.parent;e;)e.matrix&&(t=c.multiply(e.matrix,t)),e=e.parent;return t}}),h._eventsProcessing={on:function(e,n){return r(this.getEventSource(),e,h.fixCallback(this,t.fixTarget,n))},connect:function(t,n,i){return"on"==t.substring(0,2)&&(t=t.substring(2)),this.on(t,i?e.hitch(n,i):n)},disconnect:function(t){return t.remove()}},h.fixCallback=function(t,n,o,r){if(r||(r=o,o=null),e.isString(r)){if(!(o=o||i.global)[r])throw['dojox.gfx.shape.fixCallback: scope["',r,'"] is null (scope="',o,'")'].join("");return function(e){return n(e,t)?o[r].apply(o,arguments||[]):void 0}}return o?function(e){return n(e,t)?r.apply(o,arguments||[]):void 0}:function(e){return n(e,t)?r.apply(o,arguments):void 0}},e.extend(h.Shape,h._eventsProcessing),h.Container={_init:function(){this.children=[],this._batch=0},openBatch:function(){return this},closeBatch:function(){return this},add:function(t){var e=t.getParent();return e&&e.remove(t,!0),this.children.push(t),t._setParent(this,this._getRealMatrix())},remove:function(t,e){for(var n=0;n<this.children.length;++n)if(this.children[n]==t){e||(t.parent=null,t.parentMatrix=null),d(this.children,n);break}return this},clear:function(t){for(var e,n=0;n<this.children.length;++n)(e=this.children[n]).parent=null,e.parentMatrix=null,t&&e.destroy();return this.children=[],this},getBoundingBox:function(){if(this.children){var t=null;return a.forEach(this.children,(function(e){var n=e.getBoundingBox();if(n){var i=e.getTransform();i&&(n=c.multiplyRectangle(i,n)),t?(t.x=Math.min(t.x,n.x),t.y=Math.min(t.y,n.y),t.endX=Math.max(t.endX,n.x+n.width),t.endY=Math.max(t.endY,n.y+n.height)):t={x:n.x,y:n.y,endX:n.x+n.width,endY:n.y+n.height}}})),t&&(t.width=t.endX-t.x,t.height=t.endY-t.y),t}return null},_moveChildToFront:function(t){for(var e=0;e<this.children.length;++e)if(this.children[e]==t){d(this.children,e),this.children.push(t);break}return this},_moveChildToBack:function(t){for(var e=0;e<this.children.length;++e)if(this.children[e]==t){d(this.children,e),this.children.unshift(t);break}return this}},h.Surface=n("dojox.gfx.shape.Surface",null,{constructor:function(){this.rawNode=null,this._parent=null,this._nodes=[],this._events=[]},destroy:function(){if(a.forEach(this._nodes,s.destroy),this._nodes=[],a.forEach(this._events,(function(t){t&&t.remove()})),this._events=[],this.rawNode=null,o("ie"))for(;this._parent.lastChild;)s.destroy(this._parent.lastChild);else this._parent.innerHTML="";this._parent=null},getEventSource:function(){return this.rawNode},_getRealMatrix:function(){return null},isLoaded:!0,onLoad:function(t){},whenLoaded:function(t,n){var i=e.hitch(t,n);this.isLoaded?i(this):r.once(this,"load",(function(t){i(t)}))}}),e.extend(h.Surface,h._eventsProcessing),h.Rect=n("dojox.gfx.shape.Rect",h.Shape,{constructor:function(e){this.shape=t.getDefault("Rect"),this.rawNode=e},getBoundingBox:function(){return this.shape}}),h.Ellipse=n("dojox.gfx.shape.Ellipse",h.Shape,{constructor:function(e){this.shape=t.getDefault("Ellipse"),this.rawNode=e},getBoundingBox:function(){if(!this.bbox){var t=this.shape;this.bbox={x:t.cx-t.rx,y:t.cy-t.ry,width:2*t.rx,height:2*t.ry}}return this.bbox}}),h.Circle=n("dojox.gfx.shape.Circle",h.Shape,{constructor:function(e){this.shape=t.getDefault("Circle"),this.rawNode=e},getBoundingBox:function(){if(!this.bbox){var t=this.shape;this.bbox={x:t.cx-t.r,y:t.cy-t.r,width:2*t.r,height:2*t.r}}return this.bbox}}),h.Line=n("dojox.gfx.shape.Line",h.Shape,{constructor:function(e){this.shape=t.getDefault("Line"),this.rawNode=e},getBoundingBox:function(){if(!this.bbox){var t=this.shape;this.bbox={x:Math.min(t.x1,t.x2),y:Math.min(t.y1,t.y2),width:Math.abs(t.x2-t.x1),height:Math.abs(t.y2-t.y1)}}return this.bbox}}),h.Polyline=n("dojox.gfx.shape.Polyline",h.Shape,{constructor:function(e){this.shape=t.getDefault("Polyline"),this.rawNode=e},setShape:function(t,e){return t&&t instanceof Array?(this.inherited(arguments,[{points:t}]),e&&this.shape.points.length&&this.shape.points.push(this.shape.points[0])):this.inherited(arguments,[t]),this},_normalizePoints:function(){var t=this.shape.points,e=t&&t.length;if(e&&"number"==typeof t[0]){for(var n=[],i=0;i<e;i+=2)n.push({x:t[i],y:t[i+1]});this.shape.points=n}},getBoundingBox:function(){if(!this.bbox&&this.shape.points.length){for(var t=this.shape.points,e=t.length,n=t[0],i={l:n.x,t:n.y,r:n.x,b:n.y},o=1;o<e;++o)n=t[o],i.l>n.x&&(i.l=n.x),i.r<n.x&&(i.r=n.x),i.t>n.y&&(i.t=n.y),i.b<n.y&&(i.b=n.y);this.bbox={x:i.l,y:i.t,width:i.r-i.l,height:i.b-i.t}}return this.bbox}}),h.Image=n("dojox.gfx.shape.Image",h.Shape,{constructor:function(e){this.shape=t.getDefault("Image"),this.rawNode=e},getBoundingBox:function(){return this.shape},setStroke:function(){return this},setFill:function(){return this}}),h.Text=n(h.Shape,{constructor:function(e){this.fontStyle=null,this.shape=t.getDefault("Text"),this.rawNode=e},getFont:function(){return this.fontStyle},setFont:function(e){return this.fontStyle="string"==typeof e?t.splitFontString(e):t.makeParameters(t.defaultFont,e),this._setFont(),this},getBoundingBox:function(){var e=null;return this.getShape().text&&(e=t._base._computeTextBoundingBox(this)),e}}),h.Creator={createShape:function(e){switch(e.type){case t.defaultPath.type:return this.createPath(e);case t.defaultRect.type:return this.createRect(e);case t.defaultCircle.type:return this.createCircle(e);case t.defaultEllipse.type:return this.createEllipse(e);case t.defaultLine.type:return this.createLine(e);case t.defaultPolyline.type:return this.createPolyline(e);case t.defaultImage.type:return this.createImage(e);case t.defaultText.type:return this.createText(e);case t.defaultTextPath.type:return this.createTextPath(e)}return null},createGroup:function(){return this.createObject(t.Group)},createRect:function(e){return this.createObject(t.Rect,e)},createEllipse:function(e){return this.createObject(t.Ellipse,e)},createCircle:function(e){return this.createObject(t.Circle,e)},createLine:function(e){return this.createObject(t.Line,e)},createPolyline:function(e){return this.createObject(t.Polyline,e)},createImage:function(e){return this.createObject(t.Image,e)},createText:function(e){return this.createObject(t.Text,e)},createPath:function(e){return this.createObject(t.Path,e)},createTextPath:function(e){return this.createObject(t.TextPath,{}).setText(e)},createObject:function(t,e){return null}},h}))},4574:function(t,e){define("dojox/gfx/svg",["dojo/_base/lang","dojo/_base/sniff","dojo/_base/window","dojo/dom","dojo/_base/declare","dojo/_base/array","dojo/dom-geometry","dojo/dom-attr","dojo/_base/Color","./_base","./shape","./path"],(function(t,e,n,i,o,r,a,s,l,c,d,h){var u=c.svg={};u.useSvgWeb=void 0!==window.svgweb;var f=navigator.userAgent,p=e("ios"),m=e("android"),g=e("chrome")||m&&m>=4?"auto":"optimizeLegibility";function y(t,e){return n.doc.createElementNS?n.doc.createElementNS(t,e):n.doc.createElement(e)}function v(t,e,n,i){return t.setAttributeNS?t.setAttributeNS(e,n,i):t.setAttribute(n,i)}function b(t){return u.useSvgWeb?n.doc.createTextNode(t,!0):n.doc.createTextNode(t)}u.xmlns={xlink:"http://www.w3.org/1999/xlink",svg:"http://www.w3.org/2000/svg"},u.getRef=function(t){return t&&"none"!=t?t.match(/^url\(#.+\)$/)?i.byId(t.slice(5,-1)):t.match(/^#dojoUnique\d+$/)?i.byId(t.slice(1)):null:null},u.dasharray={solid:"none",shortdash:[4,1],shortdot:[1,1],shortdashdot:[4,1,1,1],shortdashdotdot:[4,1,1,1,1,1],dot:[1,3],dash:[4,3],longdash:[8,3],dashdot:[4,3,1,3],longdashdot:[8,3,1,3],longdashdotdot:[8,3,1,3,1,3]};var x=0;u.Shape=o("dojox.gfx.svg.Shape",d.Shape,{destroy:function(){if(this.fillStyle&&"type"in this.fillStyle){var t=this.rawNode.getAttribute("fill"),e=u.getRef(t);e&&e.parentNode.removeChild(e)}if(this.clip){var n=this.rawNode.getAttribute("clip-path");if(n){var o=i.byId(n.match(/gfx_clip[\d]+/)[0]);o&&o.parentNode.removeChild(o)}}d.Shape.prototype.destroy.apply(this,arguments)},setFill:function(t){if(!t)return this.fillStyle=null,this.rawNode.setAttribute("fill","none"),this.rawNode.setAttribute("fill-opacity",0),this;var e,n=function(t){this.setAttribute(t,e[t].toFixed(8))};if("object"==typeof t&&"type"in t){switch(t.type){case"linear":e=c.makeParameters(c.defaultLinearGradient,t);var i=this._setFillObject(e,"linearGradient");r.forEach(["x1","y1","x2","y2"],n,i);break;case"radial":e=c.makeParameters(c.defaultRadialGradient,t);var o=this._setFillObject(e,"radialGradient");r.forEach(["cx","cy","r"],n,o);break;case"pattern":e=c.makeParameters(c.defaultPattern,t);var a=this._setFillObject(e,"pattern");r.forEach(["x","y","width","height"],n,a)}return this.fillStyle=e,this}return e=c.normalizeColor(t),this.fillStyle=e,this.rawNode.setAttribute("fill",e.toCss()),this.rawNode.setAttribute("fill-opacity",e.a),this.rawNode.setAttribute("fill-rule","evenodd"),this},setStroke:function(e){var n=this.rawNode;if(!e)return this.strokeStyle=null,n.setAttribute("stroke","none"),n.setAttribute("stroke-opacity",0),this;("string"==typeof e||t.isArray(e)||e instanceof l)&&(e={color:e});var i=this.strokeStyle=c.makeParameters(c.defaultStroke,e);if(i.color=c.normalizeColor(i.color),i){n.setAttribute("stroke",i.color.toCss()),n.setAttribute("stroke-opacity",i.color.a),n.setAttribute("stroke-width",i.width),n.setAttribute("stroke-linecap",i.cap),"number"==typeof i.join?(n.setAttribute("stroke-linejoin","miter"),n.setAttribute("stroke-miterlimit",i.join)):n.setAttribute("stroke-linejoin",i.join);var o=i.style.toLowerCase();if(o in u.dasharray&&(o=u.dasharray[o]),o instanceof Array){var r;for(o=t._toArray(o),r=0;r<o.length;++r)o[r]*=i.width;if("butt"!=i.cap){for(r=0;r<o.length;r+=2)o[r]-=i.width,o[r]<1&&(o[r]=1);for(r=1;r<o.length;r+=2)o[r]+=i.width}o=o.join(",")}n.setAttribute("stroke-dasharray",o),n.setAttribute("dojoGfxStrokeStyle",i.style)}return this},_getParentSurface:function(){for(var t=this.parent;t&&!(t instanceof c.Surface);t=t.parent);return t},_setFillObject:function(t,e){var n=u.xmlns.svg;this.fillStyle=t;var i=this._getParentSurface().defNode,o=this.rawNode.getAttribute("fill"),r=u.getRef(o);if(r)if((o=r).tagName.toLowerCase()!=e.toLowerCase()){var a=o.id;o.parentNode.removeChild(o),(o=y(n,e)).setAttribute("id",a),i.appendChild(o)}else for(;o.childNodes.length;)o.removeChild(o.lastChild);else(o=y(n,e)).setAttribute("id",c._base._getUniqueId()),i.appendChild(o);if("pattern"==e){o.setAttribute("patternUnits","userSpaceOnUse");var s=y(n,"image");s.setAttribute("x",0),s.setAttribute("y",0),s.setAttribute("width",t.width.toFixed(8)),s.setAttribute("height",t.height.toFixed(8)),v(s,u.xmlns.xlink,"xlink:href",t.src),o.appendChild(s)}else{o.setAttribute("gradientUnits","userSpaceOnUse");for(var l=0;l<t.colors.length;++l){var d=t.colors[l],h=y(n,"stop"),f=d.color=c.normalizeColor(d.color);h.setAttribute("offset",d.offset.toFixed(8)),h.setAttribute("stop-color",f.toCss()),h.setAttribute("stop-opacity",f.a),o.appendChild(h)}}return this.rawNode.setAttribute("fill","url(#"+o.getAttribute("id")+")"),this.rawNode.removeAttribute("fill-opacity"),this.rawNode.setAttribute("fill-rule","evenodd"),o},_applyTransform:function(){if(this.matrix){var t=this.matrix;this.rawNode.setAttribute("transform","matrix("+t.xx.toFixed(8)+","+t.yx.toFixed(8)+","+t.xy.toFixed(8)+","+t.yy.toFixed(8)+","+t.dx.toFixed(8)+","+t.dy.toFixed(8)+")")}else this.rawNode.removeAttribute("transform");return this},setRawNode:function(t){var e=this.rawNode=t;"image"!=this.shape.type&&e.setAttribute("fill","none"),e.setAttribute("fill-opacity",0),e.setAttribute("stroke","none"),e.setAttribute("stroke-opacity",0),e.setAttribute("stroke-width",1),e.setAttribute("stroke-linecap","butt"),e.setAttribute("stroke-linejoin","miter"),e.setAttribute("stroke-miterlimit",4),e.__gfxObject__=this},setShape:function(t){for(var e in this.shape=c.makeParameters(this.shape,t),this.shape)"type"!=e&&this.rawNode.setAttribute(e,this.shape[e]);return this.bbox=null,this},_moveToFront:function(){return this.rawNode.parentNode.appendChild(this.rawNode),this},_moveToBack:function(){return this.rawNode.parentNode.insertBefore(this.rawNode,this.rawNode.parentNode.firstChild),this},setClip:function(e){this.inherited(arguments);var n=e?"width"in e?"rect":"cx"in e?"ellipse":"points"in e?"polyline":"d"in e?"path":null:null;if(e&&!n)return this;"polyline"===n&&((e=t.clone(e)).points=e.points.join(","));var o,r,a=s.get(this.rawNode,"clip-path");if(a&&(o=i.byId(a.match(/gfx_clip[\d]+/)[0]))&&o.removeChild(o.childNodes[0]),e){if(o)r=y(u.xmlns.svg,n),o.appendChild(r);else{var l="gfx_clip"+ ++x,c="url(#"+l+")";this.rawNode.setAttribute("clip-path",c),o=y(u.xmlns.svg,"clipPath"),r=y(u.xmlns.svg,n),o.appendChild(r),this.rawNode.parentNode.insertBefore(o,this.rawNode),s.set(o,"id",l)}s.set(r,e)}else this.rawNode.removeAttribute("clip-path"),o&&o.parentNode.removeChild(o);return this},_removeClipNode:function(){var t,e=s.get(this.rawNode,"clip-path");return e&&(t=i.byId(e.match(/gfx_clip[\d]+/)[0]))&&t.parentNode.removeChild(t),t}}),u.Group=o("dojox.gfx.svg.Group",u.Shape,{constructor:function(){d.Container._init.call(this)},setRawNode:function(t){this.rawNode=t,this.rawNode.__gfxObject__=this},destroy:function(){this.clear(!0),u.Shape.prototype.destroy.apply(this,arguments)}}),u.Group.nodeType="g",u.Rect=o("dojox.gfx.svg.Rect",[u.Shape,d.Rect],{setShape:function(t){for(var e in this.shape=c.makeParameters(this.shape,t),this.bbox=null,this.shape)"type"!=e&&"r"!=e&&this.rawNode.setAttribute(e,this.shape[e]);return null!=this.shape.r&&(this.rawNode.setAttribute("ry",this.shape.r),this.rawNode.setAttribute("rx",this.shape.r)),this}}),u.Rect.nodeType="rect",u.Ellipse=o("dojox.gfx.svg.Ellipse",[u.Shape,d.Ellipse],{}),u.Ellipse.nodeType="ellipse",u.Circle=o("dojox.gfx.svg.Circle",[u.Shape,d.Circle],{}),u.Circle.nodeType="circle",u.Line=o("dojox.gfx.svg.Line",[u.Shape,d.Line],{}),u.Line.nodeType="line",u.Polyline=o("dojox.gfx.svg.Polyline",[u.Shape,d.Polyline],{setShape:function(t,e){t&&t instanceof Array?(this.shape=c.makeParameters(this.shape,{points:t}),e&&this.shape.points.length&&this.shape.points.push(this.shape.points[0])):this.shape=c.makeParameters(this.shape,t),this.bbox=null,this._normalizePoints();for(var n=[],i=this.shape.points,o=0;o<i.length;++o)n.push(i[o].x.toFixed(8),i[o].y.toFixed(8));return this.rawNode.setAttribute("points",n.join(" ")),this}}),u.Polyline.nodeType="polyline",u.Image=o("dojox.gfx.svg.Image",[u.Shape,d.Image],{setShape:function(t){this.shape=c.makeParameters(this.shape,t),this.bbox=null;var e=this.rawNode;for(var n in this.shape)"type"!=n&&"src"!=n&&e.setAttribute(n,this.shape[n]);return e.setAttribute("preserveAspectRatio","none"),v(e,u.xmlns.xlink,"xlink:href",this.shape.src),e.__gfxObject__=this,this}}),u.Image.nodeType="image",u.Text=o("dojox.gfx.svg.Text",[u.Shape,d.Text],{setShape:function(t){this.shape=c.makeParameters(this.shape,t),this.bbox=null;var e=this.rawNode,n=this.shape;return e.setAttribute("x",n.x),e.setAttribute("y",n.y),e.setAttribute("text-anchor",n.align),e.setAttribute("text-decoration",n.decoration),e.setAttribute("rotate",n.rotated?90:0),e.setAttribute("kerning",n.kerning?"auto":0),e.setAttribute("text-rendering",g),e.firstChild?e.firstChild.nodeValue=n.text:e.appendChild(b(n.text)),this},getTextWidth:function(){var t=this.rawNode,e=t.parentNode,n=t.cloneNode(!0);n.style.visibility="hidden";var i=0,o=n.firstChild.nodeValue;if(e.appendChild(n),""!=o)for(;!i;)i=n.getBBox?parseInt(n.getBBox().width):68;return e.removeChild(n),i},getBoundingBox:function(){var t=null;if(this.getShape().text)try{t=this.rawNode.getBBox()}catch(e){t={x:0,y:0,width:0,height:0}}return t}}),u.Text.nodeType="text",u.Path=o("dojox.gfx.svg.Path",[u.Shape,h.Path],{_updateWithSegment:function(t){this.inherited(arguments),"string"==typeof this.shape.path&&this.rawNode.setAttribute("d",this.shape.path)},setShape:function(t){return this.inherited(arguments),this.shape.path?this.rawNode.setAttribute("d",this.shape.path):this.rawNode.removeAttribute("d"),this}}),u.Path.nodeType="path",u.TextPath=o("dojox.gfx.svg.TextPath",[u.Shape,h.TextPath],{_updateWithSegment:function(t){this.inherited(arguments),this._setTextPath()},setShape:function(t){return this.inherited(arguments),this._setTextPath(),this},_setTextPath:function(){if("string"==typeof this.shape.path){var t=this.rawNode;if(!t.firstChild){var e=y(u.xmlns.svg,"textPath"),n=b("");e.appendChild(n),t.appendChild(e)}var i=t.firstChild.getAttributeNS(u.xmlns.xlink,"href"),o=i&&u.getRef(i);if(!o){var r=this._getParentSurface();if(r){var a=r.defNode;o=y(u.xmlns.svg,"path");var s=c._base._getUniqueId();o.setAttribute("id",s),a.appendChild(o),v(t.firstChild,u.xmlns.xlink,"xlink:href","#"+s)}}o&&o.setAttribute("d",this.shape.path)}},_setText:function(){var t=this.rawNode;if(!t.firstChild){var e=y(u.xmlns.svg,"textPath"),n=b("");e.appendChild(n),t.appendChild(e)}t=t.firstChild;var i=this.text;switch(t.setAttribute("alignment-baseline","middle"),i.align){case"middle":t.setAttribute("text-anchor","middle"),t.setAttribute("startOffset","50%");break;case"end":t.setAttribute("text-anchor","end"),t.setAttribute("startOffset","100%");break;default:t.setAttribute("text-anchor","start"),t.setAttribute("startOffset","0%")}t.setAttribute("baseline-shift","0.5ex"),t.setAttribute("text-decoration",i.decoration),t.setAttribute("rotate",i.rotated?90:0),t.setAttribute("kerning",i.kerning?"auto":0),t.firstChild.data=i.text}}),u.TextPath.nodeType="text";var _,j=((_=/WebKit\/(\d*)/.exec(f))?_[1]:0)>534;u.Surface=o("dojox.gfx.svg.Surface",d.Surface,{constructor:function(){d.Container._init.call(this)},destroy:function(){d.Container.clear.call(this,!0),this.defNode=null,this.inherited(arguments)},setDimensions:function(t,e){return this.rawNode?(this.rawNode.setAttribute("width",t),this.rawNode.setAttribute("height",e),j&&(this.rawNode.style.width=t,this.rawNode.style.height=e),this):this},getDimensions:function(){return this.rawNode?{width:c.normalizedLength(this.rawNode.getAttribute("width")),height:c.normalizedLength(this.rawNode.getAttribute("height"))}:null}}),u.createSurface=function(t,e,n){var o=new u.Surface;o.rawNode=y(u.xmlns.svg,"svg"),o.rawNode.setAttribute("overflow","hidden"),e&&o.rawNode.setAttribute("width",e),n&&o.rawNode.setAttribute("height",n);var r=y(u.xmlns.svg,"defs");return o.rawNode.appendChild(r),o.defNode=r,o._parent=i.byId(t),o._parent.appendChild(o.rawNode),c._base._fixMsTouchAction(o),o};var w={_setFont:function(){var t=this.fontStyle;this.rawNode.setAttribute("font-style",t.style),this.rawNode.setAttribute("font-variant",t.variant),this.rawNode.setAttribute("font-weight",t.weight),this.rawNode.setAttribute("font-size",t.size),this.rawNode.setAttribute("font-family",t.family)}},k=d.Container,C=u.Container={openBatch:function(){return this._batch||(this.fragment=u.useSvgWeb?n.doc.createDocumentFragment(!0):n.doc.createDocumentFragment()),++this._batch,this},closeBatch:function(){return this._batch=this._batch>0?--this._batch:0,this.fragment&&!this._batch&&(this.rawNode.appendChild(this.fragment),delete this.fragment),this},add:function(t){return this!=t.getParent()&&(this.fragment?this.fragment.appendChild(t.rawNode):this.rawNode.appendChild(t.rawNode),k.add.apply(this,arguments),t.setClip(t.clip)),this},remove:function(t,e){return this==t.getParent()&&(this.rawNode==t.rawNode.parentNode&&this.rawNode.removeChild(t.rawNode),this.fragment&&this.fragment==t.rawNode.parentNode&&this.fragment.removeChild(t.rawNode),t._removeClipNode(),k.remove.apply(this,arguments)),this},clear:function(){for(var t=this.rawNode;t.lastChild;)t.removeChild(t.lastChild);var e=this.defNode;if(e){for(;e.lastChild;)e.removeChild(e.lastChild);t.appendChild(e)}return k.clear.apply(this,arguments)},getBoundingBox:k.getBoundingBox,_moveChildToFront:k._moveChildToFront,_moveChildToBack:k._moveChildToBack},S=u.Creator={createObject:function(t,e){if(!this.rawNode)return null;var n=new t,i=y(u.xmlns.svg,t.nodeType);return n.setRawNode(i),n.setShape(e),this.add(n),n}};if(t.extend(u.Text,w),t.extend(u.TextPath,w),t.extend(u.Group,C),t.extend(u.Group,d.Creator),t.extend(u.Group,S),t.extend(u.Surface,C),t.extend(u.Surface,d.Creator),t.extend(u.Surface,S),u.fixTarget=function(t,e){return t.gfxTarget||(p&&t.target.wholeText?t.gfxTarget=t.target.parentElement.__gfxObject__:t.gfxTarget=t.target.__gfxObject__),!0},u.useSvgWeb){u.createSurface=function(t,e,n){var o=new u.Surface;if(!e||!n){var r=a.position(t);e=e||r.w,n=n||r.h}var s=(t=i.byId(t)).id?t.id+"_svgweb":c._base._getUniqueId(),l=y(u.xmlns.svg,"svg");return l.id=s,l.setAttribute("width",e),l.setAttribute("height",n),svgweb.appendChild(l,t),l.addEventListener("SVGLoad",(function(){o.rawNode=this,o.isLoaded=!0;var t=y(u.xmlns.svg,"defs");o.rawNode.appendChild(t),o.defNode=t,o.onLoad&&o.onLoad(o)}),!1),o.isLoaded=!1,o},u.Surface.extend({destroy:function(){var t=this.rawNode;svgweb.removeChild(t,t.parentNode)}});var M={connect:function(e,n,i){return"on"===e.substring(0,2)&&(e=e.substring(2)),i=2==arguments.length?n:t.hitch(n,i),this.getEventSource().addEventListener(e,i,!1),[this,e,i]},disconnect:function(t){this.getEventSource().removeEventListener(t[1],t[2],!1),delete t[0]}};t.extend(u.Shape,M),t.extend(u.Surface,M)}return u}))},1977:function(t,e){define("dojox/gfx/svg",["dojo/_base/lang","dojo/_base/sniff","dojo/_base/window","dojo/dom","dojo/_base/declare","dojo/_base/array","dojo/dom-geometry","dojo/dom-attr","dojo/_base/Color","./_base","./shape","./path"],(function(t,e,n,i,o,r,a,s,l,c,d,h){var u=c.svg={};u.useSvgWeb=void 0!==window.svgweb;var f=navigator.userAgent,p=e("ios"),m=e("android"),g=e("chrome")||m&&m>=4?"auto":"optimizeLegibility";function y(t,e){return n.doc.createElementNS?n.doc.createElementNS(t,e):n.doc.createElement(e)}function v(t,e,n,i){return t.setAttributeNS?t.setAttributeNS(e,n,i):t.setAttribute(n,i)}function b(t){return u.useSvgWeb?n.doc.createTextNode(t,!0):n.doc.createTextNode(t)}u.xmlns={xlink:"http://www.w3.org/1999/xlink",svg:"http://www.w3.org/2000/svg"},u.getRef=function(t){return t&&"none"!=t?t.match(/^url\(#.+\)$/)?i.byId(t.slice(5,-1)):t.match(/^#dojoUnique\d+$/)?i.byId(t.slice(1)):null:null},u.dasharray={solid:"none",shortdash:[4,1],shortdot:[1,1],shortdashdot:[4,1,1,1],shortdashdotdot:[4,1,1,1,1,1],dot:[1,3],dash:[4,3],longdash:[8,3],dashdot:[4,3,1,3],longdashdot:[8,3,1,3],longdashdotdot:[8,3,1,3,1,3]};var x=0;u.Shape=o("dojox.gfx.svg.Shape",d.Shape,{destroy:function(){if(this.fillStyle&&"type"in this.fillStyle){var t=this.rawNode.getAttribute("fill"),e=u.getRef(t);e&&e.parentNode.removeChild(e)}if(this.clip){var n=this.rawNode.getAttribute("clip-path");if(n){var o=i.byId(n.match(/gfx_clip[\d]+/)[0]);o&&o.parentNode.removeChild(o)}}d.Shape.prototype.destroy.apply(this,arguments)},setFill:function(t){if(!t)return this.fillStyle=null,this.rawNode.setAttribute("fill","none"),this.rawNode.setAttribute("fill-opacity",0),this;var e,n=function(t){this.setAttribute(t,e[t].toFixed(8))};if("object"==typeof t&&"type"in t){switch(t.type){case"linear":e=c.makeParameters(c.defaultLinearGradient,t);var i=this._setFillObject(e,"linearGradient");r.forEach(["x1","y1","x2","y2"],n,i);break;case"radial":e=c.makeParameters(c.defaultRadialGradient,t);var o=this._setFillObject(e,"radialGradient");r.forEach(["cx","cy","r"],n,o);break;case"pattern":e=c.makeParameters(c.defaultPattern,t);var a=this._setFillObject(e,"pattern");r.forEach(["x","y","width","height"],n,a)}return this.fillStyle=e,this}return e=c.normalizeColor(t),this.fillStyle=e,this.rawNode.setAttribute("fill",e.toCss()),this.rawNode.setAttribute("fill-opacity",e.a),this.rawNode.setAttribute("fill-rule","evenodd"),this},setStroke:function(e){var n=this.rawNode;if(!e)return this.strokeStyle=null,n.setAttribute("stroke","none"),n.setAttribute("stroke-opacity",0),this;("string"==typeof e||t.isArray(e)||e instanceof l)&&(e={color:e});var i=this.strokeStyle=c.makeParameters(c.defaultStroke,e);if(i.color=c.normalizeColor(i.color),i){n.setAttribute("stroke",i.color.toCss()),n.setAttribute("stroke-opacity",i.color.a),n.setAttribute("stroke-width",i.width),n.setAttribute("stroke-linecap",i.cap),"number"==typeof i.join?(n.setAttribute("stroke-linejoin","miter"),n.setAttribute("stroke-miterlimit",i.join)):n.setAttribute("stroke-linejoin",i.join);var o=i.style.toLowerCase();if(o in u.dasharray&&(o=u.dasharray[o]),o instanceof Array){var r;for(o=t._toArray(o),r=0;r<o.length;++r)o[r]*=i.width;if("butt"!=i.cap){for(r=0;r<o.length;r+=2)o[r]-=i.width,o[r]<1&&(o[r]=1);for(r=1;r<o.length;r+=2)o[r]+=i.width}o=o.join(",")}n.setAttribute("stroke-dasharray",o),n.setAttribute("dojoGfxStrokeStyle",i.style)}return this},_getParentSurface:function(){for(var t=this.parent;t&&!(t instanceof c.Surface);t=t.parent);return t},_setFillObject:function(t,e){var n=u.xmlns.svg;this.fillStyle=t;var i=this._getParentSurface().defNode,o=this.rawNode.getAttribute("fill"),r=u.getRef(o);if(r)if((o=r).tagName.toLowerCase()!=e.toLowerCase()){var a=o.id;o.parentNode.removeChild(o),(o=y(n,e)).setAttribute("id",a),i.appendChild(o)}else for(;o.childNodes.length;)o.removeChild(o.lastChild);else(o=y(n,e)).setAttribute("id",c._base._getUniqueId()),i.appendChild(o);if("pattern"==e){o.setAttribute("patternUnits","userSpaceOnUse");var s=y(n,"image");s.setAttribute("x",0),s.setAttribute("y",0),s.setAttribute("width",t.width.toFixed(8)),s.setAttribute("height",t.height.toFixed(8)),v(s,u.xmlns.xlink,"xlink:href",t.src),o.appendChild(s)}else{o.setAttribute("gradientUnits","userSpaceOnUse");for(var l=0;l<t.colors.length;++l){var d=t.colors[l],h=y(n,"stop"),f=d.color=c.normalizeColor(d.color);h.setAttribute("offset",d.offset.toFixed(8)),h.setAttribute("stop-color",f.toCss()),h.setAttribute("stop-opacity",f.a),o.appendChild(h)}}return this.rawNode.setAttribute("fill","url(#"+o.getAttribute("id")+")"),this.rawNode.removeAttribute("fill-opacity"),this.rawNode.setAttribute("fill-rule","evenodd"),o},_applyTransform:function(){if(this.matrix){var t=this.matrix;this.rawNode.setAttribute("transform","matrix("+t.xx.toFixed(8)+","+t.yx.toFixed(8)+","+t.xy.toFixed(8)+","+t.yy.toFixed(8)+","+t.dx.toFixed(8)+","+t.dy.toFixed(8)+")")}else this.rawNode.removeAttribute("transform");return this},setRawNode:function(t){var e=this.rawNode=t;"image"!=this.shape.type&&e.setAttribute("fill","none"),e.setAttribute("fill-opacity",0),e.setAttribute("stroke","none"),e.setAttribute("stroke-opacity",0),e.setAttribute("stroke-width",1),e.setAttribute("stroke-linecap","butt"),e.setAttribute("stroke-linejoin","miter"),e.setAttribute("stroke-miterlimit",4),e.__gfxObject__=this},setShape:function(t){for(var e in this.shape=c.makeParameters(this.shape,t),this.shape)"type"!=e&&this.rawNode.setAttribute(e,this.shape[e]);return this.bbox=null,this},_moveToFront:function(){return this.rawNode.parentNode.appendChild(this.rawNode),this},_moveToBack:function(){return this.rawNode.parentNode.insertBefore(this.rawNode,this.rawNode.parentNode.firstChild),this},setClip:function(e){this.inherited(arguments);var n=e?"width"in e?"rect":"cx"in e?"ellipse":"points"in e?"polyline":"d"in e?"path":null:null;if(e&&!n)return this;"polyline"===n&&((e=t.clone(e)).points=e.points.join(","));var o,r,a=s.get(this.rawNode,"clip-path");if(a&&(o=i.byId(a.match(/gfx_clip[\d]+/)[0]))&&o.removeChild(o.childNodes[0]),e){if(o)r=y(u.xmlns.svg,n),o.appendChild(r);else{var l="gfx_clip"+ ++x,c="url(#"+l+")";this.rawNode.setAttribute("clip-path",c),o=y(u.xmlns.svg,"clipPath"),r=y(u.xmlns.svg,n),o.appendChild(r),this.rawNode.parentNode.insertBefore(o,this.rawNode),s.set(o,"id",l)}s.set(r,e)}else this.rawNode.removeAttribute("clip-path"),o&&o.parentNode.removeChild(o);return this},_removeClipNode:function(){var t,e=s.get(this.rawNode,"clip-path");return e&&(t=i.byId(e.match(/gfx_clip[\d]+/)[0]))&&t.parentNode.removeChild(t),t}}),u.Group=o("dojox.gfx.svg.Group",u.Shape,{constructor:function(){d.Container._init.call(this)},setRawNode:function(t){this.rawNode=t,this.rawNode.__gfxObject__=this},destroy:function(){this.clear(!0),u.Shape.prototype.destroy.apply(this,arguments)}}),u.Group.nodeType="g",u.Rect=o("dojox.gfx.svg.Rect",[u.Shape,d.Rect],{setShape:function(t){for(var e in this.shape=c.makeParameters(this.shape,t),this.bbox=null,this.shape)"type"!=e&&"r"!=e&&this.rawNode.setAttribute(e,this.shape[e]);return null!=this.shape.r&&(this.rawNode.setAttribute("ry",this.shape.r),this.rawNode.setAttribute("rx",this.shape.r)),this}}),u.Rect.nodeType="rect",u.Ellipse=o("dojox.gfx.svg.Ellipse",[u.Shape,d.Ellipse],{}),u.Ellipse.nodeType="ellipse",u.Circle=o("dojox.gfx.svg.Circle",[u.Shape,d.Circle],{}),u.Circle.nodeType="circle",u.Line=o("dojox.gfx.svg.Line",[u.Shape,d.Line],{}),u.Line.nodeType="line",u.Polyline=o("dojox.gfx.svg.Polyline",[u.Shape,d.Polyline],{setShape:function(t,e){t&&t instanceof Array?(this.shape=c.makeParameters(this.shape,{points:t}),e&&this.shape.points.length&&this.shape.points.push(this.shape.points[0])):this.shape=c.makeParameters(this.shape,t),this.bbox=null,this._normalizePoints();for(var n=[],i=this.shape.points,o=0;o<i.length;++o)n.push(i[o].x.toFixed(8),i[o].y.toFixed(8));return this.rawNode.setAttribute("points",n.join(" ")),this}}),u.Polyline.nodeType="polyline",u.Image=o("dojox.gfx.svg.Image",[u.Shape,d.Image],{setShape:function(t){this.shape=c.makeParameters(this.shape,t),this.bbox=null;var e=this.rawNode;for(var n in this.shape)"type"!=n&&"src"!=n&&e.setAttribute(n,this.shape[n]);return e.setAttribute("preserveAspectRatio","none"),v(e,u.xmlns.xlink,"xlink:href",this.shape.src),e.__gfxObject__=this,this}}),u.Image.nodeType="image",u.Text=o("dojox.gfx.svg.Text",[u.Shape,d.Text],{setShape:function(t){this.shape=c.makeParameters(this.shape,t),this.bbox=null;var e=this.rawNode,n=this.shape;return e.setAttribute("x",n.x),e.setAttribute("y",n.y),e.setAttribute("text-anchor",n.align),e.setAttribute("text-decoration",n.decoration),e.setAttribute("rotate",n.rotated?90:0),e.setAttribute("kerning",n.kerning?"auto":0),e.setAttribute("text-rendering",g),e.firstChild?e.firstChild.nodeValue=n.text:e.appendChild(b(n.text)),this},getTextWidth:function(){var t=this.rawNode,e=t.parentNode,n=t.cloneNode(!0);n.style.visibility="hidden";var i=0,o=n.firstChild.nodeValue;if(e.appendChild(n),""!=o)for(;!i;)i=n.getBBox?parseInt(n.getBBox().width):68;return e.removeChild(n),i},getBoundingBox:function(){var t=null;if(this.getShape().text)try{t=this.rawNode.getBBox()}catch(e){t={x:0,y:0,width:0,height:0}}return t}}),u.Text.nodeType="text",u.Path=o("dojox.gfx.svg.Path",[u.Shape,h.Path],{_updateWithSegment:function(t){this.inherited(arguments),"string"==typeof this.shape.path&&this.rawNode.setAttribute("d",this.shape.path)},setShape:function(t){return this.inherited(arguments),this.shape.path?this.rawNode.setAttribute("d",this.shape.path):this.rawNode.removeAttribute("d"),this}}),u.Path.nodeType="path",u.TextPath=o("dojox.gfx.svg.TextPath",[u.Shape,h.TextPath],{_updateWithSegment:function(t){this.inherited(arguments),this._setTextPath()},setShape:function(t){return this.inherited(arguments),this._setTextPath(),this},_setTextPath:function(){if("string"==typeof this.shape.path){var t=this.rawNode;if(!t.firstChild){var e=y(u.xmlns.svg,"textPath"),n=b("");e.appendChild(n),t.appendChild(e)}var i=t.firstChild.getAttributeNS(u.xmlns.xlink,"href"),o=i&&u.getRef(i);if(!o){var r=this._getParentSurface();if(r){var a=r.defNode;o=y(u.xmlns.svg,"path");var s=c._base._getUniqueId();o.setAttribute("id",s),a.appendChild(o),v(t.firstChild,u.xmlns.xlink,"xlink:href","#"+s)}}o&&o.setAttribute("d",this.shape.path)}},_setText:function(){var t=this.rawNode;if(!t.firstChild){var e=y(u.xmlns.svg,"textPath"),n=b("");e.appendChild(n),t.appendChild(e)}t=t.firstChild;var i=this.text;switch(t.setAttribute("alignment-baseline","middle"),i.align){case"middle":t.setAttribute("text-anchor","middle"),t.setAttribute("startOffset","50%");break;case"end":t.setAttribute("text-anchor","end"),t.setAttribute("startOffset","100%");break;default:t.setAttribute("text-anchor","start"),t.setAttribute("startOffset","0%")}t.setAttribute("baseline-shift","0.5ex"),t.setAttribute("text-decoration",i.decoration),t.setAttribute("rotate",i.rotated?90:0),t.setAttribute("kerning",i.kerning?"auto":0),t.firstChild.data=i.text}}),u.TextPath.nodeType="text";var _,j=((_=/WebKit\/(\d*)/.exec(f))?_[1]:0)>534;u.Surface=o("dojox.gfx.svg.Surface",d.Surface,{constructor:function(){d.Container._init.call(this)},destroy:function(){d.Container.clear.call(this,!0),this.defNode=null,this.inherited(arguments)},setDimensions:function(t,e){return this.rawNode?(this.rawNode.setAttribute("width",t),this.rawNode.setAttribute("height",e),j&&(this.rawNode.style.width=t,this.rawNode.style.height=e),this):this},getDimensions:function(){return this.rawNode?{width:c.normalizedLength(this.rawNode.getAttribute("width")),height:c.normalizedLength(this.rawNode.getAttribute("height"))}:null}}),u.createSurface=function(t,e,n){var o=new u.Surface;o.rawNode=y(u.xmlns.svg,"svg"),o.rawNode.setAttribute("overflow","hidden"),e&&o.rawNode.setAttribute("width",e),n&&o.rawNode.setAttribute("height",n);var r=y(u.xmlns.svg,"defs");return o.rawNode.appendChild(r),o.defNode=r,o._parent=i.byId(t),o._parent.appendChild(o.rawNode),c._base._fixMsTouchAction(o),o};var w={_setFont:function(){var t=this.fontStyle;this.rawNode.setAttribute("font-style",t.style),this.rawNode.setAttribute("font-variant",t.variant),this.rawNode.setAttribute("font-weight",t.weight),this.rawNode.setAttribute("font-size",t.size),this.rawNode.setAttribute("font-family",t.family)}},k=d.Container,C=u.Container={openBatch:function(){return this._batch||(this.fragment=u.useSvgWeb?n.doc.createDocumentFragment(!0):n.doc.createDocumentFragment()),++this._batch,this},closeBatch:function(){return this._batch=this._batch>0?--this._batch:0,this.fragment&&!this._batch&&(this.rawNode.appendChild(this.fragment),delete this.fragment),this},add:function(t){return this!=t.getParent()&&(this.fragment?this.fragment.appendChild(t.rawNode):this.rawNode.appendChild(t.rawNode),k.add.apply(this,arguments),t.setClip(t.clip)),this},remove:function(t,e){return this==t.getParent()&&(this.rawNode==t.rawNode.parentNode&&this.rawNode.removeChild(t.rawNode),this.fragment&&this.fragment==t.rawNode.parentNode&&this.fragment.removeChild(t.rawNode),t._removeClipNode(),k.remove.apply(this,arguments)),this},clear:function(){for(var t=this.rawNode;t.lastChild;)t.removeChild(t.lastChild);var e=this.defNode;if(e){for(;e.lastChild;)e.removeChild(e.lastChild);t.appendChild(e)}return k.clear.apply(this,arguments)},getBoundingBox:k.getBoundingBox,_moveChildToFront:k._moveChildToFront,_moveChildToBack:k._moveChildToBack},S=u.Creator={createObject:function(t,e){if(!this.rawNode)return null;var n=new t,i=y(u.xmlns.svg,t.nodeType);return n.setRawNode(i),n.setShape(e),this.add(n),n}};if(t.extend(u.Text,w),t.extend(u.TextPath,w),t.extend(u.Group,C),t.extend(u.Group,d.Creator),t.extend(u.Group,S),t.extend(u.Surface,C),t.extend(u.Surface,d.Creator),t.extend(u.Surface,S),u.fixTarget=function(t,e){return t.gfxTarget||(p&&t.target.wholeText?t.gfxTarget=t.target.parentElement.__gfxObject__:t.gfxTarget=t.target.__gfxObject__),!0},u.useSvgWeb){u.createSurface=function(t,e,n){var o=new u.Surface;if(!e||!n){var r=a.position(t);e=e||r.w,n=n||r.h}var s=(t=i.byId(t)).id?t.id+"_svgweb":c._base._getUniqueId(),l=y(u.xmlns.svg,"svg");return l.id=s,l.setAttribute("width",e),l.setAttribute("height",n),svgweb.appendChild(l,t),l.addEventListener("SVGLoad",(function(){o.rawNode=this,o.isLoaded=!0;var t=y(u.xmlns.svg,"defs");o.rawNode.appendChild(t),o.defNode=t,o.onLoad&&o.onLoad(o)}),!1),o.isLoaded=!1,o},u.Surface.extend({destroy:function(){var t=this.rawNode;svgweb.removeChild(t,t.parentNode)}});var M={connect:function(e,n,i){return"on"===e.substring(0,2)&&(e=e.substring(2)),i=2==arguments.length?n:t.hitch(n,i),this.getEventSource().addEventListener(e,i,!1),[this,e,i]},disconnect:function(t){this.getEventSource().removeEventListener(t[1],t[2],!1),delete t[0]}};t.extend(u.Shape,M),t.extend(u.Surface,M)}return u}))},1021:function(t,e){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(t,e,n,i,o,r,a,s,l,c,d){var h=n.utils={};return e.mixin(h,{forEach:function(e,i,r){r=r||t.global,i.call(r,e),(e instanceof n.Surface||e instanceof n.Group)&&o.forEach(e.children,(function(t){h.forEach(t,i,r)}))},serialize:function(t){var e,i={},r=t instanceof n.Surface;if(r||t instanceof n.Group){if(i.children=o.map(t.children,h.serialize),r)return i.children}else i.shape=t.getShape();return t.getTransform&&(e=t.getTransform())&&(i.transform=e),t.getStroke&&(e=t.getStroke())&&(i.stroke=e),t.getFill&&(e=t.getFill())&&(i.fill=e),t.getFont&&(e=t.getFont())&&(i.font=e),i},toJson:function(t,e){return a.toJson(h.serialize(t),e)},deserialize:function(t,n){if(n instanceof Array)return o.map(n,e.hitch(null,h.deserialize,t));var i="shape"in n?t.createShape(n.shape):t.createGroup();return"transform"in n&&i.setTransform(n.transform),"stroke"in n&&i.setStroke(n.stroke),"fill"in n&&i.setFill(n.fill),"font"in n&&i.setFont(n.font),"children"in n&&o.forEach(n.children,e.hitch(null,h.deserialize,i)),i},fromJson:function(t,e){return h.deserialize(t,a.fromJson(e))},toSvg:function(t){var e=new s;if("svg"===n.renderer)try{var o=h._cleanSvg(h._innerXML(t.rawNode));e.callback(o)}catch(t){e.errback(t)}else{h._initSvgSerializerDeferred||h._initSvgSerializer();var a=h.toJson(t),l=function(){try{var n=t.getDimensions(),o=n.width,s=n.height,l=h._gfxSvgProxy.document.createElement("div");h._gfxSvgProxy.document.body.appendChild(l),r.withDoc(h._gfxSvgProxy.document,(function(){i.style(l,"width",o),i.style(l,"height",s)}),this),h._gfxSvgProxy[dojox._scopeName].gfx.createSurface(l,o,s).whenLoaded(null,(function(t){try{h._gfxSvgProxy[dojox._scopeName].gfx.utils.fromJson(t,a);var n=h._cleanSvg(l.innerHTML);t.clear(),t.destroy(),h._gfxSvgProxy.document.body.removeChild(l),e.callback(n)}catch(t){e.errback(t)}}))}catch(t){e.errback(t)}};h._initSvgSerializerDeferred.fired>0?l():h._initSvgSerializerDeferred.addCallback(l)}return e},_gfxSvgProxy:null,_initSvgSerializerDeferred:null,_svgSerializerInitialized:function(){h._initSvgSerializerDeferred.callback(!0)},_initSvgSerializer:function(){if(!h._initSvgSerializerDeferred){h._initSvgSerializerDeferred=new s;var e,n=r.doc.createElement("iframe");i.style(n,{display:"none",position:"absolute",width:"1em",height:"1em",top:"-10000px"}),l("ie")?n.onreadystatechange=function(){"complete"==n.contentWindow.document.readyState&&(n.onreadystatechange=function(){},e=setInterval((function(){n.contentWindow[t.scopeMap.dojo[1]._scopeName]&&n.contentWindow[t.scopeMap.dojox[1]._scopeName].gfx&&n.contentWindow[t.scopeMap.dojox[1]._scopeName].gfx.utils&&(clearInterval(e),n.contentWindow.parent[t.scopeMap.dojox[1]._scopeName].gfx.utils._gfxSvgProxy=n.contentWindow,n.contentWindow.parent[t.scopeMap.dojox[1]._scopeName].gfx.utils._svgSerializerInitialized())}),50))}:n.onload=function(){n.onload=function(){},e=setInterval((function(){n.contentWindow[t.scopeMap.dojo[1]._scopeName]&&n.contentWindow[t.scopeMap.dojox[1]._scopeName].gfx&&n.contentWindow[t.scopeMap.dojox[1]._scopeName].gfx.utils&&(clearInterval(e),n.contentWindow.parent[t.scopeMap.dojox[1]._scopeName].gfx.utils._gfxSvgProxy=n.contentWindow,n.contentWindow.parent[t.scopeMap.dojox[1]._scopeName].gfx.utils._svgSerializerInitialized())}),50)};var o=d.dojoxGfxSvgProxyFrameUrl||c.toUrl("dojox/gfx/resources/gfxSvgProxyFrame.html");n.setAttribute("src",o.toString()),r.body().appendChild(n)}},_innerXML:function(t){return t.innerXML?t.innerXML:t.xml?t.xml:"undefined"!=typeof XMLSerializer?(new XMLSerializer).serializeToString(t):null},_cleanSvg:function(t){return t&&(-1==t.indexOf('xmlns="http://www.w3.org/2000/svg"')&&(t='<svg xmlns="http://www.w3.org/2000/svg"'+(t=t.substring(4,t.length))),-1==t.indexOf('xmlns:xlink="http://www.w3.org/1999/xlink"')&&(t='<svg xmlns:xlink="http://www.w3.org/1999/xlink"'+(t=t.substring(4,t.length))),-1===t.indexOf("xlink:href")&&(t=t.replace(/href\s*=/g,"xlink:href=")),t=(t=(t=(t=(t=t.replace(/<img\b([^>]*)>/gi,"<image $1 />")).replace(/\bdojoGfx\w*\s*=\s*(['"])\w*\1/g,"")).replace(/\b__gfxObject__\s*=\s*(['"])\w*\1/g,"")).replace(/[=]([^"']+?)(\s|>)/g,'="$1"$2')).replace(/\bstroke-opacity\w*\s*=\s*(['"])undefined\1/g,"")),t}}),h}))},9790:function(t,e){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(t,e,n,i,o,r,a,s,l,c,d){var h=n.utils={};return e.mixin(h,{forEach:function(e,i,r){r=r||t.global,i.call(r,e),(e instanceof n.Surface||e instanceof n.Group)&&o.forEach(e.children,(function(t){h.forEach(t,i,r)}))},serialize:function(t){var e,i={},r=t instanceof n.Surface;if(r||t instanceof n.Group){if(i.children=o.map(t.children,h.serialize),r)return i.children}else i.shape=t.getShape();return t.getTransform&&(e=t.getTransform())&&(i.transform=e),t.getStroke&&(e=t.getStroke())&&(i.stroke=e),t.getFill&&(e=t.getFill())&&(i.fill=e),t.getFont&&(e=t.getFont())&&(i.font=e),i},toJson:function(t,e){return a.toJson(h.serialize(t),e)},deserialize:function(t,n){if(n instanceof Array)return o.map(n,e.hitch(null,h.deserialize,t));var i="shape"in n?t.createShape(n.shape):t.createGroup();return"transform"in n&&i.setTransform(n.transform),"stroke"in n&&i.setStroke(n.stroke),"fill"in n&&i.setFill(n.fill),"font"in n&&i.setFont(n.font),"children"in n&&o.forEach(n.children,e.hitch(null,h.deserialize,i)),i},fromJson:function(t,e){return h.deserialize(t,a.fromJson(e))},toSvg:function(t){var e=new s;if("svg"===n.renderer)try{var o=h._cleanSvg(h._innerXML(t.rawNode));e.callback(o)}catch(t){e.errback(t)}else{h._initSvgSerializerDeferred||h._initSvgSerializer();var a=h.toJson(t),l=function(){try{var n=t.getDimensions(),o=n.width,s=n.height,l=h._gfxSvgProxy.document.createElement("div");h._gfxSvgProxy.document.body.appendChild(l),r.withDoc(h._gfxSvgProxy.document,(function(){i.style(l,"width",o),i.style(l,"height",s)}),this),h._gfxSvgProxy[dojox._scopeName].gfx.createSurface(l,o,s).whenLoaded(null,(function(t){try{h._gfxSvgProxy[dojox._scopeName].gfx.utils.fromJson(t,a);var n=h._cleanSvg(l.innerHTML);t.clear(),t.destroy(),h._gfxSvgProxy.document.body.removeChild(l),e.callback(n)}catch(t){e.errback(t)}}))}catch(t){e.errback(t)}};h._initSvgSerializerDeferred.fired>0?l():h._initSvgSerializerDeferred.addCallback(l)}return e},_gfxSvgProxy:null,_initSvgSerializerDeferred:null,_svgSerializerInitialized:function(){h._initSvgSerializerDeferred.callback(!0)},_initSvgSerializer:function(){if(!h._initSvgSerializerDeferred){h._initSvgSerializerDeferred=new s;var e,n=r.doc.createElement("iframe");i.style(n,{display:"none",position:"absolute",width:"1em",height:"1em",top:"-10000px"}),l("ie")?n.onreadystatechange=function(){"complete"==n.contentWindow.document.readyState&&(n.onreadystatechange=function(){},e=setInterval((function(){n.contentWindow[t.scopeMap.dojo[1]._scopeName]&&n.contentWindow[t.scopeMap.dojox[1]._scopeName].gfx&&n.contentWindow[t.scopeMap.dojox[1]._scopeName].gfx.utils&&(clearInterval(e),n.contentWindow.parent[t.scopeMap.dojox[1]._scopeName].gfx.utils._gfxSvgProxy=n.contentWindow,n.contentWindow.parent[t.scopeMap.dojox[1]._scopeName].gfx.utils._svgSerializerInitialized())}),50))}:n.onload=function(){n.onload=function(){},e=setInterval((function(){n.contentWindow[t.scopeMap.dojo[1]._scopeName]&&n.contentWindow[t.scopeMap.dojox[1]._scopeName].gfx&&n.contentWindow[t.scopeMap.dojox[1]._scopeName].gfx.utils&&(clearInterval(e),n.contentWindow.parent[t.scopeMap.dojox[1]._scopeName].gfx.utils._gfxSvgProxy=n.contentWindow,n.contentWindow.parent[t.scopeMap.dojox[1]._scopeName].gfx.utils._svgSerializerInitialized())}),50)};var o=d.dojoxGfxSvgProxyFrameUrl||c.toUrl("dojox/gfx/resources/gfxSvgProxyFrame.html");n.setAttribute("src",o.toString()),r.body().appendChild(n)}},_innerXML:function(t){return t.innerXML?t.innerXML:t.xml?t.xml:"undefined"!=typeof XMLSerializer?(new XMLSerializer).serializeToString(t):null},_cleanSvg:function(t){return t&&(-1==t.indexOf('xmlns="http://www.w3.org/2000/svg"')&&(t='<svg xmlns="http://www.w3.org/2000/svg"'+(t=t.substring(4,t.length))),-1==t.indexOf('xmlns:xlink="http://www.w3.org/1999/xlink"')&&(t='<svg xmlns:xlink="http://www.w3.org/1999/xlink"'+(t=t.substring(4,t.length))),-1===t.indexOf("xlink:href")&&(t=t.replace(/href\s*=/g,"xlink:href=")),t=(t=(t=(t=(t=t.replace(/<img\b([^>]*)>/gi,"<image $1 />")).replace(/\bdojoGfx\w*\s*=\s*(['"])\w*\1/g,"")).replace(/\b__gfxObject__\s*=\s*(['"])\w*\1/g,"")).replace(/[=]([^"']+?)(\s|>)/g,'="$1"$2')).replace(/\bstroke-opacity\w*\s*=\s*(['"])undefined\1/g,"")),t}}),h}))},7744:function(t,e){define("dojox/lang/functional",["./functional/lambda","./functional/array","./functional/object"],(function(t){return t}))},3291:function(t,e){define("dojox/lang/functional",["./functional/lambda","./functional/array","./functional/object"],(function(t){return t}))},7938:function(t,e){define("dojox/lang/functional/array",["dojo/_base/kernel","dojo/_base/lang","dojo/_base/array","./lambda"],(function(t,e,n,i){var o={};return e.mixin(i,{filter:function(n,r,a){"string"==typeof n&&(n=n.split("")),a=a||t.global,r=i.lambda(r);var s,l,c,d=[];if(e.isArray(n))for(l=0,c=n.length;l<c;++l)s=n[l],r.call(a,s,l,n)&&d.push(s);else if("function"==typeof n.hasNext&&"function"==typeof n.next)for(l=0;n.hasNext();)s=n.next(),r.call(a,s,l++,n)&&d.push(s);else for(l in n)l in o||(s=n[l],r.call(a,s,l,n)&&d.push(s));return d},forEach:function(n,r,a){var s,l;if("string"==typeof n&&(n=n.split("")),a=a||t.global,r=i.lambda(r),e.isArray(n))for(s=0,l=n.length;s<l;r.call(a,n[s],s,n),++s);else if("function"==typeof n.hasNext&&"function"==typeof n.next)for(s=0;n.hasNext();r.call(a,n.next(),s++,n));else for(s in n)s in o||r.call(a,n[s],s,n);return a},map:function(n,r,a){var s,l,c;if("string"==typeof n&&(n=n.split("")),a=a||t.global,r=i.lambda(r),e.isArray(n))for(s=new Array(l=n.length),c=0;c<l;s[c]=r.call(a,n[c],c,n),++c);else if("function"==typeof n.hasNext&&"function"==typeof n.next)for(s=[],c=0;n.hasNext();s.push(r.call(a,n.next(),c++,n)));else for(c in s=[],n)c in o||s.push(r.call(a,n[c],c,n));return s},every:function(n,r,a){var s,l;if("string"==typeof n&&(n=n.split("")),a=a||t.global,r=i.lambda(r),e.isArray(n)){for(s=0,l=n.length;s<l;++s)if(!r.call(a,n[s],s,n))return!1}else if("function"==typeof n.hasNext&&"function"==typeof n.next){for(s=0;n.hasNext();)if(!r.call(a,n.next(),s++,n))return!1}else for(s in n)if(!(s in o)&&!r.call(a,n[s],s,n))return!1;return!0},some:function(n,r,a){var s,l;if("string"==typeof n&&(n=n.split("")),a=a||t.global,r=i.lambda(r),e.isArray(n)){for(s=0,l=n.length;s<l;++s)if(r.call(a,n[s],s,n))return!0}else if("function"==typeof n.hasNext&&"function"==typeof n.next){for(s=0;n.hasNext();)if(r.call(a,n.next(),s++,n))return!0}else for(s in n)if(!(s in o)&&r.call(a,n[s],s,n))return!0;return!1}}),i}))},4917:function(t,e){define("dojox/lang/functional/array",["dojo/_base/kernel","dojo/_base/lang","dojo/_base/array","./lambda"],(function(t,e,n,i){var o={};return e.mixin(i,{filter:function(n,r,a){"string"==typeof n&&(n=n.split("")),a=a||t.global,r=i.lambda(r);var s,l,c,d=[];if(e.isArray(n))for(l=0,c=n.length;l<c;++l)s=n[l],r.call(a,s,l,n)&&d.push(s);else if("function"==typeof n.hasNext&&"function"==typeof n.next)for(l=0;n.hasNext();)s=n.next(),r.call(a,s,l++,n)&&d.push(s);else for(l in n)l in o||(s=n[l],r.call(a,s,l,n)&&d.push(s));return d},forEach:function(n,r,a){var s,l;if("string"==typeof n&&(n=n.split("")),a=a||t.global,r=i.lambda(r),e.isArray(n))for(s=0,l=n.length;s<l;r.call(a,n[s],s,n),++s);else if("function"==typeof n.hasNext&&"function"==typeof n.next)for(s=0;n.hasNext();r.call(a,n.next(),s++,n));else for(s in n)s in o||r.call(a,n[s],s,n);return a},map:function(n,r,a){var s,l,c;if("string"==typeof n&&(n=n.split("")),a=a||t.global,r=i.lambda(r),e.isArray(n))for(s=new Array(l=n.length),c=0;c<l;s[c]=r.call(a,n[c],c,n),++c);else if("function"==typeof n.hasNext&&"function"==typeof n.next)for(s=[],c=0;n.hasNext();s.push(r.call(a,n.next(),c++,n)));else for(c in s=[],n)c in o||s.push(r.call(a,n[c],c,n));return s},every:function(n,r,a){var s,l;if("string"==typeof n&&(n=n.split("")),a=a||t.global,r=i.lambda(r),e.isArray(n)){for(s=0,l=n.length;s<l;++s)if(!r.call(a,n[s],s,n))return!1}else if("function"==typeof n.hasNext&&"function"==typeof n.next){for(s=0;n.hasNext();)if(!r.call(a,n.next(),s++,n))return!1}else for(s in n)if(!(s in o)&&!r.call(a,n[s],s,n))return!1;return!0},some:function(n,r,a){var s,l;if("string"==typeof n&&(n=n.split("")),a=a||t.global,r=i.lambda(r),e.isArray(n)){for(s=0,l=n.length;s<l;++s)if(r.call(a,n[s],s,n))return!0}else if("function"==typeof n.hasNext&&"function"==typeof n.next){for(s=0;n.hasNext();)if(r.call(a,n.next(),s++,n))return!0}else for(s in n)if(!(s in o)&&r.call(a,n[s],s,n))return!0;return!1}}),i}))},9296:function(t,e){define("dojox/lang/functional/fold",["dojo/_base/lang","dojo/_base/array","dojo/_base/kernel","./lambda"],(function(t,e,n,i){var o={};t.mixin(i,{foldl:function(e,r,a,s){var l,c;if("string"==typeof e&&(e=e.split("")),s=s||n.global,r=i.lambda(r),t.isArray(e))for(l=0,c=e.length;l<c;a=r.call(s,a,e[l],l,e),++l);else if("function"==typeof e.hasNext&&"function"==typeof e.next)for(l=0;e.hasNext();a=r.call(s,a,e.next(),l++,e));else for(l in e)l in o||(a=r.call(s,a,e[l],l,e));return a},foldl1:function(e,r,a){var s,l,c;if("string"==typeof e&&(e=e.split("")),a=a||n.global,r=i.lambda(r),t.isArray(e))for(s=e[0],l=1,c=e.length;l<c;s=r.call(a,s,e[l],l,e),++l);else if("function"==typeof e.hasNext&&"function"==typeof e.next){if(e.hasNext())for(s=e.next(),l=1;e.hasNext();s=r.call(a,s,e.next(),l++,e));}else{var d=!0;for(l in e)l in o||(d?(s=e[l],d=!1):s=r.call(a,s,e[l],l,e))}return s},foldr:function(t,e,o,r){"string"==typeof t&&(t=t.split("")),r=r||n.global,e=i.lambda(e);for(var a=t.length;a>0;--a,o=e.call(r,o,t[a],a,t));return o},foldr1:function(t,e,o){"string"==typeof t&&(t=t.split("")),o=o||n.global,e=i.lambda(e);for(var r=t.length,a=t[r-1],s=r-1;s>0;--s,a=e.call(o,a,t[s],s,t));return a},reduce:function(t,e,n){return arguments.length<3?i.foldl1(t,e):i.foldl(t,e,n)},reduceRight:function(t,e,n){return arguments.length<3?i.foldr1(t,e):i.foldr(t,e,n)},unfold:function(t,e,o,r,a){a=a||n.global,e=i.lambda(e),o=i.lambda(o),t=i.lambda(t);for(var s=[];!t.call(a,r);s.push(e.call(a,r)),r=o.call(a,r));return s}})}))},1355:function(t,e){define("dojox/lang/functional/fold",["dojo/_base/lang","dojo/_base/array","dojo/_base/kernel","./lambda"],(function(t,e,n,i){var o={};t.mixin(i,{foldl:function(e,r,a,s){var l,c;if("string"==typeof e&&(e=e.split("")),s=s||n.global,r=i.lambda(r),t.isArray(e))for(l=0,c=e.length;l<c;a=r.call(s,a,e[l],l,e),++l);else if("function"==typeof e.hasNext&&"function"==typeof e.next)for(l=0;e.hasNext();a=r.call(s,a,e.next(),l++,e));else for(l in e)l in o||(a=r.call(s,a,e[l],l,e));return a},foldl1:function(e,r,a){var s,l,c;if("string"==typeof e&&(e=e.split("")),a=a||n.global,r=i.lambda(r),t.isArray(e))for(s=e[0],l=1,c=e.length;l<c;s=r.call(a,s,e[l],l,e),++l);else if("function"==typeof e.hasNext&&"function"==typeof e.next){if(e.hasNext())for(s=e.next(),l=1;e.hasNext();s=r.call(a,s,e.next(),l++,e));}else{var d=!0;for(l in e)l in o||(d?(s=e[l],d=!1):s=r.call(a,s,e[l],l,e))}return s},foldr:function(t,e,o,r){"string"==typeof t&&(t=t.split("")),r=r||n.global,e=i.lambda(e);for(var a=t.length;a>0;--a,o=e.call(r,o,t[a],a,t));return o},foldr1:function(t,e,o){"string"==typeof t&&(t=t.split("")),o=o||n.global,e=i.lambda(e);for(var r=t.length,a=t[r-1],s=r-1;s>0;--s,a=e.call(o,a,t[s],s,t));return a},reduce:function(t,e,n){return arguments.length<3?i.foldl1(t,e):i.foldl(t,e,n)},reduceRight:function(t,e,n){return arguments.length<3?i.foldr1(t,e):i.foldr(t,e,n)},unfold:function(t,e,o,r,a){a=a||n.global,e=i.lambda(e),o=i.lambda(o),t=i.lambda(t);for(var s=[];!t.call(a,r);s.push(e.call(a,r)),r=o.call(a,r));return s}})}))},8964:function(t,e){define("dojox/lang/functional/lambda",["../..","dojo/_base/lang","dojo/_base/array"],(function(t,e,n){var i=e.getObject("lang.functional",!0,t),o={},r="ab".split(/a*/).length>1?String.prototype.split:function(t){var e=this.split.call(this,t),n=t.exec(this);return n&&0==n.index&&e.unshift(""),e},a=function(t){var e=[],i=r.call(t,/\s*->\s*/m);if(i.length>1)for(;i.length;)t=i.pop(),e=i.pop().split(/\s*,\s*|\s+/m),i.length&&i.push("(function("+e.join(", ")+"){ return ("+t+"); })");else if(t.match(/\b_\b/))e=["_"];else{var o=t.match(/^\s*(?:[+*\/%&|\^\.=<>]|!=)/m),a=t.match(/[+\-*\/%&|\^\.=<>!]\s*$/m);if(o||a)o&&(e.push("$1"),t="$1"+t),a&&(e.push("$2"),t+="$2");else{var s=t.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)||[],l={};n.forEach(s,(function(t){l.hasOwnProperty(t)||(e.push(t),l[t]=1)}))}}return{args:e,body:t}};return e.mixin(i,{rawLambda:function(t){return a(t)},buildLambda:function(t){var e=a(t);return"function("+e.args.join(",")+"){return ("+e.body+");}"},lambda:function(t){if("function"==typeof t)return t;if(t instanceof Array)return(e=t).length?function(){var t=e.length-1,n=i.lambda(e[t]).apply(this,arguments);for(--t;t>=0;--t)n=i.lambda(e[t]).call(this,n);return n}:function(t){return t};var e;if(o.hasOwnProperty(t))return o[t];var n=a(t);return o[t]=new Function(n.args,"return ("+n.body+");")},clearLambdaCache:function(){o={}}}),i}))},647:function(t,e){define("dojox/lang/functional/lambda",["../..","dojo/_base/lang","dojo/_base/array"],(function(t,e,n){var i=e.getObject("lang.functional",!0,t),o={},r="ab".split(/a*/).length>1?String.prototype.split:function(t){var e=this.split.call(this,t),n=t.exec(this);return n&&0==n.index&&e.unshift(""),e},a=function(t){var e=[],i=r.call(t,/\s*->\s*/m);if(i.length>1)for(;i.length;)t=i.pop(),e=i.pop().split(/\s*,\s*|\s+/m),i.length&&i.push("(function("+e.join(", ")+"){ return ("+t+"); })");else if(t.match(/\b_\b/))e=["_"];else{var o=t.match(/^\s*(?:[+*\/%&|\^\.=<>]|!=)/m),a=t.match(/[+\-*\/%&|\^\.=<>!]\s*$/m);if(o||a)o&&(e.push("$1"),t="$1"+t),a&&(e.push("$2"),t+="$2");else{var s=t.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)||[],l={};n.forEach(s,(function(t){l.hasOwnProperty(t)||(e.push(t),l[t]=1)}))}}return{args:e,body:t}};return e.mixin(i,{rawLambda:function(t){return a(t)},buildLambda:function(t){var e=a(t);return"function("+e.args.join(",")+"){return ("+e.body+");}"},lambda:function(t){if("function"==typeof t)return t;if(t instanceof Array)return(e=t).length?function(){var t=e.length-1,n=i.lambda(e[t]).apply(this,arguments);for(--t;t>=0;--t)n=i.lambda(e[t]).call(this,n);return n}:function(t){return t};var e;if(o.hasOwnProperty(t))return o[t];var n=a(t);return o[t]=new Function(n.args,"return ("+n.body+");")},clearLambdaCache:function(){o={}}}),i}))},3032:function(t,e){define("dojox/lang/functional/object",["dojo/_base/kernel","dojo/_base/lang","./lambda"],(function(t,e,n){var i={};return e.mixin(n,{keys:function(t){var e=[];for(var n in t)n in i||e.push(n);return e},values:function(t){var e=[];for(var n in t)n in i||e.push(t[n]);return e},filterIn:function(e,o,r){r=r||t.global,o=n.lambda(o);var a,s,l={};for(s in e)s in i||(a=e[s],o.call(r,a,s,e)&&(l[s]=a));return l},forIn:function(e,o,r){for(var a in r=r||t.global,o=n.lambda(o),e)a in i||o.call(r,e[a],a,e);return r},mapIn:function(e,o,r){r=r||t.global,o=n.lambda(o);var a,s={};for(a in e)a in i||(s[a]=o.call(r,e[a],a,e));return s}}),n}))},211:function(t,e){define("dojox/lang/functional/object",["dojo/_base/kernel","dojo/_base/lang","./lambda"],(function(t,e,n){var i={};return e.mixin(n,{keys:function(t){var e=[];for(var n in t)n in i||e.push(n);return e},values:function(t){var e=[];for(var n in t)n in i||e.push(t[n]);return e},filterIn:function(e,o,r){r=r||t.global,o=n.lambda(o);var a,s,l={};for(s in e)s in i||(a=e[s],o.call(r,a,s,e)&&(l[s]=a));return l},forIn:function(e,o,r){for(var a in r=r||t.global,o=n.lambda(o),e)a in i||o.call(r,e[a],a,e);return r},mapIn:function(e,o,r){r=r||t.global,o=n.lambda(o);var a,s={};for(a in e)a in i||(s[a]=o.call(r,e[a],a,e));return s}}),n}))},2197:function(t,e){define("dojox/lang/functional/reversed",["dojo/_base/lang","dojo/_base/kernel","./lambda"],(function(t,e,n){return t.mixin(n,{filterRev:function(t,i,o){"string"==typeof t&&(t=t.split("")),o=o||e.global,i=n.lambda(i);for(var r,a=[],s=t.length-1;s>=0;--s)r=t[s],i.call(o,r,s,t)&&a.push(r);return a},forEachRev:function(t,i,o){"string"==typeof t&&(t=t.split("")),o=o||e.global,i=n.lambda(i);for(var r=t.length-1;r>=0;i.call(o,t[r],r,t),--r);},mapRev:function(t,i,o){"string"==typeof t&&(t=t.split("")),o=o||e.global,i=n.lambda(i);for(var r=t.length,a=new Array(r),s=r-1,l=0;s>=0;a[l++]=i.call(o,t[s],s,t),--s);return a},everyRev:function(t,i,o){"string"==typeof t&&(t=t.split("")),o=o||e.global,i=n.lambda(i);for(var r=t.length-1;r>=0;--r)if(!i.call(o,t[r],r,t))return!1;return!0},someRev:function(t,i,o){"string"==typeof t&&(t=t.split("")),o=o||e.global,i=n.lambda(i);for(var r=t.length-1;r>=0;--r)if(i.call(o,t[r],r,t))return!0;return!1}}),n}))},7654:function(t,e){define("dojox/lang/functional/reversed",["dojo/_base/lang","dojo/_base/kernel","./lambda"],(function(t,e,n){return t.mixin(n,{filterRev:function(t,i,o){"string"==typeof t&&(t=t.split("")),o=o||e.global,i=n.lambda(i);for(var r,a=[],s=t.length-1;s>=0;--s)r=t[s],i.call(o,r,s,t)&&a.push(r);return a},forEachRev:function(t,i,o){"string"==typeof t&&(t=t.split("")),o=o||e.global,i=n.lambda(i);for(var r=t.length-1;r>=0;i.call(o,t[r],r,t),--r);},mapRev:function(t,i,o){"string"==typeof t&&(t=t.split("")),o=o||e.global,i=n.lambda(i);for(var r=t.length,a=new Array(r),s=r-1,l=0;s>=0;a[l++]=i.call(o,t[s],s,t),--s);return a},everyRev:function(t,i,o){"string"==typeof t&&(t=t.split("")),o=o||e.global,i=n.lambda(i);for(var r=t.length-1;r>=0;--r)if(!i.call(o,t[r],r,t))return!1;return!0},someRev:function(t,i,o){"string"==typeof t&&(t=t.split("")),o=o||e.global,i=n.lambda(i);for(var r=t.length-1;r>=0;--r)if(i.call(o,t[r],r,t))return!0;return!1}}),n}))},3321:function(t,e){define("dojox/lang/functional/scan",["dojo/_base/kernel","dojo/_base/lang","./lambda"],(function(t,e,n){var i={};e.mixin(n,{scanl:function(o,r,a,s){var l,c,d;if("string"==typeof o&&(o=o.split("")),s=s||t.global,r=n.lambda(r),e.isArray(o))for((l=new Array((c=o.length)+1))[0]=a,d=0;d<c;a=r.call(s,a,o[d],d,o),l[++d]=a);else if("function"==typeof o.hasNext&&"function"==typeof o.next)for(l=[a],d=0;o.hasNext();l.push(a=r.call(s,a,o.next(),d++,o)));else for(d in l=[a],o)d in i||l.push(a=r.call(s,a,o[d],d,o));return l},scanl1:function(o,r,a){"string"==typeof o&&(o=o.split("")),a=a||t.global,r=n.lambda(r);var s,l,c,d=!0;if(e.isArray(o)){(s=new Array(l=o.length))[0]=c=o[0];for(var h=1;h<l;s[h]=c=r.call(a,c,o[h],h,o),++h);}else if("function"==typeof o.hasNext&&"function"==typeof o.next){if(o.hasNext())for(s=[c=o.next()],h=1;o.hasNext();s.push(c=r.call(a,c,o.next(),h++,o)));}else for(h in o)h in i||(d?(s=[c=o[h]],d=!1):s.push(c=r.call(a,c,o[h],h,o)));return s},scanr:function(e,i,o,r){"string"==typeof e&&(e=e.split("")),r=r||t.global,i=n.lambda(i);var a=e.length,s=new Array(a+1),l=a;for(s[a]=o;l>0;--l,o=i.call(r,o,e[l],l,e),s[l]=o);return s},scanr1:function(e,i,o){"string"==typeof e&&(e=e.split("")),o=o||t.global,i=n.lambda(i);var r=e.length,a=new Array(r),s=e[r-1],l=r-1;for(a[l]=s;l>0;--l,s=i.call(o,s,e[l],l,e),a[l]=s);return a}})}))},5873:function(t,e){define("dojox/lang/functional/scan",["dojo/_base/kernel","dojo/_base/lang","./lambda"],(function(t,e,n){var i={};e.mixin(n,{scanl:function(o,r,a,s){var l,c,d;if("string"==typeof o&&(o=o.split("")),s=s||t.global,r=n.lambda(r),e.isArray(o))for((l=new Array((c=o.length)+1))[0]=a,d=0;d<c;a=r.call(s,a,o[d],d,o),l[++d]=a);else if("function"==typeof o.hasNext&&"function"==typeof o.next)for(l=[a],d=0;o.hasNext();l.push(a=r.call(s,a,o.next(),d++,o)));else for(d in l=[a],o)d in i||l.push(a=r.call(s,a,o[d],d,o));return l},scanl1:function(o,r,a){"string"==typeof o&&(o=o.split("")),a=a||t.global,r=n.lambda(r);var s,l,c,d=!0;if(e.isArray(o)){(s=new Array(l=o.length))[0]=c=o[0];for(var h=1;h<l;s[h]=c=r.call(a,c,o[h],h,o),++h);}else if("function"==typeof o.hasNext&&"function"==typeof o.next){if(o.hasNext())for(s=[c=o.next()],h=1;o.hasNext();s.push(c=r.call(a,c,o.next(),h++,o)));}else for(h in o)h in i||(d?(s=[c=o[h]],d=!1):s.push(c=r.call(a,c,o[h],h,o)));return s},scanr:function(e,i,o,r){"string"==typeof e&&(e=e.split("")),r=r||t.global,i=n.lambda(i);var a=e.length,s=new Array(a+1),l=a;for(s[a]=o;l>0;--l,o=i.call(r,o,e[l],l,e),s[l]=o);return s},scanr1:function(e,i,o){"string"==typeof e&&(e=e.split("")),o=o||t.global,i=n.lambda(i);var r=e.length,a=new Array(r),s=e[r-1],l=r-1;for(a[l]=s;l>0;--l,s=i.call(o,s,e[l],l,e),a[l]=s);return a}})}))},7700:function(module,exports){define("dojox/lang/utils",["..","dojo/_base/lang"],(function(_1,_2){var du=_2.getObject("lang.utils",!0,_1),_3={},_4=Object.prototype.toString,_5=function(t){if(t)switch(_4.call(t)){case"[object Array]":return t.slice(0);case"[object Object]":return _2.delegate(t)}return t};return _2.mixin(du,{coerceType:function(_6,_7){switch(typeof _6){case"number":return Number(eval("("+_7+")"));case"string":return String(_7);case"boolean":return Boolean(eval("("+_7+")"))}return eval("("+_7+")")},updateWithObject:function(t,e,n){if(!e)return t;for(var i in t)if(i in e&&!(i in _3)){var o=t[i];o&&"object"==typeof o?du.updateWithObject(o,e[i],n):t[i]=n?du.coerceType(o,e[i]):_5(e[i])}return t},updateWithPattern:function(t,e,n,i){if(!e||!n)return t;for(var o in n)o in e&&!(o in _3)&&(t[o]=i?du.coerceType(n[o],e[o]):_5(e[o]));return t},merge:function(t,e){if(e){var n,i,o,r,a=_4.call(t),s=_4.call(e);switch(s){case"[object Array]":if(s==a){for(i=0,o=(n=new Array(Math.max(t.length,e.length))).length;i<o;++i)n[i]=du.merge(t[i],e[i]);return n}return e.slice(0);case"[object Object]":if(s==a&&t){for(i in n=_2.delegate(t),e)i in t?(o=t[i],(r=e[i])!==o&&(n[i]=du.merge(o,r))):n[i]=_2.clone(e[i]);return n}return _2.clone(e)}}return e}}),du}))},5191:function(module,exports){define("dojox/lang/utils",["..","dojo/_base/lang"],(function(dojox,lang){var du=lang.getObject("lang.utils",!0,dojox),empty={},opts=Object.prototype.toString,clone=function(t){if(t)switch(opts.call(t)){case"[object Array]":return t.slice(0);case"[object Object]":return lang.delegate(t)}return t};return lang.mixin(du,{coerceType:function(target,source){switch(typeof target){case"number":return Number(eval("("+source+")"));case"string":return String(source);case"boolean":return Boolean(eval("("+source+")"))}return eval("("+source+")")},updateWithObject:function(t,e,n){if(!e)return t;for(var i in t)if(i in e&&!(i in empty)){var o=t[i];o&&"object"==typeof o?du.updateWithObject(o,e[i],n):t[i]=n?du.coerceType(o,e[i]):clone(e[i])}return t},updateWithPattern:function(t,e,n,i){if(!e||!n)return t;for(var o in n)o in e&&!(o in empty)&&(t[o]=i?du.coerceType(n[o],e[o]):clone(e[o]));return t},merge:function(t,e){if(e){var n,i,o,r,a=opts.call(t),s=opts.call(e);switch(s){case"[object Array]":if(s==a){for(i=0,o=(n=new Array(Math.max(t.length,e.length))).length;i<o;++i)n[i]=du.merge(t[i],e[i]);return n}return e.slice(0);case"[object Object]":if(s==a&&t){for(i in n=lang.delegate(t),e)i in t?(o=t[i],(r=e[i])!==o&&(n[i]=du.merge(o,r))):n[i]=lang.clone(e[i]);return n}return lang.clone(e)}}return e}}),du}))},3931:function(t,e){define("dojox/main",["dojo/_base/kernel"],(function(t){return t.dojox}))},5740:function(t,e){define("dojox/main",["dojo/_base/kernel"],(function(t){return t.dojox}))},1421:function(t,e){define("dojox/storage/LocalStorageProvider",["dojo","dijit","dojox","dojo/require!dojox/storage/Provider,dojox/storage/manager"],(function(t,e,n){t.provide("dojox.storage.LocalStorageProvider"),t.require("dojox.storage.Provider"),t.require("dojox.storage.manager"),t.declare("dojox.storage.LocalStorageProvider",[n.storage.Provider],{store:null,initialize:function(){this.store=localStorage,this.initialized=!0,n.storage.manager.loaded()},isAvailable:function(){return"undefined"!=typeof localStorage},put:function(e,n,i,o){this._assertIsValidKey(e),o=o||this.DEFAULT_NAMESPACE,this._assertIsValidNamespace(o);var r=this.getFullKey(e,o);n=t.toJson(n);try{this.store.setItem(r,n),i&&i(this.SUCCESS,e,null,o)}catch(t){i&&i(this.FAILED,e,t.toString(),o)}},get:function(e,n){return this._assertIsValidKey(e),n=n||this.DEFAULT_NAMESPACE,this._assertIsValidNamespace(n),e=this.getFullKey(e,n),t.fromJson(this.store.getItem(e))},getKeys:function(t){t=t||this.DEFAULT_NAMESPACE,this._assertIsValidNamespace(t),t="__"+t+"_";for(var e=[],n=0;n<this.store.length;n++){var i=this.store.key(n);this._beginsWith(i,t)&&(i=i.substring(t.length),e.push(i))}return e},clear:function(e){e=e||this.DEFAULT_NAMESPACE,this._assertIsValidNamespace(e),e="__"+e+"_";for(var n=[],i=0;i<this.store.length;i++)this._beginsWith(this.store.key(i),e)&&n.push(this.store.key(i));t.forEach(n,t.hitch(this.store,"removeItem"))},remove:function(t,e){e=e||this.DEFAULT_NAMESPACE,this._assertIsValidNamespace(e),this.store.removeItem(this.getFullKey(t,e))},getNamespaces:function(){var t=[this.DEFAULT_NAMESPACE],e={};e[this.DEFAULT_NAMESPACE]=!0;for(var n=/^__([^_]*)_/,i=0;i<this.store.length;i++){var o=this.store.key(i);if(1==n.test(o)){var r=o.match(n)[1];void 0===e[r]&&(e[r]=!0,t.push(r))}}return t},isPermanent:function(){return!0},getMaximumSize:function(){return n.storage.SIZE_NO_LIMIT},hasSettingsUI:function(){return!1},isValidKey:function(t){return null!=t&&/^[0-9A-Za-z_-]*$/.test(t)},isValidNamespace:function(t){return null!=t&&/^[0-9A-Za-z-]*$/.test(t)},getFullKey:function(t,e){return"__"+e+"_"+t},_beginsWith:function(t,e){return!(e.length>t.length)&&t.substring(0,e.length)===e},_assertIsValidNamespace:function(t){if(!1===this.isValidNamespace(t))throw new Error("Invalid namespace given: "+t)},_assertIsValidKey:function(t){if(!1===this.isValidKey(t))throw new Error("Invalid key given: "+t)}}),n.storage.manager.register("dojox.storage.LocalStorageProvider",new n.storage.LocalStorageProvider)}))},926:function(t,e){define("dojox/storage/LocalStorageProvider",["dojo","dijit","dojox","dojo/require!dojox/storage/Provider,dojox/storage/manager"],(function(t,e,n){t.provide("dojox.storage.LocalStorageProvider"),t.require("dojox.storage.Provider"),t.require("dojox.storage.manager"),t.declare("dojox.storage.LocalStorageProvider",[n.storage.Provider],{store:null,initialize:function(){this.store=localStorage,this.initialized=!0,n.storage.manager.loaded()},isAvailable:function(){return"undefined"!=typeof localStorage},put:function(e,n,i,o){this._assertIsValidKey(e),o=o||this.DEFAULT_NAMESPACE,this._assertIsValidNamespace(o);var r=this.getFullKey(e,o);n=t.toJson(n);try{this.store.setItem(r,n),i&&i(this.SUCCESS,e,null,o)}catch(t){i&&i(this.FAILED,e,t.toString(),o)}},get:function(e,n){return this._assertIsValidKey(e),n=n||this.DEFAULT_NAMESPACE,this._assertIsValidNamespace(n),e=this.getFullKey(e,n),t.fromJson(this.store.getItem(e))},getKeys:function(t){t=t||this.DEFAULT_NAMESPACE,this._assertIsValidNamespace(t),t="__"+t+"_";for(var e=[],n=0;n<this.store.length;n++){var i=this.store.key(n);this._beginsWith(i,t)&&(i=i.substring(t.length),e.push(i))}return e},clear:function(e){e=e||this.DEFAULT_NAMESPACE,this._assertIsValidNamespace(e),e="__"+e+"_";for(var n=[],i=0;i<this.store.length;i++)this._beginsWith(this.store.key(i),e)&&n.push(this.store.key(i));t.forEach(n,t.hitch(this.store,"removeItem"))},remove:function(t,e){e=e||this.DEFAULT_NAMESPACE,this._assertIsValidNamespace(e),this.store.removeItem(this.getFullKey(t,e))},getNamespaces:function(){var t=[this.DEFAULT_NAMESPACE],e={};e[this.DEFAULT_NAMESPACE]=!0;for(var n=/^__([^_]*)_/,i=0;i<this.store.length;i++){var o=this.store.key(i);if(1==n.test(o)){var r=o.match(n)[1];void 0===e[r]&&(e[r]=!0,t.push(r))}}return t},isPermanent:function(){return!0},getMaximumSize:function(){return n.storage.SIZE_NO_LIMIT},hasSettingsUI:function(){return!1},isValidKey:function(t){return null!=t&&/^[0-9A-Za-z_-]*$/.test(t)},isValidNamespace:function(t){return null!=t&&/^[0-9A-Za-z-]*$/.test(t)},getFullKey:function(t,e){return"__"+e+"_"+t},_beginsWith:function(t,e){return!(e.length>t.length)&&t.substring(0,e.length)===e},_assertIsValidNamespace:function(t){if(!1===this.isValidNamespace(t))throw new Error("Invalid namespace given: "+t)},_assertIsValidKey:function(t){if(!1===this.isValidKey(t))throw new Error("Invalid key given: "+t)}}),n.storage.manager.register("dojox.storage.LocalStorageProvider",new n.storage.LocalStorageProvider)}))},7390:function(t,e){define("dojox/storage/Provider",["dojo","dijit","dojox"],(function(t,e,n){t.provide("dojox.storage.Provider"),t.declare("dojox.storage.Provider",null,{constructor:function(){},SUCCESS:"success",FAILED:"failed",PENDING:"pending",SIZE_NOT_AVAILABLE:"Size not available",SIZE_NO_LIMIT:"No size limit",DEFAULT_NAMESPACE:"default",onHideSettingsUI:null,initialize:function(){console.warn("dojox.storage.initialize not implemented")},isAvailable:function(){console.warn("dojox.storage.isAvailable not implemented")},put:function(t,e,n,i){console.warn("dojox.storage.put not implemented")},get:function(t,e){console.warn("dojox.storage.get not implemented")},hasKey:function(t,e){return!!this.get(t,e)},getKeys:function(t){console.warn("dojox.storage.getKeys not implemented")},clear:function(t){console.warn("dojox.storage.clear not implemented")},remove:function(t,e){console.warn("dojox.storage.remove not implemented")},getNamespaces:function(){console.warn("dojox.storage.getNamespaces not implemented")},isPermanent:function(){console.warn("dojox.storage.isPermanent not implemented")},getMaximumSize:function(){console.warn("dojox.storage.getMaximumSize not implemented")},putMultiple:function(t,e,i,o){for(var r=0;r<t.length;r++)n.storage.put(t[r],e[r],i,o)},getMultiple:function(t,e){for(var i=[],o=0;o<t.length;o++)i.push(n.storage.get(t[o],e));return i},removeMultiple:function(t,e){for(var i=0;i<t.length;i++)n.storage.remove(t[i],e)},isValidKeyArray:function(e){return!(null==e||!t.isArray(e)||t.some(e,(function(t){return!this.isValidKey(t)}),this))},hasSettingsUI:function(){return!1},showSettingsUI:function(){console.warn("dojox.storage.showSettingsUI not implemented")},hideSettingsUI:function(){console.warn("dojox.storage.hideSettingsUI not implemented")},isValidKey:function(t){return null!=t&&/^[0-9A-Za-z_]*$/.test(t)},getResourceList:function(){return[]}})}))},3386:function(t,e){define("dojox/storage/Provider",["dojo","dijit","dojox"],(function(t,e,n){t.provide("dojox.storage.Provider"),t.declare("dojox.storage.Provider",null,{constructor:function(){},SUCCESS:"success",FAILED:"failed",PENDING:"pending",SIZE_NOT_AVAILABLE:"Size not available",SIZE_NO_LIMIT:"No size limit",DEFAULT_NAMESPACE:"default",onHideSettingsUI:null,initialize:function(){console.warn("dojox.storage.initialize not implemented")},isAvailable:function(){console.warn("dojox.storage.isAvailable not implemented")},put:function(t,e,n,i){console.warn("dojox.storage.put not implemented")},get:function(t,e){console.warn("dojox.storage.get not implemented")},hasKey:function(t,e){return!!this.get(t,e)},getKeys:function(t){console.warn("dojox.storage.getKeys not implemented")},clear:function(t){console.warn("dojox.storage.clear not implemented")},remove:function(t,e){console.warn("dojox.storage.remove not implemented")},getNamespaces:function(){console.warn("dojox.storage.getNamespaces not implemented")},isPermanent:function(){console.warn("dojox.storage.isPermanent not implemented")},getMaximumSize:function(){console.warn("dojox.storage.getMaximumSize not implemented")},putMultiple:function(t,e,i,o){for(var r=0;r<t.length;r++)n.storage.put(t[r],e[r],i,o)},getMultiple:function(t,e){for(var i=[],o=0;o<t.length;o++)i.push(n.storage.get(t[o],e));return i},removeMultiple:function(t,e){for(var i=0;i<t.length;i++)n.storage.remove(t[i],e)},isValidKeyArray:function(e){return!(null==e||!t.isArray(e)||t.some(e,(function(t){return!this.isValidKey(t)}),this))},hasSettingsUI:function(){return!1},showSettingsUI:function(){console.warn("dojox.storage.showSettingsUI not implemented")},hideSettingsUI:function(){console.warn("dojox.storage.hideSettingsUI not implemented")},isValidKey:function(t){return null!=t&&/^[0-9A-Za-z_]*$/.test(t)},getResourceList:function(){return[]}})}))},1921:function(module,exports){define("dojox/storage/manager",["dojo","dijit","dojox"],(function(_1,_2,_3){_1.provide("dojox.storage.manager"),_3.storage.manager=new function(){this.currentProvider=null,this.available=!1,this.providers=[],this._initialized=!1,this._onLoadListeners=[],this.initialize=function(){this.autodetect()},this.register=function(t,e){this.providers.push(e),this.providers[t]=e},this.setProvider=function(t){},this.autodetect=function(){if(!this._initialized){for(var t,e=_1.config.forceStorageProvider||!1,n=0;n<this.providers.length;n++){if(t=this.providers[n],e&&e==t.declaredClass){t.isAvailable();break}if(!e&&t.isAvailable())break}if(!t)return this._initialized=!0,this.available=!1,this.currentProvider=null,console.warn("No storage provider found for this platform"),void this.loaded();this.currentProvider=t,_1.mixin(_3.storage,this.currentProvider),_3.storage.initialize(),this._initialized=!0,this.available=!0}},this.isAvailable=function(){return this.available},this.addOnLoad=function(t){this._onLoadListeners.push(t),this.isInitialized()&&this._fireLoaded()},this.removeOnLoad=function(t){for(var e=0;e<this._onLoadListeners.length;e++)if(t==this._onLoadListeners[e]){this._onLoadListeners.splice(e,1);break}},this.isInitialized=function(){return(null==this.currentProvider||"dojox.storage.FlashStorageProvider"!=this.currentProvider.declaredClass||0!=_3.flash.ready)&&this._initialized},this.supportsProvider=function(_b){try{var _c=eval("new "+_b+"()"),_d=_c.isAvailable();return _d||!1}catch(t){return!1}},this.getProvider=function(){return this.currentProvider},this.loaded=function(){this._fireLoaded()},this._fireLoaded=function(){_1.forEach(this._onLoadListeners,(function(t){try{t()}catch(t){}}))},this.getResourceList=function(){var t=[];return _1.forEach(_3.storage.manager.providers,(function(e){t=t.concat(e.getResourceList())})),t}}}))},3626:function(module,exports){define("dojox/storage/manager",["dojo","dijit","dojox"],(function(dojo,dijit,dojox){dojo.provide("dojox.storage.manager"),dojox.storage.manager=new function(){this.currentProvider=null,this.available=!1,this.providers=[],this._initialized=!1,this._onLoadListeners=[],this.initialize=function(){this.autodetect()},this.register=function(t,e){this.providers.push(e),this.providers[t]=e},this.setProvider=function(t){},this.autodetect=function(){if(!this._initialized){for(var t,e=dojo.config.forceStorageProvider||!1,n=0;n<this.providers.length;n++){if(t=this.providers[n],e&&e==t.declaredClass){t.isAvailable();break}if(!e&&t.isAvailable())break}if(!t)return this._initialized=!0,this.available=!1,this.currentProvider=null,console.warn("No storage provider found for this platform"),void this.loaded();this.currentProvider=t,dojo.mixin(dojox.storage,this.currentProvider),dojox.storage.initialize(),this._initialized=!0,this.available=!0}},this.isAvailable=function(){return this.available},this.addOnLoad=function(t){this._onLoadListeners.push(t),this.isInitialized()&&this._fireLoaded()},this.removeOnLoad=function(t){for(var e=0;e<this._onLoadListeners.length;e++)if(t==this._onLoadListeners[e]){this._onLoadListeners.splice(e,1);break}},this.isInitialized=function(){return(null==this.currentProvider||"dojox.storage.FlashStorageProvider"!=this.currentProvider.declaredClass||0!=dojox.flash.ready)&&this._initialized},this.supportsProvider=function(storageClass){try{var provider=eval("new "+storageClass+"()"),results=provider.isAvailable();return results||!1}catch(t){return!1}},this.getProvider=function(){return this.currentProvider},this.loaded=function(){this._fireLoaded()},this._fireLoaded=function(){dojo.forEach(this._onLoadListeners,(function(t){try{t()}catch(t){console.debug(t)}}))},this.getResourceList=function(){var t=[];return dojo.forEach(dojox.storage.manager.providers,(function(e){t=t.concat(e.getResourceList())})),t}}}))},3765:(t,e,n)=>{var i={"./dijit/BackgroundIframe.js":7090,"./dijit/BackgroundIframe.js.uncompressed.js":2165,"./dijit/Destroyable.js":4673,"./dijit/Destroyable.js.uncompressed.js":6537,"./dijit/Tooltip.js":5679,"./dijit/Tooltip.js.uncompressed.js":1912,"./dijit/Viewport.js":672,"./dijit/Viewport.js.uncompressed.js":9579,"./dijit/WidgetSet.js":2952,"./dijit/WidgetSet.js.uncompressed.js":4147,"./dijit/_AttachMixin.js":2827,"./dijit/_AttachMixin.js.uncompressed.js":3004,"./dijit/_Contained.js":3304,"./dijit/_Contained.js.uncompressed.js":5587,"./dijit/_Container.js":3502,"./dijit/_Container.js.uncompressed.js":5257,"./dijit/_CssStateMixin.js":1604,"./dijit/_CssStateMixin.js.uncompressed.js":5591,"./dijit/_FocusMixin.js":32,"./dijit/_FocusMixin.js.uncompressed.js":7451,"./dijit/_HasDropDown.js":1588,"./dijit/_HasDropDown.js.uncompressed.js":1719,"./dijit/_OnDijitClickMixin.js":4645,"./dijit/_OnDijitClickMixin.js.uncompressed.js":9126,"./dijit/_TemplatedMixin.js":5702,"./dijit/_TemplatedMixin.js.uncompressed.js":4737,"./dijit/_Widget.js":6893,"./dijit/_Widget.js.uncompressed.js":7534,"./dijit/_WidgetBase.js":796,"./dijit/_WidgetBase.js.uncompressed.js":271,"./dijit/_base.js":2880,"./dijit/_base.js.uncompressed.js":8427,"./dijit/_base/focus.js":4491,"./dijit/_base/focus.js.uncompressed.js":3276,"./dijit/_base/manager.js":2848,"./dijit/_base/manager.js.uncompressed.js":1819,"./dijit/_base/place.js":9180,"./dijit/_base/place.js.uncompressed.js":2415,"./dijit/_base/popup.js":3209,"./dijit/_base/popup.js.uncompressed.js":4418,"./dijit/_base/scroll.js":78,"./dijit/_base/scroll.js.uncompressed.js":3225,"./dijit/_base/sniff.js":4739,"./dijit/_base/sniff.js.uncompressed.js":4244,"./dijit/_base/typematic.js":7853,"./dijit/_base/typematic.js.uncompressed.js":478,"./dijit/_base/wai.js":4096,"./dijit/_base/wai.js.uncompressed.js":8667,"./dijit/_base/window.js":2247,"./dijit/_base/window.js.uncompressed.js":8832,"./dijit/a11y.js":7674,"./dijit/a11y.js.uncompressed.js":5069,"./dijit/a11yclick.js":1680,"./dijit/a11yclick.js.uncompressed.js":9595,"./dijit/focus.js":3912,"./dijit/focus.js.uncompressed.js":7763,"./dijit/form/Button.js":9987,"./dijit/form/Button.js.uncompressed.js":3636,"./dijit/form/ComboBox.js":1688,"./dijit/form/ComboBox.js.uncompressed.js":2787,"./dijit/form/ComboButton.js":6057,"./dijit/form/ComboButton.js.uncompressed.js":9394,"./dijit/form/DropDownButton.js":4650,"./dijit/form/DropDownButton.js.uncompressed.js":3181,"./dijit/form/ToggleButton.js":2575,"./dijit/form/ToggleButton.js.uncompressed.js":8552,"./dijit/form/_ButtonMixin.js":5606,"./dijit/form/_ButtonMixin.js.uncompressed.js":7730,"./dijit/form/_FormValueMixin.js":8942,"./dijit/form/_FormValueMixin.js.uncompressed.js":6217,"./dijit/form/_FormValueWidget.js":2271,"./dijit/form/_FormValueWidget.js.uncompressed.js":3464,"./dijit/form/_FormWidget.js":3972,"./dijit/form/_FormWidget.js.uncompressed.js":5831,"./dijit/form/_FormWidgetMixin.js":6443,"./dijit/form/_FormWidgetMixin.js.uncompressed.js":5628,"./dijit/form/_ToggleButtonMixin.js":9033,"./dijit/form/_ToggleButtonMixin.js.uncompressed.js":4210,"./dijit/hccss.js":6504,"./dijit/hccss.js.uncompressed.js":3555,"./dijit/layout/AccordionContainer.js":3498,"./dijit/layout/AccordionContainer.js.uncompressed.js":8141,"./dijit/layout/AccordionPane.js":3507,"./dijit/layout/AccordionPane.js.uncompressed.js":2148,"./dijit/layout/ContentPane.js":7416,"./dijit/layout/ContentPane.js.uncompressed.js":1635,"./dijit/layout/StackContainer.js":8652,"./dijit/layout/StackContainer.js.uncompressed.js":3311,"./dijit/layout/StackController.js":4628,"./dijit/layout/StackController.js.uncompressed.js":3568,"./dijit/layout/_ContentPaneResizeMixin.js":1486,"./dijit/layout/_ContentPaneResizeMixin.js.uncompressed.js":3305,"./dijit/layout/_LayoutWidget.js":1508,"./dijit/layout/_LayoutWidget.js.uncompressed.js":2839,"./dijit/layout/utils.js":1998,"./dijit/layout/utils.js.uncompressed.js":7721,"./dijit/main.js":7191,"./dijit/main.js.uncompressed.js":6451,"./dijit/nls/dijit-all_en-us.js":7025,"./dijit/nls/dijit-all_en-us.js.uncompressed.js":9626,"./dijit/nls/loading.js":1800,"./dijit/nls/loading.js.uncompressed.js":7171,"./dijit/place.js":603,"./dijit/place.js.uncompressed.js":3516,"./dijit/popup.js":9270,"./dijit/popup.js.uncompressed.js":4993,"./dijit/registry.js":1057,"./dijit/registry.js.uncompressed.js":6426,"./dijit/selection.js":8097,"./dijit/selection.js.uncompressed.js":7241,"./dijit/typematic.js":3614,"./dijit/typematic.js.uncompressed.js":8377,"./dojo/NodeList-manipulate.js":2179,"./dojo/NodeList-manipulate.js.uncompressed.js":6724,"./dojo/Stateful.js":3534,"./dojo/Stateful.js.uncompressed.js":9545,"./dojo/_base/url.js":1338,"./dojo/_base/url.js.uncompressed.js":6653,"./dojo/cache.js":4709,"./dojo/cache.js.uncompressed.js":5413,"./dojo/colors.js":1782,"./dojo/colors.js.uncompressed.js":6993,"./dojo/cookie.js":280,"./dojo/cookie.js.uncompressed.js":7139,"./dojo/date/stamp.js":6014,"./dojo/date/stamp.js.uncompressed.js":489,"./dojo/dojo.js":3080,"./dojo/dojo.js.uncompressed.js":5603,"./dojo/fx.js":4596,"./dojo/fx.js.uncompressed.js":3783,"./dojo/fx/Toggler.js":1037,"./dojo/fx/Toggler.js.uncompressed.js":2382,"./dojo/fx/easing.js":4974,"./dojo/fx/easing.js.uncompressed.js":7657,"./dojo/hccss.js":7452,"./dojo/hccss.js.uncompressed.js":2879,"./dojo/html.js":8699,"./dojo/html.js.uncompressed.js":7628,"./dojo/io/iframe.js":8793,"./dojo/io/iframe.js.uncompressed.js":1154,"./dojo/io/script.js":3174,"./dojo/io/script.js.uncompressed.js":6401,"./dojo/parser.js":5929,"./dojo/parser.js.uncompressed.js":7378,"./dojo/promise/all.js":5009,"./dojo/promise/all.js.uncompressed.js":586,"./dojo/regexp.js":6163,"./dojo/regexp.js.uncompressed.js":5412,"./dojo/request/iframe.js":6620,"./dojo/request/iframe.js.uncompressed.js":2399,"./dojo/request/script.js":1339,"./dojo/request/script.js.uncompressed.js":2956,"./dojo/require.js":9431,"./dojo/require.js.uncompressed.js":2160,"./dojo/string.js":1699,"./dojo/string.js.uncompressed.js":7316,"./dojo/touch.js":403,"./dojo/touch.js.uncompressed.js":9140,"./dojo/uacss.js":8053,"./dojo/uacss.js.uncompressed.js":9158,"./dojo/window.js":2682,"./dojo/window.js.uncompressed.js":6877,"./dojox/charting/Chart.js":5857,"./dojox/charting/Chart.js.uncompressed.js":4026,"./dojox/charting/Chart2D.js":1903,"./dojox/charting/Chart2D.js.uncompressed.js":4232,"./dojox/charting/Element.js":1597,"./dojox/charting/Element.js.uncompressed.js":6030,"./dojox/charting/Series.js":1968,"./dojox/charting/Series.js.uncompressed.js":5867,"./dojox/charting/SimpleTheme.js":8614,"./dojox/charting/SimpleTheme.js.uncompressed.js":7569,"./dojox/charting/Theme.js":4400,"./dojox/charting/Theme.js.uncompressed.js":6683,"./dojox/charting/action2d/Base.js":3481,"./dojox/charting/action2d/Base.js.uncompressed.js":1010,"./dojox/charting/action2d/Highlight.js":9026,"./dojox/charting/action2d/Highlight.js.uncompressed.js":3317,"./dojox/charting/action2d/Magnify.js":3081,"./dojox/charting/action2d/Magnify.js.uncompressed.js":7298,"./dojox/charting/action2d/MoveSlice.js":7711,"./dojox/charting/action2d/MoveSlice.js.uncompressed.js":5560,"./dojox/charting/action2d/PlotAction.js":6801,"./dojox/charting/action2d/PlotAction.js.uncompressed.js":5082,"./dojox/charting/action2d/Tooltip.js":5037,"./dojox/charting/action2d/Tooltip.js.uncompressed.js":4590,"./dojox/charting/axis2d/Base.js":7732,"./dojox/charting/axis2d/Base.js.uncompressed.js":2263,"./dojox/charting/axis2d/Default.js":3812,"./dojox/charting/axis2d/Default.js.uncompressed.js":311,"./dojox/charting/axis2d/Invisible.js":4122,"./dojox/charting/axis2d/Invisible.js.uncompressed.js":2221,"./dojox/charting/axis2d/common.js":4776,"./dojox/charting/axis2d/common.js.uncompressed.js":6963,"./dojox/charting/plot2d/Areas.js":1877,"./dojox/charting/plot2d/Areas.js.uncompressed.js":8790,"./dojox/charting/plot2d/Bars.js":4321,"./dojox/charting/plot2d/Bars.js.uncompressed.js":1610,"./dojox/charting/plot2d/Base.js":3794,"./dojox/charting/plot2d/Base.js.uncompressed.js":7781,"./dojox/charting/plot2d/Bubble.js":1205,"./dojox/charting/plot2d/Bubble.js.uncompressed.js":9318,"./dojox/charting/plot2d/Candlesticks.js":6359,"./dojox/charting/plot2d/Candlesticks.js.uncompressed.js":8576,"./dojox/charting/plot2d/CartesianBase.js":5876,"./dojox/charting/plot2d/CartesianBase.js.uncompressed.js":6823,"./dojox/charting/plot2d/ClusteredBars.js":4154,"./dojox/charting/plot2d/ClusteredBars.js.uncompressed.js":4138,"./dojox/charting/plot2d/ClusteredColumns.js":7973,"./dojox/charting/plot2d/ClusteredColumns.js.uncompressed.js":198,"./dojox/charting/plot2d/Columns.js":7964,"./dojox/charting/plot2d/Columns.js.uncompressed.js":2287,"./dojox/charting/plot2d/Default.js":9498,"./dojox/charting/plot2d/Default.js.uncompressed.js":9405,"./dojox/charting/plot2d/Grid.js":8011,"./dojox/charting/plot2d/Grid.js.uncompressed.js":4764,"./dojox/charting/plot2d/Lines.js":3164,"./dojox/charting/plot2d/Lines.js.uncompressed.js":4191,"./dojox/charting/plot2d/Markers.js":780,"./dojox/charting/plot2d/Markers.js.uncompressed.js":3343,"./dojox/charting/plot2d/MarkersOnly.js":82,"./dojox/charting/plot2d/MarkersOnly.js.uncompressed.js":5701,"./dojox/charting/plot2d/OHLC.js":6533,"./dojox/charting/plot2d/OHLC.js.uncompressed.js":6838,"./dojox/charting/plot2d/Pie.js":2329,"./dojox/charting/plot2d/Pie.js.uncompressed.js":2626,"./dojox/charting/plot2d/Scatter.js":3109,"./dojox/charting/plot2d/Scatter.js.uncompressed.js":1702,"./dojox/charting/plot2d/Spider.js":9174,"./dojox/charting/plot2d/Spider.js.uncompressed.js":2097,"./dojox/charting/plot2d/Stacked.js":3358,"./dojox/charting/plot2d/Stacked.js.uncompressed.js":8297,"./dojox/charting/plot2d/StackedAreas.js":6686,"./dojox/charting/plot2d/StackedAreas.js.uncompressed.js":7177,"./dojox/charting/plot2d/StackedBars.js":2520,"./dojox/charting/plot2d/StackedBars.js.uncompressed.js":5683,"./dojox/charting/plot2d/StackedColumns.js":651,"./dojox/charting/plot2d/StackedColumns.js.uncompressed.js":5836,"./dojox/charting/plot2d/StackedLines.js":2203,"./dojox/charting/plot2d/StackedLines.js.uncompressed.js":1612,"./dojox/charting/plot2d/_PlotEvents.js":3179,"./dojox/charting/plot2d/_PlotEvents.js.uncompressed.js":6083,"./dojox/charting/plot2d/common.js":110,"./dojox/charting/plot2d/common.js.uncompressed.js":5545,"./dojox/charting/plot2d/commonStacked.js":1697,"./dojox/charting/plot2d/commonStacked.js.uncompressed.js":250,"./dojox/charting/scaler/common.js":7005,"./dojox/charting/scaler/common.js.uncompressed.js":8926,"./dojox/charting/scaler/linear.js":8625,"./dojox/charting/scaler/linear.js.uncompressed.js":6490,"./dojox/charting/scaler/primitive.js":6711,"./dojox/charting/scaler/primitive.js.uncompressed.js":80,"./dojox/charting/themes/Claro.js":901,"./dojox/charting/themes/Claro.js.uncompressed.js":518,"./dojox/charting/themes/Wetland.js":317,"./dojox/charting/themes/Wetland.js.uncompressed.js":2606,"./dojox/charting/themes/common.js":7611,"./dojox/charting/themes/common.js.uncompressed.js":7196,"./dojox/charting/widget/Legend.js":7837,"./dojox/charting/widget/Legend.js.uncompressed.js":7118,"./dojox/color/Palette.js":1411,"./dojox/color/Palette.js.uncompressed.js":6180,"./dojox/color/_base.js":7980,"./dojox/color/_base.js.uncompressed.js":8495,"./dojox/gfx.js":5963,"./dojox/gfx.js.uncompressed.js":6828,"./dojox/gfx/_base.js":364,"./dojox/gfx/_base.js.uncompressed.js":8607,"./dojox/gfx/fx.js":5084,"./dojox/gfx/fx.js.uncompressed.js":6543,"./dojox/gfx/gradutils.js":217,"./dojox/gfx/gradutils.js.uncompressed.js":4482,"./dojox/gfx/matrix.js":6055,"./dojox/gfx/matrix.js.uncompressed.js":7904,"./dojox/gfx/path.js":2261,"./dojox/gfx/path.js.uncompressed.js":1222,"./dojox/gfx/shape.js":7701,"./dojox/gfx/shape.js.uncompressed.js":550,"./dojox/gfx/svg.js":4574,"./dojox/gfx/svg.js.uncompressed.js":1977,"./dojox/gfx/utils.js":1021,"./dojox/gfx/utils.js.uncompressed.js":9790,"./dojox/lang/functional.js":7744,"./dojox/lang/functional.js.uncompressed.js":3291,"./dojox/lang/functional/array.js":7938,"./dojox/lang/functional/array.js.uncompressed.js":4917,"./dojox/lang/functional/fold.js":9296,"./dojox/lang/functional/fold.js.uncompressed.js":1355,"./dojox/lang/functional/lambda.js":8964,"./dojox/lang/functional/lambda.js.uncompressed.js":647,"./dojox/lang/functional/object.js":3032,"./dojox/lang/functional/object.js.uncompressed.js":211,"./dojox/lang/functional/reversed.js":2197,"./dojox/lang/functional/reversed.js.uncompressed.js":7654,"./dojox/lang/functional/scan.js":3321,"./dojox/lang/functional/scan.js.uncompressed.js":5873,"./dojox/lang/utils.js":7700,"./dojox/lang/utils.js.uncompressed.js":5191,"./dojox/main.js":3931,"./dojox/main.js.uncompressed.js":5740,"./dojox/storage/LocalStorageProvider.js":1421,"./dojox/storage/LocalStorageProvider.js.uncompressed.js":926,"./dojox/storage/Provider.js":7390,"./dojox/storage/Provider.js.uncompressed.js":3386,"./dojox/storage/manager.js":1921,"./dojox/storage/manager.js.uncompressed.js":3626};function o(t){var e=r(t);return n(e)}function r(t){if(!n.o(i,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}o.keys=function(){return Object.keys(i)},o.resolve=r,t.exports=o,o.id=3765}},__webpack_module_cache__={};function __webpack_require__(t){var e=__webpack_module_cache__[t];if(void 0!==e)return e.exports;var n=__webpack_module_cache__[t]={exports:{}};return __webpack_modules__[t].call(n.exports,n,n.exports,__webpack_require__),n.exports}__webpack_require__.d=(t,e)=>{for(var n in e)__webpack_require__.o(e,n)&&!__webpack_require__.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},__webpack_require__.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),__webpack_require__.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var __webpack_exports__={};(()=>{"use strict";async function t(){return window.dojo$=window.dojo$||{},window.dojo$.initPromise||(window.dojo$.initPromise=(async()=>{const t="dojo: _package.initDojo()";console.debug(`${t}, start`),console.debug(`${t}, loadModules(), before`);const e=window.performance.now();await async function(){window.dojo$.ctx=__webpack_require__(3765),window.dojo$.uncompressed="",window.dojo$.ctx("./dojo/dojo.js")}();const n=window.performance.now();console.debug(`${t}, loadModules(), after, ET: ${n-e} ms`),console.debug(`${t}, end`)})()),window.dojo$.initPromise}__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{initDojo:()=>t}),(async()=>{await t()})()})(),helm_dojo=__webpack_exports__})();
|
|
2
|
+
//# sourceMappingURL=package-dojo.js.map
|