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