//>>built
(function(g,k){var i,j,e=function(){},c=function(a){for(var d in a)return 0;return 1},h={}.toString,b=function(a){return"[object Function]"==h.call(a)},f=function(a){return"[object String]"==h.call(a)},a=function(a){return"[object Array]"==h.call(a)},l=function(a,d){if(a)for(var b=0;b<a.length;)d(a[b++])},d=function(a,d){for(var b in d)a[b]=d[b];return a},p=function(a,b){return d(Error(a),{src:"dojoLoader",info:b})},m=1,n=function(){return"_"+m++},o=function(a,d,b){return wa(a,d,b,0,o)},r=this,q=
r.document,v=q&&q.createElement("DiV"),s=o.has=function(a){return b(t[a])?t[a]=t[a](r,q,v):t[a]},t=s.cache=k.hasCache;s.add=function(a,d,b,l){(void 0===t[a]||l)&&(t[a]=d);return b&&s(a)};for(var u in g.has)s.add(u,g.has[u],0,1);o.async=1;var y=new Function("return eval(arguments[0]);");o.eval=function(a,d){return y(a+"\r\n////@ sourceURL="+d)};var z={},I=o.signal=function(d,b){var f=z[d];l(f&&f.slice(0),function(d){d.apply(null,a(b)?b:[b])})},J=o.on=function(a,d){var b=z[a]||(z[a]=[]);b.push(d);return{remove:function(){for(var a=
0;a<b.length;a++)if(b[a]===d){b.splice(a,1);break}}}},N=[],E={},S=[],Q={},B=o.map={},A=[],w={},x="",K={},H={},C={},F=function(a){var d,b,l,f;for(d in H)b=H[d],(l=d.match(/^url\:(.+)/))?K["url:"+xa(l[1],a)]=b:"*now"==d?f=b:"*noref"!=d&&(l=aa(d,a),K[l.mid]=K["url:"+l.url]=b);f&&f(ja(a));H={}},O=function(a){return a.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(a){return"\\"+a})},D=function(a,d){d.splice(0,d.length);for(var b in a)d.push([b,a[b],RegExp("^"+O(b)+"(/|$)"),b.length]);d.sort(function(a,
d){return d[3]-a[3]});return d},L=function(a){var b=a.name;b||(b=a,a={name:b});a=d({main:"main"},a);a.location=a.location?a.location:b;if(a.packageMap)B[b]=a.packageMap;if(!a.main.indexOf("./"))a.main=a.main.substring(2);Q[b]=a},T=[],G=function(a,b,e){for(var c in a){if("waitSeconds"==c)o.waitms=1E3*(a[c]||0);"cacheBust"==c&&(x=a[c]?f(a[c])?a[c]:(new Date).getTime()+"":"");if("baseUrl"==c||"combo"==c)o[c]=a[c];a[c]!==t&&(o.rawConfig[c]=a[c],"has"!=c&&s.add("config-"+c,a[c],0,b))}if(!o.baseUrl)o.baseUrl=
"./";/\/$/.test(o.baseUrl)||(o.baseUrl+="/");for(c in a.has)s.add(c,a.has[c],0,b);l(a.packages,L);for(j in a.packagePaths)l(a.packagePaths[j],function(a){var b=j+"/"+a;f(a)&&(a={name:a});a.location=b;L(a)});D(d(B,a.map),A);l(A,function(a){a[1]=D(a[1],[]);if("*"==a[0])A.star=a[1]});D(d(E,a.paths),S);l(a.aliases,function(a){f(a[0])&&(a[0]=RegExp("^"+O(a[0])+"$"));N.push(a)});if(b)T.push({config:a.config});else for(c in a.config)b=W(c,e),b.config=d(b.config||{},a.config[c]);if(a.cache)F(),H=a.cache,
a.cache["*noref"]&&F();I("config",[a,o.rawConfig])};s("dojo-cdn");var M=q.getElementsByTagName("script");i=0;for(var X,P,Y,U;i<M.length;)if(X=M[i++],(Y=X.getAttribute("src"))&&(U=Y.match(/(((.*)\/)|^)dojo\.js(\W|$)/i))){P=U[3]||"";k.baseUrl=k.baseUrl||P;(Y=X.getAttribute("data-dojo-config")||X.getAttribute("djConfig"))&&(C=o.eval("({ "+Y+" })","data-dojo-config"));break}o.rawConfig={};G(k,1);if(s("dojo-cdn"))(Q.dojo.location=P)&&(P+="/"),Q.dijit.location=P+"../dijit/",Q.dojox.location=P+"../dojox/";
G(g,1);G(C,1);var ba=function(a){ka(function(){l(a.deps,ya)})},wa=function(b,l,c,m,g){var h;if(f(b)){if((h=W(b,m,!0))&&h.executed)return h.result;throw p("undefinedModule",b);}a(b)||(G(b,0,m),b=l,l=c);if(a(b))if(b.length){for(var c="require*"+n(),j,i=[],r=0;r<b.length;)j=b[r++],i.push(W(j,m));h=d(ca("",c,0,""),{injected:2,deps:i,def:l||e,require:m?m.require:o,gc:1});w[h.mid]=h;ba(h);var t=$&&0!="sync";ka(function(){la(h,t)});h.executed||V.push(h);da()}else l&&l();return g},ja=function(a){if(!a)return o;
var b=a.require;if(!b)b=function(d,l,f){return wa(d,l,f,a,b)},a.require=d(b,o),b.module=a,b.toUrl=function(b){return xa(b,a)},b.toAbsMid=function(b){return ma(b,a)};return b},V=[],ea=[],R={},La=function(a){a.injected=1;R[a.mid]=1;a.url&&(R[a.url]=a.pack||1);za()},ga=function(a){a.injected=2;delete R[a.mid];a.url&&delete R[a.url];c(R)&&fa()},Ma=o.idle=function(){return!ea.length&&c(R)&&!V.length&&!$},na=function(a,b){if(b)for(var d=0;d<b.length;d++)if(b[d][2].test(a))return b[d];return 0},Aa=function(a){for(var b=
[],d,l,a=a.replace(/\\/g,"/").split("/");a.length;)d=a.shift(),".."==d&&b.length&&".."!=l?(b.pop(),l=b[b.length-1]):"."!=d&&b.push(l=d);return b.join("/")},ca=function(a,b,d,l){return{pid:a,mid:b,pack:d,url:l,executed:0,def:0}},Ba=function(a,d,f,c,e,m,h,g){var o,n,j,i;i=/^\./.test(a);if(/(^\/)|(\:)|(\.js$)/.test(a)||i&&!d)return ca(0,a,0,a);a=Aa(i?d.mid+"/../"+a:a);if(/^\./.test(a))throw p("irrationalPath",a);d&&(j=na(d.mid,m));(j=(j=j||m.star)&&na(a,j[1]))&&(a=j[1]+a.substring(j[3]));d=(U=a.match(/^([^\/]+)(\/(.+))?$/))?
U[1]:"";(o=f[d])?a=d+"/"+(n=U[3]||o.main):d="";var r=0;l(N,function(d){var l=a.match(d[0]);l&&0<l.length&&(r=b(d[1])?a.replace(d[0],d[1]):d[1])});if(r)return Ba(r,0,f,c,e,m,h,g);if(f=c[a])return g?ca(f.pid,f.mid,f.pack,f.url):c[a];c=(j=na(a,h))?j[1]+a.substring(j[3]):d?o.location+"/"+n:s("config-tlmSiblingOfDojo")?"../"+a:a;/(^\/)|(\:)/.test(c)||(c=e+c);return ca(d,a,o,Aa(c+".js"))},aa=function(a,b){return Ba(a,b,Q,w,o.baseUrl,A,S)},Ca=function(a,b,d){return a.normalize?a.normalize(b,function(a){return ma(a,
d)}):ma(b,d)},Da=0,W=function(a,b,d){var l,f;(l=a.match(/^(.+?)\!(.*)$/))?(f=W(l[1],b,d),5===f.executed&&!f.load&&oa(f),f.load?(l=Ca(f,l[2],b),a=f.mid+"!"+(f.dynamic?++Da+"!":"")+l):(l=l[2],a=f.mid+"!"+ ++Da+"!waitingForPlugin"),a={plugin:f,mid:a,req:ja(b),prid:l}):a=aa(a,b);return w[a.mid]||!d&&(w[a.mid]=a)},ma=o.toAbsMid=function(a,b){return aa(a,b).mid},xa=o.toUrl=function(a,b){var d=aa(a+"/x",b),l=d.url;return Ea(0===d.pid?a:l.substring(0,l.length-5))},Fa={injected:2,executed:5,def:3,result:3},
pa=function(a){return w[a]=d({mid:a},Fa)},Na=pa("require"),Oa=pa("exports"),Pa=pa("module"),ha={},qa=0,oa=function(a){var b=a.result;a.dynamic=b.dynamic;a.normalize=b.normalize;a.load=b.load;return a},Qa=function(a){var b={};l(a.loadQ,function(l){var f=Ca(a,l.prid,l.req.module),c=a.dynamic?l.mid.replace(/waitingForPlugin$/,f):a.mid+"!"+f,f=d(d({},l),{mid:c,prid:f,injected:0});w[c]||Ga(w[c]=f);b[l.mid]=w[c];ga(l);delete w[l.mid]});a.loadQ=0;var f=function(a){for(var d=a.deps||[],l=0;l<d.length;l++)(a=
b[d[l].mid])&&(d[l]=a)},c;for(c in w)f(w[c]);l(V,f)},ra=function(a){o.trace("loader-finish-exec",[a.mid]);a.executed=5;a.defOrder=qa++;a.loadQ&&(oa(a),Qa(a));for(i=0;i<V.length;)V[i]===a?V.splice(i,1):i++;/^require\*/.test(a.mid)&&delete w[a.mid]},Ra=[],la=function(a,d){if(4===a.executed)return o.trace("loader-circular-dependency",[Ra.concat(a.mid).join("->")]),!a.def||d?ha:a.cjs&&a.cjs.exports;if(!a.executed){if(!a.def)return ha;var l=a.mid,f=a.deps||[],c,e=[],m=0;for(a.executed=4;m<f.length;){c=
f[m++];c=c===Na?ja(a):c===Oa?a.cjs.exports:c===Pa?a.cjs:la(c,d);if(c===ha)return a.executed=0,o.trace("loader-exec-module",["abort",l]),ha;e.push(c)}o.trace("loader-run-factory",[a.mid]);var l=a.def,h;if(s("config-dojo-loader-catches"))try{h=b(l)?l.apply(null,e):l}catch(g){I("error",a.result=p("factoryThrew",[a,g]))}else h=b(l)?l.apply(null,e):l;a.result=void 0===h&&a.cjs?a.cjs.exports:h;ra(a)}return a.result},$=0,ka=function(a){try{$++,a()}finally{$--}Ma()&&I("idle",[])},da=function(){$||ka(function(){for(var a,
b,d=0;d<V.length;)a=qa,b=V[d],la(b),a!=qa?d=0:d++})};void 0===s("dojo-loader-eval-hint-url")&&s.add("dojo-loader-eval-hint-url",1);var Ea=function(a){a+="";return a+(x?(/\?/.test(a)?"&":"?")+x:"")},Ga=function(a){var b=a.plugin;5===b.executed&&!b.load&&oa(b);var d=function(b){a.result=b;ga(a);ra(a);da()};b.load?b.load(a.prid,a.req,d):b.loadQ?b.loadQ.push(a):(b.loadQ=[a],V.unshift(b),ya(b))},Z=0,sa=0,ta=0,Sa=function(a,b){s("config-stripStrict")&&(a=a.replace(/"use strict"/g,""));ta=1;if(s("config-dojo-loader-catches"))try{a===
Z?Z.call(null):o.eval(a,s("dojo-loader-eval-hint-url")?b.url:b.mid)}catch(d){I("error",p("evalModuleThrew",b))}else a===Z?Z.call(null):o.eval(a,s("dojo-loader-eval-hint-url")?b.url:b.mid);ta=0},ya=function(a){var b=a.mid,l=a.url;if(!a.executed&&!a.injected&&!(R[b]||a.url&&(a.pack&&R[a.url]===a.pack||1==R[a.url])))if(La(a),a.plugin)Ga(a);else{var f=function(){Ta(a);2!==a.injected&&(ga(a),d(a,Fa),o.trace("loader-define-nonmodule",[a.url]));da()};(Z=K[b]||K["url:"+a.url])?(o.trace("loader-inject",["cache",
a.mid,l]),Sa(Z,a),f()):(o.trace("loader-inject",["script",a.mid,l]),sa=a,o.injectUrl(Ea(l),f,a),sa=0)}},ua=function(a,l,f){o.trace("loader-define-module",[a.mid,l]);if(2===a.injected)return I("error",p("multipleDefine",a)),a;d(a,{deps:l,def:f,cjs:{id:a.mid,uri:a.url,exports:a.result={},setExports:function(b){a.cjs.exports=b},config:function(){return a.config}}});for(var c=0;c<l.length;c++)l[c]=W(l[c],a);ga(a);if(!b(f)&&!l.length)a.result=f,ra(a);return a},Ta=function(a,b){for(var d=[],f,c;ea.length;)c=
ea.shift(),b&&(c[0]=b.shift()),f=c[0]&&W(c[0])||a,d.push([f,c[1],c[2]]);F(a);l(d,function(a){ba(ua.apply(null,a))})},ia=0,fa=e,za=e;fa=function(){ia&&clearTimeout(ia);ia=0};za=function(){fa();o.waitms&&(ia=window.setTimeout(function(){fa();I("error",p("timeout",R))},o.waitms))};s.add("ie-event-behavior",!!q.attachEvent&&("undefined"===typeof opera||"[object Opera]"!=opera.toString()));var va=function(a,b,d,l){if(s("ie-event-behavior"))return a.attachEvent(d,l),function(){a.detachEvent(d,l)};a.addEventListener(b,
l,!1);return function(){a.removeEventListener(b,l,!1)}},Ua=va(window,"load","onload",function(){o.pageLoaded=1;"complete"!=q.readyState&&(q.readyState="complete");Ua()}),Ha=q.getElementsByTagName("script")[0],Va=Ha.parentNode;o.injectUrl=function(a,b,d){var d=d.node=q.createElement("script"),l=va(d,"load","onreadystatechange",function(a){var a=a||window.event,d=a.target||a.srcElement;if("load"===a.type||/complete|loaded/.test(d.readyState))l(),f(),b&&b()}),f=va(d,"error","onerror",function(b){l();
f();I("error",p("scriptError",[a,b]))});d.type="text/javascript";d.charset="utf-8";d.src=a;Va.insertBefore(d,Ha);return d};o.log=e;o.trace=e;var Ia=function(a,d,l){var c=arguments.length,e=["require","exports","module"],m=[0,a,d];1==c?m=[0,b(a)?e:[],a]:2==c&&f(a)?m=[a,b(d)?e:[],d]:3==c&&(m=[a,d,l]);o.trace("loader-define",m.slice(0,2));if((c=m[0]&&W(m[0]))&&!R[c.mid])ba(ua(c,m[1],m[2]));else if(!s("ie-event-behavior")||ta)ea.push(m);else{c=c||sa;if(!c)for(a in R)if((e=w[a])&&e.node&&"interactive"===
e.node.readyState){c=e;break}c?(F(c),ba(ua(c,m[1],m[2]))):I("error",p("ieDefineFailed",m[0]));da()}};Ia.amd={vendor:"dojotoolkit.org"};d(d(o,k.loaderPatch),g.loaderPatch);J("error",function(a){try{if(a instanceof Error)for(var b in a);}catch(d){}});d(o,{uid:n,cache:K,packs:Q});if(!r.define){r.define=Ia;r.require=o;l(T,function(a){G(a)});var Ja=C.deps||g.deps||k.deps,Ka=C.callback||g.callback||k.callback;o.boot=Ja||Ka?[Ja||[],Ka]:0}})(this.dojoConfig||this.djConfig||this.require||{},{async:0,hasCache:{"config-selectorEngine":"acme",
"config-tlmSiblingOfDojo":1,"dojo-built":1,"dojo-loader":1,dom:1,"host-browser":1},packages:[{location:".",name:"dojo"},{location:"../dijit",name:"dijit"},{location:"../dojox",name:"dojox"},{location:"../app",name:"app"}]});
require({cache:{"dojo/i18n":function(){define("./_base/kernel,require,./has,./_base/array,./_base/config,./_base/lang,./_base/xhr,./json,module".split(","),function(g,k,i,j,e,c,h,b,f){i.add("dojo-preload-i18n-Api",1);var h=g.i18n={},a=/(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,l=function(a,b,d,l){for(var f=[d+l],b=b.split("-"),c="",m=0;m<b.length;m++)c+=(c?"-":"")+b[m],(!a||a[c])&&f.push(d+c+"/"+l);return f},d={},p=function(a,b,d){d=d?d.toLowerCase():g.locale;a=a.replace(/\./g,"/");b=b.replace(/\./g,
"/");return/root/i.test(d)?a+"/nls/"+b:a+"/nls/"+d+"/"+b};g.getL10nName=function(a,b,d){return f.id+"!"+p(a,b,d)};var m=function(a,b,f,m,e,p){a([b],function(h){var g=c.clone(h.root),o=l(!h._v1x&&h,e,f,m);a(o,function(){for(var a=1;a<o.length;a++)g=c.mixin(c.clone(g),arguments[a]);d[b+"/"+e]=g;p()})})},n=function(a){var b=e.extraLocale||[],b=c.isArray(b)?b:[b];b.push(a);return b},o=function(l,f,e){if(i("dojo-preload-i18n-Api")){var p=l.split("*"),h="preload"==p[1];h&&(d[l]||(d[l]=1,t(p[2],b.parse(p[3]),
1,f)),e(1));if(!(p=h))v&&s.push([l,f,e]),p=v;if(p)return}var l=a.exec(l),o=l[1]+"/",r=l[5]||l[4],q=o+r,p=(l=l[5]&&l[4])||g.locale,k=q+"/"+p,l=l?[p]:n(p),z=l.length,y=function(){--z||e(c.delegate(d[k]))};j.forEach(l,function(a){var b=q+"/"+a;i("dojo-preload-i18n-Api")&&u(b);d[b]?y():m(f,q,o,r,a,y)})};if(i("dojo-unit-tests"))var r=h.unitTests=[];i("dojo-preload-i18n-Api");var q=h.normalizeLocale=function(a){a=a?a.toLowerCase():g.locale;return"root"==a?"ROOT":a},v=0,s=[],t=h._preloadLocalizations=function(a,
b,l,f){function c(a,b){f([a],b)}function e(a,b){for(var d=a.split("-");d.length;){if(b(d.join("-")))return;d.pop()}b("ROOT")}function m(l){l=q(l);e(l,function(l){if(0<=j.indexOf(b,l)){var f=a.replace(/\./g,"/")+"_"+l;v++;c(f,function(a){for(var b in a)d[k.toAbsMid(b)+"/"+l]=a[b];for(--v;!v&&s.length;)o.apply(null,s.shift())});return!0}return!1})}f=f||k;m();j.forEach(g.config.extraLocale,m)},u=function(){},y={},z=new Function("__bundle","__checkForLegacyModules","__mid","__amdValue","var define = function(mid, factory){define.called = 1; __amdValue.result = factory || mid;},\t   require = function(){define.called = 1;};try{define.called = 0;eval(__bundle);if(define.called==1)return __amdValue;if((__checkForLegacyModules = __checkForLegacyModules(__mid)))return __checkForLegacyModules;}catch(e){}try{return eval('('+__bundle+')');}catch(e){return e;}"),
u=function(a){for(var b,l=a.split("/"),f=g.global[l[0]],c=1;f&&c<l.length-1;f=f[l[c++]]);f&&((b=f[l[c]])||(b=f[l[c].replace(/-/g,"_")]),b&&(d[a]=b));return b};h.getLocalization=function(a,b,d){var l,a=p(a,b,d);o(a,k,function(a){l=a});return l};i("dojo-unit-tests")&&r.push(function(a){a.register("tests.i18n.unit",function(a){var b;b=z("{prop:1}",u,"nonsense",y);a.is({prop:1},b);a.is(void 0,b[1]);b=z("({prop:1})",u,"nonsense",y);a.is({prop:1},b);a.is(void 0,b[1]);b=z("{'prop-x':1}",u,"nonsense",y);
a.is({"prop-x":1},b);a.is(void 0,b[1]);b=z("({'prop-x':1})",u,"nonsense",y);a.is({"prop-x":1},b);a.is(void 0,b[1]);b=z("define({'prop-x':1})",u,"nonsense",y);a.is(y,b);a.is({"prop-x":1},y.result);b=z("define('some/module', {'prop-x':1})",u,"nonsense",y);a.is(y,b);a.is({"prop-x":1},y.result);b=z("this is total nonsense and should throw an error",u,"nonsense",y);a.is(b instanceof Error,!0)})});return c.mixin(h,{dynamic:!0,normalize:function(a,b){return/^\./.test(a)?b(a):a},load:o,cache:d})})},"dojo/_base/kernel":function(){define(["../has",
"./config","require","module"],function(g,k,i,j){var e,c={},h={},b={config:k,global:this,dijit:c,dojox:h},c={dojo:["dojo",b],dijit:["dijit",c],dojox:["dojox",h]},j=i.map&&i.map[j.id.match(/[^\/]+/)[0]];for(e in j)c[e]?c[e][0]=j[e]:c[e]=[j[e],{}];for(e in c)j=c[e],j[1]._scopeName=j[0],k.noGlobals||(this[j[0]]=j[1]);b.scopeMap=c;b.baseUrl=b.config.baseUrl=i.baseUrl;b.isAsync=i.async;b.locale=k.locale;j="$Rev: 29801 $".match(/\d+/);b.version={major:1,minor:8,patch:1,flag:"",revision:j?+j[0]:NaN,toString:function(){var a=
b.version;return a.major+"."+a.minor+"."+a.patch+a.flag+" ("+a.revision+")"}};Function("d","d.eval = function(){return d.global.eval ? d.global.eval(arguments[0]) : eval(arguments[0]);}")(b);b.exit=function(){};"undefined"!=typeof console||(console={});for(var c="assert,count,debug,dir,dirxml,error,group,groupEnd,info,profile,profileEnd,time,timeEnd,trace,warn,log".split(","),f,j=0;f=c[j++];)console[f]||function(){var a=f+"";console[a]="log"in console?function(){var b=Array.apply({},arguments);b.unshift(a+
":");console.log(b.join(" "))}:function(){};console[a]._fake=!0}();g.add("dojo-debug-messages",!!k.isDebug);b.deprecated=b.experimental=function(){};if(g("dojo-debug-messages"))b.deprecated=function(){},b.experimental=function(){};if(k.modulePaths){b.deprecated("dojo.modulePaths","use paths configuration");g={};for(e in k.modulePaths)g[e.replace(/\./g,"/")]=k.modulePaths[e];i({paths:g})}b.moduleUrl=function(a,l){b.deprecated("dojo.moduleUrl()","use require.toUrl","2.0");var d=null;a&&(d=i.toUrl(a.replace(/\./g,
"/")+(l?"/"+l:"")+"/*.*").replace(/\/\*\.\*/,"")+(l?"":"/"));return d};b._hasResource={};return b})},"dojo/has":function(){define(["require","module"],function(g){var k=g.has||function(){};k.add("dom-addeventlistener",!!document.addEventListener);k.add("touch","ontouchstart"in document);k.add("device-width",screen.availWidth||innerWidth);g=document.createElement("form");k.add("dom-attributes-explicit",0==g.attributes.length);k.add("dom-attributes-specified-flag",0<g.attributes.length&&40>g.attributes.length);
k.clearElement=function(g){g.innerHTML="";return g};k.normalize=function(g,j){var e=g.match(/[\?:]|[^:\?]*/g),c=0,h=function(b){var f=e[c++];if(":"==f)return 0;if("?"==e[c++]){if(!b&&k(f))return h();h(!0);return h(b)}return f||0};return(g=h())&&j(g)};k.load=function(g,j,e){g?j([g],e):e()};return k})},"dojo/_base/config":function(){define(["../has","require"],function(g,k){var i={},j=k.rawConfig,e;for(e in j)i[e]=j[e];return i})},"dojo/_base/array":function(){define(["./kernel","../has","./lang"],
function(g,k,i){function j(a){return h[a]=new Function("item","index","array",a)}function e(a){var b=!a;return function(d,f,c){var e=0,g=d&&d.length||0,i;g&&"string"==typeof d&&(d=d.split(""));"string"==typeof f&&(f=h[f]||j(f));if(c)for(;e<g;++e){if(i=!f.call(c,d[e],e,d),a^i)return!i}else for(;e<g;++e)if(i=!f(d[e],e,d),a^i)return!i;return b}}function c(a){var l=1,d=0,c=0;a||(l=d=c=-1);return function(e,g,h,j){if(j&&0<l)return f.lastIndexOf(e,g,h);var j=e&&e.length||0,i=a?j+c:d;h===b?h=a?d:j+c:0>h?
(h=j+h,0>h&&(h=d)):h=h>=j?j+c:h;for(j&&"string"==typeof e&&(e=e.split(""));h!=i;h+=l)if(e[h]==g)return h;return-1}}var h={},b,f={every:e(!1),some:e(!0),indexOf:c(!0),lastIndexOf:c(!1),forEach:function(a,b,d){var f=0,c=a&&a.length||0;c&&"string"==typeof a&&(a=a.split(""));"string"==typeof b&&(b=h[b]||j(b));if(d)for(;f<c;++f)b.call(d,a[f],f,a);else for(;f<c;++f)b(a[f],f,a)},map:function(a,b,d,f){var c=0,e=a&&a.length||0,f=new (f||Array)(e);e&&"string"==typeof a&&(a=a.split(""));"string"==typeof b&&
(b=h[b]||j(b));if(d)for(;c<e;++c)f[c]=b.call(d,a[c],c,a);else for(;c<e;++c)f[c]=b(a[c],c,a);return f},filter:function(a,b,d){var f=0,c=a&&a.length||0,e=[],g;c&&"string"==typeof a&&(a=a.split(""));"string"==typeof b&&(b=h[b]||j(b));if(d)for(;f<c;++f)g=a[f],b.call(d,g,f,a)&&e.push(g);else for(;f<c;++f)g=a[f],b(g,f,a)&&e.push(g);return e},clearCache:function(){h={}}};i.mixin(g,f);return f})},"dojo/_base/lang":function(){define(["./kernel","../has","../sniff"],function(g,k){k.add("bug-for-in-skips-shadowed",
function(){for(var a in{toString:1})return 0;return 1});var i=k("bug-for-in-skips-shadowed")?"hasOwnProperty.valueOf.isPrototypeOf.propertyIsEnumerable.toLocaleString.toString.constructor".split("."):[],j=i.length,e=function(a,b,d){var f,c=0,e=g.global;if(!d)if(a.length){f=a[c++];try{d=g.scopeMap[f]&&g.scopeMap[f][1]}catch(h){}d=d||(f in e?e[f]:b?e[f]={}:void 0)}else return e;for(;d&&(f=a[c++]);)d=f in d?d[f]:b?d[f]={}:void 0;return d},c=Object.prototype.toString,h=function(a,b,d){return(d||[]).concat(Array.prototype.slice.call(a,
b||0))},b=/\{([^\}]+)\}/g,f={_extraNames:i,_mixin:function(a,b,d){var f,c,e,h={};for(f in b)if(c=b[f],!(f in a)||a[f]!==c&&(!(f in h)||h[f]!==c))a[f]=d?d(c):c;if(k("bug-for-in-skips-shadowed")&&b)for(e=0;e<j;++e)if(f=i[e],c=b[f],!(f in a)||a[f]!==c&&(!(f in h)||h[f]!==c))a[f]=d?d(c):c;return a},mixin:function(a,b){a||(a={});for(var d=1,c=arguments.length;d<c;d++)f._mixin(a,arguments[d]);return a},setObject:function(a,b,d){var f=a.split("."),a=f.pop();return(d=e(f,!0,d))&&a?d[a]=b:void 0},getObject:function(a,
b,d){return e(a.split("."),b,d)},exists:function(a,b){return void 0!==f.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]"===c.call(a)},isObject:function(a){return void 0!==a&&(null===a||"object"==typeof a||f.isArray(a)||f.isFunction(a))},isArrayLike:function(a){return a&&void 0!==a&&!f.isString(a)&&!f.isFunction(a)&&!(a.tagName&&"form"==a.tagName.toLowerCase())&&
(f.isArray(a)||isFinite(a.length))},isAlien:function(a){return a&&!f.isFunction(a)&&/\{\s*\[native code\]\s*\}/.test(""+a)},extend:function(a,b){for(var d=1,c=arguments.length;d<c;d++)f._mixin(a.prototype,arguments[d]);return a},_hitchArgs:function(a,b){var d=f._toArray(arguments,2),c=f.isString(b);return function(){var e=f._toArray(arguments),h=c?(a||g.global)[b]:b;return h&&h.apply(a||this,d.concat(e))}},hitch:function(a,b){if(2<arguments.length)return f._hitchArgs.apply(g,arguments);b||(b=a,a=
null);if(f.isString(b)){a=a||g.global;if(!a[b])throw['lang.hitch: scope["',b,'"] is null (scope="',a,'")'].join("");return function(){return a[b].apply(a,arguments||[])}}return!a?b:function(){return b.apply(a,arguments||[])}},delegate:function(){function a(){}return function(b,d){a.prototype=b;var c=new a;a.prototype=null;d&&f._mixin(c,d);return c}}(),_toArray:k("ie")?function(){function a(a,b,f){f=f||[];for(b=b||0;b<a.length;b++)f.push(a[b]);return f}return function(b){return(b.item?a:h).apply(this,
arguments)}}():h,partial:function(a){return f.hitch.apply(g,[null].concat(f._toArray(arguments)))},clone:function(a){if(!a||"object"!=typeof a||f.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(f.isArray(a)){b=[];for(d=0,c=a.length;d<c;++d)d in a&&b.push(f.clone(a[d]))}else b=a.constructor?new a.constructor:{};return f._mixin(b,a,f.clone)},trim:String.prototype.trim?
function(a){return a.trim()}:function(a){return a.replace(/^\s\s*/,"").replace(/\s\s*$/,"")},replace:function(a,c,d){return a.replace(d||b,f.isFunction(c)?c:function(a,b){return f.getObject(b,!1,c)})}};f.mixin(g,f);return f})},"dojo/sniff":function(){define(["./has"],function(g){var k=navigator,i=k.userAgent,k=k.appVersion,j=parseFloat(k);g.add("air",0<=i.indexOf("AdobeAIR"));g.add("khtml",0<=k.indexOf("Konqueror")?j:void 0);g.add("webkit",parseFloat(i.split("WebKit/")[1])||void 0);g.add("chrome",
parseFloat(i.split("Chrome/")[1])||void 0);g.add("safari",0<=k.indexOf("Safari")&&!g("chrome")?parseFloat(k.split("Version/")[1]):void 0);g.add("mac",0<=k.indexOf("Macintosh"));g.add("quirks","BackCompat"==document.compatMode);g.add("ios",/iPhone|iPod|iPad/.test(i));g.add("android",parseFloat(i.split("Android ")[1])||void 0);if(!g("webkit")){0<=i.indexOf("Opera")&&g.add("opera",9.8<=j?parseFloat(i.split("Version/")[1])||j:j);0<=i.indexOf("Gecko")&&!g("khtml")&&!g("webkit")&&g.add("mozilla",j);g("mozilla")&&
g.add("ff",parseFloat(i.split("Firefox/")[1]||i.split("Minefield/")[1])||void 0);if(document.all&&!g("opera"))i=parseFloat(k.split("MSIE ")[1])||void 0,(k=document.documentMode)&&5!=k&&Math.floor(i)!=k&&(i=k),g.add("ie",i);g.add("wii","undefined"!=typeof opera&&opera.wiiremote)}return g})},"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(g,k,i,j,e,c,h,b,f,a,l,d,p,m,n,o){g._xhrObj=n._create;var r=g.config;g.objectToQuery=j.objectToQuery;g.queryToObject=j.queryToObject;g.fieldToObject=c.fieldToObject;g.formToObject=c.toObject;g.formToQuery=c.toQuery;g.formToJson=c.toJson;g._blockAsync=!1;var q=g._contentHandlers=g.contentHandlers={text:function(a){return a.responseText},json:function(a){return f.fromJson(a.responseText||null)},"json-comment-filtered":function(a){var a=a.responseText,b=a.indexOf("/*"),d=a.lastIndexOf("*/");
if(-1==b||-1==d)throw Error("JSON was not comment filtered");return f.fromJson(a.substring(b+2,d))},javascript:function(a){return g.eval(a.responseText)},xml:function(a){var b=a.responseXML;if(k("ie")&&(!b||!b.documentElement)){var d=function(a){return"MSXML"+a+".DOMDocument"},d=["Microsoft.XMLDOM",d(6),d(4),d(3),d(2)];l.some(d,function(d){try{var f=new ActiveXObject(d);f.async=!1;f.loadXML(a.responseText);b=f}catch(c){return!1}return!0})}return b},"json-comment-optional":function(a){return a.responseText&&
/^[^{\[]*\/\*/.test(a.responseText)?q["json-comment-filtered"](a):q.json(a)}};g._ioSetArgs=function(b,d,f,l){var m={args:b,url:b.url},p=null;if(b.form){var p=e.byId(b.form),o=p.getAttributeNode("action");m.url=m.url||(o?o.value:null);p=c.toObject(p)}o=[{}];p&&o.push(p);b.content&&o.push(b.content);b.preventCache&&o.push({"dojo.preventCache":(new Date).valueOf()});m.query=j.objectToQuery(a.mixin.apply(null,o));m.handleAs=b.handleAs||"text";var n=new h(function(a){a.canceled=!0;d&&d(a);var b=a.ioArgs.error;
if(!b)b=Error("request cancelled"),b.dojoType="cancel",a.ioArgs.error=b;return b});n.addCallback(f);var i=b.load;i&&a.isFunction(i)&&n.addCallback(function(a){return i.call(b,a,m)});var t=b.error;t&&a.isFunction(t)&&n.addErrback(function(a){return t.call(b,a,m)});var q=b.handle;q&&a.isFunction(q)&&n.addBoth(function(a){return q.call(b,a,m)});n.addErrback(function(a){return l(a,n)});r.ioPublish&&g.publish&&!1!==m.args.ioPublish&&(n.addCallbacks(function(a){g.publish("/dojo/io/load",[n,a]);return a},
function(a){g.publish("/dojo/io/error",[n,a]);return a}),n.addBoth(function(a){g.publish("/dojo/io/done",[n,a]);return a}));n.ioArgs=m;return n};var v=function(a){a=q[a.ioArgs.handleAs](a.ioArgs.xhr);return void 0===a?null:a},s=function(a){return a},t=function(a){0>=u&&(u=0,r.ioPublish&&g.publish&&(!a||a&&!1!==a.ioArgs.args.ioPublish)&&g.publish("/dojo/io/stop"))},u=0;p.after(m,"_onAction",function(){u-=1});p.after(m,"_onInFlight",t);g._ioCancelAll=m.cancelAll;g._ioNotifyStart=function(a){r.ioPublish&&
g.publish&&!1!==a.ioArgs.args.ioPublish&&(u||g.publish("/dojo/io/start"),u+=1,g.publish("/dojo/io/send",[a]))};g._ioWatch=function(b,d,f,c){b.ioArgs.options=b.ioArgs.args;a.mixin(b,{response:b.ioArgs,isValid:function(){return d(b)},isReady:function(){return f(b)},handleResponse:function(){return c(b)}});m(b);t(b)};g._ioAddQueryToUrl=function(a){if(a.query.length)a.url+=(-1==a.url.indexOf("?")?"?":"&")+a.query,a.query=null};g.xhr=function(a,b,d){var f,c=g._ioSetArgs(b,function(){f&&f.cancel()},v,s),
l=c.ioArgs;"postData"in b?l.query=b.postData:"putData"in b?l.query=b.putData:"rawBody"in b?l.query=b.rawBody:(2<arguments.length&&!d||-1==="POST|PUT".indexOf(a.toUpperCase()))&&g._ioAddQueryToUrl(l);var e={method:a,handleAs:"text",timeout:b.timeout,withCredentials:b.withCredentials,ioArgs:l};if("undefined"!==typeof b.headers)e.headers=b.headers;if("undefined"!==typeof b.contentType){if(!e.headers)e.headers={};e.headers["Content-Type"]=b.contentType}if("undefined"!==typeof l.query)e.data=l.query;if("undefined"!==
typeof b.sync)e.sync=b.sync;g._ioNotifyStart(c);try{f=n(l.url,e,!0)}catch(m){return c.cancel(),c}c.ioArgs.xhr=f.response.xhr;f.then(function(){c.resolve(c)}).otherwise(function(a){l.error=a;if(a.response)a.status=a.response.status,a.responseText=a.response.text,a.xhr=a.response.xhr;c.reject(a)});return c};g.xhrGet=function(a){return g.xhr("GET",a)};g.rawXhrPost=g.xhrPost=function(a){return g.xhr("POST",a,!0)};g.rawXhrPut=g.xhrPut=function(a){return g.xhr("PUT",a,!0)};g.xhrDelete=function(a){return g.xhr("DELETE",
a)};g._isDocumentOk=function(a){return o.checkStatus(a.status)};g._getText=function(a){var b;g.xhrGet({url:a,sync:!0,load:function(a){b=a}});return b};a.mixin(g.xhr,{_xhrObj:g._xhrObj,fieldToObject:c.fieldToObject,formToObject:c.toObject,objectToQuery:j.objectToQuery,formToQuery:c.toQuery,formToJson:c.toJson,queryToObject:j.queryToObject,contentHandlers:q,_ioSetArgs:g._ioSetArgs,_ioCancelAll:g._ioCancelAll,_ioNotifyStart:g._ioNotifyStart,_ioWatch:g._ioWatch,_ioAddQueryToUrl:g._ioAddQueryToUrl,_isDocumentOk:g._isDocumentOk,
_getText:g._getText,get:g.xhrGet,post:g.xhrPost,put:g.xhrPut,del:g.xhrDelete});return g.xhr})},"dojo/_base/sniff":function(){define(["./kernel","./lang","../sniff"],function(g,k,i){g._name="browser";k.mixin(g,{isBrowser:!0,isFF:i("ff"),isIE:i("ie"),isKhtml:i("khtml"),isWebKit:i("webkit"),isMozilla:i("mozilla"),isMoz:i("mozilla"),isOpera:i("opera"),isSafari:i("safari"),isChrome:i("chrome"),isMac:i("mac"),isIos:i("ios"),isAndroid:i("android"),isWii:i("wii"),isQuirks:i("quirks"),isAir:i("air")});g.locale=
g.locale||(i("ie")?navigator.userLanguage:navigator.language).toLowerCase();return i})},"dojo/io-query":function(){define(["./_base/lang"],function(g){var k={};return{objectToQuery:function(i){var j=encodeURIComponent,e=[],c;for(c in i){var h=i[c];if(h!=k[c]){var b=j(c)+"=";if(g.isArray(h))for(var f=0,a=h.length;f<a;++f)e.push(b+j(h[f]));else e.push(b+j(h))}}return e.join("&")},queryToObject:function(i){for(var j=decodeURIComponent,i=i.split("&"),e={},c,h,b=0,f=i.length;b<f;++b)if(h=i[b],h.length){var a=
h.indexOf("=");0>a?(c=j(h),h=""):(c=j(h.slice(0,a)),h=j(h.slice(a+1)));"string"==typeof e[c]&&(e[c]=[e[c]]);g.isArray(e[c])?e[c].push(h):e[c]=h}return e}}})},"dojo/dom":function(){define(["./sniff","./_base/lang","./_base/window"],function(g,k,i){if(7>=g("ie"))try{document.execCommand("BackgroundImageCache",!1,!0)}catch(j){}var e={};e.byId=g("ie")?function(c,e){if("string"!=typeof c)return c;var b=e||i.doc,f=c&&b.getElementById(c);if(f&&(f.attributes.id.value==c||f.id==c))return f;b=b.all[c];if(!b||
b.nodeName)b=[b];for(var a=0;f=b[a++];)if(f.attributes&&f.attributes.id&&f.attributes.id.value==c||f.id==c)return f}:function(c,e){return("string"==typeof c?(e||i.doc).getElementById(c):c)||null};e.isDescendant=function(c,h){try{c=e.byId(c);for(h=e.byId(h);c;){if(c==h)return!0;c=c.parentNode}}catch(b){}return!1};e.setSelectable=function(c,h){c=e.byId(c);if(g("mozilla"))c.style.MozUserSelect=h?"":"none";else if(g("khtml")||g("webkit"))c.style.KhtmlUserSelect=h?"auto":"none";else if(g("ie"))for(var b=
c.unselectable=h?"":"on",f=c.getElementsByTagName("*"),a=0,l=f.length;a<l;++a)f.item(a).unselectable=b};return e})},"dojo/_base/window":function(){define(["./kernel","./lang","../sniff"],function(g,k,i){var j={global:g.global,doc:this.document||null,body:function(e){e=e||g.doc;return e.body||e.getElementsByTagName("body")[0]},setContext:function(e,c){g.global=j.global=e;g.doc=j.doc=c},withGlobal:function(e,c,h,b){var f=g.global;try{return g.global=j.global=e,j.withDoc.call(null,e.document,c,h,b)}finally{g.global=
j.global=f}},withDoc:function(e,c,h,b){var f=j.doc,a=i("quirks"),l=i("ie"),d,p,m;try{g.doc=j.doc=e;g.isQuirks=i.add("quirks","BackCompat"==g.doc.compatMode,!0,!0);if(i("ie")&&(m=e.parentWindow)&&m.navigator)d=parseFloat(m.navigator.appVersion.split("MSIE ")[1])||void 0,(p=e.documentMode)&&5!=p&&Math.floor(d)!=p&&(d=p),g.isIE=i.add("ie",d,!0,!0);h&&"string"==typeof c&&(c=h[c]);return c.apply(h,b||[])}finally{g.doc=j.doc=f,g.isQuirks=i.add("quirks",a,!0,!0),g.isIE=i.add("ie",l,!0,!0)}}};k.mixin(g,j);
return j})},"dojo/dom-form":function(){define(["./_base/lang","./dom","./io-query","./json"],function(g,k,i,j){var e={fieldToObject:function(c){var e=null;if(c=k.byId(c)){var b=c.name,f=(c.type||"").toLowerCase();if(b&&f&&!c.disabled)if("radio"==f||"checkbox"==f){if(c.checked)e=c.value}else if(c.multiple){e=[];for(c=[c.firstChild];c.length;)for(b=c.pop();b;b=b.nextSibling)if(1==b.nodeType&&"option"==b.tagName.toLowerCase())b.selected&&e.push(b.value);else{b.nextSibling&&c.push(b.nextSibling);b.firstChild&&
c.push(b.firstChild);break}}else e=c.value}return e},toObject:function(c){for(var h={},c=k.byId(c).elements,b=0,f=c.length;b<f;++b){var a=c[b],l=a.name,d=(a.type||"").toLowerCase();if(l&&d&&0>"file|submit|image|reset|button".indexOf(d)&&!a.disabled){var p=h,m=l,a=e.fieldToObject(a);if(null!==a){var n=p[m];"string"==typeof n?p[m]=[n,a]:g.isArray(n)?n.push(a):p[m]=a}if("image"==d)h[l+".x"]=h[l+".y"]=h[l].x=h[l].y=0}}return h},toQuery:function(c){return i.objectToQuery(e.toObject(c))},toJson:function(c,
g){return j.stringify(e.toObject(c),null,g?4:0)}};return e})},"dojo/json":function(){define(["./has"],function(g){var k="undefined"!=typeof JSON;g.add("json-parse",k);g.add("json-stringify",k&&'{"a":1}'==JSON.stringify({a:0},function(g,e){return e||1}));if(g("json-stringify"))return JSON;var i=function(g){return('"'+g.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:g("json-parse")?JSON.parse:
function(g,e){if(e&&!/^([\s\[\{]*(?:"(?:\\.|[^"])+"|-?\d[\d\.]*(?:[Ee][+-]?\d+)?|null|true|false|)[\s\]\}]*(?:,|:|$))+$/.test(g))throw new SyntaxError("Invalid characters in JSON");return eval("("+g+")")},stringify:function(g,e,c){function h(f,a,l){e&&(f=e(l,f));var d;d=typeof f;if("number"==d)return isFinite(f)?f+"":"null";if("boolean"==d)return f+"";if(null===f)return"null";if("string"==typeof f)return i(f);if("function"==d||"undefined"==d)return b;if("function"==typeof f.toJSON)return h(f.toJSON(l),
a,l);if(f instanceof Date)return'"{FullYear}-{Month+}-{Date}T{Hours}:{Minutes}:{Seconds}Z"'.replace(/\{(\w+)(\+)?\}/g,function(a,b,d){a=f["getUTC"+b]()+(d?1:0);return 10>a?"0"+a:a});if(f.valueOf()!==f)return h(f.valueOf(),a,l);var g=c?a+c:"",m=c?" ":"",n=c?"\n":"";if(f instanceof Array){for(var m=f.length,o=[],l=0;l<m;l++)d=h(f[l],g,l),"string"!=typeof d&&(d="null"),o.push(n+g+d);return"["+o.join(",")+n+a+"]"}o=[];for(l in f){var j;if(f.hasOwnProperty(l)){if("number"==typeof l)j='"'+l+'"';else if("string"==
typeof l)j=i(l);else continue;d=h(f[l],g,l);"string"==typeof d&&o.push(n+g+j+":"+m+d)}}return"{"+o.join(",")+n+a+"}"}var b;"string"==typeof e&&(c=e,e=null);return h(g,"","")}}})},"dojo/_base/Deferred":function(){define("./kernel,../Deferred,../promise/Promise,../errors/CancelError,../has,./lang,../when".split(","),function(g,k,i,j,e,c,h){var b=function(){},f=Object.freeze||function(){},a=g.Deferred=function(l){function d(a){if(h)throw Error("This deferred has already been resolved");m=a;h=!0;g()}
function g(){for(var a;!a&&q;){var d=q;q=q.next;if(a=d.progress==b)h=!1;var f=o?d.error:d.resolved;e("config-useDeferredInstrumentation")&&o&&k.instrumentRejected&&k.instrumentRejected(m,!!f);if(f)try{var l=f(m);l&&"function"===typeof l.then?l.then(c.hitch(d.deferred,"resolve"),c.hitch(d.deferred,"reject"),c.hitch(d.deferred,"progress")):(f=a&&void 0===l,a&&!f&&(o=l instanceof Error),d.deferred[f&&o?"reject":"resolve"](f?m:l))}catch(p){d.deferred.reject(p)}else o?d.deferred.reject(m):d.deferred.resolve(m)}}
var m,h,o,r,q,v=this.promise=new i;this.resolve=this.callback=function(a){this.fired=0;this.results=[a,null];d(a)};this.reject=this.errback=function(a){o=!0;this.fired=1;e("config-useDeferredInstrumentation")&&k.instrumentRejected&&k.instrumentRejected(a,!!q);d(a);this.results=[null,a]};this.progress=function(a){for(var b=q;b;){var d=b.progress;d&&d(a);b=b.next}};this.addCallbacks=function(a,d){this.then(a,d,b);return this};v.then=this.then=function(d,f,c){var l=c==b?this:new a(v.cancel),d={resolved:d,
error:f,progress:c,deferred:l};q?r=r.next=d:q=r=d;h&&g();return l.promise};var s=this;v.cancel=this.cancel=function(){if(!h){var a=l&&l(s);if(!h)a instanceof Error||(a=new j(a)),a.log=!1,s.reject(a)}};f(v)};c.extend(a,{addCallback:function(a){return this.addCallbacks(c.hitch.apply(g,arguments))},addErrback:function(a){return this.addCallbacks(null,c.hitch.apply(g,arguments))},addBoth:function(a){var b=c.hitch.apply(g,arguments);return this.addCallbacks(b,b)},fired:-1});a.when=g.when=h;return a})},
"dojo/Deferred":function(){define("dojo/Deferred",["./has","./_base/lang","./errors/CancelError","./promise/Promise","./promise/instrumentation"],function(g,k,i,j,e){var c=Object.freeze||function(){},h=function(a,f,c,e,g){2===f&&l.instrumentRejected&&0===a.length&&l.instrumentRejected(c,!1,e,g);for(g=0;g<a.length;g++)b(a[g],f,c,e)},b=function(b,c,e,g){var h=b[c],j=b.deferred;if(h)try{var i=h(e);if(0===c)"undefined"!==typeof i&&a(j,c,i);else{if(i&&"function"===typeof i.then){b.cancel=i.cancel;i.then(f(j,
1),f(j,2),f(j,0));return}a(j,1,i)}}catch(k){a(j,2,k)}else a(j,c,e);2===c&&l.instrumentRejected&&l.instrumentRejected(e,!!h,g,j.promise)},f=function(b,f){return function(c){a(b,f,c)}},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)}},l=function(a){var f=this.promise=new j,e=this,g,o,r,q=!1,k=[];Error.captureStackTrace&&(Error.captureStackTrace(e,l),Error.captureStackTrace(f,l));this.isResolved=f.isResolved=function(){return 1===
g};this.isRejected=f.isRejected=function(){return 2===g};this.isFulfilled=f.isFulfilled=function(){return!!g};this.isCanceled=f.isCanceled=function(){return q};this.progress=function(a,b){if(g){if(!0===b)throw Error("This deferred has already been fulfilled.");return f}h(k,0,a,null,e);return f};this.resolve=function(a,b){if(g){if(!0===b)throw Error("This deferred has already been fulfilled.");return f}h(k,g=1,o=a,null,e);k=null;return f};var s=this.reject=function(a,b){if(g){if(!0===b)throw Error("This deferred has already been fulfilled.");
return f}Error.captureStackTrace&&Error.captureStackTrace(r={},s);h(k,g=2,o=a,r,e);k=null;return f};this.then=f.then=function(a,d,c){var e=[c,a,d];e.cancel=f.cancel;e.deferred=new l(function(a){return e.cancel&&e.cancel(a)});g&&!k?b(e,g,o,r):k.push(e);return e.deferred.promise};this.cancel=f.cancel=function(b,f){if(g){if(!0===f)throw Error("This deferred has already been fulfilled.");}else{if(a)var c=a(b),b="undefined"===typeof c?b:c;q=!0;if(g){if(2===g&&o===b)return b}else return"undefined"===typeof b&&
(b=new i),s(b),b}};c(f)};l.prototype.toString=function(){return"[object Deferred]"};e&&e(l);return l})},"dojo/errors/CancelError":function(){define(["./create"],function(g){return g("CancelError",null,null,{dojoType:"cancel"})})},"dojo/errors/create":function(){define(["../_base/lang"],function(g){return function(k,i,j,e){var j=j||Error,c=function(e){if(j===Error){Error.captureStackTrace&&Error.captureStackTrace(this,c);var b=Error.call(this,e),f;for(f in b)b.hasOwnProperty(f)&&(this[f]=b[f]);this.message=
e;this.stack=b.stack}else j.apply(this,arguments);i&&i.apply(this,arguments)};c.prototype=g.delegate(j.prototype,e);c.prototype.name=k;return c.prototype.constructor=c}})},"dojo/promise/Promise":function(){define(["../_base/lang"],function(g){function k(){throw new TypeError("abstract");}return g.extend(function(){},{then:function(){k()},cancel:function(){k()},isResolved:function(){k()},isRejected:function(){k()},isFulfilled:function(){k()},isCanceled:function(){k()},always:function(g){return this.then(g,
g)},otherwise:function(g){return this.then(null,g)},trace:function(){return this},traceRejected:function(){return this},toString:function(){return"[object Promise]"}})})},"dojo/promise/instrumentation":function(){define(["./tracer","../has","../_base/lang","../_base/array"],function(g,k,i,j){function e(a,b){b&&b.stack&&b.stack.split("\n").slice(1).join("\n").replace(/^\s+/," ")}function c(a,b,f,c){b||e(a,f,c)}function h(d,c,e,g){c?j.some(f,function(a,b){if(a.error===d)return f.splice(b,1),!0}):j.some(f,
function(a){return a.error===d})||f.push({error:d,rejection:e,deferred:g,timestamp:(new Date).getTime()});a||(a=setTimeout(b,l))}function b(){var d=(new Date).getTime(),c=d-l;f=j.filter(f,function(a){return a.timestamp<c?(e(a.error,a.rejection,a.deferred),!1):!0});f.length&&(a=setTimeout(b,f[0].timestamp+l-d))}var f=[],a=!1,l=1E3;return function(a){var b=k("config-useDeferredInstrumentation");if(b){g.on("resolved",i.hitch(console,"log","resolved"));g.on("rejected",i.hitch(console,"log","rejected"));
g.on("progress",i.hitch(console,"log","progress"));var f=[];"string"===typeof b&&(f=b.split(","),b=f.shift());if("report-rejections"===b)a.instrumentRejected=c;else if("report-unhandled-rejections"===b||!0===b||1===b)a.instrumentRejected=h,l=parseInt(f[0],10)||l;else throw Error("Unsupported instrumentation usage <"+b+">");}}})},"dojo/promise/tracer":function(){define(["../_base/lang","./Promise","../Evented"],function(g,k,i){function j(g){setTimeout(function(){c.apply(e,g)},0)}var e=new i,c=e.emit;
e.emit=null;k.prototype.trace=function(){var c=g._toArray(arguments);this.then(function(b){j(["resolved",b].concat(c))},function(b){j(["rejected",b].concat(c))},function(b){j(["progress",b].concat(c))});return this};k.prototype.traceRejected=function(){var c=g._toArray(arguments);this.otherwise(function(b){j(["rejected",b].concat(c))});return this};return e})},"dojo/Evented":function(){define("dojo/Evented",["./aspect","./on"],function(g,k){function i(){}var j=g.after;i.prototype={on:function(e,c){return k.parse(this,
e,c,function(e,b){return j(e,"on"+b,c,!0)})},emit:function(e,c){var g=[this];g.push.apply(g,arguments);return k.emit.apply(k,g)}};return i})},"dojo/aspect":function(){define("dojo/aspect",[],function(){function g(b,f,a,c){var d=b[f],e="around"==f,g;if(e){var h=a(function(){return d.advice(this,arguments)});g={remove:function(){g.cancelled=!0},advice:function(a,b){return g.cancelled?d.advice(a,b):h.apply(a,b)}}}else g={remove:function(){var a=g.previous,d=g.next;if(!d&&!a)delete b[f];else if(a?a.next=
d:b[f]=d,d)d.previous=a},id:j++,advice:a,receiveArguments:c};if(d&&!e)if("after"==f){for(a=d;a;)d=a,a=a.next;d.next=g;g.previous=d}else{if("before"==f)b[f]=g,g.next=d,d.previous=g}else b[f]=g;return g}function k(b){return function(f,a,c,d){var e=f[a],m;if(!e||e.target!=f){f[a]=m=function(){for(var a=j,b=arguments,d=m.before;d;)b=d.advice.apply(this,b)||b,d=d.next;if(m.around)var f=m.around.advice(this,b);for(d=m.after;d&&d.id<a;){if(d.receiveArguments)var c=d.advice.apply(this,b),f=c===i?f:c;else f=
d.advice.call(this,f,b);d=d.next}return f};if(e)m.around={advice:function(a,b){return e.apply(a,b)}};m.target=f}f=g(m||e,b,c,d);c=null;return f}}var i,j=0,e=k("after"),c=k("before"),h=k("around");return{before:c,around:h,after:e}})},"dojo/on":function(){define(["./has!dom-addeventlistener?:./aspect","./_base/kernel","./has"],function(g,k,i){function j(a,c,l,e,g){if(e=c.match(/(.*):(.*)/))return c=e[2],e=e[1],b.selector(e,c).call(g,a,l);i("touch")&&(f.test(c)&&(l=y(l)),!i("event-orientationchange")&&
"orientationchange"==c&&(c="resize",a=window,l=y(l)));m&&(l=m(l));if(a.addEventListener){var h=c in d,j=h?d[c]:c;a.addEventListener(j,l,h);return{remove:function(){a.removeEventListener(j,l,h)}}}if(q&&a.attachEvent)return q(a,"on"+c,l);throw Error("Target must be an event emitter");}function e(){this.cancelable=!1}function c(){this.bubbles=!1}var h=window.ScriptEngineMajorVersion;i.add("jscript",h&&h()+ScriptEngineMinorVersion()/10);i.add("event-orientationchange",i("touch")&&!i("android"));i.add("event-stopimmediatepropagation",
window.Event&&!!window.Event.prototype&&!!window.Event.prototype.stopImmediatePropagation);var b=function(a,d,f,c){return"function"==typeof a.on&&"function"!=typeof d?a.on(d,f):b.parse(a,d,f,j,c,this)};b.pausable=function(a,d,f,c){var l,a=b(a,d,function(){if(!l)return f.apply(this,arguments)},c);a.pause=function(){l=!0};a.resume=function(){l=!1};return a};b.once=function(a,d,f){var c=b(a,d,function(){c.remove();return f.apply(this,arguments)});return c};b.parse=function(a,b,d,f,c,l){if(b.call)return b.call(l,
a,d);if(-1<b.indexOf(",")){for(var b=b.split(/\s*,\s*/),e=[],g=0,m;m=b[g++];)e.push(f(a,m,d,c,l));e.remove=function(){for(var a=0;a<e.length;a++)e[a].remove()};return e}return f(a,b,d,c,l)};var f=/^touch/;b.selector=function(a,d,f){return function(c,l){function e(b){for(g=g&&g.matches?g:k.query;!g.matches(b,a,c);)if(b==c||!1===f||!(b=b.parentNode)||1!=b.nodeType)return;return b}var g="function"==typeof a?{matches:a}:this,m=d.bubble;return m?b(c,m(e),l):b(c,d,function(a){var b=e(a.target);return b&&
l.call(b,a)})}};var a=[].slice,l=b.emit=function(b,d,f){var l=a.call(arguments,2),g="on"+d;if("parentNode"in b){var m=l[0]={},h;for(h in f)m[h]=f[h];m.preventDefault=e;m.stopPropagation=c;m.target=b;m.type=d;f=m}do b[g]&&b[g].apply(b,l);while(f&&f.bubbles&&(b=b.parentNode));return f&&f.cancelable&&f},d={};if(!i("event-stopimmediatepropagation"))var p=function(){this.modified=this.immediatelyStopped=!0},m=function(a){return function(b){if(!b.immediatelyStopped)return b.stopImmediatePropagation=p,a.apply(this,
arguments)}};if(i("dom-addeventlistener")){d={focusin:"focus",focusout:"blur"};if(i("opera"))d.keydown="keypress";b.emit=function(a,d,f){if(a.dispatchEvent&&document.createEvent){var c=a.ownerDocument.createEvent("HTMLEvents");c.initEvent(d,!!f.bubbles,!!f.cancelable);for(var e in f)e in c||(c[e]=f[e]);return a.dispatchEvent(c)&&c}return l.apply(b,arguments)}}else{b._fixEvent=function(a,b){if(!a)a=(b&&(b.ownerDocument||b.document||b).parentWindow||window).event;if(!a)return a;n&&a.type==n.type&&(a=
n);if(!a.target){a.target=a.srcElement;a.currentTarget=b||a.srcElement;if("mouseover"==a.type)a.relatedTarget=a.fromElement;if("mouseout"==a.type)a.relatedTarget=a.toElement;if(!a.stopPropagation)a.stopPropagation=v,a.preventDefault=s;switch(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,o=function(a){this.handle=
a};o.prototype.remove=function(){delete _dojoIEListeners_[this.handle]};var r=function(a){return function(d){var d=b._fixEvent(d,this),f=a.call(this,d);d.modified&&(n||setTimeout(function(){n=null}),n=d);return f}},q=function(a,b,d){d=r(d);if(((a.ownerDocument?a.ownerDocument.parentWindow:a.parentWindow||a.window||window)!=top||5.8>i("jscript"))&&!i("config-_allow_leaks")){"undefined"==typeof _dojoIEListeners_&&(_dojoIEListeners_=[]);var f=a[b];if(!f||!f.listeners){var c=f,f=Function("event","var callee = arguments.callee; for(var i = 0; i<callee.listeners.length; i++){var listener = _dojoIEListeners_[callee.listeners[i]]; if(listener){listener.call(this,event);}}");
f.listeners=[];a[b]=f;f.global=this;c&&f.listeners.push(_dojoIEListeners_.push(c)-1)}f.listeners.push(a=f.global._dojoIEListeners_.push(d)-1);return new o(a)}return g.after(a,b,d,!0)},v=function(){this.cancelBubble=!0},s=b._preventDefault=function(){this.bubbledKeyCode=this.keyCode;if(this.ctrlKey)try{this.keyCode=0}catch(a){}this.defaultPrevented=!0;this.returnValue=!1}}if(i("touch"))var t=function(){},u=window.orientation,y=function(a){return function(b){var d=b.corrected;if(!d){var f=b.type;try{delete b.type}catch(c){}b.type?
(t.prototype=b,d=new t,d.preventDefault=function(){b.preventDefault()},d.stopPropagation=function(){b.stopPropagation()}):(d=b,d.type=f);b.corrected=d;if("resize"==f){if(u==window.orientation)return null;u=window.orientation;d.type="orientationchange";return a.call(this,d)}if(!("rotation"in d))d.rotation=0,d.scale=1;var f=d.changedTouches[0],l;for(l in f)delete d[l],d[l]=f[l]}return a.call(this,d)}};return b})},"dojo/when":function(){define(["./Deferred","./promise/Promise"],function(g,k){return function(i,
j,e,c){var h=i&&"function"===typeof i.then,b=h&&i instanceof k;if(h){if(!b)h=new g(i.cancel),i.then(h.resolve,h.reject,h.progress),i=h.promise}else return j?j(i):(new g).resolve(i);return j||e||c?i.then(j,e,c):i}})},"dojo/_base/json":function(){define(["./kernel","../json"],function(g,k){g.fromJson=function(g){return eval("("+g+")")};g._escapeString=k.stringify;g.toJsonIndentStr="\t";g.toJson=function(i,j){return k.stringify(i,function(e,c){if(c){var g=c.__json__||c.json;if("function"==typeof g)return g.call(c)}return c},
j&&g.toJsonIndentStr)};return g})},"dojo/request/watch":function(){define("./util,../errors/RequestTimeoutError,../errors/CancelError,../_base/array,../_base/window,../has!host-browser?dom-addeventlistener?:../on:".split(","),function(g,k,i,j,e,c){function h(){for(var c=+new Date,d=0,e;d<a.length&&(e=a[d]);d++){var g=e.response,h=g.options;if(e.isCanceled&&e.isCanceled()||e.isValid&&!e.isValid(g))a.splice(d--,1),b._onAction&&b._onAction();else if(e.isReady&&e.isReady(g))a.splice(d--,1),e.handleResponse(g),
b._onAction&&b._onAction();else if(e.startTime&&e.startTime+(h.timeout||0)<c)a.splice(d--,1),e.cancel(new k("Timeout exceeded",g)),b._onAction&&b._onAction()}b._onInFlight&&b._onInFlight(e);a.length||(clearInterval(f),f=null)}function b(b){if(b.response.options.timeout)b.startTime=+new Date;b.isFulfilled()||(a.push(b),f||(f=setInterval(h,50)),b.response.options.sync&&h())}var f=null,a=[];b.cancelAll=function(){try{j.forEach(a,function(a){try{a.cancel(new i("All requests canceled."))}catch(b){}})}catch(b){}};
e&&c&&e.doc.attachEvent&&c(e.global,"unload",function(){b.cancelAll()});return b})},"dojo/request/util":function(){define("exports,../errors/RequestError,../errors/CancelError,../Deferred,../io-query,../_base/array,../_base/lang".split(","),function(g,k,i,j,e,c,h){function b(a){return f(a)}g.deepCopy=function(a,b){for(var d in b){var f=a[d],c=b[d];f!==c&&(f&&"object"===typeof f&&c&&"object"===typeof c?g.deepCopy(f,c):a[d]=c)}return a};g.deepCreate=function(a,b){var b=b||{},d=h.delegate(a),f,c;for(f in a)(c=
a[f])&&"object"===typeof c&&(d[f]=g.deepCreate(c,b[f]));return g.deepCopy(d,b)};var f=Object.freeze||function(a){return a};g.deferred=function(a,c,d,e,m,n){var o=new j(function(b){c&&c(o,a);return!b||!(b instanceof k)&&!(b instanceof i)?new i("Request canceled",a):b});o.response=a;o.isValid=d;o.isReady=e;o.handleResponse=m;d=o.then(b).otherwise(function(b){b.response=a;throw b;});g.notify&&d.then(h.hitch(g.notify,"emit","load"),h.hitch(g.notify,"emit","error"));e=d.then(function(a){return a.data||
a.text});d=f(h.delegate(e,{response:d}));n&&o.then(function(a){n.call(o,a)},function(b){n.call(o,a,b)});o.promise=d;o.then=d.then;return o};g.addCommonMethods=function(a,b){c.forEach(b||["GET","POST","PUT","DELETE"],function(b){a[("DELETE"===b?"DEL":b).toLowerCase()]=function(f,c){c=h.delegate(c||{});c.method=b;return a(f,c)}})};g.parseArgs=function(a,b,d){var f=b.data,c=b.query;if(f&&!d&&"object"===typeof f)b.data=e.objectToQuery(f);c?("object"===typeof c&&(c=e.objectToQuery(c)),b.preventCache&&
(c+=(c?"&":"")+"request.preventCache="+ +new Date)):b.preventCache&&(c="request.preventCache="+ +new Date);a&&c&&(a+=(~a.indexOf("?")?"&":"?")+c);return{url:a,options:b,getHeader:function(){return null}}};g.checkStatus=function(a){a=a||0;return 200<=a&&300>a||304===a||1223===a||!a}})},"dojo/errors/RequestError":function(){define(["./create"],function(g){return g("RequestError",function(g,i){this.response=i})})},"dojo/errors/RequestTimeoutError":function(){define(["./create","./RequestError"],function(g,
k){return g("RequestTimeoutError",null,k,{dojoType:"timeout"})})},"dojo/request/xhr":function(){define(["../errors/RequestError","./watch","./handlers","./util","../has"],function(g,k,i,j,e){function c(a,b){var d=a.xhr;a.status=a.xhr.status;a.text=d.responseText;if("xml"===a.options.handleAs)a.data=d.responseXML;if(!b)try{i(a)}catch(f){b=f}b?this.reject(b):j.checkStatus(d.status)?this.resolve(a):(b=new g("Unable to load "+a.url+" status: "+d.status,a),this.reject(b))}function h(m,i,n){var v=j.parseArgs(m,
j.deepCreate(p,i),e("native-formdata")&&i&&i.data&&i.data instanceof FormData),m=v.url,i=v.options,s,t=j.deferred(v,l,b,f,c,function(){s&&s()}),u=v.xhr=h._create();if(!u)return t.cancel(new g("XHR was not created")),n?t:t.promise;v.getHeader=function(a){return this.xhr.getResponseHeader(a)};a&&(s=a(u,t,v));var y=i.data,z=!i.sync,I=i.method;try{u.open(I,m,z,i.user||d,i.password||d);if(i.withCredentials)u.withCredentials=i.withCredentials;var J=i.headers,N;if(J)for(var E in J)"content-type"===E.toLowerCase()?
N=J[E]:J[E]&&u.setRequestHeader(E,J[E]);N&&!1!==N&&u.setRequestHeader("Content-Type",N);(!J||!("X-Requested-With"in J))&&u.setRequestHeader("X-Requested-With","XMLHttpRequest");j.notify&&j.notify.emit("send",v,t.promise.cancel);u.send(y)}catch(S){t.reject(S)}k(t);u=null;return n?t:t.promise}e.add("native-xhr",function(){return"undefined"!==typeof XMLHttpRequest});e.add("dojo-force-activex-xhr",function(){return e("activex")&&!document.addEventListener&&"file:"===window.location.protocol});e.add("native-xhr2",
function(){if(e("native-xhr")){var a=new XMLHttpRequest;return"undefined"!==typeof a.addEventListener&&("undefined"===typeof opera||"undefined"!==typeof a.upload)}});e.add("native-formdata",function(){return"function"===typeof FormData});var b,f,a,l;e("native-xhr2")?(b=function(){return!this.isFulfilled()},l=function(a,b){b.xhr.abort()},a=function(a,b,d){function f(){b.handleResponse(d)}function c(a){a=new g("Unable to load "+d.url+" status: "+a.target.status,d);b.handleResponse(d,a)}function e(a){if(a.lengthComputable)d.loaded=
a.loaded,d.total=a.total,b.progress(d)}a.addEventListener("load",f,!1);a.addEventListener("error",c,!1);a.addEventListener("progress",e,!1);return function(){a.removeEventListener("load",f,!1);a.removeEventListener("error",c,!1);a.removeEventListener("progress",e,!1)}}):(b=function(a){return a.xhr.readyState},f=function(a){return 4===a.xhr.readyState},l=function(a,b){var d=b.xhr,f=typeof d.abort;("function"===f||"object"===f||"unknown"===f)&&d.abort()});var d,p={data:null,query:null,sync:!1,method:"GET",
headers:{"Content-Type":"application/x-www-form-urlencoded"}};h._create=function(){throw Error("XMLHTTP not available");};if(e("native-xhr")&&!e("dojo-force-activex-xhr"))h._create=function(){return new XMLHttpRequest};else if(e("activex"))try{new ActiveXObject("Msxml2.XMLHTTP"),h._create=function(){return new ActiveXObject("Msxml2.XMLHTTP")}}catch(m){try{new ActiveXObject("Microsoft.XMLHTTP"),h._create=function(){return new ActiveXObject("Microsoft.XMLHTTP")}}catch(n){}}j.addCommonMethods(h);return h})},
"dojo/request/handlers":function(){define(["../json","../_base/kernel","../_base/array","../has"],function(g,k,i,j){function e(f){var a=b[f.options.handleAs];f.data=a?a(f):f.data||f.text;return f}j.add("activex","undefined"!==typeof ActiveXObject);var c;if(j("activex")){var h=["Msxml2.DOMDocument.6.0","Msxml2.DOMDocument.4.0","MSXML2.DOMDocument.3.0","MSXML.DOMDocument"];c=function(b){var a=b.data;if(!a||!a.documentElement){var c=b.text;i.some(h,function(b){try{var f=new ActiveXObject(b);f.async=
!1;f.loadXML(c);a=f}catch(e){return!1}return!0})}return a}}var b={javascript:function(b){return k.eval(b.text||"")},json:function(b){return g.parse(b.text||null)},xml:c};e.register=function(f,a){b[f]=a};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,require".split(","),function(g,k,i,j,e,
c,h,b){h.isDebug&&i(["./_firebug/firebug"]);var f=h.require;f&&(f=c.map(e.isArray(f)?f:[f],function(a){return a.replace(/\./g,"/")}),g.isAsync?i(f):b(1,function(){i(f)}));return g})},"dojo/ready":function(){define(["./_base/kernel","./has","require","./domReady","./_base/lang"],function(g,k,i,j,e){var c=0,h,b=[],f=0,a=function(){if(c&&!f&&b.length){f=1;var d=b.shift();try{d()}finally{f=0}f=0;b.length&&h(a)}};i.on("idle",a);h=function(){i.idle()&&a()};var k=g.ready=g.addOnLoad=function(a,f,c){var l=
e._toArray(arguments);"number"!=typeof a?(c=f,f=a,a=1E3):l.shift();c=c?e.hitch.apply(g,l):function(){f()};c.priority=a;for(l=0;l<b.length&&a>=b[l].priority;l++);b.splice(l,0,c);h()},l=g.config.addOnLoad;if(l)k[e.isArray(l)?"apply":"call"](g,l);j(function(){c=1;g._postLoad=g.config.afterOnLoad=!0;b.length&&h(a)});return k})},"dojo/domReady":function(){define(["./has"],function(g){function k(a){h?a(j):b.push(a)}var i=this,j=document,e={loaded:1,complete:1},c="string"!=typeof j.readyState,h=!!e[j.readyState];
if(c)j.readyState="loading";if(!h){var b=[],f=[],a=function(a){a=a||i.event;if(!(h||"readystatechange"==a.type&&!e[j.readyState])){h=1;if(c)j.readyState="complete";for(;b.length;)b.shift()(j)}},l=function(d,f){d.addEventListener(f,a,!1);b.push(function(){d.removeEventListener(f,a,!1)})};if(!g("dom-addeventlistener")){var l=function(d,f){f="on"+f;d.attachEvent(f,a);b.push(function(){d.detachEvent(f,a)})},d=j.createElement("div");try{d.doScroll&&null===i.frameElement&&f.push(function(){try{return d.doScroll("left"),
1}catch(a){}})}catch(p){}}l(j,"DOMContentLoaded");l(i,"load");"onreadystatechange"in j?l(j,"readystatechange"):c||f.push(function(){return e[j.readyState]});if(f.length){var m=function(){if(!h){for(var b=f.length;b--;)if(f[b]()){a("poller");return}setTimeout(m,30)}};m()}}k.load=function(a,b,d){k(d)};return k})},"dojo/_base/declare":function(){define(["./kernel","../has","./lang"],function(g,k,i){function j(a,b){throw Error("declare"+(b?" "+b:"")+": "+a);}function e(a,b,d){var f,c,e,l,g,h,m,i=this._inherited=
this._inherited||{};"string"==typeof a&&(f=a,a=b,b=d);d=0;l=a.callee;(f=f||l.nom)||j("can't deduce a name to call inherited()",this.declaredClass);g=this.constructor._meta;e=g.bases;m=i.p;if(f!=z){if(i.c!==l&&(m=0,h=e[0],g=h._meta,g.hidden[f]!==l)){(c=g.chains)&&"string"==typeof c[f]&&j("calling chained method with inherited: "+f,this.declaredClass);do if(g=h._meta,c=h.prototype,g&&(c[f]===l&&c.hasOwnProperty(f)||g.hidden[f]===l))break;while(h=e[++m]);m=h?m:-1}if(h=e[++m])if(c=h.prototype,h._meta&&
c.hasOwnProperty(f))d=c[f];else{l=s[f];do if(c=h.prototype,(d=c[f])&&(h._meta?c.hasOwnProperty(f):d!==l))break;while(h=e[++m])}d=h&&d||s[f]}else{if(i.c!==l&&(m=0,(g=e[0]._meta)&&g.ctor!==l)){c=g.chains;for((!c||"manual"!==c.constructor)&&j("calling chained constructor with inherited",this.declaredClass);(h=e[++m])&&!((g=h._meta)&&g.ctor===l););m=h?m:-1}for(;(h=e[++m])&&!(d=(g=h._meta)?g.ctor:h););d=h&&d}i.c=d;i.p=m;if(d)return!0===b?d:d.apply(this,b||a)}function c(a,b){return"string"==typeof a?this.__inherited(a,
b,!0):this.__inherited(a,!0)}function h(a,b,d){var f=this.getInherited(a,b);if(f)return f.apply(this,d||b||a)}function b(a){for(var b=this.constructor._meta.bases,d=0,f=b.length;d<f;++d)if(b[d]===a)return!0;return this instanceof a}function f(a,b){for(var d in b)d!=z&&b.hasOwnProperty(d)&&(a[d]=b[d]);if(k("bug-for-in-skips-shadowed"))for(var f=i._extraNames,c=f.length;c;)d=f[--c],d!=z&&b.hasOwnProperty(d)&&(a[d]=b[d])}function a(a){q.safeMixin(this.prototype,a);return this}function l(a){return q([this].concat(a))}
function d(a,b){return function(){var w;var d=arguments,f=d,c=d[0],e,l;l=a.length;var g;if(!(this instanceof d.callee))return r(d);if(b&&(c&&c.preamble||this.preamble)){g=Array(a.length);g[0]=d;for(e=0;;){if(c=d[0])(c=c.preamble)&&(d=c.apply(this,d)||d);c=a[e].prototype;(c=c.hasOwnProperty("preamble")&&c.preamble)&&(d=c.apply(this,d)||d);if(++e==l)break;g[e]=d}}for(e=l-1;0<=e;--e)c=a[e],(w=(l=c._meta)?l.ctor:c,c=w)&&c.apply(this,g?g[e]:d);(c=this.postscript)&&c.apply(this,f)}}function p(a,b){return function(){var d=
arguments,f=d,c=d[0];if(!(this instanceof d.callee))return r(d);if(b){if(c)(c=c.preamble)&&(f=c.apply(this,f)||f);(c=this.preamble)&&c.apply(this,f)}a&&a.apply(this,d);(c=this.postscript)&&c.apply(this,d)}}function m(a){return function(){var w;var b=arguments,d=0,f,c;if(!(this instanceof b.callee))return r(b);for(;f=a[d];++d)if(w=(c=f._meta)?c.ctor:f,f=w){f.apply(this,b);break}(f=this.postscript)&&f.apply(this,b)}}function n(a,b,d){return function(){var f,c,e=0,l=1;d&&(e=b.length-1,l=-1);for(;f=b[e];e+=
l)c=f._meta,(f=(c?c.hidden:f.prototype)[a])&&f.apply(this,arguments)}}function o(a){u.prototype=a.prototype;a=new u;u.prototype=null;return a}function r(a){var b=a.callee,d=o(b);b.apply(d,a);return d}function q(g,h,k){"string"!=typeof g&&(k=h,h=g,g="");var k=k||{},r,u,B,A,w,x,K,H=1,C=h;if("[object Array]"==t.call(h)){H=g;B=[];A=[{cls:0,refs:[]}];x={};for(var F=1,O=h.length,D=0,L,T,G,M;D<O;++D){(L=h[D])?"[object Function]"!=t.call(L)&&j("mixin #"+D+" is not a callable constructor.",H):j("mixin #"+
D+" is unknown. Did you use dojo.require to pull it in?",H);T=L._meta?L._meta.bases:[L];G=0;for(L=T.length-1;0<=L;--L){M=T[L].prototype;if(!M.hasOwnProperty("declaredClass"))M.declaredClass="uniqName_"+y++;M=M.declaredClass;x.hasOwnProperty(M)||(x[M]={count:0,refs:[],cls:T[L]},++F);M=x[M];G&&G!==M&&(M.refs.push(G),++G.count);G=M}++G.count;A[0].refs.push(G)}for(;A.length;){G=A.pop();B.push(G.cls);for(--F;u=G.refs,1==u.length;){G=u[0];if(!G||--G.count){G=0;break}B.push(G.cls);--F}if(G)for(D=0,O=u.length;D<
O;++D)G=u[D],--G.count||A.push(G)}F&&j("can't build consistent linearization",H);L=h[0];B[0]=L?L._meta&&L===B[B.length-L._meta.bases.length]?L._meta.bases.length:1:0;x=B;B=x[0];H=x.length-B;h=x[H]}else x=[0],h?"[object Function]"==t.call(h)?(B=h._meta,x=x.concat(B?B.bases:h)):j("base class is not a callable constructor.",g):null!==h&&j("unknown base class. Did you use dojo.require to pull it in?",g);if(h)for(u=H-1;;--u){r=o(h);if(!u)break;B=x[u];(B._meta?f:v)(r,B.prototype);A=new Function;A.superclass=
h;A.prototype=r;h=r.constructor=A}else r={};q.safeMixin(r,k);B=k.constructor;if(B!==s.constructor)B.nom=z,r.constructor=B;for(u=H-1;u;--u)(B=x[u]._meta)&&B.chains&&(K=v(K||{},B.chains));r["-chains-"]&&(K=v(K||{},r["-chains-"]));B=!K||!K.hasOwnProperty(z);x[0]=A=K&&"manual"===K.constructor?m(x):1==x.length?p(k.constructor,B):d(x,B);A._meta={bases:x,hidden:k,chains:K,parents:C,ctor:k.constructor};A.superclass=h&&h.prototype;A.extend=a;A.createSubclass=l;A.prototype=r;r.constructor=A;r.getInherited=
c;r.isInstanceOf=b;r.inherited=I;r.__inherited=e;if(g)r.declaredClass=g,i.setObject(g,A);if(K)for(w in K)if(r[w]&&"string"==typeof K[w]&&w!=z)B=r[w]=n(w,x,"after"===K[w]),B.nom=w;return A}var v=i.mixin,s=Object.prototype,t=s.toString,u=new Function,y=0,z="constructor",I=g.config.isDebug?h:e;g.safeMixin=q.safeMixin=function(a,b){var d,f;for(d in b)if(f=b[d],(f!==s[d]||!(d in s))&&d!=z){if("[object Function]"==t.call(f))f.nom=d;a[d]=f}if(k("bug-for-in-skips-shadowed"))for(var c=i._extraNames,e=c.length;e;)if(d=
c[--e],f=b[d],(f!==s[d]||!(d in s))&&d!=z){if("[object Function]"==t.call(f))f.nom=d;a[d]=f}return a};return g.declare=q})},"dojo/_base/connect":function(){define("./kernel,../on,../topic,../aspect,./event,../mouse,./sniff,./lang,../keys".split(","),function(g,k,i,j,e,c,h,b){function f(a,d,f,e,l){e=b.hitch(f,e);if(!a||!a.addEventListener&&!a.attachEvent)return j.after(a||g.global,d,e,!0);"string"==typeof d&&"on"==d.substring(0,2)&&(d=d.substring(2));if(!a)a=g.global;if(!l)switch(d){case "keypress":d=
m;break;case "mouseenter":d=c.enter;break;case "mouseleave":d=c.leave}return k(a,d,e,l)}function a(a){a.keyChar=a.charCode?String.fromCharCode(a.charCode):"";a.charOrCode=a.keyChar||a.keyCode}h.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&&!h("opera")});var l={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=h("mac")?"metaKey":"ctrlKey",p=function(d,f){var c=b.mixin({},d,f);a(c);c.preventDefault=function(){d.preventDefault()};c.stopPropagation=function(){d.stopPropagation()};return c},m;m=h("events-keypress-typed")?function(a,b){var d=k(a,"keydown",function(a){var d=a.keyCode,f=13!=d&&32!=d&&(27!=d||!h("ie"))&&(48>d||90<d)&&(96>d||111<d)&&(186>d||192<d)&&(219>d||222<d)&&229!=d;if(f||a.ctrlKey){f=f?0:d;if(a.ctrlKey){if(3==d||13==d)return b.call(a.currentTarget,a);f=95<f&&
106>f?f-48:!a.shiftKey&&65<=f&&90>=f?f+32:l[f]||f}d=p(a,{type:"keypress",faux:!0,charCode:f});b.call(a.currentTarget,d);if(h("ie"))try{a.keyCode=d.keyCode}catch(c){}}}),f=k(a,"keypress",function(a){var d=a.charCode,a=p(a,{charCode:32<=d?d:0,faux:!0});return b.call(this,a)});return{remove:function(){d.remove();f.remove()}}}:h("opera")?function(a,b){return k(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,p(a,
{charCode:d}))})}:function(b,d){return k(b,"keypress",function(b){a(b);return d.call(this,b)})};var n={_keypress:m,connect:function(a,b,d,c,e){var l=arguments,g=[],h=0;g.push("string"==typeof l[0]?null:l[h++],l[h++]);var m=l[h+1];g.push("string"==typeof m||"function"==typeof m?l[h++]:null,l[h++]);for(m=l.length;h<m;h++)g.push(l[h]);return f.apply(this,g)},disconnect:function(a){a&&a.remove()},subscribe:function(a,d,f){return i.subscribe(a,b.hitch(d,f))},publish:function(a,b){return i.publish.apply(i,
[a].concat(b))},connectPublisher:function(a,b,d){var f=function(){n.publish(a,arguments)};return d?n.connect(b,d,f):n.connect(b,f)},isCopyKey:function(a){return a[d]}};n.unsubscribe=n.disconnect;b.mixin(g,n);return n})},"dojo/topic":function(){define(["./Evented"],function(g){var k=new g;return{publish:function(g,j){return k.emit.apply(k,arguments)},subscribe:function(g,j){return k.on.apply(k,arguments)}}})},"dojo/_base/event":function(){define(["./kernel","../on","../has","../dom-geometry"],function(g,
k,i,j){if(k._fixEvent){var e=k._fixEvent;k._fixEvent=function(c,b){(c=e(c,b))&&j.normalizeEvent(c);return c}}var c={fix:function(c,b){return k._fixEvent?k._fixEvent(c,b):c},stop:function(c){i("dom-addeventlistener")||c&&c.preventDefault?(c.preventDefault(),c.stopPropagation()):(c=c||window.event,c.cancelBubble=!0,k._preventDefault.call(c))}};g.fixEvent=c.fix;g.stopEvent=c.stop;return c})},"dojo/dom-geometry":function(){define(["./sniff","./_base/window","./dom","./dom-style"],function(g,k,i,j){function e(a,
b,d,f,c,e){e=e||"px";a=a.style;if(!isNaN(b))a.left=b+e;if(!isNaN(d))a.top=d+e;if(0<=f)a.width=f+e;if(0<=c)a.height=c+e}function c(a){return"button"==a.tagName.toLowerCase()||"input"==a.tagName.toLowerCase()&&"button"==(a.getAttribute("type")||"").toLowerCase()}function h(a){return"border-box"==b.boxModel||"table"==a.tagName.toLowerCase()||c(a)}var b={boxModel:"content-box"};if(g("ie"))b.boxModel="BackCompat"==document.compatMode?"border-box":"content-box";b.getPadExtents=function(a,b){var a=i.byId(a),
d=b||j.getComputedStyle(a),f=j.toPixelValue,c=f(a,d.paddingLeft),e=f(a,d.paddingTop),g=f(a,d.paddingRight),d=f(a,d.paddingBottom);return{l:c,t:e,r:g,b:d,w:c+g,h:e+d}};b.getBorderExtents=function(a,b){var a=i.byId(a),d=j.toPixelValue,f=b||j.getComputedStyle(a),c="none"!=f.borderLeftStyle?d(a,f.borderLeftWidth):0,e="none"!=f.borderTopStyle?d(a,f.borderTopWidth):0,g="none"!=f.borderRightStyle?d(a,f.borderRightWidth):0,d="none"!=f.borderBottomStyle?d(a,f.borderBottomWidth):0;return{l:c,t:e,r:g,b:d,w:c+
g,h:e+d}};b.getPadBorderExtents=function(a,f){var a=i.byId(a),d=f||j.getComputedStyle(a),c=b.getPadExtents(a,d),d=b.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}};b.getMarginExtents=function(a,b){var a=i.byId(a),d=b||j.getComputedStyle(a),f=j.toPixelValue,c=f(a,d.marginLeft),e=f(a,d.marginTop),g=f(a,d.marginRight),d=f(a,d.marginBottom);return{l:c,t:e,r:g,b:d,w:c+g,h:e+d}};b.getMarginBox=function(a,f){var a=i.byId(a),d=f||j.getComputedStyle(a),c=b.getMarginExtents(a,
d),e=a.offsetLeft-c.l,h=a.offsetTop-c.t,o=a.parentNode,k=j.toPixelValue;if(g("mozilla")){var q=parseFloat(d.left),d=parseFloat(d.top);!isNaN(q)&&!isNaN(d)?(e=q,h=d):o&&o.style&&(o=j.getComputedStyle(o),"visible"!=o.overflow&&(e+="none"!=o.borderLeftStyle?k(a,o.borderLeftWidth):0,h+="none"!=o.borderTopStyle?k(a,o.borderTopWidth):0))}else if((g("opera")||8==g("ie")&&!g("quirks"))&&o)o=j.getComputedStyle(o),e-="none"!=o.borderLeftStyle?k(a,o.borderLeftWidth):0,h-="none"!=o.borderTopStyle?k(a,o.borderTopWidth):
0;return{l:e,t:h,w:a.offsetWidth+c.w,h:a.offsetHeight+c.h}};b.getContentBox=function(a,f){var a=i.byId(a),d=f||j.getComputedStyle(a),c=a.clientWidth,e=b.getPadExtents(a,d),h=b.getBorderExtents(a,d);c?(d=a.clientHeight,h.w=h.h=0):(c=a.offsetWidth,d=a.offsetHeight);g("opera")&&(e.l+=h.l,e.t+=h.t);return{l:e.l,t:e.t,w:c-e.w-h.w,h:d-e.h-h.h}};b.setContentSize=function(a,f,d){var a=i.byId(a),c=f.w,f=f.h;h(a)&&(d=b.getPadBorderExtents(a,d),0<=c&&(c+=d.w),0<=f&&(f+=d.h));e(a,NaN,NaN,c,f)};var f={l:0,t:0,
w:0,h:0};b.setMarginBox=function(a,l,d){var a=i.byId(a),p=d||j.getComputedStyle(a),d=l.w,m=l.h,n=h(a)?f:b.getPadBorderExtents(a,p),p=b.getMarginExtents(a,p);if(g("webkit")&&c(a)){var o=a.style;if(0<=d&&!o.width)o.width="4px";if(0<=m&&!o.height)o.height="4px"}0<=d&&(d=Math.max(d-n.w-p.w,0));0<=m&&(m=Math.max(m-n.h-p.h,0));e(a,l.l,l.t,d,m)};b.isBodyLtr=function(a){a=a||k.doc;return"ltr"==(k.body(a).dir||a.documentElement.dir||"ltr").toLowerCase()};b.docScroll=function(a){var a=a||k.doc,f=k.doc.parentWindow||
k.doc.defaultView;return"pageXOffset"in f?{x:f.pageXOffset,y:f.pageYOffset}:(f=g("quirks")?k.body(a):a.documentElement)&&{x:b.fixIeBiDiScrollLeft(f.scrollLeft||0,a),y:f.scrollTop||0}};if(g("ie"))b.getIeDocumentElementOffset=function(a){a=a||k.doc;a=a.documentElement;if(8>g("ie")){var b=a.getBoundingClientRect(),d=b.left,b=b.top;7>g("ie")&&(d+=a.clientLeft,b+=a.clientTop);return{x:0>d?0:d,y:0>b?0:b}}return{x:0,y:0}};b.fixIeBiDiScrollLeft=function(a,f){var f=f||k.doc,d=g("ie");if(d&&!b.isBodyLtr(f)){var c=
g("quirks"),e=c?k.body(f):f.documentElement,h=k.global;6==d&&!c&&h.frameElement&&e.scrollHeight>e.clientHeight&&(a+=e.clientLeft);return 8>d||c?a+e.clientWidth-e.scrollWidth:-a}return a};b.position=function(a,f){var a=i.byId(a),d=k.body(a.ownerDocument),c=a.getBoundingClientRect(),c={x:c.left,y:c.top,w:c.right-c.left,h:c.bottom-c.top};if(g("ie")){var e=b.getIeDocumentElementOffset(a.ownerDocument);c.x-=e.x+(g("quirks")?d.clientLeft+d.offsetLeft:0);c.y-=e.y+(g("quirks")?d.clientTop+d.offsetTop:0)}f&&
(d=b.docScroll(a.ownerDocument),c.x+=d.x,c.y+=d.y);return c};b.getMarginSize=function(a,f){var a=i.byId(a),d=b.getMarginExtents(a,f||j.getComputedStyle(a)),c=a.getBoundingClientRect();return{w:c.right-c.left+d.w,h:c.bottom-c.top+d.h}};b.normalizeEvent=function(a){if(!("layerX"in a))a.layerX=a.offsetX,a.layerY=a.offsetY;if(!g("dom-addeventlistener")){var f=a.target,f=f&&f.ownerDocument||document,d=g("quirks")?f.body:f.documentElement,c=b.getIeDocumentElementOffset(f);a.pageX=a.clientX+b.fixIeBiDiScrollLeft(d.scrollLeft||
0,f)-c.x;a.pageY=a.clientY+(d.scrollTop||0)-c.y}};return b})},"dojo/dom-style":function(){define(["./sniff","./dom"],function(g,k){function i(b,d,f){d=d.toLowerCase();if(g("ie")){if("auto"==f){if("height"==d)return b.offsetHeight;if("width"==d)return b.offsetWidth}if("fontweight"==d)switch(f){case 700:return"bold";default:return"normal"}}d in a||(a[d]=l.test(d));return a[d]?c(b,f):f}var j,e={};j=g("webkit")?function(a){var b;if(1==a.nodeType){var d=a.ownerDocument.defaultView;b=d.getComputedStyle(a,
null);if(!b&&a.style)a.style.display="",b=d.getComputedStyle(a,null)}return b||{}}:g("ie")&&(9>g("ie")||g("quirks"))?function(a){return 1==a.nodeType&&a.currentStyle?a.currentStyle:{}}:function(a){return 1==a.nodeType?a.ownerDocument.defaultView.getComputedStyle(a,null):{}};e.getComputedStyle=j;var c;c=g("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,c=d.left,e=f.left;f.left=a.currentStyle.left;try{d.left=
b,b=d.pixelLeft}catch(l){b=0}d.left=c;f.left=e;return b}:function(a,b){return parseFloat(b)||0};e.toPixelValue=c;var h=function(a,b){try{return a.filters.item("DXImageTransform.Microsoft.Alpha")}catch(d){return b?{}:null}},b=9>g("ie")||g("ie")&&g("quirks")?function(a){try{return h(a).Opacity/100}catch(b){return 1}}:function(a){return j(a).opacity},f=9>g("ie")||g("ie")&&g("quirks")?function(a,b){var d=100*b,c=1==b;a.style.zoom=c?"":1;if(h(a))h(a,1).Opacity=d;else{if(c)return b;a.style.filter+=" progid:DXImageTransform.Microsoft.Alpha(Opacity="+
d+")"}h(a,1).Enabled=!c;if("tr"==a.tagName.toLowerCase())for(d=a.firstChild;d;d=d.nextSibling)"td"==d.tagName.toLowerCase()&&f(d,b);return b}:function(a,b){return a.style.opacity=b},a={left:!0,top:!0},l=/margin|padding|width|height|max|min|offset/,d=g("ie")?"styleFloat":"cssFloat",p={cssFloat:d,styleFloat:d,"float":d};e.get=function(a,d){var f=k.byId(a),c=arguments.length;if(2==c&&"opacity"==d)return b(f);var d=p[d]||d,l=e.getComputedStyle(f);return 1==c?l:i(f,d,l[d]||f.style[d])};e.set=function(a,
b,d){var c=k.byId(a),l=arguments.length,g="opacity"==b,b=p[b]||b;if(3==l)return g?f(c,d):c.style[b]=d;for(var h in b)e.set(a,h,b[h]);return e.getComputedStyle(c)};return e})},"dojo/mouse":function(){define(["./_base/kernel","./on","./has","./dom","./_base/window"],function(g,k,i,j,e){function c(e,b){var f=function(a,f){return k(a,e,function(d){if(b)return b(d,f);if(!j.isDescendant(d.relatedTarget,a))return f.call(this,d)})};f.bubble=function(a){return c(e,function(b,d){var f=a(b.target),c=b.relatedTarget;
if(f&&f!=(c&&1==c.nodeType&&a(c)))return d.call(f,b)})};return f}i.add("dom-quirks",e.doc&&"BackCompat"==e.doc.compatMode);i.add("events-mouseenter",e.doc&&"onmouseenter"in e.doc.createElement("div"));i.add("events-mousewheel",e.doc&&"onmousewheel"in e.doc);e=i("dom-quirks")&&i("ie")||!i("dom-addeventlistener")?{LEFT:1,MIDDLE:4,RIGHT:2,isButton:function(c,b){return c.button&b},isLeft:function(c){return c.button&1},isMiddle:function(c){return c.button&4},isRight:function(c){return c.button&2}}:{LEFT:0,
MIDDLE:1,RIGHT:2,isButton:function(c,b){return c.button==b},isLeft:function(c){return 0==c.button},isMiddle:function(c){return 1==c.button},isRight:function(c){return 2==c.button}};g.mouseButtons=e;g=i("events-mousewheel")?"mousewheel":function(c,b){return k(c,"DOMMouseScroll",function(f){f.wheelDelta=-f.detail;b.call(this,f)})};return{_eventHandler:c,enter:c("mouseover"),leave:c("mouseout"),wheel:g,isLeft:e.isLeft,isMiddle:e.isMiddle,isRight:e.isRight}})},"dojo/keys":function(){define(["./_base/kernel",
"./sniff"],function(g,k){return g.keys={BACKSPACE:8,TAB:9,CLEAR:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,META:k("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:k("mac")&&!k("air")?k("safari")?91:224:17}})},"dojo/_base/Color":function(){define(["./kernel","./lang","./array","./config"],function(g,k,i,j){var e=g.Color=function(c){c&&this.setColor(c)};e.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:j.transparentColor||[0,0,0,0]};k.extend(e,{r:255,g:255,b:255,a:1,_set:function(c,e,b,f){this.r=c;this.g=e;this.b=b;this.a=f},setColor:function(c){k.isString(c)?e.fromString(c,this):k.isArray(c)?e.fromArray(c,this):(this._set(c.r,c.g,c.b,c.a),c instanceof e||
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"#"+i.map(["r","g","b"],function(c){c=this[c].toString(16);return 2>c.length?"0"+c:c},this).join("")},toCss:function(c){var e=this.r+", "+this.g+", "+this.b;return(c?"rgba("+e+", "+this.a:"rgb("+e)+")"},toString:function(){return this.toCss(!0)}});e.blendColors=g.blendColors=function(c,g,b,f){var a=f||new e;i.forEach(["r",
"g","b","a"],function(f){a[f]=c[f]+(g[f]-c[f])*b;"a"!=f&&(a[f]=Math.round(a[f]))});return a.sanitize()};e.fromRgb=g.colorFromRgb=function(c,g){var b=c.toLowerCase().match(/^rgba?\(([\s\.,0-9]+)\)/);return b&&e.fromArray(b[1].split(/\s*,\s*/),g)};e.fromHex=g.colorFromHex=function(c,g){var b=g||new e,f=4==c.length?4:8,a=(1<<f)-1,c=Number("0x"+c.substr(1));if(isNaN(c))return null;i.forEach(["b","g","r"],function(e){var d=c&a;c>>=f;b[e]=4==f?17*d:d});b.a=1;return b};e.fromArray=g.colorFromArray=function(c,
g){var b=g||new e;b._set(Number(c[0]),Number(c[1]),Number(c[2]),Number(c[3]));if(isNaN(b.a))b.a=1;return b.sanitize()};e.fromString=g.colorFromString=function(c,g){var b=e.named[c];return b&&e.fromArray(b,g)||e.fromRgb(c,g)||e.fromHex(c,g)};return e})},"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(g){return g})},"dojo/_base/unload":function(){define(["./kernel",
"./lang","../on"],function(g,k,i){var j=window,e={addOnWindowUnload:function(c,e){if(!g.windowUnloaded)i(j,"unload",g.windowUnloaded=function(){});i(j,"unload",k.hitch(c,e))},addOnUnload:function(c,e){i(j,"beforeunload",k.hitch(c,e))}};g.addOnWindowUnload=e.addOnWindowUnload;g.addOnUnload=e.addOnUnload;return e})},"dojo/_base/html":function(){define("./kernel,../dom,../dom-style,../dom-attr,../dom-prop,../dom-class,../dom-construct,../dom-geometry".split(","),function(g,k,i,j,e,c,h,b){g.byId=k.byId;
g.isDescendant=k.isDescendant;g.setSelectable=k.setSelectable;g.getAttr=j.get;g.setAttr=j.set;g.hasAttr=j.has;g.removeAttr=j.remove;g.getNodeProp=j.getNodeProp;g.attr=function(b,a,c){return 2==arguments.length?j["string"==typeof a?"get":"set"](b,a):j.set(b,a,c)};g.hasClass=c.contains;g.addClass=c.add;g.removeClass=c.remove;g.toggleClass=c.toggle;g.replaceClass=c.replace;g._toDom=g.toDom=h.toDom;g.place=h.place;g.create=h.create;g.empty=function(b){h.empty(b)};g._destroyElement=g.destroy=function(b){h.destroy(b)};
g._getPadExtents=g.getPadExtents=b.getPadExtents;g._getBorderExtents=g.getBorderExtents=b.getBorderExtents;g._getPadBorderExtents=g.getPadBorderExtents=b.getPadBorderExtents;g._getMarginExtents=g.getMarginExtents=b.getMarginExtents;g._getMarginSize=g.getMarginSize=b.getMarginSize;g._getMarginBox=g.getMarginBox=b.getMarginBox;g.setMarginBox=b.setMarginBox;g._getContentBox=g.getContentBox=b.getContentBox;g.setContentSize=b.setContentSize;g._isBodyLtr=g.isBodyLtr=b.isBodyLtr;g._docScroll=g.docScroll=
b.docScroll;g._getIeDocumentElementOffset=g.getIeDocumentElementOffset=b.getIeDocumentElementOffset;g._fixIeBiDiScrollLeft=g.fixIeBiDiScrollLeft=b.fixIeBiDiScrollLeft;g.position=b.position;g.marginBox=function(f,a){return a?b.setMarginBox(f,a):b.getMarginBox(f)};g.contentBox=function(f,a){return a?b.setContentSize(f,a):b.getContentBox(f)};g.coords=function(f,a){g.deprecated("dojo.coords()","Use dojo.position() or dojo.marginBox().");var f=k.byId(f),c=i.getComputedStyle(f),c=b.getMarginBox(f,c),d=
b.position(f,a);c.x=d.x;c.y=d.y;return c};g.getProp=e.get;g.setProp=e.set;g.prop=function(b,a,c){return 2==arguments.length?e["string"==typeof a?"get":"set"](b,a):e.set(b,a,c)};g.getStyle=i.get;g.setStyle=i.set;g.getComputedStyle=i.getComputedStyle;g.__toPixelValue=g.toPixelValue=i.toPixelValue;g.style=function(b,a,c){switch(arguments.length){case 1:return i.get(b);case 2:return i["string"==typeof a?"get":"set"](b,a)}return i.set(b,a,c)};return g})},"dojo/dom-attr":function(){define("exports,./sniff,./_base/lang,./dom,./dom-style,./dom-prop".split(","),
function(g,k,i,j,e,c){function h(a,b){var d=a.getAttributeNode&&a.getAttributeNode(b);return d&&d.specified}var b={innerHTML:1,className:1,htmlFor:k("ie"),value:1},f={classname:"class",htmlfor:"for",tabindex:"tabIndex",readonly:"readOnly"};g.has=function(a,e){var d=e.toLowerCase();return b[c.names[d]||e]||h(j.byId(a),f[d]||e)};g.get=function(a,e){var a=j.byId(a),d=e.toLowerCase(),g=c.names[d]||e,m=a[g];if(b[g]&&"undefined"!=typeof m||"href"!=g&&("boolean"==typeof m||i.isFunction(m)))return m;d=f[d]||
e;return h(a,d)?a.getAttribute(d):null};g.set=function(a,l,d){a=j.byId(a);if(2==arguments.length){for(var h in l)g.set(a,h,l[h]);return a}h=l.toLowerCase();var m=c.names[h]||l,k=b[m];if("style"==m&&"string"!=typeof d)return e.set(a,d),a;if(k||"boolean"==typeof d||i.isFunction(d))return c.set(a,l,d);a.setAttribute(f[h]||l,d);return a};g.remove=function(a,b){j.byId(a).removeAttribute(f[b.toLowerCase()]||b)};g.getNodeProp=function(a,b){var a=j.byId(a),d=b.toLowerCase(),e=c.names[d]||b;if(e in a&&"href"!=
e)return a[e];d=f[d]||b;return h(a,d)?a.getAttribute(d):null}})},"dojo/dom-prop":function(){define("exports,./_base/kernel,./sniff,./_base/lang,./dom,./dom-style,./dom-construct,./_base/connect".split(","),function(g,k,i,j,e,c,h,b){var f={},a=0,l=k._scopeName+"attrid";g.names={"class":"className","for":"htmlFor",tabindex:"tabIndex",readonly:"readOnly",colspan:"colSpan",frameborder:"frameBorder",rowspan:"rowSpan",valuetype:"valueType"};g.get=function(a,b){var a=e.byId(a),f=b.toLowerCase();return a[g.names[f]||
b]};g.set=function(d,k,m){d=e.byId(d);if(2==arguments.length&&"string"!=typeof k){for(var n in k)g.set(d,n,k[n]);return d}n=k.toLowerCase();n=g.names[n]||k;if("style"==n&&"string"!=typeof m)return c.set(d,m),d;if("innerHTML"==n)return i("ie")&&d.tagName.toLowerCase()in{col:1,colgroup:1,table:1,tbody:1,tfoot:1,thead:1,tr:1,title:1}?(h.empty(d),d.appendChild(h.toDom(m,d.ownerDocument))):d[n]=m,d;if(j.isFunction(m)){var o=d[l];o||(o=a++,d[l]=o);f[o]||(f[o]={});var r=f[o][n];if(r)b.disconnect(r);else try{delete d[n]}catch(q){}m?
f[o][n]=b.connect(d,n,m):d[n]=null;return d}d[n]=m;return d}})},"dojo/dom-construct":function(){define("exports,./_base/kernel,./sniff,./_base/window,./dom,./dom-attr,./on".split(","),function(g,k,i,j,e,c,h){function b(a,b){var d=b.parentNode;d&&d.insertBefore(a,b)}var f={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\:]+)/,l={},d=0,p="__"+k._scopeName+"ToDomId",m;for(m in f)if(f.hasOwnProperty(m))k=f[m],k.pre="option"==m?'<select multiple="multiple">':"<"+k.join("><")+">",k.post="</"+k.reverse().join("></")+">";var n=null,o;h(window,"unload",function(){n=null});g.toDom=function(b,c){var c=c||j.doc,e=c[p];e||(c[p]=e=++d+"",l[e]=c.createElement("div"));var b=b+"",g=b.match(a),h=g?g[1].toLowerCase():"",e=l[e];if(g&&f[h]){g=f[h];e.innerHTML=g.pre+b+g.post;for(g=g.length;g;--g)e=e.firstChild}else e.innerHTML=
b;if(1==e.childNodes.length)return e.removeChild(e.firstChild);for(h=c.createDocumentFragment();g=e.firstChild;)h.appendChild(g);return h};g.place=function(a,d,f){d=e.byId(d);"string"==typeof a&&(a=/^\s*</.test(a)?g.toDom(a,d.ownerDocument):e.byId(a));if("number"==typeof f){var c=d.childNodes;!c.length||c.length<=f?d.appendChild(a):b(a,c[0>f?0:f])}else switch(f){case "before":b(a,d);break;case "after":f=a;(c=d.parentNode)&&(c.lastChild==d?c.appendChild(f):c.insertBefore(f,d.nextSibling));break;case "replace":d.parentNode.replaceChild(a,
d);break;case "only":g.empty(d);d.appendChild(a);break;case "first":if(d.firstChild){b(a,d.firstChild);break}default:d.appendChild(a)}return a};g.create=function(a,b,d,f){var l=j.doc;if(d)d=e.byId(d),l=d.ownerDocument;"string"==typeof a&&(a=l.createElement(a));b&&c.set(a,b);d&&g.place(a,d,f);return a};g.empty=i("ie")?function(a){for(var a=e.byId(a),b;b=a.lastChild;)g.destroy(b)}:function(a){e.byId(a).innerHTML=""};g.destroy=function(a){a=e.byId(a);try{var b=a.ownerDocument;if(!n||o!=b)n=b.createElement("div"),
o=b;n.appendChild(a.parentNode?a.parentNode.removeChild(a):a);n.innerHTML=""}catch(d){}}})},"dojo/dom-class":function(){define(["./_base/lang","./_base/array","./dom"],function(g,k,i){function j(b){if("string"==typeof b||b instanceof String){if(b&&!c.test(b))return h[0]=b,h;b=b.split(c);b.length&&!b[0]&&b.shift();b.length&&!b[b.length-1]&&b.pop();return b}return!b?[]:k.filter(b,function(a){return a})}var e,c=/\s+/,h=[""],b={};return e={contains:function(b,a){return 0<=(" "+i.byId(b).className+" ").indexOf(" "+
a+" ")},add:function(b,a){var b=i.byId(b),a=j(a),c=b.className,d,c=c?" "+c+" ":" ";d=c.length;for(var e=0,g=a.length,h;e<g;++e)(h=a[e])&&0>c.indexOf(" "+h+" ")&&(c+=h+" ");d<c.length&&(b.className=c.substr(1,c.length-2))},remove:function(b,a){var b=i.byId(b),c;if(void 0!==a){a=j(a);c=" "+b.className+" ";for(var d=0,e=a.length;d<e;++d)c=c.replace(" "+a[d]+" "," ");c=g.trim(c)}else c="";b.className!=c&&(b.className=c)},replace:function(c,a,g){c=i.byId(c);b.className=c.className;e.remove(b,g);e.add(b,
a);c.className!==b.className&&(c.className=b.className)},toggle:function(b,a,c){b=i.byId(b);if(void 0===c)for(var a=j(a),d=0,g=a.length,h;d<g;++d)h=a[d],e[e.contains(b,h)?"remove":"add"](b,h);else e[c?"add":"remove"](b,a);return c}}})},"dojo/_base/NodeList":function(){define(["./kernel","../query","./array","./html","../NodeList-dom"],function(g,k,i){var k=k.NodeList,j=k.prototype;j.connect=k._adaptAsForEach(function(){return g.connect.apply(this,arguments)});j.coords=k._adaptAsMap(g.coords);k.events=
"blur,focus,change,click,error,keydown,keypress,keyup,load,mousedown,mouseenter,mouseleave,mousemove,mouseout,mouseover,mouseup,submit".split(",");i.forEach(k.events,function(e){var c="on"+e;j[c]=function(e,b){return this.connect(c,e,b)}});return g.NodeList=k})},"dojo/query":function(){define("./_base/kernel,./has,./dom,./on,./_base/array,./_base/lang,./selector/_loader,./selector/_loader!default".split(","),function(g,k,i,j,e,c,h,b){function f(a,b){var d=function(d,c){if("string"==typeof c&&(c=i.byId(c),
!c))return new b([]);var f="string"==typeof d?a(d,c):d?d.orphan?d:[d]:[];return f.orphan?f:new b(f)};d.matches=a.match||function(a,b,c){return 0<d.filter([a],b,c).length};d.filter=a.filter||function(a,b,c){return d(b,c).filter(function(b){return-1<e.indexOf(a,b)})};if("function"!=typeof a)var c=a.search,a=function(a,b){return c(b||document,a)};return d}k.add("array-extensible",function(){return 1==c.delegate([],{length:1}).length&&!k("bug-for-in-skips-shadowed")});var a=Array.prototype,l=a.slice,
d=a.concat,p=e.forEach,m=function(a,b,d){b=[0].concat(l.call(b,0));d=d||g.global;return function(c){b[0]=c;return a.apply(d,b)}},n=function(a){var b=this instanceof o&&k("array-extensible");"number"==typeof a&&(a=Array(a));var d=a&&"length"in a?a:arguments;if(b||!d.sort){for(var f=b?this:[],e=f.length=d.length,g=0;g<e;g++)f[g]=d[g];if(b)return f;d=f}c._mixin(d,r);d._NodeListCtor=function(a){return o(a)};return d},o=n,r=o.prototype=k("array-extensible")?[]:{};o._wrap=r._wrap=function(a,b,d){a=new (d||
this._NodeListCtor||o)(a);return b?a._stash(b):a};o._adaptAsMap=function(a,b){return function(){return this.map(m(a,arguments,b))}};o._adaptAsForEach=function(a,b){return function(){this.forEach(m(a,arguments,b));return this}};o._adaptAsFilter=function(a,b){return function(){return this.filter(m(a,arguments,b))}};o._adaptWithCondition=function(a,b,d){return function(){var c=arguments,f=m(a,c,d);if(b.call(d||g.global,c))return this.map(f);this.forEach(f);return this}};p(["slice","splice"],function(b){var d=
a[b];r[b]=function(){return this._wrap(d.apply(this,arguments),"slice"==b?this:null)}});p(["indexOf","lastIndexOf","every","some"],function(a){var b=e[a];r[a]=function(){return b.apply(g,[this].concat(l.call(arguments,0)))}});c.extend(n,{constructor:o,_NodeListCtor:o,toString:function(){return this.join(",")},_stash:function(a){this._parent=a;return this},on:function(a,b){var d=this.map(function(d){return j(d,a,b)});d.remove=function(){for(var a=0;a<d.length;a++)d[a].remove()};return d},end:function(){return this._parent?
this._parent:new this._NodeListCtor(0)},concat:function(a){var b=l.call(this,0),c=e.map(arguments,function(a){return l.call(a,0)});return this._wrap(d.apply(b,c),this)},map:function(a,b){return this._wrap(e.map(this,a,b),this)},forEach:function(a,b){p(this,a,b);return this},filter:function(a){var b=arguments,d=this,c=0;if("string"==typeof a){d=q._filterResult(this,b[0]);if(1==b.length)return d._stash(this);c=1}return this._wrap(e.filter(d,b[c],b[c+1]),this)},instantiate:function(a,b){var d=c.isFunction(a)?
a:c.getObject(a),b=b||{};return this.forEach(function(a){new d(b,a)})},at:function(){var a=new this._NodeListCtor(0);p(arguments,function(b){0>b&&(b=this.length+b);this[b]&&a.push(this[b])},this);return a._stash(this)}});var q=f(b,n);g.query=f(b,function(a){return n(a)});q.load=function(a,b,d){h.load(a,b,function(a){d(f(a,n))})};g._filterQueryResult=q._filterResult=function(a,b,d){return new n(q.filter(a,b,d))};g.NodeList=q.NodeList=n;return q})},"dojo/selector/_loader":function(){define(["../has",
"require"],function(g,k){var i=document.createElement("div");g.add("dom-qsa2.1",!!i.querySelectorAll);g.add("dom-qsa3",function(){try{return i.innerHTML="<p class='TEST'></p>",1==i.querySelectorAll(".TEST:empty").length}catch(e){}});var j;return{load:function(e,c,h){var b=k,e="default"==e?g("config-selectorEngine")||"css3":e,e="css2"==e||"lite"==e?"./lite":"css2.1"==e?g("dom-qsa2.1")?"./lite":"./acme":"css3"==e?g("dom-qsa3")?"./lite":"./acme":"acme"==e?"./acme":(b=c)&&e;if("?"==e.charAt(e.length-
1))var e=e.substring(0,e.length-1),f=!0;if(f&&(g("dom-compliant-qsa")||j))return h(j);b([e],function(a){"./lite"!=e&&(j=a);h(a)})}}})},"dojo/selector/acme":function(){define(["../dom","../sniff","../_base/array","../_base/lang","../_base/window"],function(g,k,i,j,e){var c=j.trim,h=i.forEach,b="BackCompat"==e.doc.compatMode,f=!1,a=function(){return!0},l=function(a){for(var a=0<=">~+".indexOf(a.slice(-1))?a+" * ":a+" ",b=function(b,d){return c(a.slice(b,d))},d=[],e=-1,g=-1,l=-1,h=-1,m=-1,j=-1,i=-1,
k,o="",n="",p,q=0,t=a.length,r=null,u=null,v=function(){if(0<=j)r.id=b(j,q).replace(/\\/g,""),j=-1;if(0<=i){var a=i==q?null:b(i,q);r[0>">~+".indexOf(a)?"tag":"oper"]=a;i=-1}0<=m&&(r.classes.push(b(m+1,q).replace(/\\/g,"")),m=-1)};o=n,n=a.charAt(q),q<t;q++)if("\\"!=o)if(r||(p=q,r={query:null,pseudos:[],attrs:[],classes:[],tag:null,oper:null,id:null,getTag:function(){return f?this.otag:this.tag}},i=q),k)n==k&&(k=null);else if("'"==n||'"'==n)k=n;else if(0<=e)if("]"==n){u.attr?u.matchFor=b(l||e+1,q):
u.attr=b(e+1,q);if((e=u.matchFor)&&('"'==e.charAt(0)||"'"==e.charAt(0)))u.matchFor=e.slice(1,-1);if(u.matchFor)u.matchFor=u.matchFor.replace(/\\/g,"");r.attrs.push(u);u=null;e=l=-1}else{if("="==n)l=0<="|~^$*".indexOf(o)?o:"",u.type=l+n,u.attr=b(e+1,q-l.length),l=q+1}else if(0<=g){if(")"==n){if(0<=h)u.value=b(g+1,q);h=g=-1}}else if("#"==n)v(),j=q+1;else if("."==n)v(),m=q;else if(":"==n)v(),h=q;else if("["==n)v(),e=q,u={};else if("("==n)0<=h&&(u={name:b(h+1,q),value:null},r.pseudos.push(u)),g=q;else if(" "==
n&&o!=n){v();0<=h&&r.pseudos.push({name:b(h+1,q)});r.loops=r.pseudos.length||r.attrs.length||r.classes.length;r.oquery=r.query=b(p,q);r.otag=r.tag=r.oper?null:r.tag||"*";if(r.tag)r.tag=r.tag.toUpperCase();if(d.length&&d[d.length-1].oper)r.infixOper=d.pop(),r.query=r.infixOper.query+" "+r.query;d.push(r);r=null}return d},d=function(a,b){return!a?b:!b?a:function(){return a.apply(window,arguments)&&b.apply(window,arguments)}},p=function(a,b){var d=b||[];a&&d.push(a);return d},m=function(a){return 1==
a.nodeType},n=function(a,b){return!a?"":"class"==b?a.className||"":"for"==b?a.htmlFor||"":"style"==b?a.style.cssText||"":(f?a.getAttribute(b):a.getAttribute(b,2))||""},o={"*=":function(a,b){return function(d){return 0<=n(d,a).indexOf(b)}},"^=":function(a,b){return function(d){return 0==n(d,a).indexOf(b)}},"$=":function(a,b){return function(d){var d=" "+n(d,a),c=d.lastIndexOf(b);return-1<c&&c==d.length-b.length}},"~=":function(a,b){var d=" "+b+" ";return function(b){return 0<=(" "+n(b,a)+" ").indexOf(d)}},
"|=":function(a,b){var d=b+"-";return function(c){c=n(c,a);return c==b||0==c.indexOf(d)}},"=":function(a,b){return function(d){return n(d,a)==b}}},r="undefined"==typeof e.doc.firstChild.nextElementSibling,q=!r?"nextElementSibling":"nextSibling",v=!r?"previousElementSibling":"previousSibling",s=r?m:a,t=function(a){for(;a=a[v];)if(s(a))return!1;return!0},u=function(a){for(;a=a[q];)if(s(a))return!1;return!0},y=function(a){var b=a.parentNode,b=7!=b.nodeType?b:b.nextSibling,d=0,c=b.children||b.childNodes,
f=a._i||a.getAttribute("_i")||-1,e=b._l||("undefined"!==typeof b.getAttribute?b.getAttribute("_l"):-1);if(!c)return-1;c=c.length;if(e==c&&0<=f&&0<=e)return f;k("ie")&&"undefined"!==typeof b.setAttribute?b.setAttribute("_l",c):b._l=c;f=-1;for(b=b.firstElementChild||b.firstChild;b;b=b[q])if(s(b))k("ie")?b.setAttribute("_i",++d):b._i=++d,a===b&&(f=d);return f},z=function(a){return!(y(a)%2)},I=function(a){return y(a)%2},J={checked:function(){return function(a){return!!("checked"in a?a.checked:a.selected)}},
disabled:function(){return function(a){return a.disabled}},enabled:function(){return function(a){return!a.disabled}},"first-child":function(){return t},"last-child":function(){return u},"only-child":function(){return function(a){return t(a)&&u(a)}},empty:function(){return function(a){for(var b=a.childNodes,a=a.childNodes.length-1;0<=a;a--){var d=b[a].nodeType;if(1===d||3==d)return!1}return!0}},contains:function(a,b){var d=b.charAt(0);if('"'==d||"'"==d)b=b.slice(1,-1);return function(a){return 0<=
a.innerHTML.indexOf(b)}},not:function(a,b){var d=l(b)[0],c={el:1};if("*"!=d.tag)c.tag=1;if(!d.classes.length)c.classes=1;var f=E(d,c);return function(a){return!f(a)}},"nth-child":function(a,b){var d=parseInt;if("odd"==b)return I;if("even"==b)return z;if(-1!=b.indexOf("n")){var c=b.split("n",2),f=c[0]?"-"==c[0]?-1:d(c[0]):1,e=c[1]?d(c[1]):0,g=0,l=-1;0<f?0>e?e=e%f&&f+e%f:0<e&&(e>=f&&(g=e-e%f),e%=f):0>f&&(f*=-1,0<e&&(l=e,e%=f));if(0<f)return function(a){a=y(a);return a>=g&&(0>l||a<=l)&&a%f==e};b=e}var h=
d(b);return function(a){return y(a)==h}}},N=k("ie")&&(9>k("ie")||k("quirks"))?function(a){var b=a.toLowerCase();"class"==b&&(a="className");return function(d){return f?d.getAttribute(a):d[a]||d[b]}}:function(a){return function(b){return b&&b.getAttribute&&b.hasAttribute(a)}},E=function(b,c){if(!b)return a;var c=c||{},e=null;"el"in c||(e=d(e,m));"tag"in c||"*"!=b.tag&&(e=d(e,function(a){return a&&(f?a.tagName:a.tagName.toUpperCase())==b.getTag()}));"classes"in c||h(b.classes,function(a,b){var c=RegExp("(?:^|\\s)"+
a+"(?:\\s|$)");e=d(e,function(a){return c.test(a.className)});e.count=b});"pseudos"in c||h(b.pseudos,function(a){var b=a.name;J[b]&&(e=d(e,J[b](b,a.value)))});"attrs"in c||h(b.attrs,function(a){var b,c=a.attr;a.type&&o[a.type]?b=o[a.type](c,a.matchFor):c.length&&(b=N(c));b&&(e=d(e,b))});"id"in c||b.id&&(e=d(e,function(a){return!!a&&a.id==b.id}));e||"default"in c||(e=a);return e},S=function(a){return function(b,d,c){for(;b=b[q];)if(!r||m(b)){(!c||P(b,c))&&a(b)&&d.push(b);break}return d}},Q=function(a){return function(b,
d,c){for(b=b[q];b;){if(s(b)){if(c&&!P(b,c))break;a(b)&&d.push(b)}b=b[q]}return d}},B=function(b){b=b||a;return function(a,d,c){for(var f=0,e=a.children||a.childNodes;a=e[f++];)s(a)&&(!c||P(a,c))&&b(a,f)&&d.push(a);return d}},A={},w=function(d){var c=A[d.query];if(c)return c;var f=d.infixOper,f=f?f.oper:"",l=E(d,{el:1}),h="*"==d.tag,m=e.doc.getElementsByClassName;if(f){m={el:1};if(h)m.tag=1;l=E(d,m);"+"==f?c=S(l):"~"==f?c=Q(l):">"==f&&(c=B(l))}else if(d.id)l=!d.loops&&h?a:E(d,{el:1,id:1}),c=function(a,
b){var c=g.byId(d.id,a.ownerDocument||a);if(c&&l(c)){if(9==a.nodeType)return p(c,b);for(var f=c.parentNode;f&&!(f==a);)f=f.parentNode;if(f)return p(c,b)}};else if(m&&/\{\s*\[native code\]\s*\}/.test(""+m)&&d.classes.length&&!b)var l=E(d,{el:1,classes:1,id:1}),j=d.classes.join(" "),c=function(a,b,d){for(var b=p(0,b),c,f=0,e=a.getElementsByClassName(j);c=e[f++];)l(c,a)&&P(c,d)&&b.push(c);return b};else!h&&!d.loops?c=function(a,b,c){for(var b=p(0,b),f=0,e=d.getTag(),e=e?a.getElementsByTagName(e):[];a=
e[f++];)P(a,c)&&b.push(a);return b}:(l=E(d,{el:1,tag:1,id:1}),c=function(a,b,c){for(var b=p(0,b),f,e=0,g=(f=d.getTag())?a.getElementsByTagName(f):[];f=g[e++];)l(f,a)&&P(f,c)&&b.push(f);return b});return A[d.query]=c},x={},K={},H=function(a){var b=l(c(a));if(1==b.length){var d=w(b[0]);return function(a){if(a=d(a,[]))a.nozip=!0;return a}}return function(a){for(var a=p(a),d,c,f=b.length,e,g,l=0;l<f;l++){g=[];d=b[l];c=a.length-1;if(0<c)e={},g.nozip=!0;c=w(d);for(var h=0;d=a[h];h++)c(d,g,e);if(!g.length)break;
a=g}return g}},C=k("ie")?"commentStrip":"nozip",F=!!e.doc.querySelectorAll,O=/\\[>~+]|n\+\d|([^ \\])?([>~+])([^ =])?/g,D=function(a,b,d,c){return d?(b?b+" ":"")+d+(c?" "+c:""):a},L=/([^[]*)([^\]]*])?/g,T=function(a,b,d){return b.replace(O,D)+(d||"")},G=function(a,d){a=a.replace(L,T);if(F){var c=K[a];if(c&&!d)return c}if(c=x[a])return c;var c=a.charAt(0),f=-1==a.indexOf(" ");0<=a.indexOf("#")&&f&&(d=!0);if(F&&!d&&-1==">~+".indexOf(c)&&(!k("ie")||-1==a.indexOf(":"))&&!(b&&0<=a.indexOf("."))&&-1==a.indexOf(":contains")&&
-1==a.indexOf(":checked")&&-1==a.indexOf("|=")){var e=0<=">~+".indexOf(a.charAt(a.length-1))?a+" *":a;return K[a]=function(b){try{if(!(9==b.nodeType||f))throw"";var d=b.querySelectorAll(e);d[C]=!0;return d}catch(c){return G(a,!0)(b)}}}var g=a.match(/([^\s,](?:"(?:\\.|[^"])+"|'(?:\\.|[^'])+'|[^,])*)/g);return x[a]=2>g.length?H(a):function(a){for(var b=0,d=[],c;c=g[b++];)d=d.concat(H(c)(a));return d}},M=0,X=k("ie")?function(a){return f?a.getAttribute("_uid")||a.setAttribute("_uid",++M)||M:a.uniqueID}:
function(a){return a._uid||(a._uid=++M)},P=function(a,b){if(!b)return 1;var d=X(a);return!b[d]?b[d]=1:0},Y=function(a){if(a&&a.nozip)return a;var b=[];if(!a||!a.length)return b;a[0]&&b.push(a[0]);if(2>a.length)return b;M++;var d,c;if(k("ie")&&f){var e=M+"";a[0].setAttribute("_zipIdx",e);for(d=1;c=a[d];d++)a[d].getAttribute("_zipIdx")!=e&&b.push(c),c.setAttribute("_zipIdx",e)}else if(k("ie")&&a.commentStrip)try{for(d=1;c=a[d];d++)m(c)&&b.push(c)}catch(g){}else{a[0]&&(a[0]._zipIdx=M);for(d=1;c=a[d];d++)a[d]._zipIdx!=
M&&b.push(c),c._zipIdx=M}return b},U=function(a,b){b=b||e.doc;f="div"===(b.ownerDocument||b).createElement("div").tagName;var d=G(a)(b);return d&&d.nozip?d:Y(d)};U.filter=function(a,b,d){for(var c=[],f=l(b),f=1==f.length&&!/[^\w#\.]/.test(b)?E(f[0]):function(a){return-1!=i.indexOf(U(b,g.byId(d)),a)},e=0,h;h=a[e];e++)f(h)&&c.push(h);return c};return U})},"dojo/NodeList-dom":function(){define("dojo/NodeList-dom","./_base/kernel,./query,./_base/array,./_base/lang,./dom-class,./dom-construct,./dom-geometry,./dom-attr,./dom-style".split(","),
function(g,k,i,j,e,c,h,b,f){function a(a){return function(b,d,c){return 2==arguments.length?a["string"==typeof d?"get":"set"](b,d):a.set(b,d,c)}}var l=function(a){return 1==a.length&&"string"==typeof a[0]},d=function(a){var b=a.parentNode;b&&b.removeChild(a)},p=k.NodeList,m=p._adaptWithCondition,n=p._adaptAsForEach,o=p._adaptAsMap;j.extend(p,{_normalize:function(a,b){var d=!0===a.parse;if("string"==typeof a.template)var f=a.templateFunc||g.string&&g.string.substitute,a=f?f(a.template,a):a;f=typeof a;
"string"==f||"number"==f?(a=c.toDom(a,b&&b.ownerDocument),a=11==a.nodeType?j._toArray(a.childNodes):[a]):j.isArrayLike(a)?j.isArray(a)||(a=j._toArray(a)):a=[a];if(d)a._runParse=!0;return a},_cloneNode:function(a){return a.cloneNode(!0)},_place:function(a,b,d,f){if(!(1!=b.nodeType&&"only"==d))for(var e,l=a.length,h=l-1;0<=h;h--){var m=f?this._cloneNode(a[h]):a[h];if(a._runParse&&g.parser&&g.parser.parse){e||(e=b.ownerDocument.createElement("div"));e.appendChild(m);g.parser.parse(e);for(m=e.firstChild;e.firstChild;)e.removeChild(e.firstChild)}h==
l-1?c.place(m,b,d):b.parentNode.insertBefore(m,b);b=m}},position:o(h.position),attr:m(a(b),l),style:m(a(f),l),addClass:n(e.add),removeClass:n(e.remove),toggleClass:n(e.toggle),replaceClass:n(e.replace),empty:n(c.empty),removeAttr:n(b.remove),marginBox:o(h.getMarginBox),place:function(a,b){var d=k(a)[0];return this.forEach(function(a){c.place(a,d,b)})},orphan:function(a){return(a?k._filterResult(this,a):this).forEach(d)},adopt:function(a,b){return k(a).place(this[0],b)._stash(this)},query:function(a){if(!a)return this;
var b=new p;this.map(function(d){k(a,d).forEach(function(a){void 0!==a&&b.push(a)})});return b._stash(this)},filter:function(a){var b=arguments,d=this,c=0;if("string"==typeof a){d=k._filterResult(this,b[0]);if(1==b.length)return d._stash(this);c=1}return this._wrap(i.filter(d,b[c],b[c+1]),this)},addContent:function(a,b){for(var a=this._normalize(a,this[0]),d=0,c;c=this[d];d++)this._place(a,c,b,0<d);return this}});return p})},"dojo/_base/fx":function(){define("./kernel,./config,./lang,../Evented,./Color,./connect,./sniff,../dom,../dom-style".split(","),
function(g,k,i,j,e,c,h,b,f){var a=i.mixin,l={},d=l._Line=function(a,b){this.start=a;this.end=b};d.prototype.getValue=function(a){return(this.end-this.start)*a+this.start};var p=l.Animation=function(b){a(this,b);if(i.isArray(this.curve))this.curve=new d(this.curve[0],this.curve[1])};p.prototype=new j;i.extend(p,{duration:350,repeat:0,rate:20,_percent:0,_startRepeatCount:0,_getStep:function(){var a=this._percent,b=this.easing;return b?b(a):a},_fire:function(a,b){var d=b||[];if(this[a])if(k.debugAtAllCosts)this[a].apply(this,
d);else try{this[a].apply(this,d)}catch(c){}return this},play:function(a,b){this._delayTimer&&this._clearTimer();if(b)this._stopTimer(),this._active=this._paused=!1,this._percent=0;else if(this._active&&!this._paused)return this;this._fire("beforeBegin",[this.node]);var d=a||this.delay,c=i.hitch(this,"_play",b);if(0<d)return this._delayTimer=setTimeout(c,d),this;c();return this},_play:function(){this._delayTimer&&this._clearTimer();this._startTime=(new Date).valueOf();this._paused&&(this._startTime-=
this.duration*this._percent);this._active=!0;this._paused=!1;var a=this.curve.getValue(this._getStep());if(!this._percent){if(!this._startRepeatCount)this._startRepeatCount=this.repeat;this._fire("onBegin",[a])}this._fire("onPlay",[a]);this._cycle();return this},pause:function(){this._delayTimer&&this._clearTimer();this._stopTimer();if(!this._active)return this;this._paused=!0;this._fire("onPause",[this.curve.getValue(this._getStep())]);return this},gotoPercent:function(a,b){this._stopTimer();this._active=
this._paused=!0;this._percent=a;b&&this.play();return this},stop:function(a){this._delayTimer&&this._clearTimer();if(!this._timer)return this;this._stopTimer();if(a)this._percent=1;this._fire("onStop",[this.curve.getValue(this._getStep())]);this._active=this._paused=!1;return this},status:function(){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)]);if(1>this._percent)this._startTimer();else{this._active=!1;if(0<this.repeat)this.repeat--,this.play(null,!0);else if(-1==this.repeat)this.play(null,!0);else if(this._startRepeatCount)this.repeat=this._startRepeatCount,this._startRepeatCount=0;this._percent=0;this._fire("onEnd",[this.node]);!this.repeat&&this._stopTimer()}}return this},_clearTimer:function(){clearTimeout(this._delayTimer);delete this._delayTimer}});
var m=0,n=null,o={run:function(){}};i.extend(p,{_startTimer:function(){if(!this._timer)this._timer=c.connect(o,"run",this,"_cycle"),m++;n||(n=setInterval(i.hitch(o,"run"),this.rate))},_stopTimer:function(){if(this._timer)c.disconnect(this._timer),this._timer=null,m--;0>=m&&(clearInterval(n),n=null,m=0)}});var r=h("ie")?function(a){var b=a.style;if(!b.width.length&&"auto"==f.get(a,"width"))b.width="auto"}:function(){};l._fade=function(d){d.node=b.byId(d.node);var e=a({properties:{}},d),d=e.properties.opacity=
{};d.start=!("start"in e)?function(){return+f.get(e.node,"opacity")||0}:e.start;d.end=e.end;d=l.animateProperty(e);c.connect(d,"beforeBegin",i.partial(r,e.node));return d};l.fadeIn=function(b){return l._fade(a({end:1},b))};l.fadeOut=function(b){return l._fade(a({end:0},b))};l._defaultEasing=function(a){return 0.5+Math.sin((a+1.5)*Math.PI)/2};var q=function(a){this._properties=a;for(var b in a){var d=a[b];if(d.start instanceof e)d.tempColor=new e}};q.prototype.getValue=function(a){var b={},d;for(d in this._properties){var c=
this._properties[d],f=c.start;f instanceof e?b[d]=e.blendColors(f,c.end,a,c.tempColor).toCss():i.isArray(f)||(b[d]=(c.end-f)*a+f+("opacity"!=d?c.units||"px":0))}return b};l.animateProperty=function(d){var l=d.node=b.byId(d.node);if(!d.easing)d.easing=g._defaultEasing;d=new p(d);c.connect(d,"beforeBegin",d,function(){var b={},d;for(d in this.properties){if("width"==d||"height"==d)this.node.display="block";var c=this.properties[d];i.isFunction(c)&&(c=c(l));c=b[d]=a({},i.isObject(c)?c:{end:c});if(i.isFunction(c.start))c.start=
c.start(l);if(i.isFunction(c.end))c.end=c.end(l);var g=0<=d.toLowerCase().indexOf("color"),h=function(a,b){var d={height:a.offsetHeight,width:a.offsetWidth}[b];if(void 0!==d)return d;d=f.get(a,b);return"opacity"==b?+d:g?d:parseFloat(d)};if("end"in c){if(!("start"in c))c.start=h(l,d)}else c.end=h(l,d);g?(c.start=new e(c.start),c.end=new e(c.end)):c.start="opacity"==d?+c.start:parseFloat(c.start)}this.curve=new q(b)});c.connect(d,"onAnimate",i.hitch(f,"set",d.node));return d};l.anim=function(a,b,d,
c,f,e){return l.animateProperty({node:a,duration:d||p.prototype.duration,properties:b,easing:c,onEnd:f}).play(e||0)};a(g,l);g._Animation=p;return l})},"dijit/layout/BorderContainer":function(){define("dojo/_base/array,dojo/cookie,dojo/_base/declare,dojo/dom-class,dojo/dom-construct,dojo/dom-geometry,dojo/dom-style,dojo/_base/event,dojo/keys,dojo/_base/lang,dojo/on,dojo/touch,../_WidgetBase,../_Widget,../_TemplatedMixin,./_LayoutWidget,./utils".split(","),function(g,k,i,j,e,c,h,b,f,a,l,d,p,m,n,o,r){var q=
i("dijit.layout._Splitter",[m,n],{live:!0,templateString:'<div class="dijitSplitter" data-dojo-attach-event="onkeypress:_onKeyPress,press:_startDrag,onmouseenter:_onMouse,onmouseleave:_onMouse" tabIndex="0" role="separator"><div class="dijitSplitterThumb"></div></div>',constructor:function(){this._handlers=[]},postMixInProperties:function(){this.inherited(arguments);this.horizontal=/top|bottom/.test(this.region);this._factor=/top|left/.test(this.region)?1:-1;this._cookieName=this.container.id+"_"+
this.region},buildRendering:function(){this.inherited(arguments);j.add(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V"));if(this.container.persist){var a=k(this._cookieName);a&&(this.child.domNode.style[this.horizontal?"height":"width"]=a)}},_computeMaxSize:function(){var a=this.horizontal?"h":"w",b=c.getMarginBox(this.child.domNode)[a],d=g.filter(this.container.getChildren(),function(a){return"center"==a.region})[0],a=c.getMarginBox(d.domNode)[a];return Math.min(this.child.maxSize,b+a)},_startDrag:function(f){if(!this.cover)this.cover=
e.place("<div class=dijitSplitterCover></div>",this.child.domNode,"after");j.add(this.cover,"dijitSplitterCoverActive");this.fake&&e.destroy(this.fake);if(!(this._resize=this.live))(this.fake=this.domNode.cloneNode(!0)).removeAttribute("id"),j.add(this.domNode,"dijitSplitterShadow"),e.place(this.fake,this.domNode,"after");j.add(this.domNode,"dijitSplitterActive dijitSplitter"+(this.horizontal?"H":"V")+"Active");this.fake&&j.remove(this.fake,"dijitSplitterHover dijitSplitter"+(this.horizontal?"H":
"V")+"Hover");var g=this._factor,h=this.horizontal,m=h?"pageY":"pageX",i=f[m],k=this.domNode.style,o=c.getMarginBox(this.child.domNode)[h?"h":"w"],n=this._computeMaxSize(),p=this.child.minSize||20,h=this.region,q="top"==h||"bottom"==h?"top":"left",r=parseInt(k[q],10),v=this._resize,A=a.hitch(this.container,"_layoutChildren",this.child.id),h=this.ownerDocument;this._handlers=this._handlers.concat([l(h,d.move,this._drag=function(a,b){var d=a[m]-i,c=g*d+o,f=Math.max(Math.min(c,n),p);(v||b)&&A(f);k[q]=
d+r+g*(f-c)+"px"}),l(h,"dragstart",b.stop),l(this.ownerDocumentBody,"selectstart",b.stop),l(h,d.release,a.hitch(this,"_stopDrag"))]);b.stop(f)},_onMouse:function(a){a="mouseover"==a.type||"mouseenter"==a.type;j.toggle(this.domNode,"dijitSplitterHover",a);j.toggle(this.domNode,"dijitSplitter"+(this.horizontal?"H":"V")+"Hover",a)},_stopDrag:function(a){try{this.cover&&j.remove(this.cover,"dijitSplitterCoverActive"),this.fake&&e.destroy(this.fake),j.remove(this.domNode,"dijitSplitterActive dijitSplitter"+
(this.horizontal?"H":"V")+"Active dijitSplitterShadow"),this._drag(a),this._drag(a,!0)}finally{this._cleanupHandlers(),delete this._drag}this.container.persist&&k(this._cookieName,this.child.domNode.style[this.horizontal?"height":"width"],{expires:365})},_cleanupHandlers:function(){for(var a;a=this._handlers.pop();)a.remove()},_onKeyPress:function(a){this._resize=!0;var d=this.horizontal,e=1;switch(a.charOrCode){case d?f.UP_ARROW:f.LEFT_ARROW:e*=-1;case d?f.DOWN_ARROW:f.RIGHT_ARROW:break;default:return}d=
c.getMarginSize(this.child.domNode)[d?"h":"w"]+this._factor*e;this.container._layoutChildren(this.child.id,Math.max(Math.min(d,this._computeMaxSize()),this.child.minSize));b.stop(a)},destroy:function(){this._cleanupHandlers();delete this.child;delete this.container;delete this.cover;delete this.fake;this.inherited(arguments)}}),v=i("dijit.layout._Gutter",[m,n],{templateString:'<div class="dijitGutter" role="presentation"></div>',postMixInProperties:function(){this.inherited(arguments);this.horizontal=
/top|bottom/.test(this.region)},buildRendering:function(){this.inherited(arguments);j.add(this.domNode,"dijitGutter"+(this.horizontal?"H":"V"))}}),i=i("dijit.layout.BorderContainer",o,{design:"headline",gutters:!0,liveSplitters:!0,persist:!1,baseClass:"dijitBorderContainer",_splitterClass:q,postMixInProperties:function(){this.gutters||(this.baseClass+="NoGutter");this.inherited(arguments)},startup:function(){this._started||(g.forEach(this.getChildren(),this._setupChild,this),this.inherited(arguments))},
_setupChild:function(b){var d=b.region;if(d){this.inherited(arguments);j.add(b.domNode,this.baseClass+"Pane");var c=this.isLeftToRight();"leading"==d&&(d=c?"left":"right");"trailing"==d&&(d=c?"right":"left");if("center"!=d&&(b.splitter||this.gutters)&&!b._splitterWidget)c=b.splitter?this._splitterClass:v,a.isString(c)&&(c=a.getObject(c)),c=new c({id:b.id+"_splitter",container:this,child:b,region:d,live:this.liveSplitters}),c.isSplitter=!0,b._splitterWidget=c,e.place(c.domNode,b.domNode,"after"),c.startup();
b.region=d}},layout:function(){this._layoutChildren()},addChild:function(a,b){this.inherited(arguments);this._started&&this.layout()},removeChild:function(a){var b=a.region,d=a._splitterWidget;d&&(d.destroy(),delete a._splitterWidget);this.inherited(arguments);this._started&&this._layoutChildren();j.remove(a.domNode,this.baseClass+"Pane");h.set(a.domNode,{top:"auto",bottom:"auto",left:"auto",right:"auto",position:"static"});h.set(a.domNode,"top"==b||"bottom"==b?"width":"height","auto")},getChildren:function(){return g.filter(this.inherited(arguments),
function(a){return!a.isSplitter})},getSplitter:function(a){return g.filter(this.getChildren(),function(b){return b.region==a})[0]._splitterWidget},resize:function(a,b){if(!this.cs||!this.pe){var d=this.domNode;this.cs=h.getComputedStyle(d);this.pe=c.getPadExtents(d,this.cs);this.pe.r=h.toPixelValue(d,this.cs.paddingRight);this.pe.b=h.toPixelValue(d,this.cs.paddingBottom);h.set(d,"padding","0px")}this.inherited(arguments)},_layoutChildren:function(a,b){if(this._borderBox&&this._borderBox.h){var d=
g.map(this.getChildren(),function(a,b){return{pane:a,weight:["center"==a.region?Infinity:0,a.layoutPriority,("sidebar"==this.design?1:-1)*(/top|bottom/.test(a.region)?1:-1),b]}},this);d.sort(function(a,b){for(var d=a.weight,c=b.weight,f=0;f<d.length;f++)if(d[f]!=c[f])return d[f]-c[f];return 0});var c=[];g.forEach(d,function(a){a=a.pane;c.push(a);a._splitterWidget&&c.push(a._splitterWidget)});r.layoutChildren(this.domNode,{l:this.pe.l,t:this.pe.t,w:this._borderBox.w-this.pe.w,h:this._borderBox.h-this.pe.h},
c,a,b)}},destroyRecursive:function(){g.forEach(this.getChildren(),function(a){var b=a._splitterWidget;b&&b.destroy();delete a._splitterWidget});this.inherited(arguments)}});i.ChildWidgetProperties={region:"",layoutPriority:0,splitter:!1,minSize:0,maxSize:Infinity};a.extend(p,i.ChildWidgetProperties);i._Splitter=q;i._Gutter=v;return i})},"dojo/cookie":function(){define("dojo/cookie",["./_base/kernel","./regexp"],function(g,k){g.cookie=function(g,j,e){var c=document.cookie,h;if(1==arguments.length)h=
(h=c.match(RegExp("(?:^|; )"+k.escapeString(g)+"=([^;]*)")))?decodeURIComponent(h[1]):void 0;else{e=e||{};c=e.expires;if("number"==typeof c){var b=new Date;b.setTime(b.getTime()+864E5*c);c=e.expires=b}if(c&&c.toUTCString)e.expires=c.toUTCString();var j=encodeURIComponent(j),c=g+"="+j,f;for(f in e)c+="; "+f,b=e[f],!0!==b&&(c+="="+b);document.cookie=c}return h};g.cookie.isSupported=function(){if(!("cookieEnabled"in navigator))this("__djCookieTest__","CookiesAllowed"),navigator.cookieEnabled="CookiesAllowed"==
this("__djCookieTest__"),navigator.cookieEnabled&&this("__djCookieTest__","",{expires:-1});return navigator.cookieEnabled};return g.cookie})},"dojo/regexp":function(){define(["./_base/kernel","./_base/lang"],function(g,k){var i={};k.setObject("dojo.regexp",i);i.escapeString=function(g,e){return g.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(c){return e&&-1!=e.indexOf(c)?c:"\\"+c})};i.buildGroupRE=function(g,e,c){if(!(g instanceof Array))return e(g);for(var h=[],b=0;b<g.length;b++)h.push(e(g[b]));
return i.group(h.join("|"),c)};i.group=function(g,e){return"("+(e?"?:":"")+g+")"};return i})},"dojo/touch":function(){define("./_base/kernel,./_base/lang,./aspect,./dom,./on,./has,./mouse,./ready,./_base/window".split(","),function(g,k,i,j,e,c,h,b,f){function a(a){return function(b,d){return e(b,a,d)}}var i=c("touch"),l=!1;c("ios")&&(c=navigator.userAgent.match(/OS ([\d_]+)/)?RegExp.$1:"1",l=5>parseFloat(c.replace(/_/,".").replace(/_/g,"")));var d,p;i&&(b(function(){p=f.body();f.doc.addEventListener("touchstart",
function(a){var b=p;p=a.target;e.emit(b,"dojotouchout",{target:b,relatedTarget:p,bubbles:!0});e.emit(p,"dojotouchover",{target:p,relatedTarget:b,bubbles:!0})},!0);e(f.doc,"touchmove",function(a){if((a=f.doc.elementFromPoint(a.pageX-(l?0:f.global.pageXOffset),a.pageY-(l?0:f.global.pageYOffset)))&&p!==a)e.emit(p,"dojotouchout",{target:p,relatedTarget:a,bubbles:!0}),e.emit(a,"dojotouchover",{target:a,relatedTarget:p,bubbles:!0}),p=a})}),d=function(a,b){return e(f.doc,"touchmove",function(d){(a===f.doc||
j.isDescendant(p,a))&&b.call(this,k.mixin({},d,{target:p,touches:d.touches,preventDefault:function(){d.preventDefault()},stopPropagation:function(){d.stopPropagation()}}))})});h={press:a(i?"touchstart":"mousedown"),move:i?d:a("mousemove"),release:a(i?"touchend":"mouseup"),cancel:i?a("touchcancel"):h.leave,over:a(i?"dojotouchover":"mouseover"),out:a(i?"dojotouchout":"mouseout"),enter:h._eventHandler(i?"dojotouchover":"mouseover"),leave:h._eventHandler(i?"dojotouchout":"mouseout")};return g.touch=h})},
"dijit/_WidgetBase":function(){define("require,dojo/_base/array,dojo/aspect,dojo/_base/config,dojo/_base/connect,dojo/_base/declare,dojo/dom,dojo/dom-attr,dojo/dom-class,dojo/dom-construct,dojo/dom-geometry,dojo/dom-style,dojo/has,dojo/_base/kernel,dojo/_base/lang,dojo/on,dojo/ready,dojo/Stateful,dojo/topic,dojo/_base/window,./Destroyable,./registry".split(","),function(g,k,i,j,e,c,h,b,f,a,l,d,p,m,n,o,r,q,v,s,t,u){function y(a){return function(d){b[d?"set":"remove"](this.domNode,a,d);this._set(a,
d)}}p.add("dijit-legacy-requires",!m.isAsync);p("dijit-legacy-requires")&&r(0,function(){g(["dijit/_base/manager"])});var z={};return c("dijit._WidgetBase",[q,t],{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:y("lang"),dir:"",_setDirAttr:y("dir"),textDir:"","class":"",_setClassAttr:{node:"domNode",type:"class"},style:"",title:"",tooltip:"",baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,ownerDocument:null,_setOwnerDocumentAttr:function(a){this._set("ownerDocument",a)},attributeMap:{},
_blankGif:j.blankGif||g.toUrl("dojo/resources/blank.gif"),postscript:function(a,b){this.create(a,b)},create:function(a,b){this.srcNodeRef=h.byId(b);this._connects=[];this._supportingWidgets=[];if(this.srcNodeRef&&"string"==typeof this.srcNodeRef.id)this.id=this.srcNodeRef.id;if(a)this.params=a,n.mixin(this,a);this.postMixInProperties();if(!this.id)this.id=u.getUniqueId(this.declaredClass.replace(/\./g,"_")),this.params&&delete this.params.id;this.ownerDocument=this.ownerDocument||(this.srcNodeRef?
this.srcNodeRef.ownerDocument:s.doc);this.ownerDocumentBody=s.body(this.ownerDocument);u.add(this);this.buildRendering();var d;if(this.domNode){this._applyAttributes();var c=this.srcNodeRef;c&&c.parentNode&&this.domNode!==c&&(c.parentNode.replaceChild(this.domNode,c),d=!0);this.domNode.setAttribute("widgetId",this.id)}this.postCreate();d&&delete this.srcNodeRef;this._created=!0},_applyAttributes:function(){var a=this.constructor,b=a._setterAttrs;if(!b){var b=a._setterAttrs=[],d;for(d in this.attributeMap)b.push(d);
var a=a.prototype,c;for(c in a)c in this.attributeMap||"_set"+c.replace(/^[a-z]|-[a-zA-Z]/g,function(a){return a.charAt(a.length-1).toUpperCase()})+"Attr"in a&&b.push(c)}var f={},e;for(e in this.params||{})f[e]=this[e];k.forEach(b,function(a){a in f||this[a]&&this.set(a,this[a])},this);for(e in f)this.set(e,f[e])},postMixInProperties:function(){},buildRendering:function(){if(!this.domNode)this.domNode=this.srcNodeRef||this.ownerDocument.createElement("div");if(this.baseClass){var a=this.baseClass.split(" ");
this.isLeftToRight()||(a=a.concat(k.map(a,function(a){return a+"Rtl"})));f.add(this.domNode,a)}},postCreate:function(){},startup:function(){if(!this._started)this._started=!0,k.forEach(this.getChildren(),function(a){if(!a._started&&!a._destroyed&&n.isFunction(a.startup))a.startup(),a._started=!0})},destroyRecursive:function(a){this._beingDestroyed=!0;this.destroyDescendants(a);this.destroy(a)},destroy:function(a){function b(d){d.destroyRecursive?d.destroyRecursive(a):d.destroy&&d.destroy(a)}this._beingDestroyed=
!0;this.uninitialize();k.forEach(this._connects,n.hitch(this,"disconnect"));k.forEach(this._supportingWidgets,b);this.domNode&&k.forEach(u.findWidgets(this.domNode,this.containerNode),b);this.destroyRendering(a);u.remove(this.id);this._destroyed=!0},destroyRendering:function(d){this.bgIframe&&(this.bgIframe.destroy(d),delete this.bgIframe);this.domNode&&(d?b.remove(this.domNode,"widgetId"):a.destroy(this.domNode),delete this.domNode);this.srcNodeRef&&(d||a.destroy(this.srcNodeRef),delete this.srcNodeRef)},
destroyDescendants:function(a){k.forEach(this.getChildren(),function(b){b.destroyRecursive&&b.destroyRecursive(a)})},uninitialize:function(){return!1},_setStyleAttr:function(a){var b=this.domNode;n.isObject(a)?d.set(b,a):b.style.cssText=b.style.cssText?b.style.cssText+("; "+a):a;this._set("style",a)},_attrToDom:function(a,d,c){c=3<=arguments.length?c:this.attributeMap[a];k.forEach(n.isArray(c)?c:[c],function(c){var e=this[c.node||c||"domNode"];switch(c.type||"attribute"){case "attribute":n.isFunction(d)&&
(d=n.hitch(this,d));c=c.attribute?c.attribute:/^on[A-Z][a-zA-Z]*$/.test(a)?a.toLowerCase():a;e.tagName?b.set(e,c,d):e.set(c,d);break;case "innerText":e.innerHTML="";e.appendChild(this.ownerDocument.createTextNode(d));break;case "innerHTML":e.innerHTML=d;break;case "class":f.replace(e,d,this[a])}},this)},get:function(a){var b=this._getAttrNames(a);return this[b.g]?this[b.g]():this[a]},set:function(a,b){if("object"===typeof a){for(var d in a)this.set(d,a[d]);return this}d=this._getAttrNames(a);var c=
this[d.s];if(n.isFunction(c))var f=c.apply(this,Array.prototype.slice.call(arguments,1));else{var c=this.focusNode&&!n.isFunction(this.focusNode)?"focusNode":"domNode",e=this[c].tagName,g;if(!(g=z[e])){g=this[c];var l={},h;for(h in g)l[h.toLowerCase()]=!0;g=z[e]=l}h=a in this.attributeMap?this.attributeMap[a]:d.s in this?this[d.s]:d.l in g&&"function"!=typeof b||/^aria-|^data-|^role$/.test(a)?c:null;null!=h&&this._attrToDom(a,b,h);this._set(a,b)}return f||this},_attrPairNames:{},_getAttrNames:function(a){var b=
this._attrPairNames;if(b[a])return b[a];var d=a.replace(/^[a-z]|-[a-zA-Z]/g,function(a){return a.charAt(a.length-1).toUpperCase()});return b[a]={n:a+"Node",s:"_set"+d+"Attr",g:"_get"+d+"Attr",l:d.toLowerCase()}},_set:function(a,b){var d=this[a];this[a]=b;this._created&&b!==d&&(this._watchCallbacks&&this._watchCallbacks(a,d,b),this.emit("attrmodified-"+a,{detail:{prevValue:d,newValue:b}}))},emit:function(a,b,d){b=b||{};if(void 0===b.bubbles)b.bubbles=!0;if(void 0===b.cancelable)b.cancelable=!0;if(!b.detail)b.detail=
{};b.detail.widget=this;var c,f=this["on"+a];f&&(c=f.apply(this,d?d:[b]));this._started&&!this._beingDestroyed&&o.emit(this.domNode,a.toLowerCase(),b);return c},on:function(a,b){var d=this._onMap(a);return d?i.after(this,d,b,!0):this.own(o(this.domNode,a,b))[0]},_onMap:function(a){var b=this.constructor,d=b._onMap;if(!d){var d=b._onMap={},c;for(c in b.prototype)/^on/.test(c)&&(d[c.replace(/^on/,"").toLowerCase()]=c)}return d["string"==typeof a&&a.toLowerCase()]},toString:function(){return"[Widget "+
this.declaredClass+", "+(this.id||"NO ID")+"]"},getChildren:function(){return this.containerNode?u.findWidgets(this.containerNode):[]},getParent:function(){return u.getEnclosingWidget(this.domNode.parentNode)},connect:function(a,b,d){return this.own(e.connect(a,b,this,d))[0]},disconnect:function(a){a.remove()},subscribe:function(a,b){return this.own(v.subscribe(a,n.hitch(this,b)))[0]},unsubscribe:function(a){a.remove()},isLeftToRight:function(){return this.dir?"ltr"==this.dir:l.isBodyLtr(this.ownerDocument)},
isFocusable:function(){return this.focus&&"none"!=d.get(this.domNode,"display")},placeAt:function(b,d){var c=!b.tagName&&u.byId(b);c&&c.addChild&&(!d||"number"===typeof d)?c.addChild(this,d):(c=c?c.containerNode&&!/after|before|replace/.test(d||"")?c.containerNode:c.domNode:h.byId(b,this.ownerDocument),a.place(this.domNode,c,d),!this._started&&(this.getParent()||{})._started&&this.startup());return this},getTextDir:function(a,b){return b},applyTextDir:function(){},defer:function(a,b){var d=setTimeout(n.hitch(this,
function(){d=null;this._destroyed||n.hitch(this,a)()}),b||0);return{remove:function(){d&&(clearTimeout(d),d=null);return null}}}})})},"dojo/Stateful":function(){define("dojo/Stateful",["./_base/declare","./_base/lang","./_base/array","dojo/when"],function(g,k,i,j){return g("dojo.Stateful",null,{_attrPairNames:{},_getAttrNames:function(e){var c=this._attrPairNames;return c[e]?c[e]:c[e]={s:"_"+e+"Setter",g:"_"+e+"Getter"}},postscript:function(e){e&&this.set(e)},_get:function(e,c){return"function"===
typeof this[c.g]?this[c.g]():this[e]},get:function(e){return this._get(e,this._getAttrNames(e))},set:function(e,c){if("object"===typeof e){for(var g in e)e.hasOwnProperty(g)&&"_watchCallbacks"!=g&&this.set(g,e[g]);return this}g=this._getAttrNames(e);var b=this._get(e,g);g=this[g.s];var f;"function"===typeof g?f=g.apply(this,Array.prototype.slice.call(arguments,1)):this[e]=c;if(this._watchCallbacks){var a=this;j(f,function(){a._watchCallbacks(e,b,c)})}return this},_changeAttrValue:function(e,c){var g=
this.get(e);this[e]=c;this._watchCallbacks&&this._watchCallbacks(e,g,c);return this},watch:function(e,c){var g=this._watchCallbacks;if(!g)var b=this,g=this._watchCallbacks=function(a,d,c,f){var e=function(f){if(f)for(var f=f.slice(),e=0,g=f.length;e<g;e++)f[e].call(b,a,d,c)};e(g["_"+a]);f||e(g["*"])};!c&&"function"===typeof e?(c=e,e="*"):e="_"+e;var f=g[e];"object"!==typeof f&&(f=g[e]=[]);f.push(c);var a={};a.unwatch=a.remove=function(){var a=i.indexOf(f,c);-1<a&&f.splice(a,1)};return a}})})},"dijit/Destroyable":function(){define(["dojo/_base/array",
"dojo/aspect","dojo/_base/declare"],function(g,k,i){return i("dijit.Destroyable",null,{destroy:function(){this._destroyed=!0},own:function(){g.forEach(arguments,function(g){var e="destroyRecursive"in g?"destroyRecursive":"destroy"in g?"destroy":"remove",c=k.before(this,"destroy",function(c){g[e](c)});k.after(g,e,function(){c.remove()},!0)},this);return arguments}})})},"dijit/registry":function(){define(["dojo/_base/array","dojo/sniff","dojo/_base/unload","dojo/_base/window","./main"],function(g,k,
i,j,e){var c={},h={},b={length:0,add:function(b){if(h[b.id])throw Error("Tried to register widget with id=="+b.id+" but that id is already registered");h[b.id]=b;this.length++},remove:function(b){h[b]&&(delete h[b],this.length--)},byId:function(b){return"string"==typeof b?h[b]:b},byNode:function(b){return h[b.getAttribute("widgetId")]},toArray:function(){var b=[],a;for(a in h)b.push(h[a]);return b},getUniqueId:function(b){var a;do a=b+"_"+(b in c?++c[b]:c[b]=0);while(h[a]);return"dijit"==e._scopeName?
a:e._scopeName+"_"+a},findWidgets:function(b,a){function c(b){for(b=b.firstChild;b;b=b.nextSibling)if(1==b.nodeType){var f=b.getAttribute("widgetId");f?(f=h[f])&&d.push(f):b!==a&&c(b)}}var d=[];c(b);return d},_destroyAll:function(){e._curFocus=null;e._prevFocus=null;e._activeStack=[];g.forEach(b.findWidgets(j.body()),function(b){b._destroyed||(b.destroyRecursive?b.destroyRecursive():b.destroy&&b.destroy())})},getEnclosingWidget:function(b){for(;b;){var a=b.getAttribute&&b.getAttribute("widgetId");
if(a)return h[a];b=b.parentNode}return null},_hash:h};return e.registry=b})},"dijit/main":function(){define(["dojo/_base/kernel"],function(g){return g.dijit})},"dijit/_Widget":function(){define("dojo/aspect,dojo/_base/config,dojo/_base/connect,dojo/_base/declare,dojo/has,dojo/_base/kernel,dojo/_base/lang,dojo/query,dojo/ready,./registry,./_WidgetBase,./_OnDijitClickMixin,./_FocusMixin,dojo/uacss,./hccss".split(","),function(g,k,i,j,e,c,h,b,f,a,l,d,p){function m(){}function n(a){return function(b,
d,c,f){return b&&"string"==typeof d&&b[d]==m?b.on(d.substring(2).toLowerCase(),h.hitch(c,f)):a.apply(i,arguments)}}g.around(i,"connect",n);c.connect&&g.around(c,"connect",n);g=j("dijit._Widget",[l,d,p],{onClick:m,onDblClick:m,onKeyDown:m,onKeyPress:m,onKeyUp:m,onMouseDown:m,onMouseMove:m,onMouseOut:m,onMouseOver:m,onMouseLeave:m,onMouseEnter:m,onMouseUp:m,constructor:function(a){this._toConnect={};for(var b in a)this[b]===m&&(this._toConnect[b.replace(/^on/,"").toLowerCase()]=a[b],delete a[b])},postCreate:function(){this.inherited(arguments);
for(var a in this._toConnect)this.on(a,this._toConnect[a]);delete this._toConnect},on:function(a,b){return this[this._onMap(a)]===m?i.connect(this.domNode,a.toLowerCase(),this,b):this.inherited(arguments)},_setFocusedAttr:function(a){this._focused=a;this._set("focused",a)},setAttribute:function(a,b){c.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0");this.set(a,b)},attr:function(a,b){if(k.isDebug){var d=arguments.callee._ach||(arguments.callee._ach=
{}),f=(arguments.callee.caller||"unknown caller").toString();d[f]||(c.deprecated(this.declaredClass+"::attr() is deprecated. Use get() or set() instead, called from "+f,"","2.0"),d[f]=!0)}return 2<=arguments.length||"object"===typeof a?this.set.apply(this,arguments):this.get(a)},getDescendants:function(){c.deprecated(this.declaredClass+"::getDescendants() is deprecated. Use getChildren() instead.","","2.0");return this.containerNode?b("[widgetId]",this.containerNode).map(a.byNode):[]},_onShow:function(){this.onShow()},
onShow:function(){},onHide:function(){},onClose:function(){return!0}});e("dijit-legacy-requires")&&f(0,function(){require(["dijit/_base"])});return g})},"dijit/_OnDijitClickMixin":function(){define("dojo/on,dojo/_base/array,dojo/keys,dojo/_base/declare,dojo/has,dojo/_base/unload,dojo/_base/window,./a11yclick".split(","),function(g,k,i,j,e,c,h,b){g=j("dijit._OnDijitClickMixin",null,{connect:function(c,a,e){return this.inherited(arguments,[c,"ondijitclick"==a?b:a,e])}});g.a11yclick=b;return g})},"dijit/a11yclick":function(){define("dojo/on,dojo/_base/array,dojo/keys,dojo/_base/declare,dojo/has,dojo/_base/unload,dojo/_base/window".split(","),
function(g,k,i,j,e,c,h){function b(a){return(a.keyCode===i.ENTER||a.keyCode===i.SPACE)&&!a.ctrlKey&&!a.shiftKey&&!a.altKey&&!a.metaKey}var f=null;e("dom-addeventlistener")?h.doc.addEventListener("keydown",function(a){f=a.target},!0):function(){var a=function(a){f=a.srcElement};h.doc.attachEvent("onkeydown",a);c.addOnWindowUnload(function(){h.doc.detachEvent("onkeydown",a)})}();return function(a,c){if(/input|button/i.test(a.nodeName))return g(a,"click",c);var d=[g(a,"keydown",function(a){if(b(a))f=
a.target,a.preventDefault()}),g(a,"keyup",function(a){b(a)&&a.target==f&&(f=null,g.emit(a.target,"click",{cancelable:!0,bubbles:!0}))}),g(a,"click",function(a){c.call(this,a)})];if(e("touch")){var h;d.push(g(a,"touchend",function(a){var b=a.target;h=setTimeout(function(){h=null;g.emit(b,"click",{cancelable:!0,bubbles:!0})},600)}),g(a,"click",function(){h&&clearTimeout(h)}))}return{remove:function(){k.forEach(d,function(a){a.remove()});h&&(clearTimeout(h),h=null)}}}})},"dijit/_FocusMixin":function(){define(["./focus",
"./_WidgetBase","dojo/_base/declare","dojo/_base/lang"],function(g,k,i,j){j.extend(k,{focused:!1,onFocus:function(){},onBlur:function(){},_onFocus:function(){this.onFocus()},_onBlur:function(){this.onBlur()}});return i("dijit._FocusMixin",null,{_focusManager:g})})},"dijit/focus":function(){define("dojo/aspect,dojo/_base/declare,dojo/dom,dojo/dom-attr,dojo/dom-construct,dojo/Evented,dojo/_base/lang,dojo/on,dojo/ready,dojo/sniff,dojo/Stateful,dojo/_base/unload,dojo/_base/window,dojo/window,./a11y,./registry,./main".split(","),
function(g,k,i,j,e,c,h,b,f,a,l,d,p,m,n,o,r){var q=new (k([l,c],{curNode:null,activeStack:[],constructor:function(){var a=h.hitch(this,function(a){i.isDescendant(this.curNode,a)&&this.set("curNode",null);i.isDescendant(this.prevNode,a)&&this.set("prevNode",null)});g.before(e,"empty",a);g.before(e,"destroy",a)},registerIframe:function(a){return this.registerWin(a.contentWindow,a)},registerWin:function(b,d){var c=this,f=function(b){c._justMouseDowned=!0;setTimeout(function(){c._justMouseDowned=!1},0);
if(!a("ie")||!b||!(b.srcElement&&null==b.srcElement.parentNode))c._onTouchNode(d||b.target||b.srcElement,"mouse")},e=a("ie")?b.document.documentElement:b.document;if(e){if(a("ie")){b.document.body.attachEvent("onmousedown",f);var g=function(a){var b=a.srcElement.tagName.toLowerCase();"#document"==b||"body"==b||(n.isTabNavigable(a.srcElement)?c._onFocusNode(d||a.srcElement):c._onTouchNode(d||a.srcElement))};e.attachEvent("onfocusin",g);var l=function(a){c._onBlurNode(d||a.srcElement)};e.attachEvent("onfocusout",
l);return{remove:function(){b.document.detachEvent("onmousedown",f);e.detachEvent("onfocusin",g);e.detachEvent("onfocusout",l);e=null}}}e.body.addEventListener("mousedown",f,!0);e.body.addEventListener("touchstart",f,!0);var h=function(a){c._onFocusNode(d||a.target)};e.addEventListener("focus",h,!0);var m=function(a){c._onBlurNode(d||a.target)};e.addEventListener("blur",m,!0);return{remove:function(){e.body.removeEventListener("mousedown",f,!0);e.body.removeEventListener("touchstart",f,!0);e.removeEventListener("focus",
h,!0);e.removeEventListener("blur",m,!0);e=null}}}},_onBlurNode:function(){this._clearFocusTimer&&clearTimeout(this._clearFocusTimer);this._clearFocusTimer=setTimeout(h.hitch(this,function(){this.set("prevNode",this.curNode);this.set("curNode",null)}),0);if(!this._justMouseDowned)this._clearActiveWidgetsTimer&&clearTimeout(this._clearActiveWidgetsTimer),this._clearActiveWidgetsTimer=setTimeout(h.hitch(this,function(){delete this._clearActiveWidgetsTimer;this._setStack([])}),0)},_onTouchNode:function(a,
b){this._clearActiveWidgetsTimer&&(clearTimeout(this._clearActiveWidgetsTimer),delete this._clearActiveWidgetsTimer);var d=[];try{for(;a;){var c=j.get(a,"dijitPopupParent");if(c)a=o.byId(c).domNode;else if(a.tagName&&"body"==a.tagName.toLowerCase()){if(a===p.body())break;a=m.get(a.ownerDocument).frameElement}else{var f=a.getAttribute&&a.getAttribute("widgetId"),e=f&&o.byId(f);e&&!("mouse"==b&&e.get("disabled"))&&d.unshift(f);a=a.parentNode}}}catch(g){}this._setStack(d,b)},_onFocusNode:function(a){a&&
9!=a.nodeType&&(this._clearFocusTimer&&(clearTimeout(this._clearFocusTimer),delete this._clearFocusTimer),this._onTouchNode(a),a!=this.curNode&&(this.set("prevNode",this.curNode),this.set("curNode",a)))},_setStack:function(a,b){var d=this.activeStack;this.set("activeStack",a);for(var c=0;c<Math.min(d.length,a.length)&&!(d[c]!=a[c]);c++);for(var f,e=d.length-1;e>=c;e--)if(f=o.byId(d[e]))f._hasBeenBlurred=!0,f.set("focused",!1),f._focusManager==this&&f._onBlur(b),this.emit("widget-blur",f,b);for(e=
c;e<a.length;e++)if(f=o.byId(a[e]))f.set("focused",!0),f._focusManager==this&&f._onFocus(b),this.emit("widget-focus",f,b)},focus:function(a){if(a)try{a.focus()}catch(b){}}}));f(function(){var b=q.registerWin(m.get(p.doc));a("ie")&&d.addOnWindowUnload(function(){b&&(b.remove(),b=null)})});r.focus=function(a){q.focus(a)};for(var v in q)/^_/.test(v)||(r.focus[v]="function"==typeof q[v]?h.hitch(q,v):q[v]);q.watch(function(a,b,d){r.focus[a]=d});return q})},"dojo/window":function(){define("./_base/lang,./sniff,./_base/window,./dom,./dom-geometry,./dom-style".split(","),
function(g,k,i,j,e,c){var h={getBox:function(b){var b=b||i.doc,c="BackCompat"==b.compatMode?i.body(b):b.documentElement,a=e.docScroll(b);if(k("touch"))var g=h.get(b),b=g.innerWidth||c.clientWidth,c=g.innerHeight||c.clientHeight;else b=c.clientWidth,c=c.clientHeight;return{l:a.x,t:a.y,w:b,h:c}},get:function(b){if(k("ie")&&h!==document.parentWindow){b.parentWindow.execScript("document._parentWindow = window;","Javascript");var c=b._parentWindow;b._parentWindow=null;return c}return b.parentWindow||b.defaultView},
scrollIntoView:function(b,f){try{var b=j.byId(b),a=b.ownerDocument||i.doc,g=i.body(a),d=a.documentElement||g.parentNode,h=k("ie"),m=k("webkit");if((!k("mozilla")&&!h&&!m&&!k("opera")||b==g||b==d)&&"undefined"!=typeof b.scrollIntoView)b.scrollIntoView(!1);else{var n="BackCompat"==a.compatMode,o=9<=h&&"frameElement"in b.ownerDocument.parentWindow?0<d.clientHeight&&0<d.clientWidth&&(0==g.clientHeight||0==g.clientWidth||g.clientHeight>d.clientHeight||g.clientWidth>d.clientWidth)?d:g:n?g:d,m=m?g:o,r=o.clientWidth,
q=o.clientHeight,v=!e.isBodyLtr(a),s=f||e.position(b),t=b.parentNode,a=function(a){return 6>=h||h&&n?!1:"fixed"==c.get(a,"position").toLowerCase()};if(!a(b))for(;t;){t==g&&(t=m);var u=e.position(t),y=a(t);if(t==m){u.w=r;u.h=q;m==d&&h&&v&&(u.x+=m.offsetWidth-u.w);if(0>u.x||!h)u.x=0;if(0>u.y||!h)u.y=0}else{var z=e.getPadBorderExtents(t);u.w-=z.w;u.h-=z.h;u.x+=z.l;u.y+=z.t;var I=t.clientWidth,J=u.w-I;if(0<I&&0<J)u.w=I,u.x+=v&&(h||t.clientLeft>z.l)?J:0;I=t.clientHeight;J=u.h-I;if(0<I&&0<J)u.h=I}if(y){if(0>
u.y)u.h+=u.y,u.y=0;if(0>u.x)u.w+=u.x,u.x=0;if(u.y+u.h>q)u.h=q-u.y;if(u.x+u.w>r)u.w=r-u.x}var N=s.x-u.x,E=s.y-Math.max(u.y,0),S=N+s.w-u.w,Q=E+s.h-u.h;if(0<S*N){var B=Math[0>N?"max":"min"](N,S);if(v&&(8==h&&!n||9<=h))B=-B;s.x+=t.scrollLeft;t.scrollLeft+=B;s.x-=t.scrollLeft}0<Q*E&&(s.y+=t.scrollTop,t.scrollTop+=Math[0>E?"max":"min"](E,Q),s.y-=t.scrollTop);t=t!=m&&!y&&t.parentNode}}}catch(A){b.scrollIntoView(!1)}}};g.setObject("dojo.window",h);return h})},"dijit/a11y":function(){define("dojo/_base/array,dojo/_base/config,dojo/_base/declare,dojo/dom,dojo/dom-attr,dojo/dom-style,dojo/sniff,./main".split(","),
function(g,k,i,j,e,c,h,b){var f=b._isElementShown=function(a){var b=c.get(a);return"hidden"!=b.visibility&&"collapsed"!=b.visibility&&"none"!=b.display&&"hidden"!=e.get(a,"type")};b.hasDefaultTabStop=function(a){switch(a.nodeName.toLowerCase()){case "a":return e.has(a,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return!0;case "iframe":var b;try{var c=a.contentDocument;if("designMode"in c&&"on"==c.designMode)return!0;b=c.body}catch(f){try{b=a.contentWindow.document.body}catch(g){return!1}}return b&&
("true"==b.contentEditable||b.firstChild&&"true"==b.firstChild.contentEditable);default:return"true"==a.contentEditable}};var a=b.isTabNavigable=function(a){return e.get(a,"disabled")?!1:e.has(a,"tabIndex")?0<=e.get(a,"tabIndex"):b.hasDefaultTabStop(a)};b._getTabNavigable=function(b){function d(a){return a&&"input"==a.tagName.toLowerCase()&&a.type&&"radio"==a.type.toLowerCase()&&a.name&&a.name.toLowerCase()}var c,g,i,j,k,q,v={},s=function(b){for(b=b.firstChild;b;b=b.nextSibling)if(!(1!=b.nodeType||
h("ie")&&"HTML"!==b.scopeName||!f(b))){if(a(b)){var l=+e.get(b,"tabIndex");if(!e.has(b,"tabIndex")||0==l)c||(c=b),g=b;else if(0<l){if(!i||l<j)j=l,i=b;if(!k||l>=q)q=l,k=b}l=d(b);e.get(b,"checked")&&l&&(v[l]=b)}"SELECT"!=b.nodeName.toUpperCase()&&s(b)}};f(b)&&s(b);return{first:v[d(c)]||c,last:v[d(g)]||g,lowest:v[d(i)]||i,highest:v[d(k)]||k}};b.getFirstInTabbingOrder=function(a,d){var c=b._getTabNavigable(j.byId(a,d));return c.lowest?c.lowest:c.first};b.getLastInTabbingOrder=function(a,d){var c=b._getTabNavigable(j.byId(a,
d));return c.last?c.last:c.highest};return{hasDefaultTabStop:b.hasDefaultTabStop,isTabNavigable:b.isTabNavigable,_getTabNavigable:b._getTabNavigable,getFirstInTabbingOrder:b.getFirstInTabbingOrder,getLastInTabbingOrder:b.getLastInTabbingOrder}})},"dojo/uacss":function(){define(["./dom-geometry","./_base/lang","./ready","./sniff","./_base/window"],function(g,k,i,j,e){var c=e.doc.documentElement,h=j("ie"),b=j("opera"),f=Math.floor,a=j("ff"),e=g.boxModel.replace(/-/,""),h={dj_ie:h,dj_ie6:6==f(h),dj_ie7:7==
f(h),dj_ie8:8==f(h),dj_ie9:9==f(h),dj_quirks:j("quirks"),dj_iequirks:h&&j("quirks"),dj_opera:b,dj_khtml:j("khtml"),dj_webkit:j("webkit"),dj_safari:j("safari"),dj_chrome:j("chrome"),dj_gecko:j("mozilla"),dj_ff3:3==f(a)};h["dj_"+e]=!0;var l="",d;for(d in h)h[d]&&(l+=d+" ");c.className=k.trim(c.className+" "+l);i(90,function(){if(!g.isBodyLtr()){var a="dj_rtl dijitRtl "+l.replace(/ /g,"-rtl ");c.className=k.trim(c.className+" "+a+"dj_rtl dijitRtl "+l.replace(/ /g,"-rtl "))}});return j})},"dijit/hccss":function(){define(["dojo/dom-class",
"dojo/hccss","dojo/ready","dojo/_base/window"],function(g,k,i,j){i(90,function(){k("highcontrast")&&g.add(j.body(),"dijit_a11y")});return k})},"dojo/hccss":function(){define("require,./_base/config,./dom-class,./dom-construct,./dom-style,./has,./ready,./_base/window".split(","),function(g,k,i,j,e,c,h,b){c.add("highcontrast",function(){var c=b.doc.createElement("div");c.style.cssText="border: 1px solid; border-color:red green; position: absolute; height: 5px; top: -999px;background-image: url("+(k.blankGif||
g.toUrl("./resources/blank.gif"))+");";b.body().appendChild(c);var a=e.getComputedStyle(c),l=a.backgroundImage,a=a.borderTopColor==a.borderRightColor||l&&("none"==l||"url(invalid-url:)"==l);j.destroy(c);return a});h(90,function(){c("highcontrast")&&i.add(b.body(),"dj_a11y")});return c})},"dijit/_TemplatedMixin":function(){define("dojo/_base/lang,dojo/touch,./_WidgetBase,dojo/string,dojo/cache,dojo/_base/array,dojo/_base/declare,dojo/dom-construct,dojo/sniff,dojo/_base/unload".split(","),function(g,
k,i,j,e,c,h,b,f,a){var l=h("dijit._TemplatedMixin",null,{templateString:null,templatePath:null,_skipNodeCache:!1,_earlyTemplatedStartup:!1,constructor:function(){this._attachPoints=[];this._attachEvents=[]},_stringRepl:function(a){var b=this.declaredClass,c=this;return j.substitute(a,this,function(a,d){"!"==d.charAt(0)&&(a=g.getObject(d.substr(1),!1,c));if("undefined"==typeof a)throw Error(b+" template:"+d);return null==a?"":"!"==d.charAt(0)?a:a.toString().replace(/"/g,"&quot;")},this)},buildRendering:function(){if(!this.templateString)this.templateString=
e(this.templatePath,{sanitize:!0});var a=l.getCachedTemplate(this.templateString,this._skipNodeCache,this.ownerDocument),c;if(g.isString(a)){if(c=b.toDom(this._stringRepl(a),this.ownerDocument),1!=c.nodeType)throw Error("Invalid template: "+a);}else c=a.cloneNode(!0);this.domNode=c;this.inherited(arguments);this._attachTemplateNodes(c,function(a,b){return a.getAttribute(b)});this._beforeFillContent();this._fillContent(this.srcNodeRef)},_beforeFillContent:function(){},_fillContent:function(a){var b=
this.containerNode;if(a&&b)for(;a.hasChildNodes();)b.appendChild(a.firstChild)},_attachTemplateNodes:function(a,b){for(var c=g.isArray(a)?a:a.all||a.getElementsByTagName("*"),f=g.isArray(a)?0:-1;0>f||c[f];f++){var e=-1==f?a:c[f];if(!this.widgetsInTemplate||!b(e,"dojoType")&&!b(e,"data-dojo-type")){var l=b(e,"dojoAttachPoint")||b(e,"data-dojo-attach-point");if(l)for(var h=l.split(/\s*,\s*/);l=h.shift();)g.isArray(this[l])?this[l].push(e):this[l]=e,this._attachPoints.push(l);if(l=b(e,"dojoAttachEvent")||
b(e,"data-dojo-attach-event"))for(var h=l.split(/\s*,\s*/),i=g.trim;l=h.shift();)if(l){var j=null;-1!=l.indexOf(":")?(j=l.split(":"),l=i(j[0]),j=i(j[1])):l=i(l);j||(j=l);this._attachEvents.push(this.connect(e,k[l]||l,j))}}}},destroyRendering:function(){c.forEach(this._attachPoints,function(a){delete this[a]},this);this._attachPoints=[];c.forEach(this._attachEvents,this.disconnect,this);this._attachEvents=[];this.inherited(arguments)}});l._templateCache={};l.getCachedTemplate=function(a,c,f){var e=
l._templateCache,g=a,h=e[g];if(h){try{if(!h.ownerDocument||h.ownerDocument==(f||document))return h}catch(i){}b.destroy(h)}a=j.trim(a);if(c||a.match(/\$\{([^\}]+)\}/g))return e[g]=a;c=b.toDom(a,f);if(1!=c.nodeType)throw Error("Invalid template: "+a);return e[g]=c};f("ie")&&a.addOnWindowUnload(function(){var a=l._templateCache,c;for(c in a){var f=a[c];"object"==typeof f&&b.destroy(f);delete a[c]}});g.extend(i,{dojoAttachEvent:"",dojoAttachPoint:""});return l})},"dojo/string":function(){define(["./_base/kernel",
"./_base/lang"],function(g,k){var i={};k.setObject("dojo.string",i);i.rep=function(g,e){if(0>=e||!g)return"";for(var c=[];;){e&1&&c.push(g);if(!(e>>=1))break;g+=g}return c.join("")};i.pad=function(g,e,c,h){c||(c="0");g=""+g;e=i.rep(c,Math.ceil((e-g.length)/c.length));return h?g+e:e+g};i.substitute=function(i,e,c,h){h=h||g.global;c=c?k.hitch(h,c):function(b){return b};return i.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(b,f,a){b=k.getObject(f,!1,e);a&&(b=k.getObject(a,!1,h).call(h,b,
f));return c(b,f).toString()})};i.trim=String.prototype.trim?k.trim:function(g){for(var g=g.replace(/^\s+/,""),e=g.length-1;0<=e;e--)if(/\S/.test(g.charAt(e))){g=g.substring(0,e+1);break}return g};return i})},"dojo/cache":function(){define("dojo/cache",["./_base/kernel","./text"],function(g){return g.cache})},"dojo/text":function(){define(["./_base/kernel","require","./has","./_base/xhr"],function(g,k,i,j){var e;e=function(a,b,d){j("GET",{url:a,sync:!!b,load:d,headers:g.config.textPluginHeaders||
{}})};var c={},h=function(a){if(a){var a=a.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,""),b=a.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);b&&(a=b[1])}else a="";return a},b={},f={};g.cache=function(a,b,d){var f;"string"==typeof a?/\//.test(a)?(f=a,d=b):f=k.toUrl(a.replace(/\./g,"/")+(b?"/"+b:"")):(f=a+"",d=b);a=void 0!=d&&"string"!=typeof d?d.value:d;d=d&&d.sanitize;if("string"==typeof a)return c[f]=a,d?h(a):a;if(null===a)return delete c[f],null;f in c||e(f,!0,function(a){c[f]=
a});return d?h(c[f]):c[f]};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,g,d){var a=a.split("!"),i=1<a.length,m=a[0],j=g.toUrl(a[0]),a="url:"+j,k=b,r=function(a){d(i?h(a):a)};m in c?k=c[m]:a in g.cache?k=g.cache[a]:j in c&&(k=c[j]);if(k===b)if(f[j])f[j].push(r);else{var q=f[j]=[r];e(j,!g.async,function(a){c[m]=c[j]=a;for(var b=0;b<q.length;)q[b++](a);delete f[j]})}else r(k)}}})},"dijit/layout/_LayoutWidget":function(){define("dojo/_base/lang,../_Widget,../_Container,../_Contained,../Viewport,dojo/_base/declare,dojo/dom-class,dojo/dom-geometry,dojo/dom-style".split(","),
function(g,k,i,j,e,c,h,b,f){return c("dijit.layout._LayoutWidget",[k,i,j],{baseClass:"dijitLayoutContainer",isLayoutContainer:!0,buildRendering:function(){this.inherited(arguments);h.add(this.domNode,"dijitContainer")},startup:function(){if(!this._started){this.inherited(arguments);var a=this.getParent&&this.getParent();if(!a||!a.isLayoutContainer)this.resize(),this.own(e.on("resize",g.hitch(this,"resize")))}},resize:function(a,c){var d=this.domNode;a&&b.setMarginBox(d,a);var e=c||{};g.mixin(e,a||
{});if(!("h"in e)||!("w"in e))e=g.mixin(b.getMarginBox(d),e);var h=f.getComputedStyle(d),i=b.getMarginExtents(d,h),j=b.getBorderExtents(d,h),e=this._borderBox={w:e.w-(i.w+j.w),h:e.h-(i.h+j.h)},i=b.getPadExtents(d,h);this._contentBox={l:f.toPixelValue(d,h.paddingLeft),t:f.toPixelValue(d,h.paddingTop),w:e.w-i.w,h:e.h-i.h};this.layout()},layout:function(){},_setupChild:function(a){h.add(a.domNode,this.baseClass+"-child "+(a.baseClass?this.baseClass+"-"+a.baseClass:""))},addChild:function(a,b){this.inherited(arguments);
this._started&&this._setupChild(a)},removeChild:function(a){h.remove(a.domNode,this.baseClass+"-child"+(a.baseClass?" "+this.baseClass+"-"+a.baseClass:""));this.inherited(arguments)}})})},"dijit/_Container":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/dom-construct"],function(g,k,i){return k("dijit._Container",null,{buildRendering:function(){this.inherited(arguments);if(!this.containerNode)this.containerNode=this.domNode},addChild:function(g,e){var c=this.containerNode;if(e&&"number"==
typeof e){var h=this.getChildren();if(h&&h.length>=e)c=h[e-1].domNode,e="after"}i.place(g.domNode,c,e);this._started&&!g._started&&g.startup()},removeChild:function(g){"number"==typeof g&&(g=this.getChildren()[g]);if(g)(g=g.domNode)&&g.parentNode&&g.parentNode.removeChild(g)},hasChildren:function(){return 0<this.getChildren().length},_getSiblingOfChild:function(i,e){var c=this.getChildren(),h=g.indexOf(this.getChildren(),i);return c[h+e]},getIndexOfChild:function(i){return g.indexOf(this.getChildren(),
i)}})})},"dijit/_Contained":function(){define(["dojo/_base/declare","./registry"],function(g,k){return g("dijit._Contained",null,{_getSibling:function(g){var j=this.domNode;do j=j[g+"Sibling"];while(j&&1!=j.nodeType);return j&&k.byNode(j)},getPreviousSibling:function(){return this._getSibling("previous")},getNextSibling:function(){return this._getSibling("next")},getIndexInParent:function(){var g=this.getParent();return!g||!g.getIndexOfChild?-1:g.getIndexOfChild(this)}})})},"dijit/Viewport":function(){define("dojo/Evented,dojo/on,dojo/ready,dojo/sniff,dojo/_base/window,dojo/window".split(","),
function(g,k,i,j,e,c){var h=new g;i(200,function(){var b=c.getBox();h._rlh=k(e.global,"resize",function(){var a=c.getBox();b.h==a.h&&b.w==a.w||(b=a,h.emit("resize"))});if(8==j("ie")){var f=screen.deviceXDPI;setInterval(function(){if(screen.deviceXDPI!=f)f=screen.deviceXDPI,h.emit("resize")},500)}});return h})},"dijit/layout/utils":function(){define("dojo/_base/array,dojo/dom-class,dojo/dom-geometry,dojo/dom-style,dojo/_base/lang,../main".split(","),function(g,k,i,j,e,c){function h(b,c){var a=b.resize?
b.resize(c):i.setMarginBox(b.domNode,c);a?e.mixin(b,a):(e.mixin(b,i.getMarginBox(b.domNode)),e.mixin(b,c))}c=e.getObject("layout",!0,c);c.marginBox2contentBox=function(b,c){var a=j.getComputedStyle(b),e=i.getMarginExtents(b,a),d=i.getPadBorderExtents(b,a);return{l:j.toPixelValue(b,a.paddingLeft),t:j.toPixelValue(b,a.paddingTop),w:c.w-(e.w+d.w),h:c.h-(e.h+d.h)}};c.layoutChildren=function(b,c,a,l,d){c=e.mixin({},c);k.add(b,"dijitLayoutContainer");a=g.filter(a,function(a){return"center"!=a.region&&"client"!=
a.layoutAlign}).concat(g.filter(a,function(a){return"center"==a.region||"client"==a.layoutAlign}));g.forEach(a,function(a){var b=a.domNode,e=a.region||a.layoutAlign;if(!e)throw Error("No region setting for "+a.id);var g=b.style;g.left=c.l+"px";g.top=c.t+"px";g.position="absolute";k.add(b,"dijitAlign"+(e.substring(0,1).toUpperCase()+e.substring(1)));b={};l&&l==a.id&&(b["top"==a.region||"bottom"==a.region?"h":"w"]=d);"top"==e||"bottom"==e?(b.w=c.w,h(a,b),c.h-=a.h,"top"==e?c.t+=a.h:g.top=c.t+c.h+"px"):
"left"==e||"right"==e?(b.h=c.h,h(a,b),c.w-=a.w,"left"==e?c.l+=a.w:g.left=c.l+c.w+"px"):("client"==e||"center"==e)&&h(a,c)})};return{marginBox2contentBox:c.marginBox2contentBox,layoutChildren:c.layoutChildren}})},"dijit/layout/ContentPane":function(){define("dojo/_base/kernel,dojo/_base/lang,../_Widget,../_Container,./_ContentPaneResizeMixin,dojo/string,dojo/html,dojo/i18n!../nls/loading,dojo/_base/array,dojo/_base/declare,dojo/_base/Deferred,dojo/dom,dojo/dom-attr,dojo/_base/xhr,dojo/i18n,dojo/when".split(","),
function(g,k,i,j,e,c,h,b,f,a,l,d,p,m,n,o){return a("dijit.layout.ContentPane",[i,j,e],{href:"",content:"",extractContent:!1,parseOnLoad:!0,parserScope:g._scopeName,preventCache:!1,preload:!1,refreshOnShow:!1,loadingMessage:"<span class='dijitContentPaneLoading'><span class='dijitInline dijitIconLoading'></span>${loadingState}</span>",errorMessage:"<span class='dijitContentPaneError'><span class='dijitInline dijitIconError'></span>${errorState}</span>",isLoaded:!1,baseClass:"dijitContentPane",ioArgs:{},
onLoadDeferred:null,_setTitleAttr:null,stopParser:!0,template:!1,create:function(a,b){if((!a||!a.template)&&b&&!("href"in a)&&!("content"in a)){for(var b=d.byId(b),c=b.ownerDocument.createDocumentFragment();b.firstChild;)c.appendChild(b.firstChild);a=k.delegate(a,{content:c})}this.inherited(arguments,[a,b])},postMixInProperties:function(){this.inherited(arguments);var a=n.getLocalization("dijit","loading",this.lang);this.loadingMessage=c.substitute(this.loadingMessage,a);this.errorMessage=c.substitute(this.errorMessage,
a)},buildRendering:function(){this.inherited(arguments);if(!this.containerNode)this.containerNode=this.domNode;this.domNode.title="";p.get(this.domNode,"role")||this.domNode.setAttribute("role","group")},startup:function(){this.inherited(arguments);this._contentSetter&&f.forEach(this._contentSetter.parseResults,function(a){if(!a._started&&!a._destroyed&&k.isFunction(a.startup))a.startup(),a._started=!0},this)},_startChildren:function(){f.forEach(this.getChildren(),function(a){if(!a._started&&!a._destroyed&&
k.isFunction(a.startup))a.startup(),a._started=!0});this._contentSetter&&f.forEach(this._contentSetter.parseResults,function(a){if(!a._started&&!a._destroyed&&k.isFunction(a.startup))a.startup(),a._started=!0},this)},setHref:function(a){g.deprecated("dijit.layout.ContentPane.setHref() is deprecated. Use set('href', ...) instead.","","2.0");return this.set("href",a)},_setHrefAttr:function(a){this.cancel();this.onLoadDeferred=new l(k.hitch(this,"cancel"));this.onLoadDeferred.then(k.hitch(this,"onLoad"));
this._set("href",a);this.preload||this._created&&this._isShown()?this._load():this._hrefChanged=!0;return this.onLoadDeferred},setContent:function(a){g.deprecated("dijit.layout.ContentPane.setContent() is deprecated.  Use set('content', ...) instead.","","2.0");this.set("content",a)},_setContentAttr:function(a){this._set("href","");this.cancel();this.onLoadDeferred=new l(k.hitch(this,"cancel"));this._created&&this.onLoadDeferred.then(k.hitch(this,"onLoad"));this._setContent(a||"");this._isDownloaded=
!1;return this.onLoadDeferred},_getContentAttr:function(){return this.containerNode.innerHTML},cancel:function(){this._xhrDfd&&-1==this._xhrDfd.fired&&this._xhrDfd.cancel();delete this._xhrDfd;this.onLoadDeferred=null},destroy:function(){this.cancel();this.inherited(arguments)},destroyRecursive:function(a){this._beingDestroyed||this.inherited(arguments)},_onShow:function(){this.inherited(arguments);if(this.href&&!this._xhrDfd&&(!this.isLoaded||this._hrefChanged||this.refreshOnShow))return this.refresh()},
refresh:function(){this.cancel();this.onLoadDeferred=new l(k.hitch(this,"cancel"));this.onLoadDeferred.then(k.hitch(this,"onLoad"));this._load();return this.onLoadDeferred},_load:function(){this._setContent(this.onDownloadStart(),!0);var a=this,b={preventCache:this.preventCache||this.refreshOnShow,url:this.href,handleAs:"text"};k.isObject(this.ioArgs)&&k.mixin(b,this.ioArgs);var d=this._xhrDfd=(this.ioMethod||m.get)(b),c;d.then(function(b){c=b;try{return a._isDownloaded=!0,a._setContent(b,!1)}catch(d){a._onError("Content",
d)}},function(b){d.canceled||a._onError("Download",b);delete a._xhrDfd;return b}).then(function(){a.onDownloadEnd();delete a._xhrDfd;return c});delete this._hrefChanged},_onLoadHandler:function(a){this._set("isLoaded",!0);try{this.onLoadDeferred.resolve(a)}catch(b){}},_onUnloadHandler:function(){this._set("isLoaded",!1);try{this.onUnload()}catch(a){}},destroyDescendants:function(a){this.isLoaded&&this._onUnloadHandler();var b=this._contentSetter;f.forEach(this.getChildren(),function(b){b.destroyRecursive?
b.destroyRecursive(a):b.destroy&&b.destroy(a);b._destroyed=!0});b&&(f.forEach(b.parseResults,function(b){if(!b._destroyed)b.destroyRecursive?b.destroyRecursive(a):b.destroy&&b.destroy(a),b._destroyed=!0}),delete b.parseResults);a||h._emptyNode(this.containerNode);delete this._singleChild},_setContent:function(a,b){this.destroyDescendants();var d=this._contentSetter;if(!(d&&d instanceof h._ContentSetter))d=this._contentSetter=new h._ContentSetter({node:this.containerNode,_onError:k.hitch(this,this._onError),
onContentError:k.hitch(this,function(a){a=this.onContentError(a);try{this.containerNode.innerHTML=a}catch(b){}})});var c=k.mixin({cleanContent:this.cleanContent,extractContent:this.extractContent,parseContent:!a.domNode&&this.parseOnLoad,parserScope:this.parserScope,startup:!1,dir:this.dir,lang:this.lang,textDir:this.textDir},this._contentSetterParams||{}),c=d.set(k.isObject(a)&&a.domNode?a.domNode:a,c),f=this;return o(c&&c.then?c:d.parseDeferred,function(){delete f._contentSetterParams;b||(f._started&&
(f._startChildren(),f._scheduleLayout()),f._onLoadHandler(a))})},_onError:function(a,b,d){this.onLoadDeferred.reject(b);a=this["on"+a+"Error"].call(this,b);d||a&&this._setContent(a,!0)},onLoad:function(){},onUnload:function(){},onDownloadStart:function(){return this.loadingMessage},onContentError:function(){},onDownloadError:function(){return this.errorMessage},onDownloadEnd:function(){}})})},"dijit/layout/_ContentPaneResizeMixin":function(){define("dojo/_base/array,dojo/_base/declare,dojo/dom-class,dojo/dom-geometry,dojo/dom-style,dojo/_base/lang,dojo/query,dojo/sniff,../registry,../Viewport,./utils".split(","),
function(g,k,i,j,e,c,h,b,f,a,l){return k("dijit.layout._ContentPaneResizeMixin",null,{doLayout:!0,isLayoutContainer:!0,startup:function(){if(!this._started){var b=this.getParent();this._childOfLayoutWidget=b&&b.isLayoutContainer;this._needLayout=!this._childOfLayoutWidget;this.inherited(arguments);this._isShown()&&this._onShow();this._childOfLayoutWidget||this.own(a.on("resize",c.hitch(this,"resize")))}},_checkIfSingleChild:function(){var a=[],b=!1;h("> *",this.containerNode).some(function(c){var e=
f.byNode(c);e&&e.resize?a.push(e):c.offsetHeight&&(b=!0)});this._singleChild=1==a.length&&!b?a[0]:null;i.toggle(this.containerNode,this.baseClass+"SingleChild",!!this._singleChild)},resize:function(a,b){this._resizeCalled=!0;this._scheduleLayout(a,b)},_scheduleLayout:function(a,b){this._isShown()?this._layout(a,b):(this._needLayout=!0,this._changeSize=a,this._resultSize=b)},_layout:function(a,b){delete this._needLayout;!this._wasShown&&!1!==this.open&&this._onShow();a&&j.setMarginBox(this.domNode,
a);var f=this.containerNode;if(f===this.domNode){var e=b||{};c.mixin(e,a||{});if(!("h"in e)||!("w"in e))e=c.mixin(j.getMarginBox(f),e);this._contentBox=l.marginBox2contentBox(f,e)}else this._contentBox=j.getContentBox(f);this._layoutChildren()},_layoutChildren:function(){this.doLayout&&this._checkIfSingleChild();if(this._singleChild&&this._singleChild.resize){var a=this._contentBox||j.getContentBox(this.containerNode);this._singleChild.resize({w:a.w,h:a.h})}else g.forEach(this.getChildren(),function(a){a.resize&&
a.resize()})},_isShown:function(){if(this._childOfLayoutWidget)return this._resizeCalled&&"open"in this?this.open:this._resizeCalled;if("open"in this)return this.open;var a=this.domNode,b=this.domNode.parentNode;return"none"!=a.style.display&&"hidden"!=a.style.visibility&&!i.contains(a,"dijitHidden")&&b&&b.style&&"none"!=b.style.display},_onShow:function(){this._wasShown=!0;this._needLayout&&this._layout(this._changeSize,this._resultSize);this.inherited(arguments)}})})},"dojo/html":function(){define("./_base/kernel,./_base/lang,./_base/array,./_base/declare,./dom,./dom-construct,./parser".split(","),
function(g,k,i,j,e,c,h){var b={};k.setObject("dojo.html",b);var f=0;b._secureForInnerHtml=function(a){return a.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig,"")};b._emptyNode=c.empty;b._setNodeContent=function(a,b){c.empty(a);if(b)if("string"==typeof b&&(b=c.toDom(b,a.ownerDocument)),!b.nodeType&&k.isArrayLike(b))for(var d=b.length,f=0;f<b.length;f=d==b.length?f+1:0)c.place(b[f],a,"last");else c.place(b,a,"last");return a};b._ContentSetter=j("dojo.html._ContentSetter",null,{node:"",
content:"",id:"",cleanContent:!1,extractContent:!1,parseContent:!1,parserScope:g._scopeName,startup:!0,constructor:function(a,b){k.mixin(this,a||{});b=this.node=e.byId(this.node||b);if(!this.id)this.id=["Setter",b?b.id||b.tagName:"",f++].join("_")},set:function(a,b){if(void 0!==a)this.content=a;b&&this._mixin(b);this.onBegin();this.setContent();var d=this.onEnd();return d&&d.then?d:this.node},setContent:function(){var a=this.node;if(!a)throw Error(this.declaredClass+": setContent given no node");
try{a=b._setNodeContent(a,this.content)}catch(c){var d=this.onContentError(c);try{a.innerHTML=d}catch(f){}}this.node=a},empty:function(){this.parseDeferred&&(this.parseDeferred.isResolved()||this.parseDeferred.cancel(),delete this.parseDeferred);this.parseResults&&this.parseResults.length&&(i.forEach(this.parseResults,function(a){a.destroy&&a.destroy()}),delete this.parseResults);b._emptyNode(this.node)},onBegin:function(){var a=this.content;if(k.isString(a)&&(this.cleanContent&&(a=b._secureForInnerHtml(a)),
this.extractContent)){var c=a.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);c&&(a=c[1])}this.empty();this.content=a;return this.node},onEnd:function(){this.parseContent&&this._parse();return this.node},tearDown:function(){delete this.parseResults;delete this.parseDeferred;delete this.node;delete this.content},onContentError:function(a){return"Error occurred setting content: "+a},onExecError:function(a){return"Error occurred executing scripts: "+a},_mixin:function(a){var b={},d;for(d in a)d in b||
(this[d]=a[d])},_parse:function(){var a=this.node;try{var b={};i.forEach(["dir","lang","textDir"],function(a){this[a]&&(b[a]=this[a])},this);var d=this;this.parseDeferred=h.parse({rootNode:a,noStart:!this.startup,inherited:b,scope:this.parserScope}).then(function(a){return d.parseResults=a})}catch(c){this._onError("Content",c,"Error parsing in _ContentSetter#"+this.id)}},_onError:function(a,c,d){a=this["on"+a+"Error"].call(this,c);d||a&&b._setNodeContent(this.node,a,!0)}});b.set=function(a,c,d){void 0==
c&&(c="");return d?(new b._ContentSetter(k.mixin(d,{content:c,node:a}))).set():b._setNodeContent(a,c,!0)};return b})},"dojo/parser":function(){define("require,./_base/kernel,./_base/lang,./_base/array,./_base/config,./_base/html,./_base/window,./_base/url,./_base/json,./aspect,./date/stamp,./Deferred,./has,./query,./on,./ready".split(","),function(g,k,i,j,e,c,h,b,f,a,l,d,p,m,n,o){function r(a){var b=a._nameCaseMap,d=a.prototype;if(!b||b._extendCnt<v){var b=a._nameCaseMap={},c;for(c in d)"_"!==c.charAt(0)&&
(b[c.toLowerCase()]=c);b._extendCnt=v}return b}function q(a){var b=a.join();if(!s[b]){for(var d=[],c=0,f=a.length;c<f;c++){var e=a[c];d[d.length]=s[e]=s[e]||i.getObject(e)||~e.indexOf("/")&&g(e)}a=d.shift();s[b]=d.length?a.createSubclass?a.createSubclass(d):a.extend.apply(a,d):a}return s[b]}var v=0;a.after(i,"extend",function(){v++},!0);var s={},t={_clearCache:function(){v++;s={}},_functionFromScript:function(a,b){var d="",c="",f=a.getAttribute(b+"args")||a.getAttribute("args"),e=a.getAttribute("with"),
f=(f||"").split(/\s*,\s*/);e&&e.length&&j.forEach(e.split(/\s*,\s*/),function(a){d+="with("+a+"){";c+="}"});return new Function(f,d+a.innerHTML+c)},instantiate:function(a,b,d){var b=b||{},d=d||{},c=(d.scope||k._scopeName)+"Type",f="data-"+(d.scope||k._scopeName)+"-",e=f+"type",g=f+"mixins",l=[];j.forEach(a,function(a){var d=c in b?b[c]:a.getAttribute(e)||a.getAttribute(c);if(d){var f=a.getAttribute(g),d=f?[d].concat(f.split(/\s*,\s*/)):[d];l.push({node:a,types:d})}});return this._instantiate(l,b,
d)},_instantiate:function(a,b,d){a=j.map(a,function(a){var c=a.ctor||q(a.types);if(!c)throw Error("Unable to resolve constructor for: '"+a.types.join()+"'");return this.construct(c,a.node,b,d,a.scripts,a.inherited)},this);!b._started&&!d.noStart&&j.forEach(a,function(a){"function"===typeof a.startup&&!a._started&&a.startup()});return a},construct:function(d,c,e,g,h,o){var u;var q=d&&d.prototype,g=g||{},t={};g.defaults&&i.mixin(t,g.defaults);o&&i.mixin(t,o);var v;p("dom-attributes-explicit")?v=c.attributes:
p("dom-attributes-specified-flag")?v=j.filter(c.attributes,function(a){return a.specified}):(o=(/^input$|^img$/i.test(c.nodeName)?c:c.cloneNode(!1)).outerHTML.replace(/=[^\s"']+|="[^"]*"|='[^']*'/g,"").replace(/^\s*<[a-zA-Z0-9]*\s*/,"").replace(/\s*>.*$/,""),v=j.map(o.split(/\s+/),function(a){var b=a.toLowerCase();return{name:a,value:"LI"==c.nodeName&&"value"==a||"enctype"==b?c.getAttribute(b):c.getAttributeNode(b).value}}));var s=g.scope||k._scopeName,o="data-"+s+"-",A={};"dojo"!==s&&(A[o+"props"]=
"data-dojo-props",A[o+"type"]="data-dojo-type",A[o+"mixins"]="data-dojo-mixins",A[s+"type"]="dojoType",A[o+"id"]="data-dojo-id");for(var s=0,w,x=[],K,H;w=v[s++];){var C=w.name,F=C.toLowerCase();w=w.value;switch(A[F]||F){case "data-dojo-type":case "dojotype":case "data-dojo-mixins":break;case "data-dojo-props":H=w;break;case "data-dojo-id":case "jsid":K=w;break;case "data-dojo-attach-point":case "dojoattachpoint":t.dojoAttachPoint=w;break;case "data-dojo-attach-event":case "dojoattachevent":t.dojoAttachEvent=
w;break;case "class":t["class"]=c.className;break;case "style":t.style=c.style&&c.style.cssText;break;default:if(C in q||(C=r(d)[F]||C),C in q)switch(typeof q[C]){case "string":t[C]=w;break;case "number":t[C]=w.length?Number(w):NaN;break;case "boolean":t[C]="false"!=w.toLowerCase();break;case "function":t[C]=""===w||-1!=w.search(/[^\w\.]+/i)?new Function(w):i.getObject(w,!1)||new Function(w);x.push(C);break;default:F=q[C],t[C]=F&&"length"in F?w?w.split(/\s*,\s*/):[]:F instanceof Date?""==w?new Date(""):
"now"==w?new Date:l.fromISOString(w):F instanceof b?k.baseUrl+w:f.fromJson(w)}else t[C]=w}}for(s=0;s<x.length;s++)v=x[s].toLowerCase(),c.removeAttribute(v),c[v]=null;if(H)try{H=f.fromJson.call(g.propsThis,"{"+H+"}"),i.mixin(t,H)}catch(O){throw Error(O.toString()+" in data-dojo-props='"+H+"'");}i.mixin(t,e);h||(h=d&&(d._noScript||q._noScript)?[]:m("> script[type^='dojo/']",c));e=[];g=[];H=[];x=[];if(h)for(s=0;s<h.length;s++){var D=h[s];c.removeChild(D);v=D.getAttribute(o+"event")||D.getAttribute("event");
A=D.getAttribute(o+"prop");C=D.getAttribute(o+"method");F=D.getAttribute(o+"advice");w=D.getAttribute("type");D=this._functionFromScript(D,o);v?"dojo/connect"==w?e.push({method:v,func:D}):"dojo/on"==w?x.push({event:v,func:D}):t[v]=D:"dojo/aspect"==w?e.push({method:C,advice:F,func:D}):"dojo/watch"==w?H.push({prop:A,func:D}):g.push(D)}u=(h=d.markupFactory||q.markupFactory)?h(t,c,d):new d(t,c),d=u;K&&i.setObject(K,d);for(s=0;s<e.length;s++)a[e[s].advice||"after"](d,e[s].method,i.hitch(d,e[s].func),!0);
for(s=0;s<g.length;s++)g[s].call(d);for(s=0;s<H.length;s++)d.watch(H[s].prop,H[s].func);for(s=0;s<x.length;s++)n(d,x[s].event,x[s].func);return d},scan:function(a,b){function c(a){if(!a.inherited){a.inherited={};var b=a.node,d=c(a.parent),b={dir:b.getAttribute("dir")||d.dir,lang:b.getAttribute("lang")||d.lang,textDir:b.getAttribute(o)||d.textDir},f;for(f in b)b[f]&&(a.inherited[f]=b[f])}return a.inherited}var f=[],e=[],l={},h=(b.scope||k._scopeName)+"Type",i="data-"+(b.scope||k._scopeName)+"-",m=
i+"type",o=i+"textdir",i=i+"mixins",n=a.firstChild,t=b.inherited;if(!t){var r=function(a,b){return a.getAttribute&&a.getAttribute(b)||a.parentNode&&r(a.parentNode,b)},t={dir:r(a,"dir"),lang:r(a,"lang"),textDir:r(a,o)},v;for(v in t)t[v]||delete t[v]}for(var t={inherited:t},s,C;;)if(n)if(1!=n.nodeType)n=n.nextSibling;else if(s&&"script"==n.nodeName.toLowerCase())(F=n.getAttribute("type"))&&/^dojo\/\w/i.test(F)&&s.push(n),n=n.nextSibling;else if(C)n=n.nextSibling;else{var F=n.getAttribute(m)||n.getAttribute(h);
v=n.firstChild;if(!F&&(!v||3==v.nodeType&&!v.nextSibling))n=n.nextSibling;else{C=null;if(F){var O=n.getAttribute(i);s=O?[F].concat(O.split(/\s*,\s*/)):[F];try{C=q(s)}catch(D){}C||j.forEach(s,function(a){~a.indexOf("/")&&!l[a]&&(l[a]=!0,e[e.length]=a)});O=C&&!C.prototype._noScript?[]:null;t={types:s,ctor:C,parent:t,node:n,scripts:O};t.inherited=c(t);f.push(t)}else t={node:n,scripts:s,parent:t};n=v;s=O;C=C&&C.prototype.stopParser&&!b.template}}else{if(!t||!t.node)break;n=t.node.nextSibling;C=!1;t=t.parent;
s=t.scripts}var L=new d;e.length?(p("dojo-debug-messages"),g(e,function(){L.resolve(j.filter(f,function(a){if(!a.ctor)try{a.ctor=q(a.types)}catch(d){}for(var c=a.parent;c&&!c.types;)c=c.parent;var f=a.ctor&&a.ctor.prototype;a.instantiateChildren=!(f&&f.stopParser&&!b.template);a.instantiate=!c||c.instantiate&&c.instantiateChildren;return a.instantiate}))})):L.resolve(f);return L.promise},_require:function(a){var a=f.fromJson("{"+a.innerHTML+"}"),b=[],c=[],e=new d,l;for(l in a)b.push(l),c.push(a[l]);
g(c,function(){for(var a=0;a<b.length;a++)i.setObject(b[a],arguments[a]);e.resolve(arguments)});return e.promise},_scanAmd:function(a){var b=new d,c=b.promise;b.resolve(!0);var f=this;m("script[type='dojo/require']",a).forEach(function(a){c=c.then(function(){return f._require(a)});a.parentNode.removeChild(a)});return c},parse:function(a,b){var d;!b&&a&&a.rootNode?(b=a,d=b.rootNode):a&&i.isObject(a)&&!("nodeType"in a)?b=a:d=a;d=d?c.byId(d):h.body();var b=b||{},f=b.template?{template:!0}:{},e=[],g=
this,l=this._scanAmd(d,b).then(function(){return g.scan(d,b)}).then(function(a){return e=e.concat(g._instantiate(a,f,b))}).otherwise(function(a){throw a;});i.mixin(e,l);return e}};k.parser=t;e.parseOnLoad&&o(100,t,"parse");return t})},"dojo/_base/url":function(){define(["./kernel"],function(g){var k=/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/,i=/^((([^\[:]+):)?([^@]+)@)?(\[([^\]]+)\]|([^\[:]*))(:([0-9]+))?$/,j=function(){for(var e=arguments,c=[e[0]],g=1;g<e.length;g++)if(e[g]){var b=
new j(e[g]+""),c=new j(c[0]+"");if(""==b.path&&!b.scheme&&!b.authority&&!b.query){if(null!=b.fragment)c.fragment=b.fragment;b=c}else if(!b.scheme&&(b.scheme=c.scheme,!b.authority&&(b.authority=c.authority,"/"!=b.path.charAt(0)))){for(var c=(c.path.substring(0,c.path.lastIndexOf("/")+1)+b.path).split("/"),f=0;f<c.length;f++)"."==c[f]?f==c.length-1?c[f]="":(c.splice(f,1),f--):0<f&&!(1==f&&""==c[0])&&".."==c[f]&&".."!=c[f-1]&&(f==c.length-1?(c.splice(f,1),c[f-1]=""):(c.splice(f-1,2),f-=2));b.path=c.join("/")}c=
[];b.scheme&&c.push(b.scheme,":");b.authority&&c.push("//",b.authority);c.push(b.path);b.query&&c.push("?",b.query);b.fragment&&c.push("#",b.fragment)}this.uri=c.join("");e=this.uri.match(k);this.scheme=e[2]||(e[1]?"":null);this.authority=e[4]||(e[3]?"":null);this.path=e[5];this.query=e[7]||(e[6]?"":null);this.fragment=e[9]||(e[8]?"":null);if(null!=this.authority)e=this.authority.match(i),this.user=e[3]||null,this.password=e[4]||null,this.host=e[6]||e[7],this.port=e[9]||null};j.prototype.toString=
function(){return this.uri};return g._Url=j})},"dojo/date/stamp":function(){define(["../_base/lang","../_base/array"],function(g,k){var i={};g.setObject("dojo.date.stamp",i);i.fromISOString=function(g,e){if(!i._isoRegExp)i._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/;var c=i._isoRegExp.exec(g),h=null;if(c){c.shift();c[1]&&c[1]--;c[6]&&(c[6]*=1E3);e&&(e=new Date(e),k.forEach(k.map("FullYear,Month,Date,Hours,Minutes,Seconds,Milliseconds".split(","),
function(a){return e["get"+a]()}),function(a,b){c[b]=c[b]||a}));h=new Date(c[0]||1970,c[1]||0,c[2]||1,c[3]||0,c[4]||0,c[5]||0,c[6]||0);100>c[0]&&h.setFullYear(c[0]||1970);var b=0,f=c[7]&&c[7].charAt(0);"Z"!=f&&(b=60*(c[8]||0)+(Number(c[9])||0),"-"!=f&&(b*=-1));f&&(b-=h.getTimezoneOffset());b&&h.setTime(h.getTime()+6E4*b)}return h};i.toISOString=function(g,e){var c=function(a){return 10>a?"0"+a:a},e=e||{},h=[],b=e.zulu?"getUTC":"get",f="";"time"!=e.selector&&(f=g[b+"FullYear"](),f=["0000".substr((f+
"").length)+f,c(g[b+"Month"]()+1),c(g[b+"Date"]())].join("-"));h.push(f);if("date"!=e.selector){f=[c(g[b+"Hours"]()),c(g[b+"Minutes"]()),c(g[b+"Seconds"]())].join(":");b=g[b+"Milliseconds"]();e.milliseconds&&(f+="."+(100>b?"0":"")+c(b));if(e.zulu)f+="Z";else if("time"!=e.selector)var b=g.getTimezoneOffset(),a=Math.abs(b),f=f+((0<b?"-":"+")+c(Math.floor(a/60))+":"+c(a%60));h.push(f)}return h.join("T")};return i})},"dojox/layout/ExpandoPane":function(){define("dojo/_base/kernel,dojo/_base/lang,dojo/_base/declare,dojo/_base/array,dojo/_base/connect,dojo/_base/event,dojo/_base/fx,dojo/dom-style,dojo/dom-class,dojo/dom-geometry,dojo/text!./resources/ExpandoPane.html,dijit/layout/ContentPane,dijit/_TemplatedMixin,dijit/_Contained,dijit/_Container".split(","),
function(g,k,i,j,e,c,h,b,f,a,l,d,p,m,n){g.experimental("dojox.layout.ExpandoPane");return i("dojox.layout.ExpandoPane",[d,p,m,n],{attributeMap:k.delegate(d.prototype.attributeMap,{title:{node:"titleNode",type:"innerHTML"}}),templateString:l,easeOut:"dojo._DefaultEasing",easeIn:"dojo._DefaultEasing",duration:420,startExpanded:!0,previewOpacity:0.75,previewOnDblClick:!1,tabIndex:"0",_setTabIndexAttr:"iconNode",baseClass:"dijitExpandoPane",postCreate:function(){this.inherited(arguments);this._animConnects=
[];this._isHorizontal=!0;if(k.isString(this.easeOut))this.easeOut=k.getObject(this.easeOut);if(k.isString(this.easeIn))this.easeIn=k.getObject(this.easeIn);var a="",d=!this.isLeftToRight();if(this.region){switch(this.region){case "trailing":case "right":a=d?"Left":"Right";this._needsPosition="left";break;case "leading":case "left":a=d?"Right":"Left";break;case "top":a="Top";break;case "bottom":this._needsPosition="top",a="Bottom"}f.add(this.domNode,"dojoxExpando"+a);f.add(this.iconNode,"dojoxExpandoIcon"+
a);this._isHorizontal=/top|bottom/.test(this.region)}b.set(this.domNode,{overflow:"hidden",padding:0});this.connect(this.domNode,"ondblclick",this.previewOnDblClick?"preview":"toggle");this.iconNode.setAttribute("aria-controls",this.id);this.previewOnDblClick&&this.connect(this.getParent(),"_layoutChildren",k.hitch(this,function(){this._isonlypreview=!1}))},_startupSizes:function(){this._container=this.getParent();this._closedSize=this._titleHeight=a.getMarginBox(this.titleWrapper).h;if(this.splitter){var b=
this.id;j.forEach(dijit.registry.toArray(),function(a){a&&a.child&&a.child.id==b&&this.connect(a,"_stopDrag","_afterResize")},this)}this._currentSize=a.getContentBox(this.domNode);this._showSize=this._currentSize[this._isHorizontal?"h":"w"];this._setupAnims();this.startExpanded?this._showing=!0:(this._showing=!1,this._hideWrapper(),this._hideAnim.gotoPercent(99,!0));this.domNode.setAttribute("aria-expanded",this._showing);this._hasSizes=!0},_afterResize:function(){var b=this._currentSize;this._currentSize=
a.getMarginBox(this.domNode);var d=this._currentSize[this._isHorizontal?"h":"w"];if(d>this._titleHeight){if(!this._showing)this._showing=!this._showing,this._showEnd();this._showSize=d;this._setupAnims()}else this._showSize=b[this._isHorizontal?"h":"w"],this._showing=!1,this._hideWrapper(),this._hideAnim.gotoPercent(89,!0)},_setupAnims:function(){j.forEach(this._animConnects,e.disconnect);var a={node:this.domNode,duration:this.duration},b={},d=this._showSize,c=this._closedSize,f={},g=this._isHorizontal?
"height":"width",l=this._needsPosition;b[g]={end:d};f[g]={end:c};l&&(b[l]={end:function(a){return parseInt(a.style[l],10)-d+c}},f[l]={end:function(a){return parseInt(a.style[l],10)+d-c}});this._showAnim=h.animateProperty(k.mixin(a,{easing:this.easeIn,properties:b}));this._hideAnim=h.animateProperty(k.mixin(a,{easing:this.easeOut,properties:f}));this._animConnects=[e.connect(this._showAnim,"onEnd",this,"_showEnd"),e.connect(this._hideAnim,"onEnd",this,"_hideEnd")]},preview:function(){if(!this._showing)this._isonlypreview=
!this._isonlypreview;this.toggle()},toggle:function(){this._showing?(this._hideWrapper(),this._showAnim&&this._showAnim.stop(),this._hideAnim.play()):(this._hideAnim&&this._hideAnim.stop(),this._showAnim.play());this._showing=!this._showing;this.domNode.setAttribute("aria-expanded",this._showing)},_hideWrapper:function(){f.add(this.domNode,"dojoxExpandoClosed");b.set(this.cwrapper,{visibility:"hidden",opacity:"0",overflow:"hidden"})},_showEnd:function(){b.set(this.cwrapper,{opacity:0,visibility:"visible"});
h.anim(this.cwrapper,{opacity:this._isonlypreview?this.previewOpacity:1},227);f.remove(this.domNode,"dojoxExpandoClosed");this._isonlypreview?(this._previewShowing=!0,this.resize()):setTimeout(k.hitch(this._container,"layout"),15)},_hideEnd:function(){this._isonlypreview?this._previewShowing=!1:setTimeout(k.hitch(this._container,"layout"),25);this._isonlypreview=!1},resize:function(d){this._hasSizes||this._startupSizes(d);var c=a.getMarginBox(this.domNode);this._contentBox={w:d&&"w"in d?d.w:c.w,h:(d&&
"h"in d?d.h:c.h)-this._titleHeight};b.set(this.containerNode,"height",this._contentBox.h+"px");d&&a.setMarginBox(this.domNode,d);this._layoutChildren();this._setupAnims()},_trap:function(a){c.stop(a)}})})},"url:dojox/layout/resources/ExpandoPane.html":'<div class="dojoxExpandoPane">\n\t<div dojoAttachPoint="titleWrapper" class="dojoxExpandoTitle">\n\t\t<div class="dojoxExpandoIcon" dojoAttachPoint="iconNode" dojoAttachEvent="ondijitclick:toggle"><span class="a11yNode">X</span></div>\n\t\t<span class="dojoxExpandoTitleNode" dojoAttachPoint="titleNode">${title}</span>\n\t</div>\n\t<div class="dojoxExpandoWrapper" dojoAttachPoint="cwrapper" dojoAttachEvent="ondblclick:_trap">\n\t\t<div class="dojoxExpandoContent" dojoAttachPoint="containerNode"></div>\n\t</div>\n</div>\n',
"dijit/layout/LayoutContainer":function(){define("dojo/_base/kernel,dojo/_base/lang,dojo/_base/declare,../_WidgetBase,./_LayoutWidget,./utils".split(","),function(g,k,i,j,e,c){i=i("dijit.layout.LayoutContainer",e,{baseClass:"dijitLayoutContainer",constructor:function(){g.deprecated("dijit.layout.LayoutContainer is deprecated","use BorderContainer instead",2)},layout:function(){c.layoutChildren(this.domNode,this._contentBox,this.getChildren())},addChild:function(e,b){this.inherited(arguments);this._started&&
c.layoutChildren(this.domNode,this._contentBox,this.getChildren())},removeChild:function(e){this.inherited(arguments);this._started&&c.layoutChildren(this.domNode,this._contentBox,this.getChildren())}});i.ChildWidgetProperties={layoutAlign:"none"};k.extend(j,i.ChildWidgetProperties);return i})},"dijit/form/Form":function(){define("dojo/_base/declare,dojo/dom-attr,dojo/_base/event,dojo/_base/kernel,dojo/sniff,../_Widget,../_TemplatedMixin,./_FormMixin,../layout/_ContentPaneResizeMixin".split(","),
function(g,k,i,j,e,c,h,b,f){return g("dijit.form.Form",[c,h,b,f],{name:"",action:"",method:"",encType:"","accept-charset":"",accept:"",target:"",templateString:"<form data-dojo-attach-point='containerNode' data-dojo-attach-event='onreset:_onReset,onsubmit:_onSubmit' ${!nameAttrSetting}></form>",postMixInProperties:function(){this.nameAttrSetting=this.name?"name='"+this.name+"'":"";this.inherited(arguments)},execute:function(){},onExecute:function(){},_setEncTypeAttr:function(a){this.encType=a;k.set(this.domNode,
"encType",a);if(e("ie"))this.domNode.encoding=a},reset:function(a){var b={returnValue:!0,preventDefault:function(){this.returnValue=!1},stopPropagation:function(){},currentTarget:a?a.target:this.domNode,target:a?a.target:this.domNode};!1!==this.onReset(b)&&b.returnValue&&this.inherited(arguments,[])},onReset:function(){return!0},_onReset:function(a){this.reset(a);i.stop(a);return!1},_onSubmit:function(a){var b=this.constructor.prototype;if(this.execute!=b.execute||this.onExecute!=b.onExecute)j.deprecated("dijit.form.Form:execute()/onExecute() are deprecated. Use onSubmit() instead.",
"","2.0"),this.onExecute(),this.execute(this.getValues());!1===this.onSubmit(a)&&i.stop(a)},onSubmit:function(){return this.isValid()},submit:function(){!1!==this.onSubmit()&&this.containerNode.submit()}})})},"dijit/form/_FormMixin":function(){define("dojo/_base/array,dojo/_base/declare,dojo/_base/kernel,dojo/_base/lang,dojo/on,dojo/window".split(","),function(g,k,i,j,e,c){return k("dijit.form._FormMixin",null,{state:"",_getDescendantFormWidgets:function(c){var b=[];g.forEach(c||this.getChildren(),
function(c){"value"in c?b.push(c):b=b.concat(this._getDescendantFormWidgets(c.getChildren()))},this);return b},reset:function(){g.forEach(this._getDescendantFormWidgets(),function(c){c.reset&&c.reset()})},validate:function(){var e=!1;return g.every(g.map(this._getDescendantFormWidgets(),function(b){b._hasBeenBlurred=!0;var f=b.disabled||!b.validate||b.validate();!f&&!e&&(c.scrollIntoView(b.containerNode||b.domNode),b.focus(),e=!0);return f}),function(b){return b})},setValues:function(c){i.deprecated(this.declaredClass+
"::setValues() is deprecated. Use set('value', val) instead.","","2.0");return this.set("value",c)},_setValueAttr:function(c){var b={};g.forEach(this._getDescendantFormWidgets(),function(a){a.name&&(b[a.name]||(b[a.name]=[])).push(a)});for(var f in b)if(b.hasOwnProperty(f)){var a=b[f],e=j.getObject(f,!1,c);void 0!==e&&(j.isArray(e)||(e=[e]),"boolean"==typeof a[0].checked?g.forEach(a,function(a){a.set("value",-1!=g.indexOf(e,a.value))}):a[0].multiple?a[0].set("value",e):g.forEach(a,function(a,b){a.set("value",
e[b])}))}},getValues:function(){i.deprecated(this.declaredClass+"::getValues() is deprecated. Use get('value') instead.","","2.0");return this.get("value")},_getValueAttr:function(){var c={};g.forEach(this._getDescendantFormWidgets(),function(b){var f=b.name;if(f&&!b.disabled){var a=b.get("value");"boolean"==typeof b.checked?/Radio/.test(b.declaredClass)?!1!==a?j.setObject(f,a,c):(a=j.getObject(f,!1,c),void 0===a&&j.setObject(f,null,c)):(b=j.getObject(f,!1,c),b||(b=[],j.setObject(f,b,c)),!1!==a&&
b.push(a)):(b=j.getObject(f,!1,c),"undefined"!=typeof b?j.isArray(b)?b.push(a):j.setObject(f,[b,a],c):j.setObject(f,a,c))}});return c},isValid:function(){return""==this.state},onValidStateChange:function(){},_getState:function(){var c=g.map(this._descendants,function(b){return b.get("state")||""});return 0<=g.indexOf(c,"Error")?"Error":0<=g.indexOf(c,"Incomplete")?"Incomplete":""},disconnectChildren:function(){},connectChildren:function(c){this._descendants=this._getDescendantFormWidgets();g.forEach(this._descendants,
function(b){b._started||b.startup()});c||this._onChildChange()},_onChildChange:function(c){(!c||"state"==c||"disabled"==c)&&this._set("state",this._getState());if(!c||"value"==c||"disabled"==c||"checked"==c)this._onChangeDelayTimer&&this._onChangeDelayTimer.remove(),this._onChangeDelayTimer=this.defer(function(){delete this._onChangeDelayTimer;this._set("value",this.get("value"))},10)},startup:function(){this.inherited(arguments);this._descendants=this._getDescendantFormWidgets();this.value=this.get("value");
this.state=this._getState();var c=this;this.own(e(this.containerNode,"attrmodified-state, attrmodified-disabled, attrmodified-value, attrmodified-checked",function(b){b.target!=c.domNode&&c._onChildChange(b.type.replace("attrmodified-",""))}));this.watch("state",function(b,c,a){this.onValidStateChange(""==a)})},destroy:function(){this.inherited(arguments)}})})},"dijit/form/TextBox":function(){define("dojo/_base/declare,dojo/dom-construct,dojo/dom-style,dojo/_base/kernel,dojo/_base/lang,dojo/sniff,./_FormValueWidget,./_TextBoxMixin,dojo/text!./templates/TextBox.html,../main".split(","),
function(g,k,i,j,e,c,h,b,f,a){g=g("dijit.form.TextBox",[h,b],{templateString:f,_singleNodeTemplate:'<input class="dijit dijitReset dijitLeft dijitInputField" data-dojo-attach-point="textbox,focusNode" autocomplete="off" type="${type}" ${!nameAttrSetting} />',_buttonInputDisabled:c("ie")?"disabled":"",baseClass:"dijitTextBox",postMixInProperties:function(){var a=this.type.toLowerCase();if(this.templateString&&"input"==this.templateString.toLowerCase()||("hidden"==a||"file"==a)&&this.templateString==
this.constructor.prototype.templateString)this.templateString=this._singleNodeTemplate;this.inherited(arguments)},postCreate:function(){this.inherited(arguments);9>c("ie")&&this.defer(function(){try{var a=i.getComputedStyle(this.domNode);if(a){var b=a.fontFamily;if(b){var c=this.domNode.getElementsByTagName("INPUT");if(c)for(a=0;a<c.length;a++)c[a].style.fontFamily=b}}}catch(f){}})},_onInput:function(a){this.inherited(arguments);this.intermediateChanges&&this.defer(function(){this._handleOnChange(this.get("value"),
!1)})},_setPlaceHolderAttr:function(a){this._set("placeHolder",a);if(!this._phspan)this._attachPoints.push("_phspan"),this._phspan=k.create("span",{onmousedown:function(a){a.preventDefault()},className:"dijitPlaceHolder dijitInputField"},this.textbox,"after");this._phspan.innerHTML="";this._phspan.appendChild(this._phspan.ownerDocument.createTextNode(a));this._updatePlaceHolder()},_updatePlaceHolder:function(){if(this._phspan)this._phspan.style.display=this.placeHolder&&!this.focused&&!this.textbox.value?
"":"none"},_setValueAttr:function(a,b,c){this.inherited(arguments);this._updatePlaceHolder()},getDisplayedValue:function(){j.deprecated(this.declaredClass+"::getDisplayedValue() is deprecated. Use get('displayedValue') instead.","","2.0");return this.get("displayedValue")},setDisplayedValue:function(a){j.deprecated(this.declaredClass+"::setDisplayedValue() is deprecated. Use set('displayedValue', ...) instead.","","2.0");this.set("displayedValue",a)},_onBlur:function(a){if(!this.disabled&&(this.inherited(arguments),
this._updatePlaceHolder(),c("mozilla")&&this.selectOnClick))this.textbox.selectionStart=this.textbox.selectionEnd=void 0},_onFocus:function(a){!this.disabled&&!this.readOnly&&(this.inherited(arguments),this._updatePlaceHolder())}});if(c("ie"))g.prototype._isTextSelected=function(){var a=this.ownerDocument.selection.createRange();return a.parentElement()==this.textbox&&0<a.text.length},a._setSelectionRange=b._setSelectionRange=function(a,b,c){a.createTextRange&&(a=a.createTextRange(),a.collapse(!0),
a.moveStart("character",-99999),a.moveStart("character",b),a.moveEnd("character",c-b),a.select())};return g})},"dijit/form/_FormValueWidget":function(){define(["dojo/_base/declare","dojo/sniff","./_FormWidget","./_FormValueMixin"],function(g,k,i,j){return g("dijit.form._FormValueWidget",[i,j],{_layoutHackIE7:function(){if(7==k("ie"))for(var e=this.domNode,c=e.parentNode,g=e.firstChild||e,b=g.style.filter,f=this;c&&0==c.clientHeight;)(function(){var a=f.connect(c,"onscroll",function(){f.disconnect(a);
g.style.filter=(new Date).getMilliseconds();f.defer(function(){g.style.filter=b})})})(),c=c.parentNode}})})},"dijit/form/_FormWidget":function(){define("dojo/_base/declare,dojo/has,dojo/_base/kernel,dojo/ready,../_Widget,../_CssStateMixin,../_TemplatedMixin,./_FormWidgetMixin".split(","),function(g,k,i,j,e,c,h,b){k("dijit-legacy-requires")&&j(0,function(){require(["dijit/form/_FormValueWidget"])});return g("dijit.form._FormWidget",[e,h,c,b],{setDisabled:function(b){i.deprecated("setDisabled("+b+") is deprecated. Use set('disabled',"+
b+") instead.","","2.0");this.set("disabled",b)},setValue:function(b){i.deprecated("dijit.form._FormWidget:setValue("+b+") is deprecated.  Use set('value',"+b+") instead.","","2.0");this.set("value",b)},getValue:function(){i.deprecated(this.declaredClass+"::getValue() is deprecated. Use get('value') instead.","","2.0");return this.get("value")},postMixInProperties:function(){this.nameAttrSetting=this.name?'name="'+this.name.replace(/"/g,"&quot;")+'"':"";this.inherited(arguments)},_setTypeAttr:null})})},
"dijit/_CssStateMixin":function(){define("dojo/_base/array,dojo/_base/declare,dojo/dom,dojo/dom-class,dojo/has,dojo/_base/lang,dojo/on,dojo/ready,dojo/_base/window,./registry".split(","),function(g,k,i,j,e,c,h,b,f,a){k=k("dijit._CssStateMixin",[],{cssStateNodes:{},hovering:!1,active:!1,_applyAttributes:function(){this.inherited(arguments);g.forEach("disabled,readOnly,checked,selected,focused,state,hovering,active,_opened".split(","),function(a){this.watch(a,c.hitch(this,"_setStateClass"))},this);
for(var a in this.cssStateNodes)this._trackMouseState(this[a],this.cssStateNodes[a]);this._trackMouseState(this.domNode,this.baseClass);this._setStateClass()},_cssMouseEvent:function(a){if(!this.disabled)switch(a.type){case "mouseover":this._set("hovering",!0);this._set("active",this._mouseDown);break;case "mouseout":this._set("hovering",!1);this._set("active",!1);break;case "mousedown":case "touchstart":this._set("active",!0);break;case "mouseup":case "touchend":this._set("active",!1)}},_setStateClass:function(){function a(c){b=
b.concat(g.map(b,function(a){return a+c}),"dijit"+c)}var b=this.baseClass.split(" ");this.isLeftToRight()||a("Rtl");var c="mixed"==this.checked?"Mixed":this.checked?"Checked":"";this.checked&&a(c);this.state&&a(this.state);this.selected&&a("Selected");this._opened&&a("Opened");this.disabled?a("Disabled"):this.readOnly?a("ReadOnly"):this.active?a("Active"):this.hovering&&a("Hover");this.focused&&a("Focused");var c=this.stateNode||this.domNode,f={};g.forEach(c.className.split(" "),function(a){f[a]=
!0});"_stateClasses"in this&&g.forEach(this._stateClasses,function(a){delete f[a]});g.forEach(b,function(a){f[a]=!0});var e=[],h;for(h in f)e.push(h);c.className=e.join(" ");this._stateClasses=b},_subnodeCssMouseEvent:function(a,b,c){function f(c){j.toggle(a,b+"Active",c)}if(!this.disabled&&!this.readOnly)switch(c.type){case "mouseover":j.toggle(a,b+"Hover",!0);break;case "mouseout":j.toggle(a,b+"Hover",!1);f(!1);break;case "mousedown":case "touchstart":f(!0);break;case "mouseup":case "touchend":f(!1);
break;case "focus":case "focusin":j.toggle(a,b+"Focused",!0);break;case "blur":case "focusout":j.toggle(a,b+"Focused",!1)}},_trackMouseState:function(a,b){a._cssState=b}});b(function(){function b(c){if(!i.isDescendant(c.relatedTarget,c.target))for(var d=c.target;d&&d!=c.relatedTarget;d=d.parentNode)if(d._cssState){var f=a.getEnclosingWidget(d);f&&(d==f.domNode?f._cssMouseEvent(c):f._subnodeCssMouseEvent(d,d._cssState,c))}}function c(a){a.target=a.srcElement;b(a)}var j=f.body(),m=(e("touch")?[]:["mouseover",
"mouseout"]).concat(["mousedown","touchstart","mouseup","touchend"]);g.forEach(m,function(a){j.addEventListener?j.addEventListener(a,b,!0):j.attachEvent("on"+a,c)});h(j,"focusin, focusout",function(b){var c=b.target;c._cssState&&!c.getAttribute("widgetId")&&a.getEnclosingWidget(c)._subnodeCssMouseEvent(c,c._cssState,b)})});return k})},"dijit/form/_FormWidgetMixin":function(){define("dojo/_base/array,dojo/_base/declare,dojo/dom-attr,dojo/dom-style,dojo/_base/lang,dojo/mouse,dojo/sniff,dojo/window,../a11y".split(","),
function(g,k,i,j,e,c,h,b,f){return k("dijit.form._FormWidgetMixin",null,{name:"",alt:"",value:"",type:"text",tabIndex:"0",_setTabIndexAttr:"focusNode",disabled:!1,intermediateChanges:!1,scrollOnFocus:!0,_setIdAttr:"focusNode",_setDisabledAttr:function(a){this._set("disabled",a);i.set(this.focusNode,"disabled",a);this.valueNode&&i.set(this.valueNode,"disabled",a);this.focusNode.setAttribute("aria-disabled",a?"true":"false");a?(this._set("hovering",!1),this._set("active",!1),a="tabIndex"in this.attributeMap?
this.attributeMap.tabIndex:"_setTabIndexAttr"in this?this._setTabIndexAttr:"focusNode",g.forEach(e.isArray(a)?a:[a],function(a){a=this[a];h("webkit")||f.hasDefaultTabStop(a)?a.setAttribute("tabIndex","-1"):a.removeAttribute("tabIndex")},this)):""!=this.tabIndex&&this.set("tabIndex",this.tabIndex)},_onFocus:function(a){if("mouse"==a&&this.isFocusable())var c=this.connect(this.focusNode,"onfocus",function(){this.disconnect(d);this.disconnect(c)}),d=this.connect(this.ownerDocumentBody,"onmouseup",function(){this.disconnect(d);
this.disconnect(c);this.focused&&this.focus()});this.scrollOnFocus&&this.defer(function(){b.scrollIntoView(this.domNode)});this.inherited(arguments)},isFocusable:function(){return!this.disabled&&this.focusNode&&"none"!=j.get(this.domNode,"display")},focus:function(){if(!this.disabled&&this.focusNode.focus)try{this.focusNode.focus()}catch(a){}},compare:function(a,b){return"number"==typeof a&&"number"==typeof b?isNaN(a)&&isNaN(b)?0:a-b:a>b?1:a<b?-1:0},onChange:function(){},_onChangeActive:!1,_handleOnChange:function(a,
b){if(void 0==this._lastValueReported&&(null===b||!this._onChangeActive))this._resetValue=this._lastValueReported=a;this._pendingOnChange=this._pendingOnChange||typeof a!=typeof this._lastValueReported||0!=this.compare(a,this._lastValueReported);if((this.intermediateChanges||b||void 0===b)&&this._pendingOnChange)if(this._lastValueReported=a,this._pendingOnChange=!1,this._onChangeActive)this._onChangeHandle&&this._onChangeHandle.remove(),this._onChangeHandle=this.defer(function(){this._onChangeHandle=
null;this.onChange(a)})},create:function(){this.inherited(arguments);this._onChangeActive=!0},destroy:function(){this._onChangeHandle&&(this._onChangeHandle.remove(),this.onChange(this._lastValueReported));this.inherited(arguments)}})})},"dijit/form/_FormValueMixin":function(){define(["dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/sniff","./_FormWidgetMixin"],function(g,k,i,j,e){return g("dijit.form._FormValueMixin",e,{readOnly:!1,_setReadOnlyAttr:function(c){k.set(this.focusNode,"readOnly",
c);this.focusNode.setAttribute("aria-readonly",c);this._set("readOnly",c)},postCreate:function(){this.inherited(arguments);j("ie")&&this.connect(this.focusNode||this.domNode,"onkeydown",this._onKeyDown);if(void 0===this._resetValue)this._lastValueReported=this._resetValue=this.value},_setValueAttr:function(c,e){this._handleOnChange(c,e)},_handleOnChange:function(c,e){this._set("value",c);this.inherited(arguments)},undo:function(){this._setValueAttr(this._lastValueReported,!1)},reset:function(){this._hasBeenBlurred=
!1;this._setValueAttr(this._resetValue,!0)},_onKeyDown:function(c){if(c.keyCode==i.ESCAPE&&!c.ctrlKey&&!c.altKey&&!c.metaKey&&(9>j("ie")||j("ie")&&j("quirks"))){c.preventDefault();var e=c.srcElement,b=e.ownerDocument.createEventObject();b.keyCode=i.ESCAPE;b.shiftKey=c.shiftKey;e.fireEvent("onkeypress",b)}}})})},"dijit/form/_TextBoxMixin":function(){define("dojo/_base/array,dojo/_base/declare,dojo/dom,dojo/_base/event,dojo/keys,dojo/_base/lang,dojo/on,../main".split(","),function(g,k,i,j,e,c,h,b){var f=
k("dijit.form._TextBoxMixin",null,{trim:!1,uppercase:!1,lowercase:!1,propercase:!1,maxLength:"",selectOnClick:!1,placeHolder:"",_getValueAttr:function(){return this.parse(this.get("displayedValue"),this.constraints)},_setValueAttr:function(a,b,c){var f;void 0!==a&&(f=this.filter(a),"string"!=typeof c&&(c=null!==f&&("number"!=typeof f||!isNaN(f))?this.filter(this.format(f,this.constraints)):""));if(null!=c&&("number"!=typeof c||!isNaN(c))&&this.textbox.value!=c)this.textbox.value=c,this._set("displayedValue",
this.get("displayedValue"));"auto"==this.textDir&&this.applyTextDir(this.focusNode,c);this.inherited(arguments,[f,b])},displayedValue:"",_getDisplayedValueAttr:function(){return this.filter(this.textbox.value)},_setDisplayedValueAttr:function(a){null==a?a="":"string"!=typeof a&&(a=""+a);this.textbox.value=a;this._setValueAttr(this.get("value"),void 0);this._set("displayedValue",this.get("displayedValue"));"auto"==this.textDir&&this.applyTextDir(this.focusNode,a)},format:function(a){return null==a?
"":a.toString?a.toString():a},parse:function(a){return a},_refreshState:function(){},onInput:function(){},__skipInputEvent:!1,_onInput:function(a){"auto"==this.textDir&&this.applyTextDir(this.focusNode,this.focusNode.value);this._processInput(a)},_processInput:function(){this._refreshState();this._set("displayedValue",this.get("displayedValue"))},postCreate:function(){this.textbox.setAttribute("value",this.textbox.value);this.inherited(arguments);this.own(h(this.textbox,"keydown, keypress, paste, cut, input, compositionend",
c.hitch(this,function(a){var b;if("keydown"==a.type){b=a.keyCode;switch(b){case e.SHIFT:case e.ALT:case e.CTRL:case e.META:case e.CAPS_LOCK:case e.NUM_LOCK:case e.SCROLL_LOCK:return}if(!a.ctrlKey&&!a.metaKey&&!a.altKey){switch(b){case e.NUMPAD_0:case e.NUMPAD_1:case e.NUMPAD_2:case e.NUMPAD_3:case e.NUMPAD_4:case e.NUMPAD_5:case e.NUMPAD_6:case e.NUMPAD_7:case e.NUMPAD_8:case e.NUMPAD_9:case e.NUMPAD_MULTIPLY:case e.NUMPAD_PLUS:case e.NUMPAD_ENTER:case e.NUMPAD_MINUS:case e.NUMPAD_PERIOD:case e.NUMPAD_DIVIDE:return}if(65<=
b&&90>=b||48<=b&&57>=b||b==e.SPACE)return;b=!1;for(var d in e)if(e[d]===a.keyCode){b=!0;break}if(!b)return}}(b=32<=a.charCode?String.fromCharCode(a.charCode):a.charCode)||(b=65<=a.keyCode&&90>=a.keyCode||48<=a.keyCode&&57>=a.keyCode||a.keyCode==e.SPACE?String.fromCharCode(a.keyCode):a.keyCode);b||(b=229);if("keypress"==a.type){if("string"!=typeof b)return;if("a"<=b&&"z">=b||"A"<=b&&"Z">=b||"0"<=b&&"9">=b||" "===b)if(a.ctrlKey||a.metaKey||a.altKey)return}if("input"==a.type){if(this.__skipInputEvent){this.__skipInputEvent=
!1;return}}else this.__skipInputEvent=!0;var f={faux:!0},g;for(g in a)"layerX"!=g&&"layerY"!=g&&(d=a[g],"function"!=typeof d&&"undefined"!=typeof d&&(f[g]=d));c.mixin(f,{charOrCode:b,_wasConsumed:!1,preventDefault:function(){f._wasConsumed=!0;a.preventDefault()},stopPropagation:function(){a.stopPropagation()}});!1===this.onInput(f)&&(f.preventDefault(),f.stopPropagation());f._wasConsumed||this.defer(function(){this._onInput(f)})})))},_blankValue:"",filter:function(a){if(null===a)return this._blankValue;
if("string"!=typeof a)return a;this.trim&&(a=c.trim(a));this.uppercase&&(a=a.toUpperCase());this.lowercase&&(a=a.toLowerCase());this.propercase&&(a=a.replace(/[^\s]+/g,function(a){return a.substring(0,1).toUpperCase()+a.substring(1)}));return a},_setBlurValue:function(){this._setValueAttr(this.get("value"),!0)},_onBlur:function(a){this.disabled||(this._setBlurValue(),this.inherited(arguments))},_isTextSelected:function(){return this.textbox.selectionStart!=this.textbox.selectionEnd},_onFocus:function(a){if(!this.disabled&&
!this.readOnly){if(this.selectOnClick&&"mouse"==a)this._selectOnClickHandle=this.connect(this.domNode,"onmouseup",function(){this.disconnect(this._selectOnClickHandle);this._selectOnClickHandle=null;this._isTextSelected()||f.selectInputText(this.textbox)}),this.defer(function(){if(this._selectOnClickHandle)this.disconnect(this._selectOnClickHandle),this._selectOnClickHandle=null},500);this.inherited(arguments);this._refreshState()}},reset:function(){this.textbox.value="";this.inherited(arguments)},
_setTextDirAttr:function(a){if(!this._created||this.textDir!=a)this._set("textDir",a),this.applyTextDir(this.focusNode,this.focusNode.value)}});f._setSelectionRange=b._setSelectionRange=function(a,b,c){a.setSelectionRange&&a.setSelectionRange(b,c)};f.selectInputText=b.selectInputText=function(a,b,c){a=i.byId(a);isNaN(b)&&(b=0);isNaN(c)&&(c=a.value?a.value.length:0);try{a.focus(),f._setSelectionRange(a,b,c)}catch(e){}};return f})},"url:dijit/form/templates/TextBox.html":'<div class="dijit dijitReset dijitInline dijitLeft" id="widget_${id}" role="presentation"\n\t><div class="dijitReset dijitInputField dijitInputContainer"\n\t\t><input class="dijitReset dijitInputInner" data-dojo-attach-point=\'textbox,focusNode\' autocomplete="off"\n\t\t\t${!nameAttrSetting} type=\'${type}\'\n\t/></div\n></div>\n',
"dijit/form/Button":function(){define("require,dojo/_base/declare,dojo/dom-class,dojo/has,dojo/_base/kernel,dojo/_base/lang,dojo/ready,./_FormWidget,./_ButtonMixin,dojo/text!./templates/Button.html".split(","),function(g,k,i,j,e,c,h,b,f,a){j("dijit-legacy-requires")&&h(0,function(){g(["dijit/form/DropDownButton","dijit/form/ComboButton","dijit/form/ToggleButton"])});return k("dijit.form.Button",[b,f],{showLabel:!0,iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitButton",
templateString:a,_setValueAttr:"valueNode",_onClick:function(a){var b=this.inherited(arguments);b&&this.valueNode&&(this.valueNode.click(),a.preventDefault(),a.stopPropagation());return b},_fillContent:function(a){if(a&&(!this.params||!("label"in this.params)))if(a=c.trim(a.innerHTML))this.label=a},_setShowLabelAttr:function(a){this.containerNode&&i.toggle(this.containerNode,"dijitDisplayNone",!a);this._set("showLabel",a)},setLabel:function(a){e.deprecated("dijit.form.Button.setLabel() is deprecated.  Use set('label', ...) instead.",
"","2.0");this.set("label",a)},_setLabelAttr:function(a){this.inherited(arguments);if(!this.showLabel&&!("title"in this.params))this.titleNode.title=c.trim(this.containerNode.innerText||this.containerNode.textContent||"")}})})},"dijit/form/_ButtonMixin":function(){define(["dojo/_base/declare","dojo/dom","dojo/_base/event","../registry"],function(g,k,i,j){return g("dijit.form._ButtonMixin",null,{label:"",type:"button",_onClick:function(e){if(this.disabled)return i.stop(e),!1;var c=!1===this.onClick(e);
if(!c&&"submit"==this.type&&!(this.valueNode||this.focusNode).form)for(var g=this.domNode;g.parentNode;g=g.parentNode){var b=j.byNode(g);if(b&&"function"==typeof b._onSubmit){b._onSubmit(e);c=!0;break}}c&&e.preventDefault();return!c},postCreate:function(){this.inherited(arguments);k.setSelectable(this.focusNode,!1)},onClick:function(){return!0},_setLabelAttr:function(e){this._set("label",e);(this.containerNode||this.focusNode).innerHTML=e}})})},"url:dijit/form/templates/Button.html":'<span class="dijit dijitReset dijitInline" role="presentation"\n\t><span class="dijitReset dijitInline dijitButtonNode"\n\t\tdata-dojo-attach-event="ondijitclick:_onClick" role="presentation"\n\t\t><span class="dijitReset dijitStretch dijitButtonContents"\n\t\t\tdata-dojo-attach-point="titleNode,focusNode"\n\t\t\trole="button" aria-labelledby="${id}_label"\n\t\t\t><span class="dijitReset dijitInline dijitIcon" data-dojo-attach-point="iconNode"></span\n\t\t\t><span class="dijitReset dijitToggleButtonIconChar">&#x25CF;</span\n\t\t\t><span class="dijitReset dijitInline dijitButtonText"\n\t\t\t\tid="${id}_label"\n\t\t\t\tdata-dojo-attach-point="containerNode"\n\t\t\t></span\n\t\t></span\n\t></span\n\t><input ${!nameAttrSetting} type="${type}" value="${value}" class="dijitOffScreen"\n\t\ttabIndex="-1" role="presentation" data-dojo-attach-point="valueNode"\n/></span>\n',
"dijit/MenuBar":function(){define(["dojo/_base/declare","dojo/_base/event","dojo/keys","./_MenuBase","dojo/text!./templates/MenuBar.html"],function(g,k,i,j,e){return g("dijit.MenuBar",j,{templateString:e,baseClass:"dijitMenuBar",_isMenuBar:!0,postCreate:function(){this.inherited(arguments);var c=this.isLeftToRight();this.connectKeyNavHandlers(c?[i.LEFT_ARROW]:[i.RIGHT_ARROW],c?[i.RIGHT_ARROW]:[i.LEFT_ARROW]);this._orient=["below"]},_moveToPopup:function(c){if(this.focusedChild&&this.focusedChild.popup&&
!this.focusedChild.disabled)this.onItemClick(this.focusedChild,c)},focusChild:function(c){var e=this.focusedChild,e=e&&e.popup&&e.popup.isShowingNow;this.inherited(arguments);e&&c.popup&&!c.disabled&&this._openPopup(!0)},_onKeyPress:function(c){if(!c.ctrlKey&&!c.altKey)switch(c.charOrCode){case i.DOWN_ARROW:this._moveToPopup(c),k.stop(c)}},onItemClick:function(c,e){if(c.popup&&c.popup.isShowingNow&&("keypress"!==e.type||e.keyCode!==i.DOWN_ARROW))c.popup.onCancel();else this.inherited(arguments)}})})},
"dijit/_MenuBase":function(){define("dojo/_base/array,dojo/_base/declare,dojo/dom,dojo/dom-attr,dojo/dom-class,dojo/_base/lang,dojo/mouse,dojo/on,dojo/window,./a11yclick,./popup,./registry,./_Widget,./_KeyNavContainer,./_TemplatedMixin".split(","),function(g,k,i,j,e,c,h,b,f,a,l,d,p,m,n){return k("dijit._MenuBase",[p,n,m],{parentMenu:null,popupDelay:500,autoFocus:!1,postCreate:function(){var c=this,f=function(a){return e.contains(a,"dijitMenuItem")};this.own(b(this.containerNode,b.selector(f,h.enter),
function(){c.onItemHover(d.byNode(this))}),b(this.containerNode,b.selector(f,h.leave),function(){c.onItemUnhover(d.byNode(this))}),b(this.containerNode,b.selector(f,a),function(a){c.onItemClick(d.byNode(this),a);a.stopPropagation();a.preventDefault()}));this.inherited(arguments)},onExecute:function(){},onCancel:function(){},_moveToPopup:function(a){if(this.focusedChild&&this.focusedChild.popup&&!this.focusedChild.disabled)this.onItemClick(this.focusedChild,a);else(a=this._getTopMenu())&&a._isMenuBar&&
a.focusNext()},_onPopupHover:function(){if(this.currentPopup&&this.currentPopup._pendingClose_timer){var a=this.currentPopup.parentMenu;a.focusedChild&&a.focusedChild._setSelected(!1);a.focusedChild=this.currentPopup.from_item;a.focusedChild._setSelected(!0);this._stopPendingCloseTimer(this.currentPopup)}},onItemHover:function(a){if(this.isActive&&(this.focusChild(a),this.focusedChild.popup&&!this.focusedChild.disabled&&!this.hover_timer))this.hover_timer=this.defer("_openPopup",this.popupDelay);
this.focusedChild&&this.focusChild(a);this._hoveredChild=a;a._set("hovering",!0)},_onChildBlur:function(a){this._stopPopupTimer();a._setSelected(!1);var b=a.popup;if(b)this._stopPendingCloseTimer(b),b._pendingClose_timer=this.defer(function(){b._pendingClose_timer=null;if(b.parentMenu)b.parentMenu.currentPopup=null;l.close(b)},this.popupDelay)},onItemUnhover:function(a){this.isActive&&this._stopPopupTimer();if(this._hoveredChild==a)this._hoveredChild=null;a._set("hovering",!1)},_stopPopupTimer:function(){if(this.hover_timer)this.hover_timer=
this.hover_timer.remove()},_stopPendingCloseTimer:function(a){if(a._pendingClose_timer)a._pendingClose_timer=a._pendingClose_timer.remove()},_stopFocusTimer:function(){if(this._focus_timer)this._focus_timer=this._focus_timer.remove()},_getTopMenu:function(){for(var a=this;a.parentMenu;a=a.parentMenu);return a},onItemClick:function(a,b){"undefined"==typeof this.isShowingNow&&this._markActive();this.focusChild(a);if(a.disabled)return!1;a.popup?this._openPopup("keypress"==b.type):(this.onExecute(),a._onClick?
a._onClick(b):a.onClick(b))},_openPopup:function(a){this._stopPopupTimer();var b=this.focusedChild;if(b){var d=b.popup;if(!d.isShowingNow){this.currentPopup&&(this._stopPendingCloseTimer(this.currentPopup),l.close(this.currentPopup));d.parentMenu=this;d.from_item=b;var f=this;l.open({parent:this,popup:d,around:b.domNode,orient:this._orient||["after","before"],onCancel:function(){f.focusChild(b);f._cleanUp();b._setSelected(!0);f.focusedChild=b},onExecute:c.hitch(this,"_cleanUp")});this.currentPopup=
d;d.connect(d.domNode,"onmouseenter",c.hitch(f,"_onPopupHover"))}if(a&&d.focus)d._focus_timer=this.defer(c.hitch(d,function(){this._focus_timer=null;this.focus()}))}},_markActive:function(){this.isActive=!0;e.replace(this.domNode,"dijitMenuActive","dijitMenuPassive")},onOpen:function(){this.isShowingNow=!0;this._markActive()},_markInactive:function(){this.isActive=!1;e.replace(this.domNode,"dijitMenuPassive","dijitMenuActive")},onClose:function(){this._stopFocusTimer();this._markInactive();this.isShowingNow=
!1;this.parentMenu=null},_closeChild:function(){this._stopPopupTimer();if(this.currentPopup)0<=g.indexOf(this._focusManager.activeStack,this.id)&&(j.set(this.focusedChild.focusNode,"tabIndex",this.tabIndex),this.focusedChild.focusNode.focus()),l.close(this.currentPopup),this.currentPopup=null;if(this.focusedChild)this.focusedChild._setSelected(!1),this.onItemUnhover(this.focusedChild),this.focusedChild=null},_onItemFocus:function(a){if(this._hoveredChild&&this._hoveredChild!=a)this.onItemUnhover(this._hoveredChild)},
_onBlur:function(){this._cleanUp();this.inherited(arguments)},_cleanUp:function(){this._closeChild();"undefined"==typeof this.isShowingNow&&this._markInactive()}})})},"dijit/popup":function(){define("dojo/_base/array,dojo/aspect,dojo/_base/connect,dojo/_base/declare,dojo/dom,dojo/dom-attr,dojo/dom-construct,dojo/dom-geometry,dojo/dom-style,dojo/_base/event,dojo/keys,dojo/_base/lang,dojo/on,dojo/sniff,./place,./BackgroundIframe,./main".split(","),function(g,k,i,j,e,c,h,b,f,a,l,d,p,m,n,o,r){function q(){this._popupWrapper&&
(h.destroy(this._popupWrapper),delete this._popupWrapper)}j=j(null,{_stack:[],_beginZIndex:1E3,_idGen:1,_createWrapper:function(a){var b=a._popupWrapper,c=a.domNode;if(!b)b=h.create("div",{"class":"dijitPopup",style:{display:"none"},role:"presentation"},a.ownerDocumentBody),b.appendChild(c),c=c.style,c.display="",c.visibility="",c.position="",c.top="0px",a._popupWrapper=b,k.after(a,"destroy",q,!0);return b},moveOffScreen:function(a){a=this._createWrapper(a);f.set(a,{visibility:"hidden",top:"-9999px",
display:""})},hide:function(a){a=this._createWrapper(a);f.set(a,"display","none")},getTopPopup:function(){for(var a=this._stack,b=a.length-1;0<b&&a[b].parent===a[b-1].widget;b--);return a[b]},open:function(f){for(var g=this._stack,h=f.popup,j=f.orient||["below","below-alt","above","above-alt"],k=f.parent?f.parent.isLeftToRight():b.isBodyLtr(h.ownerDocument),q=f.around,r=f.around&&f.around.id?f.around.id+"_dropdown":"popup_"+this._idGen++;g.length&&(!f.parent||!e.isDescendant(f.parent.domNode,g[g.length-
1].widget.domNode));)this.close(g[g.length-1].widget);var J=this._createWrapper(h);c.set(J,{id:r,style:{zIndex:this._beginZIndex+g.length},"class":"dijitPopup "+(h.baseClass||h["class"]||"").split(" ")[0]+"Popup",dijitPopupParent:f.parent?f.parent.id:""});if((m("ie")||m("mozilla"))&&!h.bgIframe)h.bgIframe=new o(J);j=q?n.around(J,q,j,k,h.orient?d.hitch(h,"orient"):null):n.at(J,f,"R"==j?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],f.padding);J.style.display="";J.style.visibility="visible";h.domNode.style.visibility=
"visible";k=[];k.push(p(J,i._keypress,d.hitch(this,function(b){if(b.charOrCode==l.ESCAPE&&f.onCancel)a.stop(b),f.onCancel();else if(b.charOrCode===l.TAB&&(a.stop(b),(b=this.getTopPopup())&&b.onCancel))b.onCancel()})));h.onCancel&&f.onCancel&&k.push(h.on("cancel",f.onCancel));k.push(h.on(h.onExecute?"execute":"change",d.hitch(this,function(){var a=this.getTopPopup();if(a&&a.onExecute)a.onExecute()})));g.push({widget:h,parent:f.parent,onExecute:f.onExecute,onCancel:f.onCancel,onClose:f.onClose,handlers:k});
if(h.onOpen)h.onOpen(j);return j},close:function(a){for(var b=this._stack;a&&g.some(b,function(b){return b.widget==a})||!a&&b.length;){var c=b.pop(),d=c.widget,f=c.onClose;if(d.onClose)d.onClose();for(var e;e=c.handlers.pop();)e.remove();d&&d.domNode&&this.hide(d);f&&f()}}});return r.popup=new j})},"dijit/place":function(){define("dojo/_base/array,dojo/dom-geometry,dojo/dom-style,dojo/_base/kernel,dojo/_base/window,dojo/window,./main".split(","),function(g,k,i,j,e,c,h){function b(b,a,h,d){var i=c.getBox(b.ownerDocument);
(!b.parentNode||"body"!=(""+b.parentNode.tagName).toLowerCase())&&e.body(b.ownerDocument).appendChild(b);var j=null;g.some(a,function(a){var c=a.corner,e=a.pos,g=0,n={w:{L:i.l+i.w-e.x,R:e.x-i.l,M:i.w}[c.charAt(1)],h:{T:i.t+i.h-e.y,B:e.y-i.t,M:i.h}[c.charAt(0)]},t=b.style;t.left=t.right="auto";h&&(g=h(b,a.aroundCorner,c,n,d),g="undefined"==typeof g?0:g);var u=b.style,y=u.display,z=u.visibility;if("none"==u.display)u.visibility="hidden",u.display="";t=k.position(b);u.display=y;u.visibility=z;y={L:e.x,
R:e.x-t.w,M:Math.max(i.l,Math.min(i.l+i.w,e.x+(t.w>>1))-t.w)}[c.charAt(1)];z={T:e.y,B:e.y-t.h,M:Math.max(i.t,Math.min(i.t+i.h,e.y+(t.h>>1))-t.h)}[c.charAt(0)];e=Math.max(i.l,y);u=Math.max(i.t,z);y=Math.min(i.l+i.w,y+t.w);z=Math.min(i.t+i.h,z+t.h);y-=e;z-=u;g+=t.w-y+(t.h-z);if(null==j||g<j.overflow)j={corner:c,aroundCorner:a.aroundCorner,x:e,y:u,w:y,h:z,overflow:g,spaceAvailable:n};return!g});j.overflow&&h&&h(b,j.aroundCorner,j.corner,j.spaceAvailable,d);var a=k.isBodyLtr(b.ownerDocument),n=b.style;
n.top=j.y+"px";n[a?"left":"right"]=(a?j.x:i.w-j.x-j.w)+"px";n[a?"right":"left"]="auto";return j}return h.place={at:function(c,a,e,d){e=g.map(e,function(b){var c={corner:b,pos:{x:a.x,y:a.y}};d&&(c.pos.x+="L"==b.charAt(1)?d.x:-d.x,c.pos.y+="T"==b.charAt(0)?d.y:-d.y);return c});return b(c,e)},around:function(c,a,e,d,h){function m(a,b){I.push({aroundCorner:a,corner:b,pos:{x:{L:t,R:t+y,M:t+(y>>1)}[a.charAt(1)],y:{T:u,B:u+z,M:u+(z>>1)}[a.charAt(0)]}})}var n="string"==typeof a||"offsetWidth"in a?k.position(a,
!0):a;if(a.parentNode)for(var o="absolute"==i.getComputedStyle(a).position,a=a.parentNode;a&&1==a.nodeType&&"BODY"!=a.nodeName;){var r=k.position(a,!0),q=i.getComputedStyle(a);/relative|absolute/.test(q.position)&&(o=!1);if(!o&&/hidden|auto|scroll/.test(q.overflow)){var v=Math.min(n.y+n.h,r.y+r.h),s=Math.min(n.x+n.w,r.x+r.w);n.x=Math.max(n.x,r.x);n.y=Math.max(n.y,r.y);n.h=v-n.y;n.w=s-n.x}"absolute"==q.position&&(o=!0);a=a.parentNode}var t=n.x,u=n.y,y="w"in n?n.w:n.w=n.width,z="h"in n?n.h:(j.deprecated("place.around: dijit/place.__Rectangle: { x:"+
t+", y:"+u+", height:"+n.height+", width:"+y+" } has been deprecated.  Please use { x:"+t+", y:"+u+", h:"+n.height+", w:"+y+" }","","2.0"),n.h=n.height),I=[];g.forEach(e,function(a){var b=d;switch(a){case "above-centered":m("TM","BM");break;case "below-centered":m("BM","TM");break;case "after-centered":b=!b;case "before-centered":m(b?"ML":"MR",b?"MR":"ML");break;case "after":b=!b;case "before":m(b?"TL":"TR",b?"TR":"TL");m(b?"BL":"BR",b?"BR":"BL");break;case "below-alt":b=!b;case "below":m(b?"BL":
"BR",b?"TL":"TR");m(b?"BR":"BL",b?"TR":"TL");break;case "above-alt":b=!b;case "above":m(b?"TL":"TR",b?"BL":"BR");m(b?"TR":"TL",b?"BR":"BL");break;default:m(a.aroundCorner,a.corner)}});c=b(c,I,h,{w:y,h:z});c.aroundNodePos=n;return c}}})},"dijit/BackgroundIframe":function(){define("require,./main,dojo/_base/config,dojo/dom-construct,dojo/dom-style,dojo/_base/lang,dojo/on,dojo/sniff,dojo/_base/window".split(","),function(g,k,i,j,e,c,h,b,f){var a=new function(){var a=[];this.pop=function(){var c;a.length?
(c=a.pop(),c.style.display=""):(9>b("ie")?(c="<iframe src='"+(i.dojoBlankHtmlUrl||g.toUrl("dojo/resources/blank.html")||'javascript:""')+"' role='presentation' style='position: absolute; left: 0px; top: 0px;z-index: -1; filter:Alpha(Opacity=\"0\");'>",c=f.doc.createElement(c)):(c=j.create("iframe"),c.src='javascript:""',c.className="dijitBackgroundIframe",c.setAttribute("role","presentation"),e.set(c,"opacity",0.1)),c.tabIndex=-1);return c};this.push=function(b){b.style.display="none";a.push(b)}};
k.BackgroundIframe=function(f){if(!f.id)throw Error("no id");if(b("ie")||b("mozilla")){var d=this.iframe=a.pop();f.appendChild(d);7>b("ie")||b("quirks")?(this.resize(f),this._conn=h(f,"resize",c.hitch(this,function(){this.resize(f)}))):e.set(d,{width:"100%",height:"100%"})}};c.extend(k.BackgroundIframe,{resize:function(a){this.iframe&&e.set(this.iframe,{width:a.offsetWidth+"px",height:a.offsetHeight+"px"})},destroy:function(){if(this._conn)this._conn.remove(),this._conn=null;this.iframe&&(a.push(this.iframe),
delete this.iframe)}});return k.BackgroundIframe})},"dijit/_KeyNavContainer":function(){define("dojo/_base/kernel,./_Container,./_FocusMixin,dojo/_base/array,dojo/keys,dojo/_base/declare,dojo/_base/event,dojo/dom-attr,dojo/_base/lang".split(","),function(g,k,i,j,e,c,h,b,f){return c("dijit._KeyNavContainer",[i,k],{tabIndex:"0",connectKeyNavHandlers:function(a,b){var c=this._keyNavCodes={},g=f.hitch(this,"focusPrev"),h=f.hitch(this,"focusNext");j.forEach(a,function(a){c[a]=g});j.forEach(b,function(a){c[a]=
h});c[e.HOME]=f.hitch(this,"focusFirstChild");c[e.END]=f.hitch(this,"focusLastChild");this.connect(this.domNode,"onkeypress","_onContainerKeypress");this.connect(this.domNode,"onfocus","_onContainerFocus")},startupKeyNavChildren:function(){g.deprecated("startupKeyNavChildren() call no longer needed","","2.0")},startup:function(){this.inherited(arguments);j.forEach(this.getChildren(),f.hitch(this,"_startupChild"))},addChild:function(a,b){this.inherited(arguments);this._startupChild(a)},focus:function(){this.focusFirstChild()},
focusFirstChild:function(){this.focusChild(this._getFirstFocusableChild())},focusLastChild:function(){this.focusChild(this._getLastFocusableChild())},focusNext:function(){this.focusChild(this._getNextFocusableChild(this.focusedChild,1))},focusPrev:function(){this.focusChild(this._getNextFocusableChild(this.focusedChild,-1),!0)},focusChild:function(a,b){a&&(this.focusedChild&&a!==this.focusedChild&&this._onChildBlur(this.focusedChild),a.set("tabIndex",this.tabIndex),a.focus(b?"end":"start"),this._set("focusedChild",
a))},_startupChild:function(a){a.set("tabIndex","-1");this.connect(a,"_onFocus",function(){a.set("tabIndex",this.tabIndex)});this.connect(a,"_onBlur",function(){a.set("tabIndex","-1")})},_onContainerFocus:function(a){a.target!==this.domNode||this.focusedChild||(this.focusFirstChild(),b.set(this.domNode,"tabIndex","-1"))},_onBlur:function(a){this.tabIndex&&b.set(this.domNode,"tabIndex",this.tabIndex);this.focusedChild=null;this.inherited(arguments)},_onContainerKeypress:function(a){if(!a.ctrlKey&&
!a.altKey){var b=this._keyNavCodes[a.charOrCode];b&&(b(),h.stop(a))}},_onChildBlur:function(){},_getFirstFocusableChild:function(){return this._getNextFocusableChild(null,1)},_getLastFocusableChild:function(){return this._getNextFocusableChild(null,-1)},_getNextFocusableChild:function(a,b){a&&(a=this._getSiblingOfChild(a,b));for(var c=this.getChildren(),f=0;f<c.length;f++){a||(a=c[0<b?0:c.length-1]);if(a.isFocusable())return a;a=this._getSiblingOfChild(a,b)}return null}})})},"url:dijit/templates/MenuBar.html":'<div class="dijitMenuBar dijitMenuPassive" data-dojo-attach-point="containerNode"  role="menubar" tabIndex="${tabIndex}" data-dojo-attach-event="onkeypress: _onKeyPress"></div>\n',
"dijit/PopupMenuBarItem":function(){define(["dojo/_base/declare","./PopupMenuItem","./MenuBarItem"],function(g,k,i){return g("dijit.PopupMenuBarItem",[k,i._MenuBarItemMixin],{})})},"dijit/PopupMenuItem":function(){define("dojo/_base/declare,dojo/dom-style,dojo/query,./registry,./MenuItem,./hccss".split(","),function(g,k,i,j,e){return g("dijit.PopupMenuItem",e,{_fillContent:function(){if(this.srcNodeRef){var c=i("*",this.srcNodeRef);this.inherited(arguments,[c[0]]);this.dropDownContainer=this.srcNodeRef}},
startup:function(){if(!this._started){this.inherited(arguments);if(!this.popup){var c=i("[widgetId]",this.dropDownContainer)[0];this.popup=j.byNode(c)}this.ownerDocumentBody.appendChild(this.popup.domNode);this.popup.startup();this.popup.domNode.style.display="none";this.arrowWrapper&&k.set(this.arrowWrapper,"visibility","");this.focusNode.setAttribute("aria-haspopup","true")}},destroyDescendants:function(c){this.popup&&(this.popup._destroyed||this.popup.destroyRecursive(c),delete this.popup);this.inherited(arguments)}})})},
"dijit/MenuItem":function(){define("dojo/_base/declare,dojo/dom,dojo/dom-attr,dojo/dom-class,dojo/_base/kernel,dojo/sniff,./_Widget,./_TemplatedMixin,./_Contained,./_CssStateMixin,dojo/text!./templates/MenuItem.html".split(","),function(g,k,i,j,e,c,h,b,f,a,l){return g("dijit.MenuItem",[h,b,f,a],{templateString:l,baseClass:"dijitMenuItem",label:"",_setLabelAttr:function(a){this.containerNode.innerHTML=a;this._set("label",a);"auto"===this.textDir&&this.applyTextDir(this.focusNode,this.label)},iconClass:"dijitNoIcon",
_setIconClassAttr:{node:"iconNode",type:"class"},accelKey:"",disabled:!1,_fillContent:function(a){a&&!("label"in this.params)&&this.set("label",a.innerHTML)},buildRendering:function(){this.inherited(arguments);var a=this.id+"_text";i.set(this.containerNode,"id",a);this.accelKeyNode&&(i.set(this.accelKeyNode,"id",this.id+"_accel"),a+=" "+this.id+"_accel");this.domNode.setAttribute("aria-labelledby",a);k.setSelectable(this.domNode,!1)},onClick:function(){},focus:function(){try{8==c("ie")&&this.containerNode.focus(),
this.focusNode.focus()}catch(a){}},_onFocus:function(){this._setSelected(!0);this.getParent()._onItemFocus(this);this.inherited(arguments)},_setSelected:function(a){j.toggle(this.domNode,"dijitMenuItemSelected",a)},setLabel:function(a){e.deprecated("dijit.MenuItem.setLabel() is deprecated.  Use set('label', ...) instead.","","2.0");this.set("label",a)},setDisabled:function(a){e.deprecated("dijit.Menu.setDisabled() is deprecated.  Use set('disabled', bool) instead.","","2.0");this.set("disabled",a)},
_setDisabledAttr:function(a){this.focusNode.setAttribute("aria-disabled",a?"true":"false");this._set("disabled",a)},_setAccelKeyAttr:function(a){this.accelKeyNode.style.display=a?"":"none";this.accelKeyNode.innerHTML=a;i.set(this.containerNode,"colSpan",a?"1":"2");this._set("accelKey",a)},_setTextDirAttr:function(a){if(!this._created||this.textDir!=a)this._set("textDir",a),this.applyTextDir(this.focusNode,this.label)}})})},"url:dijit/templates/MenuItem.html":'<tr class="dijitReset dijitMenuItem" data-dojo-attach-point="focusNode" role="menuitem" tabIndex="-1">\n\t<td class="dijitReset dijitMenuItemIconCell" role="presentation">\n\t\t<img src="${_blankGif}" alt="" class="dijitIcon dijitMenuItemIcon" data-dojo-attach-point="iconNode"/>\n\t</td>\n\t<td class="dijitReset dijitMenuItemLabel" colspan="2" data-dojo-attach-point="containerNode"></td>\n\t<td class="dijitReset dijitMenuItemAccelKey" style="display: none" data-dojo-attach-point="accelKeyNode"></td>\n\t<td class="dijitReset dijitMenuArrowCell" role="presentation">\n\t\t<div data-dojo-attach-point="arrowWrapper" style="visibility: hidden">\n\t\t\t<img src="${_blankGif}" alt="" class="dijitMenuExpand"/>\n\t\t\t<span class="dijitMenuExpandA11y">+</span>\n\t\t</div>\n\t</td>\n</tr>\n',
"dijit/MenuBarItem":function(){define(["dojo/_base/declare","./MenuItem","dojo/text!./templates/MenuBarItem.html"],function(g,k,i){i=g("dijit._MenuBarItemMixin",null,{templateString:i,_setIconClassAttr:null});g=g("dijit.MenuBarItem",[k,i],{});g._MenuBarItemMixin=i;return g})},"url:dijit/templates/MenuBarItem.html":'<div class="dijitReset dijitInline dijitMenuItem dijitMenuItemLabel" data-dojo-attach-point="focusNode"\n\t \trole="menuitem" tabIndex="-1">\n\t<span data-dojo-attach-point="containerNode"></span>\n</div>\n',
"dijit/Menu":function(){define("require,dojo/_base/array,dojo/_base/declare,dojo/_base/event,dojo/dom,dojo/dom-attr,dojo/dom-geometry,dojo/dom-style,dojo/keys,dojo/_base/lang,dojo/on,dojo/sniff,dojo/_base/window,dojo/window,./popup,./DropDownMenu,dojo/ready".split(","),function(g,k,i,j,e,c,h,b,f,a,l,d,p,m,n,o,r){d("dijit-legacy-requires")&&r(0,function(){g(["dijit/MenuItem","dijit/PopupMenuItem","dijit/CheckedMenuItem","dijit/MenuSeparator"])});return i("dijit.Menu",o,{constructor:function(){this._bindings=
[]},targetNodeIds:[],selector:"",contextMenuForWindow:!1,leftClickToOpen:!1,refocus:!0,postCreate:function(){this.contextMenuForWindow?this.bindDomNode(this.ownerDocumentBody):k.forEach(this.targetNodeIds,this.bindDomNode,this);this.inherited(arguments)},_iframeContentWindow:function(a){return m.get(this._iframeContentDocument(a))||this._iframeContentDocument(a).__parent__||a.name&&p.doc.frames[a.name]||null},_iframeContentDocument:function(a){return a.contentDocument||a.contentWindow&&a.contentWindow.document||
a.name&&p.doc.frames[a.name]&&p.doc.frames[a.name].document||null},bindDomNode:function(b){var b=e.byId(b,this.ownerDocument),d;if("iframe"==b.tagName.toLowerCase()){var g=b,h=this._iframeContentWindow(g);d=p.body(h.document)}else d=b==p.body(this.ownerDocument)?this.ownerDocument.documentElement:b;var i={node:b,iframe:g};c.set(b,"_dijitMenu"+this.id,this._bindings.push(i));var m=a.hitch(this,function(a){var b=this.selector,c=b?function(a){return l.selector(b,a)}:function(a){return a},d=this;return[l(a,
c(this.leftClickToOpen?"click":"contextmenu"),function(a){j.stop(a);d._scheduleOpen(this,g,{x:a.pageX,y:a.pageY})}),l(a,c("keydown"),function(a){a.shiftKey&&a.keyCode==f.F10&&(j.stop(a),d._scheduleOpen(this,g))})]});i.connects=d?m(d):[];if(g)i.onloadHandler=a.hitch(this,function(){var a=this._iframeContentWindow(g);d=p.body(a.document);i.connects=m(d)}),g.addEventListener?g.addEventListener("load",i.onloadHandler,!1):g.attachEvent("onload",i.onloadHandler)},unBindDomNode:function(a){var b;try{b=e.byId(a,
this.ownerDocument)}catch(d){return}a="_dijitMenu"+this.id;if(b&&c.has(b,a)){for(var f=c.get(b,a)-1,g=this._bindings[f],h;h=g.connects.pop();)h.remove();(h=g.iframe)&&(h.removeEventListener?h.removeEventListener("load",g.onloadHandler,!1):h.detachEvent("onload",g.onloadHandler));c.remove(b,a);delete this._bindings[f]}},_scheduleOpen:function(a,b,c){if(!this._openTimer)this._openTimer=this.defer(function(){delete this._openTimer;this._openMyself({target:a,iframe:b,coords:c})},1)},_openMyself:function(a){function c(){k.refocus&&
o&&o.focus();n.close(k)}var f=a.target,g=a.iframe,a=a.coords;this.currentTarget=f;if(a){if(g){var f=h.position(g,!0),i=this._iframeContentWindow(g),i=h.docScroll(i.document),l=b.getComputedStyle(g),j=b.toPixelValue,m=(d("ie")&&d("quirks")?0:j(g,l.paddingLeft))+(d("ie")&&d("quirks")?j(g,l.borderLeftWidth):0),g=(d("ie")&&d("quirks")?0:j(g,l.paddingTop))+(d("ie")&&d("quirks")?j(g,l.borderTopWidth):0);a.x+=f.x+m-i.x;a.y+=f.y+g-i.y}}else a=h.position(f,!0),a.x+=10,a.y+=10;var k=this,g=this._focusManager.get("prevNode"),
f=this._focusManager.get("curNode"),o=!f||e.isDescendant(f,this.domNode)?g:f;n.open({popup:this,x:a.x,y:a.y,onExecute:c,onCancel:c,orient:this.isLeftToRight()?"L":"R"});this.focus();this._onBlur=function(){this.inherited("_onBlur",arguments);n.close(this)}},destroy:function(){k.forEach(this._bindings,function(a){a&&this.unBindDomNode(a.node)},this);this.inherited(arguments)}})})},"dijit/DropDownMenu":function(){define("dojo/_base/declare,dojo/_base/event,dojo/keys,dojo/text!./templates/Menu.html,./_OnDijitClickMixin,./_MenuBase".split(","),
function(g,k,i,j,e,c){return g("dijit.DropDownMenu",[c,e],{templateString:j,baseClass:"dijitMenu",postCreate:function(){this.inherited(arguments);var c=this.isLeftToRight();this._openSubMenuKey=c?i.RIGHT_ARROW:i.LEFT_ARROW;this._closeSubMenuKey=c?i.LEFT_ARROW:i.RIGHT_ARROW;this.connectKeyNavHandlers([i.UP_ARROW],[i.DOWN_ARROW])},_onKeyPress:function(c){if(!c.ctrlKey&&!c.altKey)switch(c.charOrCode){case this._openSubMenuKey:this._moveToPopup(c);k.stop(c);break;case this._closeSubMenuKey:if(this.parentMenu)if(this.parentMenu._isMenuBar)this.parentMenu.focusPrev();
else this.onCancel(!1);else k.stop(c)}}})})},"url:dijit/templates/Menu.html":'<table class="dijit dijitMenu dijitMenuPassive dijitReset dijitMenuTable" role="menu" tabIndex="${tabIndex}"\n\t   data-dojo-attach-event="onkeypress:_onKeyPress" cellspacing="0">\n\t<tbody class="dijitReset" data-dojo-attach-point="containerNode"></tbody>\n</table>\n',"dijit/Toolbar":function(){define("require,dojo/_base/declare,dojo/has,dojo/keys,dojo/ready,./_Widget,./_KeyNavContainer,./_TemplatedMixin".split(","),function(g,
k,i,j,e,c,h,b){i("dijit-legacy-requires")&&e(0,function(){g(["dijit/ToolbarSeparator"])});return k("dijit.Toolbar",[c,b,h],{templateString:'<div class="dijit" role="toolbar" tabIndex="${tabIndex}" data-dojo-attach-point="containerNode"></div>',baseClass:"dijitToolbar",postCreate:function(){this.inherited(arguments);this.connectKeyNavHandlers(this.isLeftToRight()?[j.LEFT_ARROW]:[j.RIGHT_ARROW],this.isLeftToRight()?[j.RIGHT_ARROW]:[j.LEFT_ARROW])}})})},"dijit/Dialog":function(){define("require,dojo/_base/array,dojo/_base/connect,dojo/_base/declare,dojo/_base/Deferred,dojo/dom,dojo/dom-class,dojo/dom-geometry,dojo/dom-style,dojo/_base/event,dojo/_base/fx,dojo/i18n,dojo/keys,dojo/_base/lang,dojo/on,dojo/ready,dojo/sniff,dojo/window,dojo/dnd/Moveable,dojo/dnd/TimedMoveable,./focus,./_base/manager,./_Widget,./_TemplatedMixin,./_CssStateMixin,./form/_FormMixin,./_DialogMixin,./DialogUnderlay,./layout/ContentPane,dojo/text!./templates/Dialog.html,./main,dojo/i18n!./nls/common".split(","),
function(g,k,i,j,e,c,h,b,f,a,l,d,p,m,n,o,r,q,v,s,t,u,y,z,I,J,N,E,S,Q,B){var u=j("dijit._DialogBase",[z,J,N,I],{templateString:Q,baseClass:"dijitDialog",cssStateNodes:{closeButtonNode:"dijitDialogCloseIcon"},_setTitleAttr:[{node:"titleNode",type:"innerHTML"},{node:"titleBar",type:"attribute"}],open:!1,duration:u.defaultDuration,refocus:!0,autofocus:!0,_firstFocusItem:null,_lastFocusItem:null,doLayout:!1,draggable:!0,_setDraggableAttr:function(a){this._set("draggable",a)},"aria-describedby":"",maxRatio:0.9,
postMixInProperties:function(){var a=d.getLocalization("dijit","common");m.mixin(this,a);this.inherited(arguments)},postCreate:function(){f.set(this.domNode,{display:"none",position:"absolute"});this.ownerDocumentBody.appendChild(this.domNode);this.inherited(arguments);this.connect(this,"onExecute","hide");this.connect(this,"onCancel","hide");this._modalconnects=[]},onLoad:function(){this._position();this.autofocus&&w.isTop(this)&&(this._getFocusItems(this.domNode),t.focus(this._firstFocusItem));
this.inherited(arguments)},_endDrag:function(){var a=b.position(this.domNode),c=q.getBox(this.ownerDocument);a.y=Math.min(Math.max(a.y,0),c.h-a.h);a.x=Math.min(Math.max(a.x,0),c.w-a.w);this._relativePosition=a;this._position()},_setup:function(){var a=this.domNode;this.titleBar&&this.draggable?(this._moveable=new (6==r("ie")?s:v)(a,{handle:this.titleBar}),this.connect(this._moveable,"onMoveStop","_endDrag")):h.add(a,"dijitDialogFixed");this.underlayAttrs={dialogId:this.id,"class":k.map(this["class"].split(/\s/),
function(a){return a+"_underlay"}).join(" "),ownerDocument:this.ownerDocument}},_size:function(){this._checkIfSingleChild();if(this._singleChild){if("undefined"!=typeof this._singleChildOriginalStyle)this._singleChild.domNode.style.cssText=this._singleChildOriginalStyle,delete this._singleChildOriginalStyle}else f.set(this.containerNode,{width:"auto",height:"auto"});var a=b.position(this.domNode),c=q.getBox(this.ownerDocument);c.w*=this.maxRatio;c.h*=this.maxRatio;if(a.w>=c.w||a.h>=c.h){var d=b.position(this.containerNode),
e=Math.min(a.w,c.w)-(a.w-d.w),a=Math.min(a.h,c.h)-(a.h-d.h);if(this._singleChild&&this._singleChild.resize){if("undefined"==typeof this._singleChildOriginalStyle)this._singleChildOriginalStyle=this._singleChild.domNode.style.cssText;this._singleChild.resize({w:e,h:a})}else f.set(this.containerNode,{width:e+"px",height:a+"px",overflow:"auto",position:"relative"})}else this._singleChild&&this._singleChild.resize&&this._singleChild.resize()},_position:function(){if(!h.contains(this.ownerDocumentBody,
"dojoMove")){var a=this.domNode,c=q.getBox(this.ownerDocument),d=this._relativePosition,e=d?null:b.position(a);f.set(a,{left:Math.floor(c.l+(d?d.x:(c.w-e.w)/2))+"px",top:Math.floor(c.t+(d?d.y:(c.h-e.h)/2))+"px"})}},_onKey:function(b){if(b.charOrCode){var c=b.target;b.charOrCode===p.TAB&&this._getFocusItems(this.domNode);var d=this._firstFocusItem==this._lastFocusItem;if(c==this._firstFocusItem&&b.shiftKey&&b.charOrCode===p.TAB)d||t.focus(this._lastFocusItem),a.stop(b);else if(c==this._lastFocusItem&&
b.charOrCode===p.TAB&&!b.shiftKey)d||t.focus(this._firstFocusItem),a.stop(b);else{for(;c;){if(c==this.domNode||h.contains(c,"dijitPopup"))if(b.charOrCode==p.ESCAPE)this.onCancel();else return;c=c.parentNode}if(b.charOrCode!==p.TAB)a.stop(b);else if(!r("opera"))try{this._firstFocusItem.focus()}catch(f){}}}},show:function(){if(!this.open){this._started||this.startup();if(!this._alreadyInitialized)this._setup(),this._alreadyInitialized=!0;this._fadeOutDeferred&&this._fadeOutDeferred.cancel();var a=q.get(this.ownerDocument);
this._modalconnects.push(n(a,"scroll",m.hitch(this,"resize")));this._modalconnects.push(n(this.domNode,i._keypress,m.hitch(this,"_onKey")));f.set(this.domNode,{opacity:0,display:""});this._set("open",!0);this._onShow();this._size();this._position();var b;this._fadeInDeferred=new e(m.hitch(this,function(){b.stop();delete this._fadeInDeferred}));b=l.fadeIn({node:this.domNode,duration:this.duration,beforeBegin:m.hitch(this,function(){w.show(this,this.underlayAttrs)}),onEnd:m.hitch(this,function(){this.autofocus&&
w.isTop(this)&&(this._getFocusItems(this.domNode),t.focus(this._firstFocusItem));this._fadeInDeferred.resolve(!0);delete this._fadeInDeferred})}).play();return this._fadeInDeferred}},hide:function(){if(this._alreadyInitialized&&this.open){this._fadeInDeferred&&this._fadeInDeferred.cancel();var a;this._fadeOutDeferred=new e(m.hitch(this,function(){a.stop();delete this._fadeOutDeferred}));this._fadeOutDeferred.then(m.hitch(this,"onHide"));a=l.fadeOut({node:this.domNode,duration:this.duration,onEnd:m.hitch(this,
function(){this.domNode.style.display="none";w.hide(this);this._fadeOutDeferred.resolve(!0);delete this._fadeOutDeferred})}).play();if(this._scrollConnected)this._scrollConnected=!1;for(var b;b=this._modalconnects.pop();)b.remove();this._relativePosition&&delete this._relativePosition;this._set("open",!1);return this._fadeOutDeferred}},resize:function(){"none"!=this.domNode.style.display&&(E._singleton&&E._singleton.layout(),this._position(),this._size())},destroy:function(){this._fadeInDeferred&&
this._fadeInDeferred.cancel();this._fadeOutDeferred&&this._fadeOutDeferred.cancel();this._moveable&&this._moveable.destroy();for(var a;a=this._modalconnects.pop();)a.remove();w.hide(this);this.inherited(arguments)}}),A=j("dijit.Dialog",[S,u],{});A._DialogBase=u;var w=A._DialogLevelManager={_beginZIndex:950,show:function(a,b){x[x.length-1].focus=t.curNode;var c=E._singleton;!c||c._destroyed?c=B._underlay=E._singleton=new E(b):c.set(a.underlayAttrs);var d=x[x.length-1].dialog?x[x.length-1].zIndex+2:
A._DialogLevelManager._beginZIndex;1==x.length&&c.show();f.set(E._singleton.domNode,"zIndex",d-1);f.set(a.domNode,"zIndex",d);x.push({dialog:a,underlayAttrs:b,zIndex:d})},hide:function(a){if(x[x.length-1].dialog==a){x.pop();var b=x[x.length-1];E._singleton._destroyed||(1==x.length?E._singleton.hide():(f.set(E._singleton.domNode,"zIndex",b.zIndex-1),E._singleton.set(b.underlayAttrs)));if(a.refocus){a=b.focus;if(b.dialog&&(!a||!c.isDescendant(a,b.dialog.domNode)))b.dialog._getFocusItems(b.dialog.domNode),
a=b.dialog._firstFocusItem;if(a)try{a.focus()}catch(d){}}}else b=k.indexOf(k.map(x,function(a){return a.dialog}),a),-1!=b&&x.splice(b,1)},isTop:function(a){return x[x.length-1].dialog==a}},x=A._dialogStack=[{dialog:null,focus:null,underlayAttrs:null}];r("dijit-legacy-requires")&&o(0,function(){g(["dijit/TooltipDialog"])});return A})},"dojo/dnd/Moveable":function(){define("../_base/array,../_base/declare,../_base/event,../_base/lang,../dom,../dom-class,../Evented,../on,../topic,../touch,./common,./Mover,../_base/window".split(","),
function(g,k,i,j,e,c,h,b,f,a,l,d,p){return k("dojo.dnd.Moveable",[h],{handle:"",delay:0,skip:!1,constructor:function(c,f){this.node=e.byId(c);f||(f={});this.handle=f.handle?e.byId(f.handle):null;if(!this.handle)this.handle=this.node;this.delay=0<f.delay?f.delay:0;this.skip=f.skip;this.mover=f.mover?f.mover:d;this.events=[b(this.handle,a.press,j.hitch(this,"onMouseDown")),b(this.handle,"dragstart",j.hitch(this,"onSelectStart")),b(this.handle,"selectstart",j.hitch(this,"onSelectStart"))]},markupFactory:function(a,
b,c){return new c(b,a)},destroy:function(){g.forEach(this.events,function(a){a.remove()});this.events=this.node=this.handle=null},onMouseDown:function(c){if(!this.skip||!l.isFormElement(c)){if(this.delay)this.events.push(b(this.handle,a.move,j.hitch(this,"onMouseMove")),b(this.handle,a.release,j.hitch(this,"onMouseUp"))),this._lastX=c.pageX,this._lastY=c.pageY;else this.onDragDetected(c);i.stop(c)}},onMouseMove:function(a){if(Math.abs(a.pageX-this._lastX)>this.delay||Math.abs(a.pageY-this._lastY)>
this.delay)this.onMouseUp(a),this.onDragDetected(a);i.stop(a)},onMouseUp:function(a){for(var b=0;2>b;++b)this.events.pop().remove();i.stop(a)},onSelectStart:function(a){(!this.skip||!l.isFormElement(a))&&i.stop(a)},onDragDetected:function(a){new this.mover(this.node,a,this)},onMoveStart:function(a){f.publish("/dnd/move/start",a);c.add(p.body(),"dojoMove");c.add(this.node,"dojoMoveItem")},onMoveStop:function(a){f.publish("/dnd/move/stop",a);c.remove(p.body(),"dojoMove");c.remove(this.node,"dojoMoveItem")},
onFirstMove:function(){},onMove:function(a,b){this.onMoving(a,b);var c=a.node.style;c.left=b.l+"px";c.top=b.t+"px";this.onMoved(a,b)},onMoving:function(){},onMoved:function(){}})})},"dojo/dnd/common":function(){define(["../_base/connect","../_base/kernel","../_base/lang","../dom"],function(g,k,i,j){var e={};e.getCopyKeyState=g.isCopyKey;e._uniqueId=0;e.getUniqueId=function(){var c;do c=k._scopeName+"Unique"+ ++e._uniqueId;while(j.byId(c));return c};e._empty={};e.isFormElement=function(c){c=c.target;
if(3==c.nodeType)c=c.parentNode;return 0<=" button textarea input select option ".indexOf(" "+c.tagName.toLowerCase()+" ")};i.mixin(i.getObject("dojo.dnd",!0),e);return e})},"dojo/dnd/Mover":function(){define("../_base/array,../_base/declare,../_base/event,../_base/lang,../sniff,../_base/window,../dom,../dom-geometry,../dom-style,../Evented,../on,../touch,./common,./autoscroll".split(","),function(g,k,i,j,e,c,h,b,f,a,l,d,p,m){return k("dojo.dnd.Mover",[a],{constructor:function(a,b,c){this.node=h.byId(a);
this.marginBox={l:b.pageX,t:b.pageY};this.mouseButton=b.button;b=this.host=c;a=a.ownerDocument;this.events=[l(a,d.move,j.hitch(this,"onFirstMove")),l(a,d.move,j.hitch(this,"onMouseMove")),l(a,d.release,j.hitch(this,"onMouseUp")),l(a,"dragstart",i.stop),l(a.body,"selectstart",i.stop)];m.autoScrollStart(a);if(b&&b.onMoveStart)b.onMoveStart(this)},onMouseMove:function(a){m.autoScroll(a);var b=this.marginBox;this.host.onMove(this,{l:b.l+a.pageX,t:b.t+a.pageY},a);i.stop(a)},onMouseUp:function(a){(e("webkit")&&
e("mac")&&2==this.mouseButton?0==a.button:this.mouseButton==a.button)&&this.destroy();i.stop(a)},onFirstMove:function(a){var d=this.node.style,e,g=this.host;switch(d.position){case "relative":case "absolute":e=Math.round(parseFloat(d.left))||0;d=Math.round(parseFloat(d.top))||0;break;default:d.position="absolute";d=b.getMarginBox(this.node);e=c.doc.body;var h=f.getComputedStyle(e),i=b.getMarginBox(e,h),h=b.getContentBox(e,h);e=d.l-(h.l-i.l);d=d.t-(h.t-i.t)}this.marginBox.l=e-this.marginBox.l;this.marginBox.t=
d-this.marginBox.t;if(g&&g.onFirstMove)g.onFirstMove(this,a);this.events.shift().remove()},destroy:function(){g.forEach(this.events,function(a){a.remove()});var a=this.host;if(a&&a.onMoveStop)a.onMoveStop(this);this.events=this.node=this.host=null}})})},"dojo/dnd/autoscroll":function(){define("../_base/lang,../sniff,../_base/window,../dom-geometry,../dom-style,../window".split(","),function(g,k,i,j,e,c){var h={};g.setObject("dojo.dnd.autoscroll",h);h.getViewport=c.getBox;h.V_TRIGGER_AUTOSCROLL=32;
h.H_TRIGGER_AUTOSCROLL=32;h.V_AUTOSCROLL_VALUE=16;h.H_AUTOSCROLL_VALUE=16;var b,f=i.doc,a=Infinity,l=Infinity;h.autoScrollStart=function(d){f=d;b=c.getBox(f);d=i.body(f).parentNode;a=Math.max(d.scrollHeight-b.h,0);l=Math.max(d.scrollWidth-b.w,0)};h.autoScroll=function(d){var e=b||c.getBox(f),g=i.body(f).parentNode,j=0,k=0;d.clientX<h.H_TRIGGER_AUTOSCROLL?j=-h.H_AUTOSCROLL_VALUE:d.clientX>e.w-h.H_TRIGGER_AUTOSCROLL&&(j=Math.min(h.H_AUTOSCROLL_VALUE,l-g.scrollLeft));d.clientY<h.V_TRIGGER_AUTOSCROLL?
k=-h.V_AUTOSCROLL_VALUE:d.clientY>e.h-h.V_TRIGGER_AUTOSCROLL&&(k=Math.min(h.V_AUTOSCROLL_VALUE,a-g.scrollTop));window.scrollBy(j,k)};h._validNodes={div:1,p:1,td:1};h._validOverflow={auto:1,scroll:1};h.autoScrollNodes=function(a){for(var b,c,f,g,l,q,v=0,s=0,t=a.target;t;){if(1==t.nodeType&&t.tagName.toLowerCase()in h._validNodes){f=e.getComputedStyle(t);g=f.overflow.toLowerCase()in h._validOverflow;l=f.overflowX.toLowerCase()in h._validOverflow;q=f.overflowY.toLowerCase()in h._validOverflow;if(g||
l||q)b=j.getContentBox(t,f),c=j.position(t,!0);if(g||l){f=Math.min(h.H_TRIGGER_AUTOSCROLL,b.w/2);l=a.pageX-c.x;if(k("webkit")||k("opera"))l+=i.body().scrollLeft;v=0;0<l&&l<b.w&&(l<f?v=-f:l>b.w-f&&(v=f),t.scrollLeft+=v)}if(g||q){g=Math.min(h.V_TRIGGER_AUTOSCROLL,b.h/2);q=a.pageY-c.y;if(k("webkit")||k("opera"))q+=i.body().scrollTop;s=0;0<q&&q<b.h&&(q<g?s=-g:q>b.h-g&&(s=g),t.scrollTop+=s)}if(v||s)return}try{t=t.parentNode}catch(u){t=null}}h.autoScroll(a)};return h})},"dojo/dnd/TimedMoveable":function(){define(["../_base/declare",
"./Moveable"],function(g,k){var i=k.prototype.onMove;return g("dojo.dnd.TimedMoveable",k,{timeout:40,constructor:function(g,e){e||(e={});if(e.timeout&&"number"==typeof e.timeout&&0<=e.timeout)this.timeout=e.timeout},onMoveStop:function(g){g._timer&&(clearTimeout(g._timer),i.call(this,g,g._leftTop));k.prototype.onMoveStop.apply(this,arguments)},onMove:function(g,e){g._leftTop=e;if(!g._timer){var c=this;g._timer=setTimeout(function(){g._timer=null;i.call(c,g,g._leftTop)},this.timeout)}}})})},"dijit/_base/manager":function(){define(["dojo/_base/array",
"dojo/_base/config","dojo/_base/lang","../registry","../main"],function(g,k,i,j,e){var c={};g.forEach("byId,getUniqueId,findWidgets,_destroyAll,byNode,getEnclosingWidget".split(","),function(e){c[e]=j[e]});i.mixin(c,{defaultDuration:k.defaultDuration||200});i.mixin(e,c);return e})},"dijit/_DialogMixin":function(){define(["dojo/_base/declare","./a11y"],function(g,k){return g("dijit._DialogMixin",null,{execute:function(){},onCancel:function(){},onExecute:function(){},_onSubmit:function(){this.onExecute();
this.execute(this.get("value"))},_getFocusItems:function(){var g=k._getTabNavigable(this.containerNode);this._firstFocusItem=g.lowest||g.first||this.closeButtonNode||this.domNode;this._lastFocusItem=g.last||g.highest||this._firstFocusItem}})})},"dijit/DialogUnderlay":function(){define("dojo/_base/declare,dojo/dom-attr,dojo/window,./_Widget,./_TemplatedMixin,./BackgroundIframe".split(","),function(g,k,i,j,e,c){return g("dijit.DialogUnderlay",[j,e],{templateString:"<div class='dijitDialogUnderlayWrapper'><div class='dijitDialogUnderlay' data-dojo-attach-point='node'></div></div>",
dialogId:"","class":"",_setDialogIdAttr:function(c){k.set(this.node,"id",c+"_underlay");this._set("dialogId",c)},_setClassAttr:function(c){this.node.className="dijitDialogUnderlay "+c;this._set("class",c)},postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode)},layout:function(){var c=this.node.style,b=this.domNode.style;b.display="none";var f=i.getBox(this.ownerDocument);b.top=f.t+"px";b.left=f.l+"px";c.width=f.w+"px";c.height=f.h+"px";b.display="block"},show:function(){this.domNode.style.display=
"block";this.layout();this.bgIframe=new c(this.domNode)},hide:function(){this.bgIframe.destroy();delete this.bgIframe;this.domNode.style.display="none"}})})},"url:dijit/templates/Dialog.html":'<div class="dijitDialog" role="dialog" aria-labelledby="${id}_title">\n\t<div data-dojo-attach-point="titleBar" class="dijitDialogTitleBar">\n\t\t<span data-dojo-attach-point="titleNode" class="dijitDialogTitle" id="${id}_title"\n\t\t\t\trole="header" level="1"></span>\n\t\t<span data-dojo-attach-point="closeButtonNode" class="dijitDialogCloseIcon" data-dojo-attach-event="ondijitclick: onCancel" title="${buttonCancel}" role="button" tabIndex="-1">\n\t\t\t<span data-dojo-attach-point="closeText" class="closeText" title="${buttonCancel}">x</span>\n\t\t</span>\n\t</div>\n\t<div data-dojo-attach-point="containerNode" class="dijitDialogPaneContent"></div>\n</div>\n',
"dijit/layout/TabContainer":function(){define(["dojo/_base/lang","dojo/_base/declare","./_TabContainerBase","./TabController","./ScrollingTabController"],function(g,k,i,j,e){return k("dijit.layout.TabContainer",i,{useMenu:!0,useSlider:!0,controllerWidget:"",_makeController:function(c){var e=this.baseClass+"-tabs"+(this.doLayout?"":" dijitTabNoLayout");return new ("string"==typeof this.controllerWidget?g.getObject(this.controllerWidget):this.controllerWidget)({id:this.id+"_tablist",ownerDocument:this.ownerDocument,
dir:this.dir,lang:this.lang,textDir:this.textDir,tabPosition:this.tabPosition,doLayout:this.doLayout,containerId:this.id,"class":e,nested:this.nested,useMenu:this.useMenu,useSlider:this.useSlider,tabStripClass:this.tabStrip?this.baseClass+(this.tabStrip?"":"No")+"Strip":null},c)},postMixInProperties:function(){this.inherited(arguments);if(!this.controllerWidget)this.controllerWidget=("top"==this.tabPosition||"bottom"==this.tabPosition)&&!this.nested?e:j}})})},"dijit/layout/_TabContainerBase":function(){define("dojo/text!./templates/TabContainer.html,./StackContainer,./utils,../_TemplatedMixin,dojo/_base/declare,dojo/dom-class,dojo/dom-geometry,dojo/dom-style".split(","),
function(g,k,i,j,e,c,h,b){return e("dijit.layout._TabContainerBase",[k,j],{tabPosition:"top",baseClass:"dijitTabContainer",tabStrip:!1,nested:!1,templateString:g,postMixInProperties:function(){this.baseClass+=this.tabPosition.charAt(0).toUpperCase()+this.tabPosition.substr(1).replace(/-.*/,"");this.srcNodeRef&&b.set(this.srcNodeRef,"visibility","hidden");this.inherited(arguments)},buildRendering:function(){this.inherited(arguments);this.tablist=this._makeController(this.tablistNode);this.doLayout||
c.add(this.domNode,"dijitTabContainerNoLayout");this.nested?(c.add(this.domNode,"dijitTabContainerNested"),c.add(this.tablist.containerNode,"dijitTabContainerTabListNested"),c.add(this.tablistSpacer,"dijitTabContainerSpacerNested"),c.add(this.containerNode,"dijitTabPaneWrapperNested")):c.add(this.domNode,"tabStrip-"+(this.tabStrip?"enabled":"disabled"))},_setupChild:function(b){c.add(b.domNode,"dijitTabPane");this.inherited(arguments)},startup:function(){this._started||(this.tablist.startup(),this.inherited(arguments))},
layout:function(){if(this._contentBox&&"undefined"!=typeof this._contentBox.l){var b=this.selectedChildWidget;if(this.doLayout){var a=this.tabPosition.replace(/-h/,"");this.tablist.layoutAlign=a;a=[this.tablist,{domNode:this.tablistSpacer,layoutAlign:a},{domNode:this.containerNode,layoutAlign:"client"}];i.layoutChildren(this.domNode,this._contentBox,a);this._containerContentBox=i.marginBox2contentBox(this.containerNode,a[2]);b&&b.resize&&b.resize(this._containerContentBox)}else{if(this.tablist.resize){a=
this.tablist.domNode.style;a.width="0";var c=h.getContentBox(this.domNode).w;a.width="";this.tablist.resize({w:c})}b&&b.resize&&b.resize()}}},destroy:function(){this.tablist&&this.tablist.destroy();this.inherited(arguments)}})})},"url:dijit/layout/templates/TabContainer.html":'<div class="dijitTabContainer">\n\t<div class="dijitTabListWrapper" data-dojo-attach-point="tablistNode"></div>\n\t<div data-dojo-attach-point="tablistSpacer" class="dijitTabSpacer ${baseClass}-spacer"></div>\n\t<div class="dijitTabPaneWrapper ${baseClass}-container" data-dojo-attach-point="containerNode"></div>\n</div>\n',
"dijit/layout/StackContainer":function(){define("dojo/_base/array,dojo/cookie,dojo/_base/declare,dojo/dom-class,dojo/has,dojo/_base/lang,dojo/ready,dojo/topic,../registry,../_WidgetBase,./_LayoutWidget,dojo/i18n!../nls/common".split(","),function(g,k,i,j,e,c,h,b,f,a,l){e("dijit-legacy-requires")&&h(0,function(){require(["dijit/layout/StackController"])});i=i("dijit.layout.StackContainer",l,{doLayout:!0,persist:!1,baseClass:"dijitStackContainer",buildRendering:function(){this.inherited(arguments);
j.add(this.domNode,"dijitLayoutContainer");this.containerNode.setAttribute("role","tabpanel")},postCreate:function(){this.inherited(arguments);this.connect(this.domNode,"onkeypress",this._onKeyPress)},startup:function(){if(!this._started){var a=this.getChildren();g.forEach(a,this._setupChild,this);this.persist?this.selectedChildWidget=f.byId(k(this.id+"_selectedChild")):g.some(a,function(a){if(a.selected)this.selectedChildWidget=a;return a.selected},this);var c=this.selectedChildWidget;if(!c&&a[0])c=
this.selectedChildWidget=a[0],c.selected=!0;b.publish(this.id+"-startup",{children:a,selected:c});this.inherited(arguments)}},resize:function(){if(!this._hasBeenShown){this._hasBeenShown=!0;var a=this.selectedChildWidget;a&&this._showChild(a)}this.inherited(arguments)},_setupChild:function(a){this.inherited(arguments);j.replace(a.domNode,"dijitHidden","dijitVisible");a.domNode.title=""},addChild:function(a,c){this.inherited(arguments);this._started&&(b.publish(this.id+"-addChild",a,c),this.layout(),
this.selectedChildWidget||this.selectChild(a))},removeChild:function(a){this.inherited(arguments);this._started&&b.publish(this.id+"-removeChild",a);if(!this._descendantsBeingDestroyed){if(this.selectedChildWidget===a&&(this.selectedChildWidget=void 0,this._started)){var c=this.getChildren();c.length&&this.selectChild(c[0])}this._started&&this.layout()}},selectChild:function(a,c){a=f.byId(a);if(this.selectedChildWidget!=a){var e=this._transition(a,this.selectedChildWidget,c);this._set("selectedChildWidget",
a);b.publish(this.id+"-selectChild",a);this.persist&&k(this.id+"_selectedChild",this.selectedChildWidget.id)}return e},_transition:function(a,b){b&&this._hideChild(b);var c=this._showChild(a);a.resize&&(this.doLayout?a.resize(this._containerContentBox||this._contentBox):a.resize());return c},_adjacent:function(a){var b=this.getChildren(),c=g.indexOf(b,this.selectedChildWidget),c=c+(a?1:b.length-1);return b[c%b.length]},forward:function(){return this.selectChild(this._adjacent(!0),!0)},back:function(){return this.selectChild(this._adjacent(!1),
!0)},_onKeyPress:function(a){b.publish(this.id+"-containerKeyPress",{e:a,page:this})},layout:function(){var a=this.selectedChildWidget;a&&a.resize&&(this.doLayout?a.resize(this._containerContentBox||this._contentBox):a.resize())},_showChild:function(a){var b=this.getChildren();a.isFirstChild=a==b[0];a.isLastChild=a==b[b.length-1];a._set("selected",!0);j.replace(a.domNode,"dijitVisible","dijitHidden");return a._onShow&&a._onShow()||!0},_hideChild:function(a){a._set("selected",!1);j.replace(a.domNode,
"dijitHidden","dijitVisible");a.onHide&&a.onHide()},closeChild:function(a){a.onClose(this,a)&&(this.removeChild(a),a.destroyRecursive())},destroyDescendants:function(a){this._descendantsBeingDestroyed=!0;this.selectedChildWidget=void 0;g.forEach(this.getChildren(),function(b){a||this.removeChild(b);b.destroyRecursive(a)},this);this._descendantsBeingDestroyed=!1}});i.ChildWidgetProperties={selected:!1,disabled:!1,closable:!1,iconClass:"dijitNoIcon",showTitle:!0};c.extend(a,i.ChildWidgetProperties);
return i})},"dijit/layout/TabController":function(){define("dojo/_base/declare,dojo/dom,dojo/dom-attr,dojo/dom-class,dojo/i18n,dojo/_base/lang,./StackController,../registry,../Menu,../MenuItem,dojo/text!./templates/_TabButton.html,dojo/i18n!../nls/common".split(","),function(g,k,i,j,e,c,h,b,f,a,l){l=g("dijit.layout._TabButton",h.StackButton,{baseClass:"dijitTab",cssStateNodes:{closeNode:"dijitTabCloseButton"},templateString:l,scrollOnFocus:!1,buildRendering:function(){this.inherited(arguments);k.setSelectable(this.containerNode,
!1)},startup:function(){this.inherited(arguments);var a=this.domNode;this.defer(function(){a.className=a.className},1)},_setCloseButtonAttr:function(a){this._set("closeButton",a);j.toggle(this.domNode,"dijitClosable",a);this.closeNode.style.display=a?"":"none";a&&(a=e.getLocalization("dijit","common"),this.closeNode&&i.set(this.closeNode,"title",a.itemClose))},_setDisabledAttr:function(a){this.inherited(arguments);if(this.closeNode)if(a)i.remove(this.closeNode,"title");else{var b=e.getLocalization("dijit",
"common");i.set(this.closeNode,"title",b.itemClose)}},_setLabelAttr:function(a){this.inherited(arguments);if(!this.showLabel&&!this.params.title)this.iconNode.alt=c.trim(this.containerNode.innerText||this.containerNode.textContent||"")}});g=g("dijit.layout.TabController",h,{baseClass:"dijitTabController",templateString:"<div role='tablist' data-dojo-attach-event='onkeypress:onkeypress'></div>",tabPosition:"top",buttonWidget:l,buttonWidgetCloseClass:"dijitTabCloseButton",postCreate:function(){this.inherited(arguments);
var c=new f({id:this.id+"_Menu",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,targetNodeIds:[this.domNode],selector:function(a){return j.contains(a,"dijitClosable")&&!j.contains(a,"dijitTabDisabled")}});this.own(c);var g=e.getLocalization("dijit","common"),h=this;c.addChild(new a({label:g.itemClose,ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir,onClick:function(){var a=b.byNode(this.getParent().currentTarget);h.onCloseButtonClick(a.page)}}))}});
g.TabButton=l;return g})},"dijit/layout/StackController":function(){define("dojo/_base/array,dojo/_base/declare,dojo/dom-class,dojo/_base/event,dojo/keys,dojo/_base/lang,dojo/on,../focus,../registry,../_Widget,../_TemplatedMixin,../_Container,../form/ToggleButton,dojo/i18n!../nls/common".split(","),function(g,k,i,j,e,c,h,b,f,a,l,d,p){p=k("dijit.layout._StackButton",p,{tabIndex:"-1",closeButton:!1,_aria_attr:"aria-selected",buildRendering:function(a){this.inherited(arguments);(this.focusNode||this.domNode).setAttribute("role",
"tab")}});k=k("dijit.layout.StackController",[a,l,d],{baseClass:"dijitStackController",templateString:"<span role='tablist' data-dojo-attach-event='onkeypress'></span>",containerId:"",buttonWidget:p,buttonWidgetCloseClass:"dijitStackCloseButton",constructor:function(){this.pane2button={}},postCreate:function(){this.inherited(arguments);this.subscribe(this.containerId+"-startup","onStartup");this.subscribe(this.containerId+"-addChild","onAddChild");this.subscribe(this.containerId+"-removeChild","onRemoveChild");
this.subscribe(this.containerId+"-selectChild","onSelectChild");this.subscribe(this.containerId+"-containerKeyPress","onContainerKeyPress");this.connect(this.containerNode,"click",function(a){var b=f.getEnclosingWidget(a.target);if(b!=this.containerNode&&!b.disabled&&b.page)for(a=a.target;a!==this.containerNode;a=a.parentNode)if(i.contains(a,this.buttonWidgetCloseClass)){this.onCloseButtonClick(b.page);break}else if(a==b.domNode){this.onButtonClick(b.page);break}})},onStartup:function(a){g.forEach(a.children,
this.onAddChild,this);if(a.selected)this.onSelectChild(a.selected);var b=f.byId(this.containerId).containerNode,c=this.pane2button,a={title:"label",showtitle:"showLabel",iconclass:"iconClass",closable:"closeButton",tooltip:"title",disabled:"disabled"},d=function(a,d){return h(b,"attrmodified-"+a,function(a){var b=c[a.detail&&a.detail.widget&&a.detail.widget.id];b&&b.set(d,a.detail.newValue)})},e;for(e in a)this.own(d(e,a[e]))},destroy:function(){for(var a in this.pane2button)this.onRemoveChild(f.byId(a));
this.inherited(arguments)},onAddChild:function(a,b){var d=new (c.isString(this.buttonWidget)?c.getObject(this.buttonWidget):this.buttonWidget)({id:this.id+"_"+a.id,name:this.id+"_"+a.id,label:a.title,disabled:a.disabled,ownerDocument:this.ownerDocument,dir:a.dir,lang:a.lang,textDir:a.textDir,showLabel:a.showTitle,iconClass:a.iconClass,closeButton:a.closable,title:a.tooltip,page:a});this.addChild(d,b);this.pane2button[a.id]=d;a.controlButton=d;if(!this._currentChild)this.onSelectChild(a)},onRemoveChild:function(a){if(this._currentChild===
a)this._currentChild=null;var b=this.pane2button[a.id];b&&(this.removeChild(b),delete this.pane2button[a.id],b.destroy());delete a.controlButton},onSelectChild:function(a){if(a){if(this._currentChild){var b=this.pane2button[this._currentChild.id];b.set("checked",!1);b.focusNode.setAttribute("tabIndex","-1")}b=this.pane2button[a.id];b.set("checked",!0);this._currentChild=a;b.focusNode.setAttribute("tabIndex","0");f.byId(this.containerId).containerNode.setAttribute("aria-labelledby",b.id)}},onButtonClick:function(a){var c=
this.pane2button[a.id];b.focus(c.focusNode);this._currentChild&&this._currentChild.id===a.id&&c.set("checked",!0);f.byId(this.containerId).selectChild(a)},onCloseButtonClick:function(a){f.byId(this.containerId).closeChild(a);this._currentChild&&(a=this.pane2button[this._currentChild.id])&&b.focus(a.focusNode||a.domNode)},adjacent:function(a){if(!this.isLeftToRight()&&(!this.tabPosition||/top|bottom/.test(this.tabPosition)))a=!a;var b=this.getChildren(),c=g.indexOf(b,this.pane2button[this._currentChild.id]),
d=b[c],f;do c=(c+(a?1:b.length-1))%b.length,f=b[c];while(f.disabled&&f!=d);return f},onkeypress:function(a){if(!this.disabled&&!a.altKey){var b=null;if(a.ctrlKey||!a._djpage){switch(a.charOrCode){case e.LEFT_ARROW:case e.UP_ARROW:a._djpage||(b=!1);break;case e.PAGE_UP:a.ctrlKey&&(b=!1);break;case e.RIGHT_ARROW:case e.DOWN_ARROW:a._djpage||(b=!0);break;case e.PAGE_DOWN:a.ctrlKey&&(b=!0);break;case e.HOME:for(var c=this.getChildren(),d=0;d<c.length;d++){var f=c[d];if(!f.disabled){this.onButtonClick(f.page);
break}}j.stop(a);break;case e.END:c=this.getChildren();for(d=c.length-1;0<=d;d--)if(f=c[d],!f.disabled){this.onButtonClick(f.page);break}j.stop(a);break;case e.DELETE:if(this._currentChild.closable)this.onCloseButtonClick(this._currentChild);j.stop(a);break;default:if(a.ctrlKey)if(a.charOrCode===e.TAB)this.onButtonClick(this.adjacent(!a.shiftKey).page),j.stop(a);else if("w"==a.charOrCode){if(this._currentChild.closable)this.onCloseButtonClick(this._currentChild);j.stop(a)}}null!==b&&(this.onButtonClick(this.adjacent(b).page),
j.stop(a))}}},onContainerKeyPress:function(a){a.e._djpage=a.page;this.onkeypress(a.e)}});k.StackButton=p;return k})},"dijit/form/ToggleButton":function(){define(["dojo/_base/declare","dojo/_base/kernel","./Button","./_ToggleButtonMixin"],function(g,k,i,j){return g("dijit.form.ToggleButton",[i,j],{baseClass:"dijitToggleButton",setChecked:function(e){k.deprecated("setChecked("+e+") is deprecated. Use set('checked',"+e+") instead.","","2.0");this.set("checked",e)}})})},"dijit/form/_ToggleButtonMixin":function(){define(["dojo/_base/declare",
"dojo/dom-attr"],function(g,k){return g("dijit.form._ToggleButtonMixin",null,{checked:!1,_aria_attr:"aria-pressed",_onClick:function(g){var j=this.checked;this._set("checked",!j);var e=this.inherited(arguments);this.set("checked",e?this.checked:j);return e},_setCheckedAttr:function(g,j){this._set("checked",g);k.set(this.focusNode||this.domNode,"checked",g);(this.focusNode||this.domNode).setAttribute(this._aria_attr,g?"true":"false");this._handleOnChange(g,j)},reset:function(){this._hasBeenBlurred=
!1;this.set("checked",this.params.checked||!1)}})})},"url:dijit/layout/templates/_TabButton.html":'<div role="presentation" data-dojo-attach-point="titleNode,innerDiv,tabContent" class="dijitTabInner dijitTabContent">\n\t<img src="${_blankGif}" alt="" class="dijitIcon dijitTabButtonIcon" data-dojo-attach-point=\'iconNode\'/>\n\t<span data-dojo-attach-point=\'containerNode,focusNode\' class=\'tabLabel\'></span>\n\t<span class="dijitInline dijitTabCloseButton dijitTabCloseIcon" data-dojo-attach-point=\'closeNode\'\n\t\t  role="presentation">\n\t\t<span data-dojo-attach-point=\'closeText\' class=\'dijitTabCloseText\'>[x]</span\n\t\t\t\t></span>\n</div>\n',
"dijit/layout/ScrollingTabController":function(){define("dojo/_base/array,dojo/_base/declare,dojo/dom-class,dojo/dom-geometry,dojo/dom-style,dojo/_base/fx,dojo/_base/lang,dojo/on,dojo/query,dojo/sniff,../registry,dojo/text!./templates/ScrollingTabController.html,dojo/text!./templates/_ScrollingTabControllerButton.html,./TabController,./utils,../_WidgetsInTemplateMixin,../Menu,../MenuItem,../form/Button,../_HasDropDown,dojo/NodeList-dom".split(","),function(g,k,i,j,e,c,h,b,f,a,l,d,p,m,n,o,r,q,v,s){d=
k("dijit.layout.ScrollingTabController",[m,o],{baseClass:"dijitTabController dijitScrollingTabController",templateString:d,useMenu:!0,useSlider:!0,tabStripClass:"",widgetsInTemplate:!0,_minScroll:5,_setClassAttr:{node:"containerNode",type:"class"},buildRendering:function(){this.inherited(arguments);var a=this.domNode;this.scrollNode=this.tablistWrapper;this._initButtons();if(!this.tabStripClass)this.tabStripClass="dijitTabContainer"+this.tabPosition.charAt(0).toUpperCase()+this.tabPosition.substr(1).replace(/-.*/,
"")+"None",i.add(a,"tabStrip-disabled");i.add(this.tablistWrapper,this.tabStripClass)},onStartup:function(){this.inherited(arguments);e.set(this.domNode,"visibility","");this._postStartup=!0;this.own(b(this.containerNode,"attrmodified-label, attrmodified-iconclass",h.hitch(this,function(){this._dim&&this.resize(this._dim)})))},onAddChild:function(a,b){this.inherited(arguments);e.set(this.containerNode,"width",e.get(this.containerNode,"width")+200+"px")},onRemoveChild:function(a,b){if(this._selectedTab===
this.pane2button[a.id].domNode)this._selectedTab=null;this.inherited(arguments)},_initButtons:function(){this._btnWidth=0;this._buttons=f("> .tabStripButton",this.domNode).filter(function(a){if(this.useMenu&&a==this._menuBtn.domNode||this.useSlider&&(a==this._rightBtn.domNode||a==this._leftBtn.domNode))return this._btnWidth+=j.getMarginSize(a).w,!0;e.set(a,"display","none");return!1},this)},_getTabsWidth:function(){var a=this.getChildren();if(a.length){var b=a[this.isLeftToRight()?0:a.length-1].domNode,
a=a[this.isLeftToRight()?a.length-1:0].domNode;return a.offsetLeft+a.offsetWidth-b.offsetLeft}return 0},_enableBtn:function(a){var b=this._getTabsWidth(),a=a||e.get(this.scrollNode,"width");return 0<b&&a<b},resize:function(a){this._dim=a;this.scrollNode.style.height="auto";var b=this._contentBox=n.marginBox2contentBox(this.domNode,{h:0,w:a.w});b.h=this.scrollNode.offsetHeight;j.setContentSize(this.domNode,b);this._buttons.style("display",this._enableBtn(this._contentBox.w)?"":"none");this._leftBtn.layoutAlign=
"left";this._rightBtn.layoutAlign="right";this._menuBtn.layoutAlign=this.isLeftToRight()?"right":"left";n.layoutChildren(this.domNode,this._contentBox,[this._menuBtn,this._leftBtn,this._rightBtn,{domNode:this.scrollNode,layoutAlign:"client"}]);if(this._selectedTab)this._anim&&"playing"==this._anim.status()&&this._anim.stop(),this.scrollNode.scrollLeft=this._convertToScrollLeft(this._getScrollForSelectedTab());this._setButtonClass(this._getScroll());this._postResize=!0;return{h:this._contentBox.h,
w:a.w}},_getScroll:function(){return this.isLeftToRight()||8>a("ie")||a("ie")&&a("quirks")||a("webkit")?this.scrollNode.scrollLeft:e.get(this.containerNode,"width")-e.get(this.scrollNode,"width")+(8<=a("ie")?-1:1)*this.scrollNode.scrollLeft},_convertToScrollLeft:function(b){if(this.isLeftToRight()||8>a("ie")||a("ie")&&a("quirks")||a("webkit"))return b;var c=e.get(this.containerNode,"width")-e.get(this.scrollNode,"width");return(8<=a("ie")?-1:1)*(b-c)},onSelectChild:function(a){var b=this.pane2button[a.id];
if(b&&a){b=b.domNode;if(b!=this._selectedTab&&(this._selectedTab=b,this._postResize)){var c=this._getScroll();(c>b.offsetLeft||c+e.get(this.scrollNode,"width")<b.offsetLeft+e.get(b,"width"))&&this.createSmoothScroll().play()}this.inherited(arguments)}},_getScrollBounds:function(){var a=this.getChildren(),b=e.get(this.scrollNode,"width"),c=e.get(this.containerNode,"width")-b,d=this._getTabsWidth();if(a.length&&d>b)return{min:this.isLeftToRight()?0:a[a.length-1].domNode.offsetLeft,max:this.isLeftToRight()?
a[a.length-1].domNode.offsetLeft+a[a.length-1].domNode.offsetWidth-b:c};a=this.isLeftToRight()?0:c;return{min:a,max:a}},_getScrollForSelectedTab:function(){var a=this._selectedTab,b=e.get(this.scrollNode,"width"),c=this._getScrollBounds(),a=a.offsetLeft+e.get(a,"width")/2-b/2;return a=Math.min(Math.max(a,c.min),c.max)},createSmoothScroll:function(a){if(0<arguments.length)var b=this._getScrollBounds(),a=Math.min(Math.max(a,b.min),b.max);else a=this._getScrollForSelectedTab();this._anim&&"playing"==
this._anim.status()&&this._anim.stop();var d=this,f=this.scrollNode,e=new c.Animation({beforeBegin:function(){this.curve&&delete this.curve;var b=f.scrollLeft,g=d._convertToScrollLeft(a);e.curve=new c._Line(b,g)},onAnimate:function(a){f.scrollLeft=a}});this._anim=e;this._setButtonClass(a);return e},_getBtnNode:function(a){for(a=a.target;a&&!i.contains(a,"tabStripButton");)a=a.parentNode;return a},doSlideRight:function(a){this.doSlide(1,this._getBtnNode(a))},doSlideLeft:function(a){this.doSlide(-1,
this._getBtnNode(a))},doSlide:function(a,b){if(!b||!i.contains(b,"dijitTabDisabled")){var c=0.75*e.get(this.scrollNode,"width")*a,c=this._getScroll()+c;this._setButtonClass(c);this.createSmoothScroll(c).play()}},_setButtonClass:function(a){var b=this._getScrollBounds();this._leftBtn.set("disabled",a<=b.min);this._rightBtn.set("disabled",a>=b.max)}});p=k("dijit.layout._ScrollingTabControllerButtonMixin",null,{baseClass:"dijitTab tabStripButton",templateString:p,tabIndex:"",isFocusable:function(){return!1}});
k("dijit.layout._ScrollingTabControllerButton",[v,p]);k("dijit.layout._ScrollingTabControllerMenuButton",[v,s,p],{containerId:"",tabIndex:"-1",isLoaded:function(){return!1},loadDropDown:function(a){this.dropDown=new r({id:this.containerId+"_menu",ownerDocument:this.ownerDocument,dir:this.dir,lang:this.lang,textDir:this.textDir});var b=l.byId(this.containerId);g.forEach(b.getChildren(),function(a){this.dropDown.addChild(new q({id:a.id+"_stcMi",label:a.title,iconClass:a.iconClass,disabled:a.disabled,
ownerDocument:this.ownerDocument,dir:a.dir,lang:a.lang,textDir:a.textDir,onClick:function(){b.selectChild(a)}}))},this);a()},closeDropDown:function(a){this.inherited(arguments);this.dropDown&&(this.dropDown.destroyRecursive(),delete this.dropDown)}});return d})},"url:dijit/layout/templates/ScrollingTabController.html":'<div class="dijitTabListContainer-${tabPosition}" style="visibility:hidden">\n\t<div data-dojo-type="dijit.layout._ScrollingTabControllerMenuButton"\n\t\t\tclass="tabStripButton-${tabPosition}"\n\t\t\tid="${id}_menuBtn"\n\t\t\tdata-dojo-props="containerId: \'${containerId}\', iconClass: \'dijitTabStripMenuIcon\',\n\t\t\t\t\tdropDownPosition: [\'below-alt\', \'above-alt\']"\n\t\t\tdata-dojo-attach-point="_menuBtn" showLabel="false" title="">&#9660;</div>\n\t<div data-dojo-type="dijit.layout._ScrollingTabControllerButton"\n\t\t\tclass="tabStripButton-${tabPosition}"\n\t\t\tid="${id}_leftBtn"\n\t\t\tdata-dojo-props="iconClass:\'dijitTabStripSlideLeftIcon\', showLabel:false, title:\'\'"\n\t\t\tdata-dojo-attach-point="_leftBtn" data-dojo-attach-event="onClick: doSlideLeft">&#9664;</div>\n\t<div data-dojo-type="dijit.layout._ScrollingTabControllerButton"\n\t\t\tclass="tabStripButton-${tabPosition}"\n\t\t\tid="${id}_rightBtn"\n\t\t\tdata-dojo-props="iconClass:\'dijitTabStripSlideRightIcon\', showLabel:false, title:\'\'"\n\t\t\tdata-dojo-attach-point="_rightBtn" data-dojo-attach-event="onClick: doSlideRight">&#9654;</div>\n\t<div class=\'dijitTabListWrapper\' data-dojo-attach-point=\'tablistWrapper\'>\n\t\t<div role=\'tablist\' data-dojo-attach-event=\'onkeypress:onkeypress\'\n\t\t\t\tdata-dojo-attach-point=\'containerNode\' class=\'nowrapTabStrip\'></div>\n\t</div>\n</div>',
"url:dijit/layout/templates/_ScrollingTabControllerButton.html":'<div data-dojo-attach-event="onclick:_onClick" class="dijitTabInnerDiv dijitTabContent dijitButtonContents"  data-dojo-attach-point="focusNode">\n\t<img role="presentation" alt="" src="${_blankGif}" class="dijitTabStripIcon" data-dojo-attach-point="iconNode"/>\n\t<span data-dojo-attach-point="containerNode,titleNode" class="dijitButtonText"></span>\n</div>',"dijit/_WidgetsInTemplateMixin":function(){define(["dojo/_base/array","dojo/_base/declare",
"dojo/parser"],function(g,k,i){return k("dijit._WidgetsInTemplateMixin",null,{_earlyTemplatedStartup:!1,widgetsInTemplate:!0,_beforeFillContent:function(){if(this.widgetsInTemplate){var g=this._startupWidgets=i.parse(this.domNode,{noStart:!this._earlyTemplatedStartup,template:!0,inherited:{dir:this.dir,lang:this.lang,textDir:this.textDir},propsThis:this,scope:"dojo"});if(!g.isFulfilled())throw Error(this.declaredClass+": parser returned unfilled promise (probably waiting for module auto-load), unsupported by _WidgetsInTemplateMixin.   Must pre-load all supporting widgets before instantiation.");
this._attachTemplateNodes(g,function(e,c){return e[c]})}},startup:function(){g.forEach(this._startupWidgets,function(g){g&&!g._started&&g.startup&&g.startup()});this.inherited(arguments)}})})},"dijit/_HasDropDown":function(){define("dojo/_base/declare,dojo/_base/Deferred,dojo/_base/event,dojo/dom,dojo/dom-attr,dojo/dom-class,dojo/dom-geometry,dojo/dom-style,dojo/has,dojo/keys,dojo/_base/lang,dojo/on,dojo/window,./registry,./focus,./popup,./_FocusMixin".split(","),function(g,k,i,j,e,c,h,b,f,a,l,d,
p,m,n,o,r){return g("dijit._HasDropDown",r,{_buttonNode:null,_arrowWrapperNode:null,_popupStateNode:null,_aroundNode:null,dropDown:null,autoWidth:!0,forceWidth:!1,maxHeight:0,dropDownPosition:["below","above"],_stopClickEvents:!0,_onDropDownMouseDown:function(a){if(!this.disabled&&!this.readOnly)a.preventDefault(),this._docHandler=this.connect(this.ownerDocument,"mouseup","_onDropDownMouseUp"),this.toggleDropDown()},_onDropDownMouseUp:function(a){a&&this._docHandler&&this.disconnect(this._docHandler);
var b=this.dropDown,d=!1;if(a&&this._opened){var e=h.position(this._buttonNode,!0);if(!(a.pageX>=e.x&&a.pageX<=e.x+e.w)||!(a.pageY>=e.y&&a.pageY<=e.y+e.h)){for(e=a.target;e&&!d;)c.contains(e,"dijitPopup")?d=!0:e=e.parentNode;if(d){e=a.target;if(b.onItemClick){for(var g;e&&!(g=m.byNode(e));)e=e.parentNode;if(g&&g.onClick&&g.getParent)g.getParent().onItemClick(g,a)}return}}}if(this._opened){if(b.focus&&!1!==b.autoFocus)this._focusDropDownTimer=this.defer(function(){b.focus();delete this._focusDropDownTimer})}else this.defer("focus");
if(f("ios"))this._justGotMouseUp=!0,this.defer(function(){this._justGotMouseUp=!1})},_onDropDownClick:function(a){f("touch")&&!this._justGotMouseUp&&(this._onDropDownMouseDown(a),this._onDropDownMouseUp(a));this._stopClickEvents&&i.stop(a)},buildRendering:function(){this.inherited(arguments);this._buttonNode=this._buttonNode||this.focusNode||this.domNode;this._popupStateNode=this._popupStateNode||this.focusNode||this._buttonNode;var a={after:this.isLeftToRight()?"Right":"Left",before:this.isLeftToRight()?
"Left":"Right",above:"Up",below:"Down",left:"Left",right:"Right"}[this.dropDownPosition[0]]||this.dropDownPosition[0]||"Down";c.add(this._arrowWrapperNode||this._buttonNode,"dijit"+a+"ArrowButton")},postCreate:function(){this.inherited(arguments);this.own(d(this._buttonNode,"mousedown",l.hitch(this,"_onDropDownMouseDown")),d(this._buttonNode,"click",l.hitch(this,"_onDropDownClick")),d(this.focusNode,"keydown",l.hitch(this,"_onKey")),d(this.focusNode,"keyup",l.hitch(this,"_onKeyUp")))},destroy:function(){this.dropDown&&
(this.dropDown._destroyed||this.dropDown.destroyRecursive(),delete this.dropDown);this.inherited(arguments)},_onKey:function(b){if(!this.disabled&&!this.readOnly){var c=this.dropDown,d=b.target;if(c&&this._opened&&c.handleKey&&!1===c.handleKey(b))i.stop(b);else if(c&&this._opened&&b.keyCode==a.ESCAPE)this.closeDropDown(),i.stop(b);else if(!this._opened&&(b.keyCode==a.DOWN_ARROW||(b.keyCode==a.ENTER||b.keyCode==a.SPACE)&&("input"!==(d.tagName||"").toLowerCase()||d.type&&"text"!==d.type.toLowerCase())))this._toggleOnKeyUp=
!0,i.stop(b)}},_onKeyUp:function(){if(this._toggleOnKeyUp){delete this._toggleOnKeyUp;this.toggleDropDown();var a=this.dropDown;a&&a.focus&&this.defer(l.hitch(a,"focus"),1)}},_onBlur:function(){this.closeDropDown(n.curNode&&this.dropDown&&j.isDescendant(n.curNode,this.dropDown.domNode));this.inherited(arguments)},isLoaded:function(){return!0},loadDropDown:function(a){a()},loadAndOpenDropDown:function(){var a=new k,b=l.hitch(this,function(){this.openDropDown();a.resolve(this.dropDown)});this.isLoaded()?
b():this.loadDropDown(b);return a},toggleDropDown:function(){!this.disabled&&!this.readOnly&&(this._opened?this.closeDropDown():this.loadAndOpenDropDown())},openDropDown:function(){var a=this.dropDown,d=a.domNode,f=this._aroundNode||this.domNode,g=this;if(!this._preparedNode){this._preparedNode=!0;if(d.style.width)this._explicitDDWidth=!0;if(d.style.height)this._explicitDDHeight=!0}if(this.maxHeight||this.forceWidth||this.autoWidth){var i={display:"",visibility:"hidden"};if(!this._explicitDDWidth)i.width=
"";if(!this._explicitDDHeight)i.height="";b.set(d,i);i=this.maxHeight;if(-1==i)var i=p.getBox(this.ownerDocument),j=h.position(f,!1),i=Math.floor(Math.max(j.y,i.h-(j.y+j.h)));o.moveOffScreen(a);a.startup&&!a._started&&a.startup();var j=h.getMarginSize(d),k=i&&j.h>i;b.set(d,{overflowX:"visible",overflowY:k?"auto":"visible"});k?(j.h=i,"w"in j&&(j.w+=16)):delete j.h;this.forceWidth?j.w=f.offsetWidth:this.autoWidth?j.w=Math.max(j.w,f.offsetWidth):delete j.w;l.isFunction(a.resize)?a.resize(j):h.setMarginBox(d,
j)}a=o.open({parent:this,popup:a,around:f,orient:this.dropDownPosition,onExecute:function(){g.closeDropDown(!0)},onCancel:function(){g.closeDropDown(!0)},onClose:function(){e.set(g._popupStateNode,"popupActive",!1);c.remove(g._popupStateNode,"dijitHasDropDownOpen");g._set("_opened",!1)}});e.set(this._popupStateNode,"popupActive","true");c.add(this._popupStateNode,"dijitHasDropDownOpen");this._set("_opened",!0);this.domNode.setAttribute("aria-expanded","true");return a},closeDropDown:function(a){this._focusDropDownTimer&&
(this._focusDropDownTimer.remove(),delete this._focusDropDownTimer);if(this._opened)this.domNode.setAttribute("aria-expanded","false"),a&&this.focus(),o.close(this.dropDown),this._opened=!1}})})},"dijit/form/RadioButton":function(){define(["dojo/_base/declare","./CheckBox","./_RadioButtonMixin"],function(g,k,i){return g("dijit.form.RadioButton",[k,i],{baseClass:"dijitRadio"})})},"dijit/form/CheckBox":function(){define("require,dojo/_base/declare,dojo/dom-attr,dojo/has,dojo/query,dojo/ready,./ToggleButton,./_CheckBoxMixin,dojo/text!./templates/CheckBox.html,dojo/NodeList-dom".split(","),
function(g,k,i,j,e,c,h,b,f){j("dijit-legacy-requires")&&c(0,function(){g(["dijit/form/RadioButton"])});return k("dijit.form.CheckBox",[h,b],{templateString:f,baseClass:"dijitCheckBox",_setValueAttr:function(a,b){"string"==typeof a&&(this.inherited(arguments),a=!0);this._created&&this.set("checked",a,b)},_getValueAttr:function(){return this.checked?this.value:!1},_setIconClassAttr:null,postMixInProperties:function(){this.inherited(arguments);this.checkedAttrSetting=this.checked?"checked":""},_fillContent:function(){},
_onFocus:function(){this.id&&e("label[for='"+this.id+"']").addClass("dijitFocusedLabel");this.inherited(arguments)},_onBlur:function(){this.id&&e("label[for='"+this.id+"']").removeClass("dijitFocusedLabel");this.inherited(arguments)}})})},"dijit/form/_CheckBoxMixin":function(){define(["dojo/_base/declare","dojo/dom-attr","dojo/_base/event"],function(g,k,i){return g("dijit.form._CheckBoxMixin",null,{type:"checkbox",value:"on",readOnly:!1,_aria_attr:"aria-checked",_setReadOnlyAttr:function(g){this._set("readOnly",
g);k.set(this.focusNode,"readOnly",g);this.focusNode.setAttribute("aria-readonly",g)},_setLabelAttr:void 0,_getSubmitValue:function(g){return!g&&0!==g?"on":g},_setValueAttr:function(g){g=this._getSubmitValue(g);this._set("value",g);k.set(this.focusNode,"value",g)},reset:function(){this.inherited(arguments);this._set("value",this.params.value||"on");k.set(this.focusNode,"value",this.value)},_onClick:function(g){return this.readOnly?(i.stop(g),!1):this.inherited(arguments)}})})},"url:dijit/form/templates/CheckBox.html":'<div class="dijit dijitReset dijitInline" role="presentation"\n\t><input\n\t \t${!nameAttrSetting} type="${type}" ${checkedAttrSetting}\n\t\tclass="dijitReset dijitCheckBoxInput"\n\t\tdata-dojo-attach-point="focusNode"\n\t \tdata-dojo-attach-event="onclick:_onClick"\n/></div>\n',
"dijit/form/_RadioButtonMixin":function(){define("dojo/_base/array,dojo/_base/declare,dojo/dom-attr,dojo/_base/event,dojo/_base/lang,dojo/query,../registry".split(","),function(g,k,i,j,e,c,h){return k("dijit.form._RadioButtonMixin",null,{type:"radio",_getRelatedWidgets:function(){var b=[];c("input[type=radio]",this.focusNode.form||this.ownerDocument).forEach(e.hitch(this,function(c){c.name==this.name&&c.form==this.focusNode.form&&(c=h.getEnclosingWidget(c))&&b.push(c)}));return b},_setCheckedAttr:function(b){this.inherited(arguments);
this._created&&b&&g.forEach(this._getRelatedWidgets(),e.hitch(this,function(b){b!=this&&b.checked&&b.set("checked",!1)}))},_getSubmitValue:function(b){return null===b?"on":b},_onClick:function(b){if(this.checked||this.disabled)return j.stop(b),!1;return this.readOnly?(j.stop(b),g.forEach(this._getRelatedWidgets(),e.hitch(this,function(b){i.set(this.focusNode||this.domNode,"checked",b.checked)})),!1):this.inherited(arguments)}})})},"dijit/form/Select":function(){define("dojo/_base/array,dojo/_base/declare,dojo/dom-attr,dojo/dom-class,dojo/dom-geometry,dojo/_base/event,dojo/i18n,dojo/_base/lang,dojo/sniff,./_FormSelectWidget,../_HasDropDown,../Menu,../MenuItem,../MenuSeparator,../Tooltip,dojo/text!./templates/Select.html,dojo/i18n!./nls/validate".split(","),
function(g,k,i,j,e,c,h,b,f,a,l,d,p,m,n,o){var r=k("dijit.form._SelectMenu",d,{autoFocus:!0,buildRendering:function(){this.inherited(arguments);var a=this.menuTableNode=this.domNode,b=this.domNode=this.ownerDocument.createElement("div");b.style.cssText="overflow-x: hidden; overflow-y: scroll";a.parentNode&&a.parentNode.replaceChild(b,a);j.remove(a,"dijitMenuTable");b.className=a.className+" dijitSelectMenu";a.className="dijitReset dijitMenuTable";a.setAttribute("role","listbox");b.setAttribute("role",
"presentation");b.appendChild(a)},postCreate:function(){this.inherited(arguments);this.connect(this.domNode,"onselectstart",c.stop)},focus:function(){var a=!1,c=this.parentWidget.value;b.isArray(c)&&(c=c[c.length-1]);c&&g.forEach(this.parentWidget._getChildren(),function(b){b.option&&c===b.option.value&&(a=!0,this.focusChild(b,!1))},this);a||this.inherited(arguments)},resize:function(a){if(a&&(e.setMarginBox(this.domNode,a),"w"in a))this.menuTableNode.style.width="100%"}}),k=k("dijit.form.Select",
[a,l],{baseClass:"dijitSelect dijitValidationTextBox",templateString:o,_buttonInputDisabled:f("ie")?"disabled":"",required:!1,state:"",message:"",tooltipPosition:[],emptyLabel:"&#160;",_isLoaded:!1,_childrenLoaded:!1,_fillContent:function(){this.inherited(arguments);if(this.options.length&&!this.value&&this.srcNodeRef){var a=this.srcNodeRef.selectedIndex||0;this.value=this.options[0<=a?a:0].value}this.dropDown=new r({id:this.id+"_menu",parentWidget:this});j.add(this.dropDown.domNode,this.baseClass.replace(/\s+|$/g,
"Menu "))},_getMenuItemForOption:function(a){if(!a.value&&!a.label)return new m({ownerDocument:this.ownerDocument});var c=b.hitch(this,"_setValueAttr",a),a=new p({option:a,label:a.label||this.emptyLabel,onClick:c,ownerDocument:this.ownerDocument,dir:this.dir,disabled:a.disabled||!1});a.focusNode.setAttribute("role","option");return a},_addOptionItem:function(a){this.dropDown&&this.dropDown.addChild(this._getMenuItemForOption(a))},_getChildren:function(){return!this.dropDown?[]:this.dropDown.getChildren()},
_loadChildren:function(a){!0===a?(this.dropDown&&delete this.dropDown.focusedChild,this.options.length?this.inherited(arguments):(g.forEach(this._getChildren(),function(a){a.destroyRecursive()}),this.dropDown.addChild(new p({ownerDocument:this.ownerDocument,label:this.emptyLabel})))):this._updateSelection();this._isLoaded=!1;this._childrenLoaded=!0;this._loadingStore||this._setValueAttr(this.value,!1)},_refreshState:function(){this._started&&this.validate(this.focused)},startup:function(){this.inherited(arguments);
this._refreshState()},_setValueAttr:function(a){this.inherited(arguments);i.set(this.valueNode,"value",this.get("value"));this._refreshState()},_setDisabledAttr:function(a){this.inherited(arguments);this._refreshState()},_setRequiredAttr:function(a){this._set("required",a);this.focusNode.setAttribute("aria-required",a);this._refreshState()},_setOptionsAttr:function(a){this._isLoaded=!1;this._set("options",a)},_setDisplay:function(a){a=a||this.emptyLabel;this.containerNode.innerHTML='<span role="option" class="dijitReset dijitInline '+
this.baseClass.replace(/\s+|$/g,"Label ")+'">'+a+"</span>"},validate:function(a){a=this.disabled||this.isValid(a);this._set("state",a?"":this._hasBeenBlurred?"Error":"Incomplete");this.focusNode.setAttribute("aria-invalid",a?"false":"true");var b=a?"":this._missingMsg;b&&this.focused&&this._hasBeenBlurred?n.show(b,this.domNode,this.tooltipPosition,!this.isLeftToRight()):n.hide(this.domNode);this._set("message",b);return a},isValid:function(){return!this.required||0===this.value||!/^\s*$/.test(this.value||
"")},reset:function(){this.inherited(arguments);n.hide(this.domNode);this._refreshState()},postMixInProperties:function(){this.inherited(arguments);this._missingMsg=h.getLocalization("dijit.form","validate",this.lang).missingMessage},postCreate:function(){this.inherited(arguments);this.connect(this.domNode,"onselectstart",c.stop);this.domNode.setAttribute("aria-expanded","false");9>f("ie")&&this.defer(function(){try{var a=domStyle.getComputedStyle(this.domNode);if(a){var b=a.fontFamily;if(b){var c=
this.domNode.getElementsByTagName("INPUT");if(c)for(a=0;a<c.length;a++)c[a].style.fontFamily=b}}}catch(d){}})},_setStyleAttr:function(a){this.inherited(arguments);j.toggle(this.domNode,this.baseClass.replace(/\s+|$/g,"FixedWidth "),!!this.domNode.style.width)},isLoaded:function(){return this._isLoaded},loadDropDown:function(a){this._loadChildren(!0);this._isLoaded=!0;a()},closeDropDown:function(){this.inherited(arguments);if(this.dropDown&&this.dropDown.menuTableNode)this.dropDown.menuTableNode.style.width=
""},destroy:function(a){this.dropDown&&!this.dropDown._destroyed&&(this.dropDown.destroyRecursive(a),delete this.dropDown);this.inherited(arguments)},_onFocus:function(){this.validate(!0);this.inherited(arguments)},_onBlur:function(){n.hide(this.domNode);this.inherited(arguments);this.validate(!1)}});k._Menu=r;return k})},"dijit/form/_FormSelectWidget":function(){define("dojo/_base/array,dojo/_base/Deferred,dojo/aspect,dojo/data/util/sorter,dojo/_base/declare,dojo/dom,dojo/dom-class,dojo/_base/kernel,dojo/_base/lang,dojo/query,dojo/when,dojo/store/util/QueryResults,./_FormValueWidget".split(","),
function(g,k,i,j,e,c,h,b,f,a,l,d,p){return e("dijit.form._FormSelectWidget",p,{multiple:!1,options:null,store:null,query:null,queryOptions:null,labelAttr:"",onFetch:null,sortByLabel:!0,loadChildrenOnOpen:!1,onLoadDeferred:null,getOptions:function(a){var b=a,c=this.options||[],d=c.length;if(void 0===b)return c;if(f.isArray(b))return g.map(b,"return this.getOptions(item);",this);f.isObject(a)&&(g.some(this.options,function(a,c){return a===b||a.value&&a.value===b.value?(b=c,!0):!1})||(b=-1));if("string"==
typeof b)for(a=0;a<d;a++)if(c[a].value===b){b=a;break}return"number"==typeof b&&0<=b&&b<d?this.options[b]:null},addOption:function(a){f.isArray(a)||(a=[a]);g.forEach(a,function(a){a&&f.isObject(a)&&this.options.push(a)},this);this._loadChildren()},removeOption:function(a){f.isArray(a)||(a=[a]);a=this.getOptions(a);g.forEach(a,function(a){if(a)this.options=g.filter(this.options,function(b){return b.value!==a.value||b.label!==a.label}),this._removeOptionItem(a)},this);this._loadChildren()},updateOption:function(a){f.isArray(a)||
(a=[a]);g.forEach(a,function(a){var b=this.getOptions(a),c;if(b)for(c in a)b[c]=a[c]},this);this._loadChildren()},setStore:function(a,b,c){var e=this.store,c=c||{};if(e!==a){for(var h;h=this._notifyConnections.pop();)h.remove();if(!a.get&&(f.mixin(a,{_oldAPI:!0,get:function(a){var b=new k;this.fetchItemByIdentity({identity:a,onItem:function(a){b.resolve(a)},onError:function(a){b.reject(a)}});return b.promise},query:function(a,b){var c=new k(function(){e.abort&&e.abort()});c.total=new k;var e=this.fetch(f.mixin({query:a,
onBegin:function(a){c.total.resolve(a)},onComplete:function(a){c.resolve(a)},onError:function(a){c.reject(a)}},b));return new d(c)}}),a.getFeatures()["dojo.data.api.Notification"]))this._notifyConnections=[i.after(a,"onNew",f.hitch(this,"_onNewItem"),!0),i.after(a,"onDelete",f.hitch(this,"_onDeleteItem"),!0),i.after(a,"onSet",f.hitch(this,"_onSetItem"),!0)];this._set("store",a)}this.options&&this.options.length&&this.removeOption(this.options);this._queryRes&&this._queryRes.close&&this._queryRes.close();
c.query&&(this._set("query",c.query),this._set("queryOptions",c.queryOptions));if(a)this._loadingStore=!0,this.onLoadDeferred=new k,this._queryRes=a.query(this.query,this.queryOptions),l(this._queryRes,f.hitch(this,function(d){if(this.sortByLabel&&!c.sort&&d.length)if(d[0].getValue)d.sort(j.createSortFunction([{attribute:a.getLabelAttributes(d[0])[0]}],a));else{var e=this.labelAttr;d.sort(function(a,b){return a[e]>b[e]?1:b[e]>a[e]?-1:0})}c.onFetch&&(d=c.onFetch.call(this,d,c));g.forEach(d,function(a){this._addOptionForItem(a)},
this);this._queryRes.observe&&this._queryRes.observe(f.hitch(this,function(a,b,c){b==c?this._onSetItem(a):(-1!=b&&this._onDeleteItem(a),-1!=c&&this._onNewItem(a))}),!0);this._loadingStore=!1;this.set("value","_pendingValue"in this?this._pendingValue:b);delete this._pendingValue;this.loadChildrenOnOpen?this._pseudoLoadChildren(d):this._loadChildren();this.onLoadDeferred.resolve(!0);this.onSetStore()}),function(a){this.onLoadDeferred.reject(a)});return e},_setValueAttr:function(a,b){this._onChangeActive||
(b=null);if(this._loadingStore)this._pendingValue=a;else{var c=this.getOptions()||[];f.isArray(a)||(a=[a]);g.forEach(a,function(b,d){f.isObject(b)||(b+="");"string"===typeof b&&(a[d]=g.filter(c,function(a){return a.value===b})[0]||{value:"",label:""})},this);a=g.filter(a,function(a){return a&&a.value});if(!this.multiple&&(!a[0]||!a[0].value)&&c.length)a[0]=c[0];g.forEach(c,function(b){b.selected=g.some(a,function(a){return a.value===b.value})});var d=g.map(a,function(a){return a.value}),e=g.map(a,
function(a){return a.label});"undefined"==typeof d||"undefined"==typeof d[0]||(this._setDisplay(this.multiple?e:e[0]),this.inherited(arguments,[this.multiple?d:d[0],b]),this._updateSelection())}},_getDisplayedValueAttr:function(){var a=this.get("value");f.isArray(a)||(a=[a]);a=g.map(this.getOptions(a),function(a){return a&&"label"in a?a.label:a?a.value:null},this);return this.multiple?a:a[0]},_loadChildren:function(){this._loadingStore||(g.forEach(this._getChildren(),function(a){a.destroyRecursive()}),
g.forEach(this.options,this._addOptionItem,this),this._updateSelection())},_updateSelection:function(){this._set("value",this._getValueFromOpts());var a=this.value;f.isArray(a)||(a=[a]);a&&a[0]&&g.forEach(this._getChildren(),function(b){var c=g.some(a,function(a){return b.option&&a===b.option.value});h.toggle(b.domNode,this.baseClass.replace(/\s+|$/g,"SelectedOption "),c);b.domNode.setAttribute("aria-selected",c?"true":"false")},this)},_getValueFromOpts:function(){var a=this.getOptions()||[];if(!this.multiple&&
a.length){var b=g.filter(a,function(a){return a.selected})[0];if(b&&b.value)return b.value;a[0].selected=!0;return a[0].value}return this.multiple?g.map(g.filter(a,function(a){return a.selected}),function(a){return a.value})||[]:""},_onNewItem:function(a,b){(!b||!b.parent)&&this._addOptionForItem(a)},_onDeleteItem:function(a){this.removeOption(this.store.getIdentity(a))},_onSetItem:function(a){this.updateOption(this._getOptionObjForItem(a))},_getOptionObjForItem:function(a){var b=this.store,c=this.labelAttr&&
this.labelAttr in a?a[this.labelAttr]:b.getLabel(a);return{value:c?b.getIdentity(a):null,label:c,item:a}},_addOptionForItem:function(a){var b=this.store;b.isItemLoaded&&!b.isItemLoaded(a)?b.loadItem({item:a,onItem:function(a){this._addOptionForItem(a)},scope:this}):this.addOption(this._getOptionObjForItem(a))},constructor:function(a){this._oValue=(a||{}).value||null;this._notifyConnections=[]},buildRendering:function(){this.inherited(arguments);c.setSelectable(this.focusNode,!1)},_fillContent:function(){if(!this.options)this.options=
this.srcNodeRef?a("> *",this.srcNodeRef).map(function(a){return"separator"===a.getAttribute("type")?{value:"",label:"",selected:!1,disabled:!1}:{value:a.getAttribute("data-"+b._scopeName+"-value")||a.getAttribute("value"),label:""+a.innerHTML,selected:a.getAttribute("selected")||!1,disabled:a.getAttribute("disabled")||!1}},this):[];this.value?this.multiple&&"string"==typeof this.value&&this._set("value",this.value.split(",")):this._set("value",this._getValueFromOpts())},postCreate:function(){this.inherited(arguments);
this.connect(this,"onChange","_updateSelection");var a=this.store;if(a&&(a.getIdentity||a.getFeatures()["dojo.data.api.Identity"]))this.store=null,this.setStore(a,this._oValue)},startup:function(){this._loadChildren();this.inherited(arguments)},destroy:function(){for(var a;a=this._notifyConnections.pop();)a.remove();this._queryRes&&this._queryRes.close&&this._queryRes.close();this.inherited(arguments)},_addOptionItem:function(){},_removeOptionItem:function(){},_setDisplay:function(){},_getChildren:function(){return[]},
_getSelectedOptionsAttr:function(){return this.getOptions(this.get("value"))},_pseudoLoadChildren:function(){},onSetStore:function(){}})})},"dojo/data/util/sorter":function(){define(["../../_base/lang"],function(g){var k={};g.setObject("dojo.data.util.sorter",k);k.basicComparator=function(g,j){var e=-1;null===g&&(g=void 0);null===j&&(j=void 0);if(g==j)e=0;else if(g>j||null==g)e=1;return e};k.createSortFunction=function(g,j){function e(a,b,c,d){return function(f,e){var g=d.getValue(f,a),h=d.getValue(e,
a);return b*c(g,h)}}for(var c=[],h,b=j.comparatorMap,f=k.basicComparator,a=0;a<g.length;a++){h=g[a];var l=h.attribute;if(l){h=h.descending?-1:1;var d=f;b&&("string"!==typeof l&&"toString"in l&&(l=l.toString()),d=b[l]||f);c.push(e(l,h,d,j))}}return function(a,b){for(var d=0;d<c.length;){var f=c[d++](a,b);if(0!==f)return f}return 0}};return k})},"dojo/store/util/QueryResults":function(){define(["../../_base/array","../../_base/lang","../../_base/Deferred"],function(g,k,i){var j=function(e){function c(c){e[c]||
(e[c]=function(){var b=arguments;return i.when(e,function(f){Array.prototype.unshift.call(b,f);return j(g[c].apply(g,b))})})}if(!e)return e;e.then&&(e=k.delegate(e));c("forEach");c("filter");c("map");if(!e.total)e.total=i.when(e,function(c){return c.length});return e};k.setObject("dojo.store.util.QueryResults",j);return j})},"dijit/MenuSeparator":function(){define("dojo/_base/declare,dojo/dom,./_WidgetBase,./_TemplatedMixin,./_Contained,dojo/text!./templates/MenuSeparator.html".split(","),function(g,
k,i,j,e,c){return g("dijit.MenuSeparator",[i,j,e],{templateString:c,buildRendering:function(){this.inherited(arguments);k.setSelectable(this.domNode,!1)},isFocusable:function(){return!1}})})},"url:dijit/templates/MenuSeparator.html":'<tr class="dijitMenuSeparator">\n\t<td class="dijitMenuSeparatorIconCell">\n\t\t<div class="dijitMenuSeparatorTop"></div>\n\t\t<div class="dijitMenuSeparatorBottom"></div>\n\t</td>\n\t<td colspan="3" class="dijitMenuSeparatorLabelCell">\n\t\t<div class="dijitMenuSeparatorTop dijitMenuSeparatorLabel"></div>\n\t\t<div class="dijitMenuSeparatorBottom"></div>\n\t</td>\n</tr>',
"dijit/Tooltip":function(){define("dojo/_base/array,dojo/_base/declare,dojo/_base/fx,dojo/dom,dojo/dom-class,dojo/dom-geometry,dojo/dom-style,dojo/_base/lang,dojo/mouse,dojo/on,dojo/sniff,./_base/manager,./place,./_Widget,./_TemplatedMixin,./BackgroundIframe,dojo/text!./templates/Tooltip.html,./main".split(","),function(g,k,i,j,e,c,h,b,f,a,l,d,p,m,n,o,r,q){var v=k("dijit._MasterTooltip",[m,n],{duration:d.defaultDuration,templateString:r,postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode);
this.bgIframe=new o(this.domNode);this.fadeIn=i.fadeIn({node:this.domNode,duration:this.duration,onEnd:b.hitch(this,"_onShow")});this.fadeOut=i.fadeOut({node:this.domNode,duration:this.duration,onEnd:b.hitch(this,"_onHide")})},show:function(a,c,d,f,e){if(!this.aroundNode||!(this.aroundNode===c&&this.containerNode.innerHTML==a))if("playing"==this.fadeOut.status())this._onDeck=arguments;else{this.containerNode.innerHTML=a;e&&this.set("textDir",e);this.containerNode.align=f?"right":"left";var g=p.around(this.domNode,
c,d&&d.length?d:s.defaultPosition,!f,b.hitch(this,"orient")),l=g.aroundNodePos;"M"==g.corner.charAt(0)&&"M"==g.aroundCorner.charAt(0)?(this.connectorNode.style.top=l.y+(l.h-this.connectorNode.offsetHeight>>1)-g.y+"px",this.connectorNode.style.left=""):"M"==g.corner.charAt(1)&&"M"==g.aroundCorner.charAt(1)?this.connectorNode.style.left=l.x+(l.w-this.connectorNode.offsetWidth>>1)-g.x+"px":(this.connectorNode.style.left="",this.connectorNode.style.top="");h.set(this.domNode,"opacity",0);this.fadeIn.play();
this.isShowingNow=!0;this.aroundNode=c}},orient:function(a,b,d,f,e){this.connectorNode.style.top="";var g=f.h,f=f.w;a.className="dijitTooltip "+{"MR-ML":"dijitTooltipRight","ML-MR":"dijitTooltipLeft","TM-BM":"dijitTooltipAbove","BM-TM":"dijitTooltipBelow","BL-TL":"dijitTooltipBelow dijitTooltipABLeft","TL-BL":"dijitTooltipAbove dijitTooltipABLeft","BR-TR":"dijitTooltipBelow dijitTooltipABRight","TR-BR":"dijitTooltipAbove dijitTooltipABRight","BR-BL":"dijitTooltipRight","BL-BR":"dijitTooltipLeft"}[b+
"-"+d];this.domNode.style.width="auto";var h=c.position(this.domNode);9==l("ie")&&(h.w+=2);var i=Math.min(Math.max(f,1),h.w);c.setMarginBox(this.domNode,{w:i});"B"==d.charAt(0)&&"B"==b.charAt(0)?(a=c.position(a),b=this.connectorNode.offsetHeight,a.h>g?(this.connectorNode.style.top=g-(e.h+b>>1)+"px",this.connectorNode.style.bottom=""):(this.connectorNode.style.bottom=Math.min(Math.max(e.h/2-b/2,0),a.h-b)+"px",this.connectorNode.style.top="")):(this.connectorNode.style.top="",this.connectorNode.style.bottom=
"");return Math.max(0,h.w-f)},_onShow:function(){if(l("ie"))this.domNode.style.filter=""},hide:function(a){if(this._onDeck&&this._onDeck[1]==a)this._onDeck=null;else if(this.aroundNode===a)this.fadeIn.stop(),this.isShowingNow=!1,this.aroundNode=null,this.fadeOut.play()},_onHide:function(){this.domNode.style.cssText="";this.containerNode.innerHTML="";if(this._onDeck)this.show.apply(this,this._onDeck),this._onDeck=null},_setAutoTextDir:function(a){this.applyTextDir(a,l("ie")?a.outerText:a.textContent);
g.forEach(a.children,function(a){this._setAutoTextDir(a)},this)},_setTextDirAttr:function(a){this._set("textDir",a);"auto"==a?this._setAutoTextDir(this.containerNode):this.containerNode.dir=this.textDir}});q.showTooltip=function(a,b,c,d,f){c&&(c=g.map(c,function(a){return{after:"after-centered",before:"before-centered"}[a]||a}));if(!s._masterTT)q._masterTT=s._masterTT=new v;return s._masterTT.show(a,b,c,d,f)};q.hideTooltip=function(a){return s._masterTT&&s._masterTT.hide(a)};var s=k("dijit.Tooltip",
m,{label:"",showDelay:400,connectId:[],position:[],selector:"",_setConnectIdAttr:function(c){g.forEach(this._connections||[],function(a){g.forEach(a,function(a){a.remove()})},this);this._connectIds=g.filter(b.isArrayLike(c)?c:c?[c]:[],function(a){return j.byId(a,this.ownerDocument)},this);this._connections=g.map(this._connectIds,function(c){var c=j.byId(c,this.ownerDocument),d=this.selector,e=d?function(b){return a.selector(d,b)}:function(a){return a},g=this;return[a(c,e(f.enter),function(){g._onHover(this)}),
a(c,e("focusin"),function(){g._onHover(this)}),a(c,e(f.leave),b.hitch(g,"_onUnHover")),a(c,e("focusout"),b.hitch(g,"_onUnHover"))]},this);this._set("connectId",c)},addTarget:function(a){a=a.id||a;-1==g.indexOf(this._connectIds,a)&&this.set("connectId",this._connectIds.concat(a))},removeTarget:function(a){a=g.indexOf(this._connectIds,a.id||a);0<=a&&(this._connectIds.splice(a,1),this.set("connectId",this._connectIds))},buildRendering:function(){this.inherited(arguments);e.add(this.domNode,"dijitTooltipData")},
startup:function(){this.inherited(arguments);var a=this.connectId;g.forEach(b.isArrayLike(a)?a:[a],this.addTarget,this)},getContent:function(){return this.label||this.domNode.innerHTML},_onHover:function(a){if(!this._showTimer)this._showTimer=this.defer(function(){this.open(a)},this.showDelay)},_onUnHover:function(){this._showTimer&&(this._showTimer.remove(),delete this._showTimer);this.close()},open:function(a){this._showTimer&&(this._showTimer.remove(),delete this._showTimer);var b=this.getContent(a);
if(b)s.show(b,a,this.position,!this.isLeftToRight(),this.textDir),this._connectNode=a,this.onShow(a,this.position)},close:function(){this._connectNode&&(s.hide(this._connectNode),delete this._connectNode,this.onHide());this._showTimer&&(this._showTimer.remove(),delete this._showTimer)},onShow:function(){},onHide:function(){},destroy:function(){this.close();g.forEach(this._connections||[],function(a){g.forEach(a,function(a){a.remove()})},this);this.inherited(arguments)}});s._MasterTooltip=v;s.show=
q.showTooltip;s.hide=q.hideTooltip;s.defaultPosition=["after-centered","before-centered"];return s})},"url:dijit/templates/Tooltip.html":'<div class="dijitTooltip dijitTooltipLeft" id="dojoTooltip"\n\t><div class="dijitTooltipContainer dijitTooltipContents" data-dojo-attach-point="containerNode" role=\'alert\'></div\n\t><div class="dijitTooltipConnector" data-dojo-attach-point="connectorNode"></div\n></div>\n',"url:dijit/form/templates/Select.html":'<table class="dijit dijitReset dijitInline dijitLeft"\n\tdata-dojo-attach-point="_buttonNode,tableNode,focusNode" cellspacing=\'0\' cellpadding=\'0\'\n\trole="listbox" aria-haspopup="true"\n\t><tbody role="presentation"><tr role="presentation"\n\t\t><td class="dijitReset dijitStretch dijitButtonContents" role="presentation"\n\t\t\t><div class="dijitReset dijitInputField dijitButtonText"  data-dojo-attach-point="containerNode,_popupStateNode" role="presentation"></div\n\t\t\t><div class="dijitReset dijitValidationContainer"\n\t\t\t\t><input class="dijitReset dijitInputField dijitValidationIcon dijitValidationInner" value="&#935; " type="text" tabIndex="-1" readonly="readonly" role="presentation"\n\t\t\t/></div\n\t\t\t><input type="hidden" ${!nameAttrSetting} data-dojo-attach-point="valueNode" value="${value}" aria-hidden="true"\n\t\t/></td\n\t\t><td class="dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton dijitArrowButtonContainer"\n\t\t\tdata-dojo-attach-point="titleNode" role="presentation"\n\t\t\t><input class="dijitReset dijitInputField dijitArrowButtonInner" value="&#9660; " type="text" tabIndex="-1" readonly="readonly" role="presentation"\n\t\t\t\t${_buttonInputDisabled}\n\t\t/></td\n\t></tr></tbody\n></table>\n',
"dijit/form/HorizontalSlider":function(){define("dojo/_base/array,dojo/_base/declare,dojo/dnd/move,dojo/_base/event,dojo/_base/fx,dojo/dom-geometry,dojo/dom-style,dojo/keys,dojo/_base/lang,dojo/sniff,dojo/dnd/Moveable,dojo/dnd/Mover,dojo/query,dojo/mouse,../registry,../focus,../typematic,./Button,./_FormValueWidget,../_Container,dojo/text!./templates/HorizontalSlider.html".split(","),function(g,k,i,j,e,c,h,b,f,a,l,d,p,m,n,o,r,q,v,s,t){var u=k("dijit.form._SliderMover",d,{onMouseMove:function(a){var b=
this.widget,d=b._abspos;if(!d)d=b._abspos=c.position(b.sliderBarContainer,!0),b._setPixelValue_=f.hitch(b,"_setPixelValue"),b._isReversed_=b._isReversed();a=a[b._mousePixelCoord]-d[b._startingPixelCoord];b._setPixelValue_(b._isReversed_?d[b._pixelCount]-a:a,d[b._pixelCount],!1)},destroy:function(a){d.prototype.destroy.apply(this,arguments);var b=this.widget;b._abspos=null;b._setValueAttr(b.value,!0)}}),i=k("dijit.form.HorizontalSlider",[v,s],{templateString:t,value:0,showButtons:!0,minimum:0,maximum:100,
discreteValues:Infinity,pageIncrement:2,clickSelect:!0,slideDuration:n.defaultDuration,_setIdAttr:"",baseClass:"dijitSlider",cssStateNodes:{incrementButton:"dijitSliderIncrementButton",decrementButton:"dijitSliderDecrementButton",focusNode:"dijitSliderThumb"},_mousePixelCoord:"pageX",_pixelCount:"w",_startingPixelCoord:"x",_handleOffsetCoord:"left",_progressPixelSize:"width",_onKeyUp:function(a){!this.disabled&&!this.readOnly&&!a.altKey&&!a.ctrlKey&&!a.metaKey&&this._setValueAttr(this.value,!0)},
_onKeyPress:function(a){if(!this.disabled&&!this.readOnly&&!a.altKey&&!a.ctrlKey&&!a.metaKey){switch(a.charOrCode){case b.HOME:this._setValueAttr(this.minimum,!1);break;case b.END:this._setValueAttr(this.maximum,!1);break;case this._descending||this.isLeftToRight()?b.RIGHT_ARROW:b.LEFT_ARROW:case !1===this._descending?b.DOWN_ARROW:b.UP_ARROW:case !1===this._descending?b.PAGE_DOWN:b.PAGE_UP:this.increment(a);break;case this._descending||this.isLeftToRight()?b.LEFT_ARROW:b.RIGHT_ARROW:case !1===this._descending?
b.UP_ARROW:b.DOWN_ARROW:case !1===this._descending?b.PAGE_UP:b.PAGE_DOWN:this.decrement(a);break;default:return}j.stop(a)}},_onHandleClick:function(b){!this.disabled&&!this.readOnly&&(a("ie")||o.focus(this.sliderHandle),j.stop(b))},_isReversed:function(){return!this.isLeftToRight()},_onBarClick:function(a){if(!this.disabled&&!this.readOnly&&this.clickSelect){o.focus(this.sliderHandle);j.stop(a);var b=c.position(this.sliderBarContainer,!0),d=a[this._mousePixelCoord]-b[this._startingPixelCoord];this._setPixelValue(this._isReversed()?
b[this._pixelCount]-d:d,b[this._pixelCount],!0);this._movable.onMouseDown(a)}},_setPixelValue:function(a,b,c){if(!this.disabled&&!this.readOnly){var d=this.discreteValues;if(1>=d||Infinity==d)d=b;d--;a=Math.round(a/(b/d));this._setValueAttr(Math.max(Math.min((this.maximum-this.minimum)*a/d+this.minimum,this.maximum),this.minimum),c)}},_setValueAttr:function(a,b){this._set("value",a);this.valueNode.value=a;this.focusNode.setAttribute("aria-valuenow",a);this.inherited(arguments);var c=(a-this.minimum)/
(this.maximum-this.minimum),d=!1===this._descending?this.remainingBar:this.progressBar,f=!1===this._descending?this.progressBar:this.remainingBar;this._inProgressAnim&&"stopped"!=this._inProgressAnim.status&&this._inProgressAnim.stop(!0);if(b&&0<this.slideDuration&&d.style[this._progressPixelSize]){var g=this,h={},l=parseFloat(d.style[this._progressPixelSize]),i=this.slideDuration*(c-l/100);if(0!=i)0>i&&(i=0-i),h[this._progressPixelSize]={start:l,end:100*c,units:"%"},this._inProgressAnim=e.animateProperty({node:d,
duration:i,onAnimate:function(a){f.style[g._progressPixelSize]=100-parseFloat(a[g._progressPixelSize])+"%"},onEnd:function(){delete g._inProgressAnim},properties:h}),this._inProgressAnim.play()}else d.style[this._progressPixelSize]=100*c+"%",f.style[this._progressPixelSize]=100*(1-c)+"%"},_bumpValue:function(a,b){if(!this.disabled&&!this.readOnly){var d=h.getComputedStyle(this.sliderBarContainer),f=c.getContentBox(this.sliderBarContainer,d),d=this.discreteValues;if(1>=d||Infinity==d)d=f[this._pixelCount];
d--;f=(this.value-this.minimum)*d/(this.maximum-this.minimum)+a;0>f&&(f=0);f>d&&(f=d);f=f*(this.maximum-this.minimum)/d+this.minimum;this._setValueAttr(f,b)}},_onClkBumper:function(a){!this.disabled&&!this.readOnly&&this.clickSelect&&this._setValueAttr(a,!0)},_onClkIncBumper:function(){this._onClkBumper(!1===this._descending?this.minimum:this.maximum)},_onClkDecBumper:function(){this._onClkBumper(!1===this._descending?this.maximum:this.minimum)},decrement:function(a){this._bumpValue(a.charOrCode==
b.PAGE_DOWN?-this.pageIncrement:-1)},increment:function(a){this._bumpValue(a.charOrCode==b.PAGE_UP?this.pageIncrement:1)},_mouseWheeled:function(a){j.stop(a);this._bumpValue(0>a.wheelDelta?-1:1,!0)},startup:function(){this._started||(g.forEach(this.getChildren(),function(a){this[a.container]!=this.containerNode&&this[a.container].appendChild(a.domNode)},this),this.inherited(arguments))},_typematicCallback:function(a,b,c){if(-1==a)this._setValueAttr(this.value,!0);else this[b==(this._descending?this.incrementButton:
this.decrementButton)?"decrement":"increment"](c)},buildRendering:function(){this.inherited(arguments);if(this.showButtons)this.incrementButton.style.display="",this.decrementButton.style.display="";var a=p('label[for="'+this.id+'"]');if(a.length){if(!a[0].id)a[0].id=this.id+"_label";this.focusNode.setAttribute("aria-labelledby",a[0].id)}this.focusNode.setAttribute("aria-valuemin",this.minimum);this.focusNode.setAttribute("aria-valuemax",this.maximum)},postCreate:function(){this.inherited(arguments);
this.showButtons&&this.own(r.addMouseListener(this.decrementButton,this,"_typematicCallback",25,500),r.addMouseListener(this.incrementButton,this,"_typematicCallback",25,500));this.connect(this.domNode,m.wheel,"_mouseWheeled");var a=k(u,{widget:this});this._movable=new l(this.sliderHandle,{mover:a});this._layoutHackIE7()},destroy:function(){this._movable.destroy();this._inProgressAnim&&"stopped"!=this._inProgressAnim.status&&this._inProgressAnim.stop(!0);this.inherited(arguments)}});i._Mover=u;return i})},
"dojo/dnd/move":function(){define("../_base/declare,../dom-geometry,../dom-style,./common,./Mover,./Moveable".split(","),function(g,k,i,j,e,c){j=g("dojo.dnd.move.constrainedMoveable",c,{constraints:function(){},within:!1,constructor:function(c,b){b||(b={});this.constraints=b.constraints;this.within=b.within},onFirstMove:function(c){var b=this.constraintBox=this.constraints.call(this,c);b.r=b.l+b.w;b.b=b.t+b.h;this.within&&(c=k.getMarginSize(c.node),b.r-=c.w,b.b-=c.h)},onMove:function(c,b){var f=this.constraintBox,
a=c.node.style;this.onMoving(c,b);b.l=b.l<f.l?f.l:f.r<b.l?f.r:b.l;b.t=b.t<f.t?f.t:f.b<b.t?f.b:b.t;a.left=b.l+"px";a.top=b.t+"px";this.onMoved(c,b)}});e=g("dojo.dnd.move.boxConstrainedMoveable",j,{box:{},constructor:function(c,b){var f=b&&b.box;this.constraints=function(){return f}}});g=g("dojo.dnd.move.parentConstrainedMoveable",j,{area:"content",constructor:function(c,b){var f=b&&b.area;this.constraints=function(){var a=this.node.parentNode,b=i.getComputedStyle(a),c=k.getMarginBox(a,b);if("margin"==
f)return c;var e=k.getMarginExtents(a,b);c.l+=e.l;c.t+=e.t;c.w-=e.w;c.h-=e.h;if("border"==f)return c;e=k.getBorderExtents(a,b);c.l+=e.l;c.t+=e.t;c.w-=e.w;c.h-=e.h;if("padding"==f)return c;e=k.getPadExtents(a,b);c.l+=e.l;c.t+=e.t;c.w-=e.w;c.h-=e.h;return c}}});return{constrainedMoveable:j,boxConstrainedMoveable:e,parentConstrainedMoveable:g}})},"dijit/typematic":function(){define("dojo/_base/array,dojo/_base/connect,dojo/_base/event,dojo/_base/kernel,dojo/_base/lang,dojo/on,dojo/sniff,./main".split(","),
function(g,k,i,j,e,c,h,b){var f=b.typematic={_fireEventAndReload:function(){this._timer=null;this._callback(++this._count,this._node,this._evt);this._currentTimeout=Math.max(0>this._currentTimeout?this._initialDelay:1<this._subsequentDelay?this._subsequentDelay:Math.round(this._currentTimeout*this._subsequentDelay),this._minDelay);this._timer=setTimeout(e.hitch(this,"_fireEventAndReload"),this._currentTimeout)},trigger:function(a,b,c,f,g,h,i,j){if(g!=this._obj){this.stop();this._initialDelay=i||500;
this._subsequentDelay=h||0.9;this._minDelay=j||10;this._obj=g;this._node=c;this._count=this._currentTimeout=-1;this._callback=e.hitch(b,f);this._evt={faux:!0};for(var k in a)"layerX"!=k&&"layerY"!=k&&(b=a[k],"function"!=typeof b&&"undefined"!=typeof b&&(this._evt[k]=b));this._fireEventAndReload()}},stop:function(){if(this._timer)clearTimeout(this._timer),this._timer=null;if(this._obj)this._callback(-1,this._node,this._evt),this._obj=null},addKeyListener:function(a,b,d,h,m,n,o){if(b.keyCode)b.charOrCode=
b.keyCode,j.deprecated("keyCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");else if(b.charCode)b.charOrCode=String.fromCharCode(b.charCode),j.deprecated("charCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");var r=[c(a,k._keypress,e.hitch(this,function(c){c.charOrCode==b.charOrCode&&(void 0===b.ctrlKey||b.ctrlKey==c.ctrlKey)&&(void 0===b.altKey||b.altKey==c.altKey)&&(void 0===b.metaKey||
b.metaKey==(c.metaKey||!1))&&(void 0===b.shiftKey||b.shiftKey==c.shiftKey)?(i.stop(c),f.trigger(c,d,a,h,b,m,n,o)):f._obj==b&&f.stop()})),c(a,"keyup",e.hitch(this,function(){f._obj==b&&f.stop()}))];return{remove:function(){g.forEach(r,function(a){a.remove()})}}},addMouseListener:function(a,b,d,i,j,k){var o=[c(a,"mousedown",e.hitch(this,function(c){c.preventDefault();f.trigger(c,b,a,d,a,i,j,k)})),c(a,"mouseup",e.hitch(this,function(a){this._obj&&a.preventDefault();f.stop()})),c(a,"mouseout",e.hitch(this,
function(a){this._obj&&a.preventDefault();f.stop()})),c(a,"dblclick",e.hitch(this,function(c){c.preventDefault();9>h("ie")&&(f.trigger(c,b,a,d,a,i,j,k),setTimeout(e.hitch(this,f.stop),50))}))];return{remove:function(){g.forEach(o,function(a){a.remove()})}}},addListener:function(a,b,c,f,e,h,i,j){var k=[this.addKeyListener(b,c,f,e,h,i,j),this.addMouseListener(a,f,e,h,i,j)];return{remove:function(){g.forEach(k,function(a){a.remove()})}}}};return f})},"url:dijit/form/templates/HorizontalSlider.html":'<table class="dijit dijitReset dijitSlider dijitSliderH" cellspacing="0" cellpadding="0" border="0" rules="none" data-dojo-attach-event="onkeypress:_onKeyPress,onkeyup:_onKeyUp"\n\trole="presentation"\n\t><tr class="dijitReset"\n\t\t><td class="dijitReset" colspan="2"></td\n\t\t><td data-dojo-attach-point="topDecoration" class="dijitReset dijitSliderDecoration dijitSliderDecorationT dijitSliderDecorationH"></td\n\t\t><td class="dijitReset" colspan="2"></td\n\t></tr\n\t><tr class="dijitReset"\n\t\t><td class="dijitReset dijitSliderButtonContainer dijitSliderButtonContainerH"\n\t\t\t><div class="dijitSliderDecrementIconH" style="display:none" data-dojo-attach-point="decrementButton"><span class="dijitSliderButtonInner">-</span></div\n\t\t></td\n\t\t><td class="dijitReset"\n\t\t\t><div class="dijitSliderBar dijitSliderBumper dijitSliderBumperH dijitSliderLeftBumper" data-dojo-attach-event="press:_onClkDecBumper"></div\n\t\t></td\n\t\t><td class="dijitReset"\n\t\t\t><input data-dojo-attach-point="valueNode" type="hidden" ${!nameAttrSetting}\n\t\t\t/><div class="dijitReset dijitSliderBarContainerH" role="presentation" data-dojo-attach-point="sliderBarContainer"\n\t\t\t\t><div role="presentation" data-dojo-attach-point="progressBar" class="dijitSliderBar dijitSliderBarH dijitSliderProgressBar dijitSliderProgressBarH" data-dojo-attach-event="press:_onBarClick"\n\t\t\t\t\t><div class="dijitSliderMoveable dijitSliderMoveableH"\n\t\t\t\t\t\t><div data-dojo-attach-point="sliderHandle,focusNode" class="dijitSliderImageHandle dijitSliderImageHandleH" data-dojo-attach-event="press:_onHandleClick" role="slider"></div\n\t\t\t\t\t></div\n\t\t\t\t></div\n\t\t\t\t><div role="presentation" data-dojo-attach-point="remainingBar" class="dijitSliderBar dijitSliderBarH dijitSliderRemainingBar dijitSliderRemainingBarH" data-dojo-attach-event="press:_onBarClick"></div\n\t\t\t></div\n\t\t></td\n\t\t><td class="dijitReset"\n\t\t\t><div class="dijitSliderBar dijitSliderBumper dijitSliderBumperH dijitSliderRightBumper" data-dojo-attach-event="press:_onClkIncBumper"></div\n\t\t></td\n\t\t><td class="dijitReset dijitSliderButtonContainer dijitSliderButtonContainerH"\n\t\t\t><div class="dijitSliderIncrementIconH" style="display:none" data-dojo-attach-point="incrementButton"><span class="dijitSliderButtonInner">+</span></div\n\t\t></td\n\t></tr\n\t><tr class="dijitReset"\n\t\t><td class="dijitReset" colspan="2"></td\n\t\t><td data-dojo-attach-point="containerNode,bottomDecoration" class="dijitReset dijitSliderDecoration dijitSliderDecorationB dijitSliderDecorationH"></td\n\t\t><td class="dijitReset" colspan="2"></td\n\t></tr\n></table>\n',
"dijit/form/NumberTextBox":function(){define(["dojo/_base/declare","dojo/_base/lang","dojo/number","./RangeBoundTextBox"],function(g,k,i,j){var e=g("dijit.form.NumberTextBoxMixin",null,{pattern:i.regexp,value:NaN,editOptions:{pattern:"#.######"},_formatter:i.format,postMixInProperties:function(){this.inherited(arguments);this._set("type","text")},_setConstraintsAttr:function(c){var e="number"==typeof c.places?c.places:0;e&&e++;if("number"!=typeof c.max)c.max=9*Math.pow(10,15-e);if("number"!=typeof c.min)c.min=
-9*Math.pow(10,15-e);this.inherited(arguments,[c]);this.focusNode&&this.focusNode.value&&!isNaN(this.value)&&this.set("value",this.value)},_onFocus:function(){if(!this.disabled){var c=this.get("value");if("number"==typeof c&&!isNaN(c)&&(c=this.format(c,this.constraints),void 0!==c))this.textbox.value=c;this.inherited(arguments)}},format:function(c,e){var b=""+c;if("number"!=typeof c)return b;if(isNaN(c))return"";if(!("rangeCheck"in this&&this.rangeCheck(c,e))&&!1!==e.exponent&&/\de[-+]?\d/i.test(b))return b;
this.editOptions&&this.focused&&(e=k.mixin({},e,this.editOptions));return this._formatter(c,e)},_parser:i.parse,parse:function(c,e){var b=this._parser(c,k.mixin({},e,this.editOptions&&this.focused?this.editOptions:{}));this.editOptions&&this.focused&&isNaN(b)&&(b=this._parser(c,e));return b},_getDisplayedValueAttr:function(){var c=this.inherited(arguments);return isNaN(c)?this.textbox.value:c},filter:function(c){return null==c||""===c?NaN:this.inherited(arguments)},serialize:function(c,e){return"number"!=
typeof c||isNaN(c)?"":this.inherited(arguments)},_setBlurValue:function(){this._setValueAttr(k.hitch(k.mixin({},this,{focused:!0}),"get")("value"),!0)},_setValueAttr:function(c,e,b){if(void 0!==c&&void 0===b)if(b=""+c,"number"==typeof c)if(isNaN(c))b="";else{if("rangeCheck"in this&&this.rangeCheck(c,this.constraints)||!1===this.constraints.exponent||!/\de[-+]?\d/i.test(b))b=void 0}else c?c=void 0:(b="",c=NaN);this.inherited(arguments,[c,e,b])},_getValueAttr:function(){var c=this.inherited(arguments);
if(isNaN(c)&&""!==this.textbox.value){if(!1!==this.constraints.exponent&&/\de[-+]?\d/i.test(this.textbox.value)&&RegExp("^"+i._realNumberRegexp(k.mixin({},this.constraints))+"$").test(this.textbox.value))return c=Number(this.textbox.value),isNaN(c)?void 0:c}else return c},isValid:function(c){if(!this.focused||this._isEmpty(this.textbox.value))return this.inherited(arguments);var e=this.get("value");return!isNaN(e)&&this.rangeCheck(e,this.constraints)?!1!==this.constraints.exponent&&/\de[-+]?\d/i.test(this.textbox.value)?
!0:this.inherited(arguments):!1}}),g=g("dijit.form.NumberTextBox",[j,e],{baseClass:"dijitTextBox dijitNumberTextBox"});g.Mixin=e;return g})},"dojo/number":function(){define(["./_base/lang","./i18n","./i18n!./cldr/nls/number","./string","./regexp"],function(g,k,i,j,e){var c={};g.setObject("dojo.number",c);c.format=function(b,f){var f=g.mixin({},f||{}),a=k.normalizeLocale(f.locale),a=k.getLocalization("dojo.cldr","number",a);f.customs=a;a=f.pattern||a[(f.type||"decimal")+"Format"];return isNaN(b)||
Infinity==Math.abs(b)?null:c._applyPattern(b,a,f)};c._numberPatternRE=/[#0,]*[#0](?:\.0*#*)?/;c._applyPattern=function(b,f,a){var a=a||{},e=a.customs.group,d=a.customs.decimal,f=f.split(";"),g=f[0],f=f[0>b?1:0]||"-"+g;if(-1!=f.indexOf("%"))b*=100;else if(-1!=f.indexOf("\u2030"))b*=1E3;else if(-1!=f.indexOf("\u00a4"))e=a.customs.currencyGroup||e,d=a.customs.currencyDecimal||d,f=f.replace(/\u00a4{1,3}/,function(b){return a[["symbol","currency","displayName"][b.length-1]]||a.currency||""});else if(-1!=
f.indexOf("E"))throw Error("exponential notation not supported");var h=c._numberPatternRE,g=g.match(h);if(!g)throw Error("unable to find a number expression in pattern: "+f);if(!1===a.fractional)a.places=0;return f.replace(h,c._formatAbsolute(b,g[0],{decimal:d,group:e,places:a.places,round:a.round}))};c.round=function(b,c,a){a=10/(a||10);return(a*+b).toFixed(c)/a};if(0==(0.9).toFixed()){var h=c.round;c.round=function(b,c,a){var e=Math.pow(10,-c||0),d=Math.abs(b);if(!b||d>=e||5>d*Math.pow(10,c+1))e=
0;return h(b,c,a)+(0<b?e:-e)}}c._formatAbsolute=function(b,f,a){a=a||{};if(!0===a.places)a.places=0;if(Infinity===a.places)a.places=6;var f=f.split("."),e="string"==typeof a.places&&a.places.indexOf(","),d=a.places;if(e)d=a.places.substring(e+1);else if(!(0<=d))d=(f[1]||[]).length;0>a.round||(b=c.round(b,d,a.round));var b=(""+Math.abs(b)).split("."),g=b[1]||"";if(f[1]||a.places){if(e)a.places=a.places.substring(0,e);e=void 0!==a.places?a.places:f[1]&&f[1].lastIndexOf("0")+1;e>g.length&&(b[1]=j.pad(g,
e,"0",!0));d<g.length&&(b[1]=g.substr(0,d))}else b[1]&&b.pop();d=f[0].replace(",","");e=d.indexOf("0");-1!=e&&(e=d.length-e,e>b[0].length&&(b[0]=j.pad(b[0],e)),-1==d.indexOf("#")&&(b[0]=b[0].substr(b[0].length-e)));var d=f[0].lastIndexOf(","),h,i;-1!=d&&(h=f[0].length-d-1,f=f[0].substr(0,d),d=f.lastIndexOf(","),-1!=d&&(i=f.length-d-1));f=[];for(d=b[0];d;)e=d.length-h,f.push(0<e?d.substr(e):d),d=0<e?d.slice(0,e):"",i&&(h=i,delete i);b[0]=f.reverse().join(a.group||",");return b.join(a.decimal||".")};
c.regexp=function(b){return c._parseInfo(b).regexp};c._parseInfo=function(b){var b=b||{},f=k.normalizeLocale(b.locale),f=k.getLocalization("dojo.cldr","number",f),a=b.pattern||f[(b.type||"decimal")+"Format"],g=f.group,d=f.decimal,h=1;if(-1!=a.indexOf("%"))h/=100;else if(-1!=a.indexOf("\u2030"))h/=1E3;else{var i=-1!=a.indexOf("\u00a4");i&&(g=f.currencyGroup||g,d=f.currencyDecimal||d)}f=a.split(";");1==f.length&&f.push("-"+f[0]);f=e.buildGroupRE(f,function(a){a="(?:"+e.escapeString(a,".")+")";return a.replace(c._numberPatternRE,
function(a){var e={signed:!1,separator:b.strict?g:[g,""],fractional:b.fractional,decimal:d,exponent:!1},a=a.split("."),f=b.places;1==a.length&&1!=h&&(a[1]="###");if(1==a.length||0===f)e.fractional=!1;else{void 0===f&&(f=b.pattern?a[1].lastIndexOf("0")+1:Infinity);if(f&&void 0==b.fractional)e.fractional=!0;!b.places&&f<a[1].length&&(f+=","+a[1].length);e.places=f}a=a[0].split(",");if(1<a.length&&(e.groupSize=a.pop().length,1<a.length))e.groupSize2=a.pop().length;return"("+c._realNumberRegexp(e)+")"})},
!0);i&&(f=f.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/g,function(a,c,d,f){a=e.escapeString(b[["symbol","currency","displayName"][d.length-1]]||b.currency||"");c=c?"[\\s\\xa0]":"";f=f?"[\\s\\xa0]":"";return!b.strict?(c&&(c+="*"),f&&(f+="*"),"(?:"+c+a+f+")?"):c+a+f}));return{regexp:f.replace(/[\xa0 ]/g,"[\\s\\xa0]"),group:g,decimal:d,factor:h}};c.parse=function(b,e){var a=c._parseInfo(e),g=RegExp("^"+a.regexp+"$").exec(b);if(!g)return NaN;var d=g[1];if(!g[1]){if(!g[2])return NaN;d=g[2];a.factor*=
-1}d=d.replace(RegExp("["+a.group+"\\s\\xa0]","g"),"").replace(a.decimal,".");return d*a.factor};c._realNumberRegexp=function(b){b=b||{};if(!("places"in b))b.places=Infinity;if("string"!=typeof b.decimal)b.decimal=".";if(!("fractional"in b)||/^0/.test(b.places))b.fractional=[!0,!1];if(!("exponent"in b))b.exponent=[!0,!1];if(!("eSigned"in b))b.eSigned=[!0,!1];var f=c._integerRegexp(b),a=e.buildGroupRE(b.fractional,function(a){var c="";a&&0!==b.places&&(c="\\"+b.decimal,c=Infinity==b.places?"(?:"+c+
"\\d+)?":c+("\\d{"+b.places+"}"));return c},!0),g=e.buildGroupRE(b.exponent,function(a){return a?"([eE]"+c._integerRegexp({signed:b.eSigned})+")":""}),f=f+a;a&&(f="(?:(?:"+f+")|(?:"+a+"))");return f+g};c._integerRegexp=function(b){b=b||{};if(!("signed"in b))b.signed=[!0,!1];if("separator"in b){if(!("groupSize"in b))b.groupSize=3}else b.separator="";var c=e.buildGroupRE(b.signed,function(a){return a?"[-+]":""},!0),a=e.buildGroupRE(b.separator,function(a){if(!a)return"(?:\\d+)";a=e.escapeString(a);
" "==a?a="\\s":"\u00a0"==a&&(a="\\s\\xa0");var c=b.groupSize,f=b.groupSize2;return f?(a="(?:0|[1-9]\\d{0,"+(f-1)+"}(?:["+a+"]\\d{"+f+"})*["+a+"]\\d{"+c+"})",0<c-f?"(?:"+a+"|(?:0|[1-9]\\d{0,"+(c-1)+"}))":a):"(?:0|[1-9]\\d{0,"+(c-1)+"}(?:["+a+"]\\d{"+c+"})*)"},!0);return c+a};return c})},"dijit/form/RangeBoundTextBox":function(){define(["dojo/_base/declare","dojo/i18n","./MappedTextBox"],function(g,k,i){return g("dijit.form.RangeBoundTextBox",i,{rangeMessage:"",rangeCheck:function(g,e){return("min"in
e?0<=this.compare(g,e.min):!0)&&("max"in e?0>=this.compare(g,e.max):!0)},isInRange:function(){return this.rangeCheck(this.get("value"),this.constraints)},_isDefinitelyOutOfRange:function(){var g=this.get("value");if(null==g)return!1;var e=!1;if("min"in this.constraints)e=this.constraints.min,e=0>this.compare(g,"number"==typeof e&&0<=e&&0!=g?0:e);if(!e&&"max"in this.constraints)e=this.constraints.max,e=0<this.compare(g,"number"!=typeof e||0<e?e:0);return e},_isValidSubset:function(){return this.inherited(arguments)&&
!this._isDefinitelyOutOfRange()},isValid:function(g){return this.inherited(arguments)&&(this._isEmpty(this.textbox.value)&&!this.required||this.isInRange(g))},getErrorMessage:function(g){var e=this.get("value");return null!=e&&""!==e&&("number"!=typeof e||!isNaN(e))&&!this.isInRange(g)?this.rangeMessage:this.inherited(arguments)},postMixInProperties:function(){this.inherited(arguments);if(!this.rangeMessage)this.messages=k.getLocalization("dijit.form","validate",this.lang),this.rangeMessage=this.messages.rangeMessage},
_setConstraintsAttr:function(g){this.inherited(arguments);this.focusNode&&(void 0!==this.constraints.min?this.focusNode.setAttribute("aria-valuemin",this.constraints.min):this.focusNode.removeAttribute("aria-valuemin"),void 0!==this.constraints.max?this.focusNode.setAttribute("aria-valuemax",this.constraints.max):this.focusNode.removeAttribute("aria-valuemax"))},_setValueAttr:function(g,e){this.focusNode.setAttribute("aria-valuenow",g);this.inherited(arguments)},applyTextDir:function(){}})})},"dijit/form/MappedTextBox":function(){define(["dojo/_base/declare",
"dojo/dom-construct","./ValidationTextBox"],function(g,k,i){return g("dijit.form.MappedTextBox",i,{postMixInProperties:function(){this.inherited(arguments);this.nameAttrSetting=""},_setNameAttr:null,serialize:function(g){return g.toString?g.toString():""},toString:function(){var g=this.filter(this.get("value"));return null!=g?"string"==typeof g?g:this.serialize(g,this.constraints):""},validate:function(){this.valueNode.value=this.toString();return this.inherited(arguments)},buildRendering:function(){this.inherited(arguments);
this.valueNode=k.place("<input type='hidden'"+(this.name?' name="'+this.name.replace(/"/g,"&quot;")+'"':"")+"/>",this.textbox,"after")},reset:function(){this.valueNode.value="";this.inherited(arguments)}})})},"dijit/form/ValidationTextBox":function(){define("dojo/_base/declare,dojo/_base/kernel,dojo/i18n,./TextBox,../Tooltip,dojo/text!./templates/ValidationTextBox.html,dojo/i18n!./nls/validate".split(","),function(g,k,i,j,e,c){var h;return h=g("dijit.form.ValidationTextBox",j,{templateString:c,required:!1,
promptMessage:"",invalidMessage:"$_unset_$",missingMessage:"$_unset_$",message:"",constraints:{},pattern:".*",regExp:"",regExpGen:function(){},state:"",tooltipPosition:[],_deprecateRegExp:function(b,c){c!=h.prototype[b]&&(k.deprecated("ValidationTextBox id="+this.id+", set('"+b+"', ...) is deprecated.  Use set('pattern', ...) instead.","","2.0"),this.set("pattern",c))},_setRegExpGenAttr:function(b){this._deprecateRegExp("regExpGen",b);this.regExpGen=this._getPatternAttr},_setRegExpAttr:function(b){this._deprecateRegExp("regExp",
b)},_setValueAttr:function(){this.inherited(arguments);this.validate(this.focused)},validator:function(b,c){return RegExp("^(?:"+this._getPatternAttr(c)+")"+(this.required?"":"?")+"$").test(b)&&(!this.required||!this._isEmpty(b))&&(this._isEmpty(b)||void 0!==this.parse(b,c))},_isValidSubset:function(){return 0==this.textbox.value.search(this._partialre)},isValid:function(){return this.validator(this.textbox.value,this.constraints)},_isEmpty:function(b){return(this.trim?/^\s*$/:/^$/).test(b)},getErrorMessage:function(){var b=
"$_unset_$"==this.invalidMessage?this.messages.invalidMessage:!this.invalidMessage?this.promptMessage:this.invalidMessage,c="$_unset_$"==this.missingMessage?this.messages.missingMessage:!this.missingMessage?b:this.missingMessage;return this.required&&this._isEmpty(this.textbox.value)?c:b},getPromptMessage:function(){return this.promptMessage},_maskValidSubsetError:!0,validate:function(b){var c="",a=this.disabled||this.isValid(b);if(a)this._maskValidSubsetError=!0;var e=this._isEmpty(this.textbox.value),
d=!a&&b&&this._isValidSubset();this._set("state",a?"":((!this._hasBeenBlurred||b)&&e||d)&&this._maskValidSubsetError?"Incomplete":"Error");this.focusNode.setAttribute("aria-invalid",a?"false":"true");"Error"==this.state?(this._maskValidSubsetError=b&&d,c=this.getErrorMessage(b)):"Incomplete"==this.state?(c=this.getPromptMessage(b),this._maskValidSubsetError=!this._hasBeenBlurred||b):e&&(c=this.getPromptMessage(b));this.set("message",c);return a},displayMessage:function(b){b&&this.focused?e.show(b,
this.domNode,this.tooltipPosition,!this.isLeftToRight()):e.hide(this.domNode)},_refreshState:function(){this._created&&this.validate(this.focused);this.inherited(arguments)},constructor:function(){this.constraints={};this.baseClass+=" dijitValidationTextBox"},startup:function(){this.inherited(arguments);this._refreshState()},_setConstraintsAttr:function(b){if(!b.locale&&this.lang)b.locale=this.lang;this._set("constraints",b);this._refreshState()},_setPatternAttr:function(b){this._set("pattern",b)},
_getPatternAttr:function(b){var c=this.pattern;"function"==(typeof c).toLowerCase()&&(c=this.pattern(b||this.constraints));if(c!=this._lastRegExp){var a="";this._lastRegExp=c;".*"!=c&&c.replace(/\\.|\[\]|\[.*?[^\\]{1}\]|\{.*?\}|\(\?[=:!]|./g,function(b){switch(b.charAt(0)){case "{":case "+":case "?":case "*":case "^":case "$":case "|":case "(":a+=b;break;case ")":a+="|$)";break;default:a+="(?:"+b+"|$)"}});try{"".search(a)}catch(e){a=this.pattern}this._partialre="^(?:"+a+")$"}return c},postMixInProperties:function(){this.inherited(arguments);
this.messages=i.getLocalization("dijit.form","validate",this.lang);this._setConstraintsAttr(this.constraints)},_setDisabledAttr:function(b){this.inherited(arguments);this._refreshState()},_setRequiredAttr:function(b){this._set("required",b);this.focusNode.setAttribute("aria-required",b);this._refreshState()},_setMessageAttr:function(b){this._set("message",b);this.displayMessage(b)},reset:function(){this._maskValidSubsetError=!0;this.inherited(arguments)},_onBlur:function(){this.displayMessage("");
this.inherited(arguments)}})})},"url:dijit/form/templates/ValidationTextBox.html":'<div class="dijit dijitReset dijitInline dijitLeft"\n\tid="widget_${id}" role="presentation"\n\t><div class=\'dijitReset dijitValidationContainer\'\n\t\t><input class="dijitReset dijitInputField dijitValidationIcon dijitValidationInner" value="&#935; " type="text" tabIndex="-1" readonly="readonly" role="presentation"\n\t/></div\n\t><div class="dijitReset dijitInputField dijitInputContainer"\n\t\t><input class="dijitReset dijitInputInner" data-dojo-attach-point=\'textbox,focusNode\' autocomplete="off"\n\t\t\t${!nameAttrSetting} type=\'${type}\'\n\t/></div\n></div>\n',
"dijit/form/NumberSpinner":function(){define(["dojo/_base/declare","dojo/_base/event","dojo/keys","./_Spinner","./NumberTextBox"],function(g,k,i,j,e){return g("dijit.form.NumberSpinner",[j,e.Mixin],{adjust:function(c,e){var b=this.constraints,f=isNaN(c),a=!isNaN(b.max),g=!isNaN(b.min);f&&0!=e&&(c=0<e?g?b.min:a?b.max:0:a?this.constraints.max:g?b.min:0);var d=c+e;if(f||isNaN(d))return c;if(a&&d>b.max)d=b.max;if(g&&d<b.min)d=b.min;return d},_onKeyPress:function(c){if((c.charOrCode==i.HOME||c.charOrCode==
i.END)&&!c.ctrlKey&&!c.altKey&&!c.metaKey&&"undefined"!=typeof this.get("value")){var e=this.constraints[c.charOrCode==i.HOME?"min":"max"];"number"==typeof e&&this._setValueAttr(e,!1);k.stop(c)}}})})},"dijit/form/_Spinner":function(){define("dojo/_base/declare,dojo/_base/event,dojo/keys,dojo/_base/lang,dojo/sniff,dojo/mouse,../typematic,./RangeBoundTextBox,dojo/text!./templates/Spinner.html,./_TextBoxMixin".split(","),function(g,k,i,j,e,c,h,b,f,a){return g("dijit.form._Spinner",b,{defaultTimeout:500,
minimumTimeout:10,timeoutChangeRate:0.9,smallDelta:1,largeDelta:10,templateString:f,baseClass:"dijitTextBox dijitSpinner",cssStateNodes:{upArrowNode:"dijitUpArrowButton",downArrowNode:"dijitDownArrowButton"},adjust:function(a){return a},_arrowPressed:function(b,c,e){!this.disabled&&!this.readOnly&&(this._setValueAttr(this.adjust(this.get("value"),c*e),!1),a.selectInputText(this.textbox,this.textbox.value.length))},_arrowReleased:function(){this._wheelTimer=null},_typematicCallback:function(a,b,c){var e=
this.smallDelta;if(b==this.textbox)b=c.charOrCode,e=b==i.PAGE_UP||b==i.PAGE_DOWN?this.largeDelta:this.smallDelta,b=b==i.UP_ARROW||b==i.PAGE_UP?this.upArrowNode:this.downArrowNode;-1==a?this._arrowReleased(b):this._arrowPressed(b,b==this.upArrowNode?1:-1,e)},_wheelTimer:null,_mouseWheeled:function(a){k.stop(a);var b=a.wheelDelta/120;Math.floor(b)!=b&&(b=0<a.wheelDelta?1:-1);a=a.detail?-1*a.detail:b;if(0!==a){var c=this[0<a?"upArrowNode":"downArrowNode"];this._arrowPressed(c,a,this.smallDelta);this._wheelTimer&&
this._wheelTimer.remove();this._wheelTimer=this.defer(function(){this._arrowReleased(c)},50)}},postCreate:function(){this.inherited(arguments);this.connect(this.domNode,c.wheel,"_mouseWheeled");this.own(h.addListener(this.upArrowNode,this.textbox,{charOrCode:i.UP_ARROW,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout),h.addListener(this.downArrowNode,this.textbox,{charOrCode:i.DOWN_ARROW,ctrlKey:!1,altKey:!1,shiftKey:!1,
metaKey:!1},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout),h.addListener(this.upArrowNode,this.textbox,{charOrCode:i.PAGE_UP,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout),h.addListener(this.downArrowNode,this.textbox,{charOrCode:i.PAGE_DOWN,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout))}})})},
"url:dijit/form/templates/Spinner.html":'<div class="dijit dijitReset dijitInline dijitLeft"\n\tid="widget_${id}" role="presentation"\n\t><div class="dijitReset dijitButtonNode dijitSpinnerButtonContainer"\n\t\t><input class="dijitReset dijitInputField dijitSpinnerButtonInner" type="text" tabIndex="-1" readonly="readonly" role="presentation"\n\t\t/><div class="dijitReset dijitLeft dijitButtonNode dijitArrowButton dijitUpArrowButton"\n\t\t\tdata-dojo-attach-point="upArrowNode"\n\t\t\t><div class="dijitArrowButtonInner"\n\t\t\t\t><input class="dijitReset dijitInputField" value="&#9650; " type="text" tabIndex="-1" readonly="readonly" role="presentation"\n\t\t\t\t\t${_buttonInputDisabled}\n\t\t\t/></div\n\t\t></div\n\t\t><div class="dijitReset dijitLeft dijitButtonNode dijitArrowButton dijitDownArrowButton"\n\t\t\tdata-dojo-attach-point="downArrowNode"\n\t\t\t><div class="dijitArrowButtonInner"\n\t\t\t\t><input class="dijitReset dijitInputField" value="&#9660; " type="text" tabIndex="-1" readonly="readonly" role="presentation"\n\t\t\t\t\t${_buttonInputDisabled}\n\t\t\t/></div\n\t\t></div\n\t></div\n\t><div class=\'dijitReset dijitValidationContainer\'\n\t\t><input class="dijitReset dijitInputField dijitValidationIcon dijitValidationInner" value="&#935; " type="text" tabIndex="-1" readonly="readonly" role="presentation"\n\t/></div\n\t><div class="dijitReset dijitInputField dijitInputContainer"\n\t\t><input class=\'dijitReset dijitInputInner\' data-dojo-attach-point="textbox,focusNode" type="${type}" data-dojo-attach-event="onkeypress:_onKeyPress"\n\t\t\trole="spinbutton" autocomplete="off" ${!nameAttrSetting}\n\t/></div\n></div>\n',
"dojox/widget/ColorPicker":function(){define("dojo/_base/kernel,dojo/_base/declare,dojo/_base/lang,dojo/_base/array,dojo/_base/html,dojo/_base/connect,dojo/_base/sniff,dojo/_base/window,dojo/_base/event,dojo/dom,dojo/dom-class,dojo/keys,dojo/fx,dojo/dnd/move,dijit/registry,dijit/_base/focus,dijit/form/_FormWidget,dijit/typematic,dojox/color,dojo/i18n,dojo/i18n!./nls/ColorPicker,dojo/i18n!dojo/cldr/nls/number,dojo/text!./ColorPicker/ColorPicker.html".split(","),function(g,k,i,j,e,c,h,b,f,a,l,d,p,m,
n,o,r,q,v,s,t,u,y){g.experimental("dojox.widget.ColorPicker");return k("dojox.widget.ColorPicker",r,{showRgb:!0,showHsv:!0,showHex:!0,webSafe:!0,animatePoint:!0,slideDuration:250,liveUpdate:!1,PICKER_HUE_H:150,PICKER_SAT_VAL_H:150,PICKER_SAT_VAL_W:150,PICKER_HUE_SELECTOR_H:8,PICKER_SAT_SELECTOR_H:10,PICKER_SAT_SELECTOR_W:10,value:"#ffffff",_underlay:g.moduleUrl("dojox.widget","ColorPicker/images/underlay.png"),_hueUnderlay:g.moduleUrl("dojox.widget","ColorPicker/images/hue.png"),_pickerPointer:g.moduleUrl("dojox.widget",
"ColorPicker/images/pickerPointer.png"),_huePickerPointer:g.moduleUrl("dojox.widget","ColorPicker/images/hueHandle.png"),_huePickerPointerAlly:g.moduleUrl("dojox.widget","ColorPicker/images/hueHandleA11y.png"),templateString:y,postMixInProperties:function(){if(l.contains(b.body(),"dijit_a11y"))this._huePickerPointer=this._huePickerPointerAlly;this._uId=n.getUniqueId(this.id);i.mixin(this,s.getLocalization("dojox.widget","ColorPicker"));i.mixin(this,s.getLocalization("dojo.cldr","number"));this.inherited(arguments)},
postCreate:function(){this.inherited(arguments);if(7>h("ie"))this.colorUnderlay.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+this._underlay+"', sizingMethod='scale')",this.colorUnderlay.src=this._blankGif.toString();if(!this.showRgb)this.rgbNode.style.visibility="hidden";if(!this.showHsv)this.hsvNode.style.visibility="hidden";if(!this.showHex)this.hexNode.style.visibility="hidden";if(!this.webSafe)this.safePreviewNode.style.visibility="hidden"},startup:function(){if(!this._started)this._started=
!0,this.set("value",this.value),this._mover=new m.boxConstrainedMoveable(this.cursorNode,{box:{t:-(this.PICKER_SAT_SELECTOR_H/2),l:-(this.PICKER_SAT_SELECTOR_W/2),w:this.PICKER_SAT_VAL_W,h:this.PICKER_SAT_VAL_H}}),this._hueMover=new m.boxConstrainedMoveable(this.hueCursorNode,{box:{t:-(this.PICKER_HUE_SELECTOR_H/2),l:0,w:0,h:this.PICKER_HUE_H}}),this._subs=[],this._subs.push(c.subscribe("/dnd/move/stop",i.hitch(this,"_clearTimer"))),this._subs.push(c.subscribe("/dnd/move/start",i.hitch(this,"_setTimer"))),
this._keyListeners=[],this._connects.push(q.addKeyListener(this.hueCursorNode,{charOrCode:d.UP_ARROW,shiftKey:!1,metaKey:!1,ctrlKey:!1,altKey:!1},this,i.hitch(this,this._updateHueCursorNode),25,25)),this._connects.push(q.addKeyListener(this.hueCursorNode,{charOrCode:d.DOWN_ARROW,shiftKey:!1,metaKey:!1,ctrlKey:!1,altKey:!1},this,i.hitch(this,this._updateHueCursorNode),25,25)),this._connects.push(q.addKeyListener(this.cursorNode,{charOrCode:d.UP_ARROW,shiftKey:!1,metaKey:!1,ctrlKey:!1,altKey:!1},this,
i.hitch(this,this._updateCursorNode),25,25)),this._connects.push(q.addKeyListener(this.cursorNode,{charOrCode:d.DOWN_ARROW,shiftKey:!1,metaKey:!1,ctrlKey:!1,altKey:!1},this,i.hitch(this,this._updateCursorNode),25,25)),this._connects.push(q.addKeyListener(this.cursorNode,{charOrCode:d.LEFT_ARROW,shiftKey:!1,metaKey:!1,ctrlKey:!1,altKey:!1},this,i.hitch(this,this._updateCursorNode),25,25)),this._connects.push(q.addKeyListener(this.cursorNode,{charOrCode:d.RIGHT_ARROW,shiftKey:!1,metaKey:!1,ctrlKey:!1,
altKey:!1},this,i.hitch(this,this._updateCursorNode),25,25))},_setValueAttr:function(a){this._started&&this.setColor(a,!0)},setColor:function(a,b){a=v.fromString(a);this._updatePickerLocations(a);this._updateColorInputs(a);this._updateValue(a,b)},_setTimer:function(b){if(b.node==this.cursorNode)o.focus(b.node),a.setSelectable(this.domNode,!1),this._timer=setInterval(i.hitch(this,"_updateColor"),45)},_clearTimer:function(){if(this._timer)clearInterval(this._timer),this._timer=null,this.onChange(this.value),
a.setSelectable(this.domNode,!0)},_setHue:function(a){e.style(this.colorUnderlay,"backgroundColor",v.fromHsv(a,100,100).toHex())},_updateHueCursorNode:function(a,b,c){if(-1!==a){var a=e.style(this.hueCursorNode,"top"),b=this.PICKER_HUE_SELECTOR_H/2,a=a+b,f=!1;c.charOrCode==d.UP_ARROW?0<a&&(a-=1,f=!0):c.charOrCode==d.DOWN_ARROW&&a<this.PICKER_HUE_H&&(a+=1,f=!0);f&&e.style(this.hueCursorNode,"top",a-b+"px")}else this._updateColor(!0)},_updateCursorNode:function(a,b,c){var b=this.PICKER_SAT_SELECTOR_H/
2,f=this.PICKER_SAT_SELECTOR_W/2;if(-1!==a){var a=e.style(this.cursorNode,"top"),g=e.style(this.cursorNode,"left"),a=a+b,g=g+f,h=!1;c.charOrCode==d.UP_ARROW?0<a&&(a-=1,h=!0):c.charOrCode==d.DOWN_ARROW?a<this.PICKER_SAT_VAL_H&&(a+=1,h=!0):c.charOrCode==d.LEFT_ARROW?0<g&&(g-=1,h=!0):c.charOrCode==d.RIGHT_ARROW&&g<this.PICKER_SAT_VAL_W&&(g+=1,h=!0);h&&(g-=f,e.style(this.cursorNode,"top",a-b+"px"),e.style(this.cursorNode,"left",g+"px"))}else this._updateColor(!0)},_updateColor:function(){var a=this.PICKER_HUE_SELECTOR_H/
2,b=this.PICKER_SAT_SELECTOR_H/2,c=this.PICKER_SAT_SELECTOR_W/2,a=e.style(this.hueCursorNode,"top")+a,b=e.style(this.cursorNode,"top")+b,c=e.style(this.cursorNode,"left")+c,a=Math.round(360-360*(a/this.PICKER_HUE_H)),c=v.fromHsv(a,100*(c/this.PICKER_SAT_VAL_W),100-100*(b/this.PICKER_SAT_VAL_H));this._updateColorInputs(c);this._updateValue(c,!0);a!=this._hue&&this._setHue(a)},_colorInputChange:function(a){var b,c=!1;switch(a.target){case this.hexCode:b=v.fromString(a.target.value);c=!0;break;case this.Rval:case this.Gval:case this.Bval:b=
v.fromArray([this.Rval.value,this.Gval.value,this.Bval.value]);c=!0;break;case this.Hval:case this.Sval:case this.Vval:b=v.fromHsv(this.Hval.value,this.Sval.value,this.Vval.value),c=!0}c&&(this._updatePickerLocations(b),this._updateColorInputs(b),this._updateValue(b,!0))},_updateValue:function(a,b){var c=a.toHex();this.value=this.valueNode.value=c;if(b&&(!this._timer||this.liveUpdate))this.onChange(c)},_updatePickerLocations:function(a){var b=this.PICKER_HUE_SELECTOR_H/2,c=this.PICKER_SAT_SELECTOR_H/
2,d=this.PICKER_SAT_SELECTOR_W/2,a=a.toHsv(),b=Math.round(this.PICKER_HUE_H-a.h/360*this.PICKER_HUE_H)-b,d=Math.round(a.s/100*this.PICKER_SAT_VAL_W)-d,c=Math.round(this.PICKER_SAT_VAL_H-a.v/100*this.PICKER_SAT_VAL_H)-c;this.animatePoint?(p.slideTo({node:this.hueCursorNode,duration:this.slideDuration,top:b,left:0}).play(),p.slideTo({node:this.cursorNode,duration:this.slideDuration,top:c,left:d}).play()):(e.style(this.hueCursorNode,"top",b+"px"),e.style(this.cursorNode,{left:d+"px",top:c+"px"}));a.h!=
this._hue&&this._setHue(a.h)},_updateColorInputs:function(a){var b=a.toHex();if(this.showRgb)this.Rval.value=a.r,this.Gval.value=a.g,this.Bval.value=a.b;if(this.showHsv)a=a.toHsv(),this.Hval.value=Math.round(a.h),this.Sval.value=Math.round(a.s),this.Vval.value=Math.round(a.v);if(this.showHex)this.hexCode.value=b;this.previewNode.style.backgroundColor=b;if(this.webSafe)this.safePreviewNode.style.backgroundColor=b},_setHuePoint:function(a){a=a.layerY-this.PICKER_HUE_SELECTOR_H/2;this.animatePoint?p.slideTo({node:this.hueCursorNode,
duration:this.slideDuration,top:a,left:0,onEnd:i.hitch(this,function(){this._updateColor(!0);o.focus(this.hueCursorNode)})}).play():(e.style(this.hueCursorNode,"top",a+"px"),this._updateColor(!1))},_setPoint:function(a){var b=a.layerY-this.PICKER_SAT_SELECTOR_H/2,c=a.layerX-this.PICKER_SAT_SELECTOR_W/2;a&&o.focus(a.target);this.animatePoint?p.slideTo({node:this.cursorNode,duration:this.slideDuration,top:b,left:c,onEnd:i.hitch(this,function(){this._updateColor(!0);o.focus(this.cursorNode)})}).play():
(e.style(this.cursorNode,{left:c+"px",top:b+"px"}),this._updateColor(!1))},_handleKey:function(){},focus:function(){this.focused||o.focus(this.focusNode)},_stopDrag:function(a){f.stop(a)},destroy:function(){this.inherited(arguments);j.forEach(this._subs,function(a){c.unsubscribe(a)});delete this._subs}})})},"dojo/fx":function(){define("./_base/lang,./Evented,./_base/kernel,./_base/array,./_base/connect,./_base/fx,./dom,./dom-style,./dom-geometry,./ready,require".split(","),function(g,k,i,j,e,c,h,
b,f,a,l){i.isAsync||a(0,function(){l(["./fx/Toggler"])});var i=i.fx={},a={_fire:function(a,b){this[a]&&this[a].apply(this,b||[]);return this}},d=function(a){this._index=-1;this._animations=a||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=0;j.forEach(this._animations,function(a){this.duration+=a.duration;a.delay&&(this.duration+=a.delay)},this)};d.prototype=new k;g.extend(d,{_onAnimate:function(){this._fire("onAnimate",arguments)},_onEnd:function(){e.disconnect(this._onAnimateCtx);
e.disconnect(this._onEndCtx);this._onAnimateCtx=this._onEndCtx=null;this._index+1==this._animations.length?this._fire("onEnd"):(this._current=this._animations[++this._index],this._onAnimateCtx=e.connect(this._current,"onAnimate",this,"_onAnimate"),this._onEndCtx=e.connect(this._current,"onEnd",this,"_onEnd"),this._current.play(0,!0))},play:function(a,b){if(!this._current)this._current=this._animations[this._index=0];if(!b&&"playing"==this._current.status())return this;var c=e.connect(this._current,
"beforeBegin",this,function(){this._fire("beforeBegin")}),d=e.connect(this._current,"onBegin",this,function(a){this._fire("onBegin",arguments)}),f=e.connect(this._current,"onPlay",this,function(a){this._fire("onPlay",arguments);e.disconnect(c);e.disconnect(d);e.disconnect(f)});this._onAnimateCtx&&e.disconnect(this._onAnimateCtx);this._onAnimateCtx=e.connect(this._current,"onAnimate",this,"_onAnimate");this._onEndCtx&&e.disconnect(this._onEndCtx);this._onEndCtx=e.connect(this._current,"onEnd",this,
"_onEnd");this._current.play.apply(this._current,arguments);return this},pause:function(){if(this._current){var a=e.connect(this._current,"onPause",this,function(b){this._fire("onPause",arguments);e.disconnect(a)});this._current.pause()}return this},gotoPercent:function(a,b){this.pause();var c=this.duration*a;this._current=null;j.some(this._animations,function(a){if(a.duration<=c)return this._current=a,!0;c-=a.duration;return!1});this._current&&this._current.gotoPercent(c/this._current.duration,b);
return this},stop:function(a){if(this._current){if(a){for(;this._index+1<this._animations.length;++this._index)this._animations[this._index].stop(!0);this._current=this._animations[this._index]}var b=e.connect(this._current,"onStop",this,function(a){this._fire("onStop",arguments);e.disconnect(b)});this._current.stop()}return this},status:function(){return this._current?this._current.status():"stopped"},destroy:function(){this._onAnimateCtx&&e.disconnect(this._onAnimateCtx);this._onEndCtx&&e.disconnect(this._onEndCtx)}});
g.extend(d,a);i.chain=function(a){return new d(a)};var p=function(a){this._animations=a||[];this._connects=[];this.duration=this._finished=0;j.forEach(a,function(a){var b=a.duration;a.delay&&(b+=a.delay);if(this.duration<b)this.duration=b;this._connects.push(e.connect(a,"onEnd",this,"_onEnd"))},this);this._pseudoAnimation=new c.Animation({curve:[0,1],duration:this.duration});var b=this;j.forEach("beforeBegin,onBegin,onPlay,onAnimate,onPause,onStop,onEnd".split(","),function(a){b._connects.push(e.connect(b._pseudoAnimation,
a,function(){b._fire(a,arguments)}))})};g.extend(p,{_doAction:function(a,b){j.forEach(this._animations,function(c){c[a].apply(c,b)});return this},_onEnd:function(){++this._finished>this._animations.length&&this._fire("onEnd")},_call:function(a,b){var c=this._pseudoAnimation;c[a].apply(c,b)},play:function(a,b){this._finished=0;this._doAction("play",arguments);this._call("play",arguments);return this},pause:function(){this._doAction("pause",arguments);this._call("pause",arguments);return this},gotoPercent:function(a,
b){var c=this.duration*a;j.forEach(this._animations,function(a){a.gotoPercent(a.duration<c?1:c/a.duration,b)});this._call("gotoPercent",arguments);return this},stop:function(a){this._doAction("stop",arguments);this._call("stop",arguments);return this},status:function(){return this._pseudoAnimation.status()},destroy:function(){j.forEach(this._connects,e.disconnect)}});g.extend(p,a);i.combine=function(a){return new p(a)};i.wipeIn=function(a){var d=a.node=h.byId(a.node),f=d.style,i,a=c.animateProperty(g.mixin({properties:{height:{start:function(){i=
f.overflow;f.overflow="hidden";if("hidden"==f.visibility||"none"==f.display)return f.height="1px",f.display="",f.visibility="",1;var a=b.get(d,"height");return Math.max(a,1)},end:function(){return d.scrollHeight}}}},a)),j=function(){f.height="auto";f.overflow=i};e.connect(a,"onStop",j);e.connect(a,"onEnd",j);return a};i.wipeOut=function(a){var b=(a.node=h.byId(a.node)).style,d,a=c.animateProperty(g.mixin({properties:{height:{end:1}}},a));e.connect(a,"beforeBegin",function(){d=b.overflow;b.overflow=
"hidden";b.display=""});var f=function(){b.overflow=d;b.height="auto";b.display="none"};e.connect(a,"onStop",f);e.connect(a,"onEnd",f);return a};i.slideTo=function(a){var d=null,i=null,j=function(a){return function(){var c=b.getComputedStyle(a),e=c.position;d="absolute"==e?a.offsetTop:parseInt(c.top)||0;i="absolute"==e?a.offsetLeft:parseInt(c.left)||0;if("absolute"!=e&&"relative"!=e)c=f.position(a,!0),d=c.y,i=c.x,a.style.position="absolute",a.style.top=d+"px",a.style.left=i+"px"}}(a.node=h.byId(a.node));
j();a=c.animateProperty(g.mixin({properties:{top:a.top||0,left:a.left||0}},a));e.connect(a,"beforeBegin",a,j);return a};return i})},"dijit/_base/focus":function(){define("dojo/_base/array,dojo/dom,dojo/_base/lang,dojo/topic,dojo/_base/window,../focus,../main".split(","),function(g,k,i,j,e,c,h){c.focus=function(b){if(b){var f="node"in b?b.node:b,a=b.bookmark,b=b.openedForWindow,g=a?a.isCollapsed:!1;if(f){var d="iframe"==f.tagName.toLowerCase()?f.contentWindow:f;if(d&&d.focus)try{d.focus()}catch(i){}c._onFocusNode(f)}if(a&&
e.withGlobal(b||e.global,h.isCollapsed)&&!g){b&&b.focus();try{e.withGlobal(b||e.global,h.moveToBookmark,null,[a])}catch(j){}}}};c.watch("curNode",function(b,c,a){h._curFocus=a;h._prevFocus=c;a&&j.publish("focusNode",a)});c.watch("activeStack",function(b,c,a){h._activeStack=a});c.on("widget-blur",function(b,c){j.publish("widgetBlur",b,c)});c.on("widget-focus",function(b,c){j.publish("widgetFocus",b,c)});i.mixin(h,{_curFocus:null,_prevFocus:null,isCollapsed:function(){return h.getBookmark().isCollapsed},
getBookmark:function(){var b,f,a=e.doc.selection,g=c.curNode;if(e.global.getSelection){if(a=e.global.getSelection())if(a.isCollapsed){if(b=g?g.tagName:"")if(b=b.toLowerCase(),"textarea"==b||"input"==b&&(!g.type||"text"==g.type.toLowerCase()))return a={start:g.selectionStart,end:g.selectionEnd,node:g,pRange:!0},{isCollapsed:a.end<=a.start,mark:a};b={isCollapsed:!0};if(a.rangeCount)b.mark=a.getRangeAt(0).cloneRange()}else f=a.getRangeAt(0),b={isCollapsed:!1,mark:f.cloneRange()}}else if(a){b=g?g.tagName:
"";b=b.toLowerCase();if(g&&b&&("button"==b||"textarea"==b||"input"==b)){if(a.type&&"none"==a.type.toLowerCase())return{isCollapsed:!0,mark:null};f=a.createRange();return{isCollapsed:f.text&&f.text.length?!1:!0,mark:{range:f,pRange:!0}}}b={};try{f=a.createRange(),b.isCollapsed=!("Text"==a.type?f.htmlText.length:f.length)}catch(d){return b.isCollapsed=!0,b}if("CONTROL"==a.type.toUpperCase())if(f.length){b.mark=[];a=0;for(g=f.length;a<g;)b.mark.push(f.item(a++))}else b.isCollapsed=!0,b.mark=null;else b.mark=
f.getBookmark()}return b},moveToBookmark:function(b){var c=e.doc;if(b=b.mark)if(e.global.getSelection){if((c=e.global.getSelection())&&c.removeAllRanges)b.pRange?(c=b.node,c.selectionStart=b.start,c.selectionEnd=b.end):(c.removeAllRanges(),c.addRange(b))}else if(c.selection&&b){var a;b.pRange?a=b.range:i.isArray(b)?(a=c.body.createControlRange(),g.forEach(b,function(b){a.addElement(b)})):(a=c.body.createTextRange(),a.moveToBookmark(b));a.select()}},getFocus:function(b,f){var a=!c.curNode||b&&k.isDescendant(c.curNode,
b.domNode)?h._prevFocus:c.curNode;return{node:a,bookmark:a&&a==c.curNode&&e.withGlobal(f||e.global,h.getBookmark),openedForWindow:f}},_activeStack:[],registerIframe:function(b){return c.registerIframe(b)},unregisterIframe:function(b){b&&b.remove()},registerWin:function(b,e){return c.registerWin(b,e)},unregisterWin:function(b){b&&b.remove()}});return h})},"dojox/color":function(){define(["./color/_base"],function(g){return g})},"dojox/color/_base":function(){define(["../main","dojo/_base/lang","dojo/_base/Color",
"dojo/colors"],function(g,k,i,j){g=k.getObject("color",!0,g);g.Color=i;g.blend=i.blendColors;g.fromRgb=i.fromRgb;g.fromHex=i.fromHex;g.fromArray=i.fromArray;g.fromString=i.fromString;g.greyscale=j.makeGrey;k.mixin(g,{fromCmy:function(e,c,g){if(k.isArray(e))c=e[1],g=e[2],e=e[0];else if(k.isObject(e))c=e.m,g=e.y,e=e.c;e/=100;c/=100;g/=100;c=1-c;g=1-g;return new i({r:Math.round(255*(1-e)),g:Math.round(255*c),b:Math.round(255*g)})},fromCmyk:function(e,c,g,b){if(k.isArray(e))c=e[1],g=e[2],b=e[3],e=e[0];
else if(k.isObject(e))c=e.m,g=e.y,b=e.b,e=e.c;e/=100;c/=100;g/=100;b/=100;e=1-Math.min(1,e*(1-b)+b);c=1-Math.min(1,c*(1-b)+b);g=1-Math.min(1,g*(1-b)+b);return new i({r:Math.round(255*e),g:Math.round(255*c),b:Math.round(255*g)})},fromHsl:function(e,c,g){if(k.isArray(e))c=e[1],g=e[2],e=e[0];else if(k.isObject(e))c=e.s,g=e.l,e=e.h;c/=100;for(g/=100;0>e;)e+=360;for(;360<=e;)e-=360;var b,f,a;120>e?(b=(120-e)/60,f=e/60,a=0):240>e?(b=0,f=(240-e)/60,a=(e-120)/60):(b=(e-240)/60,f=0,a=(360-e)/60);b=2*c*Math.min(b,
1)+(1-c);f=2*c*Math.min(f,1)+(1-c);a=2*c*Math.min(a,1)+(1-c);0.5>g?(b*=g,f*=g,a*=g):(b=(1-g)*b+2*g-1,f=(1-g)*f+2*g-1,a=(1-g)*a+2*g-1);return new i({r:Math.round(255*b),g:Math.round(255*f),b:Math.round(255*a)})}});g.fromHsv=function(e,c,g){if(k.isArray(e))c=e[1],g=e[2],e=e[0];else if(k.isObject(e))c=e.s,g=e.v,e=e.h;360==e&&(e=0);var c=c/100,g=g/100,b,f,a;if(0==c)b=g,a=g,f=g;else{var j=e/60,e=Math.floor(j),d=j-e,j=g*(1-c),p=g*(1-c*d),c=g*(1-c*(1-d));switch(e){case 0:b=g;f=c;a=j;break;case 1:b=p;f=g;
a=j;break;case 2:b=j;f=g;a=c;break;case 3:b=j;f=p;a=g;break;case 4:b=c;f=j;a=g;break;case 5:b=g,f=j,a=p}}return new i({r:Math.round(255*b),g:Math.round(255*f),b:Math.round(255*a)})};k.extend(i,{toCmy:function(){var e=1-this.g/255,c=1-this.b/255;return{c:Math.round(100*(1-this.r/255)),m:Math.round(100*e),y:Math.round(100*c)}},toCmyk:function(){var e,c,g,b=this.r/255;c=this.g/255;g=this.b/255;e=Math.min(1-b,1-c,1-g);c=(1-c-e)/(1-e);g=(1-g-e)/(1-e);return{c:Math.round(100*((1-b-e)/(1-e))),m:Math.round(100*
c),y:Math.round(100*g),b:Math.round(100*e)}},toHsl:function(){var e=this.r/255,c=this.g/255,g=this.b/255,b=Math.min(e,g,c),f=Math.max(e,c,g),a=f-b,i=0,d=0,b=(b+f)/2;0<b&&1>b&&(d=a/(0.5>b?2*b:2-2*b));0<a&&(f==e&&f!=c&&(i+=(c-g)/a),f==c&&f!=g&&(i+=2+(g-e)/a),f==g&&f!=e&&(i+=4+(e-c)/a),i*=60);return{h:i,s:Math.round(100*d),l:Math.round(100*b)}},toHsv:function(){var e=this.r/255,c=this.g/255,g=this.b/255,b=Math.min(e,g,c),f=Math.max(e,c,g),b=f-b,a=null,i=0==f?0:b/f;0==i?a=0:(a=e==f?60*(c-g)/b:c==f?120+
60*(g-e)/b:240+60*(e-c)/b,0>a&&(a+=360));return{h:a,s:Math.round(100*i),v:Math.round(100*f)}}});return g})},"dojox/main":function(){define(["dojo/_base/kernel"],function(g){return g.dojox})},"dojo/colors":function(){define("dojo/colors",["./_base/kernel","./_base/lang","./_base/Color","./_base/array"],function(g,k,i,j){var e={};k.setObject("dojo.colors",e);var c=function(b,c,a){0>a&&++a;1<a&&--a;var e=6*a;return 1>e?b+(c-b)*e:1>2*a?c:2>3*a?b+6*(c-b)*(2/3-a):b};g.colorFromRgb=i.fromRgb=function(b,
e){var a=b.toLowerCase().match(/^(rgba?|hsla?)\(([\s\.\-,%0-9]+)\)/);if(a){var g=a[2].split(/\s*,\s*/),d=g.length,a=a[1];if("rgb"==a&&3==d||"rgba"==a&&4==d){a=g[0];return"%"==a.charAt(a.length-1)?(a=j.map(g,function(a){return 2.56*parseFloat(a)}),4==d&&(a[3]=g[3]),i.fromArray(a,e)):i.fromArray(g,e)}if("hsl"==a&&3==d||"hsla"==a&&4==d){var a=(parseFloat(g[0])%360+360)%360/360,h=parseFloat(g[1])/100,k=parseFloat(g[2])/100,h=0.5>=k?k*(h+1):k+h-k*h,k=2*k-h,a=[256*c(k,h,a+1/3),256*c(k,h,a),256*c(k,h,a-
1/3),1];4==d&&(a[3]=g[3]);return i.fromArray(a,e)}}return null};var h=function(b,c,a){b=Number(b);return isNaN(b)?a:b<c?c:b>a?a:b};i.prototype.sanitize=function(){this.r=Math.round(h(this.r,0,255));this.g=Math.round(h(this.g,0,255));this.b=Math.round(h(this.b,0,255));this.a=h(this.a,0,1);return this};e.makeGrey=i.makeGrey=function(b,c){return i.fromArray([b,b,b,c])};k.mixin(i.named,{aliceblue:[240,248,255],antiquewhite:[250,235,215],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],
bisque:[255,228,196],blanchedalmond:[255,235,205],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],
darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,
165,32],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,
122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,
25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],oldlace:[253,245,230],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,
69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],whitesmoke:[245,245,245],yellowgreen:[154,205,50]});return i})},"url:dojox/widget/ColorPicker/ColorPicker.html":'<table class="dojoxColorPicker" dojoAttachEvent="onkeypress: _handleKey" cellpadding="0" cellspacing="0" role="presentation">\n\t<tr>\n\t\t<td valign="top" class="dojoxColorPickerRightPad">\n\t\t\t<div class="dojoxColorPickerBox">\n\t\t\t\t<\!-- Forcing ABS in style attr due to dojo DND issue with not picking it up form the class. --\>\n\t\t\t\t<img title="${saturationPickerTitle}" alt="${saturationPickerTitle}" class="dojoxColorPickerPoint" src="${_pickerPointer}" tabIndex="0" dojoAttachPoint="cursorNode" style="position: absolute; top: 0px; left: 0px;">\n\t\t\t\t<img role="presentation" alt="" dojoAttachPoint="colorUnderlay" dojoAttachEvent="onclick: _setPoint, onmousedown: _stopDrag" class="dojoxColorPickerUnderlay" src="${_underlay}" ondragstart="return false">\n\t\t\t</div>\n\t\t</td>\n\t\t<td valign="top" class="dojoxColorPickerRightPad">\n\t\t\t<div class="dojoxHuePicker">\n\t\t\t\t<\!-- Forcing ABS in style attr due to dojo DND issue with not picking it up form the class. --\>\n\t\t\t\t<img dojoAttachPoint="hueCursorNode" tabIndex="0" class="dojoxHuePickerPoint" title="${huePickerTitle}" alt="${huePickerTitle}" src="${_huePickerPointer}" style="position: absolute; top: 0px; left: 0px;">\n\t\t\t\t<div class="dojoxHuePickerUnderlay" dojoAttachPoint="hueNode">\n\t\t\t\t    <img role="presentation" alt="" dojoAttachEvent="onclick: _setHuePoint, onmousedown: _stopDrag" src="${_hueUnderlay}">\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</td>\n\t\t<td valign="top">\n\t\t\t<table cellpadding="0" cellspacing="0" role="presentation">\n\t\t\t\t<tr>\n\t\t\t\t\t<td valign="top" class="dojoxColorPickerPreviewContainer">\n\t\t\t\t\t\t<table cellpadding="0" cellspacing="0" role="presentation">\n\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t<td valign="top" class="dojoxColorPickerRightPad">\n\t\t\t\t\t\t\t\t\t<div dojoAttachPoint="previewNode" class="dojoxColorPickerPreview"></div>\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t<td valign="top">\n\t\t\t\t\t\t\t\t\t<div dojoAttachPoint="safePreviewNode" class="dojoxColorPickerWebSafePreview"></div>\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t</table>\n\t\t\t\t\t</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t\t<td valign="bottom">\n\t\t\t\t\t\t<table class="dojoxColorPickerOptional" cellpadding="0" cellspacing="0" role="presentation">\n\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t\t\t<div class="dijitInline dojoxColorPickerRgb" dojoAttachPoint="rgbNode">\n\t\t\t\t\t\t\t\t\t\t<table cellpadding="1" cellspacing="1" role="presentation">\n\t\t\t\t\t\t\t\t\t\t<tr><td><label for="${_uId}_r">${redLabel}</label></td><td><input id="${_uId}_r" dojoAttachPoint="Rval" size="1" dojoAttachEvent="onchange: _colorInputChange"></td></tr>\n\t\t\t\t\t\t\t\t\t\t<tr><td><label for="${_uId}_g">${greenLabel}</label></td><td><input id="${_uId}_g" dojoAttachPoint="Gval" size="1" dojoAttachEvent="onchange: _colorInputChange"></td></tr>\n\t\t\t\t\t\t\t\t\t\t<tr><td><label for="${_uId}_b">${blueLabel}</label></td><td><input id="${_uId}_b" dojoAttachPoint="Bval" size="1" dojoAttachEvent="onchange: _colorInputChange"></td></tr>\n\t\t\t\t\t\t\t\t\t\t</table>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t\t\t<div class="dijitInline dojoxColorPickerHsv" dojoAttachPoint="hsvNode">\n\t\t\t\t\t\t\t\t\t\t<table cellpadding="1" cellspacing="1" role="presentation">\n\t\t\t\t\t\t\t\t\t\t<tr><td><label for="${_uId}_h">${hueLabel}</label></td><td><input id="${_uId}_h" dojoAttachPoint="Hval"size="1" dojoAttachEvent="onchange: _colorInputChange"> ${degLabel}</td></tr>\n\t\t\t\t\t\t\t\t\t\t<tr><td><label for="${_uId}_s">${saturationLabel}</label></td><td><input id="${_uId}_s" dojoAttachPoint="Sval" size="1" dojoAttachEvent="onchange: _colorInputChange"> ${percentSign}</td></tr>\n\t\t\t\t\t\t\t\t\t\t<tr><td><label for="${_uId}_v">${valueLabel}</label></td><td><input id="${_uId}_v" dojoAttachPoint="Vval" size="1" dojoAttachEvent="onchange: _colorInputChange"> ${percentSign}</td></tr>\n\t\t\t\t\t\t\t\t\t\t</table>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t<td colspan="2">\n\t\t\t\t\t\t\t\t\t<div class="dojoxColorPickerHex" dojoAttachPoint="hexNode" aria-live="polite">\t\n\t\t\t\t\t\t\t\t\t\t<label for="${_uId}_hex">&nbsp;${hexLabel}&nbsp;</label><input id="${_uId}_hex" dojoAttachPoint="hexCode, focusNode, valueNode" size="6" class="dojoxColorPickerHexCode" dojoAttachEvent="onchange: _colorInputChange">\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t</table>\n\t\t\t\t\t</td>\n\t\t\t\t</tr>\n\t\t\t</table>\n\t\t</td>\n\t</tr>\n</table>\n\n',
"dijit/form/DropDownButton":function(){define("dojo/_base/declare,dojo/_base/lang,dojo/query,../registry,../popup,./Button,../_Container,../_HasDropDown,dojo/text!./templates/DropDownButton.html".split(","),function(g,k,i,j,e,c,h,b,f){return g("dijit.form.DropDownButton",[c,h,b],{baseClass:"dijitDropDownButton",templateString:f,_fillContent:function(){if(this.srcNodeRef){var a=i("*",this.srcNodeRef);this.inherited(arguments,[a[0]]);this.dropDownContainer=this.srcNodeRef}},startup:function(){if(!this._started){if(!this.dropDown&&
this.dropDownContainer){var a=i("[widgetId]",this.dropDownContainer)[0];this.dropDown=j.byNode(a);delete this.dropDownContainer}this.dropDown&&e.hide(this.dropDown);this.inherited(arguments)}},isLoaded:function(){var a=this.dropDown;return!!a&&(!a.href||a.isLoaded)},loadDropDown:function(a){var b=this.dropDown,c=b.on("load",k.hitch(this,function(){c.remove();a()}));b.refresh()},isFocusable:function(){return this.inherited(arguments)&&!this._mouseDown}})})},"url:dijit/form/templates/DropDownButton.html":'<span class="dijit dijitReset dijitInline"\n\t><span class=\'dijitReset dijitInline dijitButtonNode\'\n\t\tdata-dojo-attach-event="ondijitclick:_onClick" data-dojo-attach-point="_buttonNode"\n\t\t><span class="dijitReset dijitStretch dijitButtonContents"\n\t\t\tdata-dojo-attach-point="focusNode,titleNode,_arrowWrapperNode"\n\t\t\trole="button" aria-haspopup="true" aria-labelledby="${id}_label"\n\t\t\t><span class="dijitReset dijitInline dijitIcon"\n\t\t\t\tdata-dojo-attach-point="iconNode"\n\t\t\t></span\n\t\t\t><span class="dijitReset dijitInline dijitButtonText"\n\t\t\t\tdata-dojo-attach-point="containerNode,_popupStateNode"\n\t\t\t\tid="${id}_label"\n\t\t\t></span\n\t\t\t><span class="dijitReset dijitInline dijitArrowButtonInner"></span\n\t\t\t><span class="dijitReset dijitInline dijitArrowButtonChar">&#9660;</span\n\t\t></span\n\t></span\n\t><input ${!nameAttrSetting} type="${type}" value="${value}" class="dijitOffScreen" tabIndex="-1"\n\t\tdata-dojo-attach-point="valueNode"\n/></span>\n',
"dijit/TooltipDialog":function(){define("dojo/_base/declare,dojo/dom-class,dojo/_base/event,dojo/keys,dojo/_base/lang,./focus,./layout/ContentPane,./_DialogMixin,./form/_FormMixin,./_TemplatedMixin,dojo/text!./templates/TooltipDialog.html,./main".split(","),function(g,k,i,j,e,c,h,b,f,a,l){return g("dijit.TooltipDialog",[h,a,f,b],{title:"",doLayout:!1,autofocus:!0,baseClass:"dijitTooltipDialog",_firstFocusItem:null,_lastFocusItem:null,templateString:l,_setTitleAttr:function(a){this.containerNode.title=
a;this._set("title",a)},postCreate:function(){this.inherited(arguments);this.connect(this.containerNode,"onkeypress","_onKey")},orient:function(a,b,c){a={"MR-ML":"dijitTooltipRight","ML-MR":"dijitTooltipLeft","TM-BM":"dijitTooltipAbove","BM-TM":"dijitTooltipBelow","BL-TL":"dijitTooltipBelow dijitTooltipABLeft","TL-BL":"dijitTooltipAbove dijitTooltipABLeft","BR-TR":"dijitTooltipBelow dijitTooltipABRight","TR-BR":"dijitTooltipAbove dijitTooltipABRight","BR-BL":"dijitTooltipRight","BL-BR":"dijitTooltipLeft"}[b+
"-"+c];k.replace(this.domNode,a,this._currentOrientClass||"");this._currentOrientClass=a},focus:function(){this._getFocusItems(this.containerNode);c.focus(this._firstFocusItem)},onOpen:function(a){this.orient(this.domNode,a.aroundCorner,a.corner);var b=a.aroundNodePos;if("M"==a.corner.charAt(0)&&"M"==a.aroundCorner.charAt(0))this.connectorNode.style.top=b.y+(b.h-this.connectorNode.offsetHeight>>1)-a.y+"px",this.connectorNode.style.left="";else if("M"==a.corner.charAt(1)&&"M"==a.aroundCorner.charAt(1))this.connectorNode.style.left=
b.x+(b.w-this.connectorNode.offsetWidth>>1)-a.x+"px";this._onShow()},onClose:function(){this.onHide()},_onKey:function(a){var b=a.target;a.charOrCode===j.TAB&&this._getFocusItems(this.containerNode);var e=this._firstFocusItem==this._lastFocusItem;a.charOrCode==j.ESCAPE?(this.defer("onCancel"),i.stop(a)):b==this._firstFocusItem&&a.shiftKey&&a.charOrCode===j.TAB?(e||c.focus(this._lastFocusItem),i.stop(a)):b==this._lastFocusItem&&a.charOrCode===j.TAB&&!a.shiftKey?(e||c.focus(this._firstFocusItem),i.stop(a)):
a.charOrCode===j.TAB&&a.stopPropagation()}})})},"url:dijit/templates/TooltipDialog.html":'<div role="presentation" tabIndex="-1">\n\t<div class="dijitTooltipContainer" role="presentation">\n\t\t<div class ="dijitTooltipContents dijitTooltipFocusNode" data-dojo-attach-point="containerNode" role="dialog"></div>\n\t</div>\n\t<div class="dijitTooltipConnector" role="presentation" data-dojo-attach-point="connectorNode"></div>\n</div>\n',"*now":function(g){g(['dojo/i18n!*preload*dojo/nls/dojo*["ar","ca","cs","da","de","el","en-gb","en-us","es-es","fi-fi","fr-fr","he-il","hu","it-it","ja-jp","ko-kr","nl-nl","nb","pl","pt-br","pt-pt","ru","sk","sl","sv","th","tr","zh-tw","zh-cn","ROOT"]'])}}});
(function(){var g=this.require;g({cache:{}});!g.async&&g(["dojo"]);g.boot&&g.apply(null,g.boot)})();