From 6a11634c93c9cad8eb2b4428fd69afb190355444 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Sat, 21 Jan 2017 12:57:31 -0500 Subject: [PATCH] dojo: Build dojo/dom-construct Signed-off-by: Anders Kaseorg --- lib/dojo-src/tt-rss.profile.js | 1 + lib/dojo/dojo.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/dojo-src/tt-rss.profile.js b/lib/dojo-src/tt-rss.profile.js index 1c1e2351..7041c31c 100644 --- a/lib/dojo-src/tt-rss.profile.js +++ b/lib/dojo-src/tt-rss.profile.js @@ -6,6 +6,7 @@ dependencies = { "dojo._base.url", "dojo.cache", "dojo.dojo", + "dojo.dom-construct", "dojo.parser", "dojo.data.ItemFileWriteStore", "dojo.selector.acme", diff --git a/lib/dojo/dojo.js b/lib/dojo/dojo.js index 912b0143..8f28ce6c 100644 --- a/lib/dojo/dojo.js +++ b/lib/dojo/dojo.js @@ -12,4 +12,4 @@ */ //>>built -(function(_1,_2){var _3=function(){},_4=function(it){for(var p in it){return 0;}return 1;},_5={}.toString,_6=function(it){return _5.call(it)=="[object Function]";},_7=function(it){return _5.call(it)=="[object String]";},_8=function(it){return _5.call(it)=="[object Array]";},_9=function(_a,_b){if(_a){for(var i=0;i<_a.length;){_b(_a[i++]);}}},_c=function(_d,_e){for(var p in _e){_d[p]=_e[p];}return _d;},_f=function(_10,_11){return _c(new Error(_10),{src:"dojoLoader",info:_11});},_12=1,uid=function(){return "_"+_12++;},req=function(_13,_14,_15){return _16(_13,_14,_15,0,req);},_17=this,doc=_17.document,_18=doc&&doc.createElement("DiV"),has=req.has=function(_19){return _6(_1a[_19])?(_1a[_19]=_1a[_19](_17,doc,_18)):_1a[_19];},_1a=has.cache=_2.hasCache;has.add=function(_1b,_1c,now,_1d){(_1a[_1b]===undefined||_1d)&&(_1a[_1b]=_1c);return now&&has(_1b);};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_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;i0&&form.attributes.length<40);}has.clearElement=function(_13a){_13a.innerHTML="";return _13a;};has.normalize=function(id,_13b){var _13c=id.match(/[\?:]|[^:\?]*/g),i=0,get=function(skip){var term=_13c[i++];if(term==":"){return 0;}else{if(_13c[i++]=="?"){if(!skip&&has(term)){return get();}else{get(true);return get(skip);}}return term||0;}};id=get();return id&&_13b(id);};has.load=function(id,_13d,_13e){if(id){_13d([id],_13e);}else{_13e();}};return has;});},"dojo/_base/config":function(){define(["../has","require"],function(has,_13f){var _140={};if(1){var src=_13f.rawConfig,p;for(p in src){_140[p]=src[p];}}else{var _141=function(_142,_143,_144){for(p in _142){p!="has"&&has.add(_143+p,_142[p],0,_144);}};_140=1?_13f.rawConfig:this.dojoConfig||this.djConfig||{};_141(_140,"config",1);_141(_140.has,"",1);}return _140;});},"dojo/sniff":function(){define("dojo/sniff",["./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/_base/lang":function(){define(["./kernel","../has","../sniff"],function(dojo,has){has.add("bug-for-in-skips-shadowed",function(){for(var i in {toString:1}){return 0;}return 1;});var _145=has("bug-for-in-skips-shadowed")?"hasOwnProperty.valueOf.isPrototypeOf.propertyIsEnumerable.toLocaleString.toString.constructor".split("."):[],_146=_145.length,_147=function(_148,_149,_14a){var p,i=0,_14b=dojo.global;if(!_14a){if(!_148.length){return _14b;}else{p=_148[i++];try{_14a=dojo.scopeMap[p]&&dojo.scopeMap[p][1];}catch(e){}_14a=_14a||(p in _14b?_14b[p]:(_149?_14b[p]={}:undefined));}}while(_14a&&(p=_148[i++])){_14a=(p in _14a?_14a[p]:(_149?_14a[p]={}:undefined));}return _14a;},opts=Object.prototype.toString,_14c=function(obj,_14d,_14e){return (_14e||[]).concat(Array.prototype.slice.call(obj,_14d||0));},_14f=/\{([^\}]+)\}/g;var lang={_extraNames:_145,_mixin:function(dest,_150,_151){var name,s,i,_152={};for(name in _150){s=_150[name];if(!(name in dest)||(dest[name]!==s&&(!(name in _152)||_152[name]!==s))){dest[name]=_151?_151(s):s;}}if(has("bug-for-in-skips-shadowed")){if(_150){for(i=0;i<_146;++i){name=_145[i];s=_150[name];if(!(name in dest)||(dest[name]!==s&&(!(name in _152)||_152[name]!==s))){dest[name]=_151?_151(s):s;}}}}return dest;},mixin:function(dest,_153){if(!dest){dest={};}for(var i=1,l=arguments.length;i2){return lang._hitchArgs.apply(dojo,arguments);}if(!_15e){_15e=_15d;_15d=null;}if(lang.isString(_15e)){_15d=_15d||dojo.global;if(!_15d[_15e]){throw (["lang.hitch: scope[\"",_15e,"\"] is null (scope=\"",_15d,"\")"].join(""));}return function(){return _15d[_15e].apply(_15d,arguments||[]);};}return !_15d?_15e:function(){return _15e.apply(_15d,arguments||[]);};},delegate:(function(){function TMP(){};return function(obj,_15f){TMP.prototype=obj;var tmp=new TMP();TMP.prototype=null;if(_15f){lang._mixin(tmp,_15f);}return tmp;};})(),_toArray:has("ie")?(function(){function slow(obj,_160,_161){var arr=_161||[];for(var x=_160||0;x0){return _16e.lastIndexOf(a,x,from);}var l=a&&a.length||0,end=up?l+_16d:_16c,i;if(from===u){i=up?_16c:l+_16d;}else{if(from<0){i=l+from;if(i<0){i=_16c;}}else{i=from>=l?l+_16d:from;}}if(l&&typeof a=="string"){a=a.split("");}for(;i!=end;i+=_16b){if(a[i]==x){return i;}}return -1;};};var _16e={every:_167(false),some:_167(true),indexOf:_16a(true),lastIndexOf:_16a(false),forEach:function(arr,_16f,_170){var i=0,l=arr&&arr.length||0;if(l&&typeof arr=="string"){arr=arr.split("");}if(typeof _16f=="string"){_16f=_165[_16f]||_166(_16f);}if(_170){for(;i=_17a[i].priority;i++){}_17a.splice(i,0,_181);_179();};1||has.add("dojo-config-addOnLoad",1);if(1){var dca=dojo.config.addOnLoad;if(dca){_17e[(lang.isArray(dca)?"apply":"call")](dojo,dca);}}if(1&&dojo.config.parseOnLoad&&!dojo.isAsync){_17e(99,function(){if(!dojo.parser){dojo.deprecated("Add explicit require(['dojo/parser']);","","2.0");_176(["dojo/parser"]);}});}if(1){_177(_17c);}else{_17c();}return _17e;});},"dojo/domReady":function(){define("dojo/domReady",["./has"],function(has){var _183=this,doc=document,_184={"loaded":1,"complete":1},_185=typeof doc.readyState!="string",_186=!!_184[doc.readyState];if(_185){doc.readyState="loading";}if(!_186){var _187=[],_188=[],_189=function(evt){evt=evt||_183.event;if(_186||(evt.type=="readystatechange"&&!_184[doc.readyState])){return;}_186=1;if(_185){doc.readyState="complete";}while(_187.length){(_187.shift())(doc);}},on=function(node,_18a){node.addEventListener(_18a,_189,false);_187.push(function(){node.removeEventListener(_18a,_189,false);});};if(!has("dom-addeventlistener")){on=function(node,_18b){_18b="on"+_18b;node.attachEvent(_18b,_189);_187.push(function(){node.detachEvent(_18b,_189);});};var div=doc.createElement("div");try{if(div.doScroll&&_183.frameElement===null){_188.push(function(){try{div.doScroll("left");return 1;}catch(e){}});}}catch(e){}}on(doc,"DOMContentLoaded");on(_183,"load");if("onreadystatechange" in doc){on(doc,"readystatechange");}else{if(!_185){_188.push(function(){return _184[doc.readyState];});}}if(_188.length){var _18c=function(){if(_186){return;}var i=_188.length;while(i--){if(_188[i]()){_189("poller");return;}}setTimeout(_18c,30);};_18c();}}function _18d(_18e){if(_186){_18e(doc);}else{_187.push(_18e);}};_18d.load=function(id,req,load){_18d(load);};return _18d;});},"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,_18f=0,_190="constructor";function err(msg,cls){throw new Error("declare"+(cls?" "+cls:"")+": "+msg);};function _191(_192,_193){var _194=[],_195=[{cls:0,refs:[]}],_196={},_197=1,l=_192.length,i=0,j,lin,base,top,_198,rec,name,refs;for(;i=0;--j){_198=lin[j].prototype;if(!_198.hasOwnProperty("declaredClass")){_198.declaredClass="uniqName_"+(_18f++);}name=_198.declaredClass;if(!_196.hasOwnProperty(name)){_196[name]={count:0,refs:[],cls:lin[j]};++_197;}rec=_196[name];if(top&&top!==rec){rec.refs.push(top);++top.count;}top=rec;}++top.count;_195[0].refs.push(top);}while(_195.length){top=_195.pop();_194.push(top.cls);--_197;while(refs=top.refs,refs.length==1){top=refs[0];if(!top||--top.count){top=0;break;}_194.push(top.cls);--_197;}if(top){for(i=0,l=refs.length;i=0;--i){f=_1b2[i];m=f._meta;f=m?m.ctor:f;if(f){f.apply(this,_1b4?_1b4[i]:a);}}f=this.postscript;if(f){f.apply(this,args);}};};function _1b6(ctor,_1b7){return function(){var a=arguments,t=a,a0=a[0],f;if(!(this instanceof a.callee)){return _1b5(a);}if(_1b7){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 _1b8(_1b9){return function(){var a=arguments,i=0,f,m;if(!(this instanceof a.callee)){return _1b5(a);}for(;f=_1b9[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 _1ba(name,_1bb,_1bc){return function(){var b,m,f,i=0,step=1;if(_1bc){i=_1bb.length-1;step=-1;}for(;b=_1bb[i];i+=step){m=b._meta;f=(m?m.hidden:b.prototype)[name];if(f){f.apply(this,arguments);}}};};function _1bd(ctor){xtor.prototype=ctor.prototype;var t=new xtor;xtor.prototype=null;return t;};function _1b5(args){var ctor=args.callee,t=_1bd(ctor);ctor.apply(t,args);return t;};function _1ae(_1be,_1bf,_1c0){if(typeof _1be!="string"){_1c0=_1bf;_1bf=_1be;_1be="";}_1c0=_1c0||{};var _1c1,i,t,ctor,name,_1c2,_1c3,_1c4=1,_1c5=_1bf;if(opts.call(_1bf)=="[object Array]"){_1c2=_191(_1bf,_1be);t=_1c2[0];_1c4=_1c2.length-t;_1bf=_1c2[_1c4];}else{_1c2=[0];if(_1bf){if(opts.call(_1bf)=="[object Function]"){t=_1bf._meta;_1c2=_1c2.concat(t?t.bases:_1bf);}else{err("base class is not a callable constructor.",_1be);}}else{if(_1bf!==null){err("unknown base class. Did you use dojo.require to pull it in?",_1be);}}}if(_1bf){for(i=_1c4-1;;--i){_1c1=_1bd(_1bf);if(!i){break;}t=_1c2[i];(t._meta?_1a4:mix)(_1c1,t.prototype);ctor=new Function;ctor.superclass=_1bf;ctor.prototype=_1c1;_1bf=_1c1.constructor=ctor;}}else{_1c1={};}_1ae.safeMixin(_1c1,_1c0);t=_1c0.constructor;if(t!==op.constructor){t.nom=_190;_1c1.constructor=t;}for(i=_1c4-1;i;--i){t=_1c2[i]._meta;if(t&&t.chains){_1c3=mix(_1c3||{},t.chains);}}if(_1c1["-chains-"]){_1c3=mix(_1c3||{},_1c1["-chains-"]);}t=!_1c3||!_1c3.hasOwnProperty(_190);_1c2[0]=ctor=(_1c3&&_1c3.constructor==="manual")?_1b8(_1c2):(_1c2.length==1?_1b6(_1c0.constructor,t):_1b1(_1c2,t));ctor._meta={bases:_1c2,hidden:_1c0,chains:_1c3,parents:_1c5,ctor:_1c0.constructor};ctor.superclass=_1bf&&_1bf.prototype;ctor.extend=_1ac;ctor.createSubclass=_1af;ctor.prototype=_1c1;_1c1.constructor=ctor;_1c1.getInherited=_19f;_1c1.isInstanceOf=_1a2;_1c1.inherited=_1a1;_1c1.__inherited=_199;if(_1be){_1c1.declaredClass=_1be;lang.setObject(_1be,ctor);}if(_1c3){for(name in _1c3){if(_1c1[name]&&typeof _1c3[name]=="string"&&name!=_190){t=_1c1[name]=_1ba(name,_1c2,_1c3[name]==="after");t.nom=name;}}}return ctor;};dojo.safeMixin=_1ae.safeMixin=_1a8;dojo.declare=_1ae;return _1ae;});},"dojo/_base/connect":function(){define(["./kernel","../on","../topic","../aspect","./event","../mouse","./sniff","./lang","../keys"],function(dojo,on,hub,_1c6,_1c7,_1c8,has,lang){has.add("events-keypress-typed",function(){var _1c9={charCode:0};try{_1c9=document.createEvent("KeyboardEvent");(_1c9.initKeyboardEvent||_1c9.initKeyEvent).call(_1c9,"keypress",true,true,null,false,false,false,false,9,3);}catch(e){}return _1c9.charCode==0&&!has("opera");});function _1ca(obj,_1cb,_1cc,_1cd,_1ce){_1cd=lang.hitch(_1cc,_1cd);if(!obj||!(obj.addEventListener||obj.attachEvent)){return _1c6.after(obj||dojo.global,_1cb,_1cd,true);}if(typeof _1cb=="string"&&_1cb.substring(0,2)=="on"){_1cb=_1cb.substring(2);}if(!obj){obj=dojo.global;}if(!_1ce){switch(_1cb){case "keypress":_1cb=_1cf;break;case "mouseenter":_1cb=_1c8.enter;break;case "mouseleave":_1cb=_1c8.leave;break;}}return on(obj,_1cb,_1cd,_1ce);};var _1d0={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 _1d1=has("mac")?"metaKey":"ctrlKey";var _1d2=function(evt,_1d3){var faux=lang.mixin({},evt,_1d3);_1d4(faux);faux.preventDefault=function(){evt.preventDefault();};faux.stopPropagation=function(){evt.stopPropagation();};return faux;};function _1d4(evt){evt.keyChar=evt.charCode?String.fromCharCode(evt.charCode):"";evt.charOrCode=evt.keyChar||evt.keyCode;};var _1cf;if(has("events-keypress-typed")){var _1d5=function(e,code){try{return (e.keyCode=code);}catch(e){return 0;}};_1cf=function(_1d6,_1d7){var _1d8=on(_1d6,"keydown",function(evt){var k=evt.keyCode;var _1d9=(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(_1d9||evt.ctrlKey){var c=_1d9?0:k;if(evt.ctrlKey){if(k==3||k==13){return _1d7.call(evt.currentTarget,evt);}else{if(c>95&&c<106){c-=48;}else{if((!evt.shiftKey)&&(c>=65&&c<=90)){c+=32;}else{c=_1d0[c]||c;}}}}var faux=_1d2(evt,{type:"keypress",faux:true,charCode:c});_1d7.call(evt.currentTarget,faux);if(has("ie")){_1d5(evt,faux.keyCode);}}});var _1da=on(_1d6,"keypress",function(evt){var c=evt.charCode;c=c>=32?c:0;evt=_1d2(evt,{charCode:c,faux:true});return _1d7.call(this,evt);});return {remove:function(){_1d8.remove();_1da.remove();}};};}else{if(has("opera")){_1cf=function(_1db,_1dc){return on(_1db,"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 _1dc.call(this,_1d2(evt,{charCode:c}));});};}else{_1cf=function(_1dd,_1de){return on(_1dd,"keypress",function(evt){_1d4(evt);return _1de.call(this,evt);});};}}var _1df={_keypress:_1cf,connect:function(obj,_1e0,_1e1,_1e2,_1e3){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-1){var _1ff=type.split(/\s*,\s*/);var _200=[];var i=0;var _201;while(_201=_1ff[i++]){_200.push(_1fc(_1fa,_201,_1fb,_1fd,_1fe));}_200.remove=function(){for(var i=0;i<_200.length;i++){_200[i].remove();}};return _200;}return _1fc(_1fa,type,_1fb,_1fd,_1fe);};var _202=/^touch/;function _1f0(_203,type,_204,_205,_206){var _207=type.match(/(.*):(.*)/);if(_207){type=_207[2];_207=_207[1];return on.selector(_207,type).call(_206,_203,_204);}if(has("touch")){if(_202.test(type)){_204=_208(_204);}if(!has("event-orientationchange")&&(type=="orientationchange")){type="resize";_203=window;_204=_208(_204);}}if(_209){_204=_209(_204);}if(_203.addEventListener){var _20a=type in _20b,_20c=_20a?_20b[type]:type;_203.addEventListener(_20c,_204,_20a);return {remove:function(){_203.removeEventListener(_20c,_204,_20a);}};}type="on"+type;if(_20d&&_203.attachEvent){return _20d(_203,type,_204);}throw new Error("Target must be an event emitter");};on.selector=function(_20e,_20f,_210){return function(_211,_212){var _213=typeof _20e=="function"?{matches:_20e}:this,_214=_20f.bubble;function _215(_216){_213=_213&&_213.matches?_213:dojo.query;while(!_213.matches(_216,_20e,_211)){if(_216==_211||_210===false||!(_216=_216.parentNode)||_216.nodeType!=1){return;}}return _216;};if(_214){return on(_211,_214(_215),_212);}return on(_211,_20f,function(_217){var _218=_215(_217.target);return _218&&_212.call(_218,_217);});};};function _219(){this.cancelable=false;};function _21a(){this.bubbles=false;};var _21b=[].slice,_21c=on.emit=function(_21d,type,_21e){var args=_21b.call(arguments,2);var _21f="on"+type;if("parentNode" in _21d){var _220=args[0]={};for(var i in _21e){_220[i]=_21e[i];}_220.preventDefault=_219;_220.stopPropagation=_21a;_220.target=_21d;_220.type=type;_21e=_220;}do{_21d[_21f]&&_21d[_21f].apply(_21d,args);}while(_21e&&_21e.bubbles&&(_21d=_21d.parentNode));return _21e&&_21e.cancelable&&_21e;};var _20b={};if(!has("event-stopimmediatepropagation")){var _221=function(){this.immediatelyStopped=true;this.modified=true;};var _209=function(_222){return function(_223){if(!_223.immediatelyStopped){_223.stopImmediatePropagation=_221;return _222.apply(this,arguments);}};};}if(has("dom-addeventlistener")){_20b={focusin:"focus",focusout:"blur"};on.emit=function(_224,type,_225){if(_224.dispatchEvent&&document.createEvent){var _226=_224.ownerDocument.createEvent("HTMLEvents");_226.initEvent(type,!!_225.bubbles,!!_225.cancelable);for(var i in _225){var _227=_225[i];if(!(i in _226)){_226[i]=_225[i];}}return _224.dispatchEvent(_226)&&_226;}return _21c.apply(on,arguments);};}else{on._fixEvent=function(evt,_228){if(!evt){var w=_228&&(_228.ownerDocument||_228.document||_228).parentWindow||window;evt=w.event;}if(!evt){return evt;}if(_229&&evt.type==_229.type){evt=_229;}if(!evt.target){evt.target=evt.srcElement;evt.currentTarget=(_228||evt.srcElement);if(evt.type=="mouseover"){evt.relatedTarget=evt.fromElement;}if(evt.type=="mouseout"){evt.relatedTarget=evt.toElement;}if(!evt.stopPropagation){evt.stopPropagation=_22a;evt.preventDefault=_22b;}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;_22c(evt);break;}}return evt;};var _229,_22d=function(_22e){this.handle=_22e;};_22d.prototype.remove=function(){delete _dojoIEListeners_[this.handle];};var _22f=function(_230){return function(evt){evt=on._fixEvent(evt,this);var _231=_230.call(this,evt);if(evt.modified){if(!_229){setTimeout(function(){_229=null;});}_229=evt;}return _231;};};var _20d=function(_232,type,_233){_233=_22f(_233);if(((_232.ownerDocument?_232.ownerDocument.parentWindow:_232.parentWindow||_232.window||window)!=top||has("jscript")<5.8)&&!has("config-_allow_leaks")){if(typeof _dojoIEListeners_=="undefined"){_dojoIEListeners_=[];}var _234=_232[type];if(!_234||!_234.listeners){var _235=_234;_234=Function("event","var callee = arguments.callee; for(var i = 0; i=0){s.width=w+u;}if(h>=0){s.height=h+u;}};function _26f(node){return node.tagName.toLowerCase()=="button"||node.tagName.toLowerCase()=="input"&&(node.getAttribute("type")||"").toLowerCase()=="button";};function _270(node){return geom.boxModel=="border-box"||node.tagName.toLowerCase()=="table"||_26f(node);};geom.setContentSize=function setContentSize(node,box,_271){node=dom.byId(node);var w=box.w,h=box.h;if(_270(node)){var pb=geom.getPadBorderExtents(node,_271);if(w>=0){w+=pb.w;}if(h>=0){h+=pb.h;}}_26e(node,NaN,NaN,w,h);};var _272={l:0,t:0,w:0,h:0};geom.setMarginBox=function setMarginBox(node,box,_273){node=dom.byId(node);var s=_273||_267.getComputedStyle(node),w=box.w,h=box.h,pb=_270(node)?_272:geom.getPadBorderExtents(node,s),mb=geom.getMarginExtents(node,s);if(has("webkit")){if(_26f(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);}_26e(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(_274,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){_274+=de.clientLeft;}return (ie<8||qk)?(_274+de.clientWidth-de.scrollWidth):-_274;}return _274;};geom.position=function(node,_275){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 _276=geom.getIeDocumentElementOffset(node.ownerDocument);ret.x-=_276.x+(has("quirks")?db.clientLeft+db.offsetLeft:0);ret.y-=_276.y+(has("quirks")?db.clientTop+db.offsetTop:0);}if(_275){var _277=geom.docScroll(node.ownerDocument);ret.x+=_277.x;ret.y+=_277.y;}return ret;};geom.getMarginSize=function getMarginSize(node,_278){node=dom.byId(node);var me=geom.getMarginExtents(node,_278||_267.getComputedStyle(node));var size=node.getBoundingClientRect();return {w:(size.right-size.left)+me.w,h:(size.bottom-size.top)+me.h};};geom.normalizeEvent=function(_279){if(!("layerX" in _279)){_279.layerX=_279.offsetX;_279.layerY=_279.offsetY;}if(!has("dom-addeventlistener")){var se=_279.target;var doc=(se&&se.ownerDocument)||document;var _27a=has("quirks")?doc.body:doc.documentElement;var _27b=geom.getIeDocumentElementOffset(doc);_279.pageX=_279.clientX+geom.fixIeBiDiScrollLeft(_27a.scrollLeft||0,doc)-_27b.x;_279.pageY=_279.clientY+(_27a.scrollTop||0)-_27b.y;}};return geom;});},"dojo/_base/window":function(){define(["./kernel","./lang","../sniff"],function(dojo,lang,has){var ret={global:dojo.global,doc:this["document"]||null,body:function(doc){doc=doc||dojo.doc;return doc.body||doc.getElementsByTagName("body")[0];},setContext:function(_27c,_27d){dojo.global=ret.global=_27c;dojo.doc=ret.doc=_27d;},withGlobal:function(_27e,_27f,_280,_281){var _282=dojo.global;try{dojo.global=ret.global=_27e;return ret.withDoc.call(null,_27e.document,_27f,_280,_281);}finally{dojo.global=ret.global=_282;}},withDoc:function(_283,_284,_285,_286){var _287=ret.doc,oldQ=has("quirks"),_288=has("ie"),isIE,mode,pwin;try{dojo.doc=ret.doc=_283;dojo.isQuirks=has.add("quirks",dojo.doc.compatMode=="BackCompat",true,true);if(has("ie")){if((pwin=_283.parentWindow)&&pwin.navigator){isIE=parseFloat(pwin.navigator.appVersion.split("MSIE ")[1])||undefined;mode=_283.documentMode;if(mode&&mode!=5&&Math.floor(isIE)!=mode){isIE=mode;}dojo.isIE=has.add("ie",isIE,true,true);}}if(_285&&typeof _284=="string"){_284=_285[_284];}return _284.apply(_285,_286||[]);}finally{dojo.doc=ret.doc=_287;dojo.isQuirks=has.add("quirks",oldQ,true,true);dojo.isIE=has.add("ie",_288,true,true);}}};1&&lang.mixin(dojo,ret);return ret;});},"dojo/dom":function(){define("dojo/dom",["./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 _289=doc||win.doc,te=id&&_289.getElementById(id);if(te&&(te.attributes.id.value==id||te.id==id)){return te;}else{var eles=_289.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,_28a){try{node=dom.byId(node);_28a=dom.byId(_28a);while(node){if(node==_28a){return true;}node=node.parentNode;}}catch(e){}return false;};has.add("css-user-select",function(_28b,doc,_28c){if(!_28c){return false;}var _28d=_28c.style;var _28e=["Khtml","O","ms","Moz","Webkit"],i=_28e.length,name="userSelect",_28f;do{if(typeof _28d[name]!=="undefined"){return name;}}while(i--&&(name=_28e[i]+"UserSelect"));return false;});var _290=has("css-user-select");dom.setSelectable=_290?function(node,_291){dom.byId(node).style[_290]=_291?"":"none";}:function(node,_292){node=dom.byId(node);var _293=node.getElementsByTagName("*"),i=_293.length;if(_292){node.removeAttribute("unselectable");while(i--){_293[i].removeAttribute("unselectable");}}else{node.setAttribute("unselectable","on");while(i--){_293[i].setAttribute("unselectable","on");}}};return dom;});},"dojo/dom-style":function(){define("dojo/dom-style",["./sniff","./dom"],function(has,dom){var _294,_295={};if(has("webkit")){_294=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"))){_294=function(node){return node.nodeType==1&&node.currentStyle?node.currentStyle:{};};}else{_294=function(node){return node.nodeType==1?node.ownerDocument.defaultView.getComputedStyle(node,null):{};};}}_295.getComputedStyle=_294;var _296;if(!has("ie")){_296=function(_297,_298){return parseFloat(_298)||0;};}else{_296=function(_299,_29a){if(!_29a){return 0;}if(_29a=="medium"){return 4;}if(_29a.slice&&_29a.slice(-2)=="px"){return parseFloat(_29a);}var s=_299.style,rs=_299.runtimeStyle,cs=_299.currentStyle,_29b=s.left,_29c=rs.left;rs.left=cs.left;try{s.left=_29a;_29a=s.pixelLeft;}catch(e){_29a=0;}s.left=_29b;rs.left=_29c;return _29a;};}_295.toPixelValue=_296;var astr="DXImageTransform.Microsoft.Alpha";var af=function(n,f){try{return n.filters.item(astr);}catch(e){return f?{}:null;}};var _29d=has("ie")<9||(has("ie")<10&&has("quirks"))?function(node){try{return af(node).Opacity/100;}catch(e){return 1;}}:function(node){return _294(node).opacity;};var _29e=has("ie")<9||(has("ie")<10&&has("quirks"))?function(node,_29f){var ov=_29f*100,_2a0=_29f==1;node.style.zoom=_2a0?"":1;if(!af(node)){if(_2a0){return _29f;}node.style.filter+=" progid:"+astr+"(Opacity="+ov+")";}else{af(node,1).Opacity=ov;}af(node,1).Enabled=!_2a0;if(node.tagName.toLowerCase()=="tr"){for(var td=node.firstChild;td;td=td.nextSibling){if(td.tagName.toLowerCase()=="td"){_29e(td,_29f);}}}return _29f;}:function(node,_2a1){return node.style.opacity=_2a1;};var _2a2={left:true,top:true};var _2a3=/margin|padding|width|height|max|min|offset/;function _2a4(node,type,_2a5){type=type.toLowerCase();if(has("ie")){if(_2a5=="auto"){if(type=="height"){return node.offsetHeight;}if(type=="width"){return node.offsetWidth;}}if(type=="fontweight"){switch(_2a5){case 700:return "bold";case 400:default:return "normal";}}}if(!(type in _2a2)){_2a2[type]=_2a3.test(type);}return _2a2[type]?_296(node,_2a5):_2a5;};var _2a6=has("ie")?"styleFloat":"cssFloat",_2a7={"cssFloat":_2a6,"styleFloat":_2a6,"float":_2a6};_295.get=function getStyle(node,name){var n=dom.byId(node),l=arguments.length,op=(name=="opacity");if(l==2&&op){return _29d(n);}name=_2a7[name]||name;var s=_295.getComputedStyle(n);return (l==1)?s:_2a4(n,name,s[name]||n.style[name]);};_295.set=function setStyle(node,name,_2a8){var n=dom.byId(node),l=arguments.length,op=(name=="opacity");name=_2a7[name]||name;if(l==3){return op?_29e(n,_2a8):n.style[name]=_2a8;}for(var x in name){_295.set(node,x,name[x]);}return _295.getComputedStyle(n);};return _295;});},"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 _2a9;if((has("dom-quirks")&&has("ie"))||!has("dom-addeventlistener")){_2a9={LEFT:1,MIDDLE:4,RIGHT:2,isButton:function(e,_2aa){return e.button&_2aa;},isLeft:function(e){return e.button&1;},isMiddle:function(e){return e.button&4;},isRight:function(e){return e.button&2;}};}else{_2a9={LEFT:0,MIDDLE:1,RIGHT:2,isButton:function(e,_2ab){return e.button==_2ab;},isLeft:function(e){return e.button==0;},isMiddle:function(e){return e.button==1;},isRight:function(e){return e.button==2;}};}dojo.mouseButtons=_2a9;function _2ac(type,_2ad){var _2ae=function(node,_2af){return on(node,type,function(evt){if(_2ad){return _2ad(evt,_2af);}if(!dom.isDescendant(evt.relatedTarget,node)){return _2af.call(this,evt);}});};_2ae.bubble=function(_2b0){return _2ac(type,function(evt,_2b1){var _2b2=_2b0(evt.target);var _2b3=evt.relatedTarget;if(_2b2&&(_2b2!=(_2b3&&_2b3.nodeType==1&&_2b0(_2b3)))){return _2b1.call(_2b2,evt);}});};return _2ae;};var _2b4;if(has("events-mousewheel")){_2b4="mousewheel";}else{_2b4=function(node,_2b5){return on(node,"DOMMouseScroll",function(evt){evt.wheelDelta=-evt.detail;_2b5.call(this,evt);});};}return {_eventHandler:_2ac,enter:_2ac("mouseover"),leave:_2ac("mouseout"),wheel:_2b4,isLeft:_2a9.isLeft,isMiddle:_2a9.isMiddle,isRight:_2a9.isRight};});},"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/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/_base/Deferred":function(){define(["./kernel","../Deferred","../promise/Promise","../errors/CancelError","../has","./lang","../when"],function(dojo,_2b6,_2b7,_2b8,has,lang,when){var _2b9=function(){};var _2ba=Object.freeze||function(){};var _2bb=dojo.Deferred=function(_2bc){var _2bd,_2be,_2bf,head,_2c0;var _2c1=(this.promise=new _2b7());function _2c2(_2c3){if(_2be){throw new Error("This deferred has already been resolved");}_2bd=_2c3;_2be=true;_2c4();};function _2c4(){var _2c5;while(!_2c5&&_2c0){var _2c6=_2c0;_2c0=_2c0.next;if((_2c5=(_2c6.progress==_2b9))){_2be=false;}var func=(_2bf?_2c6.error:_2c6.resolved);if(has("config-useDeferredInstrumentation")){if(_2bf&&_2b6.instrumentRejected){_2b6.instrumentRejected(_2bd,!!func);}}if(func){try{var _2c7=func(_2bd);if(_2c7&&typeof _2c7.then==="function"){_2c7.then(lang.hitch(_2c6.deferred,"resolve"),lang.hitch(_2c6.deferred,"reject"),lang.hitch(_2c6.deferred,"progress"));continue;}var _2c8=_2c5&&_2c7===undefined;if(_2c5&&!_2c8){_2bf=_2c7 instanceof Error;}_2c6.deferred[_2c8&&_2bf?"reject":"resolve"](_2c8?_2bd:_2c7);}catch(e){_2c6.deferred.reject(e);}}else{if(_2bf){_2c6.deferred.reject(_2bd);}else{_2c6.deferred.resolve(_2bd);}}}};this.resolve=this.callback=function(_2c9){this.fired=0;this.results=[_2c9,null];_2c2(_2c9);};this.reject=this.errback=function(_2ca){_2bf=true;this.fired=1;if(has("config-useDeferredInstrumentation")){if(_2b6.instrumentRejected){_2b6.instrumentRejected(_2ca,!!_2c0);}}_2c2(_2ca);this.results=[null,_2ca];};this.progress=function(_2cb){var _2cc=_2c0;while(_2cc){var _2cd=_2cc.progress;_2cd&&_2cd(_2cb);_2cc=_2cc.next;}};this.addCallbacks=function(_2ce,_2cf){this.then(_2ce,_2cf,_2b9);return this;};_2c1.then=this.then=function(_2d0,_2d1,_2d2){var _2d3=_2d2==_2b9?this:new _2bb(_2c1.cancel);var _2d4={resolved:_2d0,error:_2d1,progress:_2d2,deferred:_2d3};if(_2c0){head=head.next=_2d4;}else{_2c0=head=_2d4;}if(_2be){_2c4();}return _2d3.promise;};var _2d5=this;_2c1.cancel=this.cancel=function(){if(!_2be){var _2d6=_2bc&&_2bc(_2d5);if(!_2be){if(!(_2d6 instanceof Error)){_2d6=new _2b8(_2d6);}_2d6.log=false;_2d5.reject(_2d6);}}};_2ba(_2c1);};lang.extend(_2bb,{addCallback:function(_2d7){return this.addCallbacks(lang.hitch.apply(dojo,arguments));},addErrback:function(_2d8){return this.addCallbacks(null,lang.hitch.apply(dojo,arguments));},addBoth:function(_2d9){var _2da=lang.hitch.apply(dojo,arguments);return this.addCallbacks(_2da,_2da);},fired:-1});_2bb.when=dojo.when=when;return _2bb;});},"dojo/Deferred":function(){define("dojo/Deferred",["./has","./_base/lang","./errors/CancelError","./promise/Promise","./promise/instrumentation"],function(has,lang,_2db,_2dc,_2dd){"use strict";var _2de=0,_2df=1,_2e0=2;var _2e1="This deferred has already been fulfilled.";var _2e2=Object.freeze||function(){};var _2e3=function(_2e4,type,_2e5,_2e6,_2e7){if(1){if(type===_2e0&&_2e8.instrumentRejected&&_2e4.length===0){_2e8.instrumentRejected(_2e5,false,_2e6,_2e7);}}for(var i=0;i<_2e4.length;i++){_2e9(_2e4[i],type,_2e5,_2e6);}};var _2e9=function(_2ea,type,_2eb,_2ec){var func=_2ea[type];var _2ed=_2ea.deferred;if(func){try{var _2ee=func(_2eb);if(type===_2de){if(typeof _2ee!=="undefined"){_2ef(_2ed,type,_2ee);}}else{if(_2ee&&typeof _2ee.then==="function"){_2ea.cancel=_2ee.cancel;_2ee.then(_2f0(_2ed,_2df),_2f0(_2ed,_2e0),_2f0(_2ed,_2de));return;}_2ef(_2ed,_2df,_2ee);}}catch(error){_2ef(_2ed,_2e0,error);}}else{_2ef(_2ed,type,_2eb);}if(1){if(type===_2e0&&_2e8.instrumentRejected){_2e8.instrumentRejected(_2eb,!!func,_2ec,_2ed.promise);}}};var _2f0=function(_2f1,type){return function(_2f2){_2ef(_2f1,type,_2f2);};};var _2ef=function(_2f3,type,_2f4){if(!_2f3.isCanceled()){switch(type){case _2de:_2f3.progress(_2f4);break;case _2df:_2f3.resolve(_2f4);break;case _2e0:_2f3.reject(_2f4);break;}}};var _2e8=function(_2f5){var _2f6=this.promise=new _2dc();var _2f7=this;var _2f8,_2f9,_2fa;var _2fb=false;var _2fc=[];if(1&&Error.captureStackTrace){Error.captureStackTrace(_2f7,_2e8);Error.captureStackTrace(_2f6,_2e8);}this.isResolved=_2f6.isResolved=function(){return _2f8===_2df;};this.isRejected=_2f6.isRejected=function(){return _2f8===_2e0;};this.isFulfilled=_2f6.isFulfilled=function(){return !!_2f8;};this.isCanceled=_2f6.isCanceled=function(){return _2fb;};this.progress=function(_2fd,_2fe){if(!_2f8){_2e3(_2fc,_2de,_2fd,null,_2f7);return _2f6;}else{if(_2fe===true){throw new Error(_2e1);}else{return _2f6;}}};this.resolve=function(_2ff,_300){if(!_2f8){_2e3(_2fc,_2f8=_2df,_2f9=_2ff,null,_2f7);_2fc=null;return _2f6;}else{if(_300===true){throw new Error(_2e1);}else{return _2f6;}}};var _301=this.reject=function(_302,_303){if(!_2f8){if(1&&Error.captureStackTrace){Error.captureStackTrace(_2fa={},_301);}_2e3(_2fc,_2f8=_2e0,_2f9=_302,_2fa,_2f7);_2fc=null;return _2f6;}else{if(_303===true){throw new Error(_2e1);}else{return _2f6;}}};this.then=_2f6.then=function(_304,_305,_306){var _307=[_306,_304,_305];_307.cancel=_2f6.cancel;_307.deferred=new _2e8(function(_308){return _307.cancel&&_307.cancel(_308);});if(_2f8&&!_2fc){_2e9(_307,_2f8,_2f9,_2fa);}else{_2fc.push(_307);}return _307.deferred.promise;};this.cancel=_2f6.cancel=function(_309,_30a){if(!_2f8){if(_2f5){var _30b=_2f5(_309);_309=typeof _30b==="undefined"?_309:_30b;}_2fb=true;if(!_2f8){if(typeof _309==="undefined"){_309=new _2db();}_301(_309);return _309;}else{if(_2f8===_2e0&&_2f9===_309){return _309;}}}else{if(_30a===true){throw new Error(_2e1);}}};_2e2(_2f6);};_2e8.prototype.toString=function(){return "[object Deferred]";};if(_2dd){_2dd(_2e8);}return _2e8;});},"dojo/errors/CancelError":function(){define(["./create"],function(_30c){return _30c("CancelError",null,null,{dojoType:"cancel"});});},"dojo/errors/create":function(){define(["../_base/lang"],function(lang){return function(name,ctor,base,_30d){base=base||Error;var _30e=function(_30f){if(base===Error){if(Error.captureStackTrace){Error.captureStackTrace(this,_30e);}var err=Error.call(this,_30f),prop;for(prop in err){if(err.hasOwnProperty(prop)){this[prop]=err[prop];}}this.message=_30f;this.stack=err.stack;}else{base.apply(this,arguments);}if(ctor){ctor.apply(this,arguments);}};_30e.prototype=lang.delegate(base.prototype,_30d);_30e.prototype.name=name;_30e.prototype.constructor=_30e;return _30e;};});},"dojo/promise/Promise":function(){define(["../_base/lang"],function(lang){"use strict";function _310(){throw new TypeError("abstract");};return lang.extend(function Promise(){},{then:function(_311,_312,_313){_310();},cancel:function(_314,_315){_310();},isResolved:function(){_310();},isRejected:function(){_310();},isFulfilled:function(){_310();},isCanceled:function(){_310();},always:function(_316){return this.then(_316,_316);},otherwise:function(_317){return this.then(null,_317);},trace:function(){return this;},traceRejected:function(){return this;},toString:function(){return "[object Promise]";}});});},"dojo/promise/instrumentation":function(){define(["./tracer","../has","../_base/lang","../_base/array"],function(_318,has,lang,_319){function _31a(_31b,_31c,_31d){var _31e="";if(_31b&&_31b.stack){_31e+=_31b.stack;}if(_31c&&_31c.stack){_31e+="\n ----------------------------------------\n rejected"+_31c.stack.split("\n").slice(1).join("\n").replace(/^\s+/," ");}if(_31d&&_31d.stack){_31e+="\n ----------------------------------------\n"+_31d.stack;}console.error(_31b,_31e);};function _31f(_320,_321,_322,_323){if(!_321){_31a(_320,_322,_323);}};var _324=[];var _325=false;var _326=1000;function _327(_328,_329,_32a,_32b){if(_329){_319.some(_324,function(obj,ix){if(obj.error===_328){_324.splice(ix,1);return true;}});}else{if(!_319.some(_324,function(obj){return obj.error===_328;})){_324.push({error:_328,rejection:_32a,deferred:_32b,timestamp:new Date().getTime()});}}if(!_325){_325=setTimeout(_32c,_326);}};function _32c(){var now=new Date().getTime();var _32d=now-_326;_324=_319.filter(_324,function(obj){if(obj.timestamp<_32d){_31a(obj.error,obj.rejection,obj.deferred);return false;}return true;});if(_324.length){_325=setTimeout(_32c,_324[0].timestamp+_326-now);}else{_325=false;}};return function(_32e){var _32f=has("config-useDeferredInstrumentation");if(_32f){_318.on("resolved",lang.hitch(console,"log","resolved"));_318.on("rejected",lang.hitch(console,"log","rejected"));_318.on("progress",lang.hitch(console,"log","progress"));var args=[];if(typeof _32f==="string"){args=_32f.split(",");_32f=args.shift();}if(_32f==="report-rejections"){_32e.instrumentRejected=_31f;}else{if(_32f==="report-unhandled-rejections"||_32f===true||_32f===1){_32e.instrumentRejected=_327;_326=parseInt(args[0],10)||_326;}else{throw new Error("Unsupported instrumentation usage <"+_32f+">");}}}};});},"dojo/promise/tracer":function(){define(["../_base/lang","./Promise","../Evented"],function(lang,_330,_331){"use strict";var _332=new _331;var emit=_332.emit;_332.emit=null;function _333(args){setTimeout(function(){emit.apply(_332,args);},0);};_330.prototype.trace=function(){var args=lang._toArray(arguments);this.then(function(_334){_333(["resolved",_334].concat(args));},function(_335){_333(["rejected",_335].concat(args));},function(_336){_333(["progress",_336].concat(args));});return this;};_330.prototype.traceRejected=function(){var args=lang._toArray(arguments);this.otherwise(function(_337){_333(["rejected",_337].concat(args));});return this;};return _332;});},"dojo/when":function(){define("dojo/when",["./Deferred","./promise/Promise"],function(_338,_339){"use strict";return function when(_33a,_33b,_33c,_33d){var _33e=_33a&&typeof _33a.then==="function";var _33f=_33e&&_33a instanceof _339;if(!_33e){if(_33b){return _33b(_33a);}else{return new _338().resolve(_33a);}}else{if(!_33f){var _340=new _338(_33a.cancel);_33a.then(_340.resolve,_340.reject,_340.progress);_33a=_340.promise;}}if(_33b||_33c||_33d){return _33a.then(_33b,_33c,_33d);}return _33a;};});},"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,_341){return json.stringify(it,function(key,_342){if(_342){var tf=_342.__json__||_342.json;if(typeof tf=="function"){return tf.call(_342);}}return _342;},_341&&dojo.toJsonIndentStr);};return dojo;});},"dojo/json":function(){define("dojo/json",["./has"],function(has){"use strict";var _343=typeof JSON!="undefined";has.add("json-parse",_343);has.add("json-stringify",_343&&JSON.stringify({a:0},function(k,v){return v||1;})=="{\"a\":1}");if(has("json-stringify")){return JSON;}else{var _344=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,_345){if(_345&&!/^([\s\[\{]*(?:"(?:\\.|[^"])+"|-?\d[\d\.]*(?:[Ee][+-]?\d+)?|null|true|false|)[\s\]\}]*(?:,|:|$))+$/.test(str)){throw new SyntaxError("Invalid characters in JSON");}return eval("("+str+")");},stringify:function(_346,_347,_348){var _349;if(typeof _347=="string"){_348=_347;_347=null;}function _34a(it,_34b,key){if(_347){it=_347(key,it);}var val,_34c=typeof it;if(_34c=="number"){return isFinite(it)?it+"":"null";}if(_34c=="boolean"){return it+"";}if(it===null){return "null";}if(typeof it=="string"){return _344(it);}if(_34c=="function"||_34c=="undefined"){return _349;}if(typeof it.toJSON=="function"){return _34a(it.toJSON(key),_34b,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 _34a(it.valueOf(),_34b,key);}var _34d=_348?(_34b+_348):"";var sep=_348?" ":"";var _34e=_348?"\n":"";if(it instanceof Array){var itl=it.length,res=[];for(key=0;key>=bits;t[x]=bits==4?17*c:c;});t.a=1;return t;};_353.fromArray=dojo.colorFromArray=function(a,obj){var t=obj||new _353();t._set(Number(a[0]),Number(a[1]),Number(a[2]),Number(a[3]));if(isNaN(t.a)){t.a=1;}return t.sanitize();};_353.fromString=dojo.colorFromString=function(str,obj){var a=_353.named[str];return a&&_353.fromArray(a,obj)||_353.fromRgb(str,obj)||_353.fromHex(str,obj);};return _353;});},"dojo/_base/browser":function(){if(require.has){require.has.add("config-selectorEngine","acme");}define(["../ready","./kernel","./connect","./unload","./window","./event","./html","./NodeList","../query","./xhr","./fx"],function(dojo){return dojo;});},"dojo/_base/unload":function(){define(["./kernel","./lang","../on"],function(dojo,lang,on){var win=window;var _35b={addOnWindowUnload:function(obj,_35c){if(!dojo.windowUnloaded){on(win,"unload",(dojo.windowUnloaded=function(){}));}on(win,"unload",lang.hitch(obj,_35c));},addOnUnload:function(obj,_35d){on(win,"beforeunload",lang.hitch(obj,_35d));}};dojo.addOnWindowUnload=_35b.addOnWindowUnload;dojo.addOnUnload=_35b.addOnUnload;return _35b;});},"dojo/_base/html":function(){define(["./kernel","../dom","../dom-style","../dom-attr","../dom-prop","../dom-class","../dom-construct","../dom-geometry"],function(dojo,dom,_35e,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,_35f){if(arguments.length==2){return attr[typeof name=="string"?"get":"set"](node,name);}return attr.set(node,name,_35f);};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,_360){dojo.deprecated("dojo.coords()","Use dojo.position() or dojo.marginBox().");node=dom.byId(node);var s=_35e.getComputedStyle(node),mb=geom.getMarginBox(node,s);var abs=geom.position(node,_360);mb.x=abs.x;mb.y=abs.y;return mb;};dojo.getProp=prop.get;dojo.setProp=prop.set;dojo.prop=function(node,name,_361){if(arguments.length==2){return prop[typeof name=="string"?"get":"set"](node,name);}return prop.set(node,name,_361);};dojo.getStyle=_35e.get;dojo.setStyle=_35e.set;dojo.getComputedStyle=_35e.getComputedStyle;dojo.__toPixelValue=dojo.toPixelValue=_35e.toPixelValue;dojo.style=function(node,name,_362){switch(arguments.length){case 1:return _35e.get(node);case 2:return _35e[typeof name=="string"?"get":"set"](node,name);}return _35e.set(node,name,_362);};return dojo;});},"dojo/dom-attr":function(){define("dojo/dom-attr",["exports","./sniff","./_base/lang","./dom","./dom-style","./dom-prop"],function(_363,has,lang,dom,_364,prop){var _365={innerHTML:1,className:1,htmlFor:has("ie"),value:1},_366={classname:"class",htmlfor:"for",tabindex:"tabIndex",readonly:"readOnly"};function _367(node,name){var attr=node.getAttributeNode&&node.getAttributeNode(name);return attr&&attr.specified;};_363.has=function hasAttr(node,name){var lc=name.toLowerCase();return _365[prop.names[lc]||name]||_367(dom.byId(node),_366[lc]||name);};_363.get=function getAttr(node,name){node=dom.byId(node);var lc=name.toLowerCase(),_368=prop.names[lc]||name,_369=_365[_368],_36a=node[_368];if(_369&&typeof _36a!="undefined"){return _36a;}if(_368!="href"&&(typeof _36a=="boolean"||lang.isFunction(_36a))){return _36a;}var _36b=_366[lc]||name;return _367(node,_36b)?node.getAttribute(_36b):null;};_363.set=function setAttr(node,name,_36c){node=dom.byId(node);if(arguments.length==2){for(var x in name){_363.set(node,x,name[x]);}return node;}var lc=name.toLowerCase(),_36d=prop.names[lc]||name,_36e=_365[_36d];if(_36d=="style"&&typeof _36c!="string"){_364.set(node,_36c);return node;}if(_36e||typeof _36c=="boolean"||lang.isFunction(_36c)){return prop.set(node,name,_36c);}node.setAttribute(_366[lc]||name,_36c);return node;};_363.remove=function removeAttr(node,name){dom.byId(node).removeAttribute(_366[name.toLowerCase()]||name);};_363.getNodeProp=function getNodeProp(node,name){node=dom.byId(node);var lc=name.toLowerCase(),_36f=prop.names[lc]||name;if((_36f in node)&&_36f!="href"){return node[_36f];}var _370=_366[lc]||name;return _367(node,_370)?node.getAttribute(_370):null;};});},"dojo/dom-prop":function(){define("dojo/dom-prop",["exports","./_base/kernel","./sniff","./_base/lang","./dom","./dom-style","./dom-construct","./_base/connect"],function(_371,dojo,has,lang,dom,_372,ctr,conn){var _373={},_374=0,_375=dojo._scopeName+"attrid";_371.names={"class":"className","for":"htmlFor",tabindex:"tabIndex",readonly:"readOnly",colspan:"colSpan",frameborder:"frameBorder",rowspan:"rowSpan",valuetype:"valueType"};_371.get=function getProp(node,name){node=dom.byId(node);var lc=name.toLowerCase(),_376=_371.names[lc]||name;return node[_376];};_371.set=function setProp(node,name,_377){node=dom.byId(node);var l=arguments.length;if(l==2&&typeof name!="string"){for(var x in name){_371.set(node,x,name[x]);}return node;}var lc=name.toLowerCase(),_378=_371.names[lc]||name;if(_378=="style"&&typeof _377!="string"){_372.set(node,_377);return node;}if(_378=="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(_377,node.ownerDocument));}else{node[_378]=_377;}return node;}if(lang.isFunction(_377)){var _379=node[_375];if(!_379){_379=_374++;node[_375]=_379;}if(!_373[_379]){_373[_379]={};}var h=_373[_379][_378];if(h){conn.disconnect(h);}else{try{delete node[_378];}catch(e){}}if(_377){_373[_379][_378]=conn.connect(node,_378,_377);}else{node[_378]=null;}return node;}node[_378]=_377;return node;};});},"dojo/dom-construct":function(){define("dojo/dom-construct",["exports","./_base/kernel","./sniff","./_base/window","./dom","./dom-attr","./on"],function(_37a,dojo,has,win,dom,attr,on){var _37b={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"]},_37c=/<\s*([\w\:]+)/,_37d={},_37e=0,_37f="__"+dojo._scopeName+"ToDomId";for(var _380 in _37b){if(_37b.hasOwnProperty(_380)){var tw=_37b[_380];tw.pre=_380=="option"?"":"<"+tw.join("><")+">";tw.post="";}}function _381(node,ref){var _382=ref.parentNode;if(_382){_382.insertBefore(node,ref);}};function _383(node,ref){var _384=ref.parentNode;if(_384){if(_384.lastChild==ref){_384.appendChild(node);}else{_384.insertBefore(node,ref.nextSibling);}}};_37a.toDom=function toDom(frag,doc){doc=doc||win.doc;var _385=doc[_37f];if(!_385){doc[_37f]=_385=++_37e+"";_37d[_385]=doc.createElement("div");}frag+="";var _386=frag.match(_37c),tag=_386?_386[1].toLowerCase():"",_387=_37d[_385],wrap,i,fc,df;if(_386&&_37b[tag]){wrap=_37b[tag];_387.innerHTML=wrap.pre+frag+wrap.post;for(i=wrap.length;i;--i){_387=_387.firstChild;}}else{_387.innerHTML=frag;}if(_387.childNodes.length==1){return _387.removeChild(_387.firstChild);}df=doc.createDocumentFragment();while((fc=_387.firstChild)){df.appendChild(fc);}return df;};_37a.place=function place(node,_388,_389){_388=dom.byId(_388);if(typeof node=="string"){node=/^\s*=0);},add:function addClass(node,_395){node=dom.byId(node);_395=_392(_395);var cls=node[_390],_396;cls=cls?" "+cls+" ":" ";_396=cls.length;for(var i=0,len=_395.length,c;i0;};_3c1.filter=_3bf.filter||function(_3c5,_3c6,root){return _3c1(_3c6,root).filter(function(node){return _3a0.indexOf(_3c5,node)>-1;});};if(typeof _3bf!="function"){var _3c7=_3bf.search;_3bf=function(_3c8,root){return _3c7(root||document,_3c8);};}return _3c1;};var _3bb=_3be(_3a2,_3ac);dojo.query=_3be(_3a2,function(_3c9){return _3ac(_3c9);});_3bb.load=function(id,_3ca,_3cb){_3a1.load(id,_3ca,function(_3cc){_3cb(_3be(_3cc,_3ac));});};dojo._filterQueryResult=_3bb._filterResult=function(_3cd,_3ce,root){return new _3ac(_3bb.filter(_3cd,_3ce,root));};dojo.NodeList=_3bb.NodeList=_3ac;return _3bb;});},"dojo/selector/_loader":function(){define(["../has","require"],function(has,_3cf){"use strict";var _3d0=document.createElement("div");has.add("dom-qsa2.1",!!_3d0.querySelectorAll);has.add("dom-qsa3",function(){try{_3d0.innerHTML="

";return _3d0.querySelectorAll(".TEST:empty").length==1;}catch(e){}});var _3d1;var acme="./acme",lite="./lite";return {load:function(id,_3d2,_3d3,_3d4){var req=_3cf;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=_3d2)&&id;if(id.charAt(id.length-1)=="?"){id=id.substring(0,id.length-1);var _3d5=true;}if(_3d5&&(has("dom-compliant-qsa")||_3d1)){return _3d3(_3d1);}req([id],function(_3d6){if(id!="./lite"){_3d1=_3d6;}_3d3(_3d6);});}};});},"dojo/NodeList-dom":function(){define("dojo/NodeList-dom",["./_base/kernel","./query","./_base/array","./_base/lang","./dom-class","./dom-construct","./dom-geometry","./dom-attr","./dom-style"],function(dojo,_3d7,_3d8,lang,_3d9,_3da,_3db,_3dc,_3dd){var _3de=function(a){return a.length==1&&(typeof a[0]=="string");};var _3df=function(node){var p=node.parentNode;if(p){p.removeChild(node);}};var _3e0=_3d7.NodeList,awc=_3e0._adaptWithCondition,aafe=_3e0._adaptAsForEach,aam=_3e0._adaptAsMap;function _3e1(_3e2){return function(node,name,_3e3){if(arguments.length==2){return _3e2[typeof name=="string"?"get":"set"](node,name);}return _3e2.set(node,name,_3e3);};};lang.extend(_3e0,{_normalize:function(_3e4,_3e5){var _3e6=_3e4.parse===true;if(typeof _3e4.template=="string"){var _3e7=_3e4.templateFunc||(dojo.string&&dojo.string.substitute);_3e4=_3e7?_3e7(_3e4.template,_3e4):_3e4;}var type=(typeof _3e4);if(type=="string"||type=="number"){_3e4=_3da.toDom(_3e4,(_3e5&&_3e5.ownerDocument));if(_3e4.nodeType==11){_3e4=lang._toArray(_3e4.childNodes);}else{_3e4=[_3e4];}}else{if(!lang.isArrayLike(_3e4)){_3e4=[_3e4];}else{if(!lang.isArray(_3e4)){_3e4=lang._toArray(_3e4);}}}if(_3e6){_3e4._runParse=true;}return _3e4;},_cloneNode:function(node){return node.cloneNode(true);},_place:function(ary,_3e8,_3e9,_3ea){if(_3e8.nodeType!=1&&_3e9=="only"){return;}var _3eb=_3e8,_3ec;var _3ed=ary.length;for(var i=_3ed-1;i>=0;i--){var node=(_3ea?this._cloneNode(ary[i]):ary[i]);if(ary._runParse&&dojo.parser&&dojo.parser.parse){if(!_3ec){_3ec=_3eb.ownerDocument.createElement("div");}_3ec.appendChild(node);dojo.parser.parse(_3ec);node=_3ec.firstChild;while(_3ec.firstChild){_3ec.removeChild(_3ec.firstChild);}}if(i==_3ed-1){_3da.place(node,_3eb,_3e9);}else{_3eb.parentNode.insertBefore(node,_3eb);}_3eb=node;}},position:aam(_3db.position),attr:awc(_3e1(_3dc),_3de),style:awc(_3e1(_3dd),_3de),addClass:aafe(_3d9.add),removeClass:aafe(_3d9.remove),toggleClass:aafe(_3d9.toggle),replaceClass:aafe(_3d9.replace),empty:aafe(_3da.empty),removeAttr:aafe(_3dc.remove),marginBox:aam(_3db.getMarginBox),place:function(_3ee,_3ef){var item=_3d7(_3ee)[0];return this.forEach(function(node){_3da.place(node,item,_3ef);});},orphan:function(_3f0){return (_3f0?_3d7._filterResult(this,_3f0):this).forEach(_3df);},adopt:function(_3f1,_3f2){return _3d7(_3f1).place(this[0],_3f2)._stash(this);},query:function(_3f3){if(!_3f3){return this;}var ret=new _3e0;this.map(function(node){_3d7(_3f3,node).forEach(function(_3f4){if(_3f4!==undefined){ret.push(_3f4);}});});return ret._stash(this);},filter:function(_3f5){var a=arguments,_3f6=this,_3f7=0;if(typeof _3f5=="string"){_3f6=_3d7._filterResult(this,a[0]);if(a.length==1){return _3f6._stash(this);}_3f7=1;}return this._wrap(_3d8.filter(_3f6,a[_3f7],a[_3f7+1]),this);},addContent:function(_3f8,_3f9){_3f8=this._normalize(_3f8,this[0]);for(var i=0,node;(node=this[i]);i++){this._place(_3f8,node,_3f9,i>0);}return this;}});return _3e0;});},"dojo/_base/xhr":function(){define(["./kernel","./sniff","require","../io-query","../dom","../dom-form","./Deferred","./config","./json","./lang","./array","../on","../aspect","../request/watch","../request/xhr","../request/util"],function(dojo,has,_3fa,ioq,dom,_3fb,_3fc,_3fd,json,lang,_3fe,on,_3ff,_400,_401,util){dojo._xhrObj=_401._create;var cfg=dojo.config;dojo.objectToQuery=ioq.objectToQuery;dojo.queryToObject=ioq.queryToObject;dojo.fieldToObject=_3fb.fieldToObject;dojo.formToObject=_3fb.toObject;dojo.formToQuery=_3fb.toQuery;dojo.formToJson=_3fb.toJson;dojo._blockAsync=false;var _402=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(!_3fd.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 _403=xhr.responseText;var _404=_403.indexOf("/*");var _405=_403.lastIndexOf("*/");if(_404==-1||_405==-1){throw new Error("JSON was not comment filtered");}return json.fromJson(_403.substring(_404+2,_405));},"javascript":function(xhr){return dojo.eval(xhr.responseText);},"xml":function(xhr){var _406=xhr.responseXML;if(has("ie")){if((!_406||!_406.documentElement)){var ms=function(n){return "MSXML"+n+".DOMDocument";};var dp=["Microsoft.XMLDOM",ms(6),ms(4),ms(3),ms(2)];_3fe.some(dp,function(p){try{var dom=new ActiveXObject(p);dom.async=false;dom.loadXML(xhr.responseText);_406=dom;}catch(e){return false;}return true;});}}return _406;},"json-comment-optional":function(xhr){if(xhr.responseText&&/^[^{\[]*\/\*/.test(xhr.responseText)){return _402["json-comment-filtered"](xhr);}else{return _402["json"](xhr);}}};dojo._ioSetArgs=function(args,_407,_408,_409){var _40a={args:args,url:args.url};var _40b=null;if(args.form){var form=dom.byId(args.form);var _40c=form.getAttributeNode("action");_40a.url=_40a.url||(_40c?_40c.value:null);_40b=_3fb.toObject(form);}var _40d=[{}];if(_40b){_40d.push(_40b);}if(args.content){_40d.push(args.content);}if(args.preventCache){_40d.push({"dojo.preventCache":new Date().valueOf()});}_40a.query=ioq.objectToQuery(lang.mixin.apply(null,_40d));_40a.handleAs=args.handleAs||"text";var d=new _3fc(function(dfd){dfd.canceled=true;_407&&_407(dfd);var err=dfd.ioArgs.error;if(!err){err=new Error("request cancelled");err.dojoType="cancel";dfd.ioArgs.error=err;}return err;});d.addCallback(_408);var ld=args.load;if(ld&&lang.isFunction(ld)){d.addCallback(function(_40e){return ld.call(args,_40e,_40a);});}var err=args.error;if(err&&lang.isFunction(err)){d.addErrback(function(_40f){return err.call(args,_40f,_40a);});}var _410=args.handle;if(_410&&lang.isFunction(_410)){d.addBoth(function(_411){return _410.call(args,_411,_40a);});}d.addErrback(function(_412){return _409(_412,d);});if(cfg.ioPublish&&dojo.publish&&_40a.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=_40a;return d;};var _413=function(dfd){var ret=_402[dfd.ioArgs.handleAs](dfd.ioArgs.xhr);return ret===undefined?null:ret;};var _414=function(_415,dfd){if(!dfd.ioArgs.args.failOk){console.error(_415);}return _415;};var _416=function(dfd){if(_417<=0){_417=0;if(cfg.ioPublish&&dojo.publish&&(!dfd||dfd&&dfd.ioArgs.args.ioPublish!==false)){dojo.publish("/dojo/io/stop");}}};var _417=0;_3ff.after(_400,"_onAction",function(){_417-=1;});_3ff.after(_400,"_onInFlight",_416);dojo._ioCancelAll=_400.cancelAll;dojo._ioNotifyStart=function(dfd){if(cfg.ioPublish&&dojo.publish&&dfd.ioArgs.args.ioPublish!==false){if(!_417){dojo.publish("/dojo/io/start");}_417+=1;dojo.publish("/dojo/io/send",[dfd]);}};dojo._ioWatch=function(dfd,_418,_419,_41a){var args=dfd.ioArgs.options=dfd.ioArgs.args;lang.mixin(dfd,{response:dfd.ioArgs,isValid:function(_41b){return _418(dfd);},isReady:function(_41c){return _419(dfd);},handleResponse:function(_41d){return _41a(dfd);}});_400(dfd);_416(dfd);};var _41e="application/x-www-form-urlencoded";dojo._ioAddQueryToUrl=function(_41f){if(_41f.query.length){_41f.url+=(_41f.url.indexOf("?")==-1?"?":"&")+_41f.query;_41f.query=null;}};dojo.xhr=function(_420,args,_421){var rDfd;var dfd=dojo._ioSetArgs(args,function(dfd){rDfd&&rDfd.cancel();},_413,_414);var _422=dfd.ioArgs;if("postData" in args){_422.query=args.postData;}else{if("putData" in args){_422.query=args.putData;}else{if("rawBody" in args){_422.query=args.rawBody;}else{if((arguments.length>2&&!_421)||"POST|PUT".indexOf(_420.toUpperCase())===-1){dojo._ioAddQueryToUrl(_422);}}}}var _423={method:_420,handleAs:"text",timeout:args.timeout,withCredentials:args.withCredentials,ioArgs:_422};if(typeof args.headers!=="undefined"){_423.headers=args.headers;}if(typeof args.contentType!=="undefined"){if(!_423.headers){_423.headers={};}_423.headers["Content-Type"]=args.contentType;}if(typeof _422.query!=="undefined"){_423.data=_422.query;}if(typeof args.sync!=="undefined"){_423.sync=args.sync;}dojo._ioNotifyStart(dfd);try{rDfd=_401(_422.url,_423,true);}catch(e){dfd.cancel();return dfd;}dfd.ioArgs.xhr=rDfd.response.xhr;rDfd.then(function(){dfd.resolve(dfd);}).otherwise(function(_424){_422.error=_424;if(_424.response){_424.status=_424.response.status;_424.responseText=_424.response.text;_424.xhr=_424.response.xhr;}dfd.reject(_424);});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 _425;dojo.xhrGet({url:url,sync:true,load:function(text){_425=text;}});return _425;};lang.mixin(dojo.xhr,{_xhrObj:dojo._xhrObj,fieldToObject:_3fb.fieldToObject,formToObject:_3fb.toObject,objectToQuery:ioq.objectToQuery,formToQuery:_3fb.toQuery,formToJson:_3fb.toJson,queryToObject:ioq.queryToObject,contentHandlers:_402,_ioSetArgs:dojo._ioSetArgs,_ioCancelAll:dojo._ioCancelAll,_ioNotifyStart:dojo._ioNotifyStart,_ioWatch:dojo._ioWatch,_ioAddQueryToUrl:dojo._ioAddQueryToUrl,_isDocumentOk:dojo._isDocumentOk,_getText:dojo._getText,get:dojo.xhrGet,post:dojo.xhrPost,put:dojo.xhrPut,del:dojo.xhrDelete});return dojo.xhr;});},"dojo/io-query":function(){define(["./_base/lang"],function(lang){var _426={};return {objectToQuery:function objectToQuery(map){var enc=encodeURIComponent,_427=[];for(var name in map){var _428=map[name];if(_428!=_426[name]){var _429=enc(name)+"=";if(lang.isArray(_428)){for(var i=0,l=_428.length;i=200&&stat<300)||stat===304||stat===1223||!stat;};});},"dojo/errors/RequestError":function(){define(["./create"],function(_464){return _464("RequestError",function(_465,_466){this.response=_466;});});},"dojo/errors/RequestTimeoutError":function(){define(["./create","./RequestError"],function(_467,_468){return _467("RequestTimeoutError",null,_468,{dojoType:"timeout"});});},"dojo/request/xhr":function(){define(["../errors/RequestError","./watch","./handlers","./util","../has"],function(_469,_46a,_46b,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 _46c(_46d,_46e){var _46f=_46d.xhr;_46d.status=_46d.xhr.status;_46d.text=_46f.responseText;if(_46d.options.handleAs==="xml"){_46d.data=_46f.responseXML;}if(!_46e){try{_46b(_46d);}catch(e){_46e=e;}}if(_46e){this.reject(_46e);}else{if(util.checkStatus(_46f.status)){this.resolve(_46d);}else{_46e=new _469("Unable to load "+_46d.url+" status: "+_46f.status,_46d);this.reject(_46e);}}};var _470,_471,_472,_473;if(has("native-xhr2")){_470=function(_474){return !this.isFulfilled();};_473=function(dfd,_475){_475.xhr.abort();};_472=function(_476,dfd,_477){function _478(evt){dfd.handleResponse(_477);};function _479(evt){var _47a=evt.target;var _47b=new _469("Unable to load "+_477.url+" status: "+_47a.status,_477);dfd.handleResponse(_477,_47b);};function _47c(evt){if(evt.lengthComputable){_477.loaded=evt.loaded;_477.total=evt.total;dfd.progress(_477);}};_476.addEventListener("load",_478,false);_476.addEventListener("error",_479,false);_476.addEventListener("progress",_47c,false);return function(){_476.removeEventListener("load",_478,false);_476.removeEventListener("error",_479,false);_476.removeEventListener("progress",_47c,false);};};}else{_470=function(_47d){return _47d.xhr.readyState;};_471=function(_47e){return 4===_47e.xhr.readyState;};_473=function(dfd,_47f){var xhr=_47f.xhr;var _480=typeof xhr.abort;if(_480==="function"||_480==="object"||_480==="unknown"){xhr.abort();}};}var _481,_482={data:null,query:null,sync:false,method:"GET",headers:{"Content-Type":"application/x-www-form-urlencoded"}};function xhr(url,_483,_484){var _485=util.parseArgs(url,util.deepCreate(_482,_483),has("native-formdata")&&_483&&_483.data&&_483.data instanceof FormData);url=_485.url;_483=_485.options;var _486,last=function(){_486&&_486();};var dfd=util.deferred(_485,_473,_470,_471,_46c,last);var _487=_485.xhr=xhr._create();if(!_487){dfd.cancel(new _469("XHR was not created"));return _484?dfd:dfd.promise;}_485.getHeader=function(_488){return this.xhr.getResponseHeader(_488);};if(_472){_486=_472(_487,dfd,_485);}var data=_483.data,_489=!_483.sync,_48a=_483.method;try{_487.open(_48a,url,_489,_483.user||_481,_483.password||_481);if(_483.withCredentials){_487.withCredentials=_483.withCredentials;}var _48b=_483.headers,_48c;if(_48b){for(var hdr in _48b){if(hdr.toLowerCase()==="content-type"){_48c=_48b[hdr];}else{if(_48b[hdr]){_487.setRequestHeader(hdr,_48b[hdr]);}}}}if(_48c&&_48c!==false){_487.setRequestHeader("Content-Type",_48c);}if(!_48b||!("X-Requested-With" in _48b)){_487.setRequestHeader("X-Requested-With","XMLHttpRequest");}if(util.notify){util.notify.emit("send",_485,dfd.promise.cancel);}_487.send(data);}catch(e){dfd.reject(e);}_46a(dfd);_487=null;return _484?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/request/handlers":function(){define(["../json","../_base/kernel","../_base/array","../has"],function(JSON,_48d,_48e,has){has.add("activex",typeof ActiveXObject!=="undefined");var _48f;if(has("activex")){var dp=["Msxml2.DOMDocument.6.0","Msxml2.DOMDocument.4.0","MSXML2.DOMDocument.3.0","MSXML.DOMDocument"];_48f=function(_490){var _491=_490.data;if(!_491||!_491.documentElement){var text=_490.text;_48e.some(dp,function(p){try{var dom=new ActiveXObject(p);dom.async=false;dom.loadXML(text);_491=dom;}catch(e){return false;}return true;});}return _491;};}var _492={"javascript":function(_493){return _48d.eval(_493.text||"");},"json":function(_494){return JSON.parse(_494.text||null);},"xml":_48f};function _495(_496){var _497=_492[_496.options.handleAs];_496.data=_497?_497(_496):(_496.data||_496.text);return _496;};_495.register=function(name,_498){_492[name]=_498;};return _495;});},"dojo/_base/fx":function(){define(["./kernel","./config","./lang","../Evented","./Color","./connect","./sniff","../dom","../dom-style"],function(dojo,_499,lang,_49a,_49b,_49c,has,dom,_49d){var _49e=lang.mixin;var _49f={};var _4a0=_49f._Line=function(_4a1,end){this.start=_4a1;this.end=end;};_4a0.prototype.getValue=function(n){return ((this.end-this.start)*n)+this.start;};var _4a2=_49f.Animation=function(args){_49e(this,args);if(lang.isArray(this.curve)){this.curve=new _4a0(this.curve[0],this.curve[1]);}};_4a2.prototype=new _49a();lang.extend(_4a2,{duration:350,repeat:0,rate:20,_percent:0,_startRepeatCount:0,_getStep:function(){var _4a3=this._percent,_4a4=this.easing;return _4a4?_4a4(_4a3):_4a3;},_fire:function(evt,args){var a=args||[];if(this[evt]){if(_499.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(_4a5,_4a6){var _4a7=this;if(_4a7._delayTimer){_4a7._clearTimer();}if(_4a6){_4a7._stopTimer();_4a7._active=_4a7._paused=false;_4a7._percent=0;}else{if(_4a7._active&&!_4a7._paused){return _4a7;}}_4a7._fire("beforeBegin",[_4a7.node]);var de=_4a5||_4a7.delay,_4a8=lang.hitch(_4a7,"_play",_4a6);if(de>0){_4a7._delayTimer=setTimeout(_4a8,de);return _4a7;}_4a8();return _4a7;},_play:function(_4a9){var _4aa=this;if(_4aa._delayTimer){_4aa._clearTimer();}_4aa._startTime=new Date().valueOf();if(_4aa._paused){_4aa._startTime-=_4aa.duration*_4aa._percent;}_4aa._active=true;_4aa._paused=false;var _4ab=_4aa.curve.getValue(_4aa._getStep());if(!_4aa._percent){if(!_4aa._startRepeatCount){_4aa._startRepeatCount=_4aa.repeat;}_4aa._fire("onBegin",[_4ab]);}_4aa._fire("onPlay",[_4ab]);_4aa._cycle();return _4aa;},pause:function(){var _4ac=this;if(_4ac._delayTimer){_4ac._clearTimer();}_4ac._stopTimer();if(!_4ac._active){return _4ac;}_4ac._paused=true;_4ac._fire("onPause",[_4ac.curve.getValue(_4ac._getStep())]);return _4ac;},gotoPercent:function(_4ad,_4ae){var _4af=this;_4af._stopTimer();_4af._active=_4af._paused=true;_4af._percent=_4ad;if(_4ae){_4af.play();}return _4af;},stop:function(_4b0){var _4b1=this;if(_4b1._delayTimer){_4b1._clearTimer();}if(!_4b1._timer){return _4b1;}_4b1._stopTimer();if(_4b0){_4b1._percent=1;}_4b1._fire("onStop",[_4b1.curve.getValue(_4b1._getStep())]);_4b1._active=_4b1._paused=false;return _4b1;},status:function(){if(this._active){return this._paused?"paused":"playing";}return "stopped";},_cycle:function(){var _4b2=this;if(_4b2._active){var curr=new Date().valueOf();var step=_4b2.duration===0?1:(curr-_4b2._startTime)/(_4b2.duration);if(step>=1){step=1;}_4b2._percent=step;if(_4b2.easing){step=_4b2.easing(step);}_4b2._fire("onAnimate",[_4b2.curve.getValue(step)]);if(_4b2._percent<1){_4b2._startTimer();}else{_4b2._active=false;if(_4b2.repeat>0){_4b2.repeat--;_4b2.play(null,true);}else{if(_4b2.repeat==-1){_4b2.play(null,true);}else{if(_4b2._startRepeatCount){_4b2.repeat=_4b2._startRepeatCount;_4b2._startRepeatCount=0;}}}_4b2._percent=0;_4b2._fire("onEnd",[_4b2.node]);!_4b2.repeat&&_4b2._stopTimer();}}return _4b2;},_clearTimer:function(){clearTimeout(this._delayTimer);delete this._delayTimer;}});var ctr=0,_4b3=null,_4b4={run:function(){}};lang.extend(_4a2,{_startTimer:function(){if(!this._timer){this._timer=_49c.connect(_4b4,"run",this,"_cycle");ctr++;}if(!_4b3){_4b3=setInterval(lang.hitch(_4b4,"run"),this.rate);}},_stopTimer:function(){if(this._timer){_49c.disconnect(this._timer);this._timer=null;ctr--;}if(ctr<=0){clearInterval(_4b3);_4b3=null;ctr=0;}}});var _4b5=has("ie")?function(node){var ns=node.style;if(!ns.width.length&&_49d.get(node,"width")=="auto"){ns.width="auto";}}:function(){};_49f._fade=function(args){args.node=dom.byId(args.node);var _4b6=_49e({properties:{}},args),_4b7=(_4b6.properties.opacity={});_4b7.start=!("start" in _4b6)?function(){return +_49d.get(_4b6.node,"opacity")||0;}:_4b6.start;_4b7.end=_4b6.end;var anim=_49f.animateProperty(_4b6);_49c.connect(anim,"beforeBegin",lang.partial(_4b5,_4b6.node));return anim;};_49f.fadeIn=function(args){return _49f._fade(_49e({end:1},args));};_49f.fadeOut=function(args){return _49f._fade(_49e({end:0},args));};_49f._defaultEasing=function(n){return 0.5+((Math.sin((n+1.5)*Math.PI))/2);};var _4b8=function(_4b9){this._properties=_4b9;for(var p in _4b9){var prop=_4b9[p];if(prop.start instanceof _49b){prop.tempColor=new _49b();}}};_4b8.prototype.getValue=function(r){var ret={};for(var p in this._properties){var prop=this._properties[p],_4ba=prop.start;if(_4ba instanceof _49b){ret[p]=_49b.blendColors(_4ba,prop.end,r,prop.tempColor).toCss();}else{if(!lang.isArray(_4ba)){ret[p]=((prop.end-_4ba)*r)+_4ba+(p!="opacity"?prop.units||"px":0);}}}return ret;};_49f.animateProperty=function(args){var n=args.node=dom.byId(args.node);if(!args.easing){args.easing=dojo._defaultEasing;}var anim=new _4a2(args);_49c.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]=_49e({},(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 _4bb=(p.toLowerCase().indexOf("color")>=0);function _4bc(node,p){var v={height:node.offsetHeight,width:node.offsetWidth}[p];if(v!==undefined){return v;}v=_49d.get(node,p);return (p=="opacity")?+v:(_4bb?v:parseFloat(v));};if(!("end" in prop)){prop.end=_4bc(n,p);}else{if(!("start" in prop)){prop.start=_4bc(n,p);}}if(_4bb){prop.start=new _49b(prop.start);prop.end=new _49b(prop.end);}else{prop.start=(p=="opacity")?+prop.start:parseFloat(prop.start);}}this.curve=new _4b8(pm);});_49c.connect(anim,"onAnimate",lang.hitch(_49d,"set",anim.node));return anim;};_49f.anim=function(node,_4bd,_4be,_4bf,_4c0,_4c1){return _49f.animateProperty({node:node,duration:_4be||_4a2.prototype.duration,properties:_4bd,easing:_4bf,onEnd:_4c0}).play(_4c1||0);};if(1){_49e(dojo,_49f);dojo._Animation=_4a2;}return _49f;});},"dojo/_base/loader":function(){define(["./kernel","../has","require","module","./json","./lang","./array"],function(dojo,has,_4c2,_4c3,json,lang,_4c4){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 _4c5=function(id){return {src:_4c3.id,id:id};},_4c6=function(name){return name.replace(/\./g,"/");},_4c7=/\/\/>>built/,_4c8=[],_4c9=[],_4ca=function(mid,_4cb,_4cc){_4c8.push(_4cc);_4c4.forEach(mid.split(","),function(mid){var _4cd=_4ce(mid,_4cb.module);_4c9.push(_4cd);_4cf(_4cd);});_4d0();},_4d0=(1?function(){var _4d1,mid;for(mid in _4d2){_4d1=_4d2[mid];if(_4d1.noReqPluginCheck===undefined){_4d1.noReqPluginCheck=/loadInit\!/.test(mid)||/require\!/.test(mid)?1:0;}if(!_4d1.executed&&!_4d1.noReqPluginCheck&&_4d1.injected==_4d3){return;}}_4d4(function(){var _4d5=_4c8;_4c8=[];_4c4.forEach(_4d5,function(cb){cb(1);});});}:(function(){var _4d6,_4d7=function(m){_4d6[m.mid]=1;for(var t,_4d8,deps=m.deps||[],i=0;i