jumbo-jekyll-theme 1.4.49 → 1.4.50

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e8da671a4b22840b3dc82892d989faa3add40bed
4
- data.tar.gz: 0ff9d3809832ba7b797efa902a36b2e1e1afcc02
3
+ metadata.gz: d0c7533a3ae505b6e115c5309a530b1edb08d658
4
+ data.tar.gz: c9a7231c29e5b849dda9a219a4b268d69c380362
5
5
  SHA512:
6
- metadata.gz: 0e1b3ce32cbc7518c25e97694eb7a4e9fcf023d3ef19b4b309de786102fa9c07681c5863cba67610bd45196f76cec87358550522e2571b8903a4ee8dadb813bc
7
- data.tar.gz: e294b9ac675f6f3e4fc72d1e5003c52e9823e6587fd7900a8a005e55b5db1cac0a3fb4297e85403e2c5790c8024ea1793f9f0105fcdb5e632666d1a074509a67
6
+ metadata.gz: 0640a908e0f8fa6ae81b9d991a351fe0bf53449dd4393279fbfdfd60c31945f32e5771a4c44917b030a03ba75ef64fd3cdfba1de328324a3631bc8972d52d35b
7
+ data.tar.gz: 40190986e882ae7715fce131c531e9e65f448cfa6664701d047ca5ebd2e8299074b2c03511def672f64187ac8dfc55c651f8a0bcd159ee873ab514fd6e590b5b
data/_data/settings.yml CHANGED
@@ -5,8 +5,7 @@ favicon: favicon.png
5
5
  # mailchimp:
6
6
  # enabled: true
7
7
  # id: af6cf590b0
8
- # unsubscribe-url: https://96boards.us3.list-manage.com/unsubscribe?u=14baaae786342d0d405ee59c2&id=e3d2abc041
9
- #
8
+
10
9
  # Footer Newsletter toggle.
11
10
  newsletter:
12
11
  enabled: false
@@ -30,6 +30,8 @@
30
30
  <span class="coloured-bp">&bull;</span>
31
31
  <a href="{{link.url}}">{{link.name}}</a>
32
32
  {% endfor %}
33
+ {% if site.data.newsletter.enabled %}
34
+ <a href="#" id="open-newsletter-popup">Subscribe to Newsletter</a>
33
35
  </div>
34
36
  <div class="col-md-6 social-footer-bottom text-right no-padding">
35
37
  {% if site.data.settings.facebook_username %}
@@ -0,0 +1,15 @@
1
+ <script type="text/javascript">
2
+
3
+ function showMailingPopUp() {
4
+ require(["mojo/signup-forms/Loader"], function(L) { L.start(
5
+ {"baseUrl":"mc.us8.list-manage.com","uuid":"a56ce2128001bdcb7974e9ea2","lid":"{{site.data.settings.mailchimp.id}}"}
6
+ ) })
7
+ };
8
+
9
+ $(function() {
10
+ $("#open-newsletter-popup").on('click', function() {
11
+ showMailingPopUp();
12
+ });
13
+ });
14
+
15
+ </script>
@@ -19,9 +19,7 @@ js-package: main
19
19
  {% include github-edit.html %}
20
20
 
21
21
  {% if site.data.settings.newsletter.enabled == true %}
22
- {% if page.url != "/search/" %}
23
- {% include newsletter.html %}
24
- {% endif %}
22
+ {% include newsletter-script.html %}
25
23
  {% endif %}
26
24
 
27
25
  {% include footer.html %}
@@ -8,7 +8,9 @@ $(document).mouseup(function(e)
8
8
  }
9
9
  });
10
10
 
