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

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

		http://dojotoolkit.org
*/

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