/*
	Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
	Available via Academic Free License >= 2.1 OR the modified BSD license.
	see: http://dojotoolkit.org/license for details
*/

/*
	This is an optimized version of Dojo, built for deployment and not for
	development. To get sources and documentation, please visit:

		http://dojotoolkit.org
*/

(function(){var _1=null;if((_1||(typeof djConfig!="undefined"&&djConfig.scopeMap))&&(typeof window!="undefined")){var _2="",_3="",_4="",_5={},_6={};_1=_1||djConfig.scopeMap;for(var i=0;i<_1.length;i++){var _7=_1[i];_2+="var "+_7[0]+" = {}; "+_7[1]+" = "+_7[0]+";"+_7[1]+"._scopeName = '"+_7[1]+"';";_3+=(i==0?"":",")+_7[0];_4+=(i==0?"":",")+_7[1];_5[_7[0]]=_7[1];_6[_7[1]]=_7[0];}eval(_2+"dojo._scopeArgs = ["+_4+"];");dojo._scopePrefixArgs=_3;dojo._scopePrefix="(function("+_3+"){";dojo._scopeSuffix="})("+_4+")";dojo._scopeMap=_5;dojo._scopeMapRev=_6;}if(typeof this["loadFirebugConsole"]=="function"){this["loadFirebugConsole"]();}else{this.console=this.console||{};var cn=["assert","count","debug","dir","dirxml","error","group","groupEnd","info","profile","profileEnd","time","timeEnd","trace","warn","log"];var i=0,tn;while((tn=cn[i++])){if(!console[tn]){(function(){var _8=tn+"";console[_8]=("log" in console)?function(){var a=Array.apply({},arguments);a.unshift(_8+":");console["log"](a.join(" "));}:function(){};console[_8]._fake=true;})();}}}if(typeof dojo=="undefined"){dojo={_scopeName:"dojo",_scopePrefix:"",_scopePrefixArgs:"",_scopeSuffix:"",_scopeMap:{},_scopeMapRev:{}};}var d=dojo;if(typeof dijit=="undefined"){dijit={_scopeName:"dijit"};}if(typeof dojox=="undefined"){dojox={_scopeName:"dojox"};}if(!d._scopeArgs){d._scopeArgs=[dojo,dijit,dojox];}d.global=this;d.config={isDebug:false,debugAtAllCosts:false};var _9=typeof djConfig!="undefined"?djConfig:typeof dojoConfig!="undefined"?dojoConfig:null;if(_9){for(var c in _9){d.config[c]=_9[c];}}dojo.locale=d.config.locale;var _a="$Rev: 23917 $".match(/\d+/);dojo.version={major:0,minor:0,patch:0,flag:"toura-mulberry-4.0.0",revision:_a?+_a[0]:NaN,toString:function(){with(d.version){return major+"."+minor+"."+patch+flag+" ("+revision+")";}}};var _b,_c,_d={};for(var i in {toString:1}){_b=[];break;}dojo._extraNames=_b=_b||["hasOwnProperty","valueOf","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","constructor"];_c=_b.length;dojo._mixin=function(_e,_f){var _10,s,i;for(_10 in _f){s=_f[_10];if(!(_10 in _e)||(_e[_10]!==s&&(!(_10 in _d)||_d[_10]!==s))){_e[_10]=s;}}return _e;};dojo.mixin=function(obj,_11){if(!obj){obj={};}for(var i=1,l=arguments.length;i<l;i++){d._mixin(obj,arguments[i]);}return obj;};dojo._getProp=function(_12,_13,_14){var obj=_14||d.global;for(var i=0,p;obj&&(p=_12[i]);i++){if(i==0&&d._scopeMap[p]){p=d._scopeMap[p];}obj=(p in obj?obj[p]:(_13?obj[p]={}:undefined));}return obj;};dojo.setObject=function(_15,_16,_17){var _18=_15.split("."),p=_18.pop(),obj=d._getProp(_18,true,_17);return obj&&p?(obj[p]=_16):undefined;};dojo.getObject=function(_19,_1a,_1b){return d._getProp(_19.split("."),_1a,_1b);};dojo.exists=function(_1c,obj){return d.getObject(_1c,false,obj)!==undefined;};dojo["eval"]=function(_1d){return d.global.eval?d.global.eval(_1d):eval(_1d);};d.deprecated=d.experimental=function(){};d.mixin(d,{_loadedModules:{},_inFlightCount:0,_hasResource:{},_modulePrefixes:{dojo:{name:"dojo",value:"."},doh:{name:"doh",value:"../util/doh"},tests:{name:"tests",value:"tests"}},_moduleHasPrefix:function(_1e){var mp=d._modulePrefixes;return !!(mp[_1e]&&mp[_1e].value);},_getModulePrefix:function(_1f){var mp=d._modulePrefixes;if(d._moduleHasPrefix(_1f)){return mp[_1f].value;}return _1f;},_loadedUrls:[],_postLoad:false,_loaders:[],_unloaders:[],_loadNotifying:false});dojo._loadPath=function(_20,_21,cb){var uri=((_20.charAt(0)=="/"||_20.match(/^\w+:/))?"":d.baseUrl)+_20;try{currentModule=_21;return !_21?d._loadUri(uri,cb):d._loadUriAndCheck(uri,_21,cb);}catch(e){console.error(e);return false;}finally{currentModule=null;}};dojo._loadUri=function(uri,cb){if(d._loadedUrls[uri]){return true;}d._inFlightCount++;var _22=d._getText(uri,true);if(_22){d._loadedUrls[uri]=true;d._loadedUrls.push(uri);if(cb){_22=/^define\(/.test(_22)?_22:"("+_22+")";}else{_22=d._scopePrefix+_22+d._scopeSuffix;}if(!d.isIE){_22+="\r\n//@ sourceURL="+uri;}var _23=d["eval"](_22);if(cb){cb(_23);}}if(--d._inFlightCount==0&&d._postLoad&&d._loaders.length){setTimeout(function(){if(d._inFlightCount==0){d._callLoaded();}},0);}return !!_22;};dojo._loadUriAndCheck=function(uri,_24,cb){var ok=false;try{ok=d._loadUri(uri,cb);}catch(e){console.error("failed loading "+uri+" with error: "+e);}return !!(ok&&d._loadedModules[_24]);};dojo.loaded=function(){d._loadNotifying=true;d._postLoad=true;var mll=d._loaders;d._loaders=[];for(var x=0;x<mll.length;x++){mll[x]();}d._loadNotifying=false;if(d._postLoad&&d._inFlightCount==0&&mll.length){d._callLoaded();}};dojo.unloaded=function(){var mll=d._unloaders;while(mll.length){(mll.pop())();}};d._onto=function(arr,obj,fn){if(!fn){arr.push(obj);}else{if(fn){var _25=(typeof fn=="string")?obj[fn]:fn;arr.push(function(){_25.call(obj);});}}};dojo.ready=dojo.addOnLoad=function(obj,_26){d._onto(d._loaders,obj,_26);if(d._postLoad&&d._inFlightCount==0&&!d._loadNotifying){d._callLoaded();}};var dca=d.config.addOnLoad;if(dca){d.addOnLoad[(dca instanceof Array?"apply":"call")](d,dca);}dojo._modulesLoaded=function(){if(d._postLoad){return;}if(d._inFlightCount>0){console.warn("files still in flight!");return;}d._callLoaded();};dojo._callLoaded=function(){if(typeof setTimeout=="object"||(d.config.useXDomain&&d.isOpera)){setTimeout(d.isAIR?function(){d.loaded();}:d._scopeName+".loaded();",0);}else{d.loaded();}};dojo._getModuleSymbols=function(_27){var _28=_27.split(".");for(var i=_28.length;i>0;i--){var _29=_28.slice(0,i).join(".");if(i==1&&!d._moduleHasPrefix(_29)){_28[0]="../"+_28[0];}else{var _2a=d._getModulePrefix(_29);if(_2a!=_29){_28.splice(0,i,_2a);break;}}}return _28;};dojo._global_omit_module_check=false;dojo.loadInit=function(_2b){_2b();};dojo._loadModule=dojo.require=function(_2c,_2d){_2d=d._global_omit_module_check||_2d;var _2e=d._loadedModules[_2c];if(_2e){return _2e;}var _2f=d._getModuleSymbols(_2c).join("/")+".js";var _30=!_2d?_2c:null;var ok=d._loadPath(_2f,_30);if(!ok&&!_2d){throw new Error("Could not load '"+_2c+"'; last tried '"+_2f+"'");}if(!_2d&&!d._isXDomain){_2e=d._loadedModules[_2c];if(!_2e){throw new Error("symbol '"+_2c+"' is not defined after loading '"+_2f+"'");}}return _2e;};dojo.provide=function(_31){_31=_31+"";return (d._loadedModules[_31]=d.getObject(_31,true));};dojo.platformRequire=function(_32){var _33=_32.common||[];var _34=_33.concat(_32[d._name]||_32["default"]||[]);for(var x=0;x<_34.length;x++){var _35=_34[x];if(_35.constructor==Array){d._loadModule.apply(d,_35);}else{d._loadModule(_35);}}};dojo.requireIf=function(_36,_37){if(_36===true){var _38=[];for(var i=1;i<arguments.length;i++){_38.push(arguments[i]);}d.require.apply(d,_38);}};dojo.requireAfterIf=d.requireIf;dojo.registerModulePath=function(_39,_3a){d._modulePrefixes[_39]={name:_39,value:_3a};};dojo.requireLocalization=function(_3b,_3c,_3d,_3e){d.require("dojo.i18n");d.i18n._requireLocalization.apply(d.hostenv,arguments);};var ore=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),ire=new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$");dojo._Url=function(){var n=null,_3f=arguments,uri=[_3f[0]];for(var i=1;i<_3f.length;i++){if(!_3f[i]){continue;}var _40=new d._Url(_3f[i]+""),_41=new d._Url(uri[0]+"");if(_40.path==""&&!_40.scheme&&!_40.authority&&!_40.query){if(_40.fragment!=n){_41.fragment=_40.fragment;}_40=_41;}else{if(!_40.scheme){_40.scheme=_41.scheme;if(!_40.authority){_40.authority=_41.authority;if(_40.path.charAt(0)!="/"){var _42=_41.path.substring(0,_41.path.lastIndexOf("/")+1)+_40.path;var _43=_42.split("/");for(var j=0;j<_43.length;j++){if(_43[j]=="."){if(j==_43.length-1){_43[j]="";}else{_43.splice(j,1);j--;}}else{if(j>0&&!(j==1&&_43[0]=="")&&_43[j]==".."&&_43[j-1]!=".."){if(j==(_43.length-1)){_43.splice(j,1);_43[j-1]="";}else{_43.splice(j-1,2);j-=2;}}}}_40.path=_43.join("/");}}}}uri=[];if(_40.scheme){uri.push(_40.scheme,":");}if(_40.authority){uri.push("//",_40.authority);}uri.push(_40.path);if(_40.query){uri.push("?",_40.query);}if(_40.fragment){uri.push("#",_40.fragment);}}this.uri=uri.join("");var r=this.uri.match(ore);this.scheme=r[2]||(r[1]?"":n);this.authority=r[4]||(r[3]?"":n);this.path=r[5];this.query=r[7]||(r[6]?"":n);this.fragment=r[9]||(r[8]?"":n);if(this.authority!=n){r=this.authority.match(ire);this.user=r[3]||n;this.password=r[4]||n;this.host=r[6]||r[7];this.port=r[9]||n;}};dojo._Url.prototype.toString=function(){return this.uri;};dojo.moduleUrl=function(_44,url){var loc=d._getModuleSymbols(_44).join("/");if(!loc){return null;}if(loc.lastIndexOf("/")!=loc.length-1){loc+="/";}var _45=loc.indexOf(":");if(loc.charAt(0)!="/"&&(_45==-1||_45>loc.indexOf("/"))){loc=d.baseUrl+loc;}return new d._Url(loc,url);};dojo.isBrowser=true;dojo._name="browser";if(document&&document.getElementsByTagName){var _46=document.getElementsByTagName("script");var _47=/dojo(\.xd)?\.js(\W|$)/i;for(var i=0;i<_46.length;i++){var src=_46[i].getAttribute("src");if(!src){continue;}var m=src.match(_47);if(m){if(!d.config.baseUrl){d.config.baseUrl=src.substring(0,m.index);}var _9=(_46[i].getAttribute("djConfig")||_46[i].getAttribute("data-dojo-config"));if(_9){var _48=eval("({ "+_9+" })");for(var x in _48){dojo.config[x]=_48[x];}}break;}}}d.baseUrl=d.config.baseUrl;var n=navigator;var dua=n.userAgent,dav=n.appVersion,tv=parseFloat(dav);if(dua.indexOf("Opera")>=0){d.isOpera=tv;}if(dua.indexOf("AdobeAIR")>=0){d.isAIR=1;}d.isKhtml=(dav.indexOf("Konqueror")>=0)?tv:0;d.isWebKit=parseFloat(dua.split("WebKit/")[1])||undefined;d.isChrome=parseFloat(dua.split("Chrome/")[1])||undefined;d.isMac=dav.indexOf("Macintosh")>=0;var _49=Math.max(dav.indexOf("WebKit"),dav.indexOf("Safari"),0);if(_49&&!dojo.isChrome){d.isSafari=parseFloat(dav.split("Version/")[1]);if(!d.isSafari||parseFloat(dav.substr(_49+7))<=419.3){d.isSafari=2;}}d.isQuirks=document.compatMode=="BackCompat";d.locale=dojo.config.locale||(d.isIE?n.userLanguage:n.language).toLowerCase();d._xhrObj=function(){var _4a,_4b;try{_4a=new XMLHttpRequest();}catch(e){}if(!_4a){throw new Error("XMLHTTP not available: "+_4b);}return _4a;};d._isDocumentOk=function(_4c){var _4d=_4c.status||0;return (_4d>=200&&_4d<300)||_4d==304||_4d==1223||!_4d;};var _4e=window.location+"";var _4f=document.getElementsByTagName("base");var _50=(_4f&&_4f.length>0);d._getText=function(uri,_51){var _52=d._xhrObj();if(!_50&&dojo._Url){uri=(new dojo._Url(_4e,uri)).toString();}if(d.config.cacheBust){uri+="";uri+=(uri.indexOf("?")==-1?"?":"&")+String(d.config.cacheBust).replace(/\W+/g,"");}_52.open("GET",uri,false);try{_52.send(null);if(!d._isDocumentOk(_52)){var err=Error("Unable to load "+uri+" status:"+_52.status);err.status=_52.status;err.responseText=_52.responseText;throw err;}}catch(e){if(_51){return null;}throw e;}return _52.responseText;};var _53=window;var _54=function(_55,fp){var _56=_53.attachEvent||_53.addEventListener;_55=_53.attachEvent?_55:_55.substring(2);_56(_55,function(){fp.apply(_53,arguments);},false);};d._windowUnloaders=[];d.windowUnloaded=function(){var mll=d._windowUnloaders;while(mll.length){(mll.pop())();}d=null;};var _57=0;d.addOnWindowUnload=function(obj,_58){d._onto(d._windowUnloaders,obj,_58);if(!_57){_57=1;_54("onunload",d.windowUnloaded);}};var _59=0;d.addOnUnload=function(obj,_5a){d._onto(d._unloaders,obj,_5a);if(!_59){_59=1;_54("onbeforeunload",dojo.unloaded);}};dojo._initFired=false;dojo._loadInit=function(e){if(dojo._scrollIntervalId){clearInterval(dojo._scrollIntervalId);dojo._scrollIntervalId=0;}if(!dojo._initFired){dojo._initFired=true;if(!dojo.config.afterOnLoad&&window.detachEvent){window.detachEvent("onload",dojo._loadInit);}if(dojo._inFlightCount==0){dojo._modulesLoaded();}}};if(!dojo.config.afterOnLoad){if(document.addEventListener){document.addEventListener("DOMContentLoaded",dojo._loadInit,false);window.addEventListener("load",dojo._loadInit,false);}else{if(window.attachEvent){window.attachEvent("onload",dojo._loadInit);if(!dojo.config.skipIeDomLoaded&&self===self.top){dojo._scrollIntervalId=setInterval(function(){try{if(document.body){document.documentElement.doScroll("left");dojo._loadInit();}}catch(e){}},30);}}}}var mp=dojo.config["modulePaths"];if(mp){for(var _5b in mp){dojo.registerModulePath(_5b,mp[_5b]);}}if(dojo.config.isDebug){dojo.require("dojo._firebug.firebug");}if(dojo.config.debugAtAllCosts){dojo.require("dojo._base._loader.loader_debug");}if(!dojo._hasResource["dojo._base.lang"]){dojo._hasResource["dojo._base.lang"]=true;dojo.provide("dojo._base.lang");(function(){var d=dojo,_5c=Object.prototype.toString;dojo.isString=function(it){return (typeof it=="string"||it instanceof String);};dojo.isArray=function(it){return it&&(it instanceof Array||typeof it=="array");};dojo.isFunction=function(it){return _5c.call(it)==="[object Function]";};dojo.isObject=function(it){return it!==undefined&&(it===null||typeof it=="object"||d.isArray(it)||d.isFunction(it));};dojo.isArrayLike=function(it){return it&&it!==undefined&&!d.isString(it)&&!d.isFunction(it)&&!(it.tagName&&it.tagName.toLowerCase()=="form")&&(d.isArray(it)||isFinite(it.length));};dojo.isAlien=function(it){return it&&!d.isFunction(it)&&/\{\s*\[native code\]\s*\}/.test(String(it));};dojo.extend=function(_5d,_5e){for(var i=1,l=arguments.length;i<l;i++){d._mixin(_5d.prototype,arguments[i]);}return _5d;};dojo._hitchArgs=function(_5f,_60){var pre=d._toArray(arguments,2);var _61=d.isString(_60);return function(){var _62=d._toArray(arguments);var f=_61?(_5f||d.global)[_60]:_60;return f&&f.apply(_5f||this,pre.concat(_62));};};dojo.hitch=function(_63,_64){if(arguments.length>2){return d._hitchArgs.apply(d,arguments);}if(!_64){_64=_63;_63=null;}if(d.isString(_64)){_63=_63||d.global;if(!_63[_64]){throw (["dojo.hitch: scope[\"",_64,"\"] is null (scope=\"",_63,"\")"].join(""));}return function(){return _63[_64].apply(_63,arguments||[]);};}return !_63?_64:function(){return _64.apply(_63,arguments||[]);};};dojo.delegate=dojo._delegate=(function(){function TMP(){};return function(obj,_65){TMP.prototype=obj;var tmp=new TMP();TMP.prototype=null;if(_65){d._mixin(tmp,_65);}return tmp;};})();var _66=function(obj,_67,_68){return (_68||[]).concat(Array.prototype.slice.call(obj,_67||0));};dojo._toArray=_66;dojo.partial=function(_69){var arr=[null];return d.hitch.apply(d,arr.concat(d._toArray(arguments)));};var _6a=d._extraNames,_c=_6a.length,_d={};dojo.clone=function(o){if(!o||typeof o!="object"||d.isFunction(o)){return o;}if(o.nodeType&&"cloneNode" in o){return o.cloneNode(true);}if(o instanceof Date){return new Date(o.getTime());}if(o instanceof RegExp){return new RegExp(o);}var r,i,l,s,_6b;if(d.isArray(o)){r=[];for(i=0,l=o.length;i<l;++i){if(i in o){r.push(d.clone(o[i]));}}}else{r=o.constructor?new o.constructor():{};}for(_6b in o){s=o[_6b];if(!(_6b in r)||(r[_6b]!==s&&(!(_6b in _d)||_d[_6b]!==s))){r[_6b]=d.clone(s);}}return r;};dojo.trim=String.prototype.trim?function(str){return str.trim();}:function(str){return str.replace(/^\s\s*/,"").replace(/\s\s*$/,"");};var _6c=/\{([^\}]+)\}/g;dojo.replace=function(_6d,map,_6e){return _6d.replace(_6e||_6c,d.isFunction(map)?map:function(_6f,k){return d.getObject(k,false,map);});};})();}if(!dojo._hasResource["dojo._base.array"]){dojo._hasResource["dojo._base.array"]=true;dojo.provide("dojo._base.array");["indexOf","lastIndexOf","forEach","map","some","every","filter"].forEach(function(_70,idx){dojo[_70]=function(arr,_71,_72){if((idx>1)&&(typeof _71=="string")){_71=new Function("item","index","array",_71);}return Array.prototype[_70].call(arr,_71,_72);};});}if(!dojo._hasResource["dojo._base.declare"]){dojo._hasResource["dojo._base.declare"]=true;dojo.provide("dojo._base.declare");(function(){var d=dojo,mix=d._mixin,op=Object.prototype,_73=op.toString,_74=new Function,_75=0,_76="constructor";function err(msg,cls){throw new Error("declare"+(cls?" "+cls:"")+": "+msg);};function _77(_78,_79){var _7a=[],_7b=[{cls:0,refs:[]}],_7c={},_7d=1,l=_78.length,i=0,j,lin,_4f,top,_7e,rec,_7f,_80;for(;i<l;++i){_4f=_78[i];if(!_4f){err("mixin #"+i+" is unknown. Did you use dojo.require to pull it in?",_79);}else{if(_73.call(_4f)!="[object Function]"){err("mixin #"+i+" is not a callable constructor.",_79);}}lin=_4f._meta?_4f._meta.bases:[_4f];top=0;for(j=lin.length-1;j>=0;--j){_7e=lin[j].prototype;if(!_7e.hasOwnProperty("declaredClass")){_7e.declaredClass="uniqName_"+(_75++);}_7f=_7e.declaredClass;if(!_7c.hasOwnProperty(_7f)){_7c[_7f]={count:0,refs:[],cls:lin[j]};++_7d;}rec=_7c[_7f];if(top&&top!==rec){rec.refs.push(top);++top.count;}top=rec;}++top.count;_7b[0].refs.push(top);}while(_7b.length){top=_7b.pop();_7a.push(top.cls);--_7d;while(_80=top.refs,_80.length==1){top=_80[0];if(!top||--top.count){top=0;break;}_7a.push(top.cls);--_7d;}if(top){for(i=0,l=_80.length;i<l;++i){top=_80[i];if(!--top.count){_7b.push(top);}}}}if(_7d){err("can't build consistent linearization",_79);}_4f=_78[0];_7a[0]=_4f?_4f._meta&&_4f===_7a[_7a.length-_4f._meta.bases.length]?_4f._meta.bases.length:1:0;return _7a;};function _81(_82,a,f){var _83,_84,_85,_86,_87,_4f,_88,opf,pos,_89=this._inherited=this._inherited||{};if(typeof _82=="string"){_83=_82;_82=a;a=f;}f=0;_86=_82.callee;_83=_83||_86.nom;if(!_83){err("can't deduce a name to call inherited()",this.declaredClass);}_87=this.constructor._meta;_85=_87.bases;pos=_89.p;if(_83!=_76){if(_89.c!==_86){pos=0;_4f=_85[0];_87=_4f._meta;if(_87.hidden[_83]!==_86){_84=_87.chains;if(_84&&typeof _84[_83]=="string"){err("calling chained method with inherited: "+_83,this.declaredClass);}do{_87=_4f._meta;_88=_4f.prototype;if(_87&&(_88[_83]===_86&&_88.hasOwnProperty(_83)||_87.hidden[_83]===_86)){break;}}while(_4f=_85[++pos]);pos=_4f?pos:-1;}}_4f=_85[++pos];if(_4f){_88=_4f.prototype;if(_4f._meta&&_88.hasOwnProperty(_83)){f=_88[_83];}else{opf=op[_83];do{_88=_4f.prototype;f=_88[_83];if(f&&(_4f._meta?_88.hasOwnProperty(_83):f!==opf)){break;}}while(_4f=_85[++pos]);}}f=_4f&&f||op[_83];}else{if(_89.c!==_86){pos=0;_87=_85[0]._meta;if(_87&&_87.ctor!==_86){_84=_87.chains;if(!_84||_84.constructor!=="manual"){err("calling chained constructor with inherited",this.declaredClass);}while(_4f=_85[++pos]){_87=_4f._meta;if(_87&&_87.ctor===_86){break;}}pos=_4f?pos:-1;}}while(_4f=_85[++pos]){_87=_4f._meta;f=_87?_87.ctor:_4f;if(f){break;}}f=_4f&&f;}_89.c=f;_89.p=pos;if(f){return a===true?f:f.apply(this,a||_82);}};function _8a(_8b,_8c){if(typeof _8b=="string"){return this.inherited(_8b,_8c,true);}return this.inherited(_8b,true);};function _8d(cls){var _8e=this.constructor._meta.bases;for(var i=0,l=_8e.length;i<l;++i){if(_8e[i]===cls){return true;}}return this instanceof cls;};function _8f(_90,_91){var _92,i=0,l=d._extraNames.length;for(_92 in _91){if(_92!=_76&&_91.hasOwnProperty(_92)){_90[_92]=_91[_92];}}for(;i<l;++i){_92=d._extraNames[i];if(_92!=_76&&_91.hasOwnProperty(_92)){_90[_92]=_91[_92];}}};function _93(_94,_95){var _96,t,i=0,l=d._extraNames.length;for(_96 in _95){t=_95[_96];if((t!==op[_96]||!(_96 in op))&&_96!=_76){if(_73.call(t)=="[object Function]"){t.nom=_96;}_94[_96]=t;}}for(;i<l;++i){_96=d._extraNames[i];t=_95[_96];if((t!==op[_96]||!(_96 in op))&&_96!=_76){if(_73.call(t)=="[object Function]"){t.nom=_96;}_94[_96]=t;}}return _94;};function _97(_98){_93(this.prototype,_98);return this;};function _99(_9a,_9b){return function(){var a=arguments,_9c=a,a0=a[0],f,i,m,l=_9a.length,_9d;if(!(this instanceof a.callee)){return _9e(a);}if(_9b&&(a0&&a0.preamble||this.preamble)){_9d=new Array(_9a.length);_9d[0]=a;for(i=0;;){a0=a[0];if(a0){f=a0.preamble;if(f){a=f.apply(this,a)||a;}}f=_9a[i].prototype;f=f.hasOwnProperty("preamble")&&f.preamble;if(f){a=f.apply(this,a)||a;}if(++i==l){break;}_9d[i]=a;}}for(i=l-1;i>=0;--i){f=_9a[i];m=f._meta;f=m?m.ctor:f;if(f){f.apply(this,_9d?_9d[i]:a);}}f=this.postscript;if(f){f.apply(this,_9c);}};};function _9f(_a0,_a1){return function(){var a=arguments,t=a,a0=a[0],f;if(!(this instanceof a.callee)){return _9e(a);}if(_a1){if(a0){f=a0.preamble;if(f){t=f.apply(this,t)||t;}}f=this.preamble;if(f){f.apply(this,t);}}if(_a0){_a0.apply(this,a);}f=this.postscript;if(f){f.apply(this,a);}};};function _a2(_a3){return function(){var a=arguments,i=0,f,m;if(!(this instanceof a.callee)){return _9e(a);}for(;f=_a3[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 _a4(_a5,_a6,_a7){return function(){var b,m,f,i=0,_a8=1;if(_a7){i=_a6.length-1;_a8=-1;}for(;b=_a6[i];i+=_a8){m=b._meta;f=(m?m.hidden:b.prototype)[_a5];if(f){f.apply(this,arguments);}}};};function _a9(_aa){_74.prototype=_aa.prototype;var t=new _74;_74.prototype=null;return t;};function _9e(_ab){var _ac=_ab.callee,t=_a9(_ac);_ac.apply(t,_ab);return t;};d.declare=function(_ad,_ae,_af){if(typeof _ad!="string"){_af=_ae;_ae=_ad;_ad="";}_af=_af||{};var _b0,i,t,_b1,_b2,_b3,_b4,_b5=1,_b6=_ae;if(_73.call(_ae)=="[object Array]"){_b3=_77(_ae,_ad);t=_b3[0];_b5=_b3.length-t;_ae=_b3[_b5];}else{_b3=[0];if(_ae){if(_73.call(_ae)=="[object Function]"){t=_ae._meta;_b3=_b3.concat(t?t.bases:_ae);}else{err("base class is not a callable constructor.",_ad);}}else{if(_ae!==null){err("unknown base class. Did you use dojo.require to pull it in?",_ad);}}}if(_ae){for(i=_b5-1;;--i){_b0=_a9(_ae);if(!i){break;}t=_b3[i];(t._meta?_8f:mix)(_b0,t.prototype);_b1=new Function;_b1.superclass=_ae;_b1.prototype=_b0;_ae=_b0.constructor=_b1;}}else{_b0={};}_93(_b0,_af);t=_af.constructor;if(t!==op.constructor){t.nom=_76;_b0.constructor=t;}for(i=_b5-1;i;--i){t=_b3[i]._meta;if(t&&t.chains){_b4=mix(_b4||{},t.chains);}}if(_b0["-chains-"]){_b4=mix(_b4||{},_b0["-chains-"]);}t=!_b4||!_b4.hasOwnProperty(_76);_b3[0]=_b1=(_b4&&_b4.constructor==="manual")?_a2(_b3):(_b3.length==1?_9f(_af.constructor,t):_99(_b3,t));_b1._meta={bases:_b3,hidden:_af,chains:_b4,parents:_b6,ctor:_af.constructor};_b1.superclass=_ae&&_ae.prototype;_b1.extend=_97;_b1.prototype=_b0;_b0.constructor=_b1;_b0.getInherited=_8a;_b0.inherited=_81;_b0.isInstanceOf=_8d;if(_ad){_b0.declaredClass=_ad;d.setObject(_ad,_b1);}if(_b4){for(_b2 in _b4){if(_b0[_b2]&&typeof _b4[_b2]=="string"&&_b2!=_76){t=_b0[_b2]=_a4(_b2,_b3,_b4[_b2]==="after");t.nom=_b2;}}}return _b1;};d.safeMixin=_93;})();}if(!dojo._hasResource["dojo._base.connect"]){dojo._hasResource["dojo._base.connect"]=true;dojo.provide("dojo._base.connect");dojo._listener={getDispatcher:function(){return function(){var ap=Array.prototype,c=arguments.callee,ls=c._listeners,t=c.target,r=t&&t.apply(this,arguments),i,lls=[].concat(ls);for(i in lls){if(!(i in ap)){lls[i].apply(this,arguments);}}return r;};},add:function(_b7,_b8,_b9){_b7=_b7||dojo.global;var f=_b7[_b8];if(!f||!f._listeners){var d=dojo._listener.getDispatcher();d.target=f;d._listeners=[];f=_b7[_b8]=d;}return f._listeners.push(_b9);},remove:function(_ba,_bb,_bc){var f=(_ba||dojo.global)[_bb];if(f&&f._listeners&&_bc--){delete f._listeners[_bc];}}};dojo.connect=function(obj,_bd,_be,_bf,_c0){var a=arguments,_c1=[],i=0;_c1.push(dojo.isString(a[0])?null:a[i++],a[i++]);var a1=a[i+1];_c1.push(dojo.isString(a1)||dojo.isFunction(a1)?a[i++]:null,a[i++]);for(var l=a.length;i<l;i++){_c1.push(a[i]);}return dojo._connect.apply(this,_c1);};dojo._connect=function(obj,_c2,_c3,_c4){var l=dojo._listener,h=l.add(obj,_c2,dojo.hitch(_c3,_c4));return [obj,_c2,h,l];};dojo.disconnect=function(_c5){if(_c5&&_c5[0]!==undefined){dojo._disconnect.apply(this,_c5);delete _c5[0];}};dojo._disconnect=function(obj,_c6,_c7,_c8){_c8.remove(obj,_c6,_c7);};dojo._topics={};dojo.subscribe=function(_c9,_ca,_cb){return [_c9,dojo._listener.add(dojo._topics,_c9,dojo.hitch(_ca,_cb))];};dojo.unsubscribe=function(_cc){if(_cc){dojo._listener.remove(dojo._topics,_cc[0],_cc[1]);}};dojo.publish=function(_cd,_ce){var f=dojo._topics[_cd];if(f){f.apply(this,_ce||[]);}};dojo.connectPublisher=function(_cf,obj,_d0){var pf=function(){dojo.publish(_cf,arguments);};return _d0?dojo.connect(obj,_d0,pf):dojo.connect(obj,pf);};}if(!dojo._hasResource["dojo._base.Deferred"]){dojo._hasResource["dojo._base.Deferred"]=true;dojo.provide("dojo._base.Deferred");(function(){var _d1=function(){};var _d2=Object.freeze||function(){};dojo.Deferred=function(_d3){var _d4,_d5,_d6,_d7,_d8;var _d9=(this.promise={});function _da(_db){if(_d5){throw new Error("This deferred has already been resolved");}_d4=_db;_d5=true;_dc();};function _dc(){var _dd;while(!_dd&&_d8){var _de=_d8;_d8=_d8.next;if((_dd=(_de.progress==_d1))){_d5=false;}var _df=(_d6?_de.error:_de.resolved);if(_df){try{var _e0=_df(_d4);if(_e0&&typeof _e0.then==="function"){_e0.then(dojo.hitch(_de.deferred,"resolve"),dojo.hitch(_de.deferred,"reject"));continue;}var _e1=_dd&&_e0===undefined;if(_dd&&!_e1){_d6=_e0 instanceof Error;}_de.deferred[_e1&&_d6?"reject":"resolve"](_e1?_d4:_e0);}catch(e){_de.deferred.reject(e);}}else{if(_d6){_de.deferred.reject(_d4);}else{_de.deferred.resolve(_d4);}}}};this.resolve=this.callback=function(_e2){this.fired=0;this.results=[_e2,null];_da(_e2);};this.reject=this.errback=function(_e3){_d6=true;this.fired=1;_da(_e3);this.results=[null,_e3];if(!_e3||_e3.log!==false){(dojo.config.deferredOnError||function(x){console.error(x);})(_e3);}};this.progress=function(_e4){var _e5=_d8;while(_e5){var _e6=_e5.progress;_e6&&_e6(_e4);_e5=_e5.next;}};this.addCallbacks=function(_e7,_e8){this.then(_e7,_e8,_d1);return this;};this.then=_d9.then=function(_e9,_ea,_eb){var _ec=_eb==_d1?this:new dojo.Deferred(_d9.cancel);var _ed={resolved:_e9,error:_ea,progress:_eb,deferred:_ec};if(_d8){_d7=_d7.next=_ed;}else{_d8=_d7=_ed;}if(_d5){_dc();}return _ec.promise;};var _ee=this;this.cancel=_d9.cancel=function(){if(!_d5){var _ef=_d3&&_d3(_ee);if(!_d5){if(!(_ef instanceof Error)){_ef=new Error(_ef);}_ef.log=false;_ee.reject(_ef);}}};_d2(_d9);};dojo.extend(dojo.Deferred,{addCallback:function(_f0){return this.addCallbacks(dojo.hitch.apply(dojo,arguments));},addErrback:function(_f1){return this.addCallbacks(null,dojo.hitch.apply(dojo,arguments));},addBoth:function(_f2){var _f3=dojo.hitch.apply(dojo,arguments);return this.addCallbacks(_f3,_f3);},fired:-1});})();dojo.when=function(_f4,_f5,_f6,_f7){if(_f4&&typeof _f4.then==="function"){return _f4.then(_f5,_f6,_f7);}return _f5(_f4);};}if(!dojo._hasResource["dojo._base.json"]){dojo._hasResource["dojo._base.json"]=true;dojo.provide("dojo._base.json");dojo.fromJson=function(_f8){return eval("("+_f8+")");};dojo._escapeString=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");};dojo.toJsonIndentStr="\t";dojo.toJson=function(it,_f9,_fa){if(it===undefined){return "undefined";}var _fb=typeof it;if(_fb=="number"||_fb=="boolean"){return it+"";}if(it===null){return "null";}if(dojo.isString(it)){return dojo._escapeString(it);}var _fc=arguments.callee;var _fd;_fa=_fa||"";var _fe=_f9?_fa+dojo.toJsonIndentStr:"";var tf=it.__json__||it.json;if(dojo.isFunction(tf)){_fd=tf.call(it);if(it!==_fd){return _fc(_fd,_f9,_fe);}}if(it.nodeType&&it.cloneNode){throw new Error("Can't serialize DOM nodes");}var sep=_f9?" ":"";var _ff=_f9?"\n":"";if(dojo.isArray(it)){var res=dojo.map(it,function(obj){var val=_fc(obj,_f9,_fe);if(typeof val!="string"){val="undefined";}return _ff+_fe+val;});return "["+res.join(","+sep)+_ff+_fa+"]";}if(_fb=="function"){return null;}var _100=[],key;for(key in it){var _101,val;if(typeof key=="number"){_101="\""+key+"\"";}else{if(typeof key=="string"){_101=dojo._escapeString(key);}else{continue;}}val=_fc(it[key],_f9,_fe);if(typeof val!="string"){continue;}_100.push(_ff+_fe+_101+":"+sep+val);}return "{"+_100.join(","+sep)+_ff+_fa+"}";};}if(!dojo._hasResource["dojo._base.Color"]){dojo._hasResource["dojo._base.Color"]=true;dojo.provide("dojo._base.Color");(function(){var d=dojo;dojo.Color=function(_102){if(_102){this.setColor(_102);}};dojo.Color.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:d.config.transparentColor||[255,255,255]};dojo.extend(dojo.Color,{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(_103){if(d.isString(_103)){d.colorFromString(_103,this);}else{if(d.isArray(_103)){d.colorFromArray(_103,this);}else{this._set(_103.r,_103.g,_103.b,_103.a);if(!(_103 instanceof d.Color)){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=d.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(_104){var t=this,rgb=t.r+", "+t.g+", "+t.b;return (_104?"rgba("+rgb+", "+t.a:"rgb("+rgb)+")";},toString:function(){return this.toCss(true);}});dojo.blendColors=function(_105,end,_106,obj){var t=obj||new d.Color();d.forEach(["r","g","b","a"],function(x){t[x]=_105[x]+(end[x]-_105[x])*_106;if(x!="a"){t[x]=Math.round(t[x]);}});return t.sanitize();};dojo.colorFromRgb=function(_107,obj){var m=_107.toLowerCase().match(/^rgba?\(([\s\.,0-9]+)\)/);return m&&dojo.colorFromArray(m[1].split(/\s*,\s*/),obj);};dojo.colorFromHex=function(_108,obj){var t=obj||new d.Color(),bits=(_108.length==4)?4:8,mask=(1<<bits)-1;_108=Number("0x"+_108.substr(1));if(isNaN(_108)){return null;}d.forEach(["b","g","r"],function(x){var c=_108&mask;_108>>=bits;t[x]=bits==4?17*c:c;});t.a=1;return t;};dojo.colorFromArray=function(a,obj){var t=obj||new d.Color();t._set(Number(a[0]),Number(a[1]),Number(a[2]),Number(a[3]));if(isNaN(t.a)){t.a=1;}return t.sanitize();};dojo.colorFromString=function(str,obj){var a=d.Color.named[str];return a&&d.colorFromArray(a,obj)||d.colorFromRgb(str,obj)||d.colorFromHex(str,obj);};})();}if(!dojo._hasResource["dojo._base.window"]){dojo._hasResource["dojo._base.window"]=true;dojo.provide("dojo._base.window");dojo.doc=window["document"]||null;dojo.body=function(){return dojo.doc.body||dojo.doc.getElementsByTagName("body")[0];};dojo.setContext=function(_109,_10a){dojo.global=_109;dojo.doc=_10a;};dojo.withGlobal=function(_10b,_10c,_10d,_10e){var _10f=dojo.global;try{dojo.global=_10b;return dojo.withDoc.call(null,_10b.document,_10c,_10d,_10e);}finally{dojo.global=_10f;}};dojo.withDoc=function(_110,_111,_112,_113){var _114=dojo.doc,_115=dojo._bodyLtr,oldQ=dojo.isQuirks;try{dojo.doc=_110;delete dojo._bodyLtr;dojo.isQuirks=dojo.doc.compatMode=="BackCompat";if(_112&&typeof _111=="string"){_111=_112[_111];}return _111.apply(_112,_113||[]);}finally{dojo.doc=_114;delete dojo._bodyLtr;if(_115!==undefined){dojo._bodyLtr=_115;}dojo.isQuirks=oldQ;}};}if(!dojo._hasResource["dojo._base.event"]){dojo._hasResource["dojo._base.event"]=true;dojo.provide("dojo._base.event");var del=(dojo._event_listener={add:function(node,name,fp){if(!node){return;}name=del._normalizeEventName(name);fp=del._fixCallback(name,fp);var _116=name;if((name=="mouseenter"||name=="mouseleave")){var ofp=fp;name=(name=="mouseenter")?"mouseover":"mouseout";fp=function(e){if(!dojo.isDescendant(e.relatedTarget,node)){return ofp.call(this,e);}};}node.addEventListener(name,fp,false);return fp;},remove:function(node,_117,_118){if(node){_117=del._normalizeEventName(_117);if(!dojo.isIE&&(_117=="mouseenter"||_117=="mouseleave")){_117=(_117=="mouseenter")?"mouseover":"mouseout";}node.removeEventListener(_117,_118,false);}},_normalizeEventName:function(name){return name.slice(0,2)=="on"?name.slice(2):name;},_fixCallback:function(name,fp){return name!="keypress"?fp:function(e){return fp.call(this,del._fixEvent(e,this));};},_fixEvent:function(evt,_119){switch(evt.type){case "keypress":del._setKeyChar(evt);break;}return evt;},_setKeyChar:function(evt){evt.keyChar=evt.charCode?String.fromCharCode(evt.charCode):"";evt.charOrCode=evt.keyChar||evt.keyCode;},_punctMap:{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}});dojo.fixEvent=function(evt,_11a){return del._fixEvent(evt,_11a);};dojo.stopEvent=function(evt){evt.preventDefault();evt.stopPropagation();};var _11b=dojo._listener;dojo._connect=function(obj,_11c,_11d,_11e,_11f){var _120=obj&&(obj.nodeType||obj.attachEvent||obj.addEventListener);var lid=_120?(_11f?2:1):0,l=[dojo._listener,del,_11b][lid];var h=l.add(obj,_11c,dojo.hitch(_11d,_11e));return [obj,_11c,h,lid];};dojo._disconnect=function(obj,_121,_122,_123){([dojo._listener,del,_11b][_123]).remove(obj,_121,_122);};dojo.keys={BACKSPACE:8,TAB:9,CLEAR:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,META:dojo.isSafari?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,copyKey:dojo.isMac&&!dojo.isAIR?(dojo.isSafari?91:224):17};var _124=dojo.isMac?"metaKey":"ctrlKey";dojo.isCopyKey=function(e){return e[_124];};dojo.mouseButtons={LEFT:0,MIDDLE:1,RIGHT:2,isButton:function(e,_125){return e.button==_125;},isLeft:function(e){return e.button==0;},isMiddle:function(e){return e.button==1;},isRight:function(e){return e.button==2;}};del._synthesizeEvent=function(evt,_126){var faux=dojo.mixin({},evt,_126);del._setKeyChar(faux);faux.preventDefault=function(){evt.preventDefault();};faux.stopPropagation=function(){evt.stopPropagation();};return faux;};del._add=del.add;del._remove=del.remove;dojo.mixin(del,{add:function(node,_127,fp){if(!node){return;}var _128=del._add(node,_127,fp);if(del._normalizeEventName(_127)=="keypress"){_128._stealthKeyDownHandle=del._add(node,"keydown",function(evt){var k=evt.keyCode;var _129=k!=13&&k!=32&&(k<48||k>90)&&(k<96||k>111)&&(k<186||k>192)&&(k<219||k>222);if(_129||evt.ctrlKey){var c=_129?0:k;if(evt.ctrlKey){if(k==3||k==13){return;}else{if(c>95&&c<106){c-=48;}else{if(!evt.shiftKey&&c>=65&&c<=90){c+=32;}else{c=del._punctMap[c]||c;}}}}var faux=del._synthesizeEvent(evt,{type:"keypress",faux:true,charCode:c});fp.call(evt.currentTarget,faux);}});}return _128;},remove:function(node,_12a,_12b){if(node){if(_12b._stealthKeyDownHandle){del._remove(node,"keydown",_12b._stealthKeyDownHandle);}del._remove(node,_12a,_12b);}},_fixEvent:function(evt,_12c){switch(evt.type){case "keypress":if(evt.faux){return evt;}var c=evt.charCode;c=c>=32?c:0;return del._synthesizeEvent(evt,{charCode:c,faux:true});}return evt;}});}if(!dojo._hasResource["dojo._base.html"]){dojo._hasResource["dojo._base.html"]=true;dojo.provide("dojo._base.html");dojo.byId=function(id,doc){return ((typeof id=="string")?(doc||dojo.doc).getElementById(id):id)||null;};var byId=d.byId;var _12d=null,_12e;dojo._destroyElement=dojo.destroy=function(node){node=byId(node);try{var doc=node.ownerDocument;if(!_12d||_12e!=doc){_12d=doc.createElement("div");_12e=doc;}_12d.appendChild(node.parentNode?node.parentNode.removeChild(node):node);_12d.innerHTML="";}catch(e){}};dojo.isDescendant=function(node,_12f){try{node=byId(node);_12f=byId(_12f);while(node){if(node==_12f){return true;}node=node.parentNode;}}catch(e){}return false;};dojo.setSelectable=function(node,_130){node=byId(node);node.style.KhtmlUserSelect=_130?"auto":"none";};var _131=function(node,ref){var _132=ref.parentNode;if(_132){_132.insertBefore(node,ref);}};var _133=function(node,ref){var _134=ref.parentNode;if(_134){if(_134.lastChild==ref){_134.appendChild(node);}else{_134.insertBefore(node,ref.nextSibling);}}};dojo.place=function(node,_135,_136){_135=byId(_135);if(typeof node=="string"){node=/^\s*</.test(node)?d._toDom(node,_135.ownerDocument):byId(node);}if(typeof _136=="number"){var cn=_135.childNodes;if(!cn.length||cn.length<=_136){_135.appendChild(node);}else{_131(node,cn[_136<0?0:_136]);}}else{switch(_136){case "before":_131(node,_135);break;case "after":_133(node,_135);break;case "replace":_135.parentNode.replaceChild(node,_135);break;case "only":d.empty(_135);_135.appendChild(node);break;case "first":if(_135.firstChild){_131(node,_135.firstChild);break;}default:_135.appendChild(node);}}return node;};dojo.boxModel="content-box";var gcs;gcs=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||{};};dojo.getComputedStyle=gcs;d._toPixelValue=function(_137,_138){return parseFloat(_138)||0;};var px=d._toPixelValue;dojo._getOpacity=function(node){return gcs(node).opacity;};dojo._setOpacity=function(node,_139){return node.style.opacity=_139;};var _13a={left:true,top:true};var _13b=/margin|padding|width|height|max|min|offset/;var _13c=function(node,type,_13d){type=type.toLowerCase();if(!(type in _13a)){_13a[type]=_13b.test(type);}return _13a[type]?px(node,_13d):_13d;};var _13e=d.isIE?"styleFloat":"cssFloat",_13f={"cssFloat":_13e,"styleFloat":_13e,"float":_13e};dojo.style=function(node,_140,_141){var n=byId(node),args=arguments.length,op=(_140=="opacity");_140=_13f[_140]||_140;if(args==3){return op?d._setOpacity(n,_141):n.style[_140]=_141;}if(args==2&&op){return d._getOpacity(n);}var s=gcs(n);if(args==2&&typeof _140!="string"){for(var x in _140){d.style(node,x,_140[x]);}return s;}return (args==1)?s:_13c(n,_140,s[_140]||n.style[_140]);};dojo._getPadExtents=function(n,_142){var s=_142||gcs(n),l=px(n,s.paddingLeft),t=px(n,s.paddingTop);return {l:l,t:t,w:l+px(n,s.paddingRight),h:t+px(n,s.paddingBottom)};};dojo._getBorderExtents=function(n,_143){var ne="none",s=_143||gcs(n),bl=(s.borderLeftStyle!=ne?px(n,s.borderLeftWidth):0),bt=(s.borderTopStyle!=ne?px(n,s.borderTopWidth):0);return {l:bl,t:bt,w:bl+(s.borderRightStyle!=ne?px(n,s.borderRightWidth):0),h:bt+(s.borderBottomStyle!=ne?px(n,s.borderBottomWidth):0)};};dojo._getPadBorderExtents=function(n,_144){var s=_144||gcs(n),p=d._getPadExtents(n,s),b=d._getBorderExtents(n,s);return {l:p.l+b.l,t:p.t+b.t,w:p.w+b.w,h:p.h+b.h};};dojo._getMarginExtents=function(n,_145){var s=_145||gcs(n),l=px(n,s.marginLeft),t=px(n,s.marginTop),r=px(n,s.marginRight),b=px(n,s.marginBottom);if(d.isWebKit&&(s.position!="absolute")){r=l;}return {l:l,t:t,w:l+r,h:t+b};};dojo._getMarginBox=function(node,_146){var s=_146||gcs(node),me=d._getMarginExtents(node,s);var l=node.offsetLeft-me.l,t=node.offsetTop-me.t,p=node.parentNode;return {l:l,t:t,w:node.offsetWidth+me.w,h:node.offsetHeight+me.h};};dojo._getMarginSize=function(node,_147){node=byId(node);var me=d._getMarginExtents(node,_147||gcs(node));var size=node.getBoundingClientRect();return {w:(size.right-size.left)+me.w,h:(size.bottom-size.top)+me.h};};dojo._getContentBox=function(node,_148){var s=_148||gcs(node),pe=d._getPadExtents(node,s),be=d._getBorderExtents(node,s),w=node.clientWidth,h;if(!w){w=node.offsetWidth,h=node.offsetHeight;}else{h=node.clientHeight,be.w=be.h=0;}return {l:pe.l,t:pe.t,w:w-pe.w-be.w,h:h-pe.h-be.h};};dojo._getBorderBox=function(node,_149){var s=_149||gcs(node),pe=d._getPadExtents(node,s),cb=d._getContentBox(node,s);return {l:cb.l-pe.l,t:cb.t-pe.t,w:cb.w+pe.w,h:cb.h+pe.h};};dojo._setBox=function(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;}};dojo._isButtonTag=function(node){return node.tagName=="BUTTON"||node.tagName=="INPUT"&&(node.getAttribute("type")||"").toUpperCase()=="BUTTON";};dojo._usesBorderBox=function(node){var n=node.tagName;return d.boxModel=="border-box"||n=="TABLE"||d._isButtonTag(node);};dojo._setContentSize=function(node,_14a,_14b,_14c){if(d._usesBorderBox(node)){var pb=d._getPadBorderExtents(node,_14c);if(_14a>=0){_14a+=pb.w;}if(_14b>=0){_14b+=pb.h;}}d._setBox(node,NaN,NaN,_14a,_14b);};dojo._setMarginBox=function(node,_14d,_14e,_14f,_150,_151){var s=_151||gcs(node),bb=d._usesBorderBox(node),pb=bb?_152:d._getPadBorderExtents(node,s);if(d.isWebKit){if(d._isButtonTag(node)){var ns=node.style;if(_14f>=0&&!ns.width){ns.width="4px";}if(_150>=0&&!ns.height){ns.height="4px";}}}var mb=d._getMarginExtents(node,s);if(_14f>=0){_14f=Math.max(_14f-pb.w-mb.w,0);}if(_150>=0){_150=Math.max(_150-pb.h-mb.h,0);}d._setBox(node,_14d,_14e,_14f,_150);};var _152={l:0,t:0,w:0,h:0};dojo.marginBox=function(node,box){var n=byId(node),s=gcs(n),b=box;return !b?d._getMarginBox(n,s):d._setMarginBox(n,b.l,b.t,b.w,b.h,s);};dojo.contentBox=function(node,box){var n=byId(node),s=gcs(n),b=box;return !b?d._getContentBox(n,s):d._setContentSize(n,b.w,b.h,s);};var _153=function(node,prop){if(!(node=(node||0).parentNode)){return 0;}var val,_154=0,_155=d.body();while(node&&node.style){if(gcs(node).position=="fixed"){return 0;}val=node[prop];if(val){_154+=val-0;if(node==_155){break;}}node=node.parentNode;}return _154;};dojo._docScroll=function(){var n=d.global;return "pageXOffset" in n?{x:n.pageXOffset,y:n.pageYOffset}:(n=d.isQuirks?d.doc.body:d.doc.documentElement,{x:d._fixIeBiDiScrollLeft(n.scrollLeft||0),y:n.scrollTop||0});};dojo._isBodyLtr=function(){return "_bodyLtr" in d?d._bodyLtr:d._bodyLtr=(d.body().dir||d.doc.documentElement.dir||"ltr").toLowerCase()=="ltr";};dojo._fixIeBiDiScrollLeft=function(_156){return _156;};dojo._abs=dojo.position=function(node,_157){node=byId(node);var db=d.body(),dh=db.parentNode,ret=node.getBoundingClientRect();ret={x:ret.left,y:ret.top,w:ret.right-ret.left,h:ret.bottom-ret.top};if(_157){var _158=d._docScroll();ret.x+=_158.x;ret.y+=_158.y;}return ret;};dojo.coords=function(node,_159){var n=byId(node),s=gcs(n),mb=d._getMarginBox(n,s);var abs=d.position(n,_159);mb.x=abs.x;mb.y=abs.y;return mb;};var _15a={"class":"className","for":"htmlFor",tabindex:"tabIndex",readonly:"readOnly",colspan:"colSpan",frameborder:"frameBorder",rowspan:"rowSpan",valuetype:"valueType"},_15b={classname:"class",htmlfor:"for",tabindex:"tabIndex",readonly:"readOnly"},_15c={innerHTML:1,className:1,htmlFor:d.isIE,value:1};var _15d=function(name){return _15b[name.toLowerCase()]||name;};var _15e=function(node,name){var attr=node.getAttributeNode&&node.getAttributeNode(name);return attr&&attr.specified;};dojo.hasAttr=function(node,name){var lc=name.toLowerCase();return _15c[_15a[lc]||name]||_15e(byId(node),_15b[lc]||name);};var _15f={},_160=0,_161=dojo._scopeName+"attrid",_162={col:1,colgroup:1,table:1,tbody:1,tfoot:1,thead:1,tr:1,title:1};dojo.attr=function(node,name,_163){node=byId(node);var args=arguments.length,prop;if(args==2&&typeof name!="string"){for(var x in name){d.attr(node,x,name[x]);}return node;}var lc=name.toLowerCase(),_164=_15a[lc]||name,_165=_15c[_164],_166=_15b[lc]||name;if(args==3){do{if(_164=="style"&&typeof _163!="string"){d.style(node,_163);break;}if(_164=="innerHTML"){node[_164]=_163;break;}if(d.isFunction(_163)){var _167=d.attr(node,_161);if(!_167){_167=_160++;d.attr(node,_161,_167);}if(!_15f[_167]){_15f[_167]={};}var h=_15f[_167][_164];if(h){d.disconnect(h);}else{try{delete node[_164];}catch(e){}}_15f[_167][_164]=d.connect(node,_164,_163);break;}if(_165||typeof _163=="boolean"){node[_164]=_163;break;}node.setAttribute(_166,_163);}while(false);return node;}_163=node[_164];if(_165&&typeof _163!="undefined"){return _163;}if(_164!="href"&&(typeof _163=="boolean"||d.isFunction(_163))){return _163;}return _15e(node,_166)?node.getAttribute(_166):null;};dojo.removeAttr=function(node,name){byId(node).removeAttribute(_15d(name));};dojo.getNodeProp=function(node,name){node=byId(node);var lc=name.toLowerCase(),_168=_15a[lc]||name;if((_168 in node)&&_168!="href"){return node[_168];}var _169=_15b[lc]||name;return _15e(node,_169)?node.getAttribute(_169):null;};dojo.create=function(tag,_16a,_16b,pos){var doc=d.doc;if(_16b){_16b=byId(_16b);doc=_16b.ownerDocument;}if(typeof tag=="string"){tag=doc.createElement(tag);}if(_16a){d.attr(tag,_16a);}if(_16b){d.place(tag,_16b,pos);}return tag;};d.empty=function(node){byId(node).innerHTML="";};var _16c={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"]},_16d=/<\s*([\w\:]+)/,_16e={},_16f=0,_170="__"+d._scopeName+"ToDomId";for(var _5b in _16c){if(_16c.hasOwnProperty(_5b)){var tw=_16c[_5b];tw.pre=_5b=="option"?"<select multiple=\"multiple\">":"<"+tw.join("><")+">";tw.post="</"+tw.reverse().join("></")+">";}}d._toDom=function(frag,doc){doc=doc||d.doc;var _171=doc[_170];if(!_171){doc[_170]=_171=++_16f+"";_16e[_171]=doc.createElement("div");}frag+="";var _172=frag.match(_16d),tag=_172?_172[1].toLowerCase():"",_173=_16e[_171],wrap,i,fc,df;if(_172&&_16c[tag]){wrap=_16c[tag];_173.innerHTML=wrap.pre+frag+wrap.post;for(i=wrap.length;i;--i){_173=_173.firstChild;}}else{_173.innerHTML=frag;}if(_173.childNodes.length==1){return _173.removeChild(_173.firstChild);}df=doc.createDocumentFragment();while(fc=_173.firstChild){df.appendChild(fc);}return df;};var _174="className";dojo.hasClass=function(node,_175){return ((" "+byId(node)[_174]+" ").indexOf(" "+_175+" ")>=0);};var _176=/\s+/,a1=[""],_177={},_178=function(s){if(typeof s=="string"||s instanceof String){if(s.indexOf(" ")<0){a1[0]=s;return a1;}else{return s.split(_176);}}return s||"";};dojo.addClass=function(node,_179){node=byId(node);_179=_178(_179);var cls=node[_174],_17a;cls=cls?" "+cls+" ":" ";_17a=cls.length;for(var i=0,len=_179.length,c;i<len;++i){c=_179[i];if(c&&cls.indexOf(" "+c+" ")<0){cls+=c+" ";}}if(_17a<cls.length){node[_174]=cls.substr(1,cls.length-2);}};dojo.removeClass=function(node,_17b){node=byId(node);var cls;if(_17b!==undefined){_17b=_178(_17b);cls=" "+node[_174]+" ";for(var i=0,len=_17b.length;i<len;++i){cls=cls.replace(" "+_17b[i]+" "," ");}cls=d.trim(cls);}else{cls="";}if(node[_174]!=cls){node[_174]=cls;}};dojo.replaceClass=function(node,_17c,_17d){node=byId(node);_177.className=node.className;dojo.removeClass(_177,_17d);dojo.addClass(_177,_17c);if(node.className!==_177.className){node.className=_177.className;}};dojo.toggleClass=function(node,_17e,_17f){if(_17f===undefined){_17f=!d.hasClass(node,_17e);}d[_17f?"addClass":"removeClass"](node,_17e);};}if(!dojo._hasResource["dojo._base.NodeList"]){dojo._hasResource["dojo._base.NodeList"]=true;dojo.provide("dojo._base.NodeList");var ap=Array.prototype,aps=ap.slice,apc=ap.concat;var tnl=function(a,_180,_181){if(!a.sort){a=aps.call(a,0);}var ctor=_181||this._NodeListCtor||d._NodeListCtor;a.constructor=ctor;dojo._mixin(a,ctor.prototype);a._NodeListCtor=ctor;return _180?a._stash(_180):a;};var _182=function(f,a,o){a=[0].concat(aps.call(a,0));o=o||d.global;return function(node){a[0]=node;return f.apply(o,a);};};var _183=function(f,o){return function(){this.forEach(_182(f,arguments,o));return this;};};var _184=function(f,o){return function(){return this.map(_182(f,arguments,o));};};var _185=function(f,o){return function(){return this.filter(_182(f,arguments,o));};};var _186=function(f,g,o){return function(){var a=arguments,body=_182(f,a,o);if(g.call(o||d.global,a)){return this.map(body);}this.forEach(body);return this;};};var _187=function(a){return a.length==1&&(typeof a[0]=="string");};var _188=function(node){var p=node.parentNode;if(p){p.removeChild(node);}};dojo.NodeList=function(){return tnl(Array.apply(null,arguments));};d._NodeListCtor=d.NodeList;var nl=d.NodeList,nlp=nl.prototype;nl._wrap=nlp._wrap=tnl;nl._adaptAsMap=_184;nl._adaptAsForEach=_183;nl._adaptAsFilter=_185;nl._adaptWithCondition=_186;d.forEach(["slice","splice"],function(name){var f=ap[name];nlp[name]=function(){return this._wrap(f.apply(this,arguments),name=="slice"?this:null);};});d.forEach(["indexOf","lastIndexOf","every","some"],function(name){var f=d[name];nlp[name]=function(){return f.apply(d,[this].concat(aps.call(arguments,0)));};});d.forEach(["attr","style"],function(name){nlp[name]=_186(d[name],_187);});d.forEach(["connect","addClass","removeClass","replaceClass","toggleClass","empty","removeAttr"],function(name){nlp[name]=_183(d[name]);});dojo.extend(dojo.NodeList,{_normalize:function(_189,_18a){var _18b=_189.parse===true?true:false;if(typeof _189.template=="string"){var _18c=_189.templateFunc||(dojo.string&&dojo.string.substitute);_189=_18c?_18c(_189.template,_189):_189;}var type=(typeof _189);if(type=="string"||type=="number"){_189=dojo._toDom(_189,(_18a&&_18a.ownerDocument));if(_189.nodeType==11){_189=dojo._toArray(_189.childNodes);}else{_189=[_189];}}else{if(!dojo.isArrayLike(_189)){_189=[_189];}else{if(!dojo.isArray(_189)){_189=dojo._toArray(_189);}}}if(_18b){_189._runParse=true;}return _189;},_cloneNode:function(node){return node.cloneNode(true);},_place:function(ary,_18d,_18e,_18f){if(_18d.nodeType!=1&&_18e=="only"){return;}var _190=_18d,_191;var _192=ary.length;for(var i=_192-1;i>=0;i--){var node=(_18f?this._cloneNode(ary[i]):ary[i]);if(ary._runParse&&dojo.parser&&dojo.parser.parse){if(!_191){_191=_190.ownerDocument.createElement("div");}_191.appendChild(node);dojo.parser.parse(_191);node=_191.firstChild;while(_191.firstChild){_191.removeChild(_191.firstChild);}}if(i==_192-1){dojo.place(node,_190,_18e);}else{_190.parentNode.insertBefore(node,_190);}_190=node;}},_stash:function(_193){this._parent=_193;return this;},end:function(){if(this._parent){return this._parent;}else{return new this._NodeListCtor();}},concat:function(item){var t=d.isArray(this)?this:aps.call(this,0),m=d.map(arguments,function(a){return a&&!d.isArray(a)&&(typeof NodeList!="undefined"&&a.constructor===NodeList||a.constructor===this._NodeListCtor)?aps.call(a,0):a;});return this._wrap(apc.apply(t,m),this);},map:function(func,obj){return this._wrap(d.map(this,func,obj),this);},forEach:function(_194,_195){d.forEach(this,_194,_195);return this;},coords:_184(d.coords),position:_184(d.position),place:function(_196,_197){var item=d.query(_196)[0];return this.forEach(function(node){d.place(node,item,_197);});},orphan:function(_198){return (_198?d._filterQueryResult(this,_198):this).forEach(_188);},adopt:function(_199,_19a){return d.query(_199).place(this[0],_19a)._stash(this);},query:function(_19b){if(!_19b){return this;}var ret=this.map(function(node){return d.query(_19b,node).filter(function(_19c){return _19c!==undefined;});});return this._wrap(apc.apply([],ret),this);},filter:function(_19d){var a=arguments,_19e=this,_19f=0;if(typeof _19d=="string"){_19e=d._filterQueryResult(this,a[0]);if(a.length==1){return _19e._stash(this);}_19f=1;}return this._wrap(d.filter(_19e,a[_19f],a[_19f+1]),this);},addContent:function(_1a0,_1a1){_1a0=this._normalize(_1a0,this[0]);for(var i=0,node;(node=this[i]);i++){this._place(_1a0,node,_1a1,i>0);}return this;},instantiate:function(_1a2,_1a3){var c=d.isFunction(_1a2)?_1a2:d.getObject(_1a2);_1a3=_1a3||{};return this.forEach(function(node){new c(_1a3,node);});},at:function(){var t=new this._NodeListCtor();d.forEach(arguments,function(i){if(i<0){i=this.length+i;}if(this[i]){t.push(this[i]);}},this);return t._stash(this);}});nl.events=["blur","focus","change","click","error","keydown","keypress","keyup","load","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","submit"];d.forEach(nl.events,function(evt){var _1a4="on"+evt;nlp[_1a4]=function(a,b){return this.connect(_1a4,a,b);};});}if(!dojo._hasResource["dojo._base.query"]){dojo._hasResource["dojo._base.query"]=true;(function(){function qdef(){if(dojo.query){return;}var ctr=0;dojo.query=function(_1a5,root){d._NodeListCtor=dojo.NodeList;if(!_1a5){return new d._NodeListCtor();}if(_1a5.constructor==d._NodeListCtor){return _1a5;}if(typeof _1a5!="string"){return new d._NodeListCtor(_1a5);}if(typeof root=="string"){root=dojo.byId(root);if(!root){return new d._NodeListCtor();}}root=root||dojo.doc;var _1a6=(root.nodeType==9);var doc=_1a6?root:(root.ownerDocument||dojo.doc);if(!_1a6||(">~+".indexOf(_1a5.charAt(0))>=0)){root.id=root.id||("qUnique"+(ctr++));_1a5="#"+root.id+" "+_1a5;}if(">~+".indexOf(_1a5.slice(-1))>=0){_1a5+=" *";}return d._NodeListCtor._wrap(Array.prototype.slice.call(doc.querySelectorAll(_1a5)));};};if(typeof define!="undefined"){define("dojo/_base/query",["dojo","dojo/_base/NodeList","dojo/_base/lang"],qdef);}else{dojo.provide("dojo._base.query");qdef();}})();}if(!dojo._hasResource["dojo._base.xhr"]){dojo._hasResource["dojo._base.xhr"]=true;dojo.provide("dojo._base.xhr");var _1a7=dojo,_9=_1a7.config;function _1a8(obj,name,_1a9){if(_1a9===null){return;}var val=obj[name];if(typeof val=="string"){obj[name]=[val,_1a9];}else{if(_1a7.isArray(val)){val.push(_1a9);}else{obj[name]=_1a9;}}};dojo.fieldToObject=function(_1aa){var ret=null;var item=_1a7.byId(_1aa);if(item){var _1ab=item.name;var type=(item.type||"").toLowerCase();if(_1ab&&type&&!item.disabled){if(type=="radio"||type=="checkbox"){if(item.checked){ret=item.value;}}else{if(item.multiple){ret=[];_1a7.query("option",item).forEach(function(opt){if(opt.selected){ret.push(opt.value);}});}else{ret=item.value;}}}}return ret;};dojo.formToObject=function(_1ac){var ret={};var _1ad="file|submit|image|reset|button|";_1a7.forEach(dojo.byId(_1ac).elements,function(item){var _1ae=item.name;var type=(item.type||"").toLowerCase();if(_1ae&&type&&_1ad.indexOf(type)==-1&&!item.disabled){_1a8(ret,_1ae,_1a7.fieldToObject(item));if(type=="image"){ret[_1ae+".x"]=ret[_1ae+".y"]=ret[_1ae].x=ret[_1ae].y=0;}}});return ret;};dojo.objectToQuery=function(map){var enc=encodeURIComponent;var _1af=[];var _1b0={};for(var name in map){var _1b1=map[name];if(_1b1!=_1b0[name]){var _1b2=enc(name)+"=";if(_1a7.isArray(_1b1)){for(var i=0;i<_1b1.length;i++){_1af.push(_1b2+enc(_1b1[i]));}}else{_1af.push(_1b2+enc(_1b1));}}}return _1af.join("&");};dojo.formToQuery=function(_1b3){return _1a7.objectToQuery(_1a7.formToObject(_1b3));};dojo.formToJson=function(_1b4,_1b5){return _1a7.toJson(_1a7.formToObject(_1b4),_1b5);};dojo.queryToObject=function(str){var ret={};var qp=str.split("&");var dec=decodeURIComponent;_1a7.forEach(qp,function(item){if(item.length){var _1b6=item.split("=");var name=dec(_1b6.shift());var val=dec(_1b6.join("="));if(typeof ret[name]=="string"){ret[name]=[ret[name]];}if(_1a7.isArray(ret[name])){ret[name].push(val);}else{ret[name]=val;}}});return ret;};dojo._blockAsync=false;var _1b7=_1a7._contentHandlers=dojo.contentHandlers={text:function(xhr){return xhr.responseText;},json:function(xhr){return _1a7.fromJson(xhr.responseText||null);},"json-comment-filtered":function(xhr){if(!dojo.config.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 _1b8=xhr.responseText;var _1b9=_1b8.indexOf("/*");var _1ba=_1b8.lastIndexOf("*/");if(_1b9==-1||_1ba==-1){throw new Error("JSON was not comment filtered");}return _1a7.fromJson(_1b8.substring(_1b9+2,_1ba));},javascript:function(xhr){return _1a7.eval(xhr.responseText);},xml:function(xhr){var _1bb=xhr.responseXML;return _1bb;},"json-comment-optional":function(xhr){if(xhr.responseText&&/^[^{\[]*\/\*/.test(xhr.responseText)){return _1b7["json-comment-filtered"](xhr);}else{return _1b7["json"](xhr);}}};dojo._ioSetArgs=function(args,_1bc,_1bd,_1be){var _1bf={args:args,url:args.url};var _1c0=null;if(args.form){var form=_1a7.byId(args.form);var _1c1=form.getAttributeNode("action");_1bf.url=_1bf.url||(_1c1?_1c1.value:null);_1c0=_1a7.formToObject(form);}var _1c2=[{}];if(_1c0){_1c2.push(_1c0);}if(args.content){_1c2.push(args.content);}if(args.preventCache){_1c2.push({"dojo.preventCache":new Date().valueOf()});}_1bf.query=_1a7.objectToQuery(_1a7.mixin.apply(null,_1c2));_1bf.handleAs=args.handleAs||"text";var d=new _1a7.Deferred(_1bc);d.addCallbacks(_1bd,function(_1c3){return _1be(_1c3,d);});var ld=args.load;if(ld&&_1a7.isFunction(ld)){d.addCallback(function(_1c4){return ld.call(args,_1c4,_1bf);});}var err=args.error;if(err&&_1a7.isFunction(err)){d.addErrback(function(_1c5){return err.call(args,_1c5,_1bf);});}var _1c6=args.handle;if(_1c6&&_1a7.isFunction(_1c6)){d.addBoth(function(_1c7){return _1c6.call(args,_1c7,_1bf);});}if(_9.ioPublish&&_1a7.publish&&_1bf.args.ioPublish!==false){d.addCallbacks(function(res){_1a7.publish("/dojo/io/load",[d,res]);return res;},function(res){_1a7.publish("/dojo/io/error",[d,res]);return res;});d.addBoth(function(res){_1a7.publish("/dojo/io/done",[d,res]);return res;});}d.ioArgs=_1bf;return d;};var _1c8=function(dfd){dfd.canceled=true;var xhr=dfd.ioArgs.xhr;var _1c9=typeof xhr.abort;if(_1c9=="function"||_1c9=="object"||_1c9=="unknown"){xhr.abort();}var err=dfd.ioArgs.error;if(!err){err=new Error("xhr cancelled");err.dojoType="cancel";}return err;};var _1ca=function(dfd){var ret=_1b7[dfd.ioArgs.handleAs](dfd.ioArgs.xhr);return ret===undefined?null:ret;};var _1cb=function(_1cc,dfd){if(!dfd.ioArgs.args.failOk){console.error(_1cc);}return _1cc;};var _1cd=null;var _1ce=[];var _1cf=0;var _1d0=function(dfd){if(_1cf<=0){_1cf=0;if(_9.ioPublish&&_1a7.publish&&(!dfd||dfd&&dfd.ioArgs.args.ioPublish!==false)){_1a7.publish("/dojo/io/stop");}}};var _1d1=function(){var now=(new Date()).getTime();if(!_1a7._blockAsync){for(var i=0,tif;i<_1ce.length&&(tif=_1ce[i]);i++){var dfd=tif.dfd;var func=function(){if(!dfd||dfd.canceled||!tif.validCheck(dfd)){_1ce.splice(i--,1);_1cf-=1;}else{if(tif.ioCheck(dfd)){_1ce.splice(i--,1);tif.resHandle(dfd);_1cf-=1;}else{if(dfd.startTime){if(dfd.startTime+(dfd.ioArgs.args.timeout||0)<now){_1ce.splice(i--,1);var err=new Error("timeout exceeded");err.dojoType="timeout";dfd.errback(err);dfd.cancel();_1cf-=1;}}}}};if(dojo.config.debugAtAllCosts){func.call(this);}else{try{func.call(this);}catch(e){dfd.errback(e);}}}}_1d0(dfd);if(!_1ce.length){clearInterval(_1cd);_1cd=null;return;}};dojo._ioCancelAll=function(){try{_1a7.forEach(_1ce,function(i){try{i.dfd.cancel();}catch(e){}});}catch(e){}};_1a7._ioNotifyStart=function(dfd){if(_9.ioPublish&&_1a7.publish&&dfd.ioArgs.args.ioPublish!==false){if(!_1cf){_1a7.publish("/dojo/io/start");}_1cf+=1;_1a7.publish("/dojo/io/send",[dfd]);}};_1a7._ioWatch=function(dfd,_1d2,_1d3,_1d4){var args=dfd.ioArgs.args;if(args.timeout){dfd.startTime=(new Date()).getTime();}_1ce.push({dfd:dfd,validCheck:_1d2,ioCheck:_1d3,resHandle:_1d4});if(!_1cd){_1cd=setInterval(_1d1,50);}if(args.sync){_1d1();}};var _1d5="application/x-www-form-urlencoded";var _1d6=function(dfd){return dfd.ioArgs.xhr.readyState;};var _1d7=function(dfd){return 4==dfd.ioArgs.xhr.readyState;};var _1d8=function(dfd){var xhr=dfd.ioArgs.xhr;if(_1a7._isDocumentOk(xhr)){dfd.callback(dfd);}else{var err=new Error("Unable to load "+dfd.ioArgs.url+" status:"+xhr.status);err.status=xhr.status;err.responseText=xhr.responseText;dfd.errback(err);}};dojo._ioAddQueryToUrl=function(_1d9){if(_1d9.query.length){_1d9.url+=(_1d9.url.indexOf("?")==-1?"?":"&")+_1d9.query;_1d9.query=null;}};dojo.xhr=function(_1da,args,_1db){var dfd=_1a7._ioSetArgs(args,_1c8,_1ca,_1cb);var _1dc=dfd.ioArgs;var xhr=_1dc.xhr=_1a7._xhrObj(_1dc.args);if(!xhr){dfd.cancel();return dfd;}if("postData" in args){_1dc.query=args.postData;}else{if("putData" in args){_1dc.query=args.putData;}else{if("rawBody" in args){_1dc.query=args.rawBody;}else{if((arguments.length>2&&!_1db)||"POST|PUT".indexOf(_1da.toUpperCase())==-1){_1a7._ioAddQueryToUrl(_1dc);}}}}xhr.open(_1da,_1dc.url,args.sync!==true,args.user||undefined,args.password||undefined);if(args.headers){for(var hdr in args.headers){if(hdr.toLowerCase()==="content-type"&&!args.contentType){args.contentType=args.headers[hdr];}else{if(args.headers[hdr]){xhr.setRequestHeader(hdr,args.headers[hdr]);}}}}xhr.setRequestHeader("Content-Type",args.contentType||_1d5);if(!args.headers||!("X-Requested-With" in args.headers)){xhr.setRequestHeader("X-Requested-With","XMLHttpRequest");}_1a7._ioNotifyStart(dfd);if(dojo.config.debugAtAllCosts){xhr.send(_1dc.query);}else{try{xhr.send(_1dc.query);}catch(e){_1dc.error=e;dfd.cancel();}}_1a7._ioWatch(dfd,_1d6,_1d7,_1d8);xhr=null;return dfd;};dojo.xhrGet=function(args){return _1a7.xhr("GET",args);};dojo.rawXhrPost=dojo.xhrPost=function(args){return _1a7.xhr("POST",args,true);};dojo.rawXhrPut=dojo.xhrPut=function(args){return _1a7.xhr("PUT",args,true);};dojo.xhrDelete=function(args){return _1a7.xhr("DELETE",args);};}if(!dojo._hasResource["dojo._base.fx"]){dojo._hasResource["dojo._base.fx"]=true;dojo.provide("dojo._base.fx");var _1dd=d._mixin;dojo._Line=function(_1de,end){this.start=_1de;this.end=end;};dojo._Line.prototype.getValue=function(n){return ((this.end-this.start)*n)+this.start;};dojo.Animation=function(args){_1dd(this,args);if(d.isArray(this.curve)){this.curve=new d._Line(this.curve[0],this.curve[1]);}};d._Animation=d.Animation;d.extend(dojo.Animation,{duration:350,repeat:0,rate:20,_percent:0,_startRepeatCount:0,_getStep:function(){var _1df=this._percent,_1e0=this.easing;return _1e0?_1e0(_1df):_1df;},_fire:function(evt,args){var a=args||[];if(this[evt]){if(d.config.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(_1e1,_1e2){var _1e3=this;if(_1e3._delayTimer){_1e3._clearTimer();}if(_1e2){_1e3._stopTimer();_1e3._active=_1e3._paused=false;_1e3._percent=0;}else{if(_1e3._active&&!_1e3._paused){return _1e3;}}_1e3._fire("beforeBegin",[_1e3.node]);var de=_1e1||_1e3.delay,_1e4=dojo.hitch(_1e3,"_play",_1e2);if(de>0){_1e3._delayTimer=setTimeout(_1e4,de);return _1e3;}_1e4();return _1e3;},_play:function(_1e5){var _1e6=this;if(_1e6._delayTimer){_1e6._clearTimer();}_1e6._startTime=new Date().valueOf();if(_1e6._paused){_1e6._startTime-=_1e6.duration*_1e6._percent;}_1e6._active=true;_1e6._paused=false;var _1e7=_1e6.curve.getValue(_1e6._getStep());if(!_1e6._percent){if(!_1e6._startRepeatCount){_1e6._startRepeatCount=_1e6.repeat;}_1e6._fire("onBegin",[_1e7]);}_1e6._fire("onPlay",[_1e7]);_1e6._cycle();return _1e6;},pause:function(){var _1e8=this;if(_1e8._delayTimer){_1e8._clearTimer();}_1e8._stopTimer();if(!_1e8._active){return _1e8;}_1e8._paused=true;_1e8._fire("onPause",[_1e8.curve.getValue(_1e8._getStep())]);return _1e8;},gotoPercent:function(_1e9,_1ea){var _1eb=this;_1eb._stopTimer();_1eb._active=_1eb._paused=true;_1eb._percent=_1e9;if(_1ea){_1eb.play();}return _1eb;},stop:function(_1ec){var _1ed=this;if(_1ed._delayTimer){_1ed._clearTimer();}if(!_1ed._timer){return _1ed;}_1ed._stopTimer();if(_1ec){_1ed._percent=1;}_1ed._fire("onStop",[_1ed.curve.getValue(_1ed._getStep())]);_1ed._active=_1ed._paused=false;return _1ed;},status:function(){if(this._active){return this._paused?"paused":"playing";}return "stopped";},_cycle:function(){var _1ee=this;if(_1ee._active){var curr=new Date().valueOf();var step=(curr-_1ee._startTime)/(_1ee.duration);if(step>=1){step=1;}_1ee._percent=step;if(_1ee.easing){step=_1ee.easing(step);}_1ee._fire("onAnimate",[_1ee.curve.getValue(step)]);if(_1ee._percent<1){_1ee._startTimer();}else{_1ee._active=false;if(_1ee.repeat>0){_1ee.repeat--;_1ee.play(null,true);}else{if(_1ee.repeat==-1){_1ee.play(null,true);}else{if(_1ee._startRepeatCount){_1ee.repeat=_1ee._startRepeatCount;_1ee._startRepeatCount=0;}}}_1ee._percent=0;_1ee._fire("onEnd",[_1ee.node]);!_1ee.repeat&&_1ee._stopTimer();}}return _1ee;},_clearTimer:function(){clearTimeout(this._delayTimer);delete this._delayTimer;}});var ctr=0,_1ef=null,_1f0={run:function(){}};d.extend(d.Animation,{_startTimer:function(){if(!this._timer){this._timer=d.connect(_1f0,"run",this,"_cycle");ctr++;}if(!_1ef){_1ef=setInterval(d.hitch(_1f0,"run"),this.rate);}},_stopTimer:function(){if(this._timer){d.disconnect(this._timer);this._timer=null;ctr--;}if(ctr<=0){clearInterval(_1ef);_1ef=null;ctr=0;}}});var _1f1=function(){};dojo._fade=function(args){args.node=d.byId(args.node);var _1f2=_1dd({properties:{}},args),_1f3=(_1f2.properties.opacity={});_1f3.start=!("start" in _1f2)?function(){return +d.style(_1f2.node,"opacity")||0;}:_1f2.start;_1f3.end=_1f2.end;var anim=d.animateProperty(_1f2);d.connect(anim,"beforeBegin",d.partial(_1f1,_1f2.node));return anim;};dojo.fadeIn=function(args){return d._fade(_1dd({end:1},args));};dojo.fadeOut=function(args){return d._fade(_1dd({end:0},args));};dojo._defaultEasing=function(n){return 0.5+((Math.sin((n+1.5)*Math.PI))/2);};var _1f4=function(_1f5){this._properties=_1f5;for(var p in _1f5){var prop=_1f5[p];if(prop.start instanceof d.Color){prop.tempColor=new d.Color();}}};_1f4.prototype.getValue=function(r){var ret={};for(var p in this._properties){var prop=this._properties[p],_1f6=prop.start;if(_1f6 instanceof d.Color){ret[p]=d.blendColors(_1f6,prop.end,r,prop.tempColor).toCss();}else{if(!d.isArray(_1f6)){ret[p]=((prop.end-_1f6)*r)+_1f6+(p!="opacity"?prop.units||"px":0);}}}return ret;};dojo.animateProperty=function(args){var n=args.node=d.byId(args.node);if(!args.easing){args.easing=d._defaultEasing;}var anim=new d.Animation(args);d.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(d.isFunction(prop)){prop=prop(n);}prop=pm[p]=_1dd({},(d.isObject(prop)?prop:{end:prop}));if(d.isFunction(prop.start)){prop.start=prop.start(n);}if(d.isFunction(prop.end)){prop.end=prop.end(n);}var _1f7=(p.toLowerCase().indexOf("color")>=0);function _1f8(node,p){var v={height:node.offsetHeight,width:node.offsetWidth}[p];if(v!==undefined){return v;}v=d.style(node,p);return (p=="opacity")?+v:(_1f7?v:parseFloat(v));};if(!("end" in prop)){prop.end=_1f8(n,p);}else{if(!("start" in prop)){prop.start=_1f8(n,p);}}if(_1f7){prop.start=new d.Color(prop.start);prop.end=new d.Color(prop.end);}else{prop.start=(p=="opacity")?+prop.start:parseFloat(prop.start);}}this.curve=new _1f4(pm);});d.connect(anim,"onAnimate",d.hitch(d,"style",anim.node));return anim;};dojo.anim=function(node,_1f9,_1fa,_1fb,_1fc,_1fd){return d.animateProperty({node:node,duration:_1fa||d.Animation.prototype.duration,properties:_1f9,easing:_1fb,onEnd:_1fc}).play(_1fd||0);};}if(!dojo._hasResource["dojo._base.browser"]){dojo._hasResource["dojo._base.browser"]=true;dojo.provide("dojo._base.browser");dojo.forEach(dojo.config.require,function(i){dojo["require"](i);});}if(!dojo._hasResource["dojo._base"]){dojo._hasResource["dojo._base"]=true;dojo.provide("dojo._base");}if(!dojo._hasResource["dijit._base.manager"]){dojo._hasResource["dijit._base.manager"]=true;dojo.provide("dijit._base.manager");dojo.declare("dijit.WidgetSet",null,{constructor:function(){this._hash={};this.length=0;},add:function(_1fe){if(this._hash[_1fe.id]){throw new Error("Tried to register widget with id=="+_1fe.id+" but that id is already registered");}this._hash[_1fe.id]=_1fe;this.length++;},remove:function(id){if(this._hash[id]){delete this._hash[id];this.length--;}},forEach:function(func,_1ff){_1ff=_1ff||dojo.global;var i=0,id;for(id in this._hash){func.call(_1ff,this._hash[id],i++,this._hash);}return this;},filter:function(_200,_201){_201=_201||dojo.global;var res=new dijit.WidgetSet(),i=0,id;for(id in this._hash){var w=this._hash[id];if(_200.call(_201,w,i++,this._hash)){res.add(w);}}return res;},byId:function(id){return this._hash[id];},byClass:function(cls){var res=new dijit.WidgetSet(),id,_202;for(id in this._hash){_202=this._hash[id];if(_202.declaredClass==cls){res.add(_202);}}return res;},toArray:function(){var ar=[];for(var id in this._hash){ar.push(this._hash[id]);}return ar;},map:function(func,_203){return dojo.map(this.toArray(),func,_203);},every:function(func,_204){_204=_204||dojo.global;var x=0,i;for(i in this._hash){if(!func.call(_204,this._hash[i],x++,this._hash)){return false;}}return true;},some:function(func,_205){_205=_205||dojo.global;var x=0,i;for(i in this._hash){if(func.call(_205,this._hash[i],x++,this._hash)){return true;}}return false;}});(function(){dijit.registry=new dijit.WidgetSet();var hash=dijit.registry._hash,attr=dojo.attr,_206=dojo.hasAttr,_207=dojo.style;dijit.byId=function(id){return typeof id=="string"?hash[id]:id;};var _208={};dijit.getUniqueId=function(_209){var id;do{id=_209+"_"+(_209 in _208?++_208[_209]:_208[_209]=0);}while(hash[id]);return dijit._scopeName=="dijit"?id:dijit._scopeName+"_"+id;};dijit.findWidgets=function(root){var _20a=[];function _20b(root){for(var node=root.firstChild;node;node=node.nextSibling){if(node.nodeType==1){var _20c=node.getAttribute("widgetId");if(_20c){var _20d=hash[_20c];if(_20d){_20a.push(_20d);}}else{_20b(node);}}}};_20b(root);return _20a;};dijit._destroyAll=function(){dijit._curFocus=null;dijit._prevFocus=null;dijit._activeStack=[];dojo.forEach(dijit.findWidgets(dojo.body()),function(_20e){if(!_20e._destroyed){if(_20e.destroyRecursive){_20e.destroyRecursive();}else{if(_20e.destroy){_20e.destroy();}}}});};if(dojo.isIE){dojo.addOnWindowUnload(function(){dijit._destroyAll();});}dijit.byNode=function(node){return hash[node.getAttribute("widgetId")];};dijit.getEnclosingWidget=function(node){while(node){var id=node.getAttribute&&node.getAttribute("widgetId");if(id){return hash[id];}node=node.parentNode;}return null;};var _20f=(dijit._isElementShown=function(elem){var s=_207(elem);return (s.visibility!="hidden")&&(s.visibility!="collapsed")&&(s.display!="none")&&(attr(elem,"type")!="hidden");});dijit.hasDefaultTabStop=function(elem){switch(elem.nodeName.toLowerCase()){case "a":return _206(elem,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return true;case "iframe":var body;try{var _210=elem.contentDocument;if("designMode" in _210&&_210.designMode=="on"){return true;}body=_210.body;}catch(e1){try{body=elem.contentWindow.document.body;}catch(e2){return false;}}return body.contentEditable=="true"||(body.firstChild&&body.firstChild.contentEditable=="true");default:return elem.contentEditable=="true";}};var _211=(dijit.isTabNavigable=function(elem){if(attr(elem,"disabled")){return false;}else{if(_206(elem,"tabIndex")){return attr(elem,"tabIndex")>=0;}else{return dijit.hasDefaultTabStop(elem);}}});dijit._getTabNavigable=function(root){var _212,last,_213,_214,_215,_216,_217={};function _218(node){return node&&node.tagName.toLowerCase()=="input"&&node.type&&node.type.toLowerCase()=="radio"&&node.name&&node.name.toLowerCase();};var _219=function(_21a){dojo.query("> *",_21a).forEach(function(_21b){if((dojo.isIE&&_21b.scopeName!=="HTML")||!_20f(_21b)){return;}if(_211(_21b)){var _21c=attr(_21b,"tabIndex");if(!_206(_21b,"tabIndex")||_21c==0){if(!_212){_212=_21b;}last=_21b;}else{if(_21c>0){if(!_213||_21c<_214){_214=_21c;_213=_21b;}if(!_215||_21c>=_216){_216=_21c;_215=_21b;}}}var rn=_218(_21b);if(dojo.attr(_21b,"checked")&&rn){_217[rn]=_21b;}}if(_21b.nodeName.toUpperCase()!="SELECT"){_219(_21b);}});};if(_20f(root)){_219(root);}function rs(node){return _217[_218(node)]||node;};return {first:rs(_212),last:rs(last),lowest:rs(_213),highest:rs(_215)};};dijit.getFirstInTabbingOrder=function(root){var _21d=dijit._getTabNavigable(dojo.byId(root));return _21d.lowest?_21d.lowest:_21d.first;};dijit.getLastInTabbingOrder=function(root){var _21e=dijit._getTabNavigable(dojo.byId(root));return _21e.last?_21e.last:_21e.highest;};dijit.defaultDuration=dojo.config["defaultDuration"]||200;})();}if(!dojo._hasResource["dojo.Stateful"]){dojo._hasResource["dojo.Stateful"]=true;dojo.provide("dojo.Stateful");dojo.declare("dojo.Stateful",null,{postscript:function(_21f){if(_21f){dojo.mixin(this,_21f);}},get:function(name){return this[name];},set:function(name,_220){if(typeof name==="object"){for(var x in name){this.set(x,name[x]);}return this;}var _221=this[name];this[name]=_220;if(this._watchCallbacks){this._watchCallbacks(name,_221,_220);}return this;},watch:function(name,_222){var _223=this._watchCallbacks;if(!_223){var self=this;_223=this._watchCallbacks=function(name,_224,_225,_226){var _227=function(_228){if(_228){_228=_228.slice();for(var i=0,l=_228.length;i<l;i++){try{_228[i].call(self,name,_224,_225);}catch(e){console.error(e);}}}};_227(_223["_"+name]);if(!_226){_227(_223["*"]);}};}if(!_222&&typeof name==="function"){_222=name;name="*";}else{name="_"+name;}var _229=_223[name];if(typeof _229!=="object"){_229=_223[name]=[];}_229.push(_222);return {unwatch:function(){_229.splice(dojo.indexOf(_229,_222),1);}};}});}if(!dojo._hasResource["dijit._WidgetBase"]){dojo._hasResource["dijit._WidgetBase"]=true;dojo.provide("dijit._WidgetBase");(function(){dojo.declare("dijit._WidgetBase",dojo.Stateful,{id:"",lang:"",dir:"","class":"",style:"",title:"",tooltip:"",baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,attributeMap:{id:"",dir:"",lang:"","class":"",style:"",title:""},_blankGif:(dojo.config.blankGif||dojo.moduleUrl("dojo","resources/blank.gif")).toString(),postscript:function(_22a,_22b){this.create(_22a,_22b);},create:function(_22c,_22d){this.srcNodeRef=dojo.byId(_22d);this._connects=[];this._subscribes=[];if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_22c){this.params=_22c;dojo._mixin(this,_22c);}this.postMixInProperties();if(!this.id){this.id=dijit.getUniqueId(this.declaredClass.replace(/\./g,"_"));}dijit.registry.add(this);this.buildRendering();if(this.domNode){this._applyAttributes();var _22e=this.srcNodeRef;if(_22e&&_22e.parentNode&&this.domNode!==_22e){_22e.parentNode.replaceChild(this.domNode,_22e);}}if(this.domNode){this.domNode.setAttribute("widgetId",this.id);}this.postCreate();if(this.srcNodeRef&&!this.srcNodeRef.parentNode){delete this.srcNodeRef;}this._created=true;},_applyAttributes:function(){var _22f=function(attr,_230){if((_230.params&&attr in _230.params)||_230[attr]){_230.set(attr,_230[attr]);}};for(var attr in this.attributeMap){_22f(attr,this);}dojo.forEach(this._getSetterAttributes(),function(a){if(!(a in this.attributeMap)){_22f(a,this);}},this);},_getSetterAttributes:function(){var ctor=this.constructor;if(!ctor._setterAttrs){var r=(ctor._setterAttrs=[]),_231,_232=ctor.prototype;for(var _233 in _232){if(dojo.isFunction(_232[_233])&&(_231=_233.match(/^_set([a-zA-Z]*)Attr$/))&&_231[1]){r.push(_231[1].charAt(0).toLowerCase()+_231[1].substr(1));}}}return ctor._setterAttrs;},postMixInProperties:function(){},buildRendering:function(){if(!this.domNode){this.domNode=this.srcNodeRef||dojo.create("div");}if(this.baseClass){var _234=this.baseClass.split(" ");if(!this.isLeftToRight()){_234=_234.concat(dojo.map(_234,function(name){return name+"Rtl";}));}dojo.addClass(this.domNode,_234);}},postCreate:function(){},startup:function(){this._started=true;},destroyRecursive:function(_235){this._beingDestroyed=true;this.destroyDescendants(_235);this.destroy(_235);},destroy:function(_236){this._beingDestroyed=true;this.uninitialize();var d=dojo,dfe=d.forEach,dun=d.unsubscribe;dfe(this._connects,function(_237){dfe(_237,d.disconnect);});dfe(this._subscribes,function(_238){dun(_238);});dfe(this._supportingWidgets||[],function(w){if(w.destroyRecursive){w.destroyRecursive();}else{if(w.destroy){w.destroy();}}});this.destroyRendering(_236);dijit.registry.remove(this.id);this._destroyed=true;},destroyRendering:function(_239){if(this.bgIframe){this.bgIframe.destroy(_239);delete this.bgIframe;}if(this.domNode){if(_239){dojo.removeAttr(this.domNode,"widgetId");}else{dojo.destroy(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_239){dojo.destroy(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_23a){dojo.forEach(this.getChildren(),function(_23b){if(_23b.destroyRecursive){_23b.destroyRecursive(_23a);}});},uninitialize:function(){return false;},_setClassAttr:function(_23c){var _23d=this[this.attributeMap["class"]||"domNode"];dojo.replaceClass(_23d,_23c,this["class"]);this._set("class",_23c);},_setStyleAttr:function(_23e){var _23f=this[this.attributeMap.style||"domNode"];if(dojo.isObject(_23e)){dojo.style(_23f,_23e);}else{if(_23f.style.cssText){_23f.style.cssText+="; "+_23e;}else{_23f.style.cssText=_23e;}}this._set("style",_23e);},_attrToDom:function(attr,_240){var _241=this.attributeMap[attr];dojo.forEach(dojo.isArray(_241)?_241:[_241],function(_242){var _243=this[_242.node||_242||"domNode"];var type=_242.type||"attribute";switch(type){case "attribute":if(dojo.isFunction(_240)){_240=dojo.hitch(this,_240);}var _244=_242.attribute?_242.attribute:(/^on[A-Z][a-zA-Z]*$/.test(attr)?attr.toLowerCase():attr);dojo.attr(_243,_244,_240);break;case "innerText":_243.innerHTML="";_243.appendChild(dojo.doc.createTextNode(_240));break;case "innerHTML":_243.innerHTML=_240;break;case "class":dojo.replaceClass(_243,_240,this[attr]);break;}},this);},get:function(name){var _245=this._getAttrNames(name);return this[_245.g]?this[_245.g]():this[name];},set:function(name,_246){if(typeof name==="object"){for(var x in name){this.set(x,name[x]);}return this;}var _247=this._getAttrNames(name);if(this[_247.s]){var _248=this[_247.s].apply(this,Array.prototype.slice.call(arguments,1));}else{if(name in this.attributeMap){this._attrToDom(name,_246);}this._set(name,_246);}return _248||this;},_attrPairNames:{},_getAttrNames:function(name){var apn=this._attrPairNames;if(apn[name]){return apn[name];}var uc=name.charAt(0).toUpperCase()+name.substr(1);return (apn[name]={n:name+"Node",s:"_set"+uc+"Attr",g:"_get"+uc+"Attr"});},_set:function(name,_249){var _24a=this[name];this[name]=_249;if(this._watchCallbacks&&this._created&&_249!==_24a){this._watchCallbacks(name,_24a,_249);}},toString:function(){return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";},getDescendants:function(){return this.containerNode?dojo.query("[widgetId]",this.containerNode).map(dijit.byNode):[];},getChildren:function(){return this.containerNode?dijit.findWidgets(this.containerNode):[];},connect:function(obj,_24b,_24c){var _24d=[dojo._connect(obj,_24b,this,_24c)];this._connects.push(_24d);return _24d;},disconnect:function(_24e){for(var i=0;i<this._connects.length;i++){if(this._connects[i]==_24e){dojo.forEach(_24e,dojo.disconnect);this._connects.splice(i,1);return;}}},subscribe:function(_24f,_250){var _251=dojo.subscribe(_24f,this,_250);this._subscribes.push(_251);return _251;},unsubscribe:function(_252){for(var i=0;i<this._subscribes.length;i++){if(this._subscribes[i]==_252){dojo.unsubscribe(_252);this._subscribes.splice(i,1);return;}}},isLeftToRight:function(){return this.dir?(this.dir=="ltr"):dojo._isBodyLtr();},placeAt:function(_253,_254){if(_253.declaredClass&&_253.addChild){_253.addChild(this,_254);}else{dojo.place(this.domNode,_253,_254);}return this;}});})();}if(!dojo._hasResource["dojo.window"]){dojo._hasResource["dojo.window"]=true;dojo.provide("dojo.window");dojo.getObject("window",true,dojo);dojo.window.getBox=function(){var _255=(dojo.doc.compatMode=="BackCompat")?dojo.body():dojo.doc.documentElement;var _256=dojo._docScroll();return {w:_255.clientWidth,h:_255.clientHeight,l:_256.x,t:_256.y};};dojo.window.get=function(doc){if(dojo.isIE&&window!==document.parentWindow){doc.parentWindow.execScript("document._parentWindow = window;","Javascript");var win=doc._parentWindow;doc._parentWindow=null;return win;}return doc.parentWindow||doc.defaultView;};dojo.window.scrollIntoView=function(node,pos){try{node=dojo.byId(node);var doc=node.ownerDocument||dojo.doc,body=doc.body||dojo.body(),html=doc.documentElement||body.parentNode,isIE=dojo.isIE,isWK=dojo.isWebKit;if((!(dojo.isMoz||isIE||isWK||dojo.isOpera)||node==body||node==html)&&(typeof node.scrollIntoView!="undefined")){node.scrollIntoView(false);return;}var _257=doc.compatMode=="BackCompat",_258=_257?body:html,_259=isWK?body:_258,_25a=_258.clientWidth,_25b=_258.clientHeight,rtl=!dojo._isBodyLtr(),_25c=pos||dojo.position(node),el=node.parentNode,_25d=function(el){return ((isIE<=6||(isIE&&_257))?false:(dojo.style(el,"position").toLowerCase()=="fixed"));};if(_25d(node)){return;}while(el){if(el==body){el=_259;}var _25e=dojo.position(el),_25f=_25d(el);if(el==_259){_25e.w=_25a;_25e.h=_25b;if(_259==html&&isIE&&rtl){_25e.x+=_259.offsetWidth-_25e.w;}if(_25e.x<0||!isIE){_25e.x=0;}if(_25e.y<0||!isIE){_25e.y=0;}}else{var pb=dojo._getPadBorderExtents(el);_25e.w-=pb.w;_25e.h-=pb.h;_25e.x+=pb.l;_25e.y+=pb.t;}if(el!=_259){var _260=el.clientWidth,_261=_25e.w-_260;if(_260>0&&_261>0){_25e.w=_260;if(isIE&&rtl){_25e.x+=_261;}}_260=el.clientHeight;_261=_25e.h-_260;if(_260>0&&_261>0){_25e.h=_260;}}if(_25f){if(_25e.y<0){_25e.h+=_25e.y;_25e.y=0;}if(_25e.x<0){_25e.w+=_25e.x;_25e.x=0;}if(_25e.y+_25e.h>_25b){_25e.h=_25b-_25e.y;}if(_25e.x+_25e.w>_25a){_25e.w=_25a-_25e.x;}}var l=_25c.x-_25e.x,t=_25c.y-Math.max(_25e.y,0),r=l+_25c.w-_25e.w,bot=t+_25c.h-_25e.h;if(r*l>0){var s=Math[l<0?"max":"min"](l,r);_25c.x+=el.scrollLeft;el.scrollLeft+=(isIE>=8&&!_257&&rtl)?-s:s;_25c.x-=el.scrollLeft;}if(bot*t>0){_25c.y+=el.scrollTop;el.scrollTop+=Math[t<0?"max":"min"](t,bot);_25c.y-=el.scrollTop;}el=(el!=_259)&&!_25f&&el.parentNode;}}catch(error){console.error("scrollIntoView: "+error);node.scrollIntoView(false);}};}if(!dojo._hasResource["dijit._base.focus"]){dojo._hasResource["dijit._base.focus"]=true;dojo.provide("dijit._base.focus");dojo.mixin(dijit,{_curFocus:null,_prevFocus:null,isCollapsed:function(){return dijit.getBookmark().isCollapsed;},getBookmark:function(){var bm,rg,tg,sel=dojo.doc.selection,cf=dijit._curFocus;if(dojo.global.getSelection){sel=dojo.global.getSelection();if(sel){if(sel.isCollapsed){tg=cf?cf.tagName:"";if(tg){tg=tg.toLowerCase();if(tg=="textarea"||(tg=="input"&&(!cf.type||cf.type.toLowerCase()=="text"))){sel={start:cf.selectionStart,end:cf.selectionEnd,node:cf,pRange:true};return {isCollapsed:(sel.end<=sel.start),mark:sel};}}bm={isCollapsed:true};}else{rg=sel.getRangeAt(0);bm={isCollapsed:false,mark:rg.cloneRange()};}}}else{if(sel){tg=cf?cf.tagName:"";tg=tg.toLowerCase();if(cf&&tg&&(tg=="button"||tg=="textarea"||tg=="input")){if(sel.type&&sel.type.toLowerCase()=="none"){return {isCollapsed:true,mark:null};}else{rg=sel.createRange();return {isCollapsed:rg.text&&rg.text.length?false:true,mark:{range:rg,pRange:true}};}}bm={};try{rg=sel.createRange();bm.isCollapsed=!(sel.type=="Text"?rg.htmlText.length:rg.length);}catch(e){bm.isCollapsed=true;return bm;}if(sel.type.toUpperCase()=="CONTROL"){if(rg.length){bm.mark=[];var i=0,len=rg.length;while(i<len){bm.mark.push(rg.item(i++));}}else{bm.isCollapsed=true;bm.mark=null;}}else{bm.mark=rg.getBookmark();}}else{console.warn("No idea how to store the current selection for this browser!");}}return bm;},moveToBookmark:function(_262){var _263=dojo.doc,mark=_262.mark;if(mark){if(dojo.global.getSelection){var sel=dojo.global.getSelection();if(sel&&sel.removeAllRanges){if(mark.pRange){var r=mark;var n=r.node;n.selectionStart=r.start;n.selectionEnd=r.end;}else{sel.removeAllRanges();sel.addRange(mark);}}else{console.warn("No idea how to restore selection for this browser!");}}else{if(_263.selection&&mark){var rg;if(mark.pRange){rg=mark.range;}else{if(dojo.isArray(mark)){rg=_263.body.createControlRange();dojo.forEach(mark,function(n){rg.addElement(n);});}else{rg=_263.body.createTextRange();rg.moveToBookmark(mark);}}rg.select();}}}},getFocus:function(menu,_264){var node=!dijit._curFocus||(menu&&dojo.isDescendant(dijit._curFocus,menu.domNode))?dijit._prevFocus:dijit._curFocus;return {node:node,bookmark:(node==dijit._curFocus)&&dojo.withGlobal(_264||dojo.global,dijit.getBookmark),openedForWindow:_264};},focus:function(_265){if(!_265){return;}var node="node" in _265?_265.node:_265,_266=_265.bookmark,_267=_265.openedForWindow,_268=_266?_266.isCollapsed:false;if(node){var _269=(node.tagName.toLowerCase()=="iframe")?node.contentWindow:node;if(_269&&_269.focus){try{_269.focus();}catch(e){}}dijit._onFocusNode(node);}if(_266&&dojo.withGlobal(_267||dojo.global,dijit.isCollapsed)&&!_268){if(_267){_267.focus();}try{dojo.withGlobal(_267||dojo.global,dijit.moveToBookmark,null,[_266]);}catch(e2){}}},_activeStack:[],registerIframe:function(_26a){return dijit.registerWin(_26a.contentWindow,_26a);},unregisterIframe:function(_26b){dijit.unregisterWin(_26b);},registerWin:function(_26c,_26d){var _26e=function(evt){dijit._justMouseDowned=true;setTimeout(function(){dijit._justMouseDowned=false;},0);if(dojo.isIE&&evt&&evt.srcElement&&evt.srcElement.parentNode==null){return;}dijit._onTouchNode(_26d||evt.target||evt.srcElement,"mouse");};var doc=dojo.isIE?_26c.document.documentElement:_26c.document;if(doc){if(dojo.isIE){_26c.document.body.attachEvent("onmousedown",_26e);var _26f=function(evt){if(evt.srcElement.tagName.toLowerCase()!="#document"&&dijit.isTabNavigable(evt.srcElement)){dijit._onFocusNode(_26d||evt.srcElement);}else{dijit._onTouchNode(_26d||evt.srcElement);}};doc.attachEvent("onactivate",_26f);var _270=function(evt){dijit._onBlurNode(_26d||evt.srcElement);};doc.attachEvent("ondeactivate",_270);return function(){_26c.document.detachEvent("onmousedown",_26e);doc.detachEvent("onactivate",_26f);doc.detachEvent("ondeactivate",_270);doc=null;};}else{doc.body.addEventListener("mousedown",_26e,true);var _271=function(evt){dijit._onFocusNode(_26d||evt.target);};doc.addEventListener("focus",_271,true);var _272=function(evt){dijit._onBlurNode(_26d||evt.target);};doc.addEventListener("blur",_272,true);return function(){doc.body.removeEventListener("mousedown",_26e,true);doc.removeEventListener("focus",_271,true);doc.removeEventListener("blur",_272,true);doc=null;};}}},unregisterWin:function(_273){_273&&_273();},_onBlurNode:function(node){dijit._prevFocus=dijit._curFocus;dijit._curFocus=null;if(dijit._justMouseDowned){return;}if(dijit._clearActiveWidgetsTimer){clearTimeout(dijit._clearActiveWidgetsTimer);}dijit._clearActiveWidgetsTimer=setTimeout(function(){delete dijit._clearActiveWidgetsTimer;dijit._setStack([]);dijit._prevFocus=null;},100);},_onTouchNode:function(node,by){if(dijit._clearActiveWidgetsTimer){clearTimeout(dijit._clearActiveWidgetsTimer);delete dijit._clearActiveWidgetsTimer;}var _274=[];try{while(node){var _275=dojo.attr(node,"dijitPopupParent");if(_275){node=dijit.byId(_275).domNode;}else{if(node.tagName&&node.tagName.toLowerCase()=="body"){if(node===dojo.body()){break;}node=dojo.window.get(node.ownerDocument).frameElement;}else{var id=node.getAttribute&&node.getAttribute("widgetId"),_276=id&&dijit.byId(id);if(_276&&!(by=="mouse"&&_276.get("disabled"))){_274.unshift(id);}node=node.parentNode;}}}}catch(e){}dijit._setStack(_274,by);},_onFocusNode:function(node){if(!node){return;}if(node.nodeType==9){return;}dijit._onTouchNode(node);if(node==dijit._curFocus){return;}if(dijit._curFocus){dijit._prevFocus=dijit._curFocus;}dijit._curFocus=node;dojo.publish("focusNode",[node]);},_setStack:function(_277,by){var _278=dijit._activeStack;dijit._activeStack=_277;for(var _279=0;_279<Math.min(_278.length,_277.length);_279++){if(_278[_279]!=_277[_279]){break;}}var _27a;for(var i=_278.length-1;i>=_279;i--){_27a=dijit.byId(_278[i]);if(_27a){_27a._focused=false;_27a.set("focused",false);_27a._hasBeenBlurred=true;if(_27a._onBlur){_27a._onBlur(by);}dojo.publish("widgetBlur",[_27a,by]);}}for(i=_279;i<_277.length;i++){_27a=dijit.byId(_277[i]);if(_27a){_27a._focused=true;_27a.set("focused",true);if(_27a._onFocus){_27a._onFocus(by);}dojo.publish("widgetFocus",[_27a,by]);}}}});dojo.addOnLoad(function(){var _27b=dijit.registerWin(window);if(dojo.isIE){dojo.addOnWindowUnload(function(){dijit.unregisterWin(_27b);_27b=null;});}});}if(!dojo._hasResource["dojo.AdapterRegistry"]){dojo._hasResource["dojo.AdapterRegistry"]=true;dojo.provide("dojo.AdapterRegistry");dojo.AdapterRegistry=function(_27c){this.pairs=[];this.returnWrappers=_27c||false;};dojo.extend(dojo.AdapterRegistry,{register:function(name,_27d,wrap,_27e,_27f){this.pairs[((_27f)?"unshift":"push")]([name,_27d,wrap,_27e]);},match:function(){for(var i=0;i<this.pairs.length;i++){var pair=this.pairs[i];if(pair[1].apply(this,arguments)){if((pair[3])||(this.returnWrappers)){return pair[2];}else{return pair[2].apply(this,arguments);}}}throw new Error("No match found");},unregister:function(name){for(var i=0;i<this.pairs.length;i++){var pair=this.pairs[i];if(pair[0]==name){this.pairs.splice(i,1);return true;}}return false;}});}if(!dojo._hasResource["dijit._base.place"]){dojo._hasResource["dijit._base.place"]=true;dojo.provide("dijit._base.place");dijit.getViewport=function(){return dojo.window.getBox();};dijit.placeOnScreen=function(node,pos,_280,_281){var _282=dojo.map(_280,function(_283){var c={corner:_283,pos:{x:pos.x,y:pos.y}};if(_281){c.pos.x+=_283.charAt(1)=="L"?_281.x:-_281.x;c.pos.y+=_283.charAt(0)=="T"?_281.y:-_281.y;}return c;});return dijit._place(node,_282);};dijit._place=function(node,_284,_285,_286){var view=dojo.window.getBox();if(!node.parentNode||String(node.parentNode.tagName).toLowerCase()!="body"){dojo.body().appendChild(node);}var best=null;dojo.some(_284,function(_287){var _288=_287.corner;var pos=_287.pos;var _289=0;var _28a={w:_288.charAt(1)=="L"?(view.l+view.w)-pos.x:pos.x-view.l,h:_288.charAt(1)=="T"?(view.t+view.h)-pos.y:pos.y-view.t};if(_285){var res=_285(node,_287.aroundCorner,_288,_28a,_286);_289=typeof res=="undefined"?0:res;}var _28b=node.style;var _28c=_28b.display;var _28d=_28b.visibility;_28b.visibility="hidden";_28b.display="";var mb=dojo.marginBox(node);_28b.display=_28c;_28b.visibility=_28d;var _28e=Math.max(view.l,_288.charAt(1)=="L"?pos.x:(pos.x-mb.w)),_28f=Math.max(view.t,_288.charAt(0)=="T"?pos.y:(pos.y-mb.h)),endX=Math.min(view.l+view.w,_288.charAt(1)=="L"?(_28e+mb.w):pos.x),endY=Math.min(view.t+view.h,_288.charAt(0)=="T"?(_28f+mb.h):pos.y),_290=endX-_28e,_291=endY-_28f;_289+=(mb.w-_290)+(mb.h-_291);if(best==null||_289<best.overflow){best={corner:_288,aroundCorner:_287.aroundCorner,x:_28e,y:_28f,w:_290,h:_291,overflow:_289,spaceAvailable:_28a};}return !_289;});if(best.overflow&&_285){_285(node,best.aroundCorner,best.corner,best.spaceAvailable,_286);}var l=dojo._isBodyLtr(),s=node.style;s.top=best.y+"px";s[l?"left":"right"]=(l?best.x:view.w-best.x-best.w)+"px";return best;};dijit.placeOnScreenAroundNode=function(node,_292,_293,_294){_292=dojo.byId(_292);var _295=dojo.position(_292,true);return dijit._placeOnScreenAroundRect(node,_295.x,_295.y,_295.w,_295.h,_293,_294);};dijit.placeOnScreenAroundRectangle=function(node,_296,_297,_298){return dijit._placeOnScreenAroundRect(node,_296.x,_296.y,_296.width,_296.height,_297,_298);};dijit._placeOnScreenAroundRect=function(node,x,y,_299,_29a,_29b,_29c){var _29d=[];for(var _29e in _29b){_29d.push({aroundCorner:_29e,corner:_29b[_29e],pos:{x:x+(_29e.charAt(1)=="L"?0:_299),y:y+(_29e.charAt(0)=="T"?0:_29a)}});}return dijit._place(node,_29d,_29c,{w:_299,h:_29a});};dijit.placementRegistry=new dojo.AdapterRegistry();dijit.placementRegistry.register("node",function(n,x){return typeof x=="object"&&typeof x.offsetWidth!="undefined"&&typeof x.offsetHeight!="undefined";},dijit.placeOnScreenAroundNode);dijit.placementRegistry.register("rect",function(n,x){return typeof x=="object"&&"x" in x&&"y" in x&&"width" in x&&"height" in x;},dijit.placeOnScreenAroundRectangle);dijit.placeOnScreenAroundElement=function(node,_29f,_2a0,_2a1){return dijit.placementRegistry.match.apply(dijit.placementRegistry,arguments);};dijit.getPopupAroundAlignment=function(_2a2,_2a3){var _2a4={};dojo.forEach(_2a2,function(pos){switch(pos){case "after":_2a4[_2a3?"BR":"BL"]=_2a3?"BL":"BR";break;case "before":_2a4[_2a3?"BL":"BR"]=_2a3?"BR":"BL";break;case "below-alt":_2a3=!_2a3;case "below":_2a4[_2a3?"BL":"BR"]=_2a3?"TL":"TR";_2a4[_2a3?"BR":"BL"]=_2a3?"TR":"TL";break;case "above-alt":_2a3=!_2a3;case "above":default:_2a4[_2a3?"TL":"TR"]=_2a3?"BL":"BR";_2a4[_2a3?"TR":"TL"]=_2a3?"BR":"BL";break;}});return _2a4;};}if(!dojo._hasResource["dijit._base.window"]){dojo._hasResource["dijit._base.window"]=true;dojo.provide("dijit._base.window");dijit.getDocumentWindow=function(doc){return dojo.window.get(doc);};}if(!dojo._hasResource["dijit._base.popup"]){dojo._hasResource["dijit._base.popup"]=true;dojo.provide("dijit._base.popup");dijit.popup={_stack:[],_beginZIndex:1000,_idGen:1,_createWrapper:function(_2a5){var _2a6=_2a5.declaredClass?_2a5._popupWrapper:(dojo.hasClass(_2a5.parentNode,"dijitPopup")&&_2a5.parentNode),node=_2a5.domNode||_2a5;if(!_2a6){_2a6=dojo.create("div",{"class":"dijitPopup",style:{display:"none"},role:"presentation"},dojo.body());_2a6.appendChild(node);var s=node.style;s.display="";s.visibility="";s.position="";s.top="0px";if(_2a5.declaredClass){_2a5._popupWrapper=_2a6;dojo.connect(_2a5,"destroy",function(){dojo.destroy(_2a6);delete _2a5._popupWrapper;});}}return _2a6;},moveOffScreen:function(_2a7){var _2a8=this._createWrapper(_2a7);dojo.style(_2a8,{visibility:"hidden",top:"-9999px",display:""});},hide:function(_2a9){var _2aa=this._createWrapper(_2a9);dojo.style(_2aa,"display","none");},getTopPopup:function(){var _2ab=this._stack;for(var pi=_2ab.length-1;pi>0&&_2ab[pi].parent===_2ab[pi-1].widget;pi--){}return _2ab[pi];},open:function(args){var _2ac=this._stack,_2ad=args.popup,_2ae=args.orient||((args.parent?args.parent.isLeftToRight():dojo._isBodyLtr())?{"BL":"TL","BR":"TR","TL":"BL","TR":"BR"}:{"BR":"TR","BL":"TL","TR":"BR","TL":"BL"}),_2af=args.around,id=(args.around&&args.around.id)?(args.around.id+"_dropdown"):("popup_"+this._idGen++);while(_2ac.length&&(!args.parent||!dojo.isDescendant(args.parent.domNode,_2ac[_2ac.length-1].widget.domNode))){dijit.popup.close(_2ac[_2ac.length-1].widget);}var _2b0=this._createWrapper(_2ad);dojo.attr(_2b0,{id:id,style:{zIndex:this._beginZIndex+_2ac.length},"class":"dijitPopup "+(_2ad.baseClass||_2ad["class"]||"").split(" ")[0]+"Popup",dijitPopupParent:args.parent?args.parent.id:""});if(dojo.isIE||dojo.isMoz){if(!_2ad.bgIframe){_2ad.bgIframe=new dijit.BackgroundIframe(_2b0);}}var best=_2af?dijit.placeOnScreenAroundElement(_2b0,_2af,_2ae,_2ad.orient?dojo.hitch(_2ad,"orient"):null):dijit.placeOnScreen(_2b0,args,_2ae=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],args.padding);_2b0.style.display="";_2b0.style.visibility="visible";_2ad.domNode.style.visibility="visible";var _2b1=[];_2b1.push(dojo.connect(_2b0,"onkeypress",this,function(evt){if(evt.charOrCode==dojo.keys.ESCAPE&&args.onCancel){dojo.stopEvent(evt);args.onCancel();}else{if(evt.charOrCode===dojo.keys.TAB){dojo.stopEvent(evt);var _2b2=this.getTopPopup();if(_2b2&&_2b2.onCancel){_2b2.onCancel();}}}}));if(_2ad.onCancel){_2b1.push(dojo.connect(_2ad,"onCancel",args.onCancel));}_2b1.push(dojo.connect(_2ad,_2ad.onExecute?"onExecute":"onChange",this,function(){var _2b3=this.getTopPopup();if(_2b3&&_2b3.onExecute){_2b3.onExecute();}}));_2ac.push({widget:_2ad,parent:args.parent,onExecute:args.onExecute,onCancel:args.onCancel,onClose:args.onClose,handlers:_2b1});if(_2ad.onOpen){_2ad.onOpen(best);}return best;},close:function(_2b4){var _2b5=this._stack;while((_2b4&&dojo.some(_2b5,function(elem){return elem.widget==_2b4;}))||(!_2b4&&_2b5.length)){var top=_2b5.pop(),_2b6=top.widget,_2b7=top.onClose;if(_2b6.onClose){_2b6.onClose();}dojo.forEach(top.handlers,dojo.disconnect);if(_2b6&&_2b6.domNode){this.hide(_2b6);}if(_2b7){_2b7();}}}};dijit._frames=new function(){var _2b8=[];this.pop=function(){var _2b9;if(_2b8.length){_2b9=_2b8.pop();_2b9.style.display="";}else{if(dojo.isIE<9){var burl=dojo.config["dojoBlankHtmlUrl"]||(dojo.moduleUrl("dojo","resources/blank.html")+"")||"javascript:\"\"";var html="<iframe src='"+burl+"'"+" style='position: absolute; left: 0px; top: 0px;"+"z-index: -1; filter:Alpha(Opacity=\"0\");'>";_2b9=dojo.doc.createElement(html);}else{_2b9=dojo.create("iframe");_2b9.src="javascript:\"\"";_2b9.className="dijitBackgroundIframe";dojo.style(_2b9,"opacity",0.1);}_2b9.tabIndex=-1;dijit.setWaiRole(_2b9,"presentation");}return _2b9;};this.push=function(_2ba){_2ba.style.display="none";_2b8.push(_2ba);};}();dijit.BackgroundIframe=function(node){if(!node.id){throw new Error("no id");}if(dojo.isIE||dojo.isMoz){var _2bb=(this.iframe=dijit._frames.pop());node.appendChild(_2bb);if(dojo.isIE<7||dojo.isQuirks){this.resize(node);this._conn=dojo.connect(node,"onresize",this,function(){this.resize(node);});}else{dojo.style(_2bb,{width:"100%",height:"100%"});}}};dojo.extend(dijit.BackgroundIframe,{resize:function(node){if(this.iframe){dojo.style(this.iframe,{width:node.offsetWidth+"px",height:node.offsetHeight+"px"});}},destroy:function(){if(this._conn){dojo.disconnect(this._conn);this._conn=null;}if(this.iframe){dijit._frames.push(this.iframe);delete this.iframe;}}});}if(!dojo._hasResource["dijit._base.scroll"]){dojo._hasResource["dijit._base.scroll"]=true;dojo.provide("dijit._base.scroll");dijit.scrollIntoView=function(node,pos){dojo.window.scrollIntoView(node,pos);};}if(!dojo._hasResource["dojo.uacss"]){dojo._hasResource["dojo.uacss"]=true;dojo.provide("dojo.uacss");(function(){var d=dojo,html=d.doc.documentElement,ie=d.isIE,_2bc=d.isOpera,maj=Math.floor,ff=d.isFF,_2bd=d.boxModel.replace(/-/,""),_2be={dj_ie:ie,dj_ie6:maj(ie)==6,dj_ie7:maj(ie)==7,dj_ie8:maj(ie)==8,dj_ie9:maj(ie)==9,dj_quirks:d.isQuirks,dj_iequirks:ie&&d.isQuirks,dj_opera:_2bc,dj_khtml:d.isKhtml,dj_webkit:d.isWebKit,dj_safari:d.isSafari,dj_chrome:d.isChrome,dj_gecko:d.isMozilla,dj_ff3:maj(ff)==3};_2be["dj_"+_2bd]=true;var _2bf="";for(var clz in _2be){if(_2be[clz]){_2bf+=clz+" ";}}html.className=d.trim(html.className+" "+_2bf);dojo._loaders.unshift(function(){if(!dojo._isBodyLtr()){var _2c0="dj_rtl dijitRtl "+_2bf.replace(/ /g,"-rtl ");html.className=d.trim(html.className+" "+_2c0);}});})();}if(!dojo._hasResource["dijit._base.sniff"]){dojo._hasResource["dijit._base.sniff"]=true;dojo.provide("dijit._base.sniff");}if(!dojo._hasResource["dijit._base.typematic"]){dojo._hasResource["dijit._base.typematic"]=true;dojo.provide("dijit._base.typematic");dijit.typematic={_fireEventAndReload:function(){this._timer=null;this._callback(++this._count,this._node,this._evt);this._currentTimeout=Math.max(this._currentTimeout<0?this._initialDelay:(this._subsequentDelay>1?this._subsequentDelay:Math.round(this._currentTimeout*this._subsequentDelay)),this._minDelay);this._timer=setTimeout(dojo.hitch(this,"_fireEventAndReload"),this._currentTimeout);},trigger:function(evt,_2c1,node,_2c2,obj,_2c3,_2c4,_2c5){if(obj!=this._obj){this.stop();this._initialDelay=_2c4||500;this._subsequentDelay=_2c3||0.9;this._minDelay=_2c5||10;this._obj=obj;this._evt=evt;this._node=node;this._currentTimeout=-1;this._count=-1;this._callback=dojo.hitch(_2c1,_2c2);this._fireEventAndReload();this._evt=dojo.mixin({faux:true},evt);}},stop:function(){if(this._timer){clearTimeout(this._timer);this._timer=null;}if(this._obj){this._callback(-1,this._node,this._evt);this._obj=null;}},addKeyListener:function(node,_2c6,_2c7,_2c8,_2c9,_2ca,_2cb){if(_2c6.keyCode){_2c6.charOrCode=_2c6.keyCode;dojo.deprecated("keyCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}else{if(_2c6.charCode){_2c6.charOrCode=String.fromCharCode(_2c6.charCode);dojo.deprecated("charCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}}return [dojo.connect(node,"onkeypress",this,function(evt){if(evt.charOrCode==_2c6.charOrCode&&(_2c6.ctrlKey===undefined||_2c6.ctrlKey==evt.ctrlKey)&&(_2c6.altKey===undefined||_2c6.altKey==evt.altKey)&&(_2c6.metaKey===undefined||_2c6.metaKey==(evt.metaKey||false))&&(_2c6.shiftKey===undefined||_2c6.shiftKey==evt.shiftKey)){dojo.stopEvent(evt);dijit.typematic.trigger(evt,_2c7,node,_2c8,_2c6,_2c9,_2ca,_2cb);}else{if(dijit.typematic._obj==_2c6){dijit.typematic.stop();}}}),dojo.connect(node,"onkeyup",this,function(evt){if(dijit.typematic._obj==_2c6){dijit.typematic.stop();}})];},addMouseListener:function(node,_2cc,_2cd,_2ce,_2cf,_2d0){var dc=dojo.connect;return [dc(node,"mousedown",this,function(evt){dojo.stopEvent(evt);dijit.typematic.trigger(evt,_2cc,node,_2cd,node,_2ce,_2cf,_2d0);}),dc(node,"mouseup",this,function(evt){dojo.stopEvent(evt);dijit.typematic.stop();}),dc(node,"mouseout",this,function(evt){dojo.stopEvent(evt);dijit.typematic.stop();}),dc(node,"mousemove",this,function(evt){evt.preventDefault();}),dc(node,"dblclick",this,function(evt){dojo.stopEvent(evt);if(dojo.isIE){dijit.typematic.trigger(evt,_2cc,node,_2cd,node,_2ce,_2cf,_2d0);setTimeout(dojo.hitch(this,dijit.typematic.stop),50);}})];},addListener:function(_2d1,_2d2,_2d3,_2d4,_2d5,_2d6,_2d7,_2d8){return this.addKeyListener(_2d2,_2d3,_2d4,_2d5,_2d6,_2d7,_2d8).concat(this.addMouseListener(_2d1,_2d4,_2d5,_2d6,_2d7,_2d8));}};}if(!dojo._hasResource["dijit._base.wai"]){dojo._hasResource["dijit._base.wai"]=true;dojo.provide("dijit._base.wai");dijit.wai={onload:function(){var div=dojo.create("div",{id:"a11yTestNode",style:{cssText:"border: 1px solid;"+"border-color:red green;"+"position: absolute;"+"height: 5px;"+"top: -999px;"+"background-image: url(\""+(dojo.config.blankGif||dojo.moduleUrl("dojo","resources/blank.gif"))+"\");"}},dojo.body());var cs=dojo.getComputedStyle(div);if(cs){var _2d9=cs.backgroundImage;var _2da=(cs.borderTopColor==cs.borderRightColor)||(_2d9!=null&&(_2d9=="none"||_2d9=="url(invalid-url:)"));dojo[_2da?"addClass":"removeClass"](dojo.body(),"dijit_a11y");if(dojo.isIE){div.outerHTML="";}else{dojo.body().removeChild(div);}}}};if(dojo.isIE||dojo.isMoz){dojo._loaders.unshift(dijit.wai.onload);}dojo.mixin(dijit,{hasWaiRole:function(elem,role){var _2db=this.getWaiRole(elem);return role?(_2db.indexOf(role)>-1):(_2db.length>0);},getWaiRole:function(elem){return dojo.trim((dojo.attr(elem,"role")||"").replace("wairole:",""));},setWaiRole:function(elem,role){dojo.attr(elem,"role",role);},removeWaiRole:function(elem,role){var _2dc=dojo.attr(elem,"role");if(!_2dc){return;}if(role){var t=dojo.trim((" "+_2dc+" ").replace(" "+role+" "," "));dojo.attr(elem,"role",t);}else{elem.removeAttribute("role");}},hasWaiState:function(elem,_2dd){return elem.hasAttribute?elem.hasAttribute("aria-"+_2dd):!!elem.getAttribute("aria-"+_2dd);},getWaiState:function(elem,_2de){return elem.getAttribute("aria-"+_2de)||"";},setWaiState:function(elem,_2df,_2e0){elem.setAttribute("aria-"+_2df,_2e0);},removeWaiState:function(elem,_2e1){elem.removeAttribute("aria-"+_2e1);}});}if(!dojo._hasResource["dijit._base"]){dojo._hasResource["dijit._base"]=true;dojo.provide("dijit._base");}if(!dojo._hasResource["dijit._Widget"]){dojo._hasResource["dijit._Widget"]=true;dojo.provide("dijit._Widget");dojo.connect(dojo,"_connect",function(_2e2,_2e3){if(_2e2&&dojo.isFunction(_2e2._onConnect)){_2e2._onConnect(_2e3);}});dijit._connectOnUseEventHandler=function(_2e4){};dijit._lastKeyDownNode=null;if(dojo.isIE){(function(){var _2e5=function(evt){dijit._lastKeyDownNode=evt.srcElement;};dojo.doc.attachEvent("onkeydown",_2e5);dojo.addOnWindowUnload(function(){dojo.doc.detachEvent("onkeydown",_2e5);});})();}else{dojo.doc.addEventListener("keydown",function(evt){dijit._lastKeyDownNode=evt.target;},true);}(function(){dojo.declare("dijit._Widget",dijit._WidgetBase,{_deferredConnects:{onClick:"",onDblClick:"",onKeyDown:"",onKeyPress:"",onKeyUp:"",onMouseMove:"",onMouseDown:"",onMouseOut:"",onMouseOver:"",onMouseLeave:"",onMouseEnter:"",onMouseUp:""},onClick:dijit._connectOnUseEventHandler,onDblClick:dijit._connectOnUseEventHandler,onKeyDown:dijit._connectOnUseEventHandler,onKeyPress:dijit._connectOnUseEventHandler,onKeyUp:dijit._connectOnUseEventHandler,onMouseDown:dijit._connectOnUseEventHandler,onMouseMove:dijit._connectOnUseEventHandler,onMouseOut:dijit._connectOnUseEventHandler,onMouseOver:dijit._connectOnUseEventHandler,onMouseLeave:dijit._connectOnUseEventHandler,onMouseEnter:dijit._connectOnUseEventHandler,onMouseUp:dijit._connectOnUseEventHandler,create:function(_2e6,_2e7){this._deferredConnects=dojo.clone(this._deferredConnects);for(var attr in this.attributeMap){delete this._deferredConnects[attr];}for(attr in this._deferredConnects){if(this[attr]!==dijit._connectOnUseEventHandler){delete this._deferredConnects[attr];}}this.inherited(arguments);if(this.domNode){for(attr in this.params){this._onConnect(attr);}}},_onConnect:function(_2e8){if(_2e8 in this._deferredConnects){var _2e9=this[this._deferredConnects[_2e8]||"domNode"];this.connect(_2e9,_2e8.toLowerCase(),_2e8);delete this._deferredConnects[_2e8];}},focused:false,isFocusable:function(){return this.focus&&(dojo.style(this.domNode,"display")!="none");},onFocus:function(){},onBlur:function(){},_onFocus:function(e){this.onFocus();},_onBlur:function(){this.onBlur();},setAttribute:function(attr,_2ea){dojo.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0");this.set(attr,_2ea);},attr:function(name,_2eb){if(dojo.config.isDebug){var _2ec=arguments.callee._ach||(arguments.callee._ach={}),_2ed=(arguments.callee.caller||"unknown caller").toString();if(!_2ec[_2ed]){dojo.deprecated(this.declaredClass+"::attr() is deprecated. Use get() or set() instead, called from "+_2ed,"","2.0");_2ec[_2ed]=true;}}var args=arguments.length;if(args>=2||typeof name==="object"){return this.set.apply(this,arguments);}else{return this.get(name);}},nodesWithKeyClick:["input","button"],connect:function(obj,_2ee,_2ef){var d=dojo,dc=d._connect,_2f0=this.inherited(arguments,[obj,_2ee=="ondijitclick"?"onclick":_2ee,_2ef]);if(_2ee=="ondijitclick"){if(d.indexOf(this.nodesWithKeyClick,obj.nodeName.toLowerCase())==-1){var m=d.hitch(this,_2ef);_2f0.push(dc(obj,"onkeydown",this,function(e){if((e.keyCode==d.keys.ENTER||e.keyCode==d.keys.SPACE)&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey){dijit._lastKeyDownNode=e.target;if(!("openDropDown" in this&&obj==this._buttonNode)){e.preventDefault();}}}),dc(obj,"onkeyup",this,function(e){if((e.keyCode==d.keys.ENTER||e.keyCode==d.keys.SPACE)&&e.target==dijit._lastKeyDownNode&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey){dijit._lastKeyDownNode=null;return m(e);}}));}}return _2f0;},_onShow:function(){this.onShow();},onShow:function(){},onHide:function(){},onClose:function(){return true;}});})();}if(!dojo._hasResource["dojo.string"]){dojo._hasResource["dojo.string"]=true;dojo.provide("dojo.string");dojo.getObject("string",true,dojo);dojo.string.rep=function(str,num){if(num<=0||!str){return "";}var buf=[];for(;;){if(num&1){buf.push(str);}if(!(num>>=1)){break;}str+=str;}return buf.join("");};dojo.string.pad=function(text,size,ch,end){if(!ch){ch="0";}var out=String(text),pad=dojo.string.rep(ch,Math.ceil((size-out.length)/ch.length));return end?out+pad:pad+out;};dojo.string.substitute=function(_2f1,map,_2f2,_2f3){_2f3=_2f3||dojo.global;_2f2=_2f2?dojo.hitch(_2f3,_2f2):function(v){return v;};return _2f1.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_2f4,key,_2f5){var _2f6=dojo.getObject(key,false,map);if(_2f5){_2f6=dojo.getObject(_2f5,false,_2f3).call(_2f3,_2f6,key);}return _2f2(_2f6,key).toString();});};dojo.string.trim=String.prototype.trim?dojo.trim:function(str){str=str.replace(/^\s+/,"");for(var i=str.length-1;i>=0;i--){if(/\S/.test(str.charAt(i))){str=str.substring(0,i+1);break;}}return str;};}if(!dojo._hasResource["dojo.date.stamp"]){dojo._hasResource["dojo.date.stamp"]=true;dojo.provide("dojo.date.stamp");dojo.getObject("date.stamp",true,dojo);dojo.date.stamp.fromISOString=function(_2f7,_2f8){if(!dojo.date.stamp._isoRegExp){dojo.date.stamp._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/;}var _2f9=dojo.date.stamp._isoRegExp.exec(_2f7),_2fa=null;if(_2f9){_2f9.shift();if(_2f9[1]){_2f9[1]--;}if(_2f9[6]){_2f9[6]*=1000;}if(_2f8){_2f8=new Date(_2f8);dojo.forEach(dojo.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(prop){return _2f8["get"+prop]();}),function(_2fb,_2fc){_2f9[_2fc]=_2f9[_2fc]||_2fb;});}_2fa=new Date(_2f9[0]||1970,_2f9[1]||0,_2f9[2]||1,_2f9[3]||0,_2f9[4]||0,_2f9[5]||0,_2f9[6]||0);if(_2f9[0]<100){_2fa.setFullYear(_2f9[0]||1970);}var _2fd=0,_2fe=_2f9[7]&&_2f9[7].charAt(0);if(_2fe!="Z"){_2fd=((_2f9[8]||0)*60)+(Number(_2f9[9])||0);if(_2fe!="-"){_2fd*=-1;}}if(_2fe){_2fd-=_2fa.getTimezoneOffset();}if(_2fd){_2fa.setTime(_2fa.getTime()+_2fd*60000);}}return _2fa;};dojo.date.stamp.toISOString=function(_2ff,_300){var _301=function(n){return (n<10)?"0"+n:n;};_300=_300||{};var _302=[],_303=_300.zulu?"getUTC":"get",date="";if(_300.selector!="time"){var year=_2ff[_303+"FullYear"]();date=["0000".substr((year+"").length)+year,_301(_2ff[_303+"Month"]()+1),_301(_2ff[_303+"Date"]())].join("-");}_302.push(date);if(_300.selector!="date"){var time=[_301(_2ff[_303+"Hours"]()),_301(_2ff[_303+"Minutes"]()),_301(_2ff[_303+"Seconds"]())].join(":");var _304=_2ff[_303+"Milliseconds"]();if(_300.milliseconds){time+="."+(_304<100?"0":"")+_301(_304);}if(_300.zulu){time+="Z";}else{if(_300.selector!="time"){var _305=_2ff.getTimezoneOffset();var _306=Math.abs(_305);time+=(_305>0?"-":"+")+_301(Math.floor(_306/60))+":"+_301(_306%60);}}_302.push(time);}return _302.join("T");};}if(!dojo._hasResource["dojo.parser"]){dojo._hasResource["dojo.parser"]=true;dojo.provide("dojo.parser");new Date("X");dojo.parser=new function(){var d=dojo;function _307(_308){if(d.isString(_308)){return "string";}if(typeof _308=="number"){return "number";}if(typeof _308=="boolean"){return "boolean";}if(d.isFunction(_308)){return "function";}if(d.isArray(_308)){return "array";}if(_308 instanceof Date){return "date";}if(_308 instanceof d._Url){return "url";}return "object";};function _309(_30a,type){switch(type){case "string":return _30a;case "number":return _30a.length?Number(_30a):NaN;case "boolean":return typeof _30a=="boolean"?_30a:!(_30a.toLowerCase()=="false");case "function":if(d.isFunction(_30a)){_30a=_30a.toString();_30a=d.trim(_30a.substring(_30a.indexOf("{")+1,_30a.length-1));}try{if(_30a===""||_30a.search(/[^\w\.]+/i)!=-1){return new Function(_30a);}else{return d.getObject(_30a,false)||new Function(_30a);}}catch(e){return new Function();}case "array":return _30a?_30a.split(/\s*,\s*/):[];case "date":switch(_30a){case "":return new Date("");case "now":return new Date();default:return d.date.stamp.fromISOString(_30a);}case "url":return d.baseUrl+_30a;default:return d.fromJson(_30a);}};var _30b={},_30c={};d.connect(d,"extend",function(){_30c={};});function _30d(cls,_30e){for(var name in cls){if(name.charAt(0)=="_"){continue;}if(name in _30b){continue;}_30e[name]=_307(cls[name]);}return _30e;};function _30f(_310,_311){var c=_30c[_310];if(!c){var cls=d.getObject(_310),_312=null;if(!cls){return null;}if(!_311){_312=_30d(cls.prototype,{});}c={cls:cls,params:_312};}else{if(!_311&&!c.params){c.params=_30d(c.cls.prototype,{});}}return c;};this._functionFromScript=function(_313,_314){var _315="";var _316="";var _317=(_313.getAttribute(_314+"args")||_313.getAttribute("args"));if(_317){d.forEach(_317.split(/\s*,\s*/),function(part,idx){_315+="var "+part+" = arguments["+idx+"]; ";});}var _318=_313.getAttribute("with");if(_318&&_318.length){d.forEach(_318.split(/\s*,\s*/),function(part){_315+="with("+part+"){";_316+="}";});}return new Function(_315+_313.innerHTML+_316);};this.instantiate=function(_319,_31a,args){var _31b=[],_31a=_31a||{};args=args||{};var _31c=(args.scope||d._scopeName)+"Type",_31d="data-"+(args.scope||d._scopeName)+"-";d.forEach(_319,function(obj){if(!obj){return;}var node,type,_31e,_31f,_46,_320;if(obj.node){node=obj.node;type=obj.type;_320=obj.fastpath;_31e=obj.clsInfo||(type&&_30f(type,_320));_31f=_31e&&_31e.cls;_46=obj.scripts;}else{node=obj;type=_31c in _31a?_31a[_31c]:node.getAttribute(_31c);_31e=type&&_30f(type);_31f=_31e&&_31e.cls;_46=(_31f&&(_31f._noScript||_31f.prototype._noScript)?[]:d.query("> script[type^='dojo/']",node));}if(!_31e){throw new Error("Could not load class '"+type);}var _321={};if(args.defaults){d._mixin(_321,args.defaults);}if(obj.inherited){d._mixin(_321,obj.inherited);}if(_320){var _322=node.getAttribute(_31d+"props");if(_322&&_322.length){try{_322=d.fromJson.call(args.propsThis,"{"+_322+"}");d._mixin(_321,_322);}catch(e){throw new Error(e.toString()+" in data-dojo-props='"+_322+"'");}}var _323=node.getAttribute(_31d+"attach-point");if(_323){_321.dojoAttachPoint=_323;}var _324=node.getAttribute(_31d+"attach-event");if(_324){_321.dojoAttachEvent=_324;}dojo.mixin(_321,_31a);}else{var _325=node.attributes;for(var name in _31e.params){var item=name in _31a?{value:_31a[name],specified:true}:_325.getNamedItem(name);if(!item||(!item.specified&&(!dojo.isIE||name.toLowerCase()!="value"))){continue;}var _326=item.value;switch(name){case "class":_326="className" in _31a?_31a.className:node.className;break;case "style":_326="style" in _31a?_31a.style:(node.style&&node.style.cssText);}var _327=_31e.params[name];if(typeof _326=="string"){_321[name]=_309(_326,_327);}else{_321[name]=_326;}}}var _328=[],_329=[];d.forEach(_46,function(_32a){node.removeChild(_32a);var _32b=(_32a.getAttribute(_31d+"event")||_32a.getAttribute("event")),type=_32a.getAttribute("type"),nf=d.parser._functionFromScript(_32a,_31d);if(_32b){if(type=="dojo/connect"){_328.push({event:_32b,func:nf});}else{_321[_32b]=nf;}}else{_329.push(nf);}});var _32c=_31f.markupFactory||_31f.prototype&&_31f.prototype.markupFactory;var _32d=_32c?_32c(_321,node,_31f):new _31f(_321,node);_31b.push(_32d);var _32e=(node.getAttribute(_31d+"id")||node.getAttribute("jsId"));if(_32e){d.setObject(_32e,_32d);}d.forEach(_328,function(_32f){d.connect(_32d,_32f.event,null,_32f.func);});d.forEach(_329,function(func){func.call(_32d);});});if(!_31a._started){d.forEach(_31b,function(_330){if(!args.noStart&&_330&&dojo.isFunction(_330.startup)&&!_330._started&&(!_330.getParent||!_330.getParent())){_330.startup();}});}return _31b;};this.parse=function(_331,args){var root;if(!args&&_331&&_331.rootNode){args=_331;root=args.rootNode;}else{root=_331;}args=args||{};var _332=(args.scope||d._scopeName)+"Type",_333="data-"+(args.scope||d._scopeName)+"-";function scan(_334,list){var _335=dojo.clone(_334.inherited);dojo.forEach(["dir","lang"],function(name){var val=_334.node.getAttribute(name);if(val){_335[name]=val;}});var _336=_334.clsInfo&&!_334.clsInfo.cls.prototype._noScript?_334.scripts:null;var _337=(!_334.clsInfo||!_334.clsInfo.cls.prototype.stopParser)||(args&&args.template);for(var _338=_334.node.firstChild;_338;_338=_338.nextSibling){if(_338.nodeType==1){var type,_339=_337&&_338.getAttribute(_333+"type");if(_339){type=_339;}else{type=_337&&_338.getAttribute(_332);}var _33a=_339==type;if(type){var _33b={"type":type,fastpath:_33a,clsInfo:_30f(type,_33a),node:_338,scripts:[],inherited:_335};list.push(_33b);scan(_33b,list);}else{if(_336&&_338.nodeName.toLowerCase()=="script"){type=_338.getAttribute("type");if(type&&/^dojo\/\w/i.test(type)){_336.push(_338);}}else{if(_337){scan({node:_338,inherited:_335},list);}}}}}};var list=[];scan({node:root?dojo.byId(root):dojo.body(),inherited:(args&&args.inherited)||{dir:dojo._isBodyLtr()?"ltr":"rtl"}},list);var _33c=args&&args.template?{template:true}:null;return this.instantiate(list,_33c,args);};}();(function(){var _33d=function(){if(dojo.config.parseOnLoad){dojo.parser.parse();}};if(dojo.getObject("dijit.wai.onload")===dojo._loaders[0]){dojo._loaders.splice(1,0,_33d);}else{dojo._loaders.unshift(_33d);}})();}if(!dojo._hasResource["dojo.cache"]){dojo._hasResource["dojo.cache"]=true;dojo.provide("dojo.cache");var _33e={};dojo.cache=function(_33f,url,_340){if(typeof _33f=="string"){var _341=dojo.moduleUrl(_33f,url);}else{_341=_33f;_340=url;}var key=_341.toString();var val=_340;if(_340!=undefined&&!dojo.isString(_340)){val=("value" in _340?_340.value:undefined);}var _342=_340&&_340.sanitize?true:false;if(typeof val=="string"){val=_33e[key]=_342?dojo.cache._sanitize(val):val;}else{if(val===null){delete _33e[key];}else{if(!(key in _33e)){val=dojo._getText(key);_33e[key]=_342?dojo.cache._sanitize(val):val;}val=_33e[key];}}return val;};dojo.cache._sanitize=function(val){if(val){val=val.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _343=val.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_343){val=_343[1];}}else{val="";}return val;};}if(!dojo._hasResource["dijit._Templated"]){dojo._hasResource["dijit._Templated"]=true;dojo.provide("dijit._Templated");dojo.declare("dijit._Templated",null,{templateString:null,templatePath:null,widgetsInTemplate:false,_skipNodeCache:false,_earlyTemplatedStartup:false,constructor:function(){this._attachPoints=[];this._attachEvents=[];},_stringRepl:function(tmpl){var _344=this.declaredClass,_345=this;return dojo.string.substitute(tmpl,this,function(_346,key){if(key.charAt(0)=="!"){_346=dojo.getObject(key.substr(1),false,_345);}if(typeof _346=="undefined"){throw new Error(_344+" template:"+key);}if(_346==null){return "";}return key.charAt(0)=="!"?_346:_346.toString().replace(/"/g,"&quot;");},this);},buildRendering:function(){var _347=dijit._Templated.getCachedTemplate(this.templatePath,this.templateString,this._skipNodeCache);var node;if(dojo.isString(_347)){node=dojo._toDom(this._stringRepl(_347));if(node.nodeType!=1){throw new Error("Invalid template: "+_347);}}else{node=_347.cloneNode(true);}this.domNode=node;this.inherited(arguments);this._attachTemplateNodes(node);if(this.widgetsInTemplate){var cw=(this._startupWidgets=dojo.parser.parse(node,{noStart:!this._earlyTemplatedStartup,template:true,inherited:{dir:this.dir,lang:this.lang},propsThis:this,scope:"dojo"}));this._supportingWidgets=dijit.findWidgets(node);this._attachTemplateNodes(cw,function(n,p){return n[p];});}this._fillContent(this.srcNodeRef);},_fillContent:function(_348){var dest=this.containerNode;if(_348&&dest){while(_348.hasChildNodes()){dest.appendChild(_348.firstChild);}}},_attachTemplateNodes:function(_349,_34a){_34a=_34a||function(n,p){return n.getAttribute(p);};var _34b=dojo.isArray(_349)?_349:(_349.all||_349.getElementsByTagName("*"));var x=dojo.isArray(_349)?0:-1;for(;x<_34b.length;x++){var _34c=(x==-1)?_349:_34b[x];if(this.widgetsInTemplate&&(_34a(_34c,"dojoType")||_34a(_34c,"data-dojo-type"))){continue;}var _34d=_34a(_34c,"dojoAttachPoint")||_34a(_34c,"data-dojo-attach-point");if(_34d){var _34e,_34f=_34d.split(/\s*,\s*/);while((_34e=_34f.shift())){if(dojo.isArray(this[_34e])){this[_34e].push(_34c);}else{this[_34e]=_34c;}this._attachPoints.push(_34e);}}var _350=_34a(_34c,"dojoAttachEvent")||_34a(_34c,"data-dojo-attach-event");if(_350){var _351,_352=_350.split(/\s*,\s*/);var trim=dojo.trim;while((_351=_352.shift())){if(_351){var _353=null;if(_351.indexOf(":")!=-1){var _354=_351.split(":");_351=trim(_354[0]);_353=trim(_354[1]);}else{_351=trim(_351);}if(!_353){_353=_351;}this._attachEvents.push(this.connect(_34c,_351,_353));}}}var role=_34a(_34c,"waiRole");if(role){dijit.setWaiRole(_34c,role);}var _355=_34a(_34c,"waiState");if(_355){dojo.forEach(_355.split(/\s*,\s*/),function(_356){if(_356.indexOf("-")!=-1){var pair=_356.split("-");dijit.setWaiState(_34c,pair[0],pair[1]);}});}}},startup:function(){dojo.forEach(this._startupWidgets,function(w){if(w&&!w._started&&w.startup){w.startup();}});this.inherited(arguments);},destroyRendering:function(){dojo.forEach(this._attachPoints,function(_357){delete this[_357];},this);this._attachPoints=[];dojo.forEach(this._attachEvents,this.disconnect,this);this._attachEvents=[];this.inherited(arguments);}});dijit._Templated._templateCache={};dijit._Templated.getCachedTemplate=function(_358,_359,_35a){var _35b=dijit._Templated._templateCache;var key=_359||_358;var _35c=_35b[key];if(_35c){try{if(!_35c.ownerDocument||_35c.ownerDocument==dojo.doc){return _35c;}}catch(e){}dojo.destroy(_35c);}if(!_359){_359=dojo.cache(_358,{sanitize:true});}_359=dojo.string.trim(_359);if(_35a||_359.match(/\$\{([^\}]+)\}/g)){return (_35b[key]=_359);}else{var node=dojo._toDom(_359);if(node.nodeType!=1){throw new Error("Invalid template: "+_359);}return (_35b[key]=node);}};if(dojo.isIE){dojo.addOnWindowUnload(function(){var _35d=dijit._Templated._templateCache;for(var key in _35d){var _35e=_35d[key];if(typeof _35e=="object"){dojo.destroy(_35e);}delete _35d[key];}});}dojo.extend(dijit._Widget,{dojoAttachEvent:"",dojoAttachPoint:"",waiRole:"",waiState:""});}if(!dojo._hasResource["dojo.i18n"]){dojo._hasResource["dojo.i18n"]=true;dojo.provide("dojo.i18n");dojo.getObject("i18n",true,dojo);dojo.i18n.getLocalization=dojo.i18n.getLocalization||function(_35f,_360,_361){_361=dojo.i18n.normalizeLocale(_361);var _362=_361.split("-");var _363=[_35f,"nls",_360].join(".");var _364=dojo._loadedModules[_363];if(_364){var _365;for(var i=_362.length;i>0;i--){var loc=_362.slice(0,i).join("_");if(_364[loc]){_365=_364[loc];break;}}if(!_365){_365=_364.ROOT;}if(_365){var _366=function(){};_366.prototype=_365;return new _366();}}throw new Error("Bundle not found: "+_360+" in "+_35f+" , locale="+_361);};dojo.i18n.normalizeLocale=function(_367){var _368=_367?_367.toLowerCase():dojo.locale;if(_368=="root"){_368="ROOT";}return _368;};dojo.i18n._requireLocalization=function(_369,_36a,_36b,_36c){var _36d=dojo.i18n.normalizeLocale(_36b);var _36e=[_369,"nls",_36a].join(".");var _36f="";if(_36c){var _370=_36c.split(",");for(var i=0;i<_370.length;i++){if(_36d["indexOf"](_370[i])==0){if(_370[i].length>_36f.length){_36f=_370[i];}}}if(!_36f){_36f="ROOT";}}var _371=_36c?_36f:_36d;var _372=dojo._loadedModules[_36e];var _373=null;if(_372){if(dojo.config.localizationComplete&&_372._built){return;}var _374=_371.replace(/-/g,"_");var _375=_36e+"."+_374;_373=dojo._loadedModules[_375];}if(!_373){_372=dojo["provide"](_36e);var syms=dojo._getModuleSymbols(_369);var _376=syms.concat("nls").join("/");var _377;dojo.i18n._searchLocalePath(_371,_36c,function(loc){var _378=loc.replace(/-/g,"_");var _379=_36e+"."+_378;var _37a=false;if(!dojo._loadedModules[_379]){dojo["provide"](_379);var _37b=[_376];if(loc!="ROOT"){_37b.push(loc);}_37b.push(_36a);var _37c=_37b.join("/")+".js";_37a=dojo._loadPath(_37c,null,function(hash){hash=hash.root||hash;var _37d=function(){};_37d.prototype=_377;_372[_378]=new _37d();for(var j in hash){_372[_378][j]=hash[j];}});}else{_37a=true;}if(_37a&&_372[_378]){_377=_372[_378];}else{_372[_378]=_377;}if(_36c){return true;}});}if(_36c&&_36d!=_36f){_372[_36d.replace(/-/g,"_")]=_372[_36f.replace(/-/g,"_")];}};(function(){var _37e=dojo.config.extraLocale;if(_37e){if(!_37e instanceof Array){_37e=[_37e];}var req=dojo.i18n._requireLocalization;dojo.i18n._requireLocalization=function(m,b,_37f,_380){req(m,b,_37f,_380);if(_37f){return;}for(var i=0;i<_37e.length;i++){req(m,b,_37e[i],_380);}};}})();dojo.i18n._searchLocalePath=function(_381,down,_382){_381=dojo.i18n.normalizeLocale(_381);var _383=_381.split("-");var _384=[];for(var i=_383.length;i>0;i--){_384.push(_383.slice(0,i).join("-"));}_384.push(false);if(down){_384.reverse();}for(var j=_384.length-1;j>=0;j--){var loc=_384[j]||"ROOT";var stop=_382(loc);if(stop){break;}}};dojo.i18n._preloadLocalizations=function(_385,_386){function _387(_388){_388=dojo.i18n.normalizeLocale(_388);dojo.i18n._searchLocalePath(_388,true,function(loc){for(var i=0;i<_386.length;i++){if(_386[i]==loc){dojo["require"](_385+"_"+loc);return true;}}return false;});};_387();var _389=dojo.config.extraLocale||[];for(var i=0;i<_389.length;i++){_387(_389[i]);}};}if(!dojo._hasResource["dojo.data.util.filter"]){dojo._hasResource["dojo.data.util.filter"]=true;dojo.provide("dojo.data.util.filter");dojo.getObject("data.util.filter",true,dojo);dojo.data.util.filter.patternToRegExp=function(_38a,_38b){var rxp="^";var c=null;for(var i=0;i<_38a.length;i++){c=_38a.charAt(i);switch(c){case "\\":rxp+=c;i++;rxp+=_38a.charAt(i);break;case "*":rxp+=".*";break;case "?":rxp+=".";break;case "$":case "^":case "/":case "+":case ".":case "|":case "(":case ")":case "{":case "}":case "[":case "]":rxp+="\\";default:rxp+=c;}}rxp+="$";if(_38b){return new RegExp(rxp,"mi");}else{return new RegExp(rxp,"m");}};}if(!dojo._hasResource["dojo.data.util.sorter"]){dojo._hasResource["dojo.data.util.sorter"]=true;dojo.provide("dojo.data.util.sorter");dojo.getObject("data.util.sorter",true,dojo);dojo.data.util.sorter.basicComparator=function(a,b){var r=-1;if(a===null){a=undefined;}if(b===null){b=undefined;}if(a==b){r=0;}else{if(a>b||a==null){r=1;}}return r;};dojo.data.util.sorter.createSortFunction=function(_38c,_38d){var _38e=[];function _38f(attr,dir,comp,s){return function(_390,_391){var a=s.getValue(_390,attr);var b=s.getValue(_391,attr);return dir*comp(a,b);};};var _392;var map=_38d.comparatorMap;var bc=dojo.data.util.sorter.basicComparator;for(var i=0;i<_38c.length;i++){_392=_38c[i];var attr=_392.attribute;if(attr){var dir=(_392.descending)?-1:1;var comp=bc;if(map){if(typeof attr!=="string"&&("toString" in attr)){attr=attr.toString();}comp=map[attr]||bc;}_38e.push(_38f(attr,dir,comp,_38d));}}return function(rowA,rowB){var i=0;while(i<_38e.length){var ret=_38e[i++](rowA,rowB);if(ret!==0){return ret;}}return 0;};};}if(!dojo._hasResource["dojo.data.util.simpleFetch"]){dojo._hasResource["dojo.data.util.simpleFetch"]=true;dojo.provide("dojo.data.util.simpleFetch");dojo.getObject("data.util.simpleFetch",true,dojo);dojo.data.util.simpleFetch.fetch=function(_393){_393=_393||{};if(!_393.store){_393.store=this;}var self=this;var _394=function(_395,_396){if(_396.onError){var _397=_396.scope||dojo.global;_396.onError.call(_397,_395,_396);}};var _398=function(_399,_39a){var _39b=_39a.abort||null;var _39c=false;var _39d=_39a.start?_39a.start:0;var _39e=(_39a.count&&(_39a.count!==Infinity))?(_39d+_39a.count):_399.length;_39a.abort=function(){_39c=true;if(_39b){_39b.call(_39a);}};var _39f=_39a.scope||dojo.global;if(!_39a.store){_39a.store=self;}if(_39a.onBegin){_39a.onBegin.call(_39f,_399.length,_39a);}if(_39a.sort){_399.sort(dojo.data.util.sorter.createSortFunction(_39a.sort,self));}if(_39a.onItem){for(var i=_39d;(i<_399.length)&&(i<_39e);++i){var item=_399[i];if(!_39c){_39a.onItem.call(_39f,item,_39a);}}}if(_39a.onComplete&&!_39c){var _3a0=null;if(!_39a.onItem){_3a0=_399.slice(_39d,_39e);}_39a.onComplete.call(_39f,_3a0,_39a);}};this._fetchItems(_393,_398,_394);return _393;};}if(!dojo._hasResource["dojo.data.ItemFileReadStore"]){dojo._hasResource["dojo.data.ItemFileReadStore"]=true;dojo.provide("dojo.data.ItemFileReadStore");dojo.declare("dojo.data.ItemFileReadStore",null,{constructor:function(_3a1){this._arrayOfAllItems=[];this._arrayOfTopLevelItems=[];this._loadFinished=false;this._jsonFileUrl=_3a1.url;this._ccUrl=_3a1.url;this.url=_3a1.url;this._jsonData=_3a1.data;this.data=null;this._datatypeMap=_3a1.typeMap||{};if(!this._datatypeMap["Date"]){this._datatypeMap["Date"]={type:Date,deserialize:function(_3a2){return dojo.date.stamp.fromISOString(_3a2);}};}this._features={"dojo.data.api.Read":true,"dojo.data.api.Identity":true};this._itemsByIdentity=null;this._storeRefPropName="_S";this._itemNumPropName="_0";this._rootItemPropName="_RI";this._reverseRefMap="_RRM";this._loadInProgress=false;this._queuedFetches=[];if(_3a1.urlPreventCache!==undefined){this.urlPreventCache=_3a1.urlPreventCache?true:false;}if(_3a1.hierarchical!==undefined){this.hierarchical=_3a1.hierarchical?true:false;}if(_3a1.clearOnClose){this.clearOnClose=true;}if("failOk" in _3a1){this.failOk=_3a1.failOk?true:false;}},url:"",_ccUrl:"",data:null,typeMap:null,clearOnClose:false,urlPreventCache:false,failOk:false,hierarchical:true,_assertIsItem:function(item){if(!this.isItem(item)){throw new Error("dojo.data.ItemFileReadStore: Invalid item argument.");}},_assertIsAttribute:function(_3a3){if(typeof _3a3!=="string"){throw new Error("dojo.data.ItemFileReadStore: Invalid attribute argument.");}},getValue:function(item,_3a4,_3a5){var _3a6=this.getValues(item,_3a4);return (_3a6.length>0)?_3a6[0]:_3a5;},getValues:function(item,_3a7){this._assertIsItem(item);this._assertIsAttribute(_3a7);return (item[_3a7]||[]).slice(0);},getAttributes:function(item){this._assertIsItem(item);var _3a8=[];for(var key in item){if((key!==this._storeRefPropName)&&(key!==this._itemNumPropName)&&(key!==this._rootItemPropName)&&(key!==this._reverseRefMap)){_3a8.push(key);}}return _3a8;},hasAttribute:function(item,_3a9){this._assertIsItem(item);this._assertIsAttribute(_3a9);return (_3a9 in item);},containsValue:function(item,_3aa,_3ab){var _3ac=undefined;if(typeof _3ab==="string"){_3ac=dojo.data.util.filter.patternToRegExp(_3ab,false);}return this._containsValue(item,_3aa,_3ab,_3ac);},_containsValue:function(item,_3ad,_3ae,_3af){return dojo.some(this.getValues(item,_3ad),function(_3b0){if(_3b0!==null&&!dojo.isObject(_3b0)&&_3af){if(_3b0.toString().match(_3af)){return true;}}else{if(_3ae===_3b0){return true;}}});},isItem:function(_3b1){if(_3b1&&_3b1[this._storeRefPropName]===this){if(this._arrayOfAllItems[_3b1[this._itemNumPropName]]===_3b1){return true;}}return false;},isItemLoaded:function(_3b2){return this.isItem(_3b2);},loadItem:function(_3b3){this._assertIsItem(_3b3.item);},getFeatures:function(){return this._features;},getLabel:function(item){if(this._labelAttr&&this.isItem(item)){return this.getValue(item,this._labelAttr);}return undefined;},getLabelAttributes:function(item){if(this._labelAttr){return [this._labelAttr];}return null;},_fetchItems:function(_3b4,_3b5,_3b6){var self=this,_3b7=function(_3b8,_3b9){var _3ba=[],i,key;if(_3b8.query){var _3bb,_3bc=_3b8.queryOptions?_3b8.queryOptions.ignoreCase:false;var _3bd={};for(key in _3b8.query){_3bb=_3b8.query[key];if(typeof _3bb==="string"){_3bd[key]=dojo.data.util.filter.patternToRegExp(_3bb,_3bc);}else{if(_3bb instanceof RegExp){_3bd[key]=_3bb;}}}for(i=0;i<_3b9.length;++i){var _3be=true;var _3bf=_3b9[i];if(_3bf===null){_3be=false;}else{for(key in _3b8.query){_3bb=_3b8.query[key];if(!self._containsValue(_3bf,key,_3bb,_3bd[key])){_3be=false;}}}if(_3be){_3ba.push(_3bf);}}_3b5(_3ba,_3b8);}else{for(i=0;i<_3b9.length;++i){var item=_3b9[i];if(item!==null){_3ba.push(item);}}_3b5(_3ba,_3b8);}};if(this._loadFinished){_3b7(_3b4,this._getItemsArray(_3b4.queryOptions));}else{if(this._jsonFileUrl!==this._ccUrl){dojo.deprecated("dojo.data.ItemFileReadStore: ","To change the url, set the url property of the store,"+" not _jsonFileUrl.  _jsonFileUrl support will be removed in 2.0");this._ccUrl=this._jsonFileUrl;this.url=this._jsonFileUrl;}else{if(this.url!==this._ccUrl){this._jsonFileUrl=this.url;this._ccUrl=this.url;}}if(this.data!=null){this._jsonData=this.data;this.data=null;}if(this._jsonFileUrl){if(this._loadInProgress){this._queuedFetches.push({args:_3b4,filter:_3b7});}else{this._loadInProgress=true;var _3c0={url:self._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk};var _3c1=dojo.xhrGet(_3c0);_3c1.addCallback(function(data){try{self._getItemsFromLoadedData(data);self._loadFinished=true;self._loadInProgress=false;_3b7(_3b4,self._getItemsArray(_3b4.queryOptions));self._handleQueuedFetches();}catch(e){self._loadFinished=true;self._loadInProgress=false;_3b6(e,_3b4);}});_3c1.addErrback(function(_3c2){self._loadInProgress=false;_3b6(_3c2,_3b4);});var _3c3=null;if(_3b4.abort){_3c3=_3b4.abort;}_3b4.abort=function(){var df=_3c1;if(df&&df.fired===-1){df.cancel();df=null;}if(_3c3){_3c3.call(_3b4);}};}}else{if(this._jsonData){try{this._loadFinished=true;this._getItemsFromLoadedData(this._jsonData);this._jsonData=null;_3b7(_3b4,this._getItemsArray(_3b4.queryOptions));}catch(e){_3b6(e,_3b4);}}else{_3b6(new Error("dojo.data.ItemFileReadStore: No JSON source data was provided as either URL or a nested Javascript object."),_3b4);}}}},_handleQueuedFetches:function(){if(this._queuedFetches.length>0){for(var i=0;i<this._queuedFetches.length;i++){var _3c4=this._queuedFetches[i],_3c5=_3c4.args,_3c6=_3c4.filter;if(_3c6){_3c6(_3c5,this._getItemsArray(_3c5.queryOptions));}else{this.fetchItemByIdentity(_3c5);}}this._queuedFetches=[];}},_getItemsArray:function(_3c7){if(_3c7&&_3c7.deep){return this._arrayOfAllItems;}return this._arrayOfTopLevelItems;},close:function(_3c8){if(this.clearOnClose&&this._loadFinished&&!this._loadInProgress){if(((this._jsonFileUrl==""||this._jsonFileUrl==null)&&(this.url==""||this.url==null))&&this.data==null){console.debug("dojo.data.ItemFileReadStore: WARNING!  Data reload "+" information has not been provided."+"  Please set 'url' or 'data' to the appropriate value before"+" the next fetch");}this._arrayOfAllItems=[];this._arrayOfTopLevelItems=[];this._loadFinished=false;this._itemsByIdentity=null;this._loadInProgress=false;this._queuedFetches=[];}},_getItemsFromLoadedData:function(_3c9){var _3ca=false,self=this;function _3cb(_3cc){var _3cd=((_3cc!==null)&&(typeof _3cc==="object")&&(!dojo.isArray(_3cc)||_3ca)&&(!dojo.isFunction(_3cc))&&(_3cc.constructor==Object||dojo.isArray(_3cc))&&(typeof _3cc._reference==="undefined")&&(typeof _3cc._type==="undefined")&&(typeof _3cc._value==="undefined")&&self.hierarchical);return _3cd;};function _3ce(_3cf){self._arrayOfAllItems.push(_3cf);for(var _3d0 in _3cf){var _3d1=_3cf[_3d0];if(_3d1){if(dojo.isArray(_3d1)){var _3d2=_3d1;for(var k=0;k<_3d2.length;++k){var _3d3=_3d2[k];if(_3cb(_3d3)){_3ce(_3d3);}}}else{if(_3cb(_3d1)){_3ce(_3d1);}}}}};this._labelAttr=_3c9.label;var i,item;this._arrayOfAllItems=[];this._arrayOfTopLevelItems=_3c9.items;for(i=0;i<this._arrayOfTopLevelItems.length;++i){item=this._arrayOfTopLevelItems[i];if(dojo.isArray(item)){_3ca=true;}_3ce(item);item[this._rootItemPropName]=true;}var _3d4={},key;for(i=0;i<this._arrayOfAllItems.length;++i){item=this._arrayOfAllItems[i];for(key in item){if(key!==this._rootItemPropName){var _3d5=item[key];if(_3d5!==null){if(!dojo.isArray(_3d5)){item[key]=[_3d5];}}else{item[key]=[null];}}_3d4[key]=key;}}while(_3d4[this._storeRefPropName]){this._storeRefPropName+="_";}while(_3d4[this._itemNumPropName]){this._itemNumPropName+="_";}while(_3d4[this._reverseRefMap]){this._reverseRefMap+="_";}var _3d6;var _3d7=_3c9.identifier;if(_3d7){this._itemsByIdentity={};this._features["dojo.data.api.Identity"]=_3d7;for(i=0;i<this._arrayOfAllItems.length;++i){item=this._arrayOfAllItems[i];_3d6=item[_3d7];var _3d8=_3d6[0];if(!Object.hasOwnProperty.call(this._itemsByIdentity,_3d8)){this._itemsByIdentity[_3d8]=item;}else{if(this._jsonFileUrl){throw new Error("dojo.data.ItemFileReadStore:  The json data as specified by: ["+this._jsonFileUrl+"] is malformed.  Items within the list have identifier: ["+_3d7+"].  Value collided: ["+_3d8+"]");}else{if(this._jsonData){throw new Error("dojo.data.ItemFileReadStore:  The json data provided by the creation arguments is malformed.  Items within the list have identifier: ["+_3d7+"].  Value collided: ["+_3d8+"]");}}}}}else{this._features["dojo.data.api.Identity"]=Number;}for(i=0;i<this._arrayOfAllItems.length;++i){item=this._arrayOfAllItems[i];item[this._storeRefPropName]=this;item[this._itemNumPropName]=i;}for(i=0;i<this._arrayOfAllItems.length;++i){item=this._arrayOfAllItems[i];for(key in item){_3d6=item[key];for(var j=0;j<_3d6.length;++j){_3d5=_3d6[j];if(_3d5!==null&&typeof _3d5=="object"){if(("_type" in _3d5)&&("_value" in _3d5)){var type=_3d5._type;var _3d9=this._datatypeMap[type];if(!_3d9){throw new Error("dojo.data.ItemFileReadStore: in the typeMap constructor arg, no object class was specified for the datatype '"+type+"'");}else{if(dojo.isFunction(_3d9)){_3d6[j]=new _3d9(_3d5._value);}else{if(dojo.isFunction(_3d9.deserialize)){_3d6[j]=_3d9.deserialize(_3d5._value);}else{throw new Error("dojo.data.ItemFileReadStore: Value provided in typeMap was neither a constructor, nor a an object with a deserialize function");}}}}if(_3d5._reference){var _3da=_3d5._reference;if(!dojo.isObject(_3da)){_3d6[j]=this._getItemByIdentity(_3da);}else{for(var k=0;k<this._arrayOfAllItems.length;++k){var _3db=this._arrayOfAllItems[k],_3dc=true;for(var _3dd in _3da){if(_3db[_3dd]!=_3da[_3dd]){_3dc=false;}}if(_3dc){_3d6[j]=_3db;}}}if(this.referenceIntegrity){var _3de=_3d6[j];if(this.isItem(_3de)){this._addReferenceToMap(_3de,item,key);}}}else{if(this.isItem(_3d5)){if(this.referenceIntegrity){this._addReferenceToMap(_3d5,item,key);}}}}}}}},_addReferenceToMap:function(_3df,_3e0,_3e1){},getIdentity:function(item){var _3e2=this._features["dojo.data.api.Identity"];if(_3e2===Number){return item[this._itemNumPropName];}else{var _3e3=item[_3e2];if(_3e3){return _3e3[0];}}return null;},fetchItemByIdentity:function(_3e4){var item,_3e5;if(!this._loadFinished){var self=this;if(this._jsonFileUrl!==this._ccUrl){dojo.deprecated("dojo.data.ItemFileReadStore: ","To change the url, set the url property of the store,"+" not _jsonFileUrl.  _jsonFileUrl support will be removed in 2.0");this._ccUrl=this._jsonFileUrl;this.url=this._jsonFileUrl;}else{if(this.url!==this._ccUrl){this._jsonFileUrl=this.url;this._ccUrl=this.url;}}if(this.data!=null&&this._jsonData==null){this._jsonData=this.data;this.data=null;}if(this._jsonFileUrl){if(this._loadInProgress){this._queuedFetches.push({args:_3e4});}else{this._loadInProgress=true;var _3e6={url:self._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk};var _3e7=dojo.xhrGet(_3e6);_3e7.addCallback(function(data){var _3e8=_3e4.scope?_3e4.scope:dojo.global;try{self._getItemsFromLoadedData(data);self._loadFinished=true;self._loadInProgress=false;item=self._getItemByIdentity(_3e4.identity);if(_3e4.onItem){_3e4.onItem.call(_3e8,item);}self._handleQueuedFetches();}catch(error){self._loadInProgress=false;if(_3e4.onError){_3e4.onError.call(_3e8,error);}}});_3e7.addErrback(function(_3e9){self._loadInProgress=false;if(_3e4.onError){var _3ea=_3e4.scope?_3e4.scope:dojo.global;_3e4.onError.call(_3ea,_3e9);}});}}else{if(this._jsonData){self._getItemsFromLoadedData(self._jsonData);self._jsonData=null;self._loadFinished=true;item=self._getItemByIdentity(_3e4.identity);if(_3e4.onItem){_3e5=_3e4.scope?_3e4.scope:dojo.global;_3e4.onItem.call(_3e5,item);}}}}else{item=this._getItemByIdentity(_3e4.identity);if(_3e4.onItem){_3e5=_3e4.scope?_3e4.scope:dojo.global;_3e4.onItem.call(_3e5,item);}}},_getItemByIdentity:function(_3eb){var item=null;if(this._itemsByIdentity&&Object.hasOwnProperty.call(this._itemsByIdentity,_3eb)){item=this._itemsByIdentity[_3eb];}else{if(Object.hasOwnProperty.call(this._arrayOfAllItems,_3eb)){item=this._arrayOfAllItems[_3eb];}}if(item===undefined){item=null;}return item;},getIdentityAttributes:function(item){var _3ec=this._features["dojo.data.api.Identity"];if(_3ec===Number){return null;}else{return [_3ec];}},_forceLoad:function(){var self=this;if(this._jsonFileUrl!==this._ccUrl){dojo.deprecated("dojo.data.ItemFileReadStore: ","To change the url, set the url property of the store,"+" not _jsonFileUrl.  _jsonFileUrl support will be removed in 2.0");this._ccUrl=this._jsonFileUrl;this.url=this._jsonFileUrl;}else{if(this.url!==this._ccUrl){this._jsonFileUrl=this.url;this._ccUrl=this.url;}}if(this.data!=null){this._jsonData=this.data;this.data=null;}if(this._jsonFileUrl){var _3ed={url:this._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk,sync:true};var _3ee=dojo.xhrGet(_3ed);_3ee.addCallback(function(data){try{if(self._loadInProgress!==true&&!self._loadFinished){self._getItemsFromLoadedData(data);self._loadFinished=true;}else{if(self._loadInProgress){throw new Error("dojo.data.ItemFileReadStore:  Unable to perform a synchronous load, an async load is in progress.");}}}catch(e){console.log(e);throw e;}});_3ee.addErrback(function(_3ef){throw _3ef;});}else{if(this._jsonData){self._getItemsFromLoadedData(self._jsonData);self._jsonData=null;self._loadFinished=true;}}}});dojo.extend(dojo.data.ItemFileReadStore,dojo.data.util.simpleFetch);}if(!dojo._hasResource["toura._Nls"]){dojo._hasResource["toura._Nls"]=true;dojo.provide("toura._Nls");dojo.declare("toura._Nls",null,{data:{__initialized:false},constructor:function(){if(!this.data.__initialized){this.data.nlsStrings=dojo.i18n.getLocalization("toura","toura",toura.app.Config.get("locale"));this.data.__initialized=true;}},getString:function(key,_3f0){var str=this.data.nlsStrings[key];return (_3f0)?dojo.string.substitute(str,_3f0):str;},postMixInProperties:function(){this.inherited("postMixInProperties",arguments);this.initializeStrings();},initializeStrings:function(){}});}dojo.i18n._preloadLocalizations("dojo.nls.dojo",["ROOT","en","en-us","xx"]);if(dojo.isBrowser&&(document.readyState==="complete"||dojo.config.afterOnLoad)){window.setTimeout(dojo._loadInit,100);}})();
