/*
	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:"../ibm",name:"ibm"},{location:"../icons",name:"icons"},{location:"../themes",name:"themes"},{location:"../wcl",name:"wcl"},{location:"../dojox",name:"dojox"},{location:"../html",name:"html"},{location:"../dojoe",name:"dojoe"},{location:"../dijit",name:"dijit"},{location:"../hmc",name:"hmc"},{location:"../tasks",name:"tasks"},{location:".",name:"dojo"},{location:"../gridx",main:"Grid",name:"gridx"},{location:"../swfobject",name:"swfobject"},{location:"../openlayers",name:"openlayers"}]});
require({cache:{"dojo/request/default":function(){
define(["exports","require","../has"],function(_11f,_120,has){
var _121=has("config-requestProvider"),_122;
if(1||has("host-webworker")){
_122="./xhr";
}else{
if(0){
_122="./node";
}
}
if(!_121){
_121=_122;
}
_11f.getPlatformDefaultId=function(){
return _122;
};
_11f.load=function(id,_123,_124,_125){
_120([id=="platform"?_122:_121],function(_126){
_124(_126);
});
};
});
},"dojo/_base/fx":function(){
define(["./kernel","./config","./lang","../Evented","./Color","../aspect","../sniff","../dom","../dom-style"],function(dojo,_127,lang,_128,_129,_12a,has,dom,_12b){
var _12c=lang.mixin;
var _12d={};
var _12e=_12d._Line=function(_12f,end){
this.start=_12f;
this.end=end;
};
_12e.prototype.getValue=function(n){
return ((this.end-this.start)*n)+this.start;
};
var _130=_12d.Animation=function(args){
_12c(this,args);
if(lang.isArray(this.curve)){
this.curve=new _12e(this.curve[0],this.curve[1]);
}
};
_130.prototype=new _128();
lang.extend(_130,{duration:350,repeat:0,rate:20,_percent:0,_startRepeatCount:0,_getStep:function(){
var _131=this._percent,_132=this.easing;
return _132?_132(_131):_131;
},_fire:function(evt,args){
var a=args||[];
if(this[evt]){
if(_127.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(_133,_134){
var _135=this;
if(_135._delayTimer){
_135._clearTimer();
}
if(_134){
_135._stopTimer();
_135._active=_135._paused=false;
_135._percent=0;
}else{
if(_135._active&&!_135._paused){
return _135;
}
}
_135._fire("beforeBegin",[_135.node]);
var de=_133||_135.delay,_136=lang.hitch(_135,"_play",_134);
if(de>0){
_135._delayTimer=setTimeout(_136,de);
return _135;
}
_136();
return _135;
},_play:function(_137){
var _138=this;
if(_138._delayTimer){
_138._clearTimer();
}
_138._startTime=new Date().valueOf();
if(_138._paused){
_138._startTime-=_138.duration*_138._percent;
}
_138._active=true;
_138._paused=false;
var _139=_138.curve.getValue(_138._getStep());
if(!_138._percent){
if(!_138._startRepeatCount){
_138._startRepeatCount=_138.repeat;
}
_138._fire("onBegin",[_139]);
}
_138._fire("onPlay",[_139]);
_138._cycle();
return _138;
},pause:function(){
var _13a=this;
if(_13a._delayTimer){
_13a._clearTimer();
}
_13a._stopTimer();
if(!_13a._active){
return _13a;
}
_13a._paused=true;
_13a._fire("onPause",[_13a.curve.getValue(_13a._getStep())]);
return _13a;
},gotoPercent:function(_13b,_13c){
var _13d=this;
_13d._stopTimer();
_13d._active=_13d._paused=true;
_13d._percent=_13b;
if(_13c){
_13d.play();
}
return _13d;
},stop:function(_13e){
var _13f=this;
if(_13f._delayTimer){
_13f._clearTimer();
}
if(!_13f._timer){
return _13f;
}
_13f._stopTimer();
if(_13e){
_13f._percent=1;
}
_13f._fire("onStop",[_13f.curve.getValue(_13f._getStep())]);
_13f._active=_13f._paused=false;
return _13f;
},destroy:function(){
this.stop();
},status:function(){
if(this._active){
return this._paused?"paused":"playing";
}
return "stopped";
},_cycle:function(){
var _140=this;
if(_140._active){
var curr=new Date().valueOf();
var step=_140.duration===0?1:(curr-_140._startTime)/(_140.duration);
if(step>=1){
step=1;
}
_140._percent=step;
if(_140.easing){
step=_140.easing(step);
}
_140._fire("onAnimate",[_140.curve.getValue(step)]);
if(_140._percent<1){
_140._startTimer();
}else{
_140._active=false;
if(_140.repeat>0){
_140.repeat--;
_140.play(null,true);
}else{
if(_140.repeat==-1){
_140.play(null,true);
}else{
if(_140._startRepeatCount){
_140.repeat=_140._startRepeatCount;
_140._startRepeatCount=0;
}
}
}
_140._percent=0;
_140._fire("onEnd",[_140.node]);
!_140.repeat&&_140._stopTimer();
}
}
return _140;
},_clearTimer:function(){
clearTimeout(this._delayTimer);
delete this._delayTimer;
}});
var ctr=0,_141=null,_142={run:function(){
}};
lang.extend(_130,{_startTimer:function(){
if(!this._timer){
this._timer=_12a.after(_142,"run",lang.hitch(this,"_cycle"),true);
ctr++;
}
if(!_141){
_141=setInterval(lang.hitch(_142,"run"),this.rate);
}
},_stopTimer:function(){
if(this._timer){
this._timer.remove();
this._timer=null;
ctr--;
}
if(ctr<=0){
clearInterval(_141);
_141=null;
ctr=0;
}
}});
var _143=has("ie")?function(node){
var ns=node.style;
if(!ns.width.length&&_12b.get(node,"width")=="auto"){
ns.width="auto";
}
}:function(){
};
_12d._fade=function(args){
args.node=dom.byId(args.node);
var _144=_12c({properties:{}},args),_145=(_144.properties.opacity={});
_145.start=!("start" in _144)?function(){
return +_12b.get(_144.node,"opacity")||0;
}:_144.start;
_145.end=_144.end;
var anim=_12d.animateProperty(_144);
_12a.after(anim,"beforeBegin",lang.partial(_143,_144.node),true);
return anim;
};
_12d.fadeIn=function(args){
return _12d._fade(_12c({end:1},args));
};
_12d.fadeOut=function(args){
return _12d._fade(_12c({end:0},args));
};
_12d._defaultEasing=function(n){
return 0.5+((Math.sin((n+1.5)*Math.PI))/2);
};
var _146=function(_147){
this._properties=_147;
for(var p in _147){
var prop=_147[p];
if(prop.start instanceof _129){
prop.tempColor=new _129();
}
}
};
_146.prototype.getValue=function(r){
var ret={};
for(var p in this._properties){
var prop=this._properties[p],_148=prop.start;
if(_148 instanceof _129){
ret[p]=_129.blendColors(_148,prop.end,r,prop.tempColor).toCss();
}else{
if(!lang.isArray(_148)){
ret[p]=((prop.end-_148)*r)+_148+(p!="opacity"?prop.units||"px":0);
}
}
}
return ret;
};
_12d.animateProperty=function(args){
var n=args.node=dom.byId(args.node);
if(!args.easing){
args.easing=dojo._defaultEasing;
}
var anim=new _130(args);
_12a.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]=_12c({},(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 _149=(p.toLowerCase().indexOf("color")>=0);
function _14a(node,p){
var v={height:node.offsetHeight,width:node.offsetWidth}[p];
if(v!==undefined){
return v;
}
v=_12b.get(node,p);
return (p=="opacity")?+v:(_149?v:parseFloat(v));
};
if(!("end" in prop)){
prop.end=_14a(n,p);
}else{
if(!("start" in prop)){
prop.start=_14a(n,p);
}
}
if(_149){
prop.start=new _129(prop.start);
prop.end=new _129(prop.end);
}else{
prop.start=(p=="opacity")?+prop.start:parseFloat(prop.start);
}
}
this.curve=new _146(pm);
}),true);
_12a.after(anim,"onAnimate",lang.hitch(_12b,"set",anim.node),true);
return anim;
};
_12d.anim=function(node,_14b,_14c,_14d,_14e,_14f){
return _12d.animateProperty({node:node,duration:_14c||_130.prototype.duration,properties:_14b,easing:_14d,onEnd:_14e}).play(_14f||0);
};
if(1){
_12c(dojo,_12d);
dojo._Animation=_130;
}
return _12d;
});
},"dojo/dom-form":function(){
define(["./_base/lang","./dom","./io-query","./json"],function(lang,dom,ioq,json){
function _150(obj,name,_151){
if(_151===null){
return;
}
var val=obj[name];
if(typeof val=="string"){
obj[name]=[val,_151];
}else{
if(lang.isArray(val)){
val.push(_151);
}else{
obj[name]=_151;
}
}
};
var _152="file|submit|image|reset|button";
var form={fieldToObject:function fieldToObject(_153){
var ret=null;
_153=dom.byId(_153);
if(_153){
var _154=_153.name,type=(_153.type||"").toLowerCase();
if(_154&&type&&!_153.disabled){
if(type=="radio"||type=="checkbox"){
if(_153.checked){
ret=_153.value;
}
}else{
if(_153.multiple){
ret=[];
var _155=[_153.firstChild];
while(_155.length){
for(var node=_155.pop();node;node=node.nextSibling){
if(node.nodeType==1&&node.tagName.toLowerCase()=="option"){
if(node.selected){
ret.push(node.value);
}
}else{
if(node.nextSibling){
_155.push(node.nextSibling);
}
if(node.firstChild){
_155.push(node.firstChild);
}
break;
}
}
}
}else{
ret=_153.value;
}
}
}
}
return ret;
},toObject:function formToObject(_156){
var ret={},_157=dom.byId(_156).elements;
for(var i=0,l=_157.length;i<l;++i){
var item=_157[i],_158=item.name,type=(item.type||"").toLowerCase();
if(_158&&type&&_152.indexOf(type)<0&&!item.disabled){
_150(ret,_158,form.fieldToObject(item));
if(type=="image"){
ret[_158+".x"]=ret[_158+".y"]=ret[_158].x=ret[_158].y=0;
}
}
}
return ret;
},toQuery:function formToQuery(_159){
return ioq.objectToQuery(form.toObject(_159));
},toJson:function formToJson(_15a,_15b){
return json.stringify(form.toObject(_15a),null,_15b?4:0);
}};
return form;
});
},"dojo/i18n":function(){
define(["./_base/kernel","require","./has","./_base/array","./_base/config","./_base/lang","./_base/xhr","./json","module"],function(dojo,_15c,has,_15d,_15e,lang,xhr,json,_15f){
has.add("dojo-preload-i18n-Api",1);
1||has.add("dojo-v1x-i18n-Api",1);
var _160=dojo.i18n={},_161=/(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,_162=function(root,_163,_164,_165){
for(var _166=[_164+_165],_167=_163.split("-"),_168="",i=0;i<_167.length;i++){
_168+=(_168?"-":"")+_167[i];
if(!root||root[_168]){
_166.push(_164+_168+"/"+_165);
_166.specificity=_168;
}
}
return _166;
},_169={},_16a=function(_16b,_16c,_16d){
_16d=_16d?_16d.toLowerCase():dojo.locale;
_16b=_16b.replace(/\./g,"/");
_16c=_16c.replace(/\./g,"/");
return (/root/i.test(_16d))?(_16b+"/nls/"+_16c):(_16b+"/nls/"+_16d+"/"+_16c);
},_16e=dojo.getL10nName=function(_16f,_170,_171){
return _16f=_15f.id+"!"+_16a(_16f,_170,_171);
},_172=function(_173,_174,_175,_176,_177,load){
_173([_174],function(root){
var _178=lang.clone(root.root||root.ROOT),_179=_162(!root._v1x&&root,_177,_175,_176);
_173(_179,function(){
for(var i=1;i<_179.length;i++){
_178=lang.mixin(lang.clone(_178),arguments[i]);
}
var _17a=_174+"/"+_177;
_169[_17a]=_178;
_178.$locale=_179.specificity;
load();
});
});
},_17b=function(id,_17c){
return /^\./.test(id)?_17c(id):id;
},_17d=function(_17e){
var list=_15e.extraLocale||[];
list=lang.isArray(list)?list:[list];
list.push(_17e);
return list;
},load=function(id,_17f,load){
var _180=_161.exec(id),_181=_180[1]+"/",_182=_180[5]||_180[4],_183=_181+_182,_184=(_180[5]&&_180[4]),_185=_184||dojo.locale||"",_186=_183+"/"+_185,_187=_184?[_185]:_17d(_185),_188=_187.length,_189=function(){
if(!--_188){
load(lang.delegate(_169[_186]));
}
},_18a=id.split("*"),_18b=_18a[1]=="preload";
if(has("dojo-preload-i18n-Api")){
if(_18b){
if(!_169[id]){
_169[id]=1;
_195(_18a[2],json.parse(_18a[3]),1,_17f);
}
load(1);
}
if(_18b||(_1b2(id,_17f,load)&&!_169[_186])){
return;
}
}else{
if(_18b){
load(1);
return;
}
}
_15d.forEach(_187,function(_18c){
var _18d=_183+"/"+_18c;
if(has("dojo-preload-i18n-Api")){
_18e(_18d);
}
if(!_169[_18d]){
_172(_17f,_183,_181,_182,_18c,_189);
}else{
_189();
}
});
};
if(has("dojo-preload-i18n-Api")||1){
var _18f=_160.normalizeLocale=function(_190){
var _191=_190?_190.toLowerCase():dojo.locale;
return _191=="root"?"ROOT":_191;
},isXd=function(mid,_192){
return (1&&1)?_192.isXdUrl(_15c.toUrl(mid+".js")):true;
},_193=0,_194=[],_195=_160._preloadLocalizations=function(_196,_197,_198,_199){
_199=_199||_15c;
function _19a(mid,_19b){
if(isXd(mid,_199)||_198){
_199([mid],_19b);
}else{
_1b7([mid],_19b,_199);
}
};
function _19c(_19d,func){
var _19e=_19d.split("-");
while(_19e.length){
if(func(_19e.join("-"))){
return;
}
_19e.pop();
}
func("ROOT");
};
function _19f(){
_193++;
};
function _1a0(){
--_193;
while(!_193&&_194.length){
load.apply(null,_194.shift());
}
};
function _1a1(path,name,loc,_1a2){
return _1a2.toAbsMid(path+name+"/"+loc);
};
function _1a3(_1a4){
_1a4=_18f(_1a4);
_19c(_1a4,function(loc){
if(_15d.indexOf(_197,loc)>=0){
var mid=_196.replace(/\./g,"/")+"_"+loc;
_19f();
_19a(mid,function(_1a5){
for(var p in _1a5){
var _1a6=_1a5[p],_1a7=p.match(/(.+)\/([^\/]+)$/),_1a8,_1a9;
if(!_1a7){
continue;
}
_1a8=_1a7[2];
_1a9=_1a7[1]+"/";
if(!_1a6._localized){
continue;
}
var _1aa;
if(loc==="ROOT"){
var root=_1aa=_1a6._localized;
delete _1a6._localized;
root.root=_1a6;
_169[_15c.toAbsMid(p)]=root;
}else{
_1aa=_1a6._localized;
_169[_1a1(_1a9,_1a8,loc,_15c)]=_1a6;
}
if(loc!==_1a4){
function _1ab(_1ac,_1ad,_1ae,_1af){
var _1b0=[],_1b1=[];
_19c(_1a4,function(loc){
if(_1af[loc]){
_1b0.push(_15c.toAbsMid(_1ac+loc+"/"+_1ad));
_1b1.push(_1a1(_1ac,_1ad,loc,_15c));
}
});
if(_1b0.length){
_19f();
_199(_1b0,function(){
for(var i=_1b0.length-1;i>=0;i--){
_1ae=lang.mixin(lang.clone(_1ae),arguments[i]);
_169[_1b1[i]]=_1ae;
}
_169[_1a1(_1ac,_1ad,_1a4,_15c)]=lang.clone(_1ae);
_1a0();
});
}else{
_169[_1a1(_1ac,_1ad,_1a4,_15c)]=_1ae;
}
};
_1ab(_1a9,_1a8,_1a6,_1aa);
}
}
_1a0();
});
return true;
}
return false;
});
};
_1a3();
_15d.forEach(dojo.config.extraLocale,_1a3);
},_1b2=function(id,_1b3,load){
if(_193){
_194.push([id,_1b3,load]);
}
return _193;
},_18e=function(){
};
}
if(1){
var _1b4={},_1b5={},_1b6,_1b7=function(deps,_1b8,_1b9){
var _1ba=[];
_15d.forEach(deps,function(mid){
var url=_1b9.toUrl(mid+".js");
function load(text){
if(!_1b6){
_1b6=new Function("__bundle","__checkForLegacyModules","__mid","__amdValue","var define = function(mid, factory){define.called = 1; __amdValue.result = factory || mid;},"+"\t   require = function(){define.called = 1;};"+"try{"+"define.called = 0;"+"eval(__bundle);"+"if(define.called==1)"+"return __amdValue;"+"if((__checkForLegacyModules = __checkForLegacyModules(__mid)))"+"return __checkForLegacyModules;"+"}catch(e){}"+"try{"+"return eval('('+__bundle+')');"+"}catch(e){"+"return e;"+"}");
}
var _1bb=_1b6(text,_18e,mid,_1b4);
if(_1bb===_1b4){
_1ba.push(_169[url]=_1b4.result);
}else{
if(_1bb instanceof Error){
console.error("failed to evaluate i18n bundle; url="+url,_1bb);
_1bb={};
}
_1ba.push(_169[url]=(/nls\/[^\/]+\/[^\/]+$/.test(url)?_1bb:{root:_1bb,_v1x:1}));
}
};
if(_169[url]){
_1ba.push(_169[url]);
}else{
var _1bc=_1b9.syncLoadNls(mid);
if(!_1bc){
_1bc=_18e(mid.replace(/nls\/([^\/]*)\/([^\/]*)$/,"nls/$2/$1"));
}
if(_1bc){
_1ba.push(_1bc);
}else{
if(!xhr){
try{
_1b9.getText(url,true,load);
}
catch(e){
_1ba.push(_169[url]={});
}
}else{
xhr.get({url:url,sync:true,load:load,error:function(){
_1ba.push(_169[url]={});
}});
}
}
}
});
_1b8&&_1b8.apply(null,_1ba);
};
_18e=function(_1bd){
for(var _1be,_1bf=_1bd.split("/"),_1c0=dojo.global[_1bf[0]],i=1;_1c0&&i<_1bf.length-1;_1c0=_1c0[_1bf[i++]]){
}
if(_1c0){
_1be=_1c0[_1bf[i]];
if(!_1be){
_1be=_1c0[_1bf[i].replace(/-/g,"_")];
}
if(_1be){
_169[_1bd]=_1be;
}
}
return _1be;
};
_160.getLocalization=function(_1c1,_1c2,_1c3){
var _1c4,_1c5=_16a(_1c1,_1c2,_1c3);
if(_1b5[_1c5]){
return _1b5[_1c5];
}
load(_1c5,(!isXd(_1c5,_15c)?function(deps,_1c6){
_1b7(deps,_1c6,_15c);
}:_15c),function(_1c7){
_1b5[_1c5]=_1c7;
_1c4=_1c7;
});
return _1c4;
};
}else{
_160.getLocalization=function(_1c8,_1c9,_1ca){
var key=_1c8.replace(/\./g,"/")+"/nls/"+_1c9+"/"+(_1ca||_15e.locale);
return this.cache[key];
};
}
return lang.mixin(_160,{dynamic:true,normalize:_17b,load:load,cache:_169,getL10nName:_16e});
});
},"dojo/promise/tracer":function(){
define(["../_base/lang","./Promise","../Evented"],function(lang,_1cb,_1cc){
"use strict";
var _1cd=new _1cc;
var emit=_1cd.emit;
_1cd.emit=null;
function _1ce(args){
setTimeout(function(){
emit.apply(_1cd,args);
},0);
};
_1cb.prototype.trace=function(){
var args=lang._toArray(arguments);
this.then(function(_1cf){
_1ce(["resolved",_1cf].concat(args));
},function(_1d0){
_1ce(["rejected",_1d0].concat(args));
},function(_1d1){
_1ce(["progress",_1d1].concat(args));
});
return this;
};
_1cb.prototype.traceRejected=function(){
var args=lang._toArray(arguments);
this.otherwise(function(_1d2){
_1ce(["rejected",_1d2].concat(args));
});
return this;
};
return _1cd;
});
},"dojo/errors/RequestError":function(){
define(["./create"],function(_1d3){
return _1d3("RequestError",function(_1d4,_1d5){
this.response=_1d5;
});
});
},"dojo/_base/html":function(){
define(["./kernel","../dom","../dom-style","../dom-attr","../dom-prop","../dom-class","../dom-construct","../dom-geometry"],function(dojo,dom,_1d6,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,_1d7){
if(arguments.length==2){
return attr[typeof name=="string"?"get":"set"](node,name);
}
return attr.set(node,name,_1d7);
};
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,_1d8){
dojo.deprecated("dojo.coords()","Use dojo.position() or dojo.marginBox().");
node=dom.byId(node);
var s=_1d6.getComputedStyle(node),mb=geom.getMarginBox(node,s);
var abs=geom.position(node,_1d8);
mb.x=abs.x;
mb.y=abs.y;
return mb;
};
dojo.getProp=prop.get;
dojo.setProp=prop.set;
dojo.prop=function(node,name,_1d9){
if(arguments.length==2){
return prop[typeof name=="string"?"get":"set"](node,name);
}
return prop.set(node,name,_1d9);
};
dojo.getStyle=_1d6.get;
dojo.setStyle=_1d6.set;
dojo.getComputedStyle=_1d6.getComputedStyle;
dojo.__toPixelValue=dojo.toPixelValue=_1d6.toPixelValue;
dojo.style=function(node,name,_1da){
switch(arguments.length){
case 1:
return _1d6.get(node);
case 2:
return _1d6[typeof name=="string"?"get":"set"](node,name);
}
return _1d6.set(node,name,_1da);
};
return dojo;
});
},"dojo/_base/kernel":function(){
define(["../global","../has","./config","require","module"],function(_1db,has,_1dc,_1dd,_1de){
var i,p,_1df={},_1e0={},dojo={config:_1dc,global:_1db,dijit:_1df,dojox:_1e0};
var _1e1={dojo:["dojo",dojo],dijit:["dijit",_1df],dojox:["dojox",_1e0]},_1e2=(_1dd.map&&_1dd.map[_1de.id.match(/[^\/]+/)[0]]),item;
for(p in _1e2){
if(_1e1[p]){
_1e1[p][0]=_1e2[p];
}else{
_1e1[p]=[_1e2[p],{}];
}
}
for(p in _1e1){
item=_1e1[p];
item[1]._scopeName=item[0];
if(!_1dc.noGlobals){
_1db[item[0]]=item[1];
}
}
dojo.scopeMap=_1e1;
dojo.baseUrl=dojo.config.baseUrl=_1dd.baseUrl;
dojo.isAsync=!1||_1dd.async;
dojo.locale=_1dc.locale;
var rev="$Rev:$".match(/[0-9a-f]{7,}/);
dojo.version={major:1,minor:16,patch:4,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(_1e3){
quit(_1e3);
};
}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",!!_1dc.isDebug);
dojo.deprecated=dojo.experimental=function(){
};
if(has("dojo-debug-messages")){
dojo.deprecated=function(_1e4,_1e5,_1e6){
var _1e7="DEPRECATED: "+_1e4;
if(_1e5){
_1e7+=" "+_1e5;
}
if(_1e6){
_1e7+=" -- will be removed in version: "+_1e6;
}
console.warn(_1e7);
};
dojo.experimental=function(_1e8,_1e9){
var _1ea="EXPERIMENTAL: "+_1e8+" -- APIs subject to change without notice.";
if(_1e9){
_1ea+=" "+_1e9;
}
console.warn(_1ea);
};
}
1||has.add("dojo-modulePaths",1);
if(1){
if(_1dc.modulePaths){
dojo.deprecated("dojo.modulePaths","use paths configuration");
var _1eb={};
for(p in _1dc.modulePaths){
_1eb[p.replace(/\./g,"/")]=_1dc.modulePaths[p];
}
_1dd({paths:_1eb});
}
}
1||has.add("dojo-moduleUrl",1);
if(1){
dojo.moduleUrl=function(_1ec,url){
dojo.deprecated("dojo.moduleUrl()","use require.toUrl","2.0");
var _1ed=null;
if(_1ec){
_1ed=_1dd.toUrl(_1ec.replace(/\./g,"/")+(url?("/"+url):"")+"/*.*").replace(/\/\*\.\*/,"")+(url?"":"/");
}
return _1ed;
};
}
dojo._hasResource={};
return dojo;
});
},"dojo/io-query":function(){
define(["./_base/lang"],function(lang){
var _1ee={};
return {objectToQuery:function objectToQuery(map){
var enc=encodeURIComponent,_1ef=[];
for(var name in map){
var _1f0=map[name];
if(_1f0!=_1ee[name]){
var _1f1=enc(name)+"=";
if(lang.isArray(_1f0)){
for(var i=0,l=_1f0.length;i<l;++i){
_1ef.push(_1f1+enc(_1f0[i]));
}
}else{
_1ef.push(_1f1+enc(_1f0));
}
}
}
return _1ef.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,_1f2,_1f3,_1f4,has,lang,when){
var _1f5=function(){
};
var _1f6=Object.freeze||function(){
};
var _1f7=dojo.Deferred=function(_1f8){
var _1f9,_1fa,_1fb,_1fc,_1fd,head,_1fe;
var _1ff=(this.promise=new _1f3());
function _200(_201){
if(_1fa){
throw new Error("This deferred has already been resolved");
}
_1f9=_201;
_1fa=true;
_202();
};
function _202(){
var _203;
while(!_203&&_1fe){
var _204=_1fe;
_1fe=_1fe.next;
if((_203=(_204.progress==_1f5))){
_1fa=false;
}
var func=(_1fd?_204.error:_204.resolved);
if(has("config-useDeferredInstrumentation")){
if(_1fd&&_1f2.instrumentRejected){
_1f2.instrumentRejected(_1f9,!!func);
}
}
if(func){
try{
var _205=func(_1f9);
if(_205&&typeof _205.then==="function"){
_205.then(lang.hitch(_204.deferred,"resolve"),lang.hitch(_204.deferred,"reject"),lang.hitch(_204.deferred,"progress"));
continue;
}
var _206=_203&&_205===undefined;
if(_203&&!_206){
_1fd=_205 instanceof Error;
}
_204.deferred[_206&&_1fd?"reject":"resolve"](_206?_1f9:_205);
}
catch(e){
_204.deferred.reject(e);
}
}else{
if(_1fd){
_204.deferred.reject(_1f9);
}else{
_204.deferred.resolve(_1f9);
}
}
}
};
this.isResolved=_1ff.isResolved=function(){
return _1fc==0;
};
this.isRejected=_1ff.isRejected=function(){
return _1fc==1;
};
this.isFulfilled=_1ff.isFulfilled=function(){
return _1fc>=0;
};
this.isCanceled=_1ff.isCanceled=function(){
return _1fb;
};
this.resolve=this.callback=function(_207){
this.fired=_1fc=0;
this.results=[_207,null];
_200(_207);
};
this.reject=this.errback=function(_208){
_1fd=true;
this.fired=_1fc=1;
if(has("config-useDeferredInstrumentation")){
if(_1f2.instrumentRejected){
_1f2.instrumentRejected(_208,!!_1fe);
}
}
_200(_208);
this.results=[null,_208];
};
this.progress=function(_209){
var _20a=_1fe;
while(_20a){
var _20b=_20a.progress;
_20b&&_20b(_209);
_20a=_20a.next;
}
};
this.addCallbacks=function(_20c,_20d){
this.then(_20c,_20d,_1f5);
return this;
};
_1ff.then=this.then=function(_20e,_20f,_210){
var _211=_210==_1f5?this:new _1f7(_1ff.cancel);
var _212={resolved:_20e,error:_20f,progress:_210,deferred:_211};
if(_1fe){
head=head.next=_212;
}else{
_1fe=head=_212;
}
if(_1fa){
_202();
}
return _211.promise;
};
var _213=this;
_1ff.cancel=this.cancel=function(){
if(!_1fa){
var _214=_1f8&&_1f8(_213);
if(!_1fa){
if(!(_214 instanceof Error)){
_214=new _1f4(_214);
}
_214.log=false;
_213.reject(_214);
}
}
_1fb=true;
};
_1f6(_1ff);
};
lang.extend(_1f7,{addCallback:function(_215){
return this.addCallbacks(lang.hitch.apply(dojo,arguments));
},addErrback:function(_216){
return this.addCallbacks(null,lang.hitch.apply(dojo,arguments));
},addBoth:function(_217){
var _218=lang.hitch.apply(dojo,arguments);
return this.addCallbacks(_218,_218);
},fired:-1});
_1f7.when=dojo.when=when;
return _1f7;
});
},"dojo/NodeList-dom":function(){
define(["./_base/kernel","./query","./_base/array","./_base/lang","./dom-class","./dom-construct","./dom-geometry","./dom-attr","./dom-style"],function(dojo,_219,_21a,lang,_21b,_21c,_21d,_21e,_21f){
var _220=function(a){
return a.length==1&&(typeof a[0]=="string");
};
var _221=function(node){
var p=node.parentNode;
if(p){
p.removeChild(node);
}
};
var _222=_219.NodeList,awc=_222._adaptWithCondition,aafe=_222._adaptAsForEach,aam=_222._adaptAsMap;
function _223(_224){
return function(node,name,_225){
if(arguments.length==2){
return _224[typeof name=="string"?"get":"set"](node,name);
}
return _224.set(node,name,_225);
};
};
lang.extend(_222,{_normalize:function(_226,_227){
var _228=_226.parse===true;
if(typeof _226.template=="string"){
var _229=_226.templateFunc||(dojo.string&&dojo.string.substitute);
_226=_229?_229(_226.template,_226):_226;
}
var type=(typeof _226);
if(type=="string"||type=="number"){
_226=_21c.toDom(_226,(_227&&_227.ownerDocument));
if(_226.nodeType==11){
_226=lang._toArray(_226.childNodes);
}else{
_226=[_226];
}
}else{
if(!lang.isArrayLike(_226)){
_226=[_226];
}else{
if(!lang.isArray(_226)){
_226=lang._toArray(_226);
}
}
}
if(_228){
_226._runParse=true;
}
return _226;
},_cloneNode:function(node){
return node.cloneNode(true);
},_place:function(ary,_22a,_22b,_22c){
if(_22a.nodeType!=1&&_22b=="only"){
return;
}
var _22d=_22a,_22e;
var _22f=ary.length;
for(var i=_22f-1;i>=0;i--){
var node=(_22c?this._cloneNode(ary[i]):ary[i]);
if(ary._runParse&&dojo.parser&&dojo.parser.parse){
if(!_22e){
_22e=_22d.ownerDocument.createElement("div");
}
_22e.appendChild(node);
dojo.parser.parse(_22e);
node=_22e.firstChild;
while(_22e.firstChild){
_22e.removeChild(_22e.firstChild);
}
}
if(i==_22f-1){
_21c.place(node,_22d,_22b);
}else{
_22d.parentNode.insertBefore(node,_22d);
}
_22d=node;
}
},position:aam(_21d.position),attr:awc(_223(_21e),_220),style:awc(_223(_21f),_220),addClass:aafe(_21b.add),removeClass:aafe(_21b.remove),toggleClass:aafe(_21b.toggle),replaceClass:aafe(_21b.replace),empty:aafe(_21c.empty),removeAttr:aafe(_21e.remove),marginBox:aam(_21d.getMarginBox),place:function(_230,_231){
var item=_219(_230)[0];
return this.forEach(function(node){
_21c.place(node,item,_231);
});
},orphan:function(_232){
return (_232?_219._filterResult(this,_232):this).forEach(_221);
},adopt:function(_233,_234){
return _219(_233).place(this[0],_234)._stash(this);
},query:function(_235){
if(!_235){
return this;
}
var ret=new _222;
this.map(function(node){
_219(_235,node).forEach(function(_236){
if(_236!==undefined){
ret.push(_236);
}
});
});
return ret._stash(this);
},filter:function(_237){
var a=arguments,_238=this,_239=0;
if(typeof _237=="string"){
_238=_219._filterResult(this,a[0]);
if(a.length==1){
return _238._stash(this);
}
_239=1;
}
return this._wrap(_21a.filter(_238,a[_239],a[_239+1]),this);
},addContent:function(_23a,_23b){
_23a=this._normalize(_23a,this[0]);
for(var i=0,node;(node=this[i]);i++){
if(_23a.length){
this._place(_23a,node,_23b,i>0);
}else{
_21c.empty(node);
}
}
return this;
}});
return _222;
});
},"dojo/query":function(){
define(["./_base/kernel","./has","./dom","./on","./_base/array","./_base/lang","./selector/_loader","./selector/_loader!default"],function(dojo,has,dom,on,_23c,lang,_23d,_23e){
"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,_23f=_23c.forEach;
var tnl=function(a,_240,_241){
var _242=new (_241||this._NodeListCtor||nl)(a);
return _240?_242._stash(_240):_242;
};
var _243=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 _244=function(f,o){
return function(){
this.forEach(_243(f,arguments,o));
return this;
};
};
var _245=function(f,o){
return function(){
return this.map(_243(f,arguments,o));
};
};
var _246=function(f,o){
return function(){
return this.filter(_243(f,arguments,o));
};
};
var _247=function(f,g,o){
return function(){
var a=arguments,body=_243(f,a,o);
if(g.call(o||dojo.global,a)){
return this.map(body);
}
this.forEach(body);
return this;
};
};
var _248=function(_249){
var _24a=this instanceof nl&&has("array-extensible");
if(typeof _249=="number"){
_249=Array(_249);
}
var _24b=(_249&&"length" in _249)?_249:arguments;
if(_24a||!_24b.sort){
var _24c=_24a?this:[],l=_24c.length=_24b.length;
for(var i=0;i<l;i++){
_24c[i]=_24b[i];
}
if(_24a){
return _24c;
}
_24b=_24c;
}
lang._mixin(_24b,nlp);
_24b._NodeListCtor=function(_24d){
return nl(_24d);
};
return _24b;
};
var nl=_248,nlp=nl.prototype=has("array-extensible")?[]:{};
nl._wrap=nlp._wrap=tnl;
nl._adaptAsMap=_245;
nl._adaptAsForEach=_244;
nl._adaptAsFilter=_246;
nl._adaptWithCondition=_247;
_23f(["slice","splice"],function(name){
var f=ap[name];
nlp[name]=function(){
return this._wrap(f.apply(this,arguments),name=="slice"?this:null);
};
});
_23f(["indexOf","lastIndexOf","every","some"],function(name){
var f=_23c[name];
nlp[name]=function(){
return f.apply(dojo,[this].concat(aps.call(arguments,0)));
};
});
lang.extend(_248,{constructor:nl,_NodeListCtor:nl,toString:function(){
return this.join(",");
},_stash:function(_24e){
this._parent=_24e;
return this;
},on:function(_24f,_250){
var _251=this.map(function(node){
return on(node,_24f,_250);
});
_251.remove=function(){
for(var i=0;i<_251.length;i++){
_251[i].remove();
}
};
return _251;
},end:function(){
if(this._parent){
return this._parent;
}else{
return new this._NodeListCtor(0);
}
},concat:function(item){
var t=aps.call(this,0),m=_23c.map(arguments,function(a){
return aps.call(a,0);
});
return this._wrap(apc.apply(t,m),this);
},map:function(func,obj){
return this._wrap(_23c.map(this,func,obj),this);
},forEach:function(_252,_253){
_23f(this,_252,_253);
return this;
},filter:function(_254){
var a=arguments,_255=this,_256=0;
if(typeof _254=="string"){
_255=_257._filterResult(this,a[0]);
if(a.length==1){
return _255._stash(this);
}
_256=1;
}
return this._wrap(_23c.filter(_255,a[_256],a[_256+1]),this);
},instantiate:function(_258,_259){
var c=lang.isFunction(_258)?_258:lang.getObject(_258);
_259=_259||{};
return this.forEach(function(node){
new c(_259,node);
});
},at:function(){
var t=new this._NodeListCtor(0);
_23f(arguments,function(i){
if(i<0){
i=this.length+i;
}
if(this[i]){
t.push(this[i]);
}
},this);
return t._stash(this);
}});
function _25a(_25b,_25c){
var _25d=function(_25e,root){
if(typeof root=="string"){
root=dom.byId(root);
if(!root){
return new _25c([]);
}
}
var _25f=typeof _25e=="string"?_25b(_25e,root):_25e?(_25e.end&&_25e.on)?_25e:[_25e]:[];
if(_25f.end&&_25f.on){
return _25f;
}
return new _25c(_25f);
};
_25d.matches=_25b.match||function(node,_260,root){
return _25d.filter([node],_260,root).length>0;
};
_25d.filter=_25b.filter||function(_261,_262,root){
return _25d(_262,root).filter(function(node){
return _23c.indexOf(_261,node)>-1;
});
};
if(typeof _25b!="function"){
var _263=_25b.search;
_25b=function(_264,root){
return _263(root||document,_264);
};
}
return _25d;
};
var _257=_25a(_23e,_248);
dojo.query=_25a(_23e,function(_265){
return _248(_265);
});
_257.load=function(id,_266,_267){
_23d.load(id,_266,function(_268){
_267(_25a(_268,_248));
});
};
dojo._filterQueryResult=_257._filterResult=function(_269,_26a,root){
return new _248(_257.filter(_269,_26a,root));
};
dojo.NodeList=_257.NodeList=_248;
return _257;
});
},"dojo/has":function(){
define(["./global","require","module"],function(_26b,_26c,_26d){
var has=_26c.has||function(){
};
if(!1){
var _26e=typeof window!="undefined"&&typeof location!="undefined"&&typeof document!="undefined"&&window.location==location&&window.document==document,doc=_26e&&document,_26f=doc&&doc.createElement("DiV"),_270=(_26d.config&&_26d.config())||{};
has=function(name){
return typeof _270[name]=="function"?(_270[name]=_270[name](_26b,doc,_26f)):_270[name];
};
has.cache=_270;
has.add=function(name,test,now,_271){
(typeof _270[name]=="undefined"||_271)&&(_270[name]=test);
return now&&has(name);
};
1||has.add("host-browser",_26e);
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",_26e);
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(_272){
_272.innerHTML="";
return _272;
};
has.normalize=function(id,_273){
var _274=id.match(/[\?:]|[^:\?]*/g),i=0,get=function(skip){
var term=_274[i++];
if(term==":"){
return 0;
}else{
if(_274[i++]=="?"){
if(!skip&&has(term)){
return get();
}else{
get(true);
return get(skip);
}
}
return term||0;
}
};
id=get();
return id&&_273(id);
};
has.load=function(id,_275,_276){
if(id){
_275([id],_276);
}else{
_276();
}
};
return has;
});
},"dojo/_base/loader":function(){
define(["./kernel","../has","require","module","../json","./lang","./array"],function(dojo,has,_277,_278,json,lang,_279){
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 _27a=function(id){
return {src:_278.id,id:id};
},_27b=function(name){
return name.replace(/\./g,"/");
},_27c=/\/\/>>built/,_27d=[],_27e=[],_27f=function(mid,_280,_281){
_27d.push(_281);
_279.forEach(mid.split(","),function(mid){
var _282=_283(mid,_280.module);
_27e.push(_282);
_284(_282);
});
_285();
},_285=(1?function(){
var _286,mid;
for(mid in _287){
_286=_287[mid];
if(_286.noReqPluginCheck===undefined){
_286.noReqPluginCheck=/loadInit\!/.test(mid)||/require\!/.test(mid)?1:0;
}
if(!_286.executed&&!_286.noReqPluginCheck&&_286.injected==_288){
return;
}
}
_289(function(){
var _28a=_27d;
_27d=[];
_279.forEach(_28a,function(cb){
cb(1);
});
});
}:(function(){
var _28b,_28c=function(m){
_28b[m.mid]=1;
for(var t,_28d,deps=m.deps||[],i=0;i<deps.length;i++){
_28d=deps[i];
if(!(t=_28b[_28d.mid])){
if(t===0||!_28c(_28d)){
_28b[m.mid]=0;
return false;
}
}
}
return true;
};
return function(){
var _28e,mid;
_28b={};
for(mid in _287){
_28e=_287[mid];
if(_28e.executed||_28e.noReqPluginCheck){
_28b[mid]=1;
}else{
if(_28e.noReqPluginCheck!==0){
_28e.noReqPluginCheck=/loadInit\!/.test(mid)||/require\!/.test(mid)?1:0;
}
if(_28e.noReqPluginCheck){
_28b[mid]=1;
}else{
if(_28e.injected!==_2b9){
_28b[mid]=0;
}
}
}
}
for(var t,i=0,end=_27e.length;i<end;i++){
_28e=_27e[i];
if(!(t=_28b[_28e.mid])){
if(t===0||!_28c(_28e)){
return;
}
}
}
_289(function(){
var _28f=_27d;
_27d=[];
_279.forEach(_28f,function(cb){
cb(1);
});
});
};
})()),_290=function(mid,_291,_292){
_291([mid],function(_293){
_291(_293.names,function(){
for(var _294="",args=[],i=0;i<arguments.length;i++){
_294+="var "+_293.names[i]+"= arguments["+i+"]; ";
args.push(arguments[i]);
}
eval(_294);
var _295=_291.module,_296=[],_297,_298={provide:function(_299){
_299=_27b(_299);
var _29a=_283(_299,_295);
if(_29a!==_295){
_2bf(_29a);
}
},require:function(_29b,_29c){
_29b=_27b(_29b);
_29c&&(_283(_29b,_295).result=_2ba);
_296.push(_29b);
},requireLocalization:function(_29d,_29e,_29f){
if(!_297){
_297=["dojo/i18n"];
}
_29f=(_29f||dojo.locale).toLowerCase();
_29d=_27b(_29d)+"/nls/"+(/root/i.test(_29f)?"":_29f+"/")+_27b(_29e);
if(_283(_29d,_295).isXd){
_297.push("dojo/i18n!"+_29d);
}
},loadInit:function(f){
f();
}},hold={},p;
try{
for(p in _298){
hold[p]=dojo[p];
dojo[p]=_298[p];
}
_293.def.apply(null,args);
}
catch(e){
_2a0("error",[_27a("failedDojoLoadInit"),e]);
}
finally{
for(p in _298){
dojo[p]=hold[p];
}
}
if(_297){
_296=_296.concat(_297);
}
if(_296.length){
_27f(_296.join(","),_291,_292);
}else{
_292();
}
});
});
},_2a1=function(text,_2a2,_2a3){
var _2a4=/\(|\)/g,_2a5=1,_2a6;
_2a4.lastIndex=_2a2;
while((_2a6=_2a4.exec(text))){
if(_2a6[0]==")"){
_2a5-=1;
}else{
_2a5+=1;
}
if(_2a5==0){
break;
}
}
if(_2a5!=0){
throw "unmatched paren around character "+_2a4.lastIndex+" in: "+text;
}
return [dojo.trim(text.substring(_2a3,_2a4.lastIndex))+";\n",_2a4.lastIndex];
},_2a7=/\/\/.*|\/\*[\s\S]*?\*\/|("(?:\\.|[^"])*"|'(?:\\.|[^'])*'|`(?:\\.|[^`])*`)/mg,_2a8=/(^|\s)dojo\.(loadInit|require|provide|requireLocalization|requireIf|requireAfterIf|platformRequire)\s*\(/mg,_2a9=/(^|\s)(require|define)\s*\(/m,_2aa=function(text,_2ab){
var _2ac,_2ad,_2ae,_2af,_2b0=[],_2b1=[],_2b2=[];
_2ab=_2ab||text.replace(_2a7,"$1");
while((_2ac=_2a8.exec(_2ab))){
_2ad=_2a8.lastIndex;
_2ae=_2ad-_2ac[0].length;
_2af=_2a1(_2ab,_2ad,_2ae);
if(_2ac[2]=="loadInit"){
_2b0.push(_2af[0]);
}else{
_2b1.push(_2af[0]);
}
_2a8.lastIndex=_2af[1];
}
_2b2=_2b0.concat(_2b1);
if(_2b2.length||!_2a9.test(_2ab)){
return [text.replace(/(^|\s)dojo\.loadInit\s*\(/g,"\n0 && dojo.loadInit("),_2b2.join(""),_2b2];
}else{
return 0;
}
},_2b3=function(_2b4,text){
var _2b5,id,_2b6=[],_2b7=[];
if(_27c.test(text)||!(_2b5=_2aa(text))){
return 0;
}
id=_2b4.mid+"-*loadInit";
for(var p in _283("dojo",_2b4).result.scopeMap){
_2b6.push(p);
_2b7.push("\""+p+"\"");
}
return "// xdomain rewrite of "+_2b4.mid+"\n"+"define('"+id+"',{\n"+"\tnames:"+json.stringify(_2b6)+",\n"+"\tdef:function("+_2b6.join(",")+"){"+_2b5[1]+"}"+"});\n\n"+"define("+json.stringify(_2b6.concat(["dojo/loadInit!"+id]))+", function("+_2b6.join(",")+"){\n"+_2b5[0]+"});";
},_2b8=_277.initSyncLoader(_27f,_285,_2b3),sync=_2b8.sync,_288=_2b8.requested,_2b9=_2b8.arrived,_2ba=_2b8.nonmodule,_2bb=_2b8.executing,_2bc=_2b8.executed,_2bd=_2b8.syncExecStack,_287=_2b8.modules,_2be=_2b8.execQ,_283=_2b8.getModule,_284=_2b8.injectModule,_2bf=_2b8.setArrived,_2a0=_2b8.signal,_2c0=_2b8.finishExec,_2c1=_2b8.execModule,_2c2=_2b8.getLegacyMode,_289=_2b8.guardCheckComplete;
_27f=_2b8.dojoRequirePlugin;
dojo.provide=function(mid){
var _2c3=_2bd[0],_2c4=lang.mixin(_283(_27b(mid),_277.module),{executed:_2bb,result:lang.getObject(mid,true)});
_2bf(_2c4);
if(_2c3){
(_2c3.provides||(_2c3.provides=[])).push(function(){
_2c4.result=lang.getObject(mid);
delete _2c4.provides;
_2c4.executed!==_2bc&&_2c0(_2c4);
});
}
return _2c4.result;
};
has.add("config-publishRequireResult",1,0,0);
dojo.require=function(_2c5,_2c6){
function _2c7(mid,_2c8){
var _2c9=_283(_27b(mid),_277.module);
if(_2bd.length&&_2bd[0].finish){
_2bd[0].finish.push(mid);
return undefined;
}
if(_2c9.executed){
return _2c9.result;
}
_2c8&&(_2c9.result=_2ba);
var _2ca=_2c2();
_284(_2c9);
_2ca=_2c2();
if(_2c9.executed!==_2bc&&_2c9.injected===_2b9){
_2b8.guardCheckComplete(function(){
_2c1(_2c9);
});
}
if(_2c9.executed){
return _2c9.result;
}
if(_2ca==sync){
if(_2c9.cjs){
_2be.unshift(_2c9);
}else{
_2bd.length&&(_2bd[0].finish=[mid]);
}
}else{
_2be.push(_2c9);
}
return undefined;
};
var _2cb=_2c7(_2c5,_2c6);
if(has("config-publishRequireResult")&&!lang.exists(_2c5)&&_2cb!==undefined){
lang.setObject(_2c5,_2cb);
}
return _2cb;
};
dojo.loadInit=function(f){
f();
};
dojo.registerModulePath=function(_2cc,_2cd){
var _2ce={};
_2ce[_2cc.replace(/\./g,"/")]=_2cd;
_277({paths:_2ce});
};
dojo.platformRequire=function(_2cf){
var _2d0=(_2cf.common||[]).concat(_2cf[dojo._name]||_2cf["default"]||[]),temp;
while(_2d0.length){
if(lang.isArray(temp=_2d0.shift())){
dojo.require.apply(dojo,temp);
}else{
dojo.require(temp);
}
}
};
dojo.requireIf=dojo.requireAfterIf=function(_2d1,_2d2,_2d3){
if(_2d1){
dojo.require(_2d2,_2d3);
}
};
dojo.requireLocalization=function(_2d4,_2d5,_2d6){
_277(["../i18n"],function(i18n){
i18n.getLocalization(_2d4,_2d5,_2d6);
});
};
return {extractLegacyApiApplications:_2aa,require:_27f,loadInit:_290};
});
},"dojo/json":function(){
define(["./has"],function(has){
"use strict";
var _2d7=typeof JSON!="undefined";
has.add("json-parse",_2d7);
has.add("json-stringify",_2d7&&JSON.stringify({a:0},function(k,v){
return v||1;
})=="{\"a\":1}");
if(has("json-stringify")){
return JSON;
}else{
var _2d8=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,_2d9){
if(_2d9&&!/^([\s\[\{]*(?:"(?:\\.|[^"])*"|-?\d[\d\.]*(?:[Ee][+-]?\d+)?|null|true|false|)[\s\]\}]*(?:,|:|$))+$/.test(str)){
throw new SyntaxError("Invalid characters in JSON");
}
return eval("("+str+")");
},stringify:function(_2da,_2db,_2dc){
var _2dd;
if(typeof _2db=="string"){
_2dc=_2db;
_2db=null;
}
function _2de(it,_2df,key){
if(_2db){
it=_2db(key,it);
}
var val,_2e0=typeof it;
if(_2e0=="number"){
return isFinite(it)?it+"":"null";
}
if(_2e0=="boolean"){
return it+"";
}
if(it===null){
return "null";
}
if(typeof it=="string"){
return _2d8(it);
}
if(_2e0=="function"||_2e0=="undefined"){
return _2dd;
}
if(typeof it.toJSON=="function"){
return _2de(it.toJSON(key),_2df,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 _2de(it.valueOf(),_2df,key);
}
var _2e1=_2dc?(_2df+_2dc):"";
var sep=_2dc?" ":"";
var _2e2=_2dc?"\n":"";
if(it instanceof Array){
var itl=it.length,res=[];
for(key=0;key<itl;key++){
var obj=it[key];
val=_2de(obj,_2e1,key);
if(typeof val!="string"){
val="null";
}
res.push(_2e2+_2e1+val);
}
return "["+res.join(",")+_2e2+_2df+"]";
}
var _2e3=[];
for(key in it){
var _2e4;
if(it.hasOwnProperty(key)){
if(typeof key=="number"){
_2e4="\""+key+"\"";
}else{
if(typeof key=="string"){
_2e4=_2d8(key);
}else{
continue;
}
}
val=_2de(it[key],_2e1,key);
if(typeof val!="string"){
continue;
}
_2e3.push(_2e2+_2e1+_2e4+":"+sep+val);
}
}
return "{"+_2e3.join(",")+_2e2+_2df+"}";
};
return _2de(_2da,"","");
}};
}
});
},"dojo/_base/declare":function(){
define(["./kernel","../has","./lang"],function(dojo,has,lang){
var mix=lang.mixin,op=Object.prototype,opts=op.toString,xtor,_2e5=0,_2e6="constructor";
if(!has("csp-restrictions")){
xtor=new Function;
}else{
xtor=function(){
};
}
function err(msg,cls){
throw new Error("declare"+(cls?" "+cls:"")+": "+msg);
};
function _2e7(_2e8,_2e9){
var _2ea=[],_2eb=[{cls:0,refs:[]}],_2ec={},_2ed=1,l=_2e8.length,i=0,j,lin,base,top,_2ee,rec,name,refs;
for(;i<l;++i){
base=_2e8[i];
if(!base){
err("mixin #"+i+" is unknown. Did you use dojo.require to pull it in?",_2e9);
}else{
if(opts.call(base)!="[object Function]"){
err("mixin #"+i+" is not a callable constructor.",_2e9);
}
}
lin=base._meta?base._meta.bases:[base];
top=0;
for(j=lin.length-1;j>=0;--j){
_2ee=lin[j].prototype;
if(!_2ee.hasOwnProperty("declaredClass")){
_2ee.declaredClass="uniqName_"+(_2e5++);
}
name=_2ee.declaredClass;
if(!_2ec.hasOwnProperty(name)){
_2ec[name]={count:0,refs:[],cls:lin[j]};
++_2ed;
}
rec=_2ec[name];
if(top&&top!==rec){
rec.refs.push(top);
++top.count;
}
top=rec;
}
++top.count;
_2eb[0].refs.push(top);
}
while(_2eb.length){
top=_2eb.pop();
_2ea.push(top.cls);
--_2ed;
while(refs=top.refs,refs.length==1){
top=refs[0];
if(!top||--top.count){
top=0;
break;
}
_2ea.push(top.cls);
--_2ed;
}
if(top){
for(i=0,l=refs.length;i<l;++i){
top=refs[i];
if(!--top.count){
_2eb.push(top);
}
}
}
}
if(_2ed){
err("can't build consistent linearization",_2e9);
}
base=_2e8[0];
_2ea[0]=base?base._meta&&base===_2ea[_2ea.length-base._meta.bases.length]?base._meta.bases.length:1:0;
return _2ea;
};
function _2ef(args,a,f,g){
var name,_2f0,_2f1,_2f2,meta,base,_2f3,opf,pos,_2f4=this._inherited=this._inherited||{};
if(typeof args==="string"){
name=args;
args=a;
a=f;
f=g;
}
if(typeof args==="function"){
_2f2=args;
args=a;
a=f;
}else{
try{
_2f2=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||_2f2.nom;
if(!name){
err("can't deduce a name to call inherited()",this.declaredClass);
}
f=g=0;
meta=this.constructor._meta;
_2f1=meta.bases;
pos=_2f4.p;
if(name!=_2e6){
if(_2f4.c!==_2f2){
pos=0;
base=_2f1[0];
meta=base._meta;
if(meta.hidden[name]!==_2f2){
_2f0=meta.chains;
if(_2f0&&typeof _2f0[name]=="string"){
err("calling chained method with inherited: "+name,this.declaredClass);
}
do{
meta=base._meta;
_2f3=base.prototype;
if(meta&&(_2f3[name]===_2f2&&_2f3.hasOwnProperty(name)||meta.hidden[name]===_2f2)){
break;
}
}while(base=_2f1[++pos]);
pos=base?pos:-1;
}
}
base=_2f1[++pos];
if(base){
_2f3=base.prototype;
if(base._meta&&_2f3.hasOwnProperty(name)){
f=_2f3[name];
}else{
opf=op[name];
do{
_2f3=base.prototype;
f=_2f3[name];
if(f&&(base._meta?_2f3.hasOwnProperty(name):f!==opf)){
break;
}
}while(base=_2f1[++pos]);
}
}
f=base&&f||op[name];
}else{
if(_2f4.c!==_2f2){
pos=0;
meta=_2f1[0]._meta;
if(meta&&meta.ctor!==_2f2){
_2f0=meta.chains;
if(!_2f0||_2f0.constructor!=="manual"){
err("calling chained constructor with inherited",this.declaredClass);
}
while(base=_2f1[++pos]){
meta=base._meta;
if(meta&&meta.ctor===_2f2){
break;
}
}
pos=base?pos:-1;
}
}
while(base=_2f1[++pos]){
meta=base._meta;
f=meta?meta.ctor:base;
if(f){
break;
}
}
f=base&&f;
}
_2f4.c=f;
_2f4.p=pos;
if(f){
return a===true?f:f.apply(this,a||args);
}
};
function _2f5(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 _2f6(args,a1,a2,a3){
var f=this.getInherited(args,a1,a2);
if(f){
return f.apply(this,a3||a2||a1||args);
}
};
var _2f7=dojo.config.isDebug?_2f6:_2ef;
function _2f8(cls){
var _2f9=this.constructor._meta.bases;
for(var i=0,l=_2f9.length;i<l;++i){
if(_2f9[i]===cls){
return true;
}
}
return this instanceof cls;
};
function _2fa(_2fb,_2fc){
for(var name in _2fc){
if(name!=_2e6&&_2fc.hasOwnProperty(name)){
_2fb[name]=_2fc[name];
}
}
if(has("bug-for-in-skips-shadowed")){
for(var _2fd=lang._extraNames,i=_2fd.length;i;){
name=_2fd[--i];
if(name!=_2e6&&_2fc.hasOwnProperty(name)){
_2fb[name]=_2fc[name];
}
}
}
};
function _2fe(_2ff,_300){
var name,t;
for(name in _300){
t=_300[name];
if((t!==op[name]||!(name in op))&&name!=_2e6){
if(opts.call(t)=="[object Function]"){
t.nom=name;
}
_2ff[name]=t;
}
}
if(has("bug-for-in-skips-shadowed")&&_300){
for(var _301=lang._extraNames,i=_301.length;i;){
name=_301[--i];
t=_300[name];
if((t!==op[name]||!(name in op))&&name!=_2e6){
if(opts.call(t)=="[object Function]"){
t.nom=name;
}
_2ff[name]=t;
}
}
}
return _2ff;
};
function _302(_303){
_304.safeMixin(this.prototype,_303);
return this;
};
function _305(_306,_307){
if(!(_306 instanceof Array||typeof _306==="function")){
_307=_306;
_306=undefined;
}
_307=_307||{};
_306=_306||[];
return _304([this].concat(_306),_307);
};
function _308(_309,_30a){
return function(){
var a=arguments,args=a,a0=a[0],f,i,m,l=_309.length,_30b;
if(!(this instanceof a.callee)){
return _30c(a);
}
if(_30a&&(a0&&a0.preamble||this.preamble)){
_30b=new Array(_309.length);
_30b[0]=a;
for(i=0;;){
a0=a[0];
if(a0){
f=a0.preamble;
if(f){
a=f.apply(this,a)||a;
}
}
f=_309[i].prototype;
f=f.hasOwnProperty("preamble")&&f.preamble;
if(f){
a=f.apply(this,a)||a;
}
if(++i==l){
break;
}
_30b[i]=a;
}
}
for(i=l-1;i>=0;--i){
f=_309[i];
m=f._meta;
f=m?m.ctor:f;
if(f){
f.apply(this,_30b?_30b[i]:a);
}
}
f=this.postscript;
if(f){
f.apply(this,args);
}
};
};
function _30d(ctor,_30e){
return function(){
var a=arguments,t=a,a0=a[0],f;
if(!(this instanceof a.callee)){
return _30c(a);
}
if(_30e){
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 _30f(_310){
return function(){
var a=arguments,i=0,f,m;
if(!(this instanceof a.callee)){
return _30c(a);
}
for(;f=_310[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 _311(name,_312,_313){
return function(){
var b,m,f,i=0,step=1;
if(_313){
i=_312.length-1;
step=-1;
}
for(;b=_312[i];i+=step){
m=b._meta;
f=(m?m.hidden:b.prototype)[name];
if(f){
f.apply(this,arguments);
}
}
};
};
function _314(ctor){
xtor.prototype=ctor.prototype;
var t=new xtor;
xtor.prototype=null;
return t;
};
function _30c(args){
var ctor=args.callee,t=_314(ctor);
ctor.apply(t,args);
return t;
};
function _304(_315,_316,_317){
if(typeof _315!="string"){
_317=_316;
_316=_315;
_315="";
}
_317=_317||{};
var _318,i,t,ctor,name,_319,_31a,_31b=1,_31c=_316;
if(opts.call(_316)=="[object Array]"){
_319=_2e7(_316,_315);
t=_319[0];
_31b=_319.length-t;
_316=_319[_31b];
}else{
_319=[0];
if(_316){
if(opts.call(_316)=="[object Function]"){
t=_316._meta;
_319=_319.concat(t?t.bases:_316);
}else{
err("base class is not a callable constructor.",_315);
}
}else{
if(_316!==null){
err("unknown base class. Did you use dojo.require to pull it in?",_315);
}
}
}
if(_316){
for(i=_31b-1;;--i){
_318=_314(_316);
if(!i){
break;
}
t=_319[i];
(t._meta?_2fa:mix)(_318,t.prototype);
if(has("csp-restrictions")){
ctor=function(){
};
}else{
ctor=new Function;
}
ctor.superclass=_316;
ctor.prototype=_318;
_316=_318.constructor=ctor;
}
}else{
_318={};
}
_304.safeMixin(_318,_317);
t=_317.constructor;
if(t!==op.constructor){
t.nom=_2e6;
_318.constructor=t;
}
for(i=_31b-1;i;--i){
t=_319[i]._meta;
if(t&&t.chains){
_31a=mix(_31a||{},t.chains);
}
}
if(_318["-chains-"]){
_31a=mix(_31a||{},_318["-chains-"]);
}
if(_316&&_316.prototype&&_316.prototype["-chains-"]){
_31a=mix(_31a||{},_316.prototype["-chains-"]);
}
t=!_31a||!_31a.hasOwnProperty(_2e6);
_319[0]=ctor=(_31a&&_31a.constructor==="manual")?_30f(_319):(_319.length==1?_30d(_317.constructor,t):_308(_319,t));
ctor._meta={bases:_319,hidden:_317,chains:_31a,parents:_31c,ctor:_317.constructor};
ctor.superclass=_316&&_316.prototype;
ctor.extend=_302;
ctor.createSubclass=_305;
ctor.prototype=_318;
_318.constructor=ctor;
_318.getInherited=_2f5;
_318.isInstanceOf=_2f8;
_318.inherited=_2f7;
_318.__inherited=_2ef;
if(_315){
_318.declaredClass=_315;
lang.setObject(_315,ctor);
}
if(_31a){
for(name in _31a){
if(_318[name]&&typeof _31a[name]=="string"&&name!=_2e6){
t=_318[name]=_311(name,_319,_31a[name]==="after");
t.nom=name;
}
}
}
return ctor;
};
dojo.safeMixin=_304.safeMixin=_2fe;
dojo.declare=_304;
return _304;
});
},"dojo/dom":function(){
define(["./sniff","./_base/window","./_base/kernel"],function(has,win,_31d){
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||null;
}
var _31e=doc||win.doc,te=id&&_31e.getElementById(id);
if(te&&(te.attributes.id.value==id||te.id==id)){
return te;
}else{
var eles=_31e.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;
}
}
}
return null;
};
}else{
dom.byId=function(id,doc){
return ((typeof id=="string")?(doc||win.doc).getElementById(id):id)||null;
};
}
var doc=_31d.global["document"]||null;
has.add("dom-contains",!!(doc&&doc.contains));
dom.isDescendant=has("dom-contains")?function(node,_31f){
return !!((_31f=dom.byId(_31f))&&_31f.contains(dom.byId(node)));
}:function(node,_320){
try{
node=dom.byId(node);
_320=dom.byId(_320);
while(node){
if(node==_320){
return true;
}
node=node.parentNode;
}
}
catch(e){
}
return false;
};
has.add("css-user-select",function(_321,doc,_322){
if(!_322){
return false;
}
var _323=_322.style;
var _324=["Khtml","O","Moz","Webkit"],i=_324.length,name="userSelect",_325;
do{
if(typeof _323[name]!=="undefined"){
return name;
}
}while(i--&&(name=_324[i]+"UserSelect"));
return false;
});
var _326=has("css-user-select");
dom.setSelectable=_326?function(node,_327){
dom.byId(node).style[_326]=_327?"":"none";
}:function(node,_328){
node=dom.byId(node);
var _329=node.getElementsByTagName("*"),i=_329.length;
if(_328){
node.removeAttribute("unselectable");
while(i--){
_329[i].removeAttribute("unselectable");
}
}else{
node.setAttribute("unselectable","on");
while(i--){
_329[i].setAttribute("unselectable","on");
}
}
};
return dom;
});
},"dojo/_base/browser":function(){
if(require.has){
require.has.add("config-selectorEngine","acme");
}
define(["../ready","./kernel","./connect","./unload","./window","./event","./html","./NodeList","../query","./xhr","./fx"],function(dojo){
return dojo;
});
},"dojo/selector/acme":function(){
define(["../dom","../sniff","../_base/array","../_base/lang","../_base/window"],function(dom,has,_32a,lang,win){
var trim=lang.trim;
var each=_32a.forEach;
var _32b=function(){
return win.doc;
};
var _32c=(_32b().compatMode)=="BackCompat";
var _32d=">~+";
var _32e=false;
var _32f=function(){
return true;
};
var _330=function(_331){
if(_32d.indexOf(_331.slice(-1))>=0){
_331+=" * ";
}else{
_331+=" ";
}
var ts=function(s,e){
return trim(_331.slice(s,e));
};
var _332=[];
var _333=-1,_334=-1,_335=-1,_336=-1,_337=-1,inId=-1,_338=-1,_339,lc="",cc="",_33a;
var x=0,ql=_331.length,_33b=null,_33c=null;
var _33d=function(){
if(_338>=0){
var tv=(_338==x)?null:ts(_338,x);
_33b[(_32d.indexOf(tv)<0)?"tag":"oper"]=tv;
_338=-1;
}
};
var _33e=function(){
if(inId>=0){
_33b.id=ts(inId,x).replace(/\\/g,"");
inId=-1;
}
};
var _33f=function(){
if(_337>=0){
_33b.classes.push(ts(_337+1,x).replace(/\\/g,""));
_337=-1;
}
};
var _340=function(){
_33e();
_33d();
_33f();
};
var _341=function(){
_340();
if(_336>=0){
_33b.pseudos.push({name:ts(_336+1,x)});
}
_33b.loops=(_33b.pseudos.length||_33b.attrs.length||_33b.classes.length);
_33b.oquery=_33b.query=ts(_33a,x);
_33b.otag=_33b.tag=(_33b["oper"])?null:(_33b.tag||"*");
if(_33b.tag){
_33b.tag=_33b.tag.toUpperCase();
}
if(_332.length&&(_332[_332.length-1].oper)){
_33b.infixOper=_332.pop();
_33b.query=_33b.infixOper.query+" "+_33b.query;
}
_332.push(_33b);
_33b=null;
};
for(;lc=cc,cc=_331.charAt(x),x<ql;x++){
if(lc=="\\"){
continue;
}
if(!_33b){
_33a=x;
_33b={query:null,pseudos:[],attrs:[],classes:[],tag:null,oper:null,id:null,getTag:function(){
return _32e?this.otag:this.tag;
}};
_338=x;
}
if(_339){
if(cc==_339){
_339=null;
}
continue;
}else{
if(cc=="'"||cc=="\""){
_339=cc;
continue;
}
}
if(_333>=0){
if(cc=="]"){
if(!_33c.attr){
_33c.attr=ts(_333+1,x);
}else{
_33c.matchFor=ts((_335||_333+1),x);
}
var cmf=_33c.matchFor;
if(cmf){
if((cmf.charAt(0)=="\"")||(cmf.charAt(0)=="'")){
_33c.matchFor=cmf.slice(1,-1);
}
}
if(_33c.matchFor){
_33c.matchFor=_33c.matchFor.replace(/\\/g,"");
}
_33b.attrs.push(_33c);
_33c=null;
_333=_335=-1;
}else{
if(cc=="="){
var _342=("|~^$*".indexOf(lc)>=0)?lc:"";
_33c.type=_342+cc;
_33c.attr=ts(_333+1,x-_342.length);
_335=x+1;
}
}
}else{
if(_334>=0){
if(cc==")"){
if(_336>=0){
_33c.value=ts(_334+1,x);
}
_336=_334=-1;
}
}else{
if(cc=="#"){
_340();
inId=x+1;
}else{
if(cc=="."){
_340();
_337=x;
}else{
if(cc==":"){
_340();
_336=x;
}else{
if(cc=="["){
_340();
_333=x;
_33c={};
}else{
if(cc=="("){
if(_336>=0){
_33c={name:ts(_336+1,x),value:null};
_33b.pseudos.push(_33c);
}
_334=x;
}else{
if((cc==" ")&&(lc!=cc)){
_341();
}
}
}
}
}
}
}
}
}
return _332;
};
var _343=function(_344,_345){
if(!_344){
return _345;
}
if(!_345){
return _344;
}
return function(){
return _344.apply(window,arguments)&&_345.apply(window,arguments);
};
};
var _346=function(i,arr){
var r=arr||[];
if(i){
r.push(i);
}
return r;
};
var _347=function(n){
return (1==n.nodeType);
};
var _348="";
var _349=function(elem,attr){
if(!elem){
return _348;
}
if(attr=="class"){
return elem.className||_348;
}
if(attr=="for"){
return elem.htmlFor||_348;
}
if(attr=="style"){
return elem.style.cssText||_348;
}
return (_32e?elem.getAttribute(attr):elem.getAttribute(attr,2))||_348;
};
var _34a={"*=":function(attr,_34b){
return function(elem){
return (_349(elem,attr).indexOf(_34b)>=0);
};
},"^=":function(attr,_34c){
return function(elem){
return (_349(elem,attr).indexOf(_34c)==0);
};
},"$=":function(attr,_34d){
return function(elem){
var ea=" "+_349(elem,attr);
var _34e=ea.lastIndexOf(_34d);
return _34e>-1&&(_34e==(ea.length-_34d.length));
};
},"~=":function(attr,_34f){
var tval=" "+_34f+" ";
return function(elem){
var ea=" "+_349(elem,attr)+" ";
return (ea.indexOf(tval)>=0);
};
},"|=":function(attr,_350){
var _351=_350+"-";
return function(elem){
var ea=_349(elem,attr);
return ((ea==_350)||(ea.indexOf(_351)==0));
};
},"=":function(attr,_352){
return function(elem){
return (_349(elem,attr)==_352);
};
}};
var _353=_32b().documentElement;
var _354=!(_353.nextElementSibling||"nextElementSibling" in _353);
var _355=!_354?"nextElementSibling":"nextSibling";
var _356=!_354?"previousElementSibling":"previousSibling";
var _357=(_354?_347:_32f);
var _358=function(node){
while(node=node[_356]){
if(_357(node)){
return false;
}
}
return true;
};
var _359=function(node){
while(node=node[_355]){
if(_357(node)){
return false;
}
}
return true;
};
var _35a=function(node){
var root=node.parentNode;
root=root.nodeType!=7?root:root.nextSibling;
var i=0,tret=root.children||root.childNodes,ci=(node["_i"]||node.getAttribute("_i")||-1),cl=(root["_l"]||(typeof root.getAttribute!=="undefined"?root.getAttribute("_l"):-1));
if(!tret){
return -1;
}
var l=tret.length;
if(cl==l&&ci>=0&&cl>=0){
return ci;
}
if(has("ie")&&typeof root.setAttribute!=="undefined"){
root.setAttribute("_l",l);
}else{
root["_l"]=l;
}
ci=-1;
for(var te=root["firstElementChild"]||root["firstChild"];te;te=te[_355]){
if(_357(te)){
if(has("ie")){
te.setAttribute("_i",++i);
}else{
te["_i"]=++i;
}
if(node===te){
ci=i;
}
}
}
return ci;
};
var _35b=function(elem){
return !((_35a(elem))%2);
};
var _35c=function(elem){
return ((_35a(elem))%2);
};
var _35d={"checked":function(name,_35e){
return function(elem){
return !!("checked" in elem?elem.checked:elem.selected);
};
},"disabled":function(name,_35f){
return function(elem){
return elem.disabled;
};
},"enabled":function(name,_360){
return function(elem){
return !elem.disabled;
};
},"first-child":function(){
return _358;
},"last-child":function(){
return _359;
},"only-child":function(name,_361){
return function(node){
return _358(node)&&_359(node);
};
},"empty":function(name,_362){
return function(elem){
var cn=elem.childNodes;
var cnl=elem.childNodes.length;
for(var x=cnl-1;x>=0;x--){
var nt=cn[x].nodeType;
if((nt===1)||(nt==3)){
return false;
}
}
return true;
};
},"contains":function(name,_363){
var cz=_363.charAt(0);
if(cz=="\""||cz=="'"){
_363=_363.slice(1,-1);
}
return function(elem){
return (elem.innerHTML.indexOf(_363)>=0);
};
},"not":function(name,_364){
var p=_330(_364)[0];
var _365={el:1};
if(p.tag!="*"){
_365.tag=1;
}
if(!p.classes.length){
_365.classes=1;
}
var ntf=_366(p,_365);
return function(elem){
return (!ntf(elem));
};
},"nth-child":function(name,_367){
var pi=parseInt;
if(_367=="odd"){
return _35c;
}else{
if(_367=="even"){
return _35b;
}
}
if(_367.indexOf("n")!=-1){
var _368=_367.split("n",2);
var pred=_368[0]?((_368[0]=="-")?-1:pi(_368[0])):1;
var idx=_368[1]?pi(_368[1]):0;
var lb=0,ub=-1;
if(pred>0){
if(idx<0){
idx=(idx%pred)&&(pred+(idx%pred));
}else{
if(idx>0){
if(idx>=pred){
lb=idx-idx%pred;
}
idx=idx%pred;
}
}
}else{
if(pred<0){
pred*=-1;
if(idx>0){
ub=idx;
idx=idx%pred;
}
}
}
if(pred>0){
return function(elem){
var i=_35a(elem);
return (i>=lb)&&(ub<0||i<=ub)&&((i%pred)==idx);
};
}else{
_367=idx;
}
}
var _369=pi(_367);
return function(elem){
return (_35a(elem)==_369);
};
}};
var _36a=(has("ie")<9||has("ie")==9&&has("quirks"))?function(cond){
var clc=cond.toLowerCase();
if(clc=="class"){
cond="className";
}
return function(elem){
return (_32e?elem.getAttribute(cond):elem[cond]||elem[clc]);
};
}:function(cond){
return function(elem){
return (elem&&elem.getAttribute&&elem.hasAttribute(cond));
};
};
var _366=function(_36b,_36c){
if(!_36b){
return _32f;
}
_36c=_36c||{};
var ff=null;
if(!("el" in _36c)){
ff=_343(ff,_347);
}
if(!("tag" in _36c)){
if(_36b.tag!="*"){
ff=_343(ff,function(elem){
return (elem&&((_32e?elem.tagName:elem.tagName.toUpperCase())==_36b.getTag()));
});
}
}
if(!("classes" in _36c)){
each(_36b.classes,function(_36d,idx,arr){
var re=new RegExp("(?:^|\\s)"+_36d+"(?:\\s|$)");
ff=_343(ff,function(elem){
return re.test(elem.className);
});
ff.count=idx;
});
}
if(!("pseudos" in _36c)){
each(_36b.pseudos,function(_36e){
var pn=_36e.name;
if(_35d[pn]){
ff=_343(ff,_35d[pn](pn,_36e.value));
}
});
}
if(!("attrs" in _36c)){
each(_36b.attrs,function(attr){
var _36f;
var a=attr.attr;
if(attr.type&&_34a[attr.type]){
_36f=_34a[attr.type](a,attr.matchFor);
}else{
if(a.length){
_36f=_36a(a);
}
}
if(_36f){
ff=_343(ff,_36f);
}
});
}
if(!("id" in _36c)){
if(_36b.id){
ff=_343(ff,function(elem){
return (!!elem&&(elem.id==_36b.id));
});
}
}
if(!ff){
if(!("default" in _36c)){
ff=_32f;
}
}
return ff;
};
var _370=function(_371){
return function(node,ret,bag){
while(node=node[_355]){
if(_354&&(!_347(node))){
continue;
}
if((!bag||_372(node,bag))&&_371(node)){
ret.push(node);
}
break;
}
return ret;
};
};
var _373=function(_374){
return function(root,ret,bag){
var te=root[_355];
while(te){
if(_357(te)){
if(bag&&!_372(te,bag)){
break;
}
if(_374(te)){
ret.push(te);
}
}
te=te[_355];
}
return ret;
};
};
var _375=function(_376,_377){
var _378=function(_379){
var _37a=[];
try{
_37a=Array.prototype.slice.call(_379);
}
catch(e){
for(var i=0,len=_379.length;i<len;i++){
_37a.push(_379[i]);
}
}
return _37a;
};
_376=_376||_32f;
return function(root,ret,bag){
var te,x=0,tret=[];
tret=_378(root.children||root.childNodes);
if(_377){
_32a.forEach(tret,function(node){
if(node.nodeType===1){
tret=tret.concat(_378(node.getElementsByTagName("*")));
}
});
}
while(te=tret[x++]){
if(_357(te)&&(!bag||_372(te,bag))&&(_376(te,x))){
ret.push(te);
}
}
return ret;
};
};
var _37b=function(node,root){
var pn=node.parentNode;
while(pn){
if(pn==root){
break;
}
pn=pn.parentNode;
}
return !!pn;
};
var _37c={};
var _37d=function(_37e){
var _37f=_37c[_37e.query];
if(_37f){
return _37f;
}
var io=_37e.infixOper;
var oper=(io?io.oper:"");
var _380=_366(_37e,{el:1});
var qt=_37e.tag;
var _381=("*"==qt);
var ecs=_32b()["getElementsByClassName"];
if(!oper){
if(_37e.id){
_380=(!_37e.loops&&_381)?_32f:_366(_37e,{el:1,id:1});
_37f=function(root,arr){
var te=dom.byId(_37e.id,(root.ownerDocument||root));
if(root.ownerDocument&&!_37b(root,root.ownerDocument)){
var _382=root.nodeType===11?root.childNodes:[root];
_32a.some(_382,function(_383){
var _384=_375(function(node){
return node.id===_37e.id;
},true)(_383,[]);
if(_384.length){
te=_384[0];
return false;
}
});
}
if(!te||!_380(te)){
return;
}
if(9==root.nodeType){
return _346(te,arr);
}else{
if(_37b(te,root)){
return _346(te,arr);
}
}
};
}else{
if(ecs&&/\{\s*\[native code\]\s*\}/.test(String(ecs))&&_37e.classes.length&&!_32c){
_380=_366(_37e,{el:1,classes:1,id:1});
var _385=_37e.classes.join(" ");
_37f=function(root,arr,bag){
var ret=_346(0,arr),te,x=0;
var tret=root.getElementsByClassName(_385);
while((te=tret[x++])){
if(_380(te,root)&&_372(te,bag)){
ret.push(te);
}
}
return ret;
};
}else{
if(!_381&&!_37e.loops){
_37f=function(root,arr,bag){
var ret=_346(0,arr),te,x=0;
var tag=_37e.getTag(),tret=tag?root.getElementsByTagName(tag):[];
while((te=tret[x++])){
if(_372(te,bag)){
ret.push(te);
}
}
return ret;
};
}else{
_380=_366(_37e,{el:1,tag:1,id:1});
_37f=function(root,arr,bag){
var ret=_346(0,arr),te,x=0;
var tag=_37e.getTag(),tret=tag?root.getElementsByTagName(tag):[];
while((te=tret[x++])){
if(_380(te,root)&&_372(te,bag)){
ret.push(te);
}
}
return ret;
};
}
}
}
}else{
var _386={el:1};
if(_381){
_386.tag=1;
}
_380=_366(_37e,_386);
if("+"==oper){
_37f=_370(_380);
}else{
if("~"==oper){
_37f=_373(_380);
}else{
if(">"==oper){
_37f=_375(_380);
}
}
}
}
return _37c[_37e.query]=_37f;
};
var _387=function(root,_388){
var _389=_346(root),qp,x,te,qpl=_388.length,bag,ret;
for(var i=0;i<qpl;i++){
ret=[];
qp=_388[i];
x=_389.length-1;
if(x>0){
bag={};
ret.nozip=true;
}
var gef=_37d(qp);
for(var j=0;(te=_389[j]);j++){
gef(te,ret,bag);
}
if(!ret.length){
break;
}
_389=ret;
}
return ret;
};
var _38a={},_38b={};
var _38c=function(_38d){
var _38e=_330(trim(_38d));
if(_38e.length==1){
var tef=_37d(_38e[0]);
return function(root){
var r=tef(root,[]);
if(r){
r.nozip=true;
}
return r;
};
}
return function(root){
return _387(root,_38e);
};
};
var _38f=has("ie")?"commentStrip":"nozip";
var qsa="querySelectorAll";
var _390=!!_32b()[qsa];
var _391=/\\[>~+]|n\+\d|([^ \\])?([>~+])([^ =])?/g;
var _392=function(_393,pre,ch,post){
return ch?(pre?pre+" ":"")+ch+(post?" "+post:""):_393;
};
var _394=/([^[]*)([^\]]*])?/g;
var _395=function(_396,_397,att){
return _397.replace(_391,_392)+(att||"");
};
var _398=function(_399,_39a){
_399=_399.replace(_394,_395);
if(_390){
var _39b=_38b[_399];
if(_39b&&!_39a){
return _39b;
}
}
var _39c=_38a[_399];
if(_39c){
return _39c;
}
var qcz=_399.charAt(0);
var _39d=(-1==_399.indexOf(" "));
if((_399.indexOf("#")>=0)&&(_39d)){
_39a=true;
}
var _39e=(_390&&(!_39a)&&(_32d.indexOf(qcz)==-1)&&(!has("ie")||(_399.indexOf(":")==-1))&&(!(_32c&&(_399.indexOf(".")>=0)))&&(_399.indexOf(":contains")==-1)&&(_399.indexOf(":checked")==-1)&&(_399.indexOf("|=")==-1));
if(_39e){
var tq=(_32d.indexOf(_399.charAt(_399.length-1))>=0)?(_399+" *"):_399;
return _38b[_399]=function(root){
if(9==root.nodeType||_39d){
try{
var r=root[qsa](tq);
r[_38f]=true;
return r;
}
catch(e){
}
}
return _398(_399,true)(root);
};
}else{
var _39f=_399.match(/([^\s,](?:"(?:\\.|[^"])+"|'(?:\\.|[^'])+'|[^,])*)/g);
return _38a[_399]=((_39f.length<2)?_38c(_399):function(root){
var _3a0=0,ret=[],tp;
while((tp=_39f[_3a0++])){
ret=ret.concat(_38c(tp)(root));
}
return ret;
});
}
};
var _3a1=0;
var _3a2=has("ie")?function(node){
if(_32e){
return (node.getAttribute("_uid")||node.setAttribute("_uid",++_3a1)||_3a1);
}else{
return node.uniqueID;
}
}:function(node){
return (node._uid||(node._uid=++_3a1));
};
var _372=function(node,bag){
if(!bag){
return 1;
}
var id=_3a2(node);
if(!bag[id]){
return bag[id]=1;
}
return 0;
};
var _3a3="_zipIdx";
var _3a4=function(arr){
if(arr&&arr.nozip){
return arr;
}
if(!arr||!arr.length){
return [];
}
if(arr.length<2){
return [arr[0]];
}
var ret=[];
_3a1++;
var x,te;
if(has("ie")&&_32e){
var _3a5=_3a1+"";
for(x=0;x<arr.length;x++){
if((te=arr[x])&&te.getAttribute(_3a3)!=_3a5){
ret.push(te);
te.setAttribute(_3a3,_3a5);
}
}
}else{
if(has("ie")&&arr.commentStrip){
try{
for(x=0;x<arr.length;x++){
if((te=arr[x])&&_347(te)){
ret.push(te);
}
}
}
catch(e){
}
}else{
for(x=0;x<arr.length;x++){
if((te=arr[x])&&te[_3a3]!=_3a1){
ret.push(te);
te[_3a3]=_3a1;
}
}
}
}
return ret;
};
var _3a6=function(_3a7,root){
root=root||_32b();
var od=root.ownerDocument||root;
_32e=(od.createElement("div").tagName==="div");
var r=_398(_3a7)(root);
if(r&&r.nozip){
return r;
}
return _3a4(r);
};
_3a6.filter=function(_3a8,_3a9,root){
var _3aa=[],_3ab=_330(_3a9),_3ac=(_3ab.length==1&&!/[^\w#\.]/.test(_3a9))?_366(_3ab[0]):function(node){
return _32a.indexOf(_3a6(_3a9,dom.byId(root)),node)!=-1;
};
for(var x=0,te;te=_3a8[x];x++){
if(_3ac(te)){
_3aa.push(te);
}
}
return _3aa;
};
return _3a6;
});
},"dojo/errors/RequestTimeoutError":function(){
define(["./create","./RequestError"],function(_3ad,_3ae){
return _3ad("RequestTimeoutError",null,_3ae,{dojoType:"timeout"});
});
},"dojo/dom-style":function(){
define(["./sniff","./dom","./_base/window"],function(has,dom,win){
var _3af,_3b0={};
if(has("webkit")){
_3af=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"))){
_3af=function(node){
return node.nodeType==1&&node.currentStyle?node.currentStyle:{};
};
}else{
_3af=function(node){
if(node.nodeType===1){
var dv=node.ownerDocument.defaultView,w=dv.opener?dv:win.global.window;
return w.getComputedStyle(node,null);
}
return {};
};
}
}
_3b0.getComputedStyle=_3af;
var _3b1;
if(!has("ie")){
_3b1=function(_3b2,_3b3){
return parseFloat(_3b3)||0;
};
}else{
_3b1=function(_3b4,_3b5){
if(!_3b5){
return 0;
}
if(_3b5=="medium"){
return 4;
}
if(_3b5.slice&&_3b5.slice(-2)=="px"){
return parseFloat(_3b5);
}
var s=_3b4.style,rs=_3b4.runtimeStyle,cs=_3b4.currentStyle,_3b6=s.left,_3b7=rs.left;
rs.left=cs.left;
try{
s.left=_3b5;
_3b5=s.pixelLeft;
}
catch(e){
_3b5=0;
}
s.left=_3b6;
rs.left=_3b7;
return _3b5;
};
}
_3b0.toPixelValue=_3b1;
var astr="DXImageTransform.Microsoft.Alpha";
var af=function(n,f){
try{
return n.filters.item(astr);
}
catch(e){
return f?{}:null;
}
};
var _3b8=has("ie")<9||(has("ie")<10&&has("quirks"))?function(node){
try{
return af(node).Opacity/100;
}
catch(e){
return 1;
}
}:function(node){
return _3af(node).opacity;
};
var _3b9=has("ie")<9||(has("ie")<10&&has("quirks"))?function(node,_3ba){
if(_3ba===""){
_3ba=1;
}
var ov=_3ba*100,_3bb=_3ba===1;
if(_3bb){
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"){
_3b9(td,_3ba);
}
}
}
return _3ba;
}:function(node,_3bc){
return node.style.opacity=_3bc;
};
var _3bd={left:true,top:true};
var _3be=/margin|padding|width|height|max|min|offset/;
function _3bf(node,type,_3c0){
type=type.toLowerCase();
if(_3c0=="auto"){
if(type=="height"){
return node.offsetHeight;
}
if(type=="width"){
return node.offsetWidth;
}
}
if(type=="fontweight"){
switch(_3c0){
case 700:
return "bold";
case 400:
default:
return "normal";
}
}
if(!(type in _3bd)){
_3bd[type]=_3be.test(type);
}
return _3bd[type]?_3b1(node,_3c0):_3c0;
};
var _3c1={cssFloat:1,styleFloat:1,"float":1};
_3b0.get=function getStyle(node,name){
var n=dom.byId(node),l=arguments.length,op=(name=="opacity");
if(l==2&&op){
return _3b8(n);
}
name=_3c1[name]?"cssFloat" in n.style?"cssFloat":"styleFloat":name;
var s=_3b0.getComputedStyle(n);
return (l==1)?s:_3bf(n,name,s[name]||n.style[name]);
};
_3b0.set=function setStyle(node,name,_3c2){
var n=dom.byId(node),l=arguments.length,op=(name=="opacity");
name=_3c1[name]?"cssFloat" in n.style?"cssFloat":"styleFloat":name;
if(l==3){
return op?_3b9(n,_3c2):n.style[name]=_3c2;
}
for(var x in name){
_3b0.set(node,x,name[x]);
}
return _3b0.getComputedStyle(n);
};
return _3b0;
});
},"dojo/dom-geometry":function(){
define(["./sniff","./_base/window","./dom","./dom-style"],function(has,win,dom,_3c3){
var geom={};
geom.boxModel="content-box";
if(has("ie")){
geom.boxModel=document.compatMode=="BackCompat"?"border-box":"content-box";
}
geom.getPadExtents=function getPadExtents(node,_3c4){
node=dom.byId(node);
var s=_3c4||_3c3.getComputedStyle(node),px=_3c3.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,_3c5){
node=dom.byId(node);
var px=_3c3.toPixelValue,s=_3c5||_3c3.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,_3c6){
node=dom.byId(node);
var s=_3c6||_3c3.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,_3c7){
node=dom.byId(node);
var s=_3c7||_3c3.getComputedStyle(node),px=_3c3.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,_3c8){
node=dom.byId(node);
var s=_3c8||_3c3.getComputedStyle(node),me=geom.getMarginExtents(node,s),l=node.offsetLeft-me.l,t=node.offsetTop-me.t,p=node.parentNode,px=_3c3.toPixelValue,pcs;
if((has("ie")==8&&!has("quirks"))){
if(p){
pcs=_3c3.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,_3c9){
node=dom.byId(node);
var s=_3c9||_3c3.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=_3c3.toPixelValue,pcs;
if(p){
pcs=_3c3.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 _3ca(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 _3cb(node){
return node.tagName.toLowerCase()=="button"||node.tagName.toLowerCase()=="input"&&(node.getAttribute("type")||"").toLowerCase()=="button";
};
function _3cc(node){
return geom.boxModel=="border-box"||node.tagName.toLowerCase()=="table"||_3cb(node);
};
function _3cd(node){
var _3ce={x:0,y:0,width:0,height:0,top:0,right:0,bottom:0,left:0},ret;
try{
ret=node.getBoundingClientRect();
}
catch(e){
return _3ce;
}
if(typeof ret.left==="undefined"){
return _3ce;
}
return ret;
};
geom.setContentSize=function setContentSize(node,box,_3cf){
node=dom.byId(node);
var w=box.w,h=box.h;
if(_3cc(node)){
var pb=geom.getPadBorderExtents(node,_3cf);
if(w>=0){
w+=pb.w;
}
if(h>=0){
h+=pb.h;
}
}
_3ca(node,NaN,NaN,w,h);
};
var _3d0={l:0,t:0,w:0,h:0};
geom.setMarginBox=function setMarginBox(node,box,_3d1){
node=dom.byId(node);
var s=_3d1||_3c3.getComputedStyle(node),w=box.w,h=box.h,pb=_3cc(node)?_3d0:geom.getPadBorderExtents(node,s),mb=geom.getMarginExtents(node,s);
if(has("webkit")){
if(_3cb(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);
}
_3ca(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=doc.parentWindow||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(_3d2,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){
_3d2+=de.clientLeft;
}
return (ie<8||qk)?(_3d2+de.clientWidth-de.scrollWidth):-_3d2;
}
return _3d2;
};
geom.position=function(node,_3d3){
node=dom.byId(node);
var db=win.body(node.ownerDocument),ret=_3cd(node);
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(_3d3){
var _3d4=geom.docScroll(node.ownerDocument);
ret.x+=_3d4.x;
ret.y+=_3d4.y;
}
return ret;
};
geom.getMarginSize=function getMarginSize(node,_3d5){
node=dom.byId(node);
var me=geom.getMarginExtents(node,_3d5||_3c3.getComputedStyle(node));
var size=_3cd(node);
return {w:(size.right-size.left)+me.w,h:(size.bottom-size.top)+me.h};
};
geom.normalizeEvent=function(_3d6){
if(!("layerX" in _3d6)){
_3d6.layerX=_3d6.offsetX;
_3d6.layerY=_3d6.offsetY;
}
if(!("pageX" in _3d6)){
var se=_3d6.target;
var doc=(se&&se.ownerDocument)||document;
var _3d7=has("quirks")?doc.body:doc.documentElement;
_3d6.pageX=_3d6.clientX+geom.fixIeBiDiScrollLeft(_3d7.scrollLeft||0,doc);
_3d6.pageY=_3d6.clientY+(_3d7.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(_3d8,dojo,has,lang,dom,_3d9,ctr,conn){
var _3da={},_3db=1,_3dc=dojo._scopeName+"attrid";
has.add("dom-textContent",function(_3dd,doc,_3de){
return "textContent" in _3de;
});
_3d8.names={"class":"className","for":"htmlFor",tabindex:"tabIndex",readonly:"readOnly",colspan:"colSpan",frameborder:"frameBorder",rowspan:"rowSpan",textcontent:"textContent",valuetype:"valueType"};
function _3df(node){
var text="",ch=node.childNodes;
for(var i=0,n;n=ch[i];i++){
if(n.nodeType!=8){
if(n.nodeType==1){
text+=_3df(n);
}else{
text+=n.nodeValue;
}
}
}
return text;
};
_3d8.get=function getProp(node,name){
node=dom.byId(node);
var lc=name.toLowerCase(),_3e0=_3d8.names[lc]||name;
if(_3e0=="textContent"&&!has("dom-textContent")){
return _3df(node);
}
return node[_3e0];
};
_3d8.set=function setProp(node,name,_3e1){
node=dom.byId(node);
var l=arguments.length;
if(l==2&&typeof name!="string"){
for(var x in name){
_3d8.set(node,x,name[x]);
}
return node;
}
var lc=name.toLowerCase(),_3e2=_3d8.names[lc]||name;
if(_3e2=="style"&&typeof _3e1!="string"){
_3d9.set(node,_3e1);
return node;
}
if(_3e2=="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(_3e1,node.ownerDocument));
}else{
node[_3e2]=_3e1;
}
return node;
}
if(_3e2=="textContent"&&!has("dom-textContent")){
ctr.empty(node);
node.appendChild(node.ownerDocument.createTextNode(_3e1));
return node;
}
if(lang.isFunction(_3e1)){
var _3e3=node[_3dc];
if(!_3e3){
_3e3=_3db++;
node[_3dc]=_3e3;
}
if(!_3da[_3e3]){
_3da[_3e3]={};
}
var h=_3da[_3e3][_3e2];
if(h){
conn.disconnect(h);
}else{
try{
delete node[_3e2];
}
catch(e){
}
}
if(_3e1){
_3da[_3e3][_3e2]=conn.connect(node,_3e2,_3e1);
}else{
node[_3e2]=null;
}
return node;
}
node[_3e2]=_3e1;
return node;
};
});
},"dojo/when":function(){
define(["./Deferred","./promise/Promise"],function(_3e4,_3e5){
"use strict";
return function when(_3e6,_3e7,_3e8,_3e9){
var _3ea=_3e6&&typeof _3e6.then==="function";
var _3eb=_3ea&&_3e6 instanceof _3e5;
if(!_3ea){
if(arguments.length>1){
return _3e7?_3e7(_3e6):_3e6;
}else{
return new _3e4().resolve(_3e6);
}
}else{
if(!_3eb){
var _3ec=new _3e4(_3e6.cancel);
_3e6.then(_3ec.resolve,_3ec.reject,_3ec.progress);
_3e6=_3ec.promise;
}
}
if(_3e7||_3e8||_3e9){
return _3e6.then(_3e7,_3e8,_3e9);
}
return _3e6;
};
});
},"dojo/dom-attr":function(){
define(["exports","./sniff","./_base/lang","./dom","./dom-style","./dom-prop"],function(_3ed,has,lang,dom,_3ee,prop){
var _3ef={innerHTML:1,textContent:1,className:1,htmlFor:has("ie")?1:0,value:1},_3f0={classname:"class",htmlfor:"for",tabindex:"tabIndex",readonly:"readOnly"};
function _3f1(node,name){
var attr=node.getAttributeNode&&node.getAttributeNode(name);
return !!attr&&attr.specified;
};
_3ed.has=function hasAttr(node,name){
var lc=name.toLowerCase();
return !!_3ef[prop.names[lc]||name]||_3f1(dom.byId(node),_3f0[lc]||name);
};
_3ed.get=function getAttr(node,name){
node=dom.byId(node);
var lc=name.toLowerCase(),_3f2=prop.names[lc]||name,_3f3=_3ef[_3f2],_3f4=node[_3f2];
if(_3f3&&typeof _3f4!="undefined"){
return _3f4;
}
if(_3f2=="textContent"){
return prop.get(node,_3f2);
}
if(_3f2!="href"&&(typeof _3f4=="boolean"||lang.isFunction(_3f4))){
return _3f4;
}
var _3f5=_3f0[lc]||name;
return _3f1(node,_3f5)?node.getAttribute(_3f5):null;
};
_3ed.set=function setAttr(node,name,_3f6){
node=dom.byId(node);
if(arguments.length==2){
for(var x in name){
_3ed.set(node,x,name[x]);
}
return node;
}
var lc=name.toLowerCase(),_3f7=prop.names[lc]||name,_3f8=_3ef[_3f7];
if(_3f7=="style"&&typeof _3f6!="string"){
_3ee.set(node,_3f6);
return node;
}
if((lc.indexOf("aria-")===-1)&&(_3f8||typeof _3f6=="boolean"||lang.isFunction(_3f6))){
return prop.set(node,name,_3f6);
}
node.setAttribute(_3f0[lc]||name,_3f6);
return node;
};
_3ed.remove=function removeAttr(node,name){
dom.byId(node).removeAttribute(_3f0[name.toLowerCase()]||name);
};
_3ed.getNodeProp=function getNodeProp(node,name){
node=dom.byId(node);
var lc=name.toLowerCase(),_3f9=prop.names[lc]||name;
if((_3f9 in node)&&_3f9!="href"){
return node[_3f9];
}
var _3fa=_3f0[lc]||name;
return _3f1(node,_3fa)?node.getAttribute(_3fa):null;
};
});
},"dojo/dom-construct":function(){
define(["exports","./_base/kernel","./sniff","./_base/window","./dom","./dom-attr"],function(_3fb,dojo,has,win,dom,attr){
var _3fc={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"]},_3fd=/<\s*([\w\:]+)/,_3fe={},_3ff=0,_400="__"+dojo._scopeName+"ToDomId";
for(var _401 in _3fc){
if(_3fc.hasOwnProperty(_401)){
var tw=_3fc[_401];
tw.pre=_401=="option"?"<select multiple=\"multiple\">":"<"+tw.join("><")+">";
tw.post="</"+tw.reverse().join("></")+">";
}
}
var _402;
if(has("ie")<=8){
_402=function(doc){
doc.__dojo_html5_tested="yes";
var div=_403("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);
});
}
_404(div);
};
}
function _405(node,ref){
var _406=ref.parentNode;
if(_406){
_406.insertBefore(node,ref);
}
};
function _407(node,ref){
var _408=ref.parentNode;
if(_408){
if(_408.lastChild==ref){
_408.appendChild(node);
}else{
_408.insertBefore(node,ref.nextSibling);
}
}
};
_3fb.toDom=function toDom(frag,doc){
doc=doc||win.doc;
var _409=doc[_400];
if(!_409){
doc[_400]=_409=++_3ff+"";
_3fe[_409]=doc.createElement("div");
}
if(has("ie")<=8){
if(!doc.__dojo_html5_tested&&doc.body){
_402(doc);
}
}
frag+="";
var _40a=frag.match(_3fd),tag=_40a?_40a[1].toLowerCase():"",_40b=_3fe[_409],wrap,i,fc,df;
if(_40a&&_3fc[tag]){
wrap=_3fc[tag];
_40b.innerHTML=wrap.pre+frag+wrap.post;
for(i=wrap.length;i;--i){
_40b=_40b.firstChild;
}
}else{
_40b.innerHTML=frag;
}
if(_40b.childNodes.length==1){
return _40b.removeChild(_40b.firstChild);
}
df=doc.createDocumentFragment();
while((fc=_40b.firstChild)){
df.appendChild(fc);
}
return df;
};
_3fb.place=function place(node,_40c,_40d){
_40c=dom.byId(_40c);
if(typeof node=="string"){
node=/^\s*</.test(node)?_3fb.toDom(node,_40c.ownerDocument):dom.byId(node);
}
if(typeof _40d=="number"){
var cn=_40c.childNodes;
if(!cn.length||cn.length<=_40d){
_40c.appendChild(node);
}else{
_405(node,cn[_40d<0?0:_40d]);
}
}else{
switch(_40d){
case "before":
_405(node,_40c);
break;
case "after":
_407(node,_40c);
break;
case "replace":
_40c.parentNode.replaceChild(node,_40c);
break;
case "only":
_3fb.empty(_40c);
_40c.appendChild(node);
break;
case "first":
if(_40c.firstChild){
_405(node,_40c.firstChild);
break;
}
default:
_40c.appendChild(node);
}
}
return node;
};
var _403=_3fb.create=function _403(tag,_40e,_40f,pos){
var doc=win.doc;
if(_40f){
_40f=dom.byId(_40f);
doc=_40f.ownerDocument;
}
if(typeof tag=="string"){
tag=doc.createElement(tag);
}
if(_40e){
attr.set(tag,_40e);
}
if(_40f){
_3fb.place(tag,_40f,pos);
}
return tag;
};
function _410(node){
if("innerHTML" in node){
try{
node.innerHTML="";
return;
}
catch(e){
}
}
for(var c;c=node.lastChild;){
node.removeChild(c);
}
};
_3fb.empty=function empty(node){
_410(dom.byId(node));
};
function _411(node,_412){
if(node.firstChild){
_410(node);
}
if(_412){
has("ie")&&_412.canHaveChildren&&"removeNode" in node?node.removeNode(false):_412.removeChild(node);
}
};
var _404=_3fb.destroy=function _404(node){
node=dom.byId(node);
if(!node){
return;
}
_411(node,node.parentNode);
};
});
},"dojo/request/xhr":function(){
define(["../errors/RequestError","./watch","./handlers","./util","../has"],function(_413,_414,_415,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-blob",function(){
return typeof Blob!=="undefined";
});
has.add("native-arraybuffer",function(){
return typeof ArrayBuffer!=="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 _416=x.responseType;
x.abort();
return _416==="blob";
});
var _417={"blob":has("native-xhr2-blob")?"blob":"arraybuffer","document":"document","arraybuffer":"arraybuffer"};
function _418(_419,_41a){
var _41b=_419.xhr;
_419.status=_419.xhr.status;
try{
_419.text=_41b.responseText;
}
catch(e){
}
if(_419.options.handleAs==="xml"){
_419.data=_41b.responseXML;
}
var _41c;
if(_41a){
this.reject(_41a);
}else{
try{
_415(_419);
}
catch(e){
_41c=e;
}
if(util.checkStatus(_41b.status)){
if(!_41c){
this.resolve(_419);
}else{
this.reject(_41c);
}
}else{
if(!_41c){
_41a=new _413("Unable to load "+_419.url+" status: "+_41b.status,_419);
this.reject(_41a);
}else{
_41a=new _413("Unable to load "+_419.url+" status: "+_41b.status+" and an error in handleAs: transformation of response",_419);
this.reject(_41a);
}
}
}
};
var _41d,_41e,_41f,_420;
if(has("native-xhr2")){
_41d=function(_421){
return !this.isFulfilled();
};
_420=function(dfd,_422){
_422.xhr.abort();
};
_41f=function(_423,dfd,_424,_425){
function _426(evt){
dfd.handleResponse(_424);
};
function _427(evt){
var _428=evt.target;
var _429=new _413("Unable to load "+_424.url+" status: "+_428.status,_424);
dfd.handleResponse(_424,_429);
};
function _42a(_42b,evt){
_424.transferType=_42b;
if(evt.lengthComputable){
_424.loaded=evt.loaded;
_424.total=evt.total;
dfd.progress(_424);
}else{
if(_424.xhr.readyState===3){
_424.loaded=("loaded" in evt)?evt.loaded:evt.position;
dfd.progress(_424);
}
}
};
function _42c(evt){
return _42a("download",evt);
};
function _42d(evt){
return _42a("upload",evt);
};
_423.addEventListener("load",_426,false);
_423.addEventListener("error",_427,false);
_423.addEventListener("progress",_42c,false);
if(_425&&_423.upload){
_423.upload.addEventListener("progress",_42d,false);
}
return function(){
_423.removeEventListener("load",_426,false);
_423.removeEventListener("error",_427,false);
_423.removeEventListener("progress",_42c,false);
_423.upload.removeEventListener("progress",_42d,false);
_423=null;
};
};
}else{
_41d=function(_42e){
return _42e.xhr.readyState;
};
_41e=function(_42f){
return 4===_42f.xhr.readyState;
};
_420=function(dfd,_430){
var xhr=_430.xhr;
var _431=typeof xhr.abort;
if(_431==="function"||_431==="object"||_431==="unknown"){
xhr.abort();
}
};
}
function _432(_433){
return this.xhr.getResponseHeader(_433);
};
var _434,_435={data:null,query:null,sync:false,method:"GET"};
function xhr(url,_436,_437){
var _438=has("native-formdata")&&_436&&_436.data&&_436.data instanceof FormData;
var _439=util.parseArgs(url,util.deepCreate(_435,_436),_438);
url=_439.url;
_436=_439.options;
var _43a=!_436.data&&_436.method!=="POST"&&_436.method!=="PUT";
if(has("ie")<=10){
url=url.split("#")[0];
}
var _43b,last=function(){
_43b&&_43b();
};
var dfd=util.deferred(_439,_420,_41d,_41e,_418,last);
var _43c=_439.xhr=xhr._create();
if(!_43c){
dfd.cancel(new _413("XHR was not created"));
return _437?dfd:dfd.promise;
}
_439.getHeader=_432;
if(_41f){
_43b=_41f(_43c,dfd,_439,_436.uploadProgress);
}
var data=typeof (_436.data)==="undefined"?null:_436.data,_43d=!_436.sync,_43e=_436.method;
try{
_43c.open(_43e,url,_43d,_436.user||_434,_436.password||_434);
if(_436.withCredentials){
_43c.withCredentials=_436.withCredentials;
}
if(has("native-response-type")&&_436.handleAs in _417){
_43c.responseType=_417[_436.handleAs];
}
var _43f=_436.headers,_440=(_438||_43a)?false:"application/x-www-form-urlencoded";
if(_43f){
for(var hdr in _43f){
if(hdr.toLowerCase()==="content-type"){
_440=_43f[hdr];
}else{
if(_43f[hdr]){
_43c.setRequestHeader(hdr,_43f[hdr]);
}
}
}
}
if(_440&&_440!==false){
_43c.setRequestHeader("Content-Type",_440);
}
if(!_43f||!("X-Requested-With" in _43f)){
_43c.setRequestHeader("X-Requested-With","XMLHttpRequest");
}
if(util.notify){
util.notify.emit("send",_439,dfd.promise.cancel);
}
_43c.send(data);
}
catch(e){
dfd.reject(e);
}
_414(dfd);
_43c=null;
return _437?dfd:dfd.promise;
};
xhr._create=function(){
throw new Error("XMLHTTP not available");
};
if(has("native-xhr")&&!has("dojo-force-activex-xhr")){
xhr._create=function(){
return new XMLHttpRequest();
};
}else{
if(has("activex")){
try{
new ActiveXObject("Msxml2.XMLHTTP");
xhr._create=function(){
return new ActiveXObject("Msxml2.XMLHTTP");
};
}
catch(e){
try{
new ActiveXObject("Microsoft.XMLHTTP");
xhr._create=function(){
return new ActiveXObject("Microsoft.XMLHTTP");
};
}
catch(e){
}
}
}
}
util.addCommonMethods(xhr);
return xhr;
});
},"dojo/text":function(){
define(["./_base/kernel","require","./has","./request"],function(dojo,_441,has,_442){
var _443;
if(1){
_443=function(url,sync,load){
_442(url,{sync:!!sync,headers:{"X-Requested-With":null}}).then(load);
};
}else{
if(_441.getText){
_443=_441.getText;
}else{
console.error("dojo/text plugin failed to load because loader does not support getText");
}
}
var _444={},_445=function(text){
if(text){
text=text.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");
var _446=text.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);
if(_446){
text=_446[1];
}
}else{
text="";
}
return text;
},_447={},_448={};
dojo.cache=function(_449,url,_44a){
var key;
if(typeof _449=="string"){
if(/\//.test(_449)){
key=_449;
_44a=url;
}else{
key=_441.toUrl(_449.replace(/\./g,"/")+(url?("/"+url):""));
}
}else{
key=_449+"";
_44a=url;
}
var val=(_44a!=undefined&&typeof _44a!="string")?_44a.value:_44a,_44b=_44a&&_44a.sanitize;
if(typeof val=="string"){
_444[key]=val;
return _44b?_445(val):val;
}else{
if(val===null){
delete _444[key];
return null;
}else{
if(!(key in _444)){
_443(key,true,function(text){
_444[key]=text;
});
}
return _44b?_445(_444[key]):_444[key];
}
}
};
return {dynamic:true,normalize:function(id,_44c){
var _44d=id.split("!"),url=_44d[0];
return (/^\./.test(url)?_44c(url):url)+(_44d[1]?"!"+_44d[1]:"");
},load:function(id,_44e,load){
var _44f=id.split("!"),_450=_44f.length>1,_451=_44f[0],url=_44e.toUrl(_44f[0]),_452="url:"+url,text=_447,_453=function(text){
load(_450?_445(text):text);
};
if(_451 in _444){
text=_444[_451];
}else{
if(_44e.cache&&_452 in _44e.cache){
text=_44e.cache[_452];
}else{
if(url in _444){
text=_444[url];
}
}
}
if(text===_447){
if(_448[url]){
_448[url].push(_453);
}else{
var _454=_448[url]=[_453];
_443(url,!_44e.async,function(text){
_444[_451]=_444[url]=text;
for(var i=0;i<_454.length;){
_454[i++](text);
}
delete _448[url];
});
}
}else{
_453(text);
}
}};
});
},"dojo/keys":function(){
define(["./_base/kernel","./sniff"],function(dojo,has){
return dojo.keys={BACKSPACE:8,TAB:9,CLEAR:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,META:has("webkit")?91:224,PAUSE:19,CAPS_LOCK:20,ESCAPE:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT_ARROW:37,UP_ARROW:38,RIGHT_ARROW:39,DOWN_ARROW:40,INSERT:45,DELETE:46,HELP:47,LEFT_WINDOW:91,RIGHT_WINDOW:92,SELECT:93,NUMPAD_0:96,NUMPAD_1:97,NUMPAD_2:98,NUMPAD_3:99,NUMPAD_4:100,NUMPAD_5:101,NUMPAD_6:102,NUMPAD_7:103,NUMPAD_8:104,NUMPAD_9:105,NUMPAD_MULTIPLY:106,NUMPAD_PLUS:107,NUMPAD_ENTER:108,NUMPAD_MINUS:109,NUMPAD_PERIOD:110,NUMPAD_DIVIDE:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,NUM_LOCK:144,SCROLL_LOCK:145,UP_DPAD:175,DOWN_DPAD:176,LEFT_DPAD:177,RIGHT_DPAD:178,copyKey:has("mac")&&!has("air")?(has("safari")?91:224):17};
});
},"dojo/domReady":function(){
define(["./global","./has"],function(_455,has){
var doc=document,_456={"loaded":1,"complete":1},_457=typeof doc.readyState!="string",_458=!!_456[doc.readyState],_459=[],_45a;
function _45b(_45c){
_459.push(_45c);
if(_458){
_45d();
}
};
_45b.load=function(id,req,load){
_45b(load);
};
_45b._Q=_459;
_45b._onQEmpty=function(){
};
if(_457){
doc.readyState="loading";
}
function _45d(){
if(_45a){
return;
}
_45a=true;
while(_459.length){
try{
(_459.shift())(doc);
}
catch(err){
console.error(err,"in domReady callback",err.stack);
}
}
_45a=false;
_45b._onQEmpty();
};
if(!_458){
var _45e=[],_45f=function(evt){
evt=evt||_455.event;
if(_458||(evt.type=="readystatechange"&&!_456[doc.readyState])){
return;
}
if(_457){
doc.readyState="complete";
}
_458=1;
_45d();
},on=function(node,_460){
node.addEventListener(_460,_45f,false);
_459.push(function(){
node.removeEventListener(_460,_45f,false);
});
};
if(!has("dom-addeventlistener")){
on=function(node,_461){
_461="on"+_461;
node.attachEvent(_461,_45f);
_459.push(function(){
node.detachEvent(_461,_45f);
});
};
var div=doc.createElement("div");
try{
if(div.doScroll&&_455.frameElement===null){
_45e.push(function(){
try{
div.doScroll("left");
return 1;
}
catch(e){
}
});
}
}
catch(e){
}
}
on(doc,"DOMContentLoaded");
on(_455,"load");
if("onreadystatechange" in doc){
on(doc,"readystatechange");
}else{
if(!_457){
_45e.push(function(){
return _456[doc.readyState];
});
}
}
if(_45e.length){
var _462=function(){
if(_458){
return;
}
var i=_45e.length;
while(i--){
if(_45e[i]()){
_45f("poller");
return;
}
}
setTimeout(_462,30);
};
_462();
}
}
return _45b;
});
},"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 _463=has("bug-for-in-skips-shadowed")?"hasOwnProperty.valueOf.isPrototypeOf.propertyIsEnumerable.toLocaleString.toString.constructor".split("."):[],_464=_463.length,_465=function(_466,_467,_468){
if(!_468){
if(_466[0]&&dojo.scopeMap[_466[0]]){
_468=dojo.scopeMap[_466.shift()][1];
}else{
_468=dojo.global;
}
}
try{
for(var i=0;i<_466.length;i++){
var p=_466[i];
if(p==="__proto__"||p==="constructor"){
return;
}
if(!(p in _468)){
if(_467){
_468[p]={};
}else{
return;
}
}
_468=_468[p];
}
return _468;
}
catch(e){
}
},opts=Object.prototype.toString,_469=function(obj,_46a,_46b){
return (_46b||[]).concat(Array.prototype.slice.call(obj,_46a||0));
},_46c=/\{([^\}]+)\}/g;
var lang={_extraNames:_463,_mixin:function(dest,_46d,_46e){
var name,s,i,_46f={};
for(name in _46d){
s=_46d[name];
if(!(name in dest)||(dest[name]!==s&&(!(name in _46f)||_46f[name]!==s))){
dest[name]=_46e?_46e(s):s;
}
}
if(has("bug-for-in-skips-shadowed")){
if(_46d){
for(i=0;i<_464;++i){
name=_463[i];
s=_46d[name];
if(!(name in dest)||(dest[name]!==s&&(!(name in _46f)||_46f[name]!==s))){
dest[name]=_46e?_46e(s):s;
}
}
}
}
return dest;
},mixin:function(dest,_470){
if(!dest){
dest={};
}
for(var i=1,l=arguments.length;i<l;i++){
lang._mixin(dest,arguments[i]);
}
return dest;
},setObject:function(name,_471,_472){
var _473=name.split("."),p=_473.pop(),obj=_465(_473,true,_472);
return obj&&p?(obj[p]=_471):undefined;
},getObject:function(name,_474,_475){
return !name?_475:_465(name.split("."),_474,_475);
},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,_476){
for(var i=1,l=arguments.length;i<l;i++){
lang._mixin(ctor.prototype,arguments[i]);
}
return ctor;
},_hitchArgs:function(_477,_478){
var pre=lang._toArray(arguments,2);
var _479=lang.isString(_478);
return function(){
var args=lang._toArray(arguments);
var f=_479?(_477||dojo.global)[_478]:_478;
return f&&f.apply(_477||this,pre.concat(args));
};
},hitch:function(_47a,_47b){
if(arguments.length>2){
return lang._hitchArgs.apply(dojo,arguments);
}
if(!_47b){
_47b=_47a;
_47a=null;
}
if(lang.isString(_47b)){
_47a=_47a||dojo.global;
if(!_47a[_47b]){
throw (["lang.hitch: scope[\"",_47b,"\"] is null (scope=\"",_47a,"\")"].join(""));
}
return function(){
return _47a[_47b].apply(_47a,arguments||[]);
};
}
return !_47a?_47b:function(){
return _47b.apply(_47a,arguments||[]);
};
},delegate:(function(){
function TMP(){
};
return function(obj,_47c){
TMP.prototype=obj;
var tmp=new TMP();
TMP.prototype=null;
if(_47c){
lang._mixin(tmp,_47c);
}
return tmp;
};
})(),_toArray:has("ie")?(function(){
function slow(obj,_47d,_47e){
var arr=_47e||[];
for(var x=_47d||0;x<obj.length;x++){
arr.push(obj[x]);
}
return arr;
};
return function(obj){
return ((obj.item)?slow:_469).apply(this,arguments);
};
})():_469,partial:function(_47f){
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,_480){
return tmpl.replace(_480||_46c,lang.isFunction(map)?map:function(_481,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(_482,_483,_484,_485,_486,_487,lang,_488,has){
function _489(_48a){
return has("native-arraybuffer")&&_48a instanceof ArrayBuffer;
};
function _48b(_48c){
return has("native-blob")&&_48c instanceof Blob;
};
function _48d(_48e){
if(typeof Element!=="undefined"){
return _48e instanceof Element;
}
return _48e.nodeType===1;
};
function _48f(_490){
return has("native-formdata")&&_490 instanceof FormData;
};
function _491(_492){
return _492&&typeof _492==="object"&&!_48f(_492)&&!_48d(_492)&&!_48b(_492)&&!_489(_492);
};
_482.deepCopy=function(_493,_494){
for(var name in _494){
var tval=_493[name],sval=_494[name];
if(name!=="__proto__"&&tval!==sval){
if(_491(sval)){
if(Object.prototype.toString.call(sval)==="[object Date]"){
_493[name]=new Date(sval);
}else{
if(lang.isArray(sval)){
_493[name]=_482.deepCopyArray(sval);
}else{
if(tval&&typeof tval==="object"){
_482.deepCopy(tval,sval);
}else{
_493[name]=_482.deepCopy({},sval);
}
}
}
}else{
_493[name]=sval;
}
}
}
return _493;
};
_482.deepCopyArray=function(_495){
var _496=[];
for(var i=0,l=_495.length;i<l;i++){
var _497=_495[i];
if(lang.isArray(_497)){
for(var j=0,jl=_497.length;j<jl;j++){
_496.push(typeof _497[j]==="object"?_482.deepCopy({},_497[j]):_497[j]);
}
}else{
if(typeof _497==="object"){
_496.push(_482.deepCopy({},_497));
}else{
_496.push(_497);
}
}
}
return _496;
};
_482.deepCreate=function deepCreate(_498,_499){
_499=_499||{};
var _49a=lang.delegate(_498),name,_49b;
for(name in _498){
_49b=_498[name];
if(_49b&&typeof _49b==="object"){
_49a[name]=_482.deepCreate(_49b,_499[name]);
}
}
return _482.deepCopy(_49a,_499);
};
var _49c=Object.freeze||function(obj){
return obj;
};
function _49d(_49e){
return _49c(_49e);
};
function _49f(_4a0){
return _4a0.data!==undefined?_4a0.data:_4a0.text;
};
_482.deferred=function deferred(_4a1,_4a2,_4a3,_4a4,_4a5,last){
var def=new _485(function(_4a6){
_4a2&&_4a2(def,_4a1);
if(!_4a6||!(_4a6 instanceof _483)&&!(_4a6 instanceof _484)){
return new _484("Request canceled",_4a1);
}
return _4a6;
});
def.response=_4a1;
def.isValid=_4a3;
def.isReady=_4a4;
def.handleResponse=_4a5;
function _4a7(_4a8){
_4a8.response=_4a1;
throw _4a8;
};
var _4a9=def.then(_49d).otherwise(_4a7);
if(_482.notify){
_4a9.then(lang.hitch(_482.notify,"emit","load"),lang.hitch(_482.notify,"emit","error"));
}
var _4aa=_4a9.then(_49f);
var _4ab=new _488();
for(var prop in _4aa){
if(_4aa.hasOwnProperty(prop)){
_4ab[prop]=_4aa[prop];
}
}
_4ab.response=_4a9;
_49c(_4ab);
if(last){
def.then(function(_4ac){
last.call(def,_4ac);
},function(_4ad){
last.call(def,_4a1,_4ad);
});
}
def.promise=_4ab;
def.then=_4ab.then;
return def;
};
_482.addCommonMethods=function addCommonMethods(_4ae,_4af){
_487.forEach(_4af||["GET","POST","PUT","DELETE"],function(_4b0){
_4ae[(_4b0==="DELETE"?"DEL":_4b0).toLowerCase()]=function(url,_4b1){
_4b1=lang.delegate(_4b1||{});
_4b1.method=_4b0;
return _4ae(url,_4b1);
};
});
};
_482.parseArgs=function parseArgs(url,_4b2,_4b3){
var data=_4b2.data,_4b4=_4b2.query;
if(data&&!_4b3){
if(typeof data==="object"&&(!(has("native-xhr2"))||!(_489(data)||_48b(data)))){
_4b2.data=_486.objectToQuery(data);
}
}
if(_4b4){
if(typeof _4b4==="object"){
_4b4=_486.objectToQuery(_4b4);
}
if(_4b2.preventCache){
_4b4+=(_4b4?"&":"")+"request.preventCache="+(+(new Date));
}
}else{
if(_4b2.preventCache){
_4b4="request.preventCache="+(+(new Date));
}
}
if(url&&_4b4){
url+=(~url.indexOf("?")?"&":"?")+_4b4;
}
return {url:url,options:_4b2,getHeader:function(_4b5){
return null;
}};
};
_482.checkStatus=function(stat){
stat=stat||0;
return (stat>=200&&stat<300)||stat===304||stat===1223||!stat;
};
});
},"dojo/Evented":function(){
define(["./aspect","./on"],function(_4b6,on){
"use strict";
var _4b7=_4b6.after;
function _4b8(){
};
_4b8.prototype={on:function(type,_4b9){
return on.parse(this,type,_4b9,function(_4ba,type){
return _4b7(_4ba,"on"+type,_4b9,true);
});
},emit:function(type,_4bb){
var args=[this];
args.push.apply(args,arguments);
return on.emit.apply(on,args);
}};
return _4b8;
});
},"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 _4bc;
if((has("dom-quirks")&&has("ie"))||!has("dom-addeventlistener")){
_4bc={LEFT:1,MIDDLE:4,RIGHT:2,isButton:function(e,_4bd){
return e.button&_4bd;
},isLeft:function(e){
return e.button&1;
},isMiddle:function(e){
return e.button&4;
},isRight:function(e){
return e.button&2;
}};
}else{
_4bc={LEFT:0,MIDDLE:1,RIGHT:2,isButton:function(e,_4be){
return e.button==_4be;
},isLeft:function(e){
return e.button==0;
},isMiddle:function(e){
return e.button==1;
},isRight:function(e){
return e.button==2;
}};
}
dojo.mouseButtons=_4bc;
function _4bf(type,_4c0){
var _4c1=function(node,_4c2){
return on(node,type,function(evt){
if(_4c0){
return _4c0(evt,_4c2);
}
if(!dom.isDescendant(evt.relatedTarget,node)){
return _4c2.call(this,evt);
}
});
};
_4c1.bubble=function(_4c3){
return _4bf(type,function(evt,_4c4){
var _4c5=_4c3(evt.target);
var _4c6=evt.relatedTarget;
if(_4c5&&(_4c5!=(_4c6&&_4c6.nodeType==1&&_4c3(_4c6)))){
return _4c4.call(_4c5,evt);
}
});
};
return _4c1;
};
var _4c7;
if(has("events-mousewheel")){
_4c7="mousewheel";
}else{
_4c7=function(node,_4c8){
return on(node,"DOMMouseScroll",function(evt){
evt.wheelDelta=-evt.detail;
_4c8.call(this,evt);
});
};
}
return {_eventHandler:_4bf,enter:_4bf("mouseover"),leave:_4bf("mouseout"),wheel:_4c7,isLeft:_4bc.isLeft,isMiddle:_4bc.isMiddle,isRight:_4bc.isRight};
});
},"dojo/_base/xhr":function(){
define(["./kernel","./sniff","require","../io-query","../dom","../dom-form","./Deferred","./config","./json","./lang","./array","../on","../aspect","../request/watch","../request/xhr","../request/util"],function(dojo,has,_4c9,ioq,dom,_4ca,_4cb,_4cc,json,lang,_4cd,on,_4ce,_4cf,_4d0,util){
dojo._xhrObj=_4d0._create;
var cfg=dojo.config;
dojo.objectToQuery=ioq.objectToQuery;
dojo.queryToObject=ioq.queryToObject;
dojo.fieldToObject=_4ca.fieldToObject;
dojo.formToObject=_4ca.toObject;
dojo.formToQuery=_4ca.toQuery;
dojo.formToJson=_4ca.toJson;
dojo._blockAsync=false;
var _4d1=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(!_4cc.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 _4d2=xhr.responseText;
var _4d3=_4d2.indexOf("/*");
var _4d4=_4d2.lastIndexOf("*/");
if(_4d3==-1||_4d4==-1){
throw new Error("JSON was not comment filtered");
}
return json.fromJson(_4d2.substring(_4d3+2,_4d4));
},"javascript":function(xhr){
return dojo.eval(xhr.responseText);
},"xml":function(xhr){
var _4d5=xhr.responseXML;
if(_4d5&&has("dom-qsa2.1")&&!_4d5.querySelectorAll&&has("dom-parser")){
_4d5=new DOMParser().parseFromString(xhr.responseText,"application/xml");
}
if(has("ie")){
if((!_4d5||!_4d5.documentElement)){
var ms=function(n){
return "MSXML"+n+".DOMDocument";
};
var dp=["Microsoft.XMLDOM",ms(6),ms(4),ms(3),ms(2)];
_4cd.some(dp,function(p){
try{
var dom=new ActiveXObject(p);
dom.async=false;
dom.loadXML(xhr.responseText);
_4d5=dom;
}
catch(e){
return false;
}
return true;
});
}
}
return _4d5;
},"json-comment-optional":function(xhr){
if(xhr.responseText&&/^[^{\[]*\/\*/.test(xhr.responseText)){
return _4d1["json-comment-filtered"](xhr);
}else{
return _4d1["json"](xhr);
}
}};
dojo._ioSetArgs=function(args,_4d6,_4d7,_4d8){
var _4d9={args:args,url:args.url};
var _4da=null;
if(args.form){
var form=dom.byId(args.form);
var _4db=form.getAttributeNode("action");
_4d9.url=_4d9.url||(_4db?_4db.value:(dojo.doc?dojo.doc.URL:null));
_4da=_4ca.toObject(form);
}
var _4dc={};
if(_4da){
lang.mixin(_4dc,_4da);
}
if(args.content){
lang.mixin(_4dc,args.content);
}
if(args.preventCache){
_4dc["dojo.preventCache"]=new Date().valueOf();
}
_4d9.query=ioq.objectToQuery(_4dc);
_4d9.handleAs=args.handleAs||"text";
var d=new _4cb(function(dfd){
dfd.canceled=true;
_4d6&&_4d6(dfd);
var err=dfd.ioArgs.error;
if(!err){
err=new Error("request cancelled");
err.dojoType="cancel";
dfd.ioArgs.error=err;
}
return err;
});
d.addCallback(_4d7);
var ld=args.load;
if(ld&&lang.isFunction(ld)){
d.addCallback(function(_4dd){
return ld.call(args,_4dd,_4d9);
});
}
var err=args.error;
if(err&&lang.isFunction(err)){
d.addErrback(function(_4de){
return err.call(args,_4de,_4d9);
});
}
var _4df=args.handle;
if(_4df&&lang.isFunction(_4df)){
d.addBoth(function(_4e0){
return _4df.call(args,_4e0,_4d9);
});
}
d.addErrback(function(_4e1){
return _4d8(_4e1,d);
});
if(cfg.ioPublish&&dojo.publish&&_4d9.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=_4d9;
return d;
};
var _4e2=function(dfd){
var ret=_4d1[dfd.ioArgs.handleAs](dfd.ioArgs.xhr);
return ret===undefined?null:ret;
};
var _4e3=function(_4e4,dfd){
if(!dfd.ioArgs.args.failOk){
console.error(_4e4);
}
return _4e4;
};
var _4e5=function(dfd){
if(_4e6<=0){
_4e6=0;
if(cfg.ioPublish&&dojo.publish&&(!dfd||dfd&&dfd.ioArgs.args.ioPublish!==false)){
dojo.publish("/dojo/io/stop");
}
}
};
var _4e6=0;
_4ce.after(_4cf,"_onAction",function(){
_4e6-=1;
});
_4ce.after(_4cf,"_onInFlight",_4e5);
dojo._ioCancelAll=_4cf.cancelAll;
dojo._ioNotifyStart=function(dfd){
if(cfg.ioPublish&&dojo.publish&&dfd.ioArgs.args.ioPublish!==false){
if(!_4e6){
dojo.publish("/dojo/io/start");
}
_4e6+=1;
dojo.publish("/dojo/io/send",[dfd]);
}
};
dojo._ioWatch=function(dfd,_4e7,_4e8,_4e9){
var args=dfd.ioArgs.options=dfd.ioArgs.args;
lang.mixin(dfd,{response:dfd.ioArgs,isValid:function(_4ea){
return _4e7(dfd);
},isReady:function(_4eb){
return _4e8(dfd);
},handleResponse:function(_4ec){
return _4e9(dfd);
}});
_4cf(dfd);
_4e5(dfd);
};
var _4ed="application/x-www-form-urlencoded";
dojo._ioAddQueryToUrl=function(_4ee){
if(_4ee.query.length){
_4ee.url+=(_4ee.url.indexOf("?")==-1?"?":"&")+_4ee.query;
_4ee.query=null;
}
};
dojo.xhr=function(_4ef,args,_4f0){
var rDfd;
var dfd=dojo._ioSetArgs(args,function(dfd){
rDfd&&rDfd.cancel();
},_4e2,_4e3);
var _4f1=dfd.ioArgs;
if("postData" in args){
_4f1.query=args.postData;
}else{
if("putData" in args){
_4f1.query=args.putData;
}else{
if("rawBody" in args){
_4f1.query=args.rawBody;
}else{
if((arguments.length>2&&!_4f0)||"POST|PUT".indexOf(_4ef.toUpperCase())===-1){
dojo._ioAddQueryToUrl(_4f1);
}
}
}
}
var _4f2={method:_4ef,handleAs:"text",timeout:args.timeout,withCredentials:args.withCredentials,ioArgs:_4f1};
if(typeof args.headers!=="undefined"){
_4f2.headers=args.headers;
}
if(typeof args.contentType!=="undefined"){
if(!_4f2.headers){
_4f2.headers={};
}
_4f2.headers["Content-Type"]=args.contentType;
}
if(typeof _4f1.query!=="undefined"){
_4f2.data=_4f1.query;
}
if(typeof args.sync!=="undefined"){
_4f2.sync=args.sync;
}
dojo._ioNotifyStart(dfd);
try{
rDfd=_4d0(_4f1.url,_4f2,true);
}
catch(e){
dfd.cancel();
return dfd;
}
dfd.ioArgs.xhr=rDfd.response.xhr;
rDfd.then(function(){
dfd.resolve(dfd);
}).otherwise(function(_4f3){
_4f1.error=_4f3;
if(_4f3.response){
_4f3.status=_4f3.response.status;
_4f3.responseText=_4f3.response.text;
_4f3.xhr=_4f3.response.xhr;
}
dfd.reject(_4f3);
});
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 _4f4;
dojo.xhrGet({url:url,sync:true,load:function(text){
_4f4=text;
}});
return _4f4;
};
lang.mixin(dojo.xhr,{_xhrObj:dojo._xhrObj,fieldToObject:_4ca.fieldToObject,formToObject:_4ca.toObject,objectToQuery:ioq.objectToQuery,formToQuery:_4ca.toQuery,formToJson:_4ca.toJson,queryToObject:ioq.queryToObject,contentHandlers:_4d1,_ioSetArgs:dojo._ioSetArgs,_ioCancelAll:dojo._ioCancelAll,_ioNotifyStart:dojo._ioNotifyStart,_ioWatch:dojo._ioWatch,_ioAddQueryToUrl:dojo._ioAddQueryToUrl,_isDocumentOk:dojo._isDocumentOk,_getText:dojo._getText,get:dojo.xhrGet,post:dojo.xhrPost,put:dojo.xhrPut,del:dojo.xhrDelete});
return dojo.xhr;
});
},"dojo/topic":function(){
define(["./Evented"],function(_4f5){
var hub=new _4f5;
return {publish:function(_4f6,_4f7){
return hub.emit.apply(hub,arguments);
},subscribe:function(_4f8,_4f9){
return hub.on.apply(hub,arguments);
}};
});
},"dojo/loadInit":function(){
define(["./_base/loader"],function(_4fa){
return {dynamic:0,normalize:function(id){
return id;
},load:_4fa.loadInit};
});
},"dojo/_base/unload":function(){
define(["./kernel","./lang","../on"],function(dojo,lang,on){
var win=window;
var _4fb={addOnWindowUnload:function(obj,_4fc){
if(!dojo.windowUnloaded){
on(win,"unload",(dojo.windowUnloaded=function(){
}));
}
on(win,"unload",lang.hitch(obj,_4fc));
},addOnUnload:function(obj,_4fd){
on(win,"beforeunload",lang.hitch(obj,_4fd));
}};
dojo.addOnWindowUnload=_4fb.addOnWindowUnload;
dojo.addOnUnload=_4fb.addOnUnload;
return _4fb;
});
},"dojo/Deferred":function(){
define(["./has","./_base/lang","./errors/CancelError","./promise/Promise","./promise/instrumentation"],function(has,lang,_4fe,_4ff,_500){
"use strict";
var _501=0,_502=1,_503=2;
var _504="This deferred has already been fulfilled.";
var _505=Object.freeze||function(){
};
var _506=function(_507,type,_508,_509,_50a){
if(1){
if(type===_503&&_50b.instrumentRejected&&_507.length===0){
_50b.instrumentRejected(_508,false,_509,_50a);
}
}
for(var i=0;i<_507.length;i++){
_50c(_507[i],type,_508,_509);
}
};
var _50c=function(_50d,type,_50e,_50f){
var func=_50d[type];
var _510=_50d.deferred;
if(func){
try{
var _511=func(_50e);
if(type===_501){
if(typeof _511!=="undefined"){
_512(_510,type,_511);
}
}else{
if(_511&&typeof _511.then==="function"){
_50d.cancel=_511.cancel;
_511.then(_513(_510,_502),_513(_510,_503),_513(_510,_501));
return;
}
_512(_510,_502,_511);
}
}
catch(error){
_512(_510,_503,error);
}
}else{
_512(_510,type,_50e);
}
if(1){
if(type===_503&&_50b.instrumentRejected){
_50b.instrumentRejected(_50e,!!func,_50f,_510.promise);
}
}
};
var _513=function(_514,type){
return function(_515){
_512(_514,type,_515);
};
};
var _512=function(_516,type,_517){
if(!_516.isCanceled()){
switch(type){
case _501:
_516.progress(_517);
break;
case _502:
_516.resolve(_517);
break;
case _503:
_516.reject(_517);
break;
}
}
};
var _50b=function(_518){
var _519=this.promise=new _4ff();
var _51a=this;
var _51b,_51c,_51d;
var _51e=false;
var _51f=[];
if(1&&Error.captureStackTrace){
Error.captureStackTrace(_51a,_50b);
Error.captureStackTrace(_519,_50b);
}
this.isResolved=_519.isResolved=function(){
return _51b===_502;
};
this.isRejected=_519.isRejected=function(){
return _51b===_503;
};
this.isFulfilled=_519.isFulfilled=function(){
return !!_51b;
};
this.isCanceled=_519.isCanceled=function(){
return _51e;
};
this.progress=function(_520,_521){
if(!_51b){
_506(_51f,_501,_520,null,_51a);
return _519;
}else{
if(_521===true){
throw new Error(_504);
}else{
return _519;
}
}
};
this.resolve=function(_522,_523){
if(!_51b){
_506(_51f,_51b=_502,_51c=_522,null,_51a);
_51f=null;
return _519;
}else{
if(_523===true){
throw new Error(_504);
}else{
return _519;
}
}
};
var _524=this.reject=function(_525,_526){
if(!_51b){
if(1&&Error.captureStackTrace){
Error.captureStackTrace(_51d={},_524);
}
_506(_51f,_51b=_503,_51c=_525,_51d,_51a);
_51f=null;
return _519;
}else{
if(_526===true){
throw new Error(_504);
}else{
return _519;
}
}
};
this.then=_519.then=function(_527,_528,_529){
var _52a=[_529,_527,_528];
_52a.cancel=_519.cancel;
_52a.deferred=new _50b(function(_52b){
return _52a.cancel&&_52a.cancel(_52b);
});
if(_51b&&!_51f){
_50c(_52a,_51b,_51c,_51d);
}else{
_51f.push(_52a);
}
return _52a.deferred.promise;
};
this.cancel=_519.cancel=function(_52c,_52d){
if(!_51b){
if(_518){
var _52e=_518(_52c);
_52c=typeof _52e==="undefined"?_52c:_52e;
}
_51e=true;
if(!_51b){
if(typeof _52c==="undefined"){
_52c=new _4fe();
}
_524(_52c);
return _52c;
}else{
if(_51b===_503&&_51c===_52c){
return _52c;
}
}
}else{
if(_52d===true){
throw new Error(_504);
}
}
};
_505(_519);
};
_50b.prototype.toString=function(){
return "[object Deferred]";
};
if(_500){
_500(_50b);
}
return _50b;
});
},"dojo/_base/NodeList":function(){
define(["./kernel","../query","./array","./html","../NodeList-dom"],function(dojo,_52f,_530){
var _531=_52f.NodeList,nlp=_531.prototype;
nlp.connect=_531._adaptAsForEach(function(){
return dojo.connect.apply(this,arguments);
});
nlp.coords=_531._adaptAsMap(dojo.coords);
_531.events=["blur","focus","change","click","error","keydown","keypress","keyup","load","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","submit"];
_530.forEach(_531.events,function(evt){
var _532="on"+evt;
nlp[_532]=function(a,b){
return this.connect(_532,a,b);
};
});
dojo.NodeList=_531;
return _531;
});
},"dojo/request":function(){
define(["./request/default!"],function(_533){
return _533;
});
},"dojo/_base/Color":function(){
define(["./kernel","./lang","./array","./config"],function(dojo,lang,_534,_535){
var _536=dojo.Color=function(_537){
if(_537){
this.setColor(_537);
}
};
_536.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":_535.transparentColor||[0,0,0,0]};
lang.extend(_536,{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(_538){
if(lang.isString(_538)){
_536.fromString(_538,this);
}else{
if(lang.isArray(_538)){
_536.fromArray(_538,this);
}else{
this._set(_538.r,_538.g,_538.b,_538.a);
if(!(_538 instanceof _536)){
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=_534.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(_539){
var t=this,rgb=t.r+", "+t.g+", "+t.b;
return (_539?"rgba("+rgb+", "+t.a:"rgb("+rgb)+")";
},toString:function(){
return this.toCss(true);
}});
_536.blendColors=dojo.blendColors=function(_53a,end,_53b,obj){
var t=obj||new _536();
t.r=Math.round(_53a.r+(end.r-_53a.r)*_53b);
t.g=Math.round(_53a.g+(end.g-_53a.g)*_53b);
t.b=Math.round(_53a.b+(end.b-_53a.b)*_53b);
t.a=_53a.a+(end.a-_53a.a)*_53b;
return t.sanitize();
};
_536.fromRgb=dojo.colorFromRgb=function(_53c,obj){
var m=_53c.toLowerCase().match(/^rgba?\(([\s\.,0-9]+)\)/);
return m&&_536.fromArray(m[1].split(/\s*,\s*/),obj);
};
_536.fromHex=dojo.colorFromHex=function(_53d,obj){
var t=obj||new _536(),bits=(_53d.length==4)?4:8,mask=(1<<bits)-1;
_53d=Number("0x"+_53d.substr(1));
if(isNaN(_53d)){
return null;
}
_534.forEach(["b","g","r"],function(x){
var c=_53d&mask;
_53d>>=bits;
t[x]=bits==4?17*c:c;
});
t.a=1;
return t;
};
_536.fromArray=dojo.colorFromArray=function(a,obj){
var t=obj||new _536();
t._set(Number(a[0]),Number(a[1]),Number(a[2]),Number(a[3]));
if(isNaN(t.a)){
t.a=1;
}
return t.sanitize();
};
_536.fromString=dojo.colorFromString=function(str,obj){
var a=_536.named[str];
return a&&_536.fromArray(a,obj)||_536.fromRgb(str,obj)||_536.fromHex(str,obj);
};
return _536;
});
},"dojo/promise/instrumentation":function(){
define(["./tracer","../has","../_base/lang","../_base/array"],function(_53e,has,lang,_53f){
has.add("config-useDeferredInstrumentation","report-unhandled-rejections");
function _540(_541,_542,_543){
if(_541&&_541.log===false){
return;
}
var _544="";
if(_541&&_541.stack){
_544+=_541.stack;
}
if(_542&&_542.stack){
_544+="\n    ----------------------------------------\n    rejected"+_542.stack.split("\n").slice(1).join("\n").replace(/^\s+/," ");
}
if(_543&&_543.stack){
_544+="\n    ----------------------------------------\n"+_543.stack;
}
console.error(_541,_544);
};
function _545(_546,_547,_548,_549){
if(!_547){
_540(_546,_548,_549);
}
};
var _54a=[];
var _54b=false;
var _54c=1000;
function _54d(_54e,_54f,_550,_551){
if(!_53f.some(_54a,function(obj){
if(obj.error===_54e){
if(_54f){
obj.handled=true;
}
return true;
}
})){
_54a.push({error:_54e,rejection:_550,handled:_54f,deferred:_551,timestamp:new Date().getTime()});
}
if(!_54b){
_54b=setTimeout(_552,_54c);
}
};
function _552(){
var now=new Date().getTime();
var _553=now-_54c;
_54a=_53f.filter(_54a,function(obj){
if(obj.timestamp<_553){
if(!obj.handled){
_540(obj.error,obj.rejection,obj.deferred);
}
return false;
}
return true;
});
if(_54a.length){
_54b=setTimeout(_552,_54a[0].timestamp+_54c-now);
}else{
_54b=false;
}
};
return function(_554){
var _555=has("config-useDeferredInstrumentation");
if(_555){
_53e.on("resolved",lang.hitch(console,"log","resolved"));
_53e.on("rejected",lang.hitch(console,"log","rejected"));
_53e.on("progress",lang.hitch(console,"log","progress"));
var args=[];
if(typeof _555==="string"){
args=_555.split(",");
_555=args.shift();
}
if(_555==="report-rejections"){
_554.instrumentRejected=_545;
}else{
if(_555==="report-unhandled-rejections"||_555===true||_555===1){
_554.instrumentRejected=_54d;
_54c=parseInt(args[0],10)||_54c;
}else{
throw new Error("Unsupported instrumentation usage <"+_555+">");
}
}
}
};
});
},"dojo/selector/_loader":function(){
define(["../has","require"],function(has,_556){
"use strict";
if(typeof document!=="undefined"){
var _557=document.createElement("div");
has.add("dom-qsa2.1",!!_557.querySelectorAll);
has.add("dom-qsa3",function(){
try{
_557.innerHTML="<p class='TEST'></p>";
return _557.querySelectorAll(".TEST:empty").length==1;
}
catch(e){
}
});
}
var _558;
var acme="./acme",lite="./lite";
return {load:function(id,_559,_55a,_55b){
if(_55b&&_55b.isBuild){
_55a();
return;
}
var req=_556;
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=_559)&&id;
if(id.charAt(id.length-1)=="?"){
id=id.substring(0,id.length-1);
var _55c=true;
}
if(_55c&&(has("dom-compliant-qsa")||_558)){
return _55a(_558);
}
req([id],function(_55d){
if(id!="./lite"){
_558=_55d;
}
_55a(_55d);
});
}};
});
},"dojo/promise/Promise":function(){
define(["../_base/lang"],function(lang){
"use strict";
function _55e(){
throw new TypeError("abstract");
};
return lang.extend(function Promise(){
},{then:function(_55f,_560,_561){
_55e();
},cancel:function(_562,_563){
_55e();
},isResolved:function(){
_55e();
},isRejected:function(){
_55e();
},isFulfilled:function(){
_55e();
},isCanceled:function(){
_55e();
},"finally":function(_564){
return this.then(function(_565){
var _566=_564();
if(_566&&typeof _566.then==="function"){
return _566.then(function(){
return _565;
});
}
return _565;
},function(_567){
var _568=_564();
if(_568&&typeof _568.then==="function"){
return _568.then(function(){
throw _567;
});
}
throw _567;
});
},always:function(_569){
return this.then(_569,_569);
},"catch":function(_56a){
return this.then(null,_56a);
},otherwise:function(_56b){
return this.then(null,_56b);
},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,_56c,_56d,_56e,win,on){
var _56f=null,_570=[];
function _571(){
var now=+(new Date);
for(var i=0,dfd;i<_570.length&&(dfd=_570[i]);i++){
var _572=dfd.response,_573=_572.options;
if((dfd.isCanceled&&dfd.isCanceled())||(dfd.isValid&&!dfd.isValid(_572))){
_570.splice(i--,1);
_574._onAction&&_574._onAction();
}else{
if(dfd.isReady&&dfd.isReady(_572)){
_570.splice(i--,1);
dfd.handleResponse(_572);
_574._onAction&&_574._onAction();
}else{
if(dfd.startTime){
if(dfd.startTime+(_573.timeout||0)<now){
_570.splice(i--,1);
dfd.cancel(new _56c("Timeout exceeded",_572));
_574._onAction&&_574._onAction();
}
}
}
}
}
_574._onInFlight&&_574._onInFlight(dfd);
if(!_570.length){
clearInterval(_56f);
_56f=null;
}
};
function _574(dfd){
if(dfd.response.options.timeout){
dfd.startTime=+(new Date);
}
if(dfd.isFulfilled()){
return;
}
_570.push(dfd);
if(!_56f){
_56f=setInterval(_571,50);
}
if(dfd.response.options.sync){
_571();
}
};
_574.cancelAll=function cancelAll(){
try{
_56e.forEach(_570,function(dfd){
try{
dfd.cancel(new _56d("All requests canceled."));
}
catch(e){
}
});
}
catch(e){
}
};
if(win&&on&&win.doc.attachEvent){
on(win.global,"unload",function(){
_574.cancelAll();
});
}
return _574;
});
},"dojo/on":function(){
define(["./has!dom-addeventlistener?:./aspect","./_base/kernel","./sniff"],function(_575,dojo,has){
"use strict";
if(1){
var _576=window.ScriptEngineMajorVersion;
has.add("jscript",_576&&(_576()+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(_577,doc,_578){
return "onfocusin" in _578;
});
if(has("touch")){
has.add("touch-can-modify-event-delegate",function(){
var _579=function(){
};
_579.prototype=document.createEvent("MouseEvents");
try{
var _57a=new _579;
_57a.target=null;
return _57a.target===null;
}
catch(e){
return false;
}
});
}
}
var on=function(_57b,type,_57c,_57d){
if(typeof _57b.on=="function"&&typeof type!="function"&&!_57b.nodeType){
return _57b.on(type,_57c);
}
return on.parse(_57b,type,_57c,_57e,_57d,this);
};
on.pausable=function(_57f,type,_580,_581){
var _582;
var _583=on(_57f,type,function(){
if(!_582){
return _580.apply(this,arguments);
}
},_581);
_583.pause=function(){
_582=true;
};
_583.resume=function(){
_582=false;
};
return _583;
};
on.once=function(_584,type,_585,_586){
var _587=on(_584,type,function(){
_587.remove();
return _585.apply(this,arguments);
});
return _587;
};
on.parse=function(_588,type,_589,_58a,_58b,_58c){
var _58d;
if(type.call){
return type.call(_58c,_588,_589);
}
if(type instanceof Array){
_58d=type;
}else{
if(type.indexOf(",")>-1){
_58d=type.split(/\s*,\s*/);
}
}
if(_58d){
var _58e=[];
var i=0;
var _58f;
while(_58f=_58d[i++]){
_58e.push(on.parse(_588,_58f,_589,_58a,_58b,_58c));
}
_58e.remove=function(){
for(var i=0;i<_58e.length;i++){
_58e[i].remove();
}
};
return _58e;
}
return _58a(_588,type,_589,_58b,_58c);
};
var _590=/^touch/;
function _57e(_591,type,_592,_593,_594){
var _595=type.match(/(.*):(.*)/);
if(_595){
type=_595[2];
_595=_595[1];
return on.selector(_595,type).call(_594,_591,_592);
}
if(has("touch")){
if(_590.test(type)){
_592=_596(_592);
}
if(!has("event-orientationchange")&&(type=="orientationchange")){
type="resize";
_591=window;
_592=_596(_592);
}
}
if(_597){
_592=_597(_592);
}
if(_591.addEventListener){
var _598=type in _599,_59a=_598?_599[type]:type;
_591.addEventListener(_59a,_592,_598);
return {remove:function(){
_591.removeEventListener(_59a,_592,_598);
}};
}
type="on"+type;
if(_59b&&_591.attachEvent){
return _59b(_591,type,_592);
}
throw new Error("Target must be an event emitter");
};
on.matches=function(node,_59c,_59d,_59e,_59f){
_59f=_59f&&(typeof _59f.matches=="function")?_59f:dojo.query;
_59e=_59e!==false;
if(node.nodeType!=1){
node=node.parentNode;
}
while(!_59f.matches(node,_59c,_59d)){
if(node==_59d||_59e===false||!(node=node.parentNode)||node.nodeType!=1){
return false;
}
}
return node;
};
on.selector=function(_5a0,_5a1,_5a2){
return function(_5a3,_5a4){
var _5a5=typeof _5a0=="function"?{matches:_5a0}:this,_5a6=_5a1.bubble;
function _5a7(_5a8){
return on.matches(_5a8,_5a0,_5a3,_5a2,_5a5);
};
if(_5a6){
return on(_5a3,_5a6(_5a7),_5a4);
}
return on(_5a3,_5a1,function(_5a9){
var _5aa=_5a7(_5a9.target);
if(_5aa){
_5a9.selectorTarget=_5aa;
return _5a4.call(_5aa,_5a9);
}
});
};
};
function _5ab(){
this.cancelable=false;
this.defaultPrevented=true;
};
function _5ac(){
this.bubbles=false;
};
var _5ad=[].slice,_5ae=on.emit=function(_5af,type,_5b0){
var args=_5ad.call(arguments,2);
var _5b1="on"+type;
if("parentNode" in _5af){
var _5b2=args[0]={};
for(var i in _5b0){
_5b2[i]=_5b0[i];
}
_5b2.preventDefault=_5ab;
_5b2.stopPropagation=_5ac;
_5b2.target=_5af;
_5b2.type=type;
_5b0=_5b2;
}
do{
_5af[_5b1]&&_5af[_5b1].apply(_5af,args);
}while(_5b0&&_5b0.bubbles&&(_5af=_5af.parentNode));
return _5b0&&_5b0.cancelable&&_5b0;
};
var _599=has("event-focusin")?{}:{focusin:"focus",focusout:"blur"};
if(!has("event-stopimmediatepropagation")){
var _5b3=function(){
this.immediatelyStopped=true;
this.modified=true;
};
var _597=function(_5b4){
return function(_5b5){
if(!_5b5.immediatelyStopped){
_5b5.stopImmediatePropagation=_5b3;
return _5b4.apply(this,arguments);
}
};
};
}
if(has("dom-addeventlistener")){
on.emit=function(_5b6,type,_5b7){
if(_5b6.dispatchEvent&&document.createEvent){
var _5b8=_5b6.ownerDocument||document;
var _5b9=_5b8.createEvent("HTMLEvents");
_5b9.initEvent(type,!!_5b7.bubbles,!!_5b7.cancelable);
for(var i in _5b7){
if(!(i in _5b9)){
_5b9[i]=_5b7[i];
}
}
return _5b6.dispatchEvent(_5b9)&&_5b9;
}
return _5ae.apply(on,arguments);
};
}else{
on._fixEvent=function(evt,_5ba){
if(!evt){
var w=_5ba&&(_5ba.ownerDocument||_5ba.document||_5ba).parentWindow||window;
evt=w.event;
}
if(!evt){
return evt;
}
try{
if(_5bb&&evt.type==_5bb.type&&evt.srcElement==_5bb.target){
evt=_5bb;
}
}
catch(e){
}
if(!evt.target){
evt.target=evt.srcElement;
evt.currentTarget=(_5ba||evt.srcElement);
if(evt.type=="mouseover"){
evt.relatedTarget=evt.fromElement;
}
if(evt.type=="mouseout"){
evt.relatedTarget=evt.toElement;
}
if(!evt.stopPropagation){
evt.stopPropagation=_5bc;
evt.preventDefault=_5bd;
}
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;
_5be(evt);
break;
}
}
return evt;
};
var _5bb,_5bf=function(_5c0){
this.handle=_5c0;
};
_5bf.prototype.remove=function(){
delete _dojoIEListeners_[this.handle];
};
var _5c1=function(_5c2){
return function(evt){
evt=on._fixEvent(evt,this);
var _5c3=_5c2.call(this,evt);
if(evt.modified){
if(!_5bb){
setTimeout(function(){
_5bb=null;
});
}
_5bb=evt;
}
return _5c3;
};
};
var _59b=function(_5c4,type,_5c5){
_5c5=_5c1(_5c5);
if(((_5c4.ownerDocument?_5c4.ownerDocument.parentWindow:_5c4.parentWindow||_5c4.window||window)!=top||has("jscript")<5.8)&&!has("config-_allow_leaks")){
if(typeof _dojoIEListeners_=="undefined"){
_dojoIEListeners_=[];
}
var _5c6=_5c4[type];
if(!_5c6||!_5c6.listeners){
var _5c7=_5c6;
_5c6=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);}}");
_5c6.listeners=[];
_5c4[type]=_5c6;
_5c6.global=this;
if(_5c7){
_5c6.listeners.push(_dojoIEListeners_.push(_5c7)-1);
}
}
var _5c8;
_5c6.listeners.push(_5c8=(_5c6.global._dojoIEListeners_.push(_5c5)-1));
return new _5bf(_5c8);
}
return _575.after(_5c4,type,_5c5,true);
};
var _5be=function(evt){
evt.keyChar=evt.charCode?String.fromCharCode(evt.charCode):"";
evt.charOrCode=evt.keyChar||evt.keyCode;
};
var _5bc=function(){
this.cancelBubble=true;
};
var _5bd=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 _5c9=function(){
};
var _5ca=window.orientation;
var _596=function(_5cb){
return function(_5cc){
var _5cd=_5cc.corrected;
if(!_5cd){
var type=_5cc.type;
try{
delete _5cc.type;
}
catch(e){
}
if(_5cc.type){
if(has("touch-can-modify-event-delegate")){
_5c9.prototype=_5cc;
_5cd=new _5c9;
}else{
_5cd={};
for(var name in _5cc){
_5cd[name]=_5cc[name];
}
}
_5cd.preventDefault=function(){
_5cc.preventDefault();
};
_5cd.stopPropagation=function(){
_5cc.stopPropagation();
};
}else{
_5cd=_5cc;
_5cd.type=type;
}
_5cc.corrected=_5cd;
if(type=="resize"){
if(_5ca==window.orientation){
return null;
}
_5ca=window.orientation;
_5cd.type="orientationchange";
return _5cb.call(this,_5cd);
}
if(!("rotation" in _5cd)){
_5cd.rotation=0;
_5cd.scale=1;
}
if(window.TouchEvent&&_5cc instanceof TouchEvent){
var _5ce=_5cd.changedTouches[0];
for(var i in _5ce){
delete _5cd[i];
_5cd[i]=_5ce[i];
}
}
}
return _5cb.call(this,_5cd);
};
};
}
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,_5cf){
base=base||Error;
var _5d0=function(_5d1){
if(base===Error){
if(Error.captureStackTrace){
Error.captureStackTrace(this,_5d0);
}
var err=Error.call(this,_5d1),prop;
for(prop in err){
if(err.hasOwnProperty(prop)){
this[prop]=err[prop];
}
}
this.message=_5d1;
this.stack=err.stack;
}else{
base.apply(this,arguments);
}
if(ctor){
ctor.apply(this,arguments);
}
};
_5d0.prototype=lang.delegate(base.prototype,_5cf);
_5d0.prototype.name=name;
_5d0.prototype.constructor=_5d0;
return _5d0;
};
});
},"dojo/_base/array":function(){
define(["./kernel","../has","./lang"],function(dojo,has,lang){
var _5d2={},u;
function _5d3(fn){
return _5d2[fn]=new Function("item","index","array",fn);
};
function _5d4(some){
var _5d5=!some;
return function(a,fn,o){
var i=0,l=a&&a.length||0,_5d6;
if(l&&typeof a=="string"){
a=a.split("");
}
if(typeof fn=="string"){
fn=_5d2[fn]||_5d3(fn);
}
if(o){
for(;i<l;++i){
_5d6=!fn.call(o,a[i],i,a);
if(some^_5d6){
return !_5d6;
}
}
}else{
for(;i<l;++i){
_5d6=!fn(a[i],i,a);
if(some^_5d6){
return !_5d6;
}
}
}
return _5d5;
};
};
function _5d7(up){
var _5d8=1,_5d9=0,_5da=0;
if(!up){
_5d8=_5d9=_5da=-1;
}
return function(a,x,from,last){
if(last&&_5d8>0){
return _5db.lastIndexOf(a,x,from);
}
var l=a&&a.length||0,end=up?l+_5da:_5d9,i;
if(from===u){
i=up?_5d9:l+_5da;
}else{
if(from<0){
i=l+from;
if(i<0){
i=_5d9;
}
}else{
i=from>=l?l+_5da:from;
}
}
if(l&&typeof a=="string"){
a=a.split("");
}
for(;i!=end;i+=_5d8){
if(a[i]==x){
return i;
}
}
return -1;
};
};
var _5db={every:_5d4(false),some:_5d4(true),indexOf:_5d7(true),lastIndexOf:_5d7(false),forEach:function(arr,_5dc,_5dd){
var i=0,l=arr&&arr.length||0;
if(l&&typeof arr=="string"){
arr=arr.split("");
}
if(typeof _5dc=="string"){
_5dc=_5d2[_5dc]||_5d3(_5dc);
}
if(_5dd){
for(;i<l;++i){
_5dc.call(_5dd,arr[i],i,arr);
}
}else{
for(;i<l;++i){
_5dc(arr[i],i,arr);
}
}
},map:function(arr,_5de,_5df,Ctr){
var i=0,l=arr&&arr.length||0,out=new (Ctr||Array)(l);
if(l&&typeof arr=="string"){
arr=arr.split("");
}
if(typeof _5de=="string"){
_5de=_5d2[_5de]||_5d3(_5de);
}
if(_5df){
for(;i<l;++i){
out[i]=_5de.call(_5df,arr[i],i,arr);
}
}else{
for(;i<l;++i){
out[i]=_5de(arr[i],i,arr);
}
}
return out;
},filter:function(arr,_5e0,_5e1){
var i=0,l=arr&&arr.length||0,out=[],_5e2;
if(l&&typeof arr=="string"){
arr=arr.split("");
}
if(typeof _5e0=="string"){
_5e0=_5d2[_5e0]||_5d3(_5e0);
}
if(_5e1){
for(;i<l;++i){
_5e2=arr[i];
if(_5e0.call(_5e1,_5e2,i,arr)){
out.push(_5e2);
}
}
}else{
for(;i<l;++i){
_5e2=arr[i];
if(_5e0(_5e2,i,arr)){
out.push(_5e2);
}
}
}
return out;
},clearCache:function(){
_5d2={};
}};
1&&lang.mixin(dojo,_5db);
return _5db;
});
},"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,_5e3){
return json.stringify(it,function(key,_5e4){
if(_5e4){
var tf=_5e4.__json__||_5e4.json;
if(typeof tf=="function"){
return tf.call(_5e4);
}
}
return _5e4;
},_5e3&&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(_5e5,_5e6){
dojo.global=ret.global=_5e5;
dojo.doc=ret.doc=_5e6;
},withGlobal:function(_5e7,_5e8,_5e9,_5ea){
var _5eb=dojo.global;
try{
dojo.global=ret.global=_5e7;
return ret.withDoc.call(null,_5e7.document,_5e8,_5e9,_5ea);
}
finally{
dojo.global=ret.global=_5eb;
}
},withDoc:function(_5ec,_5ed,_5ee,_5ef){
var _5f0=ret.doc,oldQ=has("quirks"),_5f1=has("ie"),isIE,mode,pwin;
try{
dojo.doc=ret.doc=_5ec;
dojo.isQuirks=has.add("quirks",dojo.doc.compatMode=="BackCompat",true,true);
if(has("ie")){
if((pwin=_5ec.parentWindow)&&pwin.navigator){
isIE=parseFloat(pwin.navigator.appVersion.split("MSIE ")[1])||undefined;
mode=_5ec.documentMode;
if(mode&&mode!=5&&Math.floor(isIE)!=mode){
isIE=mode;
}
dojo.isIE=has.add("ie",isIE,true,true);
}
}
if(_5ee&&typeof _5ed=="string"){
_5ed=_5ee[_5ed];
}
return _5ed.apply(_5ee,_5ef||[]);
}
finally{
dojo.doc=ret.doc=_5f0;
dojo.isQuirks=has.add("quirks",oldQ,true,true);
dojo.isIE=has.add("ie",_5f1,true,true);
}
}};
1&&lang.mixin(dojo,ret);
return ret;
});
},"dojo/dom-class":function(){
define(["./_base/lang","./_base/array","./dom"],function(lang,_5f2,dom){
var _5f3="className";
var cls,_5f4=/\s+/,a1=[""];
function _5f5(s){
if(typeof s=="string"||s instanceof String){
if(s&&!_5f4.test(s)){
a1[0]=s;
return a1;
}
var a=s.split(_5f4);
if(a.length&&!a[0]){
a.shift();
}
if(a.length&&!a[a.length-1]){
a.pop();
}
return a;
}
if(!s){
return [];
}
return _5f2.filter(s,function(x){
return x;
});
};
var _5f6={};
cls={contains:function containsClass(node,_5f7){
return ((" "+dom.byId(node)[_5f3]+" ").indexOf(" "+_5f7+" ")>=0);
},add:function addClass(node,_5f8){
node=dom.byId(node);
_5f8=_5f5(_5f8);
var cls=node[_5f3],_5f9;
cls=cls?" "+cls+" ":" ";
_5f9=cls.length;
for(var i=0,len=_5f8.length,c;i<len;++i){
c=_5f8[i];
if(c&&cls.indexOf(" "+c+" ")<0){
cls+=c+" ";
}
}
if(_5f9<cls.length){
node[_5f3]=cls.substr(1,cls.length-2);
}
},remove:function removeClass(node,_5fa){
node=dom.byId(node);
var cls;
if(_5fa!==undefined){
_5fa=_5f5(_5fa);
cls=" "+node[_5f3]+" ";
for(var i=0,len=_5fa.length;i<len;++i){
cls=cls.replace(" "+_5fa[i]+" "," ");
}
cls=lang.trim(cls);
}else{
cls="";
}
if(node[_5f3]!=cls){
node[_5f3]=cls;
}
},replace:function replaceClass(node,_5fb,_5fc){
node=dom.byId(node);
_5f6[_5f3]=node[_5f3];
cls.remove(_5f6,_5fc);
cls.add(_5f6,_5fb);
if(node[_5f3]!==_5f6[_5f3]){
node[_5f3]=_5f6[_5f3];
}
},toggle:function toggleClass(node,_5fd,_5fe){
node=dom.byId(node);
if(_5fe===undefined){
_5fd=_5f5(_5fd);
for(var i=0,len=_5fd.length,c;i<len;++i){
c=_5fd[i];
cls[cls.contains(node,c)?"remove":"add"](node,c);
}
}else{
cls[_5fe?"add":"remove"](node,_5fd);
}
return _5fe;
}};
return cls;
});
},"dojo/_base/config":function(){
define(["../global","../has","require"],function(_5ff,has,_600){
var _601={};
if(1){
var src=_600.rawConfig,p;
for(p in src){
_601[p]=src[p];
}
}else{
var _602=function(_603,_604,_605){
for(p in _603){
p!="has"&&has.add(_604+p,_603[p],0,_605);
}
};
_601=1?_600.rawConfig:_5ff.dojoConfig||_5ff.djConfig||{};
_602(_601,"config",1);
_602(_601.has,"",1);
}
if(!_601.locale&&typeof navigator!="undefined"){
var _606=(navigator.languages&&navigator.languages.length)?navigator.languages[0]:(navigator.language||navigator.userLanguage);
if(_606){
_601.locale=_606.toLowerCase();
}
}
return _601;
});
},"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(_607,has,_608,_609,lang,_60a,_60b,_60c){
if(_60b.isDebug){
_608(["./_firebug/firebug"]);
}
1||has.add("dojo-config-require",1);
if(1){
var deps=_60b.require;
if(deps){
deps=_60a.map(lang.isArray(deps)?deps:[deps],function(item){
return item.replace(/\./g,"/");
});
if(_607.isAsync){
_608(deps);
}else{
_60c(1,function(){
_608(deps);
});
}
}
}
return _607;
});
},"dojo/_base/event":function(){
define(["./kernel","../on","../has","../dom-geometry"],function(dojo,on,has,dom){
if(on._fixEvent){
var _60d=on._fixEvent;
on._fixEvent=function(evt,se){
evt=_60d(evt,se);
if(evt){
dom.normalizeEvent(evt);
}
return evt;
};
}
var ret={fix:function(evt,_60e){
if(on._fixEvent){
return on._fixEvent(evt,_60e);
}
return evt;
},stop:function(evt){
if(has("dom-addeventlistener")||(evt&&evt.preventDefault)){
evt.preventDefault();
evt.stopPropagation();
}else{
evt=evt||window.event;
evt.cancelBubble=true;
on._preventDefault.call(evt);
}
}};
if(1){
dojo.fixEvent=ret.fix;
dojo.stopEvent=ret.stop;
}
return ret;
});
},"dojo/sniff":function(){
define(["./has"],function(has){
if(1){
var n=navigator,dua=n.userAgent,dav=n.appVersion,tv=parseFloat(dav);
has.add("air",dua.indexOf("AdobeAIR")>=0);
has.add("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,_60f,_610,has){
has.add("activex",typeof ActiveXObject!=="undefined");
has.add("dom-parser",function(_611){
return "DOMParser" in _611;
});
var _612;
if(has("activex")){
var dp=["Msxml2.DOMDocument.6.0","Msxml2.DOMDocument.4.0","MSXML2.DOMDocument.3.0","MSXML.DOMDocument"];
var _613;
_612=function(_614){
var _615=_614.data;
var text=_614.text;
if(_615&&has("dom-qsa2.1")&&!_615.querySelectorAll&&has("dom-parser")){
_615=new DOMParser().parseFromString(text,"application/xml");
}
function _616(p){
try{
var dom=new ActiveXObject(p);
dom.async=false;
dom.loadXML(text);
_615=dom;
_613=p;
}
catch(e){
return false;
}
return true;
};
if(!_615||!_615.documentElement){
if(!_613||!_616(_613)){
_610.some(dp,_616);
}
}
return _615;
};
}
var _617=function(_618){
if(!has("native-xhr2-blob")&&_618.options.handleAs==="blob"&&typeof Blob!=="undefined"){
return new Blob([_618.xhr.response],{type:_618.xhr.getResponseHeader("Content-Type")});
}
return _618.xhr.response;
};
var _619={"javascript":function(_61a){
return _60f.eval(_61a.text||"");
},"json":function(_61b){
return JSON.parse(_61b.text||null);
},"xml":_612,"blob":_617,"arraybuffer":_617,"document":_617};
function _61c(_61d){
var _61e=_619[_61d.options.handleAs];
_61d.data=_61e?_61e(_61d):(_61d.data||_61d.text);
return _61d;
};
_61c.register=function(name,_61f){
_619[name]=_61f;
};
return _61c;
});
},"dojo/aspect":function(){
define([],function(){
"use strict";
var _620;
function _621(_622,type,_623,_624){
var _625=_622[type];
var _626=type=="around";
var _627;
if(_626){
var _628=_623(function(){
return _625.advice(this,arguments);
});
_627={remove:function(){
if(_628){
_628=_622=_623=null;
}
},advice:function(_629,args){
return _628?_628.apply(_629,args):_625.advice(_629,args);
}};
}else{
_627={remove:function(){
if(_627.advice){
var _62a=_627.previous;
var next=_627.next;
if(!next&&!_62a){
delete _622[type];
}else{
if(_62a){
_62a.next=next;
}else{
_622[type]=next;
}
if(next){
next.previous=_62a;
}
}
_622=_623=_627.advice=null;
}
},id:_622.nextId++,advice:_623,receiveArguments:_624};
}
if(_625&&!_626){
if(type=="after"){
while(_625.next&&(_625=_625.next)){
}
_625.next=_627;
_627.previous=_625;
}else{
if(type=="before"){
_622[type]=_627;
_627.next=_625;
_625.previous=_627;
}
}
}else{
_622[type]=_627;
}
return _627;
};
function _62b(type){
return function(_62c,_62d,_62e,_62f){
var _630=_62c[_62d],_631;
if(!_630||_630.target!=_62c){
_62c[_62d]=_631=function(){
var _632=_631.nextId;
var args=arguments;
var _633=_631.before;
while(_633){
if(_633.advice){
args=_633.advice.apply(this,args)||args;
}
_633=_633.next;
}
if(_631.around){
var _634=_631.around.advice(this,args);
}
var _635=_631.after;
while(_635&&_635.id<_632){
if(_635.advice){
if(_635.receiveArguments){
var _636=_635.advice.apply(this,args);
_634=_636===_620?_634:_636;
}else{
_634=_635.advice.call(this,_634,args);
}
}
_635=_635.next;
}
return _634;
};
if(_630){
_631.around={advice:function(_637,args){
return _630.apply(_637,args);
}};
}
_631.target=_62c;
_631.nextId=_631.nextId||0;
}
var _638=_621((_631||_630),type,_62e,_62f);
_62e=null;
return _638;
};
};
var _639=_62b("after");
var _63a=_62b("before");
var _63b=_62b("around");
return {before:_63a,around:_63b,after:_639};
});
},"dojo/ready":function(){
define(["./_base/kernel","./has","require","./domReady","./_base/lang"],function(dojo,has,_63c,_63d,lang){
var _63e=0,_63f=[],_640=0,_641=function(){
_63e=1;
dojo._postLoad=dojo.config.afterOnLoad=true;
_642();
},_642=function(){
if(_640){
return;
}
_640=1;
while(_63e&&(!_63d||_63d._Q.length==0)&&(_63c.idle?_63c.idle():true)&&_63f.length){
var f=_63f.shift();
try{
f();
}
catch(e){
e.info=e.message;
if(_63c.signal){
_63c.signal("error",e);
}else{
throw e;
}
}
}
_640=0;
};
_63c.on&&_63c.on("idle",_642);
if(_63d){
_63d._onQEmpty=_642;
}
var _643=dojo.ready=dojo.addOnLoad=function(_644,_645,_646){
var _647=lang._toArray(arguments);
if(typeof _644!="number"){
_646=_645;
_645=_644;
_644=1000;
}else{
_647.shift();
}
_646=_646?lang.hitch.apply(dojo,_647):function(){
_645();
};
_646.priority=_644;
for(var i=0;i<_63f.length&&_644>=_63f[i].priority;i++){
}
_63f.splice(i,0,_646);
_642();
};
1||has.add("dojo-config-addOnLoad",1);
if(1){
var dca=dojo.config.addOnLoad;
if(dca){
_643[(lang.isArray(dca)?"apply":"call")](dojo,dca);
}
}
if(1&&dojo.config.parseOnLoad&&!dojo.isAsync){
_643(99,function(){
if(!dojo.parser){
dojo.deprecated("Add explicit require(['dojo/parser']);","","2.0");
_63c(["dojo/parser"]);
}
});
}
if(_63d){
_63d(_641);
}else{
_641();
}
return _643;
});
},"dojo/_base/connect":function(){
define(["./kernel","../on","../topic","../aspect","./event","../mouse","./sniff","./lang","../keys"],function(dojo,on,hub,_648,_649,_64a,has,lang){
has.add("events-keypress-typed",function(){
var _64b={charCode:0};
try{
_64b=document.createEvent("KeyboardEvent");
(_64b.initKeyboardEvent||_64b.initKeyEvent).call(_64b,"keypress",true,true,null,false,false,false,false,9,3);
}
catch(e){
}
return _64b.charCode==0&&!has("opera");
});
function _64c(obj,_64d,_64e,_64f,_650){
_64f=lang.hitch(_64e,_64f);
if(!obj||!(obj.addEventListener||obj.attachEvent)){
return _648.after(obj||dojo.global,_64d,_64f,true);
}
if(typeof _64d=="string"&&_64d.substring(0,2)=="on"){
_64d=_64d.substring(2);
}
if(!obj){
obj=dojo.global;
}
if(!_650){
switch(_64d){
case "keypress":
_64d=_651;
break;
case "mouseenter":
_64d=_64a.enter;
break;
case "mouseleave":
_64d=_64a.leave;
break;
}
}
return on(obj,_64d,_64f,_650);
};
var _652={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 _653=has("mac")?"metaKey":"ctrlKey";
var _654=function(evt,_655){
var faux=lang.mixin({},evt,_655);
_656(faux);
faux.preventDefault=function(){
evt.preventDefault();
};
faux.stopPropagation=function(){
evt.stopPropagation();
};
return faux;
};
function _656(evt){
evt.keyChar=evt.charCode?String.fromCharCode(evt.charCode):"";
evt.charOrCode=evt.keyChar||evt.keyCode;
};
var _651;
if(has("events-keypress-typed")){
var _657=function(e,code){
try{
return (e.keyCode=code);
}
catch(e){
return 0;
}
};
_651=function(_658,_659){
var _65a=on(_658,"keydown",function(evt){
var k=evt.keyCode;
var _65b=(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(_65b||evt.ctrlKey){
var c=_65b?0:k;
if(evt.ctrlKey){
if(k==3||k==13){
return _659.call(evt.currentTarget,evt);
}else{
if(c>95&&c<106){
c-=48;
}else{
if((!evt.shiftKey)&&(c>=65&&c<=90)){
c+=32;
}else{
c=_652[c]||c;
}
}
}
}
var faux=_654(evt,{type:"keypress",faux:true,charCode:c});
_659.call(evt.currentTarget,faux);
if(has("ie")){
_657(evt,faux.keyCode);
}
}
});
var _65c=on(_658,"keypress",function(evt){
var c=evt.charCode;
c=c>=32?c:0;
evt=_654(evt,{charCode:c,faux:true});
return _659.call(this,evt);
});
return {remove:function(){
_65a.remove();
_65c.remove();
}};
};
}else{
if(has("opera")){
_651=function(_65d,_65e){
return on(_65d,"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 _65e.call(this,_654(evt,{charCode:c}));
});
};
}else{
_651=function(_65f,_660){
return on(_65f,"keypress",function(evt){
_656(evt);
return _660.call(this,evt);
});
};
}
}
var _661={_keypress:_651,connect:function(obj,_662,_663,_664,_665){
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 _64c.apply(this,args);
},disconnect:function(_666){
if(_666){
_666.remove();
}
},subscribe:function(_667,_668,_669){
return hub.subscribe(_667,lang.hitch(_668,_669));
},publish:function(_66a,args){
return hub.publish.apply(hub,[_66a].concat(args));
},connectPublisher:function(_66b,obj,_66c){
var pf=function(){
_661.publish(_66b,arguments);
};
return _66c?_661.connect(obj,_66c,pf):_661.connect(obj,pf);
},isCopyKey:function(e){
return e[_653];
}};
_661.unsubscribe=_661.disconnect;
1&&lang.mixin(dojo,_661);
return _661;
});
},"dojo/errors/CancelError":function(){
define(["./create"],function(_66d){
return _66d("CancelError",null,null,{dojoType:"cancel",log:false});
});
}}});
(function(){
var _66e=this.require;
_66e({cache:{}});
!_66e.async&&_66e(["dojo"]);
_66e.boot&&_66e.apply(null,_66e.boot);
})();
