//>>built
(function(e,l){var j,k=function(){},f=function(a){for(var c in a)return 0;return 1},d={}.toString,i=function(a){return"[object Function]"==d.call(a)},h=function(a){return"[object String]"==d.call(a)},b=function(a){return"[object Array]"==d.call(a)},a=function(a,c){if(a)for(var g=0;g<a.length;)c(a[g++])},c=function(a,c){for(var g in c)a[g]=c[g];return a},g=function(a,g){return c(Error(a),{src:"dojoLoader",info:g})},n=1,p=function(){return"_"+n++},o=function(a,c,g){return ta(a,c,g,0,o)},s=this,m=s.document,
t=m&&m.createElement("DiV"),q=o.has=function(a){return i(r[a])?r[a]=r[a](s,m,t):r[a]},r=q.cache=l.hasCache;q.add=function(a,c,g,b){(void 0===r[a]||b)&&(r[a]=c);return g&&q(a)};for(var v in e.has)q.add(v,e.has[v],0,1);o.async=1;var x=new Function("return eval(arguments[0]);");o.eval=function(a,c){return x(a+"\r\n//# sourceURL="+c)};var u={},w=o.signal=function(c,g){var n=u[c];a(n&&n.slice(0),function(a){a.apply(null,b(g)?g:[g])})},J=o.on=function(a,c){var g=u[a]||(u[a]=[]);g.push(c);return{remove:function(){for(var a=
0;a<g.length;a++)if(g[a]===c){g.splice(a,1);break}}}},L=[],M={},O=[],P={},S=o.map={},B=[],z={},y="",A={},K={};v={};var H=function(a){var c,g,b,n;for(c in K)g=K[c],(b=c.match(/^url\:(.+)/))?A["url:"+ua(b[1],a)]=g:"*now"==c?n=g:"*noref"!=c&&(b=Y(c,a,!0),A[b.mid]=A["url:"+b.url]=g);n&&n(ha(a));K={}},C=function(a){return a.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(a){return"\\"+a})},F=function(a,c){c.splice(0,c.length);for(var g in a)c.push([g,a[g],RegExp("^"+C(g)+"(/|$)"),g.length]);c.sort(function(a,
c){return c[3]-a[3]});return c},N=function(a){var g=a.name;g||(g=a,a={name:g});a=c({main:"main"},a);a.location=a.location?a.location:g;if(a.packageMap)S[g]=a.packageMap;if(!a.main.indexOf("./"))a.main=a.main.substring(2);P[g]=a},D=[],G=function(g,b,n){for(var m in g){if("waitSeconds"==m)o.waitms=1E3*(g[m]||0);"cacheBust"==m&&(y=g[m]?h(g[m])?g[m]:(new Date).getTime()+"":"");if("baseUrl"==m||"combo"==m)o[m]=g[m];g[m]!==r&&(o.rawConfig[m]=g[m],"has"!=m&&q.add("config-"+m,g[m],0,b))}if(!o.baseUrl)o.baseUrl=
"./";/\/$/.test(o.baseUrl)||(o.baseUrl+="/");for(m in g.has)q.add(m,g.has[m],0,b);a(g.packages,N);for(var d in g.packagePaths)a(g.packagePaths[d],function(a){var c=d+"/"+a;h(a)&&(a={name:a});a.location=c;N(a)});F(c(S,g.map),B);a(B,function(a){a[1]=F(a[1],[]);if("*"==a[0])B.star=a});F(c(M,g.paths),O);a(g.aliases,function(a){h(a[0])&&(a[0]=RegExp("^"+C(a[0])+"$"));L.push(a)});if(b)D.push({config:g.config});else for(m in g.config)b=T(m,n),b.config=c(b.config||{},g.config[m]);if(g.cache)H(),K=g.cache,
g.cache["*noref"]&&H();w("config",[g,o.rawConfig])};q("dojo-cdn");var U=m.getElementsByTagName("script");j=0;for(var I,E,Z,W;j<U.length;)if(I=U[j++],(Z=I.getAttribute("src"))&&(W=Z.match(/(((.*)\/)|^)dojo\.js(\W|$)/i))){E=W[3]||"";l.baseUrl=l.baseUrl||E;(Z=I.getAttribute("data-dojo-config")||I.getAttribute("djConfig"))&&(v=o.eval("({ "+Z+" })","data-dojo-config"));break}o.rawConfig={};G(l,1);if(q("dojo-cdn"))(P.dojo.location=E)&&(E+="/"),P.dijit.location=E+"../dijit/",P.dojox.location=E+"../dojox/";
G(e,1);G(v,1);var $=function(c){ia(function(){a(c.deps,va)})},ta=function(a,m,n,d,f){var e;if(h(a)){if((e=T(a,d,!0))&&e.executed)return e.result;throw g("undefinedModule",a);}b(a)||(G(a,0,d),a=m,m=n);if(b(a))if(a.length){for(var n="require*"+p(),r,i=[],q=0;q<a.length;)r=a[q++],i.push(T(r,d));e=c(aa("",n,0,""),{injected:2,deps:i,def:m||k,require:d?d.require:o,gc:1});z[e.mid]=e;$(e);var t=X&&0!="sync";ia(function(){ja(e,t)});e.executed||R.push(e);ba()}else m&&m();return f},ha=function(a){if(!a)return o;
var g=a.require;if(!g)g=function(c,b,m){return ta(c,b,m,a,g)},a.require=c(g,o),g.module=a,g.toUrl=function(c){return ua(c,a)},g.toAbsMid=function(c){return ka(c,a)};return g},R=[],ca=[],Q={},Fa=function(a){a.injected=1;Q[a.mid]=1;a.url&&(Q[a.url]=a.pack||1);wa()},ea=function(a){a.injected=2;delete Q[a.mid];a.url&&delete Q[a.url];f(Q)&&da()},Ga=o.idle=function(){return!ca.length&&f(Q)&&!R.length&&!X},la=function(a,c){if(c)for(var g=0;g<c.length;g++)if(c[g][2].test(a))return c[g];return 0},xa=function(a){for(var c=
[],g,b,a=a.replace(/\\/g,"/").split("/");a.length;)g=a.shift(),".."==g&&c.length&&".."!=b?(c.pop(),b=c[c.length-1]):"."!=g&&c.push(b=g);return c.join("/")},aa=function(a,c,g,b){return{pid:a,mid:c,pack:g,url:b,executed:0,def:0}},ya=function(c,b,m,n,d,f,e,h){var r,k,o,p;p=/^\./.test(c);if(/(^\/)|(\:)|(\.js$)/.test(c)||p&&!b)return aa(0,c,0,c);c=xa(p?b.mid+"/../"+c:c);if(/^\./.test(c))throw g("irrationalPath",c);b&&(o=la(b.mid,f));(o=(o=o||f.star)&&la(c,o[1]))&&(c=o[1]+c.substring(o[3]));b=(W=c.match(/^([^\/]+)(\/(.+))?$/))?
W[1]:"";(r=m[b])?c=b+"/"+(k=W[3]||r.main):b="";var t=0;a(L,function(a){var g=c.match(a[0]);g&&0<g.length&&(t=i(a[1])?c.replace(a[0],a[1]):a[1])});if(t)return ya(t,0,m,n,d,f,e,h);if(m=n[c])return h?aa(m.pid,m.mid,m.pack,m.url):n[c];n=(o=la(c,e))?o[1]+c.substring(o[3]):b?r.location+"/"+k:q("config-tlmSiblingOfDojo")?"../"+c:c;/(^\/)|(\:)/.test(n)||(n=d+n);return aa(b,c,r,xa(n+".js"))},Y=function(a,c,g){return ya(a,c,P,z,o.baseUrl,g?[]:B,g?[]:O)},za=function(a,c,g){return a.normalize?a.normalize(c,function(a){return ka(a,
g)}):ka(c,g)},Aa=0,T=function(a,c,g){var b,m;(b=a.match(/^(.+?)\!(.*)$/))?(m=T(b[1],c,g),5===m.executed&&!m.load&&ma(m),m.load?(b=za(m,b[2],c),a=m.mid+"!"+(m.dynamic?++Aa+"!":"")+b):(b=b[2],a=m.mid+"!"+ ++Aa+"!waitingForPlugin"),a={plugin:m,mid:a,req:ha(c),prid:b}):a=Y(a,c);return z[a.mid]||!g&&(z[a.mid]=a)},ka=o.toAbsMid=function(a,c){return Y(a,c).mid},ua=o.toUrl=function(a,c){var g=Y(a+"/x",c),b=g.url;return Ba(0===g.pid?a:b.substring(0,b.length-5))},Ca={injected:2,executed:5,def:3,result:3};E=
function(a){return z[a]=c({mid:a},Ca)};var Ha=E("require"),Ia=E("exports"),Ja=E("module"),fa={},na=0,ma=function(a){var c=a.result;a.dynamic=c.dynamic;a.normalize=c.normalize;a.load=c.load;return a},Ka=function(g){var b={};a(g.loadQ,function(a){var m=za(g,a.prid,a.req.module),n=g.dynamic?a.mid.replace(/waitingForPlugin$/,m):g.mid+"!"+m,m=c(c({},a),{mid:n,prid:m,injected:0});z[n]||Da(z[n]=m);b[a.mid]=z[n];ea(a);delete z[a.mid]});g.loadQ=0;var m=function(a){for(var c=a.deps||[],g=0;g<c.length;g++)(a=
b[c[g].mid])&&(c[g]=a)},n;for(n in z)m(z[n]);a(R,m)},oa=function(a){o.trace("loader-finish-exec",[a.mid]);a.executed=5;a.defOrder=na++;a.loadQ&&(ma(a),Ka(a));for(j=0;j<R.length;)R[j]===a?R.splice(j,1):j++;/^require\*/.test(a.mid)&&delete z[a.mid]},La=[],ja=function(a,c){if(4===a.executed)return o.trace("loader-circular-dependency",[La.concat(a.mid).join("->")]),!a.def||c?fa:a.cjs&&a.cjs.exports;if(!a.executed){if(!a.def)return fa;var b=a.mid,m=a.deps||[],n,d=[],f=0;for(a.executed=4;f<m.length;){n=
m[f++];n=n===Ha?ha(a):n===Ia?a.cjs.exports:n===Ja?a.cjs:ja(n,c);if(n===fa)return a.executed=0,o.trace("loader-exec-module",["abort",b]),fa;d.push(n)}o.trace("loader-run-factory",[a.mid]);var b=a.def,e;if(q("config-dojo-loader-catches"))try{e=i(b)?b.apply(null,d):b}catch(h){w("error",a.result=g("factoryThrew",[a,h]))}else e=i(b)?b.apply(null,d):b;a.result=void 0===e&&a.cjs?a.cjs.exports:e;oa(a)}return a.result},X=0,ia=function(a){try{X++,a()}finally{X--}Ga()&&w("idle",[])},ba=function(){X||ia(function(){for(var a,
c,g=0;g<R.length;)a=na,c=R[g],ja(c),a!=na?g=0:g++})};void 0===q("dojo-loader-eval-hint-url")&&q.add("dojo-loader-eval-hint-url",1);var Ba=function(a){a+="";return a+(y?(/\?/.test(a)?"&":"?")+y:"")},Da=function(a){var c=a.plugin;5===c.executed&&!c.load&&ma(c);var g=function(c){a.result=c;ea(a);oa(a);ba()};c.load?c.load(a.prid,a.req,g):c.loadQ?c.loadQ.push(a):(c.loadQ=[a],R.unshift(c),va(c))},V=0,pa=0,qa=0,Ma=function(a,c){q("config-stripStrict")&&(a=a.replace(/"use strict"/g,""));qa=1;if(q("config-dojo-loader-catches"))try{a===
V?V.call(null):o.eval(a,q("dojo-loader-eval-hint-url")?c.url:c.mid)}catch(b){w("error",g("evalModuleThrew",c))}else a===V?V.call(null):o.eval(a,q("dojo-loader-eval-hint-url")?c.url:c.mid);qa=0},va=function(a){var g=a.mid,b=a.url;if(!a.executed&&!a.injected&&!(Q[g]||a.url&&(a.pack&&Q[a.url]===a.pack||1==Q[a.url])))if(Fa(a),a.plugin)Da(a);else{var m=function(){Na(a);2!==a.injected&&(ea(a),c(a,Ca),o.trace("loader-define-nonmodule",[a.url]));ba()};(V=A[g]||A["url:"+a.url])?(o.trace("loader-inject",["cache",
a.mid,b]),Ma(V,a),m()):(o.trace("loader-inject",["script",a.mid,b]),pa=a,o.injectUrl(Ba(b),m,a),pa=0)}},ra=function(a,b,m){o.trace("loader-define-module",[a.mid,b]);if(2===a.injected)return w("error",g("multipleDefine",a)),a;c(a,{deps:b,def:m,cjs:{id:a.mid,uri:a.url,exports:a.result={},setExports:function(c){a.cjs.exports=c},config:function(){return a.config}}});for(var n=0;n<b.length;n++)b[n]=T(b[n],a);ea(a);if(!i(m)&&!b.length)a.result=m,oa(a);return a},Na=function(c,g){for(var b=[],m,n;ca.length;)n=
ca.shift(),g&&(n[0]=g.shift()),m=n[0]&&T(n[0])||c,b.push([m,n[1],n[2]]);H(c);a(b,function(a){$(ra.apply(null,a))})},ga=0,da=k,wa=k;da=function(){ga&&clearTimeout(ga);ga=0};wa=function(){da();o.waitms&&(ga=window.setTimeout(function(){da();w("error",g("timeout",Q))},o.waitms))};q.add("ie-event-behavior",!!m.attachEvent&&("undefined"===typeof opera||"[object Opera]"!=opera.toString()));var sa=function(a,c,g,b){if(q("ie-event-behavior"))return a.attachEvent(g,b),function(){a.detachEvent(g,b)};a.addEventListener(c,
b,!1);return function(){a.removeEventListener(c,b,!1)}},Oa=sa(window,"load","onload",function(){o.pageLoaded=1;"complete"!=m.readyState&&(m.readyState="complete");Oa()}),Ea=m.getElementsByTagName("script")[0],Pa=Ea.parentNode;o.injectUrl=function(a,c,b){var b=b.node=m.createElement("script"),n=sa(b,"load","onreadystatechange",function(a){var a=a||window.event,g=a.target||a.srcElement;if("load"===a.type||/complete|loaded/.test(g.readyState))n(),d(),c&&c()}),d=sa(b,"error","onerror",function(c){n();
d();w("error",g("scriptError",[a,c]))});b.type="text/javascript";b.charset="utf-8";b.src=a;Pa.insertBefore(b,Ea);return b};o.log=k;o.trace=k;E=function(a,c,b){var m=arguments.length,n=["require","exports","module"],d=[0,a,c];1==m?d=[0,i(a)?n:[],a]:2==m&&h(a)?d=[a,i(c)?n:[],c]:3==m&&(d=[a,c,b]);o.trace("loader-define",d.slice(0,2));if((m=d[0]&&T(d[0]))&&!Q[m.mid])$(ra(m,d[1],d[2]));else if(!q("ie-event-behavior")||qa)ca.push(d);else{m=m||pa;if(!m)for(a in Q)if((n=z[a])&&n.node&&"interactive"===n.node.readyState){m=
n;break}m?(H(m),$(ra(m,d[1],d[2]))):w("error",g("ieDefineFailed",d[0]));ba()}};E.amd={vendor:"dojotoolkit.org"};c(c(o,l.loaderPatch),e.loaderPatch);J("error",function(a){try{if(a instanceof Error)for(var c in a);}catch(g){}});c(o,{uid:p,cache:A,packs:P});if(!s.define)s.define=E,s.require=o,a(D,function(a){G(a)}),J=v.deps||e.deps||l.deps,v=v.callback||e.callback||l.callback,o.boot=J||v?[J||[],v]:0})(this.dojoConfig||this.djConfig||this.require||{},{async:0,hasCache:{"config-selectorEngine":"lite",
"config-tlmSiblingOfDojo":1,"dojo-built":1,"dojo-loader":1,dom:1,"host-browser":1},packages:[{location:"../chy",main:"src",name:"chy"},{location:"../dijit",name:"dijit"},{location:".",name:"dojo"},{location:"../dojox",name:"dojox"}]});
require({cache:{"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(e,l,j,k,f,d,i,h,b,a,c,g,n,p,o,s){function m(a){var c=a._nameCaseMap,g=a.prototype;if(!c||c._extendCnt<q){var c=a._nameCaseMap={},b;for(b in g)"_"!==b.charAt(0)&&(c[b.toLowerCase()]=b);c._extendCnt=q}return c}function t(a){var c=a.join();if(!r[c]){for(var g=
[],b=0,m=a.length;b<m;b++){var n=a[b];g[g.length]=r[n]=r[n]||j.getObject(n)||~n.indexOf("/")&&e(n)}a=g.shift();r[c]=g.length?a.createSubclass?a.createSubclass(g):a.extend.apply(a,g):a}return r[c]}var q=0;a.after(j,"extend",function(){q++},!0);var r={},v={_clearCache:function(){q++;r={}},_functionFromScript:function(a,c){var g="",b="",m=a.getAttribute(c+"args")||a.getAttribute("args"),n=a.getAttribute("with"),m=(m||"").split(/\s*,\s*/);n&&n.length&&k.forEach(n.split(/\s*,\s*/),function(a){g+="with("+
a+"){";b+="}"});return new Function(m,g+a.innerHTML+b)},instantiate:function(a,c,g){var c=c||{},g=g||{},b=(g.scope||l._scopeName)+"Type",m="data-"+(g.scope||l._scopeName)+"-",n=m+"type",d=m+"mixins",f=[];k.forEach(a,function(a){var g=b in c?c[b]:a.getAttribute(n)||a.getAttribute(b);if(g){var m=a.getAttribute(d),g=m?[g].concat(m.split(/\s*,\s*/)):[g];f.push({node:a,types:g})}});return this._instantiate(f,c,g)},_instantiate:function(a,c,g){a=k.map(a,function(a){var b=a.ctor||t(a.types);if(!b)throw Error("Unable to resolve constructor for: '"+
a.types.join()+"'");return this.construct(b,a.node,c,g,a.scripts,a.inherited)},this);!c._started&&!g.noStart&&k.forEach(a,function(a){"function"===typeof a.startup&&!a._started&&a.startup()});return a},construct:function(g,d,f,e,r,i){var u;var q=g&&g.prototype,e=e||{},t={};e.defaults&&j.mixin(t,e.defaults);i&&j.mixin(t,i);var s;n("dom-attributes-explicit")?s=d.attributes:n("dom-attributes-specified-flag")?s=k.filter(d.attributes,function(a){return a.specified}):(i=(/^input$|^img$/i.test(d.nodeName)?
d:d.cloneNode(!1)).outerHTML.replace(/=[^\s"']+|="[^"]*"|='[^']*'/g,"").replace(/^\s*<[a-zA-Z0-9]*\s*/,"").replace(/\s*>.*$/,""),s=k.map(i.split(/\s+/),function(a){var c=a.toLowerCase();return{name:a,value:"LI"==d.nodeName&&"value"==a||"enctype"==c?d.getAttribute(c):d.getAttributeNode(c).value}}));var v=e.scope||l._scopeName,i="data-"+v+"-",z={};"dojo"!==v&&(z[i+"props"]="data-dojo-props",z[i+"type"]="data-dojo-type",z[i+"mixins"]="data-dojo-mixins",z[v+"type"]="dojoType",z[i+"id"]="data-dojo-id");
for(var v=0,y,A=[],K,H;y=s[v++];){var C=y.name,F=C.toLowerCase();y=y.value;switch(z[F]||F){case "data-dojo-type":case "dojotype":case "data-dojo-mixins":break;case "data-dojo-props":H=y;break;case "data-dojo-id":case "jsid":K=y;break;case "data-dojo-attach-point":case "dojoattachpoint":t.dojoAttachPoint=y;break;case "data-dojo-attach-event":case "dojoattachevent":t.dojoAttachEvent=y;break;case "class":t["class"]=d.className;break;case "style":t.style=d.style&&d.style.cssText;break;default:if(C in
q||(C=m(g)[F]||C),C in q)switch(typeof q[C]){case "string":t[C]=y;break;case "number":t[C]=y.length?Number(y):NaN;break;case "boolean":t[C]="false"!=y.toLowerCase();break;case "function":t[C]=""===y||-1!=y.search(/[^\w\.]+/i)?new Function(y):j.getObject(y,!1)||new Function(y);A.push(C);break;default:F=q[C],t[C]=F&&"length"in F?y?y.split(/\s*,\s*/):[]:F instanceof Date?""==y?new Date(""):"now"==y?new Date:c.fromISOString(y):F instanceof h?l.baseUrl+y:b.fromJson(y)}else t[C]=y}}for(v=0;v<A.length;v++)s=
A[v].toLowerCase(),d.removeAttribute(s),d[s]=null;if(H)try{H=b.fromJson.call(e.propsThis,"{"+H+"}"),j.mixin(t,H)}catch(N){throw Error(N.toString()+" in data-dojo-props='"+H+"'");}j.mixin(t,f);r||(r=g&&(g._noScript||q._noScript)?[]:p("> script[type^='dojo/']",d));f=[];e=[];H=[];A=[];if(r)for(v=0;v<r.length;v++){var D=r[v];d.removeChild(D);s=D.getAttribute(i+"event")||D.getAttribute("event");z=D.getAttribute(i+"prop");C=D.getAttribute(i+"method");F=D.getAttribute(i+"advice");y=D.getAttribute("type");
D=this._functionFromScript(D,i);s?"dojo/connect"==y?f.push({method:s,func:D}):"dojo/on"==y?A.push({event:s,func:D}):t[s]=D:"dojo/aspect"==y?f.push({method:C,advice:F,func:D}):"dojo/watch"==y?H.push({prop:z,func:D}):e.push(D)}u=(r=g.markupFactory||q.markupFactory)?r(t,d,g):new g(t,d),g=u;K&&j.setObject(K,g);for(v=0;v<f.length;v++)a[f[v].advice||"after"](g,f[v].method,j.hitch(g,f[v].func),!0);for(v=0;v<e.length;v++)e[v].call(g);for(v=0;v<H.length;v++)g.watch(H[v].prop,H[v].func);for(v=0;v<A.length;v++)o(g,
A[v].event,A[v].func);return g},scan:function(a,c){function b(a){if(!a.inherited){a.inherited={};var c=a.node,g=b(a.parent),c={dir:c.getAttribute("dir")||g.dir,lang:c.getAttribute("lang")||g.lang,textDir:c.getAttribute(o)||g.textDir},m;for(m in c)c[m]&&(a.inherited[m]=c[m])}return a.inherited}var m=[],d=[],f={},r=(c.scope||l._scopeName)+"Type",h="data-"+(c.scope||l._scopeName)+"-",i=h+"type",o=h+"textdir",h=h+"mixins",q=a.firstChild,p=c.inherited;if(!p){var v=function(a,c){return a.getAttribute&&
a.getAttribute(c)||a.parentNode&&v(a.parentNode,c)},p={dir:v(a,"dir"),lang:v(a,"lang"),textDir:v(a,o)},s;for(s in p)p[s]||delete p[s]}for(var p={inherited:p},j,C;;)if(q)if(1!=q.nodeType)q=q.nextSibling;else if(j&&"script"==q.nodeName.toLowerCase())(F=q.getAttribute("type"))&&/^dojo\/\w/i.test(F)&&j.push(q),q=q.nextSibling;else if(C)q=q.nextSibling;else{var F=q.getAttribute(i)||q.getAttribute(r);s=q.firstChild;if(!F&&(!s||3==s.nodeType&&!s.nextSibling))q=q.nextSibling;else{C=null;if(F){var N=q.getAttribute(h);
j=N?[F].concat(N.split(/\s*,\s*/)):[F];try{C=t(j)}catch(D){}C||k.forEach(j,function(a){~a.indexOf("/")&&!f[a]&&(f[a]=!0,d[d.length]=a)});N=C&&!C.prototype._noScript?[]:null;p={types:j,ctor:C,parent:p,node:q,scripts:N};p.inherited=b(p);m.push(p)}else p={node:q,scripts:j,parent:p};q=s;j=N;C=C&&C.prototype.stopParser&&!c.template}}else{if(!p||!p.node)break;q=p.node.nextSibling;C=!1;p=p.parent;j=p.scripts}var G=new g;d.length?(n("dojo-debug-messages"),e(d,function(){G.resolve(k.filter(m,function(a){if(!a.ctor)try{a.ctor=
t(a.types)}catch(g){}for(var b=a.parent;b&&!b.types;)b=b.parent;var m=a.ctor&&a.ctor.prototype;a.instantiateChildren=!(m&&m.stopParser&&!c.template);a.instantiate=!b||b.instantiate&&b.instantiateChildren;return a.instantiate}))})):G.resolve(m);return G.promise},_require:function(a){var a=b.fromJson("{"+a.innerHTML+"}"),c=[],m=[],n=new g,d;for(d in a)c.push(d),m.push(a[d]);e(m,function(){for(var a=0;a<c.length;a++)j.setObject(c[a],arguments[a]);n.resolve(arguments)});return n.promise},_scanAmd:function(a){var c=
new g,b=c.promise;c.resolve(!0);var m=this;p("script[type='dojo/require']",a).forEach(function(a){b=b.then(function(){return m._require(a)});a.parentNode.removeChild(a)});return b},parse:function(a,c){var g;!c&&a&&a.rootNode?(c=a,g=c.rootNode):a&&j.isObject(a)&&!("nodeType"in a)?c=a:g=a;g=g?d.byId(g):i.body();var c=c||{},b=c.template?{template:!0}:{},m=[],n=this,f=this._scanAmd(g,c).then(function(){return n.scan(g,c)}).then(function(a){return m=m.concat(n._instantiate(a,b,c))}).otherwise(function(a){throw a;
});j.mixin(m,f);return m}};l.parser=v;f.parseOnLoad&&s(100,v,"parse");return v})},"dojo/_base/kernel":function(){define(["../has","./config","require","module"],function(e,l,j,k){var f,d;f=function(){return this}();var i={},h={},b={config:l,global:f,dijit:i,dojox:h},i={dojo:["dojo",b],dijit:["dijit",i],dojox:["dojox",h]},k=j.map&&j.map[k.id.match(/[^\/]+/)[0]];for(d in k)i[d]?i[d][0]=k[d]:i[d]=[k[d],{}];for(d in i)k=i[d],k[1]._scopeName=k[0],l.noGlobals||(f[k[0]]=k[1]);b.scopeMap=i;b.baseUrl=b.config.baseUrl=
j.baseUrl;b.isAsync=j.async;b.locale=l.locale;f="$Rev: 7199349 $".match(/[0-9a-f]{7,}/);b.version={major:1,minor:8,patch:10,flag:"",revision:f?f[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={});var k="assert,count,debug,dir,dirxml,error,group,groupEnd,info,profile,profileEnd,time,timeEnd,trace,warn,log".split(","),
a;for(f=0;a=k[f++];)console[a]||function(){var c=a+"";console[c]="log"in console?function(){var a=Array.prototype.slice.call(arguments);a.unshift(c+":");console.log(a.join(" "))}:function(){};console[c]._fake=!0}();e.add("dojo-debug-messages",!!l.isDebug);b.deprecated=b.experimental=function(){};if(e("dojo-debug-messages"))b.deprecated=function(){},b.experimental=function(){};if(l.modulePaths){b.deprecated("dojo.modulePaths","use paths configuration");e={};for(d in l.modulePaths)e[d.replace(/\./g,
"/")]=l.modulePaths[d];j({paths:e})}b.moduleUrl=function(a,g){b.deprecated("dojo.moduleUrl()","use require.toUrl","2.0");var n=null;a&&(n=j.toUrl(a.replace(/\./g,"/")+(g?"/"+g:"")+"/*.*").replace(/\/\*\.\*/,"")+(g?"":"/"));return n};b._hasResource={};return b})},"dojo/has":function(){define(["require","module"],function(e){var l=e.has||function(){};l.add("dom-addeventlistener",!!document.addEventListener);l.add("touch","ontouchstart"in document||0<window.navigator.msMaxTouchPoints);l.add("device-width",
screen.availWidth||innerWidth);e=document.createElement("form");l.add("dom-attributes-explicit",0==e.attributes.length);l.add("dom-attributes-specified-flag",0<e.attributes.length&&40>e.attributes.length);l.clearElement=function(e){e.innerHTML="";return e};l.normalize=function(e,k){var f=e.match(/[\?:]|[^:\?]*/g),d=0,i=function(e){var b=f[d++];if(":"==b)return 0;if("?"==f[d++]){if(!e&&l(b))return i();i(!0);return i(e)}return b||0};return(e=i())&&k(e)};l.load=function(e,k,f){e?k([e],f):f()};return l})},
"dojo/_base/config":function(){define(["../has","require"],function(e,l){var j={},k=l.rawConfig,f;for(f in k)j[f]=k[f];return j})},"dojo/_base/lang":function(){define(["./kernel","../has","../sniff"],function(e,l){l.add("bug-for-in-skips-shadowed",function(){for(var a in{toString:1})return 0;return 1});var j=l("bug-for-in-skips-shadowed")?"hasOwnProperty.valueOf.isPrototypeOf.propertyIsEnumerable.toLocaleString.toString.constructor".split("."):[],k=j.length,f=function(a,c,g){var b,d=0,f=e.global;
if(!g)if(a.length){b=a[d++];try{g=e.scopeMap[b]&&e.scopeMap[b][1]}catch(h){}g=g||(b in f?f[b]:c?f[b]={}:void 0)}else return f;for(;g&&(b=a[d++]);)g=b in g?g[b]:c?g[b]={}:void 0;return g},d=Object.prototype.toString,i=function(a,c,g){return(g||[]).concat(Array.prototype.slice.call(a,c||0))},h=/\{([^\}]+)\}/g,b={_extraNames:j,_mixin:function(a,c,g){var b,d,f,e={};for(b in c)if(d=c[b],!(b in a)||a[b]!==d&&(!(b in e)||e[b]!==d))a[b]=g?g(d):d;if(l("bug-for-in-skips-shadowed")&&c)for(f=0;f<k;++f)if(b=j[f],
d=c[b],!(b in a)||a[b]!==d&&(!(b in e)||e[b]!==d))a[b]=g?g(d):d;return a},mixin:function(a,c){a||(a={});for(var g=1,n=arguments.length;g<n;g++)b._mixin(a,arguments[g]);return a},setObject:function(a,c,g){var b=a.split("."),a=b.pop();return(g=f(b,!0,g))&&a?g[a]=c:void 0},getObject:function(a,c,g){return f(a.split("."),c,g)},exists:function(a,c){return void 0!==b.getObject(a,!1,c)},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]"===d.call(a)},isObject:function(a){return void 0!==a&&(null===a||"object"==typeof a||b.isArray(a)||b.isFunction(a))},isArrayLike:function(a){return a&&void 0!==a&&!b.isString(a)&&!b.isFunction(a)&&!(a.tagName&&"form"==a.tagName.toLowerCase())&&(b.isArray(a)||isFinite(a.length))},isAlien:function(a){return a&&!b.isFunction(a)&&/\{\s*\[native code\]\s*\}/.test(""+a)},extend:function(a,c){for(var g=1,n=arguments.length;g<n;g++)b._mixin(a.prototype,
arguments[g]);return a},_hitchArgs:function(a,c){var g=b._toArray(arguments,2),n=b.isString(c);return function(){var d=b._toArray(arguments),f=n?(a||e.global)[c]:c;return f&&f.apply(a||this,g.concat(d))}},hitch:function(a,c){if(2<arguments.length)return b._hitchArgs.apply(e,arguments);c||(c=a,a=null);if(b.isString(c)){a=a||e.global;if(!a[c])throw['lang.hitch: scope["',c,'"] is null (scope="',a,'")'].join("");return function(){return a[c].apply(a,arguments||[])}}return!a?c:function(){return c.apply(a,
arguments||[])}},delegate:function(){function a(){}return function(c,g){a.prototype=c;var n=new a;a.prototype=null;g&&b._mixin(n,g);return n}}(),_toArray:l("ie")?function(){function a(a,g,b){b=b||[];for(g=g||0;g<a.length;g++)b.push(a[g]);return b}return function(c){return(c.item?a:i).apply(this,arguments)}}():i,partial:function(a){return b.hitch.apply(e,[null].concat(b._toArray(arguments)))},clone:function(a){if(!a||"object"!=typeof a||b.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 c,g,d;if(b.isArray(a)){c=[];for(g=0,d=a.length;g<d;++g)g in a&&c.push(b.clone(a[g]))}else c=a.constructor?new a.constructor:{};return b._mixin(c,a,b.clone)},trim:String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^\s\s*/,"").replace(/\s\s*$/,"")},replace:function(a,c,g){return a.replace(g||h,b.isFunction(c)?c:function(a,g){return b.getObject(g,!1,c)})}};b.mixin(e,b);return b})},
"dojo/sniff":function(){define(["./has"],function(e){var l=navigator,j=l.userAgent,l=l.appVersion,k=parseFloat(l);e.add("air",0<=j.indexOf("AdobeAIR"));e.add("khtml",0<=l.indexOf("Konqueror")?k:void 0);e.add("webkit",parseFloat(j.split("WebKit/")[1])||void 0);e.add("chrome",parseFloat(j.split("Chrome/")[1])||void 0);e.add("safari",0<=l.indexOf("Safari")&&!e("chrome")?parseFloat(l.split("Version/")[1]):void 0);e.add("mac",0<=l.indexOf("Macintosh"));e.add("quirks","BackCompat"==document.compatMode);
e.add("ios",/iPhone|iPod|iPad/.test(j));e.add("android",parseFloat(j.split("Android ")[1])||void 0);e.add("trident",parseFloat(l.split("Trident/")[1])||void 0);if(!e("webkit")){0<=j.indexOf("Opera")&&e.add("opera",9.8<=k?parseFloat(j.split("Version/")[1])||k:k);0<=j.indexOf("Gecko")&&!e("khtml")&&!e("webkit")&&!e("trident")&&e.add("mozilla",k);e("mozilla")&&e.add("ff",parseFloat(j.split("Firefox/")[1]||j.split("Minefield/")[1])||void 0);if(document.all&&!e("opera"))j=parseFloat(l.split("MSIE ")[1])||
void 0,(l=document.documentMode)&&5!=l&&Math.floor(j)!=l&&(j=l),e.add("ie",j);e.add("wii","undefined"!=typeof opera&&opera.wiiremote)}return e})},"dojo/_base/array":function(){define(["./kernel","../has","./lang"],function(e,l,j){function k(a){return i[a]=new Function("item","index","array",a)}function f(a){var c=!a;return function(g,b,d){var f=0,e=g&&g.length||0,m;e&&"string"==typeof g&&(g=g.split(""));"string"==typeof b&&(b=i[b]||k(b));if(d)for(;f<e;++f){if(m=!b.call(d,g[f],f,g),a^m)return!m}else for(;f<
e;++f)if(m=!b(g[f],f,g),a^m)return!m;return c}}function d(a){var c=1,g=0,d=0;a||(c=g=d=-1);return function(f,e,i,m){if(m&&0<c)return b.lastIndexOf(f,e,i);var m=f&&f.length||0,k=a?m+d:g;i===h?i=a?g:m+d:0>i?(i=m+i,0>i&&(i=g)):i=i>=m?m+d:i;for(m&&"string"==typeof f&&(f=f.split(""));i!=k;i+=c)if(f[i]==e)return i;return-1}}var i={},h,b={every:f(!1),some:f(!0),indexOf:d(!0),lastIndexOf:d(!1),forEach:function(a,c,g){var b=0,d=a&&a.length||0;d&&"string"==typeof a&&(a=a.split(""));"string"==typeof c&&(c=i[c]||
k(c));if(g)for(;b<d;++b)c.call(g,a[b],b,a);else for(;b<d;++b)c(a[b],b,a)},map:function(a,c,g,b){var d=0,f=a&&a.length||0,b=new (b||Array)(f);f&&"string"==typeof a&&(a=a.split(""));"string"==typeof c&&(c=i[c]||k(c));if(g)for(;d<f;++d)b[d]=c.call(g,a[d],d,a);else for(;d<f;++d)b[d]=c(a[d],d,a);return b},filter:function(a,c,g){var b=0,d=a&&a.length||0,f=[],e;d&&"string"==typeof a&&(a=a.split(""));"string"==typeof c&&(c=i[c]||k(c));if(g)for(;b<d;++b)e=a[b],c.call(g,e,b,a)&&f.push(e);else for(;b<d;++b)e=
a[b],c(e,b,a)&&f.push(e);return f},clearCache:function(){i={}}};j.mixin(e,b);return b})},"dojo/_base/html":function(){define("./kernel,../dom,../dom-style,../dom-attr,../dom-prop,../dom-class,../dom-construct,../dom-geometry".split(","),function(e,l,j,k,f,d,i,h){e.byId=l.byId;e.isDescendant=l.isDescendant;e.setSelectable=l.setSelectable;e.getAttr=k.get;e.setAttr=k.set;e.hasAttr=k.has;e.removeAttr=k.remove;e.getNodeProp=k.getNodeProp;e.attr=function(b,a,c){return 2==arguments.length?k["string"==typeof a?
"get":"set"](b,a):k.set(b,a,c)};e.hasClass=d.contains;e.addClass=d.add;e.removeClass=d.remove;e.toggleClass=d.toggle;e.replaceClass=d.replace;e._toDom=e.toDom=i.toDom;e.place=i.place;e.create=i.create;e.empty=function(b){i.empty(b)};e._destroyElement=e.destroy=function(b){i.destroy(b)};e._getPadExtents=e.getPadExtents=h.getPadExtents;e._getBorderExtents=e.getBorderExtents=h.getBorderExtents;e._getPadBorderExtents=e.getPadBorderExtents=h.getPadBorderExtents;e._getMarginExtents=e.getMarginExtents=h.getMarginExtents;
e._getMarginSize=e.getMarginSize=h.getMarginSize;e._getMarginBox=e.getMarginBox=h.getMarginBox;e.setMarginBox=h.setMarginBox;e._getContentBox=e.getContentBox=h.getContentBox;e.setContentSize=h.setContentSize;e._isBodyLtr=e.isBodyLtr=h.isBodyLtr;e._docScroll=e.docScroll=h.docScroll;e._getIeDocumentElementOffset=e.getIeDocumentElementOffset=h.getIeDocumentElementOffset;e._fixIeBiDiScrollLeft=e.fixIeBiDiScrollLeft=h.fixIeBiDiScrollLeft;e.position=h.position;e.marginBox=function(b,a){return a?h.setMarginBox(b,
a):h.getMarginBox(b)};e.contentBox=function(b,a){return a?h.setContentSize(b,a):h.getContentBox(b)};e.coords=function(b,a){e.deprecated("dojo.coords()","Use dojo.position() or dojo.marginBox().");var b=l.byId(b),c=j.getComputedStyle(b),c=h.getMarginBox(b,c),g=h.position(b,a);c.x=g.x;c.y=g.y;return c};e.getProp=f.get;e.setProp=f.set;e.prop=function(b,a,c){return 2==arguments.length?f["string"==typeof a?"get":"set"](b,a):f.set(b,a,c)};e.getStyle=j.get;e.setStyle=j.set;e.getComputedStyle=j.getComputedStyle;
e.__toPixelValue=e.toPixelValue=j.toPixelValue;e.style=function(b,a,c){switch(arguments.length){case 1:return j.get(b);case 2:return j["string"==typeof a?"get":"set"](b,a)}return j.set(b,a,c)};return e})},"dojo/dom":function(){define(["./sniff","./_base/window"],function(e,l){if(7>=e("ie"))try{document.execCommand("BackgroundImageCache",!1,!0)}catch(j){}var k={};k.byId=e("ie")?function(d,f){if("string"!=typeof d)return d;var e=f||l.doc,b=d&&e.getElementById(d);if(b&&(b.attributes.id.value==d||b.id==
d))return b;e=e.all[d];if(!e||e.nodeName)e=[e];for(var a=0;b=e[a++];)if(b.attributes&&b.attributes.id&&b.attributes.id.value==d||b.id==d)return b}:function(d,f){return("string"==typeof d?(f||l.doc).getElementById(d):d)||null};k.isDescendant=function(d,f){try{d=k.byId(d);for(f=k.byId(f);d;){if(d==f)return!0;d=d.parentNode}}catch(e){}return!1};e.add("css-user-select",function(d,f,e){if(!e)return!1;var d=e.style,f=["Khtml","O","Moz","Webkit"],e=f.length,b="userSelect";do if("undefined"!==typeof d[b])return b;
while(e--&&(b=f[e]+"UserSelect"));return!1});var f=e("css-user-select");k.setSelectable=f?function(d,e){k.byId(d).style[f]=e?"":"none"}:function(d,f){var d=k.byId(d),e=d.getElementsByTagName("*"),b=e.length;if(f)for(d.removeAttribute("unselectable");b--;)e[b].removeAttribute("unselectable");else for(d.setAttribute("unselectable","on");b--;)e[b].setAttribute("unselectable","on")};return k})},"dojo/_base/window":function(){define(["./kernel","./lang","../sniff"],function(e,l,j){var k={global:e.global,
doc:e.global.document||null,body:function(f){f=f||e.doc;return f.body||f.getElementsByTagName("body")[0]},setContext:function(f,d){e.global=k.global=f;e.doc=k.doc=d},withGlobal:function(f,d,i,h){var b=e.global;try{return e.global=k.global=f,k.withDoc.call(null,f.document,d,i,h)}finally{e.global=k.global=b}},withDoc:function(f,d,i,h){var b=k.doc,a=j("quirks"),c=j("ie"),g,n,p;try{e.doc=k.doc=f;e.isQuirks=j.add("quirks","BackCompat"==e.doc.compatMode,!0,!0);if(j("ie")&&(p=f.parentWindow)&&p.navigator)g=
parseFloat(p.navigator.appVersion.split("MSIE ")[1])||void 0,(n=f.documentMode)&&5!=n&&Math.floor(g)!=n&&(g=n),e.isIE=j.add("ie",g,!0,!0);i&&"string"==typeof d&&(d=i[d]);return d.apply(i,h||[])}finally{e.doc=k.doc=b,e.isQuirks=j.add("quirks",a,!0,!0),e.isIE=j.add("ie",c,!0,!0)}}};l.mixin(e,k);return k})},"dojo/dom-style":function(){define(["./sniff","./dom"],function(e,l){function j(g,b,f){b=b.toLowerCase();if(e("ie")||e("trident")){if("auto"==f){if("height"==b)return g.offsetHeight;if("width"==b)return g.offsetWidth}if("fontweight"==
b)switch(f){case 700:return"bold";default:return"normal"}}b in a||(a[b]=c.test(b));return a[b]?d(g,f):f}var k,f={};k=e("webkit")?function(a){var c;if(1==a.nodeType){var g=a.ownerDocument.defaultView;c=g.getComputedStyle(a,null);if(!c&&a.style)a.style.display="",c=g.getComputedStyle(a,null)}return c||{}}:e("ie")&&(9>e("ie")||e("quirks"))?function(a){return 1==a.nodeType&&a.currentStyle?a.currentStyle:{}}:function(a){return 1==a.nodeType?a.ownerDocument.defaultView.getComputedStyle(a,null):{}};f.getComputedStyle=
k;var d;d=e("ie")?function(a,c){if(!c)return 0;if("medium"==c)return 4;if(c.slice&&"px"==c.slice(-2))return parseFloat(c);var g=a.style,b=a.runtimeStyle,m=g.left,d=b.left;b.left=a.currentStyle.left;try{g.left=c,c=g.pixelLeft}catch(f){c=0}g.left=m;b.left=d;return c}:function(a,c){return parseFloat(c)||0};f.toPixelValue=d;var i=function(a,c){try{return a.filters.item("DXImageTransform.Microsoft.Alpha")}catch(g){return c?{}:null}},h=9>e("ie")||10>e("ie")&&e("quirks")?function(a){try{return i(a).Opacity/
100}catch(c){return 1}}:function(a){return k(a).opacity},b=9>e("ie")||10>e("ie")&&e("quirks")?function(a,c){var g=100*c,d=1==c;a.style.zoom=d?"":1;if(i(a))i(a,1).Opacity=g;else{if(d)return c;a.style.filter+=" progid:DXImageTransform.Microsoft.Alpha(Opacity="+g+")"}i(a,1).Enabled=!d;if("tr"==a.tagName.toLowerCase())for(g=a.firstChild;g;g=g.nextSibling)"td"==g.tagName.toLowerCase()&&b(g,c);return c}:function(a,c){return a.style.opacity=c},a={left:!0,top:!0},c=/margin|padding|width|height|max|min|offset/,
g={cssFloat:1,styleFloat:1,"float":1};f.get=function(a,c){var b=l.byId(a),d=arguments.length;if(2==d&&"opacity"==c)return h(b);var c=g[c]?"cssFloat"in b.style?"cssFloat":"styleFloat":c,m=f.getComputedStyle(b);return 1==d?m:j(b,c,m[c]||b.style[c])};f.set=function(a,c,d){var e=l.byId(a),m=arguments.length,h="opacity"==c,c=g[c]?"cssFloat"in e.style?"cssFloat":"styleFloat":c;if(3==m)return h?b(e,d):e.style[c]=d;for(var q in c)f.set(a,q,c[q]);return f.getComputedStyle(e)};return f})},"dojo/dom-attr":function(){define("exports,./sniff,./_base/lang,./dom,./dom-style,./dom-prop".split(","),
function(e,l,j,k,f,d){function i(a,c){var g=a.getAttributeNode&&a.getAttributeNode(c);return!!g&&g.specified}var h={innerHTML:1,className:1,htmlFor:l("ie"),value:1},b={classname:"class",htmlfor:"for",tabindex:"tabIndex",readonly:"readOnly"};e.has=function(a,c){var g=c.toLowerCase();return h[d.names[g]||c]||i(k.byId(a),b[g]||c)};e.get=function(a,c){var a=k.byId(a),g=c.toLowerCase(),f=d.names[g]||c,e=a[f];if(h[f]&&"undefined"!=typeof e||"href"!=f&&("boolean"==typeof e||j.isFunction(e)))return e;g=b[g]||
c;return i(a,g)?a.getAttribute(g):null};e.set=function(a,c,g){a=k.byId(a);if(2==arguments.length){for(var n in c)e.set(a,n,c[n]);return a}n=c.toLowerCase();var i=d.names[n]||c,o=h[i];if("style"==i&&"string"!=typeof g)return f.set(a,g),a;if(o||"boolean"==typeof g||j.isFunction(g))return d.set(a,c,g);a.setAttribute(b[n]||c,g);return a};e.remove=function(a,c){k.byId(a).removeAttribute(b[c.toLowerCase()]||c)};e.getNodeProp=function(a,c){var a=k.byId(a),g=c.toLowerCase(),f=d.names[g]||c;if(f in a&&"href"!=
f)return a[f];g=b[g]||c;return i(a,g)?a.getAttribute(g):null}})},"dojo/dom-prop":function(){define("exports,./_base/kernel,./sniff,./_base/lang,./dom,./dom-style,./dom-construct,./_base/connect".split(","),function(e,l,j,k,f,d,i,h){var b={},a=0,c=l._scopeName+"attrid";e.names={"class":"className","for":"htmlFor",tabindex:"tabIndex",readonly:"readOnly",colspan:"colSpan",frameborder:"frameBorder",rowspan:"rowSpan",valuetype:"valueType"};e.get=function(a,c){var a=f.byId(a),b=c.toLowerCase();return a[e.names[b]||
c]};e.set=function(g,n,p){g=f.byId(g);if(2==arguments.length&&"string"!=typeof n){for(var o in n)e.set(g,o,n[o]);return g}o=n.toLowerCase();o=e.names[o]||n;if("style"==o&&"string"!=typeof p)return d.set(g,p),g;if("innerHTML"==o)return j("ie")&&g.tagName.toLowerCase()in{col:1,colgroup:1,table:1,tbody:1,tfoot:1,thead:1,tr:1,title:1}?(i.empty(g),g.appendChild(i.toDom(p,g.ownerDocument))):g[o]=p,g;if(k.isFunction(p)){var s=g[c];s||(s=a++,g[c]=s);b[s]||(b[s]={});var m=b[s][o];if(m)h.disconnect(m);else try{delete g[o]}catch(t){}p?
b[s][o]=h.connect(g,o,p):g[o]=null;return g}g[o]=p;return g}})},"dojo/dom-construct":function(){define("exports,./_base/kernel,./sniff,./_base/window,./dom,./dom-attr,./on".split(","),function(e,l,j,k,f,d){function i(a,c){var g=c.parentNode;g&&g.insertBefore(a,c)}function h(a){if(a.canHaveChildren)try{a.innerHTML="";return}catch(c){}for(var g;g=a.lastChild;)b(g,a)}function b(a,c){a.firstChild&&h(a);c&&(j("ie")&&c.canHaveChildren&&"removeNode"in a?a.removeNode(!1):c.removeChild(a))}var a={option:["select"],
tbody:["table"],thead:["table"],tfoot:["table"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","thead","tr"],legend:["fieldset"],caption:["table"],colgroup:["table"],col:["table","colgroup"],li:["ul"]},c=/<\s*([\w\:]+)/,g={},n=0,p="__"+l._scopeName+"ToDomId",o;for(o in a)if(a.hasOwnProperty(o))l=a[o],l.pre="option"==o?'<select multiple="multiple">':"<"+l.join("><")+">",l.post="</"+l.reverse().join("></")+">";e.toDom=function(b,m){var m=m||k.doc,d=m[p];d||(m[p]=d=++n+"",g[d]=m.createElement("div"));
var b=b+"",f=b.match(c),e=f?f[1].toLowerCase():"",d=g[d];if(f&&a[e]){f=a[e];d.innerHTML=f.pre+b+f.post;for(f=f.length;f;--f)d=d.firstChild}else d.innerHTML=b;if(1==d.childNodes.length)return d.removeChild(d.firstChild);for(e=m.createDocumentFragment();f=d.firstChild;)e.appendChild(f);return e};e.place=function(a,c,g){c=f.byId(c);"string"==typeof a&&(a=/^\s*</.test(a)?e.toDom(a,c.ownerDocument):f.byId(a));if("number"==typeof g){var b=c.childNodes;!b.length||b.length<=g?c.appendChild(a):i(a,b[0>g?0:
g])}else switch(g){case "before":i(a,c);break;case "after":g=a;(b=c.parentNode)&&(b.lastChild==c?b.appendChild(g):b.insertBefore(g,c.nextSibling));break;case "replace":c.parentNode.replaceChild(a,c);break;case "only":e.empty(c);c.appendChild(a);break;case "first":if(c.firstChild){i(a,c.firstChild);break}default:c.appendChild(a)}return a};e.create=function(a,c,g,b){var n=k.doc;if(g)g=f.byId(g),n=g.ownerDocument;"string"==typeof a&&(a=n.createElement(a));c&&d.set(a,c);g&&e.place(a,g,b);return a};e.empty=
function(a){h(f.byId(a))};e.destroy=function(a){(a=f.byId(a))&&b(a,a.parentNode)}})},"dojo/on":function(){define(["./has!dom-addeventlistener?:./aspect","./_base/kernel","./has"],function(e,l,j){function k(a,c,d,m,f){if(m=c.match(/(.*):(.*)/))return c=m[2],m=m[1],h.selector(m,c).call(f,a,d);j("touch")&&(b.test(c)&&(d=u(d)),!j("event-orientationchange")&&"orientationchange"==c&&(c="resize",a=window,d=u(d)));p&&(d=p(d));if(a.addEventListener){var e=c in g,n=e?g[c]:c;a.addEventListener(n,d,e);return{remove:function(){a.removeEventListener(n,
d,e)}}}if(t&&a.attachEvent)return t(a,"on"+c,d);throw Error("Target must be an event emitter");}function f(){this.cancelable=!1}function d(){this.bubbles=!1}var i=window.ScriptEngineMajorVersion;j.add("jscript",i&&i()+ScriptEngineMinorVersion()/10);j.add("event-orientationchange",j("touch")&&!j("android"));j.add("event-stopimmediatepropagation",window.Event&&!!window.Event.prototype&&!!window.Event.prototype.stopImmediatePropagation);j.add("event-focusin",function(a,c,g){return"onfocusin"in g});j("touch")&&
j.add("touch-can-modify-event-delegate",function(){var a=function(){};a.prototype=document.createEvent("MouseEvents");try{var c=new a;c.target=null;return null===c.target}catch(g){return!1}});var h=function(a,c,g,b){return"function"==typeof a.on&&"function"!=typeof c&&!a.nodeType?a.on(c,g):h.parse(a,c,g,k,b,this)};h.pausable=function(a,c,g,b){var d,a=h(a,c,function(){if(!d)return g.apply(this,arguments)},b);a.pause=function(){d=!0};a.resume=function(){d=!1};return a};h.once=function(a,c,g){var b=
h(a,c,function(){b.remove();return g.apply(this,arguments)});return b};h.parse=function(a,c,g,b,d,m){if(c.call)return c.call(m,a,g);if(-1<c.indexOf(",")){for(var c=c.split(/\s*,\s*/),f=[],e=0,n;n=c[e++];)f.push(b(a,n,g,d,m));f.remove=function(){for(var a=0;a<f.length;a++)f[a].remove()};return f}return b(a,c,g,d,m)};var b=/^touch/;h.selector=function(a,c,g){return function(b,d){function m(c){for(f=f&&f.matches?f:l.query;!f.matches(c,a,b);)if(c==b||!1===g||!(c=c.parentNode)||1!=c.nodeType)return;return c}
var f="function"==typeof a?{matches:a}:this,e=c.bubble;return e?h(b,e(m),d):h(b,c,function(a){var c=m(a.target);if(c)return d.call(c,a)})}};var a=[].slice,c=h.emit=function(c,g,b){var m=a.call(arguments,2),e="on"+g;if("parentNode"in c){var n=m[0]={},r;for(r in b)n[r]=b[r];n.preventDefault=f;n.stopPropagation=d;n.target=c;n.type=g;b=n}do c[e]&&c[e].apply(c,m);while(b&&b.bubbles&&(c=c.parentNode));return b&&b.cancelable&&b},g=j("event-focusin")?{}:{focusin:"focus",focusout:"blur"};if(!j("event-stopimmediatepropagation"))var n=
function(){this.modified=this.immediatelyStopped=!0},p=function(a){return function(c){if(!c.immediatelyStopped)return c.stopImmediatePropagation=n,a.apply(this,arguments)}};if(j("dom-addeventlistener"))h.emit=function(a,g,b){if(a.dispatchEvent&&document.createEvent){var d=(a.ownerDocument||document).createEvent("HTMLEvents");d.initEvent(g,!!b.bubbles,!!b.cancelable);for(var m in b)m in d||(d[m]=b[m]);return a.dispatchEvent(d)&&d}return c.apply(h,arguments)};else{h._fixEvent=function(a,c){if(!a)a=
(c&&(c.ownerDocument||c.document||c).parentWindow||window).event;if(!a)return a;o&&a.type==o.type&&(a=o);if(!a.target){a.target=a.srcElement;a.currentTarget=c||a.srcElement;if("mouseover"==a.type)a.relatedTarget=a.fromElement;if("mouseout"==a.type)a.relatedTarget=a.toElement;if(!a.stopPropagation)a.stopPropagation=q,a.preventDefault=r;switch(a.type){case "keypress":var g="charCode"in a?a.charCode:a.keyCode;10==g?(g=0,a.keyCode=13):13==g||27==g?g=0:3==g&&(g=99);a.charCode=g;g=a;g.keyChar=g.charCode?
String.fromCharCode(g.charCode):"";g.charOrCode=g.keyChar||g.keyCode}}return a};var o,s=function(a){this.handle=a};s.prototype.remove=function(){delete _dojoIEListeners_[this.handle]};var m=function(a){return function(c){var c=h._fixEvent(c,this),g=a.call(this,c);c.modified&&(o||setTimeout(function(){o=null}),o=c);return g}},t=function(a,c,g){g=m(g);if(((a.ownerDocument?a.ownerDocument.parentWindow:a.parentWindow||a.window||window)!=top||5.8>j("jscript"))&&!j("config-_allow_leaks")){"undefined"==
typeof _dojoIEListeners_&&(_dojoIEListeners_=[]);var b=a[c];if(!b||!b.listeners){var d=b,b=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);}}");b.listeners=[];a[c]=b;b.global=this;d&&b.listeners.push(_dojoIEListeners_.push(d)-1)}b.listeners.push(a=b.global._dojoIEListeners_.push(g)-1);return new s(a)}return e.after(a,c,g,!0)},q=function(){this.cancelBubble=
!0},r=h._preventDefault=function(){this.bubbledKeyCode=this.keyCode;if(this.ctrlKey)try{this.keyCode=0}catch(a){}this.defaultPrevented=!0;this.returnValue=!1}}if(j("touch"))var v=function(){},x=window.orientation,u=function(a){return function(c){var g=c.corrected;if(!g){var b=c.type;try{delete c.type}catch(d){}if(c.type){if(j("touch-can-modify-event-delegate"))v.prototype=c,g=new v;else{var g={},m;for(m in c)g[m]=c[m]}g.preventDefault=function(){c.preventDefault()};g.stopPropagation=function(){c.stopPropagation()}}else g=
c,g.type=b;c.corrected=g;if("resize"==b){if(x==window.orientation)return null;x=window.orientation;g.type="orientationchange";return a.call(this,g)}if(!("rotation"in g))g.rotation=0,g.scale=1;var b=g.changedTouches[0],f;for(f in b)delete g[f],g[f]=b[f]}return a.call(this,g)}};return h})},"dojo/_base/connect":function(){define("./kernel,../on,../topic,../aspect,./event,../mouse,./sniff,./lang,../keys".split(","),function(e,l,j,k,f,d,i,h){function b(a,c,g,b,f){b=h.hitch(g,b);if(!a||!a.addEventListener&&
!a.attachEvent)return k.after(a||e.global,c,b,!0);"string"==typeof c&&"on"==c.substring(0,2)&&(c=c.substring(2));if(!a)a=e.global;if(!f)switch(c){case "keypress":c=p;break;case "mouseenter":c=d.enter;break;case "mouseleave":c=d.leave}return l(a,c,b,f)}function a(a){a.keyChar=a.charCode?String.fromCharCode(a.charCode):"";a.charOrCode=a.keyChar||a.keyCode}i.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(c){}return 0==a.charCode&&!i("opera")});var c={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},g=i("mac")?"metaKey":"ctrlKey",n=function(c,g){var b=h.mixin({},c,g);a(b);b.preventDefault=function(){c.preventDefault()};b.stopPropagation=function(){c.stopPropagation()};return b},p;p=i("events-keypress-typed")?function(a,g){var b=l(a,"keydown",function(a){var b=a.keyCode,d=13!=b&&32!=b&&(27!=b||!i("ie"))&&
(48>b||90<b)&&(96>b||111<b)&&(186>b||192<b)&&(219>b||222<b)&&229!=b;if(d||a.ctrlKey){d=d?0:b;if(a.ctrlKey){if(3==b||13==b)return g.call(a.currentTarget,a);d=95<d&&106>d?d-48:!a.shiftKey&&65<=d&&90>=d?d+32:c[d]||d}b=n(a,{type:"keypress",faux:!0,charCode:d});g.call(a.currentTarget,b);if(i("ie"))try{a.keyCode=b.keyCode}catch(f){}}}),d=l(a,"keypress",function(a){var c=a.charCode,a=n(a,{charCode:32<=c?c:0,faux:!0});return g.call(this,a)});return{remove:function(){b.remove();d.remove()}}}:i("opera")?function(a,
c){return l(a,"keypress",function(a){var g=a.which;3==g&&(g=99);g=32>g&&!a.shiftKey?0:g;a.ctrlKey&&!a.shiftKey&&65<=g&&90>=g&&(g+=32);return c.call(this,n(a,{charCode:g}))})}:function(c,g){return l(c,"keypress",function(c){a(c);return g.call(this,c)})};var o={_keypress:p,connect:function(a,c,g,d,f){var e=arguments,n=[],h=0;n.push("string"==typeof e[0]?null:e[h++],e[h++]);var i=e[h+1];n.push("string"==typeof i||"function"==typeof i?e[h++]:null,e[h++]);for(i=e.length;h<i;h++)n.push(e[h]);return b.apply(this,
n)},disconnect:function(a){a&&a.remove()},subscribe:function(a,c,g){return j.subscribe(a,h.hitch(c,g))},publish:function(a,c){return j.publish.apply(j,[a].concat(c))},connectPublisher:function(a,c,g){var b=function(){o.publish(a,arguments)};return g?o.connect(c,g,b):o.connect(c,b)},isCopyKey:function(a){return a[g]}};o.unsubscribe=o.disconnect;h.mixin(e,o);return o})},"dojo/topic":function(){define(["./Evented"],function(e){var l=new e;return{publish:function(e,k){return l.emit.apply(l,arguments)},
subscribe:function(e,k){return l.on.apply(l,arguments)}}})},"dojo/Evented":function(){define(["./aspect","./on"],function(e,l){function j(){}var k=e.after;j.prototype={on:function(f,d){return l.parse(this,f,d,function(f,e){return k(f,"on"+e,d,!0)})},emit:function(f,d){var e=[this];e.push.apply(e,arguments);return l.emit.apply(l,e)}};return j})},"dojo/aspect":function(){define("dojo/aspect",[],function(){function e(d,b,a,c){var g=d[b],f="around"==b,e;if(f){var i=a(function(){return g.advice(this,arguments)});
e={remove:function(){i&&(i=d=a=null)},advice:function(a,c){return i?i.apply(a,c):g.advice(a,c)}}}else e={remove:function(){if(e.advice){var c=e.previous,g=e.next;if(!g&&!c)delete d[b];else if(c?c.next=g:d[b]=g,g)g.previous=c;d=a=e.advice=null}},id:k++,advice:a,receiveArguments:c};if(g&&!f)if("after"==b){for(;g.next&&(g=g.next););g.next=e;e.previous=g}else{if("before"==b)d[b]=e,e.next=g,g.previous=e}else d[b]=e;return e}function l(d){return function(b,a,c,g){var f=b[a],i;if(!f||f.target!=b){b[a]=i=
function(){for(var a=k,c=arguments,g=i.before;g;)c=g.advice.apply(this,c)||c,g=g.next;if(i.around)var b=i.around.advice(this,c);for(g=i.after;g&&g.id<a;){if(g.receiveArguments)var d=g.advice.apply(this,c),b=d===j?b:d;else b=g.advice.call(this,b,c);g=g.next}return b};if(f)i.around={advice:function(a,c){return f.apply(a,c)}};i.target=b}b=e(i||f,d,c,g);c=null;return b}}var j,k=0,f=l("after"),d=l("before"),i=l("around");return{before:d,around:i,after:f}})},"dojo/_base/event":function(){define(["./kernel",
"../on","../has","../dom-geometry"],function(e,l,j,k){if(l._fixEvent){var f=l._fixEvent;l._fixEvent=function(d,e){(d=f(d,e))&&k.normalizeEvent(d);return d}}var d={fix:function(d,f){return l._fixEvent?l._fixEvent(d,f):d},stop:function(d){j("dom-addeventlistener")||d&&d.preventDefault?(d.preventDefault(),d.stopPropagation()):(d=d||window.event,d.cancelBubble=!0,l._preventDefault.call(d))}};e.fixEvent=d.fix;e.stopEvent=d.stop;return d})},"dojo/dom-geometry":function(){define(["./sniff","./_base/window",
"./dom","./dom-style"],function(e,l,j,k){function f(a,c,g,b,d,f){f=f||"px";a=a.style;if(!isNaN(c))a.left=c+f;if(!isNaN(g))a.top=g+f;if(0<=b)a.width=b+f;if(0<=d)a.height=d+f}function d(a){return"button"==a.tagName.toLowerCase()||"input"==a.tagName.toLowerCase()&&"button"==(a.getAttribute("type")||"").toLowerCase()}function i(a){return"border-box"==h.boxModel||"table"==a.tagName.toLowerCase()||d(a)}var h={boxModel:"content-box"};if(e("ie"))h.boxModel="BackCompat"==document.compatMode?"border-box":"content-box";
h.getPadExtents=function(a,c){var a=j.byId(a),g=c||k.getComputedStyle(a),b=k.toPixelValue,d=b(a,g.paddingLeft),f=b(a,g.paddingTop),e=b(a,g.paddingRight),g=b(a,g.paddingBottom);return{l:d,t:f,r:e,b:g,w:d+e,h:f+g}};h.getBorderExtents=function(a,c){var a=j.byId(a),g=k.toPixelValue,b=c||k.getComputedStyle(a),d="none"!=b.borderLeftStyle?g(a,b.borderLeftWidth):0,f="none"!=b.borderTopStyle?g(a,b.borderTopWidth):0,e="none"!=b.borderRightStyle?g(a,b.borderRightWidth):0,g="none"!=b.borderBottomStyle?g(a,b.borderBottomWidth):
0;return{l:d,t:f,r:e,b:g,w:d+e,h:f+g}};h.getPadBorderExtents=function(a,c){var a=j.byId(a),g=c||k.getComputedStyle(a),b=h.getPadExtents(a,g),g=h.getBorderExtents(a,g);return{l:b.l+g.l,t:b.t+g.t,r:b.r+g.r,b:b.b+g.b,w:b.w+g.w,h:b.h+g.h}};h.getMarginExtents=function(a,c){var a=j.byId(a),g=c||k.getComputedStyle(a),b=k.toPixelValue,d=b(a,g.marginLeft),f=b(a,g.marginTop),e=b(a,g.marginRight),g=b(a,g.marginBottom);return{l:d,t:f,r:e,b:g,w:d+e,h:f+g}};h.getMarginBox=function(a,c){var a=j.byId(a),g=c||k.getComputedStyle(a),
b=h.getMarginExtents(a,g),d=a.offsetLeft-b.l,f=a.offsetTop-b.t,i=a.parentNode,m=k.toPixelValue;if(e("mozilla")){var t=parseFloat(g.left),g=parseFloat(g.top);!isNaN(t)&&!isNaN(g)?(d=t,f=g):i&&i.style&&(i=k.getComputedStyle(i),"visible"!=i.overflow&&(d+="none"!=i.borderLeftStyle?m(a,i.borderLeftWidth):0,f+="none"!=i.borderTopStyle?m(a,i.borderTopWidth):0))}else if((e("opera")||8==e("ie")&&!e("quirks"))&&i)i=k.getComputedStyle(i),d-="none"!=i.borderLeftStyle?m(a,i.borderLeftWidth):0,f-="none"!=i.borderTopStyle?
m(a,i.borderTopWidth):0;return{l:d,t:f,w:a.offsetWidth+b.w,h:a.offsetHeight+b.h}};h.getContentBox=function(a,c){var a=j.byId(a),g=c||k.getComputedStyle(a),b=a.clientWidth,d=h.getPadExtents(a,g),f=h.getBorderExtents(a,g);b?(g=a.clientHeight,f.w=f.h=0):(b=a.offsetWidth,g=a.offsetHeight);e("opera")&&(d.l+=f.l,d.t+=f.t);return{l:d.l,t:d.t,w:b-d.w-f.w,h:g-d.h-f.h}};h.setContentSize=function(a,c,g){var a=j.byId(a),b=c.w,c=c.h;i(a)&&(g=h.getPadBorderExtents(a,g),0<=b&&(b+=g.w),0<=c&&(c+=g.h));f(a,NaN,NaN,
b,c)};var b={l:0,t:0,w:0,h:0};h.setMarginBox=function(a,c,g){var a=j.byId(a),n=g||k.getComputedStyle(a),g=c.w,l=c.h,o=i(a)?b:h.getPadBorderExtents(a,n),n=h.getMarginExtents(a,n);if(e("webkit")&&d(a)){var s=a.style;if(0<=g&&!s.width)s.width="4px";if(0<=l&&!s.height)s.height="4px"}0<=g&&(g=Math.max(g-o.w-n.w,0));0<=l&&(l=Math.max(l-o.h-n.h,0));f(a,c.l,c.t,g,l)};h.isBodyLtr=function(a){a=a||l.doc;return"ltr"==(l.body(a).dir||a.documentElement.dir||"ltr").toLowerCase()};h.docScroll=function(a){var a=
a||l.doc,c=l.doc.parentWindow||l.doc.defaultView;return"pageXOffset"in c?{x:c.pageXOffset,y:c.pageYOffset}:(c=e("quirks")?l.body(a):a.documentElement)&&{x:h.fixIeBiDiScrollLeft(c.scrollLeft||0,a),y:c.scrollTop||0}};if(e("ie"))h.getIeDocumentElementOffset=function(a){a=a||l.doc;a=a.documentElement;if(8>e("ie")){var c=a.getBoundingClientRect(),b=c.left,c=c.top;7>e("ie")&&(b+=a.clientLeft,c+=a.clientTop);return{x:0>b?0:b,y:0>c?0:c}}return{x:0,y:0}};h.fixIeBiDiScrollLeft=function(a,c){var c=c||l.doc,
b=e("ie");if(b&&!h.isBodyLtr(c)){var d=e("quirks"),f=d?l.body(c):c.documentElement,i=l.global;6==b&&!d&&i.frameElement&&f.scrollHeight>f.clientHeight&&(a+=f.clientLeft);return 8>b||d?a+f.clientWidth-f.scrollWidth:-a}return a};h.position=function(a,c){var a=j.byId(a),b=l.body(a.ownerDocument),d=a.getBoundingClientRect(),d={x:d.left,y:d.top,w:d.right-d.left,h:d.bottom-d.top};if(9>e("ie")){var f=h.getIeDocumentElementOffset(a.ownerDocument);d.x-=f.x+(e("quirks")?b.clientLeft+b.offsetLeft:0);d.y-=f.y+
(e("quirks")?b.clientTop+b.offsetTop:0)}c&&(b=h.docScroll(a.ownerDocument),d.x+=b.x,d.y+=b.y);return d};h.getMarginSize=function(a,c){var a=j.byId(a),b=h.getMarginExtents(a,c||k.getComputedStyle(a)),d=a.getBoundingClientRect();return{w:d.right-d.left+b.w,h:d.bottom-d.top+b.h}};h.normalizeEvent=function(a){if(!("layerX"in a))a.layerX=a.offsetX,a.layerY=a.offsetY;if(!e("dom-addeventlistener")){var c=a.target,c=c&&c.ownerDocument||document,b=e("quirks")?c.body:c.documentElement,d=h.getIeDocumentElementOffset(c);
a.pageX=a.clientX+h.fixIeBiDiScrollLeft(b.scrollLeft||0,c)-d.x;a.pageY=a.clientY+(b.scrollTop||0)-d.y}};return h})},"dojo/mouse":function(){define(["./_base/kernel","./on","./has","./dom","./_base/window"],function(e,l,j,k,f){function d(f,e){var b=function(a,c){return l(a,f,function(b){if(e)return e(b,c);if(!k.isDescendant(b.relatedTarget,a))return c.call(this,b)})};b.bubble=function(a){return d(f,function(c,b){var d=a(c.target),f=c.relatedTarget;if(d&&d!=(f&&1==f.nodeType&&a(f)))return b.call(d,
c)})};return b}j.add("dom-quirks",f.doc&&"BackCompat"==f.doc.compatMode);j.add("events-mouseenter",f.doc&&"onmouseenter"in f.doc.createElement("div"));j.add("events-mousewheel",f.doc&&"onmousewheel"in f.doc);f=j("dom-quirks")&&j("ie")||!j("dom-addeventlistener")?{LEFT:1,MIDDLE:4,RIGHT:2,isButton:function(d,f){return d.button&f},isLeft:function(d){return d.button&1},isMiddle:function(d){return d.button&4},isRight:function(d){return d.button&2}}:{LEFT:0,MIDDLE:1,RIGHT:2,isButton:function(d,f){return d.button==
f},isLeft:function(d){return 0==d.button},isMiddle:function(d){return 1==d.button},isRight:function(d){return 2==d.button}};e.mouseButtons=f;e=j("events-mousewheel")?"mousewheel":function(d,f){return l(d,"DOMMouseScroll",function(b){b.wheelDelta=-b.detail;f.call(this,b)})};return{_eventHandler:d,enter:d("mouseover"),leave:d("mouseout"),wheel:e,isLeft:f.isLeft,isMiddle:f.isMiddle,isRight:f.isRight}})},"dojo/_base/sniff":function(){define(["./kernel","./lang","../sniff"],function(e,l,j){e._name="browser";
l.mixin(e,{isBrowser:!0,isFF:j("ff"),isIE:j("ie"),isKhtml:j("khtml"),isWebKit:j("webkit"),isMozilla:j("mozilla"),isMoz:j("mozilla"),isOpera:j("opera"),isSafari:j("safari"),isChrome:j("chrome"),isMac:j("mac"),isIos:j("ios"),isAndroid:j("android"),isWii:j("wii"),isQuirks:j("quirks"),isAir:j("air")});e.locale=e.locale||(j("ie")?navigator.userLanguage:navigator.language).toLowerCase();return j})},"dojo/keys":function(){define(["./_base/kernel","./sniff"],function(e,l){return e.keys={BACKSPACE:8,TAB:9,
CLEAR:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,META:l("webkit")?91:224,PAUSE:19,CAPS_LOCK:20,ESCAPE:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT_ARROW:37,UP_ARROW:38,RIGHT_ARROW:39,DOWN_ARROW:40,INSERT:45,DELETE:46,HELP:47,LEFT_WINDOW:91,RIGHT_WINDOW:92,SELECT:93,NUMPAD_0:96,NUMPAD_1:97,NUMPAD_2:98,NUMPAD_3:99,NUMPAD_4:100,NUMPAD_5:101,NUMPAD_6:102,NUMPAD_7:103,NUMPAD_8:104,NUMPAD_9:105,NUMPAD_MULTIPLY:106,NUMPAD_PLUS:107,NUMPAD_ENTER:108,NUMPAD_MINUS:109,NUMPAD_PERIOD:110,NUMPAD_DIVIDE:111,
F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,NUM_LOCK:144,SCROLL_LOCK:145,UP_DPAD:175,DOWN_DPAD:176,LEFT_DPAD:177,RIGHT_DPAD:178,copyKey:l("mac")&&!l("air")?l("safari")?91:224:17}})},"dojo/dom-class":function(){define(["./_base/lang","./_base/array","./dom"],function(e,l,j){function k(b){if("string"==typeof b||b instanceof String){if(b&&!d.test(b))return i[0]=b,i;b=b.split(d);b.length&&!b[0]&&b.shift();b.length&&!b[b.length-1]&&b.pop();
return b}return!b?[]:l.filter(b,function(a){return a})}var f,d=/\s+/,i=[""],h={};return f={contains:function(b,a){return 0<=(" "+j.byId(b).className+" ").indexOf(" "+a+" ")},add:function(b,a){var b=j.byId(b),a=k(a),c=b.className,g,c=c?" "+c+" ":" ";g=c.length;for(var d=0,f=a.length,e;d<f;++d)(e=a[d])&&0>c.indexOf(" "+e+" ")&&(c+=e+" ");g<c.length&&(b.className=c.substr(1,c.length-2))},remove:function(b,a){var b=j.byId(b),c;if(void 0!==a){a=k(a);c=" "+b.className+" ";for(var g=0,d=a.length;g<d;++g)c=
c.replace(" "+a[g]+" "," ");c=e.trim(c)}else c="";b.className!=c&&(b.className=c)},replace:function(b,a,c){b=j.byId(b);h.className=b.className;f.remove(h,c);f.add(h,a);b.className!==h.className&&(b.className=h.className)},toggle:function(b,a,c){b=j.byId(b);if(void 0===c)for(var a=k(a),g=0,d=a.length,e;g<d;++g)e=a[g],f[f.contains(b,e)?"remove":"add"](b,e);else f[c?"add":"remove"](b,a);return c}}})},"dojo/_base/url":function(){define(["./kernel"],function(e){var l=/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/,
j=/^((([^\[:]+):)?([^@]+)@)?(\[([^\]]+)\]|([^\[:]*))(:([0-9]+))?$/,k=function(){for(var f=arguments,d=[f[0]],e=1;e<f.length;e++)if(f[e]){var h=new k(f[e]+""),d=new k(d[0]+"");if(""==h.path&&!h.scheme&&!h.authority&&!h.query){if(null!=h.fragment)d.fragment=h.fragment;h=d}else if(!h.scheme&&(h.scheme=d.scheme,!h.authority&&(h.authority=d.authority,"/"!=h.path.charAt(0)))){for(var d=(d.path.substring(0,d.path.lastIndexOf("/")+1)+h.path).split("/"),b=0;b<d.length;b++)"."==d[b]?b==d.length-1?d[b]="":(d.splice(b,
1),b--):0<b&&!(1==b&&""==d[0])&&".."==d[b]&&".."!=d[b-1]&&(b==d.length-1?(d.splice(b,1),d[b-1]=""):(d.splice(b-1,2),b-=2));h.path=d.join("/")}d=[];h.scheme&&d.push(h.scheme,":");h.authority&&d.push("//",h.authority);d.push(h.path);h.query&&d.push("?",h.query);h.fragment&&d.push("#",h.fragment)}this.uri=d.join("");f=this.uri.match(l);this.scheme=f[2]||(f[1]?"":null);this.authority=f[4]||(f[3]?"":null);this.path=f[5];this.query=f[7]||(f[6]?"":null);this.fragment=f[9]||(f[8]?"":null);if(null!=this.authority)f=
this.authority.match(j),this.user=f[3]||null,this.password=f[4]||null,this.host=f[6]||f[7],this.port=f[9]||null};k.prototype.toString=function(){return this.uri};return e._Url=k})},"dojo/_base/json":function(){define(["./kernel","../json"],function(e,l){e.fromJson=function(e){return eval("("+e+")")};e._escapeString=l.stringify;e.toJsonIndentStr="\t";e.toJson=function(j,k){return l.stringify(j,function(f,d){if(d){var e=d.__json__||d.json;if("function"==typeof e)return e.call(d)}return d},k&&e.toJsonIndentStr)};
return e})},"dojo/json":function(){define(["./has"],function(e){var l="undefined"!=typeof JSON;e.add("json-parse",l);e.add("json-stringify",l&&'{"a":1}'==JSON.stringify({a:0},function(e,f){return f||1}));if(e("json-stringify"))return JSON;var j=function(e){return('"'+e.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:e("json-parse")?JSON.parse:function(e,f){if(f&&!/^([\s\[\{]*(?:"(?:\\.|[^"])+"|-?\d[\d\.]*(?:[Ee][+-]?\d+)?|null|true|false|)[\s\]\}]*(?:,|:|$))+$/.test(e))throw new SyntaxError("Invalid characters in JSON");
return eval("("+e+")")},stringify:function(e,f,d){function i(b,a,c){f&&(b=f(c,b));var g;g=typeof b;if("number"==g)return isFinite(b)?b+"":"null";if("boolean"==g)return b+"";if(null===b)return"null";if("string"==typeof b)return j(b);if("function"==g||"undefined"==g)return h;if("function"==typeof b.toJSON)return i(b.toJSON(c),a,c);if(b instanceof Date)return'"{FullYear}-{Month+}-{Date}T{Hours}:{Minutes}:{Seconds}Z"'.replace(/\{(\w+)(\+)?\}/g,function(a,c,g){a=b["getUTC"+c]()+(g?1:0);return 10>a?"0"+
a:a});if(b.valueOf()!==b)return i(b.valueOf(),a,c);var e=d?a+d:"",k=d?" ":"",o=d?"\n":"";if(b instanceof Array){for(var k=b.length,l=[],c=0;c<k;c++)g=i(b[c],e,c),"string"!=typeof g&&(g="null"),l.push(o+e+g);return"["+l.join(",")+o+a+"]"}l=[];for(c in b){var m;if(b.hasOwnProperty(c)){if("number"==typeof c)m='"'+c+'"';else if("string"==typeof c)m=j(c);else continue;g=i(b[c],e,c);"string"==typeof g&&l.push(o+e+m+":"+k+g)}}return"{"+l.join(",")+o+a+"}"}var h;"string"==typeof f&&(d=f,f=null);return i(e,
"","")}}})},"dojo/date/stamp":function(){define(["../_base/lang","../_base/array"],function(e,l){var j={};e.setObject("dojo.date.stamp",j);j.fromISOString=function(e,f){if(!j._isoRegExp)j._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/;var d=j._isoRegExp.exec(e),i=null;if(d){d.shift();d[1]&&d[1]--;d[6]&&(d[6]*=1E3);f&&(f=new Date(f),l.forEach(l.map("FullYear,Month,Date,Hours,Minutes,Seconds,Milliseconds".split(","),function(a){return f["get"+
a]()}),function(a,c){d[c]=d[c]||a}));i=new Date(d[0]||1970,d[1]||0,d[2]||1,d[3]||0,d[4]||0,d[5]||0,d[6]||0);100>d[0]&&i.setFullYear(d[0]||1970);var h=0,b=d[7]&&d[7].charAt(0);"Z"!=b&&(h=60*(d[8]||0)+(Number(d[9])||0),"-"!=b&&(h*=-1));b&&(h-=i.getTimezoneOffset());h&&i.setTime(i.getTime()+6E4*h)}return i};j.toISOString=function(e,f){var d=function(a){return 10>a?"0"+a:a},f=f||{},i=[],h=f.zulu?"getUTC":"get",b="";"time"!=f.selector&&(b=e[h+"FullYear"](),b=["0000".substr((b+"").length)+b,d(e[h+"Month"]()+
1),d(e[h+"Date"]())].join("-"));i.push(b);if("date"!=f.selector){b=[d(e[h+"Hours"]()),d(e[h+"Minutes"]()),d(e[h+"Seconds"]())].join(":");h=e[h+"Milliseconds"]();f.milliseconds&&(b+="."+(100>h?"0":"")+d(h));if(f.zulu)b+="Z";else if("time"!=f.selector)var h=e.getTimezoneOffset(),a=Math.abs(h),b=b+((0<h?"-":"+")+d(Math.floor(a/60))+":"+d(a%60));i.push(b)}return i.join("T")};return j})},"dojo/Deferred":function(){define("dojo/Deferred",["./has","./_base/lang","./errors/CancelError","./promise/Promise",
"./promise/instrumentation"],function(e,l,j,k,f){var d=Object.freeze||function(){},i=function(a,b,d,f,e){2===b&&c.instrumentRejected&&0===a.length&&c.instrumentRejected(d,!1,f,e);for(e=0;e<a.length;e++)h(a[e],b,d,f)},h=function(g,d,f,e){var h=g[d],m=g.deferred;if(h)try{var i=h(f);if(0===d)"undefined"!==typeof i&&a(m,d,i);else{if(i&&"function"===typeof i.then){g.cancel=i.cancel;i.then(b(m,1),b(m,2),b(m,0));return}a(m,1,i)}}catch(k){a(m,2,k)}else a(m,d,f);2===d&&c.instrumentRejected&&c.instrumentRejected(f,
!!h,e,m.promise)},b=function(c,b){return function(d){a(c,b,d)}},a=function(a,c,b){if(!a.isCanceled())switch(c){case 0:a.progress(b);break;case 1:a.resolve(b);break;case 2:a.reject(b)}},c=function(a){var b=this.promise=new k,f=this,e,l,m,t=!1,q=[];Error.captureStackTrace&&(Error.captureStackTrace(f,c),Error.captureStackTrace(b,c));this.isResolved=b.isResolved=function(){return 1===e};this.isRejected=b.isRejected=function(){return 2===e};this.isFulfilled=b.isFulfilled=function(){return!!e};this.isCanceled=
b.isCanceled=function(){return t};this.progress=function(a,c){if(e){if(!0===c)throw Error("This deferred has already been fulfilled.");return b}i(q,0,a,null,f);return b};this.resolve=function(a,c){if(e){if(!0===c)throw Error("This deferred has already been fulfilled.");return b}i(q,e=1,l=a,null,f);q=null;return b};var r=this.reject=function(a,c){if(e){if(!0===c)throw Error("This deferred has already been fulfilled.");return b}Error.captureStackTrace&&Error.captureStackTrace(m={},r);i(q,e=2,l=a,m,
f);q=null;return b};this.then=b.then=function(a,g,d){var f=[d,a,g];f.cancel=b.cancel;f.deferred=new c(function(a){return f.cancel&&f.cancel(a)});e&&!q?h(f,e,l,m):q.push(f);return f.deferred.promise};this.cancel=b.cancel=function(c,b){if(e){if(!0===b)throw Error("This deferred has already been fulfilled.");}else{if(a)var d=a(c),c="undefined"===typeof d?c:d;t=!0;if(e){if(2===e&&l===c)return c}else return"undefined"===typeof c&&(c=new j),r(c),c}};d(b)};c.prototype.toString=function(){return"[object Deferred]"};
f&&f(c);return c})},"dojo/errors/CancelError":function(){define(["./create"],function(e){return e("CancelError",null,null,{dojoType:"cancel"})})},"dojo/errors/create":function(){define(["../_base/lang"],function(e){return function(l,j,k,f){var k=k||Error,d=function(f){if(k===Error){Error.captureStackTrace&&Error.captureStackTrace(this,d);var e=Error.call(this,f),b;for(b in e)e.hasOwnProperty(b)&&(this[b]=e[b]);this.message=f;this.stack=e.stack}else k.apply(this,arguments);j&&j.apply(this,arguments)};
d.prototype=e.delegate(k.prototype,f);d.prototype.name=l;return d.prototype.constructor=d}})},"dojo/promise/Promise":function(){define(["../_base/lang"],function(e){function l(){throw new TypeError("abstract");}return e.extend(function(){},{then:function(){l()},cancel:function(){l()},isResolved:function(){l()},isRejected:function(){l()},isFulfilled:function(){l()},isCanceled:function(){l()},always:function(e){return this.then(e,e)},otherwise:function(e){return this.then(null,e)},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(e,l,j,k){function f(a,c){c&&c.stack&&c.stack.split("\n").slice(1).join("\n").replace(/^\s+/," ")}function d(a,c,b,d){c||f(a,b,d)}function i(g,d,f,e){k.some(b,function(a){if(a.error===g){if(d)a.handled=!0;return!0}})||b.push({error:g,rejection:f,handled:d,deferred:e,timestamp:(new Date).getTime()});
a||(a=setTimeout(h,c))}function h(){var g=(new Date).getTime(),d=g-c;b=k.filter(b,function(a){return a.timestamp<d?(a.handled||f(a.error,a.rejection,a.deferred),!1):!0});a=b.length?setTimeout(h,b[0].timestamp+c-g):!1}l.add("config-useDeferredInstrumentation","report-unhandled-rejections");var b=[],a=!1,c=1E3;return function(a){var b=l("config-useDeferredInstrumentation");if(b){e.on("resolved",j.hitch(console,"log","resolved"));e.on("rejected",j.hitch(console,"log","rejected"));e.on("progress",j.hitch(console,
"log","progress"));var f=[];"string"===typeof b&&(f=b.split(","),b=f.shift());if("report-rejections"===b)a.instrumentRejected=d;else if("report-unhandled-rejections"===b||!0===b||1===b)a.instrumentRejected=i,c=parseInt(f[0],10)||c;else throw Error("Unsupported instrumentation usage <"+b+">");}}})},"dojo/promise/tracer":function(){define(["../_base/lang","./Promise","../Evented"],function(e,l,j){function k(e){setTimeout(function(){d.apply(f,e)},0)}var f=new j,d=f.emit;f.emit=null;l.prototype.trace=
function(){var d=e._toArray(arguments);this.then(function(f){k(["resolved",f].concat(d))},function(f){k(["rejected",f].concat(d))},function(f){k(["progress",f].concat(d))});return this};l.prototype.traceRejected=function(){var d=e._toArray(arguments);this.otherwise(function(f){k(["rejected",f].concat(d))});return this};return f})},"dojo/query":function(){define("./_base/kernel,./has,./dom,./on,./_base/array,./_base/lang,./selector/_loader,./selector/_loader!default".split(","),function(e,l,j,k,f,
d,i,h){function b(a,c){var b=function(b,g){if("string"==typeof g&&(g=j.byId(g),!g))return new c([]);var d="string"==typeof b?a(b,g):b?b.orphan?b:[b]:[];return d.orphan?d:new c(d)};b.matches=a.match||function(a,c,g){return 0<b.filter([a],c,g).length};b.filter=a.filter||function(a,c,g){return b(c,g).filter(function(c){return-1<f.indexOf(a,c)})};if("function"!=typeof a)var g=a.search,a=function(a,c){return g(c||document,a)};return b}l.add("array-extensible",function(){return 1==d.delegate([],{length:1}).length&&
!l("bug-for-in-skips-shadowed")});var a=Array.prototype,c=a.slice,g=a.concat,n=f.forEach,p=function(a,b,g){b=[0].concat(c.call(b,0));g=g||e.global;return function(c){b[0]=c;return a.apply(g,b)}},o=function(a){var c=this instanceof s&&l("array-extensible");"number"==typeof a&&(a=Array(a));var b=a&&"length"in a?a:arguments;if(c||!b.sort){for(var g=c?this:[],f=g.length=b.length,e=0;e<f;e++)g[e]=b[e];if(c)return g;b=g}d._mixin(b,m);b._NodeListCtor=function(a){return s(a)};return b},s=o,m=s.prototype=
l("array-extensible")?[]:{};s._wrap=m._wrap=function(a,c,b){a=new (b||this._NodeListCtor||s)(a);return c?a._stash(c):a};s._adaptAsMap=function(a,c){return function(){return this.map(p(a,arguments,c))}};s._adaptAsForEach=function(a,c){return function(){this.forEach(p(a,arguments,c));return this}};s._adaptAsFilter=function(a,c){return function(){return this.filter(p(a,arguments,c))}};s._adaptWithCondition=function(a,c,b){return function(){var g=arguments,d=p(a,g,b);if(c.call(b||e.global,g))return this.map(d);
this.forEach(d);return this}};n(["slice","splice"],function(c){var b=a[c];m[c]=function(){return this._wrap(b.apply(this,arguments),"slice"==c?this:null)}});n(["indexOf","lastIndexOf","every","some"],function(a){var b=f[a];m[a]=function(){return b.apply(e,[this].concat(c.call(arguments,0)))}});d.extend(o,{constructor:s,_NodeListCtor:s,toString:function(){return this.join(",")},_stash:function(a){this._parent=a;return this},on:function(a,c){var b=this.map(function(b){return k(b,a,c)});b.remove=function(){for(var a=
0;a<b.length;a++)b[a].remove()};return b},end:function(){return this._parent?this._parent:new this._NodeListCtor(0)},concat:function(a){var b=c.call(this,0),d=f.map(arguments,function(a){return c.call(a,0)});return this._wrap(g.apply(b,d),this)},map:function(a,c){return this._wrap(f.map(this,a,c),this)},forEach:function(a,c){n(this,a,c);return this},filter:function(a){var c=arguments,b=this,g=0;if("string"==typeof a){b=t._filterResult(this,c[0]);if(1==c.length)return b._stash(this);g=1}return this._wrap(f.filter(b,
c[g],c[g+1]),this)},instantiate:function(a,c){var b=d.isFunction(a)?a:d.getObject(a),c=c||{};return this.forEach(function(a){new b(c,a)})},at:function(){var a=new this._NodeListCtor(0);n(arguments,function(c){0>c&&(c=this.length+c);this[c]&&a.push(this[c])},this);return a._stash(this)}});var t=b(h,o);e.query=b(h,function(a){return o(a)});t.load=function(a,c,g){i.load(a,c,function(a){g(b(a,o))})};e._filterQueryResult=t._filterResult=function(a,c,b){return new o(t.filter(a,c,b))};e.NodeList=t.NodeList=
o;return t})},"dojo/selector/_loader":function(){define(["../has","require"],function(e,l){var j=document.createElement("div");e.add("dom-qsa2.1",!!j.querySelectorAll);e.add("dom-qsa3",function(){try{return j.innerHTML="<p class='TEST'></p>",1==j.querySelectorAll(".TEST:empty").length}catch(f){}});var k;return{load:function(f,d,i){var h=l,f="default"==f?e("config-selectorEngine")||"css3":f,f="css2"==f||"lite"==f?"./lite":"css2.1"==f?e("dom-qsa2.1")?"./lite":"./acme":"css3"==f?e("dom-qsa3")?"./lite":
"./acme":"acme"==f?"./acme":(h=d)&&f;if("?"==f.charAt(f.length-1))var f=f.substring(0,f.length-1),b=!0;if(b&&(e("dom-compliant-qsa")||k))return i(k);h([f],function(a){"./lite"!=f&&(k=a);i(a)})}}})},"dojo/selector/lite":function(){define(["../has","../_base/kernel"],function(e,l){var j=document.createElement("div"),k=j.matchesSelector||j.webkitMatchesSelector||j.mozMatchesSelector||j.msMatchesSelector||j.oMatchesSelector,f=j.querySelectorAll,d=/([^\s,](?:"(?:\\.|[^"])+"|'(?:\\.|[^'])+'|[^,])*)/g;e.add("dom-matches-selector",
!!k);e.add("dom-qsa",!!f);var i=function(c,g){if(a&&-1<c.indexOf(","))return a(c,g);var d=g?g.ownerDocument||g:l.doc||document,e=(f?/^([\w]*)#([\w\-]+$)|^(\.)([\w\-\*]+$)|^(\w+$)/:/^([\w]*)#([\w\-]+)(?:\s+(.*))?$|(?:^|(>|.+\s+))([\w\-\*]+)(\S*$)/).exec(c),g=g||d;if(e){if(e[2]){var k=l.byId?l.byId(e[2]):d.getElementById(e[2]);if(!k||e[1]&&e[1]!=k.tagName.toLowerCase())return[];if(g!=d)for(d=k;d!=g;)if(d=d.parentNode,!d)return[];return e[3]?i(e[3],k):[k]}if(e[3]&&g.getElementsByClassName)return g.getElementsByClassName(e[4]);
if(e[5])if(k=g.getElementsByTagName(e[5]),e[4]||e[6])c=(e[4]||"")+e[6];else return k}if(f)return 1===g.nodeType&&"object"!==g.nodeName.toLowerCase()?h(g,c,g.querySelectorAll):g.querySelectorAll(c);k||(k=g.getElementsByTagName("*"));for(var e=[],d=0,j=k.length;d<j;d++){var m=k[d];1==m.nodeType&&b(m,c,g)&&e.push(m)}return e},h=function(a,b,f){var e=a,k=a.getAttribute("id"),h=k||"__dojo__",m=a.parentNode,i=/^\s*[+~]/.test(b);if(i&&!m)return[];k?h=h.replace(/'/g,"\\$&"):a.setAttribute("id",h);if(i&&m)a=
a.parentNode;b=b.match(d);for(m=0;m<b.length;m++)b[m]="[id='"+h+"'] "+b[m];b=b.join(",");try{return f.call(a,b)}finally{k||e.removeAttribute("id")}};if(!e("dom-matches-selector"))var b=function(){function a(c,b,g){var d=b.charAt(0);if('"'==d||"'"==d)b=b.slice(1,-1);var b=b.replace(/\\/g,""),f=m[g||""];return function(a){return(a=a.getAttribute(c))&&f(a,b)}}function b(a){return function(c,b){for(;(c=c.parentNode)!=b;)if(a(c,b))return!0}}function d(a){return function(c,b){c=c.parentNode;return a?c!=
b&&a(c,b):c==b}}function f(a,c){return a?function(b,g){return c(b)&&a(b,g)}:c}var e="div"==j.tagName?"toLowerCase":"toUpperCase",k={"":function(a){a=a[e]();return function(c){return c.tagName==a}},".":function(a){var c=" "+a+" ";return function(b){return-1<b.className.indexOf(a)&&-1<(" "+b.className+" ").indexOf(c)}},"#":function(a){return function(c){return c.id==a}}},m={"^=":function(a,c){return 0==a.indexOf(c)},"*=":function(a,c){return-1<a.indexOf(c)},"$=":function(a,c){return a.substring(a.length-
c.length,a.length)==c},"~=":function(a,c){return-1<(" "+a+" ").indexOf(" "+c+" ")},"|=":function(a,c){return 0==(a+"-").indexOf(c+"-")},"=":function(a,c){return a==c},"":function(){return!0}},h={};return function(e,m,i){var j=h[m];if(!j){if(m.replace(/(?:\s*([> ])\s*)|(#|\.)?((?:\\.|[\w-])+)|\[\s*([\w-]+)\s*(.?=)?\s*("(?:\\.|[^"])+"|'(?:\\.|[^'])+'|(?:\\.|[^\]])*)\s*\]/g,function(e,m,h,i,r,l,t){i?j=f(j,k[h||""](i.replace(/\\/g,""))):m?j=(" "==m?b:d)(j):r&&(j=f(j,a(r,t,l)));return""}))throw Error("Syntax error in query");
if(!j)return!0;h[m]=j}return j(e,i)}}();if(!e("dom-qsa"))var a=function(a,b){for(var f=a.match(d),e=[],h=0;h<f.length;h++){a=new String(f[h].replace(/\s*$/,""));a.indexOf=escape;for(var k=i(a,b),m=0,j=k.length;m<j;m++){var l=k[m];e[l.sourceIndex]=l}}f=[];for(h in e)f.push(e[h]);return f};i.match=k?function(a,b,d){return d&&9!=d.nodeType?h(d,b,function(b){return k.call(a,b)}):k.call(a,b)}:b;return i})},"dojo/ready":function(){define(["./_base/kernel","./has","require","./domReady","./_base/lang"],
function(e,l,j,k,f){var d=0,i=[],h=0,l=function(){d=1;e._postLoad=e.config.afterOnLoad=!0;b()},b=function(){if(!h){for(h=1;d&&(!k||0==k._Q.length)&&j.idle()&&i.length;){var a=i.shift();try{a()}catch(c){}}h=0}};j.on("idle",b);if(k)k._onQEmpty=b;var a=e.ready=e.addOnLoad=function(a,c,d){var h=f._toArray(arguments);"number"!=typeof a?(d=c,c=a,a=1E3):h.shift();d=d?f.hitch.apply(e,h):function(){c()};d.priority=a;for(h=0;h<i.length&&a>=i[h].priority;h++);i.splice(h,0,d);b()},c=e.config.addOnLoad;if(c)a[f.isArray(c)?
"apply":"call"](e,c);k?k(l):l();return a})},"dojo/domReady":function(){define(["./has"],function(e){function l(a){b.push(a);h&&j()}function j(){if(!a){for(a=!0;b.length;)try{b.shift()(f)}catch(c){}a=!1;l._onQEmpty()}}var k=function(){return this}(),f=document,d={loaded:1,complete:1},i="string"!=typeof f.readyState,h=!!d[f.readyState],b=[],a;l.load=function(a,c,b){l(b)};l._Q=b;l._onQEmpty=function(){};if(i)f.readyState="loading";if(!h){var c=[],g=function(a){a=a||k.event;if(!(h||"readystatechange"==
a.type&&!d[f.readyState])){if(i)f.readyState="complete";h=1;j()}},n=function(a,c){a.addEventListener(c,g,!1);b.push(function(){a.removeEventListener(c,g,!1)})};if(!e("dom-addeventlistener")){var n=function(a,c){c="on"+c;a.attachEvent(c,g);b.push(function(){a.detachEvent(c,g)})},p=f.createElement("div");try{p.doScroll&&null===k.frameElement&&c.push(function(){try{return p.doScroll("left"),1}catch(a){}})}catch(o){}}n(f,"DOMContentLoaded");n(k,"load");"onreadystatechange"in f?n(f,"readystatechange"):
i||c.push(function(){return d[f.readyState]});if(c.length){var s=function(){if(!h){for(var a=c.length;a--;)if(c[a]()){g("poller");return}setTimeout(s,30)}};s()}}return l})},"chy/History":function(){define("chy/History","dojo/_base/declare,dojo/_base/array,dojo/back,dojox/encoding/base64,dojo/topic,dojo/io-query,dojo/dom,dojo/dom-construct,dojo/_base/config,dojo/_base/lang".split(","),function(e,l,j,k,f,d,i,h,b,a){return e("chy.History",null,{windowIDs:[],lastUrl:null,appState:function(a){this.histUrl=
a},constructor:function(c){e.safeMixin(this,c);i.byId("dj_history")||(c=b.dojoIframeHistoryUrl||require.toUrl("dojo/resources/iframe_history.html"),h.place('<iframe style="border:0;width:1px;height:1px;position:absolute;visibility:hidden;bottom:0;right:0;" name="dj_history" id="dj_history" src="'+c+'"></iframe>',document.body),a.extend(this.appState,{back:function(){null!=this.histUrl?KPWindowLoad(this.histUrl,"kpwindowb2",!1):location.href=location.href},forward:function(){KPWindowLoad(this.histUrl,
"kpwindowb2",!1)}}),j.setInitialState(new this.appState(null)))},doHash:function(){},add:function(a,b){if(-1!=l.indexOf(this.windowIDs,b))k.encode(a),null!=this.lastUrl&&this.lastUrl!=a&&j.addToHistory(new this.appState(a),!0),this.lastUrl=a}})})},"dojo/_base/declare":function(){define(["./kernel","../has","./lang"],function(e,l,j){function k(a,c){throw Error("declare"+(c?" "+c:"")+": "+a);}function f(a,c,b){var g,d,f,e,m,h,i,j=this._inherited=this._inherited||{};"string"==typeof a&&(g=a,a=c,c=b);
b=0;e=a.callee;(g=g||e.nom)||k("can't deduce a name to call inherited()",this.declaredClass);m=this.constructor._meta;f=m.bases;i=j.p;if(g!=w){if(j.c!==e&&(i=0,h=f[0],m=h._meta,m.hidden[g]!==e)){(d=m.chains)&&"string"==typeof d[g]&&k("calling chained method with inherited: "+g,this.declaredClass);do if(m=h._meta,d=h.prototype,m&&(d[g]===e&&d.hasOwnProperty(g)||m.hidden[g]===e))break;while(h=f[++i]);i=h?i:-1}if(h=f[++i])if(d=h.prototype,h._meta&&d.hasOwnProperty(g))b=d[g];else{e=r[g];do if(d=h.prototype,
(b=d[g])&&(h._meta?d.hasOwnProperty(g):b!==e))break;while(h=f[++i])}b=h&&b||r[g]}else{if(j.c!==e&&(i=0,(m=f[0]._meta)&&m.ctor!==e)){d=m.chains;for((!d||"manual"!==d.constructor)&&k("calling chained constructor with inherited",this.declaredClass);(h=f[++i])&&!((m=h._meta)&&m.ctor===e););i=h?i:-1}for(;(h=f[++i])&&!(b=(m=h._meta)?m.ctor:h););b=h&&b}j.c=b;j.p=i;if(b)return!0===c?b:b.apply(this,c||a)}function d(a,c){return"string"==typeof a?this.__inherited(a,c,!0):this.__inherited(a,!0)}function i(a,
c,b){var g=this.getInherited(a,c);if(g)return g.apply(this,b||c||a)}function h(a){for(var c=this.constructor._meta.bases,b=0,g=c.length;b<g;++b)if(c[b]===a)return!0;return this instanceof a}function b(a,c){for(var b in c)b!=w&&c.hasOwnProperty(b)&&(a[b]=c[b]);if(l("bug-for-in-skips-shadowed"))for(var g=j._extraNames,d=g.length;d;)b=g[--d],b!=w&&c.hasOwnProperty(b)&&(a[b]=c[b])}function a(a){t.safeMixin(this.prototype,a);return this}function c(a){return t([this].concat(a))}function g(a,c){return function(){var y;
var b=arguments,g=b,d=b[0],f,e;e=a.length;var h;if(!(this instanceof b.callee))return m(b);if(c&&(d&&d.preamble||this.preamble)){h=Array(a.length);h[0]=b;for(f=0;;){if(d=b[0])(d=d.preamble)&&(b=d.apply(this,b)||b);d=a[f].prototype;(d=d.hasOwnProperty("preamble")&&d.preamble)&&(b=d.apply(this,b)||b);if(++f==e)break;h[f]=b}}for(f=e-1;0<=f;--f)d=a[f],(y=(e=d._meta)?e.ctor:d,d=y)&&d.apply(this,h?h[f]:b);(d=this.postscript)&&d.apply(this,g)}}function n(a,c){return function(){var b=arguments,g=b,d=b[0];
if(!(this instanceof b.callee))return m(b);if(c){if(d)(d=d.preamble)&&(g=d.apply(this,g)||g);(d=this.preamble)&&d.apply(this,g)}a&&a.apply(this,b);(d=this.postscript)&&d.apply(this,b)}}function p(a){return function(){var y;var c=arguments,b=0,g,d;if(!(this instanceof c.callee))return m(c);for(;g=a[b];++b)if(y=(d=g._meta)?d.ctor:g,g=y){g.apply(this,c);break}(g=this.postscript)&&g.apply(this,c)}}function o(a,c,b){return function(){var g,d,f=0,e=1;b&&(f=c.length-1,e=-1);for(;g=c[f];f+=e)d=g._meta,(g=
(d?d.hidden:g.prototype)[a])&&g.apply(this,arguments)}}function s(a){x.prototype=a.prototype;a=new x;x.prototype=null;return a}function m(a){var c=a.callee,b=s(c);c.apply(b,a);return b}function t(e,m,i){"string"!=typeof e&&(i=m,m=e,e="");var i=i||{},l,x,B,z,y,A,K,H=1,C=m;if("[object Array]"==v.call(m)){H=e;B=[];z=[{cls:0,refs:[]}];A={};for(var F=1,N=m.length,D=0,G,U,I,E;D<N;++D){(G=m[D])?"[object Function]"!=v.call(G)&&k("mixin #"+D+" is not a callable constructor.",H):k("mixin #"+D+" is unknown. Did you use dojo.require to pull it in?",
H);U=G._meta?G._meta.bases:[G];I=0;for(G=U.length-1;0<=G;--G){E=U[G].prototype;if(!E.hasOwnProperty("declaredClass"))E.declaredClass="uniqName_"+u++;E=E.declaredClass;A.hasOwnProperty(E)||(A[E]={count:0,refs:[],cls:U[G]},++F);E=A[E];I&&I!==E&&(E.refs.push(I),++I.count);I=E}++I.count;z[0].refs.push(I)}for(;z.length;){I=z.pop();B.push(I.cls);for(--F;x=I.refs,1==x.length;){I=x[0];if(!I||--I.count){I=0;break}B.push(I.cls);--F}if(I)for(D=0,N=x.length;D<N;++D)I=x[D],--I.count||z.push(I)}F&&k("can't build consistent linearization",
H);G=m[0];B[0]=G?G._meta&&G===B[B.length-G._meta.bases.length]?G._meta.bases.length:1:0;A=B;B=A[0];H=A.length-B;m=A[H]}else A=[0],m?"[object Function]"==v.call(m)?(B=m._meta,A=A.concat(B?B.bases:m)):k("base class is not a callable constructor.",e):null!==m&&k("unknown base class. Did you use dojo.require to pull it in?",e);if(m)for(x=H-1;;--x){l=s(m);if(!x)break;B=A[x];(B._meta?b:q)(l,B.prototype);z=new Function;z.superclass=m;z.prototype=l;m=l.constructor=z}else l={};t.safeMixin(l,i);B=i.constructor;
if(B!==r.constructor)B.nom=w,l.constructor=B;for(x=H-1;x;--x)(B=A[x]._meta)&&B.chains&&(K=q(K||{},B.chains));l["-chains-"]&&(K=q(K||{},l["-chains-"]));B=!K||!K.hasOwnProperty(w);A[0]=z=K&&"manual"===K.constructor?p(A):1==A.length?n(i.constructor,B):g(A,B);z._meta={bases:A,hidden:i,chains:K,parents:C,ctor:i.constructor};z.superclass=m&&m.prototype;z.extend=a;z.createSubclass=c;z.prototype=l;l.constructor=z;l.getInherited=d;l.isInstanceOf=h;l.inherited=J;l.__inherited=f;if(e)l.declaredClass=e,j.setObject(e,
z);if(K)for(y in K)if(l[y]&&"string"==typeof K[y]&&y!=w)B=l[y]=o(y,A,"after"===K[y]),B.nom=y;return z}var q=j.mixin,r=Object.prototype,v=r.toString,x=new Function,u=0,w="constructor",J=e.config.isDebug?i:f;e.safeMixin=t.safeMixin=function(a,c){var b,g;for(b in c)if(g=c[b],(g!==r[b]||!(b in r))&&b!=w){if("[object Function]"==v.call(g))g.nom=b;a[b]=g}if(l("bug-for-in-skips-shadowed"))for(var d=j._extraNames,e=d.length;e;)if(b=d[--e],g=c[b],(g!==r[b]||!(b in r))&&b!=w){if("[object Function]"==v.call(g))g.nom=
b;a[b]=g}return a};return e.declare=t})},"dojo/back":function(){define("dojo/back","./_base/config,./_base/lang,./sniff,./dom,./dom-construct,./_base/window,require".split(","),function(e,l,j,k,f,d,i){function h(){var a=w.pop();if(a){var c=w[w.length-1];!c&&0==w.length&&(c=q);c&&(c.kwArgs.back?c.kwArgs.back():c.kwArgs.backButton?c.kwArgs.backButton():c.kwArgs.handle&&c.kwArgs.handle("back"));u.push(a)}}function b(){var a=u.pop();a&&(a.kwArgs.forward?a.kwArgs.forward():a.kwArgs.forwardButton?a.kwArgs.forwardButton():
a.kwArgs.handle&&a.kwArgs.handle("forward"),w.push(a))}function a(a,c,b){return{url:a,kwArgs:c,urlHash:b}}function c(a){a=a.split("?");return 2>a.length?null:a[1]}function g(){var a=(e.dojoIframeHistoryUrl||i.toUrl("./resources/iframe_history.html"))+"?"+(new Date).getTime();J=!0;if(x)j("webkit")?x.location=a:window.frames[x.name].location=a;return a}function n(){if(!L){var a=w.length,c=o();(c===t||window.location.href==m)&&1==a?h():0<u.length&&u[u.length-1].urlHash===c?b():2<=a&&w[a-2]&&w[a-2].urlHash===
c&&h()}}var p={};l.setObject("dojo.back",p);var o=p.getHash=function(){var a=window.location.hash;"#"==a.charAt(0)&&(a=a.substring(1));return j("mozilla")?a:decodeURIComponent(a)},s=p.setHash=function(a){a||(a="");window.location.hash=encodeURIComponent(a)},m="undefined"!==typeof window?window.location.href:"",t="undefined"!==typeof window?o():"",q=null,r=null,v=null,x=null,u=[],w=[],J=!1,L=!1;p.goBack=h;p.goForward=b;p.init=function(){if(!k.byId("dj_history")){var a=e.dojoIframeHistoryUrl||i.toUrl("./resources/iframe_history.html");
e.afterOnLoad||document.write('<iframe style="border:0;width:1px;height:1px;position:absolute;visibility:hidden;bottom:0;right:0;" name="dj_history" id="dj_history" src="'+a+'"></iframe>')}};p.setInitialState=function(c){q=a(m,c,t)};p.addToHistory=function(c){u=[];var b=null,e=null;x||(x=window.frames.dj_history);v||(v=f.create("a",{style:{display:"none"}},d.body()));if(c.changeUrl){b=""+(!0!==c.changeUrl?c.changeUrl:(new Date).getTime());if(0==w.length&&q.urlHash==b){q=a(e,c,b);return}if(0<w.length&&
w[w.length-1].urlHash==b){w[w.length-1]=a(e,c,b);return}L=!0;setTimeout(function(){s(b);L=!1},1);v.href=b;if(j("ie")){var e=g(),m=c.back||c.backButton||c.handle,h=function(a){""!=o()&&setTimeout(function(){s(b)},1);m.apply(this,[a])};if(c.back)c.back=h;else if(c.backButton)c.backButton=h;else if(c.handle)c.handle=h;var i=c.forward||c.forwardButton||c.handle,h=function(a){""!=o()&&s(b);i&&i.apply(this,[a])};if(c.forward)c.forward=h;else if(c.forwardButton)c.forwardButton=h;else if(c.handle)c.handle=
h}else j("ie")||r||(r=setInterval(n,200))}else e=g();w.push(a(e,c,b))};p._iframeLoaded=function(a,g){var d=c(g.href);null==d?1==w.length&&h():J?J=!1:2<=w.length&&d==c(w[w.length-2].url)?h():0<u.length&&d==c(u[u.length-1].url)&&b()};return p})},"dojox/encoding/base64":function(){define(["dojo/_base/lang"],function(e){e=e.getObject("dojox.encoding.base64",!0);e.encode=function(e){for(var j=[],k=e.length,f=k%3,k=k-f,d=0;d<k;){var i=e[d++]<<16|e[d++]<<8|e[d++];j.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(i>>>
18&63));j.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(i>>>12&63));j.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(i>>>6&63));j.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(i&63))}switch(f){case 2:i=e[d++]<<16|e[d++]<<8;j.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(i>>>18&63));j.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(i>>>12&
63));j.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(i>>>6&63));j.push("=");break;case 1:i=e[d++]<<16,j.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(i>>>18&63)),j.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(i>>>12&63)),j.push("="),j.push("=")}return j.join("")};e.decode=function(e){for(var e=e.split(""),j=[],k=e.length;"="==e[--k];);for(var f=0;f<k;){var d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(e[f++])<<
18;f<=k&&(d|="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(e[f++])<<12);f<=k&&(d|="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(e[f++])<<6);f<=k&&(d|="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(e[f++]));j.push(d>>>16&255);j.push(d>>>8&255);j.push(d&255)}for(;0==j[j.length-1];)j.pop();return j};return e})},"dojo/io-query":function(){define(["./_base/lang"],function(e){var l={};return{objectToQuery:function(j){var k=
encodeURIComponent,f=[],d;for(d in j){var i=j[d];if(i!=l[d]){var h=k(d)+"=";if(e.isArray(i))for(var b=0,a=i.length;b<a;++b)f.push(h+k(i[b]));else f.push(h+k(i))}}return f.join("&")},queryToObject:function(j){for(var k=decodeURIComponent,j=j.split("&"),f={},d,i,h=0,b=j.length;h<b;++h)if(i=j[h],i.length){var a=i.indexOf("=");0>a?(d=k(i),i=""):(d=k(i.slice(0,a)),i=k(i.slice(a+1)));"string"==typeof f[d]&&(f[d]=[f[d]]);e.isArray(f[d])?f[d].push(i):f[d]=i}return f}}})},"chy/form/DateTextBox":function(){require({cache:{"url:chy/form/templates/DropDownBox.html":'<div class="dijit dijitReset dijitInline dijitLeft"\r\n\tid="widget_${id}"\r\n\trole="combobox"\r\n\t><div class=\'dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton dijitArrowButtonContainer\'\r\n\t\tdata-dojo-attach-point="_buttonNode, _popupStateNode" role="presentation"\r\n\t\t><span class="dijitInputField ${iconClass}" value="&#9660; " type="text" tabIndex="-1" readonly="readonly" role="presentation"\r\n\t\t\t${_buttonInputDisabled}\r\n\t/></div\r\n\t><div class=\'dijitReset dijitValidationContainer\'\r\n\t\t><input class="dijitReset dijitInputField dijitValidationIcon dijitValidationInner" value="&#935; " type="text" tabIndex="-1" readonly="readonly" role="presentation"\r\n\t/></div\r\n\t><div class="dijitReset dijitInputField dijitInputContainer"\r\n\t\t><input class=\'dijitReset dijitInputInner\' ${!nameAttrSetting} type="text" autocomplete="off"\r\n\t\t\tdata-dojo-attach-point="textbox,focusNode" role="textbox" aria-haspopup="true"\r\n\t/></div\r\n></div>\r\n'}});
define("chy/form/DateTextBox",["dojo/_base/declare","dijit/form/DateTextBox","dojox/widget/Calendar","dojo/date/locale","dojo/text!./templates/DropDownBox.html"],function(e,l,j,k,f){return e("chy.form.DateTextBox",l,{ddFormat:{selector:"date",datePattern:"dd-MM-yyyy"},autoWidth:!1,dateFormat:"%d-%m-%Y",templateString:f,nameAttrSetting:"icon-chevron-down",iconClass:"fa fa-calendar",value:"",postMixInProperties:function(){this.forceWidth=this.autoWidth=!1;this.inherited(arguments);this.value=k.parse(this.value,
this.ddFormat)},serialize:function(d){return k.format(d,this.ddFormat).replace(RegExp("/","g"),"-")}})})},"dijit/form/DateTextBox":function(){define("dijit/form/DateTextBox",["dojo/_base/declare","../Calendar","./_DateTimeTextBox"],function(e,l,j){return e("dijit.form.DateTextBox",j,{baseClass:"dijitTextBox dijitComboBox dijitDateTextBox",popupClass:l,_selector:"date",value:new Date("")})})},"dijit/Calendar":function(){define("dijit/Calendar","dojo/_base/array,dojo/date,dojo/date/locale,dojo/_base/declare,dojo/dom-attr,dojo/dom-class,dojo/_base/event,dojo/_base/kernel,dojo/keys,dojo/_base/lang,dojo/sniff,./CalendarLite,./_Widget,./_CssStateMixin,./_TemplatedMixin,./form/DropDownButton".split(","),
function(e,l,j,k,f,d,i,h,b,a,c,g,n,p,o,s){var m=k("dijit.Calendar",[g,n,p],{cssStateNodes:{decrementMonth:"dijitCalendarArrow",incrementMonth:"dijitCalendarArrow",previousYearLabelNode:"dijitCalendarPreviousYear",nextYearLabelNode:"dijitCalendarNextYear"},setValue:function(a){h.deprecated("dijit.Calendar:setValue() is deprecated.  Use set('value', ...) instead.","","2.0");this.set("value",a)},_createMonthWidget:function(){return new m._MonthDropDownButton({id:this.id+"_mddb",tabIndex:-1,onMonthSelect:a.hitch(this,
"_onMonthSelect"),lang:this.lang,dateLocaleModule:this.dateLocaleModule},this.monthNode)},postCreate:function(){this.inherited(arguments);this.connect(this.domNode,"onkeydown","_onKeyDown");this.connect(this.dateRowsNode,"onmouseover","_onDayMouseOver");this.connect(this.dateRowsNode,"onmouseout","_onDayMouseOut");this.connect(this.dateRowsNode,"onmousedown","_onDayMouseDown");this.connect(this.dateRowsNode,"onmouseup","_onDayMouseUp")},_onMonthSelect:function(a){var c=new this.dateClassObj(this.currentFocus);
c.setDate(1);c.setMonth(a);var a=this.dateModule.getDaysInMonth(c),b=this.currentFocus.getDate();c.setDate(Math.min(b,a));this._setCurrentFocusAttr(c)},_onDayMouseOver:function(a){if((a=d.contains(a.target,"dijitCalendarDateLabel")?a.target.parentNode:a.target)&&(a.dijitDateValue&&!d.contains(a,"dijitCalendarDisabledDate")||a==this.previousYearLabelNode||a==this.nextYearLabelNode))d.add(a,"dijitCalendarHoveredDate"),this._currentNode=a},_onDayMouseOut:function(a){if(this._currentNode&&!(a.relatedTarget&&
a.relatedTarget.parentNode==this._currentNode))a="dijitCalendarHoveredDate",d.contains(this._currentNode,"dijitCalendarActiveDate")&&(a+=" dijitCalendarActiveDate"),d.remove(this._currentNode,a),this._currentNode=null},_onDayMouseDown:function(a){if((a=a.target.parentNode)&&a.dijitDateValue&&!d.contains(a,"dijitCalendarDisabledDate"))d.add(a,"dijitCalendarActiveDate"),this._currentNode=a},_onDayMouseUp:function(a){(a=a.target.parentNode)&&a.dijitDateValue&&d.remove(a,"dijitCalendarActiveDate")},handleKey:function(a){var c=
-1,g,d=this.currentFocus;switch(a.keyCode){case b.RIGHT_ARROW:c=1;case b.LEFT_ARROW:g="day";this.isLeftToRight()||(c*=-1);break;case b.DOWN_ARROW:c=1;case b.UP_ARROW:g="week";break;case b.PAGE_DOWN:c=1;case b.PAGE_UP:g=a.ctrlKey||a.altKey?"year":"month";break;case b.END:d=this.dateModule.add(d,"month",1),g="day";case b.HOME:d=new this.dateClassObj(d);d.setDate(1);break;case b.ENTER:case b.SPACE:this.set("value",this.currentFocus);break;default:return!0}g&&(d=this.dateModule.add(d,g,c));this._setCurrentFocusAttr(d);
return!1},_onKeyDown:function(a){this.handleKey(a)||i.stop(a)},onValueSelected:function(){},onChange:function(a){this.onValueSelected(a)},getClassForDate:function(){}});m._MonthDropDownButton=k("dijit.Calendar._MonthDropDownButton",s,{onMonthSelect:function(){},postCreate:function(){this.inherited(arguments);this.dropDown=new m._MonthDropDown({id:this.id+"_mdd",onChange:this.onMonthSelect})},_setMonthAttr:function(a){var b=this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,a);this.dropDown.set("months",
b);this.containerNode.innerHTML=(6==c("ie")?"":"<div class='dijitSpacer'>"+this.dropDown.domNode.innerHTML+"</div>")+"<div class='dijitCalendarMonthLabel dijitCalendarCurrentMonthLabel'>"+b[a.getMonth()]+"</div>"}});m._MonthDropDown=k("dijit.Calendar._MonthDropDown",[n,o],{months:[],templateString:"<div class='dijitCalendarMonthMenu dijitMenu' data-dojo-attach-event='onclick:_onClick,onmouseover:_onMenuHover,onmouseout:_onMenuHover'></div>",_setMonthsAttr:function(a){this.domNode.innerHTML=e.map(a,
function(a,c){return a?"<div class='dijitCalendarMonthLabel' month='"+c+"'>"+a+"</div>":""}).join("")},_onClick:function(a){this.onChange(f.get(a.target,"month"))},onChange:function(){},_onMenuHover:function(a){d.toggle(a.target,"dijitCalendarMonthLabelHover","mouseover"==a.type)}});return m})},"dojo/date":function(){define("dojo/date",["./has","./_base/lang"],function(e,l){var j={};j.getDaysInMonth=function(e){var f=e.getMonth(),d=[31,28,31,30,31,30,31,31,30,31,30,31];return 1==f&&j.isLeapYear(e)?
29:d[f]};j.isLeapYear=function(e){e=e.getFullYear();return!(e%400)||!(e%4)&&!!(e%100)};j.getTimezoneName=function(e){var f=e.toString(),d="",i=f.indexOf("(");if(-1<i)d=f.substring(++i,f.indexOf(")"));else if(i=/([A-Z\/]+) \d{4}$/,f=f.match(i))d=f[1];else if(f=e.toLocaleString(),i=/ ([A-Z\/]+)$/,f=f.match(i))d=f[1];return"AM"==d||"PM"==d?"":d};j.compare=function(e,f,d){e=new Date(+e);f=new Date(+(f||new Date));"date"==d?(e.setHours(0,0,0,0),f.setHours(0,0,0,0)):"time"==d&&(e.setFullYear(0,0,0),f.setFullYear(0,
0,0));return e>f?1:e<f?-1:0};j.add=function(e,f,d){var i=new Date(+e),h=!1,b="Date";switch(f){case "day":break;case "weekday":var a;(f=d%5)?a=parseInt(d/5):(f=0<d?5:-5,a=0<d?(d-5)/5:(d+5)/5);var c=e.getDay(),g=0;6==c&&0<d?g=1:0==c&&0>d&&(g=-1);c+=f;if(0==c||6==c)g=0<d?2:-2;d=7*a+f+g;break;case "year":b="FullYear";h=!0;break;case "week":d*=7;break;case "quarter":d*=3;case "month":h=!0;b="Month";break;default:b="UTC"+f.charAt(0).toUpperCase()+f.substring(1)+"s"}if(b)i["set"+b](i["get"+b]()+d);h&&i.getDate()<
e.getDate()&&i.setDate(0);return i};j.difference=function(e,f,d){var f=f||new Date,d=d||"day",i=f.getFullYear()-e.getFullYear(),h=1;switch(d){case "quarter":e=e.getMonth();f=f.getMonth();e=Math.floor(e/3)+1;f=Math.floor(f/3)+1;h=f+4*i-e;break;case "weekday":i=Math.round(j.difference(e,f,"day"));d=parseInt(j.difference(e,f,"week"));if(0==i%7)i=5*d;else{var h=0,b=e.getDay(),a=f.getDay(),d=parseInt(i/7),f=i%7,e=new Date(e);e.setDate(e.getDate()+7*d);e=e.getDay();if(0<i)switch(!0){case 6==b:h=-1;break;
case 0==b:h=0;break;case 6==a:h=-1;break;case 0==a:h=-2;break;case 5<e+f:h=-2}else if(0>i)switch(!0){case 6==b:h=0;break;case 0==b:h=1;break;case 6==a:h=2;break;case 0==a:h=1;break;case 0>e+f:h=2}i=i+h-2*d}h=i;break;case "year":h=i;break;case "month":h=f.getMonth()-e.getMonth()+12*i;break;case "week":h=parseInt(j.difference(e,f,"day")/7);break;case "day":h/=24;case "hour":h/=60;case "minute":h/=60;case "second":h/=1E3;case "millisecond":h*=f.getTime()-e.getTime()}return Math.round(h)};l.mixin(l.getObject("dojo.date",
!0),j);return j})},"dojo/date/locale":function(){define("../_base/lang,../_base/array,../date,../cldr/supplemental,../i18n,../regexp,../string,../i18n!../cldr/nls/gregorian,module".split(","),function(e,l,j,k,f,d,i,h,b){function a(a,c,b,g){return g.replace(/([a-z])\1*/ig,function(d){var e,f,h=d.charAt(0),d=d.length,j=["abbr","wide","narrow"];switch(h){case "G":e=c[4>d?"eraAbbr":"eraNames"][0>a.getFullYear()?0:1];break;case "y":e=a.getFullYear();switch(d){case 1:break;case 2:if(!b.fullYear){e=""+e;
e=e.substr(e.length-2);break}default:f=!0}break;case "Q":case "q":e=Math.ceil((a.getMonth()+1)/3);f=!0;break;case "M":case "L":e=a.getMonth();3>d?(e+=1,f=!0):(h=["months","L"==h?"standAlone":"format",j[d-3]].join("-"),e=c[h][e]);break;case "w":e=n._getWeekOfYear(a,0);f=!0;break;case "d":e=a.getDate();f=!0;break;case "D":e=n._getDayOfYear(a);f=!0;break;case "e":case "c":if(e=a.getDay(),2>d){e=(e-k.getFirstDayOfWeek(b.locale)+8)%7;break}case "E":e=a.getDay();3>d?(e+=1,f=!0):(h=["days","c"==h?"standAlone":
"format",j[d-3]].join("-"),e=c[h][e]);break;case "a":h=12>a.getHours()?"am":"pm";e=b[h]||c["dayPeriods-format-wide-"+h];break;case "h":case "H":case "K":case "k":f=a.getHours();switch(h){case "h":e=f%12||12;break;case "H":e=f;break;case "K":e=f%12;break;case "k":e=f||24}f=!0;break;case "m":e=a.getMinutes();f=!0;break;case "s":e=a.getSeconds();f=!0;break;case "S":e=Math.round(a.getMilliseconds()*Math.pow(10,d-3));f=!0;break;case "v":case "z":if(e=n._getZone(a,!0,b))break;d=4;case "Z":h=n._getZone(a,
!1,b);h=[0>=h?"+":"-",i.pad(Math.floor(Math.abs(h)/60),2),i.pad(Math.abs(h)%60,2)];4==d&&(h.splice(0,0,"GMT"),h.splice(3,0,":"));e=h.join("");break;default:throw Error("dojo.date.locale.format: invalid pattern char: "+g);}f&&(e=i.pad(e,d));return e})}function c(a,c,b,d){var g=function(a){return a},c=c||g,b=b||g,d=d||g,e=a.match(/(''|[^'])+/g),f="'"==a.charAt(0);l.forEach(e,function(a,d){a?(e[d]=(f?b:c)(a.replace(/''/g,"'")),f=!f):e[d]=""});return d(e.join(""))}function g(a,c,b,g){g=d.escapeString(g);
b.strict||(g=g.replace(" a"," ?a"));return g.replace(/([a-z])\1*/ig,function(g){var d;d=g.charAt(0);var e=g.length,f="",h="";b.strict?(1<e&&(f="0{"+(e-1)+"}"),2<e&&(h="0{"+(e-2)+"}")):(f="0?",h="0{0,2}");switch(d){case "y":d="\\d{2,4}";break;case "M":case "L":d=2<e?"\\S+?":"1[0-2]|"+f+"[1-9]";break;case "D":d="[12][0-9][0-9]|3[0-5][0-9]|36[0-6]|"+f+"[1-9][0-9]|"+h+"[1-9]";break;case "d":d="3[01]|[12]\\d|"+f+"[1-9]";break;case "w":d="[1-4][0-9]|5[0-3]|"+f+"[1-9]";break;case "E":case "e":case "c":d=
"\\S+";break;case "h":d="1[0-2]|"+f+"[1-9]";break;case "k":d="1[01]|"+f+"\\d";break;case "H":d="1\\d|2[0-3]|"+f+"\\d";break;case "K":d="1\\d|2[0-4]|"+f+"[1-9]";break;case "m":case "s":d="[0-5]\\d";break;case "S":d="\\d{"+e+"}";break;case "a":e=b.am||c["dayPeriods-format-wide-am"];f=b.pm||c["dayPeriods-format-wide-pm"];d=e+"|"+f;b.strict||(e!=e.toLowerCase()&&(d+="|"+e.toLowerCase()),f!=f.toLowerCase()&&(d+="|"+f.toLowerCase()),-1!=d.indexOf(".")&&(d+="|"+d.replace(/\./g,"")));d=d.replace(/\./g,"\\.");
break;default:d=".*"}a&&a.push(g);return"("+d+")"}).replace(/[\xa0 ]/g,"[\\s\\xa0]")}var n={};e.setObject(b.id.replace(/\//g,"."),n);n._getZone=function(a,c){return c?j.getTimezoneName(a):a.getTimezoneOffset()};n.format=function(b,d){var d=d||{},g=f.normalizeLocale(d.locale),h=d.formatLength||"short",g=n._getGregorianBundle(g),i=[],k=e.hitch(this,a,b,g,d);if("year"==d.selector)return c(g["dateFormatItem-yyyy"]||"yyyy",k);var j;"date"!=d.selector&&(j=d.timePattern||g["timeFormat-"+h])&&i.push(c(j,
k));"time"!=d.selector&&(j=d.datePattern||g["dateFormat-"+h])&&i.push(c(j,k));return 1==i.length?i[0]:g["dateTimeFormat-"+h].replace(/\'/g,"").replace(/\{(\d+)\}/g,function(a,c){return i[c]})};n.regexp=function(a){return n._parseInfo(a).regexp};n._parseInfo=function(a){var a=a||{},b=f.normalizeLocale(a.locale),b=n._getGregorianBundle(b),d=a.formatLength||"short",h=a.datePattern||b["dateFormat-"+d],i=a.timePattern||b["timeFormat-"+d],d="date"==a.selector?h:"time"==a.selector?i:b["dateTimeFormat-"+
d].replace(/\{(\d+)\}/g,function(a,c){return[i,h][c]}),k=[];return{regexp:c(d,e.hitch(this,g,k,b,a)),tokens:k,bundle:b}};n.parse=function(a,c){var b=/[\u200E\u200F\u202A\u202E]/g,d=n._parseInfo(c),g=d.tokens,e=d.bundle,b=RegExp("^"+d.regexp.replace(b,"")+"$",d.strict?"":"i").exec(a&&a.replace(b,""));if(!b)return null;var f=["abbr","wide","narrow"],h=[1970,0,1,0,0,0,0],i="",b=l.every(b,function(a,b){if(!b)return!0;var d=g[b-1],m=d.length,d=d.charAt(0);switch(d){case "y":if(2!=m&&c.strict)h[0]=a;else if(100>
a)a=Number(a),d=""+(new Date).getFullYear(),m=100*d.substring(0,2),d=Math.min(Number(d.substring(2,4))+20,99),h[0]=a<d?m+a:m-100+a;else{if(c.strict)return!1;h[0]=a}break;case "M":case "L":if(2<m){if(m=e["months-"+("L"==d?"standAlone":"format")+"-"+f[m-3]].concat(),c.strict||(a=a.replace(".","").toLowerCase(),m=l.map(m,function(a){return a.replace(".","").toLowerCase()})),a=l.indexOf(m,a),-1==a)return!1}else a--;h[1]=a;break;case "E":case "e":case "c":m=e["days-"+("c"==d?"standAlone":"format")+"-"+
f[m-3]].concat();c.strict||(a=a.toLowerCase(),m=l.map(m,function(a){return a.toLowerCase()}));a=l.indexOf(m,a);if(-1==a)return!1;break;case "D":h[1]=0;case "d":h[2]=a;break;case "a":m=c.am||e["dayPeriods-format-wide-am"];d=c.pm||e["dayPeriods-format-wide-pm"];if(!c.strict)var k=/\./g,a=a.replace(k,"").toLowerCase(),m=m.replace(k,"").toLowerCase(),d=d.replace(k,"").toLowerCase();if(c.strict&&a!=m&&a!=d)return!1;i=a==d?"p":a==m?"a":"";break;case "K":24==a&&(a=0);case "h":case "H":case "k":if(23<a)return!1;
h[3]=a;break;case "m":h[4]=a;break;case "s":h[5]=a;break;case "S":h[6]=a}return!0}),d=+h[3];"p"===i&&12>d?h[3]=d+12:"a"===i&&12==d&&(h[3]=0);d=new Date(h[0],h[1],h[2],h[3],h[4],h[5],h[6]);c.strict&&d.setFullYear(h[0]);var k=g.join(""),p=-1!=k.indexOf("d"),k=-1!=k.indexOf("M");if(!b||k&&d.getMonth()>h[1]||p&&d.getDate()>h[2])return null;if(k&&d.getMonth()<h[1]||p&&d.getDate()<h[2])d=j.add(d,"hour",1);return d};var p=[];n.addCustomFormats=function(a,c){p.push({pkg:a,name:c})};n._getGregorianBundle=
function(a){var c={};l.forEach(p,function(b){b=f.getLocalization(b.pkg,b.name,a);c=e.mixin(c,b)},this);return c};n.addCustomFormats(b.id.replace(/\/date\/locale$/,".cldr"),"gregorian");n.getNames=function(a,c,b,d){var g,d=n._getGregorianBundle(d),a=[a,b,c];"standAlone"==b&&(b=a.join("-"),g=d[b],1==g[0]&&(g=void 0));a[1]="format";return(g||d[a.join("-")]).concat()};n.isWeekend=function(a,c){var b=k.getWeekend(c),d=(a||new Date).getDay();b.end<b.start&&(b.end+=7,d<b.start&&(d+=7));return d>=b.start&&
d<=b.end};n._getDayOfYear=function(a){return j.difference(new Date(a.getFullYear(),0,1,a.getHours()),a)+1};n._getWeekOfYear=function(a,c){1==arguments.length&&(c=0);var b=(new Date(a.getFullYear(),0,1)).getDay(),d=Math.floor((n._getDayOfYear(a)+(b-c+7)%7-1)/7);b==c&&d++;return d};return n})},"dojo/cldr/supplemental":function(){define(["../_base/lang","../i18n"],function(e,l){var j={};e.setObject("dojo.cldr.supplemental",j);j.getFirstDayOfWeek=function(e){e={bd:5,mv:5,ae:6,af:6,bh:6,dj:6,dz:6,eg:6,
iq:6,ir:6,jo:6,kw:6,ly:6,ma:6,om:6,qa:6,sa:6,sd:6,sy:6,ye:6,ag:0,ar:0,as:0,au:0,br:0,bs:0,bt:0,bw:0,by:0,bz:0,ca:0,cn:0,co:0,dm:0,"do":0,et:0,gt:0,gu:0,hk:0,hn:0,id:0,ie:0,il:0,"in":0,jm:0,jp:0,ke:0,kh:0,kr:0,la:0,mh:0,mm:0,mo:0,mt:0,mx:0,mz:0,ni:0,np:0,nz:0,pa:0,pe:0,ph:0,pk:0,pr:0,py:0,sg:0,sv:0,th:0,tn:0,tt:0,tw:0,um:0,us:0,ve:0,vi:0,ws:0,za:0,zw:0}[j._region(e)];return void 0===e?1:e};j._region=function(e){var e=l.normalizeLocale(e),e=e.split("-"),f=e[1];f?4==f.length&&(f=e[2]):f={aa:"et",ab:"ge",
af:"za",ak:"gh",am:"et",ar:"eg",as:"in",av:"ru",ay:"bo",az:"az",ba:"ru",be:"by",bg:"bg",bi:"vu",bm:"ml",bn:"bd",bo:"cn",br:"fr",bs:"ba",ca:"es",ce:"ru",ch:"gu",co:"fr",cr:"ca",cs:"cz",cv:"ru",cy:"gb",da:"dk",de:"de",dv:"mv",dz:"bt",ee:"gh",el:"gr",en:"us",es:"es",et:"ee",eu:"es",fa:"ir",ff:"sn",fi:"fi",fj:"fj",fo:"fo",fr:"fr",fy:"nl",ga:"ie",gd:"gb",gl:"es",gn:"py",gu:"in",gv:"gb",ha:"ng",he:"il",hi:"in",ho:"pg",hr:"hr",ht:"ht",hu:"hu",hy:"am",ia:"fr",id:"id",ig:"ng",ii:"cn",ik:"us","in":"id",is:"is",
it:"it",iu:"ca",iw:"il",ja:"jp",ji:"ua",jv:"id",jw:"id",ka:"ge",kg:"cd",ki:"ke",kj:"na",kk:"kz",kl:"gl",km:"kh",kn:"in",ko:"kr",ks:"in",ku:"tr",kv:"ru",kw:"gb",ky:"kg",la:"va",lb:"lu",lg:"ug",li:"nl",ln:"cd",lo:"la",lt:"lt",lu:"cd",lv:"lv",mg:"mg",mh:"mh",mi:"nz",mk:"mk",ml:"in",mn:"mn",mo:"ro",mr:"in",ms:"my",mt:"mt",my:"mm",na:"nr",nb:"no",nd:"zw",ne:"np",ng:"na",nl:"nl",nn:"no",no:"no",nr:"za",nv:"us",ny:"mw",oc:"fr",om:"et",or:"in",os:"ge",pa:"in",pl:"pl",ps:"af",pt:"br",qu:"pe",rm:"ch",rn:"bi",
ro:"ro",ru:"ru",rw:"rw",sa:"in",sd:"in",se:"no",sg:"cf",si:"lk",sk:"sk",sl:"si",sm:"ws",sn:"zw",so:"so",sq:"al",sr:"rs",ss:"za",st:"za",su:"id",sv:"se",sw:"tz",ta:"in",te:"in",tg:"tj",th:"th",ti:"et",tk:"tm",tl:"ph",tn:"za",to:"to",tr:"tr",ts:"za",tt:"ru",ty:"pf",ug:"cn",uk:"ua",ur:"pk",uz:"uz",ve:"za",vi:"vn",wa:"be",wo:"sn",xh:"za",yi:"il",yo:"ng",za:"cn",zh:"cn",zu:"za",ace:"id",ady:"ru",agq:"cm",alt:"ru",amo:"ng",asa:"tz",ast:"es",awa:"in",bal:"pk",ban:"id",bas:"cm",bax:"cm",bbc:"id",bem:"zm",
bez:"tz",bfq:"in",bft:"pk",bfy:"in",bhb:"in",bho:"in",bik:"ph",bin:"ng",bjj:"in",bku:"ph",bqv:"ci",bra:"in",brx:"in",bss:"cm",btv:"pk",bua:"ru",buc:"yt",bug:"id",bya:"id",byn:"er",cch:"ng",ccp:"in",ceb:"ph",cgg:"ug",chk:"fm",chm:"ru",chp:"ca",chr:"us",cja:"kh",cjm:"vn",ckb:"iq",crk:"ca",csb:"pl",dar:"ru",dav:"ke",den:"ca",dgr:"ca",dje:"ne",doi:"in",dsb:"de",dua:"cm",dyo:"sn",dyu:"bf",ebu:"ke",efi:"ng",ewo:"cm",fan:"gq",fil:"ph",fon:"bj",fur:"it",gaa:"gh",gag:"md",gbm:"in",gcr:"gf",gez:"et",gil:"ki",
gon:"in",gor:"id",grt:"in",gsw:"ch",guz:"ke",gwi:"ca",haw:"us",hil:"ph",hne:"in",hnn:"ph",hoc:"in",hoj:"in",ibb:"ng",ilo:"ph",inh:"ru",jgo:"cm",jmc:"tz",kaa:"uz",kab:"dz",kaj:"ng",kam:"ke",kbd:"ru",kcg:"ng",kde:"tz",kdt:"th",kea:"cv",ken:"cm",kfo:"ci",kfr:"in",kha:"in",khb:"cn",khq:"ml",kht:"in",kkj:"cm",kln:"ke",kmb:"ao",koi:"ru",kok:"in",kos:"fm",kpe:"lr",krc:"ru",kri:"sl",krl:"ru",kru:"in",ksb:"tz",ksf:"cm",ksh:"de",kum:"ru",lag:"tz",lah:"pk",lbe:"ru",lcp:"cn",lep:"in",lez:"ru",lif:"np",lis:"cn",
lki:"ir",lmn:"in",lol:"cd",lua:"cd",luo:"ke",luy:"ke",lwl:"th",mad:"id",mag:"in",mai:"in",mak:"id",man:"gn",mas:"ke",mdf:"ru",mdh:"ph",mdr:"id",men:"sl",mer:"ke",mfe:"mu",mgh:"mz",mgo:"cm",min:"id",mni:"in",mnk:"gm",mnw:"mm",mos:"bf",mua:"cm",mwr:"in",myv:"ru",nap:"it",naq:"na",nds:"de","new":"np",niu:"nu",nmg:"cm",nnh:"cm",nod:"th",nso:"za",nus:"sd",nym:"tz",nyn:"ug",pag:"ph",pam:"ph",pap:"bq",pau:"pw",pon:"fm",prd:"ir",raj:"in",rcf:"re",rej:"id",rjs:"np",rkt:"in",rof:"tz",rwk:"tz",saf:"gh",sah:"ru",
saq:"ke",sas:"id",sat:"in",saz:"in",sbp:"tz",scn:"it",sco:"gb",sdh:"ir",seh:"mz",ses:"ml",shi:"ma",shn:"mm",sid:"et",sma:"se",smj:"se",smn:"fi",sms:"fi",snk:"ml",srn:"sr",srr:"sn",ssy:"er",suk:"tz",sus:"gn",swb:"yt",swc:"cd",syl:"bd",syr:"sy",tbw:"ph",tcy:"in",tdd:"cn",tem:"sl",teo:"ug",tet:"tl",tig:"er",tiv:"ng",tkl:"tk",tmh:"ne",tpi:"pg",trv:"tw",tsg:"ph",tts:"th",tum:"mw",tvl:"tv",twq:"ne",tyv:"ru",tzm:"ma",udm:"ru",uli:"fm",umb:"ao",unr:"in",unx:"in",vai:"lr",vun:"tz",wae:"ch",wal:"et",war:"ph",
xog:"ug",xsr:"np",yao:"mz",yap:"fm",yav:"cm",zza:"tr"}[e[0]];return f};j.getWeekend=function(e){var f=j._region(e),e={"in":0,af:4,dz:4,ir:4,om:4,sa:4,ye:4,ae:5,bh:5,eg:5,il:5,iq:5,jo:5,kw:5,ly:5,ma:5,qa:5,sd:5,sy:5,tn:5}[f],f={af:5,dz:5,ir:5,om:5,sa:5,ye:5,ae:6,bh:5,eg:6,il:6,iq:6,jo:6,kw:6,ly:6,ma:6,qa:6,sd:6,sy:6,tn:6}[f];void 0===e&&(e=6);void 0===f&&(f=0);return{start:e,end:f}};return j})},"dojo/i18n":function(){define("./_base/kernel,require,./has,./_base/array,./_base/config,./_base/lang,./_base/xhr,./json,module".split(","),
function(e,l,j,k,f,d,i,h,b){j.add("dojo-preload-i18n-Api",1);var i=e.i18n={},a=/(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,c=function(a,c,b,d){for(var g=[b+d],c=c.split("-"),e="",f=0;f<c.length;f++)e+=(e?"-":"")+c[f],(!a||a[e])&&g.push(b+e+"/"+d);return g},g={},n=function(a,c,b){b=b?b.toLowerCase():e.locale;a=a.replace(/\./g,"/");c=c.replace(/\./g,"/");return/root/i.test(b)?a+"/nls/"+c:a+"/nls/"+b+"/"+c};e.getL10nName=function(a,c,d){return b.id+"!"+n(a,c,d)};var p=function(a,b,e,f,m,h){a([b],function(i){var k=
d.clone(i.root||i.ROOT),j=c(!i._v1x&&i,m,e,f);a(j,function(){for(var a=1;a<j.length;a++)k=d.mixin(d.clone(k),arguments[a]);g[b+"/"+m]=k;h()})})},o=function(a){var c=f.extraLocale||[],c=d.isArray(c)?c:[c];c.push(a);return c},s=function(c,b,f){if(j("dojo-preload-i18n-Api")){var m=c.split("*"),i="preload"==m[1];i&&(g[c]||(g[c]=1,v(m[2],h.parse(m[3]),1,b)),f(1));if(!(m=i))q&&r.push([c,b,f]),m=q;if(m)return}var c=a.exec(c),n=c[1]+"/",l=c[5]||c[4],u=n+l,m=(c=c[5]&&c[4])||e.locale,t=u+"/"+m,c=c?[m]:o(m),
s=c.length,w=function(){--s||f(d.delegate(g[t]))};k.forEach(c,function(a){var c=u+"/"+a;j("dojo-preload-i18n-Api")&&x(c);g[c]?w():p(b,u,n,l,a,w)})};if(j("dojo-unit-tests"))var m=i.unitTests=[];j("dojo-preload-i18n-Api");var t=i.normalizeLocale=function(a){a=a?a.toLowerCase():e.locale;return"root"==a?"ROOT":a},q=0,r=[],v=i._preloadLocalizations=function(a,c,b,f){function m(a,c){f([a],c)}function h(a,c){for(var b=a.split("-");b.length;){if(c(b.join("-")))return;b.pop()}c("ROOT")}function i(){for(--q;!q&&
r.length;)s.apply(null,r.shift())}function j(b){b=t(b);h(b,function(e){if(0<=k.indexOf(c,e)){var j=a.replace(/\./g,"/")+"_"+e;q++;m(j,function(a){for(var c in a){var m=a[c],k=c.match(/(.+)\/([^\/]+)$/),j;if(k){j=k[2];k=k[1]+"/";m._localized=m._localized||{};var n;if("ROOT"===e){var r=n=m._localized;delete m._localized;r.root=m;g[l.toAbsMid(c)]=r}else n=m._localized,g[l.toAbsMid(k+j+"/"+e)]=m;e!==b&&function(a,c,e,m){var k=[],j=[];h(b,function(b){m[b]&&(k.push(l.toAbsMid(a+b+"/"+c)),j.push(l.toAbsMid(a+
c+"/"+b)))});k.length?(q++,f(k,function(){for(var f=0;f<k.length;f++)e=d.mixin(d.clone(e),arguments[f]),g[j[f]]=e;g[l.toAbsMid(a+c+"/"+b)]=d.clone(e);i()})):g[l.toAbsMid(a+c+"/"+b)]=e}(k,j,m,n)}}i()});return!0}return!1})}f=f||l;j();k.forEach(e.config.extraLocale,j)},x=function(){},u={},w=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;}"),
x=function(a){for(var c,b=a.split("/"),d=e.global[b[0]],f=1;d&&f<b.length-1;d=d[b[f++]]);d&&((c=d[b[f]])||(c=d[b[f].replace(/-/g,"_")]),c&&(g[a]=c));return c};i.getLocalization=function(a,c,b){var d,a=n(a,c,b);s(a,l,function(a){d=a});return d};j("dojo-unit-tests")&&m.push(function(a){a.register("tests.i18n.unit",function(a){var c;c=w("{prop:1}",x,"nonsense",u);a.is({prop:1},c);a.is(void 0,c[1]);c=w("({prop:1})",x,"nonsense",u);a.is({prop:1},c);a.is(void 0,c[1]);c=w("{'prop-x':1}",x,"nonsense",u);
a.is({"prop-x":1},c);a.is(void 0,c[1]);c=w("({'prop-x':1})",x,"nonsense",u);a.is({"prop-x":1},c);a.is(void 0,c[1]);c=w("define({'prop-x':1})",x,"nonsense",u);a.is(u,c);a.is({"prop-x":1},u.result);c=w("define('some/module', {'prop-x':1})",x,"nonsense",u);a.is(u,c);a.is({"prop-x":1},u.result);c=w("this is total nonsense and should throw an error",x,"nonsense",u);a.is(c instanceof Error,!0)})});return d.mixin(i,{dynamic:!0,normalize:function(a,c){return/^\./.test(a)?c(a):a},load:s,cache: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(e,l,j,k,f,d,i,h,b,a,c,g,n,p,o,s){e._xhrObj=o._create;var m=e.config;e.objectToQuery=k.objectToQuery;e.queryToObject=k.queryToObject;e.fieldToObject=d.fieldToObject;e.formToObject=d.toObject;e.formToQuery=d.toQuery;e.formToJson=d.toJson;e._blockAsync=!1;var t=e._contentHandlers=e.contentHandlers={text:function(a){return a.responseText},json:function(a){return b.fromJson(a.responseText||null)},"json-comment-filtered":function(a){var a=a.responseText,c=a.indexOf("/*"),d=a.lastIndexOf("*/");
if(-1==c||-1==d)throw Error("JSON was not comment filtered");return b.fromJson(a.substring(c+2,d))},javascript:function(a){return e.eval(a.responseText)},xml:function(a){var b=a.responseXML;b&&l("dom-qsa2.1")&&!b.querySelectorAll&&l("dom-parser")&&(b=(new DOMParser).parseFromString(a.responseText,"application/xml"));if(l("ie")&&(!b||!b.documentElement)){var d=function(a){return"MSXML"+a+".DOMDocument"},d=["Microsoft.XMLDOM",d(6),d(4),d(3),d(2)];c.some(d,function(c){try{var d=new ActiveXObject(c);
d.async=!1;d.loadXML(a.responseText);b=d}catch(g){return!1}return!0})}return b},"json-comment-optional":function(a){return a.responseText&&/^[^{\[]*\/\*/.test(a.responseText)?t["json-comment-filtered"](a):t.json(a)}};e._ioSetArgs=function(c,b,g,h){var j={args:c,url:c.url},n=null;if(c.form){var n=f.byId(c.form),l=n.getAttributeNode("action");j.url=j.url||(l?l.value:null);n=d.toObject(n)}l=[{}];n&&l.push(n);c.content&&l.push(c.content);c.preventCache&&l.push({"dojo.preventCache":(new Date).valueOf()});
j.query=k.objectToQuery(a.mixin.apply(null,l));j.handleAs=c.handleAs||"text";var r=new i(function(a){a.canceled=!0;b&&b(a);var c=a.ioArgs.error;if(!c)c=Error("request cancelled"),c.dojoType="cancel",a.ioArgs.error=c;return c});r.addCallback(g);var v=c.load;v&&a.isFunction(v)&&r.addCallback(function(a){return v.call(c,a,j)});var q=c.error;q&&a.isFunction(q)&&r.addErrback(function(a){return q.call(c,a,j)});var o=c.handle;o&&a.isFunction(o)&&r.addBoth(function(a){return o.call(c,a,j)});r.addErrback(function(a){return h(a,
r)});m.ioPublish&&e.publish&&!1!==j.args.ioPublish&&(r.addCallbacks(function(a){e.publish("/dojo/io/load",[r,a]);return a},function(a){e.publish("/dojo/io/error",[r,a]);return a}),r.addBoth(function(a){e.publish("/dojo/io/done",[r,a]);return a}));r.ioArgs=j;return r};var q=function(a){a=t[a.ioArgs.handleAs](a.ioArgs.xhr);return void 0===a?null:a},r=function(a){return a},v=function(a){0>=x&&(x=0,m.ioPublish&&e.publish&&(!a||a&&!1!==a.ioArgs.args.ioPublish)&&e.publish("/dojo/io/stop"))},x=0;n.after(p,
"_onAction",function(){x-=1});n.after(p,"_onInFlight",v);e._ioCancelAll=p.cancelAll;e._ioNotifyStart=function(a){m.ioPublish&&e.publish&&!1!==a.ioArgs.args.ioPublish&&(x||e.publish("/dojo/io/start"),x+=1,e.publish("/dojo/io/send",[a]))};e._ioWatch=function(c,b,d,g){c.ioArgs.options=c.ioArgs.args;a.mixin(c,{response:c.ioArgs,isValid:function(){return b(c)},isReady:function(){return d(c)},handleResponse:function(){return g(c)}});p(c);v(c)};e._ioAddQueryToUrl=function(a){if(a.query.length)a.url+=(-1==
a.url.indexOf("?")?"?":"&")+a.query,a.query=null};e.xhr=function(a,c,b){var d,g=e._ioSetArgs(c,function(){d&&d.cancel()},q,r),f=g.ioArgs;"postData"in c?f.query=c.postData:"putData"in c?f.query=c.putData:"rawBody"in c?f.query=c.rawBody:(2<arguments.length&&!b||-1==="POST|PUT".indexOf(a.toUpperCase()))&&e._ioAddQueryToUrl(f);var m={method:a,handleAs:"text",timeout:c.timeout,withCredentials:c.withCredentials,ioArgs:f};if("undefined"!==typeof c.headers)m.headers=c.headers;if("undefined"!==typeof c.contentType){if(!m.headers)m.headers=
{};m.headers["Content-Type"]=c.contentType}if("undefined"!==typeof f.query)m.data=f.query;if("undefined"!==typeof c.sync)m.sync=c.sync;e._ioNotifyStart(g);try{d=o(f.url,m,!0)}catch(h){return g.cancel(),g}g.ioArgs.xhr=d.response.xhr;d.then(function(){g.resolve(g)}).otherwise(function(a){f.error=a;if(a.response)a.status=a.response.status,a.responseText=a.response.text,a.xhr=a.response.xhr;g.reject(a)});return g};e.xhrGet=function(a){return e.xhr("GET",a)};e.rawXhrPost=e.xhrPost=function(a){return e.xhr("POST",
a,!0)};e.rawXhrPut=e.xhrPut=function(a){return e.xhr("PUT",a,!0)};e.xhrDelete=function(a){return e.xhr("DELETE",a)};e._isDocumentOk=function(a){return s.checkStatus(a.status)};e._getText=function(a){var c;e.xhrGet({url:a,sync:!0,load:function(a){c=a}});return c};a.mixin(e.xhr,{_xhrObj:e._xhrObj,fieldToObject:d.fieldToObject,formToObject:d.toObject,objectToQuery:k.objectToQuery,formToQuery:d.toQuery,formToJson:d.toJson,queryToObject:k.queryToObject,contentHandlers:t,_ioSetArgs:e._ioSetArgs,_ioCancelAll:e._ioCancelAll,
_ioNotifyStart:e._ioNotifyStart,_ioWatch:e._ioWatch,_ioAddQueryToUrl:e._ioAddQueryToUrl,_isDocumentOk:e._isDocumentOk,_getText:e._getText,get:e.xhrGet,post:e.xhrPost,put:e.xhrPut,del:e.xhrDelete});return e.xhr})},"dojo/dom-form":function(){define(["./_base/lang","./dom","./io-query","./json"],function(e,l,j,k){var f={fieldToObject:function(d){var e=null;if(d=l.byId(d)){var f=d.name,b=(d.type||"").toLowerCase();if(f&&b&&!d.disabled)if("radio"==b||"checkbox"==b){if(d.checked)e=d.value}else if(d.multiple){e=
[];for(d=[d.firstChild];d.length;)for(f=d.pop();f;f=f.nextSibling)if(1==f.nodeType&&"option"==f.tagName.toLowerCase())f.selected&&e.push(f.value);else{f.nextSibling&&d.push(f.nextSibling);f.firstChild&&d.push(f.firstChild);break}}else e=d.value}return e},toObject:function(d){for(var i={},d=l.byId(d).elements,h=0,b=d.length;h<b;++h){var a=d[h],c=a.name,g=(a.type||"").toLowerCase();if(c&&g&&0>"file|submit|image|reset|button".indexOf(g)&&!a.disabled){var k=i,j=c,a=f.fieldToObject(a);if(null!==a){var o=
k[j];"string"==typeof o?k[j]=[o,a]:e.isArray(o)?o.push(a):k[j]=a}if("image"==g)i[c+".x"]=i[c+".y"]=i[c].x=i[c].y=0}}return i},toQuery:function(d){return j.objectToQuery(f.toObject(d))},toJson:function(d,e){return k.stringify(f.toObject(d),null,e?4:0)}};return f})},"dojo/_base/Deferred":function(){define("./kernel,../Deferred,../promise/Promise,../errors/CancelError,../has,./lang,../when".split(","),function(e,l,j,k,f,d,i){var h=function(){},b=Object.freeze||function(){},a=e.Deferred=function(c){function g(a){if(o)throw Error("This deferred has already been resolved");
i=a;o=!0;e()}function e(){for(var a;!a&&t;){var c=t;t=t.next;if(a=c.progress==h)o=!1;var b=s?c.error:c.resolved;f("config-useDeferredInstrumentation")&&s&&l.instrumentRejected&&l.instrumentRejected(i,!!b);if(b)try{var g=b(i);g&&"function"===typeof g.then?g.then(d.hitch(c.deferred,"resolve"),d.hitch(c.deferred,"reject"),d.hitch(c.deferred,"progress")):(b=a&&void 0===g,a&&!b&&(s=g instanceof Error),c.deferred[b&&s?"reject":"resolve"](b?i:g))}catch(m){c.deferred.reject(m)}else s?c.deferred.reject(i):
c.deferred.resolve(i)}}var i,o,s,m,t,q=this.promise=new j;this.resolve=this.callback=function(a){this.fired=0;this.results=[a,null];g(a)};this.reject=this.errback=function(a){s=!0;this.fired=1;f("config-useDeferredInstrumentation")&&l.instrumentRejected&&l.instrumentRejected(a,!!t);g(a);this.results=[null,a]};this.progress=function(a){for(var c=t;c;){var b=c.progress;b&&b(a);c=c.next}};this.addCallbacks=function(a,c){this.then(a,c,h);return this};q.then=this.then=function(c,b,d){var g=d==h?this:new a(q.cancel),
c={resolved:c,error:b,progress:d,deferred:g};t?m=m.next=c:t=m=c;o&&e();return g.promise};var r=this;q.cancel=this.cancel=function(){if(!o){var a=c&&c(r);if(!o)a instanceof Error||(a=new k(a)),a.log=!1,r.reject(a)}};b(q)};d.extend(a,{addCallback:function(a){return this.addCallbacks(d.hitch.apply(e,arguments))},addErrback:function(a){return this.addCallbacks(null,d.hitch.apply(e,arguments))},addBoth:function(a){var b=d.hitch.apply(e,arguments);return this.addCallbacks(b,b)},fired:-1});a.when=e.when=
i;return a})},"dojo/when":function(){define(["./Deferred","./promise/Promise"],function(e,l){return function(j,k,f,d){var i=j&&"function"===typeof j.then,h=i&&j instanceof l;if(i){if(!h)i=new e(j.cancel),j.then(i.resolve,i.reject,i.progress),j=i.promise}else return 1<arguments.length?k?k(j):j:(new e).resolve(j);return k||f||d?j.then(k,f,d):j}})},"dojo/request/watch":function(){define("./util,../errors/RequestTimeoutError,../errors/CancelError,../_base/array,../_base/window,../has!host-browser?dom-addeventlistener?:../on:".split(","),
function(e,l,j,k,f,d){function i(){for(var c=+new Date,d=0,e;d<a.length&&(e=a[d]);d++){var f=e.response,i=f.options;if(e.isCanceled&&e.isCanceled()||e.isValid&&!e.isValid(f))a.splice(d--,1),h._onAction&&h._onAction();else if(e.isReady&&e.isReady(f))a.splice(d--,1),e.handleResponse(f),h._onAction&&h._onAction();else if(e.startTime&&e.startTime+(i.timeout||0)<c)a.splice(d--,1),e.cancel(new l("Timeout exceeded",f)),h._onAction&&h._onAction()}h._onInFlight&&h._onInFlight(e);a.length||(clearInterval(b),
b=null)}function h(c){if(c.response.options.timeout)c.startTime=+new Date;c.isFulfilled()||(a.push(c),b||(b=setInterval(i,50)),c.response.options.sync&&i())}var b=null,a=[];h.cancelAll=function(){try{k.forEach(a,function(a){try{a.cancel(new j("All requests canceled."))}catch(c){}})}catch(c){}};f&&d&&f.doc.attachEvent&&d(f.global,"unload",function(){h.cancelAll()});return h})},"dojo/request/util":function(){define("exports,../errors/RequestError,../errors/CancelError,../Deferred,../io-query,../_base/array,../_base/lang,../promise/Promise".split(","),
function(e,l,j,k,f,d,i,h){function b(a){return c(a)}function a(a){return a.data||a.text}e.deepCopy=function(a,c){for(var b in c){var d=a[b],f=c[b];d!==f&&(d&&"object"===typeof d&&f&&"object"===typeof f?e.deepCopy(d,f):a[b]=f)}return a};e.deepCreate=function(a,c){var c=c||{},b=i.delegate(a),d,f;for(d in a)(f=a[d])&&"object"===typeof f&&(b[d]=e.deepCreate(f,c[d]));return e.deepCopy(b,c)};var c=Object.freeze||function(a){return a};e.deferred=function(d,f,p,o,s,m){var t=new k(function(a){f&&f(t,d);return!a||
!(a instanceof l)&&!(a instanceof j)?new j("Request canceled",d):a});t.response=d;t.isValid=p;t.isReady=o;t.handleResponse=s;p=t.then(b).otherwise(function(a){a.response=d;throw a;});e.notify&&p.then(i.hitch(e.notify,"emit","load"),i.hitch(e.notify,"emit","error"));var o=p.then(a),s=new h,q;for(q in o)o.hasOwnProperty(q)&&(s[q]=o[q]);s.response=p;c(s);m&&t.then(function(a){m.call(t,a)},function(a){m.call(t,d,a)});t.promise=s;t.then=s.then;return t};e.addCommonMethods=function(a,c){d.forEach(c||["GET",
"POST","PUT","DELETE"],function(c){a[("DELETE"===c?"DEL":c).toLowerCase()]=function(b,d){d=i.delegate(d||{});d.method=c;return a(b,d)}})};e.parseArgs=function(a,c,b){var d=c.data,e=c.query;if(d&&!b&&"object"===typeof d)c.data=f.objectToQuery(d);e?("object"===typeof e&&(e=f.objectToQuery(e)),c.preventCache&&(e+=(e?"&":"")+"request.preventCache="+ +new Date)):c.preventCache&&(e="request.preventCache="+ +new Date);a&&e&&(a+=(~a.indexOf("?")?"&":"?")+e);return{url:a,options:c,getHeader:function(){return null}}};
e.checkStatus=function(a){a=a||0;return 200<=a&&300>a||304===a||1223===a||!a}})},"dojo/errors/RequestError":function(){define(["./create"],function(e){return e("RequestError",function(e,j){this.response=j})})},"dojo/errors/RequestTimeoutError":function(){define(["./create","./RequestError"],function(e,l){return e("RequestTimeoutError",null,l,{dojoType:"timeout"})})},"dojo/request/xhr":function(){define(["../errors/RequestError","./watch","./handlers","./util","../has"],function(e,l,j,k,f){function d(a,
c){var b=a.xhr;a.status=a.xhr.status;a.text=b.responseText;if("xml"===a.options.handleAs)a.data=b.responseXML;if(!c)try{j(a)}catch(d){c=d}c?this.reject(c):k.checkStatus(b.status)?this.resolve(a):(c=new e("Unable to load "+a.url+" status: "+b.status,a),this.reject(c))}function i(a){return this.xhr.getResponseHeader(a)}function h(m,j,q){var r=k.parseArgs(m,k.deepCreate(p,j),f("native-formdata")&&j&&j.data&&j.data instanceof FormData),m=r.url,j=r.options,v,o=k.deferred(r,g,b,a,d,function(){v&&v()}),
u=r.xhr=h._create();if(!u)return o.cancel(new e("XHR was not created")),q?o:o.promise;r.getHeader=i;c&&(v=c(u,o,r));var s=j.data,J=!j.sync,L=j.method;try{u.open(L,m,J,j.user||n,j.password||n);if(j.withCredentials)u.withCredentials=j.withCredentials;var M=j.headers,m="application/x-www-form-urlencoded";if(M)for(var O in M)"content-type"===O.toLowerCase()?m=M[O]:M[O]&&u.setRequestHeader(O,M[O]);m&&!1!==m&&u.setRequestHeader("Content-Type",m);(!M||!("X-Requested-With"in M))&&u.setRequestHeader("X-Requested-With",
"XMLHttpRequest");k.notify&&k.notify.emit("send",r,o.promise.cancel);u.send(s)}catch(P){o.reject(P)}l(o);u=null;return q?o:o.promise}f.add("native-xhr",function(){return"undefined"!==typeof XMLHttpRequest});f.add("dojo-force-activex-xhr",function(){return f("activex")&&!document.addEventListener&&"file:"===window.location.protocol});f.add("native-xhr2",function(){if(f("native-xhr")){var a=new XMLHttpRequest;return"undefined"!==typeof a.addEventListener&&("undefined"===typeof opera||"undefined"!==
typeof a.upload)}});f.add("native-formdata",function(){return"function"===typeof FormData});var b,a,c,g;f("native-xhr2")?(b=function(){return!this.isFulfilled()},g=function(a,c){c.xhr.abort()},c=function(a,c,b){function d(){c.handleResponse(b)}function g(a){a=new e("Unable to load "+b.url+" status: "+a.target.status,b);c.handleResponse(b,a)}function f(a){if(a.lengthComputable)b.loaded=a.loaded,b.total=a.total,c.progress(b)}a.addEventListener("load",d,!1);a.addEventListener("error",g,!1);a.addEventListener("progress",
f,!1);return function(){a.removeEventListener("load",d,!1);a.removeEventListener("error",g,!1);a.removeEventListener("progress",f,!1);a=null}}):(b=function(a){return a.xhr.readyState},a=function(a){return 4===a.xhr.readyState},g=function(a,c){var b=c.xhr,d=typeof b.abort;("function"===d||"object"===d||"unknown"===d)&&b.abort()});var n,p={data:null,query:null,sync:!1,method:"GET"};h._create=function(){throw Error("XMLHTTP not available");};if(f("native-xhr")&&!f("dojo-force-activex-xhr"))h._create=
function(){return new XMLHttpRequest};else if(f("activex"))try{new ActiveXObject("Msxml2.XMLHTTP"),h._create=function(){return new ActiveXObject("Msxml2.XMLHTTP")}}catch(o){try{new ActiveXObject("Microsoft.XMLHTTP"),h._create=function(){return new ActiveXObject("Microsoft.XMLHTTP")}}catch(s){}}k.addCommonMethods(h);return h})},"dojo/request/handlers":function(){define(["../json","../_base/kernel","../_base/array","../has","../selector/_loader"],function(e,l,j,k){function f(b){var a=h[b.options.handleAs];
b.data=a?a(b):b.data||b.text;return b}k.add("activex","undefined"!==typeof ActiveXObject);k.add("dom-parser",function(b){return"DOMParser"in b});var d;if(k("activex")){var i=["Msxml2.DOMDocument.6.0","Msxml2.DOMDocument.4.0","MSXML2.DOMDocument.3.0","MSXML.DOMDocument"];d=function(b){var a=b.data;a&&k("dom-qsa2.1")&&!a.querySelectorAll&&k("dom-parser")&&(a=(new DOMParser).parseFromString(b.text,"application/xml"));if(!a||!a.documentElement){var c=b.text;j.some(i,function(b){try{var d=new ActiveXObject(b);
d.async=!1;d.loadXML(c);a=d}catch(e){return!1}return!0})}return a}}var h={javascript:function(b){return l.eval(b.text||"")},json:function(b){return e.parse(b.text||null)},xml:d};f.register=function(b,a){h[b]=a};return f})},"dojo/regexp":function(){define(["./_base/kernel","./_base/lang"],function(e,l){var j={};l.setObject("dojo.regexp",j);j.escapeString=function(e,f){return e.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(d){return f&&-1!=f.indexOf(d)?d:"\\"+d})};j.buildGroupRE=function(e,f,d){if(!(e instanceof
Array))return f(e);for(var i=[],h=0;h<e.length;h++)i.push(f(e[h]));return j.group(i.join("|"),d)};j.group=function(e,f){return"("+(f?"?:":"")+e+")"};return j})},"dojo/string":function(){define(["./_base/kernel","./_base/lang"],function(e,l){var j={};l.setObject("dojo.string",j);j.rep=function(e,f){if(0>=f||!e)return"";for(var d=[];;){f&1&&d.push(e);if(!(f>>=1))break;e+=e}return d.join("")};j.pad=function(e,f,d,i){d||(d="0");e=""+e;f=j.rep(d,Math.ceil((f-e.length)/d.length));return i?e+f:f+e};j.substitute=
function(j,f,d,i){i=i||e.global;d=d?l.hitch(i,d):function(d){return d};return j.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(e,b,a){e=l.getObject(b,!1,f);a&&(e=l.getObject(a,!1,i).call(i,e,b));return d(e,b).toString()})};j.trim=String.prototype.trim?l.trim:function(e){for(var e=e.replace(/^\s+/,""),f=e.length-1;0<=f;f--)if(/\S/.test(e.charAt(f))){e=e.substring(0,f+1);break}return e};return j})},"dijit/CalendarLite":function(){require({cache:{"url:dijit/templates/Calendar.html":'<table cellspacing="0" cellpadding="0" class="dijitCalendarContainer" role="grid" aria-labelledby="${id}_mddb ${id}_year" data-dojo-attach-point="gridNode">\n\t<thead>\n\t\t<tr class="dijitReset dijitCalendarMonthContainer" valign="top">\n\t\t\t<th class=\'dijitReset dijitCalendarArrow\' data-dojo-attach-point="decrementMonth" scope="col">\n\t\t\t\t<img src="${_blankGif}" alt="" class="dijitCalendarIncrementControl dijitCalendarDecrease" role="presentation"/>\n\t\t\t\t<span data-dojo-attach-point="decreaseArrowNode" class="dijitA11ySideArrow">-</span>\n\t\t\t</th>\n\t\t\t<th class=\'dijitReset\' colspan="5" scope="col">\n\t\t\t\t<div data-dojo-attach-point="monthNode">\n\t\t\t\t</div>\n\t\t\t</th>\n\t\t\t<th class=\'dijitReset dijitCalendarArrow\' scope="col" data-dojo-attach-point="incrementMonth">\n\t\t\t\t<img src="${_blankGif}" alt="" class="dijitCalendarIncrementControl dijitCalendarIncrease" role="presentation"/>\n\t\t\t\t<span data-dojo-attach-point="increaseArrowNode" class="dijitA11ySideArrow">+</span>\n\t\t\t</th>\n\t\t</tr>\n\t\t<tr role="row">\n\t\t\t${!dayCellsHtml}\n\t\t</tr>\n\t</thead>\n\t<tbody data-dojo-attach-point="dateRowsNode" data-dojo-attach-event="onclick: _onDayClick" class="dijitReset dijitCalendarBodyContainer">\n\t\t\t${!dateRowsHtml}\n\t</tbody>\n\t<tfoot class="dijitReset dijitCalendarYearContainer">\n\t\t<tr>\n\t\t\t<td class=\'dijitReset\' valign="top" colspan="7" role="presentation">\n\t\t\t\t<div class="dijitCalendarYearLabel">\n\t\t\t\t\t<span data-dojo-attach-point="previousYearLabelNode" class="dijitInline dijitCalendarPreviousYear" role="button"></span>\n\t\t\t\t\t<span data-dojo-attach-point="currentYearLabelNode" class="dijitInline dijitCalendarSelectedYear" role="button" id="${id}_year"></span>\n\t\t\t\t\t<span data-dojo-attach-point="nextYearLabelNode" class="dijitInline dijitCalendarNextYear" role="button"></span>\n\t\t\t\t</div>\n\t\t\t</td>\n\t\t</tr>\n\t</tfoot>\n</table>\n'}});
define("dijit/CalendarLite","dojo/_base/array,dojo/_base/declare,dojo/cldr/supplemental,dojo/date,dojo/date/locale,dojo/date/stamp,dojo/dom,dojo/dom-class,dojo/_base/event,dojo/_base/lang,dojo/sniff,dojo/string,./_WidgetBase,./_TemplatedMixin,dojo/text!./templates/Calendar.html,./hccss".split(","),function(e,l,j,k,f,d,i,h,b,a,c,g,n,p,o){var s=l("dijit.CalendarLite",[n,p],{templateString:o,dowTemplateString:'<th class="dijitReset dijitCalendarDayLabelTemplate" role="columnheader" scope="col"><span class="dijitCalendarDayLabel">${d}</span></th>',
dateTemplateString:'<td class="dijitReset" role="gridcell" data-dojo-attach-point="dateCells"><span class="dijitCalendarDateLabel" data-dojo-attach-point="dateLabels"></span></td>',weekTemplateString:'<tr class="dijitReset dijitCalendarWeekTemplate" role="row">${d}${d}${d}${d}${d}${d}${d}</tr>',value:new Date(""),datePackage:"",dayWidth:"narrow",tabIndex:"0",currentFocus:new Date,_setSummaryAttr:"gridNode",baseClass:"dijitCalendar",_isValidDate:function(a){return a&&!isNaN(a)&&"object"==typeof a&&
a.toString()!=this.constructor.prototype.value.toString()},_getValueAttr:function(){if(this.value&&!isNaN(this.value)){var a=new this.dateClassObj(this.value);a.setHours(0,0,0,0);a.getDate()<this.value.getDate()&&(a=this.dateModule.add(a,"hour",1));return a}return null},_setValueAttr:function(a,c){"string"==typeof a&&(a=d.fromISOString(a));a=this._patchDate(a);if(this._isValidDate(a)&&!this.isDisabledDate(a,this.lang)){if(this._set("value",a),this.set("currentFocus",a),this._markSelectedDates([a]),
this._created&&(c||"undefined"==typeof c))this.onChange(this.get("value"))}else this._set("value",null),this._markSelectedDates([])},_patchDate:function(a){a&&(a=new this.dateClassObj(a),a.setHours(1,0,0,0));return a},_setText:function(a,c){for(;a.firstChild;)a.removeChild(a.firstChild);a.appendChild(a.ownerDocument.createTextNode(c))},_populateGrid:function(){var a=new this.dateClassObj(this.currentFocus);a.setDate(1);var c=a.getDay(),b=this.dateModule.getDaysInMonth(a),d=this.dateModule.getDaysInMonth(this.dateModule.add(a,
"month",-1)),g=new this.dateClassObj,f=j.getFirstDayOfWeek(this.lang);f>c&&(f-=7);this.summary||this.gridNode.setAttribute("summary",this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,a)[a.getMonth()]);this._date2cell={};e.forEach(this.dateCells,function(e,h){var i=h+f,j=new this.dateClassObj(a),k="dijitCalendar",l=0;i<c?(i=d-c+i+1,l=-1,k+="Previous"):i>=c+b?(i=i-c-b+1,l=1,k+="Next"):(i=i-c+1,k+="Current");l&&(j=this.dateModule.add(j,"month",l));j.setDate(i);this.dateModule.compare(j,
g,"date")||(k="dijitCalendarCurrentDate "+k);this.isDisabledDate(j,this.lang)?(k="dijitCalendarDisabledDate "+k,e.setAttribute("aria-disabled","true")):(k="dijitCalendarEnabledDate "+k,e.removeAttribute("aria-disabled"),e.setAttribute("aria-selected","false"));(l=this.getClassForDate(j,this.lang))&&(k=l+" "+k);e.className=k+"Month dijitCalendarDateTemplate";k=j.valueOf();this._date2cell[k]=e;e.dijitDateValue=k;this._setText(this.dateLabels[h],j.getDateLocalized?j.getDateLocalized(this.lang):j.getDate())},
this)},_populateControls:function(){var a=new this.dateClassObj(this.currentFocus);a.setDate(1);this.monthWidget.set("month",a);var c=a.getFullYear()-1,b=new this.dateClassObj;e.forEach(["previous","current","next"],function(a){b.setFullYear(c++);this._setText(this[a+"YearLabelNode"],this.dateLocaleModule.format(b,{selector:"year",locale:this.lang}))},this)},goToToday:function(){this.set("value",new this.dateClassObj)},constructor:function(c){this.dateModule=c.datePackage?a.getObject(c.datePackage,
!1):k;this.dateClassObj=this.dateModule.Date||Date;this.dateLocaleModule=c.datePackage?a.getObject(c.datePackage+".locale",!1):f},_createMonthWidget:function(){return s._MonthWidget({id:this.id+"_mddb",lang:this.lang,dateLocaleModule:this.dateLocaleModule},this.monthNode)},buildRendering:function(){var a=this.dowTemplateString,c=this.dateLocaleModule.getNames("days",this.dayWidth,"standAlone",this.lang),b=j.getFirstDayOfWeek(this.lang);this.dayCellsHtml=g.substitute([a,a,a,a,a,a,a].join(""),{d:""},
function(){return c[b++%7]});a=g.substitute(this.weekTemplateString,{d:this.dateTemplateString});this.dateRowsHtml=[a,a,a,a,a,a].join("");this.dateCells=[];this.dateLabels=[];this.inherited(arguments);i.setSelectable(this.domNode,!1);a=new this.dateClassObj(this.currentFocus);this.monthWidget=this._createMonthWidget();this.set("currentFocus",a,!1)},postCreate:function(){this.inherited(arguments);this._connectControls()},_connectControls:function(){var c=a.hitch(this,function(a,c,b){this.connect(this[a],
"onclick",function(){this._setCurrentFocusAttr(this.dateModule.add(this.currentFocus,c,b))})});c("incrementMonth","month",1);c("decrementMonth","month",-1);c("nextYearLabelNode","year",1);c("previousYearLabelNode","year",-1)},_setCurrentFocusAttr:function(a,b){var d=this.currentFocus,e=this._getNodeByDate(d),a=this._patchDate(a);this._set("currentFocus",a);if(!this._date2cell||0!=this.dateModule.difference(d,a,"month"))this._populateGrid(),this._populateControls(),this._markSelectedDates([this.value]);
d=this._getNodeByDate(a);d.setAttribute("tabIndex",this.tabIndex);(this.focused||b)&&d.focus();e&&e!=d&&(c("webkit")?e.setAttribute("tabIndex","-1"):e.removeAttribute("tabIndex"))},focus:function(){this._setCurrentFocusAttr(this.currentFocus,!0)},_onDayClick:function(a){b.stop(a);for(a=a.target;a&&!a.dijitDateValue;a=a.parentNode);a&&!h.contains(a,"dijitCalendarDisabledDate")&&this.set("value",a.dijitDateValue)},_getNodeByDate:function(a){return(a=this._patchDate(a))&&this._date2cell?this._date2cell[a.valueOf()]:
null},_markSelectedDates:function(c){function b(a,c){h.toggle(c,"dijitCalendarSelectedDate",a);c.setAttribute("aria-selected",a?"true":"false")}e.forEach(this._selectedCells||[],a.partial(b,!1));this._selectedCells=e.filter(e.map(c,this._getNodeByDate,this),function(a){return a});e.forEach(this._selectedCells,a.partial(b,!0))},onChange:function(){},isDisabledDate:function(){},getClassForDate:function(){}});s._MonthWidget=l("dijit.CalendarLite._MonthWidget",n,{_setMonthAttr:function(a){var b=this.dateLocaleModule.getNames("months",
"wide","standAlone",this.lang,a);this.domNode.innerHTML=(6==c("ie")?"":"<div class='dijitSpacer'>"+e.map(b,function(a){return"<div>"+a+"</div>"}).join("")+"</div>")+"<div class='dijitCalendarMonthLabel dijitCalendarCurrentMonthLabel'>"+b[a.getMonth()]+"</div>"}});return s})},"dijit/_WidgetBase":function(){define("dijit/_WidgetBase","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(e,l,j,k,f,d,i,h,b,a,c,g,n,p,o,s,m,t,q,r,v,x){function u(a){return function(c){h[c?"set":"remove"](this.domNode,a,c);this._set(a,c)}}n.add("dijit-legacy-requires",!p.isAsync);n("dijit-legacy-requires")&&m(0,function(){e(["dijit/_base/manager"])});var w={};return d("dijit._WidgetBase",[t,v],{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:u("lang"),dir:"",_setDirAttr:u("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:k.blankGif||e.toUrl("dojo/resources/blank.gif"),postscript:function(a,c){this.create(a,c)},create:function(a,c){this.srcNodeRef=i.byId(c);this._connects=[];this._supportingWidgets=[];if(this.srcNodeRef&&"string"==typeof this.srcNodeRef.id)this.id=this.srcNodeRef.id;if(a)this.params=a,o.mixin(this,a);this.postMixInProperties();if(!this.id)this.id=x.getUniqueId(this.declaredClass.replace(/\./g,
"_")),this.params&&delete this.params.id;this.ownerDocument=this.ownerDocument||(this.srcNodeRef?this.srcNodeRef.ownerDocument:r.doc);this.ownerDocumentBody=r.body(this.ownerDocument);x.add(this);this.buildRendering();var b;if(this.domNode){this._applyAttributes();var d=this.srcNodeRef;d&&d.parentNode&&this.domNode!==d&&(d.parentNode.replaceChild(this.domNode,d),b=!0);this.domNode.setAttribute("widgetId",this.id)}this.postCreate();b&&delete this.srcNodeRef;this._created=!0},_applyAttributes:function(){var a=
this.constructor,c=a._setterAttrs;if(!c){var c=a._setterAttrs=[],b;for(b in this.attributeMap)c.push(b);var a=a.prototype,d;for(d in a)d in this.attributeMap||"_set"+d.replace(/^[a-z]|-[a-zA-Z]/g,function(a){return a.charAt(a.length-1).toUpperCase()})+"Attr"in a&&c.push(d)}var e={},g;for(g in this.params||{})e[g]=this[g];l.forEach(c,function(a){a in e||this[a]&&this.set(a,this[a])},this);for(g in e)this.set(g,e[g])},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(l.map(a,function(a){return a+"Rtl"})));b.add(this.domNode,a)}},postCreate:function(){},startup:function(){if(!this._started)this._started=!0,l.forEach(this.getChildren(),function(a){if(!a._started&&!a._destroyed&&o.isFunction(a.startup))a.startup(),a._started=!0})},destroyRecursive:function(a){this._beingDestroyed=!0;this.destroyDescendants(a);this.destroy(a)},
destroy:function(a){function c(b){b.destroyRecursive?b.destroyRecursive(a):b.destroy&&b.destroy(a)}this._beingDestroyed=!0;this.uninitialize();l.forEach(this._connects,o.hitch(this,"disconnect"));l.forEach(this._supportingWidgets,c);this.domNode&&l.forEach(x.findWidgets(this.domNode,this.containerNode),c);this.destroyRendering(a);x.remove(this.id);this._destroyed=!0},destroyRendering:function(c){this.bgIframe&&(this.bgIframe.destroy(c),delete this.bgIframe);this.domNode&&(c?h.remove(this.domNode,
"widgetId"):a.destroy(this.domNode),delete this.domNode);this.srcNodeRef&&(c||a.destroy(this.srcNodeRef),delete this.srcNodeRef)},destroyDescendants:function(a){l.forEach(this.getChildren(),function(c){c.destroyRecursive&&c.destroyRecursive(a)})},uninitialize:function(){return!1},_setStyleAttr:function(a){var c=this.domNode;o.isObject(a)?g.set(c,a):c.style.cssText=c.style.cssText?c.style.cssText+("; "+a):a;this._set("style",a)},_attrToDom:function(a,c,d){d=3<=arguments.length?d:this.attributeMap[a];
l.forEach(o.isArray(d)?d:[d],function(d){var e=this[d.node||d||"domNode"];switch(d.type||"attribute"){case "attribute":o.isFunction(c)&&(c=o.hitch(this,c));d=d.attribute?d.attribute:/^on[A-Z][a-zA-Z]*$/.test(a)?a.toLowerCase():a;e.tagName?h.set(e,d,c):e.set(d,c);break;case "innerText":e.innerHTML="";e.appendChild(this.ownerDocument.createTextNode(c));break;case "innerHTML":e.innerHTML=c;break;case "class":b.replace(e,c,this[a])}},this)},get:function(a){var c=this._getAttrNames(a);return this[c.g]?
this[c.g]():this[a]},set:function(a,c){if("object"===typeof a){for(var b in a)this.set(b,a[b]);return this}b=this._getAttrNames(a);var d=this[b.s];if(o.isFunction(d))var e=d.apply(this,Array.prototype.slice.call(arguments,1));else{var d=this.focusNode&&!o.isFunction(this.focusNode)?"focusNode":"domNode",g=this[d].tagName,f;if(!(f=w[g])){f=this[d];var h={},i;for(i in f)h[i.toLowerCase()]=!0;f=w[g]=h}i=a in this.attributeMap?this.attributeMap[a]:b.s in this?this[b.s]:b.l in f&&"function"!=typeof c||
/^aria-|^data-|^role$/.test(a)?d:null;null!=i&&this._attrToDom(a,c,i);this._set(a,c)}return e||this},_attrPairNames:{},_getAttrNames:function(a){var c=this._attrPairNames;if(c[a])return c[a];var b=a.replace(/^[a-z]|-[a-zA-Z]/g,function(a){return a.charAt(a.length-1).toUpperCase()});return c[a]={n:a+"Node",s:"_set"+b+"Attr",g:"_get"+b+"Attr",l:b.toLowerCase()}},_set:function(a,c){var b=this[a];this[a]=c;if(this._created&&!(c===b||c!==c&&b!==b))this._watchCallbacks&&this._watchCallbacks(a,b,c),this.emit("attrmodified-"+
a,{detail:{prevValue:b,newValue:c}})},emit:function(a,c,b){c=c||{};if(void 0===c.bubbles)c.bubbles=!0;if(void 0===c.cancelable)c.cancelable=!0;if(!c.detail)c.detail={};c.detail.widget=this;var d,e=this["on"+a];e&&(d=e.apply(this,b?b:[c]));this._started&&!this._beingDestroyed&&s.emit(this.domNode,a.toLowerCase(),c);return d},on:function(a,c){var b=this._onMap(a);return b?j.after(this,b,c,!0):this.own(s(this.domNode,a,c))[0]},_onMap:function(a){var c=this.constructor,b=c._onMap;if(!b){var b=c._onMap=
{},d;for(d in c.prototype)/^on/.test(d)&&(b[d.replace(/^on/,"").toLowerCase()]=d)}return b["string"==typeof a&&a.toLowerCase()]},toString:function(){return"[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]"},getChildren:function(){return this.containerNode?x.findWidgets(this.containerNode):[]},getParent:function(){return x.getEnclosingWidget(this.domNode.parentNode)},connect:function(a,c,b){return this.own(f.connect(a,c,this,b))[0]},disconnect:function(a){a.remove()},subscribe:function(a,c){return this.own(q.subscribe(a,
o.hitch(this,c)))[0]},unsubscribe:function(a){a.remove()},isLeftToRight:function(){return this.dir?"ltr"==this.dir:c.isBodyLtr(this.ownerDocument)},isFocusable:function(){return this.focus&&"none"!=g.get(this.domNode,"display")},placeAt:function(c,b){var d=!c.tagName&&x.byId(c);d&&d.addChild&&(!b||"number"===typeof b)?d.addChild(this,b):(d=d?d.containerNode&&!/after|before|replace/.test(b||"")?d.containerNode:d.domNode:i.byId(c,this.ownerDocument),a.place(this.domNode,d,b),!this._started&&(this.getParent()||
{})._started&&this.startup());return this},getTextDir:function(a,c){return c},applyTextDir:function(){},defer:function(a,c){var b=setTimeout(o.hitch(this,function(){b&&(b=null,this._destroyed||o.hitch(this,a)())}),c||0);return{remove:function(){b&&(clearTimeout(b),b=null);return null}}}})})},"dojo/Stateful":function(){define(["./_base/declare","./_base/lang","./_base/array","./when"],function(e,l,j,k){return e("dojo.Stateful",null,{_attrPairNames:{},_getAttrNames:function(e){var d=this._attrPairNames;
return d[e]?d[e]:d[e]={s:"_"+e+"Setter",g:"_"+e+"Getter"}},postscript:function(e){e&&this.set(e)},_get:function(e,d){return"function"===typeof this[d.g]?this[d.g]():this[e]},get:function(e){return this._get(e,this._getAttrNames(e))},set:function(e,d){if("object"===typeof e){for(var i in e)e.hasOwnProperty(i)&&"_watchCallbacks"!=i&&this.set(i,e[i]);return this}i=this._getAttrNames(e);var h=this._get(e,i);i=this[i.s];var b;"function"===typeof i?b=i.apply(this,Array.prototype.slice.call(arguments,1)):
this[e]=d;if(this._watchCallbacks){var a=this;k(b,function(){a._watchCallbacks(e,h,d)})}return this},_changeAttrValue:function(e,d){var i=this.get(e);this[e]=d;this._watchCallbacks&&this._watchCallbacks(e,i,d);return this},watch:function(e,d){var i=this._watchCallbacks;if(!i)var h=this,i=this._watchCallbacks=function(a,b,d,e){var f=function(e){if(e)for(var e=e.slice(),f=0,i=e.length;f<i;f++)e[f].call(h,a,b,d)};f(i["_"+a]);e||f(i["*"])};!d&&"function"===typeof e?(d=e,e="*"):e="_"+e;var b=i[e];"object"!==
typeof b&&(b=i[e]=[]);b.push(d);var a={};a.unwatch=a.remove=function(){var a=j.indexOf(b,d);-1<a&&b.splice(a,1)};return a}})})},"dijit/Destroyable":function(){define("dijit/Destroyable",["dojo/_base/array","dojo/aspect","dojo/_base/declare"],function(e,l,j){return j("dijit.Destroyable",null,{destroy:function(){this._destroyed=!0},own:function(){e.forEach(arguments,function(e){var f="destroyRecursive"in e?"destroyRecursive":"destroy"in e?"destroy":"remove",d=l.before(this,"destroy",function(d){e[f](d)}),
i=l.after(e,f,function(){d.remove();i.remove()},!0)},this);return arguments}})})},"dijit/registry":function(){define("dijit/registry",["dojo/_base/array","dojo/sniff","dojo/_base/unload","dojo/_base/window","./main"],function(e,l,j,k,f){var d={},i={},h={length:0,add:function(b){if(i[b.id])throw Error("Tried to register widget with id=="+b.id+" but that id is already registered");i[b.id]=b;this.length++},remove:function(b){i[b]&&(delete i[b],this.length--)},byId:function(b){return"string"==typeof b?
i[b]:b},byNode:function(b){return i[b.getAttribute("widgetId")]},toArray:function(){var b=[],a;for(a in i)b.push(i[a]);return b},getUniqueId:function(b){var a;do a=b+"_"+(b in d?++d[b]:d[b]=0);while(i[a]);return"dijit"==f._scopeName?a:f._scopeName+"_"+a},findWidgets:function(b,a){function c(b){for(b=b.firstChild;b;b=b.nextSibling)if(1==b.nodeType){var e=b.getAttribute("widgetId");e?(e=i[e])&&d.push(e):b!==a&&c(b)}}var d=[];c(b);return d},_destroyAll:function(){f._curFocus=null;f._prevFocus=null;f._activeStack=
[];e.forEach(h.findWidgets(k.body()),function(b){b._destroyed||(b.destroyRecursive?b.destroyRecursive():b.destroy&&b.destroy())})},getEnclosingWidget:function(b){for(;b;){var a=1==b.nodeType&&b.getAttribute("widgetId");if(a)return i[a];b=b.parentNode}return null},_hash:i};return f.registry=h})},"dojo/_base/unload":function(){define(["./kernel","./lang","../on"],function(e,l,j){var k=window,f={addOnWindowUnload:function(d,f){if(!e.windowUnloaded)j(k,"unload",e.windowUnloaded=function(){});j(k,"unload",
l.hitch(d,f))},addOnUnload:function(d,e){j(k,"beforeunload",l.hitch(d,e))}};e.addOnWindowUnload=f.addOnWindowUnload;e.addOnUnload=f.addOnUnload;return f})},"dijit/main":function(){define("dijit/main",["dojo/_base/kernel"],function(e){return e.dijit})},"dijit/_TemplatedMixin":function(){define("dijit/_TemplatedMixin","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(e,l,j,k,f,d,i,
h,b,a){var c=i("dijit._TemplatedMixin",null,{templateString:null,templatePath:null,_skipNodeCache:!1,_earlyTemplatedStartup:!1,constructor:function(){this._attachPoints=[];this._attachEvents=[]},_stringRepl:function(a){var c=this.declaredClass,b=this;return k.substitute(a,this,function(a,d){"!"==d.charAt(0)&&(a=e.getObject(d.substr(1),!1,b));if("undefined"==typeof a)throw Error(c+" template:"+d);return null==a?"":"!"==d.charAt(0)?a:a.toString().replace(/"/g,"&quot;")},this)},buildRendering:function(){if(!this.templateString)this.templateString=
f(this.templatePath,{sanitize:!0});var a=c.getCachedTemplate(this.templateString,this._skipNodeCache,this.ownerDocument),b;if(e.isString(a)){if(b=h.toDom(this._stringRepl(a),this.ownerDocument),1!=b.nodeType)throw Error("Invalid template: "+a);}else b=a.cloneNode(!0);this.domNode=b;this.inherited(arguments);this._attachTemplateNodes(b,function(a,c){return a.getAttribute(c)});this._beforeFillContent();this._fillContent(this.srcNodeRef)},_beforeFillContent:function(){},_fillContent:function(a){var c=
this.containerNode;if(a&&c)for(;a.hasChildNodes();)c.appendChild(a.firstChild)},_attachTemplateNodes:function(a,c){for(var b=e.isArray(a)?a:a.all||a.getElementsByTagName("*"),d=e.isArray(a)?0:-1;0>d||b[d];d++){var f=-1==d?a:b[d];if(!this.widgetsInTemplate||!c(f,"dojoType")&&!c(f,"data-dojo-type")){var h=c(f,"dojoAttachPoint")||c(f,"data-dojo-attach-point");if(h)for(var i=h.split(/\s*,\s*/);h=i.shift();)e.isArray(this[h])?this[h].push(f):this[h]=f,this._attachPoints.push(h);if(h=c(f,"dojoAttachEvent")||
c(f,"data-dojo-attach-event"))for(var i=h.split(/\s*,\s*/),j=e.trim;h=i.shift();)if(h){var k=null;-1!=h.indexOf(":")?(k=h.split(":"),h=j(k[0]),k=j(k[1])):h=j(h);k||(k=h);this._attachEvents.push(this.connect(f,l[h]||h,k))}}}},destroyRendering:function(){d.forEach(this._attachPoints,function(a){delete this[a]},this);this._attachPoints=[];d.forEach(this._attachEvents,this.disconnect,this);this._attachEvents=[];this.inherited(arguments)}});c._templateCache={};c.getCachedTemplate=function(a,b,d){var e=
c._templateCache,f=a,i=e[f];if(i){try{if(!i.ownerDocument||i.ownerDocument==(d||document))return i}catch(j){}h.destroy(i)}a=k.trim(a);if(b||a.match(/\$\{([^\}]+)\}/g))return e[f]=a;b=h.toDom(a,d);if(1!=b.nodeType)throw Error("Invalid template: "+a);return e[f]=b};b("ie")&&a.addOnWindowUnload(function(){var a=c._templateCache,b;for(b in a){var d=a[b];"object"==typeof d&&h.destroy(d);delete a[b]}});e.extend(j,{dojoAttachEvent:"",dojoAttachPoint:""});return c})},"dojo/touch":function(){define("./_base/kernel,./aspect,./dom,./on,./has,./mouse,./domReady,./_base/window".split(","),
function(e,l,j,k,f,d,i,h){function b(c,b){return a?function(a,d){var e=k(a,b,d),f=k(a,c,function(a){(!g||(new Date).getTime()>g+1E3)&&d.call(this,a)});return{remove:function(){e.remove();f.remove()}}}:function(a,b){return k(a,c,b)}}var a=f("touch"),c=!1;f("ios")&&(l=navigator.userAgent.match(/OS ([\d_]+)/)?RegExp.$1:"1",c=5>parseFloat(l.replace(/_/,".").replace(/_/g,"")));var g,n,p;a&&(i(function(){p=h.body();h.doc.addEventListener("touchstart",function(a){g=(new Date).getTime();var c=p;p=a.target;
k.emit(c,"dojotouchout",{target:c,relatedTarget:p,bubbles:!0});k.emit(p,"dojotouchover",{target:p,relatedTarget:c,bubbles:!0})},!0);k(h.doc,"touchmove",function(a){g=(new Date).getTime();if((a=h.doc.elementFromPoint(a.pageX-(c?0:h.global.pageXOffset),a.pageY-(c?0:h.global.pageYOffset)))&&p!==a)k.emit(p,"dojotouchout",{target:p,relatedTarget:a,bubbles:!0}),k.emit(a,"dojotouchover",{target:a,relatedTarget:p,bubbles:!0}),p=a})}),n=function(a,c){return k(h.doc,"touchmove",function(b){if(a===h.doc||j.isDescendant(p,
a))b.target=p,c.call(this,b)})});d={press:b("mousedown","touchstart"),move:b("mousemove",n),release:b("mouseup","touchend"),cancel:b(d.leave,"touchcancel"),over:b("mouseover","dojotouchover"),out:b("mouseout","dojotouchout"),enter:d._eventHandler(b("mouseover","dojotouchover")),leave:d._eventHandler(b("mouseout","dojotouchout"))};return e.touch=d})},"dojo/cache":function(){define("dojo/cache",["./_base/kernel","./text"],function(e){return e.cache})},"dojo/text":function(){define(["./_base/kernel",
"require","./has","./_base/xhr"],function(e,l,j,k){var f;f=function(a,c,b){k("GET",{url:a,sync:!!c,load:b,headers:e.config.textPluginHeaders||{}})};var d={},i=function(a){if(a){var a=a.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,""),c=a.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);c&&(a=c[1])}else a="";return a},h={},b={};e.cache=function(a,c,b){var e;"string"==typeof a?/\//.test(a)?(e=a,b=c):e=l.toUrl(a.replace(/\./g,"/")+(c?"/"+c:"")):(e=a+"",b=c);a=void 0!=b&&"string"!=
typeof b?b.value:b;b=b&&b.sanitize;if("string"==typeof a)return d[e]=a,b?i(a):a;if(null===a)return delete d[e],null;e in d||f(e,!0,function(a){d[e]=a});return b?i(d[e]):d[e]};return{dynamic:!0,normalize:function(a,c){var b=a.split("!"),d=b[0];return(/^\./.test(d)?c(d):d)+(b[1]?"!"+b[1]:"")},load:function(a,c,e){var a=a.split("!"),j=1<a.length,k=a[0],l=c.toUrl(a[0]),a="url:"+l,s=h,m=function(a){e(j?i(a):a)};k in d?s=d[k]:a in c.cache?s=c.cache[a]:l in d&&(s=d[l]);if(s===h)if(b[l])b[l].push(m);else{var t=
b[l]=[m];f(l,!c.async,function(a){d[k]=d[l]=a;for(var c=0;c<t.length;)t[c++](a);delete b[l]})}else m(s)}}})},"url:dijit/templates/Calendar.html":'<table cellspacing="0" cellpadding="0" class="dijitCalendarContainer" role="grid" aria-labelledby="${id}_mddb ${id}_year" data-dojo-attach-point="gridNode">\n\t<thead>\n\t\t<tr class="dijitReset dijitCalendarMonthContainer" valign="top">\n\t\t\t<th class=\'dijitReset dijitCalendarArrow\' data-dojo-attach-point="decrementMonth" scope="col">\n\t\t\t\t<img src="${_blankGif}" alt="" class="dijitCalendarIncrementControl dijitCalendarDecrease" role="presentation"/>\n\t\t\t\t<span data-dojo-attach-point="decreaseArrowNode" class="dijitA11ySideArrow">-</span>\n\t\t\t</th>\n\t\t\t<th class=\'dijitReset\' colspan="5" scope="col">\n\t\t\t\t<div data-dojo-attach-point="monthNode">\n\t\t\t\t</div>\n\t\t\t</th>\n\t\t\t<th class=\'dijitReset dijitCalendarArrow\' scope="col" data-dojo-attach-point="incrementMonth">\n\t\t\t\t<img src="${_blankGif}" alt="" class="dijitCalendarIncrementControl dijitCalendarIncrease" role="presentation"/>\n\t\t\t\t<span data-dojo-attach-point="increaseArrowNode" class="dijitA11ySideArrow">+</span>\n\t\t\t</th>\n\t\t</tr>\n\t\t<tr role="row">\n\t\t\t${!dayCellsHtml}\n\t\t</tr>\n\t</thead>\n\t<tbody data-dojo-attach-point="dateRowsNode" data-dojo-attach-event="onclick: _onDayClick" class="dijitReset dijitCalendarBodyContainer">\n\t\t\t${!dateRowsHtml}\n\t</tbody>\n\t<tfoot class="dijitReset dijitCalendarYearContainer">\n\t\t<tr>\n\t\t\t<td class=\'dijitReset\' valign="top" colspan="7" role="presentation">\n\t\t\t\t<div class="dijitCalendarYearLabel">\n\t\t\t\t\t<span data-dojo-attach-point="previousYearLabelNode" class="dijitInline dijitCalendarPreviousYear" role="button"></span>\n\t\t\t\t\t<span data-dojo-attach-point="currentYearLabelNode" class="dijitInline dijitCalendarSelectedYear" role="button" id="${id}_year"></span>\n\t\t\t\t\t<span data-dojo-attach-point="nextYearLabelNode" class="dijitInline dijitCalendarNextYear" role="button"></span>\n\t\t\t\t</div>\n\t\t\t</td>\n\t\t</tr>\n\t</tfoot>\n</table>\n',
"dijit/hccss":function(){define("dijit/hccss",["dojo/dom-class","dojo/hccss","dojo/ready","dojo/_base/window"],function(e,l,j,k){j(90,function(){l("highcontrast")&&e.add(k.body(),"dijit_a11y")});return l})},"dojo/hccss":function(){define("require,./_base/config,./dom-class,./dom-style,./has,./ready,./_base/window".split(","),function(e,l,j,k,f,d,i){f.add("highcontrast",function(){var d=i.doc.createElement("div");d.style.cssText="border: 1px solid; border-color:red green; position: absolute; height: 5px; top: -999px;background-image: url("+
(l.blankGif||e.toUrl("./resources/blank.gif"))+");";i.body().appendChild(d);var b=k.getComputedStyle(d),a=b.backgroundImage,b=b.borderTopColor==b.borderRightColor||a&&("none"==a||"url(invalid-url:)"==a);8>=f("ie")?d.outerHTML="":i.body().removeChild(d);return b});d(90,function(){f("highcontrast")&&j.add(i.body(),"dj_a11y")});return f})},"dijit/_Widget":function(){define("dijit/_Widget","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(e,l,j,k,f,d,i,h,b,a,c,g,n){function p(){}function o(a){return function(c,b,d,e){return c&&"string"==typeof b&&c[b]==p?c.on(b.substring(2).toLowerCase(),i.hitch(d,e)):a.apply(j,arguments)}}e.around(j,"connect",o);d.connect&&e.around(d,"connect",o);e=k("dijit._Widget",[c,g,n],{onClick:p,onDblClick:p,onKeyDown:p,onKeyPress:p,onKeyUp:p,onMouseDown:p,onMouseMove:p,onMouseOut:p,onMouseOver:p,onMouseLeave:p,onMouseEnter:p,onMouseUp:p,constructor:function(a){this._toConnect={};for(var c in a)this[c]===
p&&(this._toConnect[c.replace(/^on/,"").toLowerCase()]=a[c],delete a[c])},postCreate:function(){this.inherited(arguments);for(var a in this._toConnect)this.on(a,this._toConnect[a]);delete this._toConnect},on:function(a,c){return this[this._onMap(a)]===p?j.connect(this.domNode,a.toLowerCase(),this,c):this.inherited(arguments)},_setFocusedAttr:function(a){this._focused=a;this._set("focused",a)},setAttribute:function(a,c){d.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.",
"","2.0");this.set(a,c)},attr:function(a,c){if(l.isDebug){var b=arguments.callee._ach||(arguments.callee._ach={}),e=(arguments.callee.caller||"unknown caller").toString();b[e]||(d.deprecated(this.declaredClass+"::attr() is deprecated. Use get() or set() instead, called from "+e,"","2.0"),b[e]=!0)}return 2<=arguments.length||"object"===typeof a?this.set.apply(this,arguments):this.get(a)},getDescendants:function(){d.deprecated(this.declaredClass+"::getDescendants() is deprecated. Use getChildren() instead.",
"","2.0");return this.containerNode?h("[widgetId]",this.containerNode).map(a.byNode):[]},_onShow:function(){this.onShow()},onShow:function(){},onHide:function(){},onClose:function(){return!0}});f("dijit-legacy-requires")&&b(0,function(){require(["dijit/_base"])});return e})},"dijit/_OnDijitClickMixin":function(){define("dijit/_OnDijitClickMixin","dojo/on,dojo/_base/array,dojo/keys,dojo/_base/declare,dojo/has,dojo/_base/unload,dojo/_base/window,./a11yclick".split(","),function(e,l,j,k,f,d,i,h){e=k("dijit._OnDijitClickMixin",
null,{connect:function(b,a,c){return this.inherited(arguments,[b,"ondijitclick"==a?h:a,c])}});e.a11yclick=h;return e})},"dijit/a11yclick":function(){define("dijit/a11yclick","dojo/on,dojo/_base/array,dojo/keys,dojo/_base/declare,dojo/has,dojo/_base/unload,dojo/_base/window".split(","),function(e,l,j,k,f,d,i){function h(a){return(a.keyCode===j.ENTER||a.keyCode===j.SPACE)&&!a.ctrlKey&&!a.shiftKey&&!a.altKey&&!a.metaKey}var b=null;f("dom-addeventlistener")?i.doc.addEventListener("keydown",function(a){b=
a.target},!0):function(){var a=function(a){b=a.srcElement};i.doc.attachEvent("onkeydown",a);d.addOnWindowUnload(function(){i.doc.detachEvent("onkeydown",a)})}();return function(a,c){if(/input|button/i.test(a.nodeName))return e(a,"click",c);var d=[e(a,"keydown",function(a){if(h(a))b=a.target,a.preventDefault()}),e(a,"keyup",function(a){h(a)&&a.target==b&&(b=null,e.emit(a.target,"click",{cancelable:!0,bubbles:!0}))}),e(a,"click",function(a){c.call(this,a)})];if(f("touch")){var i;d.push(e(a,"touchend",
function(a){var c=a.target;i=setTimeout(function(){i=null;e.emit(c,"click",{cancelable:!0,bubbles:!0})},600)}),e(a,"click",function(){i&&clearTimeout(i)}))}return{remove:function(){l.forEach(d,function(a){a.remove()});i&&(clearTimeout(i),i=null)}}}})},"dijit/_FocusMixin":function(){define("dijit/_FocusMixin",["./focus","./_WidgetBase","dojo/_base/declare","dojo/_base/lang"],function(e,l,j,k){k.extend(l,{focused:!1,onFocus:function(){},onBlur:function(){},_onFocus:function(){this.onFocus()},_onBlur:function(){this.onBlur()}});
return j("dijit._FocusMixin",null,{_focusManager:e})})},"dijit/focus":function(){define("dijit/focus","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(e,l,j,k,f,d,i,h,b,a,c,g,n,p,o,s,m){var t,q=new (l([c,d],{curNode:null,activeStack:[],constructor:function(){var a=i.hitch(this,function(a){j.isDescendant(this.curNode,
a)&&this.set("curNode",null);j.isDescendant(this.prevNode,a)&&this.set("prevNode",null)});e.before(f,"empty",a);e.before(f,"destroy",a)},registerIframe:function(a){return this.registerWin(a.contentWindow,a)},registerWin:function(a,c){var b=this,d=a.document&&a.document.body;if(d){var e=h(d,"mousedown",function(a){b._justMouseDowned=!0;setTimeout(function(){b._justMouseDowned=!1},13);if(!a||!(a.target&&null==a.target.parentNode))b._onTouchNode(c||a.target,"mouse")}),g=h(d,"focusin",function(a){t=(new Date).getTime();
if(a.target.tagName){var d=a.target.tagName.toLowerCase();"#document"==d||"body"==d||(o.isFocusable(a.target)?b._onFocusNode(c||a.target):b._onTouchNode(c||a.target))}}),f=h(d,"focusout",function(a){(new Date).getTime()<t+100||b._onBlurNode(c||a.target)});return{remove:function(){e.remove();g.remove();f.remove();d=e=g=f=null}}}},_onBlurNode:function(){this._clearFocusTimer&&clearTimeout(this._clearFocusTimer);this._clearFocusTimer=setTimeout(i.hitch(this,function(){this.set("prevNode",this.curNode);
this.set("curNode",null)}),0);if(!this._justMouseDowned)this._clearActiveWidgetsTimer&&clearTimeout(this._clearActiveWidgetsTimer),this._clearActiveWidgetsTimer=setTimeout(i.hitch(this,function(){delete this._clearActiveWidgetsTimer;this._setStack([])}),0)},_onTouchNode:function(a,c){this._clearActiveWidgetsTimer&&(clearTimeout(this._clearActiveWidgetsTimer),delete this._clearActiveWidgetsTimer);var b=[];try{for(;a;){var d=k.get(a,"dijitPopupParent");if(d)a=s.byId(d).domNode;else if(a.tagName&&"body"==
a.tagName.toLowerCase()){if(a===n.body())break;a=p.get(a.ownerDocument).frameElement}else{var e=a.getAttribute&&a.getAttribute("widgetId"),g=e&&s.byId(e);g&&!("mouse"==c&&g.get("disabled"))&&b.unshift(e);a=a.parentNode}}}catch(f){}this._setStack(b,c)},_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,
c){var b=this.activeStack;this.set("activeStack",a);for(var d=0;d<Math.min(b.length,a.length)&&!(b[d]!=a[d]);d++);for(var e,g=b.length-1;g>=d;g--)if(e=s.byId(b[g]))e._hasBeenBlurred=!0,e.set("focused",!1),e._focusManager==this&&e._onBlur(c),this.emit("widget-blur",e,c);for(g=d;g<a.length;g++)if(e=s.byId(a[g]))e.set("focused",!0),e._focusManager==this&&e._onFocus(c),this.emit("widget-focus",e,c)},focus:function(a){if(a)try{a.focus()}catch(c){}}}));b(function(){var c=q.registerWin(p.get(n.doc));a("ie")&&
g.addOnWindowUnload(function(){c&&(c.remove(),c=null)})});m.focus=function(a){q.focus(a)};for(var r in q)/^_/.test(r)||(m.focus[r]="function"==typeof q[r]?i.hitch(q,r):q[r]);q.watch(function(a,c,b){m.focus[a]=b});return q})},"dojo/window":function(){define("./_base/lang,./sniff,./_base/window,./dom,./dom-geometry,./dom-style,./dom-construct".split(","),function(e,l,j,k,f,d,i){l.add("rtl-adjust-position-for-verticalScrollBar",function(b,a){var c=j.body(a),d=i.create("div",{style:{overflow:"scroll",
overflowX:"visible",direction:"rtl",visibility:"hidden",position:"absolute",left:"0",top:"0",width:"64px",height:"64px"}},c,"last"),e=i.create("div",{style:{overflow:"hidden",direction:"ltr"}},d,"last"),h=0!=f.position(e).x;d.removeChild(e);c.removeChild(d);return h});l.add("position-fixed-support",function(b,a){var c=j.body(a),d=i.create("span",{style:{visibility:"hidden",position:"fixed",left:"1px",top:"1px"}},c,"last"),e=i.create("span",{style:{position:"fixed",left:"0",top:"0"}},d,"last"),h=f.position(e).x!=
f.position(d).x;d.removeChild(e);c.removeChild(d);return h});var h={getBox:function(b){var b=b||j.doc,a="BackCompat"==b.compatMode?j.body(b):b.documentElement,c=f.docScroll(b);if(l("touch"))var d=h.get(b),b=d.innerWidth||a.clientWidth,a=d.innerHeight||a.clientHeight;else b=a.clientWidth,a=a.clientHeight;return{l:c.x,t:c.y,w:b,h:a}},get:function(b){if(l("ie")&&h!==document.parentWindow){b.parentWindow.execScript("document._parentWindow = window;","Javascript");var a=b._parentWindow;b._parentWindow=
null;return a}return b.parentWindow||b.defaultView},scrollIntoView:function(b,a){try{var b=k.byId(b),c=b.ownerDocument||j.doc,e=j.body(c),h=c.documentElement||e.parentNode,i=l("ie"),o=l("webkit");if(!(b==e||b==h))if(!l("mozilla")&&!i&&!o&&!l("opera")&&!l("trident")&&"scrollIntoView"in b)b.scrollIntoView(!1);else{var s="BackCompat"==c.compatMode,m=Math.min(e.clientWidth||h.clientWidth,h.clientWidth||e.clientWidth),t=Math.min(e.clientHeight||h.clientHeight,h.clientHeight||e.clientHeight),c=o||s?e:h,
q=a||f.position(b),r=b.parentNode,o=function(a){return 6>=i||7==i&&s?!1:l("position-fixed-support")&&"fixed"==d.get(a,"position").toLowerCase()},v=this,x=function(a,c,b){"BODY"==a.tagName||"HTML"==a.tagName?v.get(a.ownerDocument).scrollBy(c,b):(c&&(a.scrollLeft+=c),b&&(a.scrollTop+=b))};if(!o(b))for(;r;){r==e&&(r=c);var u=f.position(r),w=o(r),J="rtl"==d.getComputedStyle(r).direction.toLowerCase();if(r==c){u.w=m;u.h=t;if(c==h&&(i||l("trident"))&&J)u.x+=c.offsetWidth-u.w;if(0>u.x||!i||9<=i||l("trident"))u.x=
0;if(0>u.y||!i||9<=i||l("trident"))u.y=0}else{var L=f.getPadBorderExtents(r);u.w-=L.w;u.h-=L.h;u.x+=L.l;u.y+=L.t;var M=r.clientWidth,O=u.w-M;if(0<M&&0<O)J&&l("rtl-adjust-position-for-verticalScrollBar")&&(u.x+=O),u.w=M;M=r.clientHeight;O=u.h-M;if(0<M&&0<O)u.h=M}if(w){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>t)u.h=t-u.y;if(u.x+u.w>m)u.w=m-u.x}var P=q.x-u.x,S=q.y-u.y,B=P+q.w-u.w,z=S+q.h-u.h,y,A;if(0<B*P&&(r.scrollLeft||r==c||r.scrollWidth>r.offsetHeight)){y=Math[0>P?"max":"min"](P,
B);if(J&&(8==i&&!s||9<=i||l("trident")))y=-y;A=r.scrollLeft;x(r,y,0);y=r.scrollLeft-A;q.x-=y}if(0<z*S&&(r.scrollTop||r==c||r.scrollHeight>r.offsetHeight))y=Math.ceil(Math[0>S?"max":"min"](S,z)),A=r.scrollTop,x(r,0,y),y=r.scrollTop-A,q.y-=y;r=r!=c&&!w&&r.parentNode}}}catch(K){b.scrollIntoView(!1)}}};e.setObject("dojo.window",h);return h})},"dijit/a11y":function(){define("dijit/a11y","dojo/_base/array,dojo/dom,dojo/dom-attr,dojo/dom-style,dojo/_base/lang,dojo/sniff,./main".split(","),function(e,l,j,
k,f,d,i){var h={_isElementShown:function(b){var a=k.get(b);return"hidden"!=a.visibility&&"collapsed"!=a.visibility&&"none"!=a.display&&"hidden"!=j.get(b,"type")},hasDefaultTabStop:function(b){switch(b.nodeName.toLowerCase()){case "a":return j.has(b,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return!0;case "iframe":var a;try{var c=b.contentDocument;if("designMode"in c&&"on"==c.designMode)return!0;a=c.body}catch(d){try{a=b.contentWindow.document.body}catch(e){return!1}}return a&&
("true"==a.contentEditable||a.firstChild&&"true"==a.firstChild.contentEditable);default:return"true"==b.contentEditable}},effectiveTabIndex:function(b){return j.get(b,"disabled")?void 0:j.has(b,"tabIndex")?+j.get(b,"tabIndex"):h.hasDefaultTabStop(b)?0:void 0},isTabNavigable:function(b){return 0<=h.effectiveTabIndex(b)},isFocusable:function(b){return-1<=h.effectiveTabIndex(b)},_getTabNavigable:function(b){function a(a){return a&&"input"==a.tagName.toLowerCase()&&a.type&&"radio"==a.type.toLowerCase()&&
a.name&&a.name.toLowerCase()}var c,e,f,i,k,l,m={},t=h._isElementShown,q=h.effectiveTabIndex,r=function(b){for(b=b.firstChild;b;b=b.nextSibling)if(!(1!=b.nodeType||9>=d("ie")&&"HTML"!==b.scopeName||!t(b))){var h=q(b);if(0<=h){if(0==h)c||(c=b),e=b;else if(0<h){if(!f||h<i)i=h,f=b;if(!k||h>=l)l=h,k=b}h=a(b);j.get(b,"checked")&&h&&(m[h]=b)}"SELECT"!=b.nodeName.toUpperCase()&&r(b)}};t(b)&&r(b);return{first:m[a(c)]||c,last:m[a(e)]||e,lowest:m[a(f)]||f,highest:m[a(k)]||k}},getFirstInTabbingOrder:function(b,
a){var c=h._getTabNavigable(l.byId(b,a));return c.lowest?c.lowest:c.first},getLastInTabbingOrder:function(b,a){var c=h._getTabNavigable(l.byId(b,a));return c.last?c.last:c.highest}};f.mixin(i,h);return h})},"dojo/uacss":function(){define(["./dom-geometry","./_base/lang","./ready","./sniff","./_base/window"],function(e,l,j,k,f){var d=f.doc.documentElement,f=k("ie"),i=k("opera"),h=Math.floor,b=k("ff"),a=e.boxModel.replace(/-/,""),i={dj_quirks:k("quirks"),dj_opera:i,dj_khtml:k("khtml"),dj_webkit:k("webkit"),
dj_safari:k("safari"),dj_chrome:k("chrome"),dj_gecko:k("mozilla")};if(f)i.dj_ie=!0,i["dj_ie"+h(f)]=!0,i.dj_iequirks=k("quirks");b&&(i["dj_ff"+h(b)]=!0);i["dj_"+a]=!0;var c="",g;for(g in i)i[g]&&(c+=g+" ");d.className=l.trim(d.className+" "+c);j(90,function(){if(!e.isBodyLtr()){var a="dj_rtl dijitRtl "+c.replace(/ /g,"-rtl ");d.className=l.trim(d.className+" "+a+"dj_rtl dijitRtl "+c.replace(/ /g,"-rtl "))}});return k})},"dijit/_CssStateMixin":function(){define("dijit/_CssStateMixin","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(e,l,j,k,f,d,i,h,b,a){l=l("dijit._CssStateMixin",[],{cssStateNodes:{},hovering:!1,active:!1,_applyAttributes:function(){this.inherited(arguments);e.forEach("disabled,readOnly,checked,selected,focused,state,hovering,active,_opened".split(","),function(a){this.watch(a,d.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(e.map(b,function(a){return a+c}),"dijit"+c)}var b=this.baseClass.split(" ");this.isLeftToRight()||a("Rtl");var d="mixed"==this.checked?"Mixed":this.checked?"Checked":"";this.checked&&a(d);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 d=this.stateNode||this.domNode,f={};e.forEach(d.className.split(" "),function(a){f[a]=!0});"_stateClasses"in this&&e.forEach(this._stateClasses,function(a){delete f[a]});e.forEach(b,function(a){f[a]=!0});var h=[],i;for(i in f)h.push(i);d.className=h.join(" ");this._stateClasses=b},_subnodeCssMouseEvent:function(a,
b,d){function e(d){k.toggle(a,b+"Active",d)}if(!this.disabled&&!this.readOnly)switch(d.type){case "mouseover":k.toggle(a,b+"Hover",!0);break;case "mouseout":k.toggle(a,b+"Hover",!1);e(!1);break;case "mousedown":case "touchstart":e(!0);break;case "mouseup":case "touchend":e(!1);break;case "focus":case "focusin":k.toggle(a,b+"Focused",!0);break;case "blur":case "focusout":k.toggle(a,b+"Focused",!1)}},_trackMouseState:function(a,b){a._cssState=b}});h(function(){function c(c){if(!j.isDescendant(c.relatedTarget,
c.target))for(var b=c.target;b&&b!=c.relatedTarget;b=b.parentNode)if(b._cssState){var d=a.getEnclosingWidget(b);d&&(b==d.domNode?d._cssMouseEvent(c):d._subnodeCssMouseEvent(b,b._cssState,c))}}function d(a){a.target=a.srcElement;c(a)}var h=b.body(),k=(f("touch")?[]:["mouseover","mouseout"]).concat(["mousedown","touchstart","mouseup","touchend"]);e.forEach(k,function(a){h.addEventListener?h.addEventListener(a,c,!0):h.attachEvent("on"+a,d)});i(h,"focusin, focusout",function(c){var b=c.target;b._cssState&&
!b.getAttribute("widgetId")&&a.getEnclosingWidget(b)._subnodeCssMouseEvent(b,b._cssState,c)})});return l})},"dijit/form/DropDownButton":function(){require({cache:{"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,_popupStateNode"\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"\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" role="presentation"\n/></span>\n'}});
define("dijit/form/DropDownButton","dojo/_base/declare,dojo/_base/lang,dojo/query,../registry,../popup,./Button,../_Container,../_HasDropDown,dojo/text!./templates/DropDownButton.html".split(","),function(e,l,j,k,f,d,i,h,b){return e("dijit.form.DropDownButton",[d,i,h],{baseClass:"dijitDropDownButton",templateString:b,_fillContent:function(){if(this.srcNodeRef){var a=j("*",this.srcNodeRef);this.inherited(arguments,[a[0]]);this.dropDownContainer=this.srcNodeRef}},startup:function(){if(!this._started){if(!this.dropDown&&
this.dropDownContainer){var a=j("[widgetId]",this.dropDownContainer)[0];this.dropDown=k.byNode(a);delete this.dropDownContainer}this.dropDown&&f.hide(this.dropDown);this.inherited(arguments)}},isLoaded:function(){var a=this.dropDown;return!!a&&(!a.href||a.isLoaded)},loadDropDown:function(a){var c=this.dropDown,b=c.on("load",l.hitch(this,function(){b.remove();a()}));c.refresh()},isFocusable:function(){return this.inherited(arguments)&&!this._mouseDown}})})},"dijit/popup":function(){define("dijit/popup",
"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/has,dojo/keys,dojo/_base/lang,dojo/on,./place,./BackgroundIframe,./main".split(","),function(e,l,j,k,f,d,i,h,b,a,c,g,n,p,o,s,m){function t(){this._popupWrapper&&(i.destroy(this._popupWrapper),delete this._popupWrapper)}k=k(null,{_stack:[],_beginZIndex:1E3,_idGen:1,_createWrapper:function(a){var c=a._popupWrapper,b=a.domNode;if(!c)c=i.create("div",
{"class":"dijitPopup",style:{display:"none"},role:"region","aria-label":a["aria-label"]||a.label||a.name||a.id},a.ownerDocumentBody),c.appendChild(b),b=b.style,b.display="",b.visibility="",b.position="",b.top="0px",a._popupWrapper=c,l.after(a,"destroy",t,!0);return c},moveOffScreen:function(a){a=this._createWrapper(a);b.set(a,{visibility:"hidden",top:"-9999px",display:""})},hide:function(a){a=this._createWrapper(a);b.set(a,"display","none")},getTopPopup:function(){for(var a=this._stack,c=a.length-
1;0<c&&a[c].parent===a[c-1].widget;c--);return a[c]},open:function(b){for(var e=this._stack,i=b.popup,m=b.orient||["below","below-alt","above","above-alt"],k=b.parent?b.parent.isLeftToRight():h.isBodyLtr(i.ownerDocument),l=b.around,t=b.around&&b.around.id?b.around.id+"_dropdown":"popup_"+this._idGen++;e.length&&(!b.parent||!f.isDescendant(b.parent.domNode,e[e.length-1].widget.domNode));)this.close(e[e.length-1].widget);var L=this._createWrapper(i);d.set(L,{id:t,style:{zIndex:this._beginZIndex+e.length},
"class":"dijitPopup "+(i.baseClass||i["class"]||"").split(" ")[0]+"Popup",dijitPopupParent:b.parent?b.parent.id:""});if(c("bgIframe")&&!i.bgIframe)i.bgIframe=new s(L);m=l?o.around(L,l,m,k,i.orient?n.hitch(i,"orient"):null):o.at(L,b,"R"==m?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],b.padding);L.style.display="";L.style.visibility="visible";i.domNode.style.visibility="visible";k=[];k.push(p(L,j._keypress,n.hitch(this,function(c){if(c.charOrCode==g.ESCAPE&&b.onCancel)a.stop(c),b.onCancel();else if(c.charOrCode===
g.TAB&&(a.stop(c),(c=this.getTopPopup())&&c.onCancel))c.onCancel()})));i.onCancel&&b.onCancel&&k.push(i.on("cancel",b.onCancel));k.push(i.on(i.onExecute?"execute":"change",n.hitch(this,function(){var a=this.getTopPopup();if(a&&a.onExecute)a.onExecute()})));e.push({widget:i,parent:b.parent,onExecute:b.onExecute,onCancel:b.onCancel,onClose:b.onClose,handlers:k});if(i.onOpen)i.onOpen(m);return m},close:function(a){for(var c=this._stack;a&&e.some(c,function(c){return c.widget==a})||!a&&c.length;){var b=
c.pop(),d=b.widget,f=b.onClose;if(d.onClose)d.onClose();for(var g;g=b.handlers.pop();)g.remove();d&&d.domNode&&this.hide(d);f&&f()}}});return m.popup=new k})},"dijit/place":function(){define("dijit/place","dojo/_base/array,dojo/dom-geometry,dojo/dom-style,dojo/_base/kernel,dojo/_base/window,./Viewport,./main".split(","),function(e,l,j,k,f,d,i){function h(b,a,c,g){var h=d.getEffectiveBox(b.ownerDocument);(!b.parentNode||"body"!=(""+b.parentNode.tagName).toLowerCase())&&f.body(b.ownerDocument).appendChild(b);
var i=null;e.some(a,function(a){var d=a.corner,e=a.pos,f=0,j={w:{L:h.l+h.w-e.x,R:e.x-h.l,M:h.w}[d.charAt(1)],h:{T:h.t+h.h-e.y,B:e.y-h.t,M:h.h}[d.charAt(0)]},k=b.style;k.left=k.right="auto";c&&(f=c(b,a.aroundCorner,d,j,g),f="undefined"==typeof f?0:f);var v=b.style,x=v.display,u=v.visibility;if("none"==v.display)v.visibility="hidden",v.display="";k=l.position(b);v.display=x;v.visibility=u;x={L:e.x,R:e.x-k.w,M:Math.max(h.l,Math.min(h.l+h.w,e.x+(k.w>>1))-k.w)}[d.charAt(1)];u={T:e.y,B:e.y-k.h,M:Math.max(h.t,
Math.min(h.t+h.h,e.y+(k.h>>1))-k.h)}[d.charAt(0)];e=Math.max(h.l,x);v=Math.max(h.t,u);x=Math.min(h.l+h.w,x+k.w);u=Math.min(h.t+h.h,u+k.h);x-=e;u-=v;f+=k.w-x+(k.h-u);if(null==i||f<i.overflow)i={corner:d,aroundCorner:a.aroundCorner,x:e,y:v,w:x,h:u,overflow:f,spaceAvailable:j};return!f});i.overflow&&c&&c(b,i.aroundCorner,i.corner,i.spaceAvailable,g);a=b.style;a.top=i.y+"px";a.left=i.x+"px";a.right="auto";return i}return i.place={at:function(b,a,c,d){c=e.map(c,function(c){var b={corner:c,pos:{x:a.x,y:a.y}};
d&&(b.pos.x+="L"==c.charAt(1)?d.x:-d.x,b.pos.y+="T"==c.charAt(0)?d.y:-d.y);return b});return h(b,c)},around:function(b,a,c,d,f){function i(a,c){J.push({aroundCorner:a,corner:c,pos:{x:{L:v,R:v+u,M:v+(u>>1)}[a.charAt(1)],y:{T:x,B:x+w,M:x+(w>>1)}[a.charAt(0)]}})}var o="string"==typeof a||"offsetWidth"in a||"ownerSVGElement"in a?l.position(a,!0):a;if(a.parentNode)for(var s="absolute"==j.getComputedStyle(a).position,a=a.parentNode;a&&1==a.nodeType&&"BODY"!=a.nodeName;){var m=l.position(a,!0),t=j.getComputedStyle(a);
/relative|absolute/.test(t.position)&&(s=!1);if(!s&&/hidden|auto|scroll/.test(t.overflow)){var q=Math.min(o.y+o.h,m.y+m.h),r=Math.min(o.x+o.w,m.x+m.w);o.x=Math.max(o.x,m.x);o.y=Math.max(o.y,m.y);o.h=q-o.y;o.w=r-o.x}"absolute"==t.position&&(s=!0);a=a.parentNode}var v=o.x,x=o.y,u="w"in o?o.w:o.w=o.width,w="h"in o?o.h:(k.deprecated("place.around: dijit/place.__Rectangle: { x:"+v+", y:"+x+", height:"+o.height+", width:"+u+" } has been deprecated.  Please use { x:"+v+", y:"+x+", h:"+o.height+", w:"+u+
" }","","2.0"),o.h=o.height),J=[];e.forEach(c,function(a){var c=d;switch(a){case "above-centered":i("TM","BM");break;case "below-centered":i("BM","TM");break;case "after-centered":c=!c;case "before-centered":i(c?"ML":"MR",c?"MR":"ML");break;case "after":c=!c;case "before":i(c?"TL":"TR",c?"TR":"TL");i(c?"BL":"BR",c?"BR":"BL");break;case "below-alt":c=!c;case "below":i(c?"BL":"BR",c?"TL":"TR");i(c?"BR":"BL",c?"TR":"TL");break;case "above-alt":c=!c;case "above":i(c?"TL":"TR",c?"BL":"BR");i(c?"TR":"TL",
c?"BR":"BL");break;default:i(a.aroundCorner,a.corner)}});b=h(b,J,f,{w:u,h:w});b.aroundNodePos=o;return b}}})},"dijit/Viewport":function(){define("dijit/Viewport","dojo/Evented,dojo/on,dojo/ready,dojo/sniff,dojo/_base/window,dojo/window".split(","),function(e,l,j,k,f,d){var i=new e,h;j(200,function(){var b=d.getBox();i._rlh=l(f.global,"resize",function(){var a=d.getBox();b.h==a.h&&b.w==a.w||(b=a,i.emit("resize"))});if(8==k("ie")){var a=screen.deviceXDPI;setInterval(function(){if(screen.deviceXDPI!=
a)a=screen.deviceXDPI,i.emit("resize")},500)}k("ios")&&(l(document,"focusin",function(a){h=a.target}),l(document,"focusout",function(){h=null}))});i.getEffectiveBox=function(b){var b=d.getBox(b),a=h&&h.tagName&&h.tagName.toLowerCase();if(k("ios")&&h&&!h.readOnly&&("textarea"==a||"input"==a&&/^(color|email|number|password|search|tel|text|url)$/.test(h.type)))b.h*=0==orientation||180==orientation?0.66:0.4,a=h.getBoundingClientRect(),b.h=Math.max(b.h,a.top+a.height);return b};return i})},"dijit/BackgroundIframe":function(){define("dijit/BackgroundIframe",
"require,./main,dojo/_base/config,dojo/dom-construct,dojo/dom-style,dojo/_base/lang,dojo/on,dojo/sniff,dojo/_base/window".split(","),function(e,l,j,k,f,d,i,h,b){h.add("bgIframe",h("ie")||h("mozilla"));var a=new function(){var a=[];this.pop=function(){var d;a.length?(d=a.pop(),d.style.display=""):(9>h("ie")?(d="<iframe src='"+(j.dojoBlankHtmlUrl||e.toUrl("dojo/resources/blank.html")||'javascript:""')+"' role='presentation' style='position: absolute; left: 0px; top: 0px;z-index: -1; filter:Alpha(Opacity=\"0\");'>",
d=b.doc.createElement(d)):(d=k.create("iframe"),d.src='javascript:""',d.className="dijitBackgroundIframe",d.setAttribute("role","presentation"),f.set(d,"opacity",0.1)),d.tabIndex=-1);return d};this.push=function(b){b.style.display="none";a.push(b)}};l.BackgroundIframe=function(c){if(!c.id)throw Error("no id");if(h("bgIframe")){var b=this.iframe=a.pop();c.appendChild(b);7>h("ie")||h("quirks")?(this.resize(c),this._conn=i(c,"resize",d.hitch(this,function(){this.resize(c)}))):f.set(b,{width:"100%",height:"100%"})}};
d.extend(l.BackgroundIframe,{resize:function(a){this.iframe&&f.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 l.BackgroundIframe})},"dijit/form/Button":function(){require({cache:{"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'}});
define("dijit/form/Button","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(e,l,j,k,f,d,i,h,b,a){k("dijit-legacy-requires")&&i(0,function(){e(["dijit/form/DropDownButton","dijit/form/ComboButton","dijit/form/ToggleButton"])});return l("dijit.form.Button",[h,b],{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=d.trim(a.innerHTML))this.label=a},_setShowLabelAttr:function(a){this.containerNode&&j.toggle(this.containerNode,"dijitDisplayNone",!a);this._set("showLabel",a)},setLabel:function(a){f.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=d.trim(this.containerNode.innerText||this.containerNode.textContent||"")}})})},"dijit/form/_FormWidget":function(){define("dijit/form/_FormWidget","dojo/_base/declare,dojo/has,dojo/_base/kernel,dojo/ready,../_Widget,../_CssStateMixin,../_TemplatedMixin,./_FormWidgetMixin".split(","),function(e,l,j,k,f,d,i,h){l("dijit-legacy-requires")&&k(0,function(){require(["dijit/form/_FormValueWidget"])});
return e("dijit.form._FormWidget",[f,i,d,h],{setDisabled:function(b){j.deprecated("setDisabled("+b+") is deprecated. Use set('disabled',"+b+") instead.","","2.0");this.set("disabled",b)},setValue:function(b){j.deprecated("dijit.form._FormWidget:setValue("+b+") is deprecated.  Use set('value',"+b+") instead.","","2.0");this.set("value",b)},getValue:function(){j.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/form/_FormWidgetMixin":function(){define("dijit/form/_FormWidgetMixin","dojo/_base/array,dojo/_base/declare,dojo/dom-attr,dojo/dom-style,dojo/_base/lang,dojo/mouse,dojo/sniff,dojo/window,../a11y".split(","),function(e,l,j,k,f,d,i,h,b){return l("dijit.form._FormWidgetMixin",null,{name:"",alt:"",value:"",type:"text","aria-label":"focusNode",tabIndex:"0",_setTabIndexAttr:"focusNode",disabled:!1,
intermediateChanges:!1,scrollOnFocus:!0,_setIdAttr:"focusNode",_setDisabledAttr:function(a){this._set("disabled",a);j.set(this.focusNode,"disabled",a);this.valueNode&&j.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",e.forEach(f.isArray(a)?a:[a],function(a){a=this[a];i("webkit")||b.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(b);this.disconnect(c)}),b=this.connect(this.ownerDocumentBody,"onmouseup",function(){this.disconnect(b);this.disconnect(c);this.focused&&this.focus()});this.scrollOnFocus&&this.defer(function(){h.scrollIntoView(this.domNode)});this.inherited(arguments)},
isFocusable:function(){return!this.disabled&&this.focusNode&&"none"!=k.get(this.domNode,"display")},focus:function(){if(!this.disabled&&this.focusNode.focus)try{this.focusNode.focus()}catch(a){}},compare:function(a,c){return"number"==typeof a&&"number"==typeof c?isNaN(a)&&isNaN(c)?0:a-c:a>c?1:a<c?-1:0},onChange:function(){},_onChangeActive:!1,_handleOnChange:function(a,c){if(void 0==this._lastValueReported&&(null===c||!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||c||void 0===c)&&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/_ButtonMixin":function(){define("dijit/form/_ButtonMixin",["dojo/_base/declare","dojo/dom","dojo/_base/event","../registry"],function(e,l,j,k){return e("dijit.form._ButtonMixin",null,{label:"",type:"button",_onClick:function(e){if(this.disabled)return j.stop(e),!1;var d=!1===this.onClick(e);if(!d&&"submit"==this.type&&!(this.valueNode||this.focusNode).form)for(var i=this.domNode;i.parentNode;i=
i.parentNode){var h=k.byNode(i);if(h&&"function"==typeof h._onSubmit){h._onSubmit(e);d=!0;break}}d&&e.preventDefault();return!d},postCreate:function(){this.inherited(arguments);l.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/_Container":function(){define("dijit/_Container",["dojo/_base/array","dojo/_base/declare","dojo/dom-construct"],function(e,l,j){return l("dijit._Container",null,{buildRendering:function(){this.inherited(arguments);if(!this.containerNode)this.containerNode=this.domNode},addChild:function(e,f){var d=this.containerNode;if(f&&"number"==typeof f){var i=this.getChildren();if(i&&i.length>=f)d=i[f-1].domNode,f="after"}j.place(e.domNode,d,f);this._started&&!e._started&&e.startup()},removeChild:function(e){"number"==
typeof e&&(e=this.getChildren()[e]);if(e)(e=e.domNode)&&e.parentNode&&e.parentNode.removeChild(e)},hasChildren:function(){return 0<this.getChildren().length},_getSiblingOfChild:function(j,f){var d=this.getChildren(),i=e.indexOf(this.getChildren(),j);return d[i+f]},getIndexOfChild:function(j){return e.indexOf(this.getChildren(),j)}})})},"dijit/_HasDropDown":function(){define("dijit/_HasDropDown","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,./registry,./focus,./popup,./_FocusMixin,./Viewport".split(","),
function(e,l,j,k,f,d,i,h,b,a,c,g,n,p,o,s,m){return e("dijit._HasDropDown",s,{_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)"MSPointerDown"!=a.type&&"pointerdown"!=a.type&&a.preventDefault(),this._docHandler=this.connect(this.ownerDocument,"mouseup","_onDropDownMouseUp"),this.toggleDropDown()},
_onDropDownMouseUp:function(a){a&&this._docHandler&&this.disconnect(this._docHandler);var c=this.dropDown,e=!1;if(a&&this._opened){var f=i.position(this._buttonNode,!0);if(!(a.pageX>=f.x&&a.pageX<=f.x+f.w)||!(a.pageY>=f.y&&a.pageY<=f.y+f.h)){for(f=a.target;f&&!e;)d.contains(f,"dijitPopup")?e=!0:f=f.parentNode;if(e){f=a.target;if(c.onItemClick){for(var g;f&&!(g=n.byNode(f));)f=f.parentNode;if(g&&g.onClick&&g.getParent)g.getParent().onItemClick(g,a)}return}}}if(this._opened){if(c.focus&&(!1!==c.autoFocus||
"mouseup"==a.type&&!this.hovering))this._focusDropDownTimer=this.defer(function(){c.focus();delete this._focusDropDownTimer})}else this.focus&&this.defer("focus");if(b("touch"))this._justGotMouseUp=!0,this.defer(function(){this._justGotMouseUp=!1})},_onDropDownClick:function(a){b("touch")&&!this._justGotMouseUp&&(this._onDropDownMouseDown(a),this._onDropDownMouseUp(a));this._stopClickEvents&&j.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";d.add(this._arrowWrapperNode||this._buttonNode,"dijit"+a+"ArrowButton")},postCreate:function(){this.inherited(arguments);var a=this.focusNode||this.domNode;this.own(g(this._buttonNode,"mousedown",c.hitch(this,
"_onDropDownMouseDown")),g(this._buttonNode,"click",c.hitch(this,"_onDropDownClick")),g(a,"keydown",c.hitch(this,"_onKey")),g(a,"keyup",c.hitch(this,"_onKeyUp")))},destroy:function(){this.dropDown&&(this.dropDown._destroyed||this.dropDown.destroyRecursive(),delete this.dropDown);this.inherited(arguments)},_onKey:function(c){if(!this.disabled&&!this.readOnly){var b=this.dropDown,d=c.target;if(b&&this._opened&&b.handleKey&&!1===b.handleKey(c))j.stop(c);else if(b&&this._opened&&c.keyCode==a.ESCAPE)this.closeDropDown(),
j.stop(c);else if(!this._opened&&(c.keyCode==a.DOWN_ARROW||(c.keyCode==a.ENTER||c.keyCode==a.SPACE)&&("input"!==(d.tagName||"").toLowerCase()||d.type&&"text"!==d.type.toLowerCase())))this._toggleOnKeyUp=!0,j.stop(c)}},_onKeyUp:function(){if(this._toggleOnKeyUp){delete this._toggleOnKeyUp;this.toggleDropDown();var a=this.dropDown;a&&a.focus&&this.defer(c.hitch(a,"focus"),1)}},_onBlur:function(){this.closeDropDown(p.curNode&&this.dropDown&&k.isDescendant(p.curNode,this.dropDown.domNode));this.inherited(arguments)},
isLoaded:function(){return!0},loadDropDown:function(a){a()},loadAndOpenDropDown:function(){var a=new l,b=c.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,b=a.domNode,e=this._aroundNode||this.domNode,g=this;if(!this._preparedNode){this._preparedNode=!0;if(b.style.width)this._explicitDDWidth=
!0;if(b.style.height)this._explicitDDHeight=!0}if(this.maxHeight||this.forceWidth||this.autoWidth){var j={display:"",visibility:"hidden"};if(!this._explicitDDWidth)j.width="";if(!this._explicitDDHeight)j.height="";h.set(b,j);j=this.maxHeight;if(-1==j)var j=m.getEffectiveBox(this.ownerDocument),k=i.position(e,!1),j=Math.floor(Math.max(k.y,j.h-(k.y+k.h)));o.moveOffScreen(a);a.startup&&!a._started&&a.startup();var k=i.getMarginSize(b),l=j&&k.h>j;h.set(b,{overflow:l?"auto":"visible"});l?(k.h=j,"w"in k&&
(k.w+=16)):delete k.h;this.forceWidth?k.w=e.offsetWidth:this.autoWidth?k.w=Math.max(k.w,e.offsetWidth):delete k.w;c.isFunction(a.resize)?a.resize(k):i.setMarginBox(b,k)}e=o.open({parent:this,popup:a,around:e,orient:this.dropDownPosition,onExecute:function(){g.closeDropDown(!0)},onCancel:function(){g.closeDropDown(!0)},onClose:function(){f.set(g._popupStateNode,"popupActive",!1);d.remove(g._popupStateNode,"dijitHasDropDownOpen");g._set("_opened",!1)}});f.set(this._popupStateNode,"popupActive","true");
d.add(this._popupStateNode,"dijitHasDropDownOpen");this._set("_opened",!0);this._popupStateNode.setAttribute("aria-expanded","true");this._popupStateNode.setAttribute("aria-owns",a.id);"presentation"!==b.getAttribute("role")&&!b.getAttribute("aria-labelledby")&&b.setAttribute("aria-labelledby",this.id);return e},closeDropDown:function(a){this._focusDropDownTimer&&(this._focusDropDownTimer.remove(),delete this._focusDropDownTimer);if(this._opened)this._popupStateNode.setAttribute("aria-expanded","false"),
a&&this.focus(),o.close(this.dropDown),this._opened=!1}})})},"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,_popupStateNode"\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"\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" role="presentation"\n/></span>\n',
"dijit/form/_DateTimeTextBox":function(){require({cache:{"url:dijit/form/templates/DropDownBox.html":'<div class="dijit dijitReset dijitInline dijitLeft"\n\tid="widget_${id}"\n\trole="combobox"\n\taria-haspopup="true"\n\tdata-dojo-attach-point="_popupStateNode"\n\t><div class=\'dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton dijitArrowButtonContainer\'\n\t\tdata-dojo-attach-point="_buttonNode" role="presentation"\n\t\t><input class="dijitReset dijitInputField dijitArrowButtonInner" value="&#9660; " type="text" tabIndex="-1" readonly="readonly" role="button presentation" aria-hidden="true"\n\t\t\t${_buttonInputDisabled}\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\' ${!nameAttrSetting} type="text" autocomplete="off"\n\t\t\tdata-dojo-attach-point="textbox,focusNode" role="textbox"\n\t/></div\n></div>\n'}});
define("dijit/form/_DateTimeTextBox","dojo/date,dojo/date/locale,dojo/date/stamp,dojo/_base/declare,dojo/_base/lang,./RangeBoundTextBox,../_HasDropDown,dojo/text!./templates/DropDownBox.html".split(","),function(e,l,j,k,f,d,i,h){return k("dijit.form._DateTimeTextBox",[d,i],{templateString:h,hasDownArrow:!0,cssStateNodes:{_buttonNode:"dijitDownArrowButton"},pattern:l.regexp,datePackage:"",postMixInProperties:function(){this.inherited(arguments);this._set("type","text")},compare:function(b,a){var c=
this._isInvalidDate(b),d=this._isInvalidDate(a);return c?d?0:-1:d?1:e.compare(b,a,this._selector)},forceWidth:!0,format:function(b,a){return!b?"":this.dateLocaleModule.format(b,a)},parse:function(b,a){return this.dateLocaleModule.parse(b,a)||(this._isEmpty(b)?null:void 0)},serialize:function(b,a){b.toGregorian&&(b=b.toGregorian());return j.toISOString(b,a)},dropDownDefaultValue:new Date,value:new Date(""),_blankValue:null,popupClass:"",_selector:"",constructor:function(b){this.dateModule=b.datePackage?
f.getObject(b.datePackage,!1):e;this.dateClassObj=this.dateModule.Date||Date;this.dateLocaleModule=b.datePackage?f.getObject(b.datePackage+".locale",!1):l;this._set("pattern",this.dateLocaleModule.regexp);this._invalidDate=this.constructor.prototype.value.toString()},buildRendering:function(){this.inherited(arguments);if(!this.hasDownArrow)this._buttonNode.style.display="none";if(!this.hasDownArrow)this._buttonNode=this.domNode,this.baseClass+=" dijitComboBoxOpenOnClick"},_setConstraintsAttr:function(b){b.selector=
this._selector;b.fullYear=!0;var a=j.fromISOString;if("string"==typeof b.min)b.min=a(b.min);if("string"==typeof b.max)b.max=a(b.max);this.inherited(arguments)},_isInvalidDate:function(b){return!b||isNaN(b)||"object"!=typeof b||b.toString()==this._invalidDate},_setValueAttr:function(b,a,c){void 0!==b&&("string"==typeof b&&(b=j.fromISOString(b)),this._isInvalidDate(b)&&(b=null),b instanceof Date&&!(this.dateClassObj instanceof Date)&&(b=new this.dateClassObj(b)));this.inherited(arguments);if(this.value instanceof
Date)this.filterString="";this.dropDown&&this.dropDown.set("value",b,!1)},_set:function(b,a){"value"==b&&this.value instanceof Date&&0==this.compare(a,this.value)||this.inherited(arguments)},_setDropDownDefaultValueAttr:function(b){this._isInvalidDate(b)&&(b=new this.dateClassObj);this.dropDownDefaultValue=b},openDropDown:function(b){this.dropDown&&this.dropDown.destroy();var a=f.isString(this.popupClass)?f.getObject(this.popupClass,!1):this.popupClass,c=this,d=this.get("value");this.dropDown=new a({onChange:function(a){c.set("value",
a,!0)},id:this.id+"_popup",dir:c.dir,lang:c.lang,value:d,currentFocus:!this._isInvalidDate(d)?d:this.dropDownDefaultValue,constraints:c.constraints,filterString:c.filterString,datePackage:c.params.datePackage,isDisabledDate:function(a){return!c.rangeCheck(a,c.constraints)}});this.inherited(arguments)},_getDisplayedValueAttr:function(){return this.textbox.value},_setDisplayedValueAttr:function(b,a){this._setValueAttr(this.parse(b,this.constraints),a,b)}})})},"dijit/form/RangeBoundTextBox":function(){define("dijit/form/RangeBoundTextBox",
["dojo/_base/declare","dojo/i18n","./MappedTextBox"],function(e,l,j){return e("dijit.form.RangeBoundTextBox",j,{rangeMessage:"",rangeCheck:function(e,f){return("min"in f?0<=this.compare(e,f.min):!0)&&("max"in f?0>=this.compare(e,f.max):!0)},isInRange:function(){return this.rangeCheck(this.get("value"),this.constraints)},_isDefinitelyOutOfRange:function(){var e=this.get("value");if(null==e)return!1;var f=!1;if("min"in this.constraints)f=this.constraints.min,f=0>this.compare(e,"number"==typeof f&&0<=
f&&0!=e?0:f);if(!f&&"max"in this.constraints)f=this.constraints.max,f=0<this.compare(e,"number"!=typeof f||0<f?f:0);return f},_isValidSubset:function(){return this.inherited(arguments)&&!this._isDefinitelyOutOfRange()},isValid:function(e){return this.inherited(arguments)&&(this._isEmpty(this.textbox.value)&&!this.required||this.isInRange(e))},getErrorMessage:function(e){var f=this.get("value");return null!=f&&""!==f&&("number"!=typeof f||!isNaN(f))&&!this.isInRange(e)?this.rangeMessage:this.inherited(arguments)},
postMixInProperties:function(){this.inherited(arguments);if(!this.rangeMessage)this.messages=l.getLocalization("dijit.form","validate",this.lang),this.rangeMessage=this.messages.rangeMessage},applyTextDir:function(){}})})},"dijit/form/MappedTextBox":function(){define("dijit/form/MappedTextBox",["dojo/_base/declare","dojo/dom-construct","./ValidationTextBox"],function(e,l,j){return e("dijit.form.MappedTextBox",j,{postMixInProperties:function(){this.inherited(arguments);this.nameAttrSetting=""},_setNameAttr:null,
serialize:function(e){return e.toString?e.toString():""},toString:function(){var e=this.filter(this.get("value"));return null!=e?"string"==typeof e?e:this.serialize(e,this.constraints):""},validate:function(){this.valueNode.value=this.toString();return this.inherited(arguments)},buildRendering:function(){this.inherited(arguments);this.valueNode=l.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(){require({cache:{"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'}});
define("dijit/form/ValidationTextBox","dojo/_base/declare,dojo/_base/kernel,dojo/i18n,./TextBox,../Tooltip,dojo/text!./templates/ValidationTextBox.html,dojo/i18n!./nls/validate".split(","),function(e,l,j,k,f,d){var i;return i=e("dijit.form.ValidationTextBox",k,{templateString:d,required:!1,promptMessage:"",invalidMessage:"$_unset_$",missingMessage:"$_unset_$",message:"",constraints:{},pattern:".*",regExp:"",regExpGen:function(){},state:"",tooltipPosition:[],_deprecateRegExp:function(d,b){b!=i.prototype[d]&&
(l.deprecated("ValidationTextBox id="+this.id+", set('"+d+"', ...) is deprecated.  Use set('pattern', ...) instead.","","2.0"),this.set("pattern",b))},_setRegExpGenAttr:function(d){this._deprecateRegExp("regExpGen",d);this.regExpGen=this._getPatternAttr},_setRegExpAttr:function(d){this._deprecateRegExp("regExp",d)},_setValueAttr:function(){this.inherited(arguments);this._refreshState()},validator:function(d,b){return RegExp("^(?:"+this._getPatternAttr(b)+")"+(this.required?"":"?")+"$").test(d)&&(!this.required||
!this._isEmpty(d))&&(this._isEmpty(d)||void 0!==this.parse(d,b))},_isValidSubset:function(){return 0==this.textbox.value.search(this._partialre)},isValid:function(){return this.validator(this.textbox.value,this.constraints)},_isEmpty:function(d){return(this.trim?/^\s*$/:/^$/).test(d)},getErrorMessage:function(){var d="$_unset_$"==this.invalidMessage?this.messages.invalidMessage:!this.invalidMessage?this.promptMessage:this.invalidMessage,b="$_unset_$"==this.missingMessage?this.messages.missingMessage:
!this.missingMessage?d:this.missingMessage;return this.required&&this._isEmpty(this.textbox.value)?b:d},getPromptMessage:function(){return this.promptMessage},_maskValidSubsetError:!0,validate:function(d){var b="",a=this.disabled||this.isValid(d);if(a)this._maskValidSubsetError=!0;var c=this._isEmpty(this.textbox.value),e=!a&&d&&this._isValidSubset();this._set("state",a?"":((!this._hasBeenBlurred||d)&&c||e)&&(this._maskValidSubsetError||e&&!this._hasBeenBlurred&&d)?"Incomplete":"Error");this.focusNode.setAttribute("aria-invalid",
a?"false":"true");"Error"==this.state?(this._maskValidSubsetError=d&&e,b=this.getErrorMessage(d)):"Incomplete"==this.state?(b=this.getPromptMessage(d),this._maskValidSubsetError=!this._hasBeenBlurred||d):c&&(b=this.getPromptMessage(d));this.set("message",b);return a},displayMessage:function(d){d&&this.focused?f.show(d,this.domNode,this.tooltipPosition,!this.isLeftToRight()):f.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(d){if(!d.locale&&this.lang)d.locale=this.lang;this._set("constraints",d);this._refreshState()},_setPatternAttr:function(d){this._set("pattern",d);this._refreshState()},_getPatternAttr:function(d){var b=this.pattern;"function"==(typeof b).toLowerCase()&&(b=this.pattern(d||this.constraints));if(b!=this._lastRegExp){var a="";this._lastRegExp=b;".*"!=b&&b.replace(/\\.|\[\]|\[.*?[^\\]{1}\]|\{.*?\}|\(\?[=:!]|./g,
function(c){switch(c.charAt(0)){case "{":case "+":case "?":case "*":case "^":case "$":case "|":case "(":a+=c;break;case ")":a+="|$)";break;default:a+="(?:"+c+"|$)"}});try{"".search(a)}catch(c){a=this.pattern}this._partialre="^(?:"+a+")$"}return b},postMixInProperties:function(){this.inherited(arguments);this.messages=j.getLocalization("dijit.form","validate",this.lang);this._setConstraintsAttr(this.constraints)},_setDisabledAttr:function(d){this.inherited(arguments);this._refreshState()},_setRequiredAttr:function(d){this._set("required",
d);this.focusNode.setAttribute("aria-required",d);this._refreshState()},_setMessageAttr:function(d){this._set("message",d);this.displayMessage(d)},reset:function(){this._maskValidSubsetError=!0;this.inherited(arguments)},_onBlur:function(){this.displayMessage("");this.inherited(arguments)}})})},"dijit/form/TextBox":function(){require({cache:{"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'}});
define("dijit/form/TextBox","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(e,l,j,k,f,d,i,h,b,a){e=e("dijit.form.TextBox",[i,h],{templateString:b,_singleNodeTemplate:'<input class="dijit dijitReset dijitLeft dijitInputField" data-dojo-attach-point="textbox,focusNode" autocomplete="off" type="${type}" ${!nameAttrSetting} />',_buttonInputDisabled:d("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>d("ie")&&this.defer(function(){try{var a=j.getComputedStyle(this.domNode);if(a){var b=a.fontFamily;if(b){var d=this.domNode.getElementsByTagName("INPUT");
if(d)for(a=0;a<d.length;a++)d[a].style.fontFamily=b}}}catch(e){}})},_setPlaceHolderAttr:function(a){this._set("placeHolder",a);if(!this._phspan)this._attachPoints.push("_phspan"),this._phspan=l.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()},_onInput:function(a){this.inherited(arguments);this._updatePlaceHolder()},
_updatePlaceHolder:function(){if(this._phspan)this._phspan.style.display=this.placeHolder&&!this.textbox.value?"":"none"},_setValueAttr:function(a,b,d){this.inherited(arguments);this._updatePlaceHolder()},getDisplayedValue:function(){k.deprecated(this.declaredClass+"::getDisplayedValue() is deprecated. Use get('displayedValue') instead.","","2.0");return this.get("displayedValue")},setDisplayedValue:function(a){k.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(),d("mozilla")&&this.selectOnClick))this.textbox.selectionStart=this.textbox.selectionEnd=void 0},_onFocus:function(a){!this.disabled&&!this.readOnly&&(this.inherited(arguments),this._updatePlaceHolder())}});if(9>d("ie"))e.prototype._isTextSelected=function(){var a=this.ownerDocument.selection.createRange();return a.parentElement()==this.textbox&&0<a.text.length},a._setSelectionRange=
h._setSelectionRange=function(a,b,d){a.createTextRange&&(a=a.createTextRange(),a.collapse(!0),a.moveStart("character",-99999),a.moveStart("character",b),a.moveEnd("character",d-b),a.select())};return e})},"dijit/form/_FormValueWidget":function(){define("dijit/form/_FormValueWidget",["dojo/_base/declare","dojo/sniff","./_FormWidget","./_FormValueMixin"],function(e,l,j,k){return e("dijit.form._FormValueWidget",[j,k],{_layoutHackIE7:function(){if(7==l("ie"))for(var e=this.domNode,d=e.parentNode,i=e.firstChild||
e,h=i.style.filter,b=this;d&&0==d.clientHeight;)(function(){var a=b.connect(d,"onscroll",function(){b.disconnect(a);i.style.filter=(new Date).getMilliseconds();b.defer(function(){i.style.filter=h})})})(),d=d.parentNode}})})},"dijit/form/_FormValueMixin":function(){define("dijit/form/_FormValueMixin",["dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/sniff","./_FormWidgetMixin"],function(e,l,j,k,f){return e("dijit.form._FormValueMixin",f,{readOnly:!1,_setReadOnlyAttr:function(d){l.set(this.focusNode,
"readOnly",d);this._set("readOnly",d)},postCreate:function(){this.inherited(arguments);k("ie")&&this.connect(this.focusNode||this.domNode,"onkeydown",this._onKeyDown);if(void 0===this._resetValue)this._lastValueReported=this._resetValue=this.value},_setValueAttr:function(d,e){this._handleOnChange(d,e)},_handleOnChange:function(d,e){this._set("value",d);this.inherited(arguments)},undo:function(){this._setValueAttr(this._lastValueReported,!1)},reset:function(){this._hasBeenBlurred=!1;this._setValueAttr(this._resetValue,
!0)},_onKeyDown:function(d){if(d.keyCode==j.ESCAPE&&!d.ctrlKey&&!d.altKey&&!d.metaKey&&(9>k("ie")||k("ie")&&k("quirks"))){d.preventDefault();var e=d.srcElement,f=e.ownerDocument.createEventObject();f.keyCode=j.ESCAPE;f.shiftKey=d.shiftKey;e.fireEvent("onkeypress",f)}}})})},"dijit/form/_TextBoxMixin":function(){define("dijit/form/_TextBoxMixin","dojo/_base/array,dojo/_base/declare,dojo/dom,dojo/_base/event,dojo/keys,dojo/_base/lang,dojo/on,../main".split(","),function(e,l,j,k,f,d,i,h){var b=l("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,c,b){var d;void 0!==a&&(d=this.filter(a),"string"!=typeof b&&(b=null!==d&&("number"!=typeof d||!isNaN(d))?this.filter(this.format(d,this.constraints)):""));if(null!=b&&("number"!=typeof b||!isNaN(b))&&this.textbox.value!=b)this.textbox.value=b,this._set("displayedValue",this.get("displayedValue"));
"auto"==this.textDir&&this.applyTextDir(this.focusNode,b);this.inherited(arguments,[d,c])},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);this.intermediateChanges&&this.defer(function(){this._handleOnChange(this.get("value"),!1)})},_processInput:function(){this._refreshState();this._set("displayedValue",this.get("displayedValue"))},postCreate:function(){this.textbox.setAttribute("value",this.textbox.value);this.inherited(arguments);
this.own(i(this.textbox,"keydown, keypress, paste, cut, input, compositionend",d.hitch(this,function(a){var c;if("keydown"==a.type){c=a.keyCode;switch(c){case f.SHIFT:case f.ALT:case f.CTRL:case f.META:case f.CAPS_LOCK:case f.NUM_LOCK:case f.SCROLL_LOCK:return}if(!a.ctrlKey&&!a.metaKey&&!a.altKey){switch(c){case f.NUMPAD_0:case f.NUMPAD_1:case f.NUMPAD_2:case f.NUMPAD_3:case f.NUMPAD_4:case f.NUMPAD_5:case f.NUMPAD_6:case f.NUMPAD_7:case f.NUMPAD_8:case f.NUMPAD_9:case f.NUMPAD_MULTIPLY:case f.NUMPAD_PLUS:case f.NUMPAD_ENTER:case f.NUMPAD_MINUS:case f.NUMPAD_PERIOD:case f.NUMPAD_DIVIDE:return}if(65<=
c&&90>=c||48<=c&&57>=c||c==f.SPACE)return;c=!1;for(var b in f)if(f[b]===a.keyCode){c=!0;break}if(!c)return}}(c=32<=a.charCode?String.fromCharCode(a.charCode):a.charCode)||(c=65<=a.keyCode&&90>=a.keyCode||48<=a.keyCode&&57>=a.keyCode||a.keyCode==f.SPACE?String.fromCharCode(a.keyCode):a.keyCode);c||(c=229);if("keypress"==a.type){if("string"!=typeof c)return;if("a"<=c&&"z">=c||"A"<=c&&"Z">=c||"0"<=c&&"9">=c||" "===c)if(a.ctrlKey||a.metaKey||a.altKey)return}if("input"==a.type){if(this.__skipInputEvent){this.__skipInputEvent=
!1;return}}else this.__skipInputEvent=!0;var e={faux:!0},i;for(i in a)"layerX"!=i&&"layerY"!=i&&(b=a[i],"function"!=typeof b&&"undefined"!=typeof b&&(e[i]=b));d.mixin(e,{charOrCode:c,_wasConsumed:!1,preventDefault:function(){e._wasConsumed=!0;a.preventDefault()},stopPropagation:function(){a.stopPropagation()}});!1===this.onInput(e)&&(e.preventDefault(),e.stopPropagation());e._wasConsumed||this.defer(function(){this._onInput(e)})})))},_blankValue:"",filter:function(a){if(null===a)return this._blankValue;
if("string"!=typeof a)return a;this.trim&&(a=d.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()||b.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)}});b._setSelectionRange=h._setSelectionRange=function(a,c,b){a.setSelectionRange&&a.setSelectionRange(c,b)};b.selectInputText=h.selectInputText=function(a,c,d){a=j.byId(a);isNaN(c)&&(c=0);isNaN(d)&&(d=a.value?a.value.length:0);try{a.focus(),b._setSelectionRange(a,c,d)}catch(e){}};return b})},"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/Tooltip":function(){require({cache:{"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'}});define("dijit/Tooltip","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(e,l,j,k,f,d,i,h,b,a,c,g,n,p,o,s,m,t){var q=l("dijit._MasterTooltip",[p,o],{duration:g.defaultDuration,templateString:m,postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode);this.bgIframe=new s(this.domNode);this.fadeIn=j.fadeIn({node:this.domNode,duration:this.duration,onEnd:h.hitch(this,"_onShow")});this.fadeOut=j.fadeOut({node:this.domNode,duration:this.duration,onEnd:h.hitch(this,"_onHide")})},show:function(a,c,b,d,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=d?"right":"left";var f=n.around(this.domNode,c,b&&b.length?b:r.defaultPosition,!d,h.hitch(this,"orient")),g=f.aroundNodePos;"M"==f.corner.charAt(0)&&"M"==f.aroundCorner.charAt(0)?(this.connectorNode.style.top=g.y+(g.h-this.connectorNode.offsetHeight>>1)-f.y+"px",this.connectorNode.style.left=""):"M"==f.corner.charAt(1)&&"M"==f.aroundCorner.charAt(1)?this.connectorNode.style.left=
g.x+(g.w-this.connectorNode.offsetWidth>>1)-f.x+"px":(this.connectorNode.style.left="",this.connectorNode.style.top="");i.set(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=!0;this.aroundNode=c}},orient:function(a,b,e,f,g){this.connectorNode.style.top="";var i=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+"-"+e];this.domNode.style.width="auto";var h=d.position(this.domNode);if(c("ie")||c("trident"))h.w+=2;var j=Math.min(Math.max(f,1),h.w);d.setMarginBox(this.domNode,{w:j});"B"==e.charAt(0)&&"B"==b.charAt(0)?(a=d.position(a),b=this.connectorNode.offsetHeight,a.h>i?(this.connectorNode.style.top=i-(g.h+b>>1)+"px",this.connectorNode.style.bottom=""):
(this.connectorNode.style.bottom=Math.min(Math.max(g.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(c("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,c("ie")?a.outerText:a.textContent);e.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}});t.showTooltip=function(a,c,b,d,f){b&&(b=e.map(b,function(a){return{after:"after-centered",before:"before-centered"}[a]||a}));if(!r._masterTT)t._masterTT=
r._masterTT=new q;return r._masterTT.show(a,c,b,d,f)};t.hideTooltip=function(a){return r._masterTT&&r._masterTT.hide(a)};var r=l("dijit.Tooltip",p,{label:"",showDelay:400,connectId:[],position:[],selector:"",_setConnectIdAttr:function(c){e.forEach(this._connections||[],function(a){e.forEach(a,function(a){a.remove()})},this);this._connectIds=e.filter(h.isArrayLike(c)?c:c?[c]:[],function(a){return k.byId(a,this.ownerDocument)},this);this._connections=e.map(this._connectIds,function(c){var c=k.byId(c,
this.ownerDocument),d=this.selector,e=d?function(c){return a.selector(d,c)}:function(a){return a},f=this;return[a(c,e(b.enter),function(){f._onHover(this)}),a(c,e("focusin"),function(){f._onHover(this)}),a(c,e(b.leave),h.hitch(f,"_onUnHover")),a(c,e("focusout"),h.hitch(f,"_onUnHover"))]},this);this._set("connectId",c)},addTarget:function(a){a=a.id||a;-1==e.indexOf(this._connectIds,a)&&this.set("connectId",this._connectIds.concat(a))},removeTarget:function(a){a=e.indexOf(this._connectIds,a.id||a);
0<=a&&(this._connectIds.splice(a,1),this.set("connectId",this._connectIds))},buildRendering:function(){this.inherited(arguments);f.add(this.domNode,"dijitTooltipData")},startup:function(){this.inherited(arguments);var a=this.connectId;e.forEach(h.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 c=this.getContent(a);if(c)r.show(c,a,this.position,!this.isLeftToRight(),this.textDir),this._connectNode=a,this.onShow(a,this.position)},close:function(){this._connectNode&&(r.hide(this._connectNode),delete this._connectNode,this.onHide());this._showTimer&&(this._showTimer.remove(),delete this._showTimer)},onShow:function(){},onHide:function(){},destroy:function(){this.close();
e.forEach(this._connections||[],function(a){e.forEach(a,function(a){a.remove()})},this);this.inherited(arguments)}});r._MasterTooltip=q;r.show=t.showTooltip;r.hide=t.hideTooltip;r.defaultPosition=["after-centered","before-centered"];return r})},"dojo/_base/fx":function(){define("./kernel,./config,./lang,../Evented,./Color,./connect,./sniff,../dom,../dom-style".split(","),function(e,l,j,k,f,d,i,h,b){var a=j.mixin,c={},g=c._Line=function(a,c){this.start=a;this.end=c};g.prototype.getValue=function(a){return(this.end-
this.start)*a+this.start};var n=c.Animation=function(c){a(this,c);if(j.isArray(this.curve))this.curve=new g(this.curve[0],this.curve[1])};n.prototype=new k;j.extend(n,{duration:350,repeat:0,rate:20,_percent:0,_startRepeatCount:0,_getStep:function(){var a=this._percent,c=this.easing;return c?c(a):a},_fire:function(a,c){var b=c||[];if(this[a])if(l.debugAtAllCosts)this[a].apply(this,b);else try{this[a].apply(this,b)}catch(d){}return this},play:function(a,c){this._delayTimer&&this._clearTimer();if(c)this._stopTimer(),
this._active=this._paused=!1,this._percent=0;else if(this._active&&!this._paused)return this;this._fire("beforeBegin",[this.node]);var b=a||this.delay,d=j.hitch(this,"_play",c);if(0<b)return this._delayTimer=setTimeout(d,b),this;d();return this},_play:function(){this._delayTimer&&this._clearTimer();this._startTime=(new Date).valueOf();this._paused&&(this._startTime-=this.duration*this._percent);this._active=!0;this._paused=!1;var a=this.curve.getValue(this._getStep());if(!this._percent){if(!this._startRepeatCount)this._startRepeatCount=
this.repeat;this._fire("onBegin",[a])}this._fire("onPlay",[a]);this._cycle();return this},pause:function(){this._delayTimer&&this._clearTimer();this._stopTimer();if(!this._active)return this;this._paused=!0;this._fire("onPause",[this.curve.getValue(this._getStep())]);return this},gotoPercent:function(a,c){this._stopTimer();this._active=this._paused=!0;this._percent=a;c&&this.play();return this},stop:function(a){this._delayTimer&&this._clearTimer();if(!this._timer)return this;this._stopTimer();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 p=0,o=null,s={run:function(){}};j.extend(n,{_startTimer:function(){if(!this._timer)this._timer=d.connect(s,"run",this,"_cycle"),p++;o||(o=setInterval(j.hitch(s,"run"),this.rate))},
_stopTimer:function(){if(this._timer)d.disconnect(this._timer),this._timer=null,p--;0>=p&&(clearInterval(o),o=null,p=0)}});var m=i("ie")?function(a){var c=a.style;if(!c.width.length&&"auto"==b.get(a,"width"))c.width="auto"}:function(){};c._fade=function(e){e.node=h.byId(e.node);var f=a({properties:{}},e),e=f.properties.opacity={};e.start=!("start"in f)?function(){return+b.get(f.node,"opacity")||0}:f.start;e.end=f.end;e=c.animateProperty(f);d.connect(e,"beforeBegin",j.partial(m,f.node));return e};
c.fadeIn=function(b){return c._fade(a({end:1},b))};c.fadeOut=function(b){return c._fade(a({end:0},b))};c._defaultEasing=function(a){return 0.5+Math.sin((a+1.5)*Math.PI)/2};var t=function(a){this._properties=a;for(var c in a){var b=a[c];if(b.start instanceof f)b.tempColor=new f}};t.prototype.getValue=function(a){var c={},b;for(b in this._properties){var d=this._properties[b],e=d.start;e instanceof f?c[b]=f.blendColors(e,d.end,a,d.tempColor).toCss():j.isArray(e)||(c[b]=(d.end-e)*a+e+("opacity"!=b?d.units||
"px":0))}return c};c.animateProperty=function(c){var g=c.node=h.byId(c.node);if(!c.easing)c.easing=e._defaultEasing;c=new n(c);d.connect(c,"beforeBegin",c,function(){var c={},d;for(d in this.properties){if("width"==d||"height"==d)this.node.display="block";var e=this.properties[d];j.isFunction(e)&&(e=e(g));e=c[d]=a({},j.isObject(e)?e:{end:e});if(j.isFunction(e.start))e.start=e.start(g);if(j.isFunction(e.end))e.end=e.end(g);var i=0<=d.toLowerCase().indexOf("color"),h=function(a,c){var d={height:a.offsetHeight,
width:a.offsetWidth}[c];if(void 0!==d)return d;d=b.get(a,c);return"opacity"==c?+d:i?d:parseFloat(d)};if("end"in e){if(!("start"in e))e.start=h(g,d)}else e.end=h(g,d);i?(e.start=new f(e.start),e.end=new f(e.end)):e.start="opacity"==d?+e.start:parseFloat(e.start)}this.curve=new t(c)});d.connect(c,"onAnimate",j.hitch(b,"set",c.node));return c};c.anim=function(a,b,d,e,f,g){return c.animateProperty({node:a,duration:d||n.prototype.duration,properties:b,easing:e,onEnd:f}).play(g||0)};a(e,c);e._Animation=
n;return c})},"dojo/_base/Color":function(){define(["./kernel","./lang","./array","./config"],function(e,l,j,k){var f=e.Color=function(d){d&&this.setColor(d)};f.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:k.transparentColor||[0,0,0,0]};l.extend(f,{r:255,
g:255,b:255,a:1,_set:function(d,e,f,b){this.r=d;this.g=e;this.b=f;this.a=b},setColor:function(d){l.isString(d)?f.fromString(d,this):l.isArray(d)?f.fromArray(d,this):(this._set(d.r,d.g,d.b,d.a),d instanceof f||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"#"+j.map(["r","g","b"],function(d){d=this[d].toString(16);return 2>d.length?"0"+d:d},this).join("")},toCss:function(d){var e=
this.r+", "+this.g+", "+this.b;return(d?"rgba("+e+", "+this.a:"rgb("+e)+")"},toString:function(){return this.toCss(!0)}});f.blendColors=e.blendColors=function(d,e,h,b){var a=b||new f;j.forEach(["r","g","b","a"],function(c){a[c]=d[c]+(e[c]-d[c])*h;"a"!=c&&(a[c]=Math.round(a[c]))});return a.sanitize()};f.fromRgb=e.colorFromRgb=function(d,e){var h=d.toLowerCase().match(/^rgba?\(([\s\.,0-9]+)\)/);return h&&f.fromArray(h[1].split(/\s*,\s*/),e)};f.fromHex=e.colorFromHex=function(d,e){var h=e||new f,b=4==
d.length?4:8,a=(1<<b)-1,d=Number("0x"+d.substr(1));if(isNaN(d))return null;j.forEach(["b","g","r"],function(c){var e=d&a;d>>=b;h[c]=4==b?17*e:e});h.a=1;return h};f.fromArray=e.colorFromArray=function(d,e){var h=e||new f;h._set(Number(d[0]),Number(d[1]),Number(d[2]),Number(d[3]));if(isNaN(h.a))h.a=1;return h.sanitize()};f.fromString=e.colorFromString=function(d,e){var h=f.named[d];return h&&f.fromArray(h,e)||f.fromRgb(d,e)||f.fromHex(d,e)};return f})},"dijit/_base/manager":function(){define("dijit/_base/manager",
["dojo/_base/array","dojo/_base/config","dojo/_base/lang","../registry","../main"],function(e,l,j,k,f){var d={};e.forEach("byId,getUniqueId,findWidgets,_destroyAll,byNode,getEnclosingWidget".split(","),function(e){d[e]=k[e]});j.mixin(d,{defaultDuration:l.defaultDuration||200});j.mixin(f,d);return f})},"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/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',
"url:dijit/form/templates/DropDownBox.html":'<div class="dijit dijitReset dijitInline dijitLeft"\n\tid="widget_${id}"\n\trole="combobox"\n\taria-haspopup="true"\n\tdata-dojo-attach-point="_popupStateNode"\n\t><div class=\'dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton dijitArrowButtonContainer\'\n\t\tdata-dojo-attach-point="_buttonNode" role="presentation"\n\t\t><input class="dijitReset dijitInputField dijitArrowButtonInner" value="&#9660; " type="text" tabIndex="-1" readonly="readonly" role="button presentation" aria-hidden="true"\n\t\t\t${_buttonInputDisabled}\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\' ${!nameAttrSetting} type="text" autocomplete="off"\n\t\t\tdata-dojo-attach-point="textbox,focusNode" role="textbox"\n\t/></div\n></div>\n',
"dojox/widget/Calendar":function(){define(["dojo/_base/kernel","dojo/_base/declare","./_CalendarBase","./_CalendarDay","./_CalendarMonthYear"],function(e,l,j,k,f){e.experimental("dojox/widget/Calendar");return l("dojox.widget.Calendar",[j,k,f],{})})},"dojox/widget/_CalendarBase":function(){define("dijit/_WidgetBase,dijit/_TemplatedMixin,dijit/_Container,dijit/_WidgetsInTemplateMixin,dijit/typematic,dojo/_base/declare,dojo/date,dojo/date/stamp,dojo/date/locale,dojo/dom-style,dojo/dom-class,dojo/_base/fx,dojo/on,dojo/_base/array,dojo/_base/lang,dojo/text!./Calendar/Calendar.html".split(","),
function(e,l,j,k,f,d,i,h,b,a,c,g,n,p,o,s){return d("dojox.widget._CalendarBase",[e,l,j,k],{templateString:s,_views:null,useFx:!0,value:new Date,constraints:null,footerFormat:"medium",constructor:function(){this._views=[];this.value=new Date},_setConstraintsAttr:function(a){if(a=this.constraints=a){if("string"==typeof a.min)a.min=h.fromISOString(a.min);if("string"==typeof a.max)a.max=h.fromISOString(a.max)}},postMixInProperties:function(){this.inherited(arguments);this.value=this.parseInitialValue(this.value)},
parseInitialValue:function(a){if(!a||-1===a)return new Date;!a.getFullYear&&!isNaN(a)&&("string"==typeof this.value&&(a=parseInt(a)),a=this._makeDate(a));return a},_makeDate:function(a){return a},postCreate:function(){this.displayMonth=new Date(this.get("value"));if(this._isInvalidDate(this.displayMonth))this.displayMonth=new Date;var d={parent:this,_getValueAttr:o.hitch(this,function(){return new Date(this._internalValue||this.value)}),_getDisplayMonthAttr:o.hitch(this,function(){return new Date(this.displayMonth)}),
_getConstraintsAttr:o.hitch(this,function(){return this.constraints}),getLang:o.hitch(this,function(){return this.lang}),isDisabledDate:o.hitch(this,this.isDisabledDate),getClassForDate:o.hitch(this,this.getClassForDate),addFx:this.useFx?o.hitch(this,this.addFx):function(){}};p.forEach(this._views,function(c){var c=(new c(d)).placeAt(this),b=c.getHeader();b&&(this.header.appendChild(b),a.set(b,"display","none"));a.set(c.domNode,"visibility","hidden");c.on("valueSelected",o.hitch(this,"_onDateSelected"));
c.set("value",this.get("value"))},this);2>this._views.length&&a.set(this.header,"cursor","auto");this.inherited(arguments);this._children=this.getChildren();this._currentChild=0;this.footer.innerHTML="Today: "+b.format(new Date,{formatLength:this.footerFormat,selector:"date",locale:this.lang});n(this.footer,"click",o.hitch(this,"goToToday"));var e=this._children[0];a.set(e.domNode,"top","0px");a.set(e.domNode,"visibility","visible");e.getHeader()&&a.set(e.getHeader(),"display","");c.toggle(this.container,
"no-header",!e.useHeader);e.onDisplay();var g=this,e=function(a,c,b){f.addMouseListener(g[a],g,function(a){0<=a&&g._adjustDisplay(c,b)},0.8,500)};e("incrementMonth","month",1);e("decrementMonth","month",-1);this._updateTitleStyle()},addFx:function(){},_isInvalidDate:function(a){return!a||isNaN(a)||"object"!=typeof a||a.toString()==this._invalidDate},_setValueAttr:function(a){a||(a=new Date);a.getFullYear||(a=h.fromISOString(a+""));if(this._isInvalidDate(a))return!1;if(!this.value||i.compare(a,this.value)){a=
new Date(a);this.displayMonth=new Date(a);this._internalValue=a;if(!this.isDisabledDate(a,this.lang)&&0==this._currentChild)this.value=a,this.onChange(a);this._children&&0<this._children.length&&this._children[this._currentChild].set("value",this.value);return!0}return!1},isDisabledDate:function(a){var c=this.constraints,b=i.compare;return c&&(c.min&&0<b(c.min,a,"date")||c.max&&0>b(c.max,a,"date"))},onValueSelected:function(){},_onDateSelected:function(a,c){this.displayMonth=a;this.set("value",a);
this._transitionVert(-1)||(!c&&0!==c&&(c=this.get("value")),this.onValueSelected(c))},onChange:function(){},onHeaderClick:function(){this._transitionVert(1)},goToToday:function(){this.set("value",new Date);this.onValueSelected(this.get("value"))},_transitionVert:function(b){var d=this._children[this._currentChild],e=this._children[this._currentChild+b];if(!e)return!1;a.set(e.domNode,"visibility","visible");var f=a.get(this.containerNode,"height");e.set("value",this.displayMonth);d.header&&a.set(d.header,
"display","none");e.header&&a.set(e.header,"display","");a.set(e.domNode,"top",-1*f+"px");a.set(e.domNode,"visibility","visible");this._currentChild+=b;b*=f;a.set(e.domNode,"top",-1*b+"px");b=g.animateProperty({node:d.domNode,properties:{top:b},onEnd:function(){a.set(d.domNode,"visibility","hidden")}});f=g.animateProperty({node:e.domNode,properties:{top:0},onEnd:function(){e.onDisplay()}});c.toggle(this.container,"no-header",!e.useHeader);b.play();f.play();d.onBeforeUnDisplay();e.onBeforeDisplay();
this._updateTitleStyle();return!0},_updateTitleStyle:function(){c.toggle(this.header,"navToPanel",this._currentChild<this._children.length-1)},_slideTable:function(c,b,d){var c=c.domNode,e=c.cloneNode(!0),f=a.get(c,"width");c.parentNode.appendChild(e);a.set(c,"left",f*b+"px");d();b=g.animateProperty({node:e,properties:{left:-1*f*b},duration:500,onEnd:function(){e.parentNode.removeChild(e)}});d=g.animateProperty({node:c,properties:{left:0},duration:500});b.play();d.play()},_addView:function(a){this._views.push(a)},
getClassForDate:function(){},_adjustDisplay:function(a,c){var b=this._children[this._currentChild],d=this.displayMonth=b.adjustDate(this.displayMonth,c);this._slideTable(b,c,function(){b.set("value",d)})}})})},"dijit/_WidgetsInTemplateMixin":function(){define("dijit/_WidgetsInTemplateMixin",["dojo/_base/array","dojo/_base/declare","dojo/parser"],function(e,l,j){return l("dijit._WidgetsInTemplateMixin",null,{_earlyTemplatedStartup:!1,widgetsInTemplate:!0,_beforeFillContent:function(){if(this.widgetsInTemplate){var e=
this._startupWidgets=j.parse(this.domNode,{noStart:!this._earlyTemplatedStartup,template:!0,inherited:{dir:this.dir,lang:this.lang,textDir:this.textDir},propsThis:this,scope:"dojo"});if(!e.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(e,function(e,d){return e[d]})}},startup:function(){e.forEach(this._startupWidgets,
function(e){e&&!e._started&&e.startup&&e.startup()});this.inherited(arguments)}})})},"dijit/typematic":function(){define("dijit/typematic","dojo/_base/array,dojo/_base/connect,dojo/_base/event,dojo/_base/kernel,dojo/_base/lang,dojo/on,dojo/sniff,./main".split(","),function(e,l,j,k,f,d,i,h){var b=h.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(f.hitch(this,"_fireEventAndReload"),this._currentTimeout)},trigger:function(a,c,b,d,e,h,i,j){if(e!=this._obj){this.stop();this._initialDelay=i||500;this._subsequentDelay=h||0.9;this._minDelay=j||10;this._obj=e;this._node=b;this._count=this._currentTimeout=-1;this._callback=f.hitch(c,d);this._evt={faux:!0};for(var k in a)"layerX"!=k&&"layerY"!=k&&(c=a[k],"function"!=typeof c&&"undefined"!=
typeof c&&(this._evt[k]=c));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,c,g,h,i,o,s){if(c.keyCode)c.charOrCode=c.keyCode,k.deprecated("keyCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");else if(c.charCode)c.charOrCode=String.fromCharCode(c.charCode),k.deprecated("charCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.",
"","2.0");var m=[d(a,l._keypress,f.hitch(this,function(d){d.charOrCode==c.charOrCode&&(void 0===c.ctrlKey||c.ctrlKey==d.ctrlKey)&&(void 0===c.altKey||c.altKey==d.altKey)&&(void 0===c.metaKey||c.metaKey==(d.metaKey||!1))&&(void 0===c.shiftKey||c.shiftKey==d.shiftKey)?(j.stop(d),b.trigger(d,g,a,h,c,i,o,s)):b._obj==c&&b.stop()})),d(a,"keyup",f.hitch(this,function(){b._obj==c&&b.stop()}))];return{remove:function(){e.forEach(m,function(a){a.remove()})}}},addMouseListener:function(a,c,g,h,j,k){var l=[d(a,
"mousedown",f.hitch(this,function(d){d.preventDefault();b.trigger(d,c,a,g,a,h,j,k)})),d(a,"mouseup",f.hitch(this,function(a){this._obj&&a.preventDefault();b.stop()})),d(a,"mouseout",f.hitch(this,function(a){this._obj&&a.preventDefault();b.stop()})),d(a,"dblclick",f.hitch(this,function(d){d.preventDefault();9>i("ie")&&(b.trigger(d,c,a,g,a,h,j,k),setTimeout(f.hitch(this,b.stop),50))}))];return{remove:function(){e.forEach(l,function(a){a.remove()})}}},addListener:function(a,c,b,d,f,h,i,j){var k=[this.addKeyListener(c,
b,d,f,h,i,j),this.addMouseListener(a,d,f,h,i,j)];return{remove:function(){e.forEach(k,function(a){a.remove()})}}}};return b})},"url:dojox/widget/Calendar/Calendar.html":'<div class="dojoxCalendar">\n    <div tabindex="0" class="dojoxCalendarContainer" style="visibility: visible;" dojoAttachPoint="container">\n\t\t<div style="display:none">\n\t\t\t<div dojoAttachPoint="previousYearLabelNode"></div>\n\t\t\t<div dojoAttachPoint="nextYearLabelNode"></div>\n\t\t\t<div dojoAttachPoint="monthLabelSpacer"></div>\n\t\t</div>\n        <div class="dojoxCalendarHeader">\n            <div>\n                <div class="dojoxCalendarDecrease" dojoAttachPoint="decrementMonth"></div>\n            </div>\n            <div class="">\n                <div class="dojoxCalendarIncrease" dojoAttachPoint="incrementMonth"></div>\n            </div>\n            <div class="dojoxCalendarTitle" dojoAttachPoint="header" dojoAttachEvent="onclick: onHeaderClick">\n            </div>\n        </div>\n        <div class="dojoxCalendarBody" dojoAttachPoint="containerNode"></div>\n        <div class="">\n            <div class="dojoxCalendarFooter" dojoAttachPoint="footer">                        \n            </div>\n        </div>\n    </div>\n</div>\n',
"dojox/widget/_CalendarDay":function(){define(["dojo/_base/declare","./_CalendarDayView"],function(e,l){return e("dojox.widget._CalendarDay",null,{parent:null,constructor:function(){this._addView(l)}})})},"dojox/widget/_CalendarDayView":function(){define("dojo/_base/declare,./_CalendarView,dijit/_TemplatedMixin,dojo/query,dojo/dom-class,dojo/_base/event,dojo/date,dojo/date/locale,dojo/text!./Calendar/CalendarDay.html,dojo/cldr/supplemental,dojo/NodeList-dom".split(","),function(e,l,j,k,f,d,i,h,b,
a){return e("dojox.widget._CalendarDayView",[l,j],{templateString:b,datePart:"month",dayWidth:"narrow",postCreate:function(){this.cloneClass(".dijitCalendarDayLabelTemplate",6);this.cloneClass(".dijitCalendarDateTemplate",6);this.cloneClass(".dijitCalendarWeekTemplate",5);var c=h.getNames("days",this.dayWidth,"standAlone",this.getLang()),b=a.getFirstDayOfWeek(this.getLang());k(".dijitCalendarDayLabel",this.domNode).forEach(function(a,d){this._setText(a,c[(d+b)%7])},this)},onDisplay:function(){if(!this._addedFx)this._addedFx=
!0,this.addFx(".dijitCalendarDateTemplate div",this.domNode)},_onDayClick:function(a){if("undefined"!=typeof a.target._date){var b=new Date(this.get("displayMonth")),e=a.target.parentNode;(e=f.contains(e,"dijitCalendarPreviousMonth")?-1:f.contains(e,"dijitCalendarNextMonth")?1:0)&&(b=i.add(b,"month",e));b.setDate(a.target._date);this.isDisabledDate(b)?d.stop(a):this.parent._onDateSelected(b)}},_setValueAttr:function(){this._populateDays()},_populateDays:function(){var c=new Date(this.get("displayMonth"));
c.setDate(1);var b=c.getDay(),d=i.getDaysInMonth(c),e=i.getDaysInMonth(i.add(c,"month",-1)),f=new Date,j=this.get("value"),l=a.getFirstDayOfWeek(this.getLang());l>b&&(l-=7);var t=i.compare,q=this._lastDate,q=null==q||q.getMonth()!=c.getMonth()||q.getFullYear()!=c.getFullYear();this._lastDate=c;q?(k(".dijitCalendarDateTemplate",this.domNode).forEach(function(a,h){var h=h+l,q=new Date(c),u,w="dijitCalendar",J=0;h<b?(u=e-b+h+1,J=-1,w+="Previous"):h>=b+d?(u=h-b-d+1,J=1,w+="Next"):(u=h-b+1,w+="Current");
J&&(q=i.add(q,"month",J));q.setDate(u);t(q,f,"date")||(w="dijitCalendarCurrentDate "+w);!t(q,j,"date")&&!t(q,j,"month")&&!t(q,j,"year")&&(w="dijitCalendarSelectedDate "+w);this.isDisabledDate(q,this.getLang())&&(w=" dijitCalendarDisabledDate "+w);(u=this.getClassForDate(q,this.getLang()))&&(w=u+" "+w);a.className=w+"Month dijitCalendarDateTemplate";a.dijitDateValue=q.valueOf();w=k(".dijitCalendarDateLabel",a)[0];this._setText(w,q.getDate());w._date=w.parentNode._date=q.getDate()},this),this._setText(this.monthLabelNode,
h.getNames("months","wide","standAlone",this.getLang())[c.getMonth()]),this._setText(this.yearLabelNode,c.getFullYear())):k(".dijitCalendarDateTemplate",this.domNode).removeClass("dijitCalendarSelectedDate").filter(function(a){return-1<a.className.indexOf("dijitCalendarCurrent")&&a._date==j.getDate()}).addClass("dijitCalendarSelectedDate")}})})},"dojox/widget/_CalendarView":function(){define("dojo/_base/declare,dijit/_WidgetBase,dojo/dom-construct,dojo/query,dojo/date,dojo/_base/window".split(","),
function(e,l,j,k,f,d){return e("dojox.widget._CalendarView",l,{headerClass:"",useHeader:!0,cloneClass:function(d,e,b){var a=k(d,this.domNode)[0];if(b){b=k(d,this.domNode)[0];for(d=0;d<e;d++)a.parentNode.insertBefore(a.cloneNode(!0),b)}else for(d=0;d<e;d++)a.parentNode.appendChild(a.cloneNode(!0))},_setText:function(e,f){e.innerHTML!=f&&(j.empty(e),e.appendChild(d.doc.createTextNode(f)))},getHeader:function(){return this.header||(this.header=j.create("span",{"class":this.headerClass}))},onValueSelected:function(){},
adjustDate:function(d,e){return f.add(d,this.datePart,e)},onDisplay:function(){},onBeforeDisplay:function(){},onBeforeUnDisplay:function(){}})})},"url:dojox/widget/Calendar/CalendarDay.html":'<div class="dijitCalendarDayLabels" style="left: 0px;" dojoAttachPoint="dayContainer">\n\t<div dojoAttachPoint="header">\n\t\t<div dojoAttachPoint="monthAndYearHeader">\n\t\t\t<span dojoAttachPoint="monthLabelNode" class="dojoxCalendarMonthLabelNode"></span>\n\t\t\t<span dojoAttachPoint="headerComma" class="dojoxCalendarComma">,</span>\n\t\t\t<span dojoAttachPoint="yearLabelNode" class="dojoxCalendarDayYearLabel"></span>\n\t\t</div>\n\t</div>\n\t<table cellspacing="0" cellpadding="0" border="0" style="margin: auto;">\n\t\t<thead>\n\t\t\t<tr>\n\t\t\t\t<td class="dijitCalendarDayLabelTemplate"><div class="dijitCalendarDayLabel"></div></td>\n\t\t\t</tr>\n\t\t</thead>\n\t\t<tbody dojoAttachEvent="onclick: _onDayClick">\n\t\t\t<tr class="dijitCalendarWeekTemplate">\n\t\t\t\t<td class="dojoxCalendarNextMonth dijitCalendarDateTemplate">\n\t\t\t\t\t<div class="dijitCalendarDateLabel"></div>\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t</tbody>\n\t</table>\n</div>\n',
"dojo/NodeList-dom":function(){define("./_base/kernel,./query,./_base/array,./_base/lang,./dom-class,./dom-construct,./dom-geometry,./dom-attr,./dom-style".split(","),function(e,l,j,k,f,d,i,h,b){function a(a){return function(c,b,d){return 2==arguments.length?a["string"==typeof b?"get":"set"](c,b):a.set(c,b,d)}}var c=function(a){return 1==a.length&&"string"==typeof a[0]},g=function(a){var c=a.parentNode;c&&c.removeChild(a)},n=l.NodeList,p=n._adaptWithCondition,o=n._adaptAsForEach,s=n._adaptAsMap;k.extend(n,
{_normalize:function(a,c){var b=!0===a.parse;if("string"==typeof a.template)var f=a.templateFunc||e.string&&e.string.substitute,a=f?f(a.template,a):a;f=typeof a;"string"==f||"number"==f?(a=d.toDom(a,c&&c.ownerDocument),a=11==a.nodeType?k._toArray(a.childNodes):[a]):k.isArrayLike(a)?k.isArray(a)||(a=k._toArray(a)):a=[a];if(b)a._runParse=!0;return a},_cloneNode:function(a){return a.cloneNode(!0)},_place:function(a,c,b,f){if(!(1!=c.nodeType&&"only"==b))for(var g,h=a.length,i=h-1;0<=i;i--){var j=f?this._cloneNode(a[i]):
a[i];if(a._runParse&&e.parser&&e.parser.parse){g||(g=c.ownerDocument.createElement("div"));g.appendChild(j);e.parser.parse(g);for(j=g.firstChild;g.firstChild;)g.removeChild(g.firstChild)}i==h-1?d.place(j,c,b):c.parentNode.insertBefore(j,c);c=j}},position:s(i.position),attr:p(a(h),c),style:p(a(b),c),addClass:o(f.add),removeClass:o(f.remove),toggleClass:o(f.toggle),replaceClass:o(f.replace),empty:o(d.empty),removeAttr:o(h.remove),marginBox:s(i.getMarginBox),place:function(a,c){var b=l(a)[0];return this.forEach(function(a){d.place(a,
b,c)})},orphan:function(a){return(a?l._filterResult(this,a):this).forEach(g)},adopt:function(a,c){return l(a).place(this[0],c)._stash(this)},query:function(a){if(!a)return this;var c=new n;this.map(function(b){l(a,b).forEach(function(a){void 0!==a&&c.push(a)})});return c._stash(this)},filter:function(a){var c=arguments,b=this,d=0;if("string"==typeof a){b=l._filterResult(this,c[0]);if(1==c.length)return b._stash(this);d=1}return this._wrap(j.filter(b,c[d],c[d+1]),this)},addContent:function(a,c){for(var a=
this._normalize(a,this[0]),b=0,d;d=this[b];b++)this._place(a,d,c,0<b);return this}});return n})},"dojox/widget/_CalendarMonthYear":function(){define(["dojo/_base/declare","./_CalendarMonthYearView"],function(e,l){return e("dojox.widget._CalendarMonthYear",null,{constructor:function(){this._addView(l)}})})},"dojox/widget/_CalendarMonthYearView":function(){define("dojo/_base/declare,./_CalendarView,dijit/_TemplatedMixin,dojo/query,dojo/dom-class,dojo/_base/connect,dojo/_base/event,dojo/_base/lang,dojo/date/locale,dojo/text!./Calendar/CalendarMonthYear.html".split(","),
function(e,l,j,k,f,d,i,h,b,a){return e("dojox.widget._CalendarMonthYearView",[l,j],{templateString:a,datePart:"year",displayedYears:10,useHeader:!1,postCreate:function(){this.cloneClass(".dojoxCal-MY-G-Template",5,".dojoxCal-MY-btns");this.monthContainer=this.yearContainer=this.myContainer;k(".dojoxCalendarYearLabel",this.myContainer).forEach(function(a,b){var d="dojoxCalendarIncrease";switch(b){case 0:d="dojoxCalendarDecrease";case 1:f.remove(a,"dojoxCalendarYearLabel"),f.add(a,d)}});this._decBtn=
k(".dojoxCalendarDecrease",this.myContainer)[0];this._incBtn=k(".dojoxCalendarIncrease",this.myContainer)[0];k(".dojoxCal-MY-M-Template",this.domNode).filter(function(a){return 1==a.cellIndex}).addClass("dojoxCal-MY-M-last");d.connect(this,"onBeforeDisplay",h.hitch(this,function(){this._cachedDate=new Date(this.get("value").getTime());this._populateYears(this._cachedDate.getFullYear());this._populateMonths();this._updateSelectedMonth();this._updateSelectedYear()}));d.connect(this,"_populateYears",
h.hitch(this,function(){this._updateSelectedYear()}));d.connect(this,"_populateMonths",h.hitch(this,function(){this._updateSelectedMonth()}));this._cachedDate=this.get("value");this._populateYears();this._populateMonths();this.addFx(".dojoxCalendarMonthLabel,.dojoxCalendarYearLabel ",this.myContainer)},_setValueAttr:function(a){a&&a.getFullYear()&&this._populateYears(a.getFullYear())},getHeader:function(){return null},_getMonthNames:function(a){return this._monthNames=this._monthNames||b.getNames("months",
a,"standAlone",this.getLang())},_populateMonths:function(){var a=this._getMonthNames("abbr");k(".dojoxCalendarMonthLabel",this.monthContainer).forEach(h.hitch(this,function(b,d){this._setText(b,a[d])}));var b=this.get("constraints");if(b){(new Date).setFullYear(this._year);var d=-1,e=12;if(b.min){var i=b.min.getFullYear();i>this._year?d=12:i==this._year&&(d=b.min.getMonth())}b.max&&(i=b.max.getFullYear(),i<this._year?e=-1:i==this._year&&(e=b.max.getMonth()));k(".dojoxCalendarMonthLabel",this.monthContainer).forEach(h.hitch(this,
function(a,c){f[c<d||c>e?"add":"remove"](a,"dijitCalendarDisabledDate")}))}this.getHeader()&&this._setText(this.getHeader(),this.get("value").getFullYear())},_populateYears:function(a){var b=this.get("constraints"),d=a||this.get("value").getFullYear(),e=d-Math.floor(this.displayedYears/2),a=b&&b.min?b.min.getFullYear():e-1E4,e=Math.max(a,e);this._displayedYear=d;var d=k(".dojoxCalendarYearLabel",this.yearContainer),i=b&&b.max?b.max.getFullYear()-e:d.length;d.forEach(h.hitch(this,function(a,c){c<=
i&&this._setText(a,e+c);f.toggle(a,"dijitCalendarDisabledDate",c>i)}));this._incBtn&&f.toggle(this._incBtn,"dijitCalendarDisabledDate",i<d.length);this._decBtn&&f.toggle(this._decBtn,"dijitCalendarDisabledDate",a>=e);this.getHeader()&&this._setText(this.getHeader(),e+" - "+(e+11))},_updateSelectedYear:function(){this._year=""+(this._cachedDate||this.get("value")).getFullYear();this._updateSelectedNode(".dojoxCalendarYearLabel",h.hitch(this,function(a){return null!==this._year&&a.innerHTML==this._year}))},
_updateSelectedMonth:function(){var a=(this._cachedDate||this.get("value")).getMonth();this._month=a;this._updateSelectedNode(".dojoxCalendarMonthLabel",function(b,d){return d==a})},_updateSelectedNode:function(a,b){k(a,this.domNode).forEach(function(a,c,d){f.toggle(a.parentNode,"dijitCalendarSelectedDate",b(a,c,d))});var d=k(".dojoxCal-MY-M-Template div",this.myContainer).filter(function(a){return f.contains(a.parentNode,"dijitCalendarSelectedDate")})[0];d&&(d=f.contains(d,"dijitCalendarDisabledDate"),
f.toggle(this.okBtn,"dijitDisabled",d))},onClick:function(a){function b(d){return f.contains(a.target,d)}if(b("dijitCalendarDisabledDate"))return i.stop(a),!1;if(b("dojoxCalendarMonthLabel"))this._month=a.target.parentNode.cellIndex+2*a.target.parentNode.parentNode.rowIndex,this._cachedDate.setMonth(this._month),this._updateSelectedMonth();else if(b("dojoxCalendarYearLabel"))this._year=Number(a.target.innerHTML),this._cachedDate.setYear(this._year),this._populateMonths(),this._updateSelectedYear();
else return b("dojoxCalendarDecrease")?this._populateYears(this._displayedYear-10):b("dojoxCalendarIncrease")&&this._populateYears(this._displayedYear+10),!0;i.stop(a);return!1},onOk:function(a){i.stop(a);if(f.contains(this.okBtn,"dijitDisabled"))return!1;this.onValueSelected(this._cachedDate);return!1},onCancel:function(a){i.stop(a);this.onValueSelected(this.get("value"));return!1}})})},"url:dojox/widget/Calendar/CalendarMonthYear.html":'<div class="dojoxCal-MY-labels" style="left: 0px;"\t\n\tdojoAttachPoint="myContainer" dojoAttachEvent="onclick: onClick">\n\t\t<table cellspacing="0" cellpadding="0" border="0" style="margin: auto;">\n\t\t\t\t<tbody>\n\t\t\t\t\t\t<tr class="dojoxCal-MY-G-Template">\n\t\t\t\t\t\t\t\t<td class="dojoxCal-MY-M-Template">\n\t\t\t\t\t\t\t\t\t\t<div class="dojoxCalendarMonthLabel"></div>\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t<td class="dojoxCal-MY-M-Template">\n\t\t\t\t\t\t\t\t\t\t<div class="dojoxCalendarMonthLabel"></div>\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t<td class="dojoxCal-MY-Y-Template">\n\t\t\t\t\t\t\t\t\t\t<div class="dojoxCalendarYearLabel"></div>\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t<td class="dojoxCal-MY-Y-Template">\n\t\t\t\t\t\t\t\t\t\t<div class="dojoxCalendarYearLabel"></div>\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t </tr>\n\t\t\t\t\t\t <tr class="dojoxCal-MY-btns">\n\t\t\t\t\t\t \t <td class="dojoxCal-MY-btns" colspan="4">\n\t\t\t\t\t\t \t\t <span class="dijitReset dijitInline dijitButtonNode ok-btn" dojoAttachEvent="onclick: onOk" dojoAttachPoint="okBtn">\n\t\t\t\t\t\t \t \t \t <button\tclass="dijitReset dijitStretch dijitButtonContents">OK</button>\n\t\t\t\t\t\t\t\t </span>\n\t\t\t\t\t\t\t\t <span class="dijitReset dijitInline dijitButtonNode cancel-btn" dojoAttachEvent="onclick: onCancel" dojoAttachPoint="cancelBtn">\n\t\t\t\t\t\t \t \t\t <button\tclass="dijitReset dijitStretch dijitButtonContents">Cancel</button>\n\t\t\t\t\t\t\t\t </span>\n\t\t\t\t\t\t \t </td>\n\t\t\t\t\t\t </tr>\n\t\t\t\t</tbody>\n\t\t</table>\n</div>\n',
"url:chy/form/templates/DropDownBox.html":'<div class="dijit dijitReset dijitInline dijitLeft"\r\n\tid="widget_${id}"\r\n\trole="combobox"\r\n\t><div class=\'dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton dijitArrowButtonContainer\'\r\n\t\tdata-dojo-attach-point="_buttonNode, _popupStateNode" role="presentation"\r\n\t\t><span class="dijitInputField ${iconClass}" value="&#9660; " type="text" tabIndex="-1" readonly="readonly" role="presentation"\r\n\t\t\t${_buttonInputDisabled}\r\n\t/></div\r\n\t><div class=\'dijitReset dijitValidationContainer\'\r\n\t\t><input class="dijitReset dijitInputField dijitValidationIcon dijitValidationInner" value="&#935; " type="text" tabIndex="-1" readonly="readonly" role="presentation"\r\n\t/></div\r\n\t><div class="dijitReset dijitInputField dijitInputContainer"\r\n\t\t><input class=\'dijitReset dijitInputInner\' ${!nameAttrSetting} type="text" autocomplete="off"\r\n\t\t\tdata-dojo-attach-point="textbox,focusNode" role="textbox" aria-haspopup="true"\r\n\t/></div\r\n></div>\r\n',
"chy/form/TimeTextBox":function(){require({cache:{"url:chy/form/templates/DropDownBox.html":'<div class="dijit dijitReset dijitInline dijitLeft"\r\n\tid="widget_${id}"\r\n\trole="combobox"\r\n\t><div class=\'dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton dijitArrowButtonContainer\'\r\n\t\tdata-dojo-attach-point="_buttonNode, _popupStateNode" role="presentation"\r\n\t\t><span class="dijitInputField ${iconClass}" value="&#9660; " type="text" tabIndex="-1" readonly="readonly" role="presentation"\r\n\t\t\t${_buttonInputDisabled}\r\n\t/></div\r\n\t><div class=\'dijitReset dijitValidationContainer\'\r\n\t\t><input class="dijitReset dijitInputField dijitValidationIcon dijitValidationInner" value="&#935; " type="text" tabIndex="-1" readonly="readonly" role="presentation"\r\n\t/></div\r\n\t><div class="dijitReset dijitInputField dijitInputContainer"\r\n\t\t><input class=\'dijitReset dijitInputInner\' ${!nameAttrSetting} type="text" autocomplete="off"\r\n\t\t\tdata-dojo-attach-point="textbox,focusNode" role="textbox" aria-haspopup="true"\r\n\t/></div\r\n></div>\r\n'}});
define("chy/form/TimeTextBox",["dojo/_base/declare","dijit/form/TimeTextBox","dojo/text!./templates/DropDownBox.html"],function(e,l,j){return e("chy.form.TimeTextBox",l,{templateString:j,nameAttrSetting:"icon-chevron-down",iconClass:"fa fa-clock-o"})})},"dijit/form/TimeTextBox":function(){define("dijit/form/TimeTextBox",["dojo/_base/declare","dojo/keys","dojo/_base/lang","../_TimePicker","./_DateTimeTextBox"],function(e,l,j,k,f){return e("dijit.form.TimeTextBox",f,{baseClass:"dijitTextBox dijitComboBox dijitTimeTextBox",
popupClass:k,_selector:"time",value:new Date(""),_onKey:function(d){if(!this.disabled&&!this.readOnly)switch(this.inherited(arguments),d.keyCode){case l.ENTER:case l.TAB:case l.ESCAPE:case l.DOWN_ARROW:case l.UP_ARROW:break;default:this.defer(function(){var d=this.get("displayedValue");this.filterString=d&&!this.parse(d,this.constraints)?d.toLowerCase():"";this._opened&&this.closeDropDown();this.openDropDown()})}}})})},"dijit/_TimePicker":function(){require({cache:{"url:dijit/templates/TimePicker.html":'<div id="widget_${id}" class="dijitMenu"\n    ><div data-dojo-attach-point="upArrow" class="dijitButtonNode dijitUpArrowButton" data-dojo-attach-event="onmouseenter:_buttonMouse,onmouseleave:_buttonMouse"\n\t\t><div class="dijitReset dijitInline dijitArrowButtonInner" role="presentation">&#160;</div\n\t\t><div class="dijitArrowButtonChar">&#9650;</div></div\n    ><div data-dojo-attach-point="timeMenu,focusNode" data-dojo-attach-event="onclick:_onOptionSelected,onmouseover,onmouseout"></div\n    ><div data-dojo-attach-point="downArrow" class="dijitButtonNode dijitDownArrowButton" data-dojo-attach-event="onmouseenter:_buttonMouse,onmouseleave:_buttonMouse"\n\t\t><div class="dijitReset dijitInline dijitArrowButtonInner" role="presentation">&#160;</div\n\t\t><div class="dijitArrowButtonChar">&#9660;</div></div\n></div>\n'}});
define("dijit/_TimePicker","dojo/_base/array,dojo/date,dojo/date/locale,dojo/date/stamp,dojo/_base/declare,dojo/dom-class,dojo/dom-construct,dojo/_base/event,dojo/_base/kernel,dojo/keys,dojo/_base/lang,dojo/sniff,dojo/query,dojo/mouse,./typematic,./_Widget,./_TemplatedMixin,./form/_FormValueWidget,dojo/text!./templates/TimePicker.html".split(","),function(e,l,j,k,f,d,i,h,b,a,c,g,n,p,o,s,m,t,q){return f("dijit._TimePicker",[s,m],{templateString:q,baseClass:"dijitTimePicker",clickableIncrement:"T00:15:00",
visibleIncrement:"T01:00:00",visibleRange:"T05:00:00",value:new Date,_visibleIncrement:2,_clickableIncrement:1,_totalIncrements:10,constraints:{},serialize:k.toISOString,setValue:function(a){b.deprecated("dijit._TimePicker:setValue() is deprecated.  Use set('value', ...) instead.","","2.0");this.set("value",a)},_setValueAttr:function(a){this._set("value",a);this._showText()},_setFilterStringAttr:function(a){this._set("filterString",a);this._showText()},isDisabledDate:function(){return!1},_getFilteredNodes:function(a,
b,c,d){var e=[],d=d?d.date:this._refDate,f=a,g=this._maxIncrement+Math.abs(f),h=c?-1:1,i=c?1:0,j=1-i;do{f-=i;if(a=this._createOption(f)){if(c&&a.date>d||!c&&a.date<d)break;e[c?"unshift":"push"](a);d=a.date}f+=j}while(e.length<b&&f*h<g);return e},_showText:function(){var a=k.fromISOString;this.timeMenu.innerHTML="";this._clickableIncrementDate=a(this.clickableIncrement);this._visibleIncrementDate=a(this.visibleIncrement);this._visibleRangeDate=a(this.visibleRange);var b=function(a){return 3600*a.getHours()+
60*a.getMinutes()+a.getSeconds()},a=b(this._clickableIncrementDate),c=b(this._visibleIncrementDate),b=b(this._visibleRangeDate),d=(this.value||this.currentFocus).getTime();this._refDate=new Date(d-d%(1E3*a));this._refDate.setFullYear(1970,0,1);this._clickableIncrement=1;this._totalIncrements=b/a;this._visibleIncrement=c/a;this._maxIncrement=86400/a;b=Math.min(this._totalIncrements,10);a=this._getFilteredNodes(0,(b>>1)+1,!1);c=[];b-=a.length;d=this._getFilteredNodes(0,b,!0,a[0]);d.length<b&&0<a.length&&
(c=this._getFilteredNodes(a[a.length-1].idx+1,b-d.length,!1,a[a.length-1]));e.forEach(d.concat(a,c),function(a){this.timeMenu.appendChild(a)},this);if(!d.length&&!a.length&&!c.length&&this.filterString)this.filterString="",this._showText()},constructor:function(){this.constraints={}},postMixInProperties:function(){this.inherited(arguments);this._setConstraintsAttr(this.constraints)},_setConstraintsAttr:function(a){for(var b in{clickableIncrement:1,visibleIncrement:1,visibleRange:1})b in a&&(this[b]=
a[b]);if(!a.locale)a.locale=this.lang},postCreate:function(){this.connect(this.timeMenu,p.wheel,"_mouseWheeled");this.own(o.addMouseListener(this.upArrow,this,"_onArrowUp",33,250),o.addMouseListener(this.downArrow,this,"_onArrowDown",33,250));this.inherited(arguments)},_buttonMouse:function(a){d.toggle(a.currentTarget,a.currentTarget==this.upArrow?"dijitUpArrowHover":"dijitDownArrowHover","mouseenter"==a.type||"mouseover"==a.type)},_createOption:function(a){var b=new Date(this._refDate),c=this._clickableIncrementDate;
b.setTime(b.getTime()+36E5*c.getHours()*a+6E4*c.getMinutes()*a+1E3*c.getSeconds()*a);"time"==this.constraints.selector&&b.setFullYear(1970,0,1);c=j.format(b,this.constraints);if(this.filterString&&0!==c.toLowerCase().indexOf(this.filterString))return null;var e=this.ownerDocument.createElement("div");e.className=this.baseClass+"Item";e.date=b;e.idx=a;i.create("div",{"class":this.baseClass+"ItemInner",innerHTML:c},e);1>a%this._visibleIncrement&&-1<a%this._visibleIncrement?d.add(e,this.baseClass+"Marker"):
a%this._clickableIncrement||d.add(e,this.baseClass+"Tick");this.isDisabledDate(b)&&d.add(e,this.baseClass+"ItemDisabled");if(this.value&&!l.compare(this.value,b,this.constraints.selector))e.selected=!0,d.add(e,this.baseClass+"ItemSelected"),d.contains(e,this.baseClass+"Marker")?d.add(e,this.baseClass+"MarkerSelected"):d.add(e,this.baseClass+"TickSelected"),this._highlightOption(e,!0);return e},_onOptionSelected:function(a){if((a=a.target.date||a.target.parentNode.date)&&!this.isDisabledDate(a))this._highlighted_option=
null,this.set("value",a),this.onChange(a)},onChange:function(){},_highlightOption:function(a,b){if(a){if(b)this._highlighted_option&&this._highlightOption(this._highlighted_option,!1),this._highlighted_option=a;else{if(this._highlighted_option!==a)return;this._highlighted_option=null}d.toggle(a,this.baseClass+"ItemHover",b);d.contains(a,this.baseClass+"Marker")?d.toggle(a,this.baseClass+"MarkerHover",b):d.toggle(a,this.baseClass+"TickHover",b)}},onmouseover:function(a){this._keyboardSelected=null;
a=a.target.parentNode===this.timeMenu?a.target:a.target.parentNode;d.contains(a,this.baseClass+"Item")&&this._highlightOption(a,!0)},onmouseout:function(a){this._keyboardSelected=null;this._highlightOption(a.target.parentNode===this.timeMenu?a.target:a.target.parentNode,!1)},_mouseWheeled:function(a){this._keyboardSelected=null;h.stop(a);this[0<a.wheelDelta?"_onArrowUp":"_onArrowDown"]()},_onArrowUp:function(a){-1===a?d.remove(this.upArrow,"dijitUpArrowActive"):(0===a&&d.add(this.upArrow,"dijitUpArrowActive"),
this.timeMenu.childNodes.length&&(a=this._getFilteredNodes(this.timeMenu.childNodes[0].idx,1,!0,this.timeMenu.childNodes[0]),a.length&&(this.timeMenu.removeChild(this.timeMenu.childNodes[this.timeMenu.childNodes.length-1]),this.timeMenu.insertBefore(a[0],this.timeMenu.childNodes[0]))))},_onArrowDown:function(a){-1===a?d.remove(this.downArrow,"dijitDownArrowActive"):(0===a&&d.add(this.downArrow,"dijitDownArrowActive"),this.timeMenu.childNodes.length&&(a=this._getFilteredNodes(this.timeMenu.childNodes[this.timeMenu.childNodes.length-
1].idx+1,1,!1,this.timeMenu.childNodes[this.timeMenu.childNodes.length-1]),a.length&&(this.timeMenu.removeChild(this.timeMenu.childNodes[0]),this.timeMenu.appendChild(a[0]))))},handleKey:function(b){if(b.keyCode==a.DOWN_ARROW||b.keyCode==a.UP_ARROW){h.stop(b);if(this._highlighted_option&&!this._highlighted_option.parentNode)this._highlighted_option=null;var c=this.timeMenu,d=this._highlighted_option||n("."+this.baseClass+"ItemSelected",c)[0];d?c.childNodes.length&&(b.keyCode==a.DOWN_ARROW&&!d.nextSibling?
this._onArrowDown():b.keyCode==a.UP_ARROW&&!d.previousSibling&&this._onArrowUp(),d=b.keyCode==a.DOWN_ARROW?d.nextSibling:d.previousSibling):d=c.childNodes[0];this._highlightOption(d,!0);this._keyboardSelected=d;return!1}if(b.keyCode==a.ENTER||b.keyCode===a.TAB){if(!this._keyboardSelected&&b.keyCode===a.TAB)return!0;this._highlighted_option&&this._onOptionSelected({target:this._highlighted_option});return b.keyCode===a.TAB}}})})},"url:dijit/templates/TimePicker.html":'<div id="widget_${id}" class="dijitMenu"\n    ><div data-dojo-attach-point="upArrow" class="dijitButtonNode dijitUpArrowButton" data-dojo-attach-event="onmouseenter:_buttonMouse,onmouseleave:_buttonMouse"\n\t\t><div class="dijitReset dijitInline dijitArrowButtonInner" role="presentation">&#160;</div\n\t\t><div class="dijitArrowButtonChar">&#9650;</div></div\n    ><div data-dojo-attach-point="timeMenu,focusNode" data-dojo-attach-event="onclick:_onOptionSelected,onmouseover,onmouseout"></div\n    ><div data-dojo-attach-point="downArrow" class="dijitButtonNode dijitDownArrowButton" data-dojo-attach-event="onmouseenter:_buttonMouse,onmouseleave:_buttonMouse"\n\t\t><div class="dijitReset dijitInline dijitArrowButtonInner" role="presentation">&#160;</div\n\t\t><div class="dijitArrowButtonChar">&#9660;</div></div\n></div>\n',
"chy/store/Json":function(){define("chy/store/Json","dojo/store/util/QueryResults,dojo/_base/declare,dojo/_base/lang,dojo/_base/xhr,dojo/store/util/SimpleQueryEngine,dojo/store/api/Store,dojo/when".split(","),function(e,l,j,k,f,d){return l("chy.store.Json",null,{idProperty:"id",queryEngine:f,startLength:0,target:"",constructor:function(d){j.mixin(this,d||{})},query:function(f){var h=-1<this.target.indexOf("?");f&&"object"==typeof f&&(f=(f=k.objectToQuery(f))?(h?"&":"?")+f:"");h=f.split("=");2<=h.length&&
(h=h[1]);h=h.replace(/\*/g,"");return h.length>=this.startLength||0==h.length?(f=k("GET",{url:this.target+(f||""),handleAs:"json"}).then(function(b){return b.option?[].concat(b.option):[]}),e(f)):new d.QueryResults},getIdentity:function(d){return d[this.idProperty]},get:function(d){d=(-1<this.target.indexOf("?")?"&":"?")+"id="+d;return k("GET",{url:this.target+(d||""),handleAs:"json"}).then(function(d){d=d.option?[].concat(d.option):[];return 0<d.length?d[0]:d})}})})},"dojo/store/util/QueryResults":function(){define(["../../_base/array",
"../../_base/lang","../../_base/Deferred"],function(e,l,j){var k=function(f){function d(d){f[d]=function(){var b=arguments,a=j.when(f,function(a){Array.prototype.unshift.call(b,a);return k(e[d].apply(e,b))});if("forEach"!==d||i)return a}}if(!f)return f;var i=!!f.then;i&&(f=l.delegate(f));d("forEach");d("filter");d("map");if(null==f.total)f.total=j.when(f,function(d){return d.length});return f};l.setObject("dojo.store.util.QueryResults",k);return k})},"dojo/store/util/SimpleQueryEngine":function(){define(["../../_base/array"],
function(e){return function(l,j){function k(d){var d=e.filter(d,l),f=j&&j.sort;f&&d.sort("function"==typeof f?f:function(b,a){for(var c,d=0;c=f[d];d++){var e=b[c.attribute],h=a[c.attribute],e=null!=e?e.valueOf():e,h=null!=h?h.valueOf():h;if(e!=h)return!!c.descending==(null==e||e>h)?-1:1}return 0});if(j&&(j.start||j.count)){var h=d.length,d=d.slice(j.start||0,(j.start||0)+(j.count||Infinity));d.total=h}return d}switch(typeof l){default:throw Error("Can not query with a "+typeof l);case "object":case "undefined":var f=
l,l=function(d){for(var e in f){var h=f[e];if(h&&h.test){if(!h.test(d[e],d))return!1}else if(h!=d[e])return!1}return!0};break;case "string":if(!this[l])throw Error("No filter function "+l+" was found in store");l=this[l];case "function":}k.matches=l;return k}})},"dojo/store/api/Store":function(){define(["../../_base/declare"],function(e){var l=e(null,{idProperty:"id",queryEngine:null,get:function(){},getIdentity:function(){},put:function(){},add:function(){},remove:function(e){delete this.index[e];
for(var k=this.data,f=this.idProperty,d=0,i=k.length;d<i;d++)if(k[d][f]==e){k.splice(d,1);break}},query:function(){},transaction:function(){},getChildren:function(){},getMetadata:function(){}});l.PutDirectives=e(null,{});l.SortInformation=e(null,{});l.QueryOptions=e(null,{});l.QueryResults=e(null,{forEach:function(){},filter:function(){},map:function(){},then:function(){},observe:function(){},total:0});l.Transaction=e(null,{commit:function(){},abort:function(){}});return l})},"chy/widget/Calendar":function(){define("chy/widget/Calendar",
["dojo/_base/declare","dojox/widget/Calendar","dojo/date/stamp"],function(e,l,j){return e("chy.widget.Calendar",l,{_setValueAttr:function(e){if(!e)return!0;e.getFullYear||(e=j.fromISOString(e+""));if(this._isInvalidDate(e))return!1;e=new Date(e);this.displayMonth=new Date(e);this._internalValue=e;if(!this.isDisabledDate(e,this.lang)&&0==this._currentChild)this.value=e,this.onChange(e);this._children&&0<this._children.length&&this._children[this._currentChild].set("value",this.value);return!0}})})},
"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(e,l,j,k,f,d,i,h){i.isDebug&&j(["./_firebug/firebug"]);var b=i.require;b&&(b=d.map(f.isArray(b)?b:[b],function(a){return a.replace(/\./g,"/")}),e.isAsync?j(b):h(1,function(){j(b)}));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(e){return e})},"dojo/_base/NodeList":function(){define(["./kernel","../query","./array","./html","../NodeList-dom"],function(e,l,j){var l=l.NodeList,k=l.prototype;k.connect=l._adaptAsForEach(function(){return e.connect.apply(this,arguments)});k.coords=l._adaptAsMap(e.coords);l.events="blur,focus,change,click,error,keydown,keypress,keyup,load,mousedown,mouseenter,mouseleave,mousemove,mouseout,mouseover,mouseup,submit".split(",");
j.forEach(l.events,function(e){var d="on"+e;k[d]=function(e,f){return this.connect(d,e,f)}});return e.NodeList=l})},"*now":function(e){e(['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 e=this.require;e({cache:{}});!e.async&&e(["dojo"]);e.boot&&e.apply(null,e.boot)})();