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