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