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