/*
	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",typeof process=="object"&&/node(\.exe)?$/.test(process.execPath));if(0){require("./_base/configNode.js").config(_2);_2.loaderPatch.nodeRequire=require;}false&&has.add("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<a1.length;){mid=a1[i++];if(mid in {exports:1,module:1}){throw _f("illegalModuleId",mid);}_7e.push(_31(mid,_7a));}_7c=_c(_7f("",_7d,0,""),{injected:_21,deps:_7e,def:a2||_3,require:_7a?_7a.require:req});_2f[_7c.mid]=_7c;_72(_7c);var _80=_74&&req.async;_74++;_36(_7c,_80);_37();if(!_7c.executed){_30.push(_7c);}_78();}}return _7b;},_81=function(_82){if(!_82){return req;}var _83=_82.require;if(!_83){_83=function(a1,a2,a3){return _16(a1,a2,a3,_82,_83);};_82.require=_c(_83,req);_83.module=_82;_83.toUrl=function(_84){return _5a(_84,_82);};_83.toAbsMid=function(mid){return _af(mid,_82);};if(0){_83.undef=function(mid){req.undef(mid,_82);};}}return _83;},_30=[],_85=[],_86={},_87=function(_88){_88.injected=_20;_86[_88.mid]=1;if(_88.url){_86[_88.url]=_88.pack||1;}},_33=function(_89){_89.injected=_21;delete _86[_89.mid];if(_89.url){delete _86[_89.url];}if(_4(_86)){_8a();1&&_25==xd&&(_25=_26);}},_8b=req.idle=function(){return !_85.length&&_4(_86)&&!_30.length&&!_74;},_8c=function(_8d,map){for(var i=0;i<map.length;i++){if(map[i][2].test(_8d)){return map[i];}}return 0;},_8e=function(_8f){var _90=[],_91,_92;_8f=_8f.replace(/\\/g,"/").split("/");while(_8f.length){_91=_8f.shift();if(_91==".."&&_90.length&&_92!=".."){_90.pop();_92=_90[_90.length-1];}else{if(_91!="."){_90.push(_92=_91);}}}return _90.join("/");},_7f=function(pid,mid,_93,url,_94){if(1){var xd=req.isXdUrl(url);return {pid:pid,mid:mid,pack:_93,url:url,executed:0,def:0,isXd:xd,isAmd:!!(xd||(_50[pid]&&_50[pid].isAmd)),cacheId:_94};}else{return {pid:pid,mid:mid,pack:_93,url:url,executed:0,def:0,cacheId:_94};}},_95=function(mid,_96,_97,_98,_99,_9a,_9b,_9c){var pid,_9d,_9e,_9f,_a0,_a1,url,_a2,_a3,_a4,_a5=0;_a4=mid;_a3=/^\./.test(mid);if(/(^\/)|(\:)|(\.js$)/.test(mid)||(_a3&&!_96)){return _7f(0,mid,0,mid);}else{mid=_8e(_a3?(_96.mid+"/../"+mid):mid);if(/^\./.test(mid)){throw _f("irrationalPath",mid);}_9f=_96&&_96.pack&&_96.pack.mapProg;_a0=(_9f&&_8c(mid,_9f))||_8c(mid,_9a);if(_a0){pid=_a0[1];mid=mid.substring(_a0[3]);_9d=_97[pid];if(!mid){mid=_9d.main;}_9e=mid;_a5=_9d.reverseName+"/"+mid;mid=pid+"/"+mid;}else{pid="";}var _a6=0,_a7=0;_9(_4d,function(_a8){var _a9=mid.match(_a8[0]);if(_a9&&_a9.length>_a6){_a7=_6(_a8[1])?mid.replace(_a8[0],_a8[1]):_a8[1];}});if(_a7){return _95(_a7,0,_97,_98,_99,_9a,_9b,_9c);}_a2=_98[mid];if(_a2){return _9c?_7f(_a2.pid,_a2.mid,_a2.pack,_a2.url,_a5):_98[mid];}}_a0=_8c(mid,_9b);if(_a0){url=_a0[1]+mid.substring(_a0[3]-1);}else{if(pid){url=_9d.location+"/"+_9e;}else{if(has("config-tlmSiblingOfDojo")){url="../"+mid;}else{url=mid;}}}if(!(/(^\/)|(\:)/.test(url))){url=_99+url;}url+=".js";return _7f(pid,mid,_9d,_8e(url),_a5);},_5b=function(mid,_aa){return _95(mid,_aa,_50,_2f,req.baseUrl,_52,_4f);},_ab=function(_ac,_ad,_ae){return _ac.normalize?_ac.normalize(_ad,function(mid){return _af(mid,_ae);}):_af(_ad,_ae);},_b0=0,_31=function(mid,_b1,_b2){var _b3,_b4,_b5,_b6;_b3=mid.match(/^(.+?)\!(.*)$/);if(_b3){_b4=_31(_b3[1],_b1,_b2);if(1&&_25==_26&&!_b4.executed){_32(_b4);if(_b4.injected===_21&&!_b4.executed){_74++;_36(_b4);_37();}if(_b4.executed){_b7(_b4);}else{_30.unshift(_b4);}}if(_b4.executed===_24&&!_b4.load){_b7(_b4);}if(_b4.load){_b5=_ab(_b4,_b3[2],_b1);mid=(_b4.mid+"!"+(_b4.dynamic?++_b0+"!":"")+_b5);}else{_b5=_b3[2];mid=_b4.mid+"!"+(++_b0)+"!waitingForPlugin";}_b6={plugin:_b4,mid:mid,req:_81(_b1),prid:_b5};}else{_b6=_5b(mid,_b1);}return _2f[_b6.mid]||(!_b2&&(_2f[_b6.mid]=_b6));},_af=req.toAbsMid=function(mid,_b8){return _5b(mid,_b8).mid;},_5a=req.toUrl=function(_b9,_ba){var _bb=_b9.match(/(.+)(\.[^\/\.]+?)$/),_bc=(_bb&&_bb[1])||_b9,ext=(_bb&&_bb[2])||"",_bd=_5b(_bc,_ba),url=_bd.url;url=typeof _bd.pid=="string"?url.substring(0,url.length-3):url;return _40(url+ext);},_be={injected:_21,executed:_24,def:_22,result:_22},_bf=function(mid){return _2f[mid]=_c({mid:mid},_be);},_c0=_bf("require"),_c1=_bf("exports"),_c2=_bf("module"),_c3=function(_c4,_c5){req.trace("loader-run-factory",[_c4.mid]);var _c6=_c4.def,_c7;1&&_27.unshift(_c4);if(has("config-dojo-loader-catches")){try{_c7=_6(_c6)?_c6.apply(null,_c5):_c6;}catch(e){_34(_45,_c4.result=_f("factoryThrew",[_c4,e]));}}else{_c7=_6(_c6)?_c6.apply(null,_c5):_c6;}_c4.result=_c7===undefined&&_c4.cjs?_c4.cjs.exports:_c7;1&&_27.shift(_c4);},_c8={},_c9=0,_b7=function(_ca){var _cb=_ca.result;_ca.dynamic=_cb.dynamic;_ca.normalize=_cb.normalize;_ca.load=_cb.load;return _ca;},_cc=function(_cd){var map={};_9(_cd.loadQ,function(_ce){var _cf=_ce.mid,_d0=_ab(_cd,_ce.prid,_ce.req.module),mid=_cd.dynamic?_ce.mid.replace(/waitingForPlugin$/,_d0):(_cd.mid+"!"+_d0),_d1=_c(_c({},_ce),{mid:mid,prid:_d0,injected:0});if(!_2f[mid]){_e2(_2f[mid]=_d1);}map[_ce.mid]=_2f[mid];_33(_ce);delete _2f[_ce.mid];});_cd.loadQ=0;var _d2=function(_d3){for(var _d4,_d5=_d3.deps||[],i=0;i<_d5.length;i++){_d4=map[_d5[i].mid];if(_d4){_d5[i]=_d4;}}};for(var p in _2f){_d2(_2f[p]);}_9(_30,_d2);},_35=function(_d6){req.trace("loader-finish-exec",[_d6.mid]);_d6.executed=_24;_d6.defOrder=_c9++;1&&_9(_d6.provides,function(cb){cb();});if(_d6.loadQ){_b7(_d6);_cc(_d6);}for(i=0;i<_30.length;){if(_30[i]===_d6){_30.splice(i,1);}else{i++;}}},_d7=[],_36=function(_d8,_d9){if(_d8.executed===_23){req.trace("loader-circular-dependency",[_d7.concat(mid).join("->")]);return (!_d8.def||_d9)?_c8:(_d8.cjs&&_d8.cjs.exports);}if(!_d8.executed){if(!_d8.def){return _c8;}var mid=_d8.mid,_da=_d8.deps||[],arg,_db,_dc=[],i=0;if(0){_d7.push(mid);req.trace("loader-exec-module",["exec",_d7.length,mid]);}_d8.executed=_23;while(i<_da.length){arg=_da[i++];_db=((arg===_c0)?_81(_d8):((arg===_c1)?_d8.cjs.exports:((arg===_c2)?_d8.cjs:_36(arg,_d9))));if(_db===_c8){_d8.executed=0;req.trace("loader-exec-module",["abort",mid]);0&&_d7.pop();return _c8;}_dc.push(_db);}_c3(_d8,_dc);_35(_d8);}0&&_d7.pop();return _d8.result;},_74=0,_78=function(){if(_74){return;}_74++;_29();for(var _dd,_de,i=0;i<_30.length;){_dd=_c9;_de=_30[i];_36(_de);if(_dd!=_c9){_29();i=0;}else{i++;}}_37();},_37=function(){_74--;if(_8b()){_34("idle",[]);}};if(0){req.undef=function(_df,_e0){var _e1=_31(_df,_e0);_33(_e1);delete _2f[_e1.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):"");},_e2=function(_e3){var _e4=_e3.plugin;if(_e4.executed===_24&&!_e4.load){_b7(_e4);}var _e5=function(def){_e3.result=def;_33(_e3);_35(_e3);_78();};_87(_e3);if(_e4.load){_e4.load(_e3.prid,_e3.req,_e5);}else{if(_e4.loadQ){_e4.loadQ.push(_e3);}else{_30.unshift(_e4);_32(_e4);if(_e4.load){_e4.load(_e3.prid,_e3.req,_e5);}else{_e4.loadQ=[_e3];}}}},_e6=0,_79=0,_e7=0,_e8=function(_e9,_ea){_e7=1;if(has("config-dojo-loader-catches")){try{if(_e9===_e6){_e6.call(null);}else{req.eval(_e9,has("dojo-loader-eval-hint-url")?_ea.url:_ea.mid);}}catch(e){_34(_45,_f("evalModuleThrew",_ea));}}else{if(_e9===_e6){_e6.call(null);}else{req.eval(_e9,has("dojo-loader-eval-hint-url")?_ea.url:_ea.mid);}}_e7=0;},_32=function(_eb){var mid=_eb.mid,url=_eb.url;if(_eb.executed||_eb.injected||_86[mid]||(_eb.url&&((_eb.pack&&_86[_eb.url]===_eb.pack)||_86[_eb.url]==1))){return;}if(0){var _ec=0;if(_eb.plugin&&_eb.plugin.isCombo){req.combo.add(_eb.plugin.mid,_eb.prid,0,req);_ec=1;}else{if(!_eb.plugin){_ec=req.combo.add(0,_eb.mid,_eb.url,req);}}if(_ec){_87(_eb);_6f=1;return;}}if(_eb.plugin){_e2(_eb);return;}_87(_eb);var _ed=function(){_77(_eb);if(_eb.injected!==_21){_33(_eb);_c(_eb,_be);}if(1&&_25){!_27.length&&_78();}else{_78();}};_e6=_54[mid]||_54[_eb.cacheId];if(_e6){req.trace("loader-inject",["cache",_eb.mid,url]);_e8(_e6,_eb);_ed();return;}if(1&&_25){if(_eb.isXd){_25==_26&&(_25=xd);}else{if(_eb.isAmd&&_25!=_26){}else{var _ee=function(_ef){if(_25==_26){_27.unshift(_eb);_e8(_ef,_eb);_27.shift();_77(_eb);if(!_eb.cjs){_33(_eb);_35(_eb);}if(_eb.finish){var _f0=mid+"*finish",_f1=_eb.finish;delete _eb.finish;def(_f0,["dojo",("dojo/require!"+_f1.join(",")).replace(/\./g,"/")],function(_f2){_9(_f1,function(mid){_f2.require(mid);});});_30.unshift(_31(_f0));}_ed();}else{_ef=_2a(_eb,_ef);if(_ef){_e8(_ef,_eb);_ed();}else{_79=_eb;req.injectUrl(_40(url),_ed,_eb);_79=0;}}};req.trace("loader-inject",["xhr",_eb.mid,url,_25!=_26]);if(has("config-dojo-loader-catches")){try{req.getText(url,_25!=_26,_ee);}catch(e){_34(_45,_f("xhrInjectFailed",[_eb,e]));}}else{req.getText(url,_25!=_26,_ee);}return;}}}req.trace("loader-inject",["script",_eb.mid,url]);_79=_eb;req.injectUrl(_40(url),_ed,_eb);_79=0;},_f3=function(_f4,_f5,def){req.trace("loader-define-module",[_f4.mid,_f5]);if(0&&_f4.plugin&&_f4.plugin.isCombo){_f4.result=_6(def)?def():def;_33(_f4);_35(_f4);return _f4;}var mid=_f4.mid;if(_f4.injected===_21){_34(_45,_f("multipleDefine",_f4));return _f4;}_c(_f4,{deps:_f5,def:def,cjs:{id:_f4.mid,uri:_f4.url,exports:(_f4.result={}),setExports:function(_f6){_f4.cjs.exports=_f6;}}});for(var i=0;i<_f5.length;i++){_f5[i]=_31(_f5[i],_f4);}if(1&&_25&&!_86[mid]){_72(_f4);_30.push(_f4);_78();}_33(_f4);if(!_6(def)&&!_f5.length){_f4.result=def;_35(_f4);}return _f4;},_77=function(_f7,_f8){_57(_f7);var _f9=[],_fa,_fb;while(_85.length){_fb=_85.shift();_f8&&(_fb[0]=_f8.shift());_fa=_fb[0]&&_31(_fb[0])||_f7;_f9.push(_f3(_fa,_fb[1],_fb[2]));}_9(_f9,_72);};}var _fc=0,_8a=_3,_fd=_3;if(1){_8a=function(){_fc&&clearTimeout(_fc);_fc=0;},_fd=function(){_8a();req.waitms&&(_fc=setTimeout(function(){_8a();_34(_45,_f("timeout",_86));},req.waitms));};}if(1){has.add("ie-event-behavior",doc.attachEvent&&(typeof opera==="undefined"||opera.toString()!="[object Opera]"));}if(1&&(1||1)){var _fe=function(_ff,_100,_101,_102){if(!has("ie-event-behavior")){_ff.addEventListener(_100,_102,false);return function(){_ff.removeEventListener(_100,_102,false);};}else{_ff.attachEvent(_101,_102);return function(){_ff.detachEvent(_101,_102);};}},_103=_fe(window,"load","onload",function(){req.pageLoaded=1;doc.readyState!="complete"&&(doc.readyState="complete");_103();});if(1){var _104=doc.getElementsByTagName("script")[0],_105=_104.parentNode;req.injectUrl=function(url,_106,_107){_fd();var node=_107.node=doc.createElement("script"),_108=function(e){e=e||window.event;var node=e.target||e.srcElement;if(e.type==="load"||/complete|loaded/.test(node.readyState)){_109();_106&&_106();}},_109=_fe(node,"load","onreadystatechange",_108);node.type="text/javascript";node.charset="utf-8";node.src=url;_105.insertBefore(node,_104);return node;};}}if(1){req.log=function(){try{for(var i=0;i<arguments.length;i++){}}catch(e){}};}else{req.log=_3;}if(0){var _10a=req.trace=function(_10b,args){if(_10a.on&&_10a.group[_10b]){_34("trace",[_10b,args]);for(var arg,dump=[],text="trace:"+_10b+(args.length?(":"+args[0]):""),i=1;i<args.length;){arg=args[i++];if(_7(arg)){text+=", "+arg;}else{dump.push(arg);}}req.log(text);dump.length&&dump.push(".");req.log.apply(req,dump);}};_c(_10a,{on:1,group:{},set:function(_10c,_10d){if(_7(_10c)){_10a.group[_10c]=_10d;}else{_c(_10a.group,_10c);}}});_10a.set(_c(_c(_c({},_2.trace),_1.trace),_56.trace));on("config",function(_10e){_10e.trace&&_10a.set(_10e.trace);});}else{req.trace=_3;}var def=function(mid,_10f,_110){var _111=arguments.length,args=0,_112=["require","exports","module"];if(0){if(_111==1&&_6(mid)){_10f=[];mid.toString().replace(/(\/\*([\s\S]*?)\*\/|\/\/(.*)$)/mg,"").replace(/require\(["']([\w\!\-_\.\/]+)["']\)/g,function(_113,dep){_10f.push(dep);});args=[0,_112.concat(_10f),mid];}}if(!args){args=_111==1?[0,_112,mid]:(_111==2?(_8(mid)?[0,mid,_10f]:(_6(_10f)?[mid,_112,_10f]:[mid,[],_10f])):[mid,_10f,_110]);}req.trace("loader-define",args.slice(0,2));var _114=args[0]&&_31(args[0]),_115;if(_114&&!_86[_114.mid]){_72(_f3(_114,args[1],args[2]));}else{if(!has("ie-event-behavior")||!1||_e7){_85.push(args);}else{_114=_114||_79;if(!_114){for(mid in _86){_115=_2f[mid];if(_115&&_115.node&&_115.node.readyState==="interactive"){_114=_115;break;}}if(0&&!_114){for(var i=0;i<_70.length;i++){_114=_70[i];if(_114.node&&_114.node.readyState==="interactive"){break;}_114=0;}}}if(0&&_8(_114)){_72(_f3(_31(_114.shift()),args[1],args[2]));if(!_114.length){_70.splice(i,1);}}else{if(_114){_57(_114);_72(_f3(_114,args[1],args[2]));}else{_34(_45,_f("ieDefineFailed",args[0]));}}_78();}}};def.amd={vendor:"dojotoolkit.org"};if(0){req.def=def;}_c(_c(req,_2.loaderPatch),_1.loaderPatch);on(_45,function(arg){try{console.error(arg);if(arg instanceof Error){for(var p in arg){}}}catch(e){}});_c(req,{uid:uid,cache:_54,packs:_50});if(0){_c(req,{paths:_4e,aliases:_4d,packageMap:_51,modules:_2f,legacyMode:_25,execQ:_30,defQ:_85,waiting:_86,pathsMapProg:_4f,packageMapProg:_52,listenerQueues:_44,computeMapProg:_5c,runMapProg:_8c,compactPath:_8e,getModuleInfo:_95});}if(_17.define){if(1){_34(_45,_f("defineAlreadyDefined",0));}}else{_17.define=def;_17.require=req;}if(0&&req.combo&&req.combo.plugins){var _116=req.combo.plugins,_117;for(_117 in _116){_c(_c(_31(_117),_116[_117]),{isCombo:1,executed:"executed",load:1});}}if(1){var _118=_2.deps||_1.deps||_56.deps,_119=_2.callback||_1.callback||_56.callback;req.boot=(_118||_119)?[_118||[],_119]:0;}if(!1){!req.async&&req(["dojo"]);req.boot&&req.apply(null,req.boot);}})(this.dojoConfig||this.djConfig||this.require||{},{async:0,hasCache:{"config-selectorEngine":"acme","config-tlmSiblingOfDojo":1,"dojo-built":1,"dojo-loader":1,dom:1,"host-browser":1},packages:[{location:"../dijit",name:"dijit"},{location:"../dojox",name:"dojox"},{location:"../todo",name:"todo"},{location:".",name:"dojo"}]});require({cache:{"dojo/parser":function(){define(["./_base/kernel","./_base/lang","./_base/array","./_base/html","./_base/window","./_base/url","./_base/json","./aspect","./date/stamp","./query","./on","./ready"],function(dojo,_11a,_11b,_11c,_11d,_11e,_11f,_120,_121,_122,don){new Date("X");var _123={"dom-attributes-explicit":document.createElement("div").attributes.length<40};function has(_124){return _123[_124];};dojo.parser=new function(){var _125={};function _126(_127){var map={};for(var name in _127){if(name.charAt(0)=="_"){continue;}map[name.toLowerCase()]=name;}return map;};_120.after(_11a,"extend",function(){_125={};},true);var _128={};this._functionFromScript=function(_129,_12a){var _12b="";var _12c="";var _12d=(_129.getAttribute(_12a+"args")||_129.getAttribute("args"));if(_12d){_11b.forEach(_12d.split(/\s*,\s*/),function(part,idx){_12b+="var "+part+" = arguments["+idx+"]; ";});}var _12e=_129.getAttribute("with");if(_12e&&_12e.length){_11b.forEach(_12e.split(/\s*,\s*/),function(part){_12b+="with("+part+"){";_12c+="}";});}return new Function(_12b+_129.innerHTML+_12c);};this.instantiate=function(_12f,_130,args){var _131=[],_130=_130||{};args=args||{};var _132=(args.scope||dojo._scopeName)+"Type",_133="data-"+(args.scope||dojo._scopeName)+"-",_134=_133+"type",_135=_133+"props",_136=_133+"attach-point",_137=_133+"attach-event",_138=_133+"id";var _139={};_11b.forEach([_135,_134,_132,_138,"jsId",_136,_137,"dojoAttachPoint","dojoAttachEvent","class","style"],function(name){_139[name.toLowerCase()]=name.replace(args.scope,"dojo");});_11b.forEach(_12f,function(obj){if(!obj){return;}var node=obj.node||obj,type=_132 in _130?_130[_132]:obj.node?obj.type:(node.getAttribute(_134)||node.getAttribute(_132)),ctor=_128[type]||(_128[type]=_11a.getObject(type)),_13a=ctor&&ctor.prototype;if(!ctor){throw new Error("Could not load class '"+type);}var _13b={};if(args.defaults){_11a.mixin(_13b,args.defaults);}if(obj.inherited){_11a.mixin(_13b,obj.inherited);}var _13c;if(has("dom-attributes-explicit")){_13c=node.attributes;}else{var _13d=/^input$|^img$/i.test(node.nodeName)?node:node.cloneNode(false),_13e=_13d.outerHTML.replace(/=[^\s"']+|="[^"]*"|='[^']*'/g,"").replace(/^\s*<[a-zA-Z0-9]*/,"").replace(/>.*$/,"");_13c=_11b.map(_13e.split(/\s+/),function(name){var _13f=name.toLowerCase();return {name:name,value:(node.nodeName=="LI"&&name=="value")||_13f=="enctype"?node.getAttribute(_13f):node.getAttributeNode(_13f).value,specified:true};});}var i=0,item;while(item=_13c[i++]){if(!item||!item.specified){continue;}var name=item.name,_140=name.toLowerCase(),_141=item.value;if(_140 in _139){switch(_139[_140]){case "data-dojo-props":var _142=_141;break;case "data-dojo-id":case "jsId":var _143=_141;break;case "data-dojo-attach-point":case "dojoAttachPoint":_13b.dojoAttachPoint=_141;break;case "data-dojo-attach-event":case "dojoAttachEvent":_13b.dojoAttachEvent=_141;break;case "class":_13b["class"]=node.className;break;case "style":_13b["style"]=node.style&&node.style.cssText;break;}}else{if(!(name in _13a)){var map=(_125[type]||(_125[type]=_126(_13a)));name=map[_140]||name;}if(name in _13a){switch(typeof _13a[name]){case "string":_13b[name]=_141;break;case "number":_13b[name]=_141.length?Number(_141):NaN;break;case "boolean":_13b[name]=_141.toLowerCase()!="false";break;case "function":if(_141===""||_141.search(/[^\w\.]+/i)!=-1){_13b[name]=new Function(_141);}else{_13b[name]=_11a.getObject(_141,false)||new Function(_141);}break;default:var pVal=_13a[name];_13b[name]=(pVal&&"length" in pVal)?(_141?_141.split(/\s*,\s*/):[]):(pVal instanceof Date)?(_141==""?new Date(""):_141=="now"?new Date():_121.fromISOString(_141)):(pVal instanceof dojo._Url)?(dojo.baseUrl+_141):_11f.fromJson(_141);}}else{_13b[name]=_141;}}}if(_142){try{_142=_11f.fromJson.call(args.propsThis,"{"+_142+"}");_11a.mixin(_13b,_142);}catch(e){throw new Error(e.toString()+" in data-dojo-props='"+_142+"'");}}_11a.mixin(_13b,_130);var _144=obj.node?obj.scripts:(ctor&&(ctor._noScript||_13a._noScript)?[]:_122("> script[type^='dojo/']",node));var _145=[],_146=[],_147=[],on=[];if(_144){for(i=0;i<_144.length;i++){var _148=_144[i];node.removeChild(_148);var _149=(_148.getAttribute(_133+"event")||_148.getAttribute("event")),prop=_148.getAttribute(_133+"prop"),type=_148.getAttribute("type"),nf=this._functionFromScript(_148,_133);if(_149){if(type=="dojo/connect"){_145.push({event:_149,func:nf});}else{if(type=="dojo/on"){on.push({event:_149,func:nf});}else{_13b[_149]=nf;}}}else{if(type=="dojo/watch"){_147.push({prop:prop,func:nf});}else{_146.push(nf);}}}}var _14a=ctor.markupFactory||_13a.markupFactory;var _14b=_14a?_14a(_13b,node,ctor):new ctor(_13b,node);_131.push(_14b);if(_143){_11a.setObject(_143,_14b);}for(i=0;i<_145.length;i++){_120.after(_14b,_145[i].event,dojo.hitch(_14b,_145[i].func),true);}for(i=0;i<_146.length;i++){_146[i].call(_14b);}for(i=0;i<_147.length;i++){_14b.watch(_147[i].prop,_147[i].func);}for(i=0;i<on.length;i++){don(_14b,on[i].event,on[i].func);}},this);if(!_130._started){_11b.forEach(_131,function(_14c){if(!args.noStart&&_14c&&_11a.isFunction(_14c.startup)&&!_14c._started){_14c.startup();}});}return _131;};this.parse=function(_14d,args){var root;if(!args&&_14d&&_14d.rootNode){args=_14d;root=args.rootNode;}else{root=_14d;}root=root?_11c.byId(root):_11d.body();args=args||{};var _14e=(args.scope||dojo._scopeName)+"Type",_14f="data-"+(args.scope||dojo._scopeName)+"-",_150=_14f+"type",_151=_14f+"textdir";var list=[];var node=root.firstChild;var _152=args&&args.inherited;if(!_152){function _153(node,attr){return (node.getAttribute&&node.getAttribute(attr))||(node!==_11d.doc&&node!==_11d.doc.documentElement&&node.parentNode?_153(node.parentNode,attr):null);};_152={dir:_153(root,"dir"),lang:_153(root,"lang"),textDir:_153(root,_151)};for(var key in _152){if(!_152[key]){delete _152[key];}}}var _154={inherited:_152};var _155;var _156;function _157(_158){if(!_158.inherited){_158.inherited={};var node=_158.node,_159=_157(_158.parent);var _15a={dir:node.getAttribute("dir")||_159.dir,lang:node.getAttribute("lang")||_159.lang,textDir:node.getAttribute(_151)||_159.textDir};for(var key in _15a){if(_15a[key]){_158.inherited[key]=_15a[key];}}}return _158.inherited;};while(true){if(!node){if(!_154||!_154.node){break;}node=_154.node.nextSibling;_155=_154.scripts;_156=false;_154=_154.parent;continue;}if(node.nodeType!=1){node=node.nextSibling;continue;}if(_155&&node.nodeName.toLowerCase()=="script"){type=node.getAttribute("type");if(type&&/^dojo\/\w/i.test(type)){_155.push(node);}node=node.nextSibling;continue;}if(_156){node=node.nextSibling;continue;}var type=node.getAttribute(_150)||node.getAttribute(_14e);var _15b=node.firstChild;if(!type&&(!_15b||(_15b.nodeType==3&&!_15b.nextSibling))){node=node.nextSibling;continue;}var _15c={node:node,scripts:_155,parent:_154};var ctor=type&&(_128[type]||(_128[type]=_11a.getObject(type))),_15d=ctor&&!ctor.prototype._noScript?[]:null;if(type){list.push({"type":type,node:node,scripts:_15d,inherited:_157(_15c)});}node=_15b;_155=_15d;_156=ctor&&ctor.prototype.stopParser&&!(args&&args.template);_154=_15c;}var _15e=args&&args.template?{template:true}:null;return this.instantiate(list,_15e,args);};}();if(dojo.config.parseOnLoad){dojo.ready(100,dojo.parser,"parse");}return dojo.parser;});},"dojo/_base/kernel":function(){define(["../has","./config","require","module"],function(has,_15f,_160,_161){var i,p,_162={},_163={},dojo={config:_15f,global:this,dijit:_162,dojox:_163};var _164={dojo:["dojo",dojo],dijit:["dijit",_162],dojox:["dojox",_163]},_165=(_160.packs&&_160.packs[_161.id.match(/[^\/]+/)[0]].packageMap)||{},item;for(p in _165){if(_164[p]){_164[p][0]=_165[p];}else{_164[p]=[_165[p],{}];}}for(p in _164){item=_164[p];item[1]._scopeName=item[0];if(!_15f.noGlobals){this[item[0]]=item[1];}}dojo.scopeMap=_164;dojo.baseUrl=dojo.config.baseUrl=_160.baseUrl;dojo.isAsync=!1||_160.async;dojo.locale=_15f.locale;var rev="$Rev: 27913 $".match(/\d+/);dojo.version={major:1,minor:7,patch:2,flag:"",revision:rev?+rev[0]:NaN,toString:function(){var v=dojo.version;return v.major+"."+v.minor+"."+v.patch+v.flag+" ("+v.revision+")";}};true||has.add("extend-dojo",1);dojo.eval=function(_166){};(Function("d","d.eval = function(){return d.global.eval ? d.global.eval(arguments[0]) : eval(arguments[0]);}"))(dojo);if(0){dojo.exit=function(_167){quit(_167);};}else{dojo.exit=function(){};}true||has.add("dojo-guarantee-console",1);if(1){typeof console!="undefined"||(console={});var cn=["assert","count","debug","dir","dirxml","error","group","groupEnd","info","profile","profileEnd","time","timeEnd","trace","warn","log"];var tn;i=0;while((tn=cn[i++])){if(!console[tn]){(function(){var tcn=tn+"";console[tcn]=("log" in console)?function(){var a=Array.apply({},arguments);a.unshift(tcn+":");console["log"](a.join(" "));}:function(){};console[tcn]._fake=true;})();}}}has.add("dojo-debug-messages",!!_15f.isDebug);if(has("dojo-debug-messages")){dojo.deprecated=function(_168,_169,_16a){var _16b="DEPRECATED: "+_168;if(_169){_16b+=" "+_169;}if(_16a){_16b+=" -- will be removed in version: "+_16a;}console.warn(_16b);};dojo.experimental=function(_16c,_16d){var _16e="EXPERIMENTAL: "+_16c+" -- APIs subject to change without notice.";if(_16d){_16e+=" "+_16d;}console.warn(_16e);};}else{dojo.deprecated=dojo.experimental=function(){};}true||has.add("dojo-modulePaths",1);if(1){if(_15f.modulePaths){dojo.deprecated("dojo.modulePaths","use paths configuration");var _16f={};for(p in _15f.modulePaths){_16f[p.replace(/\./g,"/")]=_15f.modulePaths[p];}_160({paths:_16f});}}true||has.add("dojo-moduleUrl",1);if(1){dojo.moduleUrl=function(_170,url){dojo.deprecated("dojo.moduleUrl()","use require.toUrl","2.0");var _171=null;if(_170){_171=_160.toUrl(_170.replace(/\./g,"/")+(url?("/"+url):"")+"/*.*").replace(/\/\*\.\*/,"")+(url?"":"/");}return _171;};}dojo._hasResource={};return dojo;});},"dojo/has":function(){define(["require"],function(_172){var has=_172.has||function(){};if(!1){var _173=typeof window!="undefined"&&typeof location!="undefined"&&typeof document!="undefined"&&window.location==location&&window.document==document,_174=this,doc=_173&&document,_175=doc&&doc.createElement("DiV"),_176={};has=function(name){return typeof _176[name]=="function"?(_176[name]=_176[name](_174,doc,_175)):_176[name];};has.cache=_176;has.add=function(name,test,now,_177){(typeof _176[name]=="undefined"||_177)&&(_176[name]=test);return now&&has(name);};true||has.add("host-browser",_173);true||has.add("dom",_173);true||has.add("dojo-dom-ready-api",1);true||has.add("dojo-sniff",1);}if(1){var _178=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",!!_178.match(/iPhone|iP[ao]d/));has.add("agent-android",_178.indexOf("android")>1);}has.clearElement=function(_179){_179.innerHTML="";return _179;};has.normalize=function(id,_17a){var _17b=id.match(/[\?:]|[^:\?]*/g),i=0,get=function(skip){var term=_17b[i++];if(term==":"){return 0;}else{if(_17b[i++]=="?"){if(!skip&&has(term)){return get();}else{get(true);return get(skip);}}return term||0;}};id=get();return id&&_17a(id);};has.load=function(id,_17c,_17d){if(id){_17c([id],_17d);}else{_17d();}};return has;});},"dojo/_base/config":function(){define(["../has","require"],function(has,_17e){var _17f={};if(1){var src=_17e.rawConfig,p;for(p in src){_17f[p]=src[p];}}else{var _180=function(_181,_182,_183){for(p in _181){p!="has"&&has.add(_182+p,_181[p],0,_183);}};_17f=1?_17e.rawConfig:this.dojoConfig||this.djConfig||{};_180(_17f,"config",1);_180(_17f.has,"",1);}return _17f;});},"dojo/_base/lang":function(){define(["./kernel","../has","./sniff"],function(dojo,has){has.add("bug-for-in-skips-shadowed",function(){for(var i in {toString:1}){return 0;}return 1;});var _184=has("bug-for-in-skips-shadowed")?"hasOwnProperty.valueOf.isPrototypeOf.propertyIsEnumerable.toLocaleString.toString.constructor".split("."):[],_185=_184.length,_186=function(dest,_187,_188){var name,s,i,_189={};for(name in _187){s=_187[name];if(!(name in dest)||(dest[name]!==s&&(!(name in _189)||_189[name]!==s))){dest[name]=_188?_188(s):s;}}if(has("bug-for-in-skips-shadowed")){if(_187){for(i=0;i<_185;++i){name=_184[i];s=_187[name];if(!(name in dest)||(dest[name]!==s&&(!(name in _189)||_189[name]!==s))){dest[name]=_188?_188(s):s;}}}}return dest;},_18a=function(dest,_18b){if(!dest){dest={};}for(var i=1,l=arguments.length;i<l;i++){lang._mixin(dest,arguments[i]);}return dest;},_18c=function(_18d,_18e,_18f){var p,i=0,_190=dojo.global;if(!_18f){if(!_18d.length){return _190;}else{p=_18d[i++];try{_18f=dojo.scopeMap[p]&&dojo.scopeMap[p][1];}catch(e){}_18f=_18f||(p in _190?_190[p]:(_18e?_190[p]={}:undefined));}}while(_18f&&(p=_18d[i++])){_18f=(p in _18f?_18f[p]:(_18e?_18f[p]={}:undefined));}return _18f;},_191=function(name,_192,_193){var _194=name.split("."),p=_194.pop(),obj=_18c(_194,true,_193);return obj&&p?(obj[p]=_192):undefined;},_195=function(name,_196,_197){return _18c(name.split("."),_196,_197);},_198=function(name,obj){return lang.getObject(name,false,obj)!==undefined;},opts=Object.prototype.toString,_199=function(it){return (typeof it=="string"||it instanceof String);},_19a=function(it){return it&&(it instanceof Array||typeof it=="array");},_19b=function(it){return opts.call(it)==="[object Function]";},_19c=function(it){return it!==undefined&&(it===null||typeof it=="object"||lang.isArray(it)||lang.isFunction(it));},_19d=function(it){return it&&it!==undefined&&!lang.isString(it)&&!lang.isFunction(it)&&!(it.tagName&&it.tagName.toLowerCase()=="form")&&(lang.isArray(it)||isFinite(it.length));},_19e=function(it){return it&&!lang.isFunction(it)&&/\{\s*\[native code\]\s*\}/.test(String(it));},_19f=function(_1a0,_1a1){for(var i=1,l=arguments.length;i<l;i++){lang._mixin(_1a0.prototype,arguments[i]);}return _1a0;},_1a2=function(_1a3,_1a4){var pre=_1a5(arguments,2);var _1a6=lang.isString(_1a4);return function(){var args=_1a5(arguments);var f=_1a6?(_1a3||dojo.global)[_1a4]:_1a4;return f&&f.apply(_1a3||this,pre.concat(args));};},_1a7=function(_1a8,_1a9){if(arguments.length>2){return lang._hitchArgs.apply(dojo,arguments);}if(!_1a9){_1a9=_1a8;_1a8=null;}if(lang.isString(_1a9)){_1a8=_1a8||dojo.global;if(!_1a8[_1a9]){throw (["dojo.hitch: scope[\"",_1a9,"\"] is null (scope=\"",_1a8,"\")"].join(""));}return function(){return _1a8[_1a9].apply(_1a8,arguments||[]);};}return !_1a8?_1a9:function(){return _1a9.apply(_1a8,arguments||[]);};},_1aa=(function(){function TMP(){};return function(obj,_1ab){TMP.prototype=obj;var tmp=new TMP();TMP.prototype=null;if(_1ab){lang._mixin(tmp,_1ab);}return tmp;};})(),_1ac=function(obj,_1ad,_1ae){return (_1ae||[]).concat(Array.prototype.slice.call(obj,_1ad||0));},_1a5=has("ie")?(function(){function slow(obj,_1af,_1b0){var arr=_1b0||[];for(var x=_1af||0;x<obj.length;x++){arr.push(obj[x]);}return arr;};return function(obj){return ((obj.item)?slow:_1ac).apply(this,arguments);};})():_1ac,_1b1=function(_1b2){var arr=[null];return lang.hitch.apply(dojo,arr.concat(lang._toArray(arguments)));},_1b3=function(src){if(!src||typeof src!="object"||lang.isFunction(src)){return src;}if(src.nodeType&&"cloneNode" in src){return src.cloneNode(true);}if(src instanceof Date){return new Date(src.getTime());}if(src instanceof RegExp){return new RegExp(src);}var r,i,l;if(lang.isArray(src)){r=[];for(i=0,l=src.length;i<l;++i){if(i in src){r.push(_1b3(src[i]));}}}else{r=src.constructor?new src.constructor():{};}return lang._mixin(r,src,_1b3);},trim=String.prototype.trim?function(str){return str.trim();}:function(str){return str.replace(/^\s\s*/,"").replace(/\s\s*$/,"");},_1b4=/\{([^\}]+)\}/g,_1b5=function(tmpl,map,_1b6){return tmpl.replace(_1b6||_1b4,lang.isFunction(map)?map:function(_1b7,k){return _195(k,false,map);});},lang={_extraNames:_184,_mixin:_186,mixin:_18a,setObject:_191,getObject:_195,exists:_198,isString:_199,isArray:_19a,isFunction:_19b,isObject:_19c,isArrayLike:_19d,isAlien:_19e,extend:_19f,_hitchArgs:_1a2,hitch:_1a7,delegate:_1aa,_toArray:_1a5,partial:_1b1,clone:_1b3,trim:trim,replace:_1b5};1&&_18a(dojo,lang);return lang;});},"dojo/_base/sniff":function(){define(["./kernel","../has"],function(dojo,has){if(!1){return has;}dojo.isBrowser=true,dojo._name="browser";var _1b8=has.add,n=navigator,dua=n.userAgent,dav=n.appVersion,tv=parseFloat(dav),_1b9,_1ba,_1bb,_1bc,_1bd,_1be,_1bf,_1c0,_1c1,isIE,isFF,_1c2,_1c3,_1c4,_1c5;if(dua.indexOf("AdobeAIR")>=0){_1ba=1;}_1bb=(dav.indexOf("Konqueror")>=0)?tv:0;_1bc=parseFloat(dua.split("WebKit/")[1])||undefined;_1bd=parseFloat(dua.split("Chrome/")[1])||undefined;_1be=dav.indexOf("Macintosh")>=0;_1c3=/iPhone|iPod|iPad/.test(dua);_1c4=parseFloat(dua.split("Android ")[1])||undefined;_1c5=typeof opera!="undefined"&&opera.wiiremote;var _1c6=Math.max(dav.indexOf("WebKit"),dav.indexOf("Safari"),0);if(_1c6&&!_1bd){_1bf=parseFloat(dav.split("Version/")[1]);if(!_1bf||parseFloat(dav.substr(_1c6+7))<=419.3){_1bf=2;}}if(!has("dojo-webkit")){if(dua.indexOf("Opera")>=0){_1b9=tv;if(_1b9>=9.8){_1b9=parseFloat(dua.split("Version/")[1])||tv;}}if(dua.indexOf("Gecko")>=0&&!_1bb&&!_1bc){_1c0=_1c1=tv;}if(_1c1){isFF=parseFloat(dua.split("Firefox/")[1]||dua.split("Minefield/")[1])||undefined;}if(document.all&&!_1b9){isIE=parseFloat(dav.split("MSIE ")[1])||undefined;var mode=document.documentMode;if(mode&&mode!=5&&Math.floor(isIE)!=mode){isIE=mode;}}}_1c2=document.compatMode=="BackCompat";_1b8("opera",dojo.isOpera=_1b9);_1b8("air",dojo.isAIR=_1ba);_1b8("khtml",dojo.isKhtml=_1bb);_1b8("webkit",dojo.isWebKit=_1bc);_1b8("chrome",dojo.isChrome=_1bd);_1b8("mac",dojo.isMac=_1be);_1b8("safari",dojo.isSafari=_1bf);_1b8("mozilla",dojo.isMozilla=dojo.isMoz=_1c0);_1b8("ie",dojo.isIE=isIE);_1b8("ff",dojo.isFF=isFF);_1b8("quirks",dojo.isQuirks=_1c2);_1b8("ios",dojo.isIos=_1c3);_1b8("android",dojo.isAndroid=_1c4);dojo.locale=dojo.locale||(isIE?n.userLanguage:n.language).toLowerCase();return has;});},"dojo/_base/array":function(){define(["./kernel","../has","./lang"],function(dojo,has,lang){var _1c7={},u,_1c8;function _1c9(){_1c7={};};function _1ca(fn){return _1c7[fn]=new Function("item","index","array",fn);};function _1cb(some){var _1cc=!some;return function(a,fn,o){var i=0,l=a&&a.length||0,_1cd;if(l&&typeof a=="string"){a=a.split("");}if(typeof fn=="string"){fn=_1c7[fn]||_1ca(fn);}if(o){for(;i<l;++i){_1cd=!fn.call(o,a[i],i,a);if(some^_1cd){return !_1cd;}}}else{for(;i<l;++i){_1cd=!fn(a[i],i,a);if(some^_1cd){return !_1cd;}}}return _1cc;};};function _1ce(up){var _1cf=1,_1d0=0,_1d1=0;if(!up){_1cf=_1d0=_1d1=-1;}return function(a,x,from,last){if(last&&_1cf>0){return _1c8.lastIndexOf(a,x,from);}var l=a&&a.length||0,end=up?l+_1d1:_1d0,i;if(from===u){i=up?_1d0:l+_1d1;}else{if(from<0){i=l+from;if(i<0){i=_1d0;}}else{i=from>=l?l+_1d1:from;}}if(l&&typeof a=="string"){a=a.split("");}for(;i!=end;i+=_1cf){if(a[i]==x){return i;}}return -1;};};function _1d2(a,fn,o){var i=0,l=a&&a.length||0;if(l&&typeof a=="string"){a=a.split("");}if(typeof fn=="string"){fn=_1c7[fn]||_1ca(fn);}if(o){for(;i<l;++i){fn.call(o,a[i],i,a);}}else{for(;i<l;++i){fn(a[i],i,a);}}};function map(a,fn,o,Ctr){var i=0,l=a&&a.length||0,out=new (Ctr||Array)(l);if(l&&typeof a=="string"){a=a.split("");}if(typeof fn=="string"){fn=_1c7[fn]||_1ca(fn);}if(o){for(;i<l;++i){out[i]=fn.call(o,a[i],i,a);}}else{for(;i<l;++i){out[i]=fn(a[i],i,a);}}return out;};function _1d3(a,fn,o){var i=0,l=a&&a.length||0,out=[],_1d4;if(l&&typeof a=="string"){a=a.split("");}if(typeof fn=="string"){fn=_1c7[fn]||_1ca(fn);}if(o){for(;i<l;++i){_1d4=a[i];if(fn.call(o,_1d4,i,a)){out.push(_1d4);}}}else{for(;i<l;++i){_1d4=a[i];if(fn(_1d4,i,a)){out.push(_1d4);}}}return out;};_1c8={every:_1cb(false),some:_1cb(true),indexOf:_1ce(true),lastIndexOf:_1ce(false),forEach:_1d2,map:map,filter:_1d3,clearCache:_1c9};1&&lang.mixin(dojo,_1c8);return _1c8;});},"dojo/_base/html":function(){define(["./kernel","../dom","../dom-style","../dom-attr","../dom-prop","../dom-class","../dom-construct","../dom-geometry"],function(dojo,dom,_1d5,attr,prop,cls,ctr,geom){dojo.byId=dom.byId;dojo.isDescendant=dom.isDescendant;dojo.setSelectable=dom.setSelectable;dojo.getAttr=attr.get;dojo.setAttr=attr.set;dojo.hasAttr=attr.has;dojo.removeAttr=attr.remove;dojo.getNodeProp=attr.getNodeProp;dojo.attr=function(node,name,_1d6){if(arguments.length==2){return attr[typeof name=="string"?"get":"set"](node,name);}return attr.set(node,name,_1d6);};dojo.hasClass=cls.contains;dojo.addClass=cls.add;dojo.removeClass=cls.remove;dojo.toggleClass=cls.toggle;dojo.replaceClass=cls.replace;dojo._toDom=dojo.toDom=ctr.toDom;dojo.place=ctr.place;dojo.create=ctr.create;dojo.empty=function(node){ctr.empty(node);};dojo._destroyElement=dojo.destroy=function(node){ctr.destroy(node);};dojo._getPadExtents=dojo.getPadExtents=geom.getPadExtents;dojo._getBorderExtents=dojo.getBorderExtents=geom.getBorderExtents;dojo._getPadBorderExtents=dojo.getPadBorderExtents=geom.getPadBorderExtents;dojo._getMarginExtents=dojo.getMarginExtents=geom.getMarginExtents;dojo._getMarginSize=dojo.getMarginSize=geom.getMarginSize;dojo._getMarginBox=dojo.getMarginBox=geom.getMarginBox;dojo.setMarginBox=geom.setMarginBox;dojo._getContentBox=dojo.getContentBox=geom.getContentBox;dojo.setContentSize=geom.setContentSize;dojo._isBodyLtr=dojo.isBodyLtr=geom.isBodyLtr;dojo._docScroll=dojo.docScroll=geom.docScroll;dojo._getIeDocumentElementOffset=dojo.getIeDocumentElementOffset=geom.getIeDocumentElementOffset;dojo._fixIeBiDiScrollLeft=dojo.fixIeBiDiScrollLeft=geom.fixIeBiDiScrollLeft;dojo.position=geom.position;dojo.marginBox=function marginBox(node,box){return box?geom.setMarginBox(node,box):geom.getMarginBox(node);};dojo.contentBox=function contentBox(node,box){return box?geom.setContentSize(node,box):geom.getContentBox(node);};dojo.coords=function(node,_1d7){dojo.deprecated("dojo.coords()","Use dojo.position() or dojo.marginBox().");node=dom.byId(node);var s=_1d5.getComputedStyle(node),mb=geom.getMarginBox(node,s);var abs=geom.position(node,_1d7);mb.x=abs.x;mb.y=abs.y;return mb;};dojo.getProp=prop.get;dojo.setProp=prop.set;dojo.prop=function(node,name,_1d8){if(arguments.length==2){return prop[typeof name=="string"?"get":"set"](node,name);}return prop.set(node,name,_1d8);};dojo.getStyle=_1d5.get;dojo.setStyle=_1d5.set;dojo.getComputedStyle=_1d5.getComputedStyle;dojo.__toPixelValue=dojo.toPixelValue=_1d5.toPixelValue;dojo.style=function(node,name,_1d9){switch(arguments.length){case 1:return _1d5.get(node);case 2:return _1d5[typeof name=="string"?"get":"set"](node,name);}return _1d5.set(node,name,_1d9);};return dojo;});},"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 _1da=doc||win.doc,te=id&&_1da.getElementById(id);if(te&&(te.attributes.id.value==id||te.id==id)){return te;}else{var eles=_1da.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,_1db){try{node=dom.byId(node);_1db=dom.byId(_1db);while(node){if(node==_1db){return true;}node=node.parentNode;}}catch(e){}return false;};dom.setSelectable=function(node,_1dc){node=dom.byId(node);if(has("mozilla")){node.style.MozUserSelect=_1dc?"":"none";}else{if(has("khtml")||has("webkit")){node.style.KhtmlUserSelect=_1dc?"auto":"none";}else{if(has("ie")){var v=(node.unselectable=_1dc?"":"on"),cs=node.getElementsByTagName("*"),i=0,l=cs.length;for(;i<l;++i){cs.item(i).unselectable=v;}}}}};return dom;});},"dojo/_base/window":function(){define(["./kernel","../has","./sniff"],function(dojo,has){dojo.doc=this["document"]||null;dojo.body=function(){return dojo.doc.body||dojo.doc.getElementsByTagName("body")[0];};dojo.setContext=function(_1dd,_1de){dojo.global=ret.global=_1dd;dojo.doc=ret.doc=_1de;};dojo.withGlobal=function(_1df,_1e0,_1e1,_1e2){var _1e3=dojo.global;try{dojo.global=ret.global=_1df;return dojo.withDoc.call(null,_1df.document,_1e0,_1e1,_1e2);}finally{dojo.global=ret.global=_1e3;}};dojo.withDoc=function(_1e4,_1e5,_1e6,_1e7){var _1e8=dojo.doc,oldQ=dojo.isQuirks,_1e9=dojo.isIE,isIE,mode,pwin;try{dojo.doc=ret.doc=_1e4;dojo.isQuirks=has.add("quirks",dojo.doc.compatMode=="BackCompat",true,true);if(has("ie")){if((pwin=_1e4.parentWindow)&&pwin.navigator){isIE=parseFloat(pwin.navigator.appVersion.split("MSIE ")[1])||undefined;mode=_1e4.documentMode;if(mode&&mode!=5&&Math.floor(isIE)!=mode){isIE=mode;}dojo.isIE=has.add("ie",isIE,true,true);}}if(_1e6&&typeof _1e5=="string"){_1e5=_1e6[_1e5];}return _1e5.apply(_1e6,_1e7||[]);}finally{dojo.doc=ret.doc=_1e8;dojo.isQuirks=has.add("quirks",oldQ,true,true);dojo.isIE=has.add("ie",_1e9,true,true);}};var ret={global:dojo.global,doc:dojo.doc,body:dojo.body,setContext:dojo.setContext,withGlobal:dojo.withGlobal,withDoc:dojo.withDoc};return ret;});},"dojo/dom-style":function(){define(["./_base/sniff","./dom"],function(has,dom){var _1ea,_1eb={};if(has("webkit")){_1ea=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"))){_1ea=function(node){return node.nodeType==1?node.currentStyle:{};};}else{_1ea=function(node){return node.nodeType==1?node.ownerDocument.defaultView.getComputedStyle(node,null):{};};}}_1eb.getComputedStyle=_1ea;var _1ec;if(!has("ie")){_1ec=function(_1ed,_1ee){return parseFloat(_1ee)||0;};}else{_1ec=function(_1ef,_1f0){if(!_1f0){return 0;}if(_1f0=="medium"){return 4;}if(_1f0.slice&&_1f0.slice(-2)=="px"){return parseFloat(_1f0);}var s=_1ef.style,rs=_1ef.runtimeStyle,cs=_1ef.currentStyle,_1f1=s.left,_1f2=rs.left;rs.left=cs.left;try{s.left=_1f0;_1f0=s.pixelLeft;}catch(e){_1f0=0;}s.left=_1f1;rs.left=_1f2;return _1f0;};}_1eb.toPixelValue=_1ec;var astr="DXImageTransform.Microsoft.Alpha";var af=function(n,f){try{return n.filters.item(astr);}catch(e){return f?{}:null;}};var _1f3=has("ie")<9||(has("ie")&&has("quirks"))?function(node){try{return af(node).Opacity/100;}catch(e){return 1;}}:function(node){return _1ea(node).opacity;};var _1f4=has("ie")<9||(has("ie")&&has("quirks"))?function(node,_1f5){var ov=_1f5*100,_1f6=_1f5==1;node.style.zoom=_1f6?"":1;if(!af(node)){if(_1f6){return _1f5;}node.style.filter+=" progid:"+astr+"(Opacity="+ov+")";}else{af(node,1).Opacity=ov;}af(node,1).Enabled=!_1f6;if(node.tagName.toLowerCase()=="tr"){for(var td=node.firstChild;td;td=td.nextSibling){if(td.tagName.toLowerCase()=="td"){_1f4(td,_1f5);}}}return _1f5;}:function(node,_1f7){return node.style.opacity=_1f7;};var _1f8={left:true,top:true};var _1f9=/margin|padding|width|height|max|min|offset/;function _1fa(node,type,_1fb){type=type.toLowerCase();if(has("ie")){if(_1fb=="auto"){if(type=="height"){return node.offsetHeight;}if(type=="width"){return node.offsetWidth;}}if(type=="fontweight"){switch(_1fb){case 700:return "bold";case 400:default:return "normal";}}}if(!(type in _1f8)){_1f8[type]=_1f9.test(type);}return _1f8[type]?_1ec(node,_1fb):_1fb;};var _1fc=has("ie")?"styleFloat":"cssFloat",_1fd={"cssFloat":_1fc,"styleFloat":_1fc,"float":_1fc};_1eb.get=function getStyle(node,name){var n=dom.byId(node),l=arguments.length,op=(name=="opacity");if(l==2&&op){return _1f3(n);}name=_1fd[name]||name;var s=_1eb.getComputedStyle(n);return (l==1)?s:_1fa(n,name,s[name]||n.style[name]);};_1eb.set=function setStyle(node,name,_1fe){var n=dom.byId(node),l=arguments.length,op=(name=="opacity");name=_1fd[name]||name;if(l==3){return op?_1f4(n,_1fe):n.style[name]=_1fe;}for(var x in name){_1eb.set(node,x,name[x]);}return _1eb.getComputedStyle(n);};return _1eb;});},"dojo/dom-attr":function(){define(["exports","./_base/sniff","./_base/lang","./dom","./dom-style","./dom-prop"],function(_1ff,has,lang,dom,_200,prop){var _201={innerHTML:1,className:1,htmlFor:has("ie"),value:1},_202={classname:"class",htmlfor:"for",tabindex:"tabIndex",readonly:"readOnly"};function _203(node,name){var attr=node.getAttributeNode&&node.getAttributeNode(name);return attr&&attr.specified;};_1ff.has=function hasAttr(node,name){var lc=name.toLowerCase();return _201[prop.names[lc]||name]||_203(dom.byId(node),_202[lc]||name);};_1ff.get=function getAttr(node,name){node=dom.byId(node);var lc=name.toLowerCase(),_204=prop.names[lc]||name,_205=_201[_204];value=node[_204];if(_205&&typeof value!="undefined"){return value;}if(_204!="href"&&(typeof value=="boolean"||lang.isFunction(value))){return value;}var _206=_202[lc]||name;return _203(node,_206)?node.getAttribute(_206):null;};_1ff.set=function setAttr(node,name,_207){node=dom.byId(node);if(arguments.length==2){for(var x in name){_1ff.set(node,x,name[x]);}return node;}var lc=name.toLowerCase(),_208=prop.names[lc]||name,_209=_201[_208];if(_208=="style"&&typeof _207!="string"){_200.set(node,_207);return node;}if(_209||typeof _207=="boolean"||lang.isFunction(_207)){return prop.set(node,name,_207);}node.setAttribute(_202[lc]||name,_207);return node;};_1ff.remove=function removeAttr(node,name){dom.byId(node).removeAttribute(_202[name.toLowerCase()]||name);};_1ff.getNodeProp=function getNodeProp(node,name){node=dom.byId(node);var lc=name.toLowerCase(),_20a=prop.names[lc]||name;if((_20a in node)&&_20a!="href"){return node[_20a];}var _20b=_202[lc]||name;return _203(node,_20b)?node.getAttribute(_20b):null;};});},"dojo/dom-prop":function(){define(["exports","./_base/kernel","./_base/sniff","./_base/lang","./dom","./dom-style","./dom-construct","./_base/connect"],function(_20c,dojo,has,lang,dom,_20d,ctr,conn){var _20e={},_20f=0,_210=dojo._scopeName+"attrid";var _211={col:1,colgroup:1,table:1,tbody:1,tfoot:1,thead:1,tr:1,title:1};_20c.names={"class":"className","for":"htmlFor",tabindex:"tabIndex",readonly:"readOnly",colspan:"colSpan",frameborder:"frameBorder",rowspan:"rowSpan",valuetype:"valueType"};_20c.get=function getProp(node,name){node=dom.byId(node);var lc=name.toLowerCase(),_212=_20c.names[lc]||name;return node[_212];};_20c.set=function setProp(node,name,_213){node=dom.byId(node);var l=arguments.length;if(l==2&&typeof name!="string"){for(var x in name){_20c.set(node,x,name[x]);}return node;}var lc=name.toLowerCase(),_214=_20c.names[lc]||name;if(_214=="style"&&typeof _213!="string"){_20d.style(node,_213);return node;}if(_214=="innerHTML"){if(has("ie")&&node.tagName.toLowerCase() in _211){ctr.empty(node);node.appendChild(ctr.toDom(_213,node.ownerDocument));}else{node[_214]=_213;}return node;}if(lang.isFunction(_213)){var _215=node[_210];if(!_215){_215=_20f++;node[_210]=_215;}if(!_20e[_215]){_20e[_215]={};}var h=_20e[_215][_214];if(h){conn.disconnect(h);}else{try{delete node[_214];}catch(e){}}if(_213){_20e[_215][_214]=conn.connect(node,_214,_213);}else{node[_214]=null;}return node;}node[_214]=_213;return node;};});},"dojo/dom-construct":function(){define(["exports","./_base/kernel","./_base/sniff","./_base/window","./dom","./dom-attr","./on"],function(_216,dojo,has,win,dom,attr,on){var _217={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"]},_218=/<\s*([\w\:]+)/,_219={},_21a=0,_21b="__"+dojo._scopeName+"ToDomId";for(var _21c in _217){if(_217.hasOwnProperty(_21c)){var tw=_217[_21c];tw.pre=_21c=="option"?"<select multiple=\"multiple\">":"<"+tw.join("><")+">";tw.post="</"+tw.reverse().join("></")+">";}}function _21d(node,ref){var _21e=ref.parentNode;if(_21e){_21e.insertBefore(node,ref);}};function _21f(node,ref){var _220=ref.parentNode;if(_220){if(_220.lastChild==ref){_220.appendChild(node);}else{_220.insertBefore(node,ref.nextSibling);}}};var _221=null,_222;on(window,"unload",function(){_221=null;});_216.toDom=function toDom(frag,doc){doc=doc||win.doc;var _223=doc[_21b];if(!_223){doc[_21b]=_223=++_21a+"";_219[_223]=doc.createElement("div");}frag+="";var _224=frag.match(_218),tag=_224?_224[1].toLowerCase():"",_225=_219[_223],wrap,i,fc,df;if(_224&&_217[tag]){wrap=_217[tag];_225.innerHTML=wrap.pre+frag+wrap.post;for(i=wrap.length;i;--i){_225=_225.firstChild;}}else{_225.innerHTML=frag;}if(_225.childNodes.length==1){return _225.removeChild(_225.firstChild);}df=doc.createDocumentFragment();while(fc=_225.firstChild){df.appendChild(fc);}return df;};_216.place=function place(node,_226,_227){_226=dom.byId(_226);if(typeof node=="string"){node=/^\s*</.test(node)?_216.toDom(node,_226.ownerDocument):dom.byId(node);}if(typeof _227=="number"){var cn=_226.childNodes;if(!cn.length||cn.length<=_227){_226.appendChild(node);}else{_21d(node,cn[_227<0?0:_227]);}}else{switch(_227){case "before":_21d(node,_226);break;case "after":_21f(node,_226);break;case "replace":_226.parentNode.replaceChild(node,_226);break;case "only":_216.empty(_226);_226.appendChild(node);break;case "first":if(_226.firstChild){_21d(node,_226.firstChild);break;}default:_226.appendChild(node);}}return node;};_216.create=function create(tag,_228,_229,pos){var doc=win.doc;if(_229){_229=dom.byId(_229);doc=_229.ownerDocument;}if(typeof tag=="string"){tag=doc.createElement(tag);}if(_228){attr.set(tag,_228);}if(_229){_216.place(tag,_229,pos);}return tag;};_216.empty=has("ie")?function(node){node=dom.byId(node);for(var c;c=node.lastChild;){_216.destroy(c);}}:function(node){dom.byId(node).innerHTML="";};_216.destroy=function destroy(node){node=dom.byId(node);try{var doc=node.ownerDocument;if(!_221||_222!=doc){_221=doc.createElement("div");_222=doc;}_221.appendChild(node.parentNode?node.parentNode.removeChild(node):node);_221.innerHTML="";}catch(e){}};});},"dojo/on":function(){define(["./has!dom-addeventlistener?:./aspect","./_base/kernel","./has"],function(_22a,dojo,has){"use strict";if(1){var _22b=window.ScriptEngineMajorVersion;has.add("jscript",_22b&&(_22b()+ScriptEngineMinorVersion()/10));has.add("event-orientationchange",has("touch")&&!has("android"));}var on=function(_22c,type,_22d,_22e){if(_22c.on){return _22c.on(type,_22d);}return on.parse(_22c,type,_22d,_22f,_22e,this);};on.pausable=function(_230,type,_231,_232){var _233;var _234=on(_230,type,function(){if(!_233){return _231.apply(this,arguments);}},_232);_234.pause=function(){_233=true;};_234.resume=function(){_233=false;};return _234;};on.once=function(_235,type,_236,_237){var _238=on(_235,type,function(){_238.remove();return _236.apply(this,arguments);});return _238;};on.parse=function(_239,type,_23a,_23b,_23c,_23d){if(type.call){return type.call(_23d,_239,_23a);}if(type.indexOf(",")>-1){var _23e=type.split(/\s*,\s*/);var _23f=[];var i=0;var _240;while(_240=_23e[i++]){_23f.push(_23b(_239,_240,_23a,_23c,_23d));}_23f.remove=function(){for(var i=0;i<_23f.length;i++){_23f[i].remove();}};return _23f;}return _23b(_239,type,_23a,_23c,_23d);};var _241=/^touch/;function _22f(_242,type,_243,_244,_245){var _246=type.match(/(.*):(.*)/);if(_246){type=_246[2];_246=_246[1];return on.selector(_246,type).call(_245,_242,_243);}if(has("touch")){if(_241.test(type)){_243=_247(_243);}if(!has("event-orientationchange")&&(type=="orientationchange")){type="resize";_242=window;_243=_247(_243);}}if(_242.addEventListener){var _248=type in _249;_242.addEventListener(_248?_249[type]:type,_243,_248);return {remove:function(){_242.removeEventListener(type,_243,_248);}};}type="on"+type;if(_24a&&_242.attachEvent){return _24a(_242,type,_243);}throw new Error("Target must be an event emitter");};on.selector=function(_24b,_24c,_24d){return function(_24e,_24f){var _250=this;var _251=_24c.bubble;if(_251){_24c=_251;}else{if(_24d!==false){_24d=true;}}return on(_24e,_24c,function(_252){var _253=_252.target;_250=_250&&_250.matches?_250:dojo.query;while(!_250.matches(_253,_24b,_24e)){if(_253==_24e||!_24d||!(_253=_253.parentNode)){return;}}return _24f.call(_253,_252);});};};function _254(){this.cancelable=false;};function _255(){this.bubbles=false;};var _256=[].slice,_257=on.emit=function(_258,type,_259){var args=_256.call(arguments,2);var _25a="on"+type;if("parentNode" in _258){var _25b=args[0]={};for(var i in _259){_25b[i]=_259[i];}_25b.preventDefault=_254;_25b.stopPropagation=_255;_25b.target=_258;_25b.type=type;_259=_25b;}do{_258[_25a]&&_258[_25a].apply(_258,args);}while(_259&&_259.bubbles&&(_258=_258.parentNode));return _259&&_259.cancelable&&_259;};var _249={};if(has("dom-addeventlistener")){_249={focusin:"focus",focusout:"blur"};if(has("opera")){_249.keydown="keypress";}on.emit=function(_25c,type,_25d){if(_25c.dispatchEvent&&document.createEvent){var _25e=document.createEvent("HTMLEvents");_25e.initEvent(type,!!_25d.bubbles,!!_25d.cancelable);for(var i in _25d){var _25f=_25d[i];if(!(i in _25e)){_25e[i]=_25d[i];}}return _25c.dispatchEvent(_25e)&&_25e;}return _257.apply(on,arguments);};}else{on._fixEvent=function(evt,_260){if(!evt){var w=_260&&(_260.ownerDocument||_260.document||_260).parentWindow||window;evt=w.event;}if(!evt){return (evt);}if(!evt.target){evt.target=evt.srcElement;evt.currentTarget=(_260||evt.srcElement);if(evt.type=="mouseover"){evt.relatedTarget=evt.fromElement;}if(evt.type=="mouseout"){evt.relatedTarget=evt.toElement;}if(!evt.stopPropagation){evt.stopPropagation=_261;evt.preventDefault=_262;}switch(evt.type){case "keypress":var c=("charCode" in evt?evt.charCode:evt.keyCode);if(c==10){c=0;evt.keyCode=13;}else{if(c==13||c==27){c=0;}else{if(c==3){c=99;}}}evt.charCode=c;_263(evt);break;}}return evt;};var _264=function(_265){this.handle=_265;};_264.prototype.remove=function(){delete _dojoIEListeners_[this.handle];};var _266=function(_267){return function(evt){evt=on._fixEvent(evt,this);return _267.call(this,evt);};};var _24a=function(_268,type,_269){_269=_266(_269);if(((_268.ownerDocument?_268.ownerDocument.parentWindow:_268.parentWindow||_268.window||window)!=top||has("jscript")<5.8)&&!has("config-_allow_leaks")){if(typeof _dojoIEListeners_=="undefined"){_dojoIEListeners_=[];}var _26a=_268[type];if(!_26a||!_26a.listeners){var _26b=_26a;_268[type]=_26a=Function("event","var callee = arguments.callee; for(var i = 0; i<callee.listeners.length; i++){var listener = _dojoIEListeners_[callee.listeners[i]]; if(listener){listener.call(this,event);}}");_26a.listeners=[];_26a.global=this;if(_26b){_26a.listeners.push(_dojoIEListeners_.push(_26b)-1);}}var _26c;_26a.listeners.push(_26c=(_26a.global._dojoIEListeners_.push(_269)-1));return new _264(_26c);}return _22a.after(_268,type,_269,true);};var _263=function(evt){evt.keyChar=evt.charCode?String.fromCharCode(evt.charCode):"";evt.charOrCode=evt.keyChar||evt.keyCode;};var _261=function(){this.cancelBubble=true;};var _262=on._preventDefault=function(){this.bubbledKeyCode=this.keyCode;if(this.ctrlKey){try{this.keyCode=0;}catch(e){}}this.returnValue=false;};}if(has("touch")){var _26d=function(){};var _26e=window.orientation;var _247=function(_26f){return function(_270){var _271=_270.corrected;if(!_271){var type=_270.type;try{delete _270.type;}catch(e){}if(_270.type){_26d.prototype=_270;var _271=new _26d;_271.preventDefault=function(){_270.preventDefault();};_271.stopPropagation=function(){_270.stopPropagation();};}else{_271=_270;_271.type=type;}_270.corrected=_271;if(type=="resize"){if(_26e==window.orientation){return null;}_26e=window.orientation;_271.type="orientationchange";return _26f.call(this,_271);}if(!("rotation" in _271)){_271.rotation=0;_271.scale=1;}var _272=_271.changedTouches[0];for(var i in _272){delete _271[i];_271[i]=_272[i];}}return _26f.call(this,_271);};};}return on;});},"dojo/_base/connect":function(){define(["./kernel","../on","../topic","../aspect","./event","../mouse","./sniff","./lang","../keys"],function(_273,on,hub,_274,_275,_276,has,lang){has.add("events-keypress-typed",function(){var _277={charCode:0};try{_277=document.createEvent("KeyboardEvent");(_277.initKeyboardEvent||_277.initKeyEvent).call(_277,"keypress",true,true,null,false,false,false,false,9,3);}catch(e){}return _277.charCode==0&&!has("opera");});function _278(obj,_279,_27a,_27b,_27c){_27b=lang.hitch(_27a,_27b);if(!obj||!(obj.addEventListener||obj.attachEvent)){return _274.after(obj||_273.global,_279,_27b,true);}if(typeof _279=="string"&&_279.substring(0,2)=="on"){_279=_279.substring(2);}if(!obj){obj=_273.global;}if(!_27c){switch(_279){case "keypress":_279=_27d;break;case "mouseenter":_279=_276.enter;break;case "mouseleave":_279=_276.leave;break;}}return on(obj,_279,_27b,_27c);};var _27e={106:42,111:47,186:59,187:43,188:44,189:45,190:46,191:47,192:96,219:91,220:92,221:93,222:39,229:113};var _27f=has("mac")?"metaKey":"ctrlKey";var _280=function(evt,_281){var faux=lang.mixin({},evt,_281);_282(faux);faux.preventDefault=function(){evt.preventDefault();};faux.stopPropagation=function(){evt.stopPropagation();};return faux;};function _282(evt){evt.keyChar=evt.charCode?String.fromCharCode(evt.charCode):"";evt.charOrCode=evt.keyChar||evt.keyCode;};var _27d;if(has("events-keypress-typed")){var _283=function(e,code){try{return (e.keyCode=code);}catch(e){return 0;}};_27d=function(_284,_285){var _286=on(_284,"keydown",function(evt){var k=evt.keyCode;var _287=(k!=13||(has("ie")>=9&&!has("quirks")))&&k!=32&&(k!=27||!has("ie"))&&(k<48||k>90)&&(k<96||k>111)&&(k<186||k>192)&&(k<219||k>222)&&k!=229;if(_287||evt.ctrlKey){var c=_287?0:k;if(evt.ctrlKey){if(k==3||k==13){return _285.call(evt.currentTarget,evt);}else{if(c>95&&c<106){c-=48;}else{if((!evt.shiftKey)&&(c>=65&&c<=90)){c+=32;}else{c=_27e[c]||c;}}}}var faux=_280(evt,{type:"keypress",faux:true,charCode:c});_285.call(evt.currentTarget,faux);if(has("ie")){_283(evt,faux.keyCode);}}});var _288=on(_284,"keypress",function(evt){var c=evt.charCode;c=c>=32?c:0;evt=_280(evt,{charCode:c,faux:true});return _285.call(this,evt);});return {remove:function(){_286.remove();_288.remove();}};};}else{if(has("opera")){_27d=function(_289,_28a){return on(_289,"keypress",function(evt){var c=evt.which;if(c==3){c=99;}c=c<32&&!evt.shiftKey?0:c;if(evt.ctrlKey&&!evt.shiftKey&&c>=65&&c<=90){c+=32;}return _28a.call(this,_280(evt,{charCode:c}));});};}else{_27d=function(_28b,_28c){return on(_28b,"keypress",function(evt){_282(evt);return _28c.call(this,evt);});};}}var _28d={_keypress:_27d,connect:function(obj,_28e,_28f,_290,_291){var a=arguments,args=[],i=0;args.push(typeof a[0]=="string"?null:a[i++],a[i++]);var a1=a[i+1];args.push(typeof a1=="string"||typeof a1=="function"?a[i++]:null,a[i++]);for(var l=a.length;i<l;i++){args.push(a[i]);}return _278.apply(this,args);},disconnect:function(_292){if(_292){_292.remove();}},subscribe:function(_293,_294,_295){return hub.subscribe(_293,lang.hitch(_294,_295));},publish:function(_296,args){return hub.publish.apply(hub,[_296].concat(args));},connectPublisher:function(_297,obj,_298){var pf=function(){_28d.publish(_297,arguments);};return _298?_28d.connect(obj,_298,pf):_28d.connect(obj,pf);},isCopyKey:function(e){return e[_27f];}};_28d.unsubscribe=_28d.disconnect;1&&lang.mixin(_273,_28d);return _28d;});},"dojo/topic":function(){define(["./Evented"],function(_299){var hub=new _299;return {publish:function(_29a,_29b){return hub.emit.apply(hub,arguments);},subscribe:function(_29c,_29d){return hub.on.apply(hub,arguments);}};});},"dojo/Evented":function(){define(["./aspect","./on"],function(_29e,on){"use strict";var _29f=_29e.after;function _2a0(){};_2a0.prototype={on:function(type,_2a1){return on.parse(this,type,_2a1,function(_2a2,type){return _29f(_2a2,"on"+type,_2a1,true);});},emit:function(type,_2a3){var args=[this];args.push.apply(args,arguments);return on.emit.apply(on,args);}};return _2a0;});},"dojo/aspect":function(){define("dojo/aspect",[],function(){"use strict";var _2a4=0;function _2a5(_2a6,type,_2a7,_2a8){var _2a9=_2a6[type];var _2aa=type=="around";var _2ab;if(_2aa){var _2ac=_2a7(function(){return _2a9.advice(this,arguments);});_2ab={remove:function(){_2ab.cancelled=true;},advice:function(_2ad,args){return _2ab.cancelled?_2a9.advice(_2ad,args):_2ac.apply(_2ad,args);}};}else{_2ab={remove:function(){var _2ae=_2ab.previous;var next=_2ab.next;if(!next&&!_2ae){delete _2a6[type];}else{if(_2ae){_2ae.next=next;}else{_2a6[type]=next;}if(next){next.previous=_2ae;}}},id:_2a4++,advice:_2a7,receiveArguments:_2a8};}if(_2a9&&!_2aa){if(type=="after"){var next=_2a9;while(next){_2a9=next;next=next.next;}_2a9.next=_2ab;_2ab.previous=_2a9;}else{if(type=="before"){_2a6[type]=_2ab;_2ab.next=_2a9;_2a9.previous=_2ab;}}}else{_2a6[type]=_2ab;}return _2ab;};function _2af(type){return function(_2b0,_2b1,_2b2,_2b3){var _2b4=_2b0[_2b1],_2b5;if(!_2b4||_2b4.target!=_2b0){_2b0[_2b1]=_2b5=function(){var _2b6=_2a4;var args=arguments;var _2b7=_2b5.before;while(_2b7){args=_2b7.advice.apply(this,args)||args;_2b7=_2b7.next;}if(_2b5.around){var _2b8=_2b5.around.advice(this,args);}var _2b9=_2b5.after;while(_2b9&&_2b9.id<_2b6){_2b8=_2b9.receiveArguments?_2b9.advice.apply(this,args)||_2b8:_2b9.advice.call(this,_2b8);_2b9=_2b9.next;}return _2b8;};if(_2b4){_2b5.around={advice:function(_2ba,args){return _2b4.apply(_2ba,args);}};}_2b5.target=_2b0;}var _2bb=_2a5((_2b5||_2b4),type,_2b2,_2b3);_2b2=null;return _2bb;};};return {before:_2af("before"),around:_2af("around"),after:_2af("after")};});},"dojo/_base/event":function(){define(["./kernel","../on","../has","../dom-geometry"],function(dojo,on,has,dom){if(on._fixEvent){var _2bc=on._fixEvent;on._fixEvent=function(evt,se){evt=_2bc(evt,se);if(evt){dom.normalizeEvent(evt);}return evt;};}dojo.fixEvent=function(evt,_2bd){if(on._fixEvent){return on._fixEvent(evt,_2bd);}return evt;};dojo.stopEvent=function(evt){if(has("dom-addeventlistener")||(evt&&evt.preventDefault)){evt.preventDefault();evt.stopPropagation();}else{evt=evt||window.event;evt.cancelBubble=true;on._preventDefault.call(evt);}};return {fix:dojo.fixEvent,stop:dojo.stopEvent};});},"dojo/dom-geometry":function(){define(["./_base/sniff","./_base/window","./dom","./dom-style"],function(has,win,dom,_2be){var geom={};geom.boxModel="content-box";if(has("ie")){geom.boxModel=document.compatMode=="BackCompat"?"border-box":"content-box";}geom.getPadExtents=function getPadExtents(node,_2bf){node=dom.byId(node);var s=_2bf||_2be.getComputedStyle(node),px=_2be.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,_2c0){node=dom.byId(node);var px=_2be.toPixelValue,s=_2c0||_2be.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,_2c1){node=dom.byId(node);var s=_2c1||_2be.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,_2c2){node=dom.byId(node);var s=_2c2||_2be.getComputedStyle(node),px=_2be.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,_2c3){node=dom.byId(node);var s=_2c3||_2be.getComputedStyle(node),me=geom.getMarginExtents(node,s),l=node.offsetLeft-me.l,t=node.offsetTop-me.t,p=node.parentNode,px=_2be.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=_2be.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=_2be.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,_2c4){node=dom.byId(node);var s=_2c4||_2be.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 _2c5(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 _2c6(node){return node.tagName.toLowerCase()=="button"||node.tagName.toLowerCase()=="input"&&(node.getAttribute("type")||"").toLowerCase()=="button";};function _2c7(node){return geom.boxModel=="border-box"||node.tagName.toLowerCase()=="table"||_2c6(node);};geom.setContentSize=function setContentSize(node,box,_2c8){node=dom.byId(node);var w=box.w,h=box.h;if(_2c7(node)){var pb=geom.getPadBorderExtents(node,_2c8);if(w>=0){w+=pb.w;}if(h>=0){h+=pb.h;}}_2c5(node,NaN,NaN,w,h);};var _2c9={l:0,t:0,w:0,h:0};geom.setMarginBox=function setMarginBox(node,box,_2ca){node=dom.byId(node);var s=_2ca||_2be.getComputedStyle(node),w=box.w,h=box.h,pb=_2c7(node)?_2c9:geom.getPadBorderExtents(node,s),mb=geom.getMarginExtents(node,s);if(has("webkit")){if(_2c6(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);}_2c5(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(_2cb){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){_2cb+=de.clientLeft;}return (ie<8||qk)?(_2cb+de.clientWidth-de.scrollWidth):-_2cb;}return _2cb;};geom.position=function(node,_2cc){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 _2cd=geom.getIeDocumentElementOffset();ret.x-=_2cd.x+(has("quirks")?db.clientLeft+db.offsetLeft:0);ret.y-=_2cd.y+(has("quirks")?db.clientTop+db.offsetTop:0);}else{if(has("ff")==3){var cs=_2be.getComputedStyle(dh),px=_2be.toPixelValue;ret.x-=px(dh,cs.marginLeft)+px(dh,cs.borderLeftWidth);ret.y-=px(dh,cs.marginTop)+px(dh,cs.borderTopWidth);}}if(_2cc){var _2ce=geom.docScroll();ret.x+=_2ce.x;ret.y+=_2ce.y;}return ret;};geom.getMarginSize=function getMarginSize(node,_2cf){node=dom.byId(node);var me=geom.getMarginExtents(node,_2cf||_2be.getComputedStyle(node));var size=node.getBoundingClientRect();return {w:(size.right-size.left)+me.w,h:(size.bottom-size.top)+me.h};};geom.normalizeEvent=function(_2d0){if(!("layerX" in _2d0)){_2d0.layerX=_2d0.offsetX;_2d0.layerY=_2d0.offsetY;}if(!has("dom-addeventlistener")){var se=_2d0.target;var doc=(se&&se.ownerDocument)||document;var _2d1=has("quirks")?doc.body:doc.documentElement;var _2d2=geom.getIeDocumentElementOffset();_2d0.pageX=_2d0.clientX+geom.fixIeBiDiScrollLeft(_2d1.scrollLeft||0)-_2d2.x;_2d0.pageY=_2d0.clientY+(_2d1.scrollTop||0)-_2d2.y;}};return geom;});},"dojo/mouse":function(){define(["./_base/kernel","./on","./has","./dom","./_base/window"],function(dojo,on,has,dom,win){has.add("dom-quirks",win.doc&&win.doc.compatMode=="BackCompat");has.add("events-mouseenter",win.doc&&"onmouseenter" in win.doc.createElement("div"));var _2d3;if(has("dom-quirks")||!has("dom-addeventlistener")){_2d3={LEFT:1,MIDDLE:4,RIGHT:2,isButton:function(e,_2d4){return e.button&_2d4;},isLeft:function(e){return e.button&1;},isMiddle:function(e){return e.button&4;},isRight:function(e){return e.button&2;}};}else{_2d3={LEFT:0,MIDDLE:1,RIGHT:2,isButton:function(e,_2d5){return e.button==_2d5;},isLeft:function(e){return e.button==0;},isMiddle:function(e){return e.button==1;},isRight:function(e){return e.button==2;}};}dojo.mouseButtons=_2d3;function _2d6(type,_2d7){var _2d8=function(node,_2d9){return on(node,type,function(evt){if(!dom.isDescendant(evt.relatedTarget,_2d7?evt.target:node)){return _2d9.call(this,evt);}});};if(!_2d7){_2d8.bubble=_2d6(type,true);}return _2d8;};return {enter:_2d6("mouseover"),leave:_2d6("mouseout"),isLeft:_2d3.isLeft,isMiddle:_2d3.isMiddle,isRight:_2d3.isRight};});},"dojo/keys":function(){define(["./_base/kernel","./_base/sniff"],function(dojo,has){return dojo.keys={BACKSPACE:8,TAB:9,CLEAR:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,META:has("safari")?91:224,PAUSE:19,CAPS_LOCK:20,ESCAPE:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT_ARROW:37,UP_ARROW:38,RIGHT_ARROW:39,DOWN_ARROW:40,INSERT:45,DELETE:46,HELP:47,LEFT_WINDOW:91,RIGHT_WINDOW:92,SELECT:93,NUMPAD_0:96,NUMPAD_1:97,NUMPAD_2:98,NUMPAD_3:99,NUMPAD_4:100,NUMPAD_5:101,NUMPAD_6:102,NUMPAD_7:103,NUMPAD_8:104,NUMPAD_9:105,NUMPAD_MULTIPLY:106,NUMPAD_PLUS:107,NUMPAD_ENTER:108,NUMPAD_MINUS:109,NUMPAD_PERIOD:110,NUMPAD_DIVIDE:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,NUM_LOCK:144,SCROLL_LOCK:145,UP_DPAD:175,DOWN_DPAD:176,LEFT_DPAD:177,RIGHT_DPAD:178,copyKey:has("mac")&&!has("air")?(has("safari")?91:224):17};});},"dojo/dom-class":function(){define(["./_base/lang","./_base/array","./dom"],function(lang,_2da,dom){var _2db="className";var cls,_2dc=/\s+/,a1=[""];function _2dd(s){if(typeof s=="string"||s instanceof String){if(s&&!_2dc.test(s)){a1[0]=s;return a1;}var a=s.split(_2dc);if(a.length&&!a[0]){a.shift();}if(a.length&&!a[a.length-1]){a.pop();}return a;}if(!s){return [];}return _2da.filter(s,function(x){return x;});};var _2de={};cls={contains:function containsClass(node,_2df){return ((" "+dom.byId(node)[_2db]+" ").indexOf(" "+_2df+" ")>=0);},add:function addClass(node,_2e0){node=dom.byId(node);_2e0=_2dd(_2e0);var cls=node[_2db],_2e1;cls=cls?" "+cls+" ":" ";_2e1=cls.length;for(var i=0,len=_2e0.length,c;i<len;++i){c=_2e0[i];if(c&&cls.indexOf(" "+c+" ")<0){cls+=c+" ";}}if(_2e1<cls.length){node[_2db]=cls.substr(1,cls.length-2);}},remove:function removeClass(node,_2e2){node=dom.byId(node);var cls;if(_2e2!==undefined){_2e2=_2dd(_2e2);cls=" "+node[_2db]+" ";for(var i=0,len=_2e2.length;i<len;++i){cls=cls.replace(" "+_2e2[i]+" "," ");}cls=lang.trim(cls);}else{cls="";}if(node[_2db]!=cls){node[_2db]=cls;}},replace:function replaceClass(node,_2e3,_2e4){node=dom.byId(node);_2de[_2db]=node[_2db];cls.remove(_2de,_2e4);cls.add(_2de,_2e3);if(node[_2db]!==_2de[_2db]){node[_2db]=_2de[_2db];}},toggle:function toggleClass(node,_2e5,_2e6){node=dom.byId(node);if(_2e6===undefined){_2e5=_2dd(_2e5);for(var i=0,len=_2e5.length,c;i<len;++i){c=_2e5[i];cls[cls.contains(node,c)?"remove":"add"](node,c);}}else{cls[_2e6?"add":"remove"](node,_2e5);}return _2e6;}};return cls;});},"dojo/_base/url":function(){define(["./kernel"],function(dojo){var ore=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),ire=new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$"),_2e7=function(){var n=null,_2e8=arguments,uri=[_2e8[0]];for(var i=1;i<_2e8.length;i++){if(!_2e8[i]){continue;}var _2e9=new _2e7(_2e8[i]+""),_2ea=new _2e7(uri[0]+"");if(_2e9.path==""&&!_2e9.scheme&&!_2e9.authority&&!_2e9.query){if(_2e9.fragment!=n){_2ea.fragment=_2e9.fragment;}_2e9=_2ea;}else{if(!_2e9.scheme){_2e9.scheme=_2ea.scheme;if(!_2e9.authority){_2e9.authority=_2ea.authority;if(_2e9.path.charAt(0)!="/"){var path=_2ea.path.substring(0,_2ea.path.lastIndexOf("/")+1)+_2e9.path;var segs=path.split("/");for(var j=0;j<segs.length;j++){if(segs[j]=="."){if(j==segs.length-1){segs[j]="";}else{segs.splice(j,1);j--;}}else{if(j>0&&!(j==1&&segs[0]=="")&&segs[j]==".."&&segs[j-1]!=".."){if(j==(segs.length-1)){segs.splice(j,1);segs[j-1]="";}else{segs.splice(j-1,2);j-=2;}}}}_2e9.path=segs.join("/");}}}}uri=[];if(_2e9.scheme){uri.push(_2e9.scheme,":");}if(_2e9.authority){uri.push("//",_2e9.authority);}uri.push(_2e9.path);if(_2e9.query){uri.push("?",_2e9.query);}if(_2e9.fragment){uri.push("#",_2e9.fragment);}}this.uri=uri.join("");var r=this.uri.match(ore);this.scheme=r[2]||(r[1]?"":n);this.authority=r[4]||(r[3]?"":n);this.path=r[5];this.query=r[7]||(r[6]?"":n);this.fragment=r[9]||(r[8]?"":n);if(this.authority!=n){r=this.authority.match(ire);this.user=r[3]||n;this.password=r[4]||n;this.host=r[6]||r[7];this.port=r[9]||n;}};_2e7.prototype.toString=function(){return this.uri;};return dojo._Url=_2e7;});},"dojo/_base/json":function(){define(["./kernel","../json"],function(dojo,json){dojo.fromJson=function(js){return eval("("+js+")");};dojo._escapeString=json.stringify;dojo.toJsonIndentStr="\t";dojo.toJson=function(it,_2eb){return json.stringify(it,function(key,_2ec){if(_2ec){var tf=_2ec.__json__||_2ec.json;if(typeof tf=="function"){return tf.call(_2ec);}}return _2ec;},_2eb&&dojo.toJsonIndentStr);};return dojo;});},"dojo/json":function(){define(["./has"],function(has){"use strict";var _2ed=typeof JSON!="undefined";has.add("json-parse",_2ed);has.add("json-stringify",_2ed&&JSON.stringify({a:0},function(k,v){return v||1;})=="{\"a\":1}");if(has("json-stringify")){return JSON;}else{var _2ee=function(str){return ("\""+str.replace(/(["\\])/g,"\\$1")+"\"").replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r");};return {parse:has("json-parse")?JSON.parse:function(str,_2ef){if(_2ef&&!/^([\s\[\{]*(?:"(?:\\.|[^"])+"|-?\d[\d\.]*(?:[Ee][+-]?\d+)?|null|true|false|)[\s\]\}]*(?:,|:|$))+$/.test(str)){throw new SyntaxError("Invalid characters in JSON");}return eval("("+str+")");},stringify:function(_2f0,_2f1,_2f2){var _2f3;if(typeof _2f1=="string"){_2f2=_2f1;_2f1=null;}function _2f4(it,_2f5,key){if(_2f1){it=_2f1(key,it);}var val,_2f6=typeof it;if(_2f6=="number"){return isFinite(it)?it+"":"null";}if(_2f6=="boolean"){return it+"";}if(it===null){return "null";}if(typeof it=="string"){return _2ee(it);}if(_2f6=="function"||_2f6=="undefined"){return _2f3;}if(typeof it.toJSON=="function"){return _2f4(it.toJSON(key),_2f5,key);}if(it instanceof Date){return "\"{FullYear}-{Month+}-{Date}T{Hours}:{Minutes}:{Seconds}Z\"".replace(/\{(\w+)(\+)?\}/g,function(t,prop,plus){var num=it["getUTC"+prop]()+(plus?1:0);return num<10?"0"+num:num;});}if(it.valueOf()!==it){return _2f4(it.valueOf(),_2f5,key);}var _2f7=_2f2?(_2f5+_2f2):"";var sep=_2f2?" ":"";var _2f8=_2f2?"\n":"";if(it instanceof Array){var itl=it.length,res=[];for(key=0;key<itl;key++){var obj=it[key];val=_2f4(obj,_2f7,key);if(typeof val!="string"){val="null";}res.push(_2f8+_2f7+val);}return "["+res.join(",")+_2f8+_2f5+"]";}var _2f9=[];for(key in it){var _2fa;if(typeof key=="number"){_2fa="\""+key+"\"";}else{if(typeof key=="string"){_2fa=_2ee(key);}else{continue;}}val=_2f4(it[key],_2f7,key);if(typeof val!="string"){continue;}_2f9.push(_2f8+_2f7+_2fa+":"+sep+val);}return "{"+_2f9.join(",")+_2f8+_2f5+"}";};return _2f4(_2f0,"","");}};}});},"dojo/date/stamp":function(){define(["../_base/kernel","../_base/lang","../_base/array"],function(dojo,lang,_2fb){lang.getObject("date.stamp",true,dojo);dojo.date.stamp.fromISOString=function(_2fc,_2fd){if(!dojo.date.stamp._isoRegExp){dojo.date.stamp._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/;}var _2fe=dojo.date.stamp._isoRegExp.exec(_2fc),_2ff=null;if(_2fe){_2fe.shift();if(_2fe[1]){_2fe[1]--;}if(_2fe[6]){_2fe[6]*=1000;}if(_2fd){_2fd=new Date(_2fd);_2fb.forEach(_2fb.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(prop){return _2fd["get"+prop]();}),function(_300,_301){_2fe[_301]=_2fe[_301]||_300;});}_2ff=new Date(_2fe[0]||1970,_2fe[1]||0,_2fe[2]||1,_2fe[3]||0,_2fe[4]||0,_2fe[5]||0,_2fe[6]||0);if(_2fe[0]<100){_2ff.setFullYear(_2fe[0]||1970);}var _302=0,_303=_2fe[7]&&_2fe[7].charAt(0);if(_303!="Z"){_302=((_2fe[8]||0)*60)+(Number(_2fe[9])||0);if(_303!="-"){_302*=-1;}}if(_303){_302-=_2ff.getTimezoneOffset();}if(_302){_2ff.setTime(_2ff.getTime()+_302*60000);}}return _2ff;};dojo.date.stamp.toISOString=function(_304,_305){var _306=function(n){return (n<10)?"0"+n:n;};_305=_305||{};var _307=[],_308=_305.zulu?"getUTC":"get",date="";if(_305.selector!="time"){var year=_304[_308+"FullYear"]();date=["0000".substr((year+"").length)+year,_306(_304[_308+"Month"]()+1),_306(_304[_308+"Date"]())].join("-");}_307.push(date);if(_305.selector!="date"){var time=[_306(_304[_308+"Hours"]()),_306(_304[_308+"Minutes"]()),_306(_304[_308+"Seconds"]())].join(":");var _309=_304[_308+"Milliseconds"]();if(_305.milliseconds){time+="."+(_309<100?"0":"")+_306(_309);}if(_305.zulu){time+="Z";}else{if(_305.selector!="time"){var _30a=_304.getTimezoneOffset();var _30b=Math.abs(_30a);time+=(_30a>0?"-":"+")+_306(Math.floor(_30b/60))+":"+_306(_30b%60);}}_307.push(time);}return _307.join("T");};return dojo.date.stamp;});},"dojo/query":function(){define(["./_base/kernel","./has","./dom","./on","./_base/array","./_base/lang","./selector/_loader","./selector/_loader!default"],function(dojo,has,dom,on,_30c,lang,_30d,_30e){"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,_30f=_30c.forEach;var tnl=function(a,_310,_311){var _312=new (_311||this._NodeListCtor||nl)(a);return _310?_312._stash(_310):_312;};var _313=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 _314=function(f,o){return function(){this.forEach(_313(f,arguments,o));return this;};};var _315=function(f,o){return function(){return this.map(_313(f,arguments,o));};};var _316=function(f,o){return function(){return this.filter(_313(f,arguments,o));};};var _317=function(f,g,o){return function(){var a=arguments,body=_313(f,a,o);if(g.call(o||dojo.global,a)){return this.map(body);}this.forEach(body);return this;};};var _318=function(_319){var _31a=this instanceof nl&&has("array-extensible");if(typeof _319=="number"){_319=Array(_319);}var _31b=(_319&&"length" in _319)?_319:arguments;if(_31a||!_31b.sort){var _31c=_31a?this:[],l=_31c.length=_31b.length;for(var i=0;i<l;i++){_31c[i]=_31b[i];}if(_31a){return _31c;}_31b=_31c;}lang._mixin(_31b,nlp);_31b._NodeListCtor=function(_31d){return nl(_31d);};return _31b;};var nl=_318,nlp=nl.prototype=has("array-extensible")?[]:{};nl._wrap=nlp._wrap=tnl;nl._adaptAsMap=_315;nl._adaptAsForEach=_314;nl._adaptAsFilter=_316;nl._adaptWithCondition=_317;_30f(["slice","splice"],function(name){var f=ap[name];nlp[name]=function(){return this._wrap(f.apply(this,arguments),name=="slice"?this:null);};});_30f(["indexOf","lastIndexOf","every","some"],function(name){var f=_30c[name];nlp[name]=function(){return f.apply(dojo,[this].concat(aps.call(arguments,0)));};});lang.extend(_318,{constructor:nl,_NodeListCtor:nl,toString:function(){return this.join(",");},_stash:function(_31e){this._parent=_31e;return this;},on:function(_31f,_320){var _321=this.map(function(node){return on(node,_31f,_320);});_321.remove=function(){for(var i=0;i<_321.length;i++){_321[i].remove();}};return _321;},end:function(){if(this._parent){return this._parent;}else{return new this._NodeListCtor(0);}},concat:function(item){var t=lang.isArray(this)?this:aps.call(this,0),m=_30c.map(arguments,function(a){return a&&!lang.isArray(a)&&(typeof _318!="undefined"&&a.constructor===_318||a.constructor===this._NodeListCtor)?aps.call(a,0):a;});return this._wrap(apc.apply(t,m),this);},map:function(func,obj){return this._wrap(_30c.map(this,func,obj),this);},forEach:function(_322,_323){_30f(this,_322,_323);return this;},filter:function(_324){var a=arguments,_325=this,_326=0;if(typeof _324=="string"){_325=_327._filterResult(this,a[0]);if(a.length==1){return _325._stash(this);}_326=1;}return this._wrap(_30c.filter(_325,a[_326],a[_326+1]),this);},instantiate:function(_328,_329){var c=lang.isFunction(_328)?_328:lang.getObject(_328);_329=_329||{};return this.forEach(function(node){new c(_329,node);});},at:function(){var t=new this._NodeListCtor(0);_30f(arguments,function(i){if(i<0){i=this.length+i;}if(this[i]){t.push(this[i]);}},this);return t._stash(this);}});function _32a(_32b,_32c){var _32d=function(_32e,root){if(typeof root=="string"){root=dom.byId(root);if(!root){return new _32c([]);}}var _32f=typeof _32e=="string"?_32b(_32e,root):_32e.orphan?_32e:[_32e];if(_32f.orphan){return _32f;}return new _32c(_32f);};_32d.matches=_32b.match||function(node,_330,root){return _32d.filter([node],_330,root).length>0;};_32d.filter=_32b.filter||function(_331,_332,root){return _32d(_332,root).filter(function(node){return _30c.indexOf(_331,node)>-1;});};if(typeof _32b!="function"){var _333=_32b.search;_32b=function(_334,root){return _333(root||document,_334);};}return _32d;};var _327=_32a(_30e,_318);dojo.query=_32a(_30e,function(_335){return _318(_335);});_327.load=function(id,_336,_337,_338){_30d.load(id,_336,function(_339){_337(_32a(_339,_318));});};dojo._filterQueryResult=_327._filterResult=function(_33a,_33b,root){return new _318(_327.filter(_33a,_33b,root));};dojo.NodeList=_327.NodeList=_318;return _327;});},"dojo/selector/_loader":function(){define(["../has","require"],function(has,_33c){"use strict";var _33d=document.createElement("div");has.add("dom-qsa2.1",!!_33d.querySelectorAll);has.add("dom-qsa3",function(){try{_33d.innerHTML="<p class='TEST'></p>";return _33d.querySelectorAll(".TEST:empty").length==1;}catch(e){}});var _33e;var acme="./acme",lite="./lite";return {load:function(id,_33f,_340,_341){var req=_33c;id=id=="default"?has("config-selectorEngine")||"css3":id;id=id=="css2"||id=="lite"?lite:id=="css2.1"?has("dom-qsa2.1")?lite:acme:id=="css3"?has("dom-qsa3")?lite:acme:id=="acme"?acme:(req=_33f)&&id;if(id.charAt(id.length-1)=="?"){id=id.substring(0,id.length-1);var _342=true;}if(_342&&(has("dom-compliant-qsa")||_33e)){return _340(_33e);}req([id],function(_343){if(id!="./lite"){_33e=_343;}_340(_343);});}};});},"dojo/ready":function(){define(["./_base/kernel","./has","require","./domReady","./_base/lang"],function(dojo,has,_344,_345,lang){var _346=0,_347,_348=[],_349=0,_34a=function(){_346=1;dojo._postLoad=dojo.config.afterOnLoad=true;if(_348.length){_347(_34b);}},_34b=function(){if(_346&&!_349&&_348.length){_349=1;var f=_348.shift();try{f();}finally{_349=0;}_349=0;if(_348.length){_347(_34b);}}};if(1){_344.on("idle",_34b);_347=function(){if(_344.idle()){_34b();}};}else{_347=function(){_344.ready(_34b);};}var _34c=dojo.ready=dojo.addOnLoad=function(_34d,_34e,_34f){var _350=lang._toArray(arguments);if(typeof _34d!="number"){_34f=_34e;_34e=_34d;_34d=1000;}else{_350.shift();}_34f=_34f?lang.hitch.apply(dojo,_350):function(){_34e();};_34f.priority=_34d;for(var i=0;i<_348.length&&_34d>=_348[i].priority;i++){}_348.splice(i,0,_34f);_347();};true||has.add("dojo-config-addOnLoad",1);if(1){var dca=dojo.config.addOnLoad;if(dca){_34c[(lang.isArray(dca)?"apply":"call")](dojo,dca);}}if(1&&dojo.config.parseOnLoad&&!dojo.isAsync){_34c(99,function(){if(!dojo.parser){dojo.deprecated("Add explicit require(['dojo/parser']);","","2.0");_344(["dojo/parser"]);}});}if(1){_345(_34a);}else{_34a();}return _34c;});},"dojo/domReady":function(){define(["./has"],function(has){var _351=this,doc=document,_352={"loaded":1,"complete":1},_353=typeof doc.readyState!="string",_354=!!_352[doc.readyState];if(_353){doc.readyState="loading";}if(!_354){var _355=[],_356=[],_357=function(evt){evt=evt||_351.event;if(_354||(evt.type=="readystatechange"&&!_352[doc.readyState])){return;}_354=1;if(_353){doc.readyState="complete";}while(_355.length){(_355.shift())();}},on=function(node,_358){node.addEventListener(_358,_357,false);_355.push(function(){node.removeEventListener(_358,_357,false);});};if(!has("dom-addeventlistener")){on=function(node,_359){_359="on"+_359;node.attachEvent(_359,_357);_355.push(function(){node.detachEvent(_359,_357);});};var div=doc.createElement("div");try{if(div.doScroll&&_351.frameElement===null){_356.push(function(){try{div.doScroll("left");return 1;}catch(e){}});}}catch(e){}}on(doc,"DOMContentLoaded");on(_351,"load");if("onreadystatechange" in doc){on(doc,"readystatechange");}else{if(!_353){_356.push(function(){return _352[doc.readyState];});}}if(_356.length){var _35a=function(){if(_354){return;}var i=_356.length;while(i--){if(_356[i]()){_357("poller");return;}}setTimeout(_35a,30);};_35a();}}function _35b(_35c){if(_354){_35c(1);}else{_355.push(_35c);}};_35b.load=function(id,req,load){_35b(load);};return _35b;});},"dojo/selector/acme":function(){define(["../_base/kernel","../has","../dom","../_base/sniff","../_base/array","../_base/lang","../_base/window"],function(dojo,has,dom){var trim=dojo.trim;var each=dojo.forEach;var _35d=function(){return dojo.doc;};var _35e=((dojo.isWebKit||dojo.isMozilla)&&((_35d().compatMode)=="BackCompat"));var _35f=">~+";var _360=false;var _361=function(){return true;};var _362=function(_363){if(_35f.indexOf(_363.slice(-1))>=0){_363+=" * ";}else{_363+=" ";}var ts=function(s,e){return trim(_363.slice(s,e));};var _364=[];var _365=-1,_366=-1,_367=-1,_368=-1,_369=-1,inId=-1,_36a=-1,lc="",cc="",_36b;var x=0,ql=_363.length,_36c=null,_36d=null;var _36e=function(){if(_36a>=0){var tv=(_36a==x)?null:ts(_36a,x);_36c[(_35f.indexOf(tv)<0)?"tag":"oper"]=tv;_36a=-1;}};var _36f=function(){if(inId>=0){_36c.id=ts(inId,x).replace(/\\/g,"");inId=-1;}};var _370=function(){if(_369>=0){_36c.classes.push(ts(_369+1,x).replace(/\\/g,""));_369=-1;}};var _371=function(){_36f();_36e();_370();};var _372=function(){_371();if(_368>=0){_36c.pseudos.push({name:ts(_368+1,x)});}_36c.loops=(_36c.pseudos.length||_36c.attrs.length||_36c.classes.length);_36c.oquery=_36c.query=ts(_36b,x);_36c.otag=_36c.tag=(_36c["oper"])?null:(_36c.tag||"*");if(_36c.tag){_36c.tag=_36c.tag.toUpperCase();}if(_364.length&&(_364[_364.length-1].oper)){_36c.infixOper=_364.pop();_36c.query=_36c.infixOper.query+" "+_36c.query;}_364.push(_36c);_36c=null;};for(;lc=cc,cc=_363.charAt(x),x<ql;x++){if(lc=="\\"){continue;}if(!_36c){_36b=x;_36c={query:null,pseudos:[],attrs:[],classes:[],tag:null,oper:null,id:null,getTag:function(){return (_360)?this.otag:this.tag;}};_36a=x;}if(_365>=0){if(cc=="]"){if(!_36d.attr){_36d.attr=ts(_365+1,x);}else{_36d.matchFor=ts((_367||_365+1),x);}var cmf=_36d.matchFor;if(cmf){if((cmf.charAt(0)=="\"")||(cmf.charAt(0)=="'")){_36d.matchFor=cmf.slice(1,-1);}}_36c.attrs.push(_36d);_36d=null;_365=_367=-1;}else{if(cc=="="){var _373=("|~^$*".indexOf(lc)>=0)?lc:"";_36d.type=_373+cc;_36d.attr=ts(_365+1,x-_373.length);_367=x+1;}}}else{if(_366>=0){if(cc==")"){if(_368>=0){_36d.value=ts(_366+1,x);}_368=_366=-1;}}else{if(cc=="#"){_371();inId=x+1;}else{if(cc=="."){_371();_369=x;}else{if(cc==":"){_371();_368=x;}else{if(cc=="["){_371();_365=x;_36d={};}else{if(cc=="("){if(_368>=0){_36d={name:ts(_368+1,x),value:null};_36c.pseudos.push(_36d);}_366=x;}else{if((cc==" ")&&(lc!=cc)){_372();}}}}}}}}}return _364;};var _374=function(_375,_376){if(!_375){return _376;}if(!_376){return _375;}return function(){return _375.apply(window,arguments)&&_376.apply(window,arguments);};};var _377=function(i,arr){var r=arr||[];if(i){r.push(i);}return r;};var _378=function(n){return (1==n.nodeType);};var _379="";var _37a=function(elem,attr){if(!elem){return _379;}if(attr=="class"){return elem.className||_379;}if(attr=="for"){return elem.htmlFor||_379;}if(attr=="style"){return elem.style.cssText||_379;}return (_360?elem.getAttribute(attr):elem.getAttribute(attr,2))||_379;};var _37b={"*=":function(attr,_37c){return function(elem){return (_37a(elem,attr).indexOf(_37c)>=0);};},"^=":function(attr,_37d){return function(elem){return (_37a(elem,attr).indexOf(_37d)==0);};},"$=":function(attr,_37e){return function(elem){var ea=" "+_37a(elem,attr);return (ea.lastIndexOf(_37e)==(ea.length-_37e.length));};},"~=":function(attr,_37f){var tval=" "+_37f+" ";return function(elem){var ea=" "+_37a(elem,attr)+" ";return (ea.indexOf(tval)>=0);};},"|=":function(attr,_380){var _381=_380+"-";return function(elem){var ea=_37a(elem,attr);return ((ea==_380)||(ea.indexOf(_381)==0));};},"=":function(attr,_382){return function(elem){return (_37a(elem,attr)==_382);};}};var _383=(typeof _35d().firstChild.nextElementSibling=="undefined");var _384=!_383?"nextElementSibling":"nextSibling";var _385=!_383?"previousElementSibling":"previousSibling";var _386=(_383?_378:_361);var _387=function(node){while(node=node[_385]){if(_386(node)){return false;}}return true;};var _388=function(node){while(node=node[_384]){if(_386(node)){return false;}}return true;};var _389=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[_384]){if(_386(te)){te["_i"]=++i;if(node===te){ci=i;}}}return ci;};var _38a=function(elem){return !((_389(elem))%2);};var _38b=function(elem){return ((_389(elem))%2);};var _38c={"checked":function(name,_38d){return function(elem){return !!("checked" in elem?elem.checked:elem.selected);};},"first-child":function(){return _387;},"last-child":function(){return _388;},"only-child":function(name,_38e){return function(node){return _387(node)&&_388(node);};},"empty":function(name,_38f){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,_390){var cz=_390.charAt(0);if(cz=="\""||cz=="'"){_390=_390.slice(1,-1);}return function(elem){return (elem.innerHTML.indexOf(_390)>=0);};},"not":function(name,_391){var p=_362(_391)[0];var _392={el:1};if(p.tag!="*"){_392.tag=1;}if(!p.classes.length){_392.classes=1;}var ntf=_393(p,_392);return function(elem){return (!ntf(elem));};},"nth-child":function(name,_394){var pi=parseInt;if(_394=="odd"){return _38b;}else{if(_394=="even"){return _38a;}}if(_394.indexOf("n")!=-1){var _395=_394.split("n",2);var pred=_395[0]?((_395[0]=="-")?-1:pi(_395[0])):1;var idx=_395[1]?pi(_395[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=_389(elem);return (i>=lb)&&(ub<0||i<=ub)&&((i%pred)==idx);};}else{_394=idx;}}var _396=pi(_394);return function(elem){return (_389(elem)==_396);};}};var _397=(dojo.isIE&&(dojo.isIE<9||dojo.isQuirks))?function(cond){var clc=cond.toLowerCase();if(clc=="class"){cond="className";}return function(elem){return (_360?elem.getAttribute(cond):elem[cond]||elem[clc]);};}:function(cond){return function(elem){return (elem&&elem.getAttribute&&elem.hasAttribute(cond));};};var _393=function(_398,_399){if(!_398){return _361;}_399=_399||{};var ff=null;if(!("el" in _399)){ff=_374(ff,_378);}if(!("tag" in _399)){if(_398.tag!="*"){ff=_374(ff,function(elem){return (elem&&(elem.tagName==_398.getTag()));});}}if(!("classes" in _399)){each(_398.classes,function(_39a,idx,arr){var re=new RegExp("(?:^|\\s)"+_39a+"(?:\\s|$)");ff=_374(ff,function(elem){return re.test(elem.className);});ff.count=idx;});}if(!("pseudos" in _399)){each(_398.pseudos,function(_39b){var pn=_39b.name;if(_38c[pn]){ff=_374(ff,_38c[pn](pn,_39b.value));}});}if(!("attrs" in _399)){each(_398.attrs,function(attr){var _39c;var a=attr.attr;if(attr.type&&_37b[attr.type]){_39c=_37b[attr.type](a,attr.matchFor);}else{if(a.length){_39c=_397(a);}}if(_39c){ff=_374(ff,_39c);}});}if(!("id" in _399)){if(_398.id){ff=_374(ff,function(elem){return (!!elem&&(elem.id==_398.id));});}}if(!ff){if(!("default" in _399)){ff=_361;}}return ff;};var _39d=function(_39e){return function(node,ret,bag){while(node=node[_384]){if(_383&&(!_378(node))){continue;}if((!bag||_39f(node,bag))&&_39e(node)){ret.push(node);}break;}return ret;};};var _3a0=function(_3a1){return function(root,ret,bag){var te=root[_384];while(te){if(_386(te)){if(bag&&!_39f(te,bag)){break;}if(_3a1(te)){ret.push(te);}}te=te[_384];}return ret;};};var _3a2=function(_3a3){_3a3=_3a3||_361;return function(root,ret,bag){var te,x=0,tret=root.children||root.childNodes;while(te=tret[x++]){if(_386(te)&&(!bag||_39f(te,bag))&&(_3a3(te,x))){ret.push(te);}}return ret;};};var _3a4=function(node,root){var pn=node.parentNode;while(pn){if(pn==root){break;}pn=pn.parentNode;}return !!pn;};var _3a5={};var _3a6=function(_3a7){var _3a8=_3a5[_3a7.query];if(_3a8){return _3a8;}var io=_3a7.infixOper;var oper=(io?io.oper:"");var _3a9=_393(_3a7,{el:1});var qt=_3a7.tag;var _3aa=("*"==qt);var ecs=_35d()["getElementsByClassName"];if(!oper){if(_3a7.id){_3a9=(!_3a7.loops&&_3aa)?_361:_393(_3a7,{el:1,id:1});_3a8=function(root,arr){var te=dom.byId(_3a7.id,(root.ownerDocument||root));if(!te||!_3a9(te)){return;}if(9==root.nodeType){return _377(te,arr);}else{if(_3a4(te,root)){return _377(te,arr);}}};}else{if(ecs&&/\{\s*\[native code\]\s*\}/.test(String(ecs))&&_3a7.classes.length&&!_35e){_3a9=_393(_3a7,{el:1,classes:1,id:1});var _3ab=_3a7.classes.join(" ");_3a8=function(root,arr,bag){var ret=_377(0,arr),te,x=0;var tret=root.getElementsByClassName(_3ab);while((te=tret[x++])){if(_3a9(te,root)&&_39f(te,bag)){ret.push(te);}}return ret;};}else{if(!_3aa&&!_3a7.loops){_3a8=function(root,arr,bag){var ret=_377(0,arr),te,x=0;var tret=root.getElementsByTagName(_3a7.getTag());while((te=tret[x++])){if(_39f(te,bag)){ret.push(te);}}return ret;};}else{_3a9=_393(_3a7,{el:1,tag:1,id:1});_3a8=function(root,arr,bag){var ret=_377(0,arr),te,x=0;var tret=root.getElementsByTagName(_3a7.getTag());while((te=tret[x++])){if(_3a9(te,root)&&_39f(te,bag)){ret.push(te);}}return ret;};}}}}else{var _3ac={el:1};if(_3aa){_3ac.tag=1;}_3a9=_393(_3a7,_3ac);if("+"==oper){_3a8=_39d(_3a9);}else{if("~"==oper){_3a8=_3a0(_3a9);}else{if(">"==oper){_3a8=_3a2(_3a9);}}}}return _3a5[_3a7.query]=_3a8;};var _3ad=function(root,_3ae){var _3af=_377(root),qp,x,te,qpl=_3ae.length,bag,ret;for(var i=0;i<qpl;i++){ret=[];qp=_3ae[i];x=_3af.length-1;if(x>0){bag={};ret.nozip=true;}var gef=_3a6(qp);for(var j=0;(te=_3af[j]);j++){gef(te,ret,bag);}if(!ret.length){break;}_3af=ret;}return ret;};var _3b0={},_3b1={};var _3b2=function(_3b3){var _3b4=_362(trim(_3b3));if(_3b4.length==1){var tef=_3a6(_3b4[0]);return function(root){var r=tef(root,[]);if(r){r.nozip=true;}return r;};}return function(root){return _3ad(root,_3b4);};};var nua=navigator.userAgent;var wk="WebKit/";var _3b5=(dojo.isWebKit&&(nua.indexOf(wk)>0)&&(parseFloat(nua.split(wk)[1])>528));var _3b6=dojo.isIE?"commentStrip":"nozip";var qsa="querySelectorAll";var _3b7=(!!_35d()[qsa]&&(!dojo.isSafari||(dojo.isSafari>3.1)||_3b5));var _3b8=/n\+\d|([^ ])?([>~+])([^ =])?/g;var _3b9=function(_3ba,pre,ch,post){return ch?(pre?pre+" ":"")+ch+(post?" "+post:""):_3ba;};var _3bb=function(_3bc,_3bd){_3bc=_3bc.replace(_3b8,_3b9);if(_3b7){var _3be=_3b1[_3bc];if(_3be&&!_3bd){return _3be;}}var _3bf=_3b0[_3bc];if(_3bf){return _3bf;}var qcz=_3bc.charAt(0);var _3c0=(-1==_3bc.indexOf(" "));if((_3bc.indexOf("#")>=0)&&(_3c0)){_3bd=true;}var _3c1=(_3b7&&(!_3bd)&&(_35f.indexOf(qcz)==-1)&&(!dojo.isIE||(_3bc.indexOf(":")==-1))&&(!(_35e&&(_3bc.indexOf(".")>=0)))&&(_3bc.indexOf(":contains")==-1)&&(_3bc.indexOf(":checked")==-1)&&(_3bc.indexOf("|=")==-1));if(_3c1){var tq=(_35f.indexOf(_3bc.charAt(_3bc.length-1))>=0)?(_3bc+" *"):_3bc;return _3b1[_3bc]=function(root){try{if(!((9==root.nodeType)||_3c0)){throw "";}var r=root[qsa](tq);r[_3b6]=true;return r;}catch(e){return _3bb(_3bc,true)(root);}};}else{var _3c2=_3bc.split(/\s*,\s*/);return _3b0[_3bc]=((_3c2.length<2)?_3b2(_3bc):function(root){var _3c3=0,ret=[],tp;while((tp=_3c2[_3c3++])){ret=ret.concat(_3b2(tp)(root));}return ret;});}};var _3c4=0;var _3c5=dojo.isIE?function(node){if(_360){return (node.getAttribute("_uid")||node.setAttribute("_uid",++_3c4)||_3c4);}else{return node.uniqueID;}}:function(node){return (node._uid||(node._uid=++_3c4));};var _39f=function(node,bag){if(!bag){return 1;}var id=_3c5(node);if(!bag[id]){return bag[id]=1;}return 0;};var _3c6="_zipIdx";var _3c7=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;}_3c4++;if(dojo.isIE&&_360){var _3c8=_3c4+"";arr[0].setAttribute(_3c6,_3c8);for(var x=1,te;te=arr[x];x++){if(arr[x].getAttribute(_3c6)!=_3c8){ret.push(te);}te.setAttribute(_3c6,_3c8);}}else{if(dojo.isIE&&arr.commentStrip){try{for(var x=1,te;te=arr[x];x++){if(_378(te)){ret.push(te);}}}catch(e){}}else{if(arr[0]){arr[0][_3c6]=_3c4;}for(var x=1,te;te=arr[x];x++){if(arr[x][_3c6]!=_3c4){ret.push(te);}te[_3c6]=_3c4;}}}return ret;};var _3c9=function(_3ca,root){root=root||_35d();var od=root.ownerDocument||root.documentElement;_360=(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=_3bb(_3ca)(root);if(r&&r.nozip){return r;}return _3c7(r);};_3c9.filter=function(_3cb,_3cc,root){var _3cd=[],_3ce=_362(_3cc),_3cf=(_3ce.length==1&&!/[^\w#\.]/.test(_3cc))?_393(_3ce[0]):function(node){return dojo.query(_3cc,root).indexOf(node)!=-1;};for(var x=0,te;te=_3cb[x];x++){if(_3cf(te)){_3cd.push(te);}}return _3cd;};return _3c9;});},"todo/app":function(){require({cache:{"url:todo/app.html":"<section>\n\t<header id=\"header\">\n\t<h1>todos</h1>\n        <input id=\"new-todo\" data-dojo-attach-event=\"onkeypress:onKeyPress\" placeholder=\"What needs to be done?\" type=\"text\" autofocus>\n        <span class=\"ui-tooltip-top\" style=\"display:none;\">Press Enter to save this task</span>\n    </header>\n\n    <section id=\"main\">\n\t    <input id=\"toggle-all\" data-dojo-attach-point=\"mark_all\" data-dojo-attach-event=\"onclick:onMarkAll\" type=\"checkbox\">\n\t    <label for=\"toggle-all\">Mark all as complete</label>\n        <ul id=\"todo-list\" data-dojo-attach-point=\"todo_list\" data-dojo-type=\"dojox.mvc.Repeat\" data-dojo-props=\"ref: this.model.todos, exprchar: '#'\">\n            <li data-dojo-type=\"dojox.mvc.Group\" data-dojo-props=\"ref: '#{this.index}'\">\n            <div class=\"view\">\n                <label class=\"dijitInline inline_edit\" data-dojo-type=\"dijit.InlineEditBox\"\n                    data-dojo-props='ref: \"todo_text\", editor:\"dijit.form.TextBox\", autosave:true'></label>\n\n                <input class=\"toggle\" type=\"checkbox\" data-dojo-type=\"todo.form.CheckBox\" data-dojo-props='ref: \"isDone\"'>\n                <button class=\"destroy\" data-model-id=\"#{this.index}\">\n                </button>\n            </div>\n            </li>\n\t    </ul>\n\t</section>\n\n    <footer id=\"footer\" data-dojo-attach-point=\"todo_stats\">\n        <span id=\"todo-count\">\n            <strong>\n                <span data-dojo-type=\"dojox.mvc.Output\" data-dojo-props=\"ref: this.model.incomplete\" class=\"number\"></span>\n            </strong>\n            <span class=\"word\">items</span> left.\n        </span>\n\t    <!-- Remove this if you don't implement routing -->\n\t\t<ul id=\"filters\">\n\t\t    <li>\n\t\t\t    <a class=\"selected\" href=\"#/\">All</a>\n\t\t    </li>\n\t\t\t<li>\n\t\t\t    <a href=\"#/active\">Active</a>\n\t\t    </li>\n\t\t\t<li>\n\t\t\t\t<a href=\"#/completed\">Completed</a>\n\t\t\t</li>\n\t    </ul>\n        <button id=\"clear-completed\" data-dojo-attach-event=\"onclick:removeCompletedItems\">\n            Clear completed (\n            <span class=\"number-done\" data-dojo-type=\"dojox.mvc.Output\" data-dojo-props=\"ref: this.model.complete\" ></span>\n            )\n        </button>\n    </footer>\n</section>\n"}});define("todo/app",["dojo/_base/declare","dijit/_WidgetBase","dijit/_TemplatedMixin","dijit/_WidgetsInTemplateMixin","dojo/_base/lang","dojo/_base/event","dojo/on","dojo/dom-class","dojo/dom-attr","dojo/query","dojo/keys","dojox/mvc","dojo/hash","dojo/_base/connect","todo/model/TodoModel","dojo/text!./app.html","dijit/InlineEditBox","todo/form/CheckBox","dojox/mvc/Group","dojox/mvc/Repeat","dojox/mvc/Output"],function(_3d0,_3d1,_3d2,_3d3,lang,_3d4,on,_3d5,_3d6,_3d7,keys,mvc,hash,_3d8,_3d9,_3da){return _3d0("todo.app",[_3d1,_3d2,_3d3],{templateString:_3da,ACTIVE:"/active",COMPLETED:"/completed",constructor:function(){this.model=new _3d9();mvc.bindInputs([this.model.complete,this.model.incomplete],lang.hitch(this,"onItemStatusUpdate"));window.onbeforeunload=lang.hitch(this,function(){this.model.commit();});_3d8.subscribe("/dojo/hashchange",this,"onHashChange");},postCreate:function(){on(this.domNode,".destroy:click",lang.hitch(this,"onRemove"));this.onItemStatusUpdate();},startup:function(){this.inherited(arguments);this.onHashChange(hash());},removeCompletedItems:function(){var len=this.model.todos.length,idx=0;while(idx<len){if(this.model.todos[idx].isDone.value){this.model.todos.remove(idx);len--;continue;}idx++;}},addToModel:function(_3db,_3dc){var _3dd=mvc.newStatefulModel({data:{todo_text:_3db,isDone:_3dc}});this.model.todos.add(this.model.todos.length,_3dd);},onItemStatusUpdate:function(){var _3de=this.model.complete.get("value"),_3df=this.model.todos.get("length");_3d5.toggle(this.domNode,"todos_selected",_3de>0);_3d5.toggle(this.domNode,"todos_present",_3df);_3d6.set(this.mark_all,"checked",_3df&&_3df===_3de);},onMarkAll:function(){var _3e0=this.mark_all.checked;for(var i=0,len=this.model.todos.length;i<len;i++){this.model.todos[i].isDone.set("value",_3e0);}},onKeyPress:function(_3e1){if(_3e1.keyCode!==keys.ENTER){return;}this.addToModel(_3e1.target.value,false);_3e1.target.value="";_3d4.stop(_3e1);},onRemove:function(_3e2){this.model.todos.remove(_3d6.get(_3e2.target,"data-model-id"));},onHashChange:function(hash){var _3e3=(hash===this.COMPLETED?false:(hash===this.ACTIVE?true:null));_3d7("#todo-list > li").forEach(lang.hitch(this,function(item,idx){var done=this.model.todos[idx].isDone.get("value");_3d5.toggle(item,"hidden",done===_3e3);}));hash="#"+(_3e3!==null?hash:"/");_3d7("#filters a").forEach(lang.hitch(this,function(link){_3d5.toggle(link,"selected",_3d6.get(link,"href")===hash);}));}});});},"dojo/_base/declare":function(){define(["./kernel","../has","./lang"],function(dojo,has,lang){var mix=lang.mixin,op=Object.prototype,opts=op.toString,xtor=new Function,_3e4=0,_3e5="constructor";function err(msg,cls){throw new Error("declare"+(cls?" "+cls:"")+": "+msg);};function _3e6(_3e7,_3e8){var _3e9=[],_3ea=[{cls:0,refs:[]}],_3eb={},_3ec=1,l=_3e7.length,i=0,j,lin,base,top,_3ed,rec,name,refs;for(;i<l;++i){base=_3e7[i];if(!base){err("mixin #"+i+" is unknown. Did you use dojo.require to pull it in?",_3e8);}else{if(opts.call(base)!="[object Function]"){err("mixin #"+i+" is not a callable constructor.",_3e8);}}lin=base._meta?base._meta.bases:[base];top=0;for(j=lin.length-1;j>=0;--j){_3ed=lin[j].prototype;if(!_3ed.hasOwnProperty("declaredClass")){_3ed.declaredClass="uniqName_"+(_3e4++);}name=_3ed.declaredClass;if(!_3eb.hasOwnProperty(name)){_3eb[name]={count:0,refs:[],cls:lin[j]};++_3ec;}rec=_3eb[name];if(top&&top!==rec){rec.refs.push(top);++top.count;}top=rec;}++top.count;_3ea[0].refs.push(top);}while(_3ea.length){top=_3ea.pop();_3e9.push(top.cls);--_3ec;while(refs=top.refs,refs.length==1){top=refs[0];if(!top||--top.count){top=0;break;}_3e9.push(top.cls);--_3ec;}if(top){for(i=0,l=refs.length;i<l;++i){top=refs[i];if(!--top.count){_3ea.push(top);}}}}if(_3ec){err("can't build consistent linearization",_3e8);}base=_3e7[0];_3e9[0]=base?base._meta&&base===_3e9[_3e9.length-base._meta.bases.length]?base._meta.bases.length:1:0;return _3e9;};function _3ee(args,a,f){var name,_3ef,_3f0,_3f1,meta,base,_3f2,opf,pos,_3f3=this._inherited=this._inherited||{};if(typeof args=="string"){name=args;args=a;a=f;}f=0;_3f1=args.callee;name=name||_3f1.nom;if(!name){err("can't deduce a name to call inherited()",this.declaredClass);}meta=this.constructor._meta;_3f0=meta.bases;pos=_3f3.p;if(name!=_3e5){if(_3f3.c!==_3f1){pos=0;base=_3f0[0];meta=base._meta;if(meta.hidden[name]!==_3f1){_3ef=meta.chains;if(_3ef&&typeof _3ef[name]=="string"){err("calling chained method with inherited: "+name,this.declaredClass);}do{meta=base._meta;_3f2=base.prototype;if(meta&&(_3f2[name]===_3f1&&_3f2.hasOwnProperty(name)||meta.hidden[name]===_3f1)){break;}}while(base=_3f0[++pos]);pos=base?pos:-1;}}base=_3f0[++pos];if(base){_3f2=base.prototype;if(base._meta&&_3f2.hasOwnProperty(name)){f=_3f2[name];}else{opf=op[name];do{_3f2=base.prototype;f=_3f2[name];if(f&&(base._meta?_3f2.hasOwnProperty(name):f!==opf)){break;}}while(base=_3f0[++pos]);}}f=base&&f||op[name];}else{if(_3f3.c!==_3f1){pos=0;meta=_3f0[0]._meta;if(meta&&meta.ctor!==_3f1){_3ef=meta.chains;if(!_3ef||_3ef.constructor!=="manual"){err("calling chained constructor with inherited",this.declaredClass);}while(base=_3f0[++pos]){meta=base._meta;if(meta&&meta.ctor===_3f1){break;}}pos=base?pos:-1;}}while(base=_3f0[++pos]){meta=base._meta;f=meta?meta.ctor:base;if(f){break;}}f=base&&f;}_3f3.c=f;_3f3.p=pos;if(f){return a===true?f:f.apply(this,a||args);}};function _3f4(name,args){if(typeof name=="string"){return this.__inherited(name,args,true);}return this.__inherited(name,true);};function _3f5(args,a1,a2){var f=this.getInherited(args,a1);if(f){return f.apply(this,a2||a1||args);}};var _3f6=dojo.config.isDebug?_3f5:_3ee;function _3f7(cls){var _3f8=this.constructor._meta.bases;for(var i=0,l=_3f8.length;i<l;++i){if(_3f8[i]===cls){return true;}}return this instanceof cls;};function _3f9(_3fa,_3fb){for(var name in _3fb){if(name!=_3e5&&_3fb.hasOwnProperty(name)){_3fa[name]=_3fb[name];}}if(has("bug-for-in-skips-shadowed")){for(var _3fc=lang._extraNames,i=_3fc.length;i;){name=_3fc[--i];if(name!=_3e5&&_3fb.hasOwnProperty(name)){_3fa[name]=_3fb[name];}}}};function _3fd(_3fe,_3ff){var name,t;for(name in _3ff){t=_3ff[name];if((t!==op[name]||!(name in op))&&name!=_3e5){if(opts.call(t)=="[object Function]"){t.nom=name;}_3fe[name]=t;}}if(has("bug-for-in-skips-shadowed")){for(var _400=lang._extraNames,i=_400.length;i;){name=_400[--i];t=_3ff[name];if((t!==op[name]||!(name in op))&&name!=_3e5){if(opts.call(t)=="[object Function]"){t.nom=name;}_3fe[name]=t;}}}return _3fe;};function _401(_402){_403.safeMixin(this.prototype,_402);return this;};function _404(_405,_406){return function(){var a=arguments,args=a,a0=a[0],f,i,m,l=_405.length,_407;if(!(this instanceof a.callee)){return _408(a);}if(_406&&(a0&&a0.preamble||this.preamble)){_407=new Array(_405.length);_407[0]=a;for(i=0;;){a0=a[0];if(a0){f=a0.preamble;if(f){a=f.apply(this,a)||a;}}f=_405[i].prototype;f=f.hasOwnProperty("preamble")&&f.preamble;if(f){a=f.apply(this,a)||a;}if(++i==l){break;}_407[i]=a;}}for(i=l-1;i>=0;--i){f=_405[i];m=f._meta;f=m?m.ctor:f;if(f){f.apply(this,_407?_407[i]:a);}}f=this.postscript;if(f){f.apply(this,args);}};};function _409(ctor,_40a){return function(){var a=arguments,t=a,a0=a[0],f;if(!(this instanceof a.callee)){return _408(a);}if(_40a){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 _40b(_40c){return function(){var a=arguments,i=0,f,m;if(!(this instanceof a.callee)){return _408(a);}for(;f=_40c[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 _40d(name,_40e,_40f){return function(){var b,m,f,i=0,step=1;if(_40f){i=_40e.length-1;step=-1;}for(;b=_40e[i];i+=step){m=b._meta;f=(m?m.hidden:b.prototype)[name];if(f){f.apply(this,arguments);}}};};function _410(ctor){xtor.prototype=ctor.prototype;var t=new xtor;xtor.prototype=null;return t;};function _408(args){var ctor=args.callee,t=_410(ctor);ctor.apply(t,args);return t;};function _403(_411,_412,_413){if(typeof _411!="string"){_413=_412;_412=_411;_411="";}_413=_413||{};var _414,i,t,ctor,name,_415,_416,_417=1,_418=_412;if(opts.call(_412)=="[object Array]"){_415=_3e6(_412,_411);t=_415[0];_417=_415.length-t;_412=_415[_417];}else{_415=[0];if(_412){if(opts.call(_412)=="[object Function]"){t=_412._meta;_415=_415.concat(t?t.bases:_412);}else{err("base class is not a callable constructor.",_411);}}else{if(_412!==null){err("unknown base class. Did you use dojo.require to pull it in?",_411);}}}if(_412){for(i=_417-1;;--i){_414=_410(_412);if(!i){break;}t=_415[i];(t._meta?_3f9:mix)(_414,t.prototype);ctor=new Function;ctor.superclass=_412;ctor.prototype=_414;_412=_414.constructor=ctor;}}else{_414={};}_403.safeMixin(_414,_413);t=_413.constructor;if(t!==op.constructor){t.nom=_3e5;_414.constructor=t;}for(i=_417-1;i;--i){t=_415[i]._meta;if(t&&t.chains){_416=mix(_416||{},t.chains);}}if(_414["-chains-"]){_416=mix(_416||{},_414["-chains-"]);}t=!_416||!_416.hasOwnProperty(_3e5);_415[0]=ctor=(_416&&_416.constructor==="manual")?_40b(_415):(_415.length==1?_409(_413.constructor,t):_404(_415,t));ctor._meta={bases:_415,hidden:_413,chains:_416,parents:_418,ctor:_413.constructor};ctor.superclass=_412&&_412.prototype;ctor.extend=_401;ctor.prototype=_414;_414.constructor=ctor;_414.getInherited=_3f4;_414.isInstanceOf=_3f7;_414.inherited=_3f6;_414.__inherited=_3ee;if(_411){_414.declaredClass=_411;lang.setObject(_411,ctor);}if(_416){for(name in _416){if(_414[name]&&typeof _416[name]=="string"&&name!=_3e5){t=_414[name]=_40d(name,_415,_416[name]==="after");t.nom=name;}}}return ctor;};dojo.safeMixin=_403.safeMixin=_3fd;dojo.declare=_403;return _403;});},"dijit/_WidgetBase":function(){define("dijit/_WidgetBase",["require","dojo/_base/array","dojo/aspect","dojo/_base/config","dojo/_base/connect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/ready","dojo/Stateful","dojo/topic","dojo/_base/window","./registry"],function(_419,_41a,_41b,_41c,_41d,_41e,dom,_41f,_420,_421,_422,_423,_424,lang,on,_425,_426,_427,win,_428){if(!_424.isAsync){_425(0,function(){var _429=["dijit/_base/manager"];_419(_429);});}var _42a={};function _42b(obj){var ret={};for(var attr in obj){ret[attr.toLowerCase()]=true;}return ret;};function _42c(attr){return function(val){_41f[val?"set":"remove"](this.domNode,attr,val);this._set(attr,val);};};return _41e("dijit._WidgetBase",_426,{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:_42c("lang"),dir:"",_setDirAttr:_42c("dir"),textDir:"","class":"",_setClassAttr:{node:"domNode",type:"class"},style:"",title:"",tooltip:"",baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,attributeMap:{},_blankGif:_41c.blankGif||_419.toUrl("dojo/resources/blank.gif"),postscript:function(_42d,_42e){this.create(_42d,_42e);},create:function(_42f,_430){this.srcNodeRef=dom.byId(_430);this._connects=[];this._supportingWidgets=[];if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_42f){this.params=_42f;lang.mixin(this,_42f);}this.postMixInProperties();if(!this.id){this.id=_428.getUniqueId(this.declaredClass.replace(/\./g,"_"));}_428.add(this);this.buildRendering();if(this.domNode){this._applyAttributes();var _431=this.srcNodeRef;if(_431&&_431.parentNode&&this.domNode!==_431){_431.parentNode.replaceChild(this.domNode,_431);}}if(this.domNode){this.domNode.setAttribute("widgetId",this.id);}this.postCreate();if(this.srcNodeRef&&!this.srcNodeRef.parentNode){delete this.srcNodeRef;}this._created=true;},_applyAttributes:function(){var ctor=this.constructor,list=ctor._setterAttrs;if(!list){list=(ctor._setterAttrs=[]);for(var attr in this.attributeMap){list.push(attr);}var _432=ctor.prototype;for(var _433 in _432){if(_433 in this.attributeMap){continue;}var _434="_set"+_433.replace(/^[a-z]|-[a-zA-Z]/g,function(c){return c.charAt(c.length-1).toUpperCase();})+"Attr";if(_434 in _432){list.push(_433);}}}_41a.forEach(list,function(attr){if(this.params&&attr in this.params){}else{if(this[attr]){this.set(attr,this[attr]);}}},this);for(var _435 in this.params){this.set(_435,this[_435]);}},postMixInProperties:function(){},buildRendering:function(){if(!this.domNode){this.domNode=this.srcNodeRef||_421.create("div");}if(this.baseClass){var _436=this.baseClass.split(" ");if(!this.isLeftToRight()){_436=_436.concat(_41a.map(_436,function(name){return name+"Rtl";}));}_420.add(this.domNode,_436);}},postCreate:function(){},startup:function(){if(this._started){return;}this._started=true;_41a.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}});},destroyRecursive:function(_437){this._beingDestroyed=true;this.destroyDescendants(_437);this.destroy(_437);},destroy:function(_438){this._beingDestroyed=true;this.uninitialize();var c;while(c=this._connects.pop()){c.remove();}var w;while(w=this._supportingWidgets.pop()){if(w.destroyRecursive){w.destroyRecursive();}else{if(w.destroy){w.destroy();}}}this.destroyRendering(_438);_428.remove(this.id);this._destroyed=true;},destroyRendering:function(_439){if(this.bgIframe){this.bgIframe.destroy(_439);delete this.bgIframe;}if(this.domNode){if(_439){_41f.remove(this.domNode,"widgetId");}else{_421.destroy(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_439){_421.destroy(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_43a){_41a.forEach(this.getChildren(),function(_43b){if(_43b.destroyRecursive){_43b.destroyRecursive(_43a);}});},uninitialize:function(){return false;},_setStyleAttr:function(_43c){var _43d=this.domNode;if(lang.isObject(_43c)){_423.set(_43d,_43c);}else{if(_43d.style.cssText){_43d.style.cssText+="; "+_43c;}else{_43d.style.cssText=_43c;}}this._set("style",_43c);},_attrToDom:function(attr,_43e,_43f){_43f=arguments.length>=3?_43f:this.attributeMap[attr];_41a.forEach(lang.isArray(_43f)?_43f:[_43f],function(_440){var _441=this[_440.node||_440||"domNode"];var type=_440.type||"attribute";switch(type){case "attribute":if(lang.isFunction(_43e)){_43e=lang.hitch(this,_43e);}var _442=_440.attribute?_440.attribute:(/^on[A-Z][a-zA-Z]*$/.test(attr)?attr.toLowerCase():attr);_41f.set(_441,_442,_43e);break;case "innerText":_441.innerHTML="";_441.appendChild(win.doc.createTextNode(_43e));break;case "innerHTML":_441.innerHTML=_43e;break;case "class":_420.replace(_441,_43e,this[attr]);break;}},this);},get:function(name){var _443=this._getAttrNames(name);return this[_443.g]?this[_443.g]():this[name];},set:function(name,_444){if(typeof name==="object"){for(var x in name){this.set(x,name[x]);}return this;}var _445=this._getAttrNames(name),_446=this[_445.s];if(lang.isFunction(_446)){var _447=_446.apply(this,Array.prototype.slice.call(arguments,1));}else{var _448=this.focusNode&&!lang.isFunction(this.focusNode)?"focusNode":"domNode",tag=this[_448].tagName,_449=_42a[tag]||(_42a[tag]=_42b(this[_448])),map=name in this.attributeMap?this.attributeMap[name]:_445.s in this?this[_445.s]:((_445.l in _449&&typeof _444!="function")||/^aria-|^data-|^role$/.test(name))?_448:null;if(map!=null){this._attrToDom(name,_444,map);}this._set(name,_444);}return _447||this;},_attrPairNames:{},_getAttrNames:function(name){var apn=this._attrPairNames;if(apn[name]){return apn[name];}var uc=name.replace(/^[a-z]|-[a-zA-Z]/g,function(c){return c.charAt(c.length-1).toUpperCase();});return (apn[name]={n:name+"Node",s:"_set"+uc+"Attr",g:"_get"+uc+"Attr",l:uc.toLowerCase()});},_set:function(name,_44a){var _44b=this[name];this[name]=_44a;if(this._watchCallbacks&&this._created&&_44a!==_44b){this._watchCallbacks(name,_44b,_44a);}},on:function(type,func){return _41b.after(this,this._onMap(type),func,true);},_onMap:function(type){var ctor=this.constructor,map=ctor._onMap;if(!map){map=(ctor._onMap={});for(var attr in ctor.prototype){if(/^on/.test(attr)){map[attr.replace(/^on/,"").toLowerCase()]=attr;}}}return map[type.toLowerCase()];},toString:function(){return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";},getChildren:function(){return this.containerNode?_428.findWidgets(this.containerNode):[];},getParent:function(){return _428.getEnclosingWidget(this.domNode.parentNode);},connect:function(obj,_44c,_44d){var _44e=_41d.connect(obj,_44c,this,_44d);this._connects.push(_44e);return _44e;},disconnect:function(_44f){var i=_41a.indexOf(this._connects,_44f);if(i!=-1){_44f.remove();this._connects.splice(i,1);}},subscribe:function(t,_450){var _451=_427.subscribe(t,lang.hitch(this,_450));this._connects.push(_451);return _451;},unsubscribe:function(_452){this.disconnect(_452);},isLeftToRight:function(){return this.dir?(this.dir=="ltr"):_422.isBodyLtr();},isFocusable:function(){return this.focus&&(_423.get(this.domNode,"display")!="none");},placeAt:function(_453,_454){if(_453.declaredClass&&_453.addChild){_453.addChild(this,_454);}else{_421.place(this.domNode,_453,_454);}return this;},getTextDir:function(text,_455){return _455;},applyTextDir:function(){}});});},"dojo/Stateful":function(){define(["./_base/kernel","./_base/declare","./_base/lang","./_base/array"],function(dojo,_456,lang,_457){return dojo.declare("dojo.Stateful",null,{postscript:function(_458){if(_458){lang.mixin(this,_458);}},get:function(name){return this[name];},set:function(name,_459){if(typeof name==="object"){for(var x in name){this.set(x,name[x]);}return this;}var _45a=this[name];this[name]=_459;if(this._watchCallbacks){this._watchCallbacks(name,_45a,_459);}return this;},watch:function(name,_45b){var _45c=this._watchCallbacks;if(!_45c){var self=this;_45c=this._watchCallbacks=function(name,_45d,_45e,_45f){var _460=function(_461){if(_461){_461=_461.slice();for(var i=0,l=_461.length;i<l;i++){try{_461[i].call(self,name,_45d,_45e);}catch(e){console.error(e);}}}};_460(_45c["_"+name]);if(!_45f){_460(_45c["*"]);}};}if(!_45b&&typeof name==="function"){_45b=name;name="*";}else{name="_"+name;}var _462=_45c[name];if(typeof _462!=="object"){_462=_45c[name]=[];}_462.push(_45b);return {unwatch:function(){_462.splice(_457.indexOf(_462,_45b),1);}};}});});},"dijit/registry":function(){define("dijit/registry",["dojo/_base/array","dojo/_base/sniff","dojo/_base/unload","dojo/_base/window","."],function(_463,has,_464,win,_465){var _466={},hash={};var _467={length:0,add:function(_468){if(hash[_468.id]){throw new Error("Tried to register widget with id=="+_468.id+" but that id is already registered");}hash[_468.id]=_468;this.length++;},remove:function(id){if(hash[id]){delete hash[id];this.length--;}},byId:function(id){return typeof id=="string"?hash[id]:id;},byNode:function(node){return hash[node.getAttribute("widgetId")];},toArray:function(){var ar=[];for(var id in hash){ar.push(hash[id]);}return ar;},getUniqueId:function(_469){var id;do{id=_469+"_"+(_469 in _466?++_466[_469]:_466[_469]=0);}while(hash[id]);return _465._scopeName=="dijit"?id:_465._scopeName+"_"+id;},findWidgets:function(root){var _46a=[];function _46b(root){for(var node=root.firstChild;node;node=node.nextSibling){if(node.nodeType==1){var _46c=node.getAttribute("widgetId");if(_46c){var _46d=hash[_46c];if(_46d){_46a.push(_46d);}}else{_46b(node);}}}};_46b(root);return _46a;},_destroyAll:function(){_465._curFocus=null;_465._prevFocus=null;_465._activeStack=[];_463.forEach(_467.findWidgets(win.body()),function(_46e){if(!_46e._destroyed){if(_46e.destroyRecursive){_46e.destroyRecursive();}else{if(_46e.destroy){_46e.destroy();}}}});},getEnclosingWidget:function(node){while(node){var id=node.getAttribute&&node.getAttribute("widgetId");if(id){return hash[id];}node=node.parentNode;}return null;},_hash:hash};if(has("ie")){_464.addOnWindowUnload(function(){_467._destroyAll();});}_465.registry=_467;return _467;});},"dojo/_base/unload":function(){define(["./kernel","./connect"],function(dojo,_46f){var win=window;dojo.addOnWindowUnload=function(obj,_470){if(!dojo.windowUnloaded){_46f.connect(win,"unload",(dojo.windowUnloaded=function(){}));}_46f.connect(win,"unload",obj,_470);};dojo.addOnUnload=function(obj,_471){_46f.connect(win,"beforeunload",obj,_471);};return {addOnWindowUnload:dojo.addOnWindowUnload,addOnUnload:dojo.addOnUnload};});},"dijit/main":function(){define("dijit/main",["dojo/_base/kernel"],function(dojo){return dojo.dijit;});},"dijit/_TemplatedMixin":function(){define("dijit/_TemplatedMixin",["dojo/_base/lang","dojo/touch","./_WidgetBase","dojo/string","dojo/cache","dojo/_base/array","dojo/_base/declare","dojo/dom-construct","dojo/_base/sniff","dojo/_base/unload","dojo/_base/window"],function(lang,_472,_473,_474,_475,_476,_477,_478,has,_479,win){var _47a=_477("dijit._TemplatedMixin",null,{templateString:null,templatePath:null,_skipNodeCache:false,_earlyTemplatedStartup:false,constructor:function(){this._attachPoints=[];this._attachEvents=[];},_stringRepl:function(tmpl){var _47b=this.declaredClass,_47c=this;return _474.substitute(tmpl,this,function(_47d,key){if(key.charAt(0)=="!"){_47d=lang.getObject(key.substr(1),false,_47c);}if(typeof _47d=="undefined"){throw new Error(_47b+" template:"+key);}if(_47d==null){return "";}return key.charAt(0)=="!"?_47d:_47d.toString().replace(/"/g,"&quot;");},this);},buildRendering:function(){if(!this.templateString){this.templateString=_475(this.templatePath,{sanitize:true});}var _47e=_47a.getCachedTemplate(this.templateString,this._skipNodeCache);var node;if(lang.isString(_47e)){node=_478.toDom(this._stringRepl(_47e));if(node.nodeType!=1){throw new Error("Invalid template: "+_47e);}}else{node=_47e.cloneNode(true);}this.domNode=node;this.inherited(arguments);this._attachTemplateNodes(node,function(n,p){return n.getAttribute(p);});this._beforeFillContent();this._fillContent(this.srcNodeRef);},_beforeFillContent:function(){},_fillContent:function(_47f){var dest=this.containerNode;if(_47f&&dest){while(_47f.hasChildNodes()){dest.appendChild(_47f.firstChild);}}},_attachTemplateNodes:function(_480,_481){var _482=lang.isArray(_480)?_480:(_480.all||_480.getElementsByTagName("*"));var x=lang.isArray(_480)?0:-1;for(;x<_482.length;x++){var _483=(x==-1)?_480:_482[x];if(this.widgetsInTemplate&&(_481(_483,"dojoType")||_481(_483,"data-dojo-type"))){continue;}var _484=_481(_483,"dojoAttachPoint")||_481(_483,"data-dojo-attach-point");if(_484){var _485,_486=_484.split(/\s*,\s*/);while((_485=_486.shift())){if(lang.isArray(this[_485])){this[_485].push(_483);}else{this[_485]=_483;}this._attachPoints.push(_485);}}var _487=_481(_483,"dojoAttachEvent")||_481(_483,"data-dojo-attach-event");if(_487){var _488,_489=_487.split(/\s*,\s*/);var trim=lang.trim;while((_488=_489.shift())){if(_488){var _48a=null;if(_488.indexOf(":")!=-1){var _48b=_488.split(":");_488=trim(_48b[0]);_48a=trim(_48b[1]);}else{_488=trim(_488);}if(!_48a){_48a=_488;}this._attachEvents.push(this.connect(_483,_472[_488]||_488,_48a));}}}}},destroyRendering:function(){_476.forEach(this._attachPoints,function(_48c){delete this[_48c];},this);this._attachPoints=[];_476.forEach(this._attachEvents,this.disconnect,this);this._attachEvents=[];this.inherited(arguments);}});_47a._templateCache={};_47a.getCachedTemplate=function(_48d,_48e){var _48f=_47a._templateCache;var key=_48d;var _490=_48f[key];if(_490){try{if(!_490.ownerDocument||_490.ownerDocument==win.doc){return _490;}}catch(e){}_478.destroy(_490);}_48d=_474.trim(_48d);if(_48e||_48d.match(/\$\{([^\}]+)\}/g)){return (_48f[key]=_48d);}else{var node=_478.toDom(_48d);if(node.nodeType!=1){throw new Error("Invalid template: "+_48d);}return (_48f[key]=node);}};if(has("ie")){_479.addOnWindowUnload(function(){var _491=_47a._templateCache;for(var key in _491){var _492=_491[key];if(typeof _492=="object"){_478.destroy(_492);}delete _491[key];}});}lang.extend(_473,{dojoAttachEvent:"",dojoAttachPoint:""});return _47a;});},"dojo/touch":function(){define(["./_base/kernel","./on","./has","./mouse"],function(dojo,on,has,_493){function _494(type){return function(node,_495){return on(node,type,_495);};};var _496=has("touch");dojo.touch={press:_494(_496?"touchstart":"mousedown"),move:_494(_496?"touchmove":"mousemove"),release:_494(_496?"touchend":"mouseup"),cancel:_496?_494("touchcancel"):_493.leave};return dojo.touch;});},"dojo/string":function(){define(["./_base/kernel","./_base/lang"],function(dojo,lang){lang.getObject("string",true,dojo);dojo.string.rep=function(str,num){if(num<=0||!str){return "";}var buf=[];for(;;){if(num&1){buf.push(str);}if(!(num>>=1)){break;}str+=str;}return buf.join("");};dojo.string.pad=function(text,size,ch,end){if(!ch){ch="0";}var out=String(text),pad=dojo.string.rep(ch,Math.ceil((size-out.length)/ch.length));return end?out+pad:pad+out;};dojo.string.substitute=function(_497,map,_498,_499){_499=_499||dojo.global;_498=_498?lang.hitch(_499,_498):function(v){return v;};return _497.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_49a,key,_49b){var _49c=lang.getObject(key,false,map);if(_49b){_49c=lang.getObject(_49b,false,_499).call(_499,_49c,key);}return _498(_49c,key).toString();});};dojo.string.trim=String.prototype.trim?lang.trim:function(str){str=str.replace(/^\s+/,"");for(var i=str.length-1;i>=0;i--){if(/\S/.test(str.charAt(i))){str=str.substring(0,i+1);break;}}return str;};return dojo.string;});},"dojo/cache":function(){define("dojo/cache",["./_base/kernel","./text"],function(dojo,text){return dojo.cache;});},"dojo/text":function(){define(["./_base/kernel","require","./has","./_base/xhr"],function(dojo,_49d,has,xhr){var _49e;if(1){_49e=function(url,sync,load){xhr("GET",{url:url,sync:!!sync,load:load});};}else{if(_49d.getText){_49e=_49d.getText;}else{console.error("dojo/text plugin failed to load because loader does not support getText");}}var _49f={},_4a0=function(text){if(text){text=text.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _4a1=text.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_4a1){text=_4a1[1];}}else{text="";}return text;},_4a2={},_4a3={},_4a4={dynamic:true,normalize:function(id,_4a5){var _4a6=id.split("!"),url=_4a6[0];return (/^\./.test(url)?_4a5(url):url)+(_4a6[1]?"!"+_4a6[1]:"");},load:function(id,_4a7,load){var _4a8=id.split("!"),_4a9=_4a8.length>1,_4aa=_4a8[0],url=_4a7.toUrl(_4a8[0]),text=_4a2,_4ab=function(text){load(_4a9?_4a0(text):text);};if(_4aa in _49f){text=_49f[_4aa];}else{if(url in _4a7.cache){text=_4a7.cache[url];}else{if(url in _49f){text=_49f[url];}}}if(text===_4a2){if(_4a3[url]){_4a3[url].push(_4ab);}else{var _4ac=_4a3[url]=[_4ab];_49e(url,!_4a7.async,function(text){_49f[_4aa]=_49f[url]=text;for(var i=0;i<_4ac.length;){_4ac[i++](text);}delete _4a3[url];});}}else{_4ab(text);}}};dojo.cache=function(_4ad,url,_4ae){var key;if(typeof _4ad=="string"){if(/\//.test(_4ad)){key=_4ad;_4ae=url;}else{key=_49d.toUrl(_4ad.replace(/\./g,"/")+(url?("/"+url):""));}}else{key=_4ad+"";_4ae=url;}var val=(_4ae!=undefined&&typeof _4ae!="string")?_4ae.value:_4ae,_4af=_4ae&&_4ae.sanitize;if(typeof val=="string"){_49f[key]=val;return _4af?_4a0(val):val;}else{if(val===null){delete _49f[key];return null;}else{if(!(key in _49f)){_49e(key,true,function(text){_49f[key]=text;});}return _4af?_4a0(_49f[key]):_49f[key];}}};return _4a4;});},"dojo/_base/xhr":function(){define(["./kernel","./sniff","require","../io-query","../dom","../dom-form","./Deferred","./json","./lang","./array","../on"],function(dojo,has,_4b0,ioq,dom,_4b1,_4b2,json,lang,_4b3,on){has.add("native-xhr",function(){return typeof XMLHttpRequest!=="undefined";});if(1){dojo._xhrObj=_4b0.getXhr;}else{if(has("native-xhr")){dojo._xhrObj=function(){try{return new XMLHttpRequest();}catch(e){throw new Error("XMLHTTP not available: "+e);}};}else{for(var _4b4=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],_4b5,i=0;i<3;){try{_4b5=_4b4[i++];if(new ActiveXObject(_4b5)){break;}}catch(e){}}dojo._xhrObj=function(){return new ActiveXObject(_4b5);};}}var cfg=dojo.config;dojo.objectToQuery=ioq.objectToQuery;dojo.queryToObject=ioq.queryToObject;dojo.fieldToObject=_4b1.fieldToObject;dojo.formToObject=_4b1.toObject;dojo.formToQuery=_4b1.toQuery;dojo.formToJson=_4b1.toJson;dojo._blockAsync=false;var _4b6=dojo._contentHandlers=dojo.contentHandlers={"text":function(xhr){return xhr.responseText;},"json":function(xhr){return json.fromJson(xhr.responseText||null);},"json-comment-filtered":function(xhr){if(!dojo.config.useCommentedJson){console.warn("Consider using the standard mimetype:application/json."+" json-commenting can introduce security issues. To"+" decrease the chances of hijacking, use the standard the 'json' handler and"+" prefix your json with: {}&&\n"+"Use djConfig.useCommentedJson=true to turn off this message.");}var _4b7=xhr.responseText;var _4b8=_4b7.indexOf("/*");var _4b9=_4b7.lastIndexOf("*/");if(_4b8==-1||_4b9==-1){throw new Error("JSON was not comment filtered");}return json.fromJson(_4b7.substring(_4b8+2,_4b9));},"javascript":function(xhr){return dojo.eval(xhr.responseText);},"xml":function(xhr){var _4ba=xhr.responseXML;if(has("ie")){if((!_4ba||!_4ba.documentElement)){var ms=function(n){return "MSXML"+n+".DOMDocument";};var dp=["Microsoft.XMLDOM",ms(6),ms(4),ms(3),ms(2)];_4b3.some(dp,function(p){try{var dom=new ActiveXObject(p);dom.async=false;dom.loadXML(xhr.responseText);_4ba=dom;}catch(e){return false;}return true;});}}return _4ba;},"json-comment-optional":function(xhr){if(xhr.responseText&&/^[^{\[]*\/\*/.test(xhr.responseText)){return _4b6["json-comment-filtered"](xhr);}else{return _4b6["json"](xhr);}}};dojo._ioSetArgs=function(args,_4bb,_4bc,_4bd){var _4be={args:args,url:args.url};var _4bf=null;if(args.form){var form=dom.byId(args.form);var _4c0=form.getAttributeNode("action");_4be.url=_4be.url||(_4c0?_4c0.value:null);_4bf=_4b1.toObject(form);}var _4c1=[{}];if(_4bf){_4c1.push(_4bf);}if(args.content){_4c1.push(args.content);}if(args.preventCache){_4c1.push({"dojo.preventCache":new Date().valueOf()});}_4be.query=ioq.objectToQuery(lang.mixin.apply(null,_4c1));_4be.handleAs=args.handleAs||"text";var d=new _4b2(_4bb);d.addCallbacks(_4bc,function(_4c2){return _4bd(_4c2,d);});var ld=args.load;if(ld&&lang.isFunction(ld)){d.addCallback(function(_4c3){return ld.call(args,_4c3,_4be);});}var err=args.error;if(err&&lang.isFunction(err)){d.addErrback(function(_4c4){return err.call(args,_4c4,_4be);});}var _4c5=args.handle;if(_4c5&&lang.isFunction(_4c5)){d.addBoth(function(_4c6){return _4c5.call(args,_4c6,_4be);});}if(cfg.ioPublish&&dojo.publish&&_4be.args.ioPublish!==false){d.addCallbacks(function(res){dojo.publish("/dojo/io/load",[d,res]);return res;},function(res){dojo.publish("/dojo/io/error",[d,res]);return res;});d.addBoth(function(res){dojo.publish("/dojo/io/done",[d,res]);return res;});}d.ioArgs=_4be;return d;};var _4c7=function(dfd){dfd.canceled=true;var xhr=dfd.ioArgs.xhr;var _4c8=typeof xhr.abort;if(_4c8=="function"||_4c8=="object"||_4c8=="unknown"){xhr.abort();}var err=dfd.ioArgs.error;if(!err){err=new Error("xhr cancelled");err.dojoType="cancel";}return err;};var _4c9=function(dfd){var ret=_4b6[dfd.ioArgs.handleAs](dfd.ioArgs.xhr);return ret===undefined?null:ret;};var _4ca=function(_4cb,dfd){if(!dfd.ioArgs.args.failOk){console.error(_4cb);}return _4cb;};var _4cc=null;var _4cd=[];var _4ce=0;var _4cf=function(dfd){if(_4ce<=0){_4ce=0;if(cfg.ioPublish&&dojo.publish&&(!dfd||dfd&&dfd.ioArgs.args.ioPublish!==false)){dojo.publish("/dojo/io/stop");}}};var _4d0=function(){var now=(new Date()).getTime();if(!dojo._blockAsync){for(var i=0,tif;i<_4cd.length&&(tif=_4cd[i]);i++){var dfd=tif.dfd;var func=function(){if(!dfd||dfd.canceled||!tif.validCheck(dfd)){_4cd.splice(i--,1);_4ce-=1;}else{if(tif.ioCheck(dfd)){_4cd.splice(i--,1);tif.resHandle(dfd);_4ce-=1;}else{if(dfd.startTime){if(dfd.startTime+(dfd.ioArgs.args.timeout||0)<now){_4cd.splice(i--,1);var err=new Error("timeout exceeded");err.dojoType="timeout";dfd.errback(err);dfd.cancel();_4ce-=1;}}}}};if(dojo.config.debugAtAllCosts){func.call(this);}else{func.call(this);}}}_4cf(dfd);if(!_4cd.length){clearInterval(_4cc);_4cc=null;}};dojo._ioCancelAll=function(){try{_4b3.forEach(_4cd,function(i){try{i.dfd.cancel();}catch(e){}});}catch(e){}};if(has("ie")){on(window,"unload",dojo._ioCancelAll);}dojo._ioNotifyStart=function(dfd){if(cfg.ioPublish&&dojo.publish&&dfd.ioArgs.args.ioPublish!==false){if(!_4ce){dojo.publish("/dojo/io/start");}_4ce+=1;dojo.publish("/dojo/io/send",[dfd]);}};dojo._ioWatch=function(dfd,_4d1,_4d2,_4d3){var args=dfd.ioArgs.args;if(args.timeout){dfd.startTime=(new Date()).getTime();}_4cd.push({dfd:dfd,validCheck:_4d1,ioCheck:_4d2,resHandle:_4d3});if(!_4cc){_4cc=setInterval(_4d0,50);}if(args.sync){_4d0();}};var _4d4="application/x-www-form-urlencoded";var _4d5=function(dfd){return dfd.ioArgs.xhr.readyState;};var _4d6=function(dfd){return 4==dfd.ioArgs.xhr.readyState;};var _4d7=function(dfd){var xhr=dfd.ioArgs.xhr;if(dojo._isDocumentOk(xhr)){dfd.callback(dfd);}else{var err=new Error("Unable to load "+dfd.ioArgs.url+" status:"+xhr.status);err.status=xhr.status;err.responseText=xhr.responseText;err.xhr=xhr;dfd.errback(err);}};dojo._ioAddQueryToUrl=function(_4d8){if(_4d8.query.length){_4d8.url+=(_4d8.url.indexOf("?")==-1?"?":"&")+_4d8.query;_4d8.query=null;}};dojo.xhr=function(_4d9,args,_4da){var dfd=dojo._ioSetArgs(args,_4c7,_4c9,_4ca);var _4db=dfd.ioArgs;var xhr=_4db.xhr=dojo._xhrObj(_4db.args);if(!xhr){dfd.cancel();return dfd;}if("postData" in args){_4db.query=args.postData;}else{if("putData" in args){_4db.query=args.putData;}else{if("rawBody" in args){_4db.query=args.rawBody;}else{if((arguments.length>2&&!_4da)||"POST|PUT".indexOf(_4d9.toUpperCase())==-1){dojo._ioAddQueryToUrl(_4db);}}}}xhr.open(_4d9,_4db.url,args.sync!==true,args.user||undefined,args.password||undefined);if(args.headers){for(var hdr in args.headers){if(hdr.toLowerCase()==="content-type"&&!args.contentType){args.contentType=args.headers[hdr];}else{if(args.headers[hdr]){xhr.setRequestHeader(hdr,args.headers[hdr]);}}}}if(args.contentType!==false){xhr.setRequestHeader("Content-Type",args.contentType||_4d4);}if(!args.headers||!("X-Requested-With" in args.headers)){xhr.setRequestHeader("X-Requested-With","XMLHttpRequest");}dojo._ioNotifyStart(dfd);if(dojo.config.debugAtAllCosts){xhr.send(_4db.query);}else{try{xhr.send(_4db.query);}catch(e){_4db.error=e;dfd.cancel();}}dojo._ioWatch(dfd,_4d5,_4d6,_4d7);xhr=null;return dfd;};dojo.xhrGet=function(args){return dojo.xhr("GET",args);};dojo.rawXhrPost=dojo.xhrPost=function(args){return dojo.xhr("POST",args,true);};dojo.rawXhrPut=dojo.xhrPut=function(args){return dojo.xhr("PUT",args,true);};dojo.xhrDelete=function(args){return dojo.xhr("DELETE",args);};dojo._isDocumentOk=function(http){var stat=http.status||0;stat=(stat>=200&&stat<300)||stat==304||stat==1223||!stat;return stat;};dojo._getText=function(url){var _4dc;dojo.xhrGet({url:url,sync:true,load:function(text){_4dc=text;}});return _4dc;};lang.mixin(dojo.xhr,{_xhrObj:dojo._xhrObj,fieldToObject:_4b1.fieldToObject,formToObject:_4b1.toObject,objectToQuery:ioq.objectToQuery,formToQuery:_4b1.toQuery,formToJson:_4b1.toJson,queryToObject:ioq.queryToObject,contentHandlers:_4b6,_ioSetArgs:dojo._ioSetArgs,_ioCancelAll:dojo._ioCancelAll,_ioNotifyStart:dojo._ioNotifyStart,_ioWatch:dojo._ioWatch,_ioAddQueryToUrl:dojo._ioAddQueryToUrl,_isDocumentOk:dojo._isDocumentOk,_getText:dojo._getText,get:dojo.xhrGet,post:dojo.xhrPost,put:dojo.xhrPut,del:dojo.xhrDelete});return dojo.xhr;});},"dojo/io-query":function(){define(["./_base/lang"],function(lang){var _4dd={};function _4de(map){var enc=encodeURIComponent,_4df=[];for(var name in map){var _4e0=map[name];if(_4e0!=_4dd[name]){var _4e1=enc(name)+"=";if(lang.isArray(_4e0)){for(var i=0,l=_4e0.length;i<l;++i){_4df.push(_4e1+enc(_4e0[i]));}}else{_4df.push(_4e1+enc(_4e0));}}}return _4df.join("&");};function _4e2(str){var dec=decodeURIComponent,qp=str.split("&"),ret={},name,val;for(var i=0,l=qp.length,item;i<l;++i){item=qp[i];if(item.length){var s=item.indexOf("=");if(s<0){name=dec(item);val="";}else{name=dec(item.slice(0,s));val=dec(item.slice(s+1));}if(typeof ret[name]=="string"){ret[name]=[ret[name]];}if(lang.isArray(ret[name])){ret[name].push(val);}else{ret[name]=val;}}}return ret;};return {objectToQuery:_4de,queryToObject:_4e2};});},"dojo/dom-form":function(){define(["./_base/lang","./dom","./io-query","./json"],function(lang,dom,ioq,json){function _4e3(obj,name,_4e4){if(_4e4===null){return;}var val=obj[name];if(typeof val=="string"){obj[name]=[val,_4e4];}else{if(lang.isArray(val)){val.push(_4e4);}else{obj[name]=_4e4;}}};var _4e5="file|submit|image|reset|button";var form={fieldToObject:function fieldToObject(_4e6){var ret=null;_4e6=dom.byId(_4e6);if(_4e6){var _4e7=_4e6.name,type=(_4e6.type||"").toLowerCase();if(_4e7&&type&&!_4e6.disabled){if(type=="radio"||type=="checkbox"){if(_4e6.checked){ret=_4e6.value;}}else{if(_4e6.multiple){ret=[];var _4e8=[_4e6.firstChild];while(_4e8.length){for(var node=_4e8.pop();node;node=node.nextSibling){if(node.nodeType==1&&node.tagName.toLowerCase()=="option"){if(node.selected){ret.push(node.value);}}else{if(node.nextSibling){_4e8.push(node.nextSibling);}if(node.firstChild){_4e8.push(node.firstChild);}break;}}}}else{ret=_4e6.value;}}}}return ret;},toObject:function formToObject(_4e9){var ret={},_4ea=dom.byId(_4e9).elements;for(var i=0,l=_4ea.length;i<l;++i){var item=_4ea[i],_4eb=item.name,type=(item.type||"").toLowerCase();if(_4eb&&type&&_4e5.indexOf(type)<0&&!item.disabled){_4e3(ret,_4eb,form.fieldToObject(item));if(type=="image"){ret[_4eb+".x"]=ret[_4eb+".y"]=ret[_4eb].x=ret[_4eb].y=0;}}}return ret;},toQuery:function formToQuery(_4ec){return ioq.objectToQuery(form.toObject(_4ec));},toJson:function formToJson(_4ed,_4ee){return json.stringify(form.toObject(_4ed),null,_4ee?4:0);}};return form;});},"dojo/_base/Deferred":function(){define(["./kernel","./lang"],function(dojo,lang){var _4ef=function(){};var _4f0=Object.freeze||function(){};dojo.Deferred=function(_4f1){var _4f2,_4f3,_4f4,head,_4f5;var _4f6=(this.promise={});function _4f7(_4f8){if(_4f3){throw new Error("This deferred has already been resolved");}_4f2=_4f8;_4f3=true;_4f9();};function _4f9(){var _4fa;while(!_4fa&&_4f5){var _4fb=_4f5;_4f5=_4f5.next;if((_4fa=(_4fb.progress==_4ef))){_4f3=false;}var func=(_4f4?_4fb.error:_4fb.resolved);if(func){try{var _4fc=func(_4f2);if(_4fc&&typeof _4fc.then==="function"){_4fc.then(lang.hitch(_4fb.deferred,"resolve"),lang.hitch(_4fb.deferred,"reject"),lang.hitch(_4fb.deferred,"progress"));continue;}var _4fd=_4fa&&_4fc===undefined;if(_4fa&&!_4fd){_4f4=_4fc instanceof Error;}_4fb.deferred[_4fd&&_4f4?"reject":"resolve"](_4fd?_4f2:_4fc);}catch(e){_4fb.deferred.reject(e);}}else{if(_4f4){_4fb.deferred.reject(_4f2);}else{_4fb.deferred.resolve(_4f2);}}}};this.resolve=this.callback=function(_4fe){this.fired=0;this.results=[_4fe,null];_4f7(_4fe);};this.reject=this.errback=function(_4ff){_4f4=true;this.fired=1;_4f7(_4ff);this.results=[null,_4ff];if(!_4ff||_4ff.log!==false){(dojo.config.deferredOnError||function(x){console.error(x);})(_4ff);}};this.progress=function(_500){var _501=_4f5;while(_501){var _502=_501.progress;_502&&_502(_500);_501=_501.next;}};this.addCallbacks=function(_503,_504){this.then(_503,_504,_4ef);return this;};_4f6.then=this.then=function(_505,_506,_507){var _508=_507==_4ef?this:new dojo.Deferred(_4f6.cancel);var _509={resolved:_505,error:_506,progress:_507,deferred:_508};if(_4f5){head=head.next=_509;}else{_4f5=head=_509;}if(_4f3){_4f9();}return _508.promise;};var _50a=this;_4f6.cancel=this.cancel=function(){if(!_4f3){var _50b=_4f1&&_4f1(_50a);if(!_4f3){if(!(_50b instanceof Error)){_50b=new Error(_50b);}_50b.log=false;_50a.reject(_50b);}}};_4f0(_4f6);};lang.extend(dojo.Deferred,{addCallback:function(_50c){return this.addCallbacks(lang.hitch.apply(dojo,arguments));},addErrback:function(_50d){return this.addCallbacks(null,lang.hitch.apply(dojo,arguments));},addBoth:function(_50e){var _50f=lang.hitch.apply(dojo,arguments);return this.addCallbacks(_50f,_50f);},fired:-1});dojo.Deferred.when=dojo.when=function(_510,_511,_512,_513){if(_510&&typeof _510.then==="function"){return _510.then(_511,_512,_513);}return _511?_511(_510):_510;};return dojo.Deferred;});},"dijit/_WidgetsInTemplateMixin":function(){define("dijit/_WidgetsInTemplateMixin",["dojo/_base/array","dojo/_base/declare","dojo/parser","dijit/registry"],function(_514,_515,_516,_517){return _515("dijit._WidgetsInTemplateMixin",null,{_earlyTemplatedStartup:false,widgetsInTemplate:true,_beforeFillContent:function(){if(this.widgetsInTemplate){var node=this.domNode;var cw=(this._startupWidgets=_516.parse(node,{noStart:!this._earlyTemplatedStartup,template:true,inherited:{dir:this.dir,lang:this.lang,textDir:this.textDir},propsThis:this,scope:"dojo"}));this._supportingWidgets=_517.findWidgets(node);this._attachTemplateNodes(cw,function(n,p){return n[p];});}},startup:function(){_514.forEach(this._startupWidgets,function(w){if(w&&!w._started&&w.startup){w.startup();}});this.inherited(arguments);}});});},"dojox/mvc":function(){define("dojox/mvc",["./mvc/_base"],function(_518){return _518;});},"dojox/mvc/_base":function(){define("dojox/mvc/_base",["dojo/_base/kernel","dojo/_base/lang","./StatefulModel","./Bind","./_DataBindingMixin","./_patches"],function(_519,lang,_51a){_519.experimental("dojox.mvc");var mvc=lang.getObject("dojox.mvc",true);mvc.newStatefulModel=function(args){if(args.data){return new _51a({data:args.data});}else{if(args.store&&lang.isFunction(args.store.query)){var _51b;var _51c=args.store.query(args.query);if(_51c.then){return (_51c.then(function(data){_51b=new _51a({data:data});_51b.store=args.store;return _51b;}));}else{_51b=new _51a({data:_51c});_51b.store=args.store;return _51b;}}}};return mvc;});},"dojox/mvc/StatefulModel":function(){define("dojox/mvc/StatefulModel",["dojo/_base/lang","dojo/_base/array","dojo/_base/declare","dojo/Stateful"],function(lang,_51d,_51e,_51f){var _520=_51e("dojox.mvc.StatefulModel",[_51f],{data:null,store:null,valid:true,value:"",reset:function(){if(lang.isObject(this.data)&&!(this.data instanceof Date)&&!(this.data instanceof RegExp)){for(var x in this){if(this[x]&&lang.isFunction(this[x].reset)){this[x].reset();}}}else{this.set("value",this.data);}},commit:function(_521){this._commit();var ds=_521||this.store;if(ds){this._saveToStore(ds);}},toPlainObject:function(){var ret={};var _522=false;for(var p in this){if(this[p]&&lang.isFunction(this[p].toPlainObject)){if(!_522&&typeof this.get("length")==="number"){ret=[];}_522=true;ret[p]=this[p].toPlainObject();}}if(!_522){if(this.get("length")===0){ret=[];}else{ret=this.value;}}return ret;},add:function(name,_523){var n,n1,elem,_524,save=new _520({data:""});if(typeof this.get("length")==="number"&&/^[0-9]+$/.test(name.toString())){n=name;if(!this.get(n)){if(this.get("length")==0&&n==0){this.set(n,_523);}else{n1=n-1;if(!this.get(n1)){throw new Error("Out of bounds insert attempted, must be contiguous.");}this.set(n,_523);}}else{n1=n-0+1;elem=_523;_524=this.get(n1);if(!_524){this.set(n1,elem);}else{do{this._copyStatefulProperties(_524,save);this._copyStatefulProperties(elem,_524);this._copyStatefulProperties(save,elem);this.set(n1,_524);_524=this.get(++n1);}while(_524);this.set(n1,elem);}}this.set("length",this.get("length")+1);}else{this.set(name,_523);}},remove:function(name){var n,elem,_525;if(typeof this.get("length")==="number"&&/^[0-9]+$/.test(name.toString())){n=name;elem=this.get(n);if(!elem){throw new Error("Out of bounds delete attempted - no such index: "+n);}else{this._removals=this._removals||[];this._removals.push(elem.toPlainObject());n1=n-0+1;_525=this.get(n1);if(!_525){this.set(n,undefined);delete this[n];}else{while(_525){this._copyStatefulProperties(_525,elem);elem=this.get(n1++);_525=this.get(n1);}this.set(n1-1,undefined);delete this[n1-1];}this.set("length",this.get("length")-1);}}else{elem=this.get(name);if(!elem){throw new Error("Illegal delete attempted - no such property: "+name);}else{this._removals=this._removals||[];this._removals.push(elem.toPlainObject());this.set(name,undefined);delete this[name];}}},valueOf:function(){return this.toPlainObject();},toString:function(){return this.value===""&&this.data?this.data.toString():this.value.toString();},constructor:function(args){var data=(args&&"data" in args)?args.data:this.data;this._createModel(data);},_createModel:function(obj){if(lang.isObject(obj)&&!(obj instanceof Date)&&!(obj instanceof RegExp)&&obj!==null){for(var x in obj){var _526=new _520({data:obj[x]});this.set(x,_526);}if(lang.isArray(obj)){this.set("length",obj.length);}}else{this.set("value",obj);}},_commit:function(){for(var x in this){if(this[x]&&lang.isFunction(this[x]._commit)){this[x]._commit();}}this.data=this.toPlainObject();},_saveToStore:function(_527){if(this._removals){_51d.forEach(this._removals,function(d){_527.remove(_527.getIdentity(d));},this);delete this._removals;}var _528=this.toPlainObject();if(lang.isArray(_528)){_51d.forEach(_528,function(d){_527.put(d);},this);}else{_527.put(_528);}},_copyStatefulProperties:function(src,dest){for(var x in src){var o=src.get(x);if(o&&lang.isObject(o)&&lang.isFunction(o.get)){dest.set(x,o);}}}});return _520;});},"dojox/mvc/Bind":function(){define("dojox/mvc/Bind",["dojo/_base/lang","dojo/_base/array"],function(lang,_529){var mvc=lang.getObject("dojox.mvc",true);return lang.mixin(mvc,{bind:function(_52a,_52b,_52c,_52d,func,_52e){var _52f;return _52a.watch(_52b,function(prop,_530,_531){_52f=lang.isFunction(func)?func(_531):_531;if(!_52e||_52f!=_52c.get(_52d)){_52c.set(_52d,_52f);}});},bindInputs:function(_532,func){var _533=[];_529.forEach(_532,function(h){_533.push(h.watch("value",func));});return _533;}});});},"dojox/mvc/_DataBindingMixin":function(){define("dojox/mvc/_DataBindingMixin",["dojo/_base/lang","dojo/_base/array","dojo/_base/declare","dojo/Stateful","dijit/registry"],function(lang,_534,_535,_536,_537){return _535("dojox.mvc._DataBindingMixin",null,{ref:null,isValid:function(){return this.get("binding")?this.get("binding").get("valid"):true;},_dbstartup:function(){if(this._databound){return;}this._unwatchArray(this._viewWatchHandles);this._viewWatchHandles=[this.watch("ref",function(name,old,_538){if(this._databound){this._setupBinding();}}),this.watch("value",function(name,old,_539){if(this._databound){var _53a=this.get("binding");if(_53a){if(!((_539&&old)&&(old.valueOf()===_539.valueOf()))){_53a.set("value",_539);}}}})];this._beingBound=true;this._setupBinding();delete this._beingBound;this._databound=true;},_setupBinding:function(_53b){if(!this.ref){return;}var ref=this.ref,pw,pb,_53c;if(ref&&lang.isFunction(ref.toPlainObject)){_53c=ref;}else{if(/^\s*expr\s*:\s*/.test(ref)){ref=ref.replace(/^\s*expr\s*:\s*/,"");_53c=lang.getObject(ref);}else{if(/^\s*rel\s*:\s*/.test(ref)){ref=ref.replace(/^\s*rel\s*:\s*/,"");_53b=_53b||this._getParentBindingFromDOM();if(_53b){_53c=lang.getObject(""+ref,false,_53b);}}else{if(/^\s*widget\s*:\s*/.test(ref)){ref=ref.replace(/^\s*widget\s*:\s*/,"");var _53d=ref.split(".");if(_53d.length==1){_53c=_537.byId(ref).get("binding");}else{pb=_537.byId(_53d.shift()).get("binding");_53c=lang.getObject(_53d.join("."),false,pb);}}else{_53b=_53b||this._getParentBindingFromDOM();if(_53b){_53c=lang.getObject(""+ref,false,_53b);}else{try{if(lang.getObject(ref) instanceof _536){_53c=lang.getObject(ref);}}catch(err){if(ref.indexOf("${")==-1){throw new Error("dojox.mvc._DataBindingMixin: '"+this.domNode+"' widget with illegal ref expression: '"+ref+"'");}}}}}}}if(_53c){if(lang.isFunction(_53c.toPlainObject)){this.binding=_53c;this._updateBinding("binding",null,_53c);}else{throw new Error("dojox.mvc._DataBindingMixin: '"+this.domNode+"' widget with illegal ref not evaluating to a dojo.Stateful node: '"+ref+"'");}}},_isEqual:function(one,_53e){return one===_53e||isNaN(one)&&typeof one==="number"&&isNaN(_53e)&&typeof _53e==="number";},_updateBinding:function(name,old,_53f){this._unwatchArray(this._modelWatchHandles);var _540=this.get("binding");if(_540&&lang.isFunction(_540.watch)){var _541=this;this._modelWatchHandles=[_540.watch("value",function(name,old,_542){if(_541._isEqual(old,_542)){return;}if(_541._isEqual(_541.get("value"),_542)){return;}_541.set("value",_542);}),_540.watch("valid",function(name,old,_543){_541._updateProperty(name,old,_543,true);if(_543!==_541.get(name)){if(_541.validate&&lang.isFunction(_541.validate)){_541.validate();}}}),_540.watch("required",function(name,old,_544){_541._updateProperty(name,old,_544,false,name,_544);}),_540.watch("readOnly",function(name,old,_545){_541._updateProperty(name,old,_545,false,name,_545);}),_540.watch("relevant",function(name,old,_546){_541._updateProperty(name,old,_546,false,"disabled",!_546);})];var val=_540.get("value");if(val!=null){this.set("value",val);}}this._updateChildBindings();},_updateProperty:function(name,old,_547,_548,_549,_54a){if(old===_547){return;}if(_547===null&&_548!==undefined){_547=_548;}if(_547!==this.get("binding").get(name)){this.get("binding").set(name,_547);}if(_549){this.set(_549,_54a);}},_updateChildBindings:function(_54b){var _54c=this.get("binding")||_54b;if(_54c&&!this._beingBound){_534.forEach(_537.findWidgets(this.domNode),function(_54d){if(_54d.ref&&_54d._setupBinding){_54d._setupBinding(_54c);}else{_54d._updateChildBindings(_54c);}});}},_getParentBindingFromDOM:function(){var pn=this.domNode.parentNode,pw,pb;while(pn){pw=_537.getEnclosingWidget(pn);if(pw){pb=pw.get("binding");if(pb&&lang.isFunction(pb.toPlainObject)){break;}}pn=pw?pw.domNode.parentNode:null;}return pb;},_unwatchArray:function(_54e){_534.forEach(_54e,function(h){h.unwatch();});}});});},"dojox/mvc/_patches":function(){define("dojox/mvc/_patches",["dojo/_base/lang","dojo/_base/array","dijit/_WidgetBase","./_DataBindingMixin","dijit/form/ValidationTextBox","dijit/form/NumberTextBox"],function(lang,_54f,wb,dbm,vtb,ntb){lang.extend(wb,new dbm());var _550=wb.prototype.startup;wb.prototype.startup=function(){this._dbstartup();_550.apply(this);};var _551=wb.prototype.destroy;wb.prototype.destroy=function(_552){if(this._modelWatchHandles){_54f.forEach(this._modelWatchHandles,function(h){h.unwatch();});}if(this._viewWatchHandles){_54f.forEach(this._viewWatchHandles,function(h){h.unwatch();});}_551.apply(this,[_552]);};var _553=vtb.prototype.isValid;vtb.prototype.isValid=function(_554){return (this.inherited("isValid",arguments)!==false&&_553.apply(this,[_554]));};var _555=ntb.prototype.isValid;ntb.prototype.isValid=function(_556){return (this.inherited("isValid",arguments)!==false&&_555.apply(this,[_556]));};});},"dijit/form/ValidationTextBox":function(){require({cache:{"url:dijit/form/templates/ValidationTextBox.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\"\n\tid=\"widget_${id}\" role=\"presentation\"\n\t><div class='dijitReset dijitValidationContainer'\n\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t/></div\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class=\"dijitReset dijitInputInner\" data-dojo-attach-point='textbox,focusNode' autocomplete=\"off\"\n\t\t\t${!nameAttrSetting} type='${type}'\n\t/></div\n></div>\n"}});define("dijit/form/ValidationTextBox",["dojo/_base/declare","dojo/i18n","./TextBox","../Tooltip","dojo/text!./templates/ValidationTextBox.html","dojo/i18n!./nls/validate"],function(_557,i18n,_558,_559,_55a){return _557("dijit.form.ValidationTextBox",_558,{templateString:_55a,baseClass:"dijitTextBox dijitValidationTextBox",required:false,promptMessage:"",invalidMessage:"$_unset_$",missingMessage:"$_unset_$",message:"",constraints:{},regExp:".*",regExpGen:function(){return this.regExp;},state:"",tooltipPosition:[],_setValueAttr:function(){this.inherited(arguments);this.validate(this.focused);},validator:function(_55b,_55c){return (new RegExp("^(?:"+this.regExpGen(_55c)+")"+(this.required?"":"?")+"$")).test(_55b)&&(!this.required||!this._isEmpty(_55b))&&(this._isEmpty(_55b)||this.parse(_55b,_55c)!==undefined);},_isValidSubset:function(){return this.textbox.value.search(this._partialre)==0;},isValid:function(){return this.validator(this.textbox.value,this.constraints);},_isEmpty:function(_55d){return (this.trim?/^\s*$/:/^$/).test(_55d);},getErrorMessage:function(){return (this.required&&this._isEmpty(this.textbox.value))?this.missingMessage:this.invalidMessage;},getPromptMessage:function(){return this.promptMessage;},_maskValidSubsetError:true,validate:function(_55e){var _55f="";var _560=this.disabled||this.isValid(_55e);if(_560){this._maskValidSubsetError=true;}var _561=this._isEmpty(this.textbox.value);var _562=!_560&&_55e&&this._isValidSubset();this._set("state",_560?"":(((((!this._hasBeenBlurred||_55e)&&_561)||_562)&&this._maskValidSubsetError)?"Incomplete":"Error"));this.focusNode.setAttribute("aria-invalid",_560?"false":"true");if(this.state=="Error"){this._maskValidSubsetError=_55e&&_562;_55f=this.getErrorMessage(_55e);}else{if(this.state=="Incomplete"){_55f=this.getPromptMessage(_55e);this._maskValidSubsetError=!this._hasBeenBlurred||_55e;}else{if(_561){_55f=this.getPromptMessage(_55e);}}}this.set("message",_55f);return _560;},displayMessage:function(_563){if(_563&&this.focused){_559.show(_563,this.domNode,this.tooltipPosition,!this.isLeftToRight());}else{_559.hide(this.domNode);}},_refreshState:function(){this.validate(this.focused);this.inherited(arguments);},constructor:function(){this.constraints={};},_setConstraintsAttr:function(_564){if(!_564.locale&&this.lang){_564.locale=this.lang;}this._set("constraints",_564);this._computePartialRE();},_computePartialRE:function(){var p=this.regExpGen(this.constraints);this.regExp=p;var _565="";if(p!=".*"){this.regExp.replace(/\\.|\[\]|\[.*?[^\\]{1}\]|\{.*?\}|\(\?[=:!]|./g,function(re){switch(re.charAt(0)){case "{":case "+":case "?":case "*":case "^":case "$":case "|":case "(":_565+=re;break;case ")":_565+="|$)";break;default:_565+="(?:"+re+"|$)";break;}});}try{"".search(_565);}catch(e){_565=this.regExp;console.warn("RegExp error in "+this.declaredClass+": "+this.regExp);}this._partialre="^(?:"+_565+")$";},postMixInProperties:function(){this.inherited(arguments);this.messages=i18n.getLocalization("dijit.form","validate",this.lang);if(this.invalidMessage=="$_unset_$"){this.invalidMessage=this.messages.invalidMessage;}if(!this.invalidMessage){this.invalidMessage=this.promptMessage;}if(this.missingMessage=="$_unset_$"){this.missingMessage=this.messages.missingMessage;}if(!this.missingMessage){this.missingMessage=this.invalidMessage;}this._setConstraintsAttr(this.constraints);},_setDisabledAttr:function(_566){this.inherited(arguments);this._refreshState();},_setRequiredAttr:function(_567){this._set("required",_567);this.focusNode.setAttribute("aria-required",_567);this._refreshState();},_setMessageAttr:function(_568){this._set("message",_568);this.displayMessage(_568);},reset:function(){this._maskValidSubsetError=true;this.inherited(arguments);},_onBlur:function(){this.displayMessage("");this.inherited(arguments);}});});},"dojo/i18n":function(){define(["./_base/kernel","require","./has","./_base/array","./_base/config","./_base/lang","./_base/xhr"],function(dojo,_569,has,_56a,_56b,lang,xhr){var _56c=dojo.i18n={},_56d=/(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,_56e=function(root,_56f,_570,_571){for(var _572=[_570+_571],_573=_56f.split("-"),_574="",i=0;i<_573.length;i++){_574+=(_574?"-":"")+_573[i];if(!root||root[_574]){_572.push(_570+_574+"/"+_571);}}return _572;},_575={},_576=dojo.getL10nName=function(_577,_578,_579){_579=_579?_579.toLowerCase():dojo.locale;_577="dojo/i18n!"+_577.replace(/\./g,"/");_578=_578.replace(/\./g,"/");return (/root/i.test(_579))?(_577+"/nls/"+_578):(_577+"/nls/"+_579+"/"+_578);},_57a=function(_57b,_57c,_57d,_57e,_57f,load){_57b([_57c],function(root){var _580=_575[_57c+"/"]=lang.clone(root.root),_581=_56e(!root._v1x&&root,_57f,_57d,_57e);_57b(_581,function(){for(var i=1;i<_581.length;i++){_575[_581[i]]=_580=lang.mixin(lang.clone(_580),arguments[i]);}var _582=_57c+"/"+_57f;_575[_582]=_580;load&&load(lang.delegate(_580));});});},_583=function(id,_584){var _585=_56d.exec(id),_586=_585[1];return /^\./.test(_586)?_584(_586)+"/"+id.substring(_586.length):id;},_587=function(){},load=function(id,_588,load){var _589=_56d.exec(id),_58a=_589[1]+"/",_58b=_589[5]||_589[4],_58c=_58a+_58b,_58d=(_589[5]&&_589[4]),_58e=_58d||dojo.locale,_58f=_58c+"/"+_58e;if(_58d){_587(_58f);if(_575[_58f]){load(_575[_58f]);}else{_57a(_588,_58c,_58a,_58b,_58e,load);}return;}var _590=_56b.extraLocale||[];_590=lang.isArray(_590)?_590:[_590];_590.push(_58e);var _591=_590.length,_592;_56a.forEach(_590,function(_593){_57a(_588,_58c,_58a,_58b,_593,function(_594){if(_593==_58e){_592=_594;}if(!--_591){load(_592);}});});};if(has("dojo-unit-tests")){var _595=_56c.unitTests=[];}true||has.add("dojo-v1x-i18n-Api",1);if(1){var _596={},_597=new Function("bundle, __evalError","var __amdResult, define = function(x){__amdResult= x;};"+"return [(function(){"+"try{eval(arguments[0]);}catch(e){}"+"if(__amdResult)return 0;"+"try{return eval('('+arguments[0]+')');}"+"catch(e){__evalError.e = e; return __evalError;}"+"})(arguments[0]) , __amdResult];"),_598=function(url,_599,_59a){if(_599===_596){console.error("failed to evaluate i18n bundle; url="+url,_596.e);return {};}return _599?(/nls\/[^\/]+\/[^\/]+$/.test(url)?_599:{root:_599,_v1x:1}):_59a;},_59b=function(deps,_59c){var _59d=[];_56a.forEach(deps,function(mid){var url=_569.toUrl(mid+".js");if(_575[url]){_59d.push(_575[url]);}else{try{var _59e=_569(mid);if(_59e){_59d.push(_59e);return;}}catch(e){}xhr.get({url:url,sync:true,load:function(text){var _59f=_597(text,_596);_59d.push(_575[url]=_598(url,_59f[0],_59f[1]));},error:function(){_59d.push(_575[url]={});}});}});_59c&&_59c.apply(null,_59d);},_5a0=_56c.normalizeLocale=function(_5a1){var _5a2=_5a1?_5a1.toLowerCase():dojo.locale;if(_5a2=="root"){_5a2="ROOT";}return _5a2;},_5a3=function(_5a4,func){var _5a5=_5a4.split("-");while(_5a5.length){if(func(_5a5.join("-"))){return true;}_5a5.pop();}return func("ROOT");};_587=function(_5a6){for(var _5a7=_5a6.split("/"),_5a8=dojo.global[_5a7[0]],i=1;_5a8&&i<_5a7.length;_5a8=_5a8[_5a7[i++]]){}if(_5a8){_575[_5a6]=_5a8;}};_56c.getLocalization=function(_5a9,_5aa,_5ab){var _5ac,_5ad=_576(_5a9,_5aa,_5ab).substring(10);load(_5ad,(1&&!_569.isXdUrl(_569.toUrl(_5ad+".js"))?_59b:_569),function(_5ae){_5ac=_5ae;});return _5ac;};_56c._preloadLocalizations=function(_5af,_5b0){function _5b1(_5b2){_5b2=_5a0(_5b2);_5a3(_5b2,function(loc){for(var i=0;i<_5b0.length;i++){if(_5b0[i]==loc){_59b([_5af.replace(/\./g,"/")+"_"+loc]);return true;}}return false;});};_5b1();var _5b3=dojo.config.extraLocale||[];for(var i=0;i<_5b3.length;i++){_5b1(_5b3[i]);}};if(has("dojo-unit-tests")){_595.push(function(doh){doh.register("tests.i18n.unit",function(t){var _5b4;_5b4=_597("{prop:1}",_596);t.is({prop:1},_5b4[0]);t.is(undefined,_5b4[1]);_5b4=_597("({prop:1})",_596);t.is({prop:1},_5b4[0]);t.is(undefined,_5b4[1]);_5b4=_597("{'prop-x':1}",_596);t.is({"prop-x":1},_5b4[0]);t.is(undefined,_5b4[1]);_5b4=_597("({'prop-x':1})",_596);t.is({"prop-x":1},_5b4[0]);t.is(undefined,_5b4[1]);_5b4=_597("define({'prop-x':1})",_596);t.is(0,_5b4[0]);t.is({"prop-x":1},_5b4[1]);_5b4=_597("define({'prop-x':1});",_596);t.is(0,_5b4[0]);t.is({"prop-x":1},_5b4[1]);_5b4=_597("this is total nonsense and should throw an error",_596);t.is(_596,_5b4[0]);t.is(undefined,_5b4[1]);t.is({},_598("some/url",_5b4[0],_5b4[1]));});});}}return lang.mixin(_56c,{dynamic:true,normalize:_583,load:load,cache:function(mid,_5b5){_575[mid]=_5b5;}});});},"dijit/form/TextBox":function(){require({cache:{"url:dijit/form/templates/TextBox.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\" id=\"widget_${id}\" role=\"presentation\"\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class=\"dijitReset dijitInputInner\" data-dojo-attach-point='textbox,focusNode' autocomplete=\"off\"\n\t\t\t${!nameAttrSetting} type='${type}'\n\t/></div\n></div>\n"}});define("dijit/form/TextBox",["dojo/_base/declare","dojo/dom-construct","dojo/dom-style","dojo/_base/kernel","dojo/_base/lang","dojo/_base/sniff","dojo/_base/window","./_FormValueWidget","./_TextBoxMixin","dojo/text!./templates/TextBox.html",".."],function(_5b6,_5b7,_5b8,_5b9,lang,has,win,_5ba,_5bb,_5bc,_5bd){var _5be=_5b6([_5ba,_5bb],{templateString:_5bc,_singleNodeTemplate:"<input class=\"dijit dijitReset dijitLeft dijitInputField\" data-dojo-attach-point=\"textbox,focusNode\" autocomplete=\"off\" type=\"${type}\" ${!nameAttrSetting} />",_buttonInputDisabled:has("ie")?"disabled":"",baseClass:"dijitTextBox",postMixInProperties:function(){var type=this.type.toLowerCase();if(this.templateString&&this.templateString.toLowerCase()=="input"||((type=="hidden"||type=="file")&&this.templateString==this.constructor.prototype.templateString)){this.templateString=this._singleNodeTemplate;}this.inherited(arguments);},_onInput:function(e){this.inherited(arguments);if(this.intermediateChanges){var _5bf=this;setTimeout(function(){_5bf._handleOnChange(_5bf.get("value"),false);},0);}},_setPlaceHolderAttr:function(v){this._set("placeHolder",v);if(!this._phspan){this._attachPoints.push("_phspan");this._phspan=_5b7.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(_5c0,_5c1,_5c2){this.inherited(arguments);this._updatePlaceHolder();},getDisplayedValue:function(){_5b9.deprecated(this.declaredClass+"::getDisplayedValue() is deprecated. Use set('displayedValue') instead.","","2.0");return this.get("displayedValue");},setDisplayedValue:function(_5c3){_5b9.deprecated(this.declaredClass+"::setDisplayedValue() is deprecated. Use set('displayedValue', ...) instead.","","2.0");this.set("displayedValue",_5c3);},_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(has("ie")){_5be=_5b6(_5be,{declaredClass:"dijit.form.TextBox",_isTextSelected:function(){var _5c4=win.doc.selection.createRange();var _5c5=_5c4.parentElement();return _5c5==this.textbox&&_5c4.text.length==0;},postCreate:function(){this.inherited(arguments);setTimeout(lang.hitch(this,function(){try{var s=_5b8.getComputedStyle(this.domNode);if(s){var ff=s.fontFamily;if(ff){var _5c6=this.domNode.getElementsByTagName("INPUT");if(_5c6){for(var i=0;i<_5c6.length;i++){_5c6[i].style.fontFamily=ff;}}}}}catch(e){}}),0);}});_5bd._setSelectionRange=_5bb._setSelectionRange=function(_5c7,_5c8,stop){if(_5c7.createTextRange){var r=_5c7.createTextRange();r.collapse(true);r.moveStart("character",-99999);r.moveStart("character",_5c8);r.moveEnd("character",stop-_5c8);r.select();}};}else{if(has("mozilla")){_5be=_5b6(_5be,{declaredClass:"dijit.form.TextBox",_onBlur:function(e){this.inherited(arguments);if(this.selectOnClick){this.textbox.selectionStart=this.textbox.selectionEnd=undefined;}}});}else{_5be.prototype.declaredClass="dijit.form.TextBox";}}lang.setObject("dijit.form.TextBox",_5be);return _5be;});},"dijit/form/_FormValueWidget":function(){define("dijit/form/_FormValueWidget",["dojo/_base/declare","dojo/_base/sniff","./_FormWidget","./_FormValueMixin"],function(_5c9,has,_5ca,_5cb){return _5c9("dijit.form._FormValueWidget",[_5ca,_5cb],{_layoutHackIE7:function(){if(has("ie")==7){var _5cc=this.domNode;var _5cd=_5cc.parentNode;var _5ce=_5cc.firstChild||_5cc;var _5cf=_5ce.style.filter;var _5d0=this;while(_5cd&&_5cd.clientHeight==0){(function ping(){var _5d1=_5d0.connect(_5cd,"onscroll",function(){_5d0.disconnect(_5d1);_5ce.style.filter=(new Date()).getMilliseconds();setTimeout(function(){_5ce.style.filter=_5cf;},0);});})();_5cd=_5cd.parentNode;}}}});});},"dijit/form/_FormWidget":function(){define("dijit/form/_FormWidget",["dojo/_base/declare","dojo/_base/kernel","dojo/ready","../_Widget","../_CssStateMixin","../_TemplatedMixin","./_FormWidgetMixin"],function(_5d2,_5d3,_5d4,_5d5,_5d6,_5d7,_5d8){if(!_5d3.isAsync){_5d4(0,function(){var _5d9=["dijit/form/_FormValueWidget"];require(_5d9);});}return _5d2("dijit.form._FormWidget",[_5d5,_5d7,_5d6,_5d8],{setDisabled:function(_5da){_5d3.deprecated("setDisabled("+_5da+") is deprecated. Use set('disabled',"+_5da+") instead.","","2.0");this.set("disabled",_5da);},setValue:function(_5db){_5d3.deprecated("dijit.form._FormWidget:setValue("+_5db+") is deprecated.  Use set('value',"+_5db+") instead.","","2.0");this.set("value",_5db);},getValue:function(){_5d3.deprecated(this.declaredClass+"::getValue() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},postMixInProperties:function(){this.nameAttrSetting=this.name?("name=\""+this.name.replace(/'/g,"&quot;")+"\""):"";this.inherited(arguments);},_setTypeAttr:null});});},"dijit/_Widget":function(){define("dijit/_Widget",["dojo/aspect","dojo/_base/config","dojo/_base/connect","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/query","dojo/ready","./registry","./_WidgetBase","./_OnDijitClickMixin","./_FocusMixin","dojo/uacss","./hccss"],function(_5dc,_5dd,_5de,_5df,_5e0,lang,_5e1,_5e2,_5e3,_5e4,_5e5,_5e6){function _5e7(){};function _5e8(_5e9){return function(obj,_5ea,_5eb,_5ec){if(obj&&typeof _5ea=="string"&&obj[_5ea]==_5e7){return obj.on(_5ea.substring(2).toLowerCase(),lang.hitch(_5eb,_5ec));}return _5e9.apply(_5de,arguments);};};_5dc.around(_5de,"connect",_5e8);if(_5e0.connect){_5dc.around(_5e0,"connect",_5e8);}var _5ed=_5df("dijit._Widget",[_5e4,_5e5,_5e6],{onClick:_5e7,onDblClick:_5e7,onKeyDown:_5e7,onKeyPress:_5e7,onKeyUp:_5e7,onMouseDown:_5e7,onMouseMove:_5e7,onMouseOut:_5e7,onMouseOver:_5e7,onMouseLeave:_5e7,onMouseEnter:_5e7,onMouseUp:_5e7,constructor:function(_5ee){this._toConnect={};for(var name in _5ee){if(this[name]===_5e7){this._toConnect[name.replace(/^on/,"").toLowerCase()]=_5ee[name];delete _5ee[name];}}},postCreate:function(){this.inherited(arguments);for(var name in this._toConnect){this.on(name,this._toConnect[name]);}delete this._toConnect;},on:function(type,func){if(this[this._onMap(type)]===_5e7){return _5de.connect(this.domNode,type.toLowerCase(),this,func);}return this.inherited(arguments);},_setFocusedAttr:function(val){this._focused=val;this._set("focused",val);},setAttribute:function(attr,_5ef){_5e0.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0");this.set(attr,_5ef);},attr:function(name,_5f0){if(_5dd.isDebug){var _5f1=arguments.callee._ach||(arguments.callee._ach={}),_5f2=(arguments.callee.caller||"unknown caller").toString();if(!_5f1[_5f2]){_5e0.deprecated(this.declaredClass+"::attr() is deprecated. Use get() or set() instead, called from "+_5f2,"","2.0");_5f1[_5f2]=true;}}var args=arguments.length;if(args>=2||typeof name==="object"){return this.set.apply(this,arguments);}else{return this.get(name);}},getDescendants:function(){_5e0.deprecated(this.declaredClass+"::getDescendants() is deprecated. Use getChildren() instead.","","2.0");return this.containerNode?_5e1("[widgetId]",this.containerNode).map(_5e3.byNode):[];},_onShow:function(){this.onShow();},onShow:function(){},onHide:function(){},onClose:function(){return true;}});if(!_5e0.isAsync){_5e2(0,function(){var _5f3=["dijit/_base"];require(_5f3);});}return _5ed;});},"dijit/_OnDijitClickMixin":function(){define("dijit/_OnDijitClickMixin",["dojo/on","dojo/_base/array","dojo/keys","dojo/_base/declare","dojo/_base/sniff","dojo/_base/unload","dojo/_base/window"],function(on,_5f4,keys,_5f5,has,_5f6,win){var _5f7=null;if(has("ie")){(function(){var _5f8=function(evt){_5f7=evt.srcElement;};win.doc.attachEvent("onkeydown",_5f8);_5f6.addOnWindowUnload(function(){win.doc.detachEvent("onkeydown",_5f8);});})();}else{win.doc.addEventListener("keydown",function(evt){_5f7=evt.target;},true);}var _5f9=function(node,_5fa){if(/input|button/i.test(node.nodeName)){return on(node,"click",_5fa);}else{function _5fb(e){return (e.keyCode==keys.ENTER||e.keyCode==keys.SPACE)&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey;};var _5fc=[on(node,"keypress",function(e){if(_5fb(e)){_5f7=e.target;e.preventDefault();}}),on(node,"keyup",function(e){if(_5fb(e)&&e.target==_5f7){_5f7=null;_5fa.call(this,e);}}),on(node,"click",function(e){_5fa.call(this,e);})];return {remove:function(){_5f4.forEach(_5fc,function(h){h.remove();});}};}};return _5f5("dijit._OnDijitClickMixin",null,{connect:function(obj,_5fd,_5fe){return this.inherited(arguments,[obj,_5fd=="ondijitclick"?_5f9:_5fd,_5fe]);}});});},"dijit/_FocusMixin":function(){define("dijit/_FocusMixin",["./focus","./_WidgetBase","dojo/_base/declare","dojo/_base/lang"],function(_5ff,_600,_601,lang){lang.extend(_600,{focused:false,onFocus:function(){},onBlur:function(){},_onFocus:function(){this.onFocus();},_onBlur:function(){this.onBlur();}});return _601("dijit._FocusMixin",null,{_focusManager:_5ff});});},"dijit/focus":function(){define("dijit/focus",["dojo/aspect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/Evented","dojo/_base/lang","dojo/on","dojo/ready","dojo/_base/sniff","dojo/Stateful","dojo/_base/unload","dojo/_base/window","dojo/window","./a11y","./registry","."],function(_602,_603,dom,_604,_605,_606,lang,on,_607,has,_608,_609,win,_60a,a11y,_60b,_60c){var _60d=_603([_608,_606],{curNode:null,activeStack:[],constructor:function(){var _60e=lang.hitch(this,function(node){if(dom.isDescendant(this.curNode,node)){this.set("curNode",null);}if(dom.isDescendant(this.prevNode,node)){this.set("prevNode",null);}});_602.before(_605,"empty",_60e);_602.before(_605,"destroy",_60e);},registerIframe:function(_60f){return this.registerWin(_60f.contentWindow,_60f);},registerWin:function(_610,_611){var _612=this;var _613=function(evt){_612._justMouseDowned=true;setTimeout(function(){_612._justMouseDowned=false;},0);if(has("ie")&&evt&&evt.srcElement&&evt.srcElement.parentNode==null){return;}_612._onTouchNode(_611||evt.target||evt.srcElement,"mouse");};var doc=has("ie")?_610.document.documentElement:_610.document;if(doc){if(has("ie")){_610.document.body.attachEvent("onmousedown",_613);var _614=function(evt){var tag=evt.srcElement.tagName.toLowerCase();if(tag=="#document"||tag=="body"){return;}if(a11y.isTabNavigable(evt.srcElement)){_612._onFocusNode(_611||evt.srcElement);}else{_612._onTouchNode(_611||evt.srcElement);}};doc.attachEvent("onactivate",_614);var _615=function(evt){_612._onBlurNode(_611||evt.srcElement);};doc.attachEvent("ondeactivate",_615);return {remove:function(){_610.document.detachEvent("onmousedown",_613);doc.detachEvent("onactivate",_614);doc.detachEvent("ondeactivate",_615);doc=null;}};}else{doc.body.addEventListener("mousedown",_613,true);doc.body.addEventListener("touchstart",_613,true);var _616=function(evt){_612._onFocusNode(_611||evt.target);};doc.addEventListener("focus",_616,true);var _617=function(evt){_612._onBlurNode(_611||evt.target);};doc.addEventListener("blur",_617,true);return {remove:function(){doc.body.removeEventListener("mousedown",_613,true);doc.body.removeEventListener("touchstart",_613,true);doc.removeEventListener("focus",_616,true);doc.removeEventListener("blur",_617,true);doc=null;}};}}},_onBlurNode:function(){this.set("prevNode",this.curNode);this.set("curNode",null);if(this._justMouseDowned){return;}if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);}this._clearActiveWidgetsTimer=setTimeout(lang.hitch(this,function(){delete this._clearActiveWidgetsTimer;this._setStack([]);this.prevNode=null;}),100);},_onTouchNode:function(node,by){if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);delete this._clearActiveWidgetsTimer;}var _618=[];try{while(node){var _619=_604.get(node,"dijitPopupParent");if(_619){node=_60b.byId(_619).domNode;}else{if(node.tagName&&node.tagName.toLowerCase()=="body"){if(node===win.body()){break;}node=_60a.get(node.ownerDocument).frameElement;}else{var id=node.getAttribute&&node.getAttribute("widgetId"),_61a=id&&_60b.byId(id);if(_61a&&!(by=="mouse"&&_61a.get("disabled"))){_618.unshift(id);}node=node.parentNode;}}}}catch(e){}this._setStack(_618,by);},_onFocusNode:function(node){if(!node){return;}if(node.nodeType==9){return;}this._onTouchNode(node);if(node==this.curNode){return;}this.set("curNode",node);},_setStack:function(_61b,by){var _61c=this.activeStack;this.set("activeStack",_61b);for(var _61d=0;_61d<Math.min(_61c.length,_61b.length);_61d++){if(_61c[_61d]!=_61b[_61d]){break;}}var _61e;for(var i=_61c.length-1;i>=_61d;i--){_61e=_60b.byId(_61c[i]);if(_61e){_61e._hasBeenBlurred=true;_61e.set("focused",false);if(_61e._focusManager==this){_61e._onBlur(by);}this.emit("widget-blur",_61e,by);}}for(i=_61d;i<_61b.length;i++){_61e=_60b.byId(_61b[i]);if(_61e){_61e.set("focused",true);if(_61e._focusManager==this){_61e._onFocus(by);}this.emit("widget-focus",_61e,by);}}},focus:function(node){if(node){try{node.focus();}catch(e){}}}});var _61f=new _60d();_607(function(){var _620=_61f.registerWin(win.doc.parentWindow||win.doc.defaultView);if(has("ie")){_609.addOnWindowUnload(function(){_620.remove();_620=null;});}});_60c.focus=function(node){_61f.focus(node);};for(var attr in _61f){if(!/^_/.test(attr)){_60c.focus[attr]=typeof _61f[attr]=="function"?lang.hitch(_61f,attr):_61f[attr];}}_61f.watch(function(attr,_621,_622){_60c.focus[attr]=_622;});return _61f;});},"dojo/window":function(){define(["./_base/lang","./_base/sniff","./_base/window","./dom","./dom-geometry","./dom-style"],function(lang,has,_623,dom,geom,_624){var _625=lang.getObject("dojo.window",true);_625.getBox=function(){var _626=(_623.doc.compatMode=="BackCompat")?_623.body():_623.doc.documentElement,_627=geom.docScroll(),w,h;if(has("touch")){var _628=_623.doc.parentWindow||_623.doc.defaultView;w=_628.innerWidth||_626.clientWidth;h=_628.innerHeight||_626.clientHeight;}else{w=_626.clientWidth;h=_626.clientHeight;}return {l:_627.x,t:_627.y,w:w,h:h};};_625.get=function(doc){if(has("ie")&&_625!==document.parentWindow){doc.parentWindow.execScript("document._parentWindow = window;","Javascript");var win=doc._parentWindow;doc._parentWindow=null;return win;}return doc.parentWindow||doc.defaultView;};_625.scrollIntoView=function(node,pos){try{node=dom.byId(node);var doc=node.ownerDocument||_623.doc,body=doc.body||_623.body(),html=doc.documentElement||body.parentNode,isIE=has("ie"),isWK=has("webkit");if((!(has("mozilla")||isIE||isWK||has("opera"))||node==body||node==html)&&(typeof node.scrollIntoView!="undefined")){node.scrollIntoView(false);return;}var _629=doc.compatMode=="BackCompat",_62a=(isIE>=9&&node.ownerDocument.parentWindow.frameElement)?((html.clientHeight>0&&html.clientWidth>0&&(body.clientHeight==0||body.clientWidth==0||body.clientHeight>html.clientHeight||body.clientWidth>html.clientWidth))?html:body):(_629?body:html),_62b=isWK?body:_62a,_62c=_62a.clientWidth,_62d=_62a.clientHeight,rtl=!geom.isBodyLtr(),_62e=pos||geom.position(node),el=node.parentNode,_62f=function(el){return ((isIE<=6||(isIE&&_629))?false:(_624.get(el,"position").toLowerCase()=="fixed"));};if(_62f(node)){return;}while(el){if(el==body){el=_62b;}var _630=geom.position(el),_631=_62f(el);if(el==_62b){_630.w=_62c;_630.h=_62d;if(_62b==html&&isIE&&rtl){_630.x+=_62b.offsetWidth-_630.w;}if(_630.x<0||!isIE){_630.x=0;}if(_630.y<0||!isIE){_630.y=0;}}else{var pb=geom.getPadBorderExtents(el);_630.w-=pb.w;_630.h-=pb.h;_630.x+=pb.l;_630.y+=pb.t;var _632=el.clientWidth,_633=_630.w-_632;if(_632>0&&_633>0){_630.w=_632;_630.x+=(rtl&&(isIE||el.clientLeft>pb.l))?_633:0;}_632=el.clientHeight;_633=_630.h-_632;if(_632>0&&_633>0){_630.h=_632;}}if(_631){if(_630.y<0){_630.h+=_630.y;_630.y=0;}if(_630.x<0){_630.w+=_630.x;_630.x=0;}if(_630.y+_630.h>_62d){_630.h=_62d-_630.y;}if(_630.x+_630.w>_62c){_630.w=_62c-_630.x;}}var l=_62e.x-_630.x,t=_62e.y-Math.max(_630.y,0),r=l+_62e.w-_630.w,bot=t+_62e.h-_630.h;if(r*l>0){var s=Math[l<0?"max":"min"](l,r);if(rtl&&((isIE==8&&!_629)||isIE>=9)){s=-s;}_62e.x+=el.scrollLeft;el.scrollLeft+=s;_62e.x-=el.scrollLeft;}if(bot*t>0){_62e.y+=el.scrollTop;el.scrollTop+=Math[t<0?"max":"min"](t,bot);_62e.y-=el.scrollTop;}el=(el!=_62b)&&!_631&&el.parentNode;}}catch(error){console.error("scrollIntoView: "+error);node.scrollIntoView(false);}};return _625;});},"dijit/a11y":function(){define("dijit/a11y",["dojo/_base/array","dojo/_base/config","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-style","dojo/_base/sniff","./_base/manager","."],function(_634,_635,_636,dom,_637,_638,has,_639,_63a){var _63b=(_63a._isElementShown=function(elem){var s=_638.get(elem);return (s.visibility!="hidden")&&(s.visibility!="collapsed")&&(s.display!="none")&&(_637.get(elem,"type")!="hidden");});_63a.hasDefaultTabStop=function(elem){switch(elem.nodeName.toLowerCase()){case "a":return _637.has(elem,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return true;case "iframe":var body;try{var _63c=elem.contentDocument;if("designMode" in _63c&&_63c.designMode=="on"){return true;}body=_63c.body;}catch(e1){try{body=elem.contentWindow.document.body;}catch(e2){return false;}}return body&&(body.contentEditable=="true"||(body.firstChild&&body.firstChild.contentEditable=="true"));default:return elem.contentEditable=="true";}};var _63d=(_63a.isTabNavigable=function(elem){if(_637.get(elem,"disabled")){return false;}else{if(_637.has(elem,"tabIndex")){return _637.get(elem,"tabIndex")>=0;}else{return _63a.hasDefaultTabStop(elem);}}});_63a._getTabNavigable=function(root){var _63e,last,_63f,_640,_641,_642,_643={};function _644(node){return node&&node.tagName.toLowerCase()=="input"&&node.type&&node.type.toLowerCase()=="radio"&&node.name&&node.name.toLowerCase();};var _645=function(_646){for(var _647=_646.firstChild;_647;_647=_647.nextSibling){if(_647.nodeType!=1||(has("ie")&&_647.scopeName!=="HTML")||!_63b(_647)){continue;}if(_63d(_647)){var _648=_637.get(_647,"tabIndex");if(!_637.has(_647,"tabIndex")||_648==0){if(!_63e){_63e=_647;}last=_647;}else{if(_648>0){if(!_63f||_648<_640){_640=_648;_63f=_647;}if(!_641||_648>=_642){_642=_648;_641=_647;}}}var rn=_644(_647);if(_637.get(_647,"checked")&&rn){_643[rn]=_647;}}if(_647.nodeName.toUpperCase()!="SELECT"){_645(_647);}}};if(_63b(root)){_645(root);}function rs(node){return _643[_644(node)]||node;};return {first:rs(_63e),last:rs(last),lowest:rs(_63f),highest:rs(_641)};};_63a.getFirstInTabbingOrder=function(root){var _649=_63a._getTabNavigable(dom.byId(root));return _649.lowest?_649.lowest:_649.first;};_63a.getLastInTabbingOrder=function(root){var _64a=_63a._getTabNavigable(dom.byId(root));return _64a.last?_64a.last:_64a.highest;};return {hasDefaultTabStop:_63a.hasDefaultTabStop,isTabNavigable:_63a.isTabNavigable,_getTabNavigable:_63a._getTabNavigable,getFirstInTabbingOrder:_63a.getFirstInTabbingOrder,getLastInTabbingOrder:_63a.getLastInTabbingOrder};});},"dijit/_base/manager":function(){define("dijit/_base/manager",["dojo/_base/array","dojo/_base/config","../registry",".."],function(_64b,_64c,_64d,_64e){_64b.forEach(["byId","getUniqueId","findWidgets","_destroyAll","byNode","getEnclosingWidget"],function(name){_64e[name]=_64d[name];});_64e.defaultDuration=_64c["defaultDuration"]||200;return _64e;});},"dojo/uacss":function(){define(["./dom-geometry","./_base/lang","./ready","./_base/sniff","./_base/window"],function(_64f,lang,_650,has,_651){var html=_651.doc.documentElement,ie=has("ie"),_652=has("opera"),maj=Math.floor,ff=has("ff"),_653=_64f.boxModel.replace(/-/,""),_654={"dj_ie":ie,"dj_ie6":maj(ie)==6,"dj_ie7":maj(ie)==7,"dj_ie8":maj(ie)==8,"dj_ie9":maj(ie)==9,"dj_quirks":has("quirks"),"dj_iequirks":ie&&has("quirks"),"dj_opera":_652,"dj_khtml":has("khtml"),"dj_webkit":has("webkit"),"dj_safari":has("safari"),"dj_chrome":has("chrome"),"dj_gecko":has("mozilla"),"dj_ff3":maj(ff)==3};_654["dj_"+_653]=true;var _655="";for(var clz in _654){if(_654[clz]){_655+=clz+" ";}}html.className=lang.trim(html.className+" "+_655);_650(90,function(){if(!_64f.isBodyLtr()){var _656="dj_rtl dijitRtl "+_655.replace(/ /g,"-rtl ");html.className=lang.trim(html.className+" "+_656+"dj_rtl dijitRtl "+_655.replace(/ /g,"-rtl "));}});return has;});},"dijit/hccss":function(){define("dijit/hccss",["require","dojo/_base/config","dojo/dom-class","dojo/dom-construct","dojo/dom-style","dojo/ready","dojo/_base/sniff","dojo/_base/window"],function(_657,_658,_659,_65a,_65b,_65c,has,win){if(has("ie")||has("mozilla")){_65c(90,function(){var div=_65a.create("div",{id:"a11yTestNode",style:{cssText:"border: 1px solid;"+"border-color:red green;"+"position: absolute;"+"height: 5px;"+"top: -999px;"+"background-image: url(\""+(_658.blankGif||_657.toUrl("dojo/resources/blank.gif"))+"\");"}},win.body());var cs=_65b.getComputedStyle(div);if(cs){var _65d=cs.backgroundImage;var _65e=(cs.borderTopColor==cs.borderRightColor)||(_65d!=null&&(_65d=="none"||_65d=="url(invalid-url:)"));if(_65e){_659.add(win.body(),"dijit_a11y");}if(has("ie")){div.outerHTML="";}else{win.body().removeChild(div);}}});}});},"dijit/_CssStateMixin":function(){define("dijit/_CssStateMixin",["dojo/touch","dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/_base/lang","dojo/_base/window"],function(_65f,_660,_661,_662,lang,win){return _661("dijit._CssStateMixin",[],{cssStateNodes:{},hovering:false,active:false,_applyAttributes:function(){this.inherited(arguments);_660.forEach(["onmouseenter","onmouseleave",_65f.press],function(e){this.connect(this.domNode,e,"_cssMouseEvent");},this);_660.forEach(["disabled","readOnly","checked","selected","focused","state","hovering","active"],function(attr){this.watch(attr,lang.hitch(this,"_setStateClass"));},this);for(var ap in this.cssStateNodes){this._trackMouseState(this[ap],this.cssStateNodes[ap]);}this._setStateClass();},_cssMouseEvent:function(_663){if(!this.disabled){switch(_663.type){case "mouseenter":case "mouseover":this._set("hovering",true);this._set("active",this._mouseDown);break;case "mouseleave":case "mouseout":this._set("hovering",false);this._set("active",false);break;case "mousedown":case "touchpress":this._set("active",true);this._mouseDown=true;var _664=this.connect(win.body(),_65f.release,function(){this._mouseDown=false;this._set("active",false);this.disconnect(_664);});break;}}},_setStateClass:function(){var _665=this.baseClass.split(" ");function _666(_667){_665=_665.concat(_660.map(_665,function(c){return c+_667;}),"dijit"+_667);};if(!this.isLeftToRight()){_666("Rtl");}var _668=this.checked=="mixed"?"Mixed":(this.checked?"Checked":"");if(this.checked){_666(_668);}if(this.state){_666(this.state);}if(this.selected){_666("Selected");}if(this.disabled){_666("Disabled");}else{if(this.readOnly){_666("ReadOnly");}else{if(this.active){_666("Active");}else{if(this.hovering){_666("Hover");}}}}if(this.focused){_666("Focused");}var tn=this.stateNode||this.domNode,_669={};_660.forEach(tn.className.split(" "),function(c){_669[c]=true;});if("_stateClasses" in this){_660.forEach(this._stateClasses,function(c){delete _669[c];});}_660.forEach(_665,function(c){_669[c]=true;});var _66a=[];for(var c in _669){_66a.push(c);}tn.className=_66a.join(" ");this._stateClasses=_665;},_trackMouseState:function(node,_66b){var _66c=false,_66d=false,_66e=false;var self=this,cn=lang.hitch(this,"connect",node);function _66f(){var _670=("disabled" in self&&self.disabled)||("readonly" in self&&self.readonly);_662.toggle(node,_66b+"Hover",_66c&&!_66d&&!_670);_662.toggle(node,_66b+"Active",_66d&&!_670);_662.toggle(node,_66b+"Focused",_66e&&!_670);};cn("onmouseenter",function(){_66c=true;_66f();});cn("onmouseleave",function(){_66c=false;_66d=false;_66f();});cn(_65f.press,function(){_66d=true;_66f();});cn(_65f.release,function(){_66d=false;_66f();});cn("onfocus",function(){_66e=true;_66f();});cn("onblur",function(){_66e=false;_66f();});this.watch("disabled",_66f);this.watch("readOnly",_66f);}});});},"dijit/form/_FormWidgetMixin":function(){define("dijit/form/_FormWidgetMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-style","dojo/_base/lang","dojo/mouse","dojo/_base/sniff","dojo/_base/window","dojo/window","../a11y"],function(_671,_672,_673,_674,lang,_675,has,win,_676,a11y){return _672("dijit.form._FormWidgetMixin",null,{name:"",alt:"",value:"",type:"text",tabIndex:"0",_setTabIndexAttr:"focusNode",disabled:false,intermediateChanges:false,scrollOnFocus:true,_setIdAttr:"focusNode",postCreate:function(){this.inherited(arguments);this.connect(this.domNode,"onmousedown","_onMouseDown");},_setDisabledAttr:function(_677){this._set("disabled",_677);_673.set(this.focusNode,"disabled",_677);if(this.valueNode){_673.set(this.valueNode,"disabled",_677);}this.focusNode.setAttribute("aria-disabled",_677);if(_677){this._set("hovering",false);this._set("active",false);var _678="tabIndex" in this.attributeMap?this.attributeMap.tabIndex:("_setTabIndexAttr" in this)?this._setTabIndexAttr:"focusNode";_671.forEach(lang.isArray(_678)?_678:[_678],function(_679){var node=this[_679];if(has("webkit")||a11y.hasDefaultTabStop(node)){node.setAttribute("tabIndex","-1");}else{node.removeAttribute("tabIndex");}},this);}else{if(this.tabIndex!=""){this.set("tabIndex",this.tabIndex);}}},_onFocus:function(e){if(this.scrollOnFocus){_676.scrollIntoView(this.domNode);}this.inherited(arguments);},isFocusable:function(){return !this.disabled&&this.focusNode&&(_674.get(this.domNode,"display")!="none");},focus:function(){if(!this.disabled&&this.focusNode.focus){try{this.focusNode.focus();}catch(e){}}},compare:function(val1,val2){if(typeof val1=="number"&&typeof val2=="number"){return (isNaN(val1)&&isNaN(val2))?0:val1-val2;}else{if(val1>val2){return 1;}else{if(val1<val2){return -1;}else{return 0;}}}},onChange:function(){},_onChangeActive:false,_handleOnChange:function(_67a,_67b){if(this._lastValueReported==undefined&&(_67b===null||!this._onChangeActive)){this._resetValue=this._lastValueReported=_67a;}this._pendingOnChange=this._pendingOnChange||(typeof _67a!=typeof this._lastValueReported)||(this.compare(_67a,this._lastValueReported)!=0);if((this.intermediateChanges||_67b||_67b===undefined)&&this._pendingOnChange){this._lastValueReported=_67a;this._pendingOnChange=false;if(this._onChangeActive){if(this._onChangeHandle){clearTimeout(this._onChangeHandle);}this._onChangeHandle=setTimeout(lang.hitch(this,function(){this._onChangeHandle=null;this.onChange(_67a);}),0);}}},create:function(){this.inherited(arguments);this._onChangeActive=true;},destroy:function(){if(this._onChangeHandle){clearTimeout(this._onChangeHandle);this.onChange(this._lastValueReported);}this.inherited(arguments);},_onMouseDown:function(e){if((!this.focused||!has("ie"))&&!e.ctrlKey&&_675.isLeft(e)&&this.isFocusable()){var _67c=this.connect(win.body(),"onmouseup",function(){if(this.isFocusable()){this.focus();}this.disconnect(_67c);});}}});});},"dijit/form/_FormValueMixin":function(){define("dijit/form/_FormValueMixin",["dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/sniff","./_FormWidgetMixin"],function(_67d,_67e,keys,has,_67f){return _67d("dijit.form._FormValueMixin",_67f,{readOnly:false,_setReadOnlyAttr:function(_680){_67e.set(this.focusNode,"readOnly",_680);this.focusNode.setAttribute("aria-readonly",_680);this._set("readOnly",_680);},postCreate:function(){this.inherited(arguments);if(has("ie")){this.connect(this.focusNode||this.domNode,"onkeydown",this._onKeyDown);}if(this._resetValue===undefined){this._lastValueReported=this._resetValue=this.value;}},_setValueAttr:function(_681,_682){this._handleOnChange(_681,_682);},_handleOnChange:function(_683,_684){this._set("value",_683);this.inherited(arguments);},undo:function(){this._setValueAttr(this._lastValueReported,false);},reset:function(){this._hasBeenBlurred=false;this._setValueAttr(this._resetValue,true);},_onKeyDown:function(e){if(e.keyCode==keys.ESCAPE&&!(e.ctrlKey||e.altKey||e.metaKey)){var te;if(has("ie")<9||(has("ie")&&has("quirks"))){e.preventDefault();te=document.createEventObject();te.keyCode=keys.ESCAPE;te.shiftKey=e.shiftKey;e.srcElement.fireEvent("onkeypress",te);}}}});});},"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(_685,_686,dom,_687,keys,lang,_688){var _689=_686("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(_68a,_68b,_68c){var _68d;if(_68a!==undefined){_68d=this.filter(_68a);if(typeof _68c!="string"){if(_68d!==null&&((typeof _68d!="number")||!isNaN(_68d))){_68c=this.filter(this.format(_68d,this.constraints));}else{_68c="";}}}if(_68c!=null&&_68c!=undefined&&((typeof _68c)!="number"||!isNaN(_68c))&&this.textbox.value!=_68c){this.textbox.value=_68c;this._set("displayedValue",this.get("displayedValue"));}if(this.textDir=="auto"){this.applyTextDir(this.focusNode,_68c);}this.inherited(arguments,[_68d,_68b]);},displayedValue:"",_getDisplayedValueAttr:function(){return this.filter(this.textbox.value);},_setDisplayedValueAttr:function(_68e){if(_68e===null||_68e===undefined){_68e="";}else{if(typeof _68e!="string"){_68e=String(_68e);}}this.textbox.value=_68e;this._setValueAttr(this.get("value"),undefined);this._set("displayedValue",this.get("displayedValue"));if(this.textDir=="auto"){this.applyTextDir(this.focusNode,_68e);}},format:function(_68f){return ((_68f==null||_68f==undefined)?"":(_68f.toString?_68f.toString():_68f));},parse:function(_690){return _690;},_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 _691=function(e){var _692=e.charOrCode||e.keyCode||229;if(e.type=="keydown"){switch(_692){case keys.SHIFT:case keys.ALT:case keys.CTRL:case keys.META:case keys.CAPS_LOCK:return;default:if(_692>=65&&_692<=90){return;}}}if(e.type=="keypress"&&typeof _692!="string"){return;}if(e.type=="input"){if(this.__skipInputEvent){this.__skipInputEvent=false;return;}}else{this.__skipInputEvent=true;}var faux=lang.mixin({},e,{charOrCode:_692,wasConsumed:false,preventDefault:function(){faux.wasConsumed=true;e.preventDefault();},stopPropagation:function(){e.stopPropagation();}});if(this.onInput(faux)===false){_687.stop(faux);}if(faux.wasConsumed){return;}setTimeout(lang.hitch(this,"_onInput",faux),0);};_685.forEach(["onkeydown","onkeypress","onpaste","oncut","oninput"],function(_693){this.connect(this.textbox,_693,_691);},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()){_689.selectInputText(this.textbox);}});}this.inherited(arguments);this._refreshState();},reset:function(){this.textbox.value="";this.inherited(arguments);},_setTextDirAttr:function(_694){if(!this._created||this.textDir!=_694){this._set("textDir",_694);this.applyTextDir(this.focusNode,this.focusNode.value);}}});_689._setSelectionRange=_688._setSelectionRange=function(_695,_696,stop){if(_695.setSelectionRange){_695.setSelectionRange(_696,stop);}};_689.selectInputText=_688.selectInputText=function(_697,_698,stop){_697=dom.byId(_697);if(isNaN(_698)){_698=0;}if(isNaN(stop)){stop=_697.value?_697.value.length:0;}try{_697.focus();_689._setSelectionRange(_697,_698,stop);}catch(e){}};return _689;});},"url:dijit/form/templates/TextBox.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\" id=\"widget_${id}\" role=\"presentation\"\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class=\"dijitReset dijitInputInner\" data-dojo-attach-point='textbox,focusNode' autocomplete=\"off\"\n\t\t\t${!nameAttrSetting} type='${type}'\n\t/></div\n></div>\n","dijit/Tooltip":function(){require({cache:{"url:dijit/templates/Tooltip.html":"<div class=\"dijitTooltip dijitTooltipLeft\" id=\"dojoTooltip\"\n\t><div class=\"dijitTooltipContainer dijitTooltipContents\" data-dojo-attach-point=\"containerNode\" role='alert'></div\n\t><div class=\"dijitTooltipConnector\" data-dojo-attach-point=\"connectorNode\"></div\n></div>\n"}});define("dijit/Tooltip",["dojo/_base/array","dojo/_base/declare","dojo/_base/fx","dojo/dom","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang","dojo/_base/sniff","dojo/_base/window","./_base/manager","./place","./_Widget","./_TemplatedMixin","./BackgroundIframe","dojo/text!./templates/Tooltip.html","."],function(_699,_69a,fx,dom,_69b,_69c,_69d,lang,has,win,_69e,_69f,_6a0,_6a1,_6a2,_6a3,_6a4){var _6a5=_69a("dijit._MasterTooltip",[_6a0,_6a1],{duration:_69e.defaultDuration,templateString:_6a3,postCreate:function(){win.body().appendChild(this.domNode);this.bgIframe=new _6a2(this.domNode);this.fadeIn=fx.fadeIn({node:this.domNode,duration:this.duration,onEnd:lang.hitch(this,"_onShow")});this.fadeOut=fx.fadeOut({node:this.domNode,duration:this.duration,onEnd:lang.hitch(this,"_onHide")});},show:function(_6a6,_6a7,_6a8,rtl,_6a9){if(this.aroundNode&&this.aroundNode===_6a7&&this.containerNode.innerHTML==_6a6){return;}this.domNode.width="auto";if(this.fadeOut.status()=="playing"){this._onDeck=arguments;return;}this.containerNode.innerHTML=_6a6;this.set("textDir",_6a9);this.containerNode.align=rtl?"right":"left";var pos=_69f.around(this.domNode,_6a7,_6a8&&_6a8.length?_6a8:_6aa.defaultPosition,!rtl,lang.hitch(this,"orient"));var _6ab=pos.aroundNodePos;if(pos.corner.charAt(0)=="M"&&pos.aroundCorner.charAt(0)=="M"){this.connectorNode.style.top=_6ab.y+((_6ab.h-this.connectorNode.offsetHeight)>>1)-pos.y+"px";this.connectorNode.style.left="";}else{if(pos.corner.charAt(1)=="M"&&pos.aroundCorner.charAt(1)=="M"){this.connectorNode.style.left=_6ab.x+((_6ab.w-this.connectorNode.offsetWidth)>>1)-pos.x+"px";}}_69d.set(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=true;this.aroundNode=_6a7;},orient:function(node,_6ac,_6ad,_6ae,_6af){this.connectorNode.style.top="";var _6b0=_6ae.w-this.connectorNode.offsetWidth;node.className="dijitTooltip "+{"MR-ML":"dijitTooltipRight","ML-MR":"dijitTooltipLeft","TM-BM":"dijitTooltipAbove","BM-TM":"dijitTooltipBelow","BL-TL":"dijitTooltipBelow dijitTooltipABLeft","TL-BL":"dijitTooltipAbove dijitTooltipABLeft","BR-TR":"dijitTooltipBelow dijitTooltipABRight","TR-BR":"dijitTooltipAbove dijitTooltipABRight","BR-BL":"dijitTooltipRight","BL-BR":"dijitTooltipLeft"}[_6ac+"-"+_6ad];this.domNode.style.width="auto";var size=_69c.getContentBox(this.domNode);var _6b1=Math.min((Math.max(_6b0,1)),size.w);var _6b2=_6b1<size.w;this.domNode.style.width=_6b1+"px";if(_6b2){this.containerNode.style.overflow="auto";var _6b3=this.containerNode.scrollWidth;this.containerNode.style.overflow="visible";if(_6b3>_6b1){_6b3=_6b3+_69d.get(this.domNode,"paddingLeft")+_69d.get(this.domNode,"paddingRight");this.domNode.style.width=_6b3+"px";}}if(_6ad.charAt(0)=="B"&&_6ac.charAt(0)=="B"){var mb=_69c.getMarginBox(node);var _6b4=this.connectorNode.offsetHeight;if(mb.h>_6ae.h){var _6b5=_6ae.h-((_6af.h+_6b4)>>1);this.connectorNode.style.top=_6b5+"px";this.connectorNode.style.bottom="";}else{this.connectorNode.style.bottom=Math.min(Math.max(_6af.h/2-_6b4/2,0),mb.h-_6b4)+"px";this.connectorNode.style.top="";}}else{this.connectorNode.style.top="";this.connectorNode.style.bottom="";}return Math.max(0,size.w-_6b0);},_onShow:function(){if(has("ie")){this.domNode.style.filter="";}},hide:function(_6b6){if(this._onDeck&&this._onDeck[1]==_6b6){this._onDeck=null;}else{if(this.aroundNode===_6b6){this.fadeIn.stop();this.isShowingNow=false;this.aroundNode=null;this.fadeOut.play();}else{}}},_onHide:function(){this.domNode.style.cssText="";this.containerNode.innerHTML="";if(this._onDeck){this.show.apply(this,this._onDeck);this._onDeck=null;}},_setAutoTextDir:function(node){this.applyTextDir(node,has("ie")?node.outerText:node.textContent);_699.forEach(node.children,function(_6b7){this._setAutoTextDir(_6b7);},this);},_setTextDirAttr:function(_6b8){this._set("textDir",typeof _6b8!="undefined"?_6b8:"");if(_6b8=="auto"){this._setAutoTextDir(this.containerNode);}else{this.containerNode.dir=this.textDir;}}});_6a4.showTooltip=function(_6b9,_6ba,_6bb,rtl,_6bc){if(!_6aa._masterTT){_6a4._masterTT=_6aa._masterTT=new _6a5();}return _6aa._masterTT.show(_6b9,_6ba,_6bb,rtl,_6bc);};_6a4.hideTooltip=function(_6bd){return _6aa._masterTT&&_6aa._masterTT.hide(_6bd);};var _6aa=_69a("dijit.Tooltip",_6a0,{label:"",showDelay:400,connectId:[],position:[],_setConnectIdAttr:function(_6be){_699.forEach(this._connections||[],function(_6bf){_699.forEach(_6bf,lang.hitch(this,"disconnect"));},this);this._connectIds=_699.filter(lang.isArrayLike(_6be)?_6be:(_6be?[_6be]:[]),function(id){return dom.byId(id);});this._connections=_699.map(this._connectIds,function(id){var node=dom.byId(id);return [this.connect(node,"onmouseenter","_onHover"),this.connect(node,"onmouseleave","_onUnHover"),this.connect(node,"onfocus","_onHover"),this.connect(node,"onblur","_onUnHover")];},this);this._set("connectId",_6be);},addTarget:function(node){var id=node.id||node;if(_699.indexOf(this._connectIds,id)==-1){this.set("connectId",this._connectIds.concat(id));}},removeTarget:function(node){var id=node.id||node,idx=_699.indexOf(this._connectIds,id);if(idx>=0){this._connectIds.splice(idx,1);this.set("connectId",this._connectIds);}},buildRendering:function(){this.inherited(arguments);_69b.add(this.domNode,"dijitTooltipData");},startup:function(){this.inherited(arguments);var ids=this.connectId;_699.forEach(lang.isArrayLike(ids)?ids:[ids],this.addTarget,this);},_onHover:function(e){if(!this._showTimer){var _6c0=e.target;this._showTimer=setTimeout(lang.hitch(this,function(){this.open(_6c0);}),this.showDelay);}},_onUnHover:function(){if(this._focus){return;}if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}this.close();},open:function(_6c1){if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}_6aa.show(this.label||this.domNode.innerHTML,_6c1,this.position,!this.isLeftToRight(),this.textDir);this._connectNode=_6c1;this.onShow(_6c1,this.position);},close:function(){if(this._connectNode){_6aa.hide(this._connectNode);delete this._connectNode;this.onHide();}if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}},onShow:function(){},onHide:function(){},uninitialize:function(){this.close();this.inherited(arguments);}});_6aa._MasterTooltip=_6a5;_6aa.show=_6a4.showTooltip;_6aa.hide=_6a4.hideTooltip;_6aa.defaultPosition=["after-centered","before-centered"];return _6aa;});},"dojo/_base/fx":function(){define(["./kernel","./lang","../Evented","./Color","./connect","./sniff","../dom","../dom-style"],function(dojo,lang,_6c2,_6c3,_6c4,has,dom,_6c5){var _6c6=lang.mixin;dojo._Line=function(_6c7,end){this.start=_6c7;this.end=end;};dojo._Line.prototype.getValue=function(n){return ((this.end-this.start)*n)+this.start;};dojo.Animation=function(args){_6c6(this,args);if(lang.isArray(this.curve)){this.curve=new dojo._Line(this.curve[0],this.curve[1]);}};dojo.Animation.prototype=new _6c2();dojo._Animation=dojo.Animation;lang.extend(dojo.Animation,{duration:350,repeat:0,rate:20,_percent:0,_startRepeatCount:0,_getStep:function(){var _6c8=this._percent,_6c9=this.easing;return _6c9?_6c9(_6c8):_6c8;},_fire:function(evt,args){var a=args||[];if(this[evt]){if(dojo.config.debugAtAllCosts){this[evt].apply(this,a);}else{try{this[evt].apply(this,a);}catch(e){console.error("exception in animation handler for:",evt);console.error(e);}}}return this;},play:function(_6ca,_6cb){var _6cc=this;if(_6cc._delayTimer){_6cc._clearTimer();}if(_6cb){_6cc._stopTimer();_6cc._active=_6cc._paused=false;_6cc._percent=0;}else{if(_6cc._active&&!_6cc._paused){return _6cc;}}_6cc._fire("beforeBegin",[_6cc.node]);var de=_6ca||_6cc.delay,_6cd=lang.hitch(_6cc,"_play",_6cb);if(de>0){_6cc._delayTimer=setTimeout(_6cd,de);return _6cc;}_6cd();return _6cc;},_play:function(_6ce){var _6cf=this;if(_6cf._delayTimer){_6cf._clearTimer();}_6cf._startTime=new Date().valueOf();if(_6cf._paused){_6cf._startTime-=_6cf.duration*_6cf._percent;}_6cf._active=true;_6cf._paused=false;var _6d0=_6cf.curve.getValue(_6cf._getStep());if(!_6cf._percent){if(!_6cf._startRepeatCount){_6cf._startRepeatCount=_6cf.repeat;}_6cf._fire("onBegin",[_6d0]);}_6cf._fire("onPlay",[_6d0]);_6cf._cycle();return _6cf;},pause:function(){var _6d1=this;if(_6d1._delayTimer){_6d1._clearTimer();}_6d1._stopTimer();if(!_6d1._active){return _6d1;}_6d1._paused=true;_6d1._fire("onPause",[_6d1.curve.getValue(_6d1._getStep())]);return _6d1;},gotoPercent:function(_6d2,_6d3){var _6d4=this;_6d4._stopTimer();_6d4._active=_6d4._paused=true;_6d4._percent=_6d2;if(_6d3){_6d4.play();}return _6d4;},stop:function(_6d5){var _6d6=this;if(_6d6._delayTimer){_6d6._clearTimer();}if(!_6d6._timer){return _6d6;}_6d6._stopTimer();if(_6d5){_6d6._percent=1;}_6d6._fire("onStop",[_6d6.curve.getValue(_6d6._getStep())]);_6d6._active=_6d6._paused=false;return _6d6;},status:function(){if(this._active){return this._paused?"paused":"playing";}return "stopped";},_cycle:function(){var _6d7=this;if(_6d7._active){var curr=new Date().valueOf();var step=(curr-_6d7._startTime)/(_6d7.duration);if(step>=1){step=1;}_6d7._percent=step;if(_6d7.easing){step=_6d7.easing(step);}_6d7._fire("onAnimate",[_6d7.curve.getValue(step)]);if(_6d7._percent<1){_6d7._startTimer();}else{_6d7._active=false;if(_6d7.repeat>0){_6d7.repeat--;_6d7.play(null,true);}else{if(_6d7.repeat==-1){_6d7.play(null,true);}else{if(_6d7._startRepeatCount){_6d7.repeat=_6d7._startRepeatCount;_6d7._startRepeatCount=0;}}}_6d7._percent=0;_6d7._fire("onEnd",[_6d7.node]);!_6d7.repeat&&_6d7._stopTimer();}}return _6d7;},_clearTimer:function(){clearTimeout(this._delayTimer);delete this._delayTimer;}});var ctr=0,_6d8=null,_6d9={run:function(){}};lang.extend(dojo.Animation,{_startTimer:function(){if(!this._timer){this._timer=_6c4.connect(_6d9,"run",this,"_cycle");ctr++;}if(!_6d8){_6d8=setInterval(lang.hitch(_6d9,"run"),this.rate);}},_stopTimer:function(){if(this._timer){_6c4.disconnect(this._timer);this._timer=null;ctr--;}if(ctr<=0){clearInterval(_6d8);_6d8=null;ctr=0;}}});var _6da=has("ie")?function(node){var ns=node.style;if(!ns.width.length&&_6c5.get(node,"width")=="auto"){ns.width="auto";}}:function(){};dojo._fade=function(args){args.node=dom.byId(args.node);var _6db=_6c6({properties:{}},args),_6dc=(_6db.properties.opacity={});_6dc.start=!("start" in _6db)?function(){return +_6c5.get(_6db.node,"opacity")||0;}:_6db.start;_6dc.end=_6db.end;var anim=dojo.animateProperty(_6db);_6c4.connect(anim,"beforeBegin",lang.partial(_6da,_6db.node));return anim;};dojo.fadeIn=function(args){return dojo._fade(_6c6({end:1},args));};dojo.fadeOut=function(args){return dojo._fade(_6c6({end:0},args));};dojo._defaultEasing=function(n){return 0.5+((Math.sin((n+1.5)*Math.PI))/2);};var _6dd=function(_6de){this._properties=_6de;for(var p in _6de){var prop=_6de[p];if(prop.start instanceof _6c3){prop.tempColor=new _6c3();}}};_6dd.prototype.getValue=function(r){var ret={};for(var p in this._properties){var prop=this._properties[p],_6df=prop.start;if(_6df instanceof _6c3){ret[p]=_6c3.blendColors(_6df,prop.end,r,prop.tempColor).toCss();}else{if(!lang.isArray(_6df)){ret[p]=((prop.end-_6df)*r)+_6df+(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);_6c4.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]=_6c6({},(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 _6e0=(p.toLowerCase().indexOf("color")>=0);function _6e1(node,p){var v={height:node.offsetHeight,width:node.offsetWidth}[p];if(v!==undefined){return v;}v=_6c5.get(node,p);return (p=="opacity")?+v:(_6e0?v:parseFloat(v));};if(!("end" in prop)){prop.end=_6e1(n,p);}else{if(!("start" in prop)){prop.start=_6e1(n,p);}}if(_6e0){prop.start=new _6c3(prop.start);prop.end=new _6c3(prop.end);}else{prop.start=(p=="opacity")?+prop.start:parseFloat(prop.start);}}this.curve=new _6dd(pm);});_6c4.connect(anim,"onAnimate",lang.hitch(_6c5,"set",anim.node));return anim;};dojo.anim=function(node,_6e2,_6e3,_6e4,_6e5,_6e6){return dojo.animateProperty({node:node,duration:_6e3||dojo.Animation.prototype.duration,properties:_6e2,easing:_6e4,onEnd:_6e5}).play(_6e6||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/_base/Color":function(){define(["./kernel","./lang","./array","./config"],function(dojo,lang,_6e7,_6e8){var _6e9=dojo.Color=function(_6ea){if(_6ea){this.setColor(_6ea);}};_6e9.named={"black":[0,0,0],"silver":[192,192,192],"gray":[128,128,128],"white":[255,255,255],"maroon":[128,0,0],"red":[255,0,0],"purple":[128,0,128],"fuchsia":[255,0,255],"green":[0,128,0],"lime":[0,255,0],"olive":[128,128,0],"yellow":[255,255,0],"navy":[0,0,128],"blue":[0,0,255],"teal":[0,128,128],"aqua":[0,255,255],"transparent":_6e8.transparentColor||[0,0,0,0]};lang.extend(_6e9,{r:255,g:255,b:255,a:1,_set:function(r,g,b,a){var t=this;t.r=r;t.g=g;t.b=b;t.a=a;},setColor:function(_6eb){if(lang.isString(_6eb)){_6e9.fromString(_6eb,this);}else{if(lang.isArray(_6eb)){_6e9.fromArray(_6eb,this);}else{this._set(_6eb.r,_6eb.g,_6eb.b,_6eb.a);if(!(_6eb instanceof _6e9)){this.sanitize();}}}return this;},sanitize:function(){return this;},toRgb:function(){var t=this;return [t.r,t.g,t.b];},toRgba:function(){var t=this;return [t.r,t.g,t.b,t.a];},toHex:function(){var arr=_6e7.map(["r","g","b"],function(x){var s=this[x].toString(16);return s.length<2?"0"+s:s;},this);return "#"+arr.join("");},toCss:function(_6ec){var t=this,rgb=t.r+", "+t.g+", "+t.b;return (_6ec?"rgba("+rgb+", "+t.a:"rgb("+rgb)+")";},toString:function(){return this.toCss(true);}});_6e9.blendColors=dojo.blendColors=function(_6ed,end,_6ee,obj){var t=obj||new _6e9();_6e7.forEach(["r","g","b","a"],function(x){t[x]=_6ed[x]+(end[x]-_6ed[x])*_6ee;if(x!="a"){t[x]=Math.round(t[x]);}});return t.sanitize();};_6e9.fromRgb=dojo.colorFromRgb=function(_6ef,obj){var m=_6ef.toLowerCase().match(/^rgba?\(([\s\.,0-9]+)\)/);return m&&_6e9.fromArray(m[1].split(/\s*,\s*/),obj);};_6e9.fromHex=dojo.colorFromHex=function(_6f0,obj){var t=obj||new _6e9(),bits=(_6f0.length==4)?4:8,mask=(1<<bits)-1;_6f0=Number("0x"+_6f0.substr(1));if(isNaN(_6f0)){return null;}_6e7.forEach(["b","g","r"],function(x){var c=_6f0&mask;_6f0>>=bits;t[x]=bits==4?17*c:c;});t.a=1;return t;};_6e9.fromArray=dojo.colorFromArray=function(a,obj){var t=obj||new _6e9();t._set(Number(a[0]),Number(a[1]),Number(a[2]),Number(a[3]));if(isNaN(t.a)){t.a=1;}return t.sanitize();};_6e9.fromString=dojo.colorFromString=function(str,obj){var a=_6e9.named[str];return a&&_6e9.fromArray(a,obj)||_6e9.fromRgb(str,obj)||_6e9.fromHex(str,obj);};return _6e9;});},"dijit/place":function(){define("dijit/place",["dojo/_base/array","dojo/dom-geometry","dojo/dom-style","dojo/_base/kernel","dojo/_base/window","dojo/window","."],function(_6f1,_6f2,_6f3,_6f4,win,_6f5,_6f6){function _6f7(node,_6f8,_6f9,_6fa){var view=_6f5.getBox();if(!node.parentNode||String(node.parentNode.tagName).toLowerCase()!="body"){win.body().appendChild(node);}var best=null;_6f1.some(_6f8,function(_6fb){var _6fc=_6fb.corner;var pos=_6fb.pos;var _6fd=0;var _6fe={w:{"L":view.l+view.w-pos.x,"R":pos.x-view.l,"M":view.w}[_6fc.charAt(1)],h:{"T":view.t+view.h-pos.y,"B":pos.y-view.t,"M":view.h}[_6fc.charAt(0)]};if(_6f9){var res=_6f9(node,_6fb.aroundCorner,_6fc,_6fe,_6fa);_6fd=typeof res=="undefined"?0:res;}var _6ff=node.style;var _700=_6ff.display;var _701=_6ff.visibility;if(_6ff.display=="none"){_6ff.visibility="hidden";_6ff.display="";}var mb=_6f2.getMarginBox(node);_6ff.display=_700;_6ff.visibility=_701;var _702={"L":pos.x,"R":pos.x-mb.w,"M":Math.max(view.l,Math.min(view.l+view.w,pos.x+(mb.w>>1))-mb.w)}[_6fc.charAt(1)],_703={"T":pos.y,"B":pos.y-mb.h,"M":Math.max(view.t,Math.min(view.t+view.h,pos.y+(mb.h>>1))-mb.h)}[_6fc.charAt(0)],_704=Math.max(view.l,_702),_705=Math.max(view.t,_703),endX=Math.min(view.l+view.w,_702+mb.w),endY=Math.min(view.t+view.h,_703+mb.h),_706=endX-_704,_707=endY-_705;_6fd+=(mb.w-_706)+(mb.h-_707);if(best==null||_6fd<best.overflow){best={corner:_6fc,aroundCorner:_6fb.aroundCorner,x:_704,y:_705,w:_706,h:_707,overflow:_6fd,spaceAvailable:_6fe};}return !_6fd;});if(best.overflow&&_6f9){_6f9(node,best.aroundCorner,best.corner,best.spaceAvailable,_6fa);}var l=_6f2.isBodyLtr(),s=node.style;s.top=best.y+"px";s[l?"left":"right"]=(l?best.x:view.w-best.x-best.w)+"px";s[l?"right":"left"]="auto";return best;};return (_6f6.place={at:function(node,pos,_708,_709){var _70a=_6f1.map(_708,function(_70b){var c={corner:_70b,pos:{x:pos.x,y:pos.y}};if(_709){c.pos.x+=_70b.charAt(1)=="L"?_709.x:-_709.x;c.pos.y+=_70b.charAt(0)=="T"?_709.y:-_709.y;}return c;});return _6f7(node,_70a);},around:function(node,_70c,_70d,_70e,_70f){var _710=(typeof _70c=="string"||"offsetWidth" in _70c)?_6f2.position(_70c,true):_70c;if(_70c.parentNode){var _711=_70c.parentNode;while(_711&&_711.nodeType==1&&_711.nodeName!="BODY"){var _712=_6f2.position(_711,true);var _713=_6f3.getComputedStyle(_711).overflow;if(_713=="hidden"||_713=="auto"||_713=="scroll"){var _714=Math.min(_710.y+_710.h,_712.y+_712.h);var _715=Math.min(_710.x+_710.w,_712.x+_712.w);_710.x=Math.max(_710.x,_712.x);_710.y=Math.max(_710.y,_712.y);_710.h=_714-_710.y;_710.w=_715-_710.x;}_711=_711.parentNode;}}var x=_710.x,y=_710.y,_716="w" in _710?_710.w:(_710.w=_710.width),_717="h" in _710?_710.h:(_6f4.deprecated("place.around: dijit.place.__Rectangle: { x:"+x+", y:"+y+", height:"+_710.height+", width:"+_716+" } has been deprecated.  Please use { x:"+x+", y:"+y+", h:"+_710.height+", w:"+_716+" }","","2.0"),_710.h=_710.height);var _718=[];function push(_719,_71a){_718.push({aroundCorner:_719,corner:_71a,pos:{x:{"L":x,"R":x+_716,"M":x+(_716>>1)}[_719.charAt(1)],y:{"T":y,"B":y+_717,"M":y+(_717>>1)}[_719.charAt(0)]}});};_6f1.forEach(_70d,function(pos){var ltr=_70e;switch(pos){case "above-centered":push("TM","BM");break;case "below-centered":push("BM","TM");break;case "after-centered":ltr=!ltr;case "before-centered":push(ltr?"ML":"MR",ltr?"MR":"ML");break;case "after":ltr=!ltr;case "before":push(ltr?"TL":"TR",ltr?"TR":"TL");push(ltr?"BL":"BR",ltr?"BR":"BL");break;case "below-alt":ltr=!ltr;case "below":push(ltr?"BL":"BR",ltr?"TL":"TR");push(ltr?"BR":"BL",ltr?"TR":"TL");break;case "above-alt":ltr=!ltr;case "above":push(ltr?"TL":"TR",ltr?"BL":"BR");push(ltr?"TR":"TL",ltr?"BR":"BL");break;default:push(pos.aroundCorner,pos.corner);}});var _71b=_6f7(node,_718,_70f,{w:_716,h:_717});_71b.aroundNodePos=_710;return _71b;}});});},"dijit/BackgroundIframe":function(){define("dijit/BackgroundIframe",["require",".","dojo/_base/config","dojo/dom-construct","dojo/dom-style","dojo/_base/lang","dojo/on","dojo/_base/sniff","dojo/_base/window"],function(_71c,_71d,_71e,_71f,_720,lang,on,has,win){var _721=new function(){var _722=[];this.pop=function(){var _723;if(_722.length){_723=_722.pop();_723.style.display="";}else{if(has("ie")<9){var burl=_71e["dojoBlankHtmlUrl"]||_71c.toUrl("dojo/resources/blank.html")||"javascript:\"\"";var html="<iframe src='"+burl+"' role='presentation'"+" style='position: absolute; left: 0px; top: 0px;"+"z-index: -1; filter:Alpha(Opacity=\"0\");'>";_723=win.doc.createElement(html);}else{_723=_71f.create("iframe");_723.src="javascript:\"\"";_723.className="dijitBackgroundIframe";_723.setAttribute("role","presentation");_720.set(_723,"opacity",0.1);}_723.tabIndex=-1;}return _723;};this.push=function(_724){_724.style.display="none";_722.push(_724);};}();_71d.BackgroundIframe=function(node){if(!node.id){throw new Error("no id");}if(has("ie")||has("mozilla")){var _725=(this.iframe=_721.pop());node.appendChild(_725);if(has("ie")<7||has("quirks")){this.resize(node);this._conn=on(node,"resize",lang.hitch(this,function(){this.resize(node);}));}else{_720.set(_725,{width:"100%",height:"100%"});}}};lang.extend(_71d.BackgroundIframe,{resize:function(node){if(this.iframe){_720.set(this.iframe,{width:node.offsetWidth+"px",height:node.offsetHeight+"px"});}},destroy:function(){if(this._conn){this._conn.remove();this._conn=null;}if(this.iframe){_721.push(this.iframe);delete this.iframe;}}});return _71d.BackgroundIframe;});},"url:dijit/templates/Tooltip.html":"<div class=\"dijitTooltip dijitTooltipLeft\" id=\"dojoTooltip\"\n\t><div class=\"dijitTooltipContainer dijitTooltipContents\" data-dojo-attach-point=\"containerNode\" role='alert'></div\n\t><div class=\"dijitTooltipConnector\" data-dojo-attach-point=\"connectorNode\"></div\n></div>\n","url:dijit/form/templates/ValidationTextBox.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\"\n\tid=\"widget_${id}\" role=\"presentation\"\n\t><div class='dijitReset dijitValidationContainer'\n\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t/></div\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class=\"dijitReset dijitInputInner\" data-dojo-attach-point='textbox,focusNode' autocomplete=\"off\"\n\t\t\t${!nameAttrSetting} type='${type}'\n\t/></div\n></div>\n","dijit/form/nls/validate":function(){define("dijit/form/nls/validate",{root:({invalidMessage:"The value entered is not valid.",missingMessage:"This value is required.",rangeMessage:"This value is out of range."}),"zh":true,"zh-tw":true,"tr":true,"th":true,"sv":true,"sl":true,"sk":true,"ru":true,"ro":true,"pt":true,"pt-pt":true,"pl":true,"nl":true,"nb":true,"ko":true,"kk":true,"ja":true,"it":true,"hu":true,"hr":true,"he":true,"fr":true,"fi":true,"es":true,"el":true,"de":true,"da":true,"cs":true,"ca":true,"az":true,"ar":true});},"dijit/form/NumberTextBox":function(){define("dijit/form/NumberTextBox",["dojo/_base/declare","dojo/_base/lang","dojo/number","./RangeBoundTextBox"],function(_726,lang,_727,_728){var _729=_726("dijit.form.NumberTextBoxMixin",null,{regExpGen:_727.regexp,value:NaN,editOptions:{pattern:"#.######"},_formatter:_727.format,postMixInProperties:function(){this.inherited(arguments);this._set("type","text");},_setConstraintsAttr:function(_72a){var _72b=typeof _72a.places=="number"?_72a.places:0;if(_72b){_72b++;}if(typeof _72a.max!="number"){_72a.max=9*Math.pow(10,15-_72b);}if(typeof _72a.min!="number"){_72a.min=-9*Math.pow(10,15-_72b);}this.inherited(arguments,[_72a]);if(this.focusNode&&this.focusNode.value&&!isNaN(this.value)){this.set("value",this.value);}},_onFocus:function(){if(this.disabled){return;}var val=this.get("value");if(typeof val=="number"&&!isNaN(val)){var _72c=this.format(val,this.constraints);if(_72c!==undefined){this.textbox.value=_72c;}}this.inherited(arguments);},format:function(_72d,_72e){var _72f=String(_72d);if(typeof _72d!="number"){return _72f;}if(isNaN(_72d)){return "";}if(!("rangeCheck" in this&&this.rangeCheck(_72d,_72e))&&_72e.exponent!==false&&/\de[-+]?\d/i.test(_72f)){return _72f;}if(this.editOptions&&this.focused){_72e=lang.mixin({},_72e,this.editOptions);}return this._formatter(_72d,_72e);},_parser:_727.parse,parse:function(_730,_731){var v=this._parser(_730,lang.mixin({},_731,(this.editOptions&&this.focused)?this.editOptions:{}));if(this.editOptions&&this.focused&&isNaN(v)){v=this._parser(_730,_731);}return v;},_getDisplayedValueAttr:function(){var v=this.inherited(arguments);return isNaN(v)?this.textbox.value:v;},filter:function(_732){return (_732===null||_732===""||_732===undefined)?NaN:this.inherited(arguments);},serialize:function(_733,_734){return (typeof _733!="number"||isNaN(_733))?"":this.inherited(arguments);},_setBlurValue:function(){var val=lang.hitch(lang.mixin({},this,{focused:true}),"get")("value");this._setValueAttr(val,true);},_setValueAttr:function(_735,_736,_737){if(_735!==undefined&&_737===undefined){_737=String(_735);if(typeof _735=="number"){if(isNaN(_735)){_737="";}else{if(("rangeCheck" in this&&this.rangeCheck(_735,this.constraints))||this.constraints.exponent===false||!/\de[-+]?\d/i.test(_737)){_737=undefined;}}}else{if(!_735){_737="";_735=NaN;}else{_735=undefined;}}}this.inherited(arguments,[_735,_736,_737]);},_getValueAttr:function(){var v=this.inherited(arguments);if(isNaN(v)&&this.textbox.value!==""){if(this.constraints.exponent!==false&&/\de[-+]?\d/i.test(this.textbox.value)&&(new RegExp("^"+_727._realNumberRegexp(lang.mixin({},this.constraints))+"$").test(this.textbox.value))){var n=Number(this.textbox.value);return isNaN(n)?undefined:n;}else{return undefined;}}else{return v;}},isValid:function(_738){if(!this.focused||this._isEmpty(this.textbox.value)){return this.inherited(arguments);}else{var v=this.get("value");if(!isNaN(v)&&this.rangeCheck(v,this.constraints)){if(this.constraints.exponent!==false&&/\de[-+]?\d/i.test(this.textbox.value)){return true;}else{return this.inherited(arguments);}}else{return false;}}}});var _739=_726("dijit.form.NumberTextBox",[_728,_729],{baseClass:"dijitTextBox dijitNumberTextBox"});_739.Mixin=_729;return _739;});},"dojo/number":function(){define(["./_base/kernel","./_base/lang","./i18n","./i18n!./cldr/nls/number","./string","./regexp"],function(dojo,lang,i18n,_73a,_73b,_73c){lang.getObject("number",true,dojo);dojo.number.format=function(_73d,_73e){_73e=lang.mixin({},_73e||{});var _73f=i18n.normalizeLocale(_73e.locale),_740=i18n.getLocalization("dojo.cldr","number",_73f);_73e.customs=_740;var _741=_73e.pattern||_740[(_73e.type||"decimal")+"Format"];if(isNaN(_73d)||Math.abs(_73d)==Infinity){return null;}return dojo.number._applyPattern(_73d,_741,_73e);};dojo.number._numberPatternRE=/[#0,]*[#0](?:\.0*#*)?/;dojo.number._applyPattern=function(_742,_743,_744){_744=_744||{};var _745=_744.customs.group,_746=_744.customs.decimal,_747=_743.split(";"),_748=_747[0];_743=_747[(_742<0)?1:0]||("-"+_748);if(_743.indexOf("%")!=-1){_742*=100;}else{if(_743.indexOf("‰")!=-1){_742*=1000;}else{if(_743.indexOf("¤")!=-1){_745=_744.customs.currencyGroup||_745;_746=_744.customs.currencyDecimal||_746;_743=_743.replace(/\u00a4{1,3}/,function(_749){var prop=["symbol","currency","displayName"][_749.length-1];return _744[prop]||_744.currency||"";});}else{if(_743.indexOf("E")!=-1){throw new Error("exponential notation not supported");}}}}var _74a=dojo.number._numberPatternRE;var _74b=_748.match(_74a);if(!_74b){throw new Error("unable to find a number expression in pattern: "+_743);}if(_744.fractional===false){_744.places=0;}return _743.replace(_74a,dojo.number._formatAbsolute(_742,_74b[0],{decimal:_746,group:_745,places:_744.places,round:_744.round}));};dojo.number.round=function(_74c,_74d,_74e){var _74f=10/(_74e||10);return (_74f*+_74c).toFixed(_74d)/_74f;};if((0.9).toFixed()==0){var _750=dojo.number.round;dojo.number.round=function(v,p,m){var d=Math.pow(10,-p||0),a=Math.abs(v);if(!v||a>=d||a*Math.pow(10,p+1)<5){d=0;}return _750(v,p,m)+(v>0?d:-d);};}dojo.number._formatAbsolute=function(_751,_752,_753){_753=_753||{};if(_753.places===true){_753.places=0;}if(_753.places===Infinity){_753.places=6;}var _754=_752.split("."),_755=typeof _753.places=="string"&&_753.places.indexOf(","),_756=_753.places;if(_755){_756=_753.places.substring(_755+1);}else{if(!(_756>=0)){_756=(_754[1]||[]).length;}}if(!(_753.round<0)){_751=dojo.number.round(_751,_756,_753.round);}var _757=String(Math.abs(_751)).split("."),_758=_757[1]||"";if(_754[1]||_753.places){if(_755){_753.places=_753.places.substring(0,_755);}var pad=_753.places!==undefined?_753.places:(_754[1]&&_754[1].lastIndexOf("0")+1);if(pad>_758.length){_757[1]=_73b.pad(_758,pad,"0",true);}if(_756<_758.length){_757[1]=_758.substr(0,_756);}}else{if(_757[1]){_757.pop();}}var _759=_754[0].replace(",","");pad=_759.indexOf("0");if(pad!=-1){pad=_759.length-pad;if(pad>_757[0].length){_757[0]=_73b.pad(_757[0],pad);}if(_759.indexOf("#")==-1){_757[0]=_757[0].substr(_757[0].length-pad);}}var _75a=_754[0].lastIndexOf(","),_75b,_75c;if(_75a!=-1){_75b=_754[0].length-_75a-1;var _75d=_754[0].substr(0,_75a);_75a=_75d.lastIndexOf(",");if(_75a!=-1){_75c=_75d.length-_75a-1;}}var _75e=[];for(var _75f=_757[0];_75f;){var off=_75f.length-_75b;_75e.push((off>0)?_75f.substr(off):_75f);_75f=(off>0)?_75f.slice(0,off):"";if(_75c){_75b=_75c;delete _75c;}}_757[0]=_75e.reverse().join(_753.group||",");return _757.join(_753.decimal||".");};dojo.number.regexp=function(_760){return dojo.number._parseInfo(_760).regexp;};dojo.number._parseInfo=function(_761){_761=_761||{};var _762=i18n.normalizeLocale(_761.locale),_763=i18n.getLocalization("dojo.cldr","number",_762),_764=_761.pattern||_763[(_761.type||"decimal")+"Format"],_765=_763.group,_766=_763.decimal,_767=1;if(_764.indexOf("%")!=-1){_767/=100;}else{if(_764.indexOf("‰")!=-1){_767/=1000;}else{var _768=_764.indexOf("¤")!=-1;if(_768){_765=_763.currencyGroup||_765;_766=_763.currencyDecimal||_766;}}}var _769=_764.split(";");if(_769.length==1){_769.push("-"+_769[0]);}var re=_73c.buildGroupRE(_769,function(_76a){_76a="(?:"+_73c.escapeString(_76a,".")+")";return _76a.replace(dojo.number._numberPatternRE,function(_76b){var _76c={signed:false,separator:_761.strict?_765:[_765,""],fractional:_761.fractional,decimal:_766,exponent:false},_76d=_76b.split("."),_76e=_761.places;if(_76d.length==1&&_767!=1){_76d[1]="###";}if(_76d.length==1||_76e===0){_76c.fractional=false;}else{if(_76e===undefined){_76e=_761.pattern?_76d[1].lastIndexOf("0")+1:Infinity;}if(_76e&&_761.fractional==undefined){_76c.fractional=true;}if(!_761.places&&(_76e<_76d[1].length)){_76e+=","+_76d[1].length;}_76c.places=_76e;}var _76f=_76d[0].split(",");if(_76f.length>1){_76c.groupSize=_76f.pop().length;if(_76f.length>1){_76c.groupSize2=_76f.pop().length;}}return "("+dojo.number._realNumberRegexp(_76c)+")";});},true);if(_768){re=re.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/g,function(_770,_771,_772,_773){var prop=["symbol","currency","displayName"][_772.length-1],_774=_73c.escapeString(_761[prop]||_761.currency||"");_771=_771?"[\\s\\xa0]":"";_773=_773?"[\\s\\xa0]":"";if(!_761.strict){if(_771){_771+="*";}if(_773){_773+="*";}return "(?:"+_771+_774+_773+")?";}return _771+_774+_773;});}return {regexp:re.replace(/[\xa0 ]/g,"[\\s\\xa0]"),group:_765,decimal:_766,factor:_767};};dojo.number.parse=function(_775,_776){var info=dojo.number._parseInfo(_776),_777=(new RegExp("^"+info.regexp+"$")).exec(_775);if(!_777){return NaN;}var _778=_777[1];if(!_777[1]){if(!_777[2]){return NaN;}_778=_777[2];info.factor*=-1;}_778=_778.replace(new RegExp("["+info.group+"\\s\\xa0"+"]","g"),"").replace(info.decimal,".");return _778*info.factor;};dojo.number._realNumberRegexp=function(_779){_779=_779||{};if(!("places" in _779)){_779.places=Infinity;}if(typeof _779.decimal!="string"){_779.decimal=".";}if(!("fractional" in _779)||/^0/.test(_779.places)){_779.fractional=[true,false];}if(!("exponent" in _779)){_779.exponent=[true,false];}if(!("eSigned" in _779)){_779.eSigned=[true,false];}var _77a=dojo.number._integerRegexp(_779),_77b=_73c.buildGroupRE(_779.fractional,function(q){var re="";if(q&&(_779.places!==0)){re="\\"+_779.decimal;if(_779.places==Infinity){re="(?:"+re+"\\d+)?";}else{re+="\\d{"+_779.places+"}";}}return re;},true);var _77c=_73c.buildGroupRE(_779.exponent,function(q){if(q){return "([eE]"+dojo.number._integerRegexp({signed:_779.eSigned})+")";}return "";});var _77d=_77a+_77b;if(_77b){_77d="(?:(?:"+_77d+")|(?:"+_77b+"))";}return _77d+_77c;};dojo.number._integerRegexp=function(_77e){_77e=_77e||{};if(!("signed" in _77e)){_77e.signed=[true,false];}if(!("separator" in _77e)){_77e.separator="";}else{if(!("groupSize" in _77e)){_77e.groupSize=3;}}var _77f=_73c.buildGroupRE(_77e.signed,function(q){return q?"[-+]":"";},true);var _780=_73c.buildGroupRE(_77e.separator,function(sep){if(!sep){return "(?:\\d+)";}sep=_73c.escapeString(sep);if(sep==" "){sep="\\s";}else{if(sep==" "){sep="\\s\\xa0";}}var grp=_77e.groupSize,grp2=_77e.groupSize2;if(grp2){var _781="(?:0|[1-9]\\d{0,"+(grp2-1)+"}(?:["+sep+"]\\d{"+grp2+"})*["+sep+"]\\d{"+grp+"})";return ((grp-grp2)>0)?"(?:"+_781+"|(?:0|[1-9]\\d{0,"+(grp-1)+"}))":_781;}return "(?:0|[1-9]\\d{0,"+(grp-1)+"}(?:["+sep+"]\\d{"+grp+"})*)";},true);return _77f+_780;};return dojo.number;});},"dojo/cldr/nls/number":function(){define({root:{"scientificFormat":"#E0","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","decimalFormat-short":"000T","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","nativeZeroDigit":"0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","currencyFormat":"¤ #,##0.00","perMille":"‰","group":",","percentFormat":"#,##0%","decimalFormat":"#,##0.###","decimal":".","patternDigit":"#","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"},"ar":true,"ca":true,"cs":true,"da":true,"de":true,"el":true,"en":true,"en-au":true,"en-gb":true,"es":true,"fi":true,"fr":true,"fr-ch":true,"he":true,"hu":true,"it":true,"ja":true,"ko":true,"nb":true,"nl":true,"pl":true,"pt":true,"pt-pt":true,"ro":true,"ru":true,"sk":true,"sl":true,"sv":true,"th":true,"tr":true,"zh":true,"zh-hant":true,"zh-hk":true});},"dojo/regexp":function(){define(["./_base/kernel","./_base/lang"],function(dojo,lang){lang.getObject("regexp",true,dojo);dojo.regexp.escapeString=function(str,_782){return str.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(ch){if(_782&&_782.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};dojo.regexp.buildGroupRE=function(arr,re,_783){if(!(arr instanceof Array)){return re(arr);}var b=[];for(var i=0;i<arr.length;i++){b.push(re(arr[i]));}return dojo.regexp.group(b.join("|"),_783);};dojo.regexp.group=function(_784,_785){return "("+(_785?"?:":"")+_784+")";};return dojo.regexp;});},"dijit/form/RangeBoundTextBox":function(){define("dijit/form/RangeBoundTextBox",["dojo/_base/declare","dojo/i18n","./MappedTextBox"],function(_786,i18n,_787){return _786("dijit.form.RangeBoundTextBox",_787,{rangeMessage:"",rangeCheck:function(_788,_789){return ("min" in _789?(this.compare(_788,_789.min)>=0):true)&&("max" in _789?(this.compare(_788,_789.max)<=0):true);},isInRange:function(){return this.rangeCheck(this.get("value"),this.constraints);},_isDefinitelyOutOfRange:function(){var val=this.get("value");var _78a=false;var _78b=false;if("min" in this.constraints){var min=this.constraints.min;min=this.compare(val,((typeof min=="number")&&min>=0&&val!=0)?0:min);_78a=(typeof min=="number")&&min<0;}if("max" in this.constraints){var max=this.constraints.max;max=this.compare(val,((typeof max!="number")||max>0)?max:0);_78b=(typeof max=="number")&&max>0;}return _78a||_78b;},_isValidSubset:function(){return this.inherited(arguments)&&!this._isDefinitelyOutOfRange();},isValid:function(_78c){return this.inherited(arguments)&&((this._isEmpty(this.textbox.value)&&!this.required)||this.isInRange(_78c));},getErrorMessage:function(_78d){var v=this.get("value");if(v!==null&&v!==""&&v!==undefined&&(typeof v!="number"||!isNaN(v))&&!this.isInRange(_78d)){return this.rangeMessage;}return this.inherited(arguments);},postMixInProperties:function(){this.inherited(arguments);if(!this.rangeMessage){this.messages=i18n.getLocalization("dijit.form","validate",this.lang);this.rangeMessage=this.messages.rangeMessage;}},_setConstraintsAttr:function(_78e){this.inherited(arguments);if(this.focusNode){if(this.constraints.min!==undefined){this.focusNode.setAttribute("aria-valuemin",this.constraints.min);}else{this.focusNode.removeAttribute("aria-valuemin");}if(this.constraints.max!==undefined){this.focusNode.setAttribute("aria-valuemax",this.constraints.max);}else{this.focusNode.removeAttribute("aria-valuemax");}}},_setValueAttr:function(_78f,_790){this.focusNode.setAttribute("aria-valuenow",_78f);this.inherited(arguments);},applyTextDir:function(){}});});},"dijit/form/MappedTextBox":function(){define("dijit/form/MappedTextBox",["dojo/_base/declare","dojo/dom-construct","./ValidationTextBox"],function(_791,_792,_793){return _791("dijit.form.MappedTextBox",_793,{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=_792.place("<input type='hidden'"+(this.name?" name='"+this.name.replace(/'/g,"&quot;")+"'":"")+"/>",this.textbox,"after");},reset:function(){this.valueNode.value="";this.inherited(arguments);}});});},"dojo/hash":function(){define(["./_base/kernel","require","./_base/connect","./_base/lang","./ready","./_base/sniff"],function(dojo,_794,_795,lang,_796,has){dojo.hash=function(hash,_797){if(!arguments.length){return _798();}if(hash.charAt(0)=="#"){hash=hash.substring(1);}if(_797){_799(hash);}else{location.href="#"+hash;}return hash;};var _79a,_79b,_79c,_79d=dojo.config.hashPollFrequency||100;function _79e(str,_79f){var i=str.indexOf(_79f);return (i>=0)?str.substring(i+1):"";};function _798(){return _79e(location.href,"#");};function _7a0(){_795.publish("/dojo/hashchange",[_798()]);};function _7a1(){if(_798()===_79a){return;}_79a=_798();_7a0();};function _799(hash){if(_79b){if(_79b.isTransitioning()){setTimeout(lang.hitch(null,_799,hash),_79d);return;}var href=_79b.iframe.location.href;var _7a2=href.indexOf("?");_79b.iframe.location.replace(href.substring(0,_7a2)+"?"+hash);return;}location.replace("#"+hash);!_79c&&_7a1();};function _7a3(){var ifr=document.createElement("iframe"),_7a4="dojo-hash-iframe",_7a5=dojo.config.dojoBlankHtmlUrl||_794.toUrl("./resources/blank.html");if(dojo.config.useXDomain&&!dojo.config.dojoBlankHtmlUrl){console.warn("dojo.hash: When using cross-domain Dojo builds,"+" please save dojo/resources/blank.html to your domain and set djConfig.dojoBlankHtmlUrl"+" to the path on your domain to blank.html");}ifr.id=_7a4;ifr.src=_7a5+"?"+_798();ifr.style.display="none";document.body.appendChild(ifr);this.iframe=dojo.global[_7a4];var _7a6,_7a7,_7a8,_7a9,_7aa,_7ab=this.iframe.location;function _7ac(){_79a=_798();_7a6=_7aa?_79a:_79e(_7ab.href,"?");_7a7=false;_7a8=null;};this.isTransitioning=function(){return _7a7;};this.pollLocation=function(){if(!_7aa){try{var _7ad=_79e(_7ab.href,"?");if(document.title!=_7a9){_7a9=this.iframe.document.title=document.title;}}catch(e){_7aa=true;console.error("dojo.hash: Error adding history entry. Server unreachable.");}}var hash=_798();if(_7a7&&_79a===hash){if(_7aa||_7ad===_7a8){_7ac();_7a0();}else{setTimeout(lang.hitch(this,this.pollLocation),0);return;}}else{if(_79a===hash&&(_7aa||_7a6===_7ad)){}else{if(_79a!==hash){_79a=hash;_7a7=true;_7a8=hash;ifr.src=_7a5+"?"+_7a8;_7aa=false;setTimeout(lang.hitch(this,this.pollLocation),0);return;}else{if(!_7aa){location.href="#"+_7ab.search.substring(1);_7ac();_7a0();}}}}setTimeout(lang.hitch(this,this.pollLocation),_79d);};_7ac();setTimeout(lang.hitch(this,this.pollLocation),_79d);};_796(function(){if("onhashchange" in dojo.global&&(!has("ie")||(has("ie")>=8&&document.compatMode!="BackCompat"))){_79c=_795.connect(dojo.global,"onhashchange",_7a0);}else{if(document.addEventListener){_79a=_798();setInterval(_7a1,_79d);}else{if(document.attachEvent){_79b=new _7a3();}}}});return dojo.hash;});},"todo/model/TodoModel":function(){define("todo/model/TodoModel",["dojo/_base/declare","dojox/mvc/StatefulModel","todo/store/LocalStorage","dojox/mvc","dojo/_base/lang","dojo/_base/array"],function(_7ae,_7af,_7b0,mvc,lang,_7b1){return _7ae([_7af],{data:{id:"todos_dojo",todos:[],incomplete:0,complete:0},store:new _7b0(),constructor:function(){var data=this.store.get(this.data.id)||this.data;this._createModel(data);this.setUpModelBinding();this.updateTotalItemsLeft();},setUpModelBinding:function(){mvc.bind(this.incomplete,"value",this.complete,"value",lang.hitch(this,function(_7b2){return this.todos.get("length")-_7b2;}));_7b1.forEach(this.todos,lang.hitch(this,"bindIsDone"));this.todos.watch(lang.hitch(this,"onTodosModelChange"));},bindIsDone:function(item){mvc.bindInputs([item.isDone],lang.hitch(this,"updateTotalItemsLeft"));},onTodosModelChange:function(prop,_7b3,_7b4){this.updateTotalItemsLeft();if(typeof prop==="number"&&!_7b3&&_7b4){this.bindIsDone(_7b4);}},updateTotalItemsLeft:function(){this.incomplete.set("value",_7b1.filter(this.todos,function(item){return item&&!item.isDone.value;}).length);}});});},"todo/store/LocalStorage":function(){define("todo/store/LocalStorage",["dojo/_base/declare","dojo/_base/lang","dojo/_base/json","dojo/store/util/QueryResults","dojo/store/util/SimpleQueryEngine"],function(_7b5,lang,json,_7b6,_7b7){return _7b5(null,{constructor:function(_7b8){if(!window.localStorage){throw Error("LocalStorage not available on this device");}lang.mixin(this,_7b8);this.setData(this.data||[]);},idProperty:"id",queryEngine:_7b7,get:function(id){return json.fromJson(localStorage.getItem(id));},getIdentity:function(_7b9){return _7b9[this.idProperty];},put:function(_7ba,_7bb){var id=_7bb&&_7bb.id||_7ba[this.idProperty]||Math.random();localStorage.setItem(id,json.toJson(_7ba));return id;},add:function(_7bc,_7bd){if(this.get(_7bc[this.idProperty])){throw new Error("Object already exists");}return this.put(_7bc,_7bd);},remove:function(id){localStorage.removeItem(id);},query:function(_7be,_7bf){var data=[];for(var i=0;i<localStorage.length;i++){data.push(this.get(localStorage.key(i)));}return _7b6(this.queryEngine(_7be,_7bf)(data));},setData:function(data){if(data.items){this.idProperty=data.identifier;data=this.data=data.items;}for(var i=0,l=data.length;i<l;i++){var _7c0=data[i];this.put(_7c0);}}});});},"dojo/store/util/QueryResults":function(){define(["../../_base/array","../../_base/lang","../../_base/Deferred"],function(_7c1,lang,_7c2){var util=lang.getObject("dojo.store.util",true);util.QueryResults=function(_7c3){if(!_7c3){return _7c3;}if(_7c3.then){_7c3=lang.delegate(_7c3);}function _7c4(_7c5){if(!_7c3[_7c5]){_7c3[_7c5]=function(){var args=arguments;return _7c2.when(_7c3,function(_7c6){Array.prototype.unshift.call(args,_7c6);return util.QueryResults(_7c1[_7c5].apply(_7c1,args));});};}};_7c4("forEach");_7c4("filter");_7c4("map");if(!_7c3.total){_7c3.total=_7c2.when(_7c3,function(_7c7){return _7c7.length;});}return _7c3;};return util.QueryResults;});},"dojo/store/util/SimpleQueryEngine":function(){define(["../../_base/array"],function(_7c8){return function(_7c9,_7ca){switch(typeof _7c9){default:throw new Error("Can not query with a "+typeof _7c9);case "object":case "undefined":var _7cb=_7c9;_7c9=function(_7cc){for(var key in _7cb){var _7cd=_7cb[key];if(_7cd&&_7cd.test){if(!_7cd.test(_7cc[key])){return false;}}else{if(_7cd!=_7cc[key]){return false;}}}return true;};break;case "string":if(!this[_7c9]){throw new Error("No filter function "+_7c9+" was found in store");}_7c9=this[_7c9];case "function":}function _7ce(_7cf){var _7d0=_7c8.filter(_7cf,_7c9);if(_7ca&&_7ca.sort){_7d0.sort(function(a,b){for(var sort,i=0;sort=_7ca.sort[i];i++){var _7d1=a[sort.attribute];var _7d2=b[sort.attribute];if(_7d1!=_7d2){return !!sort.descending==_7d1>_7d2?-1:1;}}return 0;});}if(_7ca&&(_7ca.start||_7ca.count)){var _7d3=_7d0.length;_7d0=_7d0.slice(_7ca.start||0,(_7ca.start||0)+(_7ca.count||Infinity));_7d0.total=_7d3;}return _7d0;};_7ce.matches=_7c9;return _7ce;};});},"url:todo/app.html":"<section>\n\t<header id=\"header\">\n\t<h1>todos</h1>\n        <input id=\"new-todo\" data-dojo-attach-event=\"onkeypress:onKeyPress\" placeholder=\"What needs to be done?\" type=\"text\" autofocus>\n        <span class=\"ui-tooltip-top\" style=\"display:none;\">Press Enter to save this task</span>\n    </header>\n\n    <section id=\"main\">\n\t    <input id=\"toggle-all\" data-dojo-attach-point=\"mark_all\" data-dojo-attach-event=\"onclick:onMarkAll\" type=\"checkbox\">\n\t    <label for=\"toggle-all\">Mark all as complete</label>\n        <ul id=\"todo-list\" data-dojo-attach-point=\"todo_list\" data-dojo-type=\"dojox.mvc.Repeat\" data-dojo-props=\"ref: this.model.todos, exprchar: '#'\">\n            <li data-dojo-type=\"dojox.mvc.Group\" data-dojo-props=\"ref: '#{this.index}'\">\n            <div class=\"view\">\n                <label class=\"dijitInline inline_edit\" data-dojo-type=\"dijit.InlineEditBox\"\n                    data-dojo-props='ref: \"todo_text\", editor:\"dijit.form.TextBox\", autosave:true'></label>\n\n                <input class=\"toggle\" type=\"checkbox\" data-dojo-type=\"todo.form.CheckBox\" data-dojo-props='ref: \"isDone\"'>\n                <button class=\"destroy\" data-model-id=\"#{this.index}\">\n                </button>\n            </div>\n            </li>\n\t    </ul>\n\t</section>\n\n    <footer id=\"footer\" data-dojo-attach-point=\"todo_stats\">\n        <span id=\"todo-count\">\n            <strong>\n                <span data-dojo-type=\"dojox.mvc.Output\" data-dojo-props=\"ref: this.model.incomplete\" class=\"number\"></span>\n            </strong>\n            <span class=\"word\">items</span> left.\n        </span>\n\t    <!-- Remove this if you don't implement routing -->\n\t\t<ul id=\"filters\">\n\t\t    <li>\n\t\t\t    <a class=\"selected\" href=\"#/\">All</a>\n\t\t    </li>\n\t\t\t<li>\n\t\t\t    <a href=\"#/active\">Active</a>\n\t\t    </li>\n\t\t\t<li>\n\t\t\t\t<a href=\"#/completed\">Completed</a>\n\t\t\t</li>\n\t    </ul>\n        <button id=\"clear-completed\" data-dojo-attach-event=\"onclick:removeCompletedItems\">\n            Clear completed (\n            <span class=\"number-done\" data-dojo-type=\"dojox.mvc.Output\" data-dojo-props=\"ref: this.model.complete\" ></span>\n            )\n        </button>\n    </footer>\n</section>\n","dijit/InlineEditBox":function(){require({cache:{"url:dijit/templates/InlineEditBox.html":"<span data-dojo-attach-point=\"editNode\" role=\"presentation\" style=\"position: absolute; visibility:hidden\" class=\"dijitReset dijitInline\"\n\tdata-dojo-attach-event=\"onkeypress: _onKeyPress\"\n\t><span data-dojo-attach-point=\"editorPlaceholder\"></span\n\t><span data-dojo-attach-point=\"buttonContainer\"\n\t\t><button data-dojo-type=\"dijit.form.Button\" data-dojo-props=\"label: '${buttonSave}', 'class': 'saveButton'\"\n\t\t\tdata-dojo-attach-point=\"saveButton\" data-dojo-attach-event=\"onClick:save\"></button\n\t\t><button data-dojo-type=\"dijit.form.Button\"  data-dojo-props=\"label: '${buttonCancel}', 'class': 'cancelButton'\"\n\t\t\tdata-dojo-attach-point=\"cancelButton\" data-dojo-attach-event=\"onClick:cancel\"></button\n\t></span\n></span>\n"}});define("dijit/InlineEditBox",["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-style","dojo/_base/event","dojo/i18n","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/_base/sniff","./focus","./_Widget","./_TemplatedMixin","./_WidgetsInTemplateMixin","./_Container","./form/Button","./form/_TextBoxMixin","./form/TextBox","dojo/text!./templates/InlineEditBox.html","dojo/i18n!./nls/common"],function(_7d4,_7d5,_7d6,_7d7,_7d8,_7d9,_7da,i18n,_7db,keys,lang,has,fm,_7dc,_7dd,_7de,_7df,_7e0,_7e1,_7e2,_7e3){var _7e4=_7d5("dijit._InlineEditor",[_7dc,_7dd,_7de],{templateString:_7e3,postMixInProperties:function(){this.inherited(arguments);this.messages=i18n.getLocalization("dijit","common",this.lang);_7d4.forEach(["buttonSave","buttonCancel"],function(prop){if(!this[prop]){this[prop]=this.messages[prop];}},this);},buildRendering:function(){this.inherited(arguments);var cls=typeof this.editor=="string"?lang.getObject(this.editor):this.editor;var _7e5=this.sourceStyle,_7e6="line-height:"+_7e5.lineHeight+";",_7e7=_7d9.getComputedStyle(this.domNode);_7d4.forEach(["Weight","Family","Size","Style"],function(prop){var _7e8=_7e5["font"+prop],_7e9=_7e7["font"+prop];if(_7e9!=_7e8){_7e6+="font-"+prop+":"+_7e5["font"+prop]+";";}},this);_7d4.forEach(["marginTop","marginBottom","marginLeft","marginRight"],function(prop){this.domNode.style[prop]=_7e5[prop];},this);var _7ea=this.inlineEditBox.width;if(_7ea=="100%"){_7e6+="width:100%;";this.domNode.style.display="block";}else{_7e6+="width:"+(_7ea+(Number(_7ea)==_7ea?"px":""))+";";}var _7eb=lang.delegate(this.inlineEditBox.editorParams,{style:_7e6,dir:this.dir,lang:this.lang,textDir:this.textDir});_7eb["displayedValue" in cls.prototype?"displayedValue":"value"]=this.value;this.editWidget=new cls(_7eb,this.editorPlaceholder);if(this.inlineEditBox.autoSave){_7d8.destroy(this.buttonContainer);}},postCreate:function(){this.inherited(arguments);var ew=this.editWidget;if(this.inlineEditBox.autoSave){this.connect(ew,"onChange","_onChange");this.connect(ew,"onKeyPress","_onKeyPress");}else{if("intermediateChanges" in ew){ew.set("intermediateChanges",true);this.connect(ew,"onChange","_onIntermediateChange");this.saveButton.set("disabled",true);}}},_onIntermediateChange:function(){this.saveButton.set("disabled",(this.getValue()==this._resetValue)||!this.enableSave());},destroy:function(){this.editWidget.destroy(true);this.inherited(arguments);},getValue:function(){var ew=this.editWidget;return String(ew.get("displayedValue" in ew?"displayedValue":"value"));},_onKeyPress:function(e){if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing){if(e.altKey||e.ctrlKey){return;}if(e.charOrCode==keys.ESCAPE){_7da.stop(e);this.cancel(true);}else{if(e.charOrCode==keys.ENTER&&e.target.tagName=="INPUT"){_7da.stop(e);this._onChange();}}}},_onBlur:function(){this.inherited(arguments);if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing){if(this.getValue()==this._resetValue){this.cancel(false);}else{if(this.enableSave()){this.save(false);}}}},_onChange:function(){if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing&&this.enableSave()){fm.focus(this.inlineEditBox.displayNode);}},enableSave:function(){return (this.editWidget.isValid?this.editWidget.isValid():true);},focus:function(){this.editWidget.focus();setTimeout(lang.hitch(this,function(){if(this.editWidget.focusNode&&this.editWidget.focusNode.tagName=="INPUT"){_7e1.selectInputText(this.editWidget.focusNode);}}),0);}});var _7ec=_7d5("dijit.InlineEditBox",_7dc,{editing:false,autoSave:true,buttonSave:"",buttonCancel:"",renderAsHtml:false,editor:_7e2,editorWrapper:_7e4,editorParams:{},disabled:false,onChange:function(){},onCancel:function(){},width:"100%",value:"",noValueIndicator:has("ie")<=6?"<span style='font-family: wingdings; text-decoration: underline;'>&#160;&#160;&#160;&#160;&#x270d;&#160;&#160;&#160;&#160;</span>":"<span style='text-decoration: underline;'>&#160;&#160;&#160;&#160;&#x270d;&#160;&#160;&#160;&#160;</span>",constructor:function(){this.editorParams={};},postMixInProperties:function(){this.inherited(arguments);this.displayNode=this.srcNodeRef;var _7ed={ondijitclick:"_onClick",onmouseover:"_onMouseOver",onmouseout:"_onMouseOut",onfocus:"_onMouseOver",onblur:"_onMouseOut"};for(var name in _7ed){this.connect(this.displayNode,name,_7ed[name]);}this.displayNode.setAttribute("role","button");if(!this.displayNode.getAttribute("tabIndex")){this.displayNode.setAttribute("tabIndex",0);}if(!this.value&&!("value" in this.params)){this.value=lang.trim(this.renderAsHtml?this.displayNode.innerHTML:(this.displayNode.innerText||this.displayNode.textContent||""));}if(!this.value){this.displayNode.innerHTML=this.noValueIndicator;}_7d7.add(this.displayNode,"dijitInlineEditBoxDisplayMode");},setDisabled:function(_7ee){_7db.deprecated("dijit.InlineEditBox.setDisabled() is deprecated.  Use set('disabled', bool) instead.","","2.0");this.set("disabled",_7ee);},_setDisabledAttr:function(_7ef){this.domNode.setAttribute("aria-disabled",_7ef);if(_7ef){this.displayNode.removeAttribute("tabIndex");}else{this.displayNode.setAttribute("tabIndex",0);}_7d7.toggle(this.displayNode,"dijitInlineEditBoxDisplayModeDisabled",_7ef);this._set("disabled",_7ef);},_onMouseOver:function(){if(!this.disabled){_7d7.add(this.displayNode,"dijitInlineEditBoxDisplayModeHover");}},_onMouseOut:function(){_7d7.remove(this.displayNode,"dijitInlineEditBoxDisplayModeHover");},_onClick:function(e){if(this.disabled){return;}if(e){_7da.stop(e);}this._onMouseOut();setTimeout(lang.hitch(this,"edit"),0);},edit:function(){if(this.disabled||this.editing){return;}this._set("editing",true);this._savedPosition=_7d9.get(this.displayNode,"position")||"static";this._savedOpacity=_7d9.get(this.displayNode,"opacity")||"1";this._savedTabIndex=_7d6.get(this.displayNode,"tabIndex")||"0";if(this.wrapperWidget){var ew=this.wrapperWidget.editWidget;ew.set("displayedValue" in ew?"displayedValue":"value",this.value);}else{var _7f0=_7d8.create("span",null,this.domNode,"before");var ewc=typeof this.editorWrapper=="string"?lang.getObject(this.editorWrapper):this.editorWrapper;this.wrapperWidget=new ewc({value:this.value,buttonSave:this.buttonSave,buttonCancel:this.buttonCancel,dir:this.dir,lang:this.lang,tabIndex:this._savedTabIndex,editor:this.editor,inlineEditBox:this,sourceStyle:_7d9.getComputedStyle(this.displayNode),save:lang.hitch(this,"save"),cancel:lang.hitch(this,"cancel"),textDir:this.textDir},_7f0);if(!this._started){this.startup();}}var ww=this.wrapperWidget;_7d9.set(this.displayNode,{position:"absolute",opacity:"0"});_7d9.set(ww.domNode,{position:this._savedPosition,visibility:"visible",opacity:"1"});_7d6.set(this.displayNode,"tabIndex","-1");setTimeout(lang.hitch(ww,function(){this.focus();this._resetValue=this.getValue();}),0);},_onBlur:function(){this.inherited(arguments);if(!this.editing){}},destroy:function(){if(this.wrapperWidget&&!this.wrapperWidget._destroyed){this.wrapperWidget.destroy();delete this.wrapperWidget;}this.inherited(arguments);},_showText:function(_7f1){var ww=this.wrapperWidget;_7d9.set(ww.domNode,{position:"absolute",visibility:"hidden",opacity:"0"});_7d9.set(this.displayNode,{position:this._savedPosition,opacity:this._savedOpacity});_7d6.set(this.displayNode,"tabIndex",this._savedTabIndex);if(_7f1){fm.focus(this.displayNode);}},save:function(_7f2){if(this.disabled||!this.editing){return;}this._set("editing",false);var ww=this.wrapperWidget;var _7f3=ww.getValue();this.set("value",_7f3);this._showText(_7f2);},setValue:function(val){_7db.deprecated("dijit.InlineEditBox.setValue() is deprecated.  Use set('value', ...) instead.","","2.0");return this.set("value",val);},_setValueAttr:function(val){val=lang.trim(val);var _7f4=this.renderAsHtml?val:val.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;").replace(/\n/g,"<br>");this.displayNode.innerHTML=_7f4||this.noValueIndicator;this._set("value",val);if(this._started){setTimeout(lang.hitch(this,"onChange",val),0);}if(this.textDir=="auto"){this.applyTextDir(this.displayNode,this.displayNode.innerText);}},getValue:function(){_7db.deprecated("dijit.InlineEditBox.getValue() is deprecated.  Use get('value') instead.","","2.0");return this.get("value");},cancel:function(_7f5){if(this.disabled||!this.editing){return;}this._set("editing",false);setTimeout(lang.hitch(this,"onCancel"),0);this._showText(_7f5);},_setTextDirAttr:function(_7f6){if(!this._created||this.textDir!=_7f6){this._set("textDir",_7f6);this.applyTextDir(this.displayNode,this.displayNode.innerText);this.displayNode.align=this.dir=="rtl"?"right":"left";}}});_7ec._InlineEditor=_7e4;return _7ec;});},"dijit/_Container":function(){define("dijit/_Container",["dojo/_base/array","dojo/_base/declare","dojo/dom-construct","./registry"],function(_7f7,_7f8,_7f9,_7fa){return _7f8("dijit._Container",null,{buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}},addChild:function(_7fb,_7fc){var _7fd=this.containerNode;if(_7fc&&typeof _7fc=="number"){var _7fe=this.getChildren();if(_7fe&&_7fe.length>=_7fc){_7fd=_7fe[_7fc-1].domNode;_7fc="after";}}_7f9.place(_7fb.domNode,_7fd,_7fc);if(this._started&&!_7fb._started){_7fb.startup();}},removeChild:function(_7ff){if(typeof _7ff=="number"){_7ff=this.getChildren()[_7ff];}if(_7ff){var node=_7ff.domNode;if(node&&node.parentNode){node.parentNode.removeChild(node);}}},hasChildren:function(){return this.getChildren().length>0;},_getSiblingOfChild:function(_800,dir){var node=_800.domNode,_801=(dir>0?"nextSibling":"previousSibling");do{node=node[_801];}while(node&&(node.nodeType!=1||!_7fa.byNode(node)));return node&&_7fa.byNode(node);},getIndexOfChild:function(_802){return _7f7.indexOf(this.getChildren(),_802);}});});},"dijit/form/Button":function(){require({cache:{"url:dijit/form/templates/Button.html":"<span class=\"dijit dijitReset dijitInline\" role=\"presentation\"\n\t><span class=\"dijitReset dijitInline dijitButtonNode\"\n\t\tdata-dojo-attach-event=\"ondijitclick:_onClick\" role=\"presentation\"\n\t\t><span class=\"dijitReset dijitStretch dijitButtonContents\"\n\t\t\tdata-dojo-attach-point=\"titleNode,focusNode\"\n\t\t\trole=\"button\" aria-labelledby=\"${id}_label\"\n\t\t\t><span class=\"dijitReset dijitInline dijitIcon\" data-dojo-attach-point=\"iconNode\"></span\n\t\t\t><span class=\"dijitReset dijitToggleButtonIconChar\">&#x25CF;</span\n\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\"\n\t\t\t\tid=\"${id}_label\"\n\t\t\t\tdata-dojo-attach-point=\"containerNode\"\n\t\t\t></span\n\t\t></span\n\t></span\n\t><input ${!nameAttrSetting} type=\"${type}\" value=\"${value}\" class=\"dijitOffScreen\"\n\t\ttabIndex=\"-1\" role=\"presentation\" data-dojo-attach-point=\"valueNode\"\n/></span>\n"}});define("dijit/form/Button",["require","dojo/_base/declare","dojo/dom-class","dojo/_base/kernel","dojo/_base/lang","dojo/ready","./_FormWidget","./_ButtonMixin","dojo/text!./templates/Button.html"],function(_803,_804,_805,_806,lang,_807,_808,_809,_80a){if(!_806.isAsync){_807(0,function(){var _80b=["dijit/form/DropDownButton","dijit/form/ComboButton","dijit/form/ToggleButton"];_803(_80b);});}return _804("dijit.form.Button",[_808,_809],{showLabel:true,iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitButton",templateString:_80a,_setValueAttr:"valueNode",_onClick:function(e){var ok=this.inherited(arguments);if(ok){if(this.valueNode){this.valueNode.click();e.preventDefault();}}return ok;},_fillContent:function(_80c){if(_80c&&(!this.params||!("label" in this.params))){var _80d=lang.trim(_80c.innerHTML);if(_80d){this.label=_80d;}}},_setShowLabelAttr:function(val){if(this.containerNode){_805.toggle(this.containerNode,"dijitDisplayNone",!val);}this._set("showLabel",val);},setLabel:function(_80e){_806.deprecated("dijit.form.Button.setLabel() is deprecated.  Use set('label', ...) instead.","","2.0");this.set("label",_80e);},_setLabelAttr:function(_80f){this.inherited(arguments);if(!this.showLabel&&!("title" in this.params)){this.titleNode.title=lang.trim(this.containerNode.innerText||this.containerNode.textContent||"");}}});});},"dijit/form/_ButtonMixin":function(){define("dijit/form/_ButtonMixin",["dojo/_base/declare","dojo/dom","dojo/_base/event","../registry"],function(_810,dom,_811,_812){return _810("dijit.form._ButtonMixin",null,{label:"",type:"button",_onClick:function(e){if(this.disabled){_811.stop(e);return false;}var _813=this.onClick(e)===false;if(!_813&&this.type=="submit"&&!(this.valueNode||this.focusNode).form){for(var node=this.domNode;node.parentNode;node=node.parentNode){var _814=_812.byNode(node);if(_814&&typeof _814._onSubmit=="function"){_814._onSubmit(e);_813=true;break;}}}if(_813){e.preventDefault();}return !_813;},postCreate:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},onClick:function(){return true;},_setLabelAttr:function(_815){this._set("label",_815);(this.containerNode||this.focusNode).innerHTML=_815;}});});},"url:dijit/form/templates/Button.html":"<span class=\"dijit dijitReset dijitInline\" role=\"presentation\"\n\t><span class=\"dijitReset dijitInline dijitButtonNode\"\n\t\tdata-dojo-attach-event=\"ondijitclick:_onClick\" role=\"presentation\"\n\t\t><span class=\"dijitReset dijitStretch dijitButtonContents\"\n\t\t\tdata-dojo-attach-point=\"titleNode,focusNode\"\n\t\t\trole=\"button\" aria-labelledby=\"${id}_label\"\n\t\t\t><span class=\"dijitReset dijitInline dijitIcon\" data-dojo-attach-point=\"iconNode\"></span\n\t\t\t><span class=\"dijitReset dijitToggleButtonIconChar\">&#x25CF;</span\n\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\"\n\t\t\t\tid=\"${id}_label\"\n\t\t\t\tdata-dojo-attach-point=\"containerNode\"\n\t\t\t></span\n\t\t></span\n\t></span\n\t><input ${!nameAttrSetting} type=\"${type}\" value=\"${value}\" class=\"dijitOffScreen\"\n\t\ttabIndex=\"-1\" role=\"presentation\" data-dojo-attach-point=\"valueNode\"\n/></span>\n","url:dijit/templates/InlineEditBox.html":"<span data-dojo-attach-point=\"editNode\" role=\"presentation\" style=\"position: absolute; visibility:hidden\" class=\"dijitReset dijitInline\"\n\tdata-dojo-attach-event=\"onkeypress: _onKeyPress\"\n\t><span data-dojo-attach-point=\"editorPlaceholder\"></span\n\t><span data-dojo-attach-point=\"buttonContainer\"\n\t\t><button data-dojo-type=\"dijit.form.Button\" data-dojo-props=\"label: '${buttonSave}', 'class': 'saveButton'\"\n\t\t\tdata-dojo-attach-point=\"saveButton\" data-dojo-attach-event=\"onClick:save\"></button\n\t\t><button data-dojo-type=\"dijit.form.Button\"  data-dojo-props=\"label: '${buttonCancel}', 'class': 'cancelButton'\"\n\t\t\tdata-dojo-attach-point=\"cancelButton\" data-dojo-attach-event=\"onClick:cancel\"></button\n\t></span\n></span>\n","dijit/nls/common":function(){define("dijit/nls/common",{root:({buttonOk:"OK",buttonCancel:"Cancel",buttonSave:"Save",itemClose:"Close"}),"zh":true,"zh-tw":true,"tr":true,"th":true,"sv":true,"sl":true,"sk":true,"ru":true,"ro":true,"pt":true,"pt-pt":true,"pl":true,"nl":true,"nb":true,"ko":true,"kk":true,"ja":true,"it":true,"hu":true,"hr":true,"he":true,"fr":true,"fi":true,"es":true,"el":true,"de":true,"da":true,"cs":true,"ca":true,"az":true,"ar":true});},"todo/form/CheckBox":function(){define("todo/form/CheckBox",["dojo/_base/declare","dijit/form/CheckBox"],function(_816,_817){return _816("todo.form.CheckBox",[_817],{_setCheckedAttr:function(_818){this.inherited(arguments);this._watchCallbacks("value",!_818,_818);},_getValueAttr:function(){return this.get("checked");}});});},"dijit/form/CheckBox":function(){require({cache:{"url:dijit/form/templates/CheckBox.html":"<div class=\"dijit dijitReset dijitInline\" role=\"presentation\"\n\t><input\n\t \t${!nameAttrSetting} type=\"${type}\" ${checkedAttrSetting}\n\t\tclass=\"dijitReset dijitCheckBoxInput\"\n\t\tdata-dojo-attach-point=\"focusNode\"\n\t \tdata-dojo-attach-event=\"onclick:_onClick\"\n/></div>\n"}});define("dijit/form/CheckBox",["require","dojo/_base/declare","dojo/dom-attr","dojo/_base/kernel","dojo/query","dojo/ready","./ToggleButton","./_CheckBoxMixin","dojo/text!./templates/CheckBox.html","dojo/NodeList-dom"],function(_819,_81a,_81b,_81c,_81d,_81e,_81f,_820,_821){if(!_81c.isAsync){_81e(0,function(){var _822=["dijit/form/RadioButton"];_819(_822);});}return _81a("dijit.form.CheckBox",[_81f,_820],{templateString:_821,baseClass:"dijitCheckBox",_setValueAttr:function(_823,_824){if(typeof _823=="string"){this._set("value",_823);_81b.set(this.focusNode,"value",_823);_823=true;}if(this._created){this.set("checked",_823,_824);}},_getValueAttr:function(){return (this.checked?this.value:false);},_setIconClassAttr:null,postMixInProperties:function(){this.inherited(arguments);this.checkedAttrSetting=this.checked?"checked":"";},_fillContent:function(){},_onFocus:function(){if(this.id){_81d("label[for='"+this.id+"']").addClass("dijitFocusedLabel");}this.inherited(arguments);},_onBlur:function(){if(this.id){_81d("label[for='"+this.id+"']").removeClass("dijitFocusedLabel");}this.inherited(arguments);}});});},"dijit/form/ToggleButton":function(){define("dijit/form/ToggleButton",["dojo/_base/declare","dojo/_base/kernel","./Button","./_ToggleButtonMixin"],function(_825,_826,_827,_828){return _825("dijit.form.ToggleButton",[_827,_828],{baseClass:"dijitToggleButton",setChecked:function(_829){_826.deprecated("setChecked("+_829+") is deprecated. Use set('checked',"+_829+") instead.","","2.0");this.set("checked",_829);}});});},"dijit/form/_ToggleButtonMixin":function(){define("dijit/form/_ToggleButtonMixin",["dojo/_base/declare","dojo/dom-attr"],function(_82a,_82b){return _82a("dijit.form._ToggleButtonMixin",null,{checked:false,_aria_attr:"aria-pressed",_onClick:function(evt){var _82c=this.checked;this._set("checked",!_82c);var ret=this.inherited(arguments);this.set("checked",ret?this.checked:_82c);return ret;},_setCheckedAttr:function(_82d,_82e){this._set("checked",_82d);_82b.set(this.focusNode||this.domNode,"checked",_82d);(this.focusNode||this.domNode).setAttribute(this._aria_attr,_82d?"true":"false");this._handleOnChange(_82d,_82e);},reset:function(){this._hasBeenBlurred=false;this.set("checked",this.params.checked||false);}});});},"dijit/form/_CheckBoxMixin":function(){define("dijit/form/_CheckBoxMixin",["dojo/_base/declare","dojo/dom-attr","dojo/_base/event"],function(_82f,_830,_831){return _82f("dijit.form._CheckBoxMixin",null,{type:"checkbox",value:"on",readOnly:false,_aria_attr:"aria-checked",_setReadOnlyAttr:function(_832){this._set("readOnly",_832);_830.set(this.focusNode,"readOnly",_832);this.focusNode.setAttribute("aria-readonly",_832);},_setLabelAttr:undefined,postMixInProperties:function(){if(this.value==""){this.value="on";}this.inherited(arguments);},reset:function(){this.inherited(arguments);this._set("value",this.params.value||"on");_830.set(this.focusNode,"value",this.value);},_onClick:function(e){if(this.readOnly){_831.stop(e);return false;}return this.inherited(arguments);}});});},"url:dijit/form/templates/CheckBox.html":"<div class=\"dijit dijitReset dijitInline\" role=\"presentation\"\n\t><input\n\t \t${!nameAttrSetting} type=\"${type}\" ${checkedAttrSetting}\n\t\tclass=\"dijitReset dijitCheckBoxInput\"\n\t\tdata-dojo-attach-point=\"focusNode\"\n\t \tdata-dojo-attach-event=\"onclick:_onClick\"\n/></div>\n","dojo/NodeList-dom":function(){define(["./_base/kernel","./query","./_base/array","./_base/lang","./dom-class","./dom-construct","./dom-geometry","./dom-attr","./dom-style"],function(dojo,_833,_834,lang,_835,_836,_837,_838,_839){var _83a=function(a){return a.length==1&&(typeof a[0]=="string");};var _83b=function(node){var p=node.parentNode;if(p){p.removeChild(node);}};var _83c=_833.NodeList,awc=_83c._adaptWithCondition,aafe=_83c._adaptAsForEach,aam=_83c._adaptAsMap;function _83d(_83e){return function(node,name,_83f){if(arguments.length==2){return _83e[typeof name=="string"?"get":"set"](node,name);}return _83e.set(node,name,_83f);};};lang.extend(_83c,{_normalize:function(_840,_841){var _842=_840.parse===true;if(typeof _840.template=="string"){var _843=_840.templateFunc||(dojo.string&&dojo.string.substitute);_840=_843?_843(_840.template,_840):_840;}var type=(typeof _840);if(type=="string"||type=="number"){_840=_836.toDom(_840,(_841&&_841.ownerDocument));if(_840.nodeType==11){_840=lang._toArray(_840.childNodes);}else{_840=[_840];}}else{if(!lang.isArrayLike(_840)){_840=[_840];}else{if(!lang.isArray(_840)){_840=lang._toArray(_840);}}}if(_842){_840._runParse=true;}return _840;},_cloneNode:function(node){return node.cloneNode(true);},_place:function(ary,_844,_845,_846){if(_844.nodeType!=1&&_845=="only"){return;}var _847=_844,_848;var _849=ary.length;for(var i=_849-1;i>=0;i--){var node=(_846?this._cloneNode(ary[i]):ary[i]);if(ary._runParse&&dojo.parser&&dojo.parser.parse){if(!_848){_848=_847.ownerDocument.createElement("div");}_848.appendChild(node);dojo.parser.parse(_848);node=_848.firstChild;while(_848.firstChild){_848.removeChild(_848.firstChild);}}if(i==_849-1){_836.place(node,_847,_845);}else{_847.parentNode.insertBefore(node,_847);}_847=node;}},attr:awc(_83d(_838),_83a),style:awc(_83d(_839),_83a),addClass:aafe(_835.add),removeClass:aafe(_835.remove),replaceClass:aafe(_835.replace),toggleClass:aafe(_835.toggle),empty:aafe(_836.empty),removeAttr:aafe(_838.remove),position:aam(_837.position),marginBox:aam(_837.getMarginBox),place:function(_84a,_84b){var item=_833(_84a)[0];return this.forEach(function(node){_836.place(node,item,_84b);});},orphan:function(_84c){return (_84c?_833._filterResult(this,_84c):this).forEach(_83b);},adopt:function(_84d,_84e){return _833(_84d).place(this[0],_84e)._stash(this);},query:function(_84f){if(!_84f){return this;}var ret=new _83c;this.map(function(node){_833(_84f,node).forEach(function(_850){if(_850!==undefined){ret.push(_850);}});});return ret._stash(this);},filter:function(_851){var a=arguments,_852=this,_853=0;if(typeof _851=="string"){_852=_833._filterResult(this,a[0]);if(a.length==1){return _852._stash(this);}_853=1;}return this._wrap(_834.filter(_852,a[_853],a[_853+1]),this);},addContent:function(_854,_855){_854=this._normalize(_854,this[0]);for(var i=0,node;(node=this[i]);i++){this._place(_854,node,_855,i>0);}return this;}});return _83c;});},"dojox/mvc/Group":function(){define("dojox/mvc/Group",["dojo/_base/declare","dijit/_WidgetBase"],function(_856,_857){return _856("dojox.mvc.Group",[_857],{});});},"dojox/mvc/Repeat":function(){define("dojox/mvc/Repeat",["dojo/_base/declare","dojo/dom","./_Container"],function(_858,dom,_859){return _858("dojox.mvc.Repeat",[_859],{index:0,postscript:function(_85a,_85b){this.srcNodeRef=dom.byId(_85b);if(this.srcNodeRef){if(this.templateString==""){this.templateString=this.srcNodeRef.innerHTML;}this.srcNodeRef.innerHTML="";}this.inherited(arguments);},_updateBinding:function(name,old,_85c){this.inherited(arguments);this._buildContained();},_buildContained:function(){this._destroyBody();this._updateAddRemoveWatch();var _85d="";for(this.index=0;this.get("binding").get(this.index);this.index++){_85d+=this._exprRepl(this.templateString);}var _85e=this.srcNodeRef||this.domNode;_85e.innerHTML=_85d;this.srcNodeRef=_85e;this._createBody();},_updateAddRemoveWatch:function(){if(this._addRemoveWatch){this._addRemoveWatch.unwatch();}var _85f=this;this._addRemoveWatch=this.get("binding").watch(function(name,old,_860){if(/^[0-9]+$/.test(name.toString())){if(!old||!_860){_85f._buildContained();}}});}});});},"dojox/mvc/_Container":function(){define("dojox/mvc/_Container",["dojo/_base/declare","dojo/_base/lang","dijit/_WidgetBase","dojo/regexp"],function(_861,lang,_862,_863){return _861("dojox.mvc._Container",[_862],{stopParser:true,exprchar:"$",templateString:"",_containedWidgets:[],_parser:null,_createBody:function(){if(!this._parser){try{this._parser=require("dojo/parser");}catch(e){try{this._parser=require("dojox/mobile/parser");}catch(e){console.error("Add explicit require(['dojo/parser']) or explicit require(['dojox/mobile/parser']), one of the parsers is required!");}}}if(this._parser){this._containedWidgets=this._parser.parse(this.srcNodeRef,{template:true,inherited:{dir:this.dir,lang:this.lang},propsThis:this,scope:"dojo"});}},_destroyBody:function(){if(this._containedWidgets&&this._containedWidgets.length>0){for(var n=this._containedWidgets.length-1;n>-1;n--){var w=this._containedWidgets[n];if(w&&!w._destroyed&&w.destroy){w.destroy();}}}},_exprRepl:function(tmpl){var _864=this,_865=function(_866,key){if(!_866){return "";}var exp=_866.substr(2);exp=exp.substr(0,exp.length-1);with(_864){return eval(exp);}};_865=lang.hitch(this,_865);return tmpl.replace(new RegExp(_863.escapeString(this.exprchar)+"({.*?})","g"),function(_867,key,_868){return _865(_867,key).toString();});}});});},"dojox/mvc/Output":function(){define("dojox/mvc/Output",["dojo/_base/declare","dojo/_base/lang","dojo/dom","dijit/_WidgetBase"],function(_869,lang,dom,_86a){return _869("dojox.mvc.Output",[_86a],{templateString:"",postscript:function(_86b,_86c){this.srcNodeRef=dom.byId(_86c);if(this.srcNodeRef){this.templateString=this.srcNodeRef.innerHTML;this.srcNodeRef.innerHTML="";}this.inherited(arguments);},set:function(name,_86d){this.inherited(arguments);if(name==="value"){this._output();}},_updateBinding:function(name,old,_86e){this.inherited(arguments);this._output();},_output:function(){var _86f=this.srcNodeRef||this.domNode;_86f.innerHTML=this.templateString?this._exprRepl(this.templateString):this.value;},_exprRepl:function(tmpl){var _870=this,_871=function(_872,key){if(!_872){return "";}var exp=_872.substr(2);exp=exp.substr(0,exp.length-1);with(_870){return eval(exp)||"";}};_871=lang.hitch(this,_871);return tmpl.replace(/\$\{.*?\}/g,function(_873,key,_874){return _871(_873,key).toString();});}});});},"dojo/main":function(){define(["./_base/kernel","./has","require","./_base/sniff","./_base/lang","./_base/array","./ready","./_base/declare","./_base/connect","./_base/Deferred","./_base/json","./_base/Color","./has!dojo-firebug?./_firebug/firebug","./_base/browser","./_base/loader"],function(dojo,has,_875,_876,lang,_877,_878){if(dojo.config.isDebug){_875(["./_firebug/firebug"]);}true||has.add("dojo-config-require",1);if(1){var deps=dojo.config.require;if(deps){deps=_877.map(lang.isArray(deps)?deps:[deps],function(item){return item.replace(/\./g,"/");});if(dojo.isAsync){_875(deps);}else{_878(1,function(){_875(deps);});}}}return dojo;});},"dojo/_base/browser":function(){if(require.has){require.has.add("config-selectorEngine","acme");}define(["../ready","./kernel","./connect","./unload","./window","./event","./html","./NodeList","../query","./xhr","./fx"],function(dojo){return dojo;});},"dojo/_base/NodeList":function(){define(["./kernel","../query","./array","./html","../NodeList-dom"],function(dojo,_879,_87a){var _87b=_879.NodeList;var nlp=_87b.prototype;nlp.connect=_87b._adaptAsForEach(function(){return dojo.connect.apply(this,arguments);});nlp.coords=_87b._adaptAsMap(dojo.coords);_87b.events=["blur","focus","change","click","error","keydown","keypress","keyup","load","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","submit"];_87a.forEach(_87b.events,function(evt){var _87c="on"+evt;nlp[_87c]=function(a,b){return this.connect(_87c,a,b);};});dojo.NodeList=_87b;return dojo.NodeList;});},"dojo/_base/loader":function(){define(["./kernel","../has","require","module","./json","./lang","./array"],function(dojo,has,_87d,_87e,json,lang,_87f){if(!1){console.error("cannot load the Dojo v1.x loader with a foreign loader");return 0;}var _880=function(id){return {src:_87e.id,id:id};},_881=function(name){return name.replace(/\./g,"/");},_882=/\/\/>>built/,_883=[],_884=[],_885=function(mid,_886,_887){_883.push(_887);_87f.forEach(mid.split(","),function(mid){var _888=_889(mid,_886.module);_884.push(_888);_88a(_888);});_88b();},_88c,_88d=function(m){if(_88c[m.mid]||/loadInit\!/.test(m.mid)){return true;}_88c[m.mid]=1;if(m.injected!==_88e&&!m.executed){return false;}for(var deps=m.deps||[],i=0;i<deps.length;i++){if(!_88d(deps[i])){return false;}}return true;},_88b=function(){_88c={};_884=_87f.filter(_884,function(_88f){return !_88d(_88f);});if(!_884.length){_891.holdIdle();var _890=_883;_883=[];_87f.forEach(_890,function(cb){cb(1);});_891.releaseIdle();}},_892=function(mid,_893,_894){_893([mid],function(_895){_893(_895.names,function(){for(var _896="",args=[],i=0;i<arguments.length;i++){_896+="var "+_895.names[i]+"= arguments["+i+"]; ";args.push(arguments[i]);}eval(_896);var _897=_893.module,deps=[],hold={},_898=[],p,_899={provide:function(_89a){_89a=_881(_89a);var _89b=_889(_89a,_897);if(_89b!==_897){_8c0(_89b);}},require:function(_89c,_89d){_89c=_881(_89c);_89d&&(_889(_89c,_897).result=_8ba);_898.push(_89c);},requireLocalization:function(_89e,_89f,_8a0){deps.length||(deps=["dojo/i18n"]);_8a0=(_8a0||dojo.locale).toLowerCase();_89e=_881(_89e)+"/nls/"+(/root/i.test(_8a0)?"":_8a0+"/")+_881(_89f);if(_889(_89e,_897).isXd){deps.push("dojo/i18n!"+_89e);}},loadInit:function(f){f();}};try{for(p in _899){hold[p]=dojo[p];dojo[p]=_899[p];}_895.def.apply(null,args);}catch(e){_8c1("error",[_880("failedDojoLoadInit"),e]);}finally{for(p in _899){dojo[p]=hold[p];}}_898.length&&deps.push("dojo/require!"+_898.join(","));_883.push(_894);_87f.forEach(_898,function(mid){var _8a1=_889(mid,_893.module);_884.push(_8a1);_88a(_8a1);});_88b();});});},_8a2=function(text,_8a3,_8a4){var _8a5=/\(|\)/g,_8a6=1,_8a7;_8a5.lastIndex=_8a3;while((_8a7=_8a5.exec(text))){if(_8a7[0]==")"){_8a6-=1;}else{_8a6+=1;}if(_8a6==0){break;}}if(_8a6!=0){throw "unmatched paren around character "+_8a5.lastIndex+" in: "+text;}return [dojo.trim(text.substring(_8a4,_8a5.lastIndex))+";\n",_8a5.lastIndex];},_8a8=/(\/\*([\s\S]*?)\*\/|\/\/(.*)$)/mg,_8a9=/(^|\s)dojo\.(loadInit|require|provide|requireLocalization|requireIf|requireAfterIf|platformRequire)\s*\(/mg,_8aa=/(^|\s)(require|define)\s*\(/m,_8ab=function(text,_8ac){var _8ad,_8ae,_8af,_8b0,_8b1=[],_8b2=[],_8b3=[];_8ac=_8ac||text.replace(_8a8,function(_8b4){_8a9.lastIndex=_8aa.lastIndex=0;return (_8a9.test(_8b4)||_8aa.test(_8b4))?"":_8b4;});while((_8ad=_8a9.exec(_8ac))){_8ae=_8a9.lastIndex;_8af=_8ae-_8ad[0].length;_8b0=_8a2(_8ac,_8ae,_8af);if(_8ad[2]=="loadInit"){_8b1.push(_8b0[0]);}else{_8b2.push(_8b0[0]);}_8a9.lastIndex=_8b0[1];}_8b3=_8b1.concat(_8b2);if(_8b3.length||!_8aa.test(_8ac)){return [text.replace(/(^|\s)dojo\.loadInit\s*\(/g,"\n0 && dojo.loadInit("),_8b3.join(""),_8b3];}else{return 0;}},_8b5=function(_8b6,text){var _8b7,id,_8b8=[],_8b9=[];if(_882.test(text)||!(_8b7=_8ab(text))){return 0;}id=_8b6.mid+"-*loadInit";for(var p in _889("dojo",_8b6).result.scopeMap){_8b8.push(p);_8b9.push("\""+p+"\"");}return "// xdomain rewrite of "+_8b6.path+"\n"+"define('"+id+"',{\n"+"\tnames:"+dojo.toJson(_8b8)+",\n"+"\tdef:function("+_8b8.join(",")+"){"+_8b7[1]+"}"+"});\n\n"+"define("+dojo.toJson(_8b8.concat(["dojo/loadInit!"+id]))+", function("+_8b8.join(",")+"){\n"+_8b7[0]+"});";},_891=_87d.initSyncLoader(_885,_88b,_8b5),sync=_891.sync,xd=_891.xd,_88e=_891.arrived,_8ba=_891.nonmodule,_8bb=_891.executing,_8bc=_891.executed,_8bd=_891.syncExecStack,_8be=_891.modules,_8bf=_891.execQ,_889=_891.getModule,_88a=_891.injectModule,_8c0=_891.setArrived,_8c1=_891.signal,_8c2=_891.finishExec,_8c3=_891.execModule,_8c4=_891.getLegacyMode;dojo.provide=function(mid){var _8c5=_8bd[0],_8c6=lang.mixin(_889(_881(mid),_87d.module),{executed:_8bb,result:lang.getObject(mid,true)});_8c0(_8c6);if(_8c5){(_8c5.provides||(_8c5.provides=[])).push(function(){_8c6.result=lang.getObject(mid);delete _8c6.provides;_8c6.executed!==_8bc&&_8c2(_8c6);});}return _8c6.result;};has.add("config-publishRequireResult",1,0,0);dojo.require=function(_8c7,_8c8){function _8c9(mid,_8ca){var _8cb=_889(_881(mid),_87d.module);if(_8bd.length&&_8bd[0].finish){_8bd[0].finish.push(mid);return undefined;}if(_8cb.executed){return _8cb.result;}_8ca&&(_8cb.result=_8ba);var _8cc=_8c4();_88a(_8cb);_8cc=_8c4();if(_8cb.executed!==_8bc&&_8cb.injected===_88e){_891.holdIdle();_8c3(_8cb);_891.releaseIdle();}if(_8cb.executed){return _8cb.result;}if(_8cc==sync){if(_8cb.cjs){_8bf.unshift(_8cb);}else{_8bd.length&&(_8bd[0].finish=[mid]);}}else{_8bf.push(_8cb);}return undefined;};var _8cd=_8c9(_8c7,_8c8);if(has("config-publishRequireResult")&&!lang.exists(_8c7)&&_8cd!==undefined){lang.setObject(_8c7,_8cd);}return _8cd;};dojo.loadInit=function(f){f();};dojo.registerModulePath=function(_8ce,_8cf){var _8d0={};_8d0[_8ce.replace(/\./g,"/")]=_8cf;_87d({paths:_8d0});};dojo.platformRequire=function(_8d1){var _8d2=(_8d1.common||[]).concat(_8d1[dojo._name]||_8d1["default"]||[]),temp;while(_8d2.length){if(lang.isArray(temp=_8d2.shift())){dojo.require.apply(dojo,temp);}else{dojo.require(temp);}}};dojo.requireIf=dojo.requireAfterIf=function(_8d3,_8d4,_8d5){if(_8d3){dojo.require(_8d4,_8d5);}};dojo.requireLocalization=function(_8d6,_8d7,_8d8){_87d(["../i18n"],function(i18n){i18n.getLocalization(_8d6,_8d7,_8d8);});};return {extractLegacyApiApplications:_8ab,require:_891.dojoRequirePlugin,loadInit:_892};});}}});(function(){var _8d9=this.require;_8d9({cache:{}});!_8d9.async&&_8d9(["dojo"]);_8d9.boot&&_8d9.apply(null,_8d9.boot);})();