{"size": 159460, "ext": "js", "max_stars_repo_path": "files/dojo/1.9.1/dojo.js", "max_stars_repo_name": "isaackwan/jsdelivr", "max_stars_repo_stars_event_min_datetime": "2015-02-20T16:11:30.000Z", "max_stars_repo_stars_event_max_datetime": "2017-05-15T11:50:44.000Z", "max_issues_repo_path": "files/dojo/1.9.1/dojo.js", "max_issues_repo_name": "isaackwan/jsdelivr", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "files/dojo/1.9.1/dojo.js", "max_forks_repo_name": "isaackwan/jsdelivr", "max_forks_repo_forks_event_min_datetime": "2015-01-23T17:09:43.000Z", "max_forks_repo_forks_event_max_datetime": "2021-09-22T11:48:20.000Z"}
{"max_stars_count": 5, "max_issues_count": null, "max_forks_count": 5, "avg_line_length": 10630.6666666667, "max_line_length": 159087, "alphanum_fraction": 0.7118274175}
/*
	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;_a[i];){_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);};0&&has.add("host-node",_1.has&&"host-node" in _1.has?_1.has["host-node"]:(typeof process=="object"&&process.versions&&process.versions.node&&process.versions.v8));if(0){require("./_base/configNode.js").config(_2);_2.loaderPatch.nodeRequire=require;}0&&has.add("host-rhino",_1.has&&"host-rhino" in _1.has?_1.has["host-rhino"]:(typeof load=="function"&&(typeof Packages=="function"||typeof Packages=="object")));if(0){for(var _1e=_1.baseUrl||".",arg,_1f=this.arguments,i=0;i<_1f.length;){arg=(_1f[i++]+"").split("=");if(arg[0]=="baseUrl"){_1e=arg[1];break;}}load(_1e+"/_base/configRhino.js");rhinoDojoConfig(_2,_1e,_1f);}for(var p in _1.has){has.add(p,_1.has[p],0,1);}var _20=1,_21=2,_22=3,_23=4,_24=5;if(0){_20="requested";_21="arrived";_22="not-a-module";_23="executing";_24="executed";}var _25=0,_26="sync",xd="xd",_27=[],_28=0,_29=_3,_2a=_3,_2b;if(1){req.isXdUrl=_3;req.initSyncLoader=function(_2c,_2d,_2e){if(!_28){_28=_2c;_29=_2d;_2a=_2e;}return {sync:_26,requested:_20,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;},guardCheckComplete:_37};};if(1){var _38=location.protocol,_39=location.host;req.isXdUrl=function(url){if(/^\./.test(url)){return false;}if(/^\/\//.test(url)){return true;}var _3a=url.match(/^([^\/\:]+\:)\/+([^\/]+)/);return _3a&&(_3a[1]!=_38||(_39&&_3a[2]!=_39));};1||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 _3b=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],_3c,i=0;i<3;){try{_3c=_3b[i++];if(new ActiveXObject(_3c)){break;}}catch(e){}}_2b=function(){return new ActiveXObject(_3c);};}req.getXhr=_2b;has.add("dojo-gettext-api",1);req.getText=function(url,_3d,_3e){var xhr=_2b();xhr.open("GET",_3f(url),false);xhr.send(null);if(xhr.status==200||(!location.host&&!xhr.status)){if(_3e){_3e(xhr.responseText,_3d);}}else{throw _f("xhrFailed",xhr.status);}return xhr.responseText;};}}else{req.async=1;}var _40=new Function("return eval(arguments[0]);");req.eval=function(_41,_42){return _40(_41+"\r\n////@ sourceURL="+_42);};var _43={},_44="error",_34=req.signal=function(_45,_46){var _47=_43[_45];_9(_47&&_47.slice(0),function(_48){_48.apply(null,_8(_46)?_46:[_46]);});},on=req.on=function(_49,_4a){var _4b=_43[_49]||(_43[_49]=[]);_4b.push(_4a);return {remove:function(){for(var i=0;i<_4b.length;i++){if(_4b[i]===_4a){_4b.splice(i,1);return;}}}};};var _4c=[],_4d={},_4e=[],_4f={},map=req.map={},_50=[],_2f={},_51="",_52={},_53="url:",_54={},_55={},_56=0;if(1){var _57=function(_58){var p,_59,_5a,now,m;for(p in _54){_59=_54[p];_5a=p.match(/^url\:(.+)/);if(_5a){_52[_53+_5b(_5a[1],_58)]=_59;}else{if(p=="*now"){now=_59;}else{if(p!="*noref"){m=_5c(p,_58);_52[m.mid]=_52[_53+m.url]=_59;}}}}if(now){now(_5d(_58));}_54={};},_5e=function(s){return s.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(c){return "\\"+c;});},_5f=function(map,_60){_60.splice(0,_60.length);for(var p in map){_60.push([p,map[p],new RegExp("^"+_5e(p)+"(/|$)"),p.length]);}_60.sort(function(lhs,rhs){return rhs[3]-lhs[3];});return _60;},_61=function(_62,_63){_9(_62,function(_64){_63.push([_7(_64[0])?new RegExp("^"+_5e(_64[0])+"$"):_64[0],_64[1]]);});},_65=function(_66){var _67=_66.name;if(!_67){_67=_66;_66={name:_67};}_66=_c({main:"main"},_66);_66.location=_66.location?_66.location:_67;if(_66.packageMap){map[_67]=_66.packageMap;}if(!_66.main.indexOf("./")){_66.main=_66.main.substring(2);}_4f[_67]=_66;},_68=[],_69=function(_6a,_6b,_6c){for(var p in _6a){if(p=="waitSeconds"){req.waitms=(_6a[p]||0)*1000;}if(p=="cacheBust"){_51=_6a[p]?(_7(_6a[p])?_6a[p]:(new Date()).getTime()+""):"";}if(p=="baseUrl"||p=="combo"){req[p]=_6a[p];}if(1&&p=="async"){var _6d=_6a[p];req.legacyMode=_25=(_7(_6d)&&/sync|legacyAsync/.test(_6d)?_6d:(!_6d?_26:false));req.async=!_25;}if(_6a[p]!==_1a){req.rawConfig[p]=_6a[p];p!="has"&&has.add("config-"+p,_6a[p],0,_6b);}}if(!req.baseUrl){req.baseUrl="./";}if(!/\/$/.test(req.baseUrl)){req.baseUrl+="/";}for(p in _6a.has){has.add(p,_6a.has[p],0,_6b);}_9(_6a.packages,_65);for(_1e in _6a.packagePaths){_9(_6a.packagePaths[_1e],function(_6e){var _6f=_1e+"/"+_6e;if(_7(_6e)){_6e={name:_6e};}_6e.location=_6f;_65(_6e);});}_5f(_c(map,_6a.map),_50);_9(_50,function(_70){_70[1]=_5f(_70[1],[]);if(_70[0]=="*"){_50.star=_70;}});_5f(_c(_4d,_6a.paths),_4e);_61(_6a.aliases,_4c);if(_6b){_68.push({config:_6a.config});}else{for(p in _6a.config){var _71=_31(p,_6c);_71.config=_c(_71.config||{},_6a.config[p]);}}if(_6a.cache){_57();_54=_6a.cache;if(_6a.cache["*noref"]){_57();}}_34("config",[_6a,req.rawConfig]);};if(has("dojo-cdn")||1){var _72=doc.getElementsByTagName("script"),i=0,_73,_74,src,_75;while(i<_72.length){_73=_72[i++];if((src=_73.getAttribute("src"))&&(_75=src.match(/(((.*)\/)|^)dojo\.js(\W|$)/i))){_74=_75[3]||"";_2.baseUrl=_2.baseUrl||_74;_56=_73;}if((src=(_73.getAttribute("data-dojo-config")||_73.getAttribute("djConfig")))){_55=req.eval("({ "+src+" })","data-dojo-config");_56=_73;}if(0){if((src=_73.getAttribute("data-main"))){_55.deps=_55.deps||[src];}}}}if(0){try{if(window.parent!=window&&window.parent.require){var doh=window.parent.require("doh");doh&&_c(_55,doh.testConfig);}}catch(e){}}req.rawConfig={};_69(_2,1);if(has("dojo-cdn")){_4f.dojo.location=_74;if(_74){_74+="/";}_4f.dijit.location=_74+"../dijit/";_4f.dojox.location=_74+"../dojox/";}_69(_1,1);_69(_55,1);}else{_4d=_2.paths;_4e=_2.pathsMapProg;_4f=_2.packs;_4c=_2.aliases;_50=_2.mapProgs;_2f=_2.modules;_52=_2.cache;_51=_2.cacheBust;req.rawConfig=_2;}if(0){req.combo=req.combo||{add:_3};var _76=0,_77=[],_78=null;}var _79=function(_7a){_37(function(){_9(_7a.deps,_32);if(0&&_76&&!_78){_78=setTimeout(function(){_76=0;_78=null;req.combo.done(function(_7b,url){var _7c=function(){_7d(0,_7b);_7e();};_77.push(_7b);_7f=_7b;req.injectUrl(url,_7c,_7b);_7f=0;},req);},0);}});},_16=function(a1,a2,a3,_80,_81){var _82,_83;if(_7(a1)){_82=_31(a1,_80,true);if(_82&&_82.executed){return _82.result;}throw _f("undefinedModule",a1);}if(!_8(a1)){_69(a1,0,_80);a1=a2;a2=a3;}if(_8(a1)){if(!a1.length){a2&&a2();}else{_83="require*"+uid();for(var mid,_84=[],i=0;i<a1.length;){mid=a1[i++];_84.push(_31(mid,_80));}_82=_c(_85("",_83,0,""),{injected:_21,deps:_84,def:a2||_3,require:_80?_80.require:req,gc:1});_2f[_82.mid]=_82;_79(_82);var _86=_87&&_25!=_26;_37(function(){_36(_82,_86);});if(!_82.executed){_30.push(_82);}_7e();}}return _81;},_5d=function(_88){if(!_88){return req;}var _89=_88.require;if(!_89){_89=function(a1,a2,a3){return _16(a1,a2,a3,_88,_89);};_88.require=_c(_89,req);_89.module=_88;_89.toUrl=function(_8a){return _5b(_8a,_88);};_89.toAbsMid=function(mid){return _b7(mid,_88);};if(0){_89.undef=function(mid){req.undef(mid,_88);};}if(1){_89.syncLoadNls=function(mid){var _8b=_5c(mid,_88),_8c=_2f[_8b.mid];if(!_8c||!_8c.executed){_8d=_52[_8b.mid]||_52[_53+_8b.url];if(_8d){_8e(_8d);_8c=_2f[_8b.mid];}}return _8c&&_8c.executed&&_8c.result;};}}return _89;},_30=[],_8f=[],_90={},_91=function(_92){_92.injected=_20;_90[_92.mid]=1;if(_92.url){_90[_92.url]=_92.pack||1;}_93();},_33=function(_94){_94.injected=_21;delete _90[_94.mid];if(_94.url){delete _90[_94.url];}if(_4(_90)){_95();1&&_25==xd&&(_25=_26);}},_96=req.idle=function(){return !_8f.length&&_4(_90)&&!_30.length&&!_87;},_97=function(_98,map){if(map){for(var i=0;i<map.length;i++){if(map[i][2].test(_98)){return map[i];}}}return 0;},_99=function(_9a){var _9b=[],_9c,_9d;_9a=_9a.replace(/\\/g,"/").split("/");while(_9a.length){_9c=_9a.shift();if(_9c==".."&&_9b.length&&_9d!=".."){_9b.pop();_9d=_9b[_9b.length-1];}else{if(_9c!="."){_9b.push(_9d=_9c);}}}return _9b.join("/");},_85=function(pid,mid,_9e,url){if(1){var xd=req.isXdUrl(url);return {pid:pid,mid:mid,pack:_9e,url:url,executed:0,def:0,isXd:xd,isAmd:!!(xd||(_4f[pid]&&_4f[pid].isAmd))};}else{return {pid:pid,mid:mid,pack:_9e,url:url,executed:0,def:0};}},_9f=function(mid,_a0,_a1,_a2,_a3,_a4,_a5,_a6,_a7){var pid,_a8,_a9,_aa,url,_ab,_ac,_ad;_ad=mid;_ac=/^\./.test(mid);if(/(^\/)|(\:)|(\.js$)/.test(mid)||(_ac&&!_a0)){return _85(0,mid,0,mid);}else{mid=_99(_ac?(_a0.mid+"/../"+mid):mid);if(/^\./.test(mid)){throw _f("irrationalPath",mid);}if(_a0){_aa=_97(_a0.mid,_a4);}_aa=_aa||_a4.star;_aa=_aa&&_97(mid,_aa[1]);if(_aa){mid=_aa[1]+mid.substring(_aa[3]);}_75=mid.match(/^([^\/]+)(\/(.+))?$/);pid=_75?_75[1]:"";if((_a8=_a1[pid])){mid=pid+"/"+(_a9=(_75[3]||_a8.main));}else{pid="";}var _ae=0,_af=0;_9(_a6,function(_b0){var _b1=mid.match(_b0[0]);if(_b1&&_b1.length>_ae){_af=_6(_b0[1])?mid.replace(_b0[0],_b0[1]):_b0[1];}});if(_af){return _9f(_af,0,_a1,_a2,_a3,_a4,_a5,_a6,_a7);}_ab=_a2[mid];if(_ab){return _a7?_85(_ab.pid,_ab.mid,_ab.pack,_ab.url):_a2[mid];}}_aa=_97(mid,_a5);if(_aa){url=_aa[1]+mid.substring(_aa[3]);}else{if(pid){url=_a8.location+"/"+_a9;}else{if(has("config-tlmSiblingOfDojo")){url="../"+mid;}else{url=mid;}}}if(!(/(^\/)|(\:)/.test(url))){url=_a3+url;}url+=".js";return _85(pid,mid,_a8,_99(url));},_5c=function(mid,_b2){return _9f(mid,_b2,_4f,_2f,req.baseUrl,_50,_4e,_4c);},_b3=function(_b4,_b5,_b6){return _b4.normalize?_b4.normalize(_b5,function(mid){return _b7(mid,_b6);}):_b7(_b5,_b6);},_b8=0,_31=function(mid,_b9,_ba){var _bb,_bc,_bd,_be;_bb=mid.match(/^(.+?)\!(.*)$/);if(_bb){_bc=_31(_bb[1],_b9,_ba);if(1&&_25==_26&&!_bc.executed){_32(_bc);if(_bc.injected===_21&&!_bc.executed){_37(function(){_36(_bc);});}if(_bc.executed){_bf(_bc);}else{_30.unshift(_bc);}}if(_bc.executed===_24&&!_bc.load){_bf(_bc);}if(_bc.load){_bd=_b3(_bc,_bb[2],_b9);mid=(_bc.mid+"!"+(_bc.dynamic?++_b8+"!":"")+_bd);}else{_bd=_bb[2];mid=_bc.mid+"!"+(++_b8)+"!waitingForPlugin";}_be={plugin:_bc,mid:mid,req:_5d(_b9),prid:_bd};}else{_be=_5c(mid,_b9);}return _2f[_be.mid]||(!_ba&&(_2f[_be.mid]=_be));},_b7=req.toAbsMid=function(mid,_c0){return _5c(mid,_c0).mid;},_5b=req.toUrl=function(_c1,_c2){var _c3=_5c(_c1+"/x",_c2),url=_c3.url;return _3f(_c3.pid===0?_c1:url.substring(0,url.length-5));},_c4={injected:_21,executed:_24,def:_22,result:_22},_c5=function(mid){return _2f[mid]=_c({mid:mid},_c4);},_c6=_c5("require"),_c7=_c5("exports"),_c8=_c5("module"),_c9=function(_ca,_cb){req.trace("loader-run-factory",[_ca.mid]);var _cc=_ca.def,_cd;1&&_27.unshift(_ca);if(has("config-dojo-loader-catches")){try{_cd=_6(_cc)?_cc.apply(null,_cb):_cc;}catch(e){_34(_44,_ca.result=_f("factoryThrew",[_ca,e]));}}else{_cd=_6(_cc)?_cc.apply(null,_cb):_cc;}_ca.result=_cd===undefined&&_ca.cjs?_ca.cjs.exports:_cd;1&&_27.shift(_ca);},_ce={},_cf=0,_bf=function(_d0){var _d1=_d0.result;_d0.dynamic=_d1.dynamic;_d0.normalize=_d1.normalize;_d0.load=_d1.load;return _d0;},_d2=function(_d3){var map={};_9(_d3.loadQ,function(_d4){var _d5=_b3(_d3,_d4.prid,_d4.req.module),mid=_d3.dynamic?_d4.mid.replace(/waitingForPlugin$/,_d5):(_d3.mid+"!"+_d5),_d6=_c(_c({},_d4),{mid:mid,prid:_d5,injected:0});if(!_2f[mid]){_e8(_2f[mid]=_d6);}map[_d4.mid]=_2f[mid];_33(_d4);delete _2f[_d4.mid];});_d3.loadQ=0;var _d7=function(_d8){for(var _d9,_da=_d8.deps||[],i=0;i<_da.length;i++){_d9=map[_da[i].mid];if(_d9){_da[i]=_d9;}}};for(var p in _2f){_d7(_2f[p]);}_9(_30,_d7);},_35=function(_db){req.trace("loader-finish-exec",[_db.mid]);_db.executed=_24;_db.defOrder=_cf++;1&&_9(_db.provides,function(cb){cb();});if(_db.loadQ){_bf(_db);_d2(_db);}for(i=0;i<_30.length;){if(_30[i]===_db){_30.splice(i,1);}else{i++;}}if(/^require\*/.test(_db.mid)){delete _2f[_db.mid];}},_dc=[],_36=function(_dd,_de){if(_dd.executed===_23){req.trace("loader-circular-dependency",[_dc.concat(_dd.mid).join("->")]);return (!_dd.def||_de)?_ce:(_dd.cjs&&_dd.cjs.exports);}if(!_dd.executed){if(!_dd.def){return _ce;}var mid=_dd.mid,_df=_dd.deps||[],arg,_e0,_e1=[],i=0;if(0){_dc.push(mid);req.trace("loader-exec-module",["exec",_dc.length,mid]);}_dd.executed=_23;while((arg=_df[i++])){_e0=((arg===_c6)?_5d(_dd):((arg===_c7)?_dd.cjs.exports:((arg===_c8)?_dd.cjs:_36(arg,_de))));if(_e0===_ce){_dd.executed=0;req.trace("loader-exec-module",["abort",mid]);0&&_dc.pop();return _ce;}_e1.push(_e0);}_c9(_dd,_e1);_35(_dd);0&&_dc.pop();}return _dd.result;},_87=0,_37=function(_e2){try{_87++;_e2();}finally{_87--;}if(_96()){_34("idle",[]);}},_7e=function(){if(_87){return;}_37(function(){_29();for(var _e3,_e4,i=0;i<_30.length;){_e3=_cf;_e4=_30[i];_36(_e4);if(_e3!=_cf){_29();i=0;}else{i++;}}});};if(0){req.undef=function(_e5,_e6){var _e7=_31(_e5,_e6);_33(_e7);_c(_e7,{def:0,executed:0,injected:0,node:0});};}if(1){if(has("dojo-loader-eval-hint-url")===undefined){has.add("dojo-loader-eval-hint-url",1);}var _3f=function(url){url+="";return url+(_51?((/\?/.test(url)?"&":"?")+_51):"");},_e8=function(_e9){var _ea=_e9.plugin;if(_ea.executed===_24&&!_ea.load){_bf(_ea);}var _eb=function(def){_e9.result=def;_33(_e9);_35(_e9);_7e();};if(_ea.load){_ea.load(_e9.prid,_e9.req,_eb);}else{if(_ea.loadQ){_ea.loadQ.push(_e9);}else{_ea.loadQ=[_e9];_30.unshift(_ea);_32(_ea);}}},_8d=0,_7f=0,_ec=0,_8e=function(_ed,_ee){if(has("config-stripStrict")){_ed=_ed.replace(/"use strict"/g,"");}_ec=1;if(has("config-dojo-loader-catches")){try{if(_ed===_8d){_8d.call(null);}else{req.eval(_ed,has("dojo-loader-eval-hint-url")?_ee.url:_ee.mid);}}catch(e){_34(_44,_f("evalModuleThrew",_ee));}}else{if(_ed===_8d){_8d.call(null);}else{req.eval(_ed,has("dojo-loader-eval-hint-url")?_ee.url:_ee.mid);}}_ec=0;},_32=function(_ef){var mid=_ef.mid,url=_ef.url;if(_ef.executed||_ef.injected||_90[mid]||(_ef.url&&((_ef.pack&&_90[_ef.url]===_ef.pack)||_90[_ef.url]==1))){return;}_91(_ef);if(0){var _f0=0;if(_ef.plugin&&_ef.plugin.isCombo){req.combo.add(_ef.plugin.mid,_ef.prid,0,req);_f0=1;}else{if(!_ef.plugin){_f0=req.combo.add(0,_ef.mid,_ef.url,req);}}if(_f0){_76=1;return;}}if(_ef.plugin){_e8(_ef);return;}var _f1=function(){_7d(_ef);if(_ef.injected!==_21){if(has("dojo-enforceDefine")){_34(_44,_f("noDefine",_ef));return;}_33(_ef);_c(_ef,_c4);req.trace("loader-define-nonmodule",[_ef.url]);}if(1&&_25){!_27.length&&_7e();}else{_7e();}};_8d=_52[mid]||_52[_53+_ef.url];if(_8d){req.trace("loader-inject",["cache",_ef.mid,url]);_8e(_8d,_ef);_f1();return;}if(1&&_25){if(_ef.isXd){_25==_26&&(_25=xd);}else{if(_ef.isAmd&&_25!=_26){}else{var _f2=function(_f3){if(_25==_26){_27.unshift(_ef);_8e(_f3,_ef);_27.shift();_7d(_ef);if(!_ef.cjs){_33(_ef);_35(_ef);}if(_ef.finish){var _f4=mid+"*finish",_f5=_ef.finish;delete _ef.finish;def(_f4,["dojo",("dojo/require!"+_f5.join(",")).replace(/\./g,"/")],function(_f6){_9(_f5,function(mid){_f6.require(mid);});});_30.unshift(_31(_f4));}_f1();}else{_f3=_2a(_ef,_f3);if(_f3){_8e(_f3,_ef);_f1();}else{_7f=_ef;req.injectUrl(_3f(url),_f1,_ef);_7f=0;}}};req.trace("loader-inject",["xhr",_ef.mid,url,_25!=_26]);if(has("config-dojo-loader-catches")){try{req.getText(url,_25!=_26,_f2);}catch(e){_34(_44,_f("xhrInjectFailed",[_ef,e]));}}else{req.getText(url,_25!=_26,_f2);}return;}}}req.trace("loader-inject",["script",_ef.mid,url]);_7f=_ef;req.injectUrl(_3f(url),_f1,_ef);_7f=0;},_f7=function(_f8,_f9,def){req.trace("loader-define-module",[_f8.mid,_f9]);if(0&&_f8.plugin&&_f8.plugin.isCombo){_f8.result=_6(def)?def():def;_33(_f8);_35(_f8);return _f8;}var mid=_f8.mid;if(_f8.injected===_21){_34(_44,_f("multipleDefine",_f8));return _f8;}_c(_f8,{deps:_f9,def:def,cjs:{id:_f8.mid,uri:_f8.url,exports:(_f8.result={}),setExports:function(_fa){_f8.cjs.exports=_fa;},config:function(){return _f8.config;}}});for(var i=0;_f9[i];i++){_f9[i]=_31(_f9[i],_f8);}if(1&&_25&&!_90[mid]){_79(_f8);_30.push(_f8);_7e();}_33(_f8);if(!_6(def)&&!_f9.length){_f8.result=def;_35(_f8);}return _f8;},_7d=function(_fb,_fc){var _fd=[],_fe,_ff;while(_8f.length){_ff=_8f.shift();_fc&&(_ff[0]=_fc.shift());_fe=(_ff[0]&&_31(_ff[0]))||_fb;_fd.push([_fe,_ff[1],_ff[2]]);}_57(_fb);_9(_fd,function(args){_79(_f7.apply(null,args));});};}var _100=0,_95=_3,_93=_3;if(1){_95=function(){_100&&clearTimeout(_100);_100=0;};_93=function(){_95();if(req.waitms){_100=window.setTimeout(function(){_95();_34(_44,_f("timeout",_90));},req.waitms);}};}if(1){has.add("ie-event-behavior",doc.attachEvent&&typeof Windows==="undefined"&&(typeof opera==="undefined"||opera.toString()!="[object Opera]"));}if(1&&(1||1)){var _101=function(node,_102,_103,_104){if(!has("ie-event-behavior")){node.addEventListener(_102,_104,false);return function(){node.removeEventListener(_102,_104,false);};}else{node.attachEvent(_103,_104);return function(){node.detachEvent(_103,_104);};}},_105=_101(window,"load","onload",function(){req.pageLoaded=1;doc.readyState!="complete"&&(doc.readyState="complete");_105();});if(1){var _72=doc.getElementsByTagName("script"),i=0,_73;while(!_56){if(!/^dojo/.test((_73=_72[i++])&&_73.type)){_56=_73;}}req.injectUrl=function(url,_106,_107){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();_10a();_106&&_106();}},_109=_101(node,"load","onreadystatechange",_108),_10a=_101(node,"error","onerror",function(e){_109();_10a();_34(_44,_f("scriptError",[url,e]));});node.type="text/javascript";node.charset="utf-8";node.src=url;_56.parentNode.insertBefore(node,_56);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 _10b=req.trace=function(_10c,args){if(_10b.on&&_10b.group[_10c]){_34("trace",[_10c,args]);for(var arg,dump=[],text="trace:"+_10c+(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(_10b,{on:1,group:{},set:function(_10d,_10e){if(_7(_10d)){_10b.group[_10d]=_10e;}else{_c(_10b.group,_10d);}}});_10b.set(_c(_c(_c({},_2.trace),_1.trace),_55.trace));on("config",function(_10f){_10f.trace&&_10b.set(_10f.trace);});}else{req.trace=_3;}var def=function(mid,_110,_111){var _112=arguments.length,_113=["require","exports","module"],args=[0,mid,_110];if(_112==1){args=[0,(_6(mid)?_113:[]),mid];}else{if(_112==2&&_7(mid)){args=[mid,(_6(_110)?_113:[]),_110];}else{if(_112==3){args=[mid,_110,_111];}}}if(0&&args[1]===_113){args[2].toString().replace(/(\/\*([\s\S]*?)\*\/|\/\/(.*)$)/mg,"").replace(/require\(["']([\w\!\-_\.\/]+)["']\)/g,function(_114,dep){args[1].push(dep);});}req.trace("loader-define",args.slice(0,2));var _115=args[0]&&_31(args[0]),_116;if(_115&&!_90[_115.mid]){_79(_f7(_115,args[1],args[2]));}else{if(!has("ie-event-behavior")||!1||_ec){_8f.push(args);}else{_115=_115||_7f;if(!_115){for(mid in _90){_116=_2f[mid];if(_116&&_116.node&&_116.node.readyState==="interactive"){_115=_116;break;}}if(0&&!_115){for(var i=0;i<_77.length;i++){_115=_77[i];if(_115.node&&_115.node.readyState==="interactive"){break;}_115=0;}}}if(0&&_8(_115)){_79(_f7(_31(_115.shift()),args[1],args[2]));if(!_115.length){_77.splice(i,1);}}else{if(_115){_57(_115);_79(_f7(_115,args[1],args[2]));}else{_34(_44,_f("ieDefineFailed",args[0]));}}_7e();}}};def.amd={vendor:"dojotoolkit.org"};if(0){req.def=def;}_c(_c(req,_2.loaderPatch),_1.loaderPatch);on(_44,function(arg){try{console.error(arg);if(arg instanceof Error){for(var p in arg){}}}catch(e){}});_c(req,{uid:uid,cache:_52,packs:_4f});if(0){_c(req,{paths:_4d,aliases:_4c,modules:_2f,legacyMode:_25,execQ:_30,defQ:_8f,waiting:_90,packs:_4f,mapProgs:_50,pathsMapProg:_4e,listenerQueues:_43,computeMapProg:_5f,computeAliases:_61,runMapProg:_97,compactPath:_99,getModuleInfo:_9f});}if(_17.define){if(1){_34(_44,_f("defineAlreadyDefined",0));}return;}else{_17.define=def;_17.require=req;if(0){require=req;}}if(0&&req.combo&&req.combo.plugins){var _117=req.combo.plugins,_118;for(_118 in _117){_c(_c(_31(_118),_117[_118]),{isCombo:1,executed:"executed",load:1});}}if(1){_9(_68,function(c){_69(c);});var _119=_55.deps||_1.deps||_2.deps,_11a=_55.callback||_1.callback||_2.callback;req.boot=(_119||_11a)?[_119||[],_11a]: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:".",name:"dojo"}]});require({cache:{"dojo/request/default":function(){define(["exports","require","../has"],function(_11b,_11c,has){var _11d=has("config-requestProvider"),_11e;if(1){_11e="./xhr";}else{if(0){_11e="./node";}}if(!_11d){_11d=_11e;}_11b.getPlatformDefaultId=function(){return _11e;};_11b.load=function(id,_11f,_120,_121){_11c([id=="platform"?_11e:_11d],function(_122){_120(_122);});};});},"dojo/_base/fx":function(){define(["./kernel","./config","./lang","../Evented","./Color","../aspect","../sniff","../dom","../dom-style"],function(dojo,_123,lang,_124,_125,_126,has,dom,_127){var _128=lang.mixin;var _129={};var _12a=_129._Line=function(_12b,end){this.start=_12b;this.end=end;};_12a.prototype.getValue=function(n){return ((this.end-this.start)*n)+this.start;};var _12c=_129.Animation=function(args){_128(this,args);if(lang.isArray(this.curve)){this.curve=new _12a(this.curve[0],this.curve[1]);}};_12c.prototype=new _124();lang.extend(_12c,{duration:350,repeat:0,rate:20,_percent:0,_startRepeatCount:0,_getStep:function(){var _12d=this._percent,_12e=this.easing;return _12e?_12e(_12d):_12d;},_fire:function(evt,args){var a=args||[];if(this[evt]){if(_123.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(_12f,_130){var _131=this;if(_131._delayTimer){_131._clearTimer();}if(_130){_131._stopTimer();_131._active=_131._paused=false;_131._percent=0;}else{if(_131._active&&!_131._paused){return _131;}}_131._fire("beforeBegin",[_131.node]);var de=_12f||_131.delay,_132=lang.hitch(_131,"_play",_130);if(de>0){_131._delayTimer=setTimeout(_132,de);return _131;}_132();return _131;},_play:function(_133){var _134=this;if(_134._delayTimer){_134._clearTimer();}_134._startTime=new Date().valueOf();if(_134._paused){_134._startTime-=_134.duration*_134._percent;}_134._active=true;_134._paused=false;var _135=_134.curve.getValue(_134._getStep());if(!_134._percent){if(!_134._startRepeatCount){_134._startRepeatCount=_134.repeat;}_134._fire("onBegin",[_135]);}_134._fire("onPlay",[_135]);_134._cycle();return _134;},pause:function(){var _136=this;if(_136._delayTimer){_136._clearTimer();}_136._stopTimer();if(!_136._active){return _136;}_136._paused=true;_136._fire("onPause",[_136.curve.getValue(_136._getStep())]);return _136;},gotoPercent:function(_137,_138){var _139=this;_139._stopTimer();_139._active=_139._paused=true;_139._percent=_137;if(_138){_139.play();}return _139;},stop:function(_13a){var _13b=this;if(_13b._delayTimer){_13b._clearTimer();}if(!_13b._timer){return _13b;}_13b._stopTimer();if(_13a){_13b._percent=1;}_13b._fire("onStop",[_13b.curve.getValue(_13b._getStep())]);_13b._active=_13b._paused=false;return _13b;},status:function(){if(this._active){return this._paused?"paused":"playing";}return "stopped";},_cycle:function(){var _13c=this;if(_13c._active){var curr=new Date().valueOf();var step=_13c.duration===0?1:(curr-_13c._startTime)/(_13c.duration);if(step>=1){step=1;}_13c._percent=step;if(_13c.easing){step=_13c.easing(step);}_13c._fire("onAnimate",[_13c.curve.getValue(step)]);if(_13c._percent<1){_13c._startTimer();}else{_13c._active=false;if(_13c.repeat>0){_13c.repeat--;_13c.play(null,true);}else{if(_13c.repeat==-1){_13c.play(null,true);}else{if(_13c._startRepeatCount){_13c.repeat=_13c._startRepeatCount;_13c._startRepeatCount=0;}}}_13c._percent=0;_13c._fire("onEnd",[_13c.node]);!_13c.repeat&&_13c._stopTimer();}}return _13c;},_clearTimer:function(){clearTimeout(this._delayTimer);delete this._delayTimer;}});var ctr=0,_13d=null,_13e={run:function(){}};lang.extend(_12c,{_startTimer:function(){if(!this._timer){this._timer=_126.after(_13e,"run",lang.hitch(this,"_cycle"),true);ctr++;}if(!_13d){_13d=setInterval(lang.hitch(_13e,"run"),this.rate);}},_stopTimer:function(){if(this._timer){this._timer.remove();this._timer=null;ctr--;}if(ctr<=0){clearInterval(_13d);_13d=null;ctr=0;}}});var _13f=has("ie")?function(node){var ns=node.style;if(!ns.width.length&&_127.get(node,"width")=="auto"){ns.width="auto";}}:function(){};_129._fade=function(args){args.node=dom.byId(args.node);var _140=_128({properties:{}},args),_141=(_140.properties.opacity={});_141.start=!("start" in _140)?function(){return +_127.get(_140.node,"opacity")||0;}:_140.start;_141.end=_140.end;var anim=_129.animateProperty(_140);_126.after(anim,"beforeBegin",lang.partial(_13f,_140.node),true);return anim;};_129.fadeIn=function(args){return _129._fade(_128({end:1},args));};_129.fadeOut=function(args){return _129._fade(_128({end:0},args));};_129._defaultEasing=function(n){return 0.5+((Math.sin((n+1.5)*Math.PI))/2);};var _142=function(_143){this._properties=_143;for(var p in _143){var prop=_143[p];if(prop.start instanceof _125){prop.tempColor=new _125();}}};_142.prototype.getValue=function(r){var ret={};for(var p in this._properties){var prop=this._properties[p],_144=prop.start;if(_144 instanceof _125){ret[p]=_125.blendColors(_144,prop.end,r,prop.tempColor).toCss();}else{if(!lang.isArray(_144)){ret[p]=((prop.end-_144)*r)+_144+(p!="opacity"?prop.units||"px":0);}}}return ret;};_129.animateProperty=function(args){var n=args.node=dom.byId(args.node);if(!args.easing){args.easing=dojo._defaultEasing;}var anim=new _12c(args);_126.after(anim,"beforeBegin",lang.hitch(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]=_128({},(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 _145=(p.toLowerCase().indexOf("color")>=0);function _146(node,p){var v={height:node.offsetHeight,width:node.offsetWidth}[p];if(v!==undefined){return v;}v=_127.get(node,p);return (p=="opacity")?+v:(_145?v:parseFloat(v));};if(!("end" in prop)){prop.end=_146(n,p);}else{if(!("start" in prop)){prop.start=_146(n,p);}}if(_145){prop.start=new _125(prop.start);prop.end=new _125(prop.end);}else{prop.start=(p=="opacity")?+prop.start:parseFloat(prop.start);}}this.curve=new _142(pm);}),true);_126.after(anim,"onAnimate",lang.hitch(_127,"set",anim.node),true);return anim;};_129.anim=function(node,_147,_148,_149,_14a,_14b){return _129.animateProperty({node:node,duration:_148||_12c.prototype.duration,properties:_147,easing:_149,onEnd:_14a}).play(_14b||0);};if(1){_128(dojo,_129);dojo._Animation=_12c;}return _129;});},"dojo/dom-form":function(){define(["./_base/lang","./dom","./io-query","./json"],function(lang,dom,ioq,json){function _14c(obj,name,_14d){if(_14d===null){return;}var val=obj[name];if(typeof val=="string"){obj[name]=[val,_14d];}else{if(lang.isArray(val)){val.push(_14d);}else{obj[name]=_14d;}}};var _14e="file|submit|image|reset|button";var form={fieldToObject:function fieldToObject(_14f){var ret=null;_14f=dom.byId(_14f);if(_14f){var _150=_14f.name,type=(_14f.type||"").toLowerCase();if(_150&&type&&!_14f.disabled){if(type=="radio"||type=="checkbox"){if(_14f.checked){ret=_14f.value;}}else{if(_14f.multiple){ret=[];var _151=[_14f.firstChild];while(_151.length){for(var node=_151.pop();node;node=node.nextSibling){if(node.nodeType==1&&node.tagName.toLowerCase()=="option"){if(node.selected){ret.push(node.value);}}else{if(node.nextSibling){_151.push(node.nextSibling);}if(node.firstChild){_151.push(node.firstChild);}break;}}}}else{ret=_14f.value;}}}}return ret;},toObject:function formToObject(_152){var ret={},_153=dom.byId(_152).elements;for(var i=0,l=_153.length;i<l;++i){var item=_153[i],_154=item.name,type=(item.type||"").toLowerCase();if(_154&&type&&_14e.indexOf(type)<0&&!item.disabled){_14c(ret,_154,form.fieldToObject(item));if(type=="image"){ret[_154+".x"]=ret[_154+".y"]=ret[_154].x=ret[_154].y=0;}}}return ret;},toQuery:function formToQuery(_155){return ioq.objectToQuery(form.toObject(_155));},toJson:function formToJson(_156,_157){return json.stringify(form.toObject(_156),null,_157?4:0);}};return form;});},"dojo/i18n":function(){define(["./_base/kernel","require","./has","./_base/array","./_base/config","./_base/lang","./_base/xhr","./json","module"],function(dojo,_158,has,_159,_15a,lang,xhr,json,_15b){has.add("dojo-preload-i18n-Api",1);1||has.add("dojo-v1x-i18n-Api",1);var _15c=dojo.i18n={},_15d=/(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,_15e=function(root,_15f,_160,_161){for(var _162=[_160+_161],_163=_15f.split("-"),_164="",i=0;i<_163.length;i++){_164+=(_164?"-":"")+_163[i];if(!root||root[_164]){_162.push(_160+_164+"/"+_161);_162.specificity=_164;}}return _162;},_165={},_166=function(_167,_168,_169){_169=_169?_169.toLowerCase():dojo.locale;_167=_167.replace(/\./g,"/");_168=_168.replace(/\./g,"/");return (/root/i.test(_169))?(_167+"/nls/"+_168):(_167+"/nls/"+_169+"/"+_168);},_16a=dojo.getL10nName=function(_16b,_16c,_16d){return _16b=_15b.id+"!"+_166(_16b,_16c,_16d);},_16e=function(_16f,_170,_171,_172,_173,load){_16f([_170],function(root){var _174=lang.clone(root.root),_175=_15e(!root._v1x&&root,_173,_171,_172);_16f(_175,function(){for(var i=1;i<_175.length;i++){_174=lang.mixin(lang.clone(_174),arguments[i]);}var _176=_170+"/"+_173;_165[_176]=_174;_174.$locale=_175.specificity;load();});});},_177=function(id,_178){return /^\./.test(id)?_178(id):id;},_179=function(_17a){var list=_15a.extraLocale||[];list=lang.isArray(list)?list:[list];list.push(_17a);return list;},load=function(id,_17b,load){if(has("dojo-preload-i18n-Api")){var _17c=id.split("*"),_17d=_17c[1]=="preload";if(_17d){if(!_165[id]){_165[id]=1;_17e(_17c[2],json.parse(_17c[3]),1,_17b);}load(1);}if(_17d||_17f(id,_17b,load)){return;}}var _180=_15d.exec(id),_181=_180[1]+"/",_182=_180[5]||_180[4],_183=_181+_182,_184=(_180[5]&&_180[4]),_185=_184||dojo.locale||"",_186=_183+"/"+_185,_187=_184?[_185]:_179(_185),_188=_187.length,_189=function(){if(!--_188){load(lang.delegate(_165[_186]));}};_159.forEach(_187,function(_18a){var _18b=_183+"/"+_18a;if(has("dojo-preload-i18n-Api")){_18c(_18b);}if(!_165[_18b]){_16e(_17b,_183,_181,_182,_18a,_189);}else{_189();}});};if(has("dojo-unit-tests")){var _18d=_15c.unitTests=[];}if(has("dojo-preload-i18n-Api")||1){var _18e=_15c.normalizeLocale=function(_18f){var _190=_18f?_18f.toLowerCase():dojo.locale;return _190=="root"?"ROOT":_190;},isXd=function(mid,_191){return (1&&1)?_191.isXdUrl(_158.toUrl(mid+".js")):true;},_192=0,_193=[],_17e=_15c._preloadLocalizations=function(_194,_195,_196,_197){_197=_197||_158;function _198(mid,_199){if(isXd(mid,_197)||_196){_197([mid],_199);}else{_1a3([mid],_199,_197);}};function _19a(_19b,func){var _19c=_19b.split("-");while(_19c.length){if(func(_19c.join("-"))){return;}_19c.pop();}func("ROOT");};function _19d(_19e){_19e=_18e(_19e);_19a(_19e,function(loc){if(_159.indexOf(_195,loc)>=0){var mid=_194.replace(/\./g,"/")+"_"+loc;_192++;_198(mid,function(_19f){for(var p in _19f){_165[_158.toAbsMid(p)+"/"+loc]=_19f[p];}--_192;while(!_192&&_193.length){load.apply(null,_193.shift());}});return true;}return false;});};_19d();_159.forEach(dojo.config.extraLocale,_19d);},_17f=function(id,_1a0,load){if(_192){_193.push([id,_1a0,load]);}return _192;},_18c=function(){};}if(1){var _1a1={},_1a2=new Function("__bundle","__checkForLegacyModules","__mid","__amdValue","var define = function(mid, factory){define.called = 1; __amdValue.result = factory || mid;},"+"\t   require = function(){define.called = 1;};"+"try{"+"define.called = 0;"+"eval(__bundle);"+"if(define.called==1)"+"return __amdValue;"+"if((__checkForLegacyModules = __checkForLegacyModules(__mid)))"+"return __checkForLegacyModules;"+"}catch(e){}"+"try{"+"return eval('('+__bundle+')');"+"}catch(e){"+"return e;"+"}"),_1a3=function(deps,_1a4,_1a5){var _1a6=[];_159.forEach(deps,function(mid){var url=_1a5.toUrl(mid+".js");function load(text){var _1a7=_1a2(text,_18c,mid,_1a1);if(_1a7===_1a1){_1a6.push(_165[url]=_1a1.result);}else{if(_1a7 instanceof Error){console.error("failed to evaluate i18n bundle; url="+url,_1a7);_1a7={};}_1a6.push(_165[url]=(/nls\/[^\/]+\/[^\/]+$/.test(url)?_1a7:{root:_1a7,_v1x:1}));}};if(_165[url]){_1a6.push(_165[url]);}else{var _1a8=_1a5.syncLoadNls(mid);if(_1a8){_1a6.push(_1a8);}else{if(!xhr){try{_1a5.getText(url,true,load);}catch(e){_1a6.push(_165[url]={});}}else{xhr.get({url:url,sync:true,load:load,error:function(){_1a6.push(_165[url]={});}});}}}});_1a4&&_1a4.apply(null,_1a6);};_18c=function(_1a9){for(var _1aa,_1ab=_1a9.split("/"),_1ac=dojo.global[_1ab[0]],i=1;_1ac&&i<_1ab.length-1;_1ac=_1ac[_1ab[i++]]){}if(_1ac){_1aa=_1ac[_1ab[i]];if(!_1aa){_1aa=_1ac[_1ab[i].replace(/-/g,"_")];}if(_1aa){_165[_1a9]=_1aa;}}return _1aa;};_15c.getLocalization=function(_1ad,_1ae,_1af){var _1b0,_1b1=_166(_1ad,_1ae,_1af);load(_1b1,(!isXd(_1b1,_158)?function(deps,_1b2){_1a3(deps,_1b2,_158);}:_158),function(_1b3){_1b0=_1b3;});return _1b0;};if(has("dojo-unit-tests")){_18d.push(function(doh){doh.register("tests.i18n.unit",function(t){var _1b4;_1b4=_1a2("{prop:1}",_18c,"nonsense",_1a1);t.is({prop:1},_1b4);t.is(undefined,_1b4[1]);_1b4=_1a2("({prop:1})",_18c,"nonsense",_1a1);t.is({prop:1},_1b4);t.is(undefined,_1b4[1]);_1b4=_1a2("{'prop-x':1}",_18c,"nonsense",_1a1);t.is({"prop-x":1},_1b4);t.is(undefined,_1b4[1]);_1b4=_1a2("({'prop-x':1})",_18c,"nonsense",_1a1);t.is({"prop-x":1},_1b4);t.is(undefined,_1b4[1]);_1b4=_1a2("define({'prop-x':1})",_18c,"nonsense",_1a1);t.is(_1a1,_1b4);t.is({"prop-x":1},_1a1.result);_1b4=_1a2("define('some/module', {'prop-x':1})",_18c,"nonsense",_1a1);t.is(_1a1,_1b4);t.is({"prop-x":1},_1a1.result);_1b4=_1a2("this is total nonsense and should throw an error",_18c,"nonsense",_1a1);t.is(_1b4 instanceof Error,true);});});}}return lang.mixin(_15c,{dynamic:true,normalize:_177,load:load,cache:_165,getL10nName:_16a});});},"dojo/promise/tracer":function(){define(["../_base/lang","./Promise","../Evented"],function(lang,_1b5,_1b6){"use strict";var _1b7=new _1b6;var emit=_1b7.emit;_1b7.emit=null;function _1b8(args){setTimeout(function(){emit.apply(_1b7,args);},0);};_1b5.prototype.trace=function(){var args=lang._toArray(arguments);this.then(function(_1b9){_1b8(["resolved",_1b9].concat(args));},function(_1ba){_1b8(["rejected",_1ba].concat(args));},function(_1bb){_1b8(["progress",_1bb].concat(args));});return this;};_1b5.prototype.traceRejected=function(){var args=lang._toArray(arguments);this.otherwise(function(_1bc){_1b8(["rejected",_1bc].concat(args));});return this;};return _1b7;});},"dojo/errors/RequestError":function(){define(["./create"],function(_1bd){return _1bd("RequestError",function(_1be,_1bf){this.response=_1bf;});});},"dojo/_base/html":function(){define(["./kernel","../dom","../dom-style","../dom-attr","../dom-prop","../dom-class","../dom-construct","../dom-geometry"],function(dojo,dom,_1c0,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,_1c1){if(arguments.length==2){return attr[typeof name=="string"?"get":"set"](node,name);}return attr.set(node,name,_1c1);};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,_1c2){dojo.deprecated("dojo.coords()","Use dojo.position() or dojo.marginBox().");node=dom.byId(node);var s=_1c0.getComputedStyle(node),mb=geom.getMarginBox(node,s);var abs=geom.position(node,_1c2);mb.x=abs.x;mb.y=abs.y;return mb;};dojo.getProp=prop.get;dojo.setProp=prop.set;dojo.prop=function(node,name,_1c3){if(arguments.length==2){return prop[typeof name=="string"?"get":"set"](node,name);}return prop.set(node,name,_1c3);};dojo.getStyle=_1c0.get;dojo.setStyle=_1c0.set;dojo.getComputedStyle=_1c0.getComputedStyle;dojo.__toPixelValue=dojo.toPixelValue=_1c0.toPixelValue;dojo.style=function(node,name,_1c4){switch(arguments.length){case 1:return _1c0.get(node);case 2:return _1c0[typeof name=="string"?"get":"set"](node,name);}return _1c0.set(node,name,_1c4);};return dojo;});},"dojo/_base/kernel":function(){define(["../has","./config","require","module"],function(has,_1c5,_1c6,_1c7){var i,p,_1c8={},_1c9={},dojo={config:_1c5,global:this,dijit:_1c8,dojox:_1c9};var _1ca={dojo:["dojo",dojo],dijit:["dijit",_1c8],dojox:["dojox",_1c9]},_1cb=(_1c6.map&&_1c6.map[_1c7.id.match(/[^\/]+/)[0]]),item;for(p in _1cb){if(_1ca[p]){_1ca[p][0]=_1cb[p];}else{_1ca[p]=[_1cb[p],{}];}}for(p in _1ca){item=_1ca[p];item[1]._scopeName=item[0];if(!_1c5.noGlobals){this[item[0]]=item[1];}}dojo.scopeMap=_1ca;dojo.baseUrl=dojo.config.baseUrl=_1c6.baseUrl;dojo.isAsync=!1||_1c6.async;dojo.locale=_1c5.locale;var rev="$Rev: 43d05c6 $".match(/\d+/);dojo.version={major:1,minor:9,patch:1,flag:"",revision:rev?+rev[0]:NaN,toString:function(){var v=dojo.version;return v.major+"."+v.minor+"."+v.patch+v.flag+" ("+v.revision+")";}};1||has.add("extend-dojo",1);(Function("d","d.eval = function(){return d.global.eval ? d.global.eval(arguments[0]) : eval(arguments[0]);}"))(dojo);if(0){dojo.exit=function(_1cc){quit(_1cc);};}else{dojo.exit=function(){};}1||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",!!_1c5.isDebug);dojo.deprecated=dojo.experimental=function(){};if(has("dojo-debug-messages")){dojo.deprecated=function(_1cd,_1ce,_1cf){var _1d0="DEPRECATED: "+_1cd;if(_1ce){_1d0+=" "+_1ce;}if(_1cf){_1d0+=" -- will be removed in version: "+_1cf;}console.warn(_1d0);};dojo.experimental=function(_1d1,_1d2){var _1d3="EXPERIMENTAL: "+_1d1+" -- APIs subject to change without notice.";if(_1d2){_1d3+=" "+_1d2;}console.warn(_1d3);};}1||has.add("dojo-modulePaths",1);if(1){if(_1c5.modulePaths){dojo.deprecated("dojo.modulePaths","use paths configuration");var _1d4={};for(p in _1c5.modulePaths){_1d4[p.replace(/\./g,"/")]=_1c5.modulePaths[p];}_1c6({paths:_1d4});}}1||has.add("dojo-moduleUrl",1);if(1){dojo.moduleUrl=function(_1d5,url){dojo.deprecated("dojo.moduleUrl()","use require.toUrl","2.0");var _1d6=null;if(_1d5){_1d6=_1c6.toUrl(_1d5.replace(/\./g,"/")+(url?("/"+url):"")+"/*.*").replace(/\/\*\.\*/,"")+(url?"":"/");}return _1d6;};}dojo._hasResource={};return dojo;});},"dojo/io-query":function(){define(["./_base/lang"],function(lang){var _1d7={};return {objectToQuery:function objectToQuery(map){var enc=encodeURIComponent,_1d8=[];for(var name in map){var _1d9=map[name];if(_1d9!=_1d7[name]){var _1da=enc(name)+"=";if(lang.isArray(_1d9)){for(var i=0,l=_1d9.length;i<l;++i){_1d8.push(_1da+enc(_1d9[i]));}}else{_1d8.push(_1da+enc(_1d9));}}}return _1d8.join("&");},queryToObject:function queryToObject(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;}};});},"dojo/_base/Deferred":function(){define(["./kernel","../Deferred","../promise/Promise","../errors/CancelError","../has","./lang","../when"],function(dojo,_1db,_1dc,_1dd,has,lang,when){var _1de=function(){};var _1df=Object.freeze||function(){};var _1e0=dojo.Deferred=function(_1e1){var _1e2,_1e3,_1e4,_1e5,_1e6,head,_1e7;var _1e8=(this.promise=new _1dc());function _1e9(_1ea){if(_1e3){throw new Error("This deferred has already been resolved");}_1e2=_1ea;_1e3=true;_1eb();};function _1eb(){var _1ec;while(!_1ec&&_1e7){var _1ed=_1e7;_1e7=_1e7.next;if((_1ec=(_1ed.progress==_1de))){_1e3=false;}var func=(_1e6?_1ed.error:_1ed.resolved);if(has("config-useDeferredInstrumentation")){if(_1e6&&_1db.instrumentRejected){_1db.instrumentRejected(_1e2,!!func);}}if(func){try{var _1ee=func(_1e2);if(_1ee&&typeof _1ee.then==="function"){_1ee.then(lang.hitch(_1ed.deferred,"resolve"),lang.hitch(_1ed.deferred,"reject"),lang.hitch(_1ed.deferred,"progress"));continue;}var _1ef=_1ec&&_1ee===undefined;if(_1ec&&!_1ef){_1e6=_1ee instanceof Error;}_1ed.deferred[_1ef&&_1e6?"reject":"resolve"](_1ef?_1e2:_1ee);}catch(e){_1ed.deferred.reject(e);}}else{if(_1e6){_1ed.deferred.reject(_1e2);}else{_1ed.deferred.resolve(_1e2);}}}};this.isResolved=_1e8.isResolved=function(){return _1e5==0;};this.isRejected=_1e8.isRejected=function(){return _1e5==1;};this.isFulfilled=_1e8.isFulfilled=function(){return _1e5>=0;};this.isCanceled=_1e8.isCanceled=function(){return _1e4;};this.resolve=this.callback=function(_1f0){this.fired=_1e5=0;this.results=[_1f0,null];_1e9(_1f0);};this.reject=this.errback=function(_1f1){_1e6=true;this.fired=_1e5=1;if(has("config-useDeferredInstrumentation")){if(_1db.instrumentRejected){_1db.instrumentRejected(_1f1,!!_1e7);}}_1e9(_1f1);this.results=[null,_1f1];};this.progress=function(_1f2){var _1f3=_1e7;while(_1f3){var _1f4=_1f3.progress;_1f4&&_1f4(_1f2);_1f3=_1f3.next;}};this.addCallbacks=function(_1f5,_1f6){this.then(_1f5,_1f6,_1de);return this;};_1e8.then=this.then=function(_1f7,_1f8,_1f9){var _1fa=_1f9==_1de?this:new _1e0(_1e8.cancel);var _1fb={resolved:_1f7,error:_1f8,progress:_1f9,deferred:_1fa};if(_1e7){head=head.next=_1fb;}else{_1e7=head=_1fb;}if(_1e3){_1eb();}return _1fa.promise;};var _1fc=this;_1e8.cancel=this.cancel=function(){if(!_1e3){var _1fd=_1e1&&_1e1(_1fc);if(!_1e3){if(!(_1fd instanceof Error)){_1fd=new _1dd(_1fd);}_1fd.log=false;_1fc.reject(_1fd);}}_1e4=true;};_1df(_1e8);};lang.extend(_1e0,{addCallback:function(_1fe){return this.addCallbacks(lang.hitch.apply(dojo,arguments));},addErrback:function(_1ff){return this.addCallbacks(null,lang.hitch.apply(dojo,arguments));},addBoth:function(_200){var _201=lang.hitch.apply(dojo,arguments);return this.addCallbacks(_201,_201);},fired:-1});_1e0.when=dojo.when=when;return _1e0;});},"dojo/NodeList-dom":function(){define(["./_base/kernel","./query","./_base/array","./_base/lang","./dom-class","./dom-construct","./dom-geometry","./dom-attr","./dom-style"],function(dojo,_202,_203,lang,_204,_205,_206,_207,_208){var _209=function(a){return a.length==1&&(typeof a[0]=="string");};var _20a=function(node){var p=node.parentNode;if(p){p.removeChild(node);}};var _20b=_202.NodeList,awc=_20b._adaptWithCondition,aafe=_20b._adaptAsForEach,aam=_20b._adaptAsMap;function _20c(_20d){return function(node,name,_20e){if(arguments.length==2){return _20d[typeof name=="string"?"get":"set"](node,name);}return _20d.set(node,name,_20e);};};lang.extend(_20b,{_normalize:function(_20f,_210){var _211=_20f.parse===true;if(typeof _20f.template=="string"){var _212=_20f.templateFunc||(dojo.string&&dojo.string.substitute);_20f=_212?_212(_20f.template,_20f):_20f;}var type=(typeof _20f);if(type=="string"||type=="number"){_20f=_205.toDom(_20f,(_210&&_210.ownerDocument));if(_20f.nodeType==11){_20f=lang._toArray(_20f.childNodes);}else{_20f=[_20f];}}else{if(!lang.isArrayLike(_20f)){_20f=[_20f];}else{if(!lang.isArray(_20f)){_20f=lang._toArray(_20f);}}}if(_211){_20f._runParse=true;}return _20f;},_cloneNode:function(node){return node.cloneNode(true);},_place:function(ary,_213,_214,_215){if(_213.nodeType!=1&&_214=="only"){return;}var _216=_213,_217;var _218=ary.length;for(var i=_218-1;i>=0;i--){var node=(_215?this._cloneNode(ary[i]):ary[i]);if(ary._runParse&&dojo.parser&&dojo.parser.parse){if(!_217){_217=_216.ownerDocument.createElement("div");}_217.appendChild(node);dojo.parser.parse(_217);node=_217.firstChild;while(_217.firstChild){_217.removeChild(_217.firstChild);}}if(i==_218-1){_205.place(node,_216,_214);}else{_216.parentNode.insertBefore(node,_216);}_216=node;}},position:aam(_206.position),attr:awc(_20c(_207),_209),style:awc(_20c(_208),_209),addClass:aafe(_204.add),removeClass:aafe(_204.remove),toggleClass:aafe(_204.toggle),replaceClass:aafe(_204.replace),empty:aafe(_205.empty),removeAttr:aafe(_207.remove),marginBox:aam(_206.getMarginBox),place:function(_219,_21a){var item=_202(_219)[0];return this.forEach(function(node){_205.place(node,item,_21a);});},orphan:function(_21b){return (_21b?_202._filterResult(this,_21b):this).forEach(_20a);},adopt:function(_21c,_21d){return _202(_21c).place(this[0],_21d)._stash(this);},query:function(_21e){if(!_21e){return this;}var ret=new _20b;this.map(function(node){_202(_21e,node).forEach(function(_21f){if(_21f!==undefined){ret.push(_21f);}});});return ret._stash(this);},filter:function(_220){var a=arguments,_221=this,_222=0;if(typeof _220=="string"){_221=_202._filterResult(this,a[0]);if(a.length==1){return _221._stash(this);}_222=1;}return this._wrap(_203.filter(_221,a[_222],a[_222+1]),this);},addContent:function(_223,_224){_223=this._normalize(_223,this[0]);for(var i=0,node;(node=this[i]);i++){if(_223.length){this._place(_223,node,_224,i>0);}else{_205.empty(node);}}return this;}});return _20b;});},"dojo/query":function(){define(["./_base/kernel","./has","./dom","./on","./_base/array","./_base/lang","./selector/_loader","./selector/_loader!default"],function(dojo,has,dom,on,_225,lang,_226,_227){"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,_228=_225.forEach;var tnl=function(a,_229,_22a){var _22b=new (_22a||this._NodeListCtor||nl)(a);return _229?_22b._stash(_229):_22b;};var _22c=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 _22d=function(f,o){return function(){this.forEach(_22c(f,arguments,o));return this;};};var _22e=function(f,o){return function(){return this.map(_22c(f,arguments,o));};};var _22f=function(f,o){return function(){return this.filter(_22c(f,arguments,o));};};var _230=function(f,g,o){return function(){var a=arguments,body=_22c(f,a,o);if(g.call(o||dojo.global,a)){return this.map(body);}this.forEach(body);return this;};};var _231=function(_232){var _233=this instanceof nl&&has("array-extensible");if(typeof _232=="number"){_232=Array(_232);}var _234=(_232&&"length" in _232)?_232:arguments;if(_233||!_234.sort){var _235=_233?this:[],l=_235.length=_234.length;for(var i=0;i<l;i++){_235[i]=_234[i];}if(_233){return _235;}_234=_235;}lang._mixin(_234,nlp);_234._NodeListCtor=function(_236){return nl(_236);};return _234;};var nl=_231,nlp=nl.prototype=has("array-extensible")?[]:{};nl._wrap=nlp._wrap=tnl;nl._adaptAsMap=_22e;nl._adaptAsForEach=_22d;nl._adaptAsFilter=_22f;nl._adaptWithCondition=_230;_228(["slice","splice"],function(name){var f=ap[name];nlp[name]=function(){return this._wrap(f.apply(this,arguments),name=="slice"?this:null);};});_228(["indexOf","lastIndexOf","every","some"],function(name){var f=_225[name];nlp[name]=function(){return f.apply(dojo,[this].concat(aps.call(arguments,0)));};});lang.extend(_231,{constructor:nl,_NodeListCtor:nl,toString:function(){return this.join(",");},_stash:function(_237){this._parent=_237;return this;},on:function(_238,_239){var _23a=this.map(function(node){return on(node,_238,_239);});_23a.remove=function(){for(var i=0;i<_23a.length;i++){_23a[i].remove();}};return _23a;},end:function(){if(this._parent){return this._parent;}else{return new this._NodeListCtor(0);}},concat:function(item){var t=aps.call(this,0),m=_225.map(arguments,function(a){return aps.call(a,0);});return this._wrap(apc.apply(t,m),this);},map:function(func,obj){return this._wrap(_225.map(this,func,obj),this);},forEach:function(_23b,_23c){_228(this,_23b,_23c);return this;},filter:function(_23d){var a=arguments,_23e=this,_23f=0;if(typeof _23d=="string"){_23e=_240._filterResult(this,a[0]);if(a.length==1){return _23e._stash(this);}_23f=1;}return this._wrap(_225.filter(_23e,a[_23f],a[_23f+1]),this);},instantiate:function(_241,_242){var c=lang.isFunction(_241)?_241:lang.getObject(_241);_242=_242||{};return this.forEach(function(node){new c(_242,node);});},at:function(){var t=new this._NodeListCtor(0);_228(arguments,function(i){if(i<0){i=this.length+i;}if(this[i]){t.push(this[i]);}},this);return t._stash(this);}});function _243(_244,_245){var _246=function(_247,root){if(typeof root=="string"){root=dom.byId(root);if(!root){return new _245([]);}}var _248=typeof _247=="string"?_244(_247,root):_247?(_247.end&&_247.on)?_247:[_247]:[];if(_248.end&&_248.on){return _248;}return new _245(_248);};_246.matches=_244.match||function(node,_249,root){return _246.filter([node],_249,root).length>0;};_246.filter=_244.filter||function(_24a,_24b,root){return _246(_24b,root).filter(function(node){return _225.indexOf(_24a,node)>-1;});};if(typeof _244!="function"){var _24c=_244.search;_244=function(_24d,root){return _24c(root||document,_24d);};}return _246;};var _240=_243(_227,_231);dojo.query=_243(_227,function(_24e){return _231(_24e);});_240.load=function(id,_24f,_250){_226.load(id,_24f,function(_251){_250(_243(_251,_231));});};dojo._filterQueryResult=_240._filterResult=function(_252,_253,root){return new _231(_240.filter(_252,_253,root));};dojo.NodeList=_240.NodeList=_231;return _240;});},"dojo/has":function(){define(["require","module"],function(_254,_255){var has=_254.has||function(){};if(!1){var _256=typeof window!="undefined"&&typeof location!="undefined"&&typeof document!="undefined"&&window.location==location&&window.document==document,_257=this,doc=_256&&document,_258=doc&&doc.createElement("DiV"),_259=(_255.config&&_255.config())||{};has=function(name){return typeof _259[name]=="function"?(_259[name]=_259[name](_257,doc,_258)):_259[name];};has.cache=_259;has.add=function(name,test,now,_25a){(typeof _259[name]=="undefined"||_25a)&&(_259[name]=test);return now&&has(name);};1||has.add("host-browser",_256);1||has.add("dom",_256);1||has.add("dojo-dom-ready-api",1);1||has.add("dojo-sniff",1);}if(1){has.add("dom-addeventlistener",!!document.addEventListener);has.add("touch","ontouchstart" in document||window.navigator.msMaxTouchPoints>0);has.add("device-width",screen.availWidth||innerWidth);var form=document.createElement("form");has.add("dom-attributes-explicit",form.attributes.length==0);has.add("dom-attributes-specified-flag",form.attributes.length>0&&form.attributes.length<40);}has.clearElement=function(_25b){_25b.innerHTML="";return _25b;};has.normalize=function(id,_25c){var _25d=id.match(/[\?:]|[^:\?]*/g),i=0,get=function(skip){var term=_25d[i++];if(term==":"){return 0;}else{if(_25d[i++]=="?"){if(!skip&&has(term)){return get();}else{get(true);return get(skip);}}return term||0;}};id=get();return id&&_25c(id);};has.load=function(id,_25e,_25f){if(id){_25e([id],_25f);}else{_25f();}};return has;});},"dojo/_base/loader":function(){define(["./kernel","../has","require","module","../json","./lang","./array"],function(dojo,has,_260,_261,json,lang,_262){if(!1){console.error("cannot load the Dojo v1.x loader with a foreign loader");return 0;}1||has.add("dojo-fast-sync-require",1);var _263=function(id){return {src:_261.id,id:id};},_264=function(name){return name.replace(/\./g,"/");},_265=/\/\/>>built/,_266=[],_267=[],_268=function(mid,_269,_26a){_266.push(_26a);_262.forEach(mid.split(","),function(mid){var _26b=_26c(mid,_269.module);_267.push(_26b);_26d(_26b);});_26e();},_26e=(1?function(){var _26f,mid;for(mid in _270){_26f=_270[mid];if(_26f.noReqPluginCheck===undefined){_26f.noReqPluginCheck=/loadInit\!/.test(mid)||/require\!/.test(mid)?1:0;}if(!_26f.executed&&!_26f.noReqPluginCheck&&_26f.injected==_271){return;}}_272(function(){var _273=_266;_266=[];_262.forEach(_273,function(cb){cb(1);});});}:(function(){var _274,_275=function(m){_274[m.mid]=1;for(var t,_276,deps=m.deps||[],i=0;i<deps.length;i++){_276=deps[i];if(!(t=_274[_276.mid])){if(t===0||!_275(_276)){_274[m.mid]=0;return false;}}}return true;};return function(){var _277,mid;_274={};for(mid in _270){_277=_270[mid];if(_277.executed||_277.noReqPluginCheck){_274[mid]=1;}else{if(_277.noReqPluginCheck!==0){_277.noReqPluginCheck=/loadInit\!/.test(mid)||/require\!/.test(mid)?1:0;}if(_277.noReqPluginCheck){_274[mid]=1;}else{if(_277.injected!==_2a3){_274[mid]=0;}}}}for(var t,i=0,end=_267.length;i<end;i++){_277=_267[i];if(!(t=_274[_277.mid])){if(t===0||!_275(_277)){return;}}}_272(function(){var _278=_266;_266=[];_262.forEach(_278,function(cb){cb(1);});});};})()),_279=function(mid,_27a,_27b){_27a([mid],function(_27c){_27a(_27c.names,function(){for(var _27d="",args=[],i=0;i<arguments.length;i++){_27d+="var "+_27c.names[i]+"= arguments["+i+"]; ";args.push(arguments[i]);}eval(_27d);var _27e=_27a.module,_27f=[],_280,_281={provide:function(_282){_282=_264(_282);var _283=_26c(_282,_27e);if(_283!==_27e){_2a9(_283);}},require:function(_284,_285){_284=_264(_284);_285&&(_26c(_284,_27e).result=_2a4);_27f.push(_284);},requireLocalization:function(_286,_287,_288){if(!_280){_280=["dojo/i18n"];}_288=(_288||dojo.locale).toLowerCase();_286=_264(_286)+"/nls/"+(/root/i.test(_288)?"":_288+"/")+_264(_287);if(_26c(_286,_27e).isXd){_280.push("dojo/i18n!"+_286);}},loadInit:function(f){f();}},hold={},p;try{for(p in _281){hold[p]=dojo[p];dojo[p]=_281[p];}_27c.def.apply(null,args);}catch(e){_289("error",[_263("failedDojoLoadInit"),e]);}finally{for(p in _281){dojo[p]=hold[p];}}if(_280){_27f=_27f.concat(_280);}if(_27f.length){_268(_27f.join(","),_27a,_27b);}else{_27b();}});});},_28a=function(text,_28b,_28c){var _28d=/\(|\)/g,_28e=1,_28f;_28d.lastIndex=_28b;while((_28f=_28d.exec(text))){if(_28f[0]==")"){_28e-=1;}else{_28e+=1;}if(_28e==0){break;}}if(_28e!=0){throw "unmatched paren around character "+_28d.lastIndex+" in: "+text;}return [dojo.trim(text.substring(_28c,_28d.lastIndex))+";\n",_28d.lastIndex];},_290=/(\/\*([\s\S]*?)\*\/|\/\/(.*)$)/mg,_291=/(^|\s)dojo\.(loadInit|require|provide|requireLocalization|requireIf|requireAfterIf|platformRequire)\s*\(/mg,_292=/(^|\s)(require|define)\s*\(/m,_293=function(text,_294){var _295,_296,_297,_298,_299=[],_29a=[],_29b=[];_294=_294||text.replace(_290,function(_29c){_291.lastIndex=_292.lastIndex=0;return (_291.test(_29c)||_292.test(_29c))?"":_29c;});while((_295=_291.exec(_294))){_296=_291.lastIndex;_297=_296-_295[0].length;_298=_28a(_294,_296,_297);if(_295[2]=="loadInit"){_299.push(_298[0]);}else{_29a.push(_298[0]);}_291.lastIndex=_298[1];}_29b=_299.concat(_29a);if(_29b.length||!_292.test(_294)){return [text.replace(/(^|\s)dojo\.loadInit\s*\(/g,"\n0 && dojo.loadInit("),_29b.join(""),_29b];}else{return 0;}},_29d=function(_29e,text){var _29f,id,_2a0=[],_2a1=[];if(_265.test(text)||!(_29f=_293(text))){return 0;}id=_29e.mid+"-*loadInit";for(var p in _26c("dojo",_29e).result.scopeMap){_2a0.push(p);_2a1.push("\""+p+"\"");}return "// xdomain rewrite of "+_29e.mid+"\n"+"define('"+id+"',{\n"+"\tnames:"+json.stringify(_2a0)+",\n"+"\tdef:function("+_2a0.join(",")+"){"+_29f[1]+"}"+"});\n\n"+"define("+json.stringify(_2a0.concat(["dojo/loadInit!"+id]))+", function("+_2a0.join(",")+"){\n"+_29f[0]+"});";},_2a2=_260.initSyncLoader(_268,_26e,_29d),sync=_2a2.sync,_271=_2a2.requested,_2a3=_2a2.arrived,_2a4=_2a2.nonmodule,_2a5=_2a2.executing,_2a6=_2a2.executed,_2a7=_2a2.syncExecStack,_270=_2a2.modules,_2a8=_2a2.execQ,_26c=_2a2.getModule,_26d=_2a2.injectModule,_2a9=_2a2.setArrived,_289=_2a2.signal,_2aa=_2a2.finishExec,_2ab=_2a2.execModule,_2ac=_2a2.getLegacyMode,_272=_2a2.guardCheckComplete;_268=_2a2.dojoRequirePlugin;dojo.provide=function(mid){var _2ad=_2a7[0],_2ae=lang.mixin(_26c(_264(mid),_260.module),{executed:_2a5,result:lang.getObject(mid,true)});_2a9(_2ae);if(_2ad){(_2ad.provides||(_2ad.provides=[])).push(function(){_2ae.result=lang.getObject(mid);delete _2ae.provides;_2ae.executed!==_2a6&&_2aa(_2ae);});}return _2ae.result;};has.add("config-publishRequireResult",1,0,0);dojo.require=function(_2af,_2b0){function _2b1(mid,_2b2){var _2b3=_26c(_264(mid),_260.module);if(_2a7.length&&_2a7[0].finish){_2a7[0].finish.push(mid);return undefined;}if(_2b3.executed){return _2b3.result;}_2b2&&(_2b3.result=_2a4);var _2b4=_2ac();_26d(_2b3);_2b4=_2ac();if(_2b3.executed!==_2a6&&_2b3.injected===_2a3){_2a2.guardCheckComplete(function(){_2ab(_2b3);});}if(_2b3.executed){return _2b3.result;}if(_2b4==sync){if(_2b3.cjs){_2a8.unshift(_2b3);}else{_2a7.length&&(_2a7[0].finish=[mid]);}}else{_2a8.push(_2b3);}return undefined;};var _2b5=_2b1(_2af,_2b0);if(has("config-publishRequireResult")&&!lang.exists(_2af)&&_2b5!==undefined){lang.setObject(_2af,_2b5);}return _2b5;};dojo.loadInit=function(f){f();};dojo.registerModulePath=function(_2b6,_2b7){var _2b8={};_2b8[_2b6.replace(/\./g,"/")]=_2b7;_260({paths:_2b8});};dojo.platformRequire=function(_2b9){var _2ba=(_2b9.common||[]).concat(_2b9[dojo._name]||_2b9["default"]||[]),temp;while(_2ba.length){if(lang.isArray(temp=_2ba.shift())){dojo.require.apply(dojo,temp);}else{dojo.require(temp);}}};dojo.requireIf=dojo.requireAfterIf=function(_2bb,_2bc,_2bd){if(_2bb){dojo.require(_2bc,_2bd);}};dojo.requireLocalization=function(_2be,_2bf,_2c0){_260(["../i18n"],function(i18n){i18n.getLocalization(_2be,_2bf,_2c0);});};return {extractLegacyApiApplications:_293,require:_268,loadInit:_279};});},"dojo/json":function(){define(["./has"],function(has){"use strict";var _2c1=typeof JSON!="undefined";has.add("json-parse",_2c1);has.add("json-stringify",_2c1&&JSON.stringify({a:0},function(k,v){return v||1;})=="{\"a\":1}");if(has("json-stringify")){return JSON;}else{var _2c2=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,_2c3){if(_2c3&&!/^([\s\[\{]*(?:"(?:\\.|[^"])*"|-?\d[\d\.]*(?:[Ee][+-]?\d+)?|null|true|false|)[\s\]\}]*(?:,|:|$))+$/.test(str)){throw new SyntaxError("Invalid characters in JSON");}return eval("("+str+")");},stringify:function(_2c4,_2c5,_2c6){var _2c7;if(typeof _2c5=="string"){_2c6=_2c5;_2c5=null;}function _2c8(it,_2c9,key){if(_2c5){it=_2c5(key,it);}var val,_2ca=typeof it;if(_2ca=="number"){return isFinite(it)?it+"":"null";}if(_2ca=="boolean"){return it+"";}if(it===null){return "null";}if(typeof it=="string"){return _2c2(it);}if(_2ca=="function"||_2ca=="undefined"){return _2c7;}if(typeof it.toJSON=="function"){return _2c8(it.toJSON(key),_2c9,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 _2c8(it.valueOf(),_2c9,key);}var _2cb=_2c6?(_2c9+_2c6):"";var sep=_2c6?" ":"";var _2cc=_2c6?"\n":"";if(it instanceof Array){var itl=it.length,res=[];for(key=0;key<itl;key++){var obj=it[key];val=_2c8(obj,_2cb,key);if(typeof val!="string"){val="null";}res.push(_2cc+_2cb+val);}return "["+res.join(",")+_2cc+_2c9+"]";}var _2cd=[];for(key in it){var _2ce;if(it.hasOwnProperty(key)){if(typeof key=="number"){_2ce="\""+key+"\"";}else{if(typeof key=="string"){_2ce=_2c2(key);}else{continue;}}val=_2c8(it[key],_2cb,key);if(typeof val!="string"){continue;}_2cd.push(_2cc+_2cb+_2ce+":"+sep+val);}}return "{"+_2cd.join(",")+_2cc+_2c9+"}";};return _2c8(_2c4,"","");}};}});},"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,_2cf=0,_2d0="constructor";function err(msg,cls){throw new Error("declare"+(cls?" "+cls:"")+": "+msg);};function _2d1(_2d2,_2d3){var _2d4=[],_2d5=[{cls:0,refs:[]}],_2d6={},_2d7=1,l=_2d2.length,i=0,j,lin,base,top,_2d8,rec,name,refs;for(;i<l;++i){base=_2d2[i];if(!base){err("mixin #"+i+" is unknown. Did you use dojo.require to pull it in?",_2d3);}else{if(opts.call(base)!="[object Function]"){err("mixin #"+i+" is not a callable constructor.",_2d3);}}lin=base._meta?base._meta.bases:[base];top=0;for(j=lin.length-1;j>=0;--j){_2d8=lin[j].prototype;if(!_2d8.hasOwnProperty("declaredClass")){_2d8.declaredClass="uniqName_"+(_2cf++);}name=_2d8.declaredClass;if(!_2d6.hasOwnProperty(name)){_2d6[name]={count:0,refs:[],cls:lin[j]};++_2d7;}rec=_2d6[name];if(top&&top!==rec){rec.refs.push(top);++top.count;}top=rec;}++top.count;_2d5[0].refs.push(top);}while(_2d5.length){top=_2d5.pop();_2d4.push(top.cls);--_2d7;while(refs=top.refs,refs.length==1){top=refs[0];if(!top||--top.count){top=0;break;}_2d4.push(top.cls);--_2d7;}if(top){for(i=0,l=refs.length;i<l;++i){top=refs[i];if(!--top.count){_2d5.push(top);}}}}if(_2d7){err("can't build consistent linearization",_2d3);}base=_2d2[0];_2d4[0]=base?base._meta&&base===_2d4[_2d4.length-base._meta.bases.length]?base._meta.bases.length:1:0;return _2d4;};function _2d9(args,a,f){var name,_2da,_2db,_2dc,meta,base,_2dd,opf,pos,_2de=this._inherited=this._inherited||{};if(typeof args=="string"){name=args;args=a;a=f;}f=0;_2dc=args.callee;name=name||_2dc.nom;if(!name){err("can't deduce a name to call inherited()",this.declaredClass);}meta=this.constructor._meta;_2db=meta.bases;pos=_2de.p;if(name!=_2d0){if(_2de.c!==_2dc){pos=0;base=_2db[0];meta=base._meta;if(meta.hidden[name]!==_2dc){_2da=meta.chains;if(_2da&&typeof _2da[name]=="string"){err("calling chained method with inherited: "+name,this.declaredClass);}do{meta=base._meta;_2dd=base.prototype;if(meta&&(_2dd[name]===_2dc&&_2dd.hasOwnProperty(name)||meta.hidden[name]===_2dc)){break;}}while(base=_2db[++pos]);pos=base?pos:-1;}}base=_2db[++pos];if(base){_2dd=base.prototype;if(base._meta&&_2dd.hasOwnProperty(name)){f=_2dd[name];}else{opf=op[name];do{_2dd=base.prototype;f=_2dd[name];if(f&&(base._meta?_2dd.hasOwnProperty(name):f!==opf)){break;}}while(base=_2db[++pos]);}}f=base&&f||op[name];}else{if(_2de.c!==_2dc){pos=0;meta=_2db[0]._meta;if(meta&&meta.ctor!==_2dc){_2da=meta.chains;if(!_2da||_2da.constructor!=="manual"){err("calling chained constructor with inherited",this.declaredClass);}while(base=_2db[++pos]){meta=base._meta;if(meta&&meta.ctor===_2dc){break;}}pos=base?pos:-1;}}while(base=_2db[++pos]){meta=base._meta;f=meta?meta.ctor:base;if(f){break;}}f=base&&f;}_2de.c=f;_2de.p=pos;if(f){return a===true?f:f.apply(this,a||args);}};function _2df(name,args){if(typeof name=="string"){return this.__inherited(name,args,true);}return this.__inherited(name,true);};function _2e0(args,a1,a2){var f=this.getInherited(args,a1);if(f){return f.apply(this,a2||a1||args);}};var _2e1=dojo.config.isDebug?_2e0:_2d9;function _2e2(cls){var _2e3=this.constructor._meta.bases;for(var i=0,l=_2e3.length;i<l;++i){if(_2e3[i]===cls){return true;}}return this instanceof cls;};function _2e4(_2e5,_2e6){for(var name in _2e6){if(name!=_2d0&&_2e6.hasOwnProperty(name)){_2e5[name]=_2e6[name];}}if(has("bug-for-in-skips-shadowed")){for(var _2e7=lang._extraNames,i=_2e7.length;i;){name=_2e7[--i];if(name!=_2d0&&_2e6.hasOwnProperty(name)){_2e5[name]=_2e6[name];}}}};function _2e8(_2e9,_2ea){var name,t;for(name in _2ea){t=_2ea[name];if((t!==op[name]||!(name in op))&&name!=_2d0){if(opts.call(t)=="[object Function]"){t.nom=name;}_2e9[name]=t;}}if(has("bug-for-in-skips-shadowed")){for(var _2eb=lang._extraNames,i=_2eb.length;i;){name=_2eb[--i];t=_2ea[name];if((t!==op[name]||!(name in op))&&name!=_2d0){if(opts.call(t)=="[object Function]"){t.nom=name;}_2e9[name]=t;}}}return _2e9;};function _2ec(_2ed){_2ee.safeMixin(this.prototype,_2ed);return this;};function _2ef(_2f0,_2f1){return _2ee([this].concat(_2f0),_2f1||{});};function _2f2(_2f3,_2f4){return function(){var a=arguments,args=a,a0=a[0],f,i,m,l=_2f3.length,_2f5;if(!(this instanceof a.callee)){return _2f6(a);}if(_2f4&&(a0&&a0.preamble||this.preamble)){_2f5=new Array(_2f3.length);_2f5[0]=a;for(i=0;;){a0=a[0];if(a0){f=a0.preamble;if(f){a=f.apply(this,a)||a;}}f=_2f3[i].prototype;f=f.hasOwnProperty("preamble")&&f.preamble;if(f){a=f.apply(this,a)||a;}if(++i==l){break;}_2f5[i]=a;}}for(i=l-1;i>=0;--i){f=_2f3[i];m=f._meta;f=m?m.ctor:f;if(f){f.apply(this,_2f5?_2f5[i]:a);}}f=this.postscript;if(f){f.apply(this,args);}};};function _2f7(ctor,_2f8){return function(){var a=arguments,t=a,a0=a[0],f;if(!(this instanceof a.callee)){return _2f6(a);}if(_2f8){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 _2f9(_2fa){return function(){var a=arguments,i=0,f,m;if(!(this instanceof a.callee)){return _2f6(a);}for(;f=_2fa[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 _2fb(name,_2fc,_2fd){return function(){var b,m,f,i=0,step=1;if(_2fd){i=_2fc.length-1;step=-1;}for(;b=_2fc[i];i+=step){m=b._meta;f=(m?m.hidden:b.prototype)[name];if(f){f.apply(this,arguments);}}};};function _2fe(ctor){xtor.prototype=ctor.prototype;var t=new xtor;xtor.prototype=null;return t;};function _2f6(args){var ctor=args.callee,t=_2fe(ctor);ctor.apply(t,args);return t;};function _2ee(_2ff,_300,_301){if(typeof _2ff!="string"){_301=_300;_300=_2ff;_2ff="";}_301=_301||{};var _302,i,t,ctor,name,_303,_304,_305=1,_306=_300;if(opts.call(_300)=="[object Array]"){_303=_2d1(_300,_2ff);t=_303[0];_305=_303.length-t;_300=_303[_305];}else{_303=[0];if(_300){if(opts.call(_300)=="[object Function]"){t=_300._meta;_303=_303.concat(t?t.bases:_300);}else{err("base class is not a callable constructor.",_2ff);}}else{if(_300!==null){err("unknown base class. Did you use dojo.require to pull it in?",_2ff);}}}if(_300){for(i=_305-1;;--i){_302=_2fe(_300);if(!i){break;}t=_303[i];(t._meta?_2e4:mix)(_302,t.prototype);ctor=new Function;ctor.superclass=_300;ctor.prototype=_302;_300=_302.constructor=ctor;}}else{_302={};}_2ee.safeMixin(_302,_301);t=_301.constructor;if(t!==op.constructor){t.nom=_2d0;_302.constructor=t;}for(i=_305-1;i;--i){t=_303[i]._meta;if(t&&t.chains){_304=mix(_304||{},t.chains);}}if(_302["-chains-"]){_304=mix(_304||{},_302["-chains-"]);}t=!_304||!_304.hasOwnProperty(_2d0);_303[0]=ctor=(_304&&_304.constructor==="manual")?_2f9(_303):(_303.length==1?_2f7(_301.constructor,t):_2f2(_303,t));ctor._meta={bases:_303,hidden:_301,chains:_304,parents:_306,ctor:_301.constructor};ctor.superclass=_300&&_300.prototype;ctor.extend=_2ec;ctor.createSubclass=_2ef;ctor.prototype=_302;_302.constructor=ctor;_302.getInherited=_2df;_302.isInstanceOf=_2e2;_302.inherited=_2e1;_302.__inherited=_2d9;if(_2ff){_302.declaredClass=_2ff;lang.setObject(_2ff,ctor);}if(_304){for(name in _304){if(_302[name]&&typeof _304[name]=="string"&&name!=_2d0){t=_302[name]=_2fb(name,_303,_304[name]==="after");t.nom=name;}}}return ctor;};dojo.safeMixin=_2ee.safeMixin=_2e8;dojo.declare=_2ee;return _2ee;});},"dojo/dom":function(){define(["./sniff","./_base/window"],function(has,win){if(has("ie")<=7){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 _307=doc||win.doc,te=id&&_307.getElementById(id);if(te&&(te.attributes.id.value==id||te.id==id)){return te;}else{var eles=_307.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,_308){try{node=dom.byId(node);_308=dom.byId(_308);while(node){if(node==_308){return true;}node=node.parentNode;}}catch(e){}return false;};has.add("css-user-select",function(_309,doc,_30a){if(!_30a){return false;}var _30b=_30a.style;var _30c=["Khtml","O","ms","Moz","Webkit"],i=_30c.length,name="userSelect",_30d;do{if(typeof _30b[name]!=="undefined"){return name;}}while(i--&&(name=_30c[i]+"UserSelect"));return false;});var _30e=has("css-user-select");dom.setSelectable=_30e?function(node,_30f){dom.byId(node).style[_30e]=_30f?"":"none";}:function(node,_310){node=dom.byId(node);var _311=node.getElementsByTagName("*"),i=_311.length;if(_310){node.removeAttribute("unselectable");while(i--){_311[i].removeAttribute("unselectable");}}else{node.setAttribute("unselectable","on");while(i--){_311[i].setAttribute("unselectable","on");}}};return dom;});},"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/selector/acme":function(){define(["../dom","../sniff","../_base/array","../_base/lang","../_base/window"],function(dom,has,_312,lang,win){var trim=lang.trim;var each=_312.forEach;var _313=function(){return win.doc;};var _314=(_313().compatMode)=="BackCompat";var _315=">~+";var _316=false;var _317=function(){return true;};var _318=function(_319){if(_315.indexOf(_319.slice(-1))>=0){_319+=" * ";}else{_319+=" ";}var ts=function(s,e){return trim(_319.slice(s,e));};var _31a=[];var _31b=-1,_31c=-1,_31d=-1,_31e=-1,_31f=-1,inId=-1,_320=-1,_321,lc="",cc="",_322;var x=0,ql=_319.length,_323=null,_324=null;var _325=function(){if(_320>=0){var tv=(_320==x)?null:ts(_320,x);_323[(_315.indexOf(tv)<0)?"tag":"oper"]=tv;_320=-1;}};var _326=function(){if(inId>=0){_323.id=ts(inId,x).replace(/\\/g,"");inId=-1;}};var _327=function(){if(_31f>=0){_323.classes.push(ts(_31f+1,x).replace(/\\/g,""));_31f=-1;}};var _328=function(){_326();_325();_327();};var _329=function(){_328();if(_31e>=0){_323.pseudos.push({name:ts(_31e+1,x)});}_323.loops=(_323.pseudos.length||_323.attrs.length||_323.classes.length);_323.oquery=_323.query=ts(_322,x);_323.otag=_323.tag=(_323["oper"])?null:(_323.tag||"*");if(_323.tag){_323.tag=_323.tag.toUpperCase();}if(_31a.length&&(_31a[_31a.length-1].oper)){_323.infixOper=_31a.pop();_323.query=_323.infixOper.query+" "+_323.query;}_31a.push(_323);_323=null;};for(;lc=cc,cc=_319.charAt(x),x<ql;x++){if(lc=="\\"){continue;}if(!_323){_322=x;_323={query:null,pseudos:[],attrs:[],classes:[],tag:null,oper:null,id:null,getTag:function(){return _316?this.otag:this.tag;}};_320=x;}if(_321){if(cc==_321){_321=null;}continue;}else{if(cc=="'"||cc=="\""){_321=cc;continue;}}if(_31b>=0){if(cc=="]"){if(!_324.attr){_324.attr=ts(_31b+1,x);}else{_324.matchFor=ts((_31d||_31b+1),x);}var cmf=_324.matchFor;if(cmf){if((cmf.charAt(0)=="\"")||(cmf.charAt(0)=="'")){_324.matchFor=cmf.slice(1,-1);}}if(_324.matchFor){_324.matchFor=_324.matchFor.replace(/\\/g,"");}_323.attrs.push(_324);_324=null;_31b=_31d=-1;}else{if(cc=="="){var _32a=("|~^$*".indexOf(lc)>=0)?lc:"";_324.type=_32a+cc;_324.attr=ts(_31b+1,x-_32a.length);_31d=x+1;}}}else{if(_31c>=0){if(cc==")"){if(_31e>=0){_324.value=ts(_31c+1,x);}_31e=_31c=-1;}}else{if(cc=="#"){_328();inId=x+1;}else{if(cc=="."){_328();_31f=x;}else{if(cc==":"){_328();_31e=x;}else{if(cc=="["){_328();_31b=x;_324={};}else{if(cc=="("){if(_31e>=0){_324={name:ts(_31e+1,x),value:null};_323.pseudos.push(_324);}_31c=x;}else{if((cc==" ")&&(lc!=cc)){_329();}}}}}}}}}return _31a;};var _32b=function(_32c,_32d){if(!_32c){return _32d;}if(!_32d){return _32c;}return function(){return _32c.apply(window,arguments)&&_32d.apply(window,arguments);};};var _32e=function(i,arr){var r=arr||[];if(i){r.push(i);}return r;};var _32f=function(n){return (1==n.nodeType);};var _330="";var _331=function(elem,attr){if(!elem){return _330;}if(attr=="class"){return elem.className||_330;}if(attr=="for"){return elem.htmlFor||_330;}if(attr=="style"){return elem.style.cssText||_330;}return (_316?elem.getAttribute(attr):elem.getAttribute(attr,2))||_330;};var _332={"*=":function(attr,_333){return function(elem){return (_331(elem,attr).indexOf(_333)>=0);};},"^=":function(attr,_334){return function(elem){return (_331(elem,attr).indexOf(_334)==0);};},"$=":function(attr,_335){return function(elem){var ea=" "+_331(elem,attr);var _336=ea.lastIndexOf(_335);return _336>-1&&(_336==(ea.length-_335.length));};},"~=":function(attr,_337){var tval=" "+_337+" ";return function(elem){var ea=" "+_331(elem,attr)+" ";return (ea.indexOf(tval)>=0);};},"|=":function(attr,_338){var _339=_338+"-";return function(elem){var ea=_331(elem,attr);return ((ea==_338)||(ea.indexOf(_339)==0));};},"=":function(attr,_33a){return function(elem){return (_331(elem,attr)==_33a);};}};var _33b=(typeof _313().firstChild.nextElementSibling=="undefined");var _33c=!_33b?"nextElementSibling":"nextSibling";var _33d=!_33b?"previousElementSibling":"previousSibling";var _33e=(_33b?_32f:_317);var _33f=function(node){while(node=node[_33d]){if(_33e(node)){return false;}}return true;};var _340=function(node){while(node=node[_33c]){if(_33e(node)){return false;}}return true;};var _341=function(node){var root=node.parentNode;root=root.nodeType!=7?root:root.nextSibling;var i=0,tret=root.children||root.childNodes,ci=(node["_i"]||node.getAttribute("_i")||-1),cl=(root["_l"]||(typeof root.getAttribute!=="undefined"?root.getAttribute("_l"):-1));if(!tret){return -1;}var l=tret.length;if(cl==l&&ci>=0&&cl>=0){return ci;}if(has("ie")&&typeof root.setAttribute!=="undefined"){root.setAttribute("_l",l);}else{root["_l"]=l;}ci=-1;for(var te=root["firstElementChild"]||root["firstChild"];te;te=te[_33c]){if(_33e(te)){if(has("ie")){te.setAttribute("_i",++i);}else{te["_i"]=++i;}if(node===te){ci=i;}}}return ci;};var _342=function(elem){return !((_341(elem))%2);};var _343=function(elem){return ((_341(elem))%2);};var _344={"checked":function(name,_345){return function(elem){return !!("checked" in elem?elem.checked:elem.selected);};},"disabled":function(name,_346){return function(elem){return elem.disabled;};},"enabled":function(name,_347){return function(elem){return !elem.disabled;};},"first-child":function(){return _33f;},"last-child":function(){return _340;},"only-child":function(name,_348){return function(node){return _33f(node)&&_340(node);};},"empty":function(name,_349){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,_34a){var cz=_34a.charAt(0);if(cz=="\""||cz=="'"){_34a=_34a.slice(1,-1);}return function(elem){return (elem.innerHTML.indexOf(_34a)>=0);};},"not":function(name,_34b){var p=_318(_34b)[0];var _34c={el:1};if(p.tag!="*"){_34c.tag=1;}if(!p.classes.length){_34c.classes=1;}var ntf=_34d(p,_34c);return function(elem){return (!ntf(elem));};},"nth-child":function(name,_34e){var pi=parseInt;if(_34e=="odd"){return _343;}else{if(_34e=="even"){return _342;}}if(_34e.indexOf("n")!=-1){var _34f=_34e.split("n",2);var pred=_34f[0]?((_34f[0]=="-")?-1:pi(_34f[0])):1;var idx=_34f[1]?pi(_34f[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=_341(elem);return (i>=lb)&&(ub<0||i<=ub)&&((i%pred)==idx);};}else{_34e=idx;}}var _350=pi(_34e);return function(elem){return (_341(elem)==_350);};}};var _351=(has("ie")<9||has("ie")==9&&has("quirks"))?function(cond){var clc=cond.toLowerCase();if(clc=="class"){cond="className";}return function(elem){return (_316?elem.getAttribute(cond):elem[cond]||elem[clc]);};}:function(cond){return function(elem){return (elem&&elem.getAttribute&&elem.hasAttribute(cond));};};var _34d=function(_352,_353){if(!_352){return _317;}_353=_353||{};var ff=null;if(!("el" in _353)){ff=_32b(ff,_32f);}if(!("tag" in _353)){if(_352.tag!="*"){ff=_32b(ff,function(elem){return (elem&&((_316?elem.tagName:elem.tagName.toUpperCase())==_352.getTag()));});}}if(!("classes" in _353)){each(_352.classes,function(_354,idx,arr){var re=new RegExp("(?:^|\\s)"+_354+"(?:\\s|$)");ff=_32b(ff,function(elem){return re.test(elem.className);});ff.count=idx;});}if(!("pseudos" in _353)){each(_352.pseudos,function(_355){var pn=_355.name;if(_344[pn]){ff=_32b(ff,_344[pn](pn,_355.value));}});}if(!("attrs" in _353)){each(_352.attrs,function(attr){var _356;var a=attr.attr;if(attr.type&&_332[attr.type]){_356=_332[attr.type](a,attr.matchFor);}else{if(a.length){_356=_351(a);}}if(_356){ff=_32b(ff,_356);}});}if(!("id" in _353)){if(_352.id){ff=_32b(ff,function(elem){return (!!elem&&(elem.id==_352.id));});}}if(!ff){if(!("default" in _353)){ff=_317;}}return ff;};var _357=function(_358){return function(node,ret,bag){while(node=node[_33c]){if(_33b&&(!_32f(node))){continue;}if((!bag||_359(node,bag))&&_358(node)){ret.push(node);}break;}return ret;};};var _35a=function(_35b){return function(root,ret,bag){var te=root[_33c];while(te){if(_33e(te)){if(bag&&!_359(te,bag)){break;}if(_35b(te)){ret.push(te);}}te=te[_33c];}return ret;};};var _35c=function(_35d){_35d=_35d||_317;return function(root,ret,bag){var te,x=0,tret=root.children||root.childNodes;while(te=tret[x++]){if(_33e(te)&&(!bag||_359(te,bag))&&(_35d(te,x))){ret.push(te);}}return ret;};};var _35e=function(node,root){var pn=node.parentNode;while(pn){if(pn==root){break;}pn=pn.parentNode;}return !!pn;};var _35f={};var _360=function(_361){var _362=_35f[_361.query];if(_362){return _362;}var io=_361.infixOper;var oper=(io?io.oper:"");var _363=_34d(_361,{el:1});var qt=_361.tag;var _364=("*"==qt);var ecs=_313()["getElementsByClassName"];if(!oper){if(_361.id){_363=(!_361.loops&&_364)?_317:_34d(_361,{el:1,id:1});_362=function(root,arr){var te=dom.byId(_361.id,(root.ownerDocument||root));if(!te||!_363(te)){return;}if(9==root.nodeType){return _32e(te,arr);}else{if(_35e(te,root)){return _32e(te,arr);}}};}else{if(ecs&&/\{\s*\[native code\]\s*\}/.test(String(ecs))&&_361.classes.length&&!_314){_363=_34d(_361,{el:1,classes:1,id:1});var _365=_361.classes.join(" ");_362=function(root,arr,bag){var ret=_32e(0,arr),te,x=0;var tret=root.getElementsByClassName(_365);while((te=tret[x++])){if(_363(te,root)&&_359(te,bag)){ret.push(te);}}return ret;};}else{if(!_364&&!_361.loops){_362=function(root,arr,bag){var ret=_32e(0,arr),te,x=0;var tag=_361.getTag(),tret=tag?root.getElementsByTagName(tag):[];while((te=tret[x++])){if(_359(te,bag)){ret.push(te);}}return ret;};}else{_363=_34d(_361,{el:1,tag:1,id:1});_362=function(root,arr,bag){var ret=_32e(0,arr),te,x=0;var tag=_361.getTag(),tret=tag?root.getElementsByTagName(tag):[];while((te=tret[x++])){if(_363(te,root)&&_359(te,bag)){ret.push(te);}}return ret;};}}}}else{var _366={el:1};if(_364){_366.tag=1;}_363=_34d(_361,_366);if("+"==oper){_362=_357(_363);}else{if("~"==oper){_362=_35a(_363);}else{if(">"==oper){_362=_35c(_363);}}}}return _35f[_361.query]=_362;};var _367=function(root,_368){var _369=_32e(root),qp,x,te,qpl=_368.length,bag,ret;for(var i=0;i<qpl;i++){ret=[];qp=_368[i];x=_369.length-1;if(x>0){bag={};ret.nozip=true;}var gef=_360(qp);for(var j=0;(te=_369[j]);j++){gef(te,ret,bag);}if(!ret.length){break;}_369=ret;}return ret;};var _36a={},_36b={};var _36c=function(_36d){var _36e=_318(trim(_36d));if(_36e.length==1){var tef=_360(_36e[0]);return function(root){var r=tef(root,[]);if(r){r.nozip=true;}return r;};}return function(root){return _367(root,_36e);};};var _36f=has("ie")?"commentStrip":"nozip";var qsa="querySelectorAll";var _370=!!_313()[qsa];var _371=/\\[>~+]|n\+\d|([^ \\])?([>~+])([^ =])?/g;var _372=function(_373,pre,ch,post){return ch?(pre?pre+" ":"")+ch+(post?" "+post:""):_373;};var _374=/([^[]*)([^\]]*])?/g;var _375=function(_376,_377,att){return _377.replace(_371,_372)+(att||"");};var _378=function(_379,_37a){_379=_379.replace(_374,_375);if(_370){var _37b=_36b[_379];if(_37b&&!_37a){return _37b;}}var _37c=_36a[_379];if(_37c){return _37c;}var qcz=_379.charAt(0);var _37d=(-1==_379.indexOf(" "));if((_379.indexOf("#")>=0)&&(_37d)){_37a=true;}var _37e=(_370&&(!_37a)&&(_315.indexOf(qcz)==-1)&&(!has("ie")||(_379.indexOf(":")==-1))&&(!(_314&&(_379.indexOf(".")>=0)))&&(_379.indexOf(":contains")==-1)&&(_379.indexOf(":checked")==-1)&&(_379.indexOf("|=")==-1));if(_37e){var tq=(_315.indexOf(_379.charAt(_379.length-1))>=0)?(_379+" *"):_379;return _36b[_379]=function(root){try{if(!((9==root.nodeType)||_37d)){throw "";}var r=root[qsa](tq);r[_36f]=true;return r;}catch(e){return _378(_379,true)(root);}};}else{var _37f=_379.match(/([^\s,](?:"(?:\\.|[^"])+"|'(?:\\.|[^'])+'|[^,])*)/g);return _36a[_379]=((_37f.length<2)?_36c(_379):function(root){var _380=0,ret=[],tp;while((tp=_37f[_380++])){ret=ret.concat(_36c(tp)(root));}return ret;});}};var _381=0;var _382=has("ie")?function(node){if(_316){return (node.getAttribute("_uid")||node.setAttribute("_uid",++_381)||_381);}else{return node.uniqueID;}}:function(node){return (node._uid||(node._uid=++_381));};var _359=function(node,bag){if(!bag){return 1;}var id=_382(node);if(!bag[id]){return bag[id]=1;}return 0;};var _383="_zipIdx";var _384=function(arr){if(arr&&arr.nozip){return arr;}if(!arr||!arr.length){return [];}if(arr.length<2){return [arr[0]];}var ret=[];_381++;var x,te;if(has("ie")&&_316){var _385=_381+"";for(x=0;x<arr.length;x++){if((te=arr[x])&&te.getAttribute(_383)!=_385){ret.push(te);te.setAttribute(_383,_385);}}}else{if(has("ie")&&arr.commentStrip){try{for(x=0;x<arr.length;x++){if((te=arr[x])&&_32f(te)){ret.push(te);}}}catch(e){}}else{for(x=0;x<arr.length;x++){if((te=arr[x])&&te[_383]!=_381){ret.push(te);te[_383]=_381;}}}}return ret;};var _386=function(_387,root){root=root||_313();var od=root.ownerDocument||root;_316=(od.createElement("div").tagName==="div");var r=_378(_387)(root);if(r&&r.nozip){return r;}return _384(r);};_386.filter=function(_388,_389,root){var _38a=[],_38b=_318(_389),_38c=(_38b.length==1&&!/[^\w#\.]/.test(_389))?_34d(_38b[0]):function(node){return _312.indexOf(_386(_389,dom.byId(root)),node)!=-1;};for(var x=0,te;te=_388[x];x++){if(_38c(te)){_38a.push(te);}}return _38a;};return _386;});},"dojo/errors/RequestTimeoutError":function(){define(["./create","./RequestError"],function(_38d,_38e){return _38d("RequestTimeoutError",null,_38e,{dojoType:"timeout"});});},"dojo/dom-style":function(){define(["./sniff","./dom"],function(has,dom){var _38f,_390={};if(has("webkit")){_38f=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"))){_38f=function(node){return node.nodeType==1&&node.currentStyle?node.currentStyle:{};};}else{_38f=function(node){return node.nodeType==1?node.ownerDocument.defaultView.getComputedStyle(node,null):{};};}}_390.getComputedStyle=_38f;var _391;if(!has("ie")){_391=function(_392,_393){return parseFloat(_393)||0;};}else{_391=function(_394,_395){if(!_395){return 0;}if(_395=="medium"){return 4;}if(_395.slice&&_395.slice(-2)=="px"){return parseFloat(_395);}var s=_394.style,rs=_394.runtimeStyle,cs=_394.currentStyle,_396=s.left,_397=rs.left;rs.left=cs.left;try{s.left=_395;_395=s.pixelLeft;}catch(e){_395=0;}s.left=_396;rs.left=_397;return _395;};}_390.toPixelValue=_391;var astr="DXImageTransform.Microsoft.Alpha";var af=function(n,f){try{return n.filters.item(astr);}catch(e){return f?{}:null;}};var _398=has("ie")<9||(has("ie")<10&&has("quirks"))?function(node){try{return af(node).Opacity/100;}catch(e){return 1;}}:function(node){return _38f(node).opacity;};var _399=has("ie")<9||(has("ie")<10&&has("quirks"))?function(node,_39a){if(_39a===""){_39a=1;}var ov=_39a*100,_39b=_39a===1;if(_39b){node.style.zoom="";if(af(node)){node.style.filter=node.style.filter.replace(new RegExp("\\s*progid:"+astr+"\\([^\\)]+?\\)","i"),"");}}else{node.style.zoom=1;if(af(node)){af(node,1).Opacity=ov;}else{node.style.filter+=" progid:"+astr+"(Opacity="+ov+")";}af(node,1).Enabled=true;}if(node.tagName.toLowerCase()=="tr"){for(var td=node.firstChild;td;td=td.nextSibling){if(td.tagName.toLowerCase()=="td"){_399(td,_39a);}}}return _39a;}:function(node,_39c){return node.style.opacity=_39c;};var _39d={left:true,top:true};var _39e=/margin|padding|width|height|max|min|offset/;function _39f(node,type,_3a0){type=type.toLowerCase();if(has("ie")){if(_3a0=="auto"){if(type=="height"){return node.offsetHeight;}if(type=="width"){return node.offsetWidth;}}if(type=="fontweight"){switch(_3a0){case 700:return "bold";case 400:default:return "normal";}}}if(!(type in _39d)){_39d[type]=_39e.test(type);}return _39d[type]?_391(node,_3a0):_3a0;};var _3a1={cssFloat:1,styleFloat:1,"float":1};_390.get=function getStyle(node,name){var n=dom.byId(node),l=arguments.length,op=(name=="opacity");if(l==2&&op){return _398(n);}name=_3a1[name]?"cssFloat" in n.style?"cssFloat":"styleFloat":name;var s=_390.getComputedStyle(n);return (l==1)?s:_39f(n,name,s[name]||n.style[name]);};_390.set=function setStyle(node,name,_3a2){var n=dom.byId(node),l=arguments.length,op=(name=="opacity");name=_3a1[name]?"cssFloat" in n.style?"cssFloat":"styleFloat":name;if(l==3){return op?_399(n,_3a2):n.style[name]=_3a2;}for(var x in name){_390.set(node,x,name[x]);}return _390.getComputedStyle(n);};return _390;});},"dojo/dom-geometry":function(){define(["./sniff","./_base/window","./dom","./dom-style"],function(has,win,dom,_3a3){var geom={};geom.boxModel="content-box";if(has("ie")){geom.boxModel=document.compatMode=="BackCompat"?"border-box":"content-box";}geom.getPadExtents=function getPadExtents(node,_3a4){node=dom.byId(node);var s=_3a4||_3a3.getComputedStyle(node),px=_3a3.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,_3a5){node=dom.byId(node);var px=_3a3.toPixelValue,s=_3a5||_3a3.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,_3a6){node=dom.byId(node);var s=_3a6||_3a3.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,_3a7){node=dom.byId(node);var s=_3a7||_3a3.getComputedStyle(node),px=_3a3.toPixelValue,l=px(node,s.marginLeft),t=px(node,s.marginTop),r=px(node,s.marginRight),b=px(node,s.marginBottom);return {l:l,t:t,r:r,b:b,w:l+r,h:t+b};};geom.getMarginBox=function getMarginBox(node,_3a8){node=dom.byId(node);var s=_3a8||_3a3.getComputedStyle(node),me=geom.getMarginExtents(node,s),l=node.offsetLeft-me.l,t=node.offsetTop-me.t,p=node.parentNode,px=_3a3.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=_3a3.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=_3a3.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,_3a9){node=dom.byId(node);var s=_3a9||_3a3.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 _3aa(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 _3ab(node){return node.tagName.toLowerCase()=="button"||node.tagName.toLowerCase()=="input"&&(node.getAttribute("type")||"").toLowerCase()=="button";};function _3ac(node){return geom.boxModel=="border-box"||node.tagName.toLowerCase()=="table"||_3ab(node);};geom.setContentSize=function setContentSize(node,box,_3ad){node=dom.byId(node);var w=box.w,h=box.h;if(_3ac(node)){var pb=geom.getPadBorderExtents(node,_3ad);if(w>=0){w+=pb.w;}if(h>=0){h+=pb.h;}}_3aa(node,NaN,NaN,w,h);};var _3ae={l:0,t:0,w:0,h:0};geom.setMarginBox=function setMarginBox(node,box,_3af){node=dom.byId(node);var s=_3af||_3a3.getComputedStyle(node),w=box.w,h=box.h,pb=_3ac(node)?_3ae:geom.getPadBorderExtents(node,s),mb=geom.getMarginExtents(node,s);if(has("webkit")){if(_3ab(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);}_3aa(node,box.l,box.t,w,h);};geom.isBodyLtr=function isBodyLtr(doc){doc=doc||win.doc;return (win.body(doc).dir||doc.documentElement.dir||"ltr").toLowerCase()=="ltr";};geom.docScroll=function docScroll(doc){doc=doc||win.doc;var node=win.doc.parentWindow||win.doc.defaultView;return "pageXOffset" in node?{x:node.pageXOffset,y:node.pageYOffset}:(node=has("quirks")?win.body(doc):doc.documentElement)&&{x:geom.fixIeBiDiScrollLeft(node.scrollLeft||0,doc),y:node.scrollTop||0};};if(has("ie")){geom.getIeDocumentElementOffset=function getIeDocumentElementOffset(doc){doc=doc||win.doc;var de=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(_3b0,doc){doc=doc||win.doc;var ie=has("ie");if(ie&&!geom.isBodyLtr(doc)){var qk=has("quirks"),de=qk?win.body(doc):doc.documentElement,pwin=win.global;if(ie==6&&!qk&&pwin.frameElement&&de.scrollHeight>de.clientHeight){_3b0+=de.clientLeft;}return (ie<8||qk)?(_3b0+de.clientWidth-de.scrollWidth):-_3b0;}return _3b0;};geom.position=function(node,_3b1){node=dom.byId(node);var db=win.body(node.ownerDocument),ret=node.getBoundingClientRect();ret={x:ret.left,y:ret.top,w:ret.right-ret.left,h:ret.bottom-ret.top};if(has("ie")<9){var _3b2=geom.getIeDocumentElementOffset(node.ownerDocument);ret.x-=_3b2.x+(has("quirks")?db.clientLeft+db.offsetLeft:0);ret.y-=_3b2.y+(has("quirks")?db.clientTop+db.offsetTop:0);}if(_3b1){var _3b3=geom.docScroll(node.ownerDocument);ret.x+=_3b3.x;ret.y+=_3b3.y;}return ret;};geom.getMarginSize=function getMarginSize(node,_3b4){node=dom.byId(node);var me=geom.getMarginExtents(node,_3b4||_3a3.getComputedStyle(node));var size=node.getBoundingClientRect();return {w:(size.right-size.left)+me.w,h:(size.bottom-size.top)+me.h};};geom.normalizeEvent=function(_3b5){if(!("layerX" in _3b5)){_3b5.layerX=_3b5.offsetX;_3b5.layerY=_3b5.offsetY;}if(!has("dom-addeventlistener")){var se=_3b5.target;var doc=(se&&se.ownerDocument)||document;var _3b6=has("quirks")?doc.body:doc.documentElement;var _3b7=geom.getIeDocumentElementOffset(doc);_3b5.pageX=_3b5.clientX+geom.fixIeBiDiScrollLeft(_3b6.scrollLeft||0,doc)-_3b7.x;_3b5.pageY=_3b5.clientY+(_3b6.scrollTop||0)-_3b7.y;}};return geom;});},"dojo/dom-prop":function(){define(["exports","./_base/kernel","./sniff","./_base/lang","./dom","./dom-style","./dom-construct","./_base/connect"],function(_3b8,dojo,has,lang,dom,_3b9,ctr,conn){var _3ba={},_3bb=0,_3bc=dojo._scopeName+"attrid";_3b8.names={"class":"className","for":"htmlFor",tabindex:"tabIndex",readonly:"readOnly",colspan:"colSpan",frameborder:"frameBorder",rowspan:"rowSpan",valuetype:"valueType"};_3b8.get=function getProp(node,name){node=dom.byId(node);var lc=name.toLowerCase(),_3bd=_3b8.names[lc]||name;return node[_3bd];};_3b8.set=function setProp(node,name,_3be){node=dom.byId(node);var l=arguments.length;if(l==2&&typeof name!="string"){for(var x in name){_3b8.set(node,x,name[x]);}return node;}var lc=name.toLowerCase(),_3bf=_3b8.names[lc]||name;if(_3bf=="style"&&typeof _3be!="string"){_3b9.set(node,_3be);return node;}if(_3bf=="innerHTML"){if(has("ie")&&node.tagName.toLowerCase() in {col:1,colgroup:1,table:1,tbody:1,tfoot:1,thead:1,tr:1,title:1}){ctr.empty(node);node.appendChild(ctr.toDom(_3be,node.ownerDocument));}else{node[_3bf]=_3be;}return node;}if(lang.isFunction(_3be)){var _3c0=node[_3bc];if(!_3c0){_3c0=_3bb++;node[_3bc]=_3c0;}if(!_3ba[_3c0]){_3ba[_3c0]={};}var h=_3ba[_3c0][_3bf];if(h){conn.disconnect(h);}else{try{delete node[_3bf];}catch(e){}}if(_3be){_3ba[_3c0][_3bf]=conn.connect(node,_3bf,_3be);}else{node[_3bf]=null;}return node;}node[_3bf]=_3be;return node;};});},"dojo/when":function(){define(["./Deferred","./promise/Promise"],function(_3c1,_3c2){"use strict";return function when(_3c3,_3c4,_3c5,_3c6){var _3c7=_3c3&&typeof _3c3.then==="function";var _3c8=_3c7&&_3c3 instanceof _3c2;if(!_3c7){if(arguments.length>1){return _3c4?_3c4(_3c3):_3c3;}else{return new _3c1().resolve(_3c3);}}else{if(!_3c8){var _3c9=new _3c1(_3c3.cancel);_3c3.then(_3c9.resolve,_3c9.reject,_3c9.progress);_3c3=_3c9.promise;}}if(_3c4||_3c5||_3c6){return _3c3.then(_3c4,_3c5,_3c6);}return _3c3;};});},"dojo/dom-attr":function(){define(["exports","./sniff","./_base/lang","./dom","./dom-style","./dom-prop"],function(_3ca,has,lang,dom,_3cb,prop){var _3cc={innerHTML:1,className:1,htmlFor:has("ie"),value:1},_3cd={classname:"class",htmlfor:"for",tabindex:"tabIndex",readonly:"readOnly"};function _3ce(node,name){var attr=node.getAttributeNode&&node.getAttributeNode(name);return attr&&attr.specified;};_3ca.has=function hasAttr(node,name){var lc=name.toLowerCase();return _3cc[prop.names[lc]||name]||_3ce(dom.byId(node),_3cd[lc]||name);};_3ca.get=function getAttr(node,name){node=dom.byId(node);var lc=name.toLowerCase(),_3cf=prop.names[lc]||name,_3d0=_3cc[_3cf],_3d1=node[_3cf];if(_3d0&&typeof _3d1!="undefined"){return _3d1;}if(_3cf!="href"&&(typeof _3d1=="boolean"||lang.isFunction(_3d1))){return _3d1;}var _3d2=_3cd[lc]||name;return _3ce(node,_3d2)?node.getAttribute(_3d2):null;};_3ca.set=function setAttr(node,name,_3d3){node=dom.byId(node);if(arguments.length==2){for(var x in name){_3ca.set(node,x,name[x]);}return node;}var lc=name.toLowerCase(),_3d4=prop.names[lc]||name,_3d5=_3cc[_3d4];if(_3d4=="style"&&typeof _3d3!="string"){_3cb.set(node,_3d3);return node;}if(_3d5||typeof _3d3=="boolean"||lang.isFunction(_3d3)){return prop.set(node,name,_3d3);}node.setAttribute(_3cd[lc]||name,_3d3);return node;};_3ca.remove=function removeAttr(node,name){dom.byId(node).removeAttribute(_3cd[name.toLowerCase()]||name);};_3ca.getNodeProp=function getNodeProp(node,name){node=dom.byId(node);var lc=name.toLowerCase(),_3d6=prop.names[lc]||name;if((_3d6 in node)&&_3d6!="href"){return node[_3d6];}var _3d7=_3cd[lc]||name;return _3ce(node,_3d7)?node.getAttribute(_3d7):null;};});},"dojo/dom-construct":function(){define(["exports","./_base/kernel","./sniff","./_base/window","./dom","./dom-attr"],function(_3d8,dojo,has,win,dom,attr){var _3d9={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"]},_3da=/<\s*([\w\:]+)/,_3db={},_3dc=0,_3dd="__"+dojo._scopeName+"ToDomId";for(var _3de in _3d9){if(_3d9.hasOwnProperty(_3de)){var tw=_3d9[_3de];tw.pre=_3de=="option"?"<select multiple=\"multiple\">":"<"+tw.join("><")+">";tw.post="</"+tw.reverse().join("></")+">";}}var _3df;if(has("ie")<=8){_3df=function(doc){doc.__dojo_html5_tested="yes";var div=_3e0("div",{innerHTML:"<nav>a</nav>",style:{visibility:"hidden"}},doc.body);if(div.childNodes.length!==1){("abbr article aside audio canvas details figcaption figure footer header "+"hgroup mark meter nav output progress section summary time video").replace(/\b\w+\b/g,function(n){doc.createElement(n);});}_3e1(div);};}function _3e2(node,ref){var _3e3=ref.parentNode;if(_3e3){_3e3.insertBefore(node,ref);}};function _3e4(node,ref){var _3e5=ref.parentNode;if(_3e5){if(_3e5.lastChild==ref){_3e5.appendChild(node);}else{_3e5.insertBefore(node,ref.nextSibling);}}};_3d8.toDom=function toDom(frag,doc){doc=doc||win.doc;var _3e6=doc[_3dd];if(!_3e6){doc[_3dd]=_3e6=++_3dc+"";_3db[_3e6]=doc.createElement("div");}if(has("ie")<=8){if(!doc.__dojo_html5_tested&&doc.body){_3df(doc);}}frag+="";var _3e7=frag.match(_3da),tag=_3e7?_3e7[1].toLowerCase():"",_3e8=_3db[_3e6],wrap,i,fc,df;if(_3e7&&_3d9[tag]){wrap=_3d9[tag];_3e8.innerHTML=wrap.pre+frag+wrap.post;for(i=wrap.length;i;--i){_3e8=_3e8.firstChild;}}else{_3e8.innerHTML=frag;}if(_3e8.childNodes.length==1){return _3e8.removeChild(_3e8.firstChild);}df=doc.createDocumentFragment();while((fc=_3e8.firstChild)){df.appendChild(fc);}return df;};_3d8.place=function place(node,_3e9,_3ea){_3e9=dom.byId(_3e9);if(typeof node=="string"){node=/^\s*</.test(node)?_3d8.toDom(node,_3e9.ownerDocument):dom.byId(node);}if(typeof _3ea=="number"){var cn=_3e9.childNodes;if(!cn.length||cn.length<=_3ea){_3e9.appendChild(node);}else{_3e2(node,cn[_3ea<0?0:_3ea]);}}else{switch(_3ea){case "before":_3e2(node,_3e9);break;case "after":_3e4(node,_3e9);break;case "replace":_3e9.parentNode.replaceChild(node,_3e9);break;case "only":_3d8.empty(_3e9);_3e9.appendChild(node);break;case "first":if(_3e9.firstChild){_3e2(node,_3e9.firstChild);break;}default:_3e9.appendChild(node);}}return node;};var _3e0=_3d8.create=function _3e0(tag,_3eb,_3ec,pos){var doc=win.doc;if(_3ec){_3ec=dom.byId(_3ec);doc=_3ec.ownerDocument;}if(typeof tag=="string"){tag=doc.createElement(tag);}if(_3eb){attr.set(tag,_3eb);}if(_3ec){_3d8.place(tag,_3ec,pos);}return tag;};function _3ed(node){if(node.canHaveChildren){try{node.innerHTML="";return;}catch(e){}}for(var c;c=node.lastChild;){_3ee(c,node);}};_3d8.empty=function empty(node){_3ed(dom.byId(node));};function _3ee(node,_3ef){if(node.firstChild){_3ed(node);}if(_3ef){has("ie")&&_3ef.canHaveChildren&&"removeNode" in node?node.removeNode(false):_3ef.removeChild(node);}};var _3e1=_3d8.destroy=function _3e1(node){node=dom.byId(node);if(!node){return;}_3ee(node,node.parentNode);};});},"dojo/request/xhr":function(){define(["../errors/RequestError","./watch","./handlers","./util","../has"],function(_3f0,_3f1,_3f2,util,has){has.add("native-xhr",function(){return typeof XMLHttpRequest!=="undefined";});has.add("dojo-force-activex-xhr",function(){return has("activex")&&!document.addEventListener&&window.location.protocol==="file:";});has.add("native-xhr2",function(){if(!has("native-xhr")){return;}var x=new XMLHttpRequest();return typeof x["addEventListener"]!=="undefined"&&(typeof opera==="undefined"||typeof x["upload"]!=="undefined");});has.add("native-formdata",function(){return typeof FormData==="function";});function _3f3(_3f4,_3f5){var _3f6=_3f4.xhr;_3f4.status=_3f4.xhr.status;_3f4.text=_3f6.responseText;if(_3f4.options.handleAs==="xml"){_3f4.data=_3f6.responseXML;}if(!_3f5){try{_3f2(_3f4);}catch(e){_3f5=e;}}if(_3f5){this.reject(_3f5);}else{if(util.checkStatus(_3f6.status)){this.resolve(_3f4);}else{_3f5=new _3f0("Unable to load "+_3f4.url+" status: "+_3f6.status,_3f4);this.reject(_3f5);}}};var _3f7,_3f8,_3f9,_3fa;if(has("native-xhr2")){_3f7=function(_3fb){return !this.isFulfilled();};_3fa=function(dfd,_3fc){_3fc.xhr.abort();};_3f9=function(_3fd,dfd,_3fe){function _3ff(evt){dfd.handleResponse(_3fe);};function _400(evt){var _401=evt.target;var _402=new _3f0("Unable to load "+_3fe.url+" status: "+_401.status,_3fe);dfd.handleResponse(_3fe,_402);};function _403(evt){if(evt.lengthComputable){_3fe.loaded=evt.loaded;_3fe.total=evt.total;dfd.progress(_3fe);}};_3fd.addEventListener("load",_3ff,false);_3fd.addEventListener("error",_400,false);_3fd.addEventListener("progress",_403,false);return function(){_3fd.removeEventListener("load",_3ff,false);_3fd.removeEventListener("error",_400,false);_3fd.removeEventListener("progress",_403,false);_3fd=null;};};}else{_3f7=function(_404){return _404.xhr.readyState;};_3f8=function(_405){return 4===_405.xhr.readyState;};_3fa=function(dfd,_406){var xhr=_406.xhr;var _407=typeof xhr.abort;if(_407==="function"||_407==="object"||_407==="unknown"){xhr.abort();}};}function _408(_409){return this.xhr.getResponseHeader(_409);};var _40a,_40b={data:null,query:null,sync:false,method:"GET"};function xhr(url,_40c,_40d){var _40e=util.parseArgs(url,util.deepCreate(_40b,_40c),has("native-formdata")&&_40c&&_40c.data&&_40c.data instanceof FormData);url=_40e.url;_40c=_40e.options;var _40f,last=function(){_40f&&_40f();};var dfd=util.deferred(_40e,_3fa,_3f7,_3f8,_3f3,last);var _410=_40e.xhr=xhr._create();if(!_410){dfd.cancel(new _3f0("XHR was not created"));return _40d?dfd:dfd.promise;}_40e.getHeader=_408;if(_3f9){_40f=_3f9(_410,dfd,_40e);}var data=_40c.data,_411=!_40c.sync,_412=_40c.method;try{_410.open(_412,url,_411,_40c.user||_40a,_40c.password||_40a);if(_40c.withCredentials){_410.withCredentials=_40c.withCredentials;}var _413=_40c.headers,_414="application/x-www-form-urlencoded";if(_413){for(var hdr in _413){if(hdr.toLowerCase()==="content-type"){_414=_413[hdr];}else{if(_413[hdr]){_410.setRequestHeader(hdr,_413[hdr]);}}}}if(_414&&_414!==false){_410.setRequestHeader("Content-Type",_414);}if(!_413||!("X-Requested-With" in _413)){_410.setRequestHeader("X-Requested-With","XMLHttpRequest");}if(util.notify){util.notify.emit("send",_40e,dfd.promise.cancel);}_410.send(data);}catch(e){dfd.reject(e);}_3f1(dfd);_410=null;return _40d?dfd:dfd.promise;};xhr._create=function(){throw new Error("XMLHTTP not available");};if(has("native-xhr")&&!has("dojo-force-activex-xhr")){xhr._create=function(){return new XMLHttpRequest();};}else{if(has("activex")){try{new ActiveXObject("Msxml2.XMLHTTP");xhr._create=function(){return new ActiveXObject("Msxml2.XMLHTTP");};}catch(e){try{new ActiveXObject("Microsoft.XMLHTTP");xhr._create=function(){return new ActiveXObject("Microsoft.XMLHTTP");};}catch(e){}}}}util.addCommonMethods(xhr);return xhr;});},"dojo/text":function(){define(["./_base/kernel","require","./has","./request"],function(dojo,_415,has,_416){var _417;if(1){_417=function(url,sync,load){_416(url,{sync:!!sync}).then(load);};}else{if(_415.getText){_417=_415.getText;}else{console.error("dojo/text plugin failed to load because loader does not support getText");}}var _418={},_419=function(text){if(text){text=text.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _41a=text.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_41a){text=_41a[1];}}else{text="";}return text;},_41b={},_41c={};dojo.cache=function(_41d,url,_41e){var key;if(typeof _41d=="string"){if(/\//.test(_41d)){key=_41d;_41e=url;}else{key=_415.toUrl(_41d.replace(/\./g,"/")+(url?("/"+url):""));}}else{key=_41d+"";_41e=url;}var val=(_41e!=undefined&&typeof _41e!="string")?_41e.value:_41e,_41f=_41e&&_41e.sanitize;if(typeof val=="string"){_418[key]=val;return _41f?_419(val):val;}else{if(val===null){delete _418[key];return null;}else{if(!(key in _418)){_417(key,true,function(text){_418[key]=text;});}return _41f?_419(_418[key]):_418[key];}}};return {dynamic:true,normalize:function(id,_420){var _421=id.split("!"),url=_421[0];return (/^\./.test(url)?_420(url):url)+(_421[1]?"!"+_421[1]:"");},load:function(id,_422,load){var _423=id.split("!"),_424=_423.length>1,_425=_423[0],url=_422.toUrl(_423[0]),_426="url:"+url,text=_41b,_427=function(text){load(_424?_419(text):text);};if(_425 in _418){text=_418[_425];}else{if(_422.cache&&_426 in _422.cache){text=_422.cache[_426];}else{if(url in _418){text=_418[url];}}}if(text===_41b){if(_41c[url]){_41c[url].push(_427);}else{var _428=_41c[url]=[_427];_417(url,!_422.async,function(text){_418[_425]=_418[url]=text;for(var i=0;i<_428.length;){_428[i++](text);}delete _41c[url];});}}else{_427(text);}}};});},"dojo/keys":function(){define(["./_base/kernel","./sniff"],function(dojo,has){return dojo.keys={BACKSPACE:8,TAB:9,CLEAR:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,META:has("webkit")?91:224,PAUSE:19,CAPS_LOCK:20,ESCAPE:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT_ARROW:37,UP_ARROW:38,RIGHT_ARROW:39,DOWN_ARROW:40,INSERT:45,DELETE:46,HELP:47,LEFT_WINDOW:91,RIGHT_WINDOW:92,SELECT:93,NUMPAD_0:96,NUMPAD_1:97,NUMPAD_2:98,NUMPAD_3:99,NUMPAD_4:100,NUMPAD_5:101,NUMPAD_6:102,NUMPAD_7:103,NUMPAD_8:104,NUMPAD_9:105,NUMPAD_MULTIPLY:106,NUMPAD_PLUS:107,NUMPAD_ENTER:108,NUMPAD_MINUS:109,NUMPAD_PERIOD:110,NUMPAD_DIVIDE:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,NUM_LOCK:144,SCROLL_LOCK:145,UP_DPAD:175,DOWN_DPAD:176,LEFT_DPAD:177,RIGHT_DPAD:178,copyKey:has("mac")&&!has("air")?(has("safari")?91:224):17};});},"dojo/domReady":function(){define(["./has"],function(has){var _429=this,doc=document,_42a={"loaded":1,"complete":1},_42b=typeof doc.readyState!="string",_42c=!!_42a[doc.readyState],_42d=[],_42e;function _42f(_430){_42d.push(_430);if(_42c){_431();}};_42f.load=function(id,req,load){_42f(load);};_42f._Q=_42d;_42f._onQEmpty=function(){};if(_42b){doc.readyState="loading";}function _431(){if(_42e){return;}_42e=true;while(_42d.length){try{(_42d.shift())(doc);}catch(err){}}_42e=false;_42f._onQEmpty();};if(!_42c){var _432=[],_433=function(evt){evt=evt||_429.event;if(_42c||(evt.type=="readystatechange"&&!_42a[doc.readyState])){return;}if(_42b){doc.readyState="complete";}_42c=1;_431();},on=function(node,_434){node.addEventListener(_434,_433,false);_42d.push(function(){node.removeEventListener(_434,_433,false);});};if(!has("dom-addeventlistener")){on=function(node,_435){_435="on"+_435;node.attachEvent(_435,_433);_42d.push(function(){node.detachEvent(_435,_433);});};var div=doc.createElement("div");try{if(div.doScroll&&_429.frameElement===null){_432.push(function(){try{div.doScroll("left");return 1;}catch(e){}});}}catch(e){}}on(doc,"DOMContentLoaded");on(_429,"load");if("onreadystatechange" in doc){on(doc,"readystatechange");}else{if(!_42b){_432.push(function(){return _42a[doc.readyState];});}}if(_432.length){var _436=function(){if(_42c){return;}var i=_432.length;while(i--){if(_432[i]()){_433("poller");return;}}setTimeout(_436,30);};_436();}}return _42f;});},"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 _437=has("bug-for-in-skips-shadowed")?"hasOwnProperty.valueOf.isPrototypeOf.propertyIsEnumerable.toLocaleString.toString.constructor".split("."):[],_438=_437.length,_439=function(_43a,_43b,_43c){var p,i=0,_43d=dojo.global;if(!_43c){if(!_43a.length){return _43d;}else{p=_43a[i++];try{_43c=dojo.scopeMap[p]&&dojo.scopeMap[p][1];}catch(e){}_43c=_43c||(p in _43d?_43d[p]:(_43b?_43d[p]={}:undefined));}}while(_43c&&(p=_43a[i++])){_43c=(p in _43c?_43c[p]:(_43b?_43c[p]={}:undefined));}return _43c;},opts=Object.prototype.toString,_43e=function(obj,_43f,_440){return (_440||[]).concat(Array.prototype.slice.call(obj,_43f||0));},_441=/\{([^\}]+)\}/g;var lang={_extraNames:_437,_mixin:function(dest,_442,_443){var name,s,i,_444={};for(name in _442){s=_442[name];if(!(name in dest)||(dest[name]!==s&&(!(name in _444)||_444[name]!==s))){dest[name]=_443?_443(s):s;}}if(has("bug-for-in-skips-shadowed")){if(_442){for(i=0;i<_438;++i){name=_437[i];s=_442[name];if(!(name in dest)||(dest[name]!==s&&(!(name in _444)||_444[name]!==s))){dest[name]=_443?_443(s):s;}}}}return dest;},mixin:function(dest,_445){if(!dest){dest={};}for(var i=1,l=arguments.length;i<l;i++){lang._mixin(dest,arguments[i]);}return dest;},setObject:function(name,_446,_447){var _448=name.split("."),p=_448.pop(),obj=_439(_448,true,_447);return obj&&p?(obj[p]=_446):undefined;},getObject:function(name,_449,_44a){return _439(name.split("."),_449,_44a);},exists:function(name,obj){return lang.getObject(name,false,obj)!==undefined;},isString:function(it){return (typeof it=="string"||it instanceof String);},isArray:function(it){return it&&(it instanceof Array||typeof it=="array");},isFunction:function(it){return opts.call(it)==="[object Function]";},isObject:function(it){return it!==undefined&&(it===null||typeof it=="object"||lang.isArray(it)||lang.isFunction(it));},isArrayLike:function(it){return it&&it!==undefined&&!lang.isString(it)&&!lang.isFunction(it)&&!(it.tagName&&it.tagName.toLowerCase()=="form")&&(lang.isArray(it)||isFinite(it.length));},isAlien:function(it){return it&&!lang.isFunction(it)&&/\{\s*\[native code\]\s*\}/.test(String(it));},extend:function(ctor,_44b){for(var i=1,l=arguments.length;i<l;i++){lang._mixin(ctor.prototype,arguments[i]);}return ctor;},_hitchArgs:function(_44c,_44d){var pre=lang._toArray(arguments,2);var _44e=lang.isString(_44d);return function(){var args=lang._toArray(arguments);var f=_44e?(_44c||dojo.global)[_44d]:_44d;return f&&f.apply(_44c||this,pre.concat(args));};},hitch:function(_44f,_450){if(arguments.length>2){return lang._hitchArgs.apply(dojo,arguments);}if(!_450){_450=_44f;_44f=null;}if(lang.isString(_450)){_44f=_44f||dojo.global;if(!_44f[_450]){throw (["lang.hitch: scope[\"",_450,"\"] is null (scope=\"",_44f,"\")"].join(""));}return function(){return _44f[_450].apply(_44f,arguments||[]);};}return !_44f?_450:function(){return _450.apply(_44f,arguments||[]);};},delegate:(function(){function TMP(){};return function(obj,_451){TMP.prototype=obj;var tmp=new TMP();TMP.prototype=null;if(_451){lang._mixin(tmp,_451);}return tmp;};})(),_toArray:has("ie")?(function(){function slow(obj,_452,_453){var arr=_453||[];for(var x=_452||0;x<obj.length;x++){arr.push(obj[x]);}return arr;};return function(obj){return ((obj.item)?slow:_43e).apply(this,arguments);};})():_43e,partial:function(_454){var arr=[null];return lang.hitch.apply(dojo,arr.concat(lang._toArray(arguments)));},clone: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(lang.clone(src[i]));}}}else{r=src.constructor?new src.constructor():{};}return lang._mixin(r,src,lang.clone);},trim:String.prototype.trim?function(str){return str.trim();}:function(str){return str.replace(/^\s\s*/,"").replace(/\s\s*$/,"");},replace:function(tmpl,map,_455){return tmpl.replace(_455||_441,lang.isFunction(map)?map:function(_456,k){return lang.getObject(k,false,map);});}};1&&lang.mixin(dojo,lang);return lang;});},"dojo/request/util":function(){define(["exports","../errors/RequestError","../errors/CancelError","../Deferred","../io-query","../_base/array","../_base/lang","../promise/Promise"],function(_457,_458,_459,_45a,_45b,_45c,lang,_45d){_457.deepCopy=function deepCopy(_45e,_45f){for(var name in _45f){var tval=_45e[name],sval=_45f[name];if(tval!==sval){if(tval&&typeof tval==="object"&&sval&&typeof sval==="object"){_457.deepCopy(tval,sval);}else{_45e[name]=sval;}}}return _45e;};_457.deepCreate=function deepCreate(_460,_461){_461=_461||{};var _462=lang.delegate(_460),name,_463;for(name in _460){_463=_460[name];if(_463&&typeof _463==="object"){_462[name]=_457.deepCreate(_463,_461[name]);}}return _457.deepCopy(_462,_461);};var _464=Object.freeze||function(obj){return obj;};function _465(_466){return _464(_466);};function _467(_468){return _468.data||_468.text;};_457.deferred=function deferred(_469,_46a,_46b,_46c,_46d,last){var def=new _45a(function(_46e){_46a&&_46a(def,_469);if(!_46e||!(_46e instanceof _458)&&!(_46e instanceof _459)){return new _459("Request canceled",_469);}return _46e;});def.response=_469;def.isValid=_46b;def.isReady=_46c;def.handleResponse=_46d;function _46f(_470){_470.response=_469;throw _470;};var _471=def.then(_465).otherwise(_46f);if(_457.notify){_471.then(lang.hitch(_457.notify,"emit","load"),lang.hitch(_457.notify,"emit","error"));}var _472=_471.then(_467);var _473=new _45d();for(var prop in _472){if(_472.hasOwnProperty(prop)){_473[prop]=_472[prop];}}_473.response=_471;_464(_473);if(last){def.then(function(_474){last.call(def,_474);},function(_475){last.call(def,_469,_475);});}def.promise=_473;def.then=_473.then;return def;};_457.addCommonMethods=function addCommonMethods(_476,_477){_45c.forEach(_477||["GET","POST","PUT","DELETE"],function(_478){_476[(_478==="DELETE"?"DEL":_478).toLowerCase()]=function(url,_479){_479=lang.delegate(_479||{});_479.method=_478;return _476(url,_479);};});};_457.parseArgs=function parseArgs(url,_47a,_47b){var data=_47a.data,_47c=_47a.query;if(data&&!_47b){if(typeof data==="object"){_47a.data=_45b.objectToQuery(data);}}if(_47c){if(typeof _47c==="object"){_47c=_45b.objectToQuery(_47c);}if(_47a.preventCache){_47c+=(_47c?"&":"")+"request.preventCache="+(+(new Date));}}else{if(_47a.preventCache){_47c="request.preventCache="+(+(new Date));}}if(url&&_47c){url+=(~url.indexOf("?")?"&":"?")+_47c;}return {url:url,options:_47a,getHeader:function(_47d){return null;}};};_457.checkStatus=function(stat){stat=stat||0;return (stat>=200&&stat<300)||stat===304||stat===1223||!stat;};});},"dojo/Evented":function(){define(["./aspect","./on"],function(_47e,on){"use strict";var _47f=_47e.after;function _480(){};_480.prototype={on:function(type,_481){return on.parse(this,type,_481,function(_482,type){return _47f(_482,"on"+type,_481,true);});},emit:function(type,_483){var args=[this];args.push.apply(args,arguments);return on.emit.apply(on,args);}};return _480;});},"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"));has.add("events-mousewheel",win.doc&&"onmousewheel" in win.doc);var _484;if((has("dom-quirks")&&has("ie"))||!has("dom-addeventlistener")){_484={LEFT:1,MIDDLE:4,RIGHT:2,isButton:function(e,_485){return e.button&_485;},isLeft:function(e){return e.button&1;},isMiddle:function(e){return e.button&4;},isRight:function(e){return e.button&2;}};}else{_484={LEFT:0,MIDDLE:1,RIGHT:2,isButton:function(e,_486){return e.button==_486;},isLeft:function(e){return e.button==0;},isMiddle:function(e){return e.button==1;},isRight:function(e){return e.button==2;}};}dojo.mouseButtons=_484;function _487(type,_488){var _489=function(node,_48a){return on(node,type,function(evt){if(_488){return _488(evt,_48a);}if(!dom.isDescendant(evt.relatedTarget,node)){return _48a.call(this,evt);}});};_489.bubble=function(_48b){return _487(type,function(evt,_48c){var _48d=_48b(evt.target);var _48e=evt.relatedTarget;if(_48d&&(_48d!=(_48e&&_48e.nodeType==1&&_48b(_48e)))){return _48c.call(_48d,evt);}});};return _489;};var _48f;if(has("events-mousewheel")){_48f="mousewheel";}else{_48f=function(node,_490){return on(node,"DOMMouseScroll",function(evt){evt.wheelDelta=-evt.detail;_490.call(this,evt);});};}return {_eventHandler:_487,enter:_487("mouseover"),leave:_487("mouseout"),wheel:_48f,isLeft:_484.isLeft,isMiddle:_484.isMiddle,isRight:_484.isRight};});},"dojo/_base/xhr":function(){define(["./kernel","./sniff","require","../io-query","../dom","../dom-form","./Deferred","./config","./json","./lang","./array","../on","../aspect","../request/watch","../request/xhr","../request/util"],function(dojo,has,_491,ioq,dom,_492,_493,_494,json,lang,_495,on,_496,_497,_498,util){dojo._xhrObj=_498._create;var cfg=dojo.config;dojo.objectToQuery=ioq.objectToQuery;dojo.queryToObject=ioq.queryToObject;dojo.fieldToObject=_492.fieldToObject;dojo.formToObject=_492.toObject;dojo.formToQuery=_492.toQuery;dojo.formToJson=_492.toJson;dojo._blockAsync=false;var _499=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(!_494.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 _49a=xhr.responseText;var _49b=_49a.indexOf("/*");var _49c=_49a.lastIndexOf("*/");if(_49b==-1||_49c==-1){throw new Error("JSON was not comment filtered");}return json.fromJson(_49a.substring(_49b+2,_49c));},"javascript":function(xhr){return dojo.eval(xhr.responseText);},"xml":function(xhr){var _49d=xhr.responseXML;if(_49d&&has("dom-qsa2.1")&&!_49d.querySelectorAll&&has("dom-parser")){_49d=new DOMParser().parseFromString(xhr.responseText,"application/xml");}if(has("ie")){if((!_49d||!_49d.documentElement)){var ms=function(n){return "MSXML"+n+".DOMDocument";};var dp=["Microsoft.XMLDOM",ms(6),ms(4),ms(3),ms(2)];_495.some(dp,function(p){try{var dom=new ActiveXObject(p);dom.async=false;dom.loadXML(xhr.responseText);_49d=dom;}catch(e){return false;}return true;});}}return _49d;},"json-comment-optional":function(xhr){if(xhr.responseText&&/^[^{\[]*\/\*/.test(xhr.responseText)){return _499["json-comment-filtered"](xhr);}else{return _499["json"](xhr);}}};dojo._ioSetArgs=function(args,_49e,_49f,_4a0){var _4a1={args:args,url:args.url};var _4a2=null;if(args.form){var form=dom.byId(args.form);var _4a3=form.getAttributeNode("action");_4a1.url=_4a1.url||(_4a3?_4a3.value:null);_4a2=_492.toObject(form);}var _4a4=[{}];if(_4a2){_4a4.push(_4a2);}if(args.content){_4a4.push(args.content);}if(args.preventCache){_4a4.push({"dojo.preventCache":new Date().valueOf()});}_4a1.query=ioq.objectToQuery(lang.mixin.apply(null,_4a4));_4a1.handleAs=args.handleAs||"text";var d=new _493(function(dfd){dfd.canceled=true;_49e&&_49e(dfd);var err=dfd.ioArgs.error;if(!err){err=new Error("request cancelled");err.dojoType="cancel";dfd.ioArgs.error=err;}return err;});d.addCallback(_49f);var ld=args.load;if(ld&&lang.isFunction(ld)){d.addCallback(function(_4a5){return ld.call(args,_4a5,_4a1);});}var err=args.error;if(err&&lang.isFunction(err)){d.addErrback(function(_4a6){return err.call(args,_4a6,_4a1);});}var _4a7=args.handle;if(_4a7&&lang.isFunction(_4a7)){d.addBoth(function(_4a8){return _4a7.call(args,_4a8,_4a1);});}d.addErrback(function(_4a9){return _4a0(_4a9,d);});if(cfg.ioPublish&&dojo.publish&&_4a1.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=_4a1;return d;};var _4aa=function(dfd){var ret=_499[dfd.ioArgs.handleAs](dfd.ioArgs.xhr);return ret===undefined?null:ret;};var _4ab=function(_4ac,dfd){if(!dfd.ioArgs.args.failOk){console.error(_4ac);}return _4ac;};var _4ad=function(dfd){if(_4ae<=0){_4ae=0;if(cfg.ioPublish&&dojo.publish&&(!dfd||dfd&&dfd.ioArgs.args.ioPublish!==false)){dojo.publish("/dojo/io/stop");}}};var _4ae=0;_496.after(_497,"_onAction",function(){_4ae-=1;});_496.after(_497,"_onInFlight",_4ad);dojo._ioCancelAll=_497.cancelAll;dojo._ioNotifyStart=function(dfd){if(cfg.ioPublish&&dojo.publish&&dfd.ioArgs.args.ioPublish!==false){if(!_4ae){dojo.publish("/dojo/io/start");}_4ae+=1;dojo.publish("/dojo/io/send",[dfd]);}};dojo._ioWatch=function(dfd,_4af,_4b0,_4b1){var args=dfd.ioArgs.options=dfd.ioArgs.args;lang.mixin(dfd,{response:dfd.ioArgs,isValid:function(_4b2){return _4af(dfd);},isReady:function(_4b3){return _4b0(dfd);},handleResponse:function(_4b4){return _4b1(dfd);}});_497(dfd);_4ad(dfd);};var _4b5="application/x-www-form-urlencoded";dojo._ioAddQueryToUrl=function(_4b6){if(_4b6.query.length){_4b6.url+=(_4b6.url.indexOf("?")==-1?"?":"&")+_4b6.query;_4b6.query=null;}};dojo.xhr=function(_4b7,args,_4b8){var rDfd;var dfd=dojo._ioSetArgs(args,function(dfd){rDfd&&rDfd.cancel();},_4aa,_4ab);var _4b9=dfd.ioArgs;if("postData" in args){_4b9.query=args.postData;}else{if("putData" in args){_4b9.query=args.putData;}else{if("rawBody" in args){_4b9.query=args.rawBody;}else{if((arguments.length>2&&!_4b8)||"POST|PUT".indexOf(_4b7.toUpperCase())===-1){dojo._ioAddQueryToUrl(_4b9);}}}}var _4ba={method:_4b7,handleAs:"text",timeout:args.timeout,withCredentials:args.withCredentials,ioArgs:_4b9};if(typeof args.headers!=="undefined"){_4ba.headers=args.headers;}if(typeof args.contentType!=="undefined"){if(!_4ba.headers){_4ba.headers={};}_4ba.headers["Content-Type"]=args.contentType;}if(typeof _4b9.query!=="undefined"){_4ba.data=_4b9.query;}if(typeof args.sync!=="undefined"){_4ba.sync=args.sync;}dojo._ioNotifyStart(dfd);try{rDfd=_498(_4b9.url,_4ba,true);}catch(e){dfd.cancel();return dfd;}dfd.ioArgs.xhr=rDfd.response.xhr;rDfd.then(function(){dfd.resolve(dfd);}).otherwise(function(_4bb){_4b9.error=_4bb;if(_4bb.response){_4bb.status=_4bb.response.status;_4bb.responseText=_4bb.response.text;_4bb.xhr=_4bb.response.xhr;}dfd.reject(_4bb);});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(x){return util.checkStatus(x.status);};dojo._getText=function(url){var _4bc;dojo.xhrGet({url:url,sync:true,load:function(text){_4bc=text;}});return _4bc;};lang.mixin(dojo.xhr,{_xhrObj:dojo._xhrObj,fieldToObject:_492.fieldToObject,formToObject:_492.toObject,objectToQuery:ioq.objectToQuery,formToQuery:_492.toQuery,formToJson:_492.toJson,queryToObject:ioq.queryToObject,contentHandlers:_499,_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/topic":function(){define(["./Evented"],function(_4bd){var hub=new _4bd;return {publish:function(_4be,_4bf){return hub.emit.apply(hub,arguments);},subscribe:function(_4c0,_4c1){return hub.on.apply(hub,arguments);}};});},"dojo/loadInit":function(){define(["./_base/loader"],function(_4c2){return {dynamic:0,normalize:function(id){return id;},load:_4c2.loadInit};});},"dojo/_base/unload":function(){define(["./kernel","./lang","../on"],function(dojo,lang,on){var win=window;var _4c3={addOnWindowUnload:function(obj,_4c4){if(!dojo.windowUnloaded){on(win,"unload",(dojo.windowUnloaded=function(){}));}on(win,"unload",lang.hitch(obj,_4c4));},addOnUnload:function(obj,_4c5){on(win,"beforeunload",lang.hitch(obj,_4c5));}};dojo.addOnWindowUnload=_4c3.addOnWindowUnload;dojo.addOnUnload=_4c3.addOnUnload;return _4c3;});},"dojo/Deferred":function(){define(["./has","./_base/lang","./errors/CancelError","./promise/Promise","./promise/instrumentation"],function(has,lang,_4c6,_4c7,_4c8){"use strict";var _4c9=0,_4ca=1,_4cb=2;var _4cc="This deferred has already been fulfilled.";var _4cd=Object.freeze||function(){};var _4ce=function(_4cf,type,_4d0,_4d1,_4d2){if(1){if(type===_4cb&&_4d3.instrumentRejected&&_4cf.length===0){_4d3.instrumentRejected(_4d0,false,_4d1,_4d2);}}for(var i=0;i<_4cf.length;i++){_4d4(_4cf[i],type,_4d0,_4d1);}};var _4d4=function(_4d5,type,_4d6,_4d7){var func=_4d5[type];var _4d8=_4d5.deferred;if(func){try{var _4d9=func(_4d6);if(type===_4c9){if(typeof _4d9!=="undefined"){_4da(_4d8,type,_4d9);}}else{if(_4d9&&typeof _4d9.then==="function"){_4d5.cancel=_4d9.cancel;_4d9.then(_4db(_4d8,_4ca),_4db(_4d8,_4cb),_4db(_4d8,_4c9));return;}_4da(_4d8,_4ca,_4d9);}}catch(error){_4da(_4d8,_4cb,error);}}else{_4da(_4d8,type,_4d6);}if(1){if(type===_4cb&&_4d3.instrumentRejected){_4d3.instrumentRejected(_4d6,!!func,_4d7,_4d8.promise);}}};var _4db=function(_4dc,type){return function(_4dd){_4da(_4dc,type,_4dd);};};var _4da=function(_4de,type,_4df){if(!_4de.isCanceled()){switch(type){case _4c9:_4de.progress(_4df);break;case _4ca:_4de.resolve(_4df);break;case _4cb:_4de.reject(_4df);break;}}};var _4d3=function(_4e0){var _4e1=this.promise=new _4c7();var _4e2=this;var _4e3,_4e4,_4e5;var _4e6=false;var _4e7=[];if(1&&Error.captureStackTrace){Error.captureStackTrace(_4e2,_4d3);Error.captureStackTrace(_4e1,_4d3);}this.isResolved=_4e1.isResolved=function(){return _4e3===_4ca;};this.isRejected=_4e1.isRejected=function(){return _4e3===_4cb;};this.isFulfilled=_4e1.isFulfilled=function(){return !!_4e3;};this.isCanceled=_4e1.isCanceled=function(){return _4e6;};this.progress=function(_4e8,_4e9){if(!_4e3){_4ce(_4e7,_4c9,_4e8,null,_4e2);return _4e1;}else{if(_4e9===true){throw new Error(_4cc);}else{return _4e1;}}};this.resolve=function(_4ea,_4eb){if(!_4e3){_4ce(_4e7,_4e3=_4ca,_4e4=_4ea,null,_4e2);_4e7=null;return _4e1;}else{if(_4eb===true){throw new Error(_4cc);}else{return _4e1;}}};var _4ec=this.reject=function(_4ed,_4ee){if(!_4e3){if(1&&Error.captureStackTrace){Error.captureStackTrace(_4e5={},_4ec);}_4ce(_4e7,_4e3=_4cb,_4e4=_4ed,_4e5,_4e2);_4e7=null;return _4e1;}else{if(_4ee===true){throw new Error(_4cc);}else{return _4e1;}}};this.then=_4e1.then=function(_4ef,_4f0,_4f1){var _4f2=[_4f1,_4ef,_4f0];_4f2.cancel=_4e1.cancel;_4f2.deferred=new _4d3(function(_4f3){return _4f2.cancel&&_4f2.cancel(_4f3);});if(_4e3&&!_4e7){_4d4(_4f2,_4e3,_4e4,_4e5);}else{_4e7.push(_4f2);}return _4f2.deferred.promise;};this.cancel=_4e1.cancel=function(_4f4,_4f5){if(!_4e3){if(_4e0){var _4f6=_4e0(_4f4);_4f4=typeof _4f6==="undefined"?_4f4:_4f6;}_4e6=true;if(!_4e3){if(typeof _4f4==="undefined"){_4f4=new _4c6();}_4ec(_4f4);return _4f4;}else{if(_4e3===_4cb&&_4e4===_4f4){return _4f4;}}}else{if(_4f5===true){throw new Error(_4cc);}}};_4cd(_4e1);};_4d3.prototype.toString=function(){return "[object Deferred]";};if(_4c8){_4c8(_4d3);}return _4d3;});},"dojo/_base/NodeList":function(){define(["./kernel","../query","./array","./html","../NodeList-dom"],function(dojo,_4f7,_4f8){var _4f9=_4f7.NodeList,nlp=_4f9.prototype;nlp.connect=_4f9._adaptAsForEach(function(){return dojo.connect.apply(this,arguments);});nlp.coords=_4f9._adaptAsMap(dojo.coords);_4f9.events=["blur","focus","change","click","error","keydown","keypress","keyup","load","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","submit"];_4f8.forEach(_4f9.events,function(evt){var _4fa="on"+evt;nlp[_4fa]=function(a,b){return this.connect(_4fa,a,b);};});dojo.NodeList=_4f9;return _4f9;});},"dojo/request":function(){define(["./request/default!"],function(_4fb){return _4fb;});},"dojo/_base/Color":function(){define(["./kernel","./lang","./array","./config"],function(dojo,lang,_4fc,_4fd){var _4fe=dojo.Color=function(_4ff){if(_4ff){this.setColor(_4ff);}};_4fe.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":_4fd.transparentColor||[0,0,0,0]};lang.extend(_4fe,{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(_500){if(lang.isString(_500)){_4fe.fromString(_500,this);}else{if(lang.isArray(_500)){_4fe.fromArray(_500,this);}else{this._set(_500.r,_500.g,_500.b,_500.a);if(!(_500 instanceof _4fe)){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=_4fc.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(_501){var t=this,rgb=t.r+", "+t.g+", "+t.b;return (_501?"rgba("+rgb+", "+t.a:"rgb("+rgb)+")";},toString:function(){return this.toCss(true);}});_4fe.blendColors=dojo.blendColors=function(_502,end,_503,obj){var t=obj||new _4fe();_4fc.forEach(["r","g","b","a"],function(x){t[x]=_502[x]+(end[x]-_502[x])*_503;if(x!="a"){t[x]=Math.round(t[x]);}});return t.sanitize();};_4fe.fromRgb=dojo.colorFromRgb=function(_504,obj){var m=_504.toLowerCase().match(/^rgba?\(([\s\.,0-9]+)\)/);return m&&_4fe.fromArray(m[1].split(/\s*,\s*/),obj);};_4fe.fromHex=dojo.colorFromHex=function(_505,obj){var t=obj||new _4fe(),bits=(_505.length==4)?4:8,mask=(1<<bits)-1;_505=Number("0x"+_505.substr(1));if(isNaN(_505)){return null;}_4fc.forEach(["b","g","r"],function(x){var c=_505&mask;_505>>=bits;t[x]=bits==4?17*c:c;});t.a=1;return t;};_4fe.fromArray=dojo.colorFromArray=function(a,obj){var t=obj||new _4fe();t._set(Number(a[0]),Number(a[1]),Number(a[2]),Number(a[3]));if(isNaN(t.a)){t.a=1;}return t.sanitize();};_4fe.fromString=dojo.colorFromString=function(str,obj){var a=_4fe.named[str];return a&&_4fe.fromArray(a,obj)||_4fe.fromRgb(str,obj)||_4fe.fromHex(str,obj);};return _4fe;});},"dojo/promise/instrumentation":function(){define(["./tracer","../has","../_base/lang","../_base/array"],function(_506,has,lang,_507){function _508(_509,_50a,_50b){var _50c="";if(_509&&_509.stack){_50c+=_509.stack;}if(_50a&&_50a.stack){_50c+="\n    ----------------------------------------\n    rejected"+_50a.stack.split("\n").slice(1).join("\n").replace(/^\s+/," ");}if(_50b&&_50b.stack){_50c+="\n    ----------------------------------------\n"+_50b.stack;}console.error(_509,_50c);};function _50d(_50e,_50f,_510,_511){if(!_50f){_508(_50e,_510,_511);}};var _512=[];var _513=false;var _514=1000;function _515(_516,_517,_518,_519){if(_517){_507.some(_512,function(obj,ix){if(obj.error===_516){_512.splice(ix,1);return true;}});}else{if(!_507.some(_512,function(obj){return obj.error===_516;})){_512.push({error:_516,rejection:_518,deferred:_519,timestamp:new Date().getTime()});}}if(!_513){_513=setTimeout(_51a,_514);}};function _51a(){var now=new Date().getTime();var _51b=now-_514;_512=_507.filter(_512,function(obj){if(obj.timestamp<_51b){_508(obj.error,obj.rejection,obj.deferred);return false;}return true;});if(_512.length){_513=setTimeout(_51a,_512[0].timestamp+_514-now);}else{_513=false;}};return function(_51c){var _51d=has("config-useDeferredInstrumentation");if(_51d){_506.on("resolved",lang.hitch(console,"log","resolved"));_506.on("rejected",lang.hitch(console,"log","rejected"));_506.on("progress",lang.hitch(console,"log","progress"));var args=[];if(typeof _51d==="string"){args=_51d.split(",");_51d=args.shift();}if(_51d==="report-rejections"){_51c.instrumentRejected=_50d;}else{if(_51d==="report-unhandled-rejections"||_51d===true||_51d===1){_51c.instrumentRejected=_515;_514=parseInt(args[0],10)||_514;}else{throw new Error("Unsupported instrumentation usage <"+_51d+">");}}}};});},"dojo/selector/_loader":function(){define(["../has","require"],function(has,_51e){"use strict";var _51f=document.createElement("div");has.add("dom-qsa2.1",!!_51f.querySelectorAll);has.add("dom-qsa3",function(){try{_51f.innerHTML="<p class='TEST'></p>";return _51f.querySelectorAll(".TEST:empty").length==1;}catch(e){}});var _520;var acme="./acme",lite="./lite";return {load:function(id,_521,_522,_523){var req=_51e;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=_521)&&id;if(id.charAt(id.length-1)=="?"){id=id.substring(0,id.length-1);var _524=true;}if(_524&&(has("dom-compliant-qsa")||_520)){return _522(_520);}req([id],function(_525){if(id!="./lite"){_520=_525;}_522(_525);});}};});},"dojo/promise/Promise":function(){define(["../_base/lang"],function(lang){"use strict";function _526(){throw new TypeError("abstract");};return lang.extend(function Promise(){},{then:function(_527,_528,_529){_526();},cancel:function(_52a,_52b){_526();},isResolved:function(){_526();},isRejected:function(){_526();},isFulfilled:function(){_526();},isCanceled:function(){_526();},always:function(_52c){return this.then(_52c,_52c);},otherwise:function(_52d){return this.then(null,_52d);},trace:function(){return this;},traceRejected:function(){return this;},toString:function(){return "[object Promise]";}});});},"dojo/request/watch":function(){define(["./util","../errors/RequestTimeoutError","../errors/CancelError","../_base/array","../_base/window","../has!host-browser?dom-addeventlistener?:../on:"],function(util,_52e,_52f,_530,win,on){var _531=null,_532=[];function _533(){var now=+(new Date);for(var i=0,dfd;i<_532.length&&(dfd=_532[i]);i++){var _534=dfd.response,_535=_534.options;if((dfd.isCanceled&&dfd.isCanceled())||(dfd.isValid&&!dfd.isValid(_534))){_532.splice(i--,1);_536._onAction&&_536._onAction();}else{if(dfd.isReady&&dfd.isReady(_534)){_532.splice(i--,1);dfd.handleResponse(_534);_536._onAction&&_536._onAction();}else{if(dfd.startTime){if(dfd.startTime+(_535.timeout||0)<now){_532.splice(i--,1);dfd.cancel(new _52e("Timeout exceeded",_534));_536._onAction&&_536._onAction();}}}}}_536._onInFlight&&_536._onInFlight(dfd);if(!_532.length){clearInterval(_531);_531=null;}};function _536(dfd){if(dfd.response.options.timeout){dfd.startTime=+(new Date);}if(dfd.isFulfilled()){return;}_532.push(dfd);if(!_531){_531=setInterval(_533,50);}if(dfd.response.options.sync){_533();}};_536.cancelAll=function cancelAll(){try{_530.forEach(_532,function(dfd){try{dfd.cancel(new _52f("All requests canceled."));}catch(e){}});}catch(e){}};if(win&&on&&win.doc.attachEvent){on(win.global,"unload",function(){_536.cancelAll();});}return _536;});},"dojo/on":function(){define(["./has!dom-addeventlistener?:./aspect","./_base/kernel","./sniff"],function(_537,dojo,has){"use strict";if(1){var _538=window.ScriptEngineMajorVersion;has.add("jscript",_538&&(_538()+ScriptEngineMinorVersion()/10));has.add("event-orientationchange",has("touch")&&!has("android"));has.add("event-stopimmediatepropagation",window.Event&&!!window.Event.prototype&&!!window.Event.prototype.stopImmediatePropagation);has.add("event-focusin",function(_539,doc,_53a){return !!_53a.attachEvent;});}var on=function(_53b,type,_53c,_53d){if(typeof _53b.on=="function"&&typeof type!="function"&&!_53b.nodeType){return _53b.on(type,_53c);}return on.parse(_53b,type,_53c,_53e,_53d,this);};on.pausable=function(_53f,type,_540,_541){var _542;var _543=on(_53f,type,function(){if(!_542){return _540.apply(this,arguments);}},_541);_543.pause=function(){_542=true;};_543.resume=function(){_542=false;};return _543;};on.once=function(_544,type,_545,_546){var _547=on(_544,type,function(){_547.remove();return _545.apply(this,arguments);});return _547;};on.parse=function(_548,type,_549,_54a,_54b,_54c){if(type.call){return type.call(_54c,_548,_549);}if(type.indexOf(",")>-1){var _54d=type.split(/\s*,\s*/);var _54e=[];var i=0;var _54f;while(_54f=_54d[i++]){_54e.push(_54a(_548,_54f,_549,_54b,_54c));}_54e.remove=function(){for(var i=0;i<_54e.length;i++){_54e[i].remove();}};return _54e;}return _54a(_548,type,_549,_54b,_54c);};var _550=/^touch/;function _53e(_551,type,_552,_553,_554){var _555=type.match(/(.*):(.*)/);if(_555){type=_555[2];_555=_555[1];return on.selector(_555,type).call(_554,_551,_552);}if(has("touch")){if(_550.test(type)){_552=_556(_552);}if(!has("event-orientationchange")&&(type=="orientationchange")){type="resize";_551=window;_552=_556(_552);}}if(_557){_552=_557(_552);}if(_551.addEventListener){var _558=type in _559,_55a=_558?_559[type]:type;_551.addEventListener(_55a,_552,_558);return {remove:function(){_551.removeEventListener(_55a,_552,_558);}};}type="on"+type;if(_55b&&_551.attachEvent){return _55b(_551,type,_552);}throw new Error("Target must be an event emitter");};on.selector=function(_55c,_55d,_55e){return function(_55f,_560){var _561=typeof _55c=="function"?{matches:_55c}:this,_562=_55d.bubble;function _563(_564){_561=_561&&_561.matches?_561:dojo.query;while(!_561.matches(_564,_55c,_55f)){if(_564==_55f||_55e===false||!(_564=_564.parentNode)||_564.nodeType!=1){return;}}return _564;};if(_562){return on(_55f,_562(_563),_560);}return on(_55f,_55d,function(_565){var _566=_563(_565.target);return _566&&_560.call(_566,_565);});};};function _567(){this.cancelable=false;this.defaultPrevented=true;};function _568(){this.bubbles=false;};var _569=[].slice,_56a=on.emit=function(_56b,type,_56c){var args=_569.call(arguments,2);var _56d="on"+type;if("parentNode" in _56b){var _56e=args[0]={};for(var i in _56c){_56e[i]=_56c[i];}_56e.preventDefault=_567;_56e.stopPropagation=_568;_56e.target=_56b;_56e.type=type;_56c=_56e;}do{_56b[_56d]&&_56b[_56d].apply(_56b,args);}while(_56c&&_56c.bubbles&&(_56b=_56b.parentNode));return _56c&&_56c.cancelable&&_56c;};var _559=has("event-focusin")?{}:{focusin:"focus",focusout:"blur"};if(!has("event-stopimmediatepropagation")){var _56f=function(){this.immediatelyStopped=true;this.modified=true;};var _557=function(_570){return function(_571){if(!_571.immediatelyStopped){_571.stopImmediatePropagation=_56f;return _570.apply(this,arguments);}};};}if(has("dom-addeventlistener")){on.emit=function(_572,type,_573){if(_572.dispatchEvent&&document.createEvent){var _574=_572.ownerDocument.createEvent("HTMLEvents");_574.initEvent(type,!!_573.bubbles,!!_573.cancelable);for(var i in _573){if(!(i in _574)){_574[i]=_573[i];}}return _572.dispatchEvent(_574)&&_574;}return _56a.apply(on,arguments);};}else{on._fixEvent=function(evt,_575){if(!evt){var w=_575&&(_575.ownerDocument||_575.document||_575).parentWindow||window;evt=w.event;}if(!evt){return evt;}try{if(_576&&evt.type==_576.type&&evt.srcElement==_576.target){evt=_576;}}catch(e){}if(!evt.target){evt.target=evt.srcElement;evt.currentTarget=(_575||evt.srcElement);if(evt.type=="mouseover"){evt.relatedTarget=evt.fromElement;}if(evt.type=="mouseout"){evt.relatedTarget=evt.toElement;}if(!evt.stopPropagation){evt.stopPropagation=_577;evt.preventDefault=_578;}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;_579(evt);break;}}return evt;};var _576,_57a=function(_57b){this.handle=_57b;};_57a.prototype.remove=function(){delete _dojoIEListeners_[this.handle];};var _57c=function(_57d){return function(evt){evt=on._fixEvent(evt,this);var _57e=_57d.call(this,evt);if(evt.modified){if(!_576){setTimeout(function(){_576=null;});}_576=evt;}return _57e;};};var _55b=function(_57f,type,_580){_580=_57c(_580);if(((_57f.ownerDocument?_57f.ownerDocument.parentWindow:_57f.parentWindow||_57f.window||window)!=top||has("jscript")<5.8)&&!has("config-_allow_leaks")){if(typeof _dojoIEListeners_=="undefined"){_dojoIEListeners_=[];}var _581=_57f[type];if(!_581||!_581.listeners){var _582=_581;_581=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);}}");_581.listeners=[];_57f[type]=_581;_581.global=this;if(_582){_581.listeners.push(_dojoIEListeners_.push(_582)-1);}}var _583;_581.listeners.push(_583=(_581.global._dojoIEListeners_.push(_580)-1));return new _57a(_583);}return _537.after(_57f,type,_580,true);};var _579=function(evt){evt.keyChar=evt.charCode?String.fromCharCode(evt.charCode):"";evt.charOrCode=evt.keyChar||evt.keyCode;};var _577=function(){this.cancelBubble=true;};var _578=on._preventDefault=function(){this.bubbledKeyCode=this.keyCode;if(this.ctrlKey){try{this.keyCode=0;}catch(e){}}this.defaultPrevented=true;this.returnValue=false;this.modified=true;};}if(has("touch")){var _584=function(){};var _585=window.orientation;var _556=function(_586){return function(_587){var _588=_587.corrected;if(!_588){var type=_587.type;try{delete _587.type;}catch(e){}if(_587.type){if(has("mozilla")){var _588={};for(var name in _587){_588[name]=_587[name];}}else{_584.prototype=_587;var _588=new _584;}_588.preventDefault=function(){_587.preventDefault();};_588.stopPropagation=function(){_587.stopPropagation();};}else{_588=_587;_588.type=type;}_587.corrected=_588;if(type=="resize"){if(_585==window.orientation){return null;}_585=window.orientation;_588.type="orientationchange";return _586.call(this,_588);}if(!("rotation" in _588)){_588.rotation=0;_588.scale=1;}var _589=_588.changedTouches[0];for(var i in _589){delete _588[i];_588[i]=_589[i];}}return _586.call(this,_588);};};}return on;});},"dojo/_base/sniff":function(){define(["./kernel","./lang","../sniff"],function(dojo,lang,has){if(!1){return has;}dojo._name="browser";lang.mixin(dojo,{isBrowser:true,isFF:has("ff"),isIE:has("ie"),isKhtml:has("khtml"),isWebKit:has("webkit"),isMozilla:has("mozilla"),isMoz:has("mozilla"),isOpera:has("opera"),isSafari:has("safari"),isChrome:has("chrome"),isMac:has("mac"),isIos:has("ios"),isAndroid:has("android"),isWii:has("wii"),isQuirks:has("quirks"),isAir:has("air")});return has;});},"dojo/errors/create":function(){define(["../_base/lang"],function(lang){return function(name,ctor,base,_58a){base=base||Error;var _58b=function(_58c){if(base===Error){if(Error.captureStackTrace){Error.captureStackTrace(this,_58b);}var err=Error.call(this,_58c),prop;for(prop in err){if(err.hasOwnProperty(prop)){this[prop]=err[prop];}}this.message=_58c;this.stack=err.stack;}else{base.apply(this,arguments);}if(ctor){ctor.apply(this,arguments);}};_58b.prototype=lang.delegate(base.prototype,_58a);_58b.prototype.name=name;_58b.prototype.constructor=_58b;return _58b;};});},"dojo/_base/array":function(){define(["./kernel","../has","./lang"],function(dojo,has,lang){var _58d={},u;function _58e(fn){return _58d[fn]=new Function("item","index","array",fn);};function _58f(some){var _590=!some;return function(a,fn,o){var i=0,l=a&&a.length||0,_591;if(l&&typeof a=="string"){a=a.split("");}if(typeof fn=="string"){fn=_58d[fn]||_58e(fn);}if(o){for(;i<l;++i){_591=!fn.call(o,a[i],i,a);if(some^_591){return !_591;}}}else{for(;i<l;++i){_591=!fn(a[i],i,a);if(some^_591){return !_591;}}}return _590;};};function _592(up){var _593=1,_594=0,_595=0;if(!up){_593=_594=_595=-1;}return function(a,x,from,last){if(last&&_593>0){return _596.lastIndexOf(a,x,from);}var l=a&&a.length||0,end=up?l+_595:_594,i;if(from===u){i=up?_594:l+_595;}else{if(from<0){i=l+from;if(i<0){i=_594;}}else{i=from>=l?l+_595:from;}}if(l&&typeof a=="string"){a=a.split("");}for(;i!=end;i+=_593){if(a[i]==x){return i;}}return -1;};};var _596={every:_58f(false),some:_58f(true),indexOf:_592(true),lastIndexOf:_592(false),forEach:function(arr,_597,_598){var i=0,l=arr&&arr.length||0;if(l&&typeof arr=="string"){arr=arr.split("");}if(typeof _597=="string"){_597=_58d[_597]||_58e(_597);}if(_598){for(;i<l;++i){_597.call(_598,arr[i],i,arr);}}else{for(;i<l;++i){_597(arr[i],i,arr);}}},map:function(arr,_599,_59a,Ctr){var i=0,l=arr&&arr.length||0,out=new (Ctr||Array)(l);if(l&&typeof arr=="string"){arr=arr.split("");}if(typeof _599=="string"){_599=_58d[_599]||_58e(_599);}if(_59a){for(;i<l;++i){out[i]=_599.call(_59a,arr[i],i,arr);}}else{for(;i<l;++i){out[i]=_599(arr[i],i,arr);}}return out;},filter:function(arr,_59b,_59c){var i=0,l=arr&&arr.length||0,out=[],_59d;if(l&&typeof arr=="string"){arr=arr.split("");}if(typeof _59b=="string"){_59b=_58d[_59b]||_58e(_59b);}if(_59c){for(;i<l;++i){_59d=arr[i];if(_59b.call(_59c,_59d,i,arr)){out.push(_59d);}}}else{for(;i<l;++i){_59d=arr[i];if(_59b(_59d,i,arr)){out.push(_59d);}}}return out;},clearCache:function(){_58d={};}};1&&lang.mixin(dojo,_596);return _596;});},"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,_59e){return json.stringify(it,function(key,_59f){if(_59f){var tf=_59f.__json__||_59f.json;if(typeof tf=="function"){return tf.call(_59f);}}return _59f;},_59e&&dojo.toJsonIndentStr);};return dojo;});},"dojo/_base/window":function(){define(["./kernel","./lang","../sniff"],function(dojo,lang,has){var ret={global:dojo.global,doc:this["document"]||null,body:function(doc){doc=doc||dojo.doc;return doc.body||doc.getElementsByTagName("body")[0];},setContext:function(_5a0,_5a1){dojo.global=ret.global=_5a0;dojo.doc=ret.doc=_5a1;},withGlobal:function(_5a2,_5a3,_5a4,_5a5){var _5a6=dojo.global;try{dojo.global=ret.global=_5a2;return ret.withDoc.call(null,_5a2.document,_5a3,_5a4,_5a5);}finally{dojo.global=ret.global=_5a6;}},withDoc:function(_5a7,_5a8,_5a9,_5aa){var _5ab=ret.doc,oldQ=has("quirks"),_5ac=has("ie"),isIE,mode,pwin;try{dojo.doc=ret.doc=_5a7;dojo.isQuirks=has.add("quirks",dojo.doc.compatMode=="BackCompat",true,true);if(has("ie")){if((pwin=_5a7.parentWindow)&&pwin.navigator){isIE=parseFloat(pwin.navigator.appVersion.split("MSIE ")[1])||undefined;mode=_5a7.documentMode;if(mode&&mode!=5&&Math.floor(isIE)!=mode){isIE=mode;}dojo.isIE=has.add("ie",isIE,true,true);}}if(_5a9&&typeof _5a8=="string"){_5a8=_5a9[_5a8];}return _5a8.apply(_5a9,_5aa||[]);}finally{dojo.doc=ret.doc=_5ab;dojo.isQuirks=has.add("quirks",oldQ,true,true);dojo.isIE=has.add("ie",_5ac,true,true);}}};1&&lang.mixin(dojo,ret);return ret;});},"dojo/dom-class":function(){define(["./_base/lang","./_base/array","./dom"],function(lang,_5ad,dom){var _5ae="className";var cls,_5af=/\s+/,a1=[""];function _5b0(s){if(typeof s=="string"||s instanceof String){if(s&&!_5af.test(s)){a1[0]=s;return a1;}var a=s.split(_5af);if(a.length&&!a[0]){a.shift();}if(a.length&&!a[a.length-1]){a.pop();}return a;}if(!s){return [];}return _5ad.filter(s,function(x){return x;});};var _5b1={};cls={contains:function containsClass(node,_5b2){return ((" "+dom.byId(node)[_5ae]+" ").indexOf(" "+_5b2+" ")>=0);},add:function addClass(node,_5b3){node=dom.byId(node);_5b3=_5b0(_5b3);var cls=node[_5ae],_5b4;cls=cls?" "+cls+" ":" ";_5b4=cls.length;for(var i=0,len=_5b3.length,c;i<len;++i){c=_5b3[i];if(c&&cls.indexOf(" "+c+" ")<0){cls+=c+" ";}}if(_5b4<cls.length){node[_5ae]=cls.substr(1,cls.length-2);}},remove:function removeClass(node,_5b5){node=dom.byId(node);var cls;if(_5b5!==undefined){_5b5=_5b0(_5b5);cls=" "+node[_5ae]+" ";for(var i=0,len=_5b5.length;i<len;++i){cls=cls.replace(" "+_5b5[i]+" "," ");}cls=lang.trim(cls);}else{cls="";}if(node[_5ae]!=cls){node[_5ae]=cls;}},replace:function replaceClass(node,_5b6,_5b7){node=dom.byId(node);_5b1[_5ae]=node[_5ae];cls.remove(_5b1,_5b7);cls.add(_5b1,_5b6);if(node[_5ae]!==_5b1[_5ae]){node[_5ae]=_5b1[_5ae];}},toggle:function toggleClass(node,_5b8,_5b9){node=dom.byId(node);if(_5b9===undefined){_5b8=_5b0(_5b8);for(var i=0,len=_5b8.length,c;i<len;++i){c=_5b8[i];cls[cls.contains(node,c)?"remove":"add"](node,c);}}else{cls[_5b9?"add":"remove"](node,_5b8);}return _5b9;}};return cls;});},"dojo/_base/config":function(){define(["../has","require"],function(has,_5ba){var _5bb={};if(1){var src=_5ba.rawConfig,p;for(p in src){_5bb[p]=src[p];}}else{var _5bc=function(_5bd,_5be,_5bf){for(p in _5bd){p!="has"&&has.add(_5be+p,_5bd[p],0,_5bf);}};_5bb=1?_5ba.rawConfig:this.dojoConfig||this.djConfig||{};_5bc(_5bb,"config",1);_5bc(_5bb.has,"",1);}if(!_5bb.locale&&typeof navigator!="undefined"){_5bb.locale=(navigator.language||navigator.userLanguage).toLowerCase();}return _5bb;});},"dojo/main":function(){define(["./_base/kernel","./has","require","./sniff","./_base/lang","./_base/array","./_base/config","./ready","./_base/declare","./_base/connect","./_base/Deferred","./_base/json","./_base/Color","./has!dojo-firebug?./_firebug/firebug","./_base/browser","./_base/loader"],function(_5c0,has,_5c1,_5c2,lang,_5c3,_5c4,_5c5){if(_5c4.isDebug){_5c1(["./_firebug/firebug"]);}1||has.add("dojo-config-require",1);if(1){var deps=_5c4.require;if(deps){deps=_5c3.map(lang.isArray(deps)?deps:[deps],function(item){return item.replace(/\./g,"/");});if(_5c0.isAsync){_5c1(deps);}else{_5c5(1,function(){_5c1(deps);});}}}return _5c0;});},"dojo/_base/event":function(){define(["./kernel","../on","../has","../dom-geometry"],function(dojo,on,has,dom){if(on._fixEvent){var _5c6=on._fixEvent;on._fixEvent=function(evt,se){evt=_5c6(evt,se);if(evt){dom.normalizeEvent(evt);}return evt;};}var ret={fix:function(evt,_5c7){if(on._fixEvent){return on._fixEvent(evt,_5c7);}return evt;},stop: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);}}};if(1){dojo.fixEvent=ret.fix;dojo.stopEvent=ret.stop;}return ret;});},"dojo/sniff":function(){define(["./has"],function(has){if(1){var n=navigator,dua=n.userAgent,dav=n.appVersion,tv=parseFloat(dav);has.add("air",dua.indexOf("AdobeAIR")>=0);has.add("msapp",parseFloat(dua.split("MSAppHost/")[1])||undefined);has.add("khtml",dav.indexOf("Konqueror")>=0?tv:undefined);has.add("webkit",parseFloat(dua.split("WebKit/")[1])||undefined);has.add("chrome",parseFloat(dua.split("Chrome/")[1])||undefined);has.add("safari",dav.indexOf("Safari")>=0&&!has("chrome")?parseFloat(dav.split("Version/")[1]):undefined);has.add("mac",dav.indexOf("Macintosh")>=0);has.add("quirks",document.compatMode=="BackCompat");if(dua.match(/(iPhone|iPod|iPad)/)){var p=RegExp.$1.replace(/P/,"p");var v=dua.match(/OS ([\d_]+)/)?RegExp.$1:"1";var os=parseFloat(v.replace(/_/,".").replace(/_/g,""));has.add(p,os);has.add("ios",os);}has.add("android",parseFloat(dua.split("Android ")[1])||undefined);has.add("bb",(dua.indexOf("BlackBerry")>=0||dua.indexOf("BB10")>=0)&&parseFloat(dua.split("Version/")[1])||undefined);has.add("svg",typeof SVGAngle!=="undefined");if(!has("webkit")){if(dua.indexOf("Opera")>=0){has.add("opera",tv>=9.8?parseFloat(dua.split("Version/")[1])||tv:tv);}if(dua.indexOf("Gecko")>=0&&!has("khtml")&&!has("webkit")){has.add("mozilla",tv);}if(has("mozilla")){has.add("ff",parseFloat(dua.split("Firefox/")[1]||dua.split("Minefield/")[1])||undefined);}if(document.all&&!has("opera")){var isIE=parseFloat(dav.split("MSIE ")[1])||undefined;var mode=document.documentMode;if(mode&&mode!=5&&Math.floor(isIE)!=mode){isIE=mode;}has.add("ie",isIE);}has.add("wii",typeof opera!="undefined"&&opera.wiiremote);}}return has;});},"dojo/request/handlers":function(){define(["../json","../_base/kernel","../_base/array","../has","../selector/_loader"],function(JSON,_5c8,_5c9,has){has.add("activex",typeof ActiveXObject!=="undefined");has.add("dom-parser",function(_5ca){return "DOMParser" in _5ca;});var _5cb;if(has("activex")){var dp=["Msxml2.DOMDocument.6.0","Msxml2.DOMDocument.4.0","MSXML2.DOMDocument.3.0","MSXML.DOMDocument"];_5cb=function(_5cc){var _5cd=_5cc.data;if(_5cd&&has("dom-qsa2.1")&&!_5cd.querySelectorAll&&has("dom-parser")){_5cd=new DOMParser().parseFromString(_5cc.text,"application/xml");}if(!_5cd||!_5cd.documentElement){var text=_5cc.text;_5c9.some(dp,function(p){try{var dom=new ActiveXObject(p);dom.async=false;dom.loadXML(text);_5cd=dom;}catch(e){return false;}return true;});}return _5cd;};}var _5ce={"javascript":function(_5cf){return _5c8.eval(_5cf.text||"");},"json":function(_5d0){return JSON.parse(_5d0.text||null);},"xml":_5cb};function _5d1(_5d2){var _5d3=_5ce[_5d2.options.handleAs];_5d2.data=_5d3?_5d3(_5d2):(_5d2.data||_5d2.text);return _5d2;};_5d1.register=function(name,_5d4){_5ce[name]=_5d4;};return _5d1;});},"dojo/aspect":function(){define([],function(){"use strict";var _5d5,_5d6=0;function _5d7(_5d8,type,_5d9,_5da){var _5db=_5d8[type];var _5dc=type=="around";var _5dd;if(_5dc){var _5de=_5d9(function(){return _5db.advice(this,arguments);});_5dd={remove:function(){if(_5de){_5de=_5d8=_5d9=null;}},advice:function(_5df,args){return _5de?_5de.apply(_5df,args):_5db.advice(_5df,args);}};}else{_5dd={remove:function(){if(_5dd.advice){var _5e0=_5dd.previous;var next=_5dd.next;if(!next&&!_5e0){delete _5d8[type];}else{if(_5e0){_5e0.next=next;}else{_5d8[type]=next;}if(next){next.previous=_5e0;}}_5d8=_5d9=_5dd.advice=null;}},id:_5d6++,advice:_5d9,receiveArguments:_5da};}if(_5db&&!_5dc){if(type=="after"){while(_5db.next&&(_5db=_5db.next)){}_5db.next=_5dd;_5dd.previous=_5db;}else{if(type=="before"){_5d8[type]=_5dd;_5dd.next=_5db;_5db.previous=_5dd;}}}else{_5d8[type]=_5dd;}return _5dd;};function _5e1(type){return function(_5e2,_5e3,_5e4,_5e5){var _5e6=_5e2[_5e3],_5e7;if(!_5e6||_5e6.target!=_5e2){_5e2[_5e3]=_5e7=function(){var _5e8=_5d6;var args=arguments;var _5e9=_5e7.before;while(_5e9){args=_5e9.advice.apply(this,args)||args;_5e9=_5e9.next;}if(_5e7.around){var _5ea=_5e7.around.advice(this,args);}var _5eb=_5e7.after;while(_5eb&&_5eb.id<_5e8){if(_5eb.receiveArguments){var _5ec=_5eb.advice.apply(this,args);_5ea=_5ec===_5d5?_5ea:_5ec;}else{_5ea=_5eb.advice.call(this,_5ea,args);}_5eb=_5eb.next;}return _5ea;};if(_5e6){_5e7.around={advice:function(_5ed,args){return _5e6.apply(_5ed,args);}};}_5e7.target=_5e2;}var _5ee=_5d7((_5e7||_5e6),type,_5e4,_5e5);_5e4=null;return _5ee;};};var _5ef=_5e1("after");var _5f0=_5e1("before");var _5f1=_5e1("around");return {before:_5f0,around:_5f1,after:_5ef};});},"dojo/ready":function(){define(["./_base/kernel","./has","require","./domReady","./_base/lang"],function(dojo,has,_5f2,_5f3,lang){var _5f4=0,_5f5=[],_5f6=0,_5f7=function(){_5f4=1;dojo._postLoad=dojo.config.afterOnLoad=true;_5f8();},_5f8=function(){if(_5f6){return;}_5f6=1;while(_5f4&&(!_5f3||_5f3._Q.length==0)&&(_5f2.idle?_5f2.idle():true)&&_5f5.length){var f=_5f5.shift();try{f();}catch(e){e.info=e.message;if(_5f2.signal){_5f2.signal("error",e);}else{throw e;}}}_5f6=0;};_5f2.on&&_5f2.on("idle",_5f8);if(_5f3){_5f3._onQEmpty=_5f8;}var _5f9=dojo.ready=dojo.addOnLoad=function(_5fa,_5fb,_5fc){var _5fd=lang._toArray(arguments);if(typeof _5fa!="number"){_5fc=_5fb;_5fb=_5fa;_5fa=1000;}else{_5fd.shift();}_5fc=_5fc?lang.hitch.apply(dojo,_5fd):function(){_5fb();};_5fc.priority=_5fa;for(var i=0;i<_5f5.length&&_5fa>=_5f5[i].priority;i++){}_5f5.splice(i,0,_5fc);_5f8();};1||has.add("dojo-config-addOnLoad",1);if(1){var dca=dojo.config.addOnLoad;if(dca){_5f9[(lang.isArray(dca)?"apply":"call")](dojo,dca);}}if(1&&dojo.config.parseOnLoad&&!dojo.isAsync){_5f9(99,function(){if(!dojo.parser){dojo.deprecated("Add explicit require(['dojo/parser']);","","2.0");_5f2(["dojo/parser"]);}});}if(_5f3){_5f3(_5f7);}else{_5f7();}return _5f9;});},"dojo/_base/connect":function(){define(["./kernel","../on","../topic","../aspect","./event","../mouse","./sniff","./lang","../keys"],function(dojo,on,hub,_5fe,_5ff,_600,has,lang){has.add("events-keypress-typed",function(){var _601={charCode:0};try{_601=document.createEvent("KeyboardEvent");(_601.initKeyboardEvent||_601.initKeyEvent).call(_601,"keypress",true,true,null,false,false,false,false,9,3);}catch(e){}return _601.charCode==0&&!has("opera");});function _602(obj,_603,_604,_605,_606){_605=lang.hitch(_604,_605);if(!obj||!(obj.addEventListener||obj.attachEvent)){return _5fe.after(obj||dojo.global,_603,_605,true);}if(typeof _603=="string"&&_603.substring(0,2)=="on"){_603=_603.substring(2);}if(!obj){obj=dojo.global;}if(!_606){switch(_603){case "keypress":_603=_607;break;case "mouseenter":_603=_600.enter;break;case "mouseleave":_603=_600.leave;break;}}return on(obj,_603,_605,_606);};var _608={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 _609=has("mac")?"metaKey":"ctrlKey";var _60a=function(evt,_60b){var faux=lang.mixin({},evt,_60b);_60c(faux);faux.preventDefault=function(){evt.preventDefault();};faux.stopPropagation=function(){evt.stopPropagation();};return faux;};function _60c(evt){evt.keyChar=evt.charCode?String.fromCharCode(evt.charCode):"";evt.charOrCode=evt.keyChar||evt.keyCode;};var _607;if(has("events-keypress-typed")){var _60d=function(e,code){try{return (e.keyCode=code);}catch(e){return 0;}};_607=function(_60e,_60f){var _610=on(_60e,"keydown",function(evt){var k=evt.keyCode;var _611=(k!=13)&&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(_611||evt.ctrlKey){var c=_611?0:k;if(evt.ctrlKey){if(k==3||k==13){return _60f.call(evt.currentTarget,evt);}else{if(c>95&&c<106){c-=48;}else{if((!evt.shiftKey)&&(c>=65&&c<=90)){c+=32;}else{c=_608[c]||c;}}}}var faux=_60a(evt,{type:"keypress",faux:true,charCode:c});_60f.call(evt.currentTarget,faux);if(has("ie")){_60d(evt,faux.keyCode);}}});var _612=on(_60e,"keypress",function(evt){var c=evt.charCode;c=c>=32?c:0;evt=_60a(evt,{charCode:c,faux:true});return _60f.call(this,evt);});return {remove:function(){_610.remove();_612.remove();}};};}else{if(has("opera")){_607=function(_613,_614){return on(_613,"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 _614.call(this,_60a(evt,{charCode:c}));});};}else{_607=function(_615,_616){return on(_615,"keypress",function(evt){_60c(evt);return _616.call(this,evt);});};}}var _617={_keypress:_607,connect:function(obj,_618,_619,_61a,_61b){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 _602.apply(this,args);},disconnect:function(_61c){if(_61c){_61c.remove();}},subscribe:function(_61d,_61e,_61f){return hub.subscribe(_61d,lang.hitch(_61e,_61f));},publish:function(_620,args){return hub.publish.apply(hub,[_620].concat(args));},connectPublisher:function(_621,obj,_622){var pf=function(){_617.publish(_621,arguments);};return _622?_617.connect(obj,_622,pf):_617.connect(obj,pf);},isCopyKey:function(e){return e[_609];}};_617.unsubscribe=_617.disconnect;1&&lang.mixin(dojo,_617);return _617;});},"dojo/errors/CancelError":function(){define(["./create"],function(_623){return _623("CancelError",null,null,{dojoType:"cancel"});});}}});(function(){var _624=this.require;_624({cache:{}});!_624.async&&_624(["dojo"]);_624.boot&&_624.apply(null,_624.boot);})();