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

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

		http://dojotoolkit.org
*/

//>>built
(function(b,i){var h,n,m=function(){},j=function(a){for(var b in a)return 0;return 1},o={}.toString,l=function(a){return"[object Function]"==o.call(a)},g=function(a){return"[object String]"==o.call(a)},a=function(a){return"[object Array]"==o.call(a)},d=function(a,b){if(a)for(var c=0;c<a.length;)b(a[c++])},c=function(a,b){for(var c in b)a[c]=b[c];return a},e=function(a,b){return c(Error(a),{src:"dojoLoader",info:b})},f=1,p=function(){return"_"+f++},k=function(a,b,c){return Ha(a,b,c,0,k)},q=this,r=
q.document,s=r&&r.createElement("DiV"),t=k.has=function(a){return l(x[a])?x[a]=x[a](q,r,s):x[a]},x=t.cache=i.hasCache;t.add=function(a,b,c,e){(void 0===x[a]||e)&&(x[a]=b);return c&&t(a)};for(var v in b.has)t.add(v,b.has[v],0,1);var u=0,w=[],H=0,F=m,P=m,I;k.isXdUrl=m;k.initSyncLoader=function(a,b,c){H||(H=a,F=b,P=c);return{sync:"sync",requested:1,arrived:2,nonmodule:3,executing:4,executed:5,syncExecStack:w,modules:y,execQ:M,getModule:R,injectModule:la,setArrived:Y,signal:E,finishExec:aa,execModule:ba,
dojoRequirePlugin:H,getLegacyMode:function(){return u},guardCheckComplete:ca}};var N=location.protocol,V=location.host;k.isXdUrl=function(a){if(/^\./.test(a))return!1;return/^\/\//.test(a)?!0:(a=a.match(/^([^\/\:]+\:)\/+([^\/]+)/))&&(a[1]!=N||V&&a[2]!=V)};t.add("dojo-force-activex-xhr",!r.addEventListener&&"file:"==window.location.protocol);t.add("native-xhr","undefined"!=typeof XMLHttpRequest);if(t("native-xhr")&&!t("dojo-force-activex-xhr"))I=function(){return new XMLHttpRequest};else{var z=["Msxml2.XMLHTTP",
"Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],B;for(h=0;3>h;)try{if(B=z[h++],new ActiveXObject(B))break}catch(K){}I=function(){return new ActiveXObject(B)}}k.getXhr=I;t.add("dojo-gettext-api",1);k.getText=function(a,b,c){var d=I();d.open("GET",ma(a),!1);d.send(null);if(200==d.status||!location.host&&!d.status)c&&c(d.responseText,b);else throw e("xhrFailed",d.status);return d.responseText};var D=new Function("return eval(arguments[0]);");k.eval=function(a,b){return D(a+"\r\n////@ sourceURL="+b)};var G=
{},E=k.signal=function(b,c){var e=G[b];d(e&&e.slice(0),function(b){b.apply(null,a(c)?c:[c])})},da=k.on=function(a,b){var c=G[a]||(G[a]=[]);c.push(b);return{remove:function(){for(var a=0;a<c.length;a++)if(c[a]===b){c.splice(a,1);break}}}},Q=[],W={},L=[],C={},S=k.map={},A=[],y={},ea="",J={},Z={},T={},na=function(a){var b,c,d,e;for(b in Z)c=Z[b],(d=b.match(/^url\:(.+)/))?J["url:"+Ia(d[1],a)]=c:"*now"==b?e=c:"*noref"!=b&&(d=fa(b,a),J[d.mid]=J["url:"+d.url]=c);e&&e(xa(a));Z={}},Ja=function(a){return a.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,
function(a){return"\\"+a})},ya=function(a,b){b.splice(0,b.length);for(var c in a)b.push([c,a[c],RegExp("^"+Ja(c)+"(/|$)"),c.length]);b.sort(function(a,b){return b[3]-a[3]});return b},Ka=function(a){var b=a.name;b||(b=a,a={name:b});a=c({main:"main"},a);a.location=a.location?a.location:b;if(a.packageMap)S[b]=a.packageMap;if(!a.main.indexOf("./"))a.main=a.main.substring(2);C[b]=a},La=[],ga=function(a,b,e){for(var f in a){if("waitSeconds"==f)k.waitms=1E3*(a[f]||0);"cacheBust"==f&&(ea=a[f]?g(a[f])?a[f]:
(new Date).getTime()+"":"");if("baseUrl"==f||"combo"==f)k[f]=a[f];if("async"==f){var j=a[f];k.legacyMode=u=g(j)&&/sync|legacyAsync/.test(j)?j:!j?"sync":!1;k.async=!u}a[f]!==x&&(k.rawConfig[f]=a[f],"has"!=f&&t.add("config-"+f,a[f],0,b))}if(!k.baseUrl)k.baseUrl="./";/\/$/.test(k.baseUrl)||(k.baseUrl+="/");for(f in a.has)t.add(f,a.has[f],0,b);d(a.packages,Ka);for(n in a.packagePaths)d(a.packagePaths[n],function(a){var b=n+"/"+a;g(a)&&(a={name:a});a.location=b;Ka(a)});ya(c(S,a.map),A);d(A,function(a){a[1]=
ya(a[1],[]);if("*"==a[0])A.star=a[1]});ya(c(W,a.paths),L);d(a.aliases,function(a){g(a[0])&&(a[0]=RegExp("^"+Ja(a[0])+"$"));Q.push(a)});if(b)La.push({config:a.config});else for(f in a.config)b=R(f,e),b.config=c(b.config||{},a.config[f]);if(a.cache)na(),Z=a.cache,a.cache["*noref"]&&na();E("config",[a,k.rawConfig])};t("dojo-cdn");var Ma=r.getElementsByTagName("script");h=0;for(var oa,X,pa,ha;h<Ma.length;)if(oa=Ma[h++],(pa=oa.getAttribute("src"))&&(ha=pa.match(/(((.*)\/)|^)dojo\.js(\W|$)/i))){X=ha[3]||
"";i.baseUrl=i.baseUrl||X;(pa=oa.getAttribute("data-dojo-config")||oa.getAttribute("djConfig"))&&(T=k.eval("({ "+pa+" })","data-dojo-config"));break}k.rawConfig={};ga(i,1);if(t("dojo-cdn"))(C.dojo.location=X)&&(X+="/"),C.dijit.location=X+"../dijit/",C.dojox.location=X+"../dojox/";ga(b,1);ga(T,1);var ia=function(a){ca(function(){d(a.deps,la)})},Ha=function(b,d,f,j,l){var q;if(g(b)){if((q=R(b,j,!0))&&q.executed)return q.result;throw e("undefinedModule",b);}a(b)||(ga(b,0,j),b=d,d=f);if(a(b))if(b.length){for(var f=
"require*"+p(),s,h=[],o=0;o<b.length;)s=b[o++],h.push(R(s,j));q=c(qa("",f,0,""),{injected:2,deps:h,def:d||m,require:j?j.require:k,gc:1});y[q.mid]=q;ia(q);var i=ja&&"sync"!=u;ca(function(){ba(q,i)});q.executed||M.push(q);$()}else d&&d();return l},xa=function(a){if(!a)return k;var b=a.require;if(!b)b=function(c,d,e){return Ha(c,d,e,a,b)},a.require=c(b,k),b.module=a,b.toUrl=function(b){return Ia(b,a)},b.toAbsMid=function(b){return za(b,a)},b.syncLoadNls=function(b){var b=fa(b,a),c=y[b.mid];if(!c||!c.executed)if(U=
J[b.mid]||J["url:"+b.url])ra(U),c=y[b.mid];return c&&c.executed&&c.result};return b},M=[],sa=[],O={},Ya=function(a){a.injected=1;O[a.mid]=1;a.url&&(O[a.url]=a.pack||1);Na()},Y=function(a){a.injected=2;delete O[a.mid];a.url&&delete O[a.url];j(O)&&(ta(),"xd"==u&&(u="sync"))},Za=k.idle=function(){return!sa.length&&j(O)&&!M.length&&!ja},Aa=function(a,b){if(b)for(var c=0;c<b.length;c++)if(b[c][2].test(a))return b[c];return 0},Oa=function(a){for(var b=[],c,d,a=a.replace(/\\/g,"/").split("/");a.length;)c=
a.shift(),".."==c&&b.length&&".."!=d?(b.pop(),d=b[b.length-1]):"."!=c&&b.push(d=c);return b.join("/")},qa=function(a,b,c,d){var e=k.isXdUrl(d);return{pid:a,mid:b,pack:c,url:d,executed:0,def:0,isXd:e,isAmd:!!(e||C[a]&&C[a].isAmd)}},Pa=function(a,b,c,f,k,g,j,q){var p,s,h,o;o=/^\./.test(a);if(/(^\/)|(\:)|(\.js$)/.test(a)||o&&!b)return qa(0,a,0,a);a=Oa(o?b.mid+"/../"+a:a);if(/^\./.test(a))throw e("irrationalPath",a);b&&(h=Aa(b.mid,g));(h=(h=h||g.star)&&Aa(a,h[1]))&&(a=h[1]+a.substring(h[3]));b=(ha=a.match(/^([^\/]+)(\/(.+))?$/))?
ha[1]:"";(p=c[b])?a=b+"/"+(s=ha[3]||p.main):b="";var m=0;d(Q,function(b){var c=a.match(b[0]);c&&0<c.length&&(m=l(b[1])?a.replace(b[0],b[1]):b[1])});if(m)return Pa(m,0,c,f,k,g,j,q);if(c=f[a])return q?qa(c.pid,c.mid,c.pack,c.url):f[a];f=(h=Aa(a,j))?h[1]+a.substring(h[3]):b?p.location+"/"+s:t("config-tlmSiblingOfDojo")?"../"+a:a;/(^\/)|(\:)/.test(f)||(f=k+f);return qa(b,a,p,Oa(f+".js"))},fa=function(a,b){return Pa(a,b,C,y,k.baseUrl,A,L)},Qa=function(a,b,c){return a.normalize?a.normalize(b,function(a){return za(a,
c)}):za(b,c)},Ra=0,R=function(a,b,c){var d,e;(d=a.match(/^(.+?)\!(.*)$/))?(e=R(d[1],b,c),"sync"==u&&!e.executed&&(la(e),2===e.injected&&!e.executed&&ca(function(){ba(e)}),e.executed?ua(e):M.unshift(e)),5===e.executed&&!e.load&&ua(e),e.load?(d=Qa(e,d[2],b),a=e.mid+"!"+(e.dynamic?++Ra+"!":"")+d):(d=d[2],a=e.mid+"!"+ ++Ra+"!waitingForPlugin"),a={plugin:e,mid:a,req:xa(b),prid:d}):a=fa(a,b);return y[a.mid]||!c&&(y[a.mid]=a)},za=k.toAbsMid=function(a,b){return fa(a,b).mid},Ia=k.toUrl=function(a,b){var c=
fa(a+"/x",b),d=c.url;return ma(0===c.pid?a:d.substring(0,d.length-5))},Sa={injected:2,executed:5,def:3,result:3},Ba=function(a){return y[a]=c({mid:a},Sa)},$a=Ba("require"),ab=Ba("exports"),bb=Ba("module"),va={},Ca=0,ua=function(a){var b=a.result;a.dynamic=b.dynamic;a.normalize=b.normalize;a.load=b.load;return a},cb=function(a){var b={};d(a.loadQ,function(d){var e=Qa(a,d.prid,d.req.module),f=a.dynamic?d.mid.replace(/waitingForPlugin$/,e):a.mid+"!"+e,e=c(c({},d),{mid:f,prid:e,injected:0});y[f]||Ta(y[f]=
e);b[d.mid]=y[f];Y(d);delete y[d.mid]});a.loadQ=0;var e=function(a){for(var c=a.deps||[],d=0;d<c.length;d++)(a=b[c[d].mid])&&(c[d]=a)},f;for(f in y)e(y[f]);d(M,e)},aa=function(a){k.trace("loader-finish-exec",[a.mid]);a.executed=5;a.defOrder=Ca++;d(a.provides,function(a){a()});a.loadQ&&(ua(a),cb(a));for(h=0;h<M.length;)M[h]===a?M.splice(h,1):h++;/^require\*/.test(a.mid)&&delete y[a.mid]},db=[],ba=function(a,b){if(4===a.executed)return k.trace("loader-circular-dependency",[db.concat(a.mid).join("->")]),
!a.def||b?va:a.cjs&&a.cjs.exports;if(!a.executed){if(!a.def)return va;var c=a.mid,d=a.deps||[],f,g=[],j=0;for(a.executed=4;j<d.length;){f=d[j++];f=f===$a?xa(a):f===ab?a.cjs.exports:f===bb?a.cjs:ba(f,b);if(f===va)return a.executed=0,k.trace("loader-exec-module",["abort",c]),va;g.push(f)}k.trace("loader-run-factory",[a.mid]);var c=a.def,q;w.unshift(a);if(t("config-dojo-loader-catches"))try{q=l(c)?c.apply(null,g):c}catch(p){E("error",a.result=e("factoryThrew",[a,p]))}else q=l(c)?c.apply(null,g):c;a.result=
void 0===q&&a.cjs?a.cjs.exports:q;w.shift(a);aa(a)}return a.result},ja=0,ca=function(a){try{ja++,a()}finally{ja--}Za()&&E("idle",[])},$=function(){ja||ca(function(){F();for(var a,b,c=0;c<M.length;)a=Ca,b=M[c],ba(b),a!=Ca?(F(),c=0):c++})};void 0===t("dojo-loader-eval-hint-url")&&t.add("dojo-loader-eval-hint-url",1);var ma=function(a){a+="";return a+(ea?(/\?/.test(a)?"&":"?")+ea:"")},Ta=function(a){var b=a.plugin;5===b.executed&&!b.load&&ua(b);var c=function(b){a.result=b;Y(a);aa(a);$()};b.load?b.load(a.prid,
a.req,c):b.loadQ?b.loadQ.push(a):(b.loadQ=[a],M.unshift(b),la(b))},U=0,ka=0,Da=0,ra=function(a,b){t("config-stripStrict")&&(a=a.replace(/"use strict"/g,""));Da=1;if(t("config-dojo-loader-catches"))try{a===U?U.call(null):k.eval(a,t("dojo-loader-eval-hint-url")?b.url:b.mid)}catch(c){E("error",e("evalModuleThrew",b))}else a===U?U.call(null):k.eval(a,t("dojo-loader-eval-hint-url")?b.url:b.mid);Da=0},la=function(a){var b=a.mid,f=a.url;if(!a.executed&&!a.injected&&!(O[b]||a.url&&(a.pack&&O[a.url]===a.pack||
1==O[a.url])))if(Ya(a),a.plugin)Ta(a);else{var g=function(){Ua(a);2!==a.injected&&(Y(a),c(a,Sa),k.trace("loader-define-nonmodule",[a.url]));u?!w.length&&$():$()};if(U=J[b]||J["url:"+a.url])k.trace("loader-inject",["cache",a.mid,f]),ra(U,a),g();else{if(u)if(a.isXd)"sync"==u&&(u="xd");else if(!(a.isAmd&&"sync"!=u)){var j=function(c){if("sync"==u){w.unshift(a);ra(c,a);w.shift();Ua(a);a.cjs||(Y(a),aa(a));if(a.finish){var c=b+"*finish",e=a.finish;delete a.finish;Ea(c,["dojo",("dojo/require!"+e.join(",")).replace(/\./g,
"/")],function(a){d(e,function(b){a.require(b)})});M.unshift(R(c))}g()}else(c=P(a,c))?(ra(c,a),g()):(ka=a,k.injectUrl(ma(f),g,a),ka=0)};k.trace("loader-inject",["xhr",a.mid,f,"sync"!=u]);if(t("config-dojo-loader-catches"))try{k.getText(f,"sync"!=u,j)}catch(q){E("error",e("xhrInjectFailed",[a,q]))}else k.getText(f,"sync"!=u,j);return}k.trace("loader-inject",["script",a.mid,f]);ka=a;k.injectUrl(ma(f),g,a);ka=0}}},Fa=function(a,b,d){k.trace("loader-define-module",[a.mid,b]);var f=a.mid;if(2===a.injected)return E("error",
e("multipleDefine",a)),a;c(a,{deps:b,def:d,cjs:{id:a.mid,uri:a.url,exports:a.result={},setExports:function(b){a.cjs.exports=b},config:function(){return a.config}}});for(var g=0;g<b.length;g++)b[g]=R(b[g],a);u&&!O[f]&&(ia(a),M.push(a),$());Y(a);if(!l(d)&&!b.length)a.result=d,aa(a);return a},Ua=function(a,b){for(var c=[],e,f;sa.length;)f=sa.shift(),b&&(f[0]=b.shift()),e=f[0]&&R(f[0])||a,c.push([e,f[1],f[2]]);na(a);d(c,function(a){ia(Fa.apply(null,a))})},wa=0,ta=m,Na=m;ta=function(){wa&&clearTimeout(wa);
wa=0};Na=function(){ta();k.waitms&&(wa=window.setTimeout(function(){ta();E("error",e("timeout",O))},k.waitms))};t.add("ie-event-behavior",!!r.attachEvent&&("undefined"===typeof opera||"[object Opera]"!=opera.toString()));var Ga=function(a,b,c,d){if(t("ie-event-behavior"))return a.attachEvent(c,d),function(){a.detachEvent(c,d)};a.addEventListener(b,d,!1);return function(){a.removeEventListener(b,d,!1)}},eb=Ga(window,"load","onload",function(){k.pageLoaded=1;"complete"!=r.readyState&&(r.readyState=
"complete");eb()}),Va=r.getElementsByTagName("script")[0],fb=Va.parentNode;k.injectUrl=function(a,b,c){var c=c.node=r.createElement("script"),d=Ga(c,"load","onreadystatechange",function(a){var a=a||window.event,c=a.target||a.srcElement;if("load"===a.type||/complete|loaded/.test(c.readyState))d(),f(),b&&b()}),f=Ga(c,"error","onerror",function(b){d();f();E("error",e("scriptError",[a,b]))});c.type="text/javascript";c.charset="utf-8";c.src=a;fb.insertBefore(c,Va);return c};k.log=function(){try{for(var a=
0;a<arguments.length;a++);}catch(b){}};k.trace=m;var Ea=function(a,b,c){var d=arguments.length,f=["require","exports","module"],j=[0,a,b];1==d?j=[0,l(a)?f:[],a]:2==d&&g(a)?j=[a,l(b)?f:[],b]:3==d&&(j=[a,b,c]);k.trace("loader-define",j.slice(0,2));if((d=j[0]&&R(j[0]))&&!O[d.mid])ia(Fa(d,j[1],j[2]));else if(!t("ie-event-behavior")||Da)sa.push(j);else{d=d||ka;if(!d)for(a in O)if((f=y[a])&&f.node&&"interactive"===f.node.readyState){d=f;break}d?(na(d),ia(Fa(d,j[1],j[2]))):E("error",e("ieDefineFailed",j[0]));
$()}};Ea.amd={vendor:"dojotoolkit.org"};c(c(k,i.loaderPatch),b.loaderPatch);da("error",function(a){try{if(console.error(a),a instanceof Error)for(var b in a);}catch(c){}});c(k,{uid:p,cache:J,packs:C});if(q.define)E("error",e("defineAlreadyDefined",0));else{q.define=Ea;q.require=k;d(La,function(a){ga(a)});var Wa=T.deps||b.deps||i.deps,Xa=T.callback||b.callback||i.callback;k.boot=Wa||Xa?[Wa||[],Xa]:0}})(this.dojoConfig||this.djConfig||this.require||{},{async:"legacyAsync",hasCache:{"config-selectorEngine":"acme",
"config-tlmSiblingOfDojo":1,"dojo-built":1,"dojo-cdn":1,"dojo-loader":1,dom:1,"host-browser":1},packages:[{location:"../dijit",name:"dijit"},{location:"../dojox",name:"dojox"},{location:".",name:"dojo"}]});
require({cache:{"dojo/_base/fx":function(){define("dojo/_base/fx","./kernel,./config,./lang,../Evented,./Color,./connect,./sniff,../dom,../dom-style".split(","),function(b,i,h,n,m,j,o,l,g){var a=h.mixin,d={},c=d._Line=function(a,b){this.start=a;this.end=b};c.prototype.getValue=function(a){return(this.end-this.start)*a+this.start};var e=d.Animation=function(b){a(this,b);if(h.isArray(this.curve))this.curve=new c(this.curve[0],this.curve[1])};e.prototype=new n;h.extend(e,{duration:350,repeat:0,rate:20,
_percent:0,_startRepeatCount:0,_getStep:function(){var a=this._percent,b=this.easing;return b?b(a):a},_fire:function(a,b){var c=b||[];if(this[a])if(i.debugAtAllCosts)this[a].apply(this,c);else try{this[a].apply(this,c)}catch(d){console.error("exception in animation handler for:",a),console.error(d)}return this},play:function(a,b){this._delayTimer&&this._clearTimer();if(b)this._stopTimer(),this._active=this._paused=!1,this._percent=0;else if(this._active&&!this._paused)return this;this._fire("beforeBegin",
[this.node]);var c=a||this.delay,d=h.hitch(this,"_play",b);if(0<c)return this._delayTimer=setTimeout(d,c),this;d();return this},_play:function(){this._delayTimer&&this._clearTimer();this._startTime=(new Date).valueOf();this._paused&&(this._startTime-=this.duration*this._percent);this._active=!0;this._paused=!1;var a=this.curve.getValue(this._getStep());if(!this._percent){if(!this._startRepeatCount)this._startRepeatCount=this.repeat;this._fire("onBegin",[a])}this._fire("onPlay",[a]);this._cycle();
return this},pause:function(){this._delayTimer&&this._clearTimer();this._stopTimer();if(!this._active)return this;this._paused=!0;this._fire("onPause",[this.curve.getValue(this._getStep())]);return this},gotoPercent:function(a,b){this._stopTimer();this._active=this._paused=!0;this._percent=a;b&&this.play();return this},stop:function(a){this._delayTimer&&this._clearTimer();if(!this._timer)return this;this._stopTimer();if(a)this._percent=1;this._fire("onStop",[this.curve.getValue(this._getStep())]);
this._active=this._paused=!1;return this},status:function(){return this._active?this._paused?"paused":"playing":"stopped"},_cycle:function(){if(this._active){var a=(new Date).valueOf(),a=0===this.duration?1:(a-this._startTime)/this.duration;1<=a&&(a=1);this._percent=a;this.easing&&(a=this.easing(a));this._fire("onAnimate",[this.curve.getValue(a)]);if(1>this._percent)this._startTimer();else{this._active=!1;if(0<this.repeat)this.repeat--,this.play(null,!0);else if(-1==this.repeat)this.play(null,!0);
else if(this._startRepeatCount)this.repeat=this._startRepeatCount,this._startRepeatCount=0;this._percent=0;this._fire("onEnd",[this.node]);!this.repeat&&this._stopTimer()}}return this},_clearTimer:function(){clearTimeout(this._delayTimer);delete this._delayTimer}});var f=0,p=null,k={run:function(){}};h.extend(e,{_startTimer:function(){if(!this._timer)this._timer=j.connect(k,"run",this,"_cycle"),f++;p||(p=setInterval(h.hitch(k,"run"),this.rate))},_stopTimer:function(){if(this._timer)j.disconnect(this._timer),
this._timer=null,f--;0>=f&&(clearInterval(p),p=null,f=0)}});var q=o("ie")?function(a){var b=a.style;if(!b.width.length&&"auto"==g.get(a,"width"))b.width="auto"}:function(){};d._fade=function(b){b.node=l.byId(b.node);var c=a({properties:{}},b),b=c.properties.opacity={};b.start=!("start"in c)?function(){return+g.get(c.node,"opacity")||0}:c.start;b.end=c.end;b=d.animateProperty(c);j.connect(b,"beforeBegin",h.partial(q,c.node));return b};d.fadeIn=function(b){return d._fade(a({end:1},b))};d.fadeOut=function(b){return d._fade(a({end:0},
b))};d._defaultEasing=function(a){return 0.5+Math.sin((a+1.5)*Math.PI)/2};var r=function(a){this._properties=a;for(var b in a){var c=a[b];if(c.start instanceof m)c.tempColor=new m}};r.prototype.getValue=function(a){var b={},c;for(c in this._properties){var d=this._properties[c],e=d.start;e instanceof m?b[c]=m.blendColors(e,d.end,a,d.tempColor).toCss():h.isArray(e)||(b[c]=(d.end-e)*a+e+("opacity"!=c?d.units||"px":0))}return b};d.animateProperty=function(c){var d=c.node=l.byId(c.node);if(!c.easing)c.easing=
b._defaultEasing;c=new e(c);j.connect(c,"beforeBegin",c,function(){var b={},c;for(c in this.properties){if("width"==c||"height"==c)this.node.display="block";var e=this.properties[c];h.isFunction(e)&&(e=e(d));e=b[c]=a({},h.isObject(e)?e:{end:e});if(h.isFunction(e.start))e.start=e.start(d);if(h.isFunction(e.end))e.end=e.end(d);var f=0<=c.toLowerCase().indexOf("color"),k=function(a,b){var c={height:a.offsetHeight,width:a.offsetWidth}[b];if(void 0!==c)return c;c=g.get(a,b);return"opacity"==b?+c:f?c:parseFloat(c)};
if("end"in e){if(!("start"in e))e.start=k(d,c)}else e.end=k(d,c);f?(e.start=new m(e.start),e.end=new m(e.end)):e.start="opacity"==c?+e.start:parseFloat(e.start)}this.curve=new r(b)});j.connect(c,"onAnimate",h.hitch(g,"set",c.node));return c};d.anim=function(a,b,c,f,k,g){return d.animateProperty({node:a,duration:c||e.prototype.duration,properties:b,easing:f,onEnd:k}).play(g||0)};a(b,d);b._Animation=e;return d})},"dojo/dom-form":function(){define(["./_base/lang","./dom","./io-query","./json"],function(b,
i,h,n){var m={fieldToObject:function(b){var h=null;if(b=i.byId(b)){var l=b.name,g=(b.type||"").toLowerCase();if(l&&g&&!b.disabled)if("radio"==g||"checkbox"==g){if(b.checked)h=b.value}else if(b.multiple){h=[];for(b=[b.firstChild];b.length;)for(l=b.pop();l;l=l.nextSibling)if(1==l.nodeType&&"option"==l.tagName.toLowerCase())l.selected&&h.push(l.value);else{l.nextSibling&&b.push(l.nextSibling);l.firstChild&&b.push(l.firstChild);break}}else h=b.value}return h},toObject:function(j){for(var h={},j=i.byId(j).elements,
l=0,g=j.length;l<g;++l){var a=j[l],d=a.name,c=(a.type||"").toLowerCase();if(d&&c&&0>"file|submit|image|reset|button".indexOf(c)&&!a.disabled){var e=h,f=d,a=m.fieldToObject(a);if(null!==a){var p=e[f];"string"==typeof p?e[f]=[p,a]:b.isArray(p)?p.push(a):e[f]=a}if("image"==c)h[d+".x"]=h[d+".y"]=h[d].x=h[d].y=0}}return h},toQuery:function(b){return h.objectToQuery(m.toObject(b))},toJson:function(b,h){return n.stringify(m.toObject(b),null,h?4:0)}};return m})},"dojo/i18n":function(){define("./_base/kernel,require,./has,./_base/array,./_base/config,./_base/lang,./_base/xhr,./json,module".split(","),
function(b,i,h,n,m,j,o,l,g){h.add("dojo-preload-i18n-Api",1);var a=b.i18n={},d=/(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,c=function(a,b,c,d){for(var e=[c+d],b=b.split("-"),f="",k=0;k<b.length;k++)f+=(f?"-":"")+b[k],(!a||a[f])&&e.push(c+f+"/"+d);return e},e={},f=function(a,c,d){d=d?d.toLowerCase():b.locale;a=a.replace(/\./g,"/");c=c.replace(/\./g,"/");return/root/i.test(d)?a+"/nls/"+c:a+"/nls/"+d+"/"+c};b.getL10nName=function(a,b,c){return g.id+"!"+f(a,b,c)};var p=function(a,b,d,f,k,g){a([b],function(q){var l=
j.clone(q.root),p=c(!q._v1x&&q,k,d,f);a(p,function(){for(var a=1;a<p.length;a++)l=j.mixin(j.clone(l),arguments[a]);e[b+"/"+k]=l;g()})})},k=function(a){var b=m.extraLocale||[],b=j.isArray(b)?b:[b];b.push(a);return b},q=function(a,c,f){if(h("dojo-preload-i18n-Api")){var g=a.split("*"),q="preload"==g[1];q&&(e[a]||(e[a]=1,v(g[2],l.parse(g[3]),1,c)),f(1));if(!(g=q))t&&x.push([a,c,f]),g=t;if(g)return}var a=d.exec(a),m=a[1]+"/",o=a[5]||a[4],i=m+o,g=(a=a[5]&&a[4])||b.locale,s=i+"/"+g,a=a?[g]:k(g),w=a.length,
r=function(){--w||f(j.delegate(e[s]))};n.forEach(a,function(a){var b=i+"/"+a;h("dojo-preload-i18n-Api")&&u(b);e[b]?r():p(c,i,m,o,a,r)})};if(h("dojo-unit-tests"))var r=a.unitTests=[];h("dojo-preload-i18n-Api");var s=a.normalizeLocale=function(a){a=a?a.toLowerCase():b.locale;return"root"==a?"ROOT":a},t=0,x=[],v=a._preloadLocalizations=function(a,c,d,f){function k(a,b){f.isXdUrl(i.toUrl(a+".js"))||d?f([a],b):F([a],b,f)}function g(a,b){for(var c=a.split("-");c.length;){if(b(c.join("-")))return;c.pop()}b("ROOT")}
function j(b){b=s(b);g(b,function(b){if(0<=n.indexOf(c,b)){var d=a.replace(/\./g,"/")+"_"+b;t++;k(d,function(a){for(var c in a)e[i.toAbsMid(c)+"/"+b]=a[c];for(--t;!t&&x.length;)q.apply(null,x.shift())});return!0}return!1})}f=f||i;j();n.forEach(b.config.extraLocale,j)},u=function(){},w={},H=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;}"),
F=function(a,b,c){var d=[];n.forEach(a,function(a){function b(c){c=H(c,u,a,w);c===w?d.push(e[f]=w.result):(c instanceof Error&&(console.error("failed to evaluate i18n bundle; url="+f,c),c={}),d.push(e[f]=/nls\/[^\/]+\/[^\/]+$/.test(f)?c:{root:c,_v1x:1}))}var f=c.toUrl(a+".js");if(e[f])d.push(e[f]);else{var k=c.syncLoadNls(a);if(k)d.push(k);else if(o)o.get({url:f,sync:!0,load:b,error:function(){d.push(e[f]={})}});else try{c.getText(f,!0,b)}catch(g){d.push(e[f]={})}}});b&&b.apply(null,d)},u=function(a){for(var c,
d=a.split("/"),f=b.global[d[0]],k=1;f&&k<d.length-1;f=f[d[k++]]);f&&((c=f[d[k]])||(c=f[d[k].replace(/-/g,"_")]),c&&(e[a]=c));return c};a.getLocalization=function(a,b,c){var d,a=f(a,b,c);q(a,!i.isXdUrl(i.toUrl(a+".js"))?function(a,b){F(a,b,i)}:i,function(a){d=a});return d};h("dojo-unit-tests")&&r.push(function(a){a.register("tests.i18n.unit",function(a){var b;b=H("{prop:1}",u,"nonsense",w);a.is({prop:1},b);a.is(void 0,b[1]);b=H("({prop:1})",u,"nonsense",w);a.is({prop:1},b);a.is(void 0,b[1]);b=H("{'prop-x':1}",
u,"nonsense",w);a.is({"prop-x":1},b);a.is(void 0,b[1]);b=H("({'prop-x':1})",u,"nonsense",w);a.is({"prop-x":1},b);a.is(void 0,b[1]);b=H("define({'prop-x':1})",u,"nonsense",w);a.is(w,b);a.is({"prop-x":1},w.result);b=H("define('some/module', {'prop-x':1})",u,"nonsense",w);a.is(w,b);a.is({"prop-x":1},w.result);b=H("this is total nonsense and should throw an error",u,"nonsense",w);a.is(b instanceof Error,!0)})});return j.mixin(a,{dynamic:!0,normalize:function(a,b){return/^\./.test(a)?b(a):a},load:q,cache:e})})},
"dojo/promise/tracer":function(){define("dojo/promise/tracer",["../_base/lang","./Promise","../Evented"],function(b,i,h){function n(b){setTimeout(function(){j.apply(m,b)},0)}var m=new h,j=m.emit;m.emit=null;i.prototype.trace=function(){var j=b._toArray(arguments);this.then(function(b){n(["resolved",b].concat(j))},function(b){n(["rejected",b].concat(j))},function(b){n(["progress",b].concat(j))});return this};i.prototype.traceRejected=function(){var j=b._toArray(arguments);this.otherwise(function(b){n(["rejected",
b].concat(j))});return this};return m})},"dojo/errors/RequestError":function(){define("dojo/errors/RequestError",["./create"],function(b){return b("RequestError",function(b,h){this.response=h})})},"dojo/_base/html":function(){define("./kernel,../dom,../dom-style,../dom-attr,../dom-prop,../dom-class,../dom-construct,../dom-geometry".split(","),function(b,i,h,n,m,j,o,l){b.byId=i.byId;b.isDescendant=i.isDescendant;b.setSelectable=i.setSelectable;b.getAttr=n.get;b.setAttr=n.set;b.hasAttr=n.has;b.removeAttr=
n.remove;b.getNodeProp=n.getNodeProp;b.attr=function(b,a,d){return 2==arguments.length?n["string"==typeof a?"get":"set"](b,a):n.set(b,a,d)};b.hasClass=j.contains;b.addClass=j.add;b.removeClass=j.remove;b.toggleClass=j.toggle;b.replaceClass=j.replace;b._toDom=b.toDom=o.toDom;b.place=o.place;b.create=o.create;b.empty=function(b){o.empty(b)};b._destroyElement=b.destroy=function(b){o.destroy(b)};b._getPadExtents=b.getPadExtents=l.getPadExtents;b._getBorderExtents=b.getBorderExtents=l.getBorderExtents;
b._getPadBorderExtents=b.getPadBorderExtents=l.getPadBorderExtents;b._getMarginExtents=b.getMarginExtents=l.getMarginExtents;b._getMarginSize=b.getMarginSize=l.getMarginSize;b._getMarginBox=b.getMarginBox=l.getMarginBox;b.setMarginBox=l.setMarginBox;b._getContentBox=b.getContentBox=l.getContentBox;b.setContentSize=l.setContentSize;b._isBodyLtr=b.isBodyLtr=l.isBodyLtr;b._docScroll=b.docScroll=l.docScroll;b._getIeDocumentElementOffset=b.getIeDocumentElementOffset=l.getIeDocumentElementOffset;b._fixIeBiDiScrollLeft=
b.fixIeBiDiScrollLeft=l.fixIeBiDiScrollLeft;b.position=l.position;b.marginBox=function(b,a){return a?l.setMarginBox(b,a):l.getMarginBox(b)};b.contentBox=function(b,a){return a?l.setContentSize(b,a):l.getContentBox(b)};b.coords=function(g,a){b.deprecated("dojo.coords()","Use dojo.position() or dojo.marginBox().");var g=i.byId(g),d=h.getComputedStyle(g),d=l.getMarginBox(g,d),c=l.position(g,a);d.x=c.x;d.y=c.y;return d};b.getProp=m.get;b.setProp=m.set;b.prop=function(b,a,d){return 2==arguments.length?
m["string"==typeof a?"get":"set"](b,a):m.set(b,a,d)};b.getStyle=h.get;b.setStyle=h.set;b.getComputedStyle=h.getComputedStyle;b.__toPixelValue=b.toPixelValue=h.toPixelValue;b.style=function(b,a,d){switch(arguments.length){case 1:return h.get(b);case 2:return h["string"==typeof a?"get":"set"](b,a)}return h.set(b,a,d)};return b})},"dojo/_base/kernel":function(){define(["../has","./config","require","module"],function(b,i,h,n){var m,j={},o={},l={config:i,global:this,dijit:j,dojox:o},j={dojo:["dojo",l],
dijit:["dijit",j],dojox:["dojox",o]},n=h.map&&h.map[n.id.match(/[^\/]+/)[0]];for(m in n)j[m]?j[m][0]=n[m]:j[m]=[n[m],{}];for(m in j)n=j[m],n[1]._scopeName=n[0],i.noGlobals||(this[n[0]]=n[1]);l.scopeMap=j;l.baseUrl=l.config.baseUrl=h.baseUrl;l.isAsync=h.async;l.locale=i.locale;n="$Rev: 29262 $".match(/\d+/);l.version={major:1,minor:8,patch:1,flag:"",revision:n?+n[0]:NaN,toString:function(){var a=l.version;return a.major+"."+a.minor+"."+a.patch+a.flag+" ("+a.revision+")"}};Function("d","d.eval = function(){return d.global.eval ? d.global.eval(arguments[0]) : eval(arguments[0]);}")(l);
l.exit=function(){};"undefined"!=typeof console||(console={});for(var j="assert,count,debug,dir,dirxml,error,group,groupEnd,info,profile,profileEnd,time,timeEnd,trace,warn,log".split(","),g,n=0;g=j[n++];)console[g]||function(){var a=g+"";console[a]="log"in console?function(){var b=Array.apply({},arguments);b.unshift(a+":");console.log(b.join(" "))}:function(){};console[a]._fake=!0}();b.add("dojo-debug-messages",!!i.isDebug);l.deprecated=l.experimental=function(){};if(b("dojo-debug-messages"))l.deprecated=
function(a,b,c){a="DEPRECATED: "+a;b&&(a+=" "+b);c&&(a+=" -- will be removed in version: "+c);console.warn(a)},l.experimental=function(a,b){var c="EXPERIMENTAL: "+a+" -- APIs subject to change without notice.";b&&(c+=" "+b);console.warn(c)};if(i.modulePaths){l.deprecated("dojo.modulePaths","use paths configuration");b={};for(m in i.modulePaths)b[m.replace(/\./g,"/")]=i.modulePaths[m];h({paths:b})}l.moduleUrl=function(a,b){l.deprecated("dojo.moduleUrl()","use require.toUrl","2.0");var c=null;a&&(c=
h.toUrl(a.replace(/\./g,"/")+(b?"/"+b:"")+"/*.*").replace(/\/\*\.\*/,"")+(b?"":"/"));return c};l._hasResource={};return l})},"dojo/io-query":function(){define(["./_base/lang"],function(b){var i={};return{objectToQuery:function(h){var n=encodeURIComponent,m=[],j;for(j in h){var o=h[j];if(o!=i[j]){var l=n(j)+"=";if(b.isArray(o))for(var g=0,a=o.length;g<a;++g)m.push(l+n(o[g]));else m.push(l+n(o))}}return m.join("&")},queryToObject:function(h){for(var i=decodeURIComponent,h=h.split("&"),m={},j,o,l=0,
g=h.length;l<g;++l)if(o=h[l],o.length){var a=o.indexOf("=");0>a?(j=i(o),o=""):(j=i(o.slice(0,a)),o=i(o.slice(a+1)));"string"==typeof m[j]&&(m[j]=[m[j]]);b.isArray(m[j])?m[j].push(o):m[j]=o}return m}}})},"dojo/_base/Deferred":function(){define("./kernel,../Deferred,../promise/Promise,../errors/CancelError,../has,./lang,../when".split(","),function(b,i,h,n,m,j,o){var l=function(){},g=Object.freeze||function(){},a=b.Deferred=function(b){function c(a){if(p)throw Error("This deferred has already been resolved");
f=a;p=!0;e()}function e(){for(var a;!a&&o;){var b=o;o=o.next;if(a=b.progress==l)p=!1;var c=k?b.error:b.resolved;m("config-useDeferredInstrumentation")&&k&&i.instrumentRejected&&i.instrumentRejected(f,!!c);if(c)try{var d=c(f);d&&"function"===typeof d.then?d.then(j.hitch(b.deferred,"resolve"),j.hitch(b.deferred,"reject"),j.hitch(b.deferred,"progress")):(c=a&&void 0===d,a&&!c&&(k=d instanceof Error),b.deferred[c&&k?"reject":"resolve"](c?f:d))}catch(e){b.deferred.reject(e)}else k?b.deferred.reject(f):
b.deferred.resolve(f)}}var f,p,k,q,o,s=this.promise=new h;this.resolve=this.callback=function(a){this.fired=0;this.results=[a,null];c(a)};this.reject=this.errback=function(a){k=!0;this.fired=1;m("config-useDeferredInstrumentation")&&i.instrumentRejected&&i.instrumentRejected(a,!!o);c(a);this.results=[null,a]};this.progress=function(a){for(var b=o;b;){var c=b.progress;c&&c(a);b=b.next}};this.addCallbacks=function(a,b){this.then(a,b,l);return this};s.then=this.then=function(b,c,d){var f=d==l?this:new a(s.cancel),
b={resolved:b,error:c,progress:d,deferred:f};o?q=q.next=b:o=q=b;p&&e();return f.promise};var t=this;s.cancel=this.cancel=function(){if(!p){var a=b&&b(t);if(!p)a instanceof Error||(a=new n(a)),a.log=!1,t.reject(a)}};g(s)};j.extend(a,{addCallback:function(a){return this.addCallbacks(j.hitch.apply(b,arguments))},addErrback:function(a){return this.addCallbacks(null,j.hitch.apply(b,arguments))},addBoth:function(a){var c=j.hitch.apply(b,arguments);return this.addCallbacks(c,c)},fired:-1});a.when=b.when=
o;return a})},"dojo/NodeList-dom":function(){define("./_base/kernel,./query,./_base/array,./_base/lang,./dom-class,./dom-construct,./dom-geometry,./dom-attr,./dom-style".split(","),function(b,i,h,n,m,j,o,l,g){function a(a){return function(b,c,d){return 2==arguments.length?a["string"==typeof c?"get":"set"](b,c):a.set(b,c,d)}}var d=function(a){return 1==a.length&&"string"==typeof a[0]},c=function(a){var b=a.parentNode;b&&b.removeChild(a)},e=i.NodeList,f=e._adaptWithCondition,p=e._adaptAsForEach,k=e._adaptAsMap;
n.extend(e,{_normalize:function(a,c){var d=!0===a.parse;if("string"==typeof a.template)var e=a.templateFunc||b.string&&b.string.substitute,a=e?e(a.template,a):a;e=typeof a;"string"==e||"number"==e?(a=j.toDom(a,c&&c.ownerDocument),a=11==a.nodeType?n._toArray(a.childNodes):[a]):n.isArrayLike(a)?n.isArray(a)||(a=n._toArray(a)):a=[a];if(d)a._runParse=!0;return a},_cloneNode:function(a){return a.cloneNode(!0)},_place:function(a,c,d,e){if(!(1!=c.nodeType&&"only"==d))for(var f,k=a.length,g=k-1;0<=g;g--){var p=
e?this._cloneNode(a[g]):a[g];if(a._runParse&&b.parser&&b.parser.parse){f||(f=c.ownerDocument.createElement("div"));f.appendChild(p);b.parser.parse(f);for(p=f.firstChild;f.firstChild;)f.removeChild(f.firstChild)}g==k-1?j.place(p,c,d):c.parentNode.insertBefore(p,c);c=p}},position:k(o.position),attr:f(a(l),d),style:f(a(g),d),addClass:p(m.add),removeClass:p(m.remove),toggleClass:p(m.toggle),replaceClass:p(m.replace),empty:p(j.empty),removeAttr:p(l.remove),marginBox:k(o.getMarginBox),place:function(a,
b){var c=i(a)[0];return this.forEach(function(a){j.place(a,c,b)})},orphan:function(a){return(a?i._filterResult(this,a):this).forEach(c)},adopt:function(a,b){return i(a).place(this[0],b)._stash(this)},query:function(a){if(!a)return this;var b=new e;this.map(function(c){i(a,c).forEach(function(a){void 0!==a&&b.push(a)})});return b._stash(this)},filter:function(a){var b=arguments,c=this,d=0;if("string"==typeof a){c=i._filterResult(this,b[0]);if(1==b.length)return c._stash(this);d=1}return this._wrap(h.filter(c,
b[d],b[d+1]),this)},addContent:function(a,b){for(var a=this._normalize(a,this[0]),c=0,d;d=this[c];c++)this._place(a,d,b,0<c);return this}});return e})},"dojo/query":function(){define("./_base/kernel,./has,./dom,./on,./_base/array,./_base/lang,./selector/_loader,./selector/_loader!default".split(","),function(b,i,h,n,m,j,o,l){function g(a,b){var c=function(c,d){if("string"==typeof d&&(d=h.byId(d),!d))return new b([]);var e="string"==typeof c?a(c,d):c?c.orphan?c:[c]:[];return e.orphan?e:new b(e)};c.matches=
a.match||function(a,b,d){return 0<c.filter([a],b,d).length};c.filter=a.filter||function(a,b,d){return c(b,d).filter(function(b){return-1<m.indexOf(a,b)})};if("function"!=typeof a)var d=a.search,a=function(a,b){return d(b||document,a)};return c}i.add("array-extensible",function(){return 1==j.delegate([],{length:1}).length&&!i("bug-for-in-skips-shadowed")});var a=Array.prototype,d=a.slice,c=a.concat,e=m.forEach,f=function(a,c,e){c=[0].concat(d.call(c,0));e=e||b.global;return function(b){c[0]=b;return a.apply(e,
c)}},p=function(a){var b=this instanceof k&&i("array-extensible");"number"==typeof a&&(a=Array(a));var c=a&&"length"in a?a:arguments;if(b||!c.sort){for(var d=b?this:[],e=d.length=c.length,f=0;f<e;f++)d[f]=c[f];if(b)return d;c=d}j._mixin(c,q);c._NodeListCtor=function(a){return k(a)};return c},k=p,q=k.prototype=i("array-extensible")?[]:{};k._wrap=q._wrap=function(a,b,c){a=new (c||this._NodeListCtor||k)(a);return b?a._stash(b):a};k._adaptAsMap=function(a,b){return function(){return this.map(f(a,arguments,
b))}};k._adaptAsForEach=function(a,b){return function(){this.forEach(f(a,arguments,b));return this}};k._adaptAsFilter=function(a,b){return function(){return this.filter(f(a,arguments,b))}};k._adaptWithCondition=function(a,c,d){return function(){var e=arguments,k=f(a,e,d);if(c.call(d||b.global,e))return this.map(k);this.forEach(k);return this}};e(["slice","splice"],function(b){var c=a[b];q[b]=function(){return this._wrap(c.apply(this,arguments),"slice"==b?this:null)}});e(["indexOf","lastIndexOf","every",
"some"],function(a){var c=m[a];q[a]=function(){return c.apply(b,[this].concat(d.call(arguments,0)))}});j.extend(p,{constructor:k,_NodeListCtor:k,toString:function(){return this.join(",")},_stash:function(a){this._parent=a;return this},on:function(a,b){var c=this.map(function(c){return n(c,a,b)});c.remove=function(){for(var a=0;a<c.length;a++)c[a].remove()};return c},end:function(){return this._parent?this._parent:new this._NodeListCtor(0)},concat:function(a){var b=d.call(this,0),e=m.map(arguments,
function(a){return d.call(a,0)});return this._wrap(c.apply(b,e),this)},map:function(a,b){return this._wrap(m.map(this,a,b),this)},forEach:function(a,b){e(this,a,b);return this},filter:function(a){var b=arguments,c=this,d=0;if("string"==typeof a){c=r._filterResult(this,b[0]);if(1==b.length)return c._stash(this);d=1}return this._wrap(m.filter(c,b[d],b[d+1]),this)},instantiate:function(a,b){var c=j.isFunction(a)?a:j.getObject(a),b=b||{};return this.forEach(function(a){new c(b,a)})},at:function(){var a=
new this._NodeListCtor(0);e(arguments,function(b){0>b&&(b=this.length+b);this[b]&&a.push(this[b])},this);return a._stash(this)}});var r=g(l,p);b.query=g(l,function(a){return p(a)});r.load=function(a,b,c){o.load(a,b,function(a){c(g(a,p))})};b._filterQueryResult=r._filterResult=function(a,b,c){return new p(r.filter(a,b,c))};b.NodeList=r.NodeList=p;return r})},"dojo/has":function(){define(["require","module"],function(b){var i=b.has||function(){};i.add("dom-addeventlistener",!!document.addEventListener);
i.add("touch","ontouchstart"in document);i.add("device-width",screen.availWidth||innerWidth);b=document.createElement("form");i.add("dom-attributes-explicit",0==b.attributes.length);i.add("dom-attributes-specified-flag",0<b.attributes.length&&40>b.attributes.length);i.clearElement=function(b){b.innerHTML="";return b};i.normalize=function(b,n){var m=b.match(/[\?:]|[^:\?]*/g),j=0,o=function(b){var g=m[j++];if(":"==g)return 0;if("?"==m[j++]){if(!b&&i(g))return o();o(!0);return o(b)}return g||0};return(b=
o())&&n(b)};i.load=function(b,i,m){b?i([b],m):m()};return i})},"dojo/_base/loader":function(){define("./kernel,../has,require,module,./json,./lang,./array".split(","),function(b,i,h,n,m,j,o){var l=function(a){return a.replace(/\./g,"/")},g=/\/\/>>built/,a=[],d=[],c=function(b,c,f){a.push(f);o.forEach(b.split(","),function(a){a=N(a,c.module);d.push(a);V(a)});e()},e=function(){var b,c;for(c in P){b=P[c];if(void 0===b.noReqPluginCheck)b.noReqPluginCheck=/loadInit\!/.test(c)||/require\!/.test(c)?1:0;
if(!b.executed&&!b.noReqPluginCheck&&b.injected==x)return}E(function(){var b=a;a=[];o.forEach(b,function(a){a(1)})})},f=function(a,c,d){var e=/\(|\)/g,f=1;for(e.lastIndex=c;(c=e.exec(a))&&!(f=")"==c[0]?f-1:f+1,0==f););if(0!=f)throw"unmatched paren around character "+e.lastIndex+" in: "+a;return[b.trim(a.substring(d,e.lastIndex))+";\n",e.lastIndex]},p=/(\/\*([\s\S]*?)\*\/|\/\/(.*)$)/mg,k=/(^|\s)dojo\.(loadInit|require|provide|requireLocalization|requireIf|requireAfterIf|platformRequire)\s*\(/mg,q=
/(^|\s)(require|define)\s*\(/m,r=function(a,b){var c,d,e,g=[],j=[];c=[];for(b=b||a.replace(p,function(a){k.lastIndex=q.lastIndex=0;return k.test(a)||q.test(a)?"":a});c=k.exec(b);)d=k.lastIndex,e=d-c[0].length,d=f(b,d,e),"loadInit"==c[2]?g.push(d[0]):j.push(d[0]),k.lastIndex=d[1];c=g.concat(j);return c.length||!q.test(b)?[a.replace(/(^|\s)dojo\.loadInit\s*\(/g,"\n0 && dojo.loadInit("),c.join(""),c]:0},s=h.initSyncLoader(c,e,function(a,c){var d,e,f=[],k=[];if(g.test(c)||!(d=r(c)))return 0;e=a.mid+"-*loadInit";
for(var j in N("dojo",a).result.scopeMap)f.push(j),k.push('"'+j+'"');return"// xdomain rewrite of "+a.mid+"\ndefine('"+e+"',{\n\tnames:"+b.toJson(f)+",\n\tdef:function("+f.join(",")+"){"+d[1]+"}});\n\ndefine("+b.toJson(f.concat(["dojo/loadInit!"+e]))+", function("+f.join(",")+"){\n"+d[0]+"});"}),t=s.sync,x=s.requested,v=s.arrived,u=s.nonmodule,w=s.executing,H=s.executed,F=s.syncExecStack,P=s.modules,I=s.execQ,N=s.getModule,V=s.injectModule,z=s.setArrived,B=s.signal,K=s.finishExec,D=s.execModule,G=
s.getLegacyMode,E=s.guardCheckComplete,c=s.dojoRequirePlugin;b.provide=function(a){var b=F[0],c=j.mixin(N(l(a),h.module),{executed:w,result:j.getObject(a,!0)});z(c);if(b)(b.provides||(b.provides=[])).push(function(){c.result=j.getObject(a);delete c.provides;c.executed!==H&&K(c)});return c.result};i.add("config-publishRequireResult",1,0,0);b.require=function(a,b){var c=function(a,b){var c=N(l(a),h.module);if(F.length&&F[0].finish)F[0].finish.push(a);else{if(c.executed)return c.result;b&&(c.result=
u);var d=G();V(c);d=G();c.executed!==H&&c.injected===v&&s.guardCheckComplete(function(){D(c)});if(c.executed)return c.result;d==t?c.cjs?I.unshift(c):F.length&&(F[0].finish=[a]):I.push(c)}}(a,b);i("config-publishRequireResult")&&!j.exists(a)&&void 0!==c&&j.setObject(a,c);return c};b.loadInit=function(a){a()};b.registerModulePath=function(a,b){var c={};c[a.replace(/\./g,"/")]=b;h({paths:c})};b.platformRequire=function(a){for(var a=(a.common||[]).concat(a[b._name]||a["default"]||[]),c;a.length;)j.isArray(c=
a.shift())?b.require.apply(b,c):b.require(c)};b.requireIf=b.requireAfterIf=function(a,c,d){a&&b.require(c,d)};b.requireLocalization=function(a,b,c){h(["../i18n"],function(d){d.getLocalization(a,b,c)})};return{extractLegacyApiApplications:r,require:c,loadInit:function(a,d,e){d([a],function(a){d(a.names,function(){for(var f="",k=[],g=0;g<arguments.length;g++)f+="var "+a.names[g]+"= arguments["+g+"]; ",k.push(arguments[g]);eval(f);var j=d.module,p=[],h,f={provide:function(a){a=l(a);a=N(a,j);a!==j&&z(a)},
require:function(a,b){a=l(a);b&&(N(a,j).result=u);p.push(a)},requireLocalization:function(a,c,d){h||(h=["dojo/i18n"]);d=(d||b.locale).toLowerCase();a=l(a)+"/nls/"+(/root/i.test(d)?"":d+"/")+l(c);N(a,j).isXd&&h.push("dojo/i18n!"+a)},loadInit:function(a){a()}},g={},m;try{for(m in f)g[m]=b[m],b[m]=f[m];a.def.apply(null,k)}catch(q){B("error",[{src:n.id,id:"failedDojoLoadInit"},q])}finally{for(m in f)b[m]=g[m]}h&&(p=p.concat(h));p.length?c(p.join(","),d,e):e()})})}}})},"dojo/json":function(){define(["./has"],
function(b){var i="undefined"!=typeof JSON;b.add("json-parse",i);b.add("json-stringify",i&&'{"a":1}'==JSON.stringify({a:0},function(b,h){return h||1}));if(b("json-stringify"))return JSON;var h=function(b){return('"'+b.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:b("json-parse")?JSON.parse:function(b,h){if(h&&!/^([\s\[\{]*(?:"(?:\\.|[^"])+"|-?\d[\d\.]*(?:[Ee][+-]?\d+)?|null|true|false|)[\s\]\}]*(?:,|:|$))+$/.test(b))throw new SyntaxError("Invalid characters in JSON");
return eval("("+b+")")},stringify:function(b,m,j){function o(b,a,d){m&&(b=m(d,b));var c;c=typeof b;if("number"==c)return isFinite(b)?b+"":"null";if("boolean"==c)return b+"";if(null===b)return"null";if("string"==typeof b)return h(b);if("function"==c||"undefined"==c)return l;if("function"==typeof b.toJSON)return o(b.toJSON(d),a,d);if(b instanceof Date)return'"{FullYear}-{Month+}-{Date}T{Hours}:{Minutes}:{Seconds}Z"'.replace(/\{(\w+)(\+)?\}/g,function(a,c,d){a=b["getUTC"+c]()+(d?1:0);return 10>a?"0"+
a:a});if(b.valueOf()!==b)return o(b.valueOf(),a,d);var e=j?a+j:"",f=j?" ":"",p=j?"\n":"";if(b instanceof Array){for(var f=b.length,k=[],d=0;d<f;d++)c=o(b[d],e,d),"string"!=typeof c&&(c="null"),k.push(p+e+c);return"["+k.join(",")+p+a+"]"}k=[];for(d in b){var q;if(b.hasOwnProperty(d)){if("number"==typeof d)q='"'+d+'"';else if("string"==typeof d)q=h(d);else continue;c=o(b[d],e,d);"string"==typeof c&&k.push(p+e+q+":"+f+c)}}return"{"+k.join(",")+p+a+"}"}var l;"string"==typeof m&&(j=m,m=null);return o(b,
"","")}}})},"dojo/_base/declare":function(){define("dojo/_base/declare",["./kernel","../has","./lang"],function(b,i,h){function n(a,b){throw Error("declare"+(b?" "+b:"")+": "+a);}function m(a,b,c){var d,e,f,k,j,g,p,l=this._inherited=this._inherited||{};"string"==typeof a&&(d=a,a=b,b=c);c=0;k=a.callee;(d=d||k.nom)||n("can't deduce a name to call inherited()",this.declaredClass);j=this.constructor._meta;f=j.bases;p=l.p;if(d!=w){if(l.c!==k&&(p=0,g=f[0],j=g._meta,j.hidden[d]!==k)){(e=j.chains)&&"string"==
typeof e[d]&&n("calling chained method with inherited: "+d,this.declaredClass);do if(j=g._meta,e=g.prototype,j&&(e[d]===k&&e.hasOwnProperty(d)||j.hidden[d]===k))break;while(g=f[++p]);p=g?p:-1}if(g=f[++p])if(e=g.prototype,g._meta&&e.hasOwnProperty(d))c=e[d];else{k=t[d];do if(e=g.prototype,(c=e[d])&&(g._meta?e.hasOwnProperty(d):c!==k))break;while(g=f[++p])}c=g&&c||t[d]}else{if(l.c!==k&&(p=0,(j=f[0]._meta)&&j.ctor!==k)){e=j.chains;for((!e||"manual"!==e.constructor)&&n("calling chained constructor with inherited",
this.declaredClass);(g=f[++p])&&!((j=g._meta)&&j.ctor===k););p=g?p:-1}for(;(g=f[++p])&&!(c=(j=g._meta)?j.ctor:g););c=g&&c}l.c=c;l.p=p;if(c)return!0===b?c:c.apply(this,b||a)}function j(a,b){return"string"==typeof a?this.__inherited(a,b,!0):this.__inherited(a,!0)}function o(a,b,c){var d=this.getInherited(a,b);if(d)return d.apply(this,c||b||a)}function l(a){for(var b=this.constructor._meta.bases,c=0,d=b.length;c<d;++c)if(b[c]===a)return!0;return this instanceof a}function g(a,b){for(var c in b)c!=w&&
b.hasOwnProperty(c)&&(a[c]=b[c]);if(i("bug-for-in-skips-shadowed"))for(var d=h._extraNames,e=d.length;e;)c=d[--e],c!=w&&b.hasOwnProperty(c)&&(a[c]=b[c])}function a(a){r.safeMixin(this.prototype,a);return this}function d(a){return r([this].concat(a))}function c(a,b){return function(){var y;var c=arguments,d=c,e=c[0],f,k;k=a.length;var j;if(!(this instanceof c.callee))return q(c);if(b&&(e&&e.preamble||this.preamble)){j=Array(a.length);j[0]=c;for(f=0;;){if(e=c[0])(e=e.preamble)&&(c=e.apply(this,c)||
c);e=a[f].prototype;(e=e.hasOwnProperty("preamble")&&e.preamble)&&(c=e.apply(this,c)||c);if(++f==k)break;j[f]=c}}for(f=k-1;0<=f;--f)e=a[f],(y=(k=e._meta)?k.ctor:e,e=y)&&e.apply(this,j?j[f]:c);(e=this.postscript)&&e.apply(this,d)}}function e(a,b){return function(){var c=arguments,d=c,e=c[0];if(!(this instanceof c.callee))return q(c);if(b){if(e)(e=e.preamble)&&(d=e.apply(this,d)||d);(e=this.preamble)&&e.apply(this,d)}a&&a.apply(this,c);(e=this.postscript)&&e.apply(this,c)}}function f(a){return function(){var y;
var b=arguments,c=0,d,e;if(!(this instanceof b.callee))return q(b);for(;d=a[c];++c)if(y=(e=d._meta)?e.ctor:d,d=y){d.apply(this,b);break}(d=this.postscript)&&d.apply(this,b)}}function p(a,b,c){return function(){var d,e,f=0,k=1;c&&(f=b.length-1,k=-1);for(;d=b[f];f+=k)e=d._meta,(d=(e?e.hidden:d.prototype)[a])&&d.apply(this,arguments)}}function k(a){v.prototype=a.prototype;a=new v;v.prototype=null;return a}function q(a){var b=a.callee,c=k(b);b.apply(c,a);return c}function r(b,q,o){"string"!=typeof b&&
(o=q,q=b,b="");var o=o||{},i,v,z,B,K,D,G,E=1,da=q;if("[object Array]"==x.call(q)){E=b;z=[];B=[{cls:0,refs:[]}];D={};for(var Q=1,W=q.length,L=0,C,S,A,y;L<W;++L){(C=q[L])?"[object Function]"!=x.call(C)&&n("mixin #"+L+" is not a callable constructor.",E):n("mixin #"+L+" is unknown. Did you use dojo.require to pull it in?",E);S=C._meta?C._meta.bases:[C];A=0;for(C=S.length-1;0<=C;--C){y=S[C].prototype;if(!y.hasOwnProperty("declaredClass"))y.declaredClass="uniqName_"+u++;y=y.declaredClass;D.hasOwnProperty(y)||
(D[y]={count:0,refs:[],cls:S[C]},++Q);y=D[y];A&&A!==y&&(y.refs.push(A),++A.count);A=y}++A.count;B[0].refs.push(A)}for(;B.length;){A=B.pop();z.push(A.cls);for(--Q;v=A.refs,1==v.length;){A=v[0];if(!A||--A.count){A=0;break}z.push(A.cls);--Q}if(A)for(L=0,W=v.length;L<W;++L)A=v[L],--A.count||B.push(A)}Q&&n("can't build consistent linearization",E);C=q[0];z[0]=C?C._meta&&C===z[z.length-C._meta.bases.length]?C._meta.bases.length:1:0;D=z;z=D[0];E=D.length-z;q=D[E]}else D=[0],q?"[object Function]"==x.call(q)?
(z=q._meta,D=D.concat(z?z.bases:q)):n("base class is not a callable constructor.",b):null!==q&&n("unknown base class. Did you use dojo.require to pull it in?",b);if(q)for(v=E-1;;--v){i=k(q);if(!v)break;z=D[v];(z._meta?g:s)(i,z.prototype);B=new Function;B.superclass=q;B.prototype=i;q=i.constructor=B}else i={};r.safeMixin(i,o);z=o.constructor;if(z!==t.constructor)z.nom=w,i.constructor=z;for(v=E-1;v;--v)(z=D[v]._meta)&&z.chains&&(G=s(G||{},z.chains));i["-chains-"]&&(G=s(G||{},i["-chains-"]));z=!G||!G.hasOwnProperty(w);
D[0]=B=G&&"manual"===G.constructor?f(D):1==D.length?e(o.constructor,z):c(D,z);B._meta={bases:D,hidden:o,chains:G,parents:da,ctor:o.constructor};B.superclass=q&&q.prototype;B.extend=a;B.createSubclass=d;B.prototype=i;i.constructor=B;i.getInherited=j;i.isInstanceOf=l;i.inherited=H;i.__inherited=m;if(b)i.declaredClass=b,h.setObject(b,B);if(G)for(K in G)if(i[K]&&"string"==typeof G[K]&&K!=w)z=i[K]=p(K,D,"after"===G[K]),z.nom=K;return B}var s=h.mixin,t=Object.prototype,x=t.toString,v=new Function,u=0,w=
"constructor",H=b.config.isDebug?o:m;b.safeMixin=r.safeMixin=function(a,b){var c,d;for(c in b)if(d=b[c],(d!==t[c]||!(c in t))&&c!=w){if("[object Function]"==x.call(d))d.nom=c;a[c]=d}if(i("bug-for-in-skips-shadowed"))for(var e=h._extraNames,f=e.length;f;)if(c=e[--f],d=b[c],(d!==t[c]||!(c in t))&&c!=w){if("[object Function]"==x.call(d))d.nom=c;a[c]=d}return a};return b.declare=r})},"dojo/dom":function(){define(["./sniff","./_base/lang","./_base/window"],function(b,i,h){if(7>=b("ie"))try{document.execCommand("BackgroundImageCache",
!1,!0)}catch(n){}var m={};m.byId=b("ie")?function(b,m){if("string"!=typeof b)return b;var l=m||h.doc,g=b&&l.getElementById(b);if(g&&(g.attributes.id.value==b||g.id==b))return g;l=l.all[b];if(!l||l.nodeName)l=[l];for(var a=0;g=l[a++];)if(g.attributes&&g.attributes.id&&g.attributes.id.value==b||g.id==b)return g}:function(b,m){return("string"==typeof b?(m||h.doc).getElementById(b):b)||null};m.isDescendant=function(b,h){try{b=m.byId(b);for(h=m.byId(h);b;){if(b==h)return!0;b=b.parentNode}}catch(l){}return!1};
m.setSelectable=function(j,h){j=m.byId(j);if(b("mozilla"))j.style.MozUserSelect=h?"":"none";else if(b("khtml")||b("webkit"))j.style.KhtmlUserSelect=h?"auto":"none";else if(b("ie"))for(var l=j.unselectable=h?"":"on",g=j.getElementsByTagName("*"),a=0,d=g.length;a<d;++a)g.item(a).unselectable=l};return m})},"dojo/_base/browser":function(){require.has&&require.has.add("config-selectorEngine","acme");define("../ready,./kernel,./connect,./unload,./window,./event,./html,./NodeList,../query,./xhr,./fx".split(","),
function(b){return b})},"dojo/selector/acme":function(){define(["../dom","../sniff","../_base/array","../_base/lang","../_base/window"],function(b,i,h,n,m){var j=n.trim,o=h.forEach,l="BackCompat"==m.doc.compatMode,g=!1,a=function(){return!0},d=function(a){for(var a=0<=">~+".indexOf(a.slice(-1))?a+" * ":a+" ",b=function(b,c){return j(a.slice(b,c))},c=[],d=-1,e=-1,f=-1,k=-1,p=-1,h=-1,l=-1,q,m="",i="",o,n=0,w=a.length,r=null,s=null,u=function(){if(0<=h)r.id=b(h,n).replace(/\\/g,""),h=-1;if(0<=l){var a=
l==n?null:b(l,n);r[0>">~+".indexOf(a)?"tag":"oper"]=a;l=-1}0<=p&&(r.classes.push(b(p+1,n).replace(/\\/g,"")),p=-1)};m=i,i=a.charAt(n),n<w;n++)if("\\"!=m)if(r||(o=n,r={query:null,pseudos:[],attrs:[],classes:[],tag:null,oper:null,id:null,getTag:function(){return g?this.otag:this.tag}},l=n),q)i==q&&(q=null);else if("'"==i||'"'==i)q=i;else if(0<=d)if("]"==i){s.attr?s.matchFor=b(f||d+1,n):s.attr=b(d+1,n);if((d=s.matchFor)&&('"'==d.charAt(0)||"'"==d.charAt(0)))s.matchFor=d.slice(1,-1);if(s.matchFor)s.matchFor=
s.matchFor.replace(/\\/g,"");r.attrs.push(s);s=null;d=f=-1}else{if("="==i)f=0<="|~^$*".indexOf(m)?m:"",s.type=f+i,s.attr=b(d+1,n-f.length),f=n+1}else if(0<=e){if(")"==i){if(0<=k)s.value=b(e+1,n);k=e=-1}}else if("#"==i)u(),h=n+1;else if("."==i)u(),p=n;else if(":"==i)u(),k=n;else if("["==i)u(),d=n,s={};else if("("==i)0<=k&&(s={name:b(k+1,n),value:null},r.pseudos.push(s)),e=n;else if(" "==i&&m!=i){u();0<=k&&r.pseudos.push({name:b(k+1,n)});r.loops=r.pseudos.length||r.attrs.length||r.classes.length;r.oquery=
r.query=b(o,n);r.otag=r.tag=r.oper?null:r.tag||"*";if(r.tag)r.tag=r.tag.toUpperCase();if(c.length&&c[c.length-1].oper)r.infixOper=c.pop(),r.query=r.infixOper.query+" "+r.query;c.push(r);r=null}return c},c=function(a,b){return!a?b:!b?a:function(){return a.apply(window,arguments)&&b.apply(window,arguments)}},e=function(a,b){var c=b||[];a&&c.push(a);return c},f=function(a){return 1==a.nodeType},p=function(a,b){return!a?"":"class"==b?a.className||"":"for"==b?a.htmlFor||"":"style"==b?a.style.cssText||
"":(g?a.getAttribute(b):a.getAttribute(b,2))||""},k={"*=":function(a,b){return function(c){return 0<=p(c,a).indexOf(b)}},"^=":function(a,b){return function(c){return 0==p(c,a).indexOf(b)}},"$=":function(a,b){return function(c){var c=" "+p(c,a),d=c.lastIndexOf(b);return-1<d&&d==c.length-b.length}},"~=":function(a,b){var c=" "+b+" ";return function(b){return 0<=(" "+p(b,a)+" ").indexOf(c)}},"|=":function(a,b){var c=b+"-";return function(d){d=p(d,a);return d==b||0==d.indexOf(c)}},"=":function(a,b){return function(c){return p(c,
a)==b}}},q="undefined"==typeof m.doc.firstChild.nextElementSibling,r=!q?"nextElementSibling":"nextSibling",s=!q?"previousElementSibling":"previousSibling",t=q?f:a,x=function(a){for(;a=a[s];)if(t(a))return!1;return!0},v=function(a){for(;a=a[r];)if(t(a))return!1;return!0},u=function(a){var b=a.parentNode,b=7!=b.nodeType?b:b.nextSibling,c=0,d=b.children||b.childNodes,e=a._i||a.getAttribute("_i")||-1,f=b._l||("undefined"!==typeof b.getAttribute?b.getAttribute("_l"):-1);if(!d)return-1;d=d.length;if(f==
d&&0<=e&&0<=f)return e;i("ie")&&"undefined"!==typeof b.setAttribute?b.setAttribute("_l",d):b._l=d;e=-1;for(b=b.firstElementChild||b.firstChild;b;b=b[r])if(t(b))i("ie")?b.setAttribute("_i",++c):b._i=++c,a===b&&(e=c);return e},w=function(a){return!(u(a)%2)},H=function(a){return u(a)%2},F={checked:function(){return function(a){return!!("checked"in a?a.checked:a.selected)}},disabled:function(){return function(a){return a.disabled}},enabled:function(){return function(a){return!a.disabled}},"first-child":function(){return x},
"last-child":function(){return v},"only-child":function(){return function(a){return x(a)&&v(a)}},empty:function(){return function(a){for(var b=a.childNodes,a=a.childNodes.length-1;0<=a;a--){var c=b[a].nodeType;if(1===c||3==c)return!1}return!0}},contains:function(a,b){var c=b.charAt(0);if('"'==c||"'"==c)b=b.slice(1,-1);return function(a){return 0<=a.innerHTML.indexOf(b)}},not:function(a,b){var c=d(b)[0],e={el:1};if("*"!=c.tag)e.tag=1;if(!c.classes.length)e.classes=1;var f=I(c,e);return function(a){return!f(a)}},
"nth-child":function(a,b){var c=parseInt;if("odd"==b)return H;if("even"==b)return w;if(-1!=b.indexOf("n")){var d=b.split("n",2),e=d[0]?"-"==d[0]?-1:c(d[0]):1,f=d[1]?c(d[1]):0,k=0,g=-1;0<e?0>f?f=f%e&&e+f%e:0<f&&(f>=e&&(k=f-f%e),f%=e):0>e&&(e*=-1,0<f&&(g=f,f%=e));if(0<e)return function(a){a=u(a);return a>=k&&(0>g||a<=g)&&a%e==f};b=f}var j=c(b);return function(a){return u(a)==j}}},P=i("ie")&&(9>i("ie")||i("quirks"))?function(a){var b=a.toLowerCase();"class"==b&&(a="className");return function(c){return g?
c.getAttribute(a):c[a]||c[b]}}:function(a){return function(b){return b&&b.getAttribute&&b.hasAttribute(a)}},I=function(b,d){if(!b)return a;var d=d||{},e=null;"el"in d||(e=c(e,f));"tag"in d||"*"!=b.tag&&(e=c(e,function(a){return a&&(g?a.tagName:a.tagName.toUpperCase())==b.getTag()}));"classes"in d||o(b.classes,function(a,b){var d=RegExp("(?:^|\\s)"+a+"(?:\\s|$)");e=c(e,function(a){return d.test(a.className)});e.count=b});"pseudos"in d||o(b.pseudos,function(a){var b=a.name;F[b]&&(e=c(e,F[b](b,a.value)))});
"attrs"in d||o(b.attrs,function(a){var b,d=a.attr;a.type&&k[a.type]?b=k[a.type](d,a.matchFor):d.length&&(b=P(d));b&&(e=c(e,b))});"id"in d||b.id&&(e=c(e,function(a){return!!a&&a.id==b.id}));e||"default"in d||(e=a);return e},N=function(a){return function(b,c,d){for(;b=b[r];)if(!q||f(b)){(!d||J(b,d))&&a(b)&&c.push(b);break}return c}},V=function(a){return function(b,c,d){for(b=b[r];b;){if(t(b)){if(d&&!J(b,d))break;a(b)&&c.push(b)}b=b[r]}return c}},z=function(b){b=b||a;return function(a,c,d){for(var e=
0,f=a.children||a.childNodes;a=f[e++];)t(a)&&(!d||J(a,d))&&b(a,e)&&c.push(a);return c}},B={},K=function(c){var d=B[c.query];if(d)return d;var f=c.infixOper,f=f?f.oper:"",k=I(c,{el:1}),g="*"==c.tag,j=m.doc.getElementsByClassName;if(f){j={el:1};if(g)j.tag=1;k=I(c,j);"+"==f?d=N(k):"~"==f?d=V(k):">"==f&&(d=z(k))}else if(c.id)k=!c.loops&&g?a:I(c,{el:1,id:1}),d=function(a,d){var f=b.byId(c.id,a.ownerDocument||a);if(f&&k(f)){if(9==a.nodeType)return e(f,d);for(var g=f.parentNode;g&&!(g==a);)g=g.parentNode;
if(g)return e(f,d)}};else if(j&&/\{\s*\[native code\]\s*\}/.test(""+j)&&c.classes.length&&!l)var k=I(c,{el:1,classes:1,id:1}),p=c.classes.join(" "),d=function(a,b,c){for(var b=e(0,b),d,f=0,g=a.getElementsByClassName(p);d=g[f++];)k(d,a)&&J(d,c)&&b.push(d);return b};else!g&&!c.loops?d=function(a,b,d){for(var b=e(0,b),f=0,k=c.getTag(),k=k?a.getElementsByTagName(k):[];a=k[f++];)J(a,d)&&b.push(a);return b}:(k=I(c,{el:1,tag:1,id:1}),d=function(a,b,d){for(var b=e(0,b),f,g=0,j=(f=c.getTag())?a.getElementsByTagName(f):
[];f=j[g++];)k(f,a)&&J(f,d)&&b.push(f);return b});return B[c.query]=d},D={},G={},E=function(a){var b=d(j(a));if(1==b.length){var c=K(b[0]);return function(a){if(a=c(a,[]))a.nozip=!0;return a}}return function(a){for(var a=e(a),c,d,f=b.length,k,g,j=0;j<f;j++){g=[];c=b[j];d=a.length-1;if(0<d)k={},g.nozip=!0;d=K(c);for(var p=0;c=a[p];p++)d(c,g,k);if(!g.length)break;a=g}return g}},da=i("ie")?"commentStrip":"nozip",Q=!!m.doc.querySelectorAll,W=/\\[>~+]|n\+\d|([^ \\])?([>~+])([^ =])?/g,L=function(a,b,c,
d){return c?(b?b+" ":"")+c+(d?" "+d:""):a},C=/([^[]*)([^\]]*])?/g,S=function(a,b,c){return b.replace(W,L)+(c||"")},A=function(a,b){a=a.replace(C,S);if(Q){var c=G[a];if(c&&!b)return c}if(c=D[a])return c;var c=a.charAt(0),d=-1==a.indexOf(" ");0<=a.indexOf("#")&&d&&(b=!0);if(Q&&!b&&-1==">~+".indexOf(c)&&(!i("ie")||-1==a.indexOf(":"))&&!(l&&0<=a.indexOf("."))&&-1==a.indexOf(":contains")&&-1==a.indexOf(":checked")&&-1==a.indexOf("|=")){var e=0<=">~+".indexOf(a.charAt(a.length-1))?a+" *":a;return G[a]=
function(b){try{if(!(9==b.nodeType||d))throw"";var c=b.querySelectorAll(e);c[da]=!0;return c}catch(f){return A(a,!0)(b)}}}var f=a.match(/([^\s,](?:"(?:\\.|[^"])+"|'(?:\\.|[^'])+'|[^,])*)/g);return D[a]=2>f.length?E(a):function(a){for(var b=0,c=[],d;d=f[b++];)c=c.concat(E(d)(a));return c}},y=0,ea=i("ie")?function(a){return g?a.getAttribute("_uid")||a.setAttribute("_uid",++y)||y:a.uniqueID}:function(a){return a._uid||(a._uid=++y)},J=function(a,b){if(!b)return 1;var c=ea(a);return!b[c]?b[c]=1:0},Z=function(a){if(a&&
a.nozip)return a;var b=[];if(!a||!a.length)return b;a[0]&&b.push(a[0]);if(2>a.length)return b;y++;var c,d;if(i("ie")&&g){var e=y+"";a[0].setAttribute("_zipIdx",e);for(c=1;d=a[c];c++)a[c].getAttribute("_zipIdx")!=e&&b.push(d),d.setAttribute("_zipIdx",e)}else if(i("ie")&&a.commentStrip)try{for(c=1;d=a[c];c++)f(d)&&b.push(d)}catch(k){}else{a[0]&&(a[0]._zipIdx=y);for(c=1;d=a[c];c++)a[c]._zipIdx!=y&&b.push(d),d._zipIdx=y}return b},T=function(a,b){b=b||m.doc;g="div"===(b.ownerDocument||b).createElement("div").tagName;
var c=A(a)(b);return c&&c.nozip?c:Z(c)};T.filter=function(a,c,e){for(var f=[],k=d(c),k=1==k.length&&!/[^\w#\.]/.test(c)?I(k[0]):function(a){return-1!=h.indexOf(T(c,b.byId(e)),a)},g=0,j;j=a[g];g++)k(j)&&f.push(j);return f};return T})},"dojo/errors/RequestTimeoutError":function(){define(["./create","./RequestError"],function(b,i){return b("RequestTimeoutError",null,i,{dojoType:"timeout"})})},"dojo/dom-style":function(){define("dojo/dom-style",["./sniff","./dom"],function(b,i){function h(c,e,k){e=e.toLowerCase();
if(b("ie")){if("auto"==k){if("height"==e)return c.offsetHeight;if("width"==e)return c.offsetWidth}if("fontweight"==e)switch(k){case 700:return"bold";default:return"normal"}}e in a||(a[e]=d.test(e));return a[e]?j(c,k):k}var n,m={};n=b("webkit")?function(a){var b;if(1==a.nodeType){var c=a.ownerDocument.defaultView;b=c.getComputedStyle(a,null);if(!b&&a.style)a.style.display="",b=c.getComputedStyle(a,null)}return b||{}}:b("ie")&&(9>b("ie")||b("quirks"))?function(a){return 1==a.nodeType&&a.currentStyle?
a.currentStyle:{}}:function(a){return 1==a.nodeType?a.ownerDocument.defaultView.getComputedStyle(a,null):{}};m.getComputedStyle=n;var j;j=b("ie")?function(a,b){if(!b)return 0;if("medium"==b)return 4;if(b.slice&&"px"==b.slice(-2))return parseFloat(b);var c=a.style,d=a.runtimeStyle,e=c.left,g=d.left;d.left=a.currentStyle.left;try{c.left=b,b=c.pixelLeft}catch(j){b=0}c.left=e;d.left=g;return b}:function(a,b){return parseFloat(b)||0};m.toPixelValue=j;var o=function(a,b){try{return a.filters.item("DXImageTransform.Microsoft.Alpha")}catch(c){return b?
{}:null}},l=9>b("ie")||b("ie")&&b("quirks")?function(a){try{return o(a).Opacity/100}catch(b){return 1}}:function(a){return n(a).opacity},g=9>b("ie")||b("ie")&&b("quirks")?function(a,b){var c=100*b,d=1==b;a.style.zoom=d?"":1;if(o(a))o(a,1).Opacity=c;else{if(d)return b;a.style.filter+=" progid:DXImageTransform.Microsoft.Alpha(Opacity="+c+")"}o(a,1).Enabled=!d;if("tr"==a.tagName.toLowerCase())for(c=a.firstChild;c;c=c.nextSibling)"td"==c.tagName.toLowerCase()&&g(c,b);return b}:function(a,b){return a.style.opacity=
b},a={left:!0,top:!0},d=/margin|padding|width|height|max|min|offset/,c=b("ie")?"styleFloat":"cssFloat",e={cssFloat:c,styleFloat:c,"float":c};m.get=function(a,b){var c=i.byId(a),d=arguments.length;if(2==d&&"opacity"==b)return l(c);var b=e[b]||b,g=m.getComputedStyle(c);return 1==d?g:h(c,b,g[b]||c.style[b])};m.set=function(a,b,c){var d=i.byId(a),j=arguments.length,l="opacity"==b,b=e[b]||b;if(3==j)return l?g(d,c):d.style[b]=c;for(var h in b)m.set(a,h,b[h]);return m.getComputedStyle(d)};return m})},"dojo/dom-geometry":function(){define("dojo/dom-geometry",
["./sniff","./_base/window","./dom","./dom-style"],function(b,i,h,n){function m(a,b,c,e,f,g){g=g||"px";a=a.style;if(!isNaN(b))a.left=b+g;if(!isNaN(c))a.top=c+g;if(0<=e)a.width=e+g;if(0<=f)a.height=f+g}function j(a){return"button"==a.tagName.toLowerCase()||"input"==a.tagName.toLowerCase()&&"button"==(a.getAttribute("type")||"").toLowerCase()}function o(a){return"border-box"==l.boxModel||"table"==a.tagName.toLowerCase()||j(a)}var l={boxModel:"content-box"};if(b("ie"))l.boxModel="BackCompat"==document.compatMode?
"border-box":"content-box";l.getPadExtents=function(a,b){var a=h.byId(a),c=b||n.getComputedStyle(a),e=n.toPixelValue,f=e(a,c.paddingLeft),g=e(a,c.paddingTop),k=e(a,c.paddingRight),c=e(a,c.paddingBottom);return{l:f,t:g,r:k,b:c,w:f+k,h:g+c}};l.getBorderExtents=function(a,b){var a=h.byId(a),c=n.toPixelValue,e=b||n.getComputedStyle(a),f="none"!=e.borderLeftStyle?c(a,e.borderLeftWidth):0,g="none"!=e.borderTopStyle?c(a,e.borderTopWidth):0,k="none"!=e.borderRightStyle?c(a,e.borderRightWidth):0,c="none"!=
e.borderBottomStyle?c(a,e.borderBottomWidth):0;return{l:f,t:g,r:k,b:c,w:f+k,h:g+c}};l.getPadBorderExtents=function(a,b){var a=h.byId(a),c=b||n.getComputedStyle(a),e=l.getPadExtents(a,c),c=l.getBorderExtents(a,c);return{l:e.l+c.l,t:e.t+c.t,r:e.r+c.r,b:e.b+c.b,w:e.w+c.w,h:e.h+c.h}};l.getMarginExtents=function(a,b){var a=h.byId(a),c=b||n.getComputedStyle(a),e=n.toPixelValue,f=e(a,c.marginLeft),g=e(a,c.marginTop),k=e(a,c.marginRight),c=e(a,c.marginBottom);return{l:f,t:g,r:k,b:c,w:f+k,h:g+c}};l.getMarginBox=
function(a,d){var a=h.byId(a),c=d||n.getComputedStyle(a),e=l.getMarginExtents(a,c),f=a.offsetLeft-e.l,g=a.offsetTop-e.t,k=a.parentNode,j=n.toPixelValue;if(b("mozilla")){var m=parseFloat(c.left),c=parseFloat(c.top);!isNaN(m)&&!isNaN(c)?(f=m,g=c):k&&k.style&&(k=n.getComputedStyle(k),"visible"!=k.overflow&&(f+="none"!=k.borderLeftStyle?j(a,k.borderLeftWidth):0,g+="none"!=k.borderTopStyle?j(a,k.borderTopWidth):0))}else if((b("opera")||8==b("ie")&&!b("quirks"))&&k)k=n.getComputedStyle(k),f-="none"!=k.borderLeftStyle?
j(a,k.borderLeftWidth):0,g-="none"!=k.borderTopStyle?j(a,k.borderTopWidth):0;return{l:f,t:g,w:a.offsetWidth+e.w,h:a.offsetHeight+e.h}};l.getContentBox=function(a,d){var a=h.byId(a),c=d||n.getComputedStyle(a),e=a.clientWidth,f=l.getPadExtents(a,c),g=l.getBorderExtents(a,c);e?(c=a.clientHeight,g.w=g.h=0):(e=a.offsetWidth,c=a.offsetHeight);b("opera")&&(f.l+=g.l,f.t+=g.t);return{l:f.l,t:f.t,w:e-f.w-g.w,h:c-f.h-g.h}};l.setContentSize=function(a,b,c){var a=h.byId(a),e=b.w,b=b.h;o(a)&&(c=l.getPadBorderExtents(a,
c),0<=e&&(e+=c.w),0<=b&&(b+=c.h));m(a,NaN,NaN,e,b)};var g={l:0,t:0,w:0,h:0};l.setMarginBox=function(a,d,c){var a=h.byId(a),e=c||n.getComputedStyle(a),c=d.w,f=d.h,i=o(a)?g:l.getPadBorderExtents(a,e),e=l.getMarginExtents(a,e);if(b("webkit")&&j(a)){var k=a.style;if(0<=c&&!k.width)k.width="4px";if(0<=f&&!k.height)k.height="4px"}0<=c&&(c=Math.max(c-i.w-e.w,0));0<=f&&(f=Math.max(f-i.h-e.h,0));m(a,d.l,d.t,c,f)};l.isBodyLtr=function(a){a=a||i.doc;return"ltr"==(i.body(a).dir||a.documentElement.dir||"ltr").toLowerCase()};
l.docScroll=function(a){var a=a||i.doc,d=i.doc.parentWindow||i.doc.defaultView;return"pageXOffset"in d?{x:d.pageXOffset,y:d.pageYOffset}:(d=b("quirks")?i.body(a):a.documentElement)&&{x:l.fixIeBiDiScrollLeft(d.scrollLeft||0,a),y:d.scrollTop||0}};if(b("ie"))l.getIeDocumentElementOffset=function(a){a=a||i.doc;a=a.documentElement;if(8>b("ie")){var d=a.getBoundingClientRect(),c=d.left,d=d.top;7>b("ie")&&(c+=a.clientLeft,d+=a.clientTop);return{x:0>c?0:c,y:0>d?0:d}}return{x:0,y:0}};l.fixIeBiDiScrollLeft=
function(a,d){var d=d||i.doc,c=b("ie");if(c&&!l.isBodyLtr(d)){var e=b("quirks"),f=e?i.body(d):d.documentElement,g=i.global;6==c&&!e&&g.frameElement&&f.scrollHeight>f.clientHeight&&(a+=f.clientLeft);return 8>c||e?a+f.clientWidth-f.scrollWidth:-a}return a};l.position=function(a,d){var a=h.byId(a),c=i.body(a.ownerDocument),e=a.getBoundingClientRect(),e={x:e.left,y:e.top,w:e.right-e.left,h:e.bottom-e.top};if(b("ie")){var f=l.getIeDocumentElementOffset(a.ownerDocument);e.x-=f.x+(b("quirks")?c.clientLeft+
c.offsetLeft:0);e.y-=f.y+(b("quirks")?c.clientTop+c.offsetTop:0)}d&&(c=l.docScroll(a.ownerDocument),e.x+=c.x,e.y+=c.y);return e};l.getMarginSize=function(a,b){var a=h.byId(a),c=l.getMarginExtents(a,b||n.getComputedStyle(a)),e=a.getBoundingClientRect();return{w:e.right-e.left+c.w,h:e.bottom-e.top+c.h}};l.normalizeEvent=function(a){if(!("layerX"in a))a.layerX=a.offsetX,a.layerY=a.offsetY;if(!b("dom-addeventlistener")){var d=a.target,d=d&&d.ownerDocument||document,c=b("quirks")?d.body:d.documentElement,
e=l.getIeDocumentElementOffset(d);a.pageX=a.clientX+l.fixIeBiDiScrollLeft(c.scrollLeft||0,d)-e.x;a.pageY=a.clientY+(c.scrollTop||0)-e.y}};return l})},"dojo/dom-prop":function(){define("exports,./_base/kernel,./sniff,./_base/lang,./dom,./dom-style,./dom-construct,./_base/connect".split(","),function(b,i,h,n,m,j,o,l){var g={},a=0,d=i._scopeName+"attrid";b.names={"class":"className","for":"htmlFor",tabindex:"tabIndex",readonly:"readOnly",colspan:"colSpan",frameborder:"frameBorder",rowspan:"rowSpan",
valuetype:"valueType"};b.get=function(a,d){var a=m.byId(a),f=d.toLowerCase();return a[b.names[f]||d]};b.set=function(c,e,f){c=m.byId(c);if(2==arguments.length&&"string"!=typeof e){for(var i in e)b.set(c,i,e[i]);return c}i=e.toLowerCase();i=b.names[i]||e;if("style"==i&&"string"!=typeof f)return j.set(c,f),c;if("innerHTML"==i)return h("ie")&&c.tagName.toLowerCase()in{col:1,colgroup:1,table:1,tbody:1,tfoot:1,thead:1,tr:1,title:1}?(o.empty(c),c.appendChild(o.toDom(f,c.ownerDocument))):c[i]=f,c;if(n.isFunction(f)){var k=
c[d];k||(k=a++,c[d]=k);g[k]||(g[k]={});var q=g[k][i];if(q)l.disconnect(q);else try{delete c[i]}catch(r){}f?g[k][i]=l.connect(c,i,f):c[i]=null;return c}c[i]=f;return c}})},"dojo/when":function(){define(["./Deferred","./promise/Promise"],function(b,i){return function(h,n,m,j){var o=h&&"function"===typeof h.then,l=o&&h instanceof i;if(o){if(!l)o=new b(h.cancel),h.then(o.resolve,o.reject,o.progress),h=o.promise}else return n?n(h):(new b).resolve(h);return n||m||j?h.then(n,m,j):h}})},"dojo/dom-attr":function(){define("exports,./sniff,./_base/lang,./dom,./dom-style,./dom-prop".split(","),
function(b,i,h,n,m,j){function o(a,b){var c=a.getAttributeNode&&a.getAttributeNode(b);return c&&c.specified}var l={innerHTML:1,className:1,htmlFor:i("ie"),value:1},g={classname:"class",htmlfor:"for",tabindex:"tabIndex",readonly:"readOnly"};b.has=function(a,b){var c=b.toLowerCase();return l[j.names[c]||b]||o(n.byId(a),g[c]||b)};b.get=function(a,b){var a=n.byId(a),c=b.toLowerCase(),e=j.names[c]||b,f=a[e];if(l[e]&&"undefined"!=typeof f||"href"!=e&&("boolean"==typeof f||h.isFunction(f)))return f;c=g[c]||
b;return o(a,c)?a.getAttribute(c):null};b.set=function(a,d,c){a=n.byId(a);if(2==arguments.length){for(var e in d)b.set(a,e,d[e]);return a}e=d.toLowerCase();var f=j.names[e]||d,i=l[f];if("style"==f&&"string"!=typeof c)return m.set(a,c),a;if(i||"boolean"==typeof c||h.isFunction(c))return j.set(a,d,c);a.setAttribute(g[e]||d,c);return a};b.remove=function(a,b){n.byId(a).removeAttribute(g[b.toLowerCase()]||b)};b.getNodeProp=function(a,b){var a=n.byId(a),c=b.toLowerCase(),e=j.names[c]||b;if(e in a&&"href"!=
e)return a[e];c=g[c]||b;return o(a,c)?a.getAttribute(c):null}})},"dojo/dom-construct":function(){define("exports,./_base/kernel,./sniff,./_base/window,./dom,./dom-attr,./on".split(","),function(b,i,h,n,m,j,o){function l(a,b){var c=b.parentNode;c&&c.insertBefore(a,b)}var g={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"]},
a=/<\s*([\w\:]+)/,d={},c=0,e="__"+i._scopeName+"ToDomId",f;for(f in g)if(g.hasOwnProperty(f))i=g[f],i.pre="option"==f?'<select multiple="multiple">':"<"+i.join("><")+">",i.post="</"+i.reverse().join("></")+">";var p=null,k;o(window,"unload",function(){p=null});b.toDom=function(b,f){var f=f||n.doc,k=f[e];k||(f[e]=k=++c+"",d[k]=f.createElement("div"));var b=b+"",j=b.match(a),h=j?j[1].toLowerCase():"",k=d[k];if(j&&g[h]){j=g[h];k.innerHTML=j.pre+b+j.post;for(j=j.length;j;--j)k=k.firstChild}else k.innerHTML=
b;if(1==k.childNodes.length)return k.removeChild(k.firstChild);for(h=f.createDocumentFragment();j=k.firstChild;)h.appendChild(j);return h};b.place=function(a,c,d){c=m.byId(c);"string"==typeof a&&(a=/^\s*</.test(a)?b.toDom(a,c.ownerDocument):m.byId(a));if("number"==typeof d){var e=c.childNodes;!e.length||e.length<=d?c.appendChild(a):l(a,e[0>d?0:d])}else switch(d){case "before":l(a,c);break;case "after":d=a;(e=c.parentNode)&&(e.lastChild==c?e.appendChild(d):e.insertBefore(d,c.nextSibling));break;case "replace":c.parentNode.replaceChild(a,
c);break;case "only":b.empty(c);c.appendChild(a);break;case "first":if(c.firstChild){l(a,c.firstChild);break}default:c.appendChild(a)}return a};b.create=function(a,c,d,e){var f=n.doc;if(d)d=m.byId(d),f=d.ownerDocument;"string"==typeof a&&(a=f.createElement(a));c&&j.set(a,c);d&&b.place(a,d,e);return a};b.empty=h("ie")?function(a){for(var a=m.byId(a),c;c=a.lastChild;)b.destroy(c)}:function(a){m.byId(a).innerHTML=""};b.destroy=function(a){a=m.byId(a);try{var b=a.ownerDocument;if(!p||k!=b)p=b.createElement("div"),
k=b;p.appendChild(a.parentNode?a.parentNode.removeChild(a):a);p.innerHTML=""}catch(c){}}})},"dojo/request/xhr":function(){define(["../errors/RequestError","./watch","./handlers","./util","../has"],function(b,i,h,n,m){function j(a,c){var d=a.xhr;a.status=a.xhr.status;a.text=d.responseText;if("xml"===a.options.handleAs)a.data=d.responseXML;if(!c)try{h(a)}catch(e){c=e}c?this.reject(c):n.checkStatus(d.status)?this.resolve(a):(c=new b("Unable to load "+a.url+" status: "+d.status,a),this.reject(c))}function o(f,
h,p){var s=n.parseArgs(f,n.deepCreate(e,h),m("native-formdata")&&h&&h.data&&h.data instanceof FormData),f=s.url,h=s.options,t,x=n.deferred(s,d,l,g,j,function(){t&&t()}),v=s.xhr=o._create();if(!v)return x.cancel(new b("XHR was not created")),p?x:x.promise;s.getHeader=function(a){return this.xhr.getResponseHeader(a)};a&&(t=a(v,x,s));var u=h.data,w=!h.sync,H=h.method;try{v.open(H,f,w,h.user||c,h.password||c);if(h.withCredentials)v.withCredentials=h.withCredentials;var F=h.headers,P;if(F)for(var I in F)"content-type"===
I.toLowerCase()?P=F[I]:F[I]&&v.setRequestHeader(I,F[I]);P&&!1!==P&&v.setRequestHeader("Content-Type",P);(!F||!("X-Requested-With"in F))&&v.setRequestHeader("X-Requested-With","XMLHttpRequest");n.notify&&n.notify.emit("send",s,x.promise.cancel);v.send(u)}catch(N){x.reject(N)}i(x);v=null;return p?x:x.promise}m.add("native-xhr",function(){return"undefined"!==typeof XMLHttpRequest});m.add("dojo-force-activex-xhr",function(){return m("activex")&&!document.addEventListener&&"file:"===window.location.protocol});
m.add("native-xhr2",function(){if(m("native-xhr")){var a=new XMLHttpRequest;return"undefined"!==typeof a.addEventListener&&("undefined"===typeof opera||"undefined"!==typeof a.upload)}});m.add("native-formdata",function(){return"function"===typeof FormData});var l,g,a,d;m("native-xhr2")?(l=function(){return!this.isFulfilled()},d=function(a,b){b.xhr.abort()},a=function(a,c,d){function e(){c.handleResponse(d)}function f(a){a=new b("Unable to load "+d.url+" status: "+a.target.status,d);c.handleResponse(d,
a)}function g(a){if(a.lengthComputable)d.loaded=a.loaded,d.total=a.total,c.progress(d)}a.addEventListener("load",e,!1);a.addEventListener("error",f,!1);a.addEventListener("progress",g,!1);return function(){a.removeEventListener("load",e,!1);a.removeEventListener("error",f,!1);a.removeEventListener("progress",g,!1)}}):(l=function(a){return a.xhr.readyState},g=function(a){return 4===a.xhr.readyState},d=function(a,b){var c=b.xhr,d=typeof c.abort;("function"===d||"object"===d||"unknown"===d)&&c.abort()});
var c,e={data:null,query:null,sync:!1,method:"GET",headers:{"Content-Type":"application/x-www-form-urlencoded"}};o._create=function(){throw Error("XMLHTTP not available");};if(m("native-xhr")&&!m("dojo-force-activex-xhr"))o._create=function(){return new XMLHttpRequest};else if(m("activex"))try{new ActiveXObject("Msxml2.XMLHTTP"),o._create=function(){return new ActiveXObject("Msxml2.XMLHTTP")}}catch(f){try{new ActiveXObject("Microsoft.XMLHTTP"),o._create=function(){return new ActiveXObject("Microsoft.XMLHTTP")}}catch(p){}}n.addCommonMethods(o);
return o})},"dojo/text":function(){define(["./_base/kernel","require","./has","./_base/xhr"],function(b,i,h,n){var m;m=function(a,d,c){n("GET",{url:a,sync:!!d,load:c,headers:b.config.textPluginHeaders||{}})};var j={},o=function(a){if(a){var a=a.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,""),b=a.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);b&&(a=b[1])}else a="";return a},l={},g={};b.cache=function(a,b,c){var e;"string"==typeof a?/\//.test(a)?(e=a,c=b):e=i.toUrl(a.replace(/\./g,
"/")+(b?"/"+b:"")):(e=a+"",c=b);a=void 0!=c&&"string"!=typeof c?c.value:c;c=c&&c.sanitize;if("string"==typeof a)return j[e]=a,c?o(a):a;if(null===a)return delete j[e],null;e in j||m(e,!0,function(a){j[e]=a});return c?o(j[e]):j[e]};return{dynamic:!0,normalize:function(a,b){var c=a.split("!"),e=c[0];return(/^\./.test(e)?b(e):e)+(c[1]?"!"+c[1]:"")},load:function(a,b,c){var a=a.split("!"),e=1<a.length,f=a[0],h=b.toUrl(a[0]),a="url:"+h,k=l,i=function(a){c(e?o(a):a)};f in j?k=j[f]:a in b.cache?k=b.cache[a]:
h in j&&(k=j[h]);if(k===l)if(g[h])g[h].push(i);else{var n=g[h]=[i];m(h,!b.async,function(a){j[f]=j[h]=a;for(var b=0;b<n.length;)n[b++](a);delete g[h]})}else i(k)}}})},"dojo/keys":function(){define("dojo/keys",["./_base/kernel","./sniff"],function(b,i){return b.keys={BACKSPACE:8,TAB:9,CLEAR:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,META:i("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:i("mac")&&!i("air")?
i("safari")?91:224:17}})},"dojo/domReady":function(){define("dojo/domReady",["./has"],function(b){function i(a){o?a(n):l.push(a)}var h=this,n=document,m={loaded:1,complete:1},j="string"!=typeof n.readyState,o=!!m[n.readyState];if(j)n.readyState="loading";if(!o){var l=[],g=[],a=function(a){a=a||h.event;if(!(o||"readystatechange"==a.type&&!m[n.readyState])){o=1;if(j)n.readyState="complete";for(;l.length;)l.shift()(n)}},d=function(b,c){b.addEventListener(c,a,!1);l.push(function(){b.removeEventListener(c,
a,!1)})};if(!b("dom-addeventlistener")){var d=function(b,c){c="on"+c;b.attachEvent(c,a);l.push(function(){b.detachEvent(c,a)})},c=n.createElement("div");try{c.doScroll&&null===h.frameElement&&g.push(function(){try{return c.doScroll("left"),1}catch(a){}})}catch(e){}}d(n,"DOMContentLoaded");d(h,"load");"onreadystatechange"in n?d(n,"readystatechange"):j||g.push(function(){return m[n.readyState]});if(g.length){var f=function(){if(!o){for(var b=g.length;b--;)if(g[b]()){a("poller");return}setTimeout(f,
30)}};f()}}i.load=function(a,b,c){i(c)};return i})},"dojo/_base/lang":function(){define(["./kernel","../has","../sniff"],function(b,i){i.add("bug-for-in-skips-shadowed",function(){for(var a in{toString:1})return 0;return 1});var h=i("bug-for-in-skips-shadowed")?"hasOwnProperty.valueOf.isPrototypeOf.propertyIsEnumerable.toLocaleString.toString.constructor".split("."):[],n=h.length,m=function(a,d,c){var e,f=0,g=b.global;if(!c)if(a.length){e=a[f++];try{c=b.scopeMap[e]&&b.scopeMap[e][1]}catch(k){}c=c||
(e in g?g[e]:d?g[e]={}:void 0)}else return g;for(;c&&(e=a[f++]);)c=e in c?c[e]:d?c[e]={}:void 0;return c},j=Object.prototype.toString,o=function(a,b,c){return(c||[]).concat(Array.prototype.slice.call(a,b||0))},l=/\{([^\}]+)\}/g,g={_extraNames:h,_mixin:function(a,b,c){var e,f,g,k={};for(e in b)if(f=b[e],!(e in a)||a[e]!==f&&(!(e in k)||k[e]!==f))a[e]=c?c(f):f;if(i("bug-for-in-skips-shadowed")&&b)for(g=0;g<n;++g)if(e=h[g],f=b[e],!(e in a)||a[e]!==f&&(!(e in k)||k[e]!==f))a[e]=c?c(f):f;return a},mixin:function(a,
b){a||(a={});for(var c=1,e=arguments.length;c<e;c++)g._mixin(a,arguments[c]);return a},setObject:function(a,b,c){var e=a.split("."),a=e.pop();return(c=m(e,!0,c))&&a?c[a]=b:void 0},getObject:function(a,b,c){return m(a.split("."),b,c)},exists:function(a,b){return void 0!==g.getObject(a,!1,b)},isString:function(a){return"string"==typeof a||a instanceof String},isArray:function(a){return a&&(a instanceof Array||"array"==typeof a)},isFunction:function(a){return"[object Function]"===j.call(a)},isObject:function(a){return void 0!==
a&&(null===a||"object"==typeof a||g.isArray(a)||g.isFunction(a))},isArrayLike:function(a){return a&&void 0!==a&&!g.isString(a)&&!g.isFunction(a)&&!(a.tagName&&"form"==a.tagName.toLowerCase())&&(g.isArray(a)||isFinite(a.length))},isAlien:function(a){return a&&!g.isFunction(a)&&/\{\s*\[native code\]\s*\}/.test(""+a)},extend:function(a,b){for(var c=1,e=arguments.length;c<e;c++)g._mixin(a.prototype,arguments[c]);return a},_hitchArgs:function(a,d){var c=g._toArray(arguments,2),e=g.isString(d);return function(){var f=
g._toArray(arguments),j=e?(a||b.global)[d]:d;return j&&j.apply(a||this,c.concat(f))}},hitch:function(a,d){if(2<arguments.length)return g._hitchArgs.apply(b,arguments);d||(d=a,a=null);if(g.isString(d)){a=a||b.global;if(!a[d])throw['lang.hitch: scope["',d,'"] is null (scope="',a,'")'].join("");return function(){return a[d].apply(a,arguments||[])}}return!a?d:function(){return d.apply(a,arguments||[])}},delegate:function(){function a(){}return function(b,c){a.prototype=b;var e=new a;a.prototype=null;
c&&g._mixin(e,c);return e}}(),_toArray:i("ie")?function(){function a(a,b,e){e=e||[];for(b=b||0;b<a.length;b++)e.push(a[b]);return e}return function(b){return(b.item?a:o).apply(this,arguments)}}():o,partial:function(a){return g.hitch.apply(b,[null].concat(g._toArray(arguments)))},clone:function(a){if(!a||"object"!=typeof a||g.isFunction(a))return a;if(a.nodeType&&"cloneNode"in a)return a.cloneNode(!0);if(a instanceof Date)return new Date(a.getTime());if(a instanceof RegExp)return RegExp(a);var b,c,
e;if(g.isArray(a)){b=[];for(c=0,e=a.length;c<e;++c)c in a&&b.push(g.clone(a[c]))}else b=a.constructor?new a.constructor:{};return g._mixin(b,a,g.clone)},trim:String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^\s\s*/,"").replace(/\s\s*$/,"")},replace:function(a,b,c){return a.replace(c||l,g.isFunction(b)?b:function(a,c){return g.getObject(c,!1,b)})}};g.mixin(b,g);return g})},"dojo/request/util":function(){define("exports,../errors/RequestError,../errors/CancelError,../Deferred,../io-query,../_base/array,../_base/lang".split(","),
function(b,i,h,n,m,j,o){function l(a){return g(a)}b.deepCopy=function(a,d){for(var c in d){var e=a[c],f=d[c];e!==f&&(e&&"object"===typeof e&&f&&"object"===typeof f?b.deepCopy(e,f):a[c]=f)}return a};b.deepCreate=function(a,d){var d=d||{},c=o.delegate(a),e,f;for(e in a)(f=a[e])&&"object"===typeof f&&(c[e]=b.deepCreate(f,d[e]));return b.deepCopy(c,d)};var g=Object.freeze||function(a){return a};b.deferred=function(a,d,c,e,f,j){var k=new n(function(b){d&&d(k,a);return!b||!(b instanceof i)&&!(b instanceof
h)?new h("Request canceled",a):b});k.response=a;k.isValid=c;k.isReady=e;k.handleResponse=f;c=k.then(l).otherwise(function(b){b.response=a;throw b;});b.notify&&c.then(o.hitch(b.notify,"emit","load"),o.hitch(b.notify,"emit","error"));e=c.then(function(a){return a.data||a.text});c=g(o.delegate(e,{response:c}));j&&k.then(function(a){j.call(k,a)},function(b){j.call(k,a,b)});k.promise=c;k.then=c.then;return k};b.addCommonMethods=function(a,b){j.forEach(b||["GET","POST","PUT","DELETE"],function(b){a[("DELETE"===
b?"DEL":b).toLowerCase()]=function(d,f){f=o.delegate(f||{});f.method=b;return a(d,f)}})};b.parseArgs=function(a,b,c){var e=b.data,f=b.query;if(e&&!c&&"object"===typeof e)b.data=m.objectToQuery(e);f?("object"===typeof f&&(f=m.objectToQuery(f)),b.preventCache&&(f+=(f?"&":"")+"request.preventCache="+ +new Date)):b.preventCache&&(f="request.preventCache="+ +new Date);a&&f&&(a+=(~a.indexOf("?")?"&":"?")+f);return{url:a,options:b,getHeader:function(){return null}}};b.checkStatus=function(a){a=a||0;return 200<=
a&&300>a||304===a||1223===a||!a}})},"dojo/Evented":function(){define(["./aspect","./on"],function(b,i){function h(){}var n=b.after;h.prototype={on:function(b,j){return i.parse(this,b,j,function(b,h){return n(b,"on"+h,j,!0)})},emit:function(b,j){var h=[this];h.push.apply(h,arguments);return i.emit.apply(i,h)}};return h})},"dojo/mouse":function(){define("dojo/mouse",["./_base/kernel","./on","./has","./dom","./_base/window"],function(b,i,h,n,m){function j(b,h){var g=function(a,d){return i(a,b,function(b){if(h)return h(b,
d);if(!n.isDescendant(b.relatedTarget,a))return d.call(this,b)})};g.bubble=function(a){return j(b,function(b,c){var e=a(b.target),f=b.relatedTarget;if(e&&e!=(f&&1==f.nodeType&&a(f)))return c.call(e,b)})};return g}h.add("dom-quirks",m.doc&&"BackCompat"==m.doc.compatMode);h.add("events-mouseenter",m.doc&&"onmouseenter"in m.doc.createElement("div"));h.add("events-mousewheel",m.doc&&"onmousewheel"in m.doc);m=h("dom-quirks")&&h("ie")||!h("dom-addeventlistener")?{LEFT:1,MIDDLE:4,RIGHT:2,isButton:function(b,
j){return b.button&j},isLeft:function(b){return b.button&1},isMiddle:function(b){return b.button&4},isRight:function(b){return b.button&2}}:{LEFT:0,MIDDLE:1,RIGHT:2,isButton:function(b,j){return b.button==j},isLeft:function(b){return 0==b.button},isMiddle:function(b){return 1==b.button},isRight:function(b){return 2==b.button}};b.mouseButtons=m;b=h("events-mousewheel")?"mousewheel":function(b,j){return i(b,"DOMMouseScroll",function(b){b.wheelDelta=-b.detail;j.call(this,b)})};return{_eventHandler:j,
enter:j("mouseover"),leave:j("mouseout"),wheel:b,isLeft:m.isLeft,isMiddle:m.isMiddle,isRight:m.isRight}})},"dojo/topic":function(){define("dojo/topic",["./Evented"],function(b){var i=new b;return{publish:function(b,n){return i.emit.apply(i,arguments)},subscribe:function(b,n){return i.on.apply(i,arguments)}}})},"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".split(","),
function(b,i,h,n,m,j,o,l,g,a,d,c,e,f,p,k){b._xhrObj=p._create;var q=b.config;b.objectToQuery=n.objectToQuery;b.queryToObject=n.queryToObject;b.fieldToObject=j.fieldToObject;b.formToObject=j.toObject;b.formToQuery=j.toQuery;b.formToJson=j.toJson;b._blockAsync=!1;var r=b._contentHandlers=b.contentHandlers={text:function(a){return a.responseText},json:function(a){return g.fromJson(a.responseText||null)},"json-comment-filtered":function(a){l.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 a=a.responseText,b=a.indexOf("/*"),c=a.lastIndexOf("*/");if(-1==b||-1==c)throw Error("JSON was not comment filtered");return g.fromJson(a.substring(b+2,c))},javascript:function(a){return b.eval(a.responseText)},xml:function(a){var b=a.responseXML;if(i("ie")&&(!b||!b.documentElement)){var c=function(a){return"MSXML"+a+".DOMDocument"},c=["Microsoft.XMLDOM",c(6),c(4),c(3),c(2)];d.some(c,function(c){try{var d=new ActiveXObject(c);d.async=!1;d.loadXML(a.responseText);b=d}catch(e){return!1}return!0})}return b},
"json-comment-optional":function(a){return a.responseText&&/^[^{\[]*\/\*/.test(a.responseText)?r["json-comment-filtered"](a):r.json(a)}};b._ioSetArgs=function(c,d,e,f){var g={args:c,url:c.url},k=null;if(c.form){var k=m.byId(c.form),h=k.getAttributeNode("action");g.url=g.url||(h?h.value:null);k=j.toObject(k)}h=[{}];k&&h.push(k);c.content&&h.push(c.content);c.preventCache&&h.push({"dojo.preventCache":(new Date).valueOf()});g.query=n.objectToQuery(a.mixin.apply(null,h));g.handleAs=c.handleAs||"text";
var i=new o(function(a){a.canceled=!0;d&&d(a);var b=a.ioArgs.error;if(!b)b=Error("request cancelled"),b.dojoType="cancel",a.ioArgs.error=b;return b});i.addCallback(e);var l=c.load;l&&a.isFunction(l)&&i.addCallback(function(a){return l.call(c,a,g)});var p=c.error;p&&a.isFunction(p)&&i.addErrback(function(a){return p.call(c,a,g)});var r=c.handle;r&&a.isFunction(r)&&i.addBoth(function(a){return r.call(c,a,g)});i.addErrback(function(a){return f(a,i)});q.ioPublish&&b.publish&&!1!==g.args.ioPublish&&(i.addCallbacks(function(a){b.publish("/dojo/io/load",
[i,a]);return a},function(a){b.publish("/dojo/io/error",[i,a]);return a}),i.addBoth(function(a){b.publish("/dojo/io/done",[i,a]);return a}));i.ioArgs=g;return i};var s=function(a){a=r[a.ioArgs.handleAs](a.ioArgs.xhr);return void 0===a?null:a},t=function(a,b){b.ioArgs.args.failOk||console.error(a);return a},x=function(a){0>=v&&(v=0,q.ioPublish&&b.publish&&(!a||a&&!1!==a.ioArgs.args.ioPublish)&&b.publish("/dojo/io/stop"))},v=0;e.after(f,"_onAction",function(){v-=1});e.after(f,"_onInFlight",x);b._ioCancelAll=
f.cancelAll;b._ioNotifyStart=function(a){q.ioPublish&&b.publish&&!1!==a.ioArgs.args.ioPublish&&(v||b.publish("/dojo/io/start"),v+=1,b.publish("/dojo/io/send",[a]))};b._ioWatch=function(b,c,d,e){b.ioArgs.options=b.ioArgs.args;a.mixin(b,{response:b.ioArgs,isValid:function(){return c(b)},isReady:function(){return d(b)},handleResponse:function(){return e(b)}});f(b);x(b)};b._ioAddQueryToUrl=function(a){if(a.query.length)a.url+=(-1==a.url.indexOf("?")?"?":"&")+a.query,a.query=null};b.xhr=function(a,c,d){var e,
f=b._ioSetArgs(c,function(){e&&e.cancel()},s,t),g=f.ioArgs;"postData"in c?g.query=c.postData:"putData"in c?g.query=c.putData:"rawBody"in c?g.query=c.rawBody:(2<arguments.length&&!d||-1==="POST|PUT".indexOf(a.toUpperCase()))&&b._ioAddQueryToUrl(g);var k={method:a,handleAs:"text",timeout:c.timeout,withCredentials:c.withCredentials,ioArgs:g};if("undefined"!==typeof c.headers)k.headers=c.headers;if("undefined"!==typeof c.contentType){if(!k.headers)k.headers={};k.headers["Content-Type"]=c.contentType}if("undefined"!==
typeof g.query)k.data=g.query;if("undefined"!==typeof c.sync)k.sync=c.sync;b._ioNotifyStart(f);try{e=p(g.url,k,!0)}catch(j){return f.cancel(),f}f.ioArgs.xhr=e.response.xhr;e.then(function(){f.resolve(f)}).otherwise(function(a){g.error=a;if(a.response)a.status=a.response.status,a.responseText=a.response.text,a.xhr=a.response.xhr;f.reject(a)});return f};b.xhrGet=function(a){return b.xhr("GET",a)};b.rawXhrPost=b.xhrPost=function(a){return b.xhr("POST",a,!0)};b.rawXhrPut=b.xhrPut=function(a){return b.xhr("PUT",
a,!0)};b.xhrDelete=function(a){return b.xhr("DELETE",a)};b._isDocumentOk=function(a){return k.checkStatus(a.status)};b._getText=function(a){var c;b.xhrGet({url:a,sync:!0,load:function(a){c=a}});return c};a.mixin(b.xhr,{_xhrObj:b._xhrObj,fieldToObject:j.fieldToObject,formToObject:j.toObject,objectToQuery:n.objectToQuery,formToQuery:j.toQuery,formToJson:j.toJson,queryToObject:n.queryToObject,contentHandlers:r,_ioSetArgs:b._ioSetArgs,_ioCancelAll:b._ioCancelAll,_ioNotifyStart:b._ioNotifyStart,_ioWatch:b._ioWatch,
_ioAddQueryToUrl:b._ioAddQueryToUrl,_isDocumentOk:b._isDocumentOk,_getText:b._getText,get:b.xhrGet,post:b.xhrPost,put:b.xhrPut,del:b.xhrDelete});return b.xhr})},"dojo/loadInit":function(){define(["./_base/loader"],function(b){return{dynamic:0,normalize:function(b){return b},load:b.loadInit}})},"dojo/_base/unload":function(){define(["./kernel","./lang","../on"],function(b,i,h){var n=window,m={addOnWindowUnload:function(j,m){if(!b.windowUnloaded)h(n,"unload",b.windowUnloaded=function(){});h(n,"unload",
i.hitch(j,m))},addOnUnload:function(b,m){h(n,"beforeunload",i.hitch(b,m))}};b.addOnWindowUnload=m.addOnWindowUnload;b.addOnUnload=m.addOnUnload;return m})},"dojo/Deferred":function(){define(["./has","./_base/lang","./errors/CancelError","./promise/Promise","./promise/instrumentation"],function(b,i,h,n,m){var j=Object.freeze||function(){},o=function(a,b,f,g,k){2===b&&d.instrumentRejected&&0===a.length&&d.instrumentRejected(f,!1,g,k);for(k=0;k<a.length;k++)l(a[k],b,f,g)},l=function(b,e,f,j){var k=b[e],
h=b.deferred;if(k)try{var i=k(f);if(0===e)"undefined"!==typeof i&&a(h,e,i);else{if(i&&"function"===typeof i.then){b.cancel=i.cancel;i.then(g(h,1),g(h,2),g(h,0));return}a(h,1,i)}}catch(l){a(h,2,l)}else a(h,e,f);2===e&&d.instrumentRejected&&d.instrumentRejected(f,!!k,j,h.promise)},g=function(b,d){return function(f){a(b,d,f)}},a=function(a,b,d){if(!a.isCanceled())switch(b){case 0:a.progress(d);break;case 1:a.resolve(d);break;case 2:a.reject(d)}},d=function(a){var b=this.promise=new n,f=this,g,k,i,m=
!1,s=[];Error.captureStackTrace&&(Error.captureStackTrace(f,d),Error.captureStackTrace(b,d));this.isResolved=b.isResolved=function(){return 1===g};this.isRejected=b.isRejected=function(){return 2===g};this.isFulfilled=b.isFulfilled=function(){return!!g};this.isCanceled=b.isCanceled=function(){return m};this.progress=function(a,c){if(g){if(!0===c)throw Error("This deferred has already been fulfilled.");return b}o(s,0,a,null,f);return b};this.resolve=function(a,c){if(g){if(!0===c)throw Error("This deferred has already been fulfilled.");
return b}o(s,g=1,k=a,null,f);s=null;return b};var t=this.reject=function(a,c){if(g){if(!0===c)throw Error("This deferred has already been fulfilled.");return b}Error.captureStackTrace&&Error.captureStackTrace(i={},t);o(s,g=2,k=a,i,f);s=null;return b};this.then=b.then=function(a,c,f){var j=[f,a,c];j.cancel=b.cancel;j.deferred=new d(function(a){return j.cancel&&j.cancel(a)});g&&!s?l(j,g,k,i):s.push(j);return j.deferred.promise};this.cancel=b.cancel=function(b,d){if(g){if(!0===d)throw Error("This deferred has already been fulfilled.");
}else{if(a)var e=a(b),b="undefined"===typeof e?b:e;m=!0;if(g){if(2===g&&k===b)return b}else return"undefined"===typeof b&&(b=new h),t(b),b}};j(b)};d.prototype.toString=function(){return"[object Deferred]"};m&&m(d);return d})},"dojo/_base/NodeList":function(){define("dojo/_base/NodeList",["./kernel","../query","./array","./html","../NodeList-dom"],function(b,i,h){var i=i.NodeList,n=i.prototype;n.connect=i._adaptAsForEach(function(){return b.connect.apply(this,arguments)});n.coords=i._adaptAsMap(b.coords);
i.events="blur,focus,change,click,error,keydown,keypress,keyup,load,mousedown,mouseenter,mouseleave,mousemove,mouseout,mouseover,mouseup,submit".split(",");h.forEach(i.events,function(b){var j="on"+b;n[j]=function(b,h){return this.connect(j,b,h)}});return b.NodeList=i})},"dojo/_base/Color":function(){define(["./kernel","./lang","./array","./config"],function(b,i,h,n){var m=b.Color=function(b){b&&this.setColor(b)};m.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:n.transparentColor||[0,0,0,0]};i.extend(m,{r:255,g:255,b:255,a:1,_set:function(b,h,i,g){this.r=b;this.g=h;this.b=i;this.a=g},setColor:function(b){i.isString(b)?m.fromString(b,this):i.isArray(b)?m.fromArray(b,this):(this._set(b.r,b.g,b.b,b.a),b instanceof m||this.sanitize());return this},sanitize:function(){return this},
toRgb:function(){return[this.r,this.g,this.b]},toRgba:function(){return[this.r,this.g,this.b,this.a]},toHex:function(){return"#"+h.map(["r","g","b"],function(b){b=this[b].toString(16);return 2>b.length?"0"+b:b},this).join("")},toCss:function(b){var h=this.r+", "+this.g+", "+this.b;return(b?"rgba("+h+", "+this.a:"rgb("+h)+")"},toString:function(){return this.toCss(!0)}});m.blendColors=b.blendColors=function(b,i,l,g){var a=g||new m;h.forEach(["r","g","b","a"],function(d){a[d]=b[d]+(i[d]-b[d])*l;"a"!=
d&&(a[d]=Math.round(a[d]))});return a.sanitize()};m.fromRgb=b.colorFromRgb=function(b,h){var i=b.toLowerCase().match(/^rgba?\(([\s\.,0-9]+)\)/);return i&&m.fromArray(i[1].split(/\s*,\s*/),h)};m.fromHex=b.colorFromHex=function(b,i){var l=i||new m,g=4==b.length?4:8,a=(1<<g)-1,b=Number("0x"+b.substr(1));if(isNaN(b))return null;h.forEach(["b","g","r"],function(d){var c=b&a;b>>=g;l[d]=4==g?17*c:c});l.a=1;return l};m.fromArray=b.colorFromArray=function(b,h){var i=h||new m;i._set(Number(b[0]),Number(b[1]),
Number(b[2]),Number(b[3]));if(isNaN(i.a))i.a=1;return i.sanitize()};m.fromString=b.colorFromString=function(b,h){var i=m.named[b];return i&&m.fromArray(i,h)||m.fromRgb(b,h)||m.fromHex(b,h)};return m})},"dojo/promise/instrumentation":function(){define(["./tracer","../has","../_base/lang","../_base/array"],function(b,i,h,n){function m(a,b,d){var g="";a&&a.stack&&(g+=a.stack);b&&b.stack&&(g+="\n    ----------------------------------------\n    rejected"+b.stack.split("\n").slice(1).join("\n").replace(/^\s+/,
" "));d&&d.stack&&(g+="\n    ----------------------------------------\n"+d.stack);console.error(a,g)}function j(a,b,d,g){b||m(a,d,g)}function o(b,e,f,h){e?n.some(g,function(a,d){if(a.error===b)return g.splice(d,1),!0}):n.some(g,function(a){return a.error===b})||g.push({error:b,rejection:f,deferred:h,timestamp:(new Date).getTime()});a||(a=setTimeout(l,d))}function l(){var b=(new Date).getTime(),e=b-d;g=n.filter(g,function(a){return a.timestamp<e?(m(a.error,a.rejection,a.deferred),!1):!0});g.length&&
(a=setTimeout(l,g[0].timestamp+d-b))}var g=[],a=!1,d=1E3;return function(a){var e=i("config-useDeferredInstrumentation");if(e){b.on("resolved",h.hitch(console,"log","resolved"));b.on("rejected",h.hitch(console,"log","rejected"));b.on("progress",h.hitch(console,"log","progress"));var f=[];"string"===typeof e&&(f=e.split(","),e=f.shift());if("report-rejections"===e)a.instrumentRejected=j;else if("report-unhandled-rejections"===e||!0===e||1===e)a.instrumentRejected=o,d=parseInt(f[0],10)||d;else throw Error("Unsupported instrumentation usage <"+
e+">");}}})},"dojo/selector/_loader":function(){define("dojo/selector/_loader",["../has","require"],function(b,i){var h=document.createElement("div");b.add("dom-qsa2.1",!!h.querySelectorAll);b.add("dom-qsa3",function(){try{return h.innerHTML="<p class='TEST'></p>",1==h.querySelectorAll(".TEST:empty").length}catch(b){}});var n;return{load:function(h,j,o){var l=i,h="default"==h?b("config-selectorEngine")||"css3":h,h="css2"==h||"lite"==h?"./lite":"css2.1"==h?b("dom-qsa2.1")?"./lite":"./acme":"css3"==
h?b("dom-qsa3")?"./lite":"./acme":"acme"==h?"./acme":(l=j)&&h;if("?"==h.charAt(h.length-1))var h=h.substring(0,h.length-1),g=!0;if(g&&(b("dom-compliant-qsa")||n))return o(n);l([h],function(a){"./lite"!=h&&(n=a);o(a)})}}})},"dojo/promise/Promise":function(){define("dojo/promise/Promise",["../_base/lang"],function(b){function i(){throw new TypeError("abstract");}return b.extend(function(){},{then:function(){i()},cancel:function(){i()},isResolved:function(){i()},isRejected:function(){i()},isFulfilled:function(){i()},
isCanceled:function(){i()},always:function(b){return this.then(b,b)},otherwise:function(b){return this.then(null,b)},trace:function(){return this},traceRejected:function(){return this},toString:function(){return"[object Promise]"}})})},"dojo/request/watch":function(){define("./util,../errors/RequestTimeoutError,../errors/CancelError,../_base/array,../_base/window,../has!host-browser?dom-addeventlistener?:../on:".split(","),function(b,i,h,n,m,j){function o(){for(var b=+new Date,c=0,e;c<a.length&&(e=
a[c]);c++){var f=e.response,h=f.options;if(e.isCanceled&&e.isCanceled()||e.isValid&&!e.isValid(f))a.splice(c--,1),l._onAction&&l._onAction();else if(e.isReady&&e.isReady(f))a.splice(c--,1),e.handleResponse(f),l._onAction&&l._onAction();else if(e.startTime&&e.startTime+(h.timeout||0)<b)a.splice(c--,1),e.cancel(new i("Timeout exceeded",f)),l._onAction&&l._onAction()}l._onInFlight&&l._onInFlight(e);a.length||(clearInterval(g),g=null)}function l(b){if(b.response.options.timeout)b.startTime=+new Date;
b.isFulfilled()||(a.push(b),g||(g=setInterval(o,50)),b.response.options.sync&&o())}var g=null,a=[];l.cancelAll=function(){try{n.forEach(a,function(a){try{a.cancel(new h("All requests canceled."))}catch(b){}})}catch(b){}};m&&j&&m.doc.attachEvent&&j(m.global,"unload",function(){l.cancelAll()});return l})},"dojo/on":function(){define(["./has!dom-addeventlistener?:./aspect","./_base/kernel","./has"],function(b,i,h){function n(a,b,d,e,k){if(e=b.match(/(.*):(.*)/))return b=e[2],e=e[1],l.selector(e,b).call(k,
a,d);h("touch")&&(g.test(b)&&(d=u(d)),!h("event-orientationchange")&&"orientationchange"==b&&(b="resize",a=window,d=u(d)));f&&(d=f(d));if(a.addEventListener){var j=b in c,i=j?c[b]:b;a.addEventListener(i,d,j);return{remove:function(){a.removeEventListener(i,d,j)}}}if(r&&a.attachEvent)return r(a,"on"+b,d);throw Error("Target must be an event emitter");}function m(){this.cancelable=!1}function j(){this.bubbles=!1}var o=window.ScriptEngineMajorVersion;h.add("jscript",o&&o()+ScriptEngineMinorVersion()/
10);h.add("event-orientationchange",h("touch")&&!h("android"));h.add("event-stopimmediatepropagation",window.Event&&!!window.Event.prototype&&!!window.Event.prototype.stopImmediatePropagation);var l=function(a,b,c,d){return"function"==typeof a.on&&"function"!=typeof b?a.on(b,c):l.parse(a,b,c,n,d,this)};l.pausable=function(a,b,c,d){var e,a=l(a,b,function(){if(!e)return c.apply(this,arguments)},d);a.pause=function(){e=!0};a.resume=function(){e=!1};return a};l.once=function(a,b,c){var d=l(a,b,function(){d.remove();
return c.apply(this,arguments)});return d};l.parse=function(a,b,c,d,e,f){if(b.call)return b.call(f,a,c);if(-1<b.indexOf(",")){for(var b=b.split(/\s*,\s*/),g=[],k=0,h;h=b[k++];)g.push(d(a,h,c,e,f));g.remove=function(){for(var a=0;a<g.length;a++)g[a].remove()};return g}return d(a,b,c,e,f)};var g=/^touch/;l.selector=function(a,b,c){return function(d,e){function f(b){for(g=g&&g.matches?g:i.query;!g.matches(b,a,d);)if(b==d||!1===c||!(b=b.parentNode)||1!=b.nodeType)return;return b}var g="function"==typeof a?
{matches:a}:this,k=b.bubble;return k?l(d,k(f),e):l(d,b,function(a){var b=f(a.target);return b&&e.call(b,a)})}};var a=[].slice,d=l.emit=function(b,c,d){var e=a.call(arguments,2),f="on"+c;if("parentNode"in b){var g=e[0]={},k;for(k in d)g[k]=d[k];g.preventDefault=m;g.stopPropagation=j;g.target=b;g.type=c;d=g}do b[f]&&b[f].apply(b,e);while(d&&d.bubbles&&(b=b.parentNode));return d&&d.cancelable&&d},c={};if(!h("event-stopimmediatepropagation"))var e=function(){this.modified=this.immediatelyStopped=!0},
f=function(a){return function(b){if(!b.immediatelyStopped)return b.stopImmediatePropagation=e,a.apply(this,arguments)}};if(h("dom-addeventlistener")){c={focusin:"focus",focusout:"blur"};if(h("opera"))c.keydown="keypress";l.emit=function(a,b,c){if(a.dispatchEvent&&document.createEvent){var e=a.ownerDocument.createEvent("HTMLEvents");e.initEvent(b,!!c.bubbles,!!c.cancelable);for(var f in c)f in e||(e[f]=c[f]);return a.dispatchEvent(e)&&e}return d.apply(l,arguments)}}else{l._fixEvent=function(a,b){if(!a)a=
(b&&(b.ownerDocument||b.document||b).parentWindow||window).event;if(!a)return a;p&&a.type==p.type&&(a=p);if(!a.target){a.target=a.srcElement;a.currentTarget=b||a.srcElement;if("mouseover"==a.type)a.relatedTarget=a.fromElement;if("mouseout"==a.type)a.relatedTarget=a.toElement;if(!a.stopPropagation)a.stopPropagation=s,a.preventDefault=t;switch(a.type){case "keypress":var c="charCode"in a?a.charCode:a.keyCode;10==c?(c=0,a.keyCode=13):13==c||27==c?c=0:3==c&&(c=99);a.charCode=c;c=a;c.keyChar=c.charCode?
String.fromCharCode(c.charCode):"";c.charOrCode=c.keyChar||c.keyCode}}return a};var p,k=function(a){this.handle=a};k.prototype.remove=function(){delete _dojoIEListeners_[this.handle]};var q=function(a){return function(b){var b=l._fixEvent(b,this),c=a.call(this,b);b.modified&&(p||setTimeout(function(){p=null}),p=b);return c}},r=function(a,c,d){d=q(d);if(((a.ownerDocument?a.ownerDocument.parentWindow:a.parentWindow||a.window||window)!=top||5.8>h("jscript"))&&!h("config-_allow_leaks")){"undefined"==
typeof _dojoIEListeners_&&(_dojoIEListeners_=[]);var e=a[c];if(!e||!e.listeners){var f=e,e=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);}}");e.listeners=[];a[c]=e;e.global=this;f&&e.listeners.push(_dojoIEListeners_.push(f)-1)}e.listeners.push(a=e.global._dojoIEListeners_.push(d)-1);return new k(a)}return b.after(a,c,d,!0)},s=function(){this.cancelBubble=
!0},t=l._preventDefault=function(){this.bubbledKeyCode=this.keyCode;if(this.ctrlKey)try{this.keyCode=0}catch(a){}this.defaultPrevented=!0;this.returnValue=!1}}if(h("touch"))var x=function(){},v=window.orientation,u=function(a){return function(b){var c=b.corrected;if(!c){var d=b.type;try{delete b.type}catch(e){}b.type?(x.prototype=b,c=new x,c.preventDefault=function(){b.preventDefault()},c.stopPropagation=function(){b.stopPropagation()}):(c=b,c.type=d);b.corrected=c;if("resize"==d){if(v==window.orientation)return null;
v=window.orientation;c.type="orientationchange";return a.call(this,c)}if(!("rotation"in c))c.rotation=0,c.scale=1;var d=c.changedTouches[0],f;for(f in d)delete c[f],c[f]=d[f]}return a.call(this,c)}};return l})},"dojo/_base/sniff":function(){define(["./kernel","./lang","../sniff"],function(b,i,h){b._name="browser";i.mixin(b,{isBrowser:!0,isFF:h("ff"),isIE:h("ie"),isKhtml:h("khtml"),isWebKit:h("webkit"),isMozilla:h("mozilla"),isMoz:h("mozilla"),isOpera:h("opera"),isSafari:h("safari"),isChrome:h("chrome"),
isMac:h("mac"),isIos:h("ios"),isAndroid:h("android"),isWii:h("wii"),isQuirks:h("quirks"),isAir:h("air")});b.locale=b.locale||(h("ie")?navigator.userLanguage:navigator.language).toLowerCase();return h})},"dojo/errors/create":function(){define(["../_base/lang"],function(b){return function(i,h,n,m){var n=n||Error,j=function(b){if(n===Error){Error.captureStackTrace&&Error.captureStackTrace(this,j);var i=Error.call(this,b),g;for(g in i)i.hasOwnProperty(g)&&(this[g]=i[g]);this.message=b;this.stack=i.stack}else n.apply(this,
arguments);h&&h.apply(this,arguments)};j.prototype=b.delegate(n.prototype,m);j.prototype.name=i;return j.prototype.constructor=j}})},"dojo/_base/array":function(){define(["./kernel","../has","./lang"],function(b,i,h){function n(a){return o[a]=new Function("item","index","array",a)}function m(a){var b=!a;return function(c,e,f){var g=0,k=c&&c.length||0,h;k&&"string"==typeof c&&(c=c.split(""));"string"==typeof e&&(e=o[e]||n(e));if(f)for(;g<k;++g){if(h=!e.call(f,c[g],g,c),a^h)return!h}else for(;g<k;++g)if(h=
!e(c[g],g,c),a^h)return!h;return b}}function j(a){var b=1,c=0,e=0;a||(b=c=e=-1);return function(f,h,k,j){if(j&&0<b)return g.lastIndexOf(f,h,k);var j=f&&f.length||0,i=a?j+e:c;k===l?k=a?c:j+e:0>k?(k=j+k,0>k&&(k=c)):k=k>=j?j+e:k;for(j&&"string"==typeof f&&(f=f.split(""));k!=i;k+=b)if(f[k]==h)return k;return-1}}var o={},l,g={every:m(!1),some:m(!0),indexOf:j(!0),lastIndexOf:j(!1),forEach:function(a,b,c){var e=0,f=a&&a.length||0;f&&"string"==typeof a&&(a=a.split(""));"string"==typeof b&&(b=o[b]||n(b));
if(c)for(;e<f;++e)b.call(c,a[e],e,a);else for(;e<f;++e)b(a[e],e,a)},map:function(a,b,c,e){var f=0,g=a&&a.length||0,e=new (e||Array)(g);g&&"string"==typeof a&&(a=a.split(""));"string"==typeof b&&(b=o[b]||n(b));if(c)for(;f<g;++f)e[f]=b.call(c,a[f],f,a);else for(;f<g;++f)e[f]=b(a[f],f,a);return e},filter:function(a,b,c){var e=0,f=a&&a.length||0,g=[],h;f&&"string"==typeof a&&(a=a.split(""));"string"==typeof b&&(b=o[b]||n(b));if(c)for(;e<f;++e)h=a[e],b.call(c,h,e,a)&&g.push(h);else for(;e<f;++e)h=a[e],
b(h,e,a)&&g.push(h);return g},clearCache:function(){o={}}};h.mixin(b,g);return g})},"dojo/_base/json":function(){define(["./kernel","../json"],function(b,i){b.fromJson=function(b){return eval("("+b+")")};b._escapeString=i.stringify;b.toJsonIndentStr="\t";b.toJson=function(h,n){return i.stringify(h,function(b,h){if(h){var i=h.__json__||h.json;if("function"==typeof i)return i.call(h)}return h},n&&b.toJsonIndentStr)};return b})},"dojo/_base/window":function(){define("dojo/_base/window",["./kernel","./lang",
"../sniff"],function(b,i,h){var n={global:b.global,doc:this.document||null,body:function(h){h=h||b.doc;return h.body||h.getElementsByTagName("body")[0]},setContext:function(h,j){b.global=n.global=h;b.doc=n.doc=j},withGlobal:function(h,j,i,l){var g=b.global;try{return b.global=n.global=h,n.withDoc.call(null,h.document,j,i,l)}finally{b.global=n.global=g}},withDoc:function(i,j,o,l){var g=n.doc,a=h("quirks"),d=h("ie"),c,e,f;try{b.doc=n.doc=i;b.isQuirks=h.add("quirks","BackCompat"==b.doc.compatMode,!0,
!0);if(h("ie")&&(f=i.parentWindow)&&f.navigator)c=parseFloat(f.navigator.appVersion.split("MSIE ")[1])||void 0,(e=i.documentMode)&&5!=e&&Math.floor(c)!=e&&(c=e),b.isIE=h.add("ie",c,!0,!0);o&&"string"==typeof j&&(j=o[j]);return j.apply(o,l||[])}finally{b.doc=n.doc=g,b.isQuirks=h.add("quirks",a,!0,!0),b.isIE=h.add("ie",d,!0,!0)}}};i.mixin(b,n);return n})},"dojo/dom-class":function(){define(["./_base/lang","./_base/array","./dom"],function(b,i,h){function n(b){if("string"==typeof b||b instanceof String){if(b&&
!j.test(b))return o[0]=b,o;b=b.split(j);b.length&&!b[0]&&b.shift();b.length&&!b[b.length-1]&&b.pop();return b}return!b?[]:i.filter(b,function(a){return a})}var m,j=/\s+/,o=[""],l={};return m={contains:function(b,a){return 0<=(" "+h.byId(b).className+" ").indexOf(" "+a+" ")},add:function(b,a){var b=h.byId(b),a=n(a),d=b.className,c,d=d?" "+d+" ":" ";c=d.length;for(var e=0,f=a.length,i;e<f;++e)(i=a[e])&&0>d.indexOf(" "+i+" ")&&(d+=i+" ");c<d.length&&(b.className=d.substr(1,d.length-2))},remove:function(g,
a){var g=h.byId(g),d;if(void 0!==a){a=n(a);d=" "+g.className+" ";for(var c=0,e=a.length;c<e;++c)d=d.replace(" "+a[c]+" "," ");d=b.trim(d)}else d="";g.className!=d&&(g.className=d)},replace:function(b,a,d){b=h.byId(b);l.className=b.className;m.remove(l,d);m.add(l,a);b.className!==l.className&&(b.className=l.className)},toggle:function(b,a,d){b=h.byId(b);if(void 0===d)for(var a=n(a),c=0,e=a.length,f;c<e;++c)f=a[c],m[m.contains(b,f)?"remove":"add"](b,f);else m[d?"add":"remove"](b,a);return d}}})},"dojo/_base/config":function(){define(["../has",
"require"],function(b,i){var h={},n=i.rawConfig,m;for(m in n)h[m]=n[m];return h})},"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".split(","),function(b,i,h,n,m,j,o,l){o.isDebug&&h(["./_firebug/firebug"]);var g=o.require;g&&(g=j.map(m.isArray(g)?g:[g],function(a){return a.replace(/\./g,
"/")}),b.isAsync?h(g):l(1,function(){h(g)}));return b})},"dojo/_base/event":function(){define("dojo/_base/event",["./kernel","../on","../has","../dom-geometry"],function(b,i,h,n){if(i._fixEvent){var m=i._fixEvent;i._fixEvent=function(b,h){(b=m(b,h))&&n.normalizeEvent(b);return b}}var j={fix:function(b,h){return i._fixEvent?i._fixEvent(b,h):b},stop:function(b){h("dom-addeventlistener")||b&&b.preventDefault?(b.preventDefault(),b.stopPropagation()):(b=b||window.event,b.cancelBubble=!0,i._preventDefault.call(b))}};
b.fixEvent=j.fix;b.stopEvent=j.stop;return j})},"dojo/sniff":function(){define(["./has"],function(b){var i=navigator,h=i.userAgent,i=i.appVersion,n=parseFloat(i);b.add("air",0<=h.indexOf("AdobeAIR"));b.add("khtml",0<=i.indexOf("Konqueror")?n:void 0);b.add("webkit",parseFloat(h.split("WebKit/")[1])||void 0);b.add("chrome",parseFloat(h.split("Chrome/")[1])||void 0);b.add("safari",0<=i.indexOf("Safari")&&!b("chrome")?parseFloat(i.split("Version/")[1]):void 0);b.add("mac",0<=i.indexOf("Macintosh"));b.add("quirks",
"BackCompat"==document.compatMode);b.add("ios",/iPhone|iPod|iPad/.test(h));b.add("android",parseFloat(h.split("Android ")[1])||void 0);if(!b("webkit")){0<=h.indexOf("Opera")&&b.add("opera",9.8<=n?parseFloat(h.split("Version/")[1])||n:n);0<=h.indexOf("Gecko")&&!b("khtml")&&!b("webkit")&&b.add("mozilla",n);b("mozilla")&&b.add("ff",parseFloat(h.split("Firefox/")[1]||h.split("Minefield/")[1])||void 0);if(document.all&&!b("opera"))h=parseFloat(i.split("MSIE ")[1])||void 0,(i=document.documentMode)&&5!=
i&&Math.floor(h)!=i&&(h=i),b.add("ie",h);b.add("wii","undefined"!=typeof opera&&opera.wiiremote)}return b})},"dojo/request/handlers":function(){define(["../json","../_base/kernel","../_base/array","../has"],function(b,i,h,n){function m(b){var a=l[b.options.handleAs];b.data=a?a(b):b.data||b.text;return b}n.add("activex","undefined"!==typeof ActiveXObject);var j;if(n("activex")){var o=["Msxml2.DOMDocument.6.0","Msxml2.DOMDocument.4.0","MSXML2.DOMDocument.3.0","MSXML.DOMDocument"];j=function(b){var a=
b.data;if(!a||!a.documentElement){var d=b.text;h.some(o,function(b){try{var e=new ActiveXObject(b);e.async=!1;e.loadXML(d);a=e}catch(f){return!1}return!0})}return a}}var l={javascript:function(b){return i.eval(b.text||"")},json:function(g){return b.parse(g.text||null)},xml:j};m.register=function(b,a){l[b]=a};return m})},"dojo/aspect":function(){define([],function(){function b(b,g,a,d){var c=b[g],e="around"==g,f;if(e){var h=a(function(){return c.advice(this,arguments)});f={remove:function(){f.cancelled=
!0},advice:function(a,b){return f.cancelled?c.advice(a,b):h.apply(a,b)}}}else f={remove:function(){var a=f.previous,c=f.next;if(!c&&!a)delete b[g];else if(a?a.next=c:b[g]=c,c)c.previous=a},id:n++,advice:a,receiveArguments:d};if(c&&!e)if("after"==g){for(a=c;a;)c=a,a=a.next;c.next=f;f.previous=c}else{if("before"==g)b[g]=f,f.next=c,c.previous=f}else b[g]=f;return f}function i(i){return function(g,a,d,c){var e=g[a],f;if(!e||e.target!=g){g[a]=f=function(){for(var a=n,b=arguments,c=f.before;c;)b=c.advice.apply(this,
b)||b,c=c.next;if(f.around)var d=f.around.advice(this,b);for(c=f.after;c&&c.id<a;){if(c.receiveArguments)var e=c.advice.apply(this,b),d=e===h?d:e;else d=c.advice.call(this,d,b);c=c.next}return d};if(e)f.around={advice:function(a,b){return e.apply(a,b)}};f.target=g}g=b(f||e,i,d,c);d=null;return g}}var h,n=0,m=i("after"),j=i("before"),o=i("around");return{before:j,around:o,after:m}})},"dojo/ready":function(){define(["./_base/kernel","./has","require","./domReady","./_base/lang"],function(b,i,h,n,m){var j=
0,o,l=[],g=0,a=function(){if(j&&!g&&l.length){g=1;var b=l.shift();try{b()}finally{g=0}g=0;l.length&&o(a)}};h.on("idle",a);o=function(){h.idle()&&a()};var i=b.ready=b.addOnLoad=function(a,d,f){var g=m._toArray(arguments);"number"!=typeof a?(f=d,d=a,a=1E3):g.shift();f=f?m.hitch.apply(b,g):function(){d()};f.priority=a;for(g=0;g<l.length&&a>=l[g].priority;g++);l.splice(g,0,f);o()},d=b.config.addOnLoad;if(d)i[m.isArray(d)?"apply":"call"](b,d);b.config.parseOnLoad&&!b.isAsync&&i(99,function(){b.parser||
(b.deprecated("Add explicit require(['dojo/parser']);","","2.0"),h(["dojo/parser"]))});n(function(){j=1;b._postLoad=b.config.afterOnLoad=!0;l.length&&o(a)});return i})},"dojo/_base/connect":function(){define("dojo/_base/connect","./kernel,../on,../topic,../aspect,./event,../mouse,./sniff,./lang,../keys".split(","),function(b,i,h,n,m,j,o,l){function g(a,c,d,e,g){e=l.hitch(d,e);if(!a||!a.addEventListener&&!a.attachEvent)return n.after(a||b.global,c,e,!0);"string"==typeof c&&"on"==c.substring(0,2)&&
(c=c.substring(2));if(!a)a=b.global;if(!g)switch(c){case "keypress":c=f;break;case "mouseenter":c=j.enter;break;case "mouseleave":c=j.leave}return i(a,c,e,g)}function a(a){a.keyChar=a.charCode?String.fromCharCode(a.charCode):"";a.charOrCode=a.keyChar||a.keyCode}o.add("events-keypress-typed",function(){var a={charCode:0};try{a=document.createEvent("KeyboardEvent"),(a.initKeyboardEvent||a.initKeyEvent).call(a,"keypress",!0,!0,null,!1,!1,!1,!1,9,3)}catch(b){}return 0==a.charCode&&!o("opera")});var 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},c=o("mac")?"metaKey":"ctrlKey",e=function(b,c){var d=l.mixin({},b,c);a(d);d.preventDefault=function(){b.preventDefault()};d.stopPropagation=function(){b.stopPropagation()};return d},f;f=o("events-keypress-typed")?function(a,b){var c=i(a,"keydown",function(a){var c=a.keyCode,f=13!=c&&32!=c&&(27!=c||!o("ie"))&&(48>c||90<c)&&(96>c||111<c)&&(186>c||192<c)&&(219>c||222<c)&&229!=c;if(f||a.ctrlKey){f=f?0:
c;if(a.ctrlKey){if(3==c||13==c)return b.call(a.currentTarget,a);f=95<f&&106>f?f-48:!a.shiftKey&&65<=f&&90>=f?f+32:d[f]||f}c=e(a,{type:"keypress",faux:!0,charCode:f});b.call(a.currentTarget,c);if(o("ie"))try{a.keyCode=c.keyCode}catch(g){}}}),f=i(a,"keypress",function(a){var c=a.charCode,a=e(a,{charCode:32<=c?c:0,faux:!0});return b.call(this,a)});return{remove:function(){c.remove();f.remove()}}}:o("opera")?function(a,b){return i(a,"keypress",function(a){var c=a.which;3==c&&(c=99);c=32>c&&!a.shiftKey?
0:c;a.ctrlKey&&!a.shiftKey&&65<=c&&90>=c&&(c+=32);return b.call(this,e(a,{charCode:c}))})}:function(b,c){return i(b,"keypress",function(b){a(b);return c.call(this,b)})};var p={_keypress:f,connect:function(a,b,c,d,e){var f=arguments,h=[],i=0;h.push("string"==typeof f[0]?null:f[i++],f[i++]);var j=f[i+1];h.push("string"==typeof j||"function"==typeof j?f[i++]:null,f[i++]);for(j=f.length;i<j;i++)h.push(f[i]);return g.apply(this,h)},disconnect:function(a){a&&a.remove()},subscribe:function(a,b,c){return h.subscribe(a,
l.hitch(b,c))},publish:function(a,b){return h.publish.apply(h,[a].concat(b))},connectPublisher:function(a,b,c){var d=function(){p.publish(a,arguments)};return c?p.connect(b,c,d):p.connect(b,d)},isCopyKey:function(a){return a[c]}};p.unsubscribe=p.disconnect;l.mixin(b,p);return p})},"dojo/errors/CancelError":function(){define("dojo/errors/CancelError",["./create"],function(b){return b("CancelError",null,null,{dojoType:"cancel"})})}}});
(function(){var b=this.require;b({cache:{}});!b.async&&b(["dojo"]);b.boot&&b.apply(null,b.boot)})();
