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

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

		http://dojotoolkit.org
*/

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