/* Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ /* This is an optimized version of Dojo, built for deployment and not for development. To get sources and documentation, please visit: http://dojotoolkit.org */ //>>built (function(_1,_2){var _3=function(){},_4=function(it){for(var p in it){return 0;}return 1;},_5={}.toString,_6=function(it){return _5.call(it)=="[object Function]";},_7=function(it){return _5.call(it)=="[object String]";},_8=function(it){return _5.call(it)=="[object Array]";},_9=function(_a,_b){if(_a){for(var i=0;i<_a.length;){_b(_a[i++]);}}},_c=function(_d,_e){for(var p in _e){_d[p]=_e[p];}return _d;},_f=function(_10,_11){return _c(new Error(_10),{src:"dojoLoader",info:_11});},_12=1,uid=function(){return "_"+_12++;},req=function(_13,_14,_15){return _16(_13,_14,_15,0,req);},_17=this,doc=_17.document,_18=doc&&doc.createElement("DiV"),has=req.has=function(_19){return _6(_1a[_19])?(_1a[_19]=_1a[_19](_17,doc,_18)):_1a[_19];},_1a=has.cache=_2.hasCache;has.add=function(_1b,_1c,now,_1d){(_1a[_1b]===undefined||_1d)&&(_1a[_1b]=_1c);return now&&has(_1b);};false&&has.add("host-node",_1.has&&"host-node" in _1.has?_1.has["host-node"]:(typeof process=="object"&&process.versions&&process.versions.node&&process.versions.v8));if(0){require("./_base/configNode.js").config(_2);_2.loaderPatch.nodeRequire=require;}false&&has.add("host-rhino",_1.has&&"host-rhino" in _1.has?_1.has["host-rhino"]:(typeof load=="function"&&(typeof Packages=="function"||typeof Packages=="object")));if(0){for(var _1e=_1.baseUrl||".",arg,_1f=this.arguments,i=0;i<_1f.length;){arg=(_1f[i++]+"").split("=");if(arg[0]=="baseUrl"){_1e=arg[1];break;}}load(_1e+"/_base/configRhino.js");rhinoDojoConfig(_2,_1e,_1f);}for(var p in _1.has){has.add(p,_1.has[p],0,1);}var _20=1,_21=2,_22=3,_23=4,_24=5;if(0){_20="requested";_21="arrived";_22="not-a-module";_23="executing";_24="executed";}var _25=0,_26="sync",xd="xd",_27=[],_28=0,_29=_3,_2a=_3,_2b;if(1){req.isXdUrl=_3;req.initSyncLoader=function(_2c,_2d,_2e){if(!_28){_28=_2c;_29=_2d;_2a=_2e;}return {sync:_26,xd:xd,arrived:_21,nonmodule:_22,executing:_23,executed:_24,syncExecStack:_27,modules:_2f,execQ:_30,getModule:_31,injectModule:_32,setArrived:_33,signal:_34,finishExec:_35,execModule:_36,dojoRequirePlugin:_28,getLegacyMode:function(){return _25;},holdIdle:function(){_74++;},releaseIdle:function(){_37();}};};if(1){var _38=location.protocol,_39=location.host,_3a=!_39;req.isXdUrl=function(url){if(_3a||/^\./.test(url)){return false;}if(/^\/\//.test(url)){return true;}var _3b=url.match(/^([^\/\:]+\:)\/\/([^\/]+)/);return _3b&&(_3b[1]!=_38||_3b[2]!=_39);};true||has.add("dojo-xhr-factory",1);has.add("dojo-force-activex-xhr",1&&!doc.addEventListener&&window.location.protocol=="file:");has.add("native-xhr",typeof XMLHttpRequest!="undefined");if(has("native-xhr")&&!has("dojo-force-activex-xhr")){_2b=function(){return new XMLHttpRequest();};}else{for(var _3c=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],_3d,i=0;i<3;){try{_3d=_3c[i++];if(new ActiveXObject(_3d)){break;}}catch(e){}}_2b=function(){return new ActiveXObject(_3d);};}req.getXhr=_2b;has.add("dojo-gettext-api",1);req.getText=function(url,_3e,_3f){var xhr=_2b();xhr.open("GET",_40(url),false);xhr.send(null);if(xhr.status==200||(!location.host&&!xhr.status)){if(_3f){_3f(xhr.responseText,_3e);}}else{throw _f("xhrFailed",xhr.status);}return xhr.responseText;};}}else{req.async=1;}var _41=new Function("__text","return eval(__text);");req.eval=function(_42,_43){return _41(_42+"\r\n////@ sourceURL="+_43);};var _44={},_45="error",_34=req.signal=function(_46,_47){var _48=_44[_46];_9(_48&&_48.slice(0),function(_49){_49.apply(null,_8(_47)?_47:[_47]);});},on=req.on=function(_4a,_4b){var _4c=_44[_4a]||(_44[_4a]=[]);_4c.push(_4b);return {remove:function(){for(var i=0;i<_4c.length;i++){if(_4c[i]===_4b){_4c.splice(i,1);return;}}}};};var _4d=[],_4e={},_4f=[],_50={},_51={},_52=[],_2f={},_53="",_54={},_55={},_56={};if(1){var _57=function(_58){for(var p in _55){var _59=p.match(/^url\:(.+)/);if(_59){_54[_5a(_59[1],_58)]=_55[p];}else{if(p!="*noref"){_54[_5b(p,_58).mid]=_55[p];}}}_55={};},_5c=function(map,_5d,_5e){_5d.splice(0,_5d.length);var p,i,_5f,_60=0;for(p in map){_5d.push([p,map[p]]);if(map[p]==_5e){_60=p;}}_5d.sort(function(lhs,rhs){return rhs[0].length-lhs[0].length;});for(i=0;i<_5d.length;){_5f=_5d[i++];_5f[2]=new RegExp("^"+_5f[0].replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(c){return "\\"+c;})+"(/|$)");_5f[3]=_5f[0].length+1;}return _60;},_61=function(_62,_63){var _64=_62.name;if(!_64){_64=_62;_62={name:_64};}_62=_c({main:"main",mapProg:[]},_62);_62.location=(_63||"")+(_62.location?_62.location:_64);_62.reverseName=_5c(_62.packageMap,_62.mapProg,_64);if(!_62.main.indexOf("./")){_62.main=_62.main.substring(2);}_c(_4e,_62.paths);_50[_64]=_62;_51[_64]=_64;},_65=function(_66,_67){for(var p in _66){if(p=="waitSeconds"){req.waitms=(_66[p]||0)*1000;}if(p=="cacheBust"){_53=_66[p]?(_7(_66[p])?_66[p]:(new Date()).getTime()+""):"";}if(p=="baseUrl"||p=="combo"){req[p]=_66[p];}if(1&&p=="async"){var _68=_66[p];req.legacyMode=_25=(_7(_68)&&/sync|legacyAsync/.test(_68)?_68:(!_68?"sync":false));req.async=!_25;}if(_66[p]!==_1a){req.rawConfig[p]=_66[p];p!="has"&&has.add("config-"+p,_66[p],0,_67);}}if(!req.baseUrl){req.baseUrl="./";}if(!/\/$/.test(req.baseUrl)){req.baseUrl+="/";}for(p in _66.has){has.add(p,_66.has[p],0,_67);}_9(_66.packages,_61);for(_1e in _66.packagePaths){_9(_66.packagePaths[_1e],function(_69){_61(_69,_1e+"/");});}_5c(_c(_4e,_66.paths),_4f);_9(_66.aliases,function(_6a){if(_7(_6a[0])){_6a[0]=new RegExp("^"+_6a[0].replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(c){return "\\"+c;})+"$");}_4d.push(_6a);});_5c(_c(_51,_66.packageMap),_52);if(_66.cache){_57();_55=_66.cache;if(_66.cache["*noref"]){_57();}}_34("config",[_66,req.rawConfig]);};if(has("dojo-cdn")||1){for(var _6b,src,_6c,_6d=doc.getElementsByTagName("script"),i=0;i<_6d.length&&!_6c;i++){if((src=_6d[i].getAttribute("src"))&&(_6c=src.match(/(.*)\/?dojo\.js(\W|$)/i))){_1.baseUrl=_6b=_1.baseUrl||_2.baseUrl||_6c[1];src=(_6d[i].getAttribute("data-dojo-config")||_6d[i].getAttribute("djConfig"));if(src){_56=req.eval("({ "+src+" })","data-dojo-config");}if(0){var _6e=_6d[i].getAttribute("data-main");if(_6e){_56.deps=_56.deps||[_6e];}}}}}if(0){try{if(window.parent!=window&&window.parent.require){var doh=window.parent.require("doh");doh&&_c(_56,doh.testConfig);}}catch(e){}}req.rawConfig={};_65(_2,1);_65(_1,1);_65(_56,1);if(has("dojo-cdn")){_50.dojo.location=_6b;_50.dijit.location=_6b+"../dijit/";_50.dojox.location=_6b+"../dojox/";}}else{_4e=_2.paths;_4f=_2.pathsMapProg;_50=_2.packs;_4d=_2.aliases;_51=_2.packageMap;_52=_2.packageMapProg;_2f=_2.modules;_54=_2.cache;_53=_2.cacheBust;req.rawConfig=_2;}if(0){req.combo=req.combo||{add:_3};var _6f=0,_70=[],_71=null;}var _72=function(_73){_74++;_9(_73.deps,_32);if(0&&_6f&&!_71){_71=setTimeout(function(){_6f=0;_71=null;req.combo.done(function(_75,url){var _76=function(){_77(0,_75);_78();};_70.push(_75);_79=_75;req.injectUrl(url,_76,_75);_79=0;},req);},0);}_37();},_16=function(a1,a2,a3,_7a,_7b){var _7c,_7d;if(_7(a1)){_7c=_31(a1,_7a,true);if(_7c&&_7c.executed){return _7c.result;}throw _f("undefinedModule",a1);}if(!_8(a1)){_65(a1);a1=a2;a2=a3;}if(_8(a1)){if(!a1.length){a2&&a2();}else{_7d="require*"+uid();for(var mid,_7e=[],i=0;i_aa){_ab=_6(_ac[1])?mid.replace(_ac[0],_ac[1]):_ac[1];}});if(_ab){return _99(_ab,0,_9b,_9c,_9d,_9e,_9f,_a0);}_a6=_9c[mid];if(_a6){return _a0?_7f(_a6.pid,_a6.mid,_a6.pack,_a6.url,_a9):_9c[mid];}}_a4=_90(mid,_9f);if(_a4){url=_a4[1]+mid.substring(_a4[3]-1);}else{if(pid){url=_a1.location+"/"+_a2;}else{if(has("config-tlmSiblingOfDojo")){url="../"+mid;}else{url=mid;}}}if(!(/(^\/)|(\:)/.test(url))){url=_9d+url;}url+=".js";return _7f(pid,mid,_a1,_92(url),_a9);},_5b=function(mid,_ae){return _99(mid,_ae,_50,_2f,req.baseUrl,_52,_4f);},_af=function(_b0,_b1,_b2){return _b0.normalize?_b0.normalize(_b1,function(mid){return _b3(mid,_b2);}):_b3(_b1,_b2);},_b4=0,_31=function(mid,_b5,_b6){var _b7,_b8,_b9,_ba;_b7=mid.match(/^(.+?)\!(.*)$/);if(_b7){_b8=_31(_b7[1],_b5,_b6);if(1&&_25==_26&&!_b8.executed){_32(_b8);if(_b8.injected===_21&&!_b8.executed){_74++;_36(_b8);_37();}if(_b8.executed){_bb(_b8);}else{_30.unshift(_b8);}}if(_b8.executed===_24&&!_b8.load){_bb(_b8);}if(_b8.load){_b9=_af(_b8,_b7[2],_b5);mid=(_b8.mid+"!"+(_b8.dynamic?++_b4+"!":"")+_b9);}else{_b9=_b7[2];mid=_b8.mid+"!"+(++_b4)+"!waitingForPlugin";}_ba={plugin:_b8,mid:mid,req:_81(_b5),prid:_b9};}else{_ba=_5b(mid,_b5);}return _2f[_ba.mid]||(!_b6&&(_2f[_ba.mid]=_ba));},_b3=req.toAbsMid=function(mid,_bc){return _5b(mid,_bc).mid;},_5a=req.toUrl=function(_bd,_be){var _bf=_bd.match(/(.+)(\.[^\/\.]+?)$/),_c0=(_bf&&_bf[1])||_bd,ext=(_bf&&_bf[2])||"",_c1=_5b(_c0,_be),url=_c1.url;url=typeof _c1.pid=="string"?url.substring(0,url.length-3):url;return _40(url+ext);},_c2={injected:_21,executed:_24,def:_22,result:_22},_c3=function(mid){return _2f[mid]=_c({mid:mid},_c2);},_c4=_c3("require"),_c5=_c3("exports"),_c6=_c3("module"),_c7=function(_c8,_c9){req.trace("loader-run-factory",[_c8.mid]);var _ca=_c8.def,_cb;1&&_27.unshift(_c8);if(has("config-dojo-loader-catches")){try{_cb=_6(_ca)?_ca.apply(null,_c9):_ca;}catch(e){_34(_45,_c8.result=_f("factoryThrew",[_c8,e]));}}else{_cb=_6(_ca)?_ca.apply(null,_c9):_ca;}_c8.result=_cb===undefined&&_c8.cjs?_c8.cjs.exports:_cb;1&&_27.shift(_c8);},_cc={},_cd=0,_bb=function(_ce){var _cf=_ce.result;_ce.dynamic=_cf.dynamic;_ce.normalize=_cf.normalize;_ce.load=_cf.load;return _ce;},_d0=function(_d1){var map={};_9(_d1.loadQ,function(_d2){var _d3=_d2.mid,_d4=_af(_d1,_d2.prid,_d2.req.module),mid=_d1.dynamic?_d2.mid.replace(/waitingForPlugin$/,_d4):(_d1.mid+"!"+_d4),_d5=_c(_c({},_d2),{mid:mid,prid:_d4,injected:0});if(!_2f[mid]){_e6(_2f[mid]=_d5);}map[_d2.mid]=_2f[mid];_33(_d2);delete _2f[_d2.mid];});_d1.loadQ=0;var _d6=function(_d7){for(var _d8,_d9=_d7.deps||[],i=0;i<_d9.length;i++){_d8=map[_d9[i].mid];if(_d8){_d9[i]=_d8;}}};for(var p in _2f){_d6(_2f[p]);}_9(_30,_d6);},_35=function(_da){req.trace("loader-finish-exec",[_da.mid]);_da.executed=_24;_da.defOrder=_cd++;1&&_9(_da.provides,function(cb){cb();});if(_da.loadQ){_bb(_da);_d0(_da);}for(i=0;i<_30.length;){if(_30[i]===_da){_30.splice(i,1);}else{i++;}}},_db=[],_36=function(_dc,_dd){if(_dc.executed===_23){req.trace("loader-circular-dependency",[_db.concat(mid).join("->")]);return (!_dc.def||_dd)?_cc:(_dc.cjs&&_dc.cjs.exports);}if(!_dc.executed){if(!_dc.def){return _cc;}var mid=_dc.mid,_de=_dc.deps||[],arg,_df,_e0=[],i=0;if(0){_db.push(mid);req.trace("loader-exec-module",["exec",_db.length,mid]);}_dc.executed=_23;while(i<_de.length){arg=_de[i++];_df=((arg===_c4)?_81(_dc):((arg===_c5)?_dc.cjs.exports:((arg===_c6)?_dc.cjs:_36(arg,_dd))));if(_df===_cc){_dc.executed=0;req.trace("loader-exec-module",["abort",mid]);0&&_db.pop();return _cc;}_e0.push(_df);}_c7(_dc,_e0);_35(_dc);}0&&_db.pop();return _dc.result;},_74=0,_78=function(){if(_74){return;}_74++;_29();for(var _e1,_e2,i=0;i<_30.length;){_e1=_cd;_e2=_30[i];_36(_e2);if(_e1!=_cd){_29();i=0;}else{i++;}}_37();},_37=function(){_74--;if(_8f()){_34("idle",[]);}};if(0){req.undef=function(_e3,_e4){var _e5=_31(_e3,_e4);_33(_e5);delete _2f[_e5.mid];};}if(1){if(has("dojo-loader-eval-hint-url")===undefined){has.add("dojo-loader-eval-hint-url",1);}var _40=function(url){url+="";return url+(_53?((/\?/.test(url)?"&":"?")+_53):"");},_e6=function(_e7){var _e8=_e7.plugin;if(_e8.executed===_24&&!_e8.load){_bb(_e8);}var _e9=function(def){_e7.result=def;_33(_e7);_35(_e7);_78();};_8b(_e7);if(_e8.load){_e8.load(_e7.prid,_e7.req,_e9);}else{if(_e8.loadQ){_e8.loadQ.push(_e7);}else{_30.unshift(_e8);_32(_e8);if(_e8.load){_e8.load(_e7.prid,_e7.req,_e9);}else{_e8.loadQ=[_e7];}}}},_87=0,_79=0,_ea=0,_88=function(_eb,_ec){_ea=1;if(has("config-dojo-loader-catches")){try{if(_eb===_87){_87.call(null);}else{req.eval(_eb,has("dojo-loader-eval-hint-url")?_ec.url:_ec.mid);}}catch(e){_34(_45,_f("evalModuleThrew",_ec));}}else{if(_eb===_87){_87.call(null);}else{req.eval(_eb,has("dojo-loader-eval-hint-url")?_ec.url:_ec.mid);}}_ea=0;},_32=function(_ed){var mid=_ed.mid,url=_ed.url;if(_ed.executed||_ed.injected||_8a[mid]||(_ed.url&&((_ed.pack&&_8a[_ed.url]===_ed.pack)||_8a[_ed.url]==1))){return;}if(0){var _ee=0;if(_ed.plugin&&_ed.plugin.isCombo){req.combo.add(_ed.plugin.mid,_ed.prid,0,req);_ee=1;}else{if(!_ed.plugin){_ee=req.combo.add(0,_ed.mid,_ed.url,req);}}if(_ee){_8b(_ed);_6f=1;return;}}if(_ed.plugin){_e6(_ed);return;}_8b(_ed);var _ef=function(){_77(_ed);if(_ed.injected!==_21){_33(_ed);_c(_ed,_c2);}if(1&&_25){!_27.length&&_78();}else{_78();}};_87=_54[mid]||_54[_ed.cacheId];if(_87){req.trace("loader-inject",["cache",_ed.mid,url]);_88(_87,_ed);_ef();return;}if(1&&_25){if(_ed.isXd){_25==_26&&(_25=xd);}else{if(_ed.isAmd&&_25!=_26){}else{var _f0=function(_f1){if(_25==_26){_27.unshift(_ed);_88(_f1,_ed);_27.shift();_77(_ed);if(!_ed.cjs){_33(_ed);_35(_ed);}if(_ed.finish){var _f2=mid+"*finish",_f3=_ed.finish;delete _ed.finish;def(_f2,["dojo",("dojo/require!"+_f3.join(",")).replace(/\./g,"/")],function(_f4){_9(_f3,function(mid){_f4.require(mid);});});_30.unshift(_31(_f2));}_ef();}else{_f1=_2a(_ed,_f1);if(_f1){_88(_f1,_ed);_ef();}else{_79=_ed;req.injectUrl(_40(url),_ef,_ed);_79=0;}}};req.trace("loader-inject",["xhr",_ed.mid,url,_25!=_26]);if(has("config-dojo-loader-catches")){try{req.getText(url,_25!=_26,_f0);}catch(e){_34(_45,_f("xhrInjectFailed",[_ed,e]));}}else{req.getText(url,_25!=_26,_f0);}return;}}}req.trace("loader-inject",["script",_ed.mid,url]);_79=_ed;req.injectUrl(_40(url),_ef,_ed);_79=0;},_f5=function(_f6,_f7,def){req.trace("loader-define-module",[_f6.mid,_f7]);if(0&&_f6.plugin&&_f6.plugin.isCombo){_f6.result=_6(def)?def():def;_33(_f6);_35(_f6);return _f6;}var mid=_f6.mid;if(_f6.injected===_21){_34(_45,_f("multipleDefine",_f6));return _f6;}_c(_f6,{deps:_f7,def:def,cjs:{id:_f6.mid,uri:_f6.url,exports:(_f6.result={}),setExports:function(_f8){_f6.cjs.exports=_f8;}}});for(var i=0;i<_f7.length;i++){_f7[i]=_31(_f7[i],_f6);}if(1&&_25&&!_8a[mid]){_72(_f6);_30.push(_f6);_78();}_33(_f6);if(!_6(def)&&!_f7.length){_f6.result=def;_35(_f6);}return _f6;},_77=function(_f9,_fa){_57(_f9);var _fb=[],_fc,_fd;while(_89.length){_fd=_89.shift();_fa&&(_fd[0]=_fa.shift());_fc=_fd[0]&&_31(_fd[0])||_f9;_fb.push(_f5(_fc,_fd[1],_fd[2]));}_9(_fb,_72);};}var _fe=0,_8e=_3,_ff=_3;if(1){_8e=function(){_fe&&clearTimeout(_fe);_fe=0;},_ff=function(){_8e();req.waitms&&(_fe=setTimeout(function(){_8e();_34(_45,_f("timeout",_8a));},req.waitms));};}if(1){has.add("ie-event-behavior",!!doc.attachEvent&&(typeof opera==="undefined"||opera.toString()!="[object Opera]"));}if(1&&(1||1)){var _100=function(node,_101,_102,_103){if(!has("ie-event-behavior")){node.addEventListener(_101,_103,false);return function(){node.removeEventListener(_101,_103,false);};}else{node.attachEvent(_102,_103);return function(){node.detachEvent(_102,_103);};}},_104=_100(window,"load","onload",function(){req.pageLoaded=1;doc.readyState!="complete"&&(doc.readyState="complete");_104();});if(1){var _105=doc.getElementsByTagName("script")[0],_106=_105.parentNode;req.injectUrl=function(url,_107,_108){_ff();var node=_108.node=doc.createElement("script"),_109=function(e){e=e||window.event;var node=e.target||e.srcElement;if(e.type==="load"||/complete|loaded/.test(node.readyState)){_10a();_107&&_107();}},_10a=_100(node,"load","onreadystatechange",_109);node.type="text/javascript";node.charset="utf-8";node.src=url;_106.insertBefore(node,_105);return node;};}}if(1){req.log=function(){try{for(var i=0;i0){_125._delayTimer=setTimeout(_126,de);return _125;}_126();return _125;},_play:function(_127){var _128=this;if(_128._delayTimer){_128._clearTimer();}_128._startTime=new Date().valueOf();if(_128._paused){_128._startTime-=_128.duration*_128._percent;}_128._active=true;_128._paused=false;var _129=_128.curve.getValue(_128._getStep());if(!_128._percent){if(!_128._startRepeatCount){_128._startRepeatCount=_128.repeat;}_128._fire("onBegin",[_129]);}_128._fire("onPlay",[_129]);_128._cycle();return _128;},pause:function(){var _12a=this;if(_12a._delayTimer){_12a._clearTimer();}_12a._stopTimer();if(!_12a._active){return _12a;}_12a._paused=true;_12a._fire("onPause",[_12a.curve.getValue(_12a._getStep())]);return _12a;},gotoPercent:function(_12b,_12c){var _12d=this;_12d._stopTimer();_12d._active=_12d._paused=true;_12d._percent=_12b;if(_12c){_12d.play();}return _12d;},stop:function(_12e){var _12f=this;if(_12f._delayTimer){_12f._clearTimer();}if(!_12f._timer){return _12f;}_12f._stopTimer();if(_12e){_12f._percent=1;}_12f._fire("onStop",[_12f.curve.getValue(_12f._getStep())]);_12f._active=_12f._paused=false;return _12f;},status:function(){if(this._active){return this._paused?"paused":"playing";}return "stopped";},_cycle:function(){var _130=this;if(_130._active){var curr=new Date().valueOf();var step=(curr-_130._startTime)/(_130.duration);if(step>=1){step=1;}_130._percent=step;if(_130.easing){step=_130.easing(step);}_130._fire("onAnimate",[_130.curve.getValue(step)]);if(_130._percent<1){_130._startTimer();}else{_130._active=false;if(_130.repeat>0){_130.repeat--;_130.play(null,true);}else{if(_130.repeat==-1){_130.play(null,true);}else{if(_130._startRepeatCount){_130.repeat=_130._startRepeatCount;_130._startRepeatCount=0;}}}_130._percent=0;_130._fire("onEnd",[_130.node]);!_130.repeat&&_130._stopTimer();}}return _130;},_clearTimer:function(){clearTimeout(this._delayTimer);delete this._delayTimer;}});var ctr=0,_131=null,_132={run:function(){}};lang.extend(dojo.Animation,{_startTimer:function(){if(!this._timer){this._timer=_11d.connect(_132,"run",this,"_cycle");ctr++;}if(!_131){_131=setInterval(lang.hitch(_132,"run"),this.rate);}},_stopTimer:function(){if(this._timer){_11d.disconnect(this._timer);this._timer=null;ctr--;}if(ctr<=0){clearInterval(_131);_131=null;ctr=0;}}});var _133=has("ie")?function(node){var ns=node.style;if(!ns.width.length&&_11e.get(node,"width")=="auto"){ns.width="auto";}}:function(){};dojo._fade=function(args){args.node=dom.byId(args.node);var _134=_11f({properties:{}},args),_135=(_134.properties.opacity={});_135.start=!("start" in _134)?function(){return +_11e.get(_134.node,"opacity")||0;}:_134.start;_135.end=_134.end;var anim=dojo.animateProperty(_134);_11d.connect(anim,"beforeBegin",lang.partial(_133,_134.node));return anim;};dojo.fadeIn=function(args){return dojo._fade(_11f({end:1},args));};dojo.fadeOut=function(args){return dojo._fade(_11f({end:0},args));};dojo._defaultEasing=function(n){return 0.5+((Math.sin((n+1.5)*Math.PI))/2);};var _136=function(_137){this._properties=_137;for(var p in _137){var prop=_137[p];if(prop.start instanceof _11c){prop.tempColor=new _11c();}}};_136.prototype.getValue=function(r){var ret={};for(var p in this._properties){var prop=this._properties[p],_138=prop.start;if(_138 instanceof _11c){ret[p]=_11c.blendColors(_138,prop.end,r,prop.tempColor).toCss();}else{if(!lang.isArray(_138)){ret[p]=((prop.end-_138)*r)+_138+(p!="opacity"?prop.units||"px":0);}}}return ret;};dojo.animateProperty=function(args){var n=args.node=dom.byId(args.node);if(!args.easing){args.easing=dojo._defaultEasing;}var anim=new dojo.Animation(args);_11d.connect(anim,"beforeBegin",anim,function(){var pm={};for(var p in this.properties){if(p=="width"||p=="height"){this.node.display="block";}var prop=this.properties[p];if(lang.isFunction(prop)){prop=prop(n);}prop=pm[p]=_11f({},(lang.isObject(prop)?prop:{end:prop}));if(lang.isFunction(prop.start)){prop.start=prop.start(n);}if(lang.isFunction(prop.end)){prop.end=prop.end(n);}var _139=(p.toLowerCase().indexOf("color")>=0);function _13a(node,p){var v={height:node.offsetHeight,width:node.offsetWidth}[p];if(v!==undefined){return v;}v=_11e.get(node,p);return (p=="opacity")?+v:(_139?v:parseFloat(v));};if(!("end" in prop)){prop.end=_13a(n,p);}else{if(!("start" in prop)){prop.start=_13a(n,p);}}if(_139){prop.start=new _11c(prop.start);prop.end=new _11c(prop.end);}else{prop.start=(p=="opacity")?+prop.start:parseFloat(prop.start);}}this.curve=new _136(pm);});_11d.connect(anim,"onAnimate",lang.hitch(_11e,"set",anim.node));return anim;};dojo.anim=function(node,_13b,_13c,_13d,_13e,_13f){return dojo.animateProperty({node:node,duration:_13c||dojo.Animation.prototype.duration,properties:_13b,easing:_13d,onEnd:_13e}).play(_13f||0);};return {_Line:dojo._Line,Animation:dojo.Animation,_fade:dojo._fade,fadeIn:dojo.fadeIn,fadeOut:dojo.fadeOut,_defaultEasing:dojo._defaultEasing,animateProperty:dojo.animateProperty,anim:dojo.anim};});},"dojo/dom-form":function(){define(["./_base/lang","./dom","./io-query","./json"],function(lang,dom,ioq,json){function _140(obj,name,_141){if(_141===null){return;}var val=obj[name];if(typeof val=="string"){obj[name]=[val,_141];}else{if(lang.isArray(val)){val.push(_141);}else{obj[name]=_141;}}};var _142="file|submit|image|reset|button";var form={fieldToObject:function fieldToObject(_143){var ret=null;_143=dom.byId(_143);if(_143){var _144=_143.name,type=(_143.type||"").toLowerCase();if(_144&&type&&!_143.disabled){if(type=="radio"||type=="checkbox"){if(_143.checked){ret=_143.value;}}else{if(_143.multiple){ret=[];var _145=[_143.firstChild];while(_145.length){for(var node=_145.pop();node;node=node.nextSibling){if(node.nodeType==1&&node.tagName.toLowerCase()=="option"){if(node.selected){ret.push(node.value);}}else{if(node.nextSibling){_145.push(node.nextSibling);}if(node.firstChild){_145.push(node.firstChild);}break;}}}}else{ret=_143.value;}}}}return ret;},toObject:function formToObject(_146){var ret={},_147=dom.byId(_146).elements;for(var i=0,l=_147.length;i=0;i--){var node=(_1a2?this._cloneNode(ary[i]):ary[i]);if(ary._runParse&&dojo.parser&&dojo.parser.parse){if(!_1a4){_1a4=_1a3.ownerDocument.createElement("div");}_1a4.appendChild(node);dojo.parser.parse(_1a4);node=_1a4.firstChild;while(_1a4.firstChild){_1a4.removeChild(_1a4.firstChild);}}if(i==_1a5-1){_192.place(node,_1a3,_1a1);}else{_1a3.parentNode.insertBefore(node,_1a3);}_1a3=node;}},attr:awc(_199(_194),_196),style:awc(_199(_195),_196),addClass:aafe(_191.add),removeClass:aafe(_191.remove),replaceClass:aafe(_191.replace),toggleClass:aafe(_191.toggle),empty:aafe(_192.empty),removeAttr:aafe(_194.remove),position:aam(_193.position),marginBox:aam(_193.getMarginBox),place:function(_1a6,_1a7){var item=_18f(_1a6)[0];return this.forEach(function(node){_192.place(node,item,_1a7);});},orphan:function(_1a8){return (_1a8?_18f._filterResult(this,_1a8):this).forEach(_197);},adopt:function(_1a9,_1aa){return _18f(_1a9).place(this[0],_1aa)._stash(this);},query:function(_1ab){if(!_1ab){return this;}var ret=new _198;this.map(function(node){_18f(_1ab,node).forEach(function(_1ac){if(_1ac!==undefined){ret.push(_1ac);}});});return ret._stash(this);},filter:function(_1ad){var a=arguments,_1ae=this,_1af=0;if(typeof _1ad=="string"){_1ae=_18f._filterResult(this,a[0]);if(a.length==1){return _1ae._stash(this);}_1af=1;}return this._wrap(_190.filter(_1ae,a[_1af],a[_1af+1]),this);},addContent:function(_1b0,_1b1){_1b0=this._normalize(_1b0,this[0]);for(var i=0,node;(node=this[i]);i++){this._place(_1b0,node,_1b1,i>0);}return this;}});return _198;});},"dojo/query":function(){define(["./_base/kernel","./has","./dom","./on","./_base/array","./_base/lang","./selector/_loader","./selector/_loader!default"],function(dojo,has,dom,on,_1b2,lang,_1b3,_1b4){"use strict";has.add("array-extensible",function(){return lang.delegate([],{length:1}).length==1&&!has("bug-for-in-skips-shadowed");});var ap=Array.prototype,aps=ap.slice,apc=ap.concat,_1b5=_1b2.forEach;var tnl=function(a,_1b6,_1b7){var _1b8=new (_1b7||this._NodeListCtor||nl)(a);return _1b6?_1b8._stash(_1b6):_1b8;};var _1b9=function(f,a,o){a=[0].concat(aps.call(a,0));o=o||dojo.global;return function(node){a[0]=node;return f.apply(o,a);};};var _1ba=function(f,o){return function(){this.forEach(_1b9(f,arguments,o));return this;};};var _1bb=function(f,o){return function(){return this.map(_1b9(f,arguments,o));};};var _1bc=function(f,o){return function(){return this.filter(_1b9(f,arguments,o));};};var _1bd=function(f,g,o){return function(){var a=arguments,body=_1b9(f,a,o);if(g.call(o||dojo.global,a)){return this.map(body);}this.forEach(body);return this;};};var _1be=function(_1bf){var _1c0=this instanceof nl&&has("array-extensible");if(typeof _1bf=="number"){_1bf=Array(_1bf);}var _1c1=(_1bf&&"length" in _1bf)?_1bf:arguments;if(_1c0||!_1c1.sort){var _1c2=_1c0?this:[],l=_1c2.length=_1c1.length;for(var i=0;i0;};_1d3.filter=_1d1.filter||function(_1d7,_1d8,root){return _1d3(_1d8,root).filter(function(node){return _1b2.indexOf(_1d7,node)>-1;});};if(typeof _1d1!="function"){var _1d9=_1d1.search;_1d1=function(_1da,root){return _1d9(root||document,_1da);};}return _1d3;};var _1cd=_1d0(_1b4,_1be);dojo.query=_1d0(_1b4,function(_1db){return _1be(_1db);});_1cd.load=function(id,_1dc,_1dd,_1de){_1b3.load(id,_1dc,function(_1df){_1dd(_1d0(_1df,_1be));});};dojo._filterQueryResult=_1cd._filterResult=function(_1e0,_1e1,root){return new _1be(_1cd.filter(_1e0,_1e1,root));};dojo.NodeList=_1cd.NodeList=_1be;return _1cd;});},"dojo/has":function(){define(["require"],function(_1e2){var has=_1e2.has||function(){};if(!1){var _1e3=typeof window!="undefined"&&typeof location!="undefined"&&typeof document!="undefined"&&window.location==location&&window.document==document,_1e4=this,doc=_1e3&&document,_1e5=doc&&doc.createElement("DiV"),_1e6={};has=function(name){return typeof _1e6[name]=="function"?(_1e6[name]=_1e6[name](_1e4,doc,_1e5)):_1e6[name];};has.cache=_1e6;has.add=function(name,test,now,_1e7){(typeof _1e6[name]=="undefined"||_1e7)&&(_1e6[name]=test);return now&&has(name);};true||has.add("host-browser",_1e3);true||has.add("dom",_1e3);true||has.add("dojo-dom-ready-api",1);true||has.add("dojo-sniff",1);}if(1){var _1e8=navigator.userAgent;has.add("dom-addeventlistener",!!document.addEventListener);has.add("touch","ontouchstart" in document);has.add("device-width",screen.availWidth||innerWidth);has.add("agent-ios",!!_1e8.match(/iPhone|iP[ao]d/));has.add("agent-android",_1e8.indexOf("android")>1);}has.clearElement=function(_1e9){_1e9.innerHTML="";return _1e9;};has.normalize=function(id,_1ea){var _1eb=id.match(/[\?:]|[^:\?]*/g),i=0,get=function(skip){var term=_1eb[i++];if(term==":"){return 0;}else{if(_1eb[i++]=="?"){if(!skip&&has(term)){return get();}else{get(true);return get(skip);}}return term||0;}};id=get();return id&&_1ea(id);};has.load=function(id,_1ec,_1ed){if(id){_1ec([id],_1ed);}else{_1ed();}};return has;});},"dojo/_base/loader":function(){define(["./kernel","../has","require","module","./json","./lang","./array"],function(dojo,has,_1ee,_1ef,json,lang,_1f0){if(!1){console.error("cannot load the Dojo v1.x loader with a foreign loader");return 0;}var _1f1=function(id){return {src:_1ef.id,id:id};},_1f2=function(name){return name.replace(/\./g,"/");},_1f3=/\/\/>>built/,_1f4=[],_1f5=[],_1f6=function(mid,_1f7,_1f8){_1f4.push(_1f8);_1f0.forEach(mid.split(","),function(mid){var _1f9=_1fa(mid,_1f7.module);_1f5.push(_1f9);_1fb(_1f9);});_1fc();},_1fd,_1fe=function(m){if(_1fd[m.mid]===1||/loadInit\!/.test(m.mid)||/require\!/.test(m.mid)){_1fd[m.mid]=1;return true;}if(_1fd[m.mid]===0||(m.injected!==_1ff&&!m.executed)){_1fd[m.mid]=0;return false;}_1fd[m.mid]=1;for(var deps=m.deps||[],i=0;i=0;--j){_260=lin[j].prototype;if(!_260.hasOwnProperty("declaredClass")){_260.declaredClass="uniqName_"+(_257++);}name=_260.declaredClass;if(!_25e.hasOwnProperty(name)){_25e[name]={count:0,refs:[],cls:lin[j]};++_25f;}rec=_25e[name];if(top&&top!==rec){rec.refs.push(top);++top.count;}top=rec;}++top.count;_25d[0].refs.push(top);}while(_25d.length){top=_25d.pop();_25c.push(top.cls);--_25f;while(refs=top.refs,refs.length==1){top=refs[0];if(!top||--top.count){top=0;break;}_25c.push(top.cls);--_25f;}if(top){for(i=0,l=refs.length;i=0;--i){f=_27a[i];m=f._meta;f=m?m.ctor:f;if(f){f.apply(this,_27c?_27c[i]:a);}}f=this.postscript;if(f){f.apply(this,args);}};};function _27e(ctor,_27f){return function(){var a=arguments,t=a,a0=a[0],f;if(!(this instanceof a.callee)){return _27d(a);}if(_27f){if(a0){f=a0.preamble;if(f){t=f.apply(this,t)||t;}}f=this.preamble;if(f){f.apply(this,t);}}if(ctor){ctor.apply(this,a);}f=this.postscript;if(f){f.apply(this,a);}};};function _280(_281){return function(){var a=arguments,i=0,f,m;if(!(this instanceof a.callee)){return _27d(a);}for(;f=_281[i];++i){m=f._meta;f=m?m.ctor:f;if(f){f.apply(this,a);break;}}f=this.postscript;if(f){f.apply(this,a);}};};function _282(name,_283,_284){return function(){var b,m,f,i=0,step=1;if(_284){i=_283.length-1;step=-1;}for(;b=_283[i];i+=step){m=b._meta;f=(m?m.hidden:b.prototype)[name];if(f){f.apply(this,arguments);}}};};function _285(ctor){xtor.prototype=ctor.prototype;var t=new xtor;xtor.prototype=null;return t;};function _27d(args){var ctor=args.callee,t=_285(ctor);ctor.apply(t,args);return t;};function _276(_286,_287,_288){if(typeof _286!="string"){_288=_287;_287=_286;_286="";}_288=_288||{};var _289,i,t,ctor,name,_28a,_28b,_28c=1,_28d=_287;if(opts.call(_287)=="[object Array]"){_28a=_259(_287,_286);t=_28a[0];_28c=_28a.length-t;_287=_28a[_28c];}else{_28a=[0];if(_287){if(opts.call(_287)=="[object Function]"){t=_287._meta;_28a=_28a.concat(t?t.bases:_287);}else{err("base class is not a callable constructor.",_286);}}else{if(_287!==null){err("unknown base class. Did you use dojo.require to pull it in?",_286);}}}if(_287){for(i=_28c-1;;--i){_289=_285(_287);if(!i){break;}t=_28a[i];(t._meta?_26c:mix)(_289,t.prototype);ctor=new Function;ctor.superclass=_287;ctor.prototype=_289;_287=_289.constructor=ctor;}}else{_289={};}_276.safeMixin(_289,_288);t=_288.constructor;if(t!==op.constructor){t.nom=_258;_289.constructor=t;}for(i=_28c-1;i;--i){t=_28a[i]._meta;if(t&&t.chains){_28b=mix(_28b||{},t.chains);}}if(_289["-chains-"]){_28b=mix(_28b||{},_289["-chains-"]);}t=!_28b||!_28b.hasOwnProperty(_258);_28a[0]=ctor=(_28b&&_28b.constructor==="manual")?_280(_28a):(_28a.length==1?_27e(_288.constructor,t):_279(_28a,t));ctor._meta={bases:_28a,hidden:_288,chains:_28b,parents:_28d,ctor:_288.constructor};ctor.superclass=_287&&_287.prototype;ctor.extend=_274;ctor.createSubclass=_277;ctor.prototype=_289;_289.constructor=ctor;_289.getInherited=_267;_289.isInstanceOf=_26a;_289.inherited=_269;_289.__inherited=_261;if(_286){_289.declaredClass=_286;lang.setObject(_286,ctor);}if(_28b){for(name in _28b){if(_289[name]&&typeof _28b[name]=="string"&&name!=_258){t=_289[name]=_282(name,_28a,_28b[name]==="after");t.nom=name;}}}return ctor;};dojo.safeMixin=_276.safeMixin=_270;dojo.declare=_276;return _276;});},"dojo/dom":function(){define(["./_base/sniff","./_base/lang","./_base/window"],function(has,lang,win){try{document.execCommand("BackgroundImageCache",false,true);}catch(e){}var dom={};if(has("ie")){dom.byId=function(id,doc){if(typeof id!="string"){return id;}var _28e=doc||win.doc,te=id&&_28e.getElementById(id);if(te&&(te.attributes.id.value==id||te.id==id)){return te;}else{var eles=_28e.all[id];if(!eles||eles.nodeName){eles=[eles];}var i=0;while((te=eles[i++])){if((te.attributes&&te.attributes.id&&te.attributes.id.value==id)||te.id==id){return te;}}}};}else{dom.byId=function(id,doc){return ((typeof id=="string")?(doc||win.doc).getElementById(id):id)||null;};}dom.isDescendant=function(node,_28f){try{node=dom.byId(node);_28f=dom.byId(_28f);while(node){if(node==_28f){return true;}node=node.parentNode;}}catch(e){}return false;};dom.setSelectable=function(node,_290){node=dom.byId(node);if(has("mozilla")){node.style.MozUserSelect=_290?"":"none";}else{if(has("khtml")||has("webkit")){node.style.KhtmlUserSelect=_290?"auto":"none";}else{if(has("ie")){var v=(node.unselectable=_290?"":"on"),cs=node.getElementsByTagName("*"),i=0,l=cs.length;for(;i=0){_297+=" * ";}else{_297+=" ";}var ts=function(s,e){return trim(_297.slice(s,e));};var _298=[];var _299=-1,_29a=-1,_29b=-1,_29c=-1,_29d=-1,inId=-1,_29e=-1,lc="",cc="",_29f;var x=0,ql=_297.length,_2a0=null,_2a1=null;var _2a2=function(){if(_29e>=0){var tv=(_29e==x)?null:ts(_29e,x);_2a0[(_293.indexOf(tv)<0)?"tag":"oper"]=tv;_29e=-1;}};var _2a3=function(){if(inId>=0){_2a0.id=ts(inId,x).replace(/\\/g,"");inId=-1;}};var _2a4=function(){if(_29d>=0){_2a0.classes.push(ts(_29d+1,x).replace(/\\/g,""));_29d=-1;}};var _2a5=function(){_2a3();_2a2();_2a4();};var _2a6=function(){_2a5();if(_29c>=0){_2a0.pseudos.push({name:ts(_29c+1,x)});}_2a0.loops=(_2a0.pseudos.length||_2a0.attrs.length||_2a0.classes.length);_2a0.oquery=_2a0.query=ts(_29f,x);_2a0.otag=_2a0.tag=(_2a0["oper"])?null:(_2a0.tag||"*");if(_2a0.tag){_2a0.tag=_2a0.tag.toUpperCase();}if(_298.length&&(_298[_298.length-1].oper)){_2a0.infixOper=_298.pop();_2a0.query=_2a0.infixOper.query+" "+_2a0.query;}_298.push(_2a0);_2a0=null;};for(;lc=cc,cc=_297.charAt(x),x=0){if(cc=="]"){if(!_2a1.attr){_2a1.attr=ts(_299+1,x);}else{_2a1.matchFor=ts((_29b||_299+1),x);}var cmf=_2a1.matchFor;if(cmf){if((cmf.charAt(0)=="\"")||(cmf.charAt(0)=="'")){_2a1.matchFor=cmf.slice(1,-1);}}_2a0.attrs.push(_2a1);_2a1=null;_299=_29b=-1;}else{if(cc=="="){var _2a7=("|~^$*".indexOf(lc)>=0)?lc:"";_2a1.type=_2a7+cc;_2a1.attr=ts(_299+1,x-_2a7.length);_29b=x+1;}}}else{if(_29a>=0){if(cc==")"){if(_29c>=0){_2a1.value=ts(_29a+1,x);}_29c=_29a=-1;}}else{if(cc=="#"){_2a5();inId=x+1;}else{if(cc=="."){_2a5();_29d=x;}else{if(cc==":"){_2a5();_29c=x;}else{if(cc=="["){_2a5();_299=x;_2a1={};}else{if(cc=="("){if(_29c>=0){_2a1={name:ts(_29c+1,x),value:null};_2a0.pseudos.push(_2a1);}_29a=x;}else{if((cc==" ")&&(lc!=cc)){_2a6();}}}}}}}}}return _298;};var _2a8=function(_2a9,_2aa){if(!_2a9){return _2aa;}if(!_2aa){return _2a9;}return function(){return _2a9.apply(window,arguments)&&_2aa.apply(window,arguments);};};var _2ab=function(i,arr){var r=arr||[];if(i){r.push(i);}return r;};var _2ac=function(n){return (1==n.nodeType);};var _2ad="";var _2ae=function(elem,attr){if(!elem){return _2ad;}if(attr=="class"){return elem.className||_2ad;}if(attr=="for"){return elem.htmlFor||_2ad;}if(attr=="style"){return elem.style.cssText||_2ad;}return (_294?elem.getAttribute(attr):elem.getAttribute(attr,2))||_2ad;};var _2af={"*=":function(attr,_2b0){return function(elem){return (_2ae(elem,attr).indexOf(_2b0)>=0);};},"^=":function(attr,_2b1){return function(elem){return (_2ae(elem,attr).indexOf(_2b1)==0);};},"$=":function(attr,_2b2){return function(elem){var ea=" "+_2ae(elem,attr);return (ea.lastIndexOf(_2b2)==(ea.length-_2b2.length));};},"~=":function(attr,_2b3){var tval=" "+_2b3+" ";return function(elem){var ea=" "+_2ae(elem,attr)+" ";return (ea.indexOf(tval)>=0);};},"|=":function(attr,_2b4){var _2b5=_2b4+"-";return function(elem){var ea=_2ae(elem,attr);return ((ea==_2b4)||(ea.indexOf(_2b5)==0));};},"=":function(attr,_2b6){return function(elem){return (_2ae(elem,attr)==_2b6);};}};var _2b7=(typeof _291().firstChild.nextElementSibling=="undefined");var _2b8=!_2b7?"nextElementSibling":"nextSibling";var _2b9=!_2b7?"previousElementSibling":"previousSibling";var _2ba=(_2b7?_2ac:_295);var _2bb=function(node){while(node=node[_2b9]){if(_2ba(node)){return false;}}return true;};var _2bc=function(node){while(node=node[_2b8]){if(_2ba(node)){return false;}}return true;};var _2bd=function(node){var root=node.parentNode;var i=0,tret=root.children||root.childNodes,ci=(node["_i"]||-1),cl=(root["_l"]||-1);if(!tret){return -1;}var l=tret.length;if(cl==l&&ci>=0&&cl>=0){return ci;}root["_l"]=l;ci=-1;for(var te=root["firstElementChild"]||root["firstChild"];te;te=te[_2b8]){if(_2ba(te)){te["_i"]=++i;if(node===te){ci=i;}}}return ci;};var _2be=function(elem){return !((_2bd(elem))%2);};var _2bf=function(elem){return ((_2bd(elem))%2);};var _2c0={"checked":function(name,_2c1){return function(elem){return !!("checked" in elem?elem.checked:elem.selected);};},"first-child":function(){return _2bb;},"last-child":function(){return _2bc;},"only-child":function(name,_2c2){return function(node){return _2bb(node)&&_2bc(node);};},"empty":function(name,_2c3){return function(elem){var cn=elem.childNodes;var cnl=elem.childNodes.length;for(var x=cnl-1;x>=0;x--){var nt=cn[x].nodeType;if((nt===1)||(nt==3)){return false;}}return true;};},"contains":function(name,_2c4){var cz=_2c4.charAt(0);if(cz=="\""||cz=="'"){_2c4=_2c4.slice(1,-1);}return function(elem){return (elem.innerHTML.indexOf(_2c4)>=0);};},"not":function(name,_2c5){var p=_296(_2c5)[0];var _2c6={el:1};if(p.tag!="*"){_2c6.tag=1;}if(!p.classes.length){_2c6.classes=1;}var ntf=_2c7(p,_2c6);return function(elem){return (!ntf(elem));};},"nth-child":function(name,_2c8){var pi=parseInt;if(_2c8=="odd"){return _2bf;}else{if(_2c8=="even"){return _2be;}}if(_2c8.indexOf("n")!=-1){var _2c9=_2c8.split("n",2);var pred=_2c9[0]?((_2c9[0]=="-")?-1:pi(_2c9[0])):1;var idx=_2c9[1]?pi(_2c9[1]):0;var lb=0,ub=-1;if(pred>0){if(idx<0){idx=(idx%pred)&&(pred+(idx%pred));}else{if(idx>0){if(idx>=pred){lb=idx-idx%pred;}idx=idx%pred;}}}else{if(pred<0){pred*=-1;if(idx>0){ub=idx;idx=idx%pred;}}}if(pred>0){return function(elem){var i=_2bd(elem);return (i>=lb)&&(ub<0||i<=ub)&&((i%pred)==idx);};}else{_2c8=idx;}}var _2ca=pi(_2c8);return function(elem){return (_2bd(elem)==_2ca);};}};var _2cb=(dojo.isIE&&(dojo.isIE<9||dojo.isQuirks))?function(cond){var clc=cond.toLowerCase();if(clc=="class"){cond="className";}return function(elem){return (_294?elem.getAttribute(cond):elem[cond]||elem[clc]);};}:function(cond){return function(elem){return (elem&&elem.getAttribute&&elem.hasAttribute(cond));};};var _2c7=function(_2cc,_2cd){if(!_2cc){return _295;}_2cd=_2cd||{};var ff=null;if(!("el" in _2cd)){ff=_2a8(ff,_2ac);}if(!("tag" in _2cd)){if(_2cc.tag!="*"){ff=_2a8(ff,function(elem){return (elem&&(elem.tagName==_2cc.getTag()));});}}if(!("classes" in _2cd)){each(_2cc.classes,function(_2ce,idx,arr){var re=new RegExp("(?:^|\\s)"+_2ce+"(?:\\s|$)");ff=_2a8(ff,function(elem){return re.test(elem.className);});ff.count=idx;});}if(!("pseudos" in _2cd)){each(_2cc.pseudos,function(_2cf){var pn=_2cf.name;if(_2c0[pn]){ff=_2a8(ff,_2c0[pn](pn,_2cf.value));}});}if(!("attrs" in _2cd)){each(_2cc.attrs,function(attr){var _2d0;var a=attr.attr;if(attr.type&&_2af[attr.type]){_2d0=_2af[attr.type](a,attr.matchFor);}else{if(a.length){_2d0=_2cb(a);}}if(_2d0){ff=_2a8(ff,_2d0);}});}if(!("id" in _2cd)){if(_2cc.id){ff=_2a8(ff,function(elem){return (!!elem&&(elem.id==_2cc.id));});}}if(!ff){if(!("default" in _2cd)){ff=_295;}}return ff;};var _2d1=function(_2d2){return function(node,ret,bag){while(node=node[_2b8]){if(_2b7&&(!_2ac(node))){continue;}if((!bag||_2d3(node,bag))&&_2d2(node)){ret.push(node);}break;}return ret;};};var _2d4=function(_2d5){return function(root,ret,bag){var te=root[_2b8];while(te){if(_2ba(te)){if(bag&&!_2d3(te,bag)){break;}if(_2d5(te)){ret.push(te);}}te=te[_2b8];}return ret;};};var _2d6=function(_2d7){_2d7=_2d7||_295;return function(root,ret,bag){var te,x=0,tret=root.children||root.childNodes;while(te=tret[x++]){if(_2ba(te)&&(!bag||_2d3(te,bag))&&(_2d7(te,x))){ret.push(te);}}return ret;};};var _2d8=function(node,root){var pn=node.parentNode;while(pn){if(pn==root){break;}pn=pn.parentNode;}return !!pn;};var _2d9={};var _2da=function(_2db){var _2dc=_2d9[_2db.query];if(_2dc){return _2dc;}var io=_2db.infixOper;var oper=(io?io.oper:"");var _2dd=_2c7(_2db,{el:1});var qt=_2db.tag;var _2de=("*"==qt);var ecs=_291()["getElementsByClassName"];if(!oper){if(_2db.id){_2dd=(!_2db.loops&&_2de)?_295:_2c7(_2db,{el:1,id:1});_2dc=function(root,arr){var te=dom.byId(_2db.id,(root.ownerDocument||root));if(!te||!_2dd(te)){return;}if(9==root.nodeType){return _2ab(te,arr);}else{if(_2d8(te,root)){return _2ab(te,arr);}}};}else{if(ecs&&/\{\s*\[native code\]\s*\}/.test(String(ecs))&&_2db.classes.length&&!_292){_2dd=_2c7(_2db,{el:1,classes:1,id:1});var _2df=_2db.classes.join(" ");_2dc=function(root,arr,bag){var ret=_2ab(0,arr),te,x=0;var tret=root.getElementsByClassName(_2df);while((te=tret[x++])){if(_2dd(te,root)&&_2d3(te,bag)){ret.push(te);}}return ret;};}else{if(!_2de&&!_2db.loops){_2dc=function(root,arr,bag){var ret=_2ab(0,arr),te,x=0;var tret=root.getElementsByTagName(_2db.getTag());while((te=tret[x++])){if(_2d3(te,bag)){ret.push(te);}}return ret;};}else{_2dd=_2c7(_2db,{el:1,tag:1,id:1});_2dc=function(root,arr,bag){var ret=_2ab(0,arr),te,x=0;var tret=root.getElementsByTagName(_2db.getTag());while((te=tret[x++])){if(_2dd(te,root)&&_2d3(te,bag)){ret.push(te);}}return ret;};}}}}else{var _2e0={el:1};if(_2de){_2e0.tag=1;}_2dd=_2c7(_2db,_2e0);if("+"==oper){_2dc=_2d1(_2dd);}else{if("~"==oper){_2dc=_2d4(_2dd);}else{if(">"==oper){_2dc=_2d6(_2dd);}}}}return _2d9[_2db.query]=_2dc;};var _2e1=function(root,_2e2){var _2e3=_2ab(root),qp,x,te,qpl=_2e2.length,bag,ret;for(var i=0;i0){bag={};ret.nozip=true;}var gef=_2da(qp);for(var j=0;(te=_2e3[j]);j++){gef(te,ret,bag);}if(!ret.length){break;}_2e3=ret;}return ret;};var _2e4={},_2e5={};var _2e6=function(_2e7){var _2e8=_296(trim(_2e7));if(_2e8.length==1){var tef=_2da(_2e8[0]);return function(root){var r=tef(root,[]);if(r){r.nozip=true;}return r;};}return function(root){return _2e1(root,_2e8);};};var nua=navigator.userAgent;var wk="WebKit/";var _2e9=(dojo.isWebKit&&(nua.indexOf(wk)>0)&&(parseFloat(nua.split(wk)[1])>528));var _2ea=dojo.isIE?"commentStrip":"nozip";var qsa="querySelectorAll";var _2eb=(!!_291()[qsa]&&(!dojo.isSafari||(dojo.isSafari>3.1)||_2e9));var _2ec=/n\+\d|([^ ])?([>~+])([^ =])?/g;var _2ed=function(_2ee,pre,ch,post){return ch?(pre?pre+" ":"")+ch+(post?" "+post:""):_2ee;};var _2ef=function(_2f0,_2f1){_2f0=_2f0.replace(_2ec,_2ed);if(_2eb){var _2f2=_2e5[_2f0];if(_2f2&&!_2f1){return _2f2;}}var _2f3=_2e4[_2f0];if(_2f3){return _2f3;}var qcz=_2f0.charAt(0);var _2f4=(-1==_2f0.indexOf(" "));if((_2f0.indexOf("#")>=0)&&(_2f4)){_2f1=true;}var _2f5=(_2eb&&(!_2f1)&&(_293.indexOf(qcz)==-1)&&(!dojo.isIE||(_2f0.indexOf(":")==-1))&&(!(_292&&(_2f0.indexOf(".")>=0)))&&(_2f0.indexOf(":contains")==-1)&&(_2f0.indexOf(":checked")==-1)&&(_2f0.indexOf("|=")==-1));if(_2f5){var tq=(_293.indexOf(_2f0.charAt(_2f0.length-1))>=0)?(_2f0+" *"):_2f0;return _2e5[_2f0]=function(root){try{if(!((9==root.nodeType)||_2f4)){throw "";}var r=root[qsa](tq);r[_2ea]=true;return r;}catch(e){return _2ef(_2f0,true)(root);}};}else{var _2f6=_2f0.split(/\s*,\s*/);return _2e4[_2f0]=((_2f6.length<2)?_2e6(_2f0):function(root){var _2f7=0,ret=[],tp;while((tp=_2f6[_2f7++])){ret=ret.concat(_2e6(tp)(root));}return ret;});}};var _2f8=0;var _2f9=dojo.isIE?function(node){if(_294){return (node.getAttribute("_uid")||node.setAttribute("_uid",++_2f8)||_2f8);}else{return node.uniqueID;}}:function(node){return (node._uid||(node._uid=++_2f8));};var _2d3=function(node,bag){if(!bag){return 1;}var id=_2f9(node);if(!bag[id]){return bag[id]=1;}return 0;};var _2fa="_zipIdx";var _2fb=function(arr){if(arr&&arr.nozip){return arr;}var ret=[];if(!arr||!arr.length){return ret;}if(arr[0]){ret.push(arr[0]);}if(arr.length<2){return ret;}_2f8++;if(dojo.isIE&&_294){var _2fc=_2f8+"";arr[0].setAttribute(_2fa,_2fc);for(var x=1,te;te=arr[x];x++){if(arr[x].getAttribute(_2fa)!=_2fc){ret.push(te);}te.setAttribute(_2fa,_2fc);}}else{if(dojo.isIE&&arr.commentStrip){try{for(var x=1,te;te=arr[x];x++){if(_2ac(te)){ret.push(te);}}}catch(e){}}else{if(arr[0]){arr[0][_2fa]=_2f8;}for(var x=1,te;te=arr[x];x++){if(arr[x][_2fa]!=_2f8){ret.push(te);}te[_2fa]=_2f8;}}}return ret;};var _2fd=function(_2fe,root){root=root||_291();var od=root.ownerDocument||root.documentElement;_294=(root.contentType&&root.contentType=="application/xml")||(dojo.isOpera&&(root.doctype||od.toString()=="[object XMLDocument]"))||(!!od)&&(dojo.isIE?od.xml:(root.xmlVersion||od.xmlVersion));var r=_2ef(_2fe)(root);if(r&&r.nozip){return r;}return _2fb(r);};_2fd.filter=function(_2ff,_300,root){var _301=[],_302=_296(_300),_303=(_302.length==1&&!/[^\w#\.]/.test(_300))?_2c7(_302[0]):function(node){return dojo.query(_300,root).indexOf(node)!=-1;};for(var x=0,te;te=_2ff[x];x++){if(_303(te)){_301.push(te);}}return _301;};return _2fd;});},"dojo/dom-style":function(){define("dojo/dom-style",["./_base/sniff","./dom"],function(has,dom){var _304,_305={};if(has("webkit")){_304=function(node){var s;if(node.nodeType==1){var dv=node.ownerDocument.defaultView;s=dv.getComputedStyle(node,null);if(!s&&node.style){node.style.display="";s=dv.getComputedStyle(node,null);}}return s||{};};}else{if(has("ie")&&(has("ie")<9||has("quirks"))){_304=function(node){return node.nodeType==1?node.currentStyle:{};};}else{_304=function(node){return node.nodeType==1?node.ownerDocument.defaultView.getComputedStyle(node,null):{};};}}_305.getComputedStyle=_304;var _306;if(!has("ie")){_306=function(_307,_308){return parseFloat(_308)||0;};}else{_306=function(_309,_30a){if(!_30a){return 0;}if(_30a=="medium"){return 4;}if(_30a.slice&&_30a.slice(-2)=="px"){return parseFloat(_30a);}var s=_309.style,rs=_309.runtimeStyle,cs=_309.currentStyle,_30b=s.left,_30c=rs.left;rs.left=cs.left;try{s.left=_30a;_30a=s.pixelLeft;}catch(e){_30a=0;}s.left=_30b;rs.left=_30c;return _30a;};}_305.toPixelValue=_306;var astr="DXImageTransform.Microsoft.Alpha";var af=function(n,f){try{return n.filters.item(astr);}catch(e){return f?{}:null;}};var _30d=has("ie")<9||(has("ie")&&has("quirks"))?function(node){try{return af(node).Opacity/100;}catch(e){return 1;}}:function(node){return _304(node).opacity;};var _30e=has("ie")<9||(has("ie")&&has("quirks"))?function(node,_30f){var ov=_30f*100,_310=_30f==1;node.style.zoom=_310?"":1;if(!af(node)){if(_310){return _30f;}node.style.filter+=" progid:"+astr+"(Opacity="+ov+")";}else{af(node,1).Opacity=ov;}af(node,1).Enabled=!_310;if(node.tagName.toLowerCase()=="tr"){for(var td=node.firstChild;td;td=td.nextSibling){if(td.tagName.toLowerCase()=="td"){_30e(td,_30f);}}}return _30f;}:function(node,_311){return node.style.opacity=_311;};var _312={left:true,top:true};var _313=/margin|padding|width|height|max|min|offset/;function _314(node,type,_315){type=type.toLowerCase();if(has("ie")){if(_315=="auto"){if(type=="height"){return node.offsetHeight;}if(type=="width"){return node.offsetWidth;}}if(type=="fontweight"){switch(_315){case 700:return "bold";case 400:default:return "normal";}}}if(!(type in _312)){_312[type]=_313.test(type);}return _312[type]?_306(node,_315):_315;};var _316=has("ie")?"styleFloat":"cssFloat",_317={"cssFloat":_316,"styleFloat":_316,"float":_316};_305.get=function getStyle(node,name){var n=dom.byId(node),l=arguments.length,op=(name=="opacity");if(l==2&&op){return _30d(n);}name=_317[name]||name;var s=_305.getComputedStyle(n);return (l==1)?s:_314(n,name,s[name]||n.style[name]);};_305.set=function setStyle(node,name,_318){var n=dom.byId(node),l=arguments.length,op=(name=="opacity");name=_317[name]||name;if(l==3){return op?_30e(n,_318):n.style[name]=_318;}for(var x in name){_305.set(node,x,name[x]);}return _305.getComputedStyle(n);};return _305;});},"dojo/dom-geometry":function(){define(["./_base/sniff","./_base/window","./dom","./dom-style"],function(has,win,dom,_319){var geom={};geom.boxModel="content-box";if(has("ie")){geom.boxModel=document.compatMode=="BackCompat"?"border-box":"content-box";}geom.getPadExtents=function getPadExtents(node,_31a){node=dom.byId(node);var s=_31a||_319.getComputedStyle(node),px=_319.toPixelValue,l=px(node,s.paddingLeft),t=px(node,s.paddingTop),r=px(node,s.paddingRight),b=px(node,s.paddingBottom);return {l:l,t:t,r:r,b:b,w:l+r,h:t+b};};var none="none";geom.getBorderExtents=function getBorderExtents(node,_31b){node=dom.byId(node);var px=_319.toPixelValue,s=_31b||_319.getComputedStyle(node),l=s.borderLeftStyle!=none?px(node,s.borderLeftWidth):0,t=s.borderTopStyle!=none?px(node,s.borderTopWidth):0,r=s.borderRightStyle!=none?px(node,s.borderRightWidth):0,b=s.borderBottomStyle!=none?px(node,s.borderBottomWidth):0;return {l:l,t:t,r:r,b:b,w:l+r,h:t+b};};geom.getPadBorderExtents=function getPadBorderExtents(node,_31c){node=dom.byId(node);var s=_31c||_319.getComputedStyle(node),p=geom.getPadExtents(node,s),b=geom.getBorderExtents(node,s);return {l:p.l+b.l,t:p.t+b.t,r:p.r+b.r,b:p.b+b.b,w:p.w+b.w,h:p.h+b.h};};geom.getMarginExtents=function getMarginExtents(node,_31d){node=dom.byId(node);var s=_31d||_319.getComputedStyle(node),px=_319.toPixelValue,l=px(node,s.marginLeft),t=px(node,s.marginTop),r=px(node,s.marginRight),b=px(node,s.marginBottom);if(has("webkit")&&(s.position!="absolute")){r=l;}return {l:l,t:t,r:r,b:b,w:l+r,h:t+b};};geom.getMarginBox=function getMarginBox(node,_31e){node=dom.byId(node);var s=_31e||_319.getComputedStyle(node),me=geom.getMarginExtents(node,s),l=node.offsetLeft-me.l,t=node.offsetTop-me.t,p=node.parentNode,px=_319.toPixelValue,pcs;if(has("mozilla")){var sl=parseFloat(s.left),st=parseFloat(s.top);if(!isNaN(sl)&&!isNaN(st)){l=sl,t=st;}else{if(p&&p.style){pcs=_319.getComputedStyle(p);if(pcs.overflow!="visible"){l+=pcs.borderLeftStyle!=none?px(node,pcs.borderLeftWidth):0;t+=pcs.borderTopStyle!=none?px(node,pcs.borderTopWidth):0;}}}}else{if(has("opera")||(has("ie")==8&&!has("quirks"))){if(p){pcs=_319.getComputedStyle(p);l-=pcs.borderLeftStyle!=none?px(node,pcs.borderLeftWidth):0;t-=pcs.borderTopStyle!=none?px(node,pcs.borderTopWidth):0;}}}return {l:l,t:t,w:node.offsetWidth+me.w,h:node.offsetHeight+me.h};};geom.getContentBox=function getContentBox(node,_31f){node=dom.byId(node);var s=_31f||_319.getComputedStyle(node),w=node.clientWidth,h,pe=geom.getPadExtents(node,s),be=geom.getBorderExtents(node,s);if(!w){w=node.offsetWidth;h=node.offsetHeight;}else{h=node.clientHeight;be.w=be.h=0;}if(has("opera")){pe.l+=be.l;pe.t+=be.t;}return {l:pe.l,t:pe.t,w:w-pe.w-be.w,h:h-pe.h-be.h};};function _320(node,l,t,w,h,u){u=u||"px";var s=node.style;if(!isNaN(l)){s.left=l+u;}if(!isNaN(t)){s.top=t+u;}if(w>=0){s.width=w+u;}if(h>=0){s.height=h+u;}};function _321(node){return node.tagName.toLowerCase()=="button"||node.tagName.toLowerCase()=="input"&&(node.getAttribute("type")||"").toLowerCase()=="button";};function _322(node){return geom.boxModel=="border-box"||node.tagName.toLowerCase()=="table"||_321(node);};geom.setContentSize=function setContentSize(node,box,_323){node=dom.byId(node);var w=box.w,h=box.h;if(_322(node)){var pb=geom.getPadBorderExtents(node,_323);if(w>=0){w+=pb.w;}if(h>=0){h+=pb.h;}}_320(node,NaN,NaN,w,h);};var _324={l:0,t:0,w:0,h:0};geom.setMarginBox=function setMarginBox(node,box,_325){node=dom.byId(node);var s=_325||_319.getComputedStyle(node),w=box.w,h=box.h,pb=_322(node)?_324:geom.getPadBorderExtents(node,s),mb=geom.getMarginExtents(node,s);if(has("webkit")){if(_321(node)){var ns=node.style;if(w>=0&&!ns.width){ns.width="4px";}if(h>=0&&!ns.height){ns.height="4px";}}}if(w>=0){w=Math.max(w-pb.w-mb.w,0);}if(h>=0){h=Math.max(h-pb.h-mb.h,0);}_320(node,box.l,box.t,w,h);};geom.isBodyLtr=function isBodyLtr(){return (win.body().dir||win.doc.documentElement.dir||"ltr").toLowerCase()=="ltr";};geom.docScroll=function docScroll(){var node=win.doc.parentWindow||win.doc.defaultView;return "pageXOffset" in node?{x:node.pageXOffset,y:node.pageYOffset}:(node=has("quirks")?win.body():win.doc.documentElement,{x:geom.fixIeBiDiScrollLeft(node.scrollLeft||0),y:node.scrollTop||0});};geom.getIeDocumentElementOffset=function getIeDocumentElementOffset(){var de=win.doc.documentElement;if(has("ie")<8){var r=de.getBoundingClientRect(),l=r.left,t=r.top;if(has("ie")<7){l+=de.clientLeft;t+=de.clientTop;}return {x:l<0?0:l,y:t<0?0:t};}else{return {x:0,y:0};}};geom.fixIeBiDiScrollLeft=function fixIeBiDiScrollLeft(_326){var ie=has("ie");if(ie&&!geom.isBodyLtr()){var qk=has("quirks"),de=qk?win.body():win.doc.documentElement;if(ie==6&&!qk&&win.global.frameElement&&de.scrollHeight>de.clientHeight){_326+=de.clientLeft;}return (ie<8||qk)?(_326+de.clientWidth-de.scrollWidth):-_326;}return _326;};geom.position=function(node,_327){node=dom.byId(node);var db=win.body(),dh=db.parentNode,ret=node.getBoundingClientRect();ret={x:ret.left,y:ret.top,w:ret.right-ret.left,h:ret.bottom-ret.top};if(has("ie")){var _328=geom.getIeDocumentElementOffset();ret.x-=_328.x+(has("quirks")?db.clientLeft+db.offsetLeft:0);ret.y-=_328.y+(has("quirks")?db.clientTop+db.offsetTop:0);}else{if(has("ff")==3){var cs=_319.getComputedStyle(dh),px=_319.toPixelValue;ret.x-=px(dh,cs.marginLeft)+px(dh,cs.borderLeftWidth);ret.y-=px(dh,cs.marginTop)+px(dh,cs.borderTopWidth);}}if(_327){var _329=geom.docScroll();ret.x+=_329.x;ret.y+=_329.y;}return ret;};geom.getMarginSize=function getMarginSize(node,_32a){node=dom.byId(node);var me=geom.getMarginExtents(node,_32a||_319.getComputedStyle(node));var size=node.getBoundingClientRect();return {w:(size.right-size.left)+me.w,h:(size.bottom-size.top)+me.h};};geom.normalizeEvent=function(_32b){if(!("layerX" in _32b)){_32b.layerX=_32b.offsetX;_32b.layerY=_32b.offsetY;}if(!has("dom-addeventlistener")){var se=_32b.target;var doc=(se&&se.ownerDocument)||document;var _32c=has("quirks")?doc.body:doc.documentElement;var _32d=geom.getIeDocumentElementOffset();_32b.pageX=_32b.clientX+geom.fixIeBiDiScrollLeft(_32c.scrollLeft||0)-_32d.x;_32b.pageY=_32b.clientY+(_32c.scrollTop||0)-_32d.y;}};return geom;});},"dojo/dom-prop":function(){define(["exports","./_base/kernel","./_base/sniff","./_base/lang","./dom","./dom-style","./dom-construct","./_base/connect"],function(_32e,dojo,has,lang,dom,_32f,ctr,conn){var _330={},_331=0,_332=dojo._scopeName+"attrid";var _333={col:1,colgroup:1,table:1,tbody:1,tfoot:1,thead:1,tr:1,title:1};_32e.names={"class":"className","for":"htmlFor",tabindex:"tabIndex",readonly:"readOnly",colspan:"colSpan",frameborder:"frameBorder",rowspan:"rowSpan",valuetype:"valueType"};_32e.get=function getProp(node,name){node=dom.byId(node);var lc=name.toLowerCase(),_334=_32e.names[lc]||name;return node[_334];};_32e.set=function setProp(node,name,_335){node=dom.byId(node);var l=arguments.length;if(l==2&&typeof name!="string"){for(var x in name){_32e.set(node,x,name[x]);}return node;}var lc=name.toLowerCase(),_336=_32e.names[lc]||name;if(_336=="style"&&typeof _335!="string"){_32f.style(node,_335);return node;}if(_336=="innerHTML"){if(has("ie")&&node.tagName.toLowerCase() in _333){ctr.empty(node);node.appendChild(ctr.toDom(_335,node.ownerDocument));}else{node[_336]=_335;}return node;}if(lang.isFunction(_335)){var _337=node[_332];if(!_337){_337=_331++;node[_332]=_337;}if(!_330[_337]){_330[_337]={};}var h=_330[_337][_336];if(h){conn.disconnect(h);}else{try{delete node[_336];}catch(e){}}if(_335){_330[_337][_336]=conn.connect(node,_336,_335);}else{node[_336]=null;}return node;}node[_336]=_335;return node;};});},"dojo/dom-attr":function(){define(["exports","./_base/sniff","./_base/lang","./dom","./dom-style","./dom-prop"],function(_338,has,lang,dom,_339,prop){var _33a={innerHTML:1,className:1,htmlFor:has("ie"),value:1},_33b={classname:"class",htmlfor:"for",tabindex:"tabIndex",readonly:"readOnly"};function _33c(node,name){var attr=node.getAttributeNode&&node.getAttributeNode(name);return attr&&attr.specified;};_338.has=function hasAttr(node,name){var lc=name.toLowerCase();return _33a[prop.names[lc]||name]||_33c(dom.byId(node),_33b[lc]||name);};_338.get=function getAttr(node,name){node=dom.byId(node);var lc=name.toLowerCase(),_33d=prop.names[lc]||name,_33e=_33a[_33d];value=node[_33d];if(_33e&&typeof value!="undefined"){return value;}if(_33d!="href"&&(typeof value=="boolean"||lang.isFunction(value))){return value;}var _33f=_33b[lc]||name;return _33c(node,_33f)?node.getAttribute(_33f):null;};_338.set=function setAttr(node,name,_340){node=dom.byId(node);if(arguments.length==2){for(var x in name){_338.set(node,x,name[x]);}return node;}var lc=name.toLowerCase(),_341=prop.names[lc]||name,_342=_33a[_341];if(_341=="style"&&typeof _340!="string"){_339.set(node,_340);return node;}if(_342||typeof _340=="boolean"||lang.isFunction(_340)){return prop.set(node,name,_340);}node.setAttribute(_33b[lc]||name,_340);return node;};_338.remove=function removeAttr(node,name){dom.byId(node).removeAttribute(_33b[name.toLowerCase()]||name);};_338.getNodeProp=function getNodeProp(node,name){node=dom.byId(node);var lc=name.toLowerCase(),_343=prop.names[lc]||name;if((_343 in node)&&_343!="href"){return node[_343];}var _344=_33b[lc]||name;return _33c(node,_344)?node.getAttribute(_344):null;};});},"dojo/dom-construct":function(){define(["exports","./_base/kernel","./_base/sniff","./_base/window","./dom","./dom-attr","./on"],function(_345,dojo,has,win,dom,attr,on){var _346={option:["select"],tbody:["table"],thead:["table"],tfoot:["table"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","thead","tr"],legend:["fieldset"],caption:["table"],colgroup:["table"],col:["table","colgroup"],li:["ul"]},_347=/<\s*([\w\:]+)/,_348={},_349=0,_34a="__"+dojo._scopeName+"ToDomId";for(var _34b in _346){if(_346.hasOwnProperty(_34b)){var tw=_346[_34b];tw.pre=_34b=="option"?"\n"}});define("dijit/form/TextBox",["dojo/_base/declare","dojo/dom-construct","dojo/dom-style","dojo/_base/kernel","dojo/_base/lang","dojo/_base/sniff","dojo/_base/window","./_FormValueWidget","./_TextBoxMixin","dojo/text!./templates/TextBox.html",".."],function(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a,_b){var _c=_1([_8,_9],{templateString:_a,_singleNodeTemplate:"",_buttonInputDisabled:_6("ie")?"disabled":"",baseClass:"dijitTextBox",postMixInProperties:function(){var _d=this.type.toLowerCase();if(this.templateString&&this.templateString.toLowerCase()=="input"||((_d=="hidden"||_d=="file")&&this.templateString==this.constructor.prototype.templateString)){this.templateString=this._singleNodeTemplate;}this.inherited(arguments);},_onInput:function(e){this.inherited(arguments);if(this.intermediateChanges){var _e=this;setTimeout(function(){_e._handleOnChange(_e.get("value"),false);},0);}},_setPlaceHolderAttr:function(v){this._set("placeHolder",v);if(!this._phspan){this._attachPoints.push("_phspan");this._phspan=_2.create("span",{className:"dijitPlaceHolder dijitInputField"},this.textbox,"after");}this._phspan.innerHTML="";this._phspan.appendChild(document.createTextNode(v));this._updatePlaceHolder();},_updatePlaceHolder:function(){if(this._phspan){this._phspan.style.display=(this.placeHolder&&!this.focused&&!this.textbox.value)?"":"none";}},_setValueAttr:function(_f,_10,_11){this.inherited(arguments);this._updatePlaceHolder();},getDisplayedValue:function(){_4.deprecated(this.declaredClass+"::getDisplayedValue() is deprecated. Use set('displayedValue') instead.","","2.0");return this.get("displayedValue");},setDisplayedValue:function(_12){_4.deprecated(this.declaredClass+"::setDisplayedValue() is deprecated. Use set('displayedValue', ...) instead.","","2.0");this.set("displayedValue",_12);},_onBlur:function(e){if(this.disabled){return;}this.inherited(arguments);this._updatePlaceHolder();},_onFocus:function(by){if(this.disabled||this.readOnly){return;}this.inherited(arguments);this._updatePlaceHolder();}});if(_6("ie")){_c=_1(_c,{declaredClass:"dijit.form.TextBox",_isTextSelected:function(){var _13=_7.doc.selection.createRange();var _14=_13.parentElement();return _14==this.textbox&&_13.text.length==0;},postCreate:function(){this.inherited(arguments);setTimeout(_5.hitch(this,function(){try{var s=_3.getComputedStyle(this.domNode);if(s){var ff=s.fontFamily;if(ff){var _15=this.domNode.getElementsByTagName("INPUT");if(_15){for(var i=0;i<_15.length;i++){_15[i].style.fontFamily=ff;}}}}}catch(e){}}),0);}});_b._setSelectionRange=_9._setSelectionRange=function(_16,_17,_18){if(_16.createTextRange){var r=_16.createTextRange();r.collapse(true);r.moveStart("character",-99999);r.moveStart("character",_17);r.moveEnd("character",_18-_17);r.select();}};}else{if(_6("mozilla")){_c=_1(_c,{declaredClass:"dijit.form.TextBox",_onBlur:function(e){this.inherited(arguments);if(this.selectOnClick){this.textbox.selectionStart=this.textbox.selectionEnd=undefined;}}});}else{_c.prototype.declaredClass="dijit.form.TextBox";}}_5.setObject("dijit.form.TextBox",_c);return _c;});},"url:dijit/form/templates/ComboButton.html":"
\n","dijit/_HasDropDown":function(){define("dijit/_HasDropDown",["dojo/_base/declare","dojo/_base/Deferred","dojo/_base/event","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/has","dojo/keys","dojo/_base/lang","dojo/touch","dojo/_base/window","dojo/window","./registry","./focus","./popup","./_FocusMixin"],function(_19,_1a,_1b,dom,_1c,_1d,_1e,_1f,has,_20,_21,_22,win,_23,_24,_25,_26,_27){return _19("dijit._HasDropDown",_27,{_buttonNode:null,_arrowWrapperNode:null,_popupStateNode:null,_aroundNode:null,dropDown:null,autoWidth:true,forceWidth:false,maxHeight:0,dropDownPosition:["below","above"],_stopClickEvents:true,_onDropDownMouseDown:function(e){if(this.disabled||this.readOnly){return;}e.preventDefault();this._docHandler=this.connect(win.doc,_22.release,"_onDropDownMouseUp");this.toggleDropDown();},_onDropDownMouseUp:function(e){if(e&&this._docHandler){this.disconnect(this._docHandler);}var _28=this.dropDown,_29=false;if(e&&this._opened){var c=_1e.position(this._buttonNode,true);if(!(e.pageX>=c.x&&e.pageX<=c.x+c.w)||!(e.pageY>=c.y&&e.pageY<=c.y+c.h)){var t=e.target;while(t&&!_29){if(_1d.contains(t,"dijitPopup")){_29=true;}else{t=t.parentNode;}}if(_29){t=e.target;if(_28.onItemClick){var _2a;while(t&&!(_2a=_24.byNode(t))){t=t.parentNode;}if(_2a&&_2a.onClick&&_2a.getParent){_2a.getParent().onItemClick(_2a,e);}}return;}}}if(this._opened){if(_28.focus&&_28.autoFocus!==false){window.setTimeout(_21.hitch(_28,"focus"),1);}}else{setTimeout(_21.hitch(this,"focus"),0);}if(has("ios")){this._justGotMouseUp=true;setTimeout(_21.hitch(this,function(){this._justGotMouseUp=false;}),0);}},_onDropDownClick:function(e){if(has("ios")&&!this._justGotMouseUp){this._onDropDownMouseDown(e);this._onDropDownMouseUp(e);}if(this._stopClickEvents){_1b.stop(e);}},buildRendering:function(){this.inherited(arguments);this._buttonNode=this._buttonNode||this.focusNode||this.domNode;this._popupStateNode=this._popupStateNode||this.focusNode||this._buttonNode;var _2b={"after":this.isLeftToRight()?"Right":"Left","before":this.isLeftToRight()?"Left":"Right","above":"Up","below":"Down","left":"Left","right":"Right"}[this.dropDownPosition[0]]||this.dropDownPosition[0]||"Down";_1d.add(this._arrowWrapperNode||this._buttonNode,"dijit"+_2b+"ArrowButton");},postCreate:function(){this.inherited(arguments);this.connect(this._buttonNode,_22.press,"_onDropDownMouseDown");this.connect(this._buttonNode,"onclick","_onDropDownClick");this.connect(this.focusNode,"onkeypress","_onKey");this.connect(this.focusNode,"onkeyup","_onKeyUp");},destroy:function(){if(this.dropDown){if(!this.dropDown._destroyed){this.dropDown.destroyRecursive();}delete this.dropDown;}this.inherited(arguments);},_onKey:function(e){if(this.disabled||this.readOnly){return;}var d=this.dropDown,_2c=e.target;if(d&&this._opened&&d.handleKey){if(d.handleKey(e)===false){_1b.stop(e);return;}}if(d&&this._opened&&e.charOrCode==_20.ESCAPE){this.closeDropDown();_1b.stop(e);}else{if(!this._opened&&(e.charOrCode==_20.DOWN_ARROW||((e.charOrCode==_20.ENTER||e.charOrCode==" ")&&((_2c.tagName||"").toLowerCase()!=="input"||(_2c.type&&_2c.type.toLowerCase()!=="text"))))){this._toggleOnKeyUp=true;_1b.stop(e);}}},_onKeyUp:function(){if(this._toggleOnKeyUp){delete this._toggleOnKeyUp;this.toggleDropDown();var d=this.dropDown;if(d&&d.focus){setTimeout(_21.hitch(d,"focus"),1);}}},_onBlur:function(){var _2d=_25.curNode&&this.dropDown&&dom.isDescendant(_25.curNode,this.dropDown.domNode);this.closeDropDown(_2d);this.inherited(arguments);},isLoaded:function(){return true;},loadDropDown:function(_2e){_2e();},loadAndOpenDropDown:function(){var d=new _1a(),_2f=_21.hitch(this,function(){this.openDropDown();d.resolve(this.dropDown);});if(!this.isLoaded()){this.loadDropDown(_2f);}else{_2f();}return d;},toggleDropDown:function(){if(this.disabled||this.readOnly){return;}if(!this._opened){this.loadAndOpenDropDown();}else{this.closeDropDown();}},openDropDown:function(){var _30=this.dropDown,_31=_30.domNode,_32=this._aroundNode||this.domNode,_33=this;if(!this._preparedNode){this._preparedNode=true;if(_31.style.width){this._explicitDDWidth=true;}if(_31.style.height){this._explicitDDHeight=true;}}if(this.maxHeight||this.forceWidth||this.autoWidth){var _34={display:"",visibility:"hidden"};if(!this._explicitDDWidth){_34.width="";}if(!this._explicitDDHeight){_34.height="";}_1f.set(_31,_34);var _35=this.maxHeight;if(_35==-1){var _36=_23.getBox(),_37=_1e.position(_32,false);_35=Math.floor(Math.max(_37.y,_36.h-(_37.y+_37.h)));}_26.moveOffScreen(_30);if(_30.startup&&!_30._started){_30.startup();}var mb=_1e.getMarginSize(_31);var _38=(_35&&mb.h>_35);_1f.set(_31,{overflowX:"hidden",overflowY:_38?"auto":"hidden"});if(_38){mb.h=_35;if("w" in mb){mb.w+=16;}}else{delete mb.h;}if(this.forceWidth){mb.w=_32.offsetWidth;}else{if(this.autoWidth){mb.w=Math.max(mb.w,_32.offsetWidth);}else{delete mb.w;}}if(_21.isFunction(_30.resize)){_30.resize(mb);}else{_1e.setMarginBox(_31,mb);}}var _39=_26.open({parent:this,popup:_30,around:_32,orient:this.dropDownPosition,onExecute:function(){_33.closeDropDown(true);},onCancel:function(){_33.closeDropDown(true);},onClose:function(){_1c.set(_33._popupStateNode,"popupActive",false);_1d.remove(_33._popupStateNode,"dijitHasDropDownOpen");_33._opened=false;}});_1c.set(this._popupStateNode,"popupActive","true");_1d.add(_33._popupStateNode,"dijitHasDropDownOpen");this._opened=true;return _39;},closeDropDown:function(_3a){if(this._opened){if(_3a){this.focus();}_26.close(this.dropDown);this._opened=false;}}});});},"dijit/form/Slider":function(){define("dijit/form/Slider",["dojo/_base/kernel","./HorizontalSlider","./VerticalSlider","./HorizontalRule","./VerticalRule","./HorizontalRuleLabels","./VerticalRuleLabels"],function(_3b){_3b.deprecated("Call require() for HorizontalSlider / VerticalRule, explicitly rather than 'dijit.form.Slider' itself","","2.0");});},"dijit/form/_ComboBoxMenuMixin":function(){define("dijit/form/_ComboBoxMenuMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/i18n","dojo/_base/window","dojo/i18n!./nls/ComboBox"],function(_3c,_3d,_3e,_3f,win){return _3d("dijit.form._ComboBoxMenuMixin",null,{_messages:null,postMixInProperties:function(){this.inherited(arguments);this._messages=_3f.getLocalization("dijit.form","ComboBox",this.lang);},buildRendering:function(){this.inherited(arguments);this.previousButton.innerHTML=this._messages["previousMessage"];this.nextButton.innerHTML=this._messages["nextMessage"];},_setValueAttr:function(_40){this.value=_40;this.onChange(_40);},onClick:function(_41){if(_41==this.previousButton){this._setSelectedAttr(null);this.onPage(-1);}else{if(_41==this.nextButton){this._setSelectedAttr(null);this.onPage(1);}else{this.onChange(_41);}}},onChange:function(){},onPage:function(){},onClose:function(){this._setSelectedAttr(null);},_createOption:function(_42,_43){var _44=this._createMenuItem();var _45=_43(_42);if(_45.html){_44.innerHTML=_45.label;}else{_44.appendChild(win.doc.createTextNode(_45.label));}if(_44.innerHTML==""){_44.innerHTML=" ";}this.applyTextDir(_44,(_44.innerText||_44.textContent||""));_44.item=_42;return _44;},createOptions:function(_46,_47,_48){this.previousButton.style.display=(_47.start==0)?"none":"";_3e.set(this.previousButton,"id",this.id+"_prev");_3c.forEach(_46,function(_49,i){var _4a=this._createOption(_49,_48);_3e.set(_4a,"id",this.id+i);this.nextButton.parentNode.insertBefore(_4a,this.nextButton);},this);var _4b=false;if(_46.total&&!_46.total.then&&_46.total!=-1){if((_47.start+_47.count)<_46.total){_4b=true;}else{if((_47.start+_47.count)>_46.total&&_47.count==_46.length){_4b=true;}}}else{if(_47.count==_46.length){_4b=true;}}this.nextButton.style.display=_4b?"":"none";_3e.set(this.nextButton,"id",this.id+"_next");return this.containerNode.childNodes;},clearResultList:function(){var _4c=this.containerNode;while(_4c.childNodes.length>2){_4c.removeChild(_4c.childNodes[_4c.childNodes.length-2]);}this._setSelectedAttr(null);},highlightFirstOption:function(){this.selectFirstNode();},highlightLastOption:function(){this.selectLastNode();},selectFirstNode:function(){this.inherited(arguments);if(this.getHighlightedOption()==this.previousButton){this.selectNextNode();}},selectLastNode:function(){this.inherited(arguments);if(this.getHighlightedOption()==this.nextButton){this.selectPreviousNode();}},getHighlightedOption:function(){return this._getSelectedAttr();}});});},"dojo/parser":function(){define("dojo/parser",["./_base/kernel","./_base/lang","./_base/array","./_base/config","./_base/html","./_base/window","./_base/url","./_base/json","./aspect","./date/stamp","./has","./query","./on","./ready"],function(_4d,_4e,_4f,_50,_51,_52,_53,_54,_55,_56,has,_57,don,_58){new Date("X");if(1){var _59=document.createElement("form");has.add("dom-attributes-explicit",_59.attributes.length==0);has.add("dom-attributes-specified-flag",_59.attributes.length<40);}_4d.parser=new function(){var _5a={};function _5b(_5c){var map={};for(var _5d in _5c){if(_5d.charAt(0)=="_"){continue;}map[_5d.toLowerCase()]=_5d;}return map;};_55.after(_4e,"extend",function(){_5a={};},true);var _5e={};function _5f(_60){var map=_5e[_60]||(_5e[_60]={});return map["__type"]||(map["__type"]=(_4e.getObject(_60)||require(_60)));};this._functionFromScript=function(_61,_62){var _63="";var _64="";var _65=(_61.getAttribute(_62+"args")||_61.getAttribute("args"));if(_65){_4f.forEach(_65.split(/\s*,\s*/),function(_66,idx){_63+="var "+_66+" = arguments["+idx+"]; ";});}var _67=_61.getAttribute("with");if(_67&&_67.length){_4f.forEach(_67.split(/\s*,\s*/),function(_68){_63+="with("+_68+"){";_64+="}";});}return new Function(_63+_61.innerHTML+_64);};this.instantiate=function(_69,_6a,_6b){_6a=_6a||{};_6b=_6b||{};var _6c=(_6b.scope||_4d._scopeName)+"Type",_6d="data-"+(_6b.scope||_4d._scopeName)+"-",_6e=_6d+"type";var _6f=[];_4f.forEach(_69,function(_70){var _71=_6c in _6a?_6a[_6c]:_70.getAttribute(_6e)||_70.getAttribute(_6c);if(_71){_6f.push({node:_70,"type":_71});}});return this._instantiate(_6f,_6a,_6b);};this._instantiate=function(_72,_73,_74){var _75=[];var _76=(_74.scope||_4d._scopeName)+"Type",_77="data-"+(_74.scope||_4d._scopeName)+"-",_78=_77+"type",_79=_77+"props",_7a=_77+"attach-point",_7b=_77+"attach-event",_7c=_77+"id",_7d=_77+"mixins";var _7e={};_4f.forEach([_79,_78,_76,_7c,"jsId",_7a,_7b,"dojoAttachPoint","dojoAttachEvent","class","style",_7d],function(_7f){_7e[_7f.toLowerCase()]=_7f.replace(_74.scope,"dojo");});function _80(_81,_82){return _81.createSubclass&&_81.createSubclass(_82)||_81.extend.apply(_81,_82);};_4f.forEach(_72,function(obj){if(!obj){return;}var _83=obj.node,_84=obj.type,_85=_83.getAttribute(_7d),_86;if(_85){var map=_5e[_84];_85=_85.replace(/ /g,"");_86=map&&map[_85];if(!_86){_86=_5f(_84);_86=_5e[_84][_85]=_80(_86,_4f.map(_85.split(","),_5f));}}else{_86=_5f(_84);}var _87=_86&&_86.prototype;var _88={};if(_74.defaults){_4e.mixin(_88,_74.defaults);}if(obj.inherited){_4e.mixin(_88,obj.inherited);}var _89;if(has("dom-attributes-explicit")){_89=_83.attributes;}else{if(has("dom-attributes-specified-flag")){_89=_4f.filter(_83.attributes,function(a){return a.specified;});}else{var _8a=/^input$|^img$/i.test(_83.nodeName)?_83:_83.cloneNode(false),_8b=_8a.outerHTML.replace(/=[^\s"']+|="[^"]*"|='[^']*'/g,"").replace(/^\s*<[a-zA-Z0-9]*\s*/,"").replace(/\s*>.*$/,"");_89=_4f.map(_8b.split(/\s+/),function(_8c){var _8d=_8c.toLowerCase();return {name:_8c,value:(_83.nodeName=="LI"&&_8c=="value")||_8d=="enctype"?_83.getAttribute(_8d):_83.getAttributeNode(_8d).value};});}}var i=0,_8e;while(_8e=_89[i++]){var _8f=_8e.name,_90=_8f.toLowerCase(),_91=_8e.value;if(_90 in _7e){switch(_7e[_90]){case "data-dojo-props":var _92=_91;break;case "data-dojo-id":case "jsId":var _93=_91;break;case "data-dojo-attach-point":case "dojoAttachPoint":_88.dojoAttachPoint=_91;break;case "data-dojo-attach-event":case "dojoAttachEvent":_88.dojoAttachEvent=_91;break;case "class":_88["class"]=_83.className;break;case "style":_88["style"]=_83.style&&_83.style.cssText;break;}}else{if(!(_8f in _87)){var map=(_5a[_84]||(_5a[_84]=_5b(_87)));_8f=map[_90]||_8f;}if(_8f in _87){switch(typeof _87[_8f]){case "string":_88[_8f]=_91;break;case "number":_88[_8f]=_91.length?Number(_91):NaN;break;case "boolean":_88[_8f]=_91.toLowerCase()!="false";break;case "function":if(_91===""||_91.search(/[^\w\.]+/i)!=-1){_88[_8f]=new Function(_91);}else{_88[_8f]=_4e.getObject(_91,false)||new Function(_91);}break;default:var _94=_87[_8f];_88[_8f]=(_94&&"length" in _94)?(_91?_91.split(/\s*,\s*/):[]):(_94 instanceof Date)?(_91==""?new Date(""):_91=="now"?new Date():_56.fromISOString(_91)):(_94 instanceof _4d._Url)?(_4d.baseUrl+_91):_54.fromJson(_91);}}else{_88[_8f]=_91;}}}if(_92){try{_92=_54.fromJson.call(_74.propsThis,"{"+_92+"}");_4e.mixin(_88,_92);}catch(e){throw new Error(e.toString()+" in data-dojo-props='"+_92+"'");}}_4e.mixin(_88,_73);var _95=obj.scripts||(_86&&(_86._noScript||_87._noScript)?[]:_57("> script[type^='dojo/']",_83));var _96=[],_97=[],_98=[],on=[];if(_95){for(i=0;i<_95.length;i++){var _99=_95[i];_83.removeChild(_99);var _9a=(_99.getAttribute(_77+"event")||_99.getAttribute("event")),_9b=_99.getAttribute(_77+"prop"),_9c=_99.getAttribute("type"),nf=this._functionFromScript(_99,_77);if(_9a){if(_9c=="dojo/connect"){_96.push({event:_9a,func:nf});}else{if(_9c=="dojo/on"){on.push({event:_9a,func:nf});}else{_88[_9a]=nf;}}}else{if(_9c=="dojo/watch"){_98.push({prop:_9b,func:nf});}else{_97.push(nf);}}}}var _9d=_86.markupFactory||_87.markupFactory;var _9e=_9d?_9d(_88,_83,_86):new _86(_88,_83);_75.push(_9e);if(_93){_4e.setObject(_93,_9e);}for(i=0;i<_96.length;i++){_55.after(_9e,_96[i].event,_4d.hitch(_9e,_96[i].func),true);}for(i=0;i<_97.length;i++){_97[i].call(_9e);}for(i=0;i<_98.length;i++){_9e.watch(_98[i].prop,_98[i].func);}for(i=0;i\n","dijit/form/ToggleButton":function(){define("dijit/form/ToggleButton",["dojo/_base/declare","dojo/_base/kernel","./Button","./_ToggleButtonMixin"],function(_be,_bf,_c0,_c1){return _be("dijit.form.ToggleButton",[_c0,_c1],{baseClass:"dijitToggleButton",setChecked:function(_c2){_bf.deprecated("setChecked("+_c2+") is deprecated. Use set('checked',"+_c2+") instead.","","2.0");this.set("checked",_c2);}});});},"dijit/form/NumberSpinner":function(){define("dijit/form/NumberSpinner",["dojo/_base/declare","dojo/_base/event","dojo/keys","./_Spinner","./NumberTextBox"],function(_c3,_c4,_c5,_c6,_c7){return _c3("dijit.form.NumberSpinner",[_c6,_c7.Mixin],{adjust:function(val,_c8){var tc=this.constraints,v=isNaN(val),_c9=!isNaN(tc.max),_ca=!isNaN(tc.min);if(v&&_c8!=0){val=(_c8>0)?_ca?tc.min:_c9?tc.max:0:_c9?this.constraints.max:_ca?tc.min:0;}var _cb=val+_c8;if(v||isNaN(_cb)){return val;}if(_c9&&(_cb>tc.max)){_cb=tc.max;}if(_ca&&(_cb
\n"}});define("dijit/form/ComboButton",["dojo/_base/declare","dojo/_base/event","dojo/keys","../focus","./DropDownButton","dojo/text!./templates/ComboButton.html"],function(_d4,_d5,_d6,_d7,_d8,_d9){return _d4("dijit.form.ComboButton",_d8,{templateString:_d9,_setIdAttr:"",_setTabIndexAttr:["focusNode","titleNode"],_setTitleAttr:"titleNode",optionsTitle:"",baseClass:"dijitComboButton",cssStateNodes:{"buttonNode":"dijitButtonNode","titleNode":"dijitButtonContents","_popupStateNode":"dijitDownArrowButton"},_focusedNode:null,_onButtonKeyPress:function(evt){if(evt.charOrCode==_d6[this.isLeftToRight()?"RIGHT_ARROW":"LEFT_ARROW"]){_d7.focus(this._popupStateNode);_d5.stop(evt);}},_onArrowKeyPress:function(evt){if(evt.charOrCode==_d6[this.isLeftToRight()?"LEFT_ARROW":"RIGHT_ARROW"]){_d7.focus(this.titleNode);_d5.stop(evt);}},focus:function(_da){if(!this.disabled){_d7.focus(_da=="start"?this.titleNode:this._popupStateNode);}}});});},"url:dijit/templates/Calendar.html":"\n\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t${!dayCellsHtml}\n\t\t\n\t\n\t\n\t\t\t${!dateRowsHtml}\n\t\n\t\n\t\t\n\t\t\t\n\t\t\n\t\n
\n\t\t\t\t\"\"\n\t\t\t\t-\n\t\t\t\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t
\n\t\t\t\t\"\"\n\t\t\t\t+\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n","dijit/form/_AutoCompleterMixin":function(){define("dijit/form/_AutoCompleterMixin",["dojo/_base/connect","dojo/data/util/filter","dojo/_base/declare","dojo/_base/Deferred","dojo/dom-attr","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/query","dojo/regexp","dojo/_base/sniff","dojo/string","dojo/_base/window","./DataList","../registry","./_TextBoxMixin"],function(_db,_dc,_dd,_de,_df,_e0,_e1,_e2,_e3,_e4,has,_e5,win,_e6,_e7,_e8){return _dd("dijit.form._AutoCompleterMixin",null,{item:null,pageSize:Infinity,store:null,fetchProperties:{},query:{},autoComplete:true,highlightMatch:"first",searchDelay:100,searchAttr:"name",labelAttr:"",labelType:"text",queryExpr:"${0}*",ignoreCase:true,maxHeight:-1,_stopClickEvents:false,_getCaretPos:function(_e9){var pos=0;if(typeof (_e9.selectionStart)=="number"){pos=_e9.selectionStart;}else{if(has("ie")){var tr=win.doc.selection.createRange().duplicate();var ntr=_e9.createTextRange();tr.move("character",0);ntr.move("character",0);try{ntr.setEndPoint("EndToEnd",tr);pos=String(ntr.text).replace(/\r/g,"").length;}catch(e){}}}return pos;},_setCaretPos:function(_ea,_eb){_eb=parseInt(_eb);_e8.selectInputText(_ea,_eb,_eb);},_setDisabledAttr:function(_ec){this.inherited(arguments);this.domNode.setAttribute("aria-disabled",_ec);},_abortQuery:function(){if(this.searchTimer){clearTimeout(this.searchTimer);this.searchTimer=null;}if(this._fetchHandle){if(this._fetchHandle.cancel){this._cancelingQuery=true;this._fetchHandle.cancel();this._cancelingQuery=false;}this._fetchHandle=null;}},_onInput:function(evt){this.inherited(arguments);if(evt.charOrCode==229){this._onKey(evt);}},_onKey:function(evt){if(this.disabled||this.readOnly){return;}var key=evt.charOrCode;if(evt.altKey||((evt.ctrlKey||evt.metaKey)&&(key!="x"&&key!="v"))||key==_e1.SHIFT){return;}var _ed=false;var pw=this.dropDown;var _ee=null;this._prev_key_backspace=false;this._abortQuery();this.inherited(arguments);if(this._opened){_ee=pw.getHighlightedOption();}switch(key){case _e1.PAGE_DOWN:case _e1.DOWN_ARROW:case _e1.PAGE_UP:case _e1.UP_ARROW:if(this._opened){this._announceOption(_ee);}_e0.stop(evt);break;case _e1.ENTER:if(_ee){if(_ee==pw.nextButton){this._nextSearch(1);_e0.stop(evt);break;}else{if(_ee==pw.previousButton){this._nextSearch(-1);_e0.stop(evt);break;}}}else{this._setBlurValue();this._setCaretPos(this.focusNode,this.focusNode.value.length);}if(this._opened||this._fetchHandle){_e0.stop(evt);}case _e1.TAB:var _ef=this.get("displayedValue");if(pw&&(_ef==pw._messages["previousMessage"]||_ef==pw._messages["nextMessage"])){break;}if(_ee){this._selectOption(_ee);}case _e1.ESCAPE:if(this._opened){this._lastQuery=null;this.closeDropDown();}break;case " ":if(_ee){_e0.stop(evt);this._selectOption(_ee);this.closeDropDown();}else{_ed=true;}break;case _e1.DELETE:case _e1.BACKSPACE:this._prev_key_backspace=true;_ed=true;break;default:_ed=typeof key=="string"||key==229;}if(_ed){this.item=undefined;this.searchTimer=setTimeout(_e2.hitch(this,"_startSearchFromInput"),1);}},_autoCompleteText:function(_f0){var fn=this.focusNode;_e8.selectInputText(fn,fn.value.length);var _f1=this.ignoreCase?"toLowerCase":"substr";if(_f0[_f1](0).indexOf(this.focusNode.value[_f1](0))==0){var _f2=this.autoComplete?this._getCaretPos(fn):fn.value.length;if((_f2+1)>fn.value.length){fn.value=_f0;_e8.selectInputText(fn,_f2);}}else{fn.value=_f0;_e8.selectInputText(fn);}},_openResultList:function(_f3,_f4,_f5){this._fetchHandle=null;if(this.disabled||this.readOnly||(_f4[this.searchAttr]!==this._lastQuery)){return;}var _f6=this.dropDown.getHighlightedOption();this.dropDown.clearResultList();if(!_f3.length&&_f5.start==0){this.closeDropDown();return;}var _f7=this.dropDown.createOptions(_f3,_f5,_e2.hitch(this,"_getMenuLabelFromItem"));this._showResultList();if(_f5.direction){if(1==_f5.direction){this.dropDown.highlightFirstOption();}else{if(-1==_f5.direction){this.dropDown.highlightLastOption();}}if(_f6){this._announceOption(this.dropDown.getHighlightedOption());}}else{if(this.autoComplete&&!this._prev_key_backspace&&!/^[*]+$/.test(_f4[this.searchAttr].toString())){this._announceOption(_f7[1]);}}},_showResultList:function(){this.closeDropDown(true);this.openDropDown();this.domNode.setAttribute("aria-expanded","true");},loadDropDown:function(){this._startSearchAll();},isLoaded:function(){return false;},closeDropDown:function(){this._abortQuery();if(this._opened){this.inherited(arguments);this.domNode.setAttribute("aria-expanded","false");this.focusNode.removeAttribute("aria-activedescendant");}},_setBlurValue:function(){var _f8=this.get("displayedValue");var pw=this.dropDown;if(pw&&(_f8==pw._messages["previousMessage"]||_f8==pw._messages["nextMessage"])){this._setValueAttr(this._lastValueReported,true);}else{if(typeof this.item=="undefined"){this.item=null;this.set("displayedValue",_f8);}else{if(this.value!=this._lastValueReported){this._handleOnChange(this.value,true);}this._refreshState();}}},_setItemAttr:function(_f9,_fa,_fb){var _fc="";if(_f9){if(!_fb){_fb=this.store._oldAPI?this.store.getValue(_f9,this.searchAttr):_f9[this.searchAttr];}_fc=this._getValueField()!=this.searchAttr?this.store.getIdentity(_f9):_fb;}this.set("value",_fc,_fa,_fb,_f9);},_announceOption:function(_fd){if(!_fd){return;}var _fe;if(_fd==this.dropDown.nextButton||_fd==this.dropDown.previousButton){_fe=_fd.innerHTML;this.item=undefined;this.value="";}else{_fe=(this.store._oldAPI?this.store.getValue(_fd.item,this.searchAttr):_fd.item[this.searchAttr]).toString();this.set("item",_fd.item,false,_fe);}this.focusNode.value=this.focusNode.value.substring(0,this._lastInput.length);this.focusNode.setAttribute("aria-activedescendant",_df.get(_fd,"id"));this._autoCompleteText(_fe);},_selectOption:function(_ff){this.closeDropDown();if(_ff){this._announceOption(_ff);}this._setCaretPos(this.focusNode,this.focusNode.value.length);this._handleOnChange(this.value,true);},_startSearchAll:function(){this._startSearch("");},_startSearchFromInput:function(){this._startSearch(this.focusNode.value.replace(/([\\\*\?])/g,"\\$1"));},_getQueryString:function(text){return _e5.substitute(this.queryExpr,[text]);},_startSearch:function(key){if(!this.dropDown){var _100=this.id+"_popup",_101=_e2.isString(this.dropDownClass)?_e2.getObject(this.dropDownClass,false):this.dropDownClass;this.dropDown=new _101({onChange:_e2.hitch(this,this._selectOption),id:_100,dir:this.dir,textDir:this.textDir});this.focusNode.removeAttribute("aria-activedescendant");this.textbox.setAttribute("aria-owns",_100);}this._lastInput=key;var _102=_e2.clone(this.query);var _103={start:0,count:this.pageSize,queryOptions:{ignoreCase:this.ignoreCase,deep:true}};_e2.mixin(_103,this.fetchProperties);var qs=this._getQueryString(key),q;if(this.store._oldAPI){q=qs;}else{q=_dc.patternToRegExp(qs,this.ignoreCase);q.toString=function(){return qs;};}this._lastQuery=_102[this.searchAttr]=q;var _104=this,_105=function(){var _106=_104._fetchHandle=_104.store.query(_102,_103);_de.when(_106,function(res){_104._fetchHandle=null;res.total=_106.total;_104._openResultList(res,_102,_103);},function(err){_104._fetchHandle=null;if(!_104._cancelingQuery){console.error(_104.declaredClass+" "+err.toString());_104.closeDropDown();}});};this.searchTimer=setTimeout(_e2.hitch(this,function(_107,_108){this.searchTimer=null;_105();this._nextSearch=this.dropDown.onPage=function(_109){_103.start+=_103.count*_109;_103.direction=_109;_105();_108.focus();};},_102,this),this.searchDelay);},_getValueField:function(){return this.searchAttr;},constructor:function(){this.query={};this.fetchProperties={};},postMixInProperties:function(){if(!this.store){var _10a=this.srcNodeRef;var list=this.list;if(list){this.store=_e7.byId(list);}else{this.store=new _e6({},_10a);}if(!("value" in this.params)){var item=(this.item=this.store.fetchSelectedItem());if(item){var _10b=this._getValueField();this.value=this.store._oldAPI?this.store.getValue(item,_10b):item[_10b];}}}this.inherited(arguments);},postCreate:function(){var _10c=_e3("label[for=\""+this.id+"\"]");if(_10c.length){_10c[0].id=(this.id+"_label");this.domNode.setAttribute("aria-labelledby",_10c[0].id);}this.inherited(arguments);},_getMenuLabelFromItem:function(item){var _10d=this.labelFunc(item,this.store),_10e=this.labelType;if(this.highlightMatch!="none"&&this.labelType=="text"&&this._lastInput){_10d=this.doHighlight(_10d,this._escapeHtml(this._lastInput));_10e="html";}return {html:_10e=="html",label:_10d};},doHighlight:function(_10f,find){var _110=(this.ignoreCase?"i":"")+(this.highlightMatch=="all"?"g":""),i=this.queryExpr.indexOf("${0}");find=_e4.escapeString(find);return this._escapeHtml(_10f).replace(new RegExp((i==0?"^":"")+"("+find+")"+(i==(this.queryExpr.length-4)?"$":""),_110),"$1");},_escapeHtml:function(str){str=String(str).replace(/&/gm,"&").replace(//gm,">").replace(/"/gm,""");return str;},reset:function(){this.item=null;this.inherited(arguments);},labelFunc:function(item,_111){return (_111._oldAPI?_111.getValue(item,this.labelAttr||this.searchAttr):item[this.labelAttr||this.searchAttr]).toString();},_setValueAttr:function(_112,_113,_114,item){this._set("item",item||null);if(!_112){_112="";}this.inherited(arguments);},_setTextDirAttr:function(_115){this.inherited(arguments);if(this.dropDown){this.dropDown._set("textDir",_115);}}});});},"dijit/form/MappedTextBox":function(){define("dijit/form/MappedTextBox",["dojo/_base/declare","dojo/dom-construct","./ValidationTextBox"],function(_116,_117,_118){return _116("dijit.form.MappedTextBox",_118,{postMixInProperties:function(){this.inherited(arguments);this.nameAttrSetting="";},_setNameAttr:null,serialize:function(val){return val.toString?val.toString():"";},toString:function(){var val=this.filter(this.get("value"));return val!=null?(typeof val=="string"?val:this.serialize(val,this.constraints)):"";},validate:function(){this.valueNode.value=this.toString();return this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);this.valueNode=_117.place("",this.textbox,"after");},reset:function(){this.valueNode.value="";this.inherited(arguments);}});});},"dijit/form/ComboBoxMixin":function(){require({cache:{"url:dijit/form/templates/DropDownBox.html":"
\n"}});define("dijit/form/ComboBoxMixin",["dojo/_base/declare","dojo/_base/Deferred","dojo/_base/kernel","dojo/_base/lang","dojo/store/util/QueryResults","./_AutoCompleterMixin","./_ComboBoxMenu","../_HasDropDown","dojo/text!./templates/DropDownBox.html"],function(_119,_11a,_11b,lang,_11c,_11d,_11e,_11f,_120){return _119("dijit.form.ComboBoxMixin",[_11f,_11d],{dropDownClass:_11e,hasDownArrow:true,templateString:_120,baseClass:"dijitTextBox dijitComboBox",cssStateNodes:{"_buttonNode":"dijitDownArrowButton"},_setHasDownArrowAttr:function(val){this._set("hasDownArrow",val);this._buttonNode.style.display=val?"":"none";},_showResultList:function(){this.displayMessage("");this.inherited(arguments);},_setStoreAttr:function(_121){if(!_121.get){lang.mixin(_121,{_oldAPI:true,get:function(id){var _122=new _11a();this.fetchItemByIdentity({identity:id,onItem:function(_123){_122.resolve(_123);},onError:function(_124){_122.reject(_124);}});return _122.promise;},query:function(_125,_126){var _127=new _11a(function(){_128.abort&&_128.abort();});var _128=this.fetch(lang.mixin({query:_125,onBegin:function(_129){_127.total=_129;},onComplete:function(_12a){_127.resolve(_12a);},onError:function(_12b){_127.reject(_12b);}},_126));return _11c(_127);}});}this._set("store",_121);},postMixInProperties:function(){if(this.params.store){this._setStoreAttr(this.params.store);}this.inherited(arguments);if(!this.params.store){var _12c=this.declaredClass;lang.mixin(this.store,{getValue:function(item,attr){_11b.deprecated(_12c+".store.getValue(item, attr) is deprecated for builtin store. Use item.attr directly","","2.0");return item[attr];},getLabel:function(item){_11b.deprecated(_12c+".store.getLabel(item) is deprecated for builtin store. Use item.label directly","","2.0");return item.name;},fetch:function(args){_11b.deprecated(_12c+".store.fetch() is deprecated for builtin store.","Use store.query()","2.0");var shim=["dojo/data/ObjectStore"];require(shim,lang.hitch(this,function(_12d){new _12d({objectStore:this}).fetch(args);}));}});}}});});},"dijit/form/_TextBoxMixin":function(){define("dijit/form/_TextBoxMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/_base/event","dojo/keys","dojo/_base/lang",".."],function(_12e,_12f,dom,_130,keys,lang,_131){var _132=_12f("dijit.form._TextBoxMixin",null,{trim:false,uppercase:false,lowercase:false,propercase:false,maxLength:"",selectOnClick:false,placeHolder:"",_getValueAttr:function(){return this.parse(this.get("displayedValue"),this.constraints);},_setValueAttr:function(_133,_134,_135){var _136;if(_133!==undefined){_136=this.filter(_133);if(typeof _135!="string"){if(_136!==null&&((typeof _136!="number")||!isNaN(_136))){_135=this.filter(this.format(_136,this.constraints));}else{_135="";}}}if(_135!=null&&_135!=undefined&&((typeof _135)!="number"||!isNaN(_135))&&this.textbox.value!=_135){this.textbox.value=_135;this._set("displayedValue",this.get("displayedValue"));}if(this.textDir=="auto"){this.applyTextDir(this.focusNode,_135);}this.inherited(arguments,[_136,_134]);},displayedValue:"",_getDisplayedValueAttr:function(){return this.filter(this.textbox.value);},_setDisplayedValueAttr:function(_137){if(_137===null||_137===undefined){_137="";}else{if(typeof _137!="string"){_137=String(_137);}}this.textbox.value=_137;this._setValueAttr(this.get("value"),undefined);this._set("displayedValue",this.get("displayedValue"));if(this.textDir=="auto"){this.applyTextDir(this.focusNode,_137);}},format:function(_138){return ((_138==null||_138==undefined)?"":(_138.toString?_138.toString():_138));},parse:function(_139){return _139;},_refreshState:function(){},onInput:function(){},__skipInputEvent:false,_onInput:function(){if(this.textDir=="auto"){this.applyTextDir(this.focusNode,this.focusNode.value);}this._refreshState();this._set("displayedValue",this.get("displayedValue"));},postCreate:function(){this.textbox.setAttribute("value",this.textbox.value);this.inherited(arguments);var _13a=function(e){var _13b=e.charOrCode||e.keyCode||229;if(e.type=="keydown"){switch(_13b){case keys.SHIFT:case keys.ALT:case keys.CTRL:case keys.META:case keys.CAPS_LOCK:return;default:if(_13b>=65&&_13b<=90){return;}}}if(e.type=="keypress"&&typeof _13b!="string"){return;}if(e.type=="input"){if(this.__skipInputEvent){this.__skipInputEvent=false;return;}}else{this.__skipInputEvent=true;}var faux=lang.mixin({},e,{charOrCode:_13b,wasConsumed:false,preventDefault:function(){faux.wasConsumed=true;e.preventDefault();},stopPropagation:function(){e.stopPropagation();}});if(this.onInput(faux)===false){_130.stop(faux);}if(faux.wasConsumed){return;}setTimeout(lang.hitch(this,"_onInput",faux),0);};_12e.forEach(["onkeydown","onkeypress","onpaste","oncut","oninput","oncompositionend"],function(_13c){this.connect(this.textbox,_13c,_13a);},this);},_blankValue:"",filter:function(val){if(val===null){return this._blankValue;}if(typeof val!="string"){return val;}if(this.trim){val=lang.trim(val);}if(this.uppercase){val=val.toUpperCase();}if(this.lowercase){val=val.toLowerCase();}if(this.propercase){val=val.replace(/[^\s]+/g,function(word){return word.substring(0,1).toUpperCase()+word.substring(1);});}return val;},_setBlurValue:function(){this._setValueAttr(this.get("value"),true);},_onBlur:function(e){if(this.disabled){return;}this._setBlurValue();this.inherited(arguments);if(this._selectOnClickHandle){this.disconnect(this._selectOnClickHandle);}},_isTextSelected:function(){return this.textbox.selectionStart==this.textbox.selectionEnd;},_onFocus:function(by){if(this.disabled||this.readOnly){return;}if(this.selectOnClick&&by=="mouse"){this._selectOnClickHandle=this.connect(this.domNode,"onmouseup",function(){this.disconnect(this._selectOnClickHandle);if(this._isTextSelected()){_132.selectInputText(this.textbox);}});}this.inherited(arguments);this._refreshState();},reset:function(){this.textbox.value="";this.inherited(arguments);},_setTextDirAttr:function(_13d){if(!this._created||this.textDir!=_13d){this._set("textDir",_13d);this.applyTextDir(this.focusNode,this.focusNode.value);}}});_132._setSelectionRange=_131._setSelectionRange=function(_13e,_13f,stop){if(_13e.setSelectionRange){_13e.setSelectionRange(_13f,stop);}};_132.selectInputText=_131.selectInputText=function(_140,_141,stop){_140=dom.byId(_140);if(isNaN(_141)){_141=0;}if(isNaN(stop)){stop=_140.value?_140.value.length:0;}try{_140.focus();_132._setSelectionRange(_140,_141,stop);}catch(e){}};return _132;});},"dijit/form/SimpleTextarea":function(){define("dijit/form/SimpleTextarea",["dojo/_base/declare","dojo/dom-class","dojo/_base/sniff","dojo/_base/window","./TextBox"],function(_142,_143,has,win,_144){return _142("dijit.form.SimpleTextarea",_144,{baseClass:"dijitTextBox dijitTextArea",rows:"3",cols:"20",templateString:"",postMixInProperties:function(){if(!this.value&&this.srcNodeRef){this.value=this.srcNodeRef.value;}this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);if(has("ie")&&this.cols){_143.add(this.textbox,"dijitTextAreaCols");}},filter:function(_145){if(_145){_145=_145.replace(/\r/g,"");}return this.inherited(arguments);},_onInput:function(e){if(this.maxLength){var _146=parseInt(this.maxLength);var _147=this.textbox.value.replace(/\r/g,"");var _148=_147.length-_146;if(_148>0){var _149=this.textbox;if(_149.selectionStart){var pos=_149.selectionStart;var cr=0;if(has("opera")){cr=(this.textbox.value.substring(0,pos).match(/\r/g)||[]).length;}this.textbox.value=_147.substring(0,pos-_148-cr)+_147.substring(pos-cr);_149.setSelectionRange(pos-_148,pos-_148);}else{if(win.doc.selection){_149.focus();var _14a=win.doc.selection.createRange();_14a.moveStart("character",-_148);_14a.text="";_14a.select();}}}}this.inherited(arguments);}});});},"dijit/_TimePicker":function(){require({cache:{"url:dijit/templates/TimePicker.html":"
 
 
\n"}});define("dijit/_TimePicker",["dojo/_base/array","dojo/date","dojo/date/locale","dojo/date/stamp","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/_base/event","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/_base/sniff","dojo/query","./typematic","./_Widget","./_TemplatedMixin","./form/_FormValueWidget","dojo/text!./templates/TimePicker.html"],function(_14b,_14c,_14d,_14e,_14f,_150,_151,_152,_153,keys,lang,has,_154,_155,_156,_157,_158,_159){return _14f("dijit._TimePicker",[_156,_157],{templateString:_159,baseClass:"dijitTimePicker",clickableIncrement:"T00:15:00",visibleIncrement:"T01:00:00",visibleRange:"T05:00:00",value:new Date(),_visibleIncrement:2,_clickableIncrement:1,_totalIncrements:10,constraints:{},serialize:_14e.toISOString,setValue:function(_15a){_153.deprecated("dijit._TimePicker:setValue() is deprecated. Use set('value', ...) instead.","","2.0");this.set("value",_15a);},_setValueAttr:function(date){this._set("value",date);this._showText();},_setFilterStringAttr:function(val){this._set("filterString",val);this._showText();},isDisabledDate:function(){return false;},_getFilteredNodes:function(_15b,_15c,_15d,_15e){var _15f=[],_160=_15e?_15e.date:this._refDate,n,i=_15b,max=this._maxIncrement+Math.abs(i),chk=_15d?-1:1,dec=_15d?1:0,inc=1-dec;do{i-=dec;n=this._createOption(i);if(n){if((_15d&&n.date>_160)||(!_15d&&n.date<_160)){break;}_15f[_15d?"unshift":"push"](n);_160=n.date;}i+=inc;}while(_15f.length<_15c&&(i*chk)>1)+1,false),_168=[],_169=_166-_167.length,_16a=this._getFilteredNodes(0,_169,true,_167[0]);if(_16a.length<_169&&_167.length>0){_168=this._getFilteredNodes(_167.length,_169-_16a.length,false,_167[_167.length-1]);}_14b.forEach(_16a.concat(_167,_168),function(n){this.timeMenu.appendChild(n);},this);},constructor:function(){this.constraints={};},postMixInProperties:function(){this.inherited(arguments);this._setConstraintsAttr(this.constraints);},_setConstraintsAttr:function(_16b){lang.mixin(this,_16b);if(!_16b.locale){_16b.locale=this.lang;}},postCreate:function(){this.connect(this.timeMenu,has("mozilla")?"DOMMouseScroll":"onmousewheel","_mouseWheeled");this._connects.push(_155.addMouseListener(this.upArrow,this,"_onArrowUp",33,250));this._connects.push(_155.addMouseListener(this.downArrow,this,"_onArrowDown",33,250));this.inherited(arguments);},_buttonMouse:function(e){_150.toggle(e.currentTarget,e.currentTarget==this.upArrow?"dijitUpArrowHover":"dijitDownArrowHover",e.type=="mouseenter"||e.type=="mouseover");},_createOption:function(_16c){var date=new Date(this._refDate);var _16d=this._clickableIncrementDate;date.setTime(date.getTime()+_16d.getHours()*_16c*3600000+_16d.getMinutes()*_16c*60000+_16d.getSeconds()*_16c*1000);if(this.constraints.selector=="time"){date.setFullYear(1970,0,1);}var _16e=_14d.format(date,this.constraints);if(this.filterString&&_16e.toLowerCase().indexOf(this.filterString)!==0){return null;}var div=_151.create("div",{"class":this.baseClass+"Item"});div.date=date;div.idx=_16c;_151.create("div",{"class":this.baseClass+"ItemInner",innerHTML:_16e},div);if(_16c%this._visibleIncrement<1&&_16c%this._visibleIncrement>-1){_150.add(div,this.baseClass+"Marker");}else{if(!(_16c%this._clickableIncrement)){_150.add(div,this.baseClass+"Tick");}}if(this.isDisabledDate(date)){_150.add(div,this.baseClass+"ItemDisabled");}if(this.value&&!_14c.compare(this.value,date,this.constraints.selector)){div.selected=true;_150.add(div,this.baseClass+"ItemSelected");if(_150.contains(div,this.baseClass+"Marker")){_150.add(div,this.baseClass+"MarkerSelected");}else{_150.add(div,this.baseClass+"TickSelected");}this._highlightOption(div,true);}return div;},_onOptionSelected:function(tgt){var _16f=tgt.target.date||tgt.target.parentNode.date;if(!_16f||this.isDisabledDate(_16f)){return;}this._highlighted_option=null;this.set("value",_16f);this.onChange(_16f);},onChange:function(){},_highlightOption:function(node,_170){if(!node){return;}if(_170){if(this._highlighted_option){this._highlightOption(this._highlighted_option,false);}this._highlighted_option=node;}else{if(this._highlighted_option!==node){return;}else{this._highlighted_option=null;}}_150.toggle(node,this.baseClass+"ItemHover",_170);if(_150.contains(node,this.baseClass+"Marker")){_150.toggle(node,this.baseClass+"MarkerHover",_170);}else{_150.toggle(node,this.baseClass+"TickHover",_170);}},onmouseover:function(e){this._keyboardSelected=null;var tgr=(e.target.parentNode===this.timeMenu)?e.target:e.target.parentNode;if(!_150.contains(tgr,this.baseClass+"Item")){return;}this._highlightOption(tgr,true);},onmouseout:function(e){this._keyboardSelected=null;var tgr=(e.target.parentNode===this.timeMenu)?e.target:e.target.parentNode;this._highlightOption(tgr,false);},_mouseWheeled:function(e){this._keyboardSelected=null;_152.stop(e);var _171=has("mozilla")?-e.detail:e.wheelDelta;this[(_171>0?"_onArrowUp":"_onArrowDown")]();},_onArrowUp:function(_172){if(_172===-1){_150.remove(this.upArrow,"dijitUpArrowActive");return;}else{if(_172===0){_150.add(this.upArrow,"dijitUpArrowActive");}}if(!this.timeMenu.childNodes.length){return;}var _173=this.timeMenu.childNodes[0].idx;var divs=this._getFilteredNodes(_173,1,true,this.timeMenu.childNodes[0]);if(divs.length){this.timeMenu.removeChild(this.timeMenu.childNodes[this.timeMenu.childNodes.length-1]);this.timeMenu.insertBefore(divs[0],this.timeMenu.childNodes[0]);}},_onArrowDown:function(_174){if(_174===-1){_150.remove(this.downArrow,"dijitDownArrowActive");return;}else{if(_174===0){_150.add(this.downArrow,"dijitDownArrowActive");}}if(!this.timeMenu.childNodes.length){return;}var _175=this.timeMenu.childNodes[this.timeMenu.childNodes.length-1].idx+1;var divs=this._getFilteredNodes(_175,1,false,this.timeMenu.childNodes[this.timeMenu.childNodes.length-1]);if(divs.length){this.timeMenu.removeChild(this.timeMenu.childNodes[0]);this.timeMenu.appendChild(divs[0]);}},handleKey:function(e){if(e.charOrCode==keys.DOWN_ARROW||e.charOrCode==keys.UP_ARROW){_152.stop(e);if(this._highlighted_option&&!this._highlighted_option.parentNode){this._highlighted_option=null;}var _176=this.timeMenu,tgt=this._highlighted_option||_154("."+this.baseClass+"ItemSelected",_176)[0];if(!tgt){tgt=_176.childNodes[0];}else{if(_176.childNodes.length){if(e.charOrCode==keys.DOWN_ARROW&&!tgt.nextSibling){this._onArrowDown();}else{if(e.charOrCode==keys.UP_ARROW&&!tgt.previousSibling){this._onArrowUp();}}if(e.charOrCode==keys.DOWN_ARROW){tgt=tgt.nextSibling;}else{tgt=tgt.previousSibling;}}}this._highlightOption(tgt,true);this._keyboardSelected=tgt;return false;}else{if(e.charOrCode==keys.ENTER||e.charOrCode===keys.TAB){if(!this._keyboardSelected&&e.charOrCode===keys.TAB){return true;}if(this._highlighted_option){this._onOptionSelected({target:this._highlighted_option});}return e.charOrCode===keys.TAB;}}return undefined;}});});},"dijit/form/RadioButton":function(){define("dijit/form/RadioButton",["dojo/_base/declare","./CheckBox","./_RadioButtonMixin"],function(_177,_178,_179){return _177("dijit.form.RadioButton",[_178,_179],{baseClass:"dijitRadio"});});},"url:dijit/form/templates/HorizontalSlider.html":"
-
+
\n","url:dijit/templates/TimePicker.html":"
 
 
\n","dijit/InlineEditBox":function(){require({cache:{"url:dijit/templates/InlineEditBox.html":"