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

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

		http://dojotoolkit.org
*/

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