You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tt-rss/lib/dojo/dojo.js

8 lines
142 KiB
JavaScript

/*
Copyright (c) 2004-2016, The JS Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
//>>built
(function(_1,_2){var _3=(function(){if(typeof _4!=="undefined"&&typeof _4!=="function"){return _4;}else{if(typeof window!=="undefined"){return window;}else{if(typeof self!=="undefined"){return self;}}}return this;})();var _5=function(){},_6=function(it){for(var p in it){return 0;}return 1;},_7={}.toString,_8=function(it){return _7.call(it)=="[object Function]";},_9=function(it){return _7.call(it)=="[object String]";},_a=function(it){return _7.call(it)=="[object Array]";},_b=function(_c,_d){if(_c){for(var i=0;i<_c.length;){_d(_c[i++]);}}},_e=function(_f,src){for(var p in src){_f[p]=src[p];}return _f;},_10=function(_11,_12){return _e(new Error(_11),{src:"dojoLoader",info:_12});},_13=1,uid=function(){return "_"+_13++;},req=function(_14,_15,_16){return _17(_14,_15,_16,0,req);},_4=_3,doc=_4.document,_18=doc&&doc.createElement("DiV"),has=req.has=function(_19){return _8(_1a[_19])?(_1a[_19]=_1a[_19](_4,doc,_18)):_1a[_19];},_1a=has.cache=_2.hasCache;if(_8(_1)){_1=_1(_3);}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);}has.add("host-webworker",((typeof WorkerGlobalScope!=="undefined")&&(self instanceof WorkerGlobalScope)));if(has("host-webworker")){_e(_2.hasCache,{"host-browser":0,"dom":0,"dojo-dom-ready-api":0,"dojo-sniff":0,"dojo-inject-api":1,"host-webworker":1,"dojo-guarantee-console":0});_2.loaderPatch={injectUrl:function(url,_20){try{importScripts(url);_20();}catch(e){console.error(e);}}};}for(var p in _1.has){has.add(p,_1.has[p],0,1);}var _21=1,_22=2,_23=3,_24=4,_25=5;if(0){_21="requested";_22="arrived";_23="not-a-module";_24="executing";_25="executed";}var _26=0,_27="sync",xd="xd",_28=[],_29=0,_2a=_5,_2b=_5,_2c;if(1){req.isXdUrl=_5;req.initSyncLoader=function(_2d,_2e,_2f){if(!_29){_29=_2d;_2a=_2e;_2b=_2f;}return {sync:_27,requested:_21,arrived:_22,nonmodule:_23,executing:_24,executed:_25,syncExecStack:_28,modules:_30,execQ:_31,getModule:_32,injectModule:_33,setArrived:_34,signal:_35,finishExec:_36,execModule:_37,dojoRequirePlugin:_29,getLegacyMode:function(){return _26;},guardCheckComplete:_38};};if(1||has("host-webworker")){var _39=location.protocol,_3a=location.host;req.isXdUrl=function(url){if(/^\./.test(url)){return false;}if(/^\/\//.test(url)){return true;}var _3b=url.match(/^([^\/\:]+\:)\/+([^\/]+)/);return _3b&&(_3b[1]!=_39||(_3a&&_3b[2]!=_3a));};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")){_2c=function(){return new XMLHttpRequest();};}else{for(var _3c=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],_3d,i=0;i<3;){try{_3d=_3c[i++];if(new ActiveXObject(_3d)){break;}}catch(e){}}_2c=function(){return new ActiveXObject(_3d);};}req.getXhr=_2c;has.add("dojo-gettext-api",1);req.getText=function(url,_3e,_3f){var xhr=_2c();xhr.open("GET",_40(url),false);xhr.send(null);if(xhr.status==200||(!location.host&&!xhr.status)){if(_3f){_3f(xhr.responseText,_3e);}}else{throw _10("xhrFailed",xhr.status);}return xhr.responseText;};}}else{req.async=1;}var _41=has("csp-restrictions")?function(){}:new Function("return eval(arguments[0]);");req.eval=function(_42,_43){return _41(_42+"\r\n//# sourceURL="+_43);};var _44={},_45="error",_35=req.signal=function(_46,_47){var _48=_44[_46];_b(_48&&_48.slice(0),function(_49){_49.apply(null,_a(_47)?_47:[_47]);});},on=req.on=function(_4a,_4b){var _4c=_44[_4a]||(_44[_4a]=[]);_4c.push(_4b);return {remove:function(){for(var i=0;i<_4c.length;i++){if(_4c[i]===_4b){_4c.splice(i,1);return;}}}};};var _4d=[],_4e={},_4f=[],_50={},map=req.map={},_51=[],_30={},_52="",_53={},_54="url:",_55={},_56={},_57=0;if(1){if(!has("foreign-loader")){var _58=function(_59,_5a){_5a=_5a!==false;var p,_5b,_5c,now,m;for(p in _55){_5b=_55[p];_5c=p.match(/^url\:(.+)/);if(_5c){_53[_54+_5d(_5c[1],_59)]=_5b;}else{if(p=="*now"){now=_5b;}else{if(p!="*noref"){m=_5e(p,_59,true);_53[m.mid]=_53[_54+m.url]=_5b;}}}}if(now){now(_5f(_59));}if(_5a){_55={};}};}var _60=function(s){return s.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(c){return "\\"+c;});},_61=function(map,_62){_62.splice(0,_62.length);for(var p in map){_62.push([p,map[p],new RegExp("^"+_60(p)+"(/|$)"),p.length]);}_62.sort(function(lhs,rhs){return rhs[3]-lhs[3];});return _62;},_63=function(_64,_65){_b(_64,function(_66){_65.push([_9(_66[0])?new RegExp("^"+_60(_66[0])+"$"):_66[0],_66[1]]);});},_67=function(_68){var _69=_68.name;if(!_69){_69=_68;_68={name:_69};}_68=_e({main:"main"},_68);_68.location=_68.location?_68.location:_69;if(_68.packageMap){map[_69]=_68.packageMap;}if(!_68.main.indexOf("./")){_68.main=_68.main.substring(2);}_50[_69]=_68;},_6a=[],_6b=function(_6c,_6d,_6e){for(var p in _6c){if(p=="waitSeconds"){req.waitms=(_6c[p]||0)*1000;}if(p=="cacheBust"){_52=_6c[p]?(_9(_6c[p])?_6c[p]:(new Date()).getTime()+""):"";}if(p=="baseUrl"||p=="combo"){req[p]=_6c[p];}if(1&&p=="async"){var _6f=_6c[p];req.legacyMode=_26=(_9(_6f)&&/sync|legacyAsync/.test(_6f)?_6f:(!_6f?_27:false));req.async=!_26;}if(_6c[p]!==_1a){req.rawConfig[p]=_6c[p];p!="has"&&has.add("config-"+p,_6c[p],0,_6d);}}if(!req.baseUrl){req.baseUrl="./";}if(!/\/$/.test(req.baseUrl)){req.baseUrl+="/";}for(p in _6c.has){has.add(p,_6c.has[p],0,_6d);}_b(_6c.packages,_67);for(var _70 in _6c.packagePaths){_b(_6c.packagePaths[_70],function(_71){var _72=_70+"/"+_71;if(_9(_71)){_71={name:_71};}_71.location=_72;_67(_71);});}_61(_e(map,_6c.map),_51);_b(_51,function(_73){_73[1]=_61(_73[1],[]);if(_73[0]=="*"){_51.star=_73;}});_61(_e(_4e,_6c.paths),_4f);_63(_6c.aliases,_4d);if(!has("foreign-loader")){if(_6d){_6a.push({config:_6c.config});}else{for(p in _6c.config){var _74=_32(p,_6e);_74.config=_e(_74.config||{},_6c.config[p]);}}if(_6c.cache){_58();_55=_6c.cache;_58(0,!!_6c.cache["*noref"]);}}_35("config",[_6c,req.rawConfig]);};if(has("dojo-cdn")||1){var _75=doc.getElementsByTagName("script"),i=0,_76,_77,src,_78;while(i<_75.length){_76=_75[i++];if((src=_76.getAttribute("src"))&&(_78=src.match(/(((.*)\/)|^)dojo\.js(\W|$)/i))){_77=_78[3]||"";_2.baseUrl=_2.baseUrl||_77;_57=_76;}if((src=(_76.getAttribute("data-dojo-config")||_76.getAttribute("djConfig")))){_56=req.eval("({ "+src+" })","data-dojo-config");_57=_76;}if(0){if((src=_76.getAttribute("data-main"))){_56.deps=_56.deps||[src];}}}}if(0){try{if(window.parent!=window&&window.parent.require){var doh=window.parent.require("doh");doh&&_e(_56,doh.testConfig);}}catch(e){}}req.rawConfig={};_6b(_2,1);if(has("dojo-cdn")){_50.dojo.location=_77;if(_77){_77+="/";}_50.dijit.location=_77+"../dijit/";_50.dojox.location=_77+"../dojox/";}_6b(_1,1);_6b(_56,1);}else{_4e=_2.paths;_4f=_2.pathsMapProg;_50=_2.packs;_4d=_2.aliases;_51=_2.mapProgs;_30=_2.modules;_53=_2.cache;_52=_2.cacheBust;req.rawConfig=_2;}if(!has("foreign-loader")){if(0){req.combo=req.combo||{add:_5};var _79=0,_7a=[],_7b=null;}var _7c=function(_7d){_38(function(){_b(_7d.deps,_33);if(0&&_79&&!_7b){_7b=setTimeout(function(){_79=0;_7b=null;req.combo.done(function(_7e,url){var _7f=function(){_80(0,_7e);_81();};_7a.push(_7e);_82=_7e;req.injectUrl(url,_7f,_7e);_82=0;},req);},0);}});},_17=function(a1,a2,a3,_83,_84){var _85,_86;if(_9(a1)){_85=_32(a1,_83,true);if(_85&&_85.executed){return _85.result;}throw _10("undefinedModule",a1);}if(!_a(a1)){_6b(a1,0,_83);a1=a2;a2=a3;}if(_a(a1)){if(!a1.length){a2&&a2();}else{_86="require*"+uid();for(var mid,_87=[],i=0;i<a1.length;){mid=a1[i++];_87.push(_32(mid,_83));}_85=_e(_88("",_86,0,""),{injected:_22,deps:_87,def:a2||_5,require:_83?_83.require:req,gc:1});_30[_85.mid]=_85;_7c(_85);var _89=_8a&&_26!=_27;_38(function(){_37(_85,_89);});if(!_85.executed){_31.push(_85);}_81();}}return _84;},_5f=function(_8b){if(!_8b){return req;}var _8c=_8b.require;if(!_8c){_8c=function(a1,a2,a3){return _17(a1,a2,a3,_8b,_8c);};_8b.require=_e(_8c,req);_8c.module=_8b;_8c.toUrl=function(_8d){return _5d(_8d,_8b);};_8c.toAbsMid=function(mid){return _bc(mid,_8b);};if(0){_8c.undef=function(mid){req.undef(mid,_8b);};}if(1){_8c.syncLoadNls=function(mid){var _8e=_5e(mid,_8b),_8f=_30[_8e.mid];if(!_8f||!_8f.executed){_90=_53[_8e.mid]||_53[_54+_8e.url];if(_90){_91(_90);_8f=_30[_8e.mid];}}return _8f&&_8f.executed&&_8f.result;};}}return _8c;},_31=[],_92=[],_93={},_94=function(_95){_95.injected=_21;_93[_95.mid]=1;if(_95.url){_93[_95.url]=_95.pack||1;}_96();},_34=function(_97){_97.injected=_22;delete _93[_97.mid];if(_97.url){delete _93[_97.url];}if(_6(_93)){_98();1&&_26==xd&&(_26=_27);}},_99=req.idle=function(){return !_92.length&&_6(_93)&&!_31.length&&!_8a;};}var _9a=function(_9b,map){if(map){for(var i=0;i<map.length;i++){if(map[i][2].test(_9b)){return map[i];}}}return 0;},_9c=function(_9d){var _9e=[],_9f,_a0;_9d=_9d.replace(/\\/g,"/").split("/");while(_9d.length){_9f=_9d.shift();if(_9f==".."&&_9e.length&&_a0!=".."){_9e.pop();_a0=_9e[_9e.length-1];}else{if(_9f!="."){_9e.push(_a0=_9f);}}}return _9e.join("/");},_88=function(pid,mid,_a1,url){if(1){var xd=req.isXdUrl(url);return {pid:pid,mid:mid,pack:_a1,url:url,executed:0,def:0,isXd:xd,isAmd:!!(xd||(_50[pid]&&_50[pid].isAmd))};}else{return {pid:pid,mid:mid,pack:_a1,url:url,executed:0,def:0};}},_a2=function(mid,_a3,_a4,_a5,_a6,_a7,_a8,_a9,_aa,_ab){var pid,_ac,_ad,_ae,url,_af,_b0,_b1;_b1=mid;_b0=/^\./.test(mid);if(/(^\/)|(\:)|(\.js$)/.test(mid)||(_b0&&!_a3)){return _88(0,mid,0,mid);}else{mid=_9c(_b0?(_a3.mid+"/../"+mid):mid);if(/^\./.test(mid)){throw _10("irrationalPath",mid);}if(!_ab&&!_b0&&_a7.star){_ae=_9a(mid,_a7.star[1]);}if(!_ae&&_a3){_ae=_9a(_a3.mid,_a7);_ae=_ae&&_9a(mid,_ae[1]);}if(_ae){mid=_ae[1]+mid.substring(_ae[3]);}_78=mid.match(/^([^\/]+)(\/(.+))?$/);pid=_78?_78[1]:"";if((_ac=_a4[pid])){mid=pid+"/"+(_ad=(_78[3]||_ac.main));}else{pid="";}var _b2=0,_b3=0;_b(_a9,function(_b4){var _b5=mid.match(_b4[0]);if(_b5&&_b5.length>_b2){_b3=_8(_b4[1])?mid.replace(_b4[0],_b4[1]):_b4[1];}});if(_b3){return _a2(_b3,0,_a4,_a5,_a6,_a7,_a8,_a9,_aa);}_af=_a5[mid];if(_af){return _aa?_88(_af.pid,_af.mid,_af.pack,_af.url):_a5[mid];}}_ae=_9a(mid,_a8);if(_ae){url=_ae[1]+mid.substring(_ae[3]);}else{if(pid){url=(_ac.location.slice(-1)==="/"?_ac.location.slice(0,-1):_ac.location)+"/"+_ad;}else{if(has("config-tlmSiblingOfDojo")){url="../"+mid;}else{url=mid;}}}if(!(/(^\/)|(\:)/.test(url))){url=_a6+url;}url+=".js";return _88(pid,mid,_ac,_9c(url));},_5e=function(mid,_b6,_b7){return _a2(mid,_b6,_50,_30,req.baseUrl,_51,_4f,_4d,undefined,_b7);};if(!has("foreign-loader")){var _b8=function(_b9,_ba,_bb){return _b9.normalize?_b9.normalize(_ba,function(mid){return _bc(mid,_bb);}):_bc(_ba,_bb);},_bd=0,_32=function(mid,_be,_bf){var _c0,_c1,_c2,_c3;_c0=mid.match(/^(.+?)\!(.*)$/);if(_c0){_c1=_32(_c0[1],_be,_bf);if(1&&_26==_27&&!_c1.executed){_33(_c1);if(_c1.injected===_22&&!_c1.executed){_38(function(){_37(_c1);});}if(_c1.executed){_c4(_c1);}else{_31.unshift(_c1);}}if(_c1.executed===_25&&!_c1.load){_c4(_c1);}if(_c1.load){_c2=_b8(_c1,_c0[2],_be);mid=(_c1.mid+"!"+(_c1.dynamic?++_bd+"!":"")+_c2);}else{_c2=_c0[2];mid=_c1.mid+"!"+(++_bd)+"!waitingForPlugin";}_c3={plugin:_c1,mid:mid,req:_5f(_be),prid:_c2};}else{_c3=_5e(mid,_be);}return _30[_c3.mid]||(!_bf&&(_30[_c3.mid]=_c3));};}var _bc=req.toAbsMid=function(mid,_c5){return _5e(mid,_c5).mid;},_5d=req.toUrl=function(_c6,_c7){var _c8=_5e(_c6+"/x",_c7),url=_c8.url;return _40(_c8.pid===0?_c6:url.substring(0,url.length-5));};if(!has("foreign-loader")){var _c9={injected:_22,executed:_25,def:_23,result:_23},_ca=function(mid){return _30[mid]=_e({mid:mid},_c9);},_cb=_ca("require"),_cc=_ca("exports"),_cd=_ca("module"),_ce=function(_cf,_d0){req.trace("loader-run-factory",[_cf.mid]);var _d1=_cf.def,_d2;1&&_28.unshift(_cf);if(has("config-dojo-loader-catches")){try{_d2=_8(_d1)?_d1.apply(null,_d0):_d1;}catch(e){_35(_45,_cf.result=_10("factoryThrew",[_cf,e]));}}else{_d2=_8(_d1)?_d1.apply(null,_d0):_d1;}_cf.result=_d2===undefined&&_cf.cjs?_cf.cjs.exports:_d2;1&&_28.shift(_cf);},_d3={},_d4=0,_c4=function(_d5){var _d6=_d5.result;_d5.dynamic=_d6.dynamic;_d5.normalize=_d6.normalize;_d5.load=_d6.load;return _d5;},_d7=function(_d8){var map={};_b(_d8.loadQ,function(_d9){var _da=_b8(_d8,_d9.prid,_d9.req.module),mid=_d8.dynamic?_d9.mid.replace(/waitingForPlugin$/,_da):(_d8.mid+"!"+_da),_db=_e(_e({},_d9),{mid:mid,prid:_da,injected:0});if(!_30[mid]||!_30[mid].injected){_ed(_30[mid]=_db);}map[_d9.mid]=_30[mid];_34(_d9);delete _30[_d9.mid];});_d8.loadQ=0;var _dc=function(_dd){for(var _de,_df=_dd.deps||[],i=0;i<_df.length;i++){_de=map[_df[i].mid];if(_de){_df[i]=_de;}}};for(var p in _30){_dc(_30[p]);}_b(_31,_dc);},_36=function(_e0){req.trace("loader-finish-exec",[_e0.mid]);_e0.executed=_25;_e0.defOrder=_d4++;1&&_b(_e0.provides,function(cb){cb();});if(_e0.loadQ){_c4(_e0);_d7(_e0);}for(i=0;i<_31.length;){if(_31[i]===_e0){_31.splice(i,1);}else{i++;}}if(/^require\*/.test(_e0.mid)){delete _30[_e0.mid];}},_e1=[],_37=function(_e2,_e3){if(_e2.executed===_24){req.trace("loader-circular-dependency",[_e1.concat(_e2.mid).join("->")]);return (!_e2.def||_e3)?_d3:(_e2.cjs&&_e2.cjs.exports);}if(!_e2.executed){if(!_e2.def){return _d3;}var mid=_e2.mid,_e4=_e2.deps||[],arg,_e5,_e6=[],i=0;if(0){_e1.push(mid);req.trace("loader-exec-module",["exec",_e1.length,mid]);}_e2.executed=_24;while((arg=_e4[i++])){_e5=((arg===_cb)?_5f(_e2):((arg===_cc)?_e2.cjs.exports:((arg===_cd)?_e2.cjs:_37(arg,_e3))));if(_e5===_d3){_e2.executed=0;req.trace("loader-exec-module",["abort",mid]);0&&_e1.pop();return _d3;}_e6.push(_e5);}_ce(_e2,_e6);_36(_e2);0&&_e1.pop();}return _e2.result;},_8a=0,_38=function(_e7){try{_8a++;_e7();}catch(e){throw e;}finally{_8a--;}if(_99()){_35("idle",[]);}},_81=function(){if(_8a){return;}_38(function(){_2a();for(var _e8,_e9,i=0;i<_31.length;){_e8=_d4;_e9=_31[i];_37(_e9);if(_e8!=_d4){_2a();i=0;}else{i++;}}});};}var _40=typeof _1.fixupUrl=="function"?_1.fixupUrl:function(url){url+="";return url+(_52?((/\?/.test(url)?"&":"?")+_52):"");};if(0){req.undef=function(_ea,_eb){var _ec=_32(_ea,_eb);_34(_ec);_e(_ec,{def:0,executed:0,injected:0,node:0,load:0});};}if(1){if(has("dojo-loader-eval-hint-url")===undefined){has.add("dojo-loader-eval-hint-url",1);}var _ed=function(_ee){var _ef=_ee.plugin;if(_ef.executed===_25&&!_ef.load){_c4(_ef);}var _f0=function(def){_ee.result=def;_34(_ee);_36(_ee);_81();};if(_ef.load){_ef.load(_ee.prid,_ee.req,_f0);}else{if(_ef.loadQ){_ef.loadQ.push(_ee);}else{_ef.loadQ=[_ee];_31.unshift(_ef);_33(_ef);}}},_90=0,_82=0,_f1=0,_91=function(_f2,_f3){if(has("config-stripStrict")){_f2=_f2.replace(/(["'])use strict\1/g,"");}_f1=1;if(has("config-dojo-loader-catches")){try{if(_f2===_90){_90.call(null);}else{req.eval(_f2,has("dojo-loader-eval-hint-url")?_f3.url:_f3.mid);}}catch(e){_35(_45,_10("evalModuleThrew",_f3));}}else{if(_f2===_90){_90.call(null);}else{req.eval(_f2,has("dojo-loader-eval-hint-url")?_f3.url:_f3.mid);}}_f1=0;},_33=function(_f4){var mid=_f4.mid,url=_f4.url;if(_f4.executed||_f4.injected||_93[mid]||(_f4.url&&((_f4.pack&&_93[_f4.url]===_f4.pack)||_93[_f4.url]==1))){return;}_94(_f4);if(0){var _f5=0;if(_f4.plugin&&_f4.plugin.isCombo){req.combo.add(_f4.plugin.mid,_f4.prid,0,req);_f5=1;}else{if(!_f4.plugin){_f5=req.combo.add(0,_f4.mid,_f4.url,req);}}if(_f5){_79=1;return;}}if(_f4.plugin){_ed(_f4);return;}var _f6=function(){_80(_f4);if(_f4.injected!==_22){if(has("dojo-enforceDefine")){_35(_45,_10("noDefine",_f4));return;}_34(_f4);_e(_f4,_c9);req.trace("loader-define-nonmodule",[_f4.url]);}if(1&&_26){!_28.length&&_81();}else{_81();}};_90=_53[mid]||_53[_54+_f4.url];if(_90){req.trace("loader-inject",["cache",_f4.mid,url]);_91(_90,_f4);_f6();return;}if(1&&_26){if(_f4.isXd){_26==_27&&(_26=xd);}else{if(_f4.isAmd&&_26!=_27){}else{var _f7=function(_f8){if(_26==_27){_28.unshift(_f4);_91(_f8,_f4);_28.shift();_80(_f4);if(!_f4.cjs){_34(_f4);_36(_f4);}if(_f4.finish){var _f9=mid+"*finish",_fa=_f4.finish;delete _f4.finish;def(_f9,["dojo",("dojo/require!"+_fa.join(",")).replace(/\./g,"/")],function(_fb){_b(_fa,function(mid){_fb.require(mid);});});_31.unshift(_32(_f9));}_f6();}else{_f8=_2b(_f4,_f8);if(_f8){_91(_f8,_f4);_f6();}else{_82=_f4;req.injectUrl(_40(url),_f6,_f4);_82=0;}}};req.trace("loader-inject",["xhr",_f4.mid,url,_26!=_27]);if(has("config-dojo-loader-catches")){try{req.getText(url,_26!=_27,_f7);}catch(e){_35(_45,_10("xhrInjectFailed",[_f4,e]));}}else{req.getText(url,_26!=_27,_f7);}return;}}}req.trace("loader-inject",["script",_f4.mid,url]);_82=_f4;req.injectUrl(_40(url),_f6,_f4);_82=0;},_fc=function(_fd,_fe,def){req.trace("loader-define-module",[_fd.mid,_fe]);if(0&&_fd.plugin&&_fd.plugin.isCombo){_fd.result=_8(def)?def():def;_34(_fd);_36(_fd);return _fd;}var mid=_fd.mid;if(_fd.injected===_22){_35(_45,_10("multipleDefine",_fd));return _fd;}_e(_fd,{deps:_fe,def:def,cjs:{id:_fd.mid,uri:_fd.url,exports:(_fd.result={}),setExports:function(_ff){_fd.cjs.exports=_ff;},config:function(){return _fd.config;}}});for(var i=0;_fe[i];i++){_fe[i]=_32(_fe[i],_fd);}if(1&&_26&&!_93[mid]){_7c(_fd);_31.push(_fd);_81();}_34(_fd);if(!_8(def)&&!_fe.length){_fd.result=def;_36(_fd);}return _fd;},_80=function(_100,mids){var _101=[],_102,args;while(_92.length){args=_92.shift();mids&&(args[0]=mids.shift());_102=(args[0]&&_32(args[0]))||_100;_101.push([_102,args[1],args[2]]);}_58(_100);_b(_101,function(args){_7c(_fc.apply(null,args));});};}var _103=0,_98=_5,_96=_5;if(1){_98=function(){_103&&clearTimeout(_103);_103=0;};_96=function(){_98();if(req.waitms){_103=_4.setTimeout(function(){_98();_35(_45,_10("timeout",_93));},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 _104=function(node,_105,_106,_107){if(!has("ie-event-behavior")){node.addEventListener(_105,_107,false);return function(){node.removeEventListener(_105,_107,false);};}else{node.attachEvent(_106,_107);return function(){node.detachEvent(_106,_107);};}},_108=_104(window,"load","onload",function(){req.pageLoaded=1;try{doc.readyState!="complete"&&(doc.readyState="complete");}catch(e){}_108();});if(1){var _75=doc.getElementsByTagName("script"),i=0,_76;while(!_57){if(!/^dojo/.test((_76=_75[i++])&&_76.type)){_57=_76;}}req.injectUrl=function(url,_109,_10a){var node=_10a.node=doc.createElement("script"),_10b=function(e){e=e||window.event;var node=e.target||e.srcElement;if(e.type==="load"||/complete|loaded/.test(node.readyState)){_10c();_10d();_109&&_109();}},_10c=_104(node,"load","onreadystatechange",_10b),_10d=_104(node,"error","onerror",function(e){_10c();_10d();_35(_45,_10("scriptError: "+url,[url,e]));});node.type="text/javascript";node.charset="utf-8";node.src=url;_57.parentNode.insertBefore(node,_57);return node;};}}if(1){req.log=function(){try{for(var i=0;i<arguments.length;i++){}}catch(e){}};}else{req.log=_5;}if(0){var _10e=req.trace=function(_10f,args){if(_10e.on&&_10e.group[_10f]){_35("trace",[_10f,args]);for(var arg,dump=[],text="trace:"+_10f+(args.length?(":"+args[0]):""),i=1;i<args.length;){arg=args[i++];if(_9(arg)){text+=", "+arg;}else{dump.push(arg);}}req.log(text);dump.length&&dump.push(".");req.log.apply(req,dump);}};_e(_10e,{on:1,group:{},set:function(_110,_111){if(_9(_110)){_10e.group[_110]=_111;}else{_e(_10e.group,_110);}}});_10e.set(_e(_e(_e({},_2.trace),_1.trace),_56.trace));on("config",function(_112){_112.trace&&_10e.set(_112.trace);});}else{req.trace=_5;}if(!has("foreign-loader")){var def=function(mid,_113,_114){var _115=arguments.length,_116=["require","exports","module"],args=[0,mid,_113];if(_115==1){args=[0,(_8(mid)?_116:[]),mid];}else{if(_115==2&&_9(mid)){args=[mid,(_8(_113)?_116:[]),_113];}else{if(_115==3){args=[mid,_113,_114];}}}if(0&&args[1]===_116){args[2].toString().replace(/(\/\*([\s\S]*?)\*\/|\/\/(.*)$)/mg,"").replace(/require\(["']([\w\!\-_\.\/]+)["']\)/g,function(_117,dep){args[1].push(dep);});}req.trace("loader-define",args.slice(0,2));var _118=args[0]&&_32(args[0]),_119;if(_118&&!_93[_118.mid]){_7c(_fc(_118,args[1],args[2]));}else{if(!has("ie-event-behavior")||!1||_f1){_92.push(args);}else{_118=_118||_82;if(!_118){for(mid in _93){_119=_30[mid];if(_119&&_119.node&&_119.node.readyState==="interactive"){_118=_119;break;}}if(0&&!_118){for(var i=0;i<_7a.length;i++){_118=_7a[i];if(_118.node&&_118.node.readyState==="interactive"){break;}_118=0;}}}if(0&&_a(_118)){_7c(_fc(_32(_118.shift()),args[1],args[2]));if(!_118.length){_7a.splice(i,1);}}else{if(_118){_58(_118);_7c(_fc(_118,args[1],args[2]));}else{_35(_45,_10("ieDefineFailed",args[0]));}}_81();}}};def.amd={vendor:"dojotoolkit.org"};if(0){req.def=def;}}else{var def=_5;}_e(_e(req,_2.loaderPatch),_1.loaderPatch);on(_45,function(arg){try{console.error(arg);if(arg instanceof Error){for(var p in arg){}}}catch(e){}});_e(req,{uid:uid,cache:_53,packs:_50});if(0){_e(req,{paths:_4e,aliases:_4d,modules:_30,legacyMode:_26,execQ:_31,defQ:_92,waiting:_93,packs:_50,mapProgs:_51,pathsMapProg:_4f,listenerQueues:_44,computeMapProg:_61,computeAliases:_63,runMapProg:_9a,compactPath:_9c,getModuleInfo:_a2});}if(_4.define){if(1){_35(_45,_10("defineAlreadyDefined",0));}return;}else{_4.define=def;_4.require=req;if(0){require=req;}}if(0&&req.combo&&req.combo.plugins){var _11a=req.combo.plugins,_11b;for(_11b in _11a){_e(_e(_32(_11b),_11a[_11b]),{isCombo:1,executed:"executed",load:1});}}if(1&&!has("foreign-loader")){_b(_6a,function(c){_6b(c);});var _11c=_56.deps||_1.deps||_2.deps,_11d=_56.callback||_1.callback||_2.callback;req.boot=(_11c||_11d)?[_11c||[],_11d]:0;}if(!1){!req.async&&req(["dojo"]);req.boot&&req.apply(null,req.boot);}})(function(_11e){return _11e.dojoConfig||_11e.djConfig||_11e.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:".",name:"dojo"}]});require({cache:{"dojo/_base/fx":function(){define(["./kernel","./config","./lang","../Evented","./Color","../aspect","../sniff","../dom","../dom-style"],function(dojo,_11f,lang,_120,_121,_122,has,dom,_123){var _124=lang.mixin;var _125={};var _126=_125._Line=function(_127,end){this.start=_127;this.end=end;};_126.prototype.getValue=function(n){return ((this.end-this.start)*n)+this.start;};var _128=_125.Animation=function(args){_124(this,args);if(lang.isArray(this.curve)){this.curve=new _126(this.curve[0],this.curve[1]);}};_128.prototype=new _120();lang.extend(_128,{duration:350,repeat:0,rate:20,_percent:0,_startRepeatCount:0,_getStep:function(){var _129=this._percent,_12a=this.easing;return _12a?_12a(_129):_129;},_fire:function(evt,args){var a=args||[];if(this[evt]){if(_11f.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(_12b,_12c){var _12d=this;if(_12d._delayTimer){_12d._clearTimer();}if(_12c){_12d._stopTimer();_12d._active=_12d._paused=false;_12d._percent=0;}else{if(_12d._active&&!_12d._paused){return _12d;}}_12d._fire("beforeBegin",[_12d.node]);var de=_12b||_12d.delay,_12e=lang.hitch(_12d,"_play",_12c);if(de>0){_12d._delayTimer=setTimeout(_12e,de);return _12d;}_12e();return _12d;},_play:function(_12f){var _130=this;if(_130._delayTimer){_130._clearTimer();}_130._startTime=new Date().valueOf();if(_130._paused){_130._startTime-=_130.duration*_130._percent;}_130._active=true;_130._paused=false;var _131=_130.curve.getValue(_130._getStep());if(!_130._percent){if(!_130._startRepeatCount){_130._startRepeatCount=_130.repeat;}_130._fire("onBegin",[_131]);}_130._fire("onPlay",[_131]);_130._cycle();return _130;},pause:function(){var _132=this;if(_132._delayTimer){_132._clearTimer();}_132._stopTimer();if(!_132._active){return _132;}_132._paused=true;_132._fire("onPause",[_132.curve.getValue(_132._getStep())]);return _132;},gotoPercent:function(_133,_134){var _135=this;_135._stopTimer();_135._active=_135._paused=true;_135._percent=_133;if(_134){_135.play();}return _135;},stop:function(_136){var _137=this;if(_137._delayTimer){_137._clearTimer();}if(!_137._timer){return _137;}_137._stopTimer();if(_136){_137._percent=1;}_137._fire("onStop",[_137.curve.getValue(_137._getStep())]);_137._active=_137._paused=false;return _137;},destroy:function(){this.stop();},status:function(){if(this._active){return this._paused?"paused":"playing";}return "stopped";},_cycle:function(){var _138=this;if(_138._active){var curr=new Date().valueOf();var step=_138.duration===0?1:(curr-_138._startTime)/(_138.duration);if(step>=1){step=1;}_138._percent=step;if(_138.easing){step=_138.easing(step);}_138._fire("onAnimate",[_138.curve.getValue(step)]);if(_138._percent<1){_138._startTimer();}else{_138._active=false;if(_138.repeat>0){_138.repeat--;_138.play(null,true);}else{if(_138.repeat==-1){_138.play(null,true);}else{if(_138._startRepeatCount){_138.repeat=_138._startRepeatCount;_138._startRepeatCount=0;}}}_138._percent=0;_138._fire("onEnd",[_138.node]);!_138.repeat&&_138._stopTimer();}}return _138;},_clearTimer:function(){clearTimeout(this._delayTimer);delete this._delayTimer;}});var ctr=0,_139=null,_13a={run:function(){}};lang.extend(_128,{_startTimer:function(){if(!this._timer){this._timer=_122.after(_13a,"run",lang.hitch(this,"_cycle"),true);ctr++;}if(!_139){_139=setInterval(lang.hitch(_13a,"run"),this.rate);}},_stopTimer:function(){if(this._timer){this._timer.remove();this._timer=null;ctr--;}if(ctr<=0){clearInterval(_139);_139=null;ctr=0;}}});var _13b=has("ie")?function(node){var ns=node.style;if(!ns.width.length&&_123.get(node,"width")=="auto"){ns.width="auto";}}:function(){};_125._fade=function(args){args.node=dom.byId(args.node);var _13c=_124({properties:{}},args),_13d=(_13c.properties.opacity={});_13d.start=!("start" in _13c)?function(){return +_123.get(_13c.node,"opacity")||0;}:_13c.start;_13d.end=_13c.end;var anim=_125.animateProperty(_13c);_122.after(anim,"beforeBegin",lang.partial(_13b,_13c.node),true);return anim;};_125.fadeIn=function(args){return _125._fade(_124({end:1},args));};_125.fadeOut=function(args){return _125._fade(_124({end:0},args));};_125._defaultEasing=function(n){return 0.5+((Math.sin((n+1.5)*Math.PI))/2);};var _13e=function(_13f){this._properties=_13f;for(var p in _13f){var prop=_13f[p];if(prop.start instanceof _121){prop.tempColor=new _121();}}};_13e.prototype.getValue=function(r){var ret={};for(var p in this._properties){var prop=this._properties[p],_140=prop.start;if(_140 instanceof _121){ret[p]=_121.blendColors(_140,prop.end,r,prop.tempColor).toCss();}else{if(!lang.isArray(_140)){ret[p]=((prop.end-_140)*r)+_140+(p!="opacity"?prop.units||"px":0);}}}return ret;};_125.animateProperty=function(args){var n=args.node=dom.byId(args.node);if(!args.easing){args.easing=dojo._defaultEasing;}var anim=new _128(args);_122.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]=_124({},(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 _141=(p.toLowerCase().indexOf("color")>=0);function _142(node,p){var v={height:node.offsetHeight,width:node.offsetWidth}[p];if(v!==undefined){return v;}v=_123.get(node,p);return (p=="opacity")?+v:(_141?v:parseFloat(v));};if(!("end" in prop)){prop.end=_142(n,p);}else{if(!("start" in prop)){prop.start=_142(n,p);}}if(_141){prop.start=new _121(prop.start);prop.end=new _121(prop.end);}else{prop.start=(p=="opacity")?+prop.start:parseFloat(prop.start);}}this.curve=new _13e(pm);}),true);_122.after(anim,"onAnimate",lang.hitch(_123,"set",anim.node),true);return anim;};_125.anim=function(node,_143,_144,_145,_146,_147){return _125.animateProperty({node:node,duration:_144||_128.prototype.duration,properties:_143,easing:_145,onEnd:_146}).play(_147||0);};if(1){_124(dojo,_125);dojo._Animation=_128;}return _125;});},"dojo/dom-form":function(){define(["./_base/lang","./dom","./io-query","./json"],function(lang,dom,ioq,json){function _148(obj,name,_149){if(_149===null){return;}var val=obj[name];if(typeof val=="string"){obj[name]=[val,_149];}else{if(lang.isArray(val)){val.push(_149);}else{obj[name]=_149;}}};var _14a="file|submit|image|reset|button";var form={fieldToObject:function fieldToObject(_14b){var ret=null;_14b=dom.byId(_14b);if(_14b){var _14c=_14b.name,type=(_14b.type||"").toLowerCase();if(_14c&&type&&!_14b.disabled){if(type=="radio"||type=="checkbox"){if(_14b.checked){ret=_14b.value;}}else{if(_14b.multiple){ret=[];var _14d=[_14b.firstChild];while(_14d.length){for(var node=_14d.pop();node;node=node.nextSibling){if(node.nodeType==1&&node.tagName.toLowerCase()=="option"){if(node.selected){ret.push(node.value);}}else{if(node.nextSibling){_14d.push(node.nextSibling);}if(node.firstChild){_14d.push(node.firstChild);}break;}}}}else{ret=_14b.value;}}}}return ret;},toObject:function formToObject(_14e){var ret={},_14f=dom.byId(_14e).elements;for(var i=0,l=_14f.length;i<l;++i){var item=_14f[i],_150=item.name,type=(item.type||"").toLowerCase();if(_150&&type&&_14a.indexOf(type)<0&&!item.disabled){_148(ret,_150,form.fieldToObject(item));if(type=="image"){ret[_150+".x"]=ret[_150+".y"]=ret[_150].x=ret[_150].y=0;}}}return ret;},toQuery:function formToQuery(_151){return ioq.objectToQuery(form.toObject(_151));},toJson:function formToJson(_152,_153){return json.stringify(form.toObject(_152),null,_153?4:0);}};return form;});},"dojo/promise/tracer":function(){define(["../_base/lang","./Promise","../Evented"],function(lang,_154,_155){"use strict";var _156=new _155;var emit=_156.emit;_156.emit=null;function _157(args){setTimeout(function(){emit.apply(_156,args);},0);};_154.prototype.trace=function(){var args=lang._toArray(arguments);this.then(function(_158){_157(["resolved",_158].concat(args));},function(_159){_157(["rejected",_159].concat(args));},function(_15a){_157(["progress",_15a].concat(args));});return this;};_154.prototype.traceRejected=function(){var args=lang._toArray(arguments);this.otherwise(function(_15b){_157(["rejected",_15b].concat(args));});return this;};return _156;});},"dojo/errors/RequestError":function(){define(["./create"],function(_15c){return _15c("RequestError",function(_15d,_15e){this.response=_15e;});});},"dojo/_base/html":function(){define(["./kernel","../dom","../dom-style","../dom-attr","../dom-prop","../dom-class","../dom-construct","../dom-geometry"],function(dojo,dom,_15f,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,_160){if(arguments.length==2){return attr[typeof name=="string"?"get":"set"](node,name);}return attr.set(node,name,_160);};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,_161){dojo.deprecated("dojo.coords()","Use dojo.position() or dojo.marginBox().");node=dom.byId(node);var s=_15f.getComputedStyle(node),mb=geom.getMarginBox(node,s);var abs=geom.position(node,_161);mb.x=abs.x;mb.y=abs.y;return mb;};dojo.getProp=prop.get;dojo.setProp=prop.set;dojo.prop=function(node,name,_162){if(arguments.length==2){return prop[typeof name=="string"?"get":"set"](node,name);}return prop.set(node,name,_162);};dojo.getStyle=_15f.get;dojo.setStyle=_15f.set;dojo.getComputedStyle=_15f.getComputedStyle;dojo.__toPixelValue=dojo.toPixelValue=_15f.toPixelValue;dojo.style=function(node,name,_163){switch(arguments.length){case 1:return _15f.get(node);case 2:return _15f[typeof name=="string"?"get":"set"](node,name);}return _15f.set(node,name,_163);};return dojo;});},"dojo/_base/kernel":function(){define(["../global","../has","./config","require","module"],function(_164,has,_165,_166,_167){var i,p,_168={},_169={},dojo={config:_165,global:_164,dijit:_168,dojox:_169};var _16a={dojo:["dojo",dojo],dijit:["dijit",_168],dojox:["dojox",_169]},_16b=(_166.map&&_166.map[_167.id.match(/[^\/]+/)[0]]),item;for(p in _16b){if(_16a[p]){_16a[p][0]=_16b[p];}else{_16a[p]=[_16b[p],{}];}}for(p in _16a){item=_16a[p];item[1]._scopeName=item[0];if(!_165.noGlobals){_164[item[0]]=item[1];}}dojo.scopeMap=_16a;dojo.baseUrl=dojo.config.baseUrl=_166.baseUrl;dojo.isAsync=!1||_166.async;dojo.locale=_165.locale;var rev="$Rev: d6e8ff38 $".match(/[0-9a-f]{7,}/);dojo.version={major:1,minor:14,patch:2,flag:"",revision:rev?rev[0]:NaN,toString:function(){var v=dojo.version;return v.major+"."+v.minor+"."+v.patch+v.flag+" ("+v.revision+")";}};1||has.add("extend-dojo",1);if(!has("csp-restrictions")){(Function("d","d.eval = function(){return d.global.eval ? d.global.eval(arguments[0]) : eval(arguments[0]);}"))(dojo);}if(0){dojo.exit=function(_16c){quit(_16c);};}else{dojo.exit=function(){};}if(!has("host-webworker")){1||has.add("dojo-guarantee-console",1);}if(1){has.add("console-as-object",function(){return Function.prototype.bind&&console&&typeof console.log==="object";});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.prototype.slice.call(arguments);a.unshift(tcn+":");console["log"](a.join(" "));}:function(){};console[tcn]._fake=true;})();}else{if(has("console-as-object")){console[tn]=Function.prototype.bind.call(console[tn],console);}}}}has.add("dojo-debug-messages",!!_165.isDebug);dojo.deprecated=dojo.experimental=function(){};if(has("dojo-debug-messages")){dojo.deprecated=function(_16d,_16e,_16f){var _170="DEPRECATED: "+_16d;if(_16e){_170+=" "+_16e;}if(_16f){_170+=" -- will be removed in version: "+_16f;}console.warn(_170);};dojo.experimental=function(_171,_172){var _173="EXPERIMENTAL: "+_171+" -- APIs subject to change without notice.";if(_172){_173+=" "+_172;}console.warn(_173);};}1||has.add("dojo-modulePaths",1);if(1){if(_165.modulePaths){dojo.deprecated("dojo.modulePaths","use paths configuration");var _174={};for(p in _165.modulePaths){_174[p.replace(/\./g,"/")]=_165.modulePaths[p];}_166({paths:_174});}}1||has.add("dojo-moduleUrl",1);if(1){dojo.moduleUrl=function(_175,url){dojo.deprecated("dojo.moduleUrl()","use require.toUrl","2.0");var _176=null;if(_175){_176=_166.toUrl(_175.replace(/\./g,"/")+(url?("/"+url):"")+"/*.*").replace(/\/\*\.\*/,"")+(url?"":"/");}return _176;};}dojo._hasResource={};return dojo;});},"dojo/io-query":function(){define(["./_base/lang"],function(lang){var _177={};return {objectToQuery:function objectToQuery(map){var enc=encodeURIComponent,_178=[];for(var name in map){var _179=map[name];if(_179!=_177[name]){var _17a=enc(name)+"=";if(lang.isArray(_179)){for(var i=0,l=_179.length;i<l;++i){_178.push(_17a+enc(_179[i]));}}else{_178.push(_17a+enc(_179));}}}return _178.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,_17b,_17c,_17d,has,lang,when){var _17e=function(){};var _17f=Object.freeze||function(){};var _180=dojo.Deferred=function(_181){var _182,_183,_184,_185,_186,head,_187;var _188=(this.promise=new _17c());function _189(_18a){if(_183){throw new Error("This deferred has already been resolved");}_182=_18a;_183=true;_18b();};function _18b(){var _18c;while(!_18c&&_187){var _18d=_187;_187=_187.next;if((_18c=(_18d.progress==_17e))){_183=false;}var func=(_186?_18d.error:_18d.resolved);if(has("config-useDeferredInstrumentation")){if(_186&&_17b.instrumentRejected){_17b.instrumentRejected(_182,!!func);}}if(func){try{var _18e=func(_182);if(_18e&&typeof _18e.then==="function"){_18e.then(lang.hitch(_18d.deferred,"resolve"),lang.hitch(_18d.deferred,"reject"),lang.hitch(_18d.deferred,"progress"));continue;}var _18f=_18c&&_18e===undefined;if(_18c&&!_18f){_186=_18e instanceof Error;}_18d.deferred[_18f&&_186?"reject":"resolve"](_18f?_182:_18e);}catch(e){_18d.deferred.reject(e);}}else{if(_186){_18d.deferred.reject(_182);}else{_18d.deferred.resolve(_182);}}}};this.isResolved=_188.isResolved=function(){return _185==0;};this.isRejected=_188.isRejected=function(){return _185==1;};this.isFulfilled=_188.isFulfilled=function(){return _185>=0;};this.isCanceled=_188.isCanceled=function(){return _184;};this.resolve=this.callback=function(_190){this.fired=_185=0;this.results=[_190,null];_189(_190);};this.reject=this.errback=function(_191){_186=true;this.fired=_185=1;if(has("config-useDeferredInstrumentation")){if(_17b.instrumentRejected){_17b.instrumentRejected(_191,!!_187);}}_189(_191);this.results=[null,_191];};this.progress=function(_192){var _193=_187;while(_193){var _194=_193.progress;_194&&_194(_192);_193=_193.next;}};this.addCallbacks=function(_195,_196){this.then(_195,_196,_17e);return this;};_188.then=this.then=function(_197,_198,_199){var _19a=_199==_17e?this:new _180(_188.cancel);var _19b={resolved:_197,error:_198,progress:_199,deferred:_19a};if(_187){head=head.next=_19b;}else{_187=head=_19b;}if(_183){_18b();}return _19a.promise;};var _19c=this;_188.cancel=this.cancel=function(){if(!_183){var _19d=_181&&_181(_19c);if(!_183){if(!(_19d instanceof Error)){_19d=new _17d(_19d);}_19d.log=false;_19c.reject(_19d);}}_184=true;};_17f(_188);};lang.extend(_180,{addCallback:function(_19e){return this.addCallbacks(lang.hitch.apply(dojo,arguments));},addErrback:function(_19f){return this.addCallbacks(null,lang.hitch.apply(dojo,arguments));},addBoth:function(_1a0){var _1a1=lang.hitch.apply(dojo,arguments);return this.addCallbacks(_1a1,_1a1);},fired:-1});_180.when=dojo.when=when;return _180;});},"dojo/NodeList-dom":function(){define(["./_base/kernel","./query","./_base/array","./_base/lang","./dom-class","./dom-construct","./dom-geometry","./dom-attr","./dom-style"],function(dojo,_1a2,_1a3,lang,_1a4,_1a5,_1a6,_1a7,_1a8){var _1a9=function(a){return a.length==1&&(typeof a[0]=="string");};var _1aa=function(node){var p=node.parentNode;if(p){p.removeChild(node);}};var _1ab=_1a2.NodeList,awc=_1ab._adaptWithCondition,aafe=_1ab._adaptAsForEach,aam=_1ab._adaptAsMap;function _1ac(_1ad){return function(node,name,_1ae){if(arguments.length==2){return _1ad[typeof name=="string"?"get":"set"](node,name);}return _1ad.set(node,name,_1ae);};};lang.extend(_1ab,{_normalize:function(_1af,_1b0){var _1b1=_1af.parse===true;if(typeof _1af.template=="string"){var _1b2=_1af.templateFunc||(dojo.string&&dojo.string.substitute);_1af=_1b2?_1b2(_1af.template,_1af):_1af;}var type=(typeof _1af);if(type=="string"||type=="number"){_1af=_1a5.toDom(_1af,(_1b0&&_1b0.ownerDocument));if(_1af.nodeType==11){_1af=lang._toArray(_1af.childNodes);}else{_1af=[_1af];}}else{if(!lang.isArrayLike(_1af)){_1af=[_1af];}else{if(!lang.isArray(_1af)){_1af=lang._toArray(_1af);}}}if(_1b1){_1af._runParse=true;}return _1af;},_cloneNode:function(node){return node.cloneNode(true);},_place:function(ary,_1b3,_1b4,_1b5){if(_1b3.nodeType!=1&&_1b4=="only"){return;}var _1b6=_1b3,_1b7;var _1b8=ary.length;for(var i=_1b8-1;i>=0;i--){var node=(_1b5?this._cloneNode(ary[i]):ary[i]);if(ary._runParse&&dojo.parser&&dojo.parser.parse){if(!_1b7){_1b7=_1b6.ownerDocument.createElement("div");}_1b7.appendChild(node);dojo.parser.parse(_1b7);node=_1b7.firstChild;while(_1b7.firstChild){_1b7.removeChild(_1b7.firstChild);}}if(i==_1b8-1){_1a5.place(node,_1b6,_1b4);}else{_1b6.parentNode.insertBefore(node,_1b6);}_1b6=node;}},position:aam(_1a6.position),attr:awc(_1ac(_1a7),_1a9),style:awc(_1ac(_1a8),_1a9),addClass:aafe(_1a4.add),removeClass:aafe(_1a4.remove),toggleClass:aafe(_1a4.toggle),replaceClass:aafe(_1a4.replace),empty:aafe(_1a5.empty),removeAttr:aafe(_1a7.remove),marginBox:aam(_1a6.getMarginBox),place:function(_1b9,_1ba){var item=_1a2(_1b9)[0];return this.forEach(function(node){_1a5.place(node,item,_1ba);});},orphan:function(_1bb){return (_1bb?_1a2._filterResult(this,_1bb):this).forEach(_1aa);},adopt:function(_1bc,_1bd){return _1a2(_1bc).place(this[0],_1bd)._stash(this);},query:function(_1be){if(!_1be){return this;}var ret=new _1ab;this.map(function(node){_1a2(_1be,node).forEach(function(_1bf){if(_1bf!==undefined){ret.push(_1bf);}});});return ret._stash(this);},filter:function(_1c0){var a=arguments,_1c1=this,_1c2=0;if(typeof _1c0=="string"){_1c1=_1a2._filterResult(this,a[0]);if(a.length==1){return _1c1._stash(this);}_1c2=1;}return this._wrap(_1a3.filter(_1c1,a[_1c2],a[_1c2+1]),this);},addContent:function(_1c3,_1c4){_1c3=this._normalize(_1c3,this[0]);for(var i=0,node;(node=this[i]);i++){if(_1c3.length){this._place(_1c3,node,_1c4,i>0);}else{_1a5.empty(node);}}return this;}});return _1ab;});},"dojo/query":function(){define(["./_base/kernel","./has","./dom","./on","./_base/array","./_base/lang","./selector/_loader","./selector/_loader!default"],function(dojo,has,dom,on,_1c5,lang,_1c6,_1c7){"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,_1c8=_1c5.forEach;var tnl=function(a,_1c9,_1ca){var _1cb=new (_1ca||this._NodeListCtor||nl)(a);return _1c9?_1cb._stash(_1c9):_1cb;};var _1cc=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 _1cd=function(f,o){return function(){this.forEach(_1cc(f,arguments,o));return this;};};var _1ce=function(f,o){return function(){return this.map(_1cc(f,arguments,o));};};var _1cf=function(f,o){return function(){return this.filter(_1cc(f,arguments,o));};};var _1d0=function(f,g,o){return function(){var a=arguments,body=_1cc(f,a,o);if(g.call(o||dojo.global,a)){return this.map(body);}this.forEach(body);return this;};};var _1d1=function(_1d2){var _1d3=this instanceof nl&&has("array-extensible");if(typeof _1d2=="number"){_1d2=Array(_1d2);}var _1d4=(_1d2&&"length" in _1d2)?_1d2:arguments;if(_1d3||!_1d4.sort){var _1d5=_1d3?this:[],l=_1d5.length=_1d4.length;for(var i=0;i<l;i++){_1d5[i]=_1d4[i];}if(_1d3){return _1d5;}_1d4=_1d5;}lang._mixin(_1d4,nlp);_1d4._NodeListCtor=function(_1d6){return nl(_1d6);};return _1d4;};var nl=_1d1,nlp=nl.prototype=has("array-extensible")?[]:{};nl._wrap=nlp._wrap=tnl;nl._adaptAsMap=_1ce;nl._adaptAsForEach=_1cd;nl._adaptAsFilter=_1cf;nl._adaptWithCondition=_1d0;_1c8(["slice","splice"],function(name){var f=ap[name];nlp[name]=function(){return this._wrap(f.apply(this,arguments),name=="slice"?this:null);};});_1c8(["indexOf","lastIndexOf","every","some"],function(name){var f=_1c5[name];nlp[name]=function(){return f.apply(dojo,[this].concat(aps.call(arguments,0)));};});lang.extend(_1d1,{constructor:nl,_NodeListCtor:nl,toString:function(){return this.join(",");},_stash:function(_1d7){this._parent=_1d7;return this;},on:function(_1d8,_1d9){var _1da=this.map(function(node){return on(node,_1d8,_1d9);});_1da.remove=function(){for(var i=0;i<_1da.length;i++){_1da[i].remove();}};return _1da;},end:function(){if(this._parent){return this._parent;}else{return new this._NodeListCtor(0);}},concat:function(item){var t=aps.call(this,0),m=_1c5.map(arguments,function(a){return aps.call(a,0);});return this._wrap(apc.apply(t,m),this);},map:function(func,obj){return this._wrap(_1c5.map(this,func,obj),this);},forEach:function(_1db,_1dc){_1c8(this,_1db,_1dc);return this;},filter:function(_1dd){var a=arguments,_1de=this,_1df=0;if(typeof _1dd=="string"){_1de=_1e0._filterResult(this,a[0]);if(a.length==1){return _1de._stash(this);}_1df=1;}return this._wrap(_1c5.filter(_1de,a[_1df],a[_1df+1]),this);},instantiate:function(_1e1,_1e2){var c=lang.isFunction(_1e1)?_1e1:lang.getObject(_1e1);_1e2=_1e2||{};return this.forEach(function(node){new c(_1e2,node);});},at:function(){var t=new this._NodeListCtor(0);_1c8(arguments,function(i){if(i<0){i=this.length+i;}if(this[i]){t.push(this[i]);}},this);return t._stash(this);}});function _1e3(_1e4,_1e5){var _1e6=function(_1e7,root){if(typeof root=="string"){root=dom.byId(root);if(!root){return new _1e5([]);}}var _1e8=typeof _1e7=="string"?_1e4(_1e7,root):_1e7?(_1e7.end&&_1e7.on)?_1e7:[_1e7]:[];if(_1e8.end&&_1e8.on){return _1e8;}return new _1e5(_1e8);};_1e6.matches=_1e4.match||function(node,_1e9,root){return _1e6.filter([node],_1e9,root).length>0;};_1e6.filter=_1e4.filter||function(_1ea,_1eb,root){return _1e6(_1eb,root).filter(function(node){return _1c5.indexOf(_1ea,node)>-1;});};if(typeof _1e4!="function"){var _1ec=_1e4.search;_1e4=function(_1ed,root){return _1ec(root||document,_1ed);};}return _1e6;};var _1e0=_1e3(_1c7,_1d1);dojo.query=_1e3(_1c7,function(_1ee){return _1d1(_1ee);});_1e0.load=function(id,_1ef,_1f0){_1c6.load(id,_1ef,function(_1f1){_1f0(_1e3(_1f1,_1d1));});};dojo._filterQueryResult=_1e0._filterResult=function(_1f2,_1f3,root){return new _1d1(_1e0.filter(_1f2,_1f3,root));};dojo.NodeList=_1e0.NodeList=_1d1;return _1e0;});},"dojo/has":function(){define(["./global","require","module"],function(_1f4,_1f5,_1f6){var has=_1f5.has||function(){};if(!1){var _1f7=typeof window!="undefined"&&typeof location!="undefined"&&typeof document!="undefined"&&window.location==location&&window.document==document,doc=_1f7&&document,_1f8=doc&&doc.createElement("DiV"),_1f9=(_1f6.config&&_1f6.config())||{};has=function(name){return typeof _1f9[name]=="function"?(_1f9[name]=_1f9[name](_1f4,doc,_1f8)):_1f9[name];};has.cache=_1f9;has.add=function(name,test,now,_1fa){(typeof _1f9[name]=="undefined"||_1fa)&&(_1f9[name]=test);return now&&has(name);};1||has.add("host-browser",_1f7);0&&has.add("host-node",(typeof process=="object"&&process.versions&&process.versions.node&&process.versions.v8));0&&has.add("host-rhino",(typeof load=="function"&&(typeof Packages=="function"||typeof Packages=="object")));1||has.add("dom",_1f7);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||("onpointerdown" in document&&navigator.maxTouchPoints>0)||window.navigator.msMaxTouchPoints);has.add("touch-events","ontouchstart" in document);has.add("pointer-events","pointerEnabled" in window.navigator?window.navigator.pointerEnabled:"PointerEvent" in window);has.add("MSPointer",window.navigator.msPointerEnabled);has.add("touch-action",has("touch")&&has("pointer-events"));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(_1fb){_1fb.innerHTML="";return _1fb;};has.normalize=function(id,_1fc){var _1fd=id.match(/[\?:]|[^:\?]*/g),i=0,get=function(skip){var term=_1fd[i++];if(term==":"){return 0;}else{if(_1fd[i++]=="?"){if(!skip&&has(term)){return get();}else{get(true);return get(skip);}}return term||0;}};id=get();return id&&_1fc(id);};has.load=function(id,_1fe,_1ff){if(id){_1fe([id],_1ff);}else{_1ff();}};return has;});},"dojo/_base/loader":function(){define(["./kernel","../has","require","module","../json","./lang","./array"],function(dojo,has,_200,_201,json,lang,_202){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 _203=function(id){return {src:_201.id,id:id};},_204=function(name){return name.replace(/\./g,"/");},_205=/\/\/>>built/,_206=[],_207=[],_208=function(mid,_209,_20a){_206.push(_20a);_202.forEach(mid.split(","),function(mid){var _20b=_20c(mid,_209.module);_207.push(_20b);_20d(_20b);});_20e();},_20e=(1?function(){var _20f,mid;for(mid in _210){_20f=_210[mid];if(_20f.noReqPluginCheck===undefined){_20f.noReqPluginCheck=/loadInit\!/.test(mid)||/require\!/.test(mid)?1:0;}if(!_20f.executed&&!_20f.noReqPluginCheck&&_20f.injected==_211){return;}}_212(function(){var _213=_206;_206=[];_202.forEach(_213,function(cb){cb(1);});});}:(function(){var _214,_215=function(m){_214[m.mid]=1;for(var t,_216,deps=m.deps||[],i=0;i<deps.length;i++){_216=deps[i];if(!(t=_214[_216.mid])){if(t===0||!_215(_216)){_214[m.mid]=0;return false;}}}return true;};return function(){var _217,mid;_214={};for(mid in _210){_217=_210[mid];if(_217.executed||_217.noReqPluginCheck){_214[mid]=1;}else{if(_217.noReqPluginCheck!==0){_217.noReqPluginCheck=/loadInit\!/.test(mid)||/require\!/.test(mid)?1:0;}if(_217.noReqPluginCheck){_214[mid]=1;}else{if(_217.injected!==_242){_214[mid]=0;}}}}for(var t,i=0,end=_207.length;i<end;i++){_217=_207[i];if(!(t=_214[_217.mid])){if(t===0||!_215(_217)){return;}}}_212(function(){var _218=_206;_206=[];_202.forEach(_218,function(cb){cb(1);});});};})()),_219=function(mid,_21a,_21b){_21a([mid],function(_21c){_21a(_21c.names,function(){for(var _21d="",args=[],i=0;i<arguments.length;i++){_21d+="var "+_21c.names[i]+"= arguments["+i+"]; ";args.push(arguments[i]);}eval(_21d);var _21e=_21a.module,_21f=[],_220,_221={provide:function(_222){_222=_204(_222);var _223=_20c(_222,_21e);if(_223!==_21e){_248(_223);}},require:function(_224,_225){_224=_204(_224);_225&&(_20c(_224,_21e).result=_243);_21f.push(_224);},requireLocalization:function(_226,_227,_228){if(!_220){_220=["dojo/i18n"];}_228=(_228||dojo.locale).toLowerCase();_226=_204(_226)+"/nls/"+(/root/i.test(_228)?"":_228+"/")+_204(_227);if(_20c(_226,_21e).isXd){_220.push("dojo/i18n!"+_226);}},loadInit:function(f){f();}},hold={},p;try{for(p in _221){hold[p]=dojo[p];dojo[p]=_221[p];}_21c.def.apply(null,args);}catch(e){_229("error",[_203("failedDojoLoadInit"),e]);}finally{for(p in _221){dojo[p]=hold[p];}}if(_220){_21f=_21f.concat(_220);}if(_21f.length){_208(_21f.join(","),_21a,_21b);}else{_21b();}});});},_22a=function(text,_22b,_22c){var _22d=/\(|\)/g,_22e=1,_22f;_22d.lastIndex=_22b;while((_22f=_22d.exec(text))){if(_22f[0]==")"){_22e-=1;}else{_22e+=1;}if(_22e==0){break;}}if(_22e!=0){throw "unmatched paren around character "+_22d.lastIndex+" in: "+text;}return [dojo.trim(text.substring(_22c,_22d.lastIndex))+";\n",_22d.lastIndex];},_230=/\/\/.*|\/\*[\s\S]*?\*\/|("(?:\\.|[^"])*"|'(?:\\.|[^'])*'|`(?:\\.|[^`])*`)/mg,_231=/(^|\s)dojo\.(loadInit|require|provide|requireLocalization|requireIf|requireAfterIf|platformRequire)\s*\(/mg,_232=/(^|\s)(require|define)\s*\(/m,_233=function(text,_234){var _235,_236,_237,_238,_239=[],_23a=[],_23b=[];_234=_234||text.replace(_230,"$1");while((_235=_231.exec(_234))){_236=_231.lastIndex;_237=_236-_235[0].length;_238=_22a(_234,_236,_237);if(_235[2]=="loadInit"){_239.push(_238[0]);}else{_23a.push(_238[0]);}_231.lastIndex=_238[1];}_23b=_239.concat(_23a);if(_23b.length||!_232.test(_234)){return [text.replace(/(^|\s)dojo\.loadInit\s*\(/g,"\n0 && dojo.loadInit("),_23b.join(""),_23b];}else{return 0;}},_23c=function(_23d,text){var _23e,id,_23f=[],_240=[];if(_205.test(text)||!(_23e=_233(text))){return 0;}id=_23d.mid+"-*loadInit";for(var p in _20c("dojo",_23d).result.scopeMap){_23f.push(p);_240.push("\""+p+"\"");}return "// xdomain rewrite of "+_23d.mid+"\n"+"define('"+id+"',{\n"+"\tnames:"+json.stringify(_23f)+",\n"+"\tdef:function("+_23f.join(",")+"){"+_23e[1]+"}"+"});\n\n"+"define("+json.stringify(_23f.concat(["dojo/loadInit!"+id]))+", function("+_23f.join(",")+"){\n"+_23e[0]+"});";},_241=_200.initSyncLoader(_208,_20e,_23c),sync=_241.sync,_211=_241.requested,_242=_241.arrived,_243=_241.nonmodule,_244=_241.executing,_245=_241.executed,_246=_241.syncExecStack,_210=_241.modules,_247=_241.execQ,_20c=_241.getModule,_20d=_241.injectModule,_248=_241.setArrived,_229=_241.signal,_249=_241.finishExec,_24a=_241.execModule,_24b=_241.getLegacyMode,_212=_241.guardCheckComplete;_208=_241.dojoRequirePlugin;dojo.provide=function(mid){var _24c=_246[0],_24d=lang.mixin(_20c(_204(mid),_200.module),{executed:_244,result:lang.getObject(mid,true)});_248(_24d);if(_24c){(_24c.provides||(_24c.provides=[])).push(function(){_24d.result=lang.getObject(mid);delete _24d.provides;_24d.executed!==_245&&_249(_24d);});}return _24d.result;};has.add("config-publishRequireResult",1,0,0);dojo.require=function(_24e,_24f){function _250(mid,_251){var _252=_20c(_204(mid),_200.module);if(_246.length&&_246[0].finish){_246[0].finish.push(mid);return undefined;}if(_252.executed){return _252.result;}_251&&(_252.result=_243);var _253=_24b();_20d(_252);_253=_24b();if(_252.executed!==_245&&_252.injected===_242){_241.guardCheckComplete(function(){_24a(_252);});}if(_252.executed){return _252.result;}if(_253==sync){if(_252.cjs){_247.unshift(_252);}else{_246.length&&(_246[0].finish=[mid]);}}else{_247.push(_252);}return undefined;};var _254=_250(_24e,_24f);if(has("config-publishRequireResult")&&!lang.exists(_24e)&&_254!==undefined){lang.setObject(_24e,_254);}return _254;};dojo.loadInit=function(f){f();};dojo.registerModulePath=function(_255,_256){var _257={};_257[_255.replace(/\./g,"/")]=_256;_200({paths:_257});};dojo.platformRequire=function(_258){var _259=(_258.common||[]).concat(_258[dojo._name]||_258["default"]||[]),temp;while(_259.length){if(lang.isArray(temp=_259.shift())){dojo.require.apply(dojo,temp);}else{dojo.require(temp);}}};dojo.requireIf=dojo.requireAfterIf=function(_25a,_25b,_25c){if(_25a){dojo.require(_25b,_25c);}};dojo.requireLocalization=function(_25d,_25e,_25f){_200(["../i18n"],function(i18n){i18n.getLocalization(_25d,_25e,_25f);});};return {extractLegacyApiApplications:_233,require:_208,loadInit:_219};});},"dojo/json":function(){define(["./has"],function(has){"use strict";var _260=typeof JSON!="undefined";has.add("json-parse",_260);has.add("json-stringify",_260&&JSON.stringify({a:0},function(k,v){return v||1;})=="{\"a\":1}");if(has("json-stringify")){return JSON;}else{var _261=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,_262){if(_262&&!/^([\s\[\{]*(?:"(?:\\.|[^"])*"|-?\d[\d\.]*(?:[Ee][+-]?\d+)?|null|true|false|)[\s\]\}]*(?:,|:|$))+$/.test(str)){throw new SyntaxError("Invalid characters in JSON");}return eval("("+str+")");},stringify:function(_263,_264,_265){var _266;if(typeof _264=="string"){_265=_264;_264=null;}function _267(it,_268,key){if(_264){it=_264(key,it);}var val,_269=typeof it;if(_269=="number"){return isFinite(it)?it+"":"null";}if(_269=="boolean"){return it+"";}if(it===null){return "null";}if(typeof it=="string"){return _261(it);}if(_269=="function"||_269=="undefined"){return _266;}if(typeof it.toJSON=="function"){return _267(it.toJSON(key),_268,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 _267(it.valueOf(),_268,key);}var _26a=_265?(_268+_265):"";var sep=_265?" ":"";var _26b=_265?"\n":"";if(it instanceof Array){var itl=it.length,res=[];for(key=0;key<itl;key++){var obj=it[key];val=_267(obj,_26a,key);if(typeof val!="string"){val="null";}res.push(_26b+_26a+val);}return "["+res.join(",")+_26b+_268+"]";}var _26c=[];for(key in it){var _26d;if(it.hasOwnProperty(key)){if(typeof key=="number"){_26d="\""+key+"\"";}else{if(typeof key=="string"){_26d=_261(key);}else{continue;}}val=_267(it[key],_26a,key);if(typeof val!="string"){continue;}_26c.push(_26b+_26a+_26d+":"+sep+val);}}return "{"+_26c.join(",")+_26b+_268+"}";};return _267(_263,"","");}};}});},"dojo/_base/declare":function(){define(["./kernel","../has","./lang"],function(dojo,has,lang){var mix=lang.mixin,op=Object.prototype,opts=op.toString,xtor,_26e=0,_26f="constructor";if(!has("csp-restrictions")){xtor=new Function;}else{xtor=function(){};}function err(msg,cls){throw new Error("declare"+(cls?" "+cls:"")+": "+msg);};function _270(_271,_272){var _273=[],_274=[{cls:0,refs:[]}],_275={},_276=1,l=_271.length,i=0,j,lin,base,top,_277,rec,name,refs;for(;i<l;++i){base=_271[i];if(!base){err("mixin #"+i+" is unknown. Did you use dojo.require to pull it in?",_272);}else{if(opts.call(base)!="[object Function]"){err("mixin #"+i+" is not a callable constructor.",_272);}}lin=base._meta?base._meta.bases:[base];top=0;for(j=lin.length-1;j>=0;--j){_277=lin[j].prototype;if(!_277.hasOwnProperty("declaredClass")){_277.declaredClass="uniqName_"+(_26e++);}name=_277.declaredClass;if(!_275.hasOwnProperty(name)){_275[name]={count:0,refs:[],cls:lin[j]};++_276;}rec=_275[name];if(top&&top!==rec){rec.refs.push(top);++top.count;}top=rec;}++top.count;_274[0].refs.push(top);}while(_274.length){top=_274.pop();_273.push(top.cls);--_276;while(refs=top.refs,refs.length==1){top=refs[0];if(!top||--top.count){top=0;break;}_273.push(top.cls);--_276;}if(top){for(i=0,l=refs.length;i<l;++i){top=refs[i];if(!--top.count){_274.push(top);}}}}if(_276){err("can't build consistent linearization",_272);}base=_271[0];_273[0]=base?base._meta&&base===_273[_273.length-base._meta.bases.length]?base._meta.bases.length:1:0;return _273;};function _278(args,a,f,g){var name,_279,_27a,_27b,meta,base,_27c,opf,pos,_27d=this._inherited=this._inherited||{};if(typeof args==="string"){name=args;args=a;a=f;f=g;}if(typeof args==="function"){_27b=args;args=a;a=f;}else{try{_27b=args.callee;}catch(e){if(e instanceof TypeError){err("strict mode inherited() requires the caller function to be passed before arguments",this.declaredClass);}else{throw e;}}}name=name||_27b.nom;if(!name){err("can't deduce a name to call inherited()",this.declaredClass);}f=g=0;meta=this.constructor._meta;_27a=meta.bases;pos=_27d.p;if(name!=_26f){if(_27d.c!==_27b){pos=0;base=_27a[0];meta=base._meta;if(meta.hidden[name]!==_27b){_279=meta.chains;if(_279&&typeof _279[name]=="string"){err("calling chained method with inherited: "+name,this.declaredClass);}do{meta=base._meta;_27c=base.prototype;if(meta&&(_27c[name]===_27b&&_27c.hasOwnProperty(name)||meta.hidden[name]===_27b)){break;}}while(base=_27a[++pos]);pos=base?pos:-1;}}base=_27a[++pos];if(base){_27c=base.prototype;if(base._meta&&_27c.hasOwnProperty(name)){f=_27c[name];}else{opf=op[name];do{_27c=base.prototype;f=_27c[name];if(f&&(base._meta?_27c.hasOwnProperty(name):f!==opf)){break;}}while(base=_27a[++pos]);}}f=base&&f||op[name];}else{if(_27d.c!==_27b){pos=0;meta=_27a[0]._meta;if(meta&&meta.ctor!==_27b){_279=meta.chains;if(!_279||_279.constructor!=="manual"){err("calling chained constructor with inherited",this.declaredClass);}while(base=_27a[++pos]){meta=base._meta;if(meta&&meta.ctor===_27b){break;}}pos=base?pos:-1;}}while(base=_27a[++pos]){meta=base._meta;f=meta?meta.ctor:base;if(f){break;}}f=base&&f;}_27d.c=f;_27d.p=pos;if(f){return a===true?f:f.apply(this,a||args);}};function _27e(name,args,a){if(typeof name==="string"){if(typeof args==="function"){return this.__inherited(name,args,a,true);}return this.__inherited(name,args,true);}else{if(typeof name==="function"){return this.__inherited(name,args,true);}}return this.__inherited(name,true);};function _27f(args,a1,a2,a3){var f=this.getInherited(args,a1,a2);if(f){return f.apply(this,a3||a2||a1||args);}};var _280=dojo.config.isDebug?_27f:_278;function _281(cls){var _282=this.constructor._meta.bases;for(var i=0,l=_282.length;i<l;++i){if(_282[i]===cls){return true;}}return this instanceof cls;};function _283(_284,_285){for(var name in _285){if(name!=_26f&&_285.hasOwnProperty(name)){_284[name]=_285[name];}}if(has("bug-for-in-skips-shadowed")){for(var _286=lang._extraNames,i=_286.length;i;){name=_286[--i];if(name!=_26f&&_285.hasOwnProperty(name)){_284[name]=_285[name];}}}};function _287(_288,_289){var name,t;for(name in _289){t=_289[name];if((t!==op[name]||!(name in op))&&name!=_26f){if(opts.call(t)=="[object Function]"){t.nom=name;}_288[name]=t;}}if(has("bug-for-in-skips-shadowed")&&_289){for(var _28a=lang._extraNames,i=_28a.length;i;){name=_28a[--i];t=_289[name];if((t!==op[name]||!(name in op))&&name!=_26f){if(opts.call(t)=="[object Function]"){t.nom=name;}_288[name]=t;}}}return _288;};function _28b(_28c){_28d.safeMixin(this.prototype,_28c);return this;};function _28e(_28f,_290){if(!(_28f instanceof Array||typeof _28f==="function")){_290=_28f;_28f=undefined;}_290=_290||{};_28f=_28f||[];return _28d([this].concat(_28f),_290);};function _291(_292,_293){return function(){var a=arguments,args=a,a0=a[0],f,i,m,l=_292.length,_294;if(!(this instanceof a.callee)){return _295(a);}if(_293&&(a0&&a0.preamble||this.preamble)){_294=new Array(_292.length);_294[0]=a;for(i=0;;){a0=a[0];if(a0){f=a0.preamble;if(f){a=f.apply(this,a)||a;}}f=_292[i].prototype;f=f.hasOwnProperty("preamble")&&f.preamble;if(f){a=f.apply(this,a)||a;}if(++i==l){break;}_294[i]=a;}}for(i=l-1;i>=0;--i){f=_292[i];m=f._meta;f=m?m.ctor:f;if(f){f.apply(this,_294?_294[i]:a);}}f=this.postscript;if(f){f.apply(this,args);}};};function _296(ctor,_297){return function(){var a=arguments,t=a,a0=a[0],f;if(!(this instanceof a.callee)){return _295(a);}if(_297){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 _298(_299){return function(){var a=arguments,i=0,f,m;if(!(this instanceof a.callee)){return _295(a);}for(;f=_299[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 _29a(name,_29b,_29c){return function(){var b,m,f,i=0,step=1;if(_29c){i=_29b.length-1;step=-1;}for(;b=_29b[i];i+=step){m=b._meta;f=(m?m.hidden:b.prototype)[name];if(f){f.apply(this,arguments);}}};};function _29d(ctor){xtor.prototype=ctor.prototype;var t=new xtor;xtor.prototype=null;return t;};function _295(args){var ctor=args.callee,t=_29d(ctor);ctor.apply(t,args);return t;};function _28d(_29e,_29f,_2a0){if(typeof _29e!="string"){_2a0=_29f;_29f=_29e;_29e="";}_2a0=_2a0||{};var _2a1,i,t,ctor,name,_2a2,_2a3,_2a4=1,_2a5=_29f;if(opts.call(_29f)=="[object Array]"){_2a2=_270(_29f,_29e);t=_2a2[0];_2a4=_2a2.length-t;_29f=_2a2[_2a4];}else{_2a2=[0];if(_29f){if(opts.call(_29f)=="[object Function]"){t=_29f._meta;_2a2=_2a2.concat(t?t.bases:_29f);}else{err("base class is not a callable constructor.",_29e);}}else{if(_29f!==null){err("unknown base class. Did you use dojo.require to pull it in?",_29e);}}}if(_29f){for(i=_2a4-1;;--i){_2a1=_29d(_29f);if(!i){break;}t=_2a2[i];(t._meta?_283:mix)(_2a1,t.prototype);if(has("csp-restrictions")){ctor=function(){};}else{ctor=new Function;}ctor.superclass=_29f;ctor.prototype=_2a1;_29f=_2a1.constructor=ctor;}}else{_2a1={};}_28d.safeMixin(_2a1,_2a0);t=_2a0.constructor;if(t!==op.constructor){t.nom=_26f;_2a1.constructor=t;}for(i=_2a4-1;i;--i){t=_2a2[i]._meta;if(t&&t.chains){_2a3=mix(_2a3||{},t.chains);}}if(_2a1["-chains-"]){_2a3=mix(_2a3||{},_2a1["-chains-"]);}if(_29f&&_29f.prototype&&_29f.prototype["-chains-"]){_2a3=mix(_2a3||{},_29f.prototype["-chains-"]);}t=!_2a3||!_2a3.hasOwnProperty(_26f);_2a2[0]=ctor=(_2a3&&_2a3.constructor==="manual")?_298(_2a2):(_2a2.length==1?_296(_2a0.constructor,t):_291(_2a2,t));ctor._meta={bases:_2a2,hidden:_2a0,chains:_2a3,parents:_2a5,ctor:_2a0.constructor};ctor.superclass=_29f&&_29f.prototype;ctor.extend=_28b;ctor.createSubclass=_28e;ctor.prototype=_2a1;_2a1.constructor=ctor;_2a1.getInherited=_27e;_2a1.isInstanceOf=_281;_2a1.inherited=_280;_2a1.__inherited=_278;if(_29e){_2a1.declaredClass=_29e;lang.setObject(_29e,ctor);}if(_2a3){for(name in _2a3){if(_2a1[name]&&typeof _2a3[name]=="string"&&name!=_26f){t=_2a1[name]=_29a(name,_2a2,_2a3[name]==="after");t.nom=name;}}}return ctor;};dojo.safeMixin=_28d.safeMixin=_287;dojo.declare=_28d;return _28d;});},"dojo/dom":function(){define(["./sniff","./_base/window","./_base/kernel"],function(has,win,_2a6){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 _2a7=doc||win.doc,te=id&&_2a7.getElementById(id);if(te&&(te.attributes.id.value==id||te.id==id)){return te;}else{var eles=_2a7.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;};}var doc=_2a6.global["document"]||null;has.add("dom-contains",!!(doc&&doc.contains));dom.isDescendant=has("dom-contains")?function(node,_2a8){return !!((_2a8=dom.byId(_2a8))&&_2a8.contains(dom.byId(node)));}:function(node,_2a9){try{node=dom.byId(node);_2a9=dom.byId(_2a9);while(node){if(node==_2a9){return true;}node=node.parentNode;}}catch(e){}return false;};has.add("css-user-select",function(_2aa,doc,_2ab){if(!_2ab){return false;}var _2ac=_2ab.style;var _2ad=["Khtml","O","Moz","Webkit"],i=_2ad.length,name="userSelect",_2ae;do{if(typeof _2ac[name]!=="undefined"){return name;}}while(i--&&(name=_2ad[i]+"UserSelect"));return false;});var _2af=has("css-user-select");dom.setSelectable=_2af?function(node,_2b0){dom.byId(node).style[_2af]=_2b0?"":"none";}:function(node,_2b1){node=dom.byId(node);var _2b2=node.getElementsByTagName("*"),i=_2b2.length;if(_2b1){node.removeAttribute("unselectable");while(i--){_2b2[i].removeAttribute("unselectable");}}else{node.setAttribute("unselectable","on");while(i--){_2b2[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/errors/RequestTimeoutError":function(){define(["./create","./RequestError"],function(_2b3,_2b4){return _2b3("RequestTimeoutError",null,_2b4,{dojoType:"timeout"});});},"dojo/dom-style":function(){define(["./sniff","./dom","./_base/window"],function(has,dom,win){var _2b5,_2b6={};if(has("webkit")){_2b5=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"))){_2b5=function(node){return node.nodeType==1&&node.currentStyle?node.currentStyle:{};};}else{_2b5=function(node){if(node.nodeType===1){var dv=node.ownerDocument.defaultView,w=dv.opener?dv:win.global.window;return w.getComputedStyle(node,null);}return {};};}}_2b6.getComputedStyle=_2b5;var _2b7;if(!has("ie")){_2b7=function(_2b8,_2b9){return parseFloat(_2b9)||0;};}else{_2b7=function(_2ba,_2bb){if(!_2bb){return 0;}if(_2bb=="medium"){return 4;}if(_2bb.slice&&_2bb.slice(-2)=="px"){return parseFloat(_2bb);}var s=_2ba.style,rs=_2ba.runtimeStyle,cs=_2ba.currentStyle,_2bc=s.left,_2bd=rs.left;rs.left=cs.left;try{s.left=_2bb;_2bb=s.pixelLeft;}catch(e){_2bb=0;}s.left=_2bc;rs.left=_2bd;return _2bb;};}_2b6.toPixelValue=_2b7;var astr="DXImageTransform.Microsoft.Alpha";var af=function(n,f){try{return n.filters.item(astr);}catch(e){return f?{}:null;}};var _2be=has("ie")<9||(has("ie")<10&&has("quirks"))?function(node){try{return af(node).Opacity/100;}catch(e){return 1;}}:function(node){return _2b5(node).opacity;};var _2bf=has("ie")<9||(has("ie")<10&&has("quirks"))?function(node,_2c0){if(_2c0===""){_2c0=1;}var ov=_2c0*100,_2c1=_2c0===1;if(_2c1){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"){_2bf(td,_2c0);}}}return _2c0;}:function(node,_2c2){return node.style.opacity=_2c2;};var _2c3={left:true,top:true};var _2c4=/margin|padding|width|height|max|min|offset/;function _2c5(node,type,_2c6){type=type.toLowerCase();if(_2c6=="auto"){if(type=="height"){return node.offsetHeight;}if(type=="width"){return node.offsetWidth;}}if(type=="fontweight"){switch(_2c6){case 700:return "bold";case 400:default:return "normal";}}if(!(type in _2c3)){_2c3[type]=_2c4.test(type);}return _2c3[type]?_2b7(node,_2c6):_2c6;};var _2c7={cssFloat:1,styleFloat:1,"float":1};_2b6.get=function getStyle(node,name){var n=dom.byId(node),l=arguments.length,op=(name=="opacity");if(l==2&&op){return _2be(n);}name=_2c7[name]?"cssFloat" in n.style?"cssFloat":"styleFloat":name;var s=_2b6.getComputedStyle(n);return (l==1)?s:_2c5(n,name,s[name]||n.style[name]);};_2b6.set=function setStyle(node,name,_2c8){var n=dom.byId(node),l=arguments.length,op=(name=="opacity");name=_2c7[name]?"cssFloat" in n.style?"cssFloat":"styleFloat":name;if(l==3){return op?_2bf(n,_2c8):n.style[name]=_2c8;}for(var x in name){_2b6.set(node,x,name[x]);}return _2b6.getComputedStyle(n);};return _2b6;});},"dojo/dom-geometry":function(){define(["./sniff","./_base/window","./dom","./dom-style"],function(has,win,dom,_2c9){var geom={};geom.boxModel="content-box";if(has("ie")){geom.boxModel=document.compatMode=="BackCompat"?"border-box":"content-box";}geom.getPadExtents=function getPadExtents(node,_2ca){node=dom.byId(node);var s=_2ca||_2c9.getComputedStyle(node),px=_2c9.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,_2cb){node=dom.byId(node);var px=_2c9.toPixelValue,s=_2cb||_2c9.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,_2cc){node=dom.byId(node);var s=_2cc||_2c9.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,_2cd){node=dom.byId(node);var s=_2cd||_2c9.getComputedStyle(node),px=_2c9.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,_2ce){node=dom.byId(node);var s=_2ce||_2c9.getComputedStyle(node),me=geom.getMarginExtents(node,s),l=node.offsetLeft-me.l,t=node.offsetTop-me.t,p=node.parentNode,px=_2c9.toPixelValue,pcs;if((has("ie")==8&&!has("quirks"))){if(p){pcs=_2c9.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,_2cf){node=dom.byId(node);var s=_2cf||_2c9.getComputedStyle(node),w=node.clientWidth,h,pe=geom.getPadExtents(node,s),be=geom.getBorderExtents(node,s),l=node.offsetLeft+pe.l+be.l,t=node.offsetTop+pe.t+be.t;if(!w){w=node.offsetWidth-be.w;h=node.offsetHeight-be.h;}else{h=node.clientHeight;}if((has("ie")==8&&!has("quirks"))){var p=node.parentNode,px=_2c9.toPixelValue,pcs;if(p){pcs=_2c9.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:w-pe.w,h:h-pe.h};};function _2d0(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 _2d1(node){return node.tagName.toLowerCase()=="button"||node.tagName.toLowerCase()=="input"&&(node.getAttribute("type")||"").toLowerCase()=="button";};function _2d2(node){return geom.boxModel=="border-box"||node.tagName.toLowerCase()=="table"||_2d1(node);};geom.setContentSize=function setContentSize(node,box,_2d3){node=dom.byId(node);var w=box.w,h=box.h;if(_2d2(node)){var pb=geom.getPadBorderExtents(node,_2d3);if(w>=0){w+=pb.w;}if(h>=0){h+=pb.h;}}_2d0(node,NaN,NaN,w,h);};var _2d4={l:0,t:0,w:0,h:0};geom.setMarginBox=function setMarginBox(node,box,_2d5){node=dom.byId(node);var s=_2d5||_2c9.getComputedStyle(node),w=box.w,h=box.h,pb=_2d2(node)?_2d4:geom.getPadBorderExtents(node,s),mb=geom.getMarginExtents(node,s);if(has("webkit")){if(_2d1(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);}_2d0(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};};geom.getIeDocumentElementOffset=function(doc){return {x:0,y:0};};geom.fixIeBiDiScrollLeft=function fixIeBiDiScrollLeft(_2d6,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){_2d6+=de.clientLeft;}return (ie<8||qk)?(_2d6+de.clientWidth-de.scrollWidth):-_2d6;}return _2d6;};geom.position=function(node,_2d7){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){ret.x-=(has("quirks")?db.clientLeft+db.offsetLeft:0);ret.y-=(has("quirks")?db.clientTop+db.offsetTop:0);}if(_2d7){var _2d8=geom.docScroll(node.ownerDocument);ret.x+=_2d8.x;ret.y+=_2d8.y;}return ret;};geom.getMarginSize=function getMarginSize(node,_2d9){node=dom.byId(node);var me=geom.getMarginExtents(node,_2d9||_2c9.getComputedStyle(node));var size=node.getBoundingClientRect();return {w:(size.right-size.left)+me.w,h:(size.bottom-size.top)+me.h};};geom.normalizeEvent=function(_2da){if(!("layerX" in _2da)){_2da.layerX=_2da.offsetX;_2da.layerY=_2da.offsetY;}if(!("pageX" in _2da)){var se=_2da.target;var doc=(se&&se.ownerDocument)||document;var _2db=has("quirks")?doc.body:doc.documentElement;_2da.pageX=_2da.clientX+geom.fixIeBiDiScrollLeft(_2db.scrollLeft||0,doc);_2da.pageY=_2da.clientY+(_2db.scrollTop||0);}};return geom;});},"dojo/global":function(){define(function(){if(typeof global!=="undefined"&&typeof global!=="function"){return global;}else{if(typeof window!=="undefined"){return window;}else{if(typeof self!=="undefined"){return self;}}}return this;});},"dojo/dom-prop":function(){define(["exports","./_base/kernel","./sniff","./_base/lang","./dom","./dom-style","./dom-construct","./_base/connect"],function(_2dc,dojo,has,lang,dom,_2dd,ctr,conn){var _2de={},_2df=1,_2e0=dojo._scopeName+"attrid";has.add("dom-textContent",function(_2e1,doc,_2e2){return "textContent" in _2e2;});_2dc.names={"class":"className","for":"htmlFor",tabindex:"tabIndex",readonly:"readOnly",colspan:"colSpan",frameborder:"frameBorder",rowspan:"rowSpan",textcontent:"textContent",valuetype:"valueType"};function _2e3(node){var text="",ch=node.childNodes;for(var i=0,n;n=ch[i];i++){if(n.nodeType!=8){if(n.nodeType==1){text+=_2e3(n);}else{text+=n.nodeValue;}}}return text;};_2dc.get=function getProp(node,name){node=dom.byId(node);var lc=name.toLowerCase(),_2e4=_2dc.names[lc]||name;if(_2e4=="textContent"&&!has("dom-textContent")){return _2e3(node);}return node[_2e4];};_2dc.set=function setProp(node,name,_2e5){node=dom.byId(node);var l=arguments.length;if(l==2&&typeof name!="string"){for(var x in name){_2dc.set(node,x,name[x]);}return node;}var lc=name.toLowerCase(),_2e6=_2dc.names[lc]||name;if(_2e6=="style"&&typeof _2e5!="string"){_2dd.set(node,_2e5);return node;}if(_2e6=="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(_2e5,node.ownerDocument));}else{node[_2e6]=_2e5;}return node;}if(_2e6=="textContent"&&!has("dom-textContent")){ctr.empty(node);node.appendChild(node.ownerDocument.createTextNode(_2e5));return node;}if(lang.isFunction(_2e5)){var _2e7=node[_2e0];if(!_2e7){_2e7=_2df++;node[_2e0]=_2e7;}if(!_2de[_2e7]){_2de[_2e7]={};}var h=_2de[_2e7][_2e6];if(h){conn.disconnect(h);}else{try{delete node[_2e6];}catch(e){}}if(_2e5){_2de[_2e7][_2e6]=conn.connect(node,_2e6,_2e5);}else{node[_2e6]=null;}return node;}node[_2e6]=_2e5;return node;};});},"dojo/when":function(){define(["./Deferred","./promise/Promise"],function(_2e8,_2e9){"use strict";return function when(_2ea,_2eb,_2ec,_2ed){var _2ee=_2ea&&typeof _2ea.then==="function";var _2ef=_2ee&&_2ea instanceof _2e9;if(!_2ee){if(arguments.length>1){return _2eb?_2eb(_2ea):_2ea;}else{return new _2e8().resolve(_2ea);}}else{if(!_2ef){var _2f0=new _2e8(_2ea.cancel);_2ea.then(_2f0.resolve,_2f0.reject,_2f0.progress);_2ea=_2f0.promise;}}if(_2eb||_2ec||_2ed){return _2ea.then(_2eb,_2ec,_2ed);}return _2ea;};});},"dojo/dom-attr":function(){define(["exports","./sniff","./_base/lang","./dom","./dom-style","./dom-prop"],function(_2f1,has,lang,dom,_2f2,prop){var _2f3={innerHTML:1,textContent:1,className:1,htmlFor:has("ie"),value:1},_2f4={classname:"class",htmlfor:"for",tabindex:"tabIndex",readonly:"readOnly"};function _2f5(node,name){var attr=node.getAttributeNode&&node.getAttributeNode(name);return !!attr&&attr.specified;};_2f1.has=function hasAttr(node,name){var lc=name.toLowerCase();return _2f3[prop.names[lc]||name]||_2f5(dom.byId(node),_2f4[lc]||name);};_2f1.get=function getAttr(node,name){node=dom.byId(node);var lc=name.toLowerCase(),_2f6=prop.names[lc]||name,_2f7=_2f3[_2f6],_2f8=node[_2f6];if(_2f7&&typeof _2f8!="undefined"){return _2f8;}if(_2f6=="textContent"){return prop.get(node,_2f6);}if(_2f6!="href"&&(typeof _2f8=="boolean"||lang.isFunction(_2f8))){return _2f8;}var _2f9=_2f4[lc]||name;return _2f5(node,_2f9)?node.getAttribute(_2f9):null;};_2f1.set=function setAttr(node,name,_2fa){node=dom.byId(node);if(arguments.length==2){for(var x in name){_2f1.set(node,x,name[x]);}return node;}var lc=name.toLowerCase(),_2fb=prop.names[lc]||name,_2fc=_2f3[_2fb];if(_2fb=="style"&&typeof _2fa!="string"){_2f2.set(node,_2fa);return node;}if(_2fc||typeof _2fa=="boolean"||lang.isFunction(_2fa)){return prop.set(node,name,_2fa);}node.setAttribute(_2f4[lc]||name,_2fa);return node;};_2f1.remove=function removeAttr(node,name){dom.byId(node).removeAttribute(_2f4[name.toLowerCase()]||name);};_2f1.getNodeProp=function getNodeProp(node,name){node=dom.byId(node);var lc=name.toLowerCase(),_2fd=prop.names[lc]||name;if((_2fd in node)&&_2fd!="href"){return node[_2fd];}var _2fe=_2f4[lc]||name;return _2f5(node,_2fe)?node.getAttribute(_2fe):null;};});},"dojo/dom-construct":function(){define(["exports","./_base/kernel","./sniff","./_base/window","./dom","./dom-attr"],function(_2ff,dojo,has,win,dom,attr){var _300={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"]},_301=/<\s*([\w\:]+)/,_302={},_303=0,_304="__"+dojo._scopeName+"ToDomId";for(var _305 in _300){if(_300.hasOwnProperty(_305)){var tw=_300[_305];tw.pre=_305=="option"?"<select multiple=\"multiple\">":"<"+tw.join("><")+">";tw.post="</"+tw.reverse().join("></")+">";}}var _306;if(has("ie")<=8){_306=function(doc){doc.__dojo_html5_tested="yes";var div=_307("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);});}_308(div);};}function _309(node,ref){var _30a=ref.parentNode;if(_30a){_30a.insertBefore(node,ref);}};function _30b(node,ref){var _30c=ref.parentNode;if(_30c){if(_30c.lastChild==ref){_30c.appendChild(node);}else{_30c.insertBefore(node,ref.nextSibling);}}};_2ff.toDom=function toDom(frag,doc){doc=doc||win.doc;var _30d=doc[_304];if(!_30d){doc[_304]=_30d=++_303+"";_302[_30d]=doc.createElement("div");}if(has("ie")<=8){if(!doc.__dojo_html5_tested&&doc.body){_306(doc);}}frag+="";var _30e=frag.match(_301),tag=_30e?_30e[1].toLowerCase():"",_30f=_302[_30d],wrap,i,fc,df;if(_30e&&_300[tag]){wrap=_300[tag];_30f.innerHTML=wrap.pre+frag+wrap.post;for(i=wrap.length;i;--i){_30f=_30f.firstChild;}}else{_30f.innerHTML=frag;}if(_30f.childNodes.length==1){return _30f.removeChild(_30f.firstChild);}df=doc.createDocumentFragment();while((fc=_30f.firstChild)){df.appendChild(fc);}return df;};_2ff.place=function place(node,_310,_311){_310=dom.byId(_310);if(typeof node=="string"){node=/^\s*</.test(node)?_2ff.toDom(node,_310.ownerDocument):dom.byId(node);}if(typeof _311=="number"){var cn=_310.childNodes;if(!cn.length||cn.length<=_311){_310.appendChild(node);}else{_309(node,cn[_311<0?0:_311]);}}else{switch(_311){case "before":_309(node,_310);break;case "after":_30b(node,_310);break;case "replace":_310.parentNode.replaceChild(node,_310);break;case "only":_2ff.empty(_310);_310.appendChild(node);break;case "first":if(_310.firstChild){_309(node,_310.firstChild);break;}default:_310.appendChild(node);}}return node;};var _307=_2ff.create=function _307(tag,_312,_313,pos){var doc=win.doc;if(_313){_313=dom.byId(_313);doc=_313.ownerDocument;}if(typeof tag=="string"){tag=doc.createElement(tag);}if(_312){attr.set(tag,_312);}if(_313){_2ff.place(tag,_313,pos);}return tag;};function _314(node){if("innerHTML" in node){try{node.innerHTML="";return;}catch(e){}}for(var c;c=node.lastChild;){node.removeChild(c);}};_2ff.empty=function empty(node){_314(dom.byId(node));};function _315(node,_316){if(node.firstChild){_314(node);}if(_316){has("ie")&&_316.canHaveChildren&&"removeNode" in node?node.removeNode(false):_316.removeChild(node);}};var _308=_2ff.destroy=function _308(node){node=dom.byId(node);if(!node){return;}_315(node,node.parentNode);};});},"dojo/request/xhr":function(){define(["../errors/RequestError","./watch","./handlers","./util","../has"],function(_317,_318,_319,util,has){has.add("native-xhr",function(){return typeof XMLHttpRequest!=="undefined";});has.add("dojo-force-activex-xhr",function(){return has("activex")&&window.location.protocol==="file:";});has.add("native-xhr2",function(){if(!has("native-xhr")||has("dojo-force-activex-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!=="undefined";});has.add("native-response-type",function(){return has("native-xhr")&&typeof new XMLHttpRequest().responseType!=="undefined";});has.add("native-xhr2-blob",function(){if(!has("native-response-type")){return;}var x=new XMLHttpRequest();x.open("GET","https://dojotoolkit.org/",true);x.responseType="blob";var _31a=x.responseType;x.abort();return _31a==="blob";});var _31b={"blob":has("native-xhr2-blob")?"blob":"arraybuffer","document":"document","arraybuffer":"arraybuffer"};function _31c(_31d,_31e){var _31f=_31d.xhr;_31d.status=_31d.xhr.status;try{_31d.text=_31f.responseText;}catch(e){}if(_31d.options.handleAs==="xml"){_31d.data=_31f.responseXML;}var _320;if(_31e){this.reject(_31e);}else{try{_319(_31d);}catch(e){_320=e;}if(util.checkStatus(_31f.status)){if(!_320){this.resolve(_31d);}else{this.reject(_320);}}else{if(!_320){_31e=new _317("Unable to load "+_31d.url+" status: "+_31f.status,_31d);this.reject(_31e);}else{_31e=new _317("Unable to load "+_31d.url+" status: "+_31f.status+" and an error in handleAs: transformation of response",_31d);this.reject(_31e);}}}};var _321,_322,_323,_324;if(has("native-xhr2")){_321=function(_325){return !this.isFulfilled();};_324=function(dfd,_326){_326.xhr.abort();};_323=function(_327,dfd,_328,_329){function _32a(evt){dfd.handleResponse(_328);};function _32b(evt){var _32c=evt.target;var _32d=new _317("Unable to load "+_328.url+" status: "+_32c.status,_328);dfd.handleResponse(_328,_32d);};function _32e(_32f,evt){_328.transferType=_32f;if(evt.lengthComputable){_328.loaded=evt.loaded;_328.total=evt.total;dfd.progress(_328);}else{if(_328.xhr.readyState===3){_328.loaded=("loaded" in evt)?evt.loaded:evt.position;dfd.progress(_328);}}};function _330(evt){return _32e("download",evt);};function _331(evt){return _32e("upload",evt);};_327.addEventListener("load",_32a,false);_327.addEventListener("error",_32b,false);_327.addEventListener("progress",_330,false);if(_329&&_327.upload){_327.upload.addEventListener("progress",_331,false);}return function(){_327.removeEventListener("load",_32a,false);_327.removeEventListener("error",_32b,false);_327.removeEventListener("progress",_330,false);_327.upload.removeEventListener("progress",_331,false);_327=null;};};}else{_321=function(_332){return _332.xhr.readyState;};_322=function(_333){return 4===_333.xhr.readyState;};_324=function(dfd,_334){var xhr=_334.xhr;var _335=typeof xhr.abort;if(_335==="function"||_335==="object"||_335==="unknown"){xhr.abort();}};}function _336(_337){return this.xhr.getResponseHeader(_337);};var _338,_339={data:null,query:null,sync:false,method:"GET"};function xhr(url,_33a,_33b){var _33c=has("native-formdata")&&_33a&&_33a.data&&_33a.data instanceof FormData;var _33d=util.parseArgs(url,util.deepCreate(_339,_33a),_33c);url=_33d.url;_33a=_33d.options;var _33e=!_33a.data&&_33a.method!=="POST"&&_33a.method!=="PUT";if(has("ie")<=10){url=url.split("#")[0];}var _33f,last=function(){_33f&&_33f();};var dfd=util.deferred(_33d,_324,_321,_322,_31c,last);var _340=_33d.xhr=xhr._create();if(!_340){dfd.cancel(new _317("XHR was not created"));return _33b?dfd:dfd.promise;}_33d.getHeader=_336;if(_323){_33f=_323(_340,dfd,_33d,_33a.uploadProgress);}var data=typeof (_33a.data)==="undefined"?null:_33a.data,_341=!_33a.sync,_342=_33a.method;try{_340.open(_342,url,_341,_33a.user||_338,_33a.password||_338);if(_33a.withCredentials){_340.withCredentials=_33a.withCredentials;}if(has("native-response-type")&&_33a.handleAs in _31b){_340.responseType=_31b[_33a.handleAs];}var _343=_33a.headers,_344=(_33c||_33e)?false:"application/x-www-form-urlencoded";if(_343){for(var hdr in _343){if(hdr.toLowerCase()==="content-type"){_344=_343[hdr];}else{if(_343[hdr]){_340.setRequestHeader(hdr,_343[hdr]);}}}}if(_344&&_344!==false){_340.setRequestHeader("Content-Type",_344);}if(!_343||!("X-Requested-With" in _343)){_340.setRequestHeader("X-Requested-With","XMLHttpRequest");}if(util.notify){util.notify.emit("send",_33d,dfd.promise.cancel);}_340.send(data);}catch(e){dfd.reject(e);}_318(dfd);_340=null;return _33b?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/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(["./global","./has"],function(_345,has){var doc=document,_346={"loaded":1,"complete":1},_347=typeof doc.readyState!="string",_348=!!_346[doc.readyState],_349=[],_34a;function _34b(_34c){_349.push(_34c);if(_348){_34d();}};_34b.load=function(id,req,load){_34b(load);};_34b._Q=_349;_34b._onQEmpty=function(){};if(_347){doc.readyState="loading";}function _34d(){if(_34a){return;}_34a=true;while(_349.length){try{(_349.shift())(doc);}catch(err){console.error(err,"in domReady callback",err.stack);}}_34a=false;_34b._onQEmpty();};if(!_348){var _34e=[],_34f=function(evt){evt=evt||_345.event;if(_348||(evt.type=="readystatechange"&&!_346[doc.readyState])){return;}if(_347){doc.readyState="complete";}_348=1;_34d();},on=function(node,_350){node.addEventListener(_350,_34f,false);_349.push(function(){node.removeEventListener(_350,_34f,false);});};if(!has("dom-addeventlistener")){on=function(node,_351){_351="on"+_351;node.attachEvent(_351,_34f);_349.push(function(){node.detachEvent(_351,_34f);});};var div=doc.createElement("div");try{if(div.doScroll&&_345.frameElement===null){_34e.push(function(){try{div.doScroll("left");return 1;}catch(e){}});}}catch(e){}}on(doc,"DOMContentLoaded");on(_345,"load");if("onreadystatechange" in doc){on(doc,"readystatechange");}else{if(!_347){_34e.push(function(){return _346[doc.readyState];});}}if(_34e.length){var _352=function(){if(_348){return;}var i=_34e.length;while(i--){if(_34e[i]()){_34f("poller");return;}}setTimeout(_352,30);};_352();}}return _34b;});},"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 _353=has("bug-for-in-skips-shadowed")?"hasOwnProperty.valueOf.isPrototypeOf.propertyIsEnumerable.toLocaleString.toString.constructor".split("."):[],_354=_353.length,_355=function(_356,_357,_358){if(!_358){if(_356[0]&&dojo.scopeMap[_356[0]]){_358=dojo.scopeMap[_356.shift()][1];}else{_358=dojo.global;}}try{for(var i=0;i<_356.length;i++){var p=_356[i];if(!(p in _358)){if(_357){_358[p]={};}else{return;}}_358=_358[p];}return _358;}catch(e){}},opts=Object.prototype.toString,_359=function(obj,_35a,_35b){return (_35b||[]).concat(Array.prototype.slice.call(obj,_35a||0));},_35c=/\{([^\}]+)\}/g;var lang={_extraNames:_353,_mixin:function(dest,_35d,_35e){var name,s,i,_35f={};for(name in _35d){s=_35d[name];if(!(name in dest)||(dest[name]!==s&&(!(name in _35f)||_35f[name]!==s))){dest[name]=_35e?_35e(s):s;}}if(has("bug-for-in-skips-shadowed")){if(_35d){for(i=0;i<_354;++i){name=_353[i];s=_35d[name];if(!(name in dest)||(dest[name]!==s&&(!(name in _35f)||_35f[name]!==s))){dest[name]=_35e?_35e(s):s;}}}}return dest;},mixin:function(dest,_360){if(!dest){dest={};}for(var i=1,l=arguments.length;i<l;i++){lang._mixin(dest,arguments[i]);}return dest;},setObject:function(name,_361,_362){var _363=name.split("."),p=_363.pop(),obj=_355(_363,true,_362);return obj&&p?(obj[p]=_361):undefined;},getObject:function(name,_364,_365){return !name?_365:_355(name.split("."),_364,_365);},exists:function(name,obj){return lang.getObject(name,false,obj)!==undefined;},isString:function(it){return (typeof it=="string"||it instanceof String);},isArray:Array.isArray||function(it){return opts.call(it)=="[object 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&&!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,_366){for(var i=1,l=arguments.length;i<l;i++){lang._mixin(ctor.prototype,arguments[i]);}return ctor;},_hitchArgs:function(_367,_368){var pre=lang._toArray(arguments,2);var _369=lang.isString(_368);return function(){var args=lang._toArray(arguments);var f=_369?(_367||dojo.global)[_368]:_368;return f&&f.apply(_367||this,pre.concat(args));};},hitch:function(_36a,_36b){if(arguments.length>2){return lang._hitchArgs.apply(dojo,arguments);}if(!_36b){_36b=_36a;_36a=null;}if(lang.isString(_36b)){_36a=_36a||dojo.global;if(!_36a[_36b]){throw (["lang.hitch: scope[\"",_36b,"\"] is null (scope=\"",_36a,"\")"].join(""));}return function(){return _36a[_36b].apply(_36a,arguments||[]);};}return !_36a?_36b:function(){return _36b.apply(_36a,arguments||[]);};},delegate:(function(){function TMP(){};return function(obj,_36c){TMP.prototype=obj;var tmp=new TMP();TMP.prototype=null;if(_36c){lang._mixin(tmp,_36c);}return tmp;};})(),_toArray:has("ie")?(function(){function slow(obj,_36d,_36e){var arr=_36e||[];for(var x=_36d||0;x<obj.length;x++){arr.push(obj[x]);}return arr;};return function(obj){return ((obj.item)?slow:_359).apply(this,arguments);};})():_359,partial:function(_36f){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[i]=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,_370){return tmpl.replace(_370||_35c,lang.isFunction(map)?map:function(_371,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","../has"],function(_372,_373,_374,_375,_376,_377,lang,_378,has){_372.deepCopy=function(_379,_37a){for(var name in _37a){var tval=_379[name],sval=_37a[name];if(tval!==sval){if(sval&&typeof sval==="object"&&!(has("native-formdata")&&sval instanceof FormData)){if(Object.prototype.toString.call(sval)==="[object Date]"){_379[name]=new Date(sval);}else{if(lang.isArray(sval)){_379[name]=_372.deepCopyArray(sval);}else{if(tval&&typeof tval==="object"){_372.deepCopy(tval,sval);}else{_379[name]=_372.deepCopy({},sval);}}}}else{_379[name]=sval;}}}return _379;};_372.deepCopyArray=function(_37b){var _37c=[];_37b.forEach(function(_37d){if(typeof _37d==="object"){_37c.push(_372.deepCopy({},_37d));}else{_37c.push(_37d);}});return _37c;};_372.deepCreate=function deepCreate(_37e,_37f){_37f=_37f||{};var _380=lang.delegate(_37e),name,_381;for(name in _37e){_381=_37e[name];if(_381&&typeof _381==="object"){_380[name]=_372.deepCreate(_381,_37f[name]);}}return _372.deepCopy(_380,_37f);};var _382=Object.freeze||function(obj){return obj;};function _383(_384){return _382(_384);};function _385(_386){return _386.data!==undefined?_386.data:_386.text;};_372.deferred=function deferred(_387,_388,_389,_38a,_38b,last){var def=new _375(function(_38c){_388&&_388(def,_387);if(!_38c||!(_38c instanceof _373)&&!(_38c instanceof _374)){return new _374("Request canceled",_387);}return _38c;});def.response=_387;def.isValid=_389;def.isReady=_38a;def.handleResponse=_38b;function _38d(_38e){_38e.response=_387;throw _38e;};var _38f=def.then(_383).otherwise(_38d);if(_372.notify){_38f.then(lang.hitch(_372.notify,"emit","load"),lang.hitch(_372.notify,"emit","error"));}var _390=_38f.then(_385);var _391=new _378();for(var prop in _390){if(_390.hasOwnProperty(prop)){_391[prop]=_390[prop];}}_391.response=_38f;_382(_391);if(last){def.then(function(_392){last.call(def,_392);},function(_393){last.call(def,_387,_393);});}def.promise=_391;def.then=_391.then;return def;};_372.addCommonMethods=function addCommonMethods(_394,_395){_377.forEach(_395||["GET","POST","PUT","DELETE"],function(_396){_394[(_396==="DELETE"?"DEL":_396).toLowerCase()]=function(url,_397){_397=lang.delegate(_397||{});_397.method=_396;return _394(url,_397);};});};_372.parseArgs=function parseArgs(url,_398,_399){var data=_398.data,_39a=_398.query;if(data&&!_399){if(typeof data==="object"&&(!(has("native-xhr2"))||!(data instanceof ArrayBuffer||data instanceof Blob))){_398.data=_376.objectToQuery(data);}}if(_39a){if(typeof _39a==="object"){_39a=_376.objectToQuery(_39a);}if(_398.preventCache){_39a+=(_39a?"&":"")+"request.preventCache="+(+(new Date));}}else{if(_398.preventCache){_39a="request.preventCache="+(+(new Date));}}if(url&&_39a){url+=(~url.indexOf("?")?"&":"?")+_39a;}return {url:url,options:_398,getHeader:function(_39b){return null;}};};_372.checkStatus=function(stat){stat=stat||0;return (stat>=200&&stat<300)||stat===304||stat===1223||!stat;};});},"dojo/Evented":function(){define(["./aspect","./on"],function(_39c,on){"use strict";var _39d=_39c.after;function _39e(){};_39e.prototype={on:function(type,_39f){return on.parse(this,type,_39f,function(_3a0,type){return _39d(_3a0,"on"+type,_39f,true);});},emit:function(type,_3a1){var args=[this];args.push.apply(args,arguments);return on.emit.apply(on,args);}};return _39e;});},"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 _3a2;if((has("dom-quirks")&&has("ie"))||!has("dom-addeventlistener")){_3a2={LEFT:1,MIDDLE:4,RIGHT:2,isButton:function(e,_3a3){return e.button&_3a3;},isLeft:function(e){return e.button&1;},isMiddle:function(e){return e.button&4;},isRight:function(e){return e.button&2;}};}else{_3a2={LEFT:0,MIDDLE:1,RIGHT:2,isButton:function(e,_3a4){return e.button==_3a4;},isLeft:function(e){return e.button==0;},isMiddle:function(e){return e.button==1;},isRight:function(e){return e.button==2;}};}dojo.mouseButtons=_3a2;function _3a5(type,_3a6){var _3a7=function(node,_3a8){return on(node,type,function(evt){if(_3a6){return _3a6(evt,_3a8);}if(!dom.isDescendant(evt.relatedTarget,node)){return _3a8.call(this,evt);}});};_3a7.bubble=function(_3a9){return _3a5(type,function(evt,_3aa){var _3ab=_3a9(evt.target);var _3ac=evt.relatedTarget;if(_3ab&&(_3ab!=(_3ac&&_3ac.nodeType==1&&_3a9(_3ac)))){return _3aa.call(_3ab,evt);}});};return _3a7;};var _3ad;if(has("events-mousewheel")){_3ad="mousewheel";}else{_3ad=function(node,_3ae){return on(node,"DOMMouseScroll",function(evt){evt.wheelDelta=-evt.detail;_3ae.call(this,evt);});};}return {_eventHandler:_3a5,enter:_3a5("mouseover"),leave:_3a5("mouseout"),wheel:_3ad,isLeft:_3a2.isLeft,isMiddle:_3a2.isMiddle,isRight:_3a2.isRight};});},"dojo/topic":function(){define(["./Evented"],function(_3af){var hub=new _3af;return {publish:function(_3b0,_3b1){return hub.emit.apply(hub,arguments);},subscribe:function(_3b2,_3b3){return hub.on.apply(hub,arguments);}};});},"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,_3b4,ioq,dom,_3b5,_3b6,_3b7,json,lang,_3b8,on,_3b9,_3ba,_3bb,util){dojo._xhrObj=_3bb._create;var cfg=dojo.config;dojo.objectToQuery=ioq.objectToQuery;dojo.queryToObject=ioq.queryToObject;dojo.fieldToObject=_3b5.fieldToObject;dojo.formToObject=_3b5.toObject;dojo.formToQuery=_3b5.toQuery;dojo.formToJson=_3b5.toJson;dojo._blockAsync=false;var _3bc=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(!_3b7.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 _3bd=xhr.responseText;var _3be=_3bd.indexOf("/*");var _3bf=_3bd.lastIndexOf("*/");if(_3be==-1||_3bf==-1){throw new Error("JSON was not comment filtered");}return json.fromJson(_3bd.substring(_3be+2,_3bf));},"javascript":function(xhr){return dojo.eval(xhr.responseText);},"xml":function(xhr){var _3c0=xhr.responseXML;if(_3c0&&has("dom-qsa2.1")&&!_3c0.querySelectorAll&&has("dom-parser")){_3c0=new DOMParser().parseFromString(xhr.responseText,"application/xml");}if(has("ie")){if((!_3c0||!_3c0.documentElement)){var ms=function(n){return "MSXML"+n+".DOMDocument";};var dp=["Microsoft.XMLDOM",ms(6),ms(4),ms(3),ms(2)];_3b8.some(dp,function(p){try{var dom=new ActiveXObject(p);dom.async=false;dom.loadXML(xhr.responseText);_3c0=dom;}catch(e){return false;}return true;});}}return _3c0;},"json-comment-optional":function(xhr){if(xhr.responseText&&/^[^{\[]*\/\*/.test(xhr.responseText)){return _3bc["json-comment-filtered"](xhr);}else{return _3bc["json"](xhr);}}};dojo._ioSetArgs=function(args,_3c1,_3c2,_3c3){var _3c4={args:args,url:args.url};var _3c5=null;if(args.form){var form=dom.byId(args.form);var _3c6=form.getAttributeNode("action");_3c4.url=_3c4.url||(_3c6?_3c6.value:(dojo.doc?dojo.doc.URL:null));_3c5=_3b5.toObject(form);}var _3c7={};if(_3c5){lang.mixin(_3c7,_3c5);}if(args.content){lang.mixin(_3c7,args.content);}if(args.preventCache){_3c7["dojo.preventCache"]=new Date().valueOf();}_3c4.query=ioq.objectToQuery(_3c7);_3c4.handleAs=args.handleAs||"text";var d=new _3b6(function(dfd){dfd.canceled=true;_3c1&&_3c1(dfd);var err=dfd.ioArgs.error;if(!err){err=new Error("request cancelled");err.dojoType="cancel";dfd.ioArgs.error=err;}return err;});d.addCallback(_3c2);var ld=args.load;if(ld&&lang.isFunction(ld)){d.addCallback(function(_3c8){return ld.call(args,_3c8,_3c4);});}var err=args.error;if(err&&lang.isFunction(err)){d.addErrback(function(_3c9){return err.call(args,_3c9,_3c4);});}var _3ca=args.handle;if(_3ca&&lang.isFunction(_3ca)){d.addBoth(function(_3cb){return _3ca.call(args,_3cb,_3c4);});}d.addErrback(function(_3cc){return _3c3(_3cc,d);});if(cfg.ioPublish&&dojo.publish&&_3c4.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=_3c4;return d;};var _3cd=function(dfd){var ret=_3bc[dfd.ioArgs.handleAs](dfd.ioArgs.xhr);return ret===undefined?null:ret;};var _3ce=function(_3cf,dfd){if(!dfd.ioArgs.args.failOk){console.error(_3cf);}return _3cf;};var _3d0=function(dfd){if(_3d1<=0){_3d1=0;if(cfg.ioPublish&&dojo.publish&&(!dfd||dfd&&dfd.ioArgs.args.ioPublish!==false)){dojo.publish("/dojo/io/stop");}}};var _3d1=0;_3b9.after(_3ba,"_onAction",function(){_3d1-=1;});_3b9.after(_3ba,"_onInFlight",_3d0);dojo._ioCancelAll=_3ba.cancelAll;dojo._ioNotifyStart=function(dfd){if(cfg.ioPublish&&dojo.publish&&dfd.ioArgs.args.ioPublish!==false){if(!_3d1){dojo.publish("/dojo/io/start");}_3d1+=1;dojo.publish("/dojo/io/send",[dfd]);}};dojo._ioWatch=function(dfd,_3d2,_3d3,_3d4){var args=dfd.ioArgs.options=dfd.ioArgs.args;lang.mixin(dfd,{response:dfd.ioArgs,isValid:function(_3d5){return _3d2(dfd);},isReady:function(_3d6){return _3d3(dfd);},handleResponse:function(_3d7){return _3d4(dfd);}});_3ba(dfd);_3d0(dfd);};var _3d8="application/x-www-form-urlencoded";dojo._ioAddQueryToUrl=function(_3d9){if(_3d9.query.length){_3d9.url+=(_3d9.url.indexOf("?")==-1?"?":"&")+_3d9.query;_3d9.query=null;}};dojo.xhr=function(_3da,args,_3db){var rDfd;var dfd=dojo._ioSetArgs(args,function(dfd){rDfd&&rDfd.cancel();},_3cd,_3ce);var _3dc=dfd.ioArgs;if("postData" in args){_3dc.query=args.postData;}else{if("putData" in args){_3dc.query=args.putData;}else{if("rawBody" in args){_3dc.query=args.rawBody;}else{if((arguments.length>2&&!_3db)||"POST|PUT".indexOf(_3da.toUpperCase())===-1){dojo._ioAddQueryToUrl(_3dc);}}}}var _3dd={method:_3da,handleAs:"text",timeout:args.timeout,withCredentials:args.withCredentials,ioArgs:_3dc};if(typeof args.headers!=="undefined"){_3dd.headers=args.headers;}if(typeof args.contentType!=="undefined"){if(!_3dd.headers){_3dd.headers={};}_3dd.headers["Content-Type"]=args.contentType;}if(typeof _3dc.query!=="undefined"){_3dd.data=_3dc.query;}if(typeof args.sync!=="undefined"){_3dd.sync=args.sync;}dojo._ioNotifyStart(dfd);try{rDfd=_3bb(_3dc.url,_3dd,true);}catch(e){dfd.cancel();return dfd;}dfd.ioArgs.xhr=rDfd.response.xhr;rDfd.then(function(){dfd.resolve(dfd);}).otherwise(function(_3de){_3dc.error=_3de;if(_3de.response){_3de.status=_3de.response.status;_3de.responseText=_3de.response.text;_3de.xhr=_3de.response.xhr;}dfd.reject(_3de);});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 _3df;dojo.xhrGet({url:url,sync:true,load:function(text){_3df=text;}});return _3df;};lang.mixin(dojo.xhr,{_xhrObj:dojo._xhrObj,fieldToObject:_3b5.fieldToObject,formToObject:_3b5.toObject,objectToQuery:ioq.objectToQuery,formToQuery:_3b5.toQuery,formToJson:_3b5.toJson,queryToObject:ioq.queryToObject,contentHandlers:_3bc,_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/_base/unload":function(){define(["./kernel","./lang","../on"],function(dojo,lang,on){var win=window;var _3e0={addOnWindowUnload:function(obj,_3e1){if(!dojo.windowUnloaded){on(win,"unload",(dojo.windowUnloaded=function(){}));}on(win,"unload",lang.hitch(obj,_3e1));},addOnUnload:function(obj,_3e2){on(win,"beforeunload",lang.hitch(obj,_3e2));}};dojo.addOnWindowUnload=_3e0.addOnWindowUnload;dojo.addOnUnload=_3e0.addOnUnload;return _3e0;});},"dojo/Deferred":function(){define(["./has","./_base/lang","./errors/CancelError","./promise/Promise","./promise/instrumentation"],function(has,lang,_3e3,_3e4,_3e5){"use strict";var _3e6=0,_3e7=1,_3e8=2;var _3e9="This deferred has already been fulfilled.";var _3ea=Object.freeze||function(){};var _3eb=function(_3ec,type,_3ed,_3ee,_3ef){if(1){if(type===_3e8&&_3f0.instrumentRejected&&_3ec.length===0){_3f0.instrumentRejected(_3ed,false,_3ee,_3ef);}}for(var i=0;i<_3ec.length;i++){_3f1(_3ec[i],type,_3ed,_3ee);}};var _3f1=function(_3f2,type,_3f3,_3f4){var func=_3f2[type];var _3f5=_3f2.deferred;if(func){try{var _3f6=func(_3f3);if(type===_3e6){if(typeof _3f6!=="undefined"){_3f7(_3f5,type,_3f6);}}else{if(_3f6&&typeof _3f6.then==="function"){_3f2.cancel=_3f6.cancel;_3f6.then(_3f8(_3f5,_3e7),_3f8(_3f5,_3e8),_3f8(_3f5,_3e6));return;}_3f7(_3f5,_3e7,_3f6);}}catch(error){_3f7(_3f5,_3e8,error);}}else{_3f7(_3f5,type,_3f3);}if(1){if(type===_3e8&&_3f0.instrumentRejected){_3f0.instrumentRejected(_3f3,!!func,_3f4,_3f5.promise);}}};var _3f8=function(_3f9,type){return function(_3fa){_3f7(_3f9,type,_3fa);};};var _3f7=function(_3fb,type,_3fc){if(!_3fb.isCanceled()){switch(type){case _3e6:_3fb.progress(_3fc);break;case _3e7:_3fb.resolve(_3fc);break;case _3e8:_3fb.reject(_3fc);break;}}};var _3f0=function(_3fd){var _3fe=this.promise=new _3e4();var _3ff=this;var _400,_401,_402;var _403=false;var _404=[];if(1&&Error.captureStackTrace){Error.captureStackTrace(_3ff,_3f0);Error.captureStackTrace(_3fe,_3f0);}this.isResolved=_3fe.isResolved=function(){return _400===_3e7;};this.isRejected=_3fe.isRejected=function(){return _400===_3e8;};this.isFulfilled=_3fe.isFulfilled=function(){return !!_400;};this.isCanceled=_3fe.isCanceled=function(){return _403;};this.progress=function(_405,_406){if(!_400){_3eb(_404,_3e6,_405,null,_3ff);return _3fe;}else{if(_406===true){throw new Error(_3e9);}else{return _3fe;}}};this.resolve=function(_407,_408){if(!_400){_3eb(_404,_400=_3e7,_401=_407,null,_3ff);_404=null;return _3fe;}else{if(_408===true){throw new Error(_3e9);}else{return _3fe;}}};var _409=this.reject=function(_40a,_40b){if(!_400){if(1&&Error.captureStackTrace){Error.captureStackTrace(_402={},_409);}_3eb(_404,_400=_3e8,_401=_40a,_402,_3ff);_404=null;return _3fe;}else{if(_40b===true){throw new Error(_3e9);}else{return _3fe;}}};this.then=_3fe.then=function(_40c,_40d,_40e){var _40f=[_40e,_40c,_40d];_40f.cancel=_3fe.cancel;_40f.deferred=new _3f0(function(_410){return _40f.cancel&&_40f.cancel(_410);});if(_400&&!_404){_3f1(_40f,_400,_401,_402);}else{_404.push(_40f);}return _40f.deferred.promise;};this.cancel=_3fe.cancel=function(_411,_412){if(!_400){if(_3fd){var _413=_3fd(_411);_411=typeof _413==="undefined"?_411:_413;}_403=true;if(!_400){if(typeof _411==="undefined"){_411=new _3e3();}_409(_411);return _411;}else{if(_400===_3e8&&_401===_411){return _411;}}}else{if(_412===true){throw new Error(_3e9);}}};_3ea(_3fe);};_3f0.prototype.toString=function(){return "[object Deferred]";};if(_3e5){_3e5(_3f0);}return _3f0;});},"dojo/_base/NodeList":function(){define(["./kernel","../query","./array","./html","../NodeList-dom"],function(dojo,_414,_415){var _416=_414.NodeList,nlp=_416.prototype;nlp.connect=_416._adaptAsForEach(function(){return dojo.connect.apply(this,arguments);});nlp.coords=_416._adaptAsMap(dojo.coords);_416.events=["blur","focus","change","click","error","keydown","keypress","keyup","load","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","submit"];_415.forEach(_416.events,function(evt){var _417="on"+evt;nlp[_417]=function(a,b){return this.connect(_417,a,b);};});dojo.NodeList=_416;return _416;});},"dojo/_base/Color":function(){define(["./kernel","./lang","./array","./config"],function(dojo,lang,_418,_419){var _41a=dojo.Color=function(_41b){if(_41b){this.setColor(_41b);}};_41a.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":_419.transparentColor||[0,0,0,0]};lang.extend(_41a,{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(_41c){if(lang.isString(_41c)){_41a.fromString(_41c,this);}else{if(lang.isArray(_41c)){_41a.fromArray(_41c,this);}else{this._set(_41c.r,_41c.g,_41c.b,_41c.a);if(!(_41c instanceof _41a)){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=_418.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(_41d){var t=this,rgb=t.r+", "+t.g+", "+t.b;return (_41d?"rgba("+rgb+", "+t.a:"rgb("+rgb)+")";},toString:function(){return this.toCss(true);}});_41a.blendColors=dojo.blendColors=function(_41e,end,_41f,obj){var t=obj||new _41a();t.r=Math.round(_41e.r+(end.r-_41e.r)*_41f);t.g=Math.round(_41e.g+(end.g-_41e.g)*_41f);t.b=Math.round(_41e.b+(end.b-_41e.b)*_41f);t.a=_41e.a+(end.a-_41e.a)*_41f;return t.sanitize();};_41a.fromRgb=dojo.colorFromRgb=function(_420,obj){var m=_420.toLowerCase().match(/^rgba?\(([\s\.,0-9]+)\)/);return m&&_41a.fromArray(m[1].split(/\s*,\s*/),obj);};_41a.fromHex=dojo.colorFromHex=function(_421,obj){var t=obj||new _41a(),bits=(_421.length==4)?4:8,mask=(1<<bits)-1;_421=Number("0x"+_421.substr(1));if(isNaN(_421)){return null;}_418.forEach(["b","g","r"],function(x){var c=_421&mask;_421>>=bits;t[x]=bits==4?17*c:c;});t.a=1;return t;};_41a.fromArray=dojo.colorFromArray=function(a,obj){var t=obj||new _41a();t._set(Number(a[0]),Number(a[1]),Number(a[2]),Number(a[3]));if(isNaN(t.a)){t.a=1;}return t.sanitize();};_41a.fromString=dojo.colorFromString=function(str,obj){var a=_41a.named[str];return a&&_41a.fromArray(a,obj)||_41a.fromRgb(str,obj)||_41a.fromHex(str,obj);};return _41a;});},"dojo/promise/instrumentation":function(){define(["./tracer","../has","../_base/lang","../_base/array"],function(_422,has,lang,_423){has.add("config-useDeferredInstrumentation","report-unhandled-rejections");function _424(_425,_426,_427){if(_425&&_425.log===false){return;}var _428="";if(_425&&_425.stack){_428+=_425.stack;}if(_426&&_426.stack){_428+="\n ----------------------------------------\n rejected"+_426.stack.split("\n").slice(1).join("\n").replace(/^\s+/," ");}if(_427&&_427.stack){_428+="\n ----------------------------------------\n"+_427.stack;}console.error(_425,_428);};function _429(_42a,_42b,_42c,_42d){if(!_42b){_424(_42a,_42c,_42d);}};var _42e=[];var _42f=false;var _430=1000;function _431(_432,_433,_434,_435){if(!_423.some(_42e,function(obj){if(obj.error===_432){if(_433){obj.handled=true;}return true;}})){_42e.push({error:_432,rejection:_434,handled:_433,deferred:_435,timestamp:new Date().getTime()});}if(!_42f){_42f=setTimeout(_436,_430);}};function _436(){var now=new Date().getTime();var _437=now-_430;_42e=_423.filter(_42e,function(obj){if(obj.timestamp<_437){if(!obj.handled){_424(obj.error,obj.rejection,obj.deferred);}return false;}return true;});if(_42e.length){_42f=setTimeout(_436,_42e[0].timestamp+_430-now);}else{_42f=false;}};return function(_438){var _439=has("config-useDeferredInstrumentation");if(_439){_422.on("resolved",lang.hitch(console,"log","resolved"));_422.on("rejected",lang.hitch(console,"log","rejected"));_422.on("progress",lang.hitch(console,"log","progress"));var args=[];if(typeof _439==="string"){args=_439.split(",");_439=args.shift();}if(_439==="report-rejections"){_438.instrumentRejected=_429;}else{if(_439==="report-unhandled-rejections"||_439===true||_439===1){_438.instrumentRejected=_431;_430=parseInt(args[0],10)||_430;}else{throw new Error("Unsupported instrumentation usage <"+_439+">");}}}};});},"dojo/selector/_loader":function(){define(["../has","require"],function(has,_43a){"use strict";if(typeof document!=="undefined"){var _43b=document.createElement("div");has.add("dom-qsa2.1",!!_43b.querySelectorAll);has.add("dom-qsa3",function(){try{_43b.innerHTML="<p class='TEST'></p>";return _43b.querySelectorAll(".TEST:empty").length==1;}catch(e){}});}var _43c;var acme="./acme",lite="./lite";return {load:function(id,_43d,_43e,_43f){if(_43f&&_43f.isBuild){_43e();return;}var req=_43a;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=_43d)&&id;if(id.charAt(id.length-1)=="?"){id=id.substring(0,id.length-1);var _440=true;}if(_440&&(has("dom-compliant-qsa")||_43c)){return _43e(_43c);}req([id],function(_441){if(id!="./lite"){_43c=_441;}_43e(_441);});}};});},"dojo/promise/Promise":function(){define(["../_base/lang"],function(lang){"use strict";function _442(){throw new TypeError("abstract");};return lang.extend(function Promise(){},{then:function(_443,_444,_445){_442();},cancel:function(_446,_447){_442();},isResolved:function(){_442();},isRejected:function(){_442();},isFulfilled:function(){_442();},isCanceled:function(){_442();},always:function(_448){return this.then(_448,_448);},"catch":function(_449){return this.then(null,_449);},otherwise:function(_44a){return this.then(null,_44a);},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,_44b,_44c,_44d,win,on){var _44e=null,_44f=[];function _450(){var now=+(new Date);for(var i=0,dfd;i<_44f.length&&(dfd=_44f[i]);i++){var _451=dfd.response,_452=_451.options;if((dfd.isCanceled&&dfd.isCanceled())||(dfd.isValid&&!dfd.isValid(_451))){_44f.splice(i--,1);_453._onAction&&_453._onAction();}else{if(dfd.isReady&&dfd.isReady(_451)){_44f.splice(i--,1);dfd.handleResponse(_451);_453._onAction&&_453._onAction();}else{if(dfd.startTime){if(dfd.startTime+(_452.timeout||0)<now){_44f.splice(i--,1);dfd.cancel(new _44b("Timeout exceeded",_451));_453._onAction&&_453._onAction();}}}}}_453._onInFlight&&_453._onInFlight(dfd);if(!_44f.length){clearInterval(_44e);_44e=null;}};function _453(dfd){if(dfd.response.options.timeout){dfd.startTime=+(new Date);}if(dfd.isFulfilled()){return;}_44f.push(dfd);if(!_44e){_44e=setInterval(_450,50);}if(dfd.response.options.sync){_450();}};_453.cancelAll=function cancelAll(){try{_44d.forEach(_44f,function(dfd){try{dfd.cancel(new _44c("All requests canceled."));}catch(e){}});}catch(e){}};if(win&&on&&win.doc.attachEvent){on(win.global,"unload",function(){_453.cancelAll();});}return _453;});},"dojo/on":function(){define(["./has!dom-addeventlistener?:./aspect","./_base/kernel","./sniff"],function(_454,dojo,has){"use strict";if(1){var _455=window.ScriptEngineMajorVersion;has.add("jscript",_455&&(_455()+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(_456,doc,_457){return "onfocusin" in _457;});if(has("touch")){has.add("touch-can-modify-event-delegate",function(){var _458=function(){};_458.prototype=document.createEvent("MouseEvents");try{var _459=new _458;_459.target=null;return _459.target===null;}catch(e){return false;}});}}var on=function(_45a,type,_45b,_45c){if(typeof _45a.on=="function"&&typeof type!="function"&&!_45a.nodeType){return _45a.on(type,_45b);}return on.parse(_45a,type,_45b,_45d,_45c,this);};on.pausable=function(_45e,type,_45f,_460){var _461;var _462=on(_45e,type,function(){if(!_461){return _45f.apply(this,arguments);}},_460);_462.pause=function(){_461=true;};_462.resume=function(){_461=false;};return _462;};on.once=function(_463,type,_464,_465){var _466=on(_463,type,function(){_466.remove();return _464.apply(this,arguments);});return _466;};on.parse=function(_467,type,_468,_469,_46a,_46b){var _46c;if(type.call){return type.call(_46b,_467,_468);}if(type instanceof Array){_46c=type;}else{if(type.indexOf(",")>-1){_46c=type.split(/\s*,\s*/);}}if(_46c){var _46d=[];var i=0;var _46e;while(_46e=_46c[i++]){_46d.push(on.parse(_467,_46e,_468,_469,_46a,_46b));}_46d.remove=function(){for(var i=0;i<_46d.length;i++){_46d[i].remove();}};return _46d;}return _469(_467,type,_468,_46a,_46b);};var _46f=/^touch/;function _45d(_470,type,_471,_472,_473){var _474=type.match(/(.*):(.*)/);if(_474){type=_474[2];_474=_474[1];return on.selector(_474,type).call(_473,_470,_471);}if(has("touch")){if(_46f.test(type)){_471=_475(_471);}if(!has("event-orientationchange")&&(type=="orientationchange")){type="resize";_470=window;_471=_475(_471);}}if(_476){_471=_476(_471);}if(_470.addEventListener){var _477=type in _478,_479=_477?_478[type]:type;_470.addEventListener(_479,_471,_477);return {remove:function(){_470.removeEventListener(_479,_471,_477);}};}type="on"+type;if(_47a&&_470.attachEvent){return _47a(_470,type,_471);}throw new Error("Target must be an event emitter");};on.matches=function(node,_47b,_47c,_47d,_47e){_47e=_47e&&(typeof _47e.matches=="function")?_47e:dojo.query;_47d=_47d!==false;if(node.nodeType!=1){node=node.parentNode;}while(!_47e.matches(node,_47b,_47c)){if(node==_47c||_47d===false||!(node=node.parentNode)||node.nodeType!=1){return false;}}return node;};on.selector=function(_47f,_480,_481){return function(_482,_483){var _484=typeof _47f=="function"?{matches:_47f}:this,_485=_480.bubble;function _486(_487){return on.matches(_487,_47f,_482,_481,_484);};if(_485){return on(_482,_485(_486),_483);}return on(_482,_480,function(_488){var _489=_486(_488.target);if(_489){_488.selectorTarget=_489;return _483.call(_489,_488);}});};};function _48a(){this.cancelable=false;this.defaultPrevented=true;};function _48b(){this.bubbles=false;};var _48c=[].slice,_48d=on.emit=function(_48e,type,_48f){var args=_48c.call(arguments,2);var _490="on"+type;if("parentNode" in _48e){var _491=args[0]={};for(var i in _48f){_491[i]=_48f[i];}_491.preventDefault=_48a;_491.stopPropagation=_48b;_491.target=_48e;_491.type=type;_48f=_491;}do{_48e[_490]&&_48e[_490].apply(_48e,args);}while(_48f&&_48f.bubbles&&(_48e=_48e.parentNode));return _48f&&_48f.cancelable&&_48f;};var _478=has("event-focusin")?{}:{focusin:"focus",focusout:"blur"};if(!has("event-stopimmediatepropagation")){var _492=function(){this.immediatelyStopped=true;this.modified=true;};var _476=function(_493){return function(_494){if(!_494.immediatelyStopped){_494.stopImmediatePropagation=_492;return _493.apply(this,arguments);}};};}if(has("dom-addeventlistener")){on.emit=function(_495,type,_496){if(_495.dispatchEvent&&document.createEvent){var _497=_495.ownerDocument||document;var _498=_497.createEvent("HTMLEvents");_498.initEvent(type,!!_496.bubbles,!!_496.cancelable);for(var i in _496){if(!(i in _498)){_498[i]=_496[i];}}return _495.dispatchEvent(_498)&&_498;}return _48d.apply(on,arguments);};}else{on._fixEvent=function(evt,_499){if(!evt){var w=_499&&(_499.ownerDocument||_499.document||_499).parentWindow||window;evt=w.event;}if(!evt){return evt;}try{if(_49a&&evt.type==_49a.type&&evt.srcElement==_49a.target){evt=_49a;}}catch(e){}if(!evt.target){evt.target=evt.srcElement;evt.currentTarget=(_499||evt.srcElement);if(evt.type=="mouseover"){evt.relatedTarget=evt.fromElement;}if(evt.type=="mouseout"){evt.relatedTarget=evt.toElement;}if(!evt.stopPropagation){evt.stopPropagation=_49b;evt.preventDefault=_49c;}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;_49d(evt);break;}}return evt;};var _49a,_49e=function(_49f){this.handle=_49f;};_49e.prototype.remove=function(){delete _dojoIEListeners_[this.handle];};var _4a0=function(_4a1){return function(evt){evt=on._fixEvent(evt,this);var _4a2=_4a1.call(this,evt);if(evt.modified){if(!_49a){setTimeout(function(){_49a=null;});}_49a=evt;}return _4a2;};};var _47a=function(_4a3,type,_4a4){_4a4=_4a0(_4a4);if(((_4a3.ownerDocument?_4a3.ownerDocument.parentWindow:_4a3.parentWindow||_4a3.window||window)!=top||has("jscript")<5.8)&&!has("config-_allow_leaks")){if(typeof _dojoIEListeners_=="undefined"){_dojoIEListeners_=[];}var _4a5=_4a3[type];if(!_4a5||!_4a5.listeners){var _4a6=_4a5;_4a5=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);}}");_4a5.listeners=[];_4a3[type]=_4a5;_4a5.global=this;if(_4a6){_4a5.listeners.push(_dojoIEListeners_.push(_4a6)-1);}}var _4a7;_4a5.listeners.push(_4a7=(_4a5.global._dojoIEListeners_.push(_4a4)-1));return new _49e(_4a7);}return _454.after(_4a3,type,_4a4,true);};var _49d=function(evt){evt.keyChar=evt.charCode?String.fromCharCode(evt.charCode):"";evt.charOrCode=evt.keyChar||evt.keyCode;};var _49b=function(){this.cancelBubble=true;};var _49c=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 _4a8=function(){};var _4a9=window.orientation;var _475=function(_4aa){return function(_4ab){var _4ac=_4ab.corrected;if(!_4ac){var type=_4ab.type;try{delete _4ab.type;}catch(e){}if(_4ab.type){if(has("touch-can-modify-event-delegate")){_4a8.prototype=_4ab;_4ac=new _4a8;}else{_4ac={};for(var name in _4ab){_4ac[name]=_4ab[name];}}_4ac.preventDefault=function(){_4ab.preventDefault();};_4ac.stopPropagation=function(){_4ab.stopPropagation();};}else{_4ac=_4ab;_4ac.type=type;}_4ab.corrected=_4ac;if(type=="resize"){if(_4a9==window.orientation){return null;}_4a9=window.orientation;_4ac.type="orientationchange";return _4aa.call(this,_4ac);}if(!("rotation" in _4ac)){_4ac.rotation=0;_4ac.scale=1;}if(window.TouchEvent&&_4ab instanceof TouchEvent){var _4ad=_4ac.changedTouches[0];for(var i in _4ad){delete _4ac[i];_4ac[i]=_4ad[i];}}}return _4aa.call(this,_4ac);};};}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,_4ae){base=base||Error;var _4af=function(_4b0){if(base===Error){if(Error.captureStackTrace){Error.captureStackTrace(this,_4af);}var err=Error.call(this,_4b0),prop;for(prop in err){if(err.hasOwnProperty(prop)){this[prop]=err[prop];}}this.message=_4b0;this.stack=err.stack;}else{base.apply(this,arguments);}if(ctor){ctor.apply(this,arguments);}};_4af.prototype=lang.delegate(base.prototype,_4ae);_4af.prototype.name=name;_4af.prototype.constructor=_4af;return _4af;};});},"dojo/_base/array":function(){define(["./kernel","../has","./lang"],function(dojo,has,lang){var _4b1={},u;function _4b2(fn){return _4b1[fn]=new Function("item","index","array",fn);};function _4b3(some){var _4b4=!some;return function(a,fn,o){var i=0,l=a&&a.length||0,_4b5;if(l&&typeof a=="string"){a=a.split("");}if(typeof fn=="string"){fn=_4b1[fn]||_4b2(fn);}if(o){for(;i<l;++i){_4b5=!fn.call(o,a[i],i,a);if(some^_4b5){return !_4b5;}}}else{for(;i<l;++i){_4b5=!fn(a[i],i,a);if(some^_4b5){return !_4b5;}}}return _4b4;};};function _4b6(up){var _4b7=1,_4b8=0,_4b9=0;if(!up){_4b7=_4b8=_4b9=-1;}return function(a,x,from,last){if(last&&_4b7>0){return _4ba.lastIndexOf(a,x,from);}var l=a&&a.length||0,end=up?l+_4b9:_4b8,i;if(from===u){i=up?_4b8:l+_4b9;}else{if(from<0){i=l+from;if(i<0){i=_4b8;}}else{i=from>=l?l+_4b9:from;}}if(l&&typeof a=="string"){a=a.split("");}for(;i!=end;i+=_4b7){if(a[i]==x){return i;}}return -1;};};var _4ba={every:_4b3(false),some:_4b3(true),indexOf:_4b6(true),lastIndexOf:_4b6(false),forEach:function(arr,_4bb,_4bc){var i=0,l=arr&&arr.length||0;if(l&&typeof arr=="string"){arr=arr.split("");}if(typeof _4bb=="string"){_4bb=_4b1[_4bb]||_4b2(_4bb);}if(_4bc){for(;i<l;++i){_4bb.call(_4bc,arr[i],i,arr);}}else{for(;i<l;++i){_4bb(arr[i],i,arr);}}},map:function(arr,_4bd,_4be,Ctr){var i=0,l=arr&&arr.length||0,out=new (Ctr||Array)(l);if(l&&typeof arr=="string"){arr=arr.split("");}if(typeof _4bd=="string"){_4bd=_4b1[_4bd]||_4b2(_4bd);}if(_4be){for(;i<l;++i){out[i]=_4bd.call(_4be,arr[i],i,arr);}}else{for(;i<l;++i){out[i]=_4bd(arr[i],i,arr);}}return out;},filter:function(arr,_4bf,_4c0){var i=0,l=arr&&arr.length||0,out=[],_4c1;if(l&&typeof arr=="string"){arr=arr.split("");}if(typeof _4bf=="string"){_4bf=_4b1[_4bf]||_4b2(_4bf);}if(_4c0){for(;i<l;++i){_4c1=arr[i];if(_4bf.call(_4c0,_4c1,i,arr)){out.push(_4c1);}}}else{for(;i<l;++i){_4c1=arr[i];if(_4bf(_4c1,i,arr)){out.push(_4c1);}}}return out;},clearCache:function(){_4b1={};}};1&&lang.mixin(dojo,_4ba);return _4ba;});},"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,_4c2){return json.stringify(it,function(key,_4c3){if(_4c3){var tf=_4c3.__json__||_4c3.json;if(typeof tf=="function"){return tf.call(_4c3);}}return _4c3;},_4c2&&dojo.toJsonIndentStr);};return dojo;});},"dojo/_base/window":function(){define(["./kernel","./lang","../sniff"],function(dojo,lang,has){var ret={global:dojo.global,doc:dojo.global["document"]||null,body:function(doc){doc=doc||dojo.doc;return doc.body||doc.getElementsByTagName("body")[0];},setContext:function(_4c4,_4c5){dojo.global=ret.global=_4c4;dojo.doc=ret.doc=_4c5;},withGlobal:function(_4c6,_4c7,_4c8,_4c9){var _4ca=dojo.global;try{dojo.global=ret.global=_4c6;return ret.withDoc.call(null,_4c6.document,_4c7,_4c8,_4c9);}finally{dojo.global=ret.global=_4ca;}},withDoc:function(_4cb,_4cc,_4cd,_4ce){var _4cf=ret.doc,oldQ=has("quirks"),_4d0=has("ie"),isIE,mode,pwin;try{dojo.doc=ret.doc=_4cb;dojo.isQuirks=has.add("quirks",dojo.doc.compatMode=="BackCompat",true,true);if(has("ie")){if((pwin=_4cb.parentWindow)&&pwin.navigator){isIE=parseFloat(pwin.navigator.appVersion.split("MSIE ")[1])||undefined;mode=_4cb.documentMode;if(mode&&mode!=5&&Math.floor(isIE)!=mode){isIE=mode;}dojo.isIE=has.add("ie",isIE,true,true);}}if(_4cd&&typeof _4cc=="string"){_4cc=_4cd[_4cc];}return _4cc.apply(_4cd,_4ce||[]);}finally{dojo.doc=ret.doc=_4cf;dojo.isQuirks=has.add("quirks",oldQ,true,true);dojo.isIE=has.add("ie",_4d0,true,true);}}};1&&lang.mixin(dojo,ret);return ret;});},"dojo/dom-class":function(){define(["./_base/lang","./_base/array","./dom"],function(lang,_4d1,dom){var _4d2="className";var cls,_4d3=/\s+/,a1=[""];function _4d4(s){if(typeof s=="string"||s instanceof String){if(s&&!_4d3.test(s)){a1[0]=s;return a1;}var a=s.split(_4d3);if(a.length&&!a[0]){a.shift();}if(a.length&&!a[a.length-1]){a.pop();}return a;}if(!s){return [];}return _4d1.filter(s,function(x){return x;});};var _4d5={};cls={contains:function containsClass(node,_4d6){return ((" "+dom.byId(node)[_4d2]+" ").indexOf(" "+_4d6+" ")>=0);},add:function addClass(node,_4d7){node=dom.byId(node);_4d7=_4d4(_4d7);var cls=node[_4d2],_4d8;cls=cls?" "+cls+" ":" ";_4d8=cls.length;for(var i=0,len=_4d7.length,c;i<len;++i){c=_4d7[i];if(c&&cls.indexOf(" "+c+" ")<0){cls+=c+" ";}}if(_4d8<cls.length){node[_4d2]=cls.substr(1,cls.length-2);}},remove:function removeClass(node,_4d9){node=dom.byId(node);var cls;if(_4d9!==undefined){_4d9=_4d4(_4d9);cls=" "+node[_4d2]+" ";for(var i=0,len=_4d9.length;i<len;++i){cls=cls.replace(" "+_4d9[i]+" "," ");}cls=lang.trim(cls);}else{cls="";}if(node[_4d2]!=cls){node[_4d2]=cls;}},replace:function replaceClass(node,_4da,_4db){node=dom.byId(node);_4d5[_4d2]=node[_4d2];cls.remove(_4d5,_4db);cls.add(_4d5,_4da);if(node[_4d2]!==_4d5[_4d2]){node[_4d2]=_4d5[_4d2];}},toggle:function toggleClass(node,_4dc,_4dd){node=dom.byId(node);if(_4dd===undefined){_4dc=_4d4(_4dc);for(var i=0,len=_4dc.length,c;i<len;++i){c=_4dc[i];cls[cls.contains(node,c)?"remove":"add"](node,c);}}else{cls[_4dd?"add":"remove"](node,_4dc);}return _4dd;}};return cls;});},"dojo/_base/config":function(){define(["../global","../has","require"],function(_4de,has,_4df){var _4e0={};if(1){var src=_4df.rawConfig,p;for(p in src){_4e0[p]=src[p];}}else{var _4e1=function(_4e2,_4e3,_4e4){for(p in _4e2){p!="has"&&has.add(_4e3+p,_4e2[p],0,_4e4);}};_4e0=1?_4df.rawConfig:_4de.dojoConfig||_4de.djConfig||{};_4e1(_4e0,"config",1);_4e1(_4e0.has,"",1);}if(!_4e0.locale&&typeof navigator!="undefined"){var _4e5=(navigator.languages&&navigator.languages.length)?navigator.languages[0]:(navigator.language||navigator.userLanguage);if(_4e5){_4e0.locale=_4e5.toLowerCase();}}return _4e0;});},"dojo/_base/event":function(){define(["./kernel","../on","../has","../dom-geometry"],function(dojo,on,has,dom){if(on._fixEvent){var _4e6=on._fixEvent;on._fixEvent=function(evt,se){evt=_4e6(evt,se);if(evt){dom.normalizeEvent(evt);}return evt;};}var ret={fix:function(evt,_4e7){if(on._fixEvent){return on._fixEvent(evt,_4e7);}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/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(_4e8,has,_4e9,_4ea,lang,_4eb,_4ec,_4ed){if(_4ec.isDebug){_4e9(["./_firebug/firebug"]);}1||has.add("dojo-config-require",1);if(1){var deps=_4ec.require;if(deps){deps=_4eb.map(lang.isArray(deps)?deps:[deps],function(item){return item.replace(/\./g,"/");});if(_4e8.isAsync){_4e9(deps);}else{_4ed(1,function(){_4e9(deps);});}}}return _4e8;});},"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("wp",parseFloat(dua.split("Windows Phone")[1])||undefined);has.add("msapp",parseFloat(dua.split("MSAppHost/")[1])||undefined);has.add("khtml",dav.indexOf("Konqueror")>=0?tv:undefined);has.add("edge",parseFloat(dua.split("Edge/")[1])||undefined);has.add("opr",parseFloat(dua.split("OPR/")[1])||undefined);has.add("webkit",!has("wp")&&!has("edge")&&parseFloat(dua.split("WebKit/")[1])||undefined);has.add("chrome",!has("edge")&&!has("opr")&&parseFloat(dua.split("Chrome/")[1])||undefined);has.add("android",!has("wp")&&parseFloat(dua.split("Android ")[1])||undefined);has.add("safari",dav.indexOf("Safari")>=0&&!has("wp")&&!has("chrome")&&!has("android")&&!has("edge")&&!has("opr")?parseFloat(dav.split("Version/")[1]):undefined);has.add("mac",dav.indexOf("Macintosh")>=0);has.add("quirks",document.compatMode=="BackCompat");if(!has("wp")&&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("bb",(dua.indexOf("BlackBerry")>=0||dua.indexOf("BB10")>=0)&&parseFloat(dua.split("Version/")[1])||undefined);has.add("trident",parseFloat(dav.split("Trident/")[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("wp")&&!has("khtml")&&!has("trident")&&!has("edge")){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,_4ee,_4ef,has){has.add("activex",typeof ActiveXObject!=="undefined");has.add("dom-parser",function(_4f0){return "DOMParser" in _4f0;});var _4f1;if(has("activex")){var dp=["Msxml2.DOMDocument.6.0","Msxml2.DOMDocument.4.0","MSXML2.DOMDocument.3.0","MSXML.DOMDocument"];var _4f2;_4f1=function(_4f3){var _4f4=_4f3.data;var text=_4f3.text;if(_4f4&&has("dom-qsa2.1")&&!_4f4.querySelectorAll&&has("dom-parser")){_4f4=new DOMParser().parseFromString(text,"application/xml");}function _4f5(p){try{var dom=new ActiveXObject(p);dom.async=false;dom.loadXML(text);_4f4=dom;_4f2=p;}catch(e){return false;}return true;};if(!_4f4||!_4f4.documentElement){if(!_4f2||!_4f5(_4f2)){_4ef.some(dp,_4f5);}}return _4f4;};}var _4f6=function(_4f7){if(!has("native-xhr2-blob")&&_4f7.options.handleAs==="blob"&&typeof Blob!=="undefined"){return new Blob([_4f7.xhr.response],{type:_4f7.xhr.getResponseHeader("Content-Type")});}return _4f7.xhr.response;};var _4f8={"javascript":function(_4f9){return _4ee.eval(_4f9.text||"");},"json":function(_4fa){return JSON.parse(_4fa.text||null);},"xml":_4f1,"blob":_4f6,"arraybuffer":_4f6,"document":_4f6};function _4fb(_4fc){var _4fd=_4f8[_4fc.options.handleAs];_4fc.data=_4fd?_4fd(_4fc):(_4fc.data||_4fc.text);return _4fc;};_4fb.register=function(name,_4fe){_4f8[name]=_4fe;};return _4fb;});},"dojo/ready":function(){define(["./_base/kernel","./has","require","./domReady","./_base/lang"],function(dojo,has,_4ff,_500,lang){var _501=0,_502=[],_503=0,_504=function(){_501=1;dojo._postLoad=dojo.config.afterOnLoad=true;_505();},_505=function(){if(_503){return;}_503=1;while(_501&&(!_500||_500._Q.length==0)&&(_4ff.idle?_4ff.idle():true)&&_502.length){var f=_502.shift();try{f();}catch(e){e.info=e.message;if(_4ff.signal){_4ff.signal("error",e);}else{throw e;}}}_503=0;};_4ff.on&&_4ff.on("idle",_505);if(_500){_500._onQEmpty=_505;}var _506=dojo.ready=dojo.addOnLoad=function(_507,_508,_509){var _50a=lang._toArray(arguments);if(typeof _507!="number"){_509=_508;_508=_507;_507=1000;}else{_50a.shift();}_509=_509?lang.hitch.apply(dojo,_50a):function(){_508();};_509.priority=_507;for(var i=0;i<_502.length&&_507>=_502[i].priority;i++){}_502.splice(i,0,_509);_505();};1||has.add("dojo-config-addOnLoad",1);if(1){var dca=dojo.config.addOnLoad;if(dca){_506[(lang.isArray(dca)?"apply":"call")](dojo,dca);}}if(1&&dojo.config.parseOnLoad&&!dojo.isAsync){_506(99,function(){if(!dojo.parser){dojo.deprecated("Add explicit require(['dojo/parser']);","","2.0");_4ff(["dojo/parser"]);}});}if(_500){_500(_504);}else{_504();}return _506;});},"dojo/aspect":function(){define([],function(){"use strict";var _50b;function _50c(_50d,type,_50e,_50f){var _510=_50d[type];var _511=type=="around";var _512;if(_511){var _513=_50e(function(){return _510.advice(this,arguments);});_512={remove:function(){if(_513){_513=_50d=_50e=null;}},advice:function(_514,args){return _513?_513.apply(_514,args):_510.advice(_514,args);}};}else{_512={remove:function(){if(_512.advice){var _515=_512.previous;var next=_512.next;if(!next&&!_515){delete _50d[type];}else{if(_515){_515.next=next;}else{_50d[type]=next;}if(next){next.previous=_515;}}_50d=_50e=_512.advice=null;}},id:_50d.nextId++,advice:_50e,receiveArguments:_50f};}if(_510&&!_511){if(type=="after"){while(_510.next&&(_510=_510.next)){}_510.next=_512;_512.previous=_510;}else{if(type=="before"){_50d[type]=_512;_512.next=_510;_510.previous=_512;}}}else{_50d[type]=_512;}return _512;};function _516(type){return function(_517,_518,_519,_51a){var _51b=_517[_518],_51c;if(!_51b||_51b.target!=_517){_517[_518]=_51c=function(){var _51d=_51c.nextId;var args=arguments;var _51e=_51c.before;while(_51e){if(_51e.advice){args=_51e.advice.apply(this,args)||args;}_51e=_51e.next;}if(_51c.around){var _51f=_51c.around.advice(this,args);}var _520=_51c.after;while(_520&&_520.id<_51d){if(_520.advice){if(_520.receiveArguments){var _521=_520.advice.apply(this,args);_51f=_521===_50b?_51f:_521;}else{_51f=_520.advice.call(this,_51f,args);}}_520=_520.next;}return _51f;};if(_51b){_51c.around={advice:function(_522,args){return _51b.apply(_522,args);}};}_51c.target=_517;_51c.nextId=_51c.nextId||0;}var _523=_50c((_51c||_51b),type,_519,_51a);_519=null;return _523;};};var _524=_516("after");var _525=_516("before");var _526=_516("around");return {before:_525,around:_526,after:_524};});},"dojo/_base/connect":function(){define(["./kernel","../on","../topic","../aspect","./event","../mouse","./sniff","./lang","../keys"],function(dojo,on,hub,_527,_528,_529,has,lang){has.add("events-keypress-typed",function(){var _52a={charCode:0};try{_52a=document.createEvent("KeyboardEvent");(_52a.initKeyboardEvent||_52a.initKeyEvent).call(_52a,"keypress",true,true,null,false,false,false,false,9,3);}catch(e){}return _52a.charCode==0&&!has("opera");});function _52b(obj,_52c,_52d,_52e,_52f){_52e=lang.hitch(_52d,_52e);if(!obj||!(obj.addEventListener||obj.attachEvent)){return _527.after(obj||dojo.global,_52c,_52e,true);}if(typeof _52c=="string"&&_52c.substring(0,2)=="on"){_52c=_52c.substring(2);}if(!obj){obj=dojo.global;}if(!_52f){switch(_52c){case "keypress":_52c=_530;break;case "mouseenter":_52c=_529.enter;break;case "mouseleave":_52c=_529.leave;break;}}return on(obj,_52c,_52e,_52f);};var _531={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 _532=has("mac")?"metaKey":"ctrlKey";var _533=function(evt,_534){var faux=lang.mixin({},evt,_534);_535(faux);faux.preventDefault=function(){evt.preventDefault();};faux.stopPropagation=function(){evt.stopPropagation();};return faux;};function _535(evt){evt.keyChar=evt.charCode?String.fromCharCode(evt.charCode):"";evt.charOrCode=evt.keyChar||evt.keyCode;};var _530;if(has("events-keypress-typed")){var _536=function(e,code){try{return (e.keyCode=code);}catch(e){return 0;}};_530=function(_537,_538){var _539=on(_537,"keydown",function(evt){var k=evt.keyCode;var _53a=(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(_53a||evt.ctrlKey){var c=_53a?0:k;if(evt.ctrlKey){if(k==3||k==13){return _538.call(evt.currentTarget,evt);}else{if(c>95&&c<106){c-=48;}else{if((!evt.shiftKey)&&(c>=65&&c<=90)){c+=32;}else{c=_531[c]||c;}}}}var faux=_533(evt,{type:"keypress",faux:true,charCode:c});_538.call(evt.currentTarget,faux);if(has("ie")){_536(evt,faux.keyCode);}}});var _53b=on(_537,"keypress",function(evt){var c=evt.charCode;c=c>=32?c:0;evt=_533(evt,{charCode:c,faux:true});return _538.call(this,evt);});return {remove:function(){_539.remove();_53b.remove();}};};}else{if(has("opera")){_530=function(_53c,_53d){return on(_53c,"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 _53d.call(this,_533(evt,{charCode:c}));});};}else{_530=function(_53e,_53f){return on(_53e,"keypress",function(evt){_535(evt);return _53f.call(this,evt);});};}}var _540={_keypress:_530,connect:function(obj,_541,_542,_543,_544){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 _52b.apply(this,args);},disconnect:function(_545){if(_545){_545.remove();}},subscribe:function(_546,_547,_548){return hub.subscribe(_546,lang.hitch(_547,_548));},publish:function(_549,args){return hub.publish.apply(hub,[_549].concat(args));},connectPublisher:function(_54a,obj,_54b){var pf=function(){_540.publish(_54a,arguments);};return _54b?_540.connect(obj,_54b,pf):_540.connect(obj,pf);},isCopyKey:function(e){return e[_532];}};_540.unsubscribe=_540.disconnect;1&&lang.mixin(dojo,_540);return _540;});},"dojo/errors/CancelError":function(){define(["./create"],function(_54c){return _54c("CancelError",null,null,{dojoType:"cancel",log:false});});}}});(function(){var _54d=this.require;_54d({cache:{}});!_54d.async&&_54d(["dojo"]);_54d.boot&&_54d.apply(null,_54d.boot);})();