11
+
11
12
  $(document).ready(function () {
13
+
12
14
  $('.dropdown-toggle').dropdown();
13
15
  var search_bar = $("div#search_bar");
14
16
  var search_icon = $("a#search_icon");
@@ -1,5 +1,6 @@
1
1
  //= require vendor/jquery
2
2
  //= require vendor/bootstrap
3
+ //= require vendor/mc
3
4
  //= require vendor/cookieconsent
4
5
  //= require vendor/lazysizes
5
6
 
@@ -1,5 +1,6 @@
1
1
  //= require vendor/jquery
2
2
  //= require vendor/bootstrap
3
+ //= require vendor/mc
3
4
  //= require vendor/cookieconsent
4
5
  //= require vendor/owl.carousel
5
6
  //= require vendor/lazysizes
@@ -10,5 +11,4 @@
10
11
  //= require app/main
11
12
  //= require app/scroll-to-anchors
12
13
  //= require app/tables
13
- //= require vendor/mc-validate
14
14
  //= require app/custom
@@ -1,5 +1,6 @@
1
1
  //= require vendor/jquery
2
2
  //= require vendor/bootstrap
3
+ //= require vendor/mc
3
4
  //= require vendor/cookieconsent
4
5
  //= require vendor/lazysizes
5
6
  //= require vendor/owl.carousel
@@ -8,5 +9,4 @@
8
9
  //= require app/sticky-tab-bar
9
10
  //= require app/home
10
11
  //= require app/tables
11
- //= require vendor/mc-validate
12
12
  //= require app/custom
@@ -1,10 +1,10 @@
1
1
  //= require vendor/jquery
2
2
  //= require vendor/bootstrap
3
+ //= require vendor/mc
3
4
  //= require vendor/cookieconsent
4
5
  //= require vendor/lazysizes
5
6
 
6
7
  //= require app/main
7
8
  //= require app/tables
8
9
  //= require app/sticky-tab-bar
9
- //= require vendor/mc-validate
10
10
  //= require app/custom
@@ -0,0 +1,255 @@
1
+ //>>built
2
+ (function(a,k){var f,n=function(){},c=function(b){for(var d in b)return 0;return 1},e={}.toString,h=function(b){return"[object Function]"==e.call(b)},g=function(b){return"[object String]"==e.call(b)},m=function(b){return"[object Array]"==e.call(b)},b=function(b,d){if(b)for(var a=0;a<b.length;)d(b[a++])},l=function(b,d){for(var a in d)b[a]=d[a];return b},q=function(b,d){return l(Error(b),{src:"dojoLoader",info:d})},d=1,y=function(){return"_"+d++},p=function(b,d,a){return Ma(b,d,a,0,p)},r=this,t=r.document,
3
+ x=t&&t.createElement("DiV"),v=p.has=function(b){return h(u[b])?u[b]=u[b](r,t,x):u[b]},u=v.cache=k.hasCache;v.add=function(b,d,a,l){(void 0===u[b]||l)&&(u[b]=d);return a&&v(b)};v.add("host-webworker","undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope);v("host-webworker")&&(l(k.hasCache,{"host-browser":0,dom:0,"dojo-dom-ready-api":0,"dojo-sniff":0,"dojo-inject-api":1,"host-webworker":1}),k.loaderPatch={injectUrl:function(b,d){try{importScripts(b),d()}catch(a){}}});for(var z in a.has)v.add(z,
4
+ a.has[z],0,1);var w=0,D=[],N=0,X=n,R=n,P;p.isXdUrl=n;p.initSyncLoader=function(b,d,a){N||(N=b,X=d,R=a);return{sync:"sync",requested:1,arrived:2,nonmodule:3,executing:4,executed:5,syncExecStack:D,modules:G,execQ:T,getModule:Y,injectModule:ra,setArrived:ga,signal:A,finishExec:ia,execModule:ja,dojoRequirePlugin:N,getLegacyMode:function(){return w},guardCheckComplete:ka}};var O=location.protocol,S=location.host;p.isXdUrl=function(b){return/^\./.test(b)?!1:/^\/\//.test(b)?!0:(b=b.match(/^([^\/\:]+\:)\/+([^\/]+)/))&&
5
+ (b[1]!=O||S&&b[2]!=S)};v.add("dojo-force-activex-xhr",!t.addEventListener&&"file:"==window.location.protocol);v.add("native-xhr","undefined"!=typeof XMLHttpRequest);if(v("native-xhr")&&!v("dojo-force-activex-xhr"))P=function(){return new XMLHttpRequest};else{var I=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],J;for(f=0;3>f;)try{if(J=I[f++],new ActiveXObject(J))break}catch(jb){}P=function(){return new ActiveXObject(J)}}p.getXhr=P;v.add("dojo-gettext-api",1);p.getText=function(b,d,a){var l=
6
+ P();l.open("GET",sa(b),!1);l.send(null);if(200==l.status||!location.host&&!l.status)a&&a(l.responseText,d);else throw q("xhrFailed",l.status);return l.responseText};var Q=new Function("return eval(arguments[0]);");p.eval=function(b,d){return Q(b+"\r\n//# sourceURL\x3d"+d)};var E={},A=p.signal=function(d,a){var l=E[d];b(l&&l.slice(0),function(b){b.apply(null,m(a)?a:[a])})},C=p.on=function(b,d){var a=E[b]||(E[b]=[]);a.push(d);return{remove:function(){for(var b=0;b<a.length;b++)if(a[b]===d){a.splice(b,
7
+ 1);break}}}},H=[],ea={},K=[],B={},L=p.map={},F=[],G={},V="",M={},aa={},W={},ba=0,ca=function(b){var d,a,l,q;for(d in aa)a=aa[d],(l=d.match(/^url\:(.+)/))?M["url:"+Na(l[1],b)]=a:"*now"==d?q=a:"*noref"!=d&&(l=la(d,b,!0),M[l.mid]=M["url:"+l.url]=a);q&&q(Ca(b));aa={}},Oa=function(b){return b.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(b){return"\\"+b})},Da=function(b,d){d.splice(0,d.length);for(var a in b)d.push([a,b[a],new RegExp("^"+Oa(a)+"(/|$)"),a.length]);d.sort(function(b,d){return d[3]-b[3]});
8
+ return d},ab=function(d,a){b(d,function(b){a.push([g(b[0])?new RegExp("^"+Oa(b[0])+"$"):b[0],b[1]])})},Pa=function(b){var d=b.name;d||(d=b,b={name:d});b=l({main:"main"},b);b.location=b.location?b.location:d;b.packageMap&&(L[d]=b.packageMap);b.main.indexOf("./")||(b.main=b.main.substring(2));B[d]=b},Qa=[],ma=function(d,a,q){for(var c in d){"waitSeconds"==c&&(p.waitms=1E3*(d[c]||0));"cacheBust"==c&&(V=d[c]?g(d[c])?d[c]:(new Date).getTime()+"":"");if("baseUrl"==c||"combo"==c)p[c]=d[c];if("async"==c){var e=
9
+ d[c];p.legacyMode=w=g(e)&&/sync|legacyAsync/.test(e)?e:e?!1:"sync";p.async=!w}d[c]!==u&&(p.rawConfig[c]=d[c],"has"!=c&&v.add("config-"+c,d[c],0,a))}p.baseUrl||(p.baseUrl="./");/\/$/.test(p.baseUrl)||(p.baseUrl+="/");for(c in d.has)v.add(c,d.has[c],0,a);b(d.packages,Pa);for(var h in d.packagePaths)b(d.packagePaths[h],function(b){var d=h+"/"+b;g(b)&&(b={name:b});b.location=d;Pa(b)});Da(l(L,d.map),F);b(F,function(b){b[1]=Da(b[1],[]);"*"==b[0]&&(F.star=b)});Da(l(ea,d.paths),K);ab(d.aliases,H);if(a)Qa.push({config:d.config});
10
+ else for(c in d.config)a=Y(c,q),a.config=l(a.config||{},d.config[c]);d.cache&&(ca(),aa=d.cache,d.cache["*noref"]&&ca());A("config",[d,p.rawConfig])};v("dojo-cdn");var ta=t.getElementsByTagName("script");f=0;for(var Z,fa,ua,na;f<ta.length;)if(Z=ta[f++],(ua=Z.getAttribute("src"))&&(na=ua.match(/(((.*)\/)|^)dojo\.js(\W|$)/i))&&(fa=na[3]||"",k.baseUrl=k.baseUrl||fa,ba=Z),ua=Z.getAttribute("data-dojo-config")||Z.getAttribute("djConfig"))W=p.eval("({ "+ua+" })","data-dojo-config"),ba=Z;p.rawConfig={};ma(k,
11
+ 1);v("dojo-cdn")&&((B.dojo.location=fa)&&(fa+="/"),B.dijit.location=fa+"../dijit/",B.dojox.location=fa+"../dojox/");ma(a,1);ma(W,1);var oa=function(d){ka(function(){b(d.deps,ra)})},Ma=function(b,d,a,c,e){var h;if(g(b)){if((h=Y(b,c,!0))&&h.executed)return h.result;throw q("undefinedModule",b);}m(b)||(ma(b,0,c),b=d,d=a);if(m(b))if(b.length){a="require*"+y();for(var f,r=[],N=0;N<b.length;)f=b[N++],r.push(Y(f,c));h=l(va("",a,0,""),{injected:2,deps:r,def:d||n,require:c?c.require:p,gc:1});G[h.mid]=h;oa(h);
12
+ var v=pa&&"sync"!=w;ka(function(){ja(h,v)});h.executed||T.push(h);ha()}else d&&d();return e},Ca=function(b){if(!b)return p;var d=b.require;d||(d=function(a,l,q){return Ma(a,l,q,b,d)},b.require=l(d,p),d.module=b,d.toUrl=function(d){return Na(d,b)},d.toAbsMid=function(d){return Ea(d,b)},d.syncLoadNls=function(d){d=la(d,b);var a=G[d.mid];if(!a||!a.executed)if(da=M[d.mid]||M["url:"+d.url])wa(da),a=G[d.mid];return a&&a.executed&&a.result});return d},T=[],xa=[],U={},bb=function(b){b.injected=1;U[b.mid]=
13
+ 1;b.url&&(U[b.url]=b.pack||1);Ra()},ga=function(b){b.injected=2;delete U[b.mid];b.url&&delete U[b.url];c(U)&&(ya(),"xd"==w&&(w="sync"))},cb=p.idle=function(){return!xa.length&&c(U)&&!T.length&&!pa},Fa=function(b,d){if(d)for(var a=0;a<d.length;a++)if(d[a][2].test(b))return d[a];return 0},Sa=function(b){var d=[],a,l;for(b=b.replace(/\\/g,"/").split("/");b.length;)a=b.shift(),".."==a&&d.length&&".."!=l?(d.pop(),l=d[d.length-1]):"."!=a&&d.push(l=a);return d.join("/")},va=function(b,d,a,l){var q=p.isXdUrl(l);
14
+ return{pid:b,mid:d,pack:a,url:l,executed:0,def:0,isXd:q,isAmd:!!(q||B[b]&&B[b].isAmd)}},Ta=function(d,a,l,c,e,g,f,m,y){var r,N,p,k;k=/^\./.test(d);if(/(^\/)|(\:)|(\.js$)/.test(d)||k&&!a)return va(0,d,0,d);d=Sa(k?a.mid+"/../"+d:d);if(/^\./.test(d))throw q("irrationalPath",d);a&&(p=Fa(a.mid,g));(p=(p=p||g.star)&&Fa(d,p[1]))&&(d=p[1]+d.substring(p[3]));a=(na=d.match(/^([^\/]+)(\/(.+))?$/))?na[1]:"";(r=l[a])?d=a+"/"+(N=na[3]||r.main):a="";var n=0;b(m,function(b){var a=d.match(b[0]);a&&0<a.length&&(n=
15
+ h(b[1])?d.replace(b[0],b[1]):b[1])});if(n)return Ta(n,0,l,c,e,g,f,m,y);if(l=c[d])return y?va(l.pid,l.mid,l.pack,l.url):c[d];c=(p=Fa(d,f))?p[1]+d.substring(p[3]):a?r.location+"/"+N:v("config-tlmSiblingOfDojo")?"../"+d:d;/(^\/)|(\:)/.test(c)||(c=e+c);return va(a,d,r,Sa(c+".js"))},la=function(b,d,a){return Ta(b,d,B,G,p.baseUrl,a?[]:F,a?[]:K,a?[]:H)},Ua=function(b,d,a){return b.normalize?b.normalize(d,function(b){return Ea(b,a)}):Ea(d,a)},Va=0,Y=function(b,d,a){var l,q;(l=b.match(/^(.+?)\!(.*)$/))?(q=
16
+ Y(l[1],d,a),"sync"!=w||q.executed||(ra(q),2!==q.injected||q.executed||ka(function(){ja(q)}),q.executed?za(q):T.unshift(q)),5!==q.executed||q.load||za(q),q.load?(l=Ua(q,l[2],d),b=q.mid+"!"+(q.dynamic?++Va+"!":"")+l):(l=l[2],b=q.mid+"!"+ ++Va+"!waitingForPlugin"),b={plugin:q,mid:b,req:Ca(d),prid:l}):b=la(b,d);return G[b.mid]||!a&&(G[b.mid]=b)},Ea=p.toAbsMid=function(b,d){return la(b,d).mid},Na=p.toUrl=function(b,d){var a=la(b+"/x",d),l=a.url;return sa(0===a.pid?b:l.substring(0,l.length-5))},Wa={injected:2,
17
+ executed:5,def:3,result:3},Ga=function(b){return G[b]=l({mid:b},Wa)},db=Ga("require"),eb=Ga("exports"),fb=Ga("module"),Aa={},Ha=0,za=function(b){var d=b.result;b.dynamic=d.dynamic;b.normalize=d.normalize;b.load=d.load;return b},gb=function(d){var a={};b(d.loadQ,function(b){var q=Ua(d,b.prid,b.req.module),c=d.dynamic?b.mid.replace(/waitingForPlugin$/,q):d.mid+"!"+q,q=l(l({},b),{mid:c,prid:q,injected:0});G[c]||Xa(G[c]=q);a[b.mid]=G[c];ga(b);delete G[b.mid]});d.loadQ=0;var q=function(b){for(var d=b.deps||
18
+ [],l=0;l<d.length;l++)(b=a[d[l].mid])&&(d[l]=b)},c;for(c in G)q(G[c]);b(T,q)},ia=function(d){p.trace("loader-finish-exec",[d.mid]);d.executed=5;d.defOrder=Ha++;b(d.provides,function(b){b()});d.loadQ&&(za(d),gb(d));for(f=0;f<T.length;)T[f]===d?T.splice(f,1):f++;/^require\*/.test(d.mid)&&delete G[d.mid]},hb=[],ja=function(b,d){if(4===b.executed)return p.trace("loader-circular-dependency",[hb.concat(b.mid).join("-\x3e")]),!b.def||d?Aa:b.cjs&&b.cjs.exports;if(!b.executed){if(!b.def)return Aa;var a=b.mid,
19
+ l=b.deps||[],c,e=[],g=0;for(b.executed=4;c=l[g++];){c=c===db?Ca(b):c===eb?b.cjs.exports:c===fb?b.cjs:ja(c,d);if(c===Aa)return b.executed=0,p.trace("loader-exec-module",["abort",a]),Aa;e.push(c)}p.trace("loader-run-factory",[b.mid]);var a=b.def,f;D.unshift(b);if(v("config-dojo-loader-catches"))try{f=h(a)?a.apply(null,e):a}catch(m){A("error",b.result=q("factoryThrew",[b,m]))}else f=h(a)?a.apply(null,e):a;b.result=void 0===f&&b.cjs?b.cjs.exports:f;D.shift(b);ia(b)}return b.result},pa=0,ka=function(b){try{pa++,
20
+ b()}catch(d){}finally{pa--}cb()&&A("idle",[])},ha=function(){pa||ka(function(){X();for(var b,d,a=0;a<T.length;)b=Ha,d=T[a],ja(d),b!=Ha?(X(),a=0):a++})};void 0===v("dojo-loader-eval-hint-url")&&v.add("dojo-loader-eval-hint-url",1);var sa="function"==typeof a.fixupUrl?a.fixupUrl:function(b){b+="";return b+(V?(/\?/.test(b)?"\x26":"?")+V:"")},Xa=function(b){var d=b.plugin;5!==d.executed||d.load||za(d);var a=function(d){b.result=d;ga(b);ia(b);ha()};d.load?d.load(b.prid,b.req,a):d.loadQ?d.loadQ.push(b):
21
+ (d.loadQ=[b],T.unshift(d),ra(d))},da=0,qa=0,Ia=0,wa=function(b,d){v("config-stripStrict")&&(b=b.replace(/"use strict"/g,""));Ia=1;if(v("config-dojo-loader-catches"))try{b===da?da.call(null):p.eval(b,v("dojo-loader-eval-hint-url")?d.url:d.mid)}catch(a){A("error",q("evalModuleThrew",d))}else b===da?da.call(null):p.eval(b,v("dojo-loader-eval-hint-url")?d.url:d.mid);Ia=0},ra=function(d){var a=d.mid,c=d.url;if(!(d.executed||d.injected||U[a]||d.url&&(d.pack&&U[d.url]===d.pack||1==U[d.url])))if(bb(d),d.plugin)Xa(d);
22
+ else{var e=function(){Ya(d);if(2!==d.injected){if(v("dojo-enforceDefine")){A("error",q("noDefine",d));return}ga(d);l(d,Wa);p.trace("loader-define-nonmodule",[d.url])}w?!D.length&&ha():ha()};if(da=M[a]||M["url:"+d.url])p.trace("loader-inject",["cache",d.mid,c]),wa(da,d),e();else{if(w)if(d.isXd)"sync"==w&&(w="xd");else if(!d.isAmd||"sync"==w){var g=function(l){if("sync"==w){D.unshift(d);wa(l,d);D.shift();Ya(d);d.cjs||(ga(d),ia(d));if(d.finish){l=a+"*finish";var q=d.finish;delete d.finish;Ja(l,["dojo",
23
+ ("dojo/require!"+q.join(",")).replace(/\./g,"/")],function(d){b(q,function(b){d.require(b)})});T.unshift(Y(l))}e()}else(l=R(d,l))?(wa(l,d),e()):(qa=d,p.injectUrl(sa(c),e,d),qa=0)};p.trace("loader-inject",["xhr",d.mid,c,"sync"!=w]);if(v("config-dojo-loader-catches"))try{p.getText(c,"sync"!=w,g)}catch(h){A("error",q("xhrInjectFailed",[d,h]))}else p.getText(c,"sync"!=w,g);return}p.trace("loader-inject",["script",d.mid,c]);qa=d;p.injectUrl(sa(c),e,d);qa=0}}},Ka=function(b,d,a){p.trace("loader-define-module",
24
+ [b.mid,d]);var c=b.mid;if(2===b.injected)return A("error",q("multipleDefine",b)),b;l(b,{deps:d,def:a,cjs:{id:b.mid,uri:b.url,exports:b.result={},setExports:function(d){b.cjs.exports=d},config:function(){return b.config}}});for(var e=0;d[e];e++)d[e]=Y(d[e],b);w&&!U[c]&&(oa(b),T.push(b),ha());ga(b);h(a)||d.length||(b.result=a,ia(b));return b},Ya=function(d,a){for(var l=[],q,c;xa.length;)c=xa.shift(),a&&(c[0]=a.shift()),q=c[0]&&Y(c[0])||d,l.push([q,c[1],c[2]]);ca(d);b(l,function(b){oa(Ka.apply(null,
25
+ b))})},Ba=0,ya=n,Ra=n,ya=function(){Ba&&clearTimeout(Ba);Ba=0},Ra=function(){ya();p.waitms&&(Ba=r.setTimeout(function(){ya();A("error",q("timeout",U))},p.waitms))};v.add("ie-event-behavior",t.attachEvent&&"undefined"===typeof Windows&&("undefined"===typeof opera||"[object Opera]"!=opera.toString()));var La=function(b,d,a,l){if(v("ie-event-behavior"))return b.attachEvent(a,l),function(){b.detachEvent(a,l)};b.addEventListener(d,l,!1);return function(){b.removeEventListener(d,l,!1)}},ib=La(window,"load",
26
+ "onload",function(){p.pageLoaded=1;"complete"!=t.readyState&&(t.readyState="complete");ib()}),ta=t.getElementsByTagName("script");for(f=0;!ba;)/^dojo/.test((Z=ta[f++])&&Z.type)||(ba=Z);p.injectUrl=function(b,d,a){a=a.node=t.createElement("script");var l=La(a,"load","onreadystatechange",function(b){b=b||window.event;var a=b.target||b.srcElement;if("load"===b.type||/complete|loaded/.test(a.readyState))l(),c(),d&&d()}),c=La(a,"error","onerror",function(d){l();c();A("error",q("scriptError",[b,d]))});
27
+ a.type="text/javascript";a.charset="utf-8";a.src=b;ba.parentNode.insertBefore(a,ba);return a};p.log=function(){try{for(var b=0;b<arguments.length;b++);}catch(d){}};p.trace=n;var Ja=function(b,d,a){var l=arguments.length,c=["require","exports","module"],e=[0,b,d];1==l?e=[0,h(b)?c:[],b]:2==l&&g(b)?e=[b,h(d)?c:[],d]:3==l&&(e=[b,d,a]);p.trace("loader-define",e.slice(0,2));if((l=e[0]&&Y(e[0]))&&!U[l.mid])oa(Ka(l,e[1],e[2]));else if(!v("ie-event-behavior")||Ia)xa.push(e);else{l=l||qa;if(!l)for(b in U)if((c=
28
+ G[b])&&c.node&&"interactive"===c.node.readyState){l=c;break}l?(ca(l),oa(Ka(l,e[1],e[2]))):A("error",q("ieDefineFailed",e[0]));ha()}};Ja.amd={vendor:"dojotoolkit.org"};l(l(p,k.loaderPatch),a.loaderPatch);C("error",function(b){try{if(b instanceof Error)for(var d in b);}catch(a){}});l(p,{uid:y,cache:M,packs:B});if(r.define)A("error",q("defineAlreadyDefined",0));else{r.define=Ja;r.require=p;b(Qa,function(b){ma(b)});var Za=W.deps||a.deps||k.deps,$a=W.callback||a.callback||k.callback;p.boot=Za||$a?[Za||
29
+ [],$a]:0}})(this.dojoConfig||this.djConfig||this.require||{},{async:0,hasCache:{"config-selectorEngine":"acme","config-tlmSiblingOfDojo":1,"dojo-built":1,"dojo-loader":1,dom:1,"host-browser":1},packages:[{location:".",name:"dojo"},{location:"../dijit",name:"dijit"},{location:"../dojox",name:"dojox"},{location:"../mojo",name:"mojo"}]});
30
+ require({cache:{"dojo/main":function(){define("./_base/kernel ./has require ./sniff ./_base/lang ./_base/array ./_base/config ./ready ./_base/declare ./_base/connect ./_base/Deferred ./_base/json ./_base/Color ./has!dojo-firebug?./_firebug/firebug ./_base/browser ./_base/loader".split(" "),function(a,k,f,n,c,e,h,g){h.isDebug&&f(["./_firebug/firebug"]);var m=h.require;m&&(m=e.map(c.isArray(m)?m:[m],function(b){return b.replace(/\./g,"/")}),a.isAsync?f(m):g(1,function(){f(m)}));return a})},"dojo/_base/kernel":function(){define(["../has",
31
+ "./config","require","module"],function(a,k,f,n){var c,e;c=function(){return this}();var h={},g={},m={config:k,global:c,dijit:h,dojox:g},h={dojo:["dojo",m],dijit:["dijit",h],dojox:["dojox",g]};n=f.map&&f.map[n.id.match(/[^\/]+/)[0]];for(e in n)h[e]?h[e][0]=n[e]:h[e]=[n[e],{}];for(e in h)n=h[e],n[1]._scopeName=n[0],k.noGlobals||(c[n[0]]=n[1]);m.scopeMap=h;m.baseUrl=m.config.baseUrl=f.baseUrl;m.isAsync=f.async;m.locale=k.locale;c="$Rev: f4fef70 $".match(/[0-9a-f]{7,}/);m.version={major:1,minor:10,patch:4,
32
+ flag:"",revision:c?c[0]:NaN,toString:function(){var b=m.version;return b.major+"."+b.minor+"."+b.patch+b.flag+" ("+b.revision+")"}};Function("d","d.eval \x3d function(){return d.global.eval ? d.global.eval(arguments[0]) : eval(arguments[0]);}")(m);m.exit=function(){};"undefined"!=typeof console||(console={});n="assert count debug dir dirxml error group groupEnd info profile profileEnd time timeEnd trace warn log".split(" ");var b;for(c=0;b=n[c++];)console[b]||function(){var a=b+"";console[a]="log"in
33
+ console?function(){var b=Array.prototype.slice.call(arguments);b.unshift(a+":");console.log(b.join(" "))}:function(){};console[a]._fake=!0}();a.add("dojo-debug-messages",!!k.isDebug);m.deprecated=m.experimental=function(){};a("dojo-debug-messages")&&(m.deprecated=function(b,a,d){},m.experimental=function(b,a){});if(k.modulePaths){m.deprecated("dojo.modulePaths","use paths configuration");a={};for(e in k.modulePaths)a[e.replace(/\./g,"/")]=k.modulePaths[e];f({paths:a})}m.moduleUrl=function(b,a){m.deprecated("dojo.moduleUrl()",
34
+ "use require.toUrl","2.0");var d=null;b&&(d=f.toUrl(b.replace(/\./g,"/")+(a?"/"+a:"")+"/*.*").replace(/\/\*\.\*/,"")+(a?"":"/"));return d};m._hasResource={};return m})},"dojo/has":function(){define(["require","module"],function(a,k){var f=a.has||function(){};f.add("dom-addeventlistener",!!document.addEventListener);f.add("touch","ontouchstart"in document||"onpointerdown"in document&&0<navigator.maxTouchPoints||window.navigator.msMaxTouchPoints);f.add("touch-events","ontouchstart"in document);f.add("pointer-events",
35
+ "pointerEnabled"in window.navigator?window.navigator.pointerEnabled:"PointerEvent"in window);f.add("MSPointer",window.navigator.msPointerEnabled);f.add("device-width",screen.availWidth||innerWidth);var n=document.createElement("form");f.add("dom-attributes-explicit",0==n.attributes.length);f.add("dom-attributes-specified-flag",0<n.attributes.length&&40>n.attributes.length);f.clearElement=function(a){a.innerHTML="";return a};f.normalize=function(a,e){var h=a.match(/[\?:]|[^:\?]*/g),g=0,m=function(b){var a=
36
+ h[g++];if(":"==a)return 0;if("?"==h[g++]){if(!b&&f(a))return m();m(!0);return m(b)}return a||0};return(a=m())&&e(a)};f.load=function(a,e,h){a?e([a],h):h()};return f})},"dojo/_base/config":function(){define(["../has","require"],function(a,k){var f={},n=k.rawConfig,c;for(c in n)f[c]=n[c];!f.locale&&"undefined"!=typeof navigator&&(n=navigator.language||navigator.userLanguage)&&(f.locale=n.toLowerCase());return f})},"dojo/sniff":function(){define(["./has"],function(a){var k=navigator,f=k.userAgent,k=
37
+ k.appVersion,n=parseFloat(k);a.add("air",0<=f.indexOf("AdobeAIR"));a.add("msapp",parseFloat(f.split("MSAppHost/")[1])||void 0);a.add("khtml",0<=k.indexOf("Konqueror")?n:void 0);a.add("webkit",parseFloat(f.split("WebKit/")[1])||void 0);a.add("chrome",parseFloat(f.split("Chrome/")[1])||void 0);a.add("safari",0<=k.indexOf("Safari")&&!a("chrome")?parseFloat(k.split("Version/")[1]):void 0);a.add("mac",0<=k.indexOf("Macintosh"));a.add("quirks","BackCompat"==document.compatMode);if(f.match(/(iPhone|iPod|iPad)/)){var c=
38
+ RegExp.$1.replace(/P/,"p"),e=f.match(/OS ([\d_]+)/)?RegExp.$1:"1",e=parseFloat(e.replace(/_/,".").replace(/_/g,""));a.add(c,e);a.add("ios",e)}a.add("android",parseFloat(f.split("Android ")[1])||void 0);a.add("bb",(0<=f.indexOf("BlackBerry")||0<=f.indexOf("BB10"))&&parseFloat(f.split("Version/")[1])||void 0);a.add("trident",parseFloat(k.split("Trident/")[1])||void 0);a.add("svg","undefined"!==typeof SVGAngle);a("webkit")||(0<=f.indexOf("Opera")&&a.add("opera",9.8<=n?parseFloat(f.split("Version/")[1])||
39
+ n:n),0<=f.indexOf("Gecko")&&!a("khtml")&&!a("webkit")&&!a("trident")&&a.add("mozilla",n),a("mozilla")&&a.add("ff",parseFloat(f.split("Firefox/")[1]||f.split("Minefield/")[1])||void 0),document.all&&!a("opera")&&(f=parseFloat(k.split("MSIE ")[1])||void 0,(k=document.documentMode)&&5!=k&&Math.floor(f)!=k&&(f=k),a.add("ie",f)),a.add("wii","undefined"!=typeof opera&&opera.wiiremote));return a})},"dojo/_base/lang":function(){define(["./kernel","../has","../sniff"],function(a,k){k.add("bug-for-in-skips-shadowed",
40
+ function(){for(var b in{toString:1})return 0;return 1});var f=k("bug-for-in-skips-shadowed")?"hasOwnProperty valueOf isPrototypeOf propertyIsEnumerable toLocaleString toString constructor".split(" "):[],n=f.length,c=function(b,l,q){q||(q=b[0]&&a.scopeMap[b[0]]?a.scopeMap[b.shift()][1]:a.global);try{for(var d=0;d<b.length;d++){var c=b[d];if(!(c in q))if(l)q[c]={};else return;q=q[c]}return q}catch(e){}},e=Object.prototype.toString,h=function(b,a,q){return(q||[]).concat(Array.prototype.slice.call(b,
41
+ a||0))},g=/\{([^\}]+)\}/g,m={_extraNames:f,_mixin:function(b,a,q){var d,c,e,g={};for(d in a)c=a[d],d in b&&(b[d]===c||d in g&&g[d]===c)||(b[d]=q?q(c):c);if(k("bug-for-in-skips-shadowed")&&a)for(e=0;e<n;++e)d=f[e],c=a[d],d in b&&(b[d]===c||d in g&&g[d]===c)||(b[d]=q?q(c):c);return b},mixin:function(b,a){b||(b={});for(var c=1,d=arguments.length;c<d;c++)m._mixin(b,arguments[c]);return b},setObject:function(b,a,q){var d=b.split(".");b=d.pop();return(q=c(d,!0,q))&&b?q[b]=a:void 0},getObject:function(b,
42
+ a,q){return c(b?b.split("."):[],a,q)},exists:function(b,a){return void 0!==m.getObject(b,!1,a)},isString:function(b){return"string"==typeof b||b instanceof String},isArray:function(b){return b&&(b instanceof Array||"array"==typeof b)},isFunction:function(b){return"[object Function]"===e.call(b)},isObject:function(b){return void 0!==b&&(null===b||"object"==typeof b||m.isArray(b)||m.isFunction(b))},isArrayLike:function(b){return b&&void 0!==b&&!m.isString(b)&&!m.isFunction(b)&&!(b.tagName&&"form"==
43
+ b.tagName.toLowerCase())&&(m.isArray(b)||isFinite(b.length))},isAlien:function(b){return b&&!m.isFunction(b)&&/\{\s*\[native code\]\s*\}/.test(String(b))},extend:function(b,a){for(var c=1,d=arguments.length;c<d;c++)m._mixin(b.prototype,arguments[c]);return b},_hitchArgs:function(b,l){var c=m._toArray(arguments,2),d=m.isString(l);return function(){var e=m._toArray(arguments),g=d?(b||a.global)[l]:l;return g&&g.apply(b||this,c.concat(e))}},hitch:function(b,l){if(2<arguments.length)return m._hitchArgs.apply(a,
44
+ arguments);l||(l=b,b=null);if(m.isString(l)){b=b||a.global;if(!b[l])throw['lang.hitch: scope["',l,'"] is null (scope\x3d"',b,'")'].join("");return function(){return b[l].apply(b,arguments||[])}}return b?function(){return l.apply(b,arguments||[])}:l},delegate:function(){function b(){}return function(a,c){b.prototype=a;var d=new b;b.prototype=null;c&&m._mixin(d,c);return d}}(),_toArray:k("ie")?function(){function b(b,a,d){d=d||[];for(a=a||0;a<b.length;a++)d.push(b[a]);return d}return function(a){return(a.item?
45
+ b:h).apply(this,arguments)}}():h,partial:function(b){return m.hitch.apply(a,[null].concat(m._toArray(arguments)))},clone:function(b){if(!b||"object"!=typeof b||m.isFunction(b))return b;if(b.nodeType&&"cloneNode"in b)return b.cloneNode(!0);if(b instanceof Date)return new Date(b.getTime());if(b instanceof RegExp)return new RegExp(b);var a,c,d;if(m.isArray(b))for(a=[],c=0,d=b.length;c<d;++c)c in b&&a.push(m.clone(b[c]));else a=b.constructor?new b.constructor:{};return m._mixin(a,b,m.clone)},trim:String.prototype.trim?
46
+ function(b){return b.trim()}:function(b){return b.replace(/^\s\s*/,"").replace(/\s\s*$/,"")},replace:function(b,a,c){return b.replace(c||g,m.isFunction(a)?a:function(b,c){return m.getObject(c,!1,a)})}};m.mixin(a,m);return m})},"dojo/_base/array":function(){define(["./kernel","../has","./lang"],function(a,k,f){function n(b){return h[b]=new Function("item","index","array",b)}function c(b){var a=!b;return function(c,d,e){var g=0,f=c&&c.length||0,m;f&&"string"==typeof c&&(c=c.split(""));"string"==typeof d&&
47
+ (d=h[d]||n(d));if(e)for(;g<f;++g){if(m=!d.call(e,c[g],g,c),b^m)return!m}else for(;g<f;++g)if(m=!d(c[g],g,c),b^m)return!m;return a}}function e(b){var a=1,c=0,d=0;b||(a=c=d=-1);return function(e,h,f,k){if(k&&0<a)return m.lastIndexOf(e,h,f);k=e&&e.length||0;var n=b?k+d:c;f===g?f=b?c:k+d:0>f?(f=k+f,0>f&&(f=c)):f=f>=k?k+d:f;for(k&&"string"==typeof e&&(e=e.split(""));f!=n;f+=a)if(e[f]==h)return f;return-1}}var h={},g,m={every:c(!1),some:c(!0),indexOf:e(!0),lastIndexOf:e(!1),forEach:function(b,a,c){var d=
48
+ 0,e=b&&b.length||0;e&&"string"==typeof b&&(b=b.split(""));"string"==typeof a&&(a=h[a]||n(a));if(c)for(;d<e;++d)a.call(c,b[d],d,b);else for(;d<e;++d)a(b[d],d,b)},map:function(b,a,c,d){var e=0,g=b&&b.length||0;d=new (d||Array)(g);g&&"string"==typeof b&&(b=b.split(""));"string"==typeof a&&(a=h[a]||n(a));if(c)for(;e<g;++e)d[e]=a.call(c,b[e],e,b);else for(;e<g;++e)d[e]=a(b[e],e,b);return d},filter:function(b,a,c){var d=0,e=b&&b.length||0,g=[],f;e&&"string"==typeof b&&(b=b.split(""));"string"==typeof a&&
49
+ (a=h[a]||n(a));if(c)for(;d<e;++d)f=b[d],a.call(c,f,d,b)&&g.push(f);else for(;d<e;++d)f=b[d],a(f,d,b)&&g.push(f);return g},clearCache:function(){h={}}};f.mixin(a,m);return m})},"dojo/ready":function(){define(["./_base/kernel","./has","require","./domReady","./_base/lang"],function(a,k,f,n,c){var e=0,h=[],g=0;k=function(){e=1;a._postLoad=a.config.afterOnLoad=!0;m()};var m=function(){if(!g){for(g=1;e&&(!n||0==n._Q.length)&&(f.idle?f.idle():1)&&h.length;){var b=h.shift();try{b()}catch(d){if(d.info=d.message,
50
+ f.signal)f.signal("error",d);else throw d;}}g=0}};f.on&&f.on("idle",m);n&&(n._onQEmpty=m);var b=a.ready=a.addOnLoad=function(b,d,e){var l=c._toArray(arguments);"number"!=typeof b?(e=d,d=b,b=1E3):l.shift();e=e?c.hitch.apply(a,l):function(){d()};e.priority=b;for(l=0;l<h.length&&b>=h[l].priority;l++);h.splice(l,0,e);m()},l=a.config.addOnLoad;if(l)b[c.isArray(l)?"apply":"call"](a,l);a.config.parseOnLoad&&!a.isAsync&&b(99,function(){a.parser||(a.deprecated("Add explicit require(['dojo/parser']);","","2.0"),
51
+ f(["dojo/parser"]))});n?n(k):k();return b})},"dojo/domReady":function(){define(["./has"],function(a){function k(b){m.push(b);g&&f()}function f(){if(!b){for(b=!0;m.length;)try{m.shift()(c)}catch(d){}b=!1;k._onQEmpty()}}var n=function(){return this}(),c=document,e={loaded:1,complete:1},h="string"!=typeof c.readyState,g=!!e[c.readyState],m=[],b;k.load=function(b,d,a){k(a)};k._Q=m;k._onQEmpty=function(){};h&&(c.readyState="loading");if(!g){var l=[],q=function(b){b=b||n.event;g||"readystatechange"==b.type&&
52
+ !e[c.readyState]||(h&&(c.readyState="complete"),g=1,f())},d=function(b,d){b.addEventListener(d,q,!1);m.push(function(){b.removeEventListener(d,q,!1)})};if(!a("dom-addeventlistener")){var d=function(b,d){d="on"+d;b.attachEvent(d,q);m.push(function(){b.detachEvent(d,q)})},y=c.createElement("div");try{y.doScroll&&null===n.frameElement&&l.push(function(){try{return y.doScroll("left"),1}catch(b){}})}catch(r){}}d(c,"DOMContentLoaded");d(n,"load");"onreadystatechange"in c?d(c,"readystatechange"):h||l.push(function(){return e[c.readyState]});
53
+ if(l.length){var p=function(){if(!g){for(var b=l.length;b--;)if(l[b]()){q("poller");return}setTimeout(p,30)}};p()}}return k})},"dojo/_base/declare":function(){define(["./kernel","../has","./lang"],function(a,k,f){function n(b,d){throw Error("declare"+(d?" "+d:"")+": "+b);}function c(b,d,a){var c,e,l,g,q,f,h,m=this._inherited=this._inherited||{};"string"==typeof b&&(c=b,b=d,d=a);a=0;g=b.callee;(c=c||g.nom)||n("can't deduce a name to call inherited()",this.declaredClass);q=this.constructor._meta;l=
54
+ q.bases;h=m.p;if("constructor"!=c){if(m.c!==g&&(h=0,f=l[0],q=f._meta,q.hidden[c]!==g)){(e=q.chains)&&"string"==typeof e[c]&&n("calling chained method with inherited: "+c,this.declaredClass);do if(q=f._meta,e=f.prototype,q&&(e[c]===g&&e.hasOwnProperty(c)||q.hidden[c]===g))break;while(f=l[++h]);h=f?h:-1}if(f=l[++h])if(e=f.prototype,f._meta&&e.hasOwnProperty(c))a=e[c];else{g=u[c];do if(e=f.prototype,(a=e[c])&&(f._meta?e.hasOwnProperty(c):a!==g))break;while(f=l[++h])}a=f&&a||u[c]}else{if(m.c!==g&&(h=
55
+ 0,(q=l[0]._meta)&&q.ctor!==g)){for((e=q.chains)&&"manual"===e.constructor||n("calling chained constructor with inherited",this.declaredClass);(f=l[++h])&&(!(q=f._meta)||q.ctor!==g););h=f?h:-1}for(;(f=l[++h])&&!(a=(q=f._meta)?q.ctor:f););a=f&&a}m.c=a;m.p=h;if(a)return!0===d?a:a.apply(this,d||b)}function e(b,d){return"string"==typeof b?this.__inherited(b,d,!0):this.__inherited(b,!0)}function h(b,d,a){var c=this.getInherited(b,d);if(c)return c.apply(this,a||d||b)}function g(b){for(var d=this.constructor._meta.bases,
56
+ a=0,c=d.length;a<c;++a)if(d[a]===b)return!0;return this instanceof b}function m(b,d){for(var a in d)"constructor"!=a&&d.hasOwnProperty(a)&&(b[a]=d[a]);if(k("bug-for-in-skips-shadowed"))for(var c=f._extraNames,e=c.length;e;)a=c[--e],"constructor"!=a&&d.hasOwnProperty(a)&&(b[a]=d[a])}function b(b){x.safeMixin(this.prototype,b);return this}function l(b,d){b instanceof Array||"function"==typeof b||(d=b,b=void 0);d=d||{};b=b||[];return x([this].concat(b),d)}function q(b,d){return function(){var a=arguments,
57
+ c=a,e=a[0],l,g;g=b.length;var f;if(!(this instanceof a.callee))return t(a);if(d&&(e&&e.preamble||this.preamble))for(f=Array(b.length),f[0]=a,l=0;;){(e=a[0])&&(e=e.preamble)&&(a=e.apply(this,a)||a);e=b[l].prototype;(e=e.hasOwnProperty("preamble")&&e.preamble)&&(a=e.apply(this,a)||a);if(++l==g)break;f[l]=a}for(l=g-1;0<=l;--l)e=b[l],(e=(g=e._meta)?g.ctor:e)&&e.apply(this,f?f[l]:a);(e=this.postscript)&&e.apply(this,c)}}function d(b,d){return function(){var a=arguments,c=a,e=a[0];if(!(this instanceof a.callee))return t(a);
58
+ d&&(e&&(e=e.preamble)&&(c=e.apply(this,c)||c),(e=this.preamble)&&e.apply(this,c));b&&b.apply(this,a);(e=this.postscript)&&e.apply(this,a)}}function y(b){return function(){var d=arguments,a=0,c,e;if(!(this instanceof d.callee))return t(d);for(;c=b[a];++a)if(c=(e=c._meta)?e.ctor:c){c.apply(this,d);break}(c=this.postscript)&&c.apply(this,d)}}function p(b,d,a){return function(){var c,e,l=0,g=1;a&&(l=d.length-1,g=-1);for(;c=d[l];l+=g)e=c._meta,(c=(e?e.hidden:c.prototype)[b])&&c.apply(this,arguments)}}
59
+ function r(b){w.prototype=b.prototype;b=new w;w.prototype=null;return b}function t(b){var d=b.callee,a=r(d);d.apply(a,b);return a}function x(a,h,k){"string"!=typeof a&&(k=h,h=a,a="");k=k||{};var t,w,I,J,Q,E,A,C=1,H=h;if("[object Array]"==z.call(h)){C=a;w=[];I=[{cls:0,refs:[]}];J={};E=1;for(var ea=h.length,K=0,B,L,F,G;K<ea;++K){(B=h[K])?"[object Function]"!=z.call(B)&&n("mixin #"+K+" is not a callable constructor.",C):n("mixin #"+K+" is unknown. Did you use dojo.require to pull it in?",C);L=B._meta?
60
+ B._meta.bases:[B];F=0;for(B=L.length-1;0<=B;--B)G=L[B].prototype,G.hasOwnProperty("declaredClass")||(G.declaredClass="uniqName_"+D++),G=G.declaredClass,J.hasOwnProperty(G)||(J[G]={count:0,refs:[],cls:L[B]},++E),G=J[G],F&&F!==G&&(G.refs.push(F),++F.count),F=G;++F.count;I[0].refs.push(F)}for(;I.length;){F=I.pop();w.push(F.cls);for(--E;t=F.refs,1==t.length;){F=t[0];if(!F||--F.count){F=0;break}w.push(F.cls);--E}if(F)for(K=0,ea=t.length;K<ea;++K)F=t[K],--F.count||I.push(F)}E&&n("can't build consistent linearization",
61
+ C);B=h[0];w[0]=B?B._meta&&B===w[w.length-B._meta.bases.length]?B._meta.bases.length:1:0;E=w;I=E[0];C=E.length-I;h=E[C]}else E=[0],h?"[object Function]"==z.call(h)?(I=h._meta,E=E.concat(I?I.bases:h)):n("base class is not a callable constructor.",a):null!==h&&n("unknown base class. Did you use dojo.require to pull it in?",a);if(h)for(w=C-1;;--w){t=r(h);if(!w)break;I=E[w];(I._meta?m:v)(t,I.prototype);J=new Function;J.superclass=h;J.prototype=t;h=t.constructor=J}else t={};x.safeMixin(t,k);I=k.constructor;
62
+ I!==u.constructor&&(I.nom="constructor",t.constructor=I);for(w=C-1;w;--w)(I=E[w]._meta)&&I.chains&&(A=v(A||{},I.chains));t["-chains-"]&&(A=v(A||{},t["-chains-"]));I=!A||!A.hasOwnProperty("constructor");E[0]=J=A&&"manual"===A.constructor?y(E):1==E.length?d(k.constructor,I):q(E,I);J._meta={bases:E,hidden:k,chains:A,parents:H,ctor:k.constructor};J.superclass=h&&h.prototype;J.extend=b;J.createSubclass=l;J.prototype=t;t.constructor=J;t.getInherited=e;t.isInstanceOf=g;t.inherited=N;t.__inherited=c;a&&(t.declaredClass=
63
+ a,f.setObject(a,J));if(A)for(Q in A)t[Q]&&"string"==typeof A[Q]&&"constructor"!=Q&&(I=t[Q]=p(Q,E,"after"===A[Q]),I.nom=Q);return J}var v=f.mixin,u=Object.prototype,z=u.toString,w=new Function,D=0,N=a.config.isDebug?h:c;a.safeMixin=x.safeMixin=function(b,d){var a,c;for(a in d)c=d[a],c===u[a]&&a in u||"constructor"==a||("[object Function]"==z.call(c)&&(c.nom=a),b[a]=c);if(k("bug-for-in-skips-shadowed"))for(var e=f._extraNames,l=e.length;l;)a=e[--l],c=d[a],c===u[a]&&a in u||"constructor"==a||("[object Function]"==
64
+ z.call(c)&&(c.nom=a),b[a]=c);return b};return a.declare=x})},"dojo/_base/connect":function(){define("./kernel ../on ../topic ../aspect ./event ../mouse ./sniff ./lang ../keys".split(" "),function(a,k,f,n,c,e,h,g){function m(b,d,c,l,f){l=g.hitch(c,l);if(!b||!b.addEventListener&&!b.attachEvent)return n.after(b||a.global,d,l,!0);"string"==typeof d&&"on"==d.substring(0,2)&&(d=d.substring(2));b||(b=a.global);if(!f)switch(d){case "keypress":d=y;break;case "mouseenter":d=e.enter;break;case "mouseleave":d=
65
+ e.leave}return k(b,d,l,f)}function b(b){b.keyChar=b.charCode?String.fromCharCode(b.charCode):"";b.charOrCode=b.keyChar||b.keyCode}h.add("events-keypress-typed",function(){var b={charCode:0};try{b=document.createEvent("KeyboardEvent"),(b.initKeyboardEvent||b.initKeyEvent).call(b,"keypress",!0,!0,null,!1,!1,!1,!1,9,3)}catch(d){}return 0==b.charCode&&!h("opera")});var l={106:42,111:47,186:59,187:43,188:44,189:45,190:46,191:47,192:96,219:91,220:92,221:93,222:39,229:113},q=h("mac")?"metaKey":"ctrlKey",
66
+ d=function(d,a){var c=g.mixin({},d,a);b(c);c.preventDefault=function(){d.preventDefault()};c.stopPropagation=function(){d.stopPropagation()};return c},y;y=h("events-keypress-typed")?function(b,a){var c=k(b,"keydown",function(b){var c=b.keyCode,e=13!=c&&32!=c&&(27!=c||!h("ie"))&&(48>c||90<c)&&(96>c||111<c)&&(186>c||192<c)&&(219>c||222<c)&&229!=c;if(e||b.ctrlKey){e=e?0:c;if(b.ctrlKey){if(3==c||13==c)return a.call(b.currentTarget,b);e=95<e&&106>e?e-48:!b.shiftKey&&65<=e&&90>=e?e+32:l[e]||e}c=d(b,{type:"keypress",
67
+ faux:!0,charCode:e});a.call(b.currentTarget,c);if(h("ie"))try{b.keyCode=c.keyCode}catch(g){}}}),e=k(b,"keypress",function(b){var c=b.charCode;b=d(b,{charCode:32<=c?c:0,faux:!0});return a.call(this,b)});return{remove:function(){c.remove();e.remove()}}}:h("opera")?function(b,a){return k(b,"keypress",function(b){var c=b.which;3==c&&(c=99);c=32>c&&!b.shiftKey?0:c;b.ctrlKey&&!b.shiftKey&&65<=c&&90>=c&&(c+=32);return a.call(this,d(b,{charCode:c}))})}:function(d,a){return k(d,"keypress",function(d){b(d);
68
+ return a.call(this,d)})};var p={_keypress:y,connect:function(b,d,a,c,e){var l=arguments,g=[],f=0;g.push("string"==typeof l[0]?null:l[f++],l[f++]);var q=l[f+1];g.push("string"==typeof q||"function"==typeof q?l[f++]:null,l[f++]);for(q=l.length;f<q;f++)g.push(l[f]);return m.apply(this,g)},disconnect:function(b){b&&b.remove()},subscribe:function(b,d,a){return f.subscribe(b,g.hitch(d,a))},publish:function(b,d){return f.publish.apply(f,[b].concat(d))},connectPublisher:function(b,d,a){var c=function(){p.publish(b,
69
+ arguments)};return a?p.connect(d,a,c):p.connect(d,c)},isCopyKey:function(b){return b[q]}};p.unsubscribe=p.disconnect;g.mixin(a,p);return p})},"dojo/on":function(){define(["./has!dom-addeventlistener?:./aspect","./_base/kernel","./sniff"],function(a,k,f){function n(b,d,a,c,e){if(c=d.match(/(.*):(.*)/))return d=c[2],c=c[1],g.selector(c,d).call(e,b,a);f("touch")&&(m.test(d)&&(a=D(a)),f("event-orientationchange")||"orientationchange"!=d||(d="resize",b=window,a=D(a)));y&&(a=y(a));if(b.addEventListener){var l=
70
+ d in q,h=l?q[d]:d;b.addEventListener(h,a,l);return{remove:function(){b.removeEventListener(h,a,l)}}}if(x&&b.attachEvent)return x(b,"on"+d,a);throw Error("Target must be an event emitter");}function c(){this.cancelable=!1;this.defaultPrevented=!0}function e(){this.bubbles=!1}var h=window.ScriptEngineMajorVersion;f.add("jscript",h&&h()+ScriptEngineMinorVersion()/10);f.add("event-orientationchange",f("touch")&&!f("android"));f.add("event-stopimmediatepropagation",window.Event&&!!window.Event.prototype&&
71
+ !!window.Event.prototype.stopImmediatePropagation);f.add("event-focusin",function(b,d,a){return"onfocusin"in a});f("touch")&&f.add("touch-can-modify-event-delegate",function(){var b=function(){};b.prototype=document.createEvent("MouseEvents");try{var d=new b;d.target=null;return null===d.target}catch(a){return!1}});var g=function(b,d,a,c){return"function"!=typeof b.on||"function"==typeof d||b.nodeType?g.parse(b,d,a,n,c,this):b.on(d,a)};g.pausable=function(b,d,a,c){var e;b=g(b,d,function(){if(!e)return a.apply(this,
72
+ arguments)},c);b.pause=function(){e=!0};b.resume=function(){e=!1};return b};g.once=function(b,d,a,c){var e=g(b,d,function(){e.remove();return a.apply(this,arguments)});return e};g.parse=function(b,d,a,c,e,l){if(d.call)return d.call(l,b,a);if(d instanceof Array)f=d;else if(-1<d.indexOf(","))var f=d.split(/\s*,\s*/);if(f){var q=[];d=0;for(var h;h=f[d++];)q.push(g.parse(b,h,a,c,e,l));q.remove=function(){for(var b=0;b<q.length;b++)q[b].remove()};return q}return c(b,d,a,e,l)};var m=/^touch/;g.matches=
73
+ function(b,d,a,c,e){e=e&&e.matches?e:k.query;c=!1!==c;1!=b.nodeType&&(b=b.parentNode);for(;!e.matches(b,d,a);)if(b==a||!1===c||!(b=b.parentNode)||1!=b.nodeType)return!1;return b};g.selector=function(b,d,a){return function(c,e){function l(d){return g.matches(d,b,c,a,f)}var f="function"==typeof b?{matches:b}:this,q=d.bubble;return q?g(c,q(l),e):g(c,d,function(b){var d=l(b.target);if(d)return e.call(d,b)})}};var b=[].slice,l=g.emit=function(d,a,l){var g=b.call(arguments,2),f="on"+a;if("parentNode"in
74
+ d){var q=g[0]={},h;for(h in l)q[h]=l[h];q.preventDefault=c;q.stopPropagation=e;q.target=d;q.type=a;l=q}do d[f]&&d[f].apply(d,g);while(l&&l.bubbles&&(d=d.parentNode));return l&&l.cancelable&&l},q=f("event-focusin")?{}:{focusin:"focus",focusout:"blur"};if(!f("event-stopimmediatepropagation"))var d=function(){this.modified=this.immediatelyStopped=!0},y=function(b){return function(a){if(!a.immediatelyStopped)return a.stopImmediatePropagation=d,b.apply(this,arguments)}};if(f("dom-addeventlistener"))g.emit=
75
+ function(b,d,a){if(b.dispatchEvent&&document.createEvent){var c=(b.ownerDocument||document).createEvent("HTMLEvents");c.initEvent(d,!!a.bubbles,!!a.cancelable);for(var e in a)e in c||(c[e]=a[e]);return b.dispatchEvent(c)&&c}return l.apply(g,arguments)};else{g._fixEvent=function(b,d){b||(b=(d&&(d.ownerDocument||d.document||d).parentWindow||window).event);if(!b)return b;try{p&&b.type==p.type&&b.srcElement==p.target&&(b=p)}catch(a){}if(!b.target)switch(b.target=b.srcElement,b.currentTarget=d||b.srcElement,
76
+ "mouseover"==b.type&&(b.relatedTarget=b.fromElement),"mouseout"==b.type&&(b.relatedTarget=b.toElement),b.stopPropagation||(b.stopPropagation=v,b.preventDefault=u),b.type){case "keypress":var c="charCode"in b?b.charCode:b.keyCode;10==c?(c=0,b.keyCode=13):13==c||27==c?c=0:3==c&&(c=99);b.charCode=c;c=b;c.keyChar=c.charCode?String.fromCharCode(c.charCode):"";c.charOrCode=c.keyChar||c.keyCode}return b};var p,r=function(b){this.handle=b};r.prototype.remove=function(){delete _dojoIEListeners_[this.handle]};
77
+ var t=function(b){return function(d){d=g._fixEvent(d,this);var a=b.call(this,d);d.modified&&(p||setTimeout(function(){p=null}),p=d);return a}},x=function(b,d,c){c=t(c);if(((b.ownerDocument?b.ownerDocument.parentWindow:b.parentWindow||b.window||window)!=top||5.8>f("jscript"))&&!f("config-_allow_leaks")){"undefined"==typeof _dojoIEListeners_&&(_dojoIEListeners_=[]);var e=b[d];if(!e||!e.listeners){var l=e,e=Function("event","var callee \x3d arguments.callee; for(var i \x3d 0; i\x3ccallee.listeners.length; i++){var listener \x3d _dojoIEListeners_[callee.listeners[i]]; if(listener){listener.call(this,event);}}");
78
+ e.listeners=[];b[d]=e;e.global=this;l&&e.listeners.push(_dojoIEListeners_.push(l)-1)}e.listeners.push(b=e.global._dojoIEListeners_.push(c)-1);return new r(b)}return a.after(b,d,c,!0)},v=function(){this.cancelBubble=!0},u=g._preventDefault=function(){this.bubbledKeyCode=this.keyCode;if(this.ctrlKey)try{this.keyCode=0}catch(b){}this.defaultPrevented=!0;this.returnValue=!1;this.modified=!0}}if(f("touch"))var z=function(){},w=window.orientation,D=function(b){return function(d){var a=d.corrected;if(!a){var c=
79
+ d.type;try{delete d.type}catch(e){}if(d.type){if(f("touch-can-modify-event-delegate"))z.prototype=d,a=new z;else{var a={},l;for(l in d)a[l]=d[l]}a.preventDefault=function(){d.preventDefault()};a.stopPropagation=function(){d.stopPropagation()}}else a=d,a.type=c;d.corrected=a;if("resize"==c){if(w==window.orientation)return null;w=window.orientation;a.type="orientationchange";return b.call(this,a)}"rotation"in a||(a.rotation=0,a.scale=1);var c=a.changedTouches[0],g;for(g in c)delete a[g],a[g]=c[g]}return b.call(this,
80
+ a)}};return g})},"dojo/topic":function(){define(["./Evented"],function(a){var k=new a;return{publish:function(a,n){return k.emit.apply(k,arguments)},subscribe:function(a,n){return k.on.apply(k,arguments)}}})},"dojo/Evented":function(){define(["./aspect","./on"],function(a,k){function f(){}var n=a.after;f.prototype={on:function(a,e){return k.parse(this,a,e,function(a,c){return n(a,"on"+c,e,!0)})},emit:function(a,e){var f=[this];f.push.apply(f,arguments);return k.emit.apply(k,f)}};return f})},"dojo/aspect":function(){define([],
81
+ function(){function a(a,c,b,e){var f=a[c],d="around"==c,h;if(d){var p=b(function(){return f.advice(this,arguments)});h={remove:function(){p&&(p=a=b=null)},advice:function(b,d){return p?p.apply(b,d):f.advice(b,d)}}}else h={remove:function(){if(h.advice){var d=h.previous,e=h.next;e||d?(d?d.next=e:a[c]=e,e&&(e.previous=d)):delete a[c];a=b=h.advice=null}},id:n++,advice:b,receiveArguments:e};if(f&&!d)if("after"==c){for(;f.next&&(f=f.next););f.next=h;h.previous=f}else"before"==c&&(a[c]=h,h.next=f,f.previous=
82
+ h);else a[c]=h;return h}function k(c){return function(e,b,l,h){var d=e[b],k;d&&d.target==e||(e[b]=k=function(){for(var b=n,d=arguments,a=k.before;a;)d=a.advice.apply(this,d)||d,a=a.next;if(k.around)var c=k.around.advice(this,d);for(a=k.after;a&&a.id<b;){if(a.receiveArguments)var e=a.advice.apply(this,d),c=e===f?c:e;else c=a.advice.call(this,c,d);a=a.next}return c},d&&(k.around={advice:function(b,a){return d.apply(b,a)}}),k.target=e);e=a(k||d,c,l,h);l=null;return e}}var f,n=0,c=k("after"),e=k("before"),
83
+ h=k("around");return{before:e,around:h,after:c}})},"dojo/_base/event":function(){define(["./kernel","../on","../has","../dom-geometry"],function(a,k,f,n){if(k._fixEvent){var c=k._fixEvent;k._fixEvent=function(a,e){(a=c(a,e))&&n.normalizeEvent(a);return a}}var e={fix:function(a,c){return k._fixEvent?k._fixEvent(a,c):a},stop:function(a){f("dom-addeventlistener")||a&&a.preventDefault?(a.preventDefault(),a.stopPropagation()):(a=a||window.event,a.cancelBubble=!0,k._preventDefault.call(a))}};a.fixEvent=
84
+ e.fix;a.stopEvent=e.stop;return e})},"dojo/dom-geometry":function(){define(["./sniff","./_base/window","./dom","./dom-style"],function(a,k,f,n){function c(b,a,c,d,e,f){f=f||"px";b=b.style;isNaN(a)||(b.left=a+f);isNaN(c)||(b.top=c+f);0<=d&&(b.width=d+f);0<=e&&(b.height=e+f)}function e(b){return"button"==b.tagName.toLowerCase()||"input"==b.tagName.toLowerCase()&&"button"==(b.getAttribute("type")||"").toLowerCase()}function h(b){return"border-box"==g.boxModel||"table"==b.tagName.toLowerCase()||e(b)}
85
+ var g={boxModel:"content-box"};a("ie")&&(g.boxModel="BackCompat"==document.compatMode?"border-box":"content-box");g.getPadExtents=function(b,a){b=f.byId(b);var c=a||n.getComputedStyle(b),d=n.toPixelValue,e=d(b,c.paddingLeft),g=d(b,c.paddingTop),h=d(b,c.paddingRight),c=d(b,c.paddingBottom);return{l:e,t:g,r:h,b:c,w:e+h,h:g+c}};g.getBorderExtents=function(b,a){b=f.byId(b);var c=n.toPixelValue,d=a||n.getComputedStyle(b),e="none"!=d.borderLeftStyle?c(b,d.borderLeftWidth):0,g="none"!=d.borderTopStyle?c(b,
86
+ d.borderTopWidth):0,h="none"!=d.borderRightStyle?c(b,d.borderRightWidth):0,c="none"!=d.borderBottomStyle?c(b,d.borderBottomWidth):0;return{l:e,t:g,r:h,b:c,w:e+h,h:g+c}};g.getPadBorderExtents=function(b,a){b=f.byId(b);var c=a||n.getComputedStyle(b),d=g.getPadExtents(b,c),c=g.getBorderExtents(b,c);return{l:d.l+c.l,t:d.t+c.t,r:d.r+c.r,b:d.b+c.b,w:d.w+c.w,h:d.h+c.h}};g.getMarginExtents=function(b,a){b=f.byId(b);var c=a||n.getComputedStyle(b),d=n.toPixelValue,e=d(b,c.marginLeft),g=d(b,c.marginTop),h=d(b,
87
+ c.marginRight),c=d(b,c.marginBottom);return{l:e,t:g,r:h,b:c,w:e+h,h:g+c}};g.getMarginBox=function(b,c){b=f.byId(b);var e=c||n.getComputedStyle(b),d=g.getMarginExtents(b,e),h=b.offsetLeft-d.l,m=b.offsetTop-d.t,k=b.parentNode,t=n.toPixelValue;if(a("mozilla")){var x=parseFloat(e.left),e=parseFloat(e.top);isNaN(x)||isNaN(e)?k&&k.style&&(k=n.getComputedStyle(k),"visible"!=k.overflow&&(h+="none"!=k.borderLeftStyle?t(b,k.borderLeftWidth):0,m+="none"!=k.borderTopStyle?t(b,k.borderTopWidth):0)):(h=x,m=e)}else(a("opera")||
88
+ 8==a("ie")&&!a("quirks"))&&k&&(k=n.getComputedStyle(k),h-="none"!=k.borderLeftStyle?t(b,k.borderLeftWidth):0,m-="none"!=k.borderTopStyle?t(b,k.borderTopWidth):0);return{l:h,t:m,w:b.offsetWidth+d.w,h:b.offsetHeight+d.h}};g.getContentBox=function(b,c){b=f.byId(b);var e=c||n.getComputedStyle(b),d=b.clientWidth,h=g.getPadExtents(b,e),m=g.getBorderExtents(b,e);d?(e=b.clientHeight,m.w=m.h=0):(d=b.offsetWidth,e=b.offsetHeight);a("opera")&&(h.l+=m.l,h.t+=m.t);return{l:h.l,t:h.t,w:d-h.w-m.w,h:e-h.h-m.h}};
89
+ g.setContentSize=function(b,a,e){b=f.byId(b);var d=a.w;a=a.h;h(b)&&(e=g.getPadBorderExtents(b,e),0<=d&&(d+=e.w),0<=a&&(a+=e.h));c(b,NaN,NaN,d,a)};var m={l:0,t:0,w:0,h:0};g.setMarginBox=function(b,l,q){b=f.byId(b);var d=q||n.getComputedStyle(b);q=l.w;var k=l.h,p=h(b)?m:g.getPadBorderExtents(b,d),d=g.getMarginExtents(b,d);if(a("webkit")&&e(b)){var r=b.style;0<=q&&!r.width&&(r.width="4px");0<=k&&!r.height&&(r.height="4px")}0<=q&&(q=Math.max(q-p.w-d.w,0));0<=k&&(k=Math.max(k-p.h-d.h,0));c(b,l.l,l.t,q,
90
+ k)};g.isBodyLtr=function(b){b=b||k.doc;return"ltr"==(k.body(b).dir||b.documentElement.dir||"ltr").toLowerCase()};g.docScroll=function(b){b=b||k.doc;var c=k.doc.parentWindow||k.doc.defaultView;return"pageXOffset"in c?{x:c.pageXOffset,y:c.pageYOffset}:(c=a("quirks")?k.body(b):b.documentElement)&&{x:g.fixIeBiDiScrollLeft(c.scrollLeft||0,b),y:c.scrollTop||0}};a("ie")&&(g.getIeDocumentElementOffset=function(b){b=b||k.doc;b=b.documentElement;if(8>a("ie")){var c=b.getBoundingClientRect(),e=c.left,c=c.top;
91
+ 7>a("ie")&&(e+=b.clientLeft,c+=b.clientTop);return{x:0>e?0:e,y:0>c?0:c}}return{x:0,y:0}});g.fixIeBiDiScrollLeft=function(b,c){c=c||k.doc;var e=a("ie");if(e&&!g.isBodyLtr(c)){var d=a("quirks"),f=d?k.body(c):c.documentElement,h=k.global;6==e&&!d&&h.frameElement&&f.scrollHeight>f.clientHeight&&(b+=f.clientLeft);return 8>e||d?b+f.clientWidth-f.scrollWidth:-b}return b};g.position=function(b,c){b=f.byId(b);var e=k.body(b.ownerDocument),d=b.getBoundingClientRect(),d={x:d.left,y:d.top,w:d.right-d.left,h:d.bottom-
92
+ d.top};if(9>a("ie")){var h=g.getIeDocumentElementOffset(b.ownerDocument);d.x-=h.x+(a("quirks")?e.clientLeft+e.offsetLeft:0);d.y-=h.y+(a("quirks")?e.clientTop+e.offsetTop:0)}c&&(e=g.docScroll(b.ownerDocument),d.x+=e.x,d.y+=e.y);return d};g.getMarginSize=function(b,a){b=f.byId(b);var c=g.getMarginExtents(b,a||n.getComputedStyle(b)),d=b.getBoundingClientRect();return{w:d.right-d.left+c.w,h:d.bottom-d.top+c.h}};g.normalizeEvent=function(b){"layerX"in b||(b.layerX=b.offsetX,b.layerY=b.offsetY);if(!a("dom-addeventlistener")){var c=
93
+ b.target,c=c&&c.ownerDocument||document,e=a("quirks")?c.body:c.documentElement,d=g.getIeDocumentElementOffset(c);b.pageX=b.clientX+g.fixIeBiDiScrollLeft(e.scrollLeft||0,c)-d.x;b.pageY=b.clientY+(e.scrollTop||0)-d.y}};return g})},"dojo/_base/window":function(){define(["./kernel","./lang","../sniff"],function(a,k,f){var n={global:a.global,doc:a.global.document||null,body:function(c){c=c||a.doc;return c.body||c.getElementsByTagName("body")[0]},setContext:function(c,e){a.global=n.global=c;a.doc=n.doc=
94
+ e},withGlobal:function(c,e,f,g){var m=a.global;try{return a.global=n.global=c,n.withDoc.call(null,c.document,e,f,g)}finally{a.global=n.global=m}},withDoc:function(c,e,h,g){var m=n.doc,b=f("quirks"),l=f("ie"),q,d,k;try{return a.doc=n.doc=c,a.isQuirks=f.add("quirks","BackCompat"==a.doc.compatMode,!0,!0),f("ie")&&(k=c.parentWindow)&&k.navigator&&(q=parseFloat(k.navigator.appVersion.split("MSIE ")[1])||void 0,(d=c.documentMode)&&5!=d&&Math.floor(q)!=d&&(q=d),a.isIE=f.add("ie",q,!0,!0)),h&&"string"==typeof e&&
95
+ (e=h[e]),e.apply(h,g||[])}finally{a.doc=n.doc=m,a.isQuirks=f.add("quirks",b,!0,!0),a.isIE=f.add("ie",l,!0,!0)}}};k.mixin(a,n);return n})},"dojo/dom":function(){define(["./sniff","./_base/window"],function(a,k){if(7>=a("ie"))try{document.execCommand("BackgroundImageCache",!1,!0)}catch(c){}var f={};a("ie")?f.byId=function(a,e){if("string"!=typeof a)return a;var f=e||k.doc,g=a&&f.getElementById(a);if(!g||g.attributes.id.value!=a&&g.id!=a){f=f.all[a];if(!f||f.nodeName)f=[f];for(var m=0;g=f[m++];)if(g.attributes&&
96
+ g.attributes.id&&g.attributes.id.value==a||g.id==a)return g}else return g}:f.byId=function(a,e){return("string"==typeof a?(e||k.doc).getElementById(a):a)||null};f.isDescendant=function(a,e){try{for(a=f.byId(a),e=f.byId(e);a;){if(a==e)return!0;a=a.parentNode}}catch(h){}return!1};a.add("css-user-select",function(a,e,f){if(!f)return!1;a=f.style;e=["Khtml","O","Moz","Webkit"];f=e.length;var g="userSelect";do if("undefined"!==typeof a[g])return g;while(f--&&(g=e[f]+"UserSelect"));return!1});var n=a("css-user-select");
97
+ f.setSelectable=n?function(a,e){f.byId(a).style[n]=e?"":"none"}:function(a,e){a=f.byId(a);var h=a.getElementsByTagName("*"),g=h.length;if(e)for(a.removeAttribute("unselectable");g--;)h[g].removeAttribute("unselectable");else for(a.setAttribute("unselectable","on");g--;)h[g].setAttribute("unselectable","on")};return f})},"dojo/dom-style":function(){define(["./sniff","./dom"],function(a,k){function f(d,c,f){c=c.toLowerCase();if(a("ie")||a("trident")){if("auto"==f){if("height"==c)return d.offsetHeight;
98
+ if("width"==c)return d.offsetWidth}if("fontweight"==c)switch(f){case 700:return"bold";default:return"normal"}}c in b||(b[c]=l.test(c));return b[c]?e(d,f):f}var n,c={};n=a("webkit")?function(b){var a;if(1==b.nodeType){var c=b.ownerDocument.defaultView;a=c.getComputedStyle(b,null);!a&&b.style&&(b.style.display="",a=c.getComputedStyle(b,null))}return a||{}}:a("ie")&&(9>a("ie")||a("quirks"))?function(b){return 1==b.nodeType&&b.currentStyle?b.currentStyle:{}}:function(b){return 1==b.nodeType?b.ownerDocument.defaultView.getComputedStyle(b,
99
+ null):{}};c.getComputedStyle=n;var e;e=a("ie")?function(b,a){if(!a)return 0;if("medium"==a)return 4;if(a.slice&&"px"==a.slice(-2))return parseFloat(a);var c=b.style,e=b.runtimeStyle,f=c.left,l=e.left;e.left=b.currentStyle.left;try{c.left=a,a=c.pixelLeft}catch(g){a=0}c.left=f;e.left=l;return a}:function(b,a){return parseFloat(a)||0};c.toPixelValue=e;var h=function(b,a){try{return b.filters.item("DXImageTransform.Microsoft.Alpha")}catch(c){return a?{}:null}},g=9>a("ie")||10>a("ie")&&a("quirks")?function(b){try{return h(b).Opacity/
100
+ 100}catch(a){return 1}}:function(b){return n(b).opacity},m=9>a("ie")||10>a("ie")&&a("quirks")?function(b,a){""===a&&(a=1);var c=100*a;1===a?(b.style.zoom="",h(b)&&(b.style.filter=b.style.filter.replace(/\s*progid:DXImageTransform.Microsoft.Alpha\([^\)]+?\)/i,""))):(b.style.zoom=1,h(b)?h(b,1).Opacity=c:b.style.filter+=" progid:DXImageTransform.Microsoft.Alpha(Opacity\x3d"+c+")",h(b,1).Enabled=!0);if("tr"==b.tagName.toLowerCase())for(c=b.firstChild;c;c=c.nextSibling)"td"==c.tagName.toLowerCase()&&m(c,
101
+ a);return a}:function(b,a){return b.style.opacity=a},b={left:!0,top:!0},l=/margin|padding|width|height|max|min|offset/,q={cssFloat:1,styleFloat:1,"float":1};c.get=function(b,a){var e=k.byId(b),l=arguments.length;if(2==l&&"opacity"==a)return g(e);a=q[a]?"cssFloat"in e.style?"cssFloat":"styleFloat":a;var h=c.getComputedStyle(e);return 1==l?h:f(e,a,h[a]||e.style[a])};c.set=function(b,a,e){var f=k.byId(b),l=arguments.length,g="opacity"==a;a=q[a]?"cssFloat"in f.style?"cssFloat":"styleFloat":a;if(3==l)return g?
102
+ m(f,e):f.style[a]=e;for(var h in a)c.set(b,h,a[h]);return c.getComputedStyle(f)};return c})},"dojo/mouse":function(){define(["./_base/kernel","./on","./has","./dom","./_base/window"],function(a,k,f,n,c){function e(a,c){var f=function(b,e){return k(b,a,function(a){if(c)return c(a,e);if(!n.isDescendant(a.relatedTarget,b))return e.call(this,a)})};f.bubble=function(b){return e(a,function(a,c){var d=b(a.target),e=a.relatedTarget;if(d&&d!=(e&&1==e.nodeType&&b(e)))return c.call(d,a)})};return f}f.add("dom-quirks",
103
+ c.doc&&"BackCompat"==c.doc.compatMode);f.add("events-mouseenter",c.doc&&"onmouseenter"in c.doc.createElement("div"));f.add("events-mousewheel",c.doc&&"onmousewheel"in c.doc);c=f("dom-quirks")&&f("ie")||!f("dom-addeventlistener")?{LEFT:1,MIDDLE:4,RIGHT:2,isButton:function(a,c){return a.button&c},isLeft:function(a){return a.button&1},isMiddle:function(a){return a.button&4},isRight:function(a){return a.button&2}}:{LEFT:0,MIDDLE:1,RIGHT:2,isButton:function(a,c){return a.button==c},isLeft:function(a){return 0==
104
+ a.button},isMiddle:function(a){return 1==a.button},isRight:function(a){return 2==a.button}};a.mouseButtons=c;a=f("events-mousewheel")?"mousewheel":function(a,c){return k(a,"DOMMouseScroll",function(a){a.wheelDelta=-a.detail;c.call(this,a)})};return{_eventHandler:e,enter:e("mouseover"),leave:e("mouseout"),wheel:a,isLeft:c.isLeft,isMiddle:c.isMiddle,isRight:c.isRight}})},"dojo/_base/sniff":function(){define(["./kernel","./lang","../sniff"],function(a,k,f){a._name="browser";k.mixin(a,{isBrowser:!0,isFF:f("ff"),
105
+ isIE:f("ie"),isKhtml:f("khtml"),isWebKit:f("webkit"),isMozilla:f("mozilla"),isMoz:f("mozilla"),isOpera:f("opera"),isSafari:f("safari"),isChrome:f("chrome"),isMac:f("mac"),isIos:f("ios"),isAndroid:f("android"),isWii:f("wii"),isQuirks:f("quirks"),isAir:f("air")});return f})},"dojo/keys":function(){define(["./_base/kernel","./sniff"],function(a,k){return a.keys={BACKSPACE:8,TAB:9,CLEAR:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,META:k("webkit")?91:224,PAUSE:19,CAPS_LOCK:20,ESCAPE:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,
106
+ 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,
107
+ UP_DPAD:175,DOWN_DPAD:176,LEFT_DPAD:177,RIGHT_DPAD:178,copyKey:k("mac")&&!k("air")?k("safari")?91:224:17}})},"dojo/_base/Deferred":function(){define("./kernel ../Deferred ../promise/Promise ../errors/CancelError ../has ./lang ../when".split(" "),function(a,k,f,n,c,e,h){var g=function(){},m=Object.freeze||function(){},b=a.Deferred=function(a){function h(b){if(p)throw Error("This deferred has already been resolved");y=b;p=!0;d()}function d(){for(var b;!b&&u;){var a=u;u=u.next;if(b=a.progress==g)p=!1;
108
+ var d=x?a.error:a.resolved;c("config-useDeferredInstrumentation")&&x&&k.instrumentRejected&&k.instrumentRejected(y,!!d);if(d)try{var f=d(y);f&&"function"===typeof f.then?f.then(e.hitch(a.deferred,"resolve"),e.hitch(a.deferred,"reject"),e.hitch(a.deferred,"progress")):(d=b&&void 0===f,b&&!d&&(x=f instanceof Error),a.deferred[d&&x?"reject":"resolve"](d?y:f))}catch(l){a.deferred.reject(l)}else x?a.deferred.reject(y):a.deferred.resolve(y)}}var y,p,r,t,x,v,u,z=this.promise=new f;this.isResolved=z.isResolved=
109
+ function(){return 0==t};this.isRejected=z.isRejected=function(){return 1==t};this.isFulfilled=z.isFulfilled=function(){return 0<=t};this.isCanceled=z.isCanceled=function(){return r};this.resolve=this.callback=function(b){this.fired=t=0;this.results=[b,null];h(b)};this.reject=this.errback=function(b){x=!0;this.fired=t=1;c("config-useDeferredInstrumentation")&&k.instrumentRejected&&k.instrumentRejected(b,!!u);h(b);this.results=[null,b]};this.progress=function(b){for(var a=u;a;){var d=a.progress;d&&
110
+ d(b);a=a.next}};this.addCallbacks=function(b,a){this.then(b,a,g);return this};z.then=this.then=function(a,c,e){var f=e==g?this:new b(z.cancel);a={resolved:a,error:c,progress:e,deferred:f};u?v=v.next=a:u=v=a;p&&d();return f.promise};var w=this;z.cancel=this.cancel=function(){if(!p){var b=a&&a(w);p||(b instanceof Error||(b=new n(b)),b.log=!1,w.reject(b))}r=!0};m(z)};e.extend(b,{addCallback:function(b){return this.addCallbacks(e.hitch.apply(a,arguments))},addErrback:function(b){return this.addCallbacks(null,
111
+ e.hitch.apply(a,arguments))},addBoth:function(b){var c=e.hitch.apply(a,arguments);return this.addCallbacks(c,c)},fired:-1});b.when=a.when=h;return b})},"dojo/Deferred":function(){define(["./has","./_base/lang","./errors/CancelError","./promise/Promise","./promise/instrumentation"],function(a,k,f,n,c){var e=Object.freeze||function(){},h=function(b,a,c,e,f){2===a&&l.instrumentRejected&&0===b.length&&l.instrumentRejected(c,!1,e,f);for(f=0;f<b.length;f++)g(b[f],a,c,e)},g=function(a,d,c,e){var f=a[d],
112
+ g=a.deferred;if(f)try{var h=f(c);if(0===d)"undefined"!==typeof h&&b(g,d,h);else{if(h&&"function"===typeof h.then){a.cancel=h.cancel;h.then(m(g,1),m(g,2),m(g,0));return}b(g,1,h)}}catch(k){b(g,2,k)}else b(g,d,c);2===d&&l.instrumentRejected&&l.instrumentRejected(c,!!f,e,g.promise)},m=function(a,d){return function(c){b(a,d,c)}},b=function(b,a,c){if(!b.isCanceled())switch(a){case 0:b.progress(c);break;case 1:b.resolve(c);break;case 2:b.reject(c)}},l=function(b){var a=this.promise=new n,c=this,m,k,t,x=
113
+ !1,v=[];Error.captureStackTrace&&(Error.captureStackTrace(c,l),Error.captureStackTrace(a,l));this.isResolved=a.isResolved=function(){return 1===m};this.isRejected=a.isRejected=function(){return 2===m};this.isFulfilled=a.isFulfilled=function(){return!!m};this.isCanceled=a.isCanceled=function(){return x};this.progress=function(b,e){if(m){if(!0===e)throw Error("This deferred has already been fulfilled.");return a}h(v,0,b,null,c);return a};this.resolve=function(b,e){if(m){if(!0===e)throw Error("This deferred has already been fulfilled.");
114
+ return a}h(v,m=1,k=b,null,c);v=null;return a};var u=this.reject=function(b,e){if(m){if(!0===e)throw Error("This deferred has already been fulfilled.");return a}Error.captureStackTrace&&Error.captureStackTrace(t={},u);h(v,m=2,k=b,t,c);v=null;return a};this.then=a.then=function(b,c,e){var f=[e,b,c];f.cancel=a.cancel;f.deferred=new l(function(b){return f.cancel&&f.cancel(b)});m&&!v?g(f,m,k,t):v.push(f);return f.deferred.promise};this.cancel=a.cancel=function(a,d){if(!m){if(b){var c=b(a);a="undefined"===
115
+ typeof c?a:c}x=!0;if(!m)return"undefined"===typeof a&&(a=new f),u(a),a;if(2===m&&k===a)return a}else if(!0===d)throw Error("This deferred has already been fulfilled.");};e(a)};l.prototype.toString=function(){return"[object Deferred]"};c&&c(l);return l})},"dojo/errors/CancelError":function(){define(["./create"],function(a){return a("CancelError",null,null,{dojoType:"cancel"})})},"dojo/errors/create":function(){define(["../_base/lang"],function(a){return function(k,f,n,c){n=n||Error;var e=function(a){if(n===
116
+ Error){Error.captureStackTrace&&Error.captureStackTrace(this,e);var c=Error.call(this,a),m;for(m in c)c.hasOwnProperty(m)&&(this[m]=c[m]);this.message=a;this.stack=c.stack}else n.apply(this,arguments);f&&f.apply(this,arguments)};e.prototype=a.delegate(n.prototype,c);e.prototype.name=k;return e.prototype.constructor=e}})},"dojo/promise/Promise":function(){define(["../_base/lang"],function(a){function k(){throw new TypeError("abstract");}return a.extend(function(){},{then:function(a,n,c){k()},cancel:function(a,
117
+ n){k()},isResolved:function(){k()},isRejected:function(){k()},isFulfilled:function(){k()},isCanceled:function(){k()},always:function(a){return this.then(a,a)},otherwise:function(a){return this.then(null,a)},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(a,k,f,n){function c(b,a,c){a&&a.stack&&a.stack.split("\n").slice(1).join("\n").replace(/^\s+/,
118
+ " ")}function e(b,a,e,f){a||c(b,e,f)}function h(a,d,c,e){n.some(m,function(b){if(b.error===a)return d&&(b.handled=!0),!0})||m.push({error:a,rejection:c,handled:d,deferred:e,timestamp:(new Date).getTime()});b||(b=setTimeout(g,l))}function g(){var a=(new Date).getTime(),d=a-l;m=n.filter(m,function(b){return b.timestamp<d?(b.handled||c(b.error,b.rejection,b.deferred),!1):!0});b=m.length?setTimeout(g,m[0].timestamp+l-a):!1}k.add("config-useDeferredInstrumentation","report-unhandled-rejections");var m=
119
+ [],b=!1,l=1E3;return function(b){var d=k("config-useDeferredInstrumentation");if(d){a.on("resolved",f.hitch(console,"log","resolved"));a.on("rejected",f.hitch(console,"log","rejected"));a.on("progress",f.hitch(console,"log","progress"));var c=[];"string"===typeof d&&(c=d.split(","),d=c.shift());if("report-rejections"===d)b.instrumentRejected=e;else if("report-unhandled-rejections"===d||!0===d||1===d)b.instrumentRejected=h,l=parseInt(c[0],10)||l;else throw Error("Unsupported instrumentation usage \x3c"+
120
+ d+"\x3e");}}})},"dojo/promise/tracer":function(){define(["../_base/lang","./Promise","../Evented"],function(a,k,f){function n(a){setTimeout(function(){e.apply(c,a)},0)}var c=new f,e=c.emit;c.emit=null;k.prototype.trace=function(){var c=a._toArray(arguments);this.then(function(a){n(["resolved",a].concat(c))},function(a){n(["rejected",a].concat(c))},function(a){n(["progress",a].concat(c))});return this};k.prototype.traceRejected=function(){var c=a._toArray(arguments);this.otherwise(function(a){n(["rejected",
121
+ a].concat(c))});return this};return c})},"dojo/when":function(){define(["./Deferred","./promise/Promise"],function(a,k){return function(f,n,c,e){var h=f&&"function"===typeof f.then,g=h&&f instanceof k;if(!h)return 1<arguments.length?n?n(f):f:(new a).resolve(f);g||(h=new a(f.cancel),f.then(h.resolve,h.reject,h.progress),f=h.promise);return n||c||e?f.then(n,c,e):f}})},"dojo/_base/json":function(){define(["./kernel","../json"],function(a,k){a.fromJson=function(a){return eval("("+a+")")};a._escapeString=
122
+ k.stringify;a.toJsonIndentStr="\t";a.toJson=function(f,n){return k.stringify(f,function(a,e){if(e){var f=e.__json__||e.json;if("function"==typeof f)return f.call(e)}return e},n&&a.toJsonIndentStr)};return a})},"dojo/json":function(){define(["./has"],function(a){var k="undefined"!=typeof JSON;a.add("json-parse",k);a.add("json-stringify",k&&'{"a":1}'==JSON.stringify({a:0},function(a,c){return c||1}));if(a("json-stringify"))return JSON;var f=function(a){return('"'+a.replace(/(["\\])/g,"\\$1")+'"').replace(/[\f]/g,
123
+ "\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r")};return{parse:a("json-parse")?JSON.parse:function(a,c){if(c&&!/^([\s\[\{]*(?:"(?:\\.|[^"])*"|-?\d[\d\.]*(?:[Ee][+-]?\d+)?|null|true|false|)[\s\]\}]*(?:,|:|$))+$/.test(a))throw new SyntaxError("Invalid characters in JSON");return eval("("+a+")")},stringify:function(a,c,e){function h(a,b,l){c&&(a=c(l,a));var k;k=typeof a;if("number"==k)return isFinite(a)?a+"":"null";if("boolean"==k)return a+"";if(null===
124
+ a)return"null";if("string"==typeof a)return f(a);if("function"==k||"undefined"==k)return g;if("function"==typeof a.toJSON)return h(a.toJSON(l),b,l);if(a instanceof Date)return'"{FullYear}-{Month+}-{Date}T{Hours}:{Minutes}:{Seconds}Z"'.replace(/\{(\w+)(\+)?\}/g,function(b,d,c){b=a["getUTC"+d]()+(c?1:0);return 10>b?"0"+b:b});if(a.valueOf()!==a)return h(a.valueOf(),b,l);var d=e?b+e:"",n=e?" ":"",p=e?"\n":"";if(a instanceof Array){var n=a.length,r=[];for(l=0;l<n;l++)k=h(a[l],d,l),"string"!=typeof k&&
125
+ (k="null"),r.push(p+d+k);return"["+r.join(",")+p+b+"]"}r=[];for(l in a){var t;if(a.hasOwnProperty(l)){if("number"==typeof l)t='"'+l+'"';else if("string"==typeof l)t=f(l);else continue;k=h(a[l],d,l);"string"==typeof k&&r.push(p+d+t+":"+n+k)}}return"{"+r.join(",")+p+b+"}"}var g;"string"==typeof c&&(e=c,c=null);return h(a,"","")}}})},"dojo/_base/Color":function(){define(["./kernel","./lang","./array","./config"],function(a,k,f,n){var c=a.Color=function(a){a&&this.setColor(a)};c.named={black:[0,0,0],
126
+ 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:n.transparentColor||[0,0,0,0]};k.extend(c,{r:255,g:255,b:255,a:1,_set:function(a,c,f,k){this.r=a;this.g=c;this.b=f;this.a=k},setColor:function(a){k.isString(a)?c.fromString(a,this):k.isArray(a)?c.fromArray(a,this):(this._set(a.r,
127
+ a.g,a.b,a.a),a instanceof c||this.sanitize());return this},sanitize:function(){return this},toRgb:function(){return[this.r,this.g,this.b]},toRgba:function(){return[this.r,this.g,this.b,this.a]},toHex:function(){return"#"+f.map(["r","g","b"],function(a){a=this[a].toString(16);return 2>a.length?"0"+a:a},this).join("")},toCss:function(a){var c=this.r+", "+this.g+", "+this.b;return(a?"rgba("+c+", "+this.a:"rgb("+c)+")"},toString:function(){return this.toCss(!0)}});c.blendColors=a.blendColors=function(a,
128
+ h,g,k){var b=k||new c;f.forEach(["r","g","b","a"],function(c){b[c]=a[c]+(h[c]-a[c])*g;"a"!=c&&(b[c]=Math.round(b[c]))});return b.sanitize()};c.fromRgb=a.colorFromRgb=function(a,f){var g=a.toLowerCase().match(/^rgba?\(([\s\.,0-9]+)\)/);return g&&c.fromArray(g[1].split(/\s*,\s*/),f)};c.fromHex=a.colorFromHex=function(a,h){var g=h||new c,k=4==a.length?4:8,b=(1<<k)-1;a=Number("0x"+a.substr(1));if(isNaN(a))return null;f.forEach(["b","g","r"],function(c){var f=a&b;a>>=k;g[c]=4==k?17*f:f});g.a=1;return g};
129
+ c.fromArray=a.colorFromArray=function(a,f){var g=f||new c;g._set(Number(a[0]),Number(a[1]),Number(a[2]),Number(a[3]));isNaN(g.a)&&(g.a=1);return g.sanitize()};c.fromString=a.colorFromString=function(a,f){var g=c.named[a];return g&&c.fromArray(g,f)||c.fromRgb(a,f)||c.fromHex(a,f)};return c})},"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(a){return a})},
130
+ "dojo/_base/unload":function(){define(["./kernel","./lang","../on"],function(a,k,f){var n=window,c={addOnWindowUnload:function(c,h){a.windowUnloaded||f(n,"unload",a.windowUnloaded=function(){});f(n,"unload",k.hitch(c,h))},addOnUnload:function(a,c){f(n,"beforeunload",k.hitch(a,c))}};a.addOnWindowUnload=c.addOnWindowUnload;a.addOnUnload=c.addOnUnload;return c})},"dojo/_base/html":function(){define("./kernel ../dom ../dom-style ../dom-attr ../dom-prop ../dom-class ../dom-construct ../dom-geometry".split(" "),
131
+ function(a,k,f,n,c,e,h,g){a.byId=k.byId;a.isDescendant=k.isDescendant;a.setSelectable=k.setSelectable;a.getAttr=n.get;a.setAttr=n.set;a.hasAttr=n.has;a.removeAttr=n.remove;a.getNodeProp=n.getNodeProp;a.attr=function(a,b,c){return 2==arguments.length?n["string"==typeof b?"get":"set"](a,b):n.set(a,b,c)};a.hasClass=e.contains;a.addClass=e.add;a.removeClass=e.remove;a.toggleClass=e.toggle;a.replaceClass=e.replace;a._toDom=a.toDom=h.toDom;a.place=h.place;a.create=h.create;a.empty=function(a){h.empty(a)};
132
+ a._destroyElement=a.destroy=function(a){h.destroy(a)};a._getPadExtents=a.getPadExtents=g.getPadExtents;a._getBorderExtents=a.getBorderExtents=g.getBorderExtents;a._getPadBorderExtents=a.getPadBorderExtents=g.getPadBorderExtents;a._getMarginExtents=a.getMarginExtents=g.getMarginExtents;a._getMarginSize=a.getMarginSize=g.getMarginSize;a._getMarginBox=a.getMarginBox=g.getMarginBox;a.setMarginBox=g.setMarginBox;a._getContentBox=a.getContentBox=g.getContentBox;a.setContentSize=g.setContentSize;a._isBodyLtr=
133
+ a.isBodyLtr=g.isBodyLtr;a._docScroll=a.docScroll=g.docScroll;a._getIeDocumentElementOffset=a.getIeDocumentElementOffset=g.getIeDocumentElementOffset;a._fixIeBiDiScrollLeft=a.fixIeBiDiScrollLeft=g.fixIeBiDiScrollLeft;a.position=g.position;a.marginBox=function(a,b){return b?g.setMarginBox(a,b):g.getMarginBox(a)};a.contentBox=function(a,b){return b?g.setContentSize(a,b):g.getContentBox(a)};a.coords=function(c,b){a.deprecated("dojo.coords()","Use dojo.position() or dojo.marginBox().");c=k.byId(c);var e=
134
+ f.getComputedStyle(c),e=g.getMarginBox(c,e),h=g.position(c,b);e.x=h.x;e.y=h.y;return e};a.getProp=c.get;a.setProp=c.set;a.prop=function(a,b,e){return 2==arguments.length?c["string"==typeof b?"get":"set"](a,b):c.set(a,b,e)};a.getStyle=f.get;a.setStyle=f.set;a.getComputedStyle=f.getComputedStyle;a.__toPixelValue=a.toPixelValue=f.toPixelValue;a.style=function(a,b,c){switch(arguments.length){case 1:return f.get(a);case 2:return f["string"==typeof b?"get":"set"](a,b)}return f.set(a,b,c)};return a})},"dojo/dom-attr":function(){define("exports ./sniff ./_base/lang ./dom ./dom-style ./dom-prop".split(" "),
135
+ function(a,k,f,n,c,e){function h(a,c){var e=a.getAttributeNode&&a.getAttributeNode(c);return!!e&&e.specified}var g={innerHTML:1,textContent:1,className:1,htmlFor:k("ie"),value:1},m={classname:"class",htmlfor:"for",tabindex:"tabIndex",readonly:"readOnly"};a.has=function(a,c){var f=c.toLowerCase();return g[e.names[f]||c]||h(n.byId(a),m[f]||c)};a.get=function(a,c){a=n.byId(a);var k=c.toLowerCase(),d=e.names[k]||c,y=a[d];if(g[d]&&"undefined"!=typeof y)return y;if("textContent"==d)return e.get(a,d);if("href"!=
136
+ d&&("boolean"==typeof y||f.isFunction(y)))return y;k=m[k]||c;return h(a,k)?a.getAttribute(k):null};a.set=function(b,l,h){b=n.byId(b);if(2==arguments.length){for(var d in l)a.set(b,d,l[d]);return b}d=l.toLowerCase();var k=e.names[d]||l,p=g[k];if("style"==k&&"string"!=typeof h)return c.set(b,h),b;if(p||"boolean"==typeof h||f.isFunction(h))return e.set(b,l,h);b.setAttribute(m[d]||l,h);return b};a.remove=function(a,c){n.byId(a).removeAttribute(m[c.toLowerCase()]||c)};a.getNodeProp=function(a,c){a=n.byId(a);
137
+ var f=c.toLowerCase(),d=e.names[f]||c;if(d in a&&"href"!=d)return a[d];f=m[f]||c;return h(a,f)?a.getAttribute(f):null}})},"dojo/dom-prop":function(){define("exports ./_base/kernel ./sniff ./_base/lang ./dom ./dom-style ./dom-construct ./_base/connect".split(" "),function(a,k,f,n,c,e,h,g){function m(a){var b="";a=a.childNodes;for(var c=0,e;e=a[c];c++)8!=e.nodeType&&(b=1==e.nodeType?b+m(e):b+e.nodeValue);return b}var b={},l=0,q=k._scopeName+"attrid";f.add("dom-textContent",function(a,b,c){return"textContent"in
138
+ c});a.names={"class":"className","for":"htmlFor",tabindex:"tabIndex",readonly:"readOnly",colspan:"colSpan",frameborder:"frameBorder",rowspan:"rowSpan",textcontent:"textContent",valuetype:"valueType"};a.get=function(b,e){b=c.byId(b);var g=e.toLowerCase(),g=a.names[g]||e;return"textContent"!=g||f("dom-textContent")?b[g]:m(b)};a.set=function(d,k,m){d=c.byId(d);if(2==arguments.length&&"string"!=typeof k){for(var r in k)a.set(d,r,k[r]);return d}r=k.toLowerCase();r=a.names[r]||k;if("style"==r&&"string"!=
139
+ typeof m)return e.set(d,m),d;if("innerHTML"==r)return f("ie")&&d.tagName.toLowerCase()in{col:1,colgroup:1,table:1,tbody:1,tfoot:1,thead:1,tr:1,title:1}?(h.empty(d),d.appendChild(h.toDom(m,d.ownerDocument))):d[r]=m,d;if("textContent"==r&&!f("dom-textContent"))return h.empty(d),d.appendChild(d.ownerDocument.createTextNode(m)),d;if(n.isFunction(m)){var t=d[q];t||(t=l++,d[q]=t);b[t]||(b[t]={});var x=b[t][r];if(x)g.disconnect(x);else try{delete d[r]}catch(v){}m?b[t][r]=g.connect(d,r,m):d[r]=null;return d}d[r]=
140
+ m;return d}})},"dojo/dom-construct":function(){define("exports ./_base/kernel ./sniff ./_base/window ./dom ./dom-attr".split(" "),function(a,k,f,n,c,e){function h(a,b){var c=b.parentNode;c&&c.insertBefore(a,b)}function g(a){if("innerHTML"in a)try{a.innerHTML="";return}catch(b){}for(var c;c=a.lastChild;)a.removeChild(c)}var m={option:["select"],tbody:["table"],thead:["table"],tfoot:["table"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","thead","tr"],legend:["fieldset"],caption:["table"],
141
+ colgroup:["table"],col:["table","colgroup"],li:["ul"]},b=/<\s*([\w\:]+)/,l={},q=0,d="__"+k._scopeName+"ToDomId",y;for(y in m)m.hasOwnProperty(y)&&(k=m[y],k.pre="option"==y?'\x3cselect multiple\x3d"multiple"\x3e':"\x3c"+k.join("\x3e\x3c")+"\x3e",k.post="\x3c/"+k.reverse().join("\x3e\x3c/")+"\x3e");var p;8>=f("ie")&&(p=function(a){a.__dojo_html5_tested="yes";var b=r("div",{innerHTML:"\x3cnav\x3ea\x3c/nav\x3e",style:{visibility:"hidden"}},a.body);1!==b.childNodes.length&&"abbr article aside audio canvas details figcaption figure footer header hgroup mark meter nav output progress section summary time video".replace(/\b\w+\b/g,
142
+ function(b){a.createElement(b)});t(b)});a.toDom=function(a,c){c=c||n.doc;var e=c[d];e||(c[d]=e=++q+"",l[e]=c.createElement("div"));8>=f("ie")&&!c.__dojo_html5_tested&&c.body&&p(c);a+="";var g=a.match(b),h=g?g[1].toLowerCase():"",e=l[e];if(g&&m[h])for(g=m[h],e.innerHTML=g.pre+a+g.post,g=g.length;g;--g)e=e.firstChild;else e.innerHTML=a;if(1==e.childNodes.length)return e.removeChild(e.firstChild);for(h=c.createDocumentFragment();g=e.firstChild;)h.appendChild(g);return h};a.place=function(b,d,e){d=c.byId(d);
143
+ "string"==typeof b&&(b=/^\s*</.test(b)?a.toDom(b,d.ownerDocument):c.byId(b));if("number"==typeof e){var f=d.childNodes;!f.length||f.length<=e?d.appendChild(b):h(b,f[0>e?0:e])}else switch(e){case "before":h(b,d);break;case "after":e=b;(f=d.parentNode)&&(f.lastChild==d?f.appendChild(e):f.insertBefore(e,d.nextSibling));break;case "replace":d.parentNode.replaceChild(b,d);break;case "only":a.empty(d);d.appendChild(b);break;case "first":if(d.firstChild){h(b,d.firstChild);break}default:d.appendChild(b)}return b};
144
+ var r=a.create=function(b,d,f,g){var l=n.doc;f&&(f=c.byId(f),l=f.ownerDocument);"string"==typeof b&&(b=l.createElement(b));d&&e.set(b,d);f&&a.place(b,f,g);return b};a.empty=function(a){g(c.byId(a))};var t=a.destroy=function(a){if(a=c.byId(a)){var b=a;a=a.parentNode;b.firstChild&&g(b);a&&(f("ie")&&a.canHaveChildren&&"removeNode"in b?b.removeNode(!1):a.removeChild(b))}}})},"dojo/dom-class":function(){define(["./_base/lang","./_base/array","./dom"],function(a,k,f){function n(a){if("string"==typeof a||
145
+ a instanceof String){if(a&&!e.test(a))return h[0]=a,h;a=a.split(e);a.length&&!a[0]&&a.shift();a.length&&!a[a.length-1]&&a.pop();return a}return a?k.filter(a,function(a){return a}):[]}var c,e=/\s+/,h=[""],g={};return c={contains:function(a,b){return 0<=(" "+f.byId(a).className+" ").indexOf(" "+b+" ")},add:function(a,b){a=f.byId(a);b=n(b);var c=a.className,e,c=c?" "+c+" ":" ";e=c.length;for(var d=0,g=b.length,h;d<g;++d)(h=b[d])&&0>c.indexOf(" "+h+" ")&&(c+=h+" ");e<c.length&&(a.className=c.substr(1,
146
+ c.length-2))},remove:function(c,b){c=f.byId(c);var e;if(void 0!==b){b=n(b);e=" "+c.className+" ";for(var g=0,d=b.length;g<d;++g)e=e.replace(" "+b[g]+" "," ");e=a.trim(e)}else e="";c.className!=e&&(c.className=e)},replace:function(a,b,e){a=f.byId(a);g.className=a.className;c.remove(g,e);c.add(g,b);a.className!==g.className&&(a.className=g.className)},toggle:function(a,b,e){a=f.byId(a);if(void 0===e){b=n(b);for(var g=0,d=b.length,h;g<d;++g)h=b[g],c[c.contains(a,h)?"remove":"add"](a,h)}else c[e?"add":
147
+ "remove"](a,b);return e}}})},"dojo/_base/NodeList":function(){define(["./kernel","../query","./array","./html","../NodeList-dom"],function(a,k,f){k=k.NodeList;var n=k.prototype;n.connect=k._adaptAsForEach(function(){return a.connect.apply(this,arguments)});n.coords=k._adaptAsMap(a.coords);k.events="blur focus change click error keydown keypress keyup load mousedown mouseenter mouseleave mousemove mouseout mouseover mouseup submit".split(" ");f.forEach(k.events,function(a){var e="on"+a;n[e]=function(a,
148
+ c){return this.connect(e,a,c)}});return a.NodeList=k})},"dojo/query":function(){define("./_base/kernel ./has ./dom ./on ./_base/array ./_base/lang ./selector/_loader ./selector/_loader!default".split(" "),function(a,k,f,n,c,e,h,g){function m(a,b){var d=function(c,d){if("string"==typeof d&&(d=f.byId(d),!d))return new b([]);var e="string"==typeof c?a(c,d):c?c.end&&c.on?c:[c]:[];return e.end&&e.on?e:new b(e)};d.matches=a.match||function(a,b,c){return 0<d.filter([a],b,c).length};d.filter=a.filter||function(a,
149
+ b,e){return d(b,e).filter(function(b){return-1<c.indexOf(a,b)})};if("function"!=typeof a){var e=a.search;a=function(a,b){return e(b||document,a)}}return d}k.add("array-extensible",function(){return 1==e.delegate([],{length:1}).length&&!k("bug-for-in-skips-shadowed")});var b=Array.prototype,l=b.slice,q=b.concat,d=c.forEach,y=function(b,c,d){c=[0].concat(l.call(c,0));d=d||a.global;return function(a){c[0]=a;return b.apply(d,c)}},p=function(a){var b=this instanceof r&&k("array-extensible");"number"==
150
+ typeof a&&(a=Array(a));var c=a&&"length"in a?a:arguments;if(b||!c.sort){for(var d=b?this:[],f=d.length=c.length,g=0;g<f;g++)d[g]=c[g];if(b)return d;c=d}e._mixin(c,t);c._NodeListCtor=function(a){return r(a)};return c},r=p,t=r.prototype=k("array-extensible")?[]:{};r._wrap=t._wrap=function(a,b,c){a=new (c||this._NodeListCtor||r)(a);return b?a._stash(b):a};r._adaptAsMap=function(a,b){return function(){return this.map(y(a,arguments,b))}};r._adaptAsForEach=function(a,b){return function(){this.forEach(y(a,
151
+ arguments,b));return this}};r._adaptAsFilter=function(a,b){return function(){return this.filter(y(a,arguments,b))}};r._adaptWithCondition=function(b,c,d){return function(){var e=arguments,f=y(b,e,d);if(c.call(d||a.global,e))return this.map(f);this.forEach(f);return this}};d(["slice","splice"],function(a){var c=b[a];t[a]=function(){return this._wrap(c.apply(this,arguments),"slice"==a?this:null)}});d(["indexOf","lastIndexOf","every","some"],function(b){var d=c[b];t[b]=function(){return d.apply(a,[this].concat(l.call(arguments,
152
+ 0)))}});e.extend(p,{constructor:r,_NodeListCtor:r,toString:function(){return this.join(",")},_stash:function(a){this._parent=a;return this},on:function(a,b){var c=this.map(function(c){return n(c,a,b)});c.remove=function(){for(var a=0;a<c.length;a++)c[a].remove()};return c},end:function(){return this._parent?this._parent:new this._NodeListCtor(0)},concat:function(a){var b=l.call(this,0),d=c.map(arguments,function(a){return l.call(a,0)});return this._wrap(q.apply(b,d),this)},map:function(a,b){return this._wrap(c.map(this,
153
+ a,b),this)},forEach:function(a,b){d(this,a,b);return this},filter:function(a){var b=arguments,d=this,e=0;if("string"==typeof a){d=x._filterResult(this,b[0]);if(1==b.length)return d._stash(this);e=1}return this._wrap(c.filter(d,b[e],b[e+1]),this)},instantiate:function(a,b){var c=e.isFunction(a)?a:e.getObject(a);b=b||{};return this.forEach(function(a){new c(b,a)})},at:function(){var a=new this._NodeListCtor(0);d(arguments,function(b){0>b&&(b=this.length+b);this[b]&&a.push(this[b])},this);return a._stash(this)}});
154
+ var x=m(g,p);a.query=m(g,function(a){return p(a)});x.load=function(a,b,c){h.load(a,b,function(a){c(m(a,p))})};a._filterQueryResult=x._filterResult=function(a,b,c){return new p(x.filter(a,b,c))};a.NodeList=x.NodeList=p;return x})},"dojo/selector/_loader":function(){define(["../has","require"],function(a,k){var f=document.createElement("div");a.add("dom-qsa2.1",!!f.querySelectorAll);a.add("dom-qsa3",function(){try{return f.innerHTML="\x3cp class\x3d'TEST'\x3e\x3c/p\x3e",1==f.querySelectorAll(".TEST:empty").length}catch(a){}});
155
+ var n;return{load:function(c,e,f,g){g=k;c="default"==c?a("config-selectorEngine")||"css3":c;c="css2"==c||"lite"==c?"./lite":"css2.1"==c?a("dom-qsa2.1")?"./lite":"./acme":"css3"==c?a("dom-qsa3")?"./lite":"./acme":"acme"==c?"./acme":(g=e)&&c;if("?"==c.charAt(c.length-1)){c=c.substring(0,c.length-1);var m=!0}if(m&&(a("dom-compliant-qsa")||n))return f(n);g([c],function(a){"./lite"!=c&&(n=a);f(a)})}}})},"dojo/selector/acme":function(){define(["../dom","../sniff","../_base/array","../_base/lang","../_base/window"],
156
+ function(a,k,f,n,c){var e=n.trim,h=f.forEach,g="BackCompat"==c.doc.compatMode,m=!1,b=function(){return!0},l=function(a){a=0<="\x3e~+".indexOf(a.slice(-1))?a+" * ":a+" ";for(var b=function(b,c){return e(a.slice(b,c))},c=[],d=-1,f=-1,g=-1,h=-1,l=-1,k=-1,n=-1,q,t="",v="",D,p=0,N=a.length,r=null,u=null,x=function(){0<=k&&(r.id=b(k,p).replace(/\\/g,""),k=-1);if(0<=n){var a=n==p?null:b(n,p);r[0>"\x3e~+".indexOf(a)?"tag":"oper"]=a;n=-1}0<=l&&(r.classes.push(b(l+1,p).replace(/\\/g,"")),l=-1)};t=v,v=a.charAt(p),
157
+ p<N;p++)"\\"!=t&&(r||(D=p,r={query:null,pseudos:[],attrs:[],classes:[],tag:null,oper:null,id:null,getTag:function(){return m?this.otag:this.tag}},n=p),q?v==q&&(q=null):"'"==v||'"'==v?q=v:0<=d?"]"==v?(u.attr?u.matchFor=b(g||d+1,p):u.attr=b(d+1,p),!(d=u.matchFor)||'"'!=d.charAt(0)&&"'"!=d.charAt(0)||(u.matchFor=d.slice(1,-1)),u.matchFor&&(u.matchFor=u.matchFor.replace(/\\/g,"")),r.attrs.push(u),u=null,d=g=-1):"\x3d"==v&&(g=0<="|~^$*".indexOf(t)?t:"",u.type=g+v,u.attr=b(d+1,p-g.length),g=p+1):0<=f?")"==
158
+ v&&(0<=h&&(u.value=b(f+1,p)),h=f=-1):"#"==v?(x(),k=p+1):"."==v?(x(),l=p):":"==v?(x(),h=p):"["==v?(x(),d=p,u={}):"("==v?(0<=h&&(u={name:b(h+1,p),value:null},r.pseudos.push(u)),f=p):" "==v&&t!=v&&(x(),0<=h&&r.pseudos.push({name:b(h+1,p)}),r.loops=r.pseudos.length||r.attrs.length||r.classes.length,r.oquery=r.query=b(D,p),r.otag=r.tag=r.oper?null:r.tag||"*",r.tag&&(r.tag=r.tag.toUpperCase()),c.length&&c[c.length-1].oper&&(r.infixOper=c.pop(),r.query=r.infixOper.query+" "+r.query),c.push(r),r=null));return c},
159
+ q=function(a,b){return a?b?function(){return a.apply(window,arguments)&&b.apply(window,arguments)}:a:b},d=function(a,b){var c=b||[];a&&c.push(a);return c},y=function(a){return 1==a.nodeType},p=function(a,b){return a?"class"==b?a.className||"":"for"==b?a.htmlFor||"":"style"==b?a.style.cssText||"":(m?a.getAttribute(b):a.getAttribute(b,2))||"":""},r={"*\x3d":function(a,b){return function(c){return 0<=p(c,a).indexOf(b)}},"^\x3d":function(a,b){return function(c){return 0==p(c,a).indexOf(b)}},"$\x3d":function(a,
160
+ b){return function(c){c=" "+p(c,a);var d=c.lastIndexOf(b);return-1<d&&d==c.length-b.length}},"~\x3d":function(a,b){var c=" "+b+" ";return function(b){return 0<=(" "+p(b,a)+" ").indexOf(c)}},"|\x3d":function(a,b){var c=b+"-";return function(d){d=p(d,a);return d==b||0==d.indexOf(c)}},"\x3d":function(a,b){return function(c){return p(c,a)==b}}},t="undefined"==typeof c.doc.firstChild.nextElementSibling,x=t?"nextSibling":"nextElementSibling",v=t?"previousSibling":"previousElementSibling",u=t?y:b,z=function(a){for(;a=
161
+ a[v];)if(u(a))return!1;return!0},w=function(a){for(;a=a[x];)if(u(a))return!1;return!0},D=function(a){var b=a.parentNode,b=7!=b.nodeType?b:b.nextSibling,c=0,d=b.children||b.childNodes,e=a._i||a.getAttribute("_i")||-1,f=b._l||("undefined"!==typeof b.getAttribute?b.getAttribute("_l"):-1);if(!d)return-1;d=d.length;if(f==d&&0<=e&&0<=f)return e;k("ie")&&"undefined"!==typeof b.setAttribute?b.setAttribute("_l",d):b._l=d;e=-1;for(b=b.firstElementChild||b.firstChild;b;b=b[x])u(b)&&(k("ie")?b.setAttribute("_i",
162
+ ++c):b._i=++c,a===b&&(e=c));return e},N=function(a){return!(D(a)%2)},X=function(a){return D(a)%2},R={checked:function(a,b){return function(a){return!("checked"in a?!a.checked:!a.selected)}},disabled:function(a,b){return function(a){return a.disabled}},enabled:function(a,b){return function(a){return!a.disabled}},"first-child":function(){return z},"last-child":function(){return w},"only-child":function(a,b){return function(a){return z(a)&&w(a)}},empty:function(a,b){return function(a){var b=a.childNodes;
163
+ for(a=a.childNodes.length-1;0<=a;a--){var c=b[a].nodeType;if(1===c||3==c)return!1}return!0}},contains:function(a,b){var c=b.charAt(0);if('"'==c||"'"==c)b=b.slice(1,-1);return function(a){return 0<=a.innerHTML.indexOf(b)}},not:function(a,b){var c=l(b)[0],d={el:1};"*"!=c.tag&&(d.tag=1);c.classes.length||(d.classes=1);var e=O(c,d);return function(a){return!e(a)}},"nth-child":function(a,b){var c=parseInt;if("odd"==b)return X;if("even"==b)return N;if(-1!=b.indexOf("n")){var d=b.split("n",2),e=d[0]?"-"==
164
+ d[0]?-1:c(d[0]):1,f=d[1]?c(d[1]):0,g=0,h=-1;0<e?0>f?f=f%e&&e+f%e:0<f&&(f>=e&&(g=f-f%e),f%=e):0>e&&(e*=-1,0<f&&(h=f,f%=e));if(0<e)return function(a){a=D(a);return a>=g&&(0>h||a<=h)&&a%e==f};b=f}var l=c(b);return function(a){return D(a)==l}}},P=9>k("ie")||9==k("ie")&&k("quirks")?function(a){var b=a.toLowerCase();"class"==b&&(a="className");return function(c){return m?c.getAttribute(a):c[a]||c[b]}}:function(a){return function(b){return b&&b.getAttribute&&b.hasAttribute(a)}},O=function(a,c){if(!a)return b;
165
+ c=c||{};var d=null;"el"in c||(d=q(d,y));"tag"in c||"*"!=a.tag&&(d=q(d,function(b){return b&&(m?b.tagName:b.tagName.toUpperCase())==a.getTag()}));"classes"in c||h(a.classes,function(a,b,c){var e=new RegExp("(?:^|\\s)"+a+"(?:\\s|$)");d=q(d,function(a){return e.test(a.className)});d.count=b});"pseudos"in c||h(a.pseudos,function(a){var b=a.name;R[b]&&(d=q(d,R[b](b,a.value)))});"attrs"in c||h(a.attrs,function(a){var b,c=a.attr;a.type&&r[a.type]?b=r[a.type](c,a.matchFor):c.length&&(b=P(c));b&&(d=q(d,b))});
166
+ "id"in c||a.id&&(d=q(d,function(b){return!!b&&b.id==a.id}));d||"default"in c||(d=b);return d},S=function(a){return function(b,c,d){for(;b=b[x];)if(!t||y(b)){d&&!W(b,d)||!a(b)||c.push(b);break}return c}},I=function(a){return function(b,c,d){for(b=b[x];b;){if(u(b)){if(d&&!W(b,d))break;a(b)&&c.push(b)}b=b[x]}return c}},J=function(a){a=a||b;return function(b,c,d){for(var e=0,f=b.children||b.childNodes;b=f[e++];)u(b)&&(!d||W(b,d))&&a(b,e)&&c.push(b);return c}},Q={},E=function(e){var f=Q[e.query];if(f)return f;
167
+ var h=e.infixOper,h=h?h.oper:"",l=O(e,{el:1}),k="*"==e.tag,m=c.doc.getElementsByClassName;if(h)m={el:1},k&&(m.tag=1),l=O(e,m),"+"==h?f=S(l):"~"==h?f=I(l):"\x3e"==h&&(f=J(l));else if(e.id)l=!e.loops&&k?b:O(e,{el:1,id:1}),f=function(b,c){var f=a.byId(e.id,b.ownerDocument||b);if(f&&l(f)){if(9==b.nodeType)return d(f,c);for(var g=f.parentNode;g&&g!=b;)g=g.parentNode;if(g)return d(f,c)}};else if(m&&/\{\s*\[native code\]\s*\}/.test(String(m))&&e.classes.length&&!g)var l=O(e,{el:1,classes:1,id:1}),n=e.classes.join(" "),
168
+ f=function(a,b,c){b=d(0,b);for(var e,f=0,g=a.getElementsByClassName(n);e=g[f++];)l(e,a)&&W(e,c)&&b.push(e);return b};else k||e.loops?(l=O(e,{el:1,tag:1,id:1}),f=function(a,b,c){b=d(0,b);for(var f,g=0,h=(f=e.getTag())?a.getElementsByTagName(f):[];f=h[g++];)l(f,a)&&W(f,c)&&b.push(f);return b}):f=function(a,b,c){b=d(0,b);for(var f=0,g=e.getTag(),g=g?a.getElementsByTagName(g):[];a=g[f++];)W(a,c)&&b.push(a);return b};return Q[e.query]=f},A={},C={},H=function(a){var b=l(e(a));if(1==b.length){var c=E(b[0]);
169
+ return function(a){if(a=c(a,[]))a.nozip=!0;return a}}return function(a){a=d(a);for(var c,e,f=b.length,g,h,l=0;l<f;l++){h=[];c=b[l];e=a.length-1;0<e&&(g={},h.nozip=!0);e=E(c);for(var k=0;c=a[k];k++)e(c,h,g);if(!h.length)break;a=h}return h}},ea=k("ie")?"commentStrip":"nozip",K=!!c.doc.querySelectorAll,B=/\\[>~+]|n\+\d|([^ \\])?([>~+])([^ =])?/g,L=function(a,b,c,d){return c?(b?b+" ":"")+c+(d?" "+d:""):a},F=/([^[]*)([^\]]*])?/g,G=function(a,b,c){return b.replace(B,L)+(c||"")},V=function(a,b){a=a.replace(F,
170
+ G);if(K){var c=C[a];if(c&&!b)return c}if(c=A[a])return c;var c=a.charAt(0),d=-1==a.indexOf(" ");0<=a.indexOf("#")&&d&&(b=!0);if(!K||b||-1!="\x3e~+".indexOf(c)||k("ie")&&-1!=a.indexOf(":")||g&&0<=a.indexOf(".")||-1!=a.indexOf(":contains")||-1!=a.indexOf(":checked")||-1!=a.indexOf("|\x3d")){var e=a.match(/([^\s,](?:"(?:\\.|[^"])+"|'(?:\\.|[^'])+'|[^,])*)/g);return A[a]=2>e.length?H(a):function(a){for(var b=0,c=[],d;d=e[b++];)c=c.concat(H(d)(a));return c}}var f=0<="\x3e~+".indexOf(a.charAt(a.length-
171
+ 1))?a+" *":a;return C[a]=function(b){try{if(9!=b.nodeType&&!d)throw"";var c=b.querySelectorAll(f);c[ea]=!0;return c}catch(e){return V(a,!0)(b)}}},M=0,aa=k("ie")?function(a){return m?a.getAttribute("_uid")||a.setAttribute("_uid",++M)||M:a.uniqueID}:function(a){return a._uid||(a._uid=++M)},W=function(a,b){if(!b)return 1;var c=aa(a);return b[c]?0:b[c]=1},ba=function(a){if(a&&a.nozip)return a;if(!a||!a.length)return[];if(2>a.length)return[a[0]];var b=[];M++;var c,d;if(k("ie")&&m){var e=M+"";for(c=0;c<
172
+ a.length;c++)(d=a[c])&&d.getAttribute("_zipIdx")!=e&&(b.push(d),d.setAttribute("_zipIdx",e))}else if(k("ie")&&a.commentStrip)try{for(c=0;c<a.length;c++)(d=a[c])&&y(d)&&b.push(d)}catch(f){}else for(c=0;c<a.length;c++)(d=a[c])&&d._zipIdx!=M&&(b.push(d),d._zipIdx=M);return b},ca=function(a,b){b=b||c.doc;m="div"===(b.ownerDocument||b).createElement("div").tagName;var d=V(a)(b);return d&&d.nozip?d:ba(d)};ca.filter=function(b,c,d){for(var e=[],g=l(c),g=1!=g.length||/[^\w#\.]/.test(c)?function(b){return-1!=
173
+ f.indexOf(ca(c,a.byId(d)),b)}:O(g[0]),h=0,k;k=b[h];h++)g(k)&&e.push(k);return e};return ca})},"dojo/NodeList-dom":function(){define("./_base/kernel ./query ./_base/array ./_base/lang ./dom-class ./dom-construct ./dom-geometry ./dom-attr ./dom-style".split(" "),function(a,k,f,n,c,e,h,g,m){function b(a){return function(b,c,d){return 2==arguments.length?a["string"==typeof c?"get":"set"](b,c):a.set(b,c,d)}}var l=function(a){return 1==a.length&&"string"==typeof a[0]},q=function(a){var b=a.parentNode;b&&
174
+ b.removeChild(a)},d=k.NodeList,y=d._adaptWithCondition,p=d._adaptAsForEach,r=d._adaptAsMap;n.extend(d,{_normalize:function(b,c){var d=!0===b.parse;if("string"==typeof b.template){var f=b.templateFunc||a.string&&a.string.substitute;b=f?f(b.template,b):b}f=typeof b;"string"==f||"number"==f?(b=e.toDom(b,c&&c.ownerDocument),b=11==b.nodeType?n._toArray(b.childNodes):[b]):n.isArrayLike(b)?n.isArray(b)||(b=n._toArray(b)):b=[b];d&&(b._runParse=!0);return b},_cloneNode:function(a){return a.cloneNode(!0)},
175
+ _place:function(b,c,d,f){if(1==c.nodeType||"only"!=d)for(var g,h=b.length,l=h-1;0<=l;l--){var k=f?this._cloneNode(b[l]):b[l];if(b._runParse&&a.parser&&a.parser.parse)for(g||(g=c.ownerDocument.createElement("div")),g.appendChild(k),a.parser.parse(g),k=g.firstChild;g.firstChild;)g.removeChild(g.firstChild);l==h-1?e.place(k,c,d):c.parentNode.insertBefore(k,c);c=k}},position:r(h.position),attr:y(b(g),l),style:y(b(m),l),addClass:p(c.add),removeClass:p(c.remove),toggleClass:p(c.toggle),replaceClass:p(c.replace),
176
+ empty:p(e.empty),removeAttr:p(g.remove),marginBox:r(h.getMarginBox),place:function(a,b){var c=k(a)[0];return this.forEach(function(a){e.place(a,c,b)})},orphan:function(a){return(a?k._filterResult(this,a):this).forEach(q)},adopt:function(a,b){return k(a).place(this[0],b)._stash(this)},query:function(a){if(!a)return this;var b=new d;this.map(function(c){k(a,c).forEach(function(a){void 0!==a&&b.push(a)})});return b._stash(this)},filter:function(a){var b=arguments,c=this,d=0;if("string"==typeof a){c=
177
+ k._filterResult(this,b[0]);if(1==b.length)return c._stash(this);d=1}return this._wrap(f.filter(c,b[d],b[d+1]),this)},addContent:function(a,b){a=this._normalize(a,this[0]);for(var c=0,d;d=this[c];c++)a.length?this._place(a,d,b,0<c):e.empty(d);return this}});return d})},"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(a,k,f,n,c,e,h,
178
+ g,m,b,l,q,d,y,p,r){a._xhrObj=p._create;var t=a.config;a.objectToQuery=n.objectToQuery;a.queryToObject=n.queryToObject;a.fieldToObject=e.fieldToObject;a.formToObject=e.toObject;a.formToQuery=e.toQuery;a.formToJson=e.toJson;a._blockAsync=!1;var x=a._contentHandlers=a.contentHandlers={text:function(a){return a.responseText},json:function(a){return m.fromJson(a.responseText||null)},"json-comment-filtered":function(a){a=a.responseText;var b=a.indexOf("/*"),c=a.lastIndexOf("*/");if(-1==b||-1==c)throw Error("JSON was not comment filtered");
179
+ return m.fromJson(a.substring(b+2,c))},javascript:function(b){return a.eval(b.responseText)},xml:function(a){var b=a.responseXML;b&&k("dom-qsa2.1")&&!b.querySelectorAll&&k("dom-parser")&&(b=(new DOMParser).parseFromString(a.responseText,"application/xml"));if(k("ie")&&(!b||!b.documentElement)){var c=function(a){return"MSXML"+a+".DOMDocument"},c=["Microsoft.XMLDOM",c(6),c(4),c(3),c(2)];l.some(c,function(c){try{var d=new ActiveXObject(c);d.async=!1;d.loadXML(a.responseText);b=d}catch(e){return!1}return!0})}return b},
180
+ "json-comment-optional":function(a){return a.responseText&&/^[^{\[]*\/\*/.test(a.responseText)?x["json-comment-filtered"](a):x.json(a)}};a._ioSetArgs=function(d,f,g,l){var k={args:d,url:d.url},m=null;if(d.form){var m=c.byId(d.form),q=m.getAttributeNode("action");k.url=k.url||(q?q.value:null);m=e.toObject(m)}q=[{}];m&&q.push(m);d.content&&q.push(d.content);d.preventCache&&q.push({"dojo.preventCache":(new Date).valueOf()});k.query=n.objectToQuery(b.mixin.apply(null,q));k.handleAs=d.handleAs||"text";
181
+ var p=new h(function(a){a.canceled=!0;f&&f(a);var b=a.ioArgs.error;b||(b=Error("request cancelled"),b.dojoType="cancel",a.ioArgs.error=b);return b});p.addCallback(g);var r=d.load;r&&b.isFunction(r)&&p.addCallback(function(a){return r.call(d,a,k)});var v=d.error;v&&b.isFunction(v)&&p.addErrback(function(a){return v.call(d,a,k)});var u=d.handle;u&&b.isFunction(u)&&p.addBoth(function(a){return u.call(d,a,k)});p.addErrback(function(a){return l(a,p)});t.ioPublish&&a.publish&&!1!==k.args.ioPublish&&(p.addCallbacks(function(b){a.publish("/dojo/io/load",
182
+ [p,b]);return b},function(b){a.publish("/dojo/io/error",[p,b]);return b}),p.addBoth(function(b){a.publish("/dojo/io/done",[p,b]);return b}));p.ioArgs=k;return p};var v=function(a){a=x[a.ioArgs.handleAs](a.ioArgs.xhr);return void 0===a?null:a},u=function(a,b){return a},z=function(b){0>=w&&(w=0,t.ioPublish&&a.publish&&(!b||b&&!1!==b.ioArgs.args.ioPublish)&&a.publish("/dojo/io/stop"))},w=0;d.after(y,"_onAction",function(){--w});d.after(y,"_onInFlight",z);a._ioCancelAll=y.cancelAll;a._ioNotifyStart=function(b){t.ioPublish&&
183
+ a.publish&&!1!==b.ioArgs.args.ioPublish&&(w||a.publish("/dojo/io/start"),w+=1,a.publish("/dojo/io/send",[b]))};a._ioWatch=function(a,c,d,e){a.ioArgs.options=a.ioArgs.args;b.mixin(a,{response:a.ioArgs,isValid:function(b){return c(a)},isReady:function(b){return d(a)},handleResponse:function(b){return e(a)}});y(a);z(a)};a._ioAddQueryToUrl=function(a){a.query.length&&(a.url+=(-1==a.url.indexOf("?")?"?":"\x26")+a.query,a.query=null)};a.xhr=function(b,c,d){var e,f=a._ioSetArgs(c,function(a){e&&e.cancel()},
184
+ v,u),g=f.ioArgs;"postData"in c?g.query=c.postData:"putData"in c?g.query=c.putData:"rawBody"in c?g.query=c.rawBody:(2<arguments.length&&!d||-1==="POST|PUT".indexOf(b.toUpperCase()))&&a._ioAddQueryToUrl(g);var h={method:b,handleAs:"text",timeout:c.timeout,withCredentials:c.withCredentials,ioArgs:g};"undefined"!==typeof c.headers&&(h.headers=c.headers);"undefined"!==typeof c.contentType&&(h.headers||(h.headers={}),h.headers["Content-Type"]=c.contentType);"undefined"!==typeof g.query&&(h.data=g.query);
185
+ "undefined"!==typeof c.sync&&(h.sync=c.sync);a._ioNotifyStart(f);try{e=p(g.url,h,!0)}catch(l){return f.cancel(),f}f.ioArgs.xhr=e.response.xhr;e.then(function(){f.resolve(f)}).otherwise(function(a){g.error=a;a.response&&(a.status=a.response.status,a.responseText=a.response.text,a.xhr=a.response.xhr);f.reject(a)});return f};a.xhrGet=function(b){return a.xhr("GET",b)};a.rawXhrPost=a.xhrPost=function(b){return a.xhr("POST",b,!0)};a.rawXhrPut=a.xhrPut=function(b){return a.xhr("PUT",b,!0)};a.xhrDelete=
186
+ function(b){return a.xhr("DELETE",b)};a._isDocumentOk=function(a){return r.checkStatus(a.status)};a._getText=function(b){var c;a.xhrGet({url:b,sync:!0,load:function(a){c=a}});return c};b.mixin(a.xhr,{_xhrObj:a._xhrObj,fieldToObject:e.fieldToObject,formToObject:e.toObject,objectToQuery:n.objectToQuery,formToQuery:e.toQuery,formToJson:e.toJson,queryToObject:n.queryToObject,contentHandlers:x,_ioSetArgs:a._ioSetArgs,_ioCancelAll:a._ioCancelAll,_ioNotifyStart:a._ioNotifyStart,_ioWatch:a._ioWatch,_ioAddQueryToUrl:a._ioAddQueryToUrl,
187
+ _isDocumentOk:a._isDocumentOk,_getText:a._getText,get:a.xhrGet,post:a.xhrPost,put:a.xhrPut,del:a.xhrDelete});return a.xhr})},"dojo/io-query":function(){define(["./_base/lang"],function(a){var k={};return{objectToQuery:function(f){var n=encodeURIComponent,c=[],e;for(e in f){var h=f[e];if(h!=k[e]){var g=n(e)+"\x3d";if(a.isArray(h))for(var m=0,b=h.length;m<b;++m)c.push(g+n(h[m]));else c.push(g+n(h))}}return c.join("\x26")},queryToObject:function(f){var k=decodeURIComponent;f=f.split("\x26");for(var c=
188
+ {},e,h,g=0,m=f.length;g<m;++g)if(h=f[g],h.length){var b=h.indexOf("\x3d");0>b?(e=k(h),h=""):(e=k(h.slice(0,b)),h=k(h.slice(b+1)));"string"==typeof c[e]&&(c[e]=[c[e]]);a.isArray(c[e])?c[e].push(h):c[e]=h}return c}}})},"dojo/dom-form":function(){define(["./_base/lang","./dom","./io-query","./json"],function(a,k,f,n){var c={fieldToObject:function(a){var c=null;if(a=k.byId(a)){var f=a.name,m=(a.type||"").toLowerCase();if(f&&m&&!a.disabled)if("radio"==m||"checkbox"==m)a.checked&&(c=a.value);else if(a.multiple)for(c=
189
+ [],a=[a.firstChild];a.length;)for(f=a.pop();f;f=f.nextSibling)if(1==f.nodeType&&"option"==f.tagName.toLowerCase())f.selected&&c.push(f.value);else{f.nextSibling&&a.push(f.nextSibling);f.firstChild&&a.push(f.firstChild);break}else c=a.value}return c},toObject:function(e){var f={};e=k.byId(e).elements;for(var g=0,m=e.length;g<m;++g){var b=e[g],l=b.name,n=(b.type||"").toLowerCase();if(l&&n&&0>"file|submit|image|reset|button".indexOf(n)&&!b.disabled){var d=f,y=l,b=c.fieldToObject(b);if(null!==b){var p=
190
+ d[y];"string"==typeof p?d[y]=[p,b]:a.isArray(p)?p.push(b):d[y]=b}"image"==n&&(f[l+".x"]=f[l+".y"]=f[l].x=f[l].y=0)}}return f},toQuery:function(a){return f.objectToQuery(c.toObject(a))},toJson:function(a,f){return n.stringify(c.toObject(a),null,f?4:0)}};return c})},"dojo/request/watch":function(){define("./util ../errors/RequestTimeoutError ../errors/CancelError ../_base/array ../_base/window ../has!host-browser?dom-addeventlistener?:../on:".split(" "),function(a,k,f,n,c,e){function h(){for(var a=
191
+ +new Date,c=0,d;c<b.length&&(d=b[c]);c++){var e=d.response,f=e.options;d.isCanceled&&d.isCanceled()||d.isValid&&!d.isValid(e)?(b.splice(c--,1),g._onAction&&g._onAction()):d.isReady&&d.isReady(e)?(b.splice(c--,1),d.handleResponse(e),g._onAction&&g._onAction()):d.startTime&&d.startTime+(f.timeout||0)<a&&(b.splice(c--,1),d.cancel(new k("Timeout exceeded",e)),g._onAction&&g._onAction())}g._onInFlight&&g._onInFlight(d);b.length||(clearInterval(m),m=null)}function g(a){a.response.options.timeout&&(a.startTime=
192
+ +new Date);a.isFulfilled()||(b.push(a),m||(m=setInterval(h,50)),a.response.options.sync&&h())}var m=null,b=[];g.cancelAll=function(){try{n.forEach(b,function(a){try{a.cancel(new f("All requests canceled."))}catch(b){}})}catch(a){}};c&&e&&c.doc.attachEvent&&e(c.global,"unload",function(){g.cancelAll()});return g})},"dojo/request/util":function(){define("exports ../errors/RequestError ../errors/CancelError ../Deferred ../io-query ../_base/array ../_base/lang ../promise/Promise".split(" "),function(a,
193
+ k,f,n,c,e,h,g){function m(a){return l(a)}function b(a){return a.data||a.text}a.deepCopy=function(b,c){for(var e in c){var f=b[e],g=c[e];f!==g&&(f&&"object"===typeof f&&g&&"object"===typeof g?a.deepCopy(f,g):b[e]=g)}return b};a.deepCreate=function(b,c){c=c||{};var e=h.delegate(b),f,g;for(f in b)(g=b[f])&&"object"===typeof g&&(e[f]=a.deepCreate(g,c[f]));return a.deepCopy(e,c)};var l=Object.freeze||function(a){return a};a.deferred=function(c,d,e,p,r,t){var x=new n(function(a){d&&d(x,c);return a&&(a instanceof
194
+ k||a instanceof f)?a:new f("Request canceled",c)});x.response=c;x.isValid=e;x.isReady=p;x.handleResponse=r;e=x.then(m).otherwise(function(a){a.response=c;throw a;});a.notify&&e.then(h.hitch(a.notify,"emit","load"),h.hitch(a.notify,"emit","error"));p=e.then(b);r=new g;for(var v in p)p.hasOwnProperty(v)&&(r[v]=p[v]);r.response=e;l(r);t&&x.then(function(a){t.call(x,a)},function(a){t.call(x,c,a)});x.promise=r;x.then=r.then;return x};a.addCommonMethods=function(a,b){e.forEach(b||["GET","POST","PUT","DELETE"],
195
+ function(b){a[("DELETE"===b?"DEL":b).toLowerCase()]=function(c,d){d=h.delegate(d||{});d.method=b;return a(c,d)}})};a.parseArgs=function(a,b,e){var f=b.data,g=b.query;f&&!e&&"object"===typeof f&&(b.data=c.objectToQuery(f));g?("object"===typeof g&&(g=c.objectToQuery(g)),b.preventCache&&(g+=(g?"\x26":"")+"request.preventCache\x3d"+ +new Date)):b.preventCache&&(g="request.preventCache\x3d"+ +new Date);a&&g&&(a+=(~a.indexOf("?")?"\x26":"?")+g);return{url:a,options:b,getHeader:function(a){return null}}};
196
+ a.checkStatus=function(a){a=a||0;return 200<=a&&300>a||304===a||1223===a||!a}})},"dojo/errors/RequestError":function(){define(["./create"],function(a){return a("RequestError",function(a,f){this.response=f})})},"dojo/errors/RequestTimeoutError":function(){define(["./create","./RequestError"],function(a,k){return a("RequestTimeoutError",null,k,{dojoType:"timeout"})})},"dojo/request/xhr":function(){define(["../errors/RequestError","./watch","./handlers","./util","../has"],function(a,k,f,n,c){function e(b,
197
+ c){var d=b.xhr;b.status=b.xhr.status;try{b.text=d.responseText}catch(e){}"xml"===b.options.handleAs&&(b.data=d.responseXML);if(!c)try{f(b)}catch(e){c=e}c?this.reject(c):n.checkStatus(d.status)?this.resolve(b):(c=new a("Unable to load "+b.url+" status: "+d.status,b),this.reject(c))}function h(a){return this.xhr.getResponseHeader(a)}function g(f,t,x){var v=c("native-formdata")&&t&&t.data&&t.data instanceof FormData,u=n.parseArgs(f,n.deepCreate(p,t),v);f=u.url;t=u.options;var z,w=n.deferred(u,d,b,l,
198
+ e,function(){z&&z()}),D=u.xhr=g._create();if(!D)return w.cancel(new a("XHR was not created")),x?w:w.promise;u.getHeader=h;q&&(z=q(D,w,u));var N=t.data,X=!t.sync,R=t.method;try{D.open(R,f,X,t.user||y,t.password||y);t.withCredentials&&(D.withCredentials=t.withCredentials);c("native-response-type")&&t.handleAs in m&&(D.responseType=m[t.handleAs]);var P=t.headers;f=v?!1:"application/x-www-form-urlencoded";if(P)for(var O in P)"content-type"===O.toLowerCase()?f=P[O]:P[O]&&D.setRequestHeader(O,P[O]);f&&
199
+ !1!==f&&D.setRequestHeader("Content-Type",f);P&&"X-Requested-With"in P||D.setRequestHeader("X-Requested-With","XMLHttpRequest");n.notify&&n.notify.emit("send",u,w.promise.cancel);D.send(N)}catch(S){w.reject(S)}k(w);D=null;return x?w:w.promise}c.add("native-xhr",function(){return"undefined"!==typeof XMLHttpRequest});c.add("dojo-force-activex-xhr",function(){return c("activex")&&!document.addEventListener&&"file:"===window.location.protocol});c.add("native-xhr2",function(){if(c("native-xhr")){var a=
200
+ new XMLHttpRequest;return"undefined"!==typeof a.addEventListener&&("undefined"===typeof opera||"undefined"!==typeof a.upload)}});c.add("native-formdata",function(){return"undefined"!==typeof FormData});c.add("native-response-type",function(){return c("native-xhr")&&"undefined"!==typeof(new XMLHttpRequest).responseType});c.add("native-xhr2-blob",function(){if(c("native-response-type")){var a=new XMLHttpRequest;a.open("GET","/",!0);a.responseType="blob";var b=a.responseType;a.abort();return"blob"===
201
+ b}});var m={blob:c("native-xhr2-blob")?"blob":"arraybuffer",document:"document",arraybuffer:"arraybuffer"},b,l,q,d;c("native-xhr2")?(b=function(a){return!this.isFulfilled()},d=function(a,b){b.xhr.abort()},q=function(b,c,d){function e(a){c.handleResponse(d)}function f(b){b=new a("Unable to load "+d.url+" status: "+b.target.status,d);c.handleResponse(d,b)}function g(a){a.lengthComputable?(d.loaded=a.loaded,d.total=a.total,c.progress(d)):3===d.xhr.readyState&&(d.loaded=a.position,c.progress(d))}b.addEventListener("load",
202
+ e,!1);b.addEventListener("error",f,!1);b.addEventListener("progress",g,!1);return function(){b.removeEventListener("load",e,!1);b.removeEventListener("error",f,!1);b.removeEventListener("progress",g,!1);b=null}}):(b=function(a){return a.xhr.readyState},l=function(a){return 4===a.xhr.readyState},d=function(a,b){var c=b.xhr,d=typeof c.abort;"function"!==d&&"object"!==d&&"unknown"!==d||c.abort()});var y,p={data:null,query:null,sync:!1,method:"GET"};g._create=function(){throw Error("XMLHTTP not available");
203
+ };if(c("native-xhr")&&!c("dojo-force-activex-xhr"))g._create=function(){return new XMLHttpRequest};else if(c("activex"))try{new ActiveXObject("Msxml2.XMLHTTP"),g._create=function(){return new ActiveXObject("Msxml2.XMLHTTP")}}catch(r){try{new ActiveXObject("Microsoft.XMLHTTP"),g._create=function(){return new ActiveXObject("Microsoft.XMLHTTP")}}catch(t){}}n.addCommonMethods(g);return g})},"dojo/request/handlers":function(){define(["../json","../_base/kernel","../_base/array","../has","../selector/_loader"],
204
+ function(a,k,f,n){function c(a){var c=b[a.options.handleAs];a.data=c?c(a):a.data||a.text;return a}n.add("activex","undefined"!==typeof ActiveXObject);n.add("dom-parser",function(a){return"DOMParser"in a});var e;if(n("activex")){var h=["Msxml2.DOMDocument.6.0","Msxml2.DOMDocument.4.0","MSXML2.DOMDocument.3.0","MSXML.DOMDocument"],g;e=function(a){function b(a){try{var f=new ActiveXObject(a);f.async=!1;f.loadXML(e);c=f;g=a}catch(h){return!1}return!0}var c=a.data,e=a.text;c&&n("dom-qsa2.1")&&!c.querySelectorAll&&
205
+ n("dom-parser")&&(c=(new DOMParser).parseFromString(e,"application/xml"));c&&c.documentElement||g&&b(g)||f.some(h,b);return c}}var m=function(a){return n("native-xhr2-blob")||"blob"!==a.options.handleAs||"undefined"===typeof Blob?a.xhr.response:new Blob([a.xhr.response],{type:a.xhr.getResponseHeader("Content-Type")})},b={javascript:function(a){return k.eval(a.text||"")},json:function(b){return a.parse(b.text||null)},xml:e,blob:m,arraybuffer:m,document:m};c.register=function(a,c){b[a]=c};return c})},
206
+ "dojo/_base/fx":function(){define("./kernel ./config ./lang ../Evented ./Color ../aspect ../sniff ../dom ../dom-style".split(" "),function(a,k,f,n,c,e,h,g,m){var b=f.mixin,l={},q=l._Line=function(a,b){this.start=a;this.end=b};q.prototype.getValue=function(a){return(this.end-this.start)*a+this.start};var d=l.Animation=function(a){b(this,a);f.isArray(this.curve)&&(this.curve=new q(this.curve[0],this.curve[1]))};d.prototype=new n;f.extend(d,{duration:350,repeat:0,rate:20,_percent:0,_startRepeatCount:0,
207
+ _getStep:function(){var a=this._percent,b=this.easing;return b?b(a):a},_fire:function(a,b){var c=b||[];if(this[a])if(k.debugAtAllCosts)this[a].apply(this,c);else try{this[a].apply(this,c)}catch(d){}return this},play:function(a,b){this._delayTimer&&this._clearTimer();if(b)this._stopTimer(),this._active=this._paused=!1,this._percent=0;else if(this._active&&!this._paused)return this;this._fire("beforeBegin",[this.node]);var c=a||this.delay,d=f.hitch(this,"_play",b);if(0<c)return this._delayTimer=setTimeout(d,
208
+ c),this;d();return this},_play:function(a){this._delayTimer&&this._clearTimer();this._startTime=(new Date).valueOf();this._paused&&(this._startTime-=this.duration*this._percent);this._active=!0;this._paused=!1;a=this.curve.getValue(this._getStep());this._percent||(this._startRepeatCount||(this._startRepeatCount=this.repeat),this._fire("onBegin",[a]));this._fire("onPlay",[a]);this._cycle();return this},pause:function(){this._delayTimer&&this._clearTimer();this._stopTimer();if(!this._active)return this;
209
+ this._paused=!0;this._fire("onPause",[this.curve.getValue(this._getStep())]);return this},gotoPercent:function(a,b){this._stopTimer();this._active=this._paused=!0;this._percent=a;b&&this.play();return this},stop:function(a){this._delayTimer&&this._clearTimer();if(!this._timer)return this;this._stopTimer();a&&(this._percent=1);this._fire("onStop",[this.curve.getValue(this._getStep())]);this._active=this._paused=!1;return this},destroy:function(){this.stop()},status:function(){return this._active?this._paused?
210
+ "paused":"playing":"stopped"},_cycle:function(){if(this._active){var a=(new Date).valueOf(),a=0===this.duration?1:(a-this._startTime)/this.duration;1<=a&&(a=1);this._percent=a;this.easing&&(a=this.easing(a));this._fire("onAnimate",[this.curve.getValue(a)]);1>this._percent?this._startTimer():(this._active=!1,0<this.repeat?(this.repeat--,this.play(null,!0)):-1==this.repeat?this.play(null,!0):this._startRepeatCount&&(this.repeat=this._startRepeatCount,this._startRepeatCount=0),this._percent=0,this._fire("onEnd",
211
+ [this.node]),!this.repeat&&this._stopTimer())}return this},_clearTimer:function(){clearTimeout(this._delayTimer);delete this._delayTimer}});var y=0,p=null,r={run:function(){}};f.extend(d,{_startTimer:function(){this._timer||(this._timer=e.after(r,"run",f.hitch(this,"_cycle"),!0),y++);p||(p=setInterval(f.hitch(r,"run"),this.rate))},_stopTimer:function(){this._timer&&(this._timer.remove(),this._timer=null,y--);0>=y&&(clearInterval(p),p=null,y=0)}});var t=h("ie")?function(a){var b=a.style;b.width.length||
212
+ "auto"!=m.get(a,"width")||(b.width="auto")}:function(){};l._fade=function(a){a.node=g.byId(a.node);var c=b({properties:{}},a);a=c.properties.opacity={};a.start="start"in c?c.start:function(){return+m.get(c.node,"opacity")||0};a.end=c.end;a=l.animateProperty(c);e.after(a,"beforeBegin",f.partial(t,c.node),!0);return a};l.fadeIn=function(a){return l._fade(b({end:1},a))};l.fadeOut=function(a){return l._fade(b({end:0},a))};l._defaultEasing=function(a){return.5+Math.sin((a+1.5)*Math.PI)/2};var x=function(a){this._properties=
213
+ a;for(var b in a){var d=a[b];d.start instanceof c&&(d.tempColor=new c)}};x.prototype.getValue=function(a){var b={},d;for(d in this._properties){var e=this._properties[d],g=e.start;g instanceof c?b[d]=c.blendColors(g,e.end,a,e.tempColor).toCss():f.isArray(g)||(b[d]=(e.end-g)*a+g+("opacity"!=d?e.units||"px":0))}return b};l.animateProperty=function(h){var k=h.node=g.byId(h.node);h.easing||(h.easing=a._defaultEasing);h=new d(h);e.after(h,"beforeBegin",f.hitch(h,function(){var a={},d;for(d in this.properties){var e=
214
+ function(a,b){var c={height:a.offsetHeight,width:a.offsetWidth}[b];if(void 0!==c)return c;c=m.get(a,b);return"opacity"==b?+c:h?c:parseFloat(c)};if("width"==d||"height"==d)this.node.display="block";var g=this.properties[d];f.isFunction(g)&&(g=g(k));g=a[d]=b({},f.isObject(g)?g:{end:g});f.isFunction(g.start)&&(g.start=g.start(k));f.isFunction(g.end)&&(g.end=g.end(k));var h=0<=d.toLowerCase().indexOf("color");"end"in g?"start"in g||(g.start=e(k,d)):g.end=e(k,d);h?(g.start=new c(g.start),g.end=new c(g.end)):
215
+ g.start="opacity"==d?+g.start:parseFloat(g.start)}this.curve=new x(a)}),!0);e.after(h,"onAnimate",f.hitch(m,"set",h.node),!0);return h};l.anim=function(a,b,c,e,f,g){return l.animateProperty({node:a,duration:c||d.prototype.duration,properties:b,easing:e,onEnd:f}).play(g||0)};b(a,l);a._Animation=d;return l})},"dojo/_base/loader":function(){define("./kernel ../has require module ../json ./lang ./array".split(" "),function(a,k,f,n,c,e,h){var g=function(a){return a.replace(/\./g,"/")},m=/\/\/>>built/,
216
+ b=[],l=[],q=function(a,c,e){b.push(e);h.forEach(a.split(","),function(a){a=S(a,c.module);l.push(a);I(a)});d()},d=function(){var a,c;for(c in P)if(a=P[c],void 0===a.noReqPluginCheck&&(a.noReqPluginCheck=/loadInit\!/.test(c)||/require\!/.test(c)?1:0),!a.executed&&!a.noReqPluginCheck&&a.injected==z)return;H(function(){var a=b;b=[];h.forEach(a,function(a){a(1)})})},y=function(b,c,d){var e=/\(|\)/g,f=1;for(e.lastIndex=c;(c=e.exec(b))&&(")"==c[0]?--f:f+=1,0!=f););if(0!=f)throw"unmatched paren around character "+
217
+ e.lastIndex+" in: "+b;return[a.trim(b.substring(d,e.lastIndex))+";\n",e.lastIndex]},p=/(\/\*([\s\S]*?)\*\/|\/\/(.*)$)/mg,r=/(^|\s)dojo\.(loadInit|require|provide|requireLocalization|requireIf|requireAfterIf|platformRequire)\s*\(/mg,t=/(^|\s)(require|define)\s*\(/m,x=function(a,b){var c,d,e,f=[],g=[];c=[];for(b=b||a.replace(p,function(a){r.lastIndex=t.lastIndex=0;return r.test(a)||t.test(a)?"":a});c=r.exec(b);)d=r.lastIndex,e=d-c[0].length,d=y(b,d,e),"loadInit"==c[2]?f.push(d[0]):g.push(d[0]),r.lastIndex=
218
+ d[1];c=f.concat(g);return c.length||!t.test(b)?[a.replace(/(^|\s)dojo\.loadInit\s*\(/g,"\n0 \x26\x26 dojo.loadInit("),c.join(""),c]:0},v=f.initSyncLoader(q,d,function(a,b){var d,e,f=[],g=[];if(m.test(b)||!(d=x(b)))return 0;e=a.mid+"-*loadInit";for(var h in S("dojo",a).result.scopeMap)f.push(h),g.push('"'+h+'"');return"// xdomain rewrite of "+a.mid+"\ndefine('"+e+"',{\n\tnames:"+c.stringify(f)+",\n\tdef:function("+f.join(",")+"){"+d[1]+"}});\n\ndefine("+c.stringify(f.concat(["dojo/loadInit!"+e]))+
219
+ ", function("+f.join(",")+"){\n"+d[0]+"});"}),u=v.sync,z=v.requested,w=v.arrived,D=v.nonmodule,N=v.executing,X=v.executed,R=v.syncExecStack,P=v.modules,O=v.execQ,S=v.getModule,I=v.injectModule,J=v.setArrived,Q=v.signal,E=v.finishExec,A=v.execModule,C=v.getLegacyMode,H=v.guardCheckComplete,q=v.dojoRequirePlugin;a.provide=function(a){var b=R[0],c=e.mixin(S(g(a),f.module),{executed:N,result:e.getObject(a,!0)});J(c);b&&(b.provides||(b.provides=[])).push(function(){c.result=e.getObject(a);delete c.provides;
220
+ c.executed!==X&&E(c)});return c.result};k.add("config-publishRequireResult",1,0,0);a.require=function(a,b){var c=function(a,b){var c=S(g(a),f.module);if(R.length&&R[0].finish)R[0].finish.push(a);else{if(c.executed)return c.result;b&&(c.result=D);var d=C();I(c);d=C();c.executed!==X&&c.injected===w&&v.guardCheckComplete(function(){A(c)});if(c.executed)return c.result;d==u?c.cjs?O.unshift(c):R.length&&(R[0].finish=[a]):O.push(c)}}(a,b);k("config-publishRequireResult")&&!e.exists(a)&&void 0!==c&&e.setObject(a,
221
+ c);return c};a.loadInit=function(a){a()};a.registerModulePath=function(a,b){var c={};c[a.replace(/\./g,"/")]=b;f({paths:c})};a.platformRequire=function(b){b=(b.common||[]).concat(b[a._name]||b["default"]||[]);for(var c;b.length;)e.isArray(c=b.shift())?a.require.apply(a,c):a.require(c)};a.requireIf=a.requireAfterIf=function(b,c,d){b&&a.require(c,d)};a.requireLocalization=function(a,b,c){f(["../i18n"],function(d){d.getLocalization(a,b,c)})};return{extractLegacyApiApplications:x,require:q,loadInit:function(b,
222
+ c,d){c([b],function(b){c(b.names,function(){for(var e="",f=[],h=0;h<arguments.length;h++)e+="var "+b.names[h]+"\x3d arguments["+h+"]; ",f.push(arguments[h]);eval(e);var k=c.module,l=[],m,e={provide:function(a){a=g(a);a=S(a,k);a!==k&&J(a)},require:function(a,b){a=g(a);b&&(S(a,k).result=D);l.push(a)},requireLocalization:function(b,c,d){m||(m=["dojo/i18n"]);d=(d||a.locale).toLowerCase();b=g(b)+"/nls/"+(/root/i.test(d)?"":d+"/")+g(c);S(b,k).isXd&&m.push("dojo/i18n!"+b)},loadInit:function(a){a()}},h={},
223
+ p;try{for(p in e)h[p]=a[p],a[p]=e[p];b.def.apply(null,f)}catch(t){Q("error",[{src:n.id,id:"failedDojoLoadInit"},t])}finally{for(p in e)a[p]=h[p]}m&&(l=l.concat(m));l.length?q(l.join(","),c,d):d()})})}}})}}});
224
+ require({cache:{"mojo/signup-forms/embed":function(){define([],1)},"dijit/_base/manager":function(){define(["dojo/_base/array","dojo/_base/config","dojo/_base/lang","../registry","../main"],function(a,k,f,n,c){var e={};a.forEach("byId getUniqueId findWidgets _destroyAll byNode getEnclosingWidget".split(" "),function(a){e[a]=n[a]});f.mixin(e,{defaultDuration:k.defaultDuration||200});f.mixin(c,e);return c})},"dijit/registry":function(){define(["dojo/_base/array","dojo/_base/window","./main"],function(a,
225
+ k,f){var n={},c={},e={length:0,add:function(a){if(c[a.id])throw Error("Tried to register widget with id\x3d\x3d"+a.id+" but that id is already registered");c[a.id]=a;this.length++},remove:function(a){c[a]&&(delete c[a],this.length--)},byId:function(a){return"string"==typeof a?c[a]:a},byNode:function(a){return c[a.getAttribute("widgetId")]},toArray:function(){var a=[],e;for(e in c)a.push(c[e]);return a},getUniqueId:function(a){var e;do e=a+"_"+(a in n?++n[a]:n[a]=0);while(c[e]);return"dijit"==f._scopeName?
226
+ e:f._scopeName+"_"+e},findWidgets:function(a,e){function f(a){for(a=a.firstChild;a;a=a.nextSibling)if(1==a.nodeType){var h=a.getAttribute("widgetId");h?(h=c[h])&&b.push(h):a!==e&&f(a)}}var b=[];f(a);return b},_destroyAll:function(){f._curFocus=null;f._prevFocus=null;f._activeStack=[];a.forEach(e.findWidgets(k.body()),function(a){a._destroyed||(a.destroyRecursive?a.destroyRecursive():a.destroy&&a.destroy())})},getEnclosingWidget:function(a){for(;a;){var e=1==a.nodeType&&a.getAttribute("widgetId");
227
+ if(e)return c[e];a=a.parentNode}return null},_hash:c};return f.registry=e})},"dijit/main":function(){define(["dojo/_base/kernel"],function(a){return a.dijit})},"dojo/parser":function(){define("require ./_base/kernel ./_base/lang ./_base/array ./_base/config ./dom ./_base/window ./_base/url ./aspect ./promise/all ./date/stamp ./Deferred ./has ./query ./on ./ready".split(" "),function(a,k,f,n,c,e,h,g,m,b,l,q,d,y,p,r){function t(a){return eval("("+a+")")}function x(a){var b=a._nameCaseMap,c=a.prototype;
228
+ if(!b||b._extendCnt<u){var b=a._nameCaseMap={},d;for(d in c)"_"!==d.charAt(0)&&(b[d.toLowerCase()]=d);b._extendCnt=u}return b}function v(b,c){var d=b.join();if(!z[d]){for(var e=[],g=0,h=b.length;g<h;g++){var k=b[g];e[e.length]=z[k]=z[k]||f.getObject(k)||~k.indexOf("/")&&(c?c(k):a(k))}g=e.shift();z[d]=e.length?g.createSubclass?g.createSubclass(e):g.extend.apply(g,e):g}return z[d]}new Date("X");var u=0;m.after(f,"extend",function(){u++},!0);var z={},w={_clearCache:function(){u++;z={}},_functionFromScript:function(a,
229
+ b){var c="",d="",e=a.getAttribute(b+"args")||a.getAttribute("args"),f=a.getAttribute("with"),e=(e||"").split(/\s*,\s*/);f&&f.length&&n.forEach(f.split(/\s*,\s*/),function(a){c+="with("+a+"){";d+="}"});return new Function(e,c+a.innerHTML+d)},instantiate:function(a,b,c){b=b||{};c=c||{};var d=(c.scope||k._scopeName)+"Type",e="data-"+(c.scope||k._scopeName)+"-",f=e+"type",g=e+"mixins",h=[];n.forEach(a,function(a){var c=d in b?b[d]:a.getAttribute(f)||a.getAttribute(d);if(c){var e=a.getAttribute(g),c=e?
230
+ [c].concat(e.split(/\s*,\s*/)):[c];h.push({node:a,types:c})}});return this._instantiate(h,b,c)},_instantiate:function(a,c,d,e){function f(a){c._started||d.noStart||n.forEach(a,function(a){"function"!==typeof a.startup||a._started||a.startup()});return a}a=n.map(a,function(a){var b=a.ctor||v(a.types,d.contextRequire);if(!b)throw Error("Unable to resolve constructor for: '"+a.types.join()+"'");return this.construct(b,a.node,c,d,a.scripts,a.inherited)},this);return e?b(a).then(f):f(a)},construct:function(a,
231
+ b,c,e,h,q){function r(a){z&&f.setObject(z,a);for(C=0;C<F.length;C++)m[F[C].advice||"after"](a,F[C].method,f.hitch(a,F[C].func),!0);for(C=0;C<G.length;C++)G[C].call(a);for(C=0;C<V.length;C++)a.watch(V[C].prop,V[C].func);for(C=0;C<M.length;C++)p(a,M[C].event,M[C].func);return a}var v=a&&a.prototype;e=e||{};var u={};e.defaults&&f.mixin(u,e.defaults);q&&f.mixin(u,q);var w;d("dom-attributes-explicit")?w=b.attributes:d("dom-attributes-specified-flag")?w=n.filter(b.attributes,function(a){return a.specified}):
232
+ (q=(/^input$|^img$/i.test(b.nodeName)?b:b.cloneNode(!1)).outerHTML.replace(/=[^\s"']+|="[^"]*"|='[^']*'/g,"").replace(/^\s*<[a-zA-Z0-9]*\s*/,"").replace(/\s*>.*$/,""),w=n.map(q.split(/\s+/),function(a){var c=a.toLowerCase();return{name:a,value:"LI"==b.nodeName&&"value"==a||"enctype"==c?b.getAttribute(c):b.getAttributeNode(c).value}}));var E=e.scope||k._scopeName;q="data-"+E+"-";var A={};"dojo"!==E&&(A[q+"props"]="data-dojo-props",A[q+"type"]="data-dojo-type",A[q+"mixins"]="data-dojo-mixins",A[E+"type"]=
233
+ "dojoType",A[q+"id"]="data-dojo-id");for(var C=0,H,E=[],z,K;H=w[C++];){var B=H.name,L=B.toLowerCase();H=H.value;switch(A[L]||L){case "data-dojo-type":case "dojotype":case "data-dojo-mixins":break;case "data-dojo-props":K=H;break;case "data-dojo-id":case "jsid":z=H;break;case "data-dojo-attach-point":case "dojoattachpoint":u.dojoAttachPoint=H;break;case "data-dojo-attach-event":case "dojoattachevent":u.dojoAttachEvent=H;break;case "class":u["class"]=b.className;break;case "style":u.style=b.style&&
234
+ b.style.cssText;break;default:if(B in v||(B=x(a)[L]||B),B in v)switch(typeof v[B]){case "string":u[B]=H;break;case "number":u[B]=H.length?Number(H):NaN;break;case "boolean":u[B]="false"!=H.toLowerCase();break;case "function":""===H||-1!=H.search(/[^\w\.]+/i)?u[B]=new Function(H):u[B]=f.getObject(H,!1)||new Function(H);E.push(B);break;default:L=v[B],u[B]=L&&"length"in L?H?H.split(/\s*,\s*/):[]:L instanceof Date?""==H?new Date(""):"now"==H?new Date:l.fromISOString(H):L instanceof g?k.baseUrl+H:t(H)}else u[B]=
235
+ H}}for(w=0;w<E.length;w++)A=E[w].toLowerCase(),b.removeAttribute(A),b[A]=null;if(K)try{K=t.call(e.propsThis,"{"+K+"}"),f.mixin(u,K)}catch(aa){throw Error(aa.toString()+" in data-dojo-props\x3d'"+K+"'");}f.mixin(u,c);h||(h=a&&(a._noScript||v._noScript)?[]:y("\x3e script[type^\x3d'dojo/']",b));var F=[],G=[],V=[],M=[];if(h)for(C=0;C<h.length;C++)A=h[C],b.removeChild(A),c=A.getAttribute(q+"event")||A.getAttribute("event"),e=A.getAttribute(q+"prop"),K=A.getAttribute(q+"method"),E=A.getAttribute(q+"advice"),
236
+ w=A.getAttribute("type"),A=this._functionFromScript(A,q),c?"dojo/connect"==w?F.push({method:c,func:A}):"dojo/on"==w?M.push({event:c,func:A}):u[c]=A:"dojo/aspect"==w?F.push({method:K,advice:E,func:A}):"dojo/watch"==w?V.push({prop:e,func:A}):G.push(A);a=(h=a.markupFactory||v.markupFactory)?h(u,b,a):new a(u,b);return a.then?a.then(r):r(a)},scan:function(b,c){function e(a){if(!a.inherited){a.inherited={};var b=a.node,c=e(a.parent),b={dir:b.getAttribute("dir")||c.dir,lang:b.getAttribute("lang")||c.lang,
237
+ textDir:b.getAttribute(t)||c.textDir},d;for(d in b)b[d]&&(a.inherited[d]=b[d])}return a.inherited}var f=[],g=[],h={},l=(c.scope||k._scopeName)+"Type",m="data-"+(c.scope||k._scopeName)+"-",p=m+"type",t=m+"textdir",m=m+"mixins",r=b.firstChild,u=c.inherited;if(!u){var w=function(a,b){return a.getAttribute&&a.getAttribute(b)||a.parentNode&&w(a.parentNode,b)},u={dir:w(b,"dir"),lang:w(b,"lang"),textDir:w(b,t)},x;for(x in u)u[x]||delete u[x]}for(var u={inherited:u},y,z;;)if(r)if(1!=r.nodeType)r=r.nextSibling;
238
+ else if(y&&"script"==r.nodeName.toLowerCase())(B=r.getAttribute("type"))&&/^dojo\/\w/i.test(B)&&y.push(r),r=r.nextSibling;else if(z)r=r.nextSibling;else{var B=r.getAttribute(p)||r.getAttribute(l);x=r.firstChild;if(B||x&&(3!=x.nodeType||x.nextSibling)){z=null;if(B){var L=r.getAttribute(m);y=L?[B].concat(L.split(/\s*,\s*/)):[B];try{z=v(y,c.contextRequire)}catch(G){}z||n.forEach(y,function(a){~a.indexOf("/")&&!h[a]&&(h[a]=!0,g[g.length]=a)});L=z&&!z.prototype._noScript?[]:null;u={types:y,ctor:z,parent:u,
239
+ node:r,scripts:L};u.inherited=e(u);f.push(u)}else u={node:r,scripts:y,parent:u};y=L;z=r.stopParser||z&&z.prototype.stopParser&&!c.template;r=x}else r=r.nextSibling}else{if(!u||!u.node)break;r=u.node.nextSibling;z=!1;u=u.parent;y=u.scripts}var F=new q;g.length?(d("dojo-debug-messages"),(c.contextRequire||a)(g,function(){F.resolve(n.filter(f,function(a){if(!a.ctor)try{a.ctor=v(a.types,c.contextRequire)}catch(b){}for(var d=a.parent;d&&!d.types;)d=d.parent;var e=a.ctor&&a.ctor.prototype;a.instantiateChildren=
240
+ !(e&&e.stopParser&&!c.template);a.instantiate=!d||d.instantiate&&d.instantiateChildren;return a.instantiate}))})):F.resolve(f);return F.promise},_require:function(b,c){var d=t("{"+b.innerHTML+"}"),e=[],g=[],h=new q,k=c&&c.contextRequire||a,l;for(l in d)e.push(l),g.push(d[l]);k(g,function(){for(var a=0;a<e.length;a++)f.setObject(e[a],arguments[a]);h.resolve(arguments)});return h.promise},_scanAmd:function(a,b){var c=new q,d=c.promise;c.resolve(!0);var e=this;y("script[type\x3d'dojo/require']",a).forEach(function(a){d=
241
+ d.then(function(){return e._require(a,b)});a.parentNode.removeChild(a)});return d},parse:function(a,b){!a||"string"==typeof a||"nodeType"in a||(b=a,a=b.rootNode);var c=a?e.byId(a):h.body();b=b||{};var d=b.template?{template:!0}:{},g=[],k=this,l=this._scanAmd(c,b).then(function(){return k.scan(c,b)}).then(function(a){return k._instantiate(a,d,b,!0)}).then(function(a){return g=g.concat(a)}).otherwise(function(a){throw a;});f.mixin(g,l);return g}};k.parser=w;c.parseOnLoad&&r(100,w,"parse");return w})},
242
+ "dojo/_base/url":function(){define(["./kernel"],function(a){var k=/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/,f=/^((([^\[:]+):)?([^@]+)@)?(\[([^\]]+)\]|([^\[:]*))(:([0-9]+))?$/,n=function(){for(var a=arguments,e=[a[0]],h=1;h<a.length;h++)if(a[h]){var g=new n(a[h]+""),e=new n(e[0]+"");if(""==g.path&&!g.scheme&&!g.authority&&!g.query)null!=g.fragment&&(e.fragment=g.fragment),g=e;else if(!g.scheme&&(g.scheme=e.scheme,!g.authority&&(g.authority=e.authority,"/"!=g.path.charAt(0)))){for(var e=
243
+ (e.path.substring(0,e.path.lastIndexOf("/")+1)+g.path).split("/"),m=0;m<e.length;m++)"."==e[m]?m==e.length-1?e[m]="":(e.splice(m,1),m--):0<m&&(1!=m||""!=e[0])&&".."==e[m]&&".."!=e[m-1]&&(m==e.length-1?(e.splice(m,1),e[m-1]=""):(e.splice(m-1,2),m-=2));g.path=e.join("/")}e=[];g.scheme&&e.push(g.scheme,":");g.authority&&e.push("//",g.authority);e.push(g.path);g.query&&e.push("?",g.query);g.fragment&&e.push("#",g.fragment)}this.uri=e.join("");a=this.uri.match(k);this.scheme=a[2]||(a[1]?"":null);this.authority=
244
+ a[4]||(a[3]?"":null);this.path=a[5];this.query=a[7]||(a[6]?"":null);this.fragment=a[9]||(a[8]?"":null);null!=this.authority&&(a=this.authority.match(f),this.user=a[3]||null,this.password=a[4]||null,this.host=a[6]||a[7],this.port=a[9]||null)};n.prototype.toString=function(){return this.uri};return a._Url=n})},"dojo/promise/all":function(){define(["../_base/array","../Deferred","../when"],function(a,k,f){var n=a.some;return function(a){var e,h;a instanceof Array?h=a:a&&"object"===typeof a&&(e=a);var g,
245
+ m=[];if(e){h=[];for(var b in e)Object.hasOwnProperty.call(e,b)&&(m.push(b),h.push(e[b]));g={}}else h&&(g=[]);if(!h||!h.length)return(new k).resolve(g);var l=new k;l.promise.always(function(){g=m=null});var q=h.length;n(h,function(a,b){e||m.push(b);f(a,function(a){l.isFulfilled()||(g[m[b]]=a,0===--q&&l.resolve(g))},l.reject);return l.isFulfilled()});return l.promise}})},"dojo/date/stamp":function(){define(["../_base/lang","../_base/array"],function(a,k){var f={};a.setObject("dojo.date.stamp",f);f.fromISOString=
246
+ function(a,c){f._isoRegExp||(f._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/);var e=f._isoRegExp.exec(a),h=null;if(e){e.shift();e[1]&&e[1]--;e[6]&&(e[6]*=1E3);c&&(c=new Date(c),k.forEach(k.map("FullYear Month Date Hours Minutes Seconds Milliseconds".split(" "),function(a){return c["get"+a]()}),function(a,c){e[c]=e[c]||a}));h=new Date(e[0]||1970,e[1]||0,e[2]||1,e[3]||0,e[4]||0,e[5]||0,e[6]||0);100>e[0]&&h.setFullYear(e[0]||
247
+ 1970);var g=0,m=e[7]&&e[7].charAt(0);"Z"!=m&&(g=60*(e[8]||0)+(Number(e[9])||0),"-"!=m&&(g*=-1));m&&(g-=h.getTimezoneOffset());g&&h.setTime(h.getTime()+6E4*g)}return h};f.toISOString=function(a,c){var e=function(a){return 10>a?"0"+a:a};c=c||{};var f=[],g=c.zulu?"getUTC":"get",k="";"time"!=c.selector&&(k=a[g+"FullYear"](),k=["0000".substr((k+"").length)+k,e(a[g+"Month"]()+1),e(a[g+"Date"]())].join("-"));f.push(k);if("date"!=c.selector){k=[e(a[g+"Hours"]()),e(a[g+"Minutes"]()),e(a[g+"Seconds"]())].join(":");
248
+ g=a[g+"Milliseconds"]();c.milliseconds&&(k+="."+(100>g?"0":"")+e(g));if(c.zulu)k+="Z";else if("time"!=c.selector)var g=a.getTimezoneOffset(),b=Math.abs(g),k=k+((0<g?"-":"+")+e(Math.floor(b/60))+":"+e(b%60));f.push(k)}return f.join("T")};return f})},"dojo/request/script":function(){define("module ./watch ./util ../_base/kernel ../_base/array ../_base/lang ../on ../dom ../dom-construct ../has ../_base/window".split(" "),function(a,k,f,n,c,e,h,g,m,b,l){function q(a,b){a.canDelete&&t._remove(a.id,b.options.frameDoc,
249
+ !0)}function d(a){D&&D.length&&(c.forEach(D,function(a){t._remove(a.id,a.frameDoc);a.frameDoc=null}),D=[]);return a.options.jsonp?!a.data:!0}function y(a){return!!this.scriptLoaded}function p(a){return(a=a.options.checkString)&&eval("typeof("+a+') !\x3d\x3d "undefined"')}function r(a,b){if(this.canDelete){var c=this.response.options;D.push({id:this.id,frameDoc:c.ioArgs?c.ioArgs.frameDoc:c.frameDoc});c.ioArgs&&(c.ioArgs.frameDoc=null);c.frameDoc=null}b?this.reject(b):this.resolve(a)}function t(a,b,
250
+ c){var g=f.parseArgs(a,f.deepCopy({},b));a=g.url;b=g.options;var l=f.deferred(g,q,d,b.jsonp?null:b.checkString?p:y,r);e.mixin(l,{id:x+v++,canDelete:!1});b.jsonp&&((new RegExp("[?\x26]"+b.jsonp+"\x3d")).test(a)||(a+=(~a.indexOf("?")?"\x26":"?")+b.jsonp+"\x3d"+(b.frameDoc?"parent.":"")+x+"_callbacks."+l.id),l.canDelete=!0,w[l.id]=function(a){g.data=a;l.handleResponse(g)});f.notify&&f.notify.emit("send",g,l.promise.cancel);if(!b.canAttach||b.canAttach(l)){var m=t._attach(l.id,a,b.frameDoc);if(!b.jsonp&&
251
+ !b.checkString)var n=h(m,u,function(a){if("load"===a.type||z.test(m.readyState))n.remove(),l.scriptLoaded=a})}k(l);return c?l:l.promise}b.add("script-readystatechange",function(a,b){return"undefined"!==typeof b.createElement("script").onreadystatechange&&("undefined"===typeof a.opera||"[object Opera]"!==a.opera.toString())});var x=a.id.replace(/[\/\.\-]/g,"_"),v=0,u=b("script-readystatechange")?"readystatechange":"load",z=/complete|loaded/,w=n.global[x+"_callbacks"]={},D=[];t.get=t;t._attach=function(a,
252
+ b,c){c=c||l.doc;var d=c.createElement("script");d.type="text/javascript";d.src=b;d.id=a;d.async=!0;d.charset="utf-8";return c.getElementsByTagName("head")[0].appendChild(d)};t._remove=function(a,b,c){m.destroy(g.byId(a,b));w[a]&&(c?w[a]=function(){delete w[a]}:delete w[a])};t._callbacksProperty=x+"_callbacks";return t})},"mojo/signup-forms/Loader":function(){define(["dojo/request/script"],function(a){return{start:function(k){if(!(k&&k.baseUrl&&k.uuid&&k.lid))throw Error("Missing base url, uuid and/or lid parameter(s).");
253
+ var f=this._getFormSettingsUrl(k.baseUrl,k.uuid,k.lid),n=this._getFormSubscribeUrl(k.baseUrl,k.uuid,k.lid),c=this._getHoneypotFieldName(k.uuid,k.lid),e=this._getEnv(k.env),h=this;a.get(f,{jsonp:"c",query:{u:k.uuid,id:k.lid}}).then(function(a){"error"!=a.result&&("dev"===e?h._setupPopupSignupForm(a,n,c,e):require(["//downloads.mailchimp.com/js/signup-forms/popup/"+a.version+"/popup.js"],function(){h._setupPopupSignupForm(a,n,c,e)}))})},_getFormSettingsUrl:function(a,f,n){return"//"+a+"/subscribe/form-settings?u\x3d"+
254
+ f+"\x26id\x3d"+n},_getFormSubscribeUrl:function(a,f,n){return"//"+a+"/subscribe/form-post?u\x3d"+f+"\x26id\x3d"+n+"\x26popup\x3dtrue"},_getHoneypotFieldName:function(a,f){return"b_"+a+"_"+f},_getEnv:function(a){return"undefined"===typeof a?"prod":"dev"},_setupPopupSignupForm:function(a,f,n,c){require(["mojo/signup-forms/PopupSignupForm"]);a=new PopupSignupForm({config:a,subscribeUrl:f,honeypotFieldName:n,env:c});a.placeAt(document.body);a.startup()}}})}}});
255
+ (function(){var a=this.require;a({cache:{}});!a.async&&a(["dojo"]);a.boot&&a.apply(null,a.boot)})();
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jumbo-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.49
4
+ version: 1.4.50
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kirkby
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-11 00:00:00.000000000 Z
11
+ date: 2018-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -297,7 +297,7 @@ files:
297
297
  - _includes/media.html
298
298
  - _includes/members.html
299
299
  - _includes/nav.html
300
- - _includes/newsletter.html
300
+ - _includes/newsletter-script.html
301
301
  - _includes/owl-carousel-homepage.html
302
302
  - _includes/pagination-authors.html
303
303
  - _includes/pagination-news.html
@@ -498,7 +498,7 @@ files:
498
498
  - assets/js/vendor/lightbox.js
499
499
  - assets/js/vendor/loadCSS.js
500
500
  - assets/js/vendor/ls.unveilhooks.js
501
- - assets/js/vendor/mc-validate.js
501
+ - assets/js/vendor/mc.js
502
502
  - assets/js/vendor/owl.carousel.js
503
503
  - assets/js/vendor/picturefill.js
504
504
  - assets/js/vendor/shuffle.js
@@ -1,38 +0,0 @@
1
- <div class="container-fluid newsletter">
2
- <div class="row sub-footer">
3
- <div class="container">
4
- <!-- Begin MailChimp Signup Form -->
5
- <div id="mc_embed_signup">
6
- <form action="//96boards.us3.list-manage.com/subscribe/post?u=14baaae786342d0d405ee59c2&amp;id={{site.data.settings.mailchimp.id}}" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
7
- <div id="mc_embed_signup_scroll">
8
- <div class="col-md-3 col-xs-12 form-group"> <div class="mc-field-group">
9
- <input type="email" value="" name="EMAIL" class="required email form-control" id="mce-EMAIL" placeholder="Email Address ">
10
- </div>
11
- </div>
12
- <div class="col-md-3 col-xs-12 form-group"><div class="mc-field-group">
13
- <input type="text" value="" name="FNAME" class="form-control" id="mce-FNAME" placeholder="First Name ">
14
- </div>
15
- </div>
16
- <div class="col-md-3 col-xs-12 form-group"><div class="mc-field-group">
17
- <input type="text" value="" name="LNAME" class="form-control" id="mce-LNAME" placeholder="Last Name ">
18
- </div>
19
- </div>
20
- <div class="col-md-3 col-xs-12 form-group">
21
- <div class="clear">
22
- <button type="submit" value="Subscribe to Newsletter" name="subscribe" id="mc-embedded-subscribe" class="form-control btn-primary">Subscribe to Newsletter</button>
23
- </div>
24
- </div>
25
- <div id="mce-responses" class="clear">
26
- <div class="response" id="mce-error-response" style="display:none"></div>
27
- <div class="response" id="mce-success-response" style="display:none"></div>
28
- </div> <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
29
- <div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_14baaae786342d0d405ee59c2_e3d2abc041" tabindex="-1" value=""></div>
30
- </div>
31
- </form>
32
- </div>
33
- <div class="mc-unsubscribe">
34
- <a href="{{site.data.settings.mailchimp.unsubscribe-url}}">Unsubscribe</a>
35
- </div>
36
- </div>
37
- </div>
38
- </div>
@@ -1,14 +0,0 @@
1
- /*!
2
- * jQuery Form Plugin
3
- * version: 3.51.0-2014.06.20
4
- * Requires jQuery v1.5 or later
5
- * Copyright (c) 2014 M. Alsup
6
- * Examples and documentation at: http://malsup.com/jquery/form/
7
- * Project repository: https://github.com/malsup/form
8
- * Dual licensed under the MIT and GPL licenses.
9
- * https://github.com/malsup/form#copyright-and-license
10
- */
11
- !function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):e("undefined"!=typeof jQuery?jQuery:window.Zepto)}(function(e){"use strict";function t(t){var r=t.data;t.isDefaultPrevented()||(t.preventDefault(),e(t.target).ajaxSubmit(r))}function r(t){var r=t.target,i=e(r);if(!i.is("[type=submit],[type=image]")){var a=i.closest("[type=submit]");if(0===a.length)return;r=a[0]}var n=this;if(n.clk=r,"image"==r.type)if(void 0!==t.offsetX)n.clk_x=t.offsetX,n.clk_y=t.offsetY;else if("function"==typeof e.fn.offset){var s=i.offset();n.clk_x=t.pageX-s.left,n.clk_y=t.pageY-s.top}else n.clk_x=t.pageX-r.offsetLeft,n.clk_y=t.pageY-r.offsetTop;setTimeout(function(){n.clk=n.clk_x=n.clk_y=null},100)}function i(){if(e.fn.ajaxSubmit.debug){var t="[jquery.form] "+Array.prototype.join.call(arguments,"");window.console&&window.console.log?window.console.log(t):window.opera&&window.opera.postError&&window.opera.postError(t)}}var a={};a.fileapi=void 0!==e("<input type='file'/>").get(0).files,a.formdata=void 0!==window.FormData;var n=!!e.fn.prop;e.fn.attr2=function(){if(!n)return this.attr.apply(this,arguments);var e=this.prop.apply(this,arguments);return e&&e.jquery||"string"==typeof e?e:this.attr.apply(this,arguments)},e.fn.ajaxSubmit=function(t){function r(r){var i,a,n=e.param(r,t.traditional).split("&"),s=n.length,o=[];for(i=0;s>i;i++)n[i]=n[i].replace(/\+/g," "),a=n[i].split("="),o.push([decodeURIComponent(a[0]),decodeURIComponent(a[1])]);return o}function s(i){for(var a=new FormData,n=0;n<i.length;n++)a.append(i[n].name,i[n].value);if(t.extraData){var s=r(t.extraData);for(n=0;n<s.length;n++)s[n]&&a.append(s[n][0],s[n][1])}t.data=null;var o=e.extend(!0,{},e.ajaxSettings,t,{contentType:!1,processData:!1,cache:!1,type:u||"POST"});t.uploadProgress&&(o.xhr=function(){var r=e.ajaxSettings.xhr();return r.upload&&r.upload.addEventListener("progress",function(e){var r=0,i=e.loaded||e.position,a=e.total;e.lengthComputable&&(r=Math.ceil(i/a*100)),t.uploadProgress(e,i,a,r)},!1),r}),o.data=null;var l=o.beforeSend;return o.beforeSend=function(e,r){r.data=t.formData?t.formData:a,l&&l.call(this,e,r)},e.ajax(o)}function o(r){function a(e){var t=null;try{e.contentWindow&&(t=e.contentWindow.document)}catch(r){i("cannot get iframe.contentWindow document: "+r)}if(t)return t;try{t=e.contentDocument?e.contentDocument:e.document}catch(r){i("cannot get iframe.contentDocument: "+r),t=e.document}return t}function s(){function t(){try{var e=a(v).readyState;i("state = "+e),e&&"uninitialized"==e.toLowerCase()&&setTimeout(t,50)}catch(r){i("Server abort: ",r," (",r.name,")"),o(S),w&&clearTimeout(w),w=void 0}}var r=c.attr2("target"),n=c.attr2("action"),s="multipart/form-data",l=c.attr("enctype")||c.attr("encoding")||s;D.setAttribute("target",f),(!u||/post/i.test(u))&&D.setAttribute("method","POST"),n!=h.url&&D.setAttribute("action",h.url),h.skipEncodingOverride||u&&!/post/i.test(u)||c.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"}),h.timeout&&(w=setTimeout(function(){F=!0,o(C)},h.timeout));var d=[];try{if(h.extraData)for(var m in h.extraData)h.extraData.hasOwnProperty(m)&&d.push(e.isPlainObject(h.extraData[m])&&h.extraData[m].hasOwnProperty("name")&&h.extraData[m].hasOwnProperty("value")?e('<input type="hidden" name="'+h.extraData[m].name+'">').val(h.extraData[m].value).appendTo(D)[0]:e('<input type="hidden" name="'+m+'">').val(h.extraData[m]).appendTo(D)[0]);h.iframeTarget||g.appendTo("body"),v.attachEvent?v.attachEvent("onload",o):v.addEventListener("load",o,!1),setTimeout(t,15);try{D.submit()}catch(p){var b=document.createElement("form").submit;b.apply(D)}}finally{D.setAttribute("action",n),D.setAttribute("enctype",l),r?D.setAttribute("target",r):c.removeAttr("target"),e(d).remove()}}function o(t){if(!b.aborted&&!A){if(_=a(v),_||(i("cannot access response document"),t=S),t===C&&b)return b.abort("timeout"),void k.reject(b,"timeout");if(t==S&&b)return b.abort("server abort"),void k.reject(b,"error","server abort");if(_&&_.location.href!=h.iframeSrc||F){v.detachEvent?v.detachEvent("onload",o):v.removeEventListener("load",o,!1);var r,n="success";try{if(F)throw"timeout";var s="xml"==h.dataType||_.XMLDocument||e.isXMLDoc(_);if(i("isXml="+s),!s&&window.opera&&(null===_.body||!_.body.innerHTML)&&--L)return i("requeing onLoad callback, DOM not available"),void setTimeout(o,250);var u=_.body?_.body:_.documentElement;b.responseText=u?u.innerHTML:null,b.responseXML=_.XMLDocument?_.XMLDocument:_,s&&(h.dataType="xml"),b.getResponseHeader=function(e){var t={"content-type":h.dataType};return t[e.toLowerCase()]},u&&(b.status=+u.getAttribute("status")||b.status,b.statusText=u.getAttribute("statusText")||b.statusText);var l=(h.dataType||"").toLowerCase(),d=/(json|script|text)/.test(l);if(d||h.textarea){var c=_.getElementsByTagName("textarea")[0];if(c)b.responseText=c.value,b.status=+c.getAttribute("status")||b.status,b.statusText=c.getAttribute("statusText")||b.statusText;else if(d){var f=_.getElementsByTagName("pre")[0],p=_.getElementsByTagName("body")[0];f?b.responseText=f.textContent?f.textContent:f.innerText:p&&(b.responseText=p.textContent?p.textContent:p.innerText)}}else"xml"==l&&!b.responseXML&&b.responseText&&(b.responseXML=q(b.responseText));try{j=P(b,l,h)}catch(y){n="parsererror",b.error=r=y||n}}catch(y){i("error caught: ",y),n="error",b.error=r=y||n}b.aborted&&(i("upload aborted"),n=null),b.status&&(n=b.status>=200&&b.status<300||304===b.status?"success":"error"),"success"===n?(h.success&&h.success.call(h.context,j,"success",b),k.resolve(b.responseText,"success",b),m&&e.event.trigger("ajaxSuccess",[b,h])):n&&(void 0===r&&(r=b.statusText),h.error&&h.error.call(h.context,b,n,r),k.reject(b,"error",r),m&&e.event.trigger("ajaxError",[b,h,r])),m&&e.event.trigger("ajaxComplete",[b,h]),m&&!--e.active&&e.event.trigger("ajaxStop"),h.complete&&h.complete.call(h.context,b,n),A=!0,h.timeout&&clearTimeout(w),setTimeout(function(){h.iframeTarget?g.attr("src",h.iframeSrc):g.remove(),b.responseXML=null},100)}}}var l,d,h,m,f,g,v,b,y,x,F,w,D=c[0],k=e.Deferred();if(k.abort=function(e){b.abort(e)},r)for(d=0;d<p.length;d++)l=e(p[d]),n?l.prop("disabled",!1):l.removeAttr("disabled");if(h=e.extend(!0,{},e.ajaxSettings,t),h.context=h.context||h,f="jqFormIO"+(new Date).getTime(),h.iframeTarget?(g=e(h.iframeTarget),x=g.attr2("name"),x?f=x:g.attr2("name",f)):(g=e('<iframe name="'+f+'" src="'+h.iframeSrc+'" />'),g.css({position:"absolute",top:"-1000px",left:"-1000px"})),v=g[0],b={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(t){var r="timeout"===t?"timeout":"aborted";i("aborting upload... "+r),this.aborted=1;try{v.contentWindow.document.execCommand&&v.contentWindow.document.execCommand("Stop")}catch(a){}g.attr("src",h.iframeSrc),b.error=r,h.error&&h.error.call(h.context,b,r,t),m&&e.event.trigger("ajaxError",[b,h,r]),h.complete&&h.complete.call(h.context,b,r)}},m=h.global,m&&0===e.active++&&e.event.trigger("ajaxStart"),m&&e.event.trigger("ajaxSend",[b,h]),h.beforeSend&&h.beforeSend.call(h.context,b,h)===!1)return h.global&&e.active--,k.reject(),k;if(b.aborted)return k.reject(),k;y=D.clk,y&&(x=y.name,x&&!y.disabled&&(h.extraData=h.extraData||{},h.extraData[x]=y.value,"image"==y.type&&(h.extraData[x+".x"]=D.clk_x,h.extraData[x+".y"]=D.clk_y)));var C=1,S=2,T=e("meta[name=csrf-token]").attr("content"),E=e("meta[name=csrf-param]").attr("content");E&&T&&(h.extraData=h.extraData||{},h.extraData[E]=T),h.forceSync?s():setTimeout(s,10);var j,_,A,L=50,q=e.parseXML||function(e,t){return window.ActiveXObject?(t=new ActiveXObject("Microsoft.XMLDOM"),t.async="false",t.loadXML(e)):t=(new DOMParser).parseFromString(e,"text/xml"),t&&t.documentElement&&"parsererror"!=t.documentElement.nodeName?t:null},M=e.parseJSON||function(e){return window.eval("("+e+")")},P=function(t,r,i){var a=t.getResponseHeader("content-type")||"",n="xml"===r||!r&&a.indexOf("xml")>=0,s=n?t.responseXML:t.responseText;return n&&"parsererror"===s.documentElement.nodeName&&e.error&&e.error("parsererror"),i&&i.dataFilter&&(s=i.dataFilter(s,r)),"string"==typeof s&&("json"===r||!r&&a.indexOf("json")>=0?s=M(s):("script"===r||!r&&a.indexOf("javascript")>=0)&&e.globalEval(s)),s};return k}if(!this.length)return i("ajaxSubmit: skipping submit process - no element selected"),this;var u,l,d,c=this;"function"==typeof t?t={success:t}:void 0===t&&(t={}),u=t.type||this.attr2("method"),l=t.url||this.attr2("action"),d="string"==typeof l?e.trim(l):"",d=d||window.location.href||"",d&&(d=(d.match(/^([^#]+)/)||[])[1]),t=e.extend(!0,{url:d,success:e.ajaxSettings.success,type:u||e.ajaxSettings.type,iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank"},t);var h={};if(this.trigger("form-pre-serialize",[this,t,h]),h.veto)return i("ajaxSubmit: submit vetoed via form-pre-serialize trigger"),this;if(t.beforeSerialize&&t.beforeSerialize(this,t)===!1)return i("ajaxSubmit: submit aborted via beforeSerialize callback"),this;var m=t.traditional;void 0===m&&(m=e.ajaxSettings.traditional);var f,p=[],g=this.formToArray(t.semantic,p);if(t.data&&(t.extraData=t.data,f=e.param(t.data,m)),t.beforeSubmit&&t.beforeSubmit(g,this,t)===!1)return i("ajaxSubmit: submit aborted via beforeSubmit callback"),this;if(this.trigger("form-submit-validate",[g,this,t,h]),h.veto)return i("ajaxSubmit: submit vetoed via form-submit-validate trigger"),this;var v=e.param(g,m);f&&(v=v?v+"&"+f:f),"GET"==t.type.toUpperCase()?(t.url+=(t.url.indexOf("?")<0?"?":"&")+v,t.data=null):t.data=v;var b=[];if(t.resetForm&&b.push(function(){c.resetForm()}),t.clearForm&&b.push(function(){c.clearForm(t.includeHidden)}),!t.dataType&&t.target){var y=t.success||function(){};b.push(function(r){var i=t.replaceTarget?"replaceWith":"html";e(t.target)[i](r).each(y,arguments)})}else t.success&&b.push(t.success);if(t.success=function(e,r,i){for(var a=t.context||this,n=0,s=b.length;s>n;n++)b[n].apply(a,[e,r,i||c,c])},t.error){var x=t.error;t.error=function(e,r,i){var a=t.context||this;x.apply(a,[e,r,i,c])}}if(t.complete){var F=t.complete;t.complete=function(e,r){var i=t.context||this;F.apply(i,[e,r,c])}}var w=e("input[type=file]:enabled",this).filter(function(){return""!==e(this).val()}),D=w.length>0,k="multipart/form-data",C=c.attr("enctype")==k||c.attr("encoding")==k,S=a.fileapi&&a.formdata;i("fileAPI :"+S);var T,E=(D||C)&&!S;t.iframe!==!1&&(t.iframe||E)?t.closeKeepAlive?e.get(t.closeKeepAlive,function(){T=o(g)}):T=o(g):T=(D||C)&&S?s(g):e.ajax(t),c.removeData("jqxhr").data("jqxhr",T);for(var j=0;j<p.length;j++)p[j]=null;return this.trigger("form-submit-notify",[this,t]),this},e.fn.ajaxForm=function(a){if(a=a||{},a.delegation=a.delegation&&e.isFunction(e.fn.on),!a.delegation&&0===this.length){var n={s:this.selector,c:this.context};return!e.isReady&&n.s?(i("DOM not ready, queuing ajaxForm"),e(function(){e(n.s,n.c).ajaxForm(a)}),this):(i("terminating; zero elements found by selector"+(e.isReady?"":" (DOM not ready)")),this)}return a.delegation?(e(document).off("submit.form-plugin",this.selector,t).off("click.form-plugin",this.selector,r).on("submit.form-plugin",this.selector,a,t).on("click.form-plugin",this.selector,a,r),this):this.ajaxFormUnbind().bind("submit.form-plugin",a,t).bind("click.form-plugin",a,r)},e.fn.ajaxFormUnbind=function(){return this.unbind("submit.form-plugin click.form-plugin")},e.fn.formToArray=function(t,r){var i=[];if(0===this.length)return i;var n,s=this[0],o=this.attr("id"),u=t?s.getElementsByTagName("*"):s.elements;if(u&&!/MSIE [678]/.test(navigator.userAgent)&&(u=e(u).get()),o&&(n=e(':input[form="'+o+'"]').get(),n.length&&(u=(u||[]).concat(n))),!u||!u.length)return i;var l,d,c,h,m,f,p;for(l=0,f=u.length;f>l;l++)if(m=u[l],c=m.name,c&&!m.disabled)if(t&&s.clk&&"image"==m.type)s.clk==m&&(i.push({name:c,value:e(m).val(),type:m.type}),i.push({name:c+".x",value:s.clk_x},{name:c+".y",value:s.clk_y}));else if(h=e.fieldValue(m,!0),h&&h.constructor==Array)for(r&&r.push(m),d=0,p=h.length;p>d;d++)i.push({name:c,value:h[d]});else if(a.fileapi&&"file"==m.type){r&&r.push(m);var g=m.files;if(g.length)for(d=0;d<g.length;d++)i.push({name:c,value:g[d],type:m.type});else i.push({name:c,value:"",type:m.type})}else null!==h&&void 0!==h&&(r&&r.push(m),i.push({name:c,value:h,type:m.type,required:m.required}));if(!t&&s.clk){var v=e(s.clk),b=v[0];c=b.name,c&&!b.disabled&&"image"==b.type&&(i.push({name:c,value:v.val()}),i.push({name:c+".x",value:s.clk_x},{name:c+".y",value:s.clk_y}))}return i},e.fn.formSerialize=function(t){return e.param(this.formToArray(t))},e.fn.fieldSerialize=function(t){var r=[];return this.each(function(){var i=this.name;if(i){var a=e.fieldValue(this,t);if(a&&a.constructor==Array)for(var n=0,s=a.length;s>n;n++)r.push({name:i,value:a[n]});else null!==a&&void 0!==a&&r.push({name:this.name,value:a})}}),e.param(r)},e.fn.fieldValue=function(t){for(var r=[],i=0,a=this.length;a>i;i++){var n=this[i],s=e.fieldValue(n,t);null===s||void 0===s||s.constructor==Array&&!s.length||(s.constructor==Array?e.merge(r,s):r.push(s))}return r},e.fieldValue=function(t,r){var i=t.name,a=t.type,n=t.tagName.toLowerCase();if(void 0===r&&(r=!0),r&&(!i||t.disabled||"reset"==a||"button"==a||("checkbox"==a||"radio"==a)&&!t.checked||("submit"==a||"image"==a)&&t.form&&t.form.clk!=t||"select"==n&&-1==t.selectedIndex))return null;if("select"==n){var s=t.selectedIndex;if(0>s)return null;for(var o=[],u=t.options,l="select-one"==a,d=l?s+1:u.length,c=l?s:0;d>c;c++){var h=u[c];if(h.selected){var m=h.value;if(m||(m=h.attributes&&h.attributes.value&&!h.attributes.value.specified?h.text:h.value),l)return m;o.push(m)}}return o}return e(t).val()},e.fn.clearForm=function(t){return this.each(function(){e("input,select,textarea",this).clearFields(t)})},e.fn.clearFields=e.fn.clearInputs=function(t){var r=/^(?:color|date|datetime|email|month|number|password|range|search|tel|text|time|url|week)$/i;return this.each(function(){var i=this.type,a=this.tagName.toLowerCase();r.test(i)||"textarea"==a?this.value="":"checkbox"==i||"radio"==i?this.checked=!1:"select"==a?this.selectedIndex=-1:"file"==i?/MSIE/.test(navigator.userAgent)?e(this).replaceWith(e(this).clone(!0)):e(this).val(""):t&&(t===!0&&/hidden/.test(i)||"string"==typeof t&&e(this).is(t))&&(this.value="")})},e.fn.resetForm=function(){return this.each(function(){("function"==typeof this.reset||"object"==typeof this.reset&&!this.reset.nodeType)&&this.reset()})},e.fn.enable=function(e){return void 0===e&&(e=!0),this.each(function(){this.disabled=!e})},e.fn.selected=function(t){return void 0===t&&(t=!0),this.each(function(){var r=this.type;if("checkbox"==r||"radio"==r)this.checked=t;else if("option"==this.tagName.toLowerCase()){var i=e(this).parent("select");t&&i[0]&&"select-one"==i[0].type&&i.find("option").selected(!1),this.selected=t}})},e.fn.ajaxSubmit.debug=!1}),/*! jQuery Validation Plugin - v1.12.0 - 4/1/2014
12
- * http://jqueryvalidation.org/
13
- * Copyright (c) 2014 Jörn Zaefferer; Licensed MIT */
14
- !function(e){e.extend(e.fn,{validate:function(t){if(!this.length)return void(t&&t.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing."));var r=e.data(this[0],"validator");return r?r:(this.attr("novalidate","novalidate"),r=new e.validator(t,this[0]),e.data(this[0],"validator",r),r.settings.onsubmit&&(this.validateDelegate(":submit","click",function(t){r.settings.submitHandler&&(r.submitButton=t.target),e(t.target).hasClass("cancel")&&(r.cancelSubmit=!0),void 0!==e(t.target).attr("formnovalidate")&&(r.cancelSubmit=!0)}),this.submit(function(t){function i(){var i;return r.settings.submitHandler?(r.submitButton&&(i=e("<input type='hidden'/>").attr("name",r.submitButton.name).val(e(r.submitButton).val()).appendTo(r.currentForm)),r.settings.submitHandler.call(r,r.currentForm,t),r.submitButton&&i.remove(),!1):!0}return r.settings.debug&&t.preventDefault(),r.cancelSubmit?(r.cancelSubmit=!1,i()):r.form()?r.pendingRequest?(r.formSubmitted=!0,!1):i():(r.focusInvalid(),!1)})),r)},valid:function(){var t,r;return e(this[0]).is("form")?t=this.validate().form():(t=!0,r=e(this[0].form).validate(),this.each(function(){t=r.element(this)&&t})),t},removeAttrs:function(t){var r={},i=this;return e.each(t.split(/\s/),function(e,t){r[t]=i.attr(t),i.removeAttr(t)}),r},rules:function(t,r){var i,a,n,s,o,u,l=this[0];if(t)switch(i=e.data(l.form,"validator").settings,a=i.rules,n=e.validator.staticRules(l),t){case"add":e.extend(n,e.validator.normalizeRule(r)),delete n.messages,a[l.name]=n,r.messages&&(i.messages[l.name]=e.extend(i.messages[l.name],r.messages));break;case"remove":return r?(u={},e.each(r.split(/\s/),function(t,r){u[r]=n[r],delete n[r],"required"===r&&e(l).removeAttr("aria-required")}),u):(delete a[l.name],n)}return s=e.validator.normalizeRules(e.extend({},e.validator.classRules(l),e.validator.attributeRules(l),e.validator.dataRules(l),e.validator.staticRules(l)),l),s.required&&(o=s.required,delete s.required,s=e.extend({required:o},s),e(l).attr("aria-required","true")),s.remote&&(o=s.remote,delete s.remote,s=e.extend(s,{remote:o})),s}}),e.extend(e.expr[":"],{blank:function(t){return!e.trim(""+e(t).val())},filled:function(t){return!!e.trim(""+e(t).val())},unchecked:function(t){return!e(t).prop("checked")}}),e.validator=function(t,r){this.settings=e.extend(!0,{},e.validator.defaults,t),this.currentForm=r,this.init()},e.validator.format=function(t,r){return 1===arguments.length?function(){var r=e.makeArray(arguments);return r.unshift(t),e.validator.format.apply(this,r)}:(arguments.length>2&&r.constructor!==Array&&(r=e.makeArray(arguments).slice(1)),r.constructor!==Array&&(r=[r]),e.each(r,function(e,r){t=t.replace(RegExp("\\{"+e+"\\}","g"),function(){return r})}),t)},e.extend(e.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",validClass:"valid",errorElement:"label",focusInvalid:!0,errorContainer:e([]),errorLabelContainer:e([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(e){this.lastActive=e,this.settings.focusCleanup&&!this.blockFocusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,e,this.settings.errorClass,this.settings.validClass),this.addWrapper(this.errorsFor(e)).hide())},onfocusout:function(e){this.checkable(e)||!(e.name in this.submitted)&&this.optional(e)||this.element(e)},onkeyup:function(e,t){(9!==t.which||""!==this.elementValue(e))&&(e.name in this.submitted||e===this.lastElement)&&this.element(e)},onclick:function(e){e.name in this.submitted?this.element(e):e.parentNode.name in this.submitted&&this.element(e.parentNode)},highlight:function(t,r,i){"radio"===t.type?this.findByName(t.name).addClass(r).removeClass(i):e(t).addClass(r).removeClass(i)},unhighlight:function(t,r,i){"radio"===t.type?this.findByName(t.name).removeClass(r).addClass(i):e(t).removeClass(r).addClass(i)}},setDefaults:function(t){e.extend(e.validator.defaults,t)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",creditcard:"Please enter a valid credit card number.",equalTo:"Please enter the same value again.",maxlength:e.validator.format("Please enter no more than {0} characters."),minlength:e.validator.format("Please enter at least {0} characters."),rangelength:e.validator.format("Please enter a value between {0} and {1} characters long."),range:e.validator.format("Please enter a value between {0} and {1}."),max:e.validator.format("Please enter a value less than or equal to {0}."),min:e.validator.format("Please enter a value greater than or equal to {0}.")},autoCreateRanges:!1,prototype:{init:function(){function t(t){var r=e.data(this[0].form,"validator"),i="on"+t.type.replace(/^validate/,""),a=r.settings;a[i]&&!this.is(a.ignore)&&a[i].call(r,this[0],t)}this.labelContainer=e(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||e(this.currentForm),this.containers=e(this.settings.errorContainer).add(this.settings.errorLabelContainer),this.submitted={},this.valueCache={},this.pendingRequest=0,this.pending={},this.invalid={},this.reset();var r,i=this.groups={};e.each(this.settings.groups,function(t,r){"string"==typeof r&&(r=r.split(/\s/)),e.each(r,function(e,r){i[r]=t})}),r=this.settings.rules,e.each(r,function(t,i){r[t]=e.validator.normalizeRule(i)}),e(this.currentForm).validateDelegate(":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'] ,[type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'] ","focusin focusout keyup",t).validateDelegate("[type='radio'], [type='checkbox'], select, option","click",t),this.settings.invalidHandler&&e(this.currentForm).bind("invalid-form.validate",this.settings.invalidHandler),e(this.currentForm).find("[required], [data-rule-required], .required").attr("aria-required","true")},form:function(){return this.checkForm(),e.extend(this.submitted,this.errorMap),this.invalid=e.extend({},this.errorMap),this.valid()||e(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var e=0,t=this.currentElements=this.elements();t[e];e++)this.check(t[e]);return this.valid()},element:function(t){var r=this.clean(t),i=this.validationTargetFor(r),a=!0;return this.lastElement=i,void 0===i?delete this.invalid[r.name]:(this.prepareElement(i),this.currentElements=e(i),a=this.check(i)!==!1,a?delete this.invalid[i.name]:this.invalid[i.name]=!0),e(t).attr("aria-invalid",!a),this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),a},showErrors:function(t){if(t){e.extend(this.errorMap,t),this.errorList=[];for(var r in t)this.errorList.push({message:t[r],element:this.findByName(r)[0]});this.successList=e.grep(this.successList,function(e){return!(e.name in t)})}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){e.fn.resetForm&&e(this.currentForm).resetForm(),this.submitted={},this.lastElement=null,this.prepareForm(),this.hideErrors(),this.elements().removeClass(this.settings.errorClass).removeData("previousValue").removeAttr("aria-invalid")},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(e){var t,r=0;for(t in e)r++;return r},hideErrors:function(){this.addWrapper(this.toHide).hide()},valid:function(){return 0===this.size()},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{e(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus().trigger("focusin")}catch(t){}},findLastActive:function(){var t=this.lastActive;return t&&1===e.grep(this.errorList,function(e){return e.element.name===t.name}).length&&t},elements:function(){var t=this,r={};return e(this.currentForm).find("input, select, textarea").not(":submit, :reset, :image, [disabled]").not(this.settings.ignore).filter(function(){return!this.name&&t.settings.debug&&window.console&&console.error("%o has no name assigned",this),this.name in r||!t.objectLength(e(this).rules())?!1:(r[this.name]=!0,!0)})},clean:function(t){return e(t)[0]},errors:function(){var t=this.settings.errorClass.split(" ").join(".");return e(this.settings.errorElement+"."+t,this.errorContext)},reset:function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=e([]),this.toHide=e([]),this.currentElements=e([])},prepareForm:function(){this.reset(),this.toHide=this.errors().add(this.containers)},prepareElement:function(e){this.reset(),this.toHide=this.errorsFor(e)},elementValue:function(t){var r,i=e(t),a=i.attr("type");return"radio"===a||"checkbox"===a?e("input[name='"+i.attr("name")+"']:checked").val():(r=i.val(),"string"==typeof r?r.replace(/\r/g,""):r)},check:function(t){t=this.validationTargetFor(this.clean(t));var r,i,a,n=e(t).rules(),s=e.map(n,function(e,t){return t}).length,o=!1,u=this.elementValue(t);for(i in n){a={method:i,parameters:n[i]};try{if(r=e.validator.methods[i].call(this,u,t,a.parameters),"dependency-mismatch"===r&&1===s){o=!0;continue}if(o=!1,"pending"===r)return void(this.toHide=this.toHide.not(this.errorsFor(t)));if(!r)return this.formatAndAdd(t,a),!1}catch(l){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+t.id+", check the '"+a.method+"' method.",l),l}}return o?void 0:(this.objectLength(n)&&this.successList.push(t),!0)},customDataMessage:function(t,r){return e(t).data("msg"+r[0].toUpperCase()+r.substring(1).toLowerCase())||e(t).data("msg")},customMessage:function(e,t){var r=this.settings.messages[e];return r&&(r.constructor===String?r:r[t])},findDefined:function(){for(var e=0;e<arguments.length;e++)if(void 0!==arguments[e])return arguments[e];return void 0},defaultMessage:function(t,r){return this.findDefined(this.customMessage(t.name,r),this.customDataMessage(t,r),!this.settings.ignoreTitle&&t.title||void 0,e.validator.messages[r],"<strong>Warning: No message defined for "+t.name+"</strong>")},formatAndAdd:function(t,r){var i=this.defaultMessage(t,r.method),a=/\$?\{(\d+)\}/g;"function"==typeof i?i=i.call(this,r.parameters,t):a.test(i)&&(i=e.validator.format(i.replace(a,"{$1}"),r.parameters)),this.errorList.push({message:i,element:t,method:r.method}),this.errorMap[t.name]=i,this.submitted[t.name]=i},addWrapper:function(e){return this.settings.wrapper&&(e=e.add(e.parent(this.settings.wrapper))),e},defaultShowErrors:function(){var e,t,r;for(e=0;this.errorList[e];e++)r=this.errorList[e],this.settings.highlight&&this.settings.highlight.call(this,r.element,this.settings.errorClass,this.settings.validClass),this.showLabel(r.element,r.message);if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(e=0;this.successList[e];e++)this.showLabel(this.successList[e]);if(this.settings.unhighlight)for(e=0,t=this.validElements();t[e];e++)this.settings.unhighlight.call(this,t[e],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return e(this.errorList).map(function(){return this.element})},showLabel:function(t,r){var i=this.errorsFor(t);i.length?(i.removeClass(this.settings.validClass).addClass(this.settings.errorClass),i.html(r)):(i=e("<"+this.settings.errorElement+">").attr("for",this.idOrName(t)).addClass(this.settings.errorClass).html(r||""),this.settings.wrapper&&(i=i.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.append(i).length||(this.settings.errorPlacement?this.settings.errorPlacement(i,e(t)):i.insertAfter(t))),!r&&this.settings.success&&(i.text(""),"string"==typeof this.settings.success?i.addClass(this.settings.success):this.settings.success(i,t)),this.toShow=this.toShow.add(i)},errorsFor:function(t){var r=this.idOrName(t);return this.errors().filter(function(){return e(this).attr("for")===r})},idOrName:function(e){return this.groups[e.name]||(this.checkable(e)?e.name:e.id||e.name)},validationTargetFor:function(e){return this.checkable(e)&&(e=this.findByName(e.name).not(this.settings.ignore)[0]),e},checkable:function(e){return/radio|checkbox/i.test(e.type)},findByName:function(t){return e(this.currentForm).find("[name='"+t+"']")},getLength:function(t,r){switch(r.nodeName.toLowerCase()){case"select":return e("option:selected",r).length;case"input":if(this.checkable(r))return this.findByName(r.name).filter(":checked").length}return t.length},depend:function(e,t){return this.dependTypes[typeof e]?this.dependTypes[typeof e](e,t):!0},dependTypes:{"boolean":function(e){return e},string:function(t,r){return!!e(t,r.form).length},"function":function(e,t){return e(t)}},optional:function(t){var r=this.elementValue(t);return!e.validator.methods.required.call(this,r,t)&&"dependency-mismatch"},startRequest:function(e){this.pending[e.name]||(this.pendingRequest++,this.pending[e.name]=!0)},stopRequest:function(t,r){this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[t.name],r&&0===this.pendingRequest&&this.formSubmitted&&this.form()?(e(this.currentForm).submit(),this.formSubmitted=!1):!r&&0===this.pendingRequest&&this.formSubmitted&&(e(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(t){return e.data(t,"previousValue")||e.data(t,"previousValue",{old:null,valid:!0,message:this.defaultMessage(t,"remote")})}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(t,r){t.constructor===String?this.classRuleSettings[t]=r:e.extend(this.classRuleSettings,t)},classRules:function(t){var r={},i=e(t).attr("class");return i&&e.each(i.split(" "),function(){this in e.validator.classRuleSettings&&e.extend(r,e.validator.classRuleSettings[this])}),r},attributeRules:function(t){var r,i,a={},n=e(t),s=t.getAttribute("type");for(r in e.validator.methods)"required"===r?(i=t.getAttribute(r),""===i&&(i=!0),i=!!i):i=n.attr(r),/min|max/.test(r)&&(null===s||/number|range|text/.test(s))&&(i=+i),i||0===i?a[r]=i:s===r&&"range"!==s&&(a[r]=!0);return a.maxlength&&/-1|2147483647|524288/.test(a.maxlength)&&delete a.maxlength,a},dataRules:function(t){var r,i,a={},n=e(t);for(r in e.validator.methods)i=n.data("rule"+r[0].toUpperCase()+r.substring(1).toLowerCase()),void 0!==i&&(a[r]=i);return a},staticRules:function(t){var r={},i=e.data(t.form,"validator");return i.settings.rules&&(r=e.validator.normalizeRule(i.settings.rules[t.name])||{}),r},normalizeRules:function(t,r){return e.each(t,function(i,a){if(a===!1)return void delete t[i];if(a.param||a.depends){var n=!0;switch(typeof a.depends){case"string":n=!!e(a.depends,r.form).length;break;case"function":n=a.depends.call(r,r)}n?t[i]=void 0!==a.param?a.param:!0:delete t[i]}}),e.each(t,function(i,a){t[i]=e.isFunction(a)?a(r):a}),e.each(["minlength","maxlength"],function(){t[this]&&(t[this]=+t[this])}),e.each(["rangelength","range"],function(){var r;t[this]&&(e.isArray(t[this])?t[this]=[+t[this][0],+t[this][1]]:"string"==typeof t[this]&&(r=t[this].split(/[\s,]+/),t[this]=[+r[0],+r[1]]))}),e.validator.autoCreateRanges&&(t.min&&t.max&&(t.range=[t.min,t.max],delete t.min,delete t.max),t.minlength&&t.maxlength&&(t.rangelength=[t.minlength,t.maxlength],delete t.minlength,delete t.maxlength)),t},normalizeRule:function(t){if("string"==typeof t){var r={};e.each(t.split(/\s/),function(){r[this]=!0}),t=r}return t},addMethod:function(t,r,i){e.validator.methods[t]=r,e.validator.messages[t]=void 0!==i?i:e.validator.messages[t],r.length<3&&e.validator.addClassRules(t,e.validator.normalizeRule(t))},methods:{required:function(t,r,i){if(!this.depend(i,r))return"dependency-mismatch";if("select"===r.nodeName.toLowerCase()){var a=e(r).val();return a&&a.length>0}return this.checkable(r)?this.getLength(t,r)>0:e.trim(t).length>0},email:function(e,t){return this.optional(t)||/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(e)},url:function(e,t){return this.optional(t)||/^(https?|s?ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(e)},date:function(e,t){return this.optional(t)||!/Invalid|NaN/.test(""+new Date(e))},dateISO:function(e,t){return this.optional(t)||/^\d{4}[\/\-]\d{1,2}[\/\-]\d{1,2}$/.test(e)},number:function(e,t){return this.optional(t)||/^-?(?:\d+|\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(e)},digits:function(e,t){return this.optional(t)||/^\d+$/.test(e)},creditcard:function(e,t){if(this.optional(t))return"dependency-mismatch";if(/[^0-9 \-]+/.test(e))return!1;var r,i,a=0,n=0,s=!1;if(e=e.replace(/\D/g,""),e.length<13||e.length>19)return!1;for(r=e.length-1;r>=0;r--)i=e.charAt(r),n=parseInt(i,10),s&&(n*=2)>9&&(n-=9),a+=n,s=!s;return a%10===0},minlength:function(t,r,i){var a=e.isArray(t)?t.length:this.getLength(e.trim(t),r);return this.optional(r)||a>=i},maxlength:function(t,r,i){var a=e.isArray(t)?t.length:this.getLength(e.trim(t),r);return this.optional(r)||i>=a},rangelength:function(t,r,i){var a=e.isArray(t)?t.length:this.getLength(e.trim(t),r);return this.optional(r)||a>=i[0]&&a<=i[1]},min:function(e,t,r){return this.optional(t)||e>=r},max:function(e,t,r){return this.optional(t)||r>=e},range:function(e,t,r){return this.optional(t)||e>=r[0]&&e<=r[1]},equalTo:function(t,r,i){var a=e(i);return this.settings.onfocusout&&a.unbind(".validate-equalTo").bind("blur.validate-equalTo",function(){e(r).valid()}),t===a.val()},remote:function(t,r,i){if(this.optional(r))return"dependency-mismatch";var a,n,s=this.previousValue(r);return this.settings.messages[r.name]||(this.settings.messages[r.name]={}),s.originalMessage=this.settings.messages[r.name].remote,this.settings.messages[r.name].remote=s.message,i="string"==typeof i&&{url:i}||i,s.old===t?s.valid:(s.old=t,a=this,this.startRequest(r),n={},n[r.name]=t,e.ajax(e.extend(!0,{url:i,mode:"abort",port:"validate"+r.name,dataType:"json",data:n,context:a.currentForm,success:function(i){var n,o,u,l=i===!0||"true"===i;a.settings.messages[r.name].remote=s.originalMessage,l?(u=a.formSubmitted,a.prepareElement(r),a.formSubmitted=u,a.successList.push(r),delete a.invalid[r.name],a.showErrors()):(n={},o=i||a.defaultMessage(r,"remote"),n[r.name]=s.message=e.isFunction(o)?o(t):o,a.invalid[r.name]=!0,a.showErrors(n)),s.valid=l,a.stopRequest(r,l)}},i)),"pending")}}}),e.format=function(){throw"$.format has been deprecated. Please use $.validator.format instead."}}(jQuery),function(e){var t,r={};e.ajaxPrefilter?e.ajaxPrefilter(function(e,t,i){var a=e.port;"abort"===e.mode&&(r[a]&&r[a].abort(),r[a]=i)}):(t=e.ajax,e.ajax=function(i){var a=("mode"in i?i:e.ajaxSettings).mode,n=("port"in i?i:e.ajaxSettings).port;return"abort"===a?(r[n]&&r[n].abort(),r[n]=t.apply(this,arguments),r[n]):t.apply(this,arguments)})}(jQuery),function(e){e.extend(e.fn,{validateDelegate:function(t,r,i){return this.bind(r,function(r){var a=e(r.target);return a.is(t)?i.apply(a,arguments):void 0})}})}(jQuery),function(e){e.validator.addMethod("mc_birthday",function(t,r,i){var a=!1,n=e("input:not(:hidden)",e(r).closest(i));if(0==n.filter(":filled").length&&this.optional(r))a=!0;else{var s=[];s.month=n.filter("input[name*='[month]']").val(),s.day=n.filter("input[name*='[day]']").val(),s.month=s.month-1;var o=new Date(1970,s.month,s.day);a=o.getDate()!=s.day||o.getMonth()!=s.month?!1:!0}return a},"Please enter a valid month and day."),e.validator.addMethod("mc_date",function(t,r,i){var a=!1,n=e("input:not(:hidden)",e(r).closest(i));if(0==n.filter(":filled").length&&this.optional(r))a=!0;else{var s=[];s.month=n.filter("input[name*='[month]']").val(),s.day=n.filter("input[name*='[day]']").val(),s.year=n.filter("input[name*='[year]']").val(),s.month=s.month-1,s.year.length<4&&(s.year=parseInt(s.year)<50?2e3+parseInt(s.year):1900+parseInt(s.year));var o=new Date(s.year,s.month,s.day);a=o.getDate()!=s.day||o.getMonth()!=s.month||o.getFullYear()!=s.year?!1:!0}return a},"Please enter a valid date"),e.validator.addMethod("mc_phone",function(t,r,i){var a=!1,n=e("input:filled:not(:hidden)",e(r).closest(i));return 0==n.length&&this.optional(r)?a=!0:(t=n.eq(0).val()+n.eq(1).val()+n.eq(2).val(),a=10==t.length&&t.match(/[0-9]{9}/)),a},"Please specify a valid phone number"),e.validator.addMethod("skip_or_complete_group",function(t,r,i){var a=e("input:not(:hidden)",e(r).closest(i)),n=a.eq(0),s=n.data("valid_skip")?n.data("valid_skip"):e.extend({},this),o=a.filter(function(){return s.elementValue(this)}).length,u=0===o||o===a.length;return n.data("valid_skip",s),e(r).data("being_validated")||(a.data("being_validated",!0),a.each(function(){s.element(this)}),a.data("being_validated",!1)),u},e.validator.format("Please supply missing fields.")),e.validator.addMethod("skip_or_fill_minimum",function(t,r,i){var a=e(i[1],r.form),n=a.eq(0),s=n.data("valid_skip")?n.data("valid_skip"):e.extend({},this),o=a.filter(function(){return s.elementValue(this)}).length,u=0===o||o>=i[0];return console.log(a.eq(0)),n.data("valid_skip",s),e(r).data("being_validated")||(a.data("being_validated",!0),a.each(function(){s.element(this)}),a.data("being_validated",!1)),u},e.validator.format("Please either skip these fields or fill at least {0} of them.")),e.validator.addMethod("zipcodeUS",function(e,t){return this.optional(t)||/^\d{5}-\d{4}$|^\d{5}$/.test(e)},"The specified US ZIP Code is invalid")}(jQuery),function(e){var t="";try{t=mc_custom_error_style}catch(r){t="#mc_embed_signup input.mce_inline_error { border-color:#6B0505; } #mc_embed_signup div.mce_inline_error { margin: 0 0 1em 0; padding: 5px 10px; background-color:#6B0505; font-weight: bold; z-index: 1; color:#fff; }"}var a=document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",n.styleSheet?n.styleSheet.cssText=t:n.appendChild(document.createTextNode(t)),a.appendChild(n),window.mc={openPopup:function(){e("#mc_embed_signup a.mc_embed_close").show(),setTimeout(function(){e("#mc_embed_signup").fadeIn()},mc.delayPopup)},closePopup:function(){e("#mc_embed_signup").hide();var t=new Date,r=new Date(t.getTime()+31536e6);document.cookie="MCEvilPopupClosed=yes;expires="+r.toGMTString()+";path=/"},evalPopup:function(){for(e("#mc_embed_signup").hide(),cks=document.cookie.split(";"),i=0;i<cks.length;i++)parts=cks[i].split("="),-1!=parts[0].indexOf("MCEvilPopupClosed")&&(mc.showPopup=!1);mc.showPopup&&mc.openPopup()},getAjaxSubmitUrl:function(){var t=e("form#mc-embedded-subscribe-form").attr("action");return t=t.replace("/post?u=","/post-json?u="),t+="&c=?"},getGroups:function(){var t={};return e(".mc-field-group").each(function(){var r=e(this).find("input:text:not(:hidden)");if(r.length>1){var i=r.first().attr("name"),a=e.map(r,function(e){return e.name});t[i.substring(0,i.indexOf("["))]=a.join(" ")}}),t},isMultiPartField:function(t){return e("input:not(:hidden)",e(t).closest(".mc-field-group")).length>1},isTooEarly:function(t){var r=e("input:not(:hidden)",e(t).closest(".mc-field-group"));return e(r).eq(-1).attr("id")!=e(t).attr("id")},mce_success_cb:function(t){if(e("#mce-success-response").hide(),e("#mce-error-response").hide(),"success"==t.result)e("#mce-"+t.result+"-response").show(),e("#mce-"+t.result+"-response").html(t.msg),e("#mc-embedded-subscribe-form").each(function(){this.reset()});else{var r,a=-1;try{var n=t.msg.split(" - ",2);void 0==n[1]?r=t.msg:(i=parseInt(n[0]),""+i==n[0]?(a=n[0],r=n[1]):(a=-1,r=t.msg))}catch(s){a=-1,r=t.msg}try{if(-1==a)e("#mce-"+t.result+"-response").show(),e("#mce-"+t.result+"-response").html(r);else{var o=e("input[name*='"+fnames[a]+"']").attr("name"),u={};u[o]=r,mc.mce_validator.showErrors(u)}}catch(s){e("#mce-"+t.result+"-response").show(),e("#mce-"+t.result+"-response").html(r)}}}},window.mc.mce_validator=e("#mc-embedded-subscribe-form").validate({errorClass:"mce_inline_error",errorElement:"div",onkeyup:!1,onfocusout:function(t){mc.isTooEarly(t)||e(t).valid()},onblur:function(t){mc.isTooEarly(t)||e(t).valid()},groups:mc.getGroups(),errorPlacement:function(e,t){t.closest(".mc-field-group").append(e)},submitHandler:function(t){e(t).ajaxSubmit(mc.ajaxOptions)}}),window.mc.ajaxOptions={url:mc.getAjaxSubmitUrl(),type:"GET",dataType:"json",contentType:"application/json; charset=utf-8",success:mc.mce_success_cb},e.validator.addClassRules("birthday",{digits:!0,mc_birthday:".datefield"}),e.validator.addClassRules("datepart",{digits:!0,mc_date:".datefield"}),e.validator.addClassRules("phonepart",{digits:!0,mc_phone:".phonefield"}),e("#mc_embed_signup a.mc_embed_close").click(function(){mc.closePopup()}),e(document).keydown(function(e){keycode=null==e?event.keyCode:e.which,27==keycode&&void 0!==mc.showPopup&&mc.closePopup()})}(jQuery);