
try{/*
	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
*/

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

//>>built
require({cache:{"dojo/i18n":function(){define("dojo/i18n",["./_base/kernel","require","./has","./_base/array","./_base/config","./_base/lang","./_base/xhr","./json"],function(_1,_2,_3,_4,_5,_6,_7,_8){_3.add("dojo-preload-i18n-Api",1);true||_3.add("dojo-v1x-i18n-Api",1);var _9=_1.i18n={},_a=/(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,_b=function(_c,_d,_e,_f){for(var _10=[_e+_f],_11=_d.split("-"),_12="",i=0;i<_11.length;i++){_12+=(_12?"-":"")+_11[i];if(!_c||_c[_12]){_10.push(_e+_12+"/"+_f);}}return _10;},_13={},_14=_1.getL10nName=function(_15,_16,_17){_17=_17?_17.toLowerCase():_1.locale;_15="dojo/i18n!"+_15.replace(/\./g,"/");_16=_16.replace(/\./g,"/");return (/root/i.test(_17))?(_15+"/nls/"+_16):(_15+"/nls/"+_17+"/"+_16);},_18=function(_19,_1a,_1b,_1c,_1d,_1e){_19([_1a],function(_1f){var _20=_6.clone(_1f.root||_1f.ROOT),_21=_b(!_1f._v1x&&_1f,_1d,_1b,_1c);_19(_21,function(){for(var i=1;i<_21.length;i++){_20=_6.mixin(_6.clone(_20),arguments[i]);}var _22=_1a+"/"+_1d;_13[_22]=_20;_1e();});});},_23=function(id,_24){return /^\./.test(id)?_24(id):id;},_25=function(_26){var _27=_5.extraLocale||[];_27=_6.isArray(_27)?_27:[_27];_27.push(_26);return _27;},_28=function(id,_29,_2a){if(_3("dojo-preload-i18n-Api")){var _2b=id.split("*"),_2c=_2b[1]=="preload";if(_2c){if(!_13[id]){_13[id]=1;_2d(_2b[2],_8.parse(_2b[3]),1);}_2a(1);}if(_2c||_2e(id,_29,_2a)){return;}}var _2f=_a.exec(id),_30=_2f[1]+"/",_31=_2f[5]||_2f[4],_32=_30+_31,_33=(_2f[5]&&_2f[4]),_34=_33||_1.locale,_35=_32+"/"+_34,_36=_33?[_34]:_25(_34),_37=_36.length,_38=function(){if(!--_37){_2a(_6.delegate(_13[_35]));}};_4.forEach(_36,function(_39){var _3a=_32+"/"+_39;if(_3("dojo-preload-i18n-Api")){_3b(_3a);}if(!_13[_3a]){_18(_29,_32,_30,_31,_39,_38);}else{_38();}});};if(_3("dojo-unit-tests")){var _3c=_9.unitTests=[];}if(_3("dojo-preload-i18n-Api")||1){var _3d=_9.normalizeLocale=function(_3e){var _3f=_3e?_3e.toLowerCase():_1.locale;return _3f=="root"?"ROOT":_3f;},_40=function(mid){return (1&&1)?_2.isXdUrl(_2.toUrl(mid+".js")):true;},_41=0,_42=[],_2d=_9._preloadLocalizations=function(_43,_44,_45){function _46(_47,_48){var _49=_47.split("-");while(_49.length){if(_48(_49.join("-"))){return true;}_49.pop();}return _48("ROOT");};function _4a(_4b){_4b=_3d(_4b);_46(_4b,function(loc){if(_4.indexOf(_44,loc)>=0){var mid=_43.replace(/\./g,"/")+"_"+loc;_41++;(_40(mid)||_45?_2:_50)([mid],function(_4c){for(var p in _4c){_13[p+"/"+loc]=_4c[p];}--_41;while(!_41&&_42.length){_28.apply(null,_42.shift());}});return true;}return false;});};_4a();_4.forEach(_1.config.extraLocale,_4a);},_2e=function(id,_4d,_4e){if(_41){_42.push([id,_4d,_4e]);}return _41;};}if(1){var _4f=new Function("__bundle","__checkForLegacyModules","__mid","var define = function(){define.called = 1;},"+"    require = function(){define.called = 1;};"+"try{"+"define.called = 0;"+"eval(__bundle);"+"if(define.called==1)"+"return 1;"+"if((__checkForLegacyModules = __checkForLegacyModules(__mid)))"+"return __checkForLegacyModules;"+"}catch(e){}"+"try{"+"return eval('('+__bundle+')');"+"}catch(e){"+"return e;"+"}"),_50=function(_51,_52){var _53=[];_4.forEach(_51,function(mid){var url=_2.toUrl(mid+".js");function _28(_54){var _55=_4f(_54,_3b,mid);if(_55===1){_2([mid],function(_56){_53.push(_13[url]=_56);});}else{if(_55 instanceof Error){console.error("failed to evaluate i18n bundle; url="+url,_55);_55={};}_53.push(_13[url]=(/nls\/[^\/]+\/[^\/]+$/.test(url)?_55:{root:_55,_v1x:1}));}};if(_13[url]){_53.push(_13[url]);}else{var _57=_2.syncLoadNls(mid);if(!_57){_57=_3b(mid.replace(/nls\/([^\/]*)\/([^\/]*)$/,"nls/$2/$1"));}if(_57){_53.push(_57);}else{if(!_7){try{_2.getText(url,true,_28);}catch(e){_53.push(_13[url]={});}}else{_7.get({url:url,sync:true,load:_28,error:function(){_53.push(_13[url]={});}});}}}});_52&&_52.apply(null,_53);},_3b=function(_58){for(var _59,_5a=_58.split("/"),_5b=_1.global[_5a[0]],i=1;_5b&&i<_5a.length-1;_5b=_5b[_5a[i++]]){}if(_5b){_59=_5b[_5a[i]];if(!_59){_59=_5b[_5a[i].replace(/-/g,"_")];}if(_59){_13[_58]=_59;}}return _59;};_9.getLocalization=function(_5c,_5d,_5e){var _5f,_60=_14(_5c,_5d,_5e).substring(10);_28(_60,(!_40(_60)?_50:_2),function(_61){_5f=_61;});return _5f;};if(_3("dojo-unit-tests")){_3c.push(function(doh){doh.register("tests.i18n.unit",function(t){var _62;_62=_4f("{prop:1}");t.is({prop:1},_62);t.is(undefined,_62[1]);_62=_4f("({prop:1})");t.is({prop:1},_62);t.is(undefined,_62[1]);_62=_4f("{'prop-x':1}");t.is({"prop-x":1},_62);t.is(undefined,_62[1]);_62=_4f("({'prop-x':1})");t.is({"prop-x":1},_62);t.is(undefined,_62[1]);_62=_4f("define({'prop-x':1})");t.is(1,_62);_62=_4f("this is total nonsense and should throw an error");t.is(_62 instanceof Error,true);});});}}return _6.mixin(_9,{dynamic:true,normalize:_23,load:_28,cache:_13});});},"dojo/string":function(){define("dojo/string",["./_base/kernel","./_base/lang"],function(_63,_64){_64.getObject("string",true,_63);_63.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("");};_63.string.pad=function(_65,_66,ch,end){if(!ch){ch="0";}var out=String(_65),pad=_63.string.rep(ch,Math.ceil((_66-out.length)/ch.length));return end?out+pad:pad+out;};_63.string.substitute=function(_67,map,_68,_69){_69=_69||_63.global;_68=_68?_64.hitch(_69,_68):function(v){return v;};return _67.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_6a,key,_6b){var _6c=_64.getObject(key,false,map);if(_6b){_6c=_64.getObject(_6b,false,_69).call(_69,_6c,key);}return _68(_6c,key).toString();});};_63.string.trim=String.prototype.trim?_64.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;};return _63.string;});},"dojo/io/iframe":function(){define("dojo/io/iframe",["../main","require"],function(_6d,_6e){_6d.getObject("io",true,_6d);_6d.io.iframe={create:function(_6f,_70,uri){if(window[_6f]){return window[_6f];}if(window.frames[_6f]){return window.frames[_6f];}var _71=uri;if(!_71){if(_6d.config["useXDomain"]&&!_6d.config["dojoBlankHtmlUrl"]){console.warn("dojo.io.iframe.create: When using cross-domain Dojo builds,"+" please save dojo/resources/blank.html to your domain and set djConfig.dojoBlankHtmlUrl"+" to the path on your domain to blank.html");}_71=(_6d.config["dojoBlankHtmlUrl"]||_6e.toUrl("../resources/blank.html"));}var _72=_6d.place("<iframe id=\""+_6f+"\" name=\""+_6f+"\" src=\""+_71+"\" onload=\""+_70+"\" style=\"position: absolute; left: 1px; top: 1px; height: 1px; width: 1px; visibility: hidden\">",_6d.body());window[_6f]=_72;return _72;},setSrc:function(_73,src,_74){try{if(!_74){if(_6d.isWebKit){_73.location=src;}else{frames[_73.name].location=src;}}else{var _75;if(_6d.isIE||_6d.isWebKit){_75=_73.contentWindow.document;}else{_75=_73.contentWindow;}if(!_75){_73.location=src;}else{_75.location.replace(src);}}}catch(e){}},doc:function(_76){return _76.contentDocument||(((_76.name)&&(_76.document)&&(_6d.doc.getElementsByTagName("iframe")[_76.name].contentWindow)&&(_6d.doc.getElementsByTagName("iframe")[_76.name].contentWindow.document)))||((_76.name)&&(_6d.doc.frames[_76.name])&&(_6d.doc.frames[_76.name].document))||null;},send:function(_77){if(!this["_frame"]){this._frame=this.create(this._iframeName,_6d._scopeName+".io.iframe._iframeOnload();");}var dfd=_6d._ioSetArgs(_77,function(dfd){dfd.canceled=true;dfd.ioArgs._callNext();},function(dfd){var _78=null;try{var _79=dfd.ioArgs;var dii=_6d.io.iframe;var ifd=dii.doc(dii._frame);var _7a=_79.handleAs;_78=ifd;if(_7a!="html"){if(_7a=="xml"){if(_6d.isIE<9||(_6d.isIE&&_6d.isQuirks)){_6d.query("a",dii._frame.contentWindow.document.documentElement).orphan();var _7b=(dii._frame.contentWindow.document).documentElement.innerText;_7b=_7b.replace(/>\s+</g,"><");_7b=_6d.trim(_7b);var _7c={responseText:_7b};_78=_6d._contentHandlers["xml"](_7c);}}else{_78=ifd.getElementsByTagName("textarea")[0].value;if(_7a=="json"){_78=_6d.fromJson(_78);}else{if(_7a=="javascript"){_78=_6d.eval(_78);}}}}}catch(e){_78=e;}finally{_79._callNext();}return _78;},function(_7d,dfd){dfd.ioArgs._hasError=true;dfd.ioArgs._callNext();return _7d;});dfd.ioArgs._callNext=function(){if(!this["_calledNext"]){this._calledNext=true;_6d.io.iframe._currentDfd=null;_6d.io.iframe._fireNextRequest();}};this._dfdQueue.push(dfd);this._fireNextRequest();_6d._ioWatch(dfd,function(dfd){return !dfd.ioArgs["_hasError"];},function(dfd){return (!!dfd.ioArgs["_finished"]);},function(dfd){if(dfd.ioArgs._finished){dfd.callback(dfd);}else{dfd.errback(new Error("Invalid dojo.io.iframe request state"));}});return dfd;},_currentDfd:null,_dfdQueue:[],_iframeName:_6d._scopeName+"IoIframe",_fireNextRequest:function(){try{if((this._currentDfd)||(this._dfdQueue.length==0)){return;}do{var dfd=this._currentDfd=this._dfdQueue.shift();}while(dfd&&dfd.canceled&&this._dfdQueue.length);if(!dfd||dfd.canceled){this._currentDfd=null;return;}var _7e=dfd.ioArgs;var _7f=_7e.args;_7e._contentToClean=[];var fn=_6d.byId(_7f["form"]);var _80=_7f["content"]||{};if(fn){if(_80){var _81=function(_82,_83){_6d.create("input",{type:"hidden",name:_82,value:_83},fn);_7e._contentToClean.push(_82);};for(var x in _80){var val=_80[x];if(_6d.isArray(val)&&val.length>1){var i;for(i=0;i<val.length;i++){_81(x,val[i]);}}else{if(!fn[x]){_81(x,val);}else{fn[x].value=val;}}}}var _84=fn.getAttributeNode("action");var _85=fn.getAttributeNode("method");var _86=fn.getAttributeNode("target");if(_7f["url"]){_7e._originalAction=_84?_84.value:null;if(_84){_84.value=_7f.url;}else{fn.setAttribute("action",_7f.url);}}if(!_85||!_85.value){if(_85){_85.value=(_7f["method"])?_7f["method"]:"post";}else{fn.setAttribute("method",(_7f["method"])?_7f["method"]:"post");}}_7e._originalTarget=_86?_86.value:null;if(_86){_86.value=this._iframeName;}else{fn.setAttribute("target",this._iframeName);}fn.target=this._iframeName;_6d._ioNotifyStart(dfd);fn.submit();}else{var _87=_7f.url+(_7f.url.indexOf("?")>-1?"&":"?")+_7e.query;_6d._ioNotifyStart(dfd);this.setSrc(this._frame,_87,true);}}catch(e){dfd.errback(e);}},_iframeOnload:function(){var dfd=this._currentDfd;if(!dfd){this._fireNextRequest();return;}var _88=dfd.ioArgs;var _89=_88.args;var _8a=_6d.byId(_89.form);if(_8a){var _8b=_88._contentToClean;for(var i=0;i<_8b.length;i++){var key=_8b[i];for(var j=0;j<_8a.childNodes.length;j++){var _8c=_8a.childNodes[j];if(_8c.name==key){_6d.destroy(_8c);break;}}}if(_88["_originalAction"]){_8a.setAttribute("action",_88._originalAction);}if(_88["_originalTarget"]){_8a.setAttribute("target",_88._originalTarget);_8a.target=_88._originalTarget;}}_88._finished=true;}};return _6d.io.iframe;});},"dojo/hash":function(){define("dojo/hash",["./_base/kernel","require","./_base/connect","./_base/lang","./ready","./_base/sniff"],function(_8d,_8e,_8f,_90,_91,has){_8d.hash=function(_92,_93){if(!arguments.length){return _94();}if(_92.charAt(0)=="#"){_92=_92.substring(1);}if(_93){_95(_92);}else{location.href="#"+_92;}return _92;};var _96,_97,_98,_99=_8d.config.hashPollFrequency||100;function _9a(str,_9b){var i=str.indexOf(_9b);return (i>=0)?str.substring(i+1):"";};function _94(){return _9a(location.href,"#");};function _9c(){_8f.publish("/dojo/hashchange",[_94()]);};function _9d(){if(_94()===_96){return;}_96=_94();_9c();};function _95(_9e){if(_97){if(_97.isTransitioning()){setTimeout(_90.hitch(null,_95,_9e),_99);return;}var _9f=_97.iframe.location.href;var _a0=_9f.indexOf("?");_97.iframe.location.replace(_9f.substring(0,_a0)+"?"+_9e);return;}location.replace("#"+_9e);!_98&&_9d();};function _a1(){var ifr=document.createElement("iframe"),_a2="dojo-hash-iframe",_a3=_8d.config.dojoBlankHtmlUrl||_8e.toUrl("./resources/blank.html");if(_8d.config.useXDomain&&!_8d.config.dojoBlankHtmlUrl){console.warn("dojo.hash: When using cross-domain Dojo builds,"+" please save dojo/resources/blank.html to your domain and set djConfig.dojoBlankHtmlUrl"+" to the path on your domain to blank.html");}ifr.id=_a2;ifr.src=_a3+"?"+_94();ifr.style.display="none";document.body.appendChild(ifr);this.iframe=_8d.global[_a2];var _a4,_a5,_a6,_a7,_a8,_a9=this.iframe.location;function _aa(){_96=_94();_a4=_a8?_96:_9a(_a9.href,"?");_a5=false;_a6=null;};this.isTransitioning=function(){return _a5;};this.pollLocation=function(){if(!_a8){try{var _ab=_9a(_a9.href,"?");if(document.title!=_a7){_a7=this.iframe.document.title=document.title;}}catch(e){_a8=true;console.error("dojo.hash: Error adding history entry. Server unreachable.");}}var _ac=_94();if(_a5&&_96===_ac){if(_a8||_ab===_a6){_aa();_9c();}else{setTimeout(_90.hitch(this,this.pollLocation),0);return;}}else{if(_96===_ac&&(_a8||_a4===_ab)){}else{if(_96!==_ac){_96=_ac;_a5=true;_a6=_ac;ifr.src=_a3+"?"+_a6;_a8=false;setTimeout(_90.hitch(this,this.pollLocation),0);return;}else{if(!_a8){location.href="#"+_a9.search.substring(1);_aa();_9c();}}}}setTimeout(_90.hitch(this,this.pollLocation),_99);};_aa();setTimeout(_90.hitch(this,this.pollLocation),_99);};_91(function(){if("onhashchange" in _8d.global&&(!has("ie")||(has("ie")>=8&&document.compatMode!="BackCompat"))){_98=_8f.connect(_8d.global,"onhashchange",_9c);}else{if(document.addEventListener){_96=_94();setInterval(_9d,_99);}else{if(document.attachEvent){_97=new _a1();}}}});return _8d.hash;});},"dojo/io/script":function(){define("dojo/io/script",["../main"],function(_ad){_ad.getObject("io",true,_ad);var _ae=_ad.isIE?"onreadystatechange":"load",_af=/complete|loaded/;_ad.io.script={get:function(_b0){var dfd=this._makeScriptDeferred(_b0);var _b1=dfd.ioArgs;_ad._ioAddQueryToUrl(_b1);_ad._ioNotifyStart(dfd);if(this._canAttach(_b1)){var _b2=this.attach(_b1.id,_b1.url,_b0.frameDoc);if(!_b1.jsonp&&!_b1.args.checkString){var _b3=_ad.connect(_b2,_ae,function(evt){if(evt.type=="load"||_af.test(_b2.readyState)){_ad.disconnect(_b3);_b1.scriptLoaded=evt;}});}}_ad._ioWatch(dfd,this._validCheck,this._ioCheck,this._resHandle);return dfd;},attach:function(id,url,_b4){var doc=(_b4||_ad.doc);var _b5=doc.createElement("script");_b5.type="text/javascript";_b5.src=url;_b5.id=id;_b5.async=true;_b5.charset="utf-8";return doc.getElementsByTagName("head")[0].appendChild(_b5);},remove:function(id,_b6){_ad.destroy(_ad.byId(id,_b6));if(this["jsonp_"+id]){delete this["jsonp_"+id];}},_makeScriptDeferred:function(_b7){var dfd=_ad._ioSetArgs(_b7,this._deferredCancel,this._deferredOk,this._deferredError);var _b8=dfd.ioArgs;_b8.id=_ad._scopeName+"IoScript"+(this._counter++);_b8.canDelete=false;_b8.jsonp=_b7.callbackParamName||_b7.jsonp;if(_b8.jsonp){_b8.query=_b8.query||"";if(_b8.query.length>0){_b8.query+="&";}_b8.query+=_b8.jsonp+"="+(_b7.frameDoc?"parent.":"")+_ad._scopeName+".io.script.jsonp_"+_b8.id+"._jsonpCallback";_b8.frameDoc=_b7.frameDoc;_b8.canDelete=true;dfd._jsonpCallback=this._jsonpCallback;this["jsonp_"+_b8.id]=dfd;}return dfd;},_deferredCancel:function(dfd){dfd.canceled=true;if(dfd.ioArgs.canDelete){_ad.io.script._addDeadScript(dfd.ioArgs);}},_deferredOk:function(dfd){var _b9=dfd.ioArgs;if(_b9.canDelete){_ad.io.script._addDeadScript(_b9);}return _b9.json||_b9.scriptLoaded||_b9;},_deferredError:function(_ba,dfd){if(dfd.ioArgs.canDelete){if(_ba.dojoType=="timeout"){_ad.io.script.remove(dfd.ioArgs.id,dfd.ioArgs.frameDoc);}else{_ad.io.script._addDeadScript(dfd.ioArgs);}}return _ba;},_deadScripts:[],_counter:1,_addDeadScript:function(_bb){_ad.io.script._deadScripts.push({id:_bb.id,frameDoc:_bb.frameDoc});_bb.frameDoc=null;},_validCheck:function(dfd){var _bc=_ad.io.script;var _bd=_bc._deadScripts;if(_bd&&_bd.length>0){for(var i=0;i<_bd.length;i++){_bc.remove(_bd[i].id,_bd[i].frameDoc);_bd[i].frameDoc=null;}_ad.io.script._deadScripts=[];}return true;},_ioCheck:function(dfd){var _be=dfd.ioArgs;if(_be.json||(_be.scriptLoaded&&!_be.args.checkString)){return true;}var _bf=_be.args.checkString;return _bf&&eval("typeof("+_bf+") != 'undefined'");},_resHandle:function(dfd){if(_ad.io.script._ioCheck(dfd)){dfd.callback(dfd);}else{dfd.errback(new Error("inconceivable dojo.io.script._resHandle error"));}},_canAttach:function(_c0){return true;},_jsonpCallback:function(_c1){this.ioArgs.json=_c1;}};return _ad.io.script;});},"dojo/Stateful":function(){define("dojo/Stateful",["./_base/declare","./_base/lang","./_base/array"],function(_c2,_c3,_c4){return _c2("dojo.Stateful",null,{postscript:function(_c5){if(_c5){_c3.mixin(this,_c5);}},get:function(_c6){return this[_c6];},set:function(_c7,_c8){if(typeof _c7==="object"){for(var x in _c7){if(_c7.hasOwnProperty(x)&&x!="_watchCallbacks"){this.set(x,_c7[x]);}}return this;}var _c9=this[_c7];this[_c7]=_c8;if(this._watchCallbacks){this._watchCallbacks(_c7,_c9,_c8);}return this;},watch:function(_ca,_cb){var _cc=this._watchCallbacks;if(!_cc){var _cd=this;_cc=this._watchCallbacks=function(_ce,_cf,_d0,_d1){var _d2=function(_d3){if(_d3){_d3=_d3.slice();for(var i=0,l=_d3.length;i<l;i++){_d3[i].call(_cd,_ce,_cf,_d0);}}};_d2(_cc["_"+_ce]);if(!_d1){_d2(_cc["*"]);}};}if(!_cb&&typeof _ca==="function"){_cb=_ca;_ca="*";}else{_ca="_"+_ca;}var _d4=_cc[_ca];if(typeof _d4!=="object"){_d4=_cc[_ca]=[];}_d4.push(_cb);return {unwatch:function(){_d4.splice(_c4.indexOf(_d4,_cb),1);}};}});});},"dojo/AdapterRegistry":function(){define("dojo/AdapterRegistry",["./_base/kernel","./_base/lang"],function(_d5,_d6){var _d7=_d5.AdapterRegistry=function(_d8){this.pairs=[];this.returnWrappers=_d8||false;};_d6.extend(_d7,{register:function(_d9,_da,_db,_dc,_dd){this.pairs[((_dd)?"unshift":"push")]([_d9,_da,_db,_dc]);},match:function(){for(var i=0;i<this.pairs.length;i++){var _de=this.pairs[i];if(_de[1].apply(this,arguments)){if((_de[3])||(this.returnWrappers)){return _de[2];}else{return _de[2].apply(this,arguments);}}}throw new Error("No match found");},unregister:function(_df){for(var i=0;i<this.pairs.length;i++){var _e0=this.pairs[i];if(_e0[0]==_df){this.pairs.splice(i,1);return true;}}return false;}});return _d7;});},"dojo/back":function(){define("dojo/back",["./_base/kernel","./_base/lang","./_base/sniff","./dom","./dom-construct","./_base/window","require"],function(_e1,_e2,_e3,dom,_e4,_e5,_e6){_e2.getObject("back",true,_e1);var _e7=_e1.back,_e8=_e7.getHash=function(){var h=window.location.hash;if(h.charAt(0)=="#"){h=h.substring(1);}return _e3("mozilla")?h:decodeURIComponent(h);},_e9=_e7.setHash=function(h){if(!h){h="";}window.location.hash=encodeURIComponent(h);_ea=history.length;};var _eb=(typeof (window)!=="undefined")?window.location.href:"";var _ec=(typeof (window)!=="undefined")?_e8():"";var _ed=null;var _ee=null;var _ef=null;var _f0=null;var _f1=[];var _f2=[];var _f3=false;var _f4=false;var _ea;function _f5(){var _f6=_f2.pop();if(!_f6){return;}var _f7=_f2[_f2.length-1];if(!_f7&&_f2.length==0){_f7=_ed;}if(_f7){if(_f7.kwArgs["back"]){_f7.kwArgs["back"]();}else{if(_f7.kwArgs["backButton"]){_f7.kwArgs["backButton"]();}else{if(_f7.kwArgs["handle"]){_f7.kwArgs.handle("back");}}}}_f1.push(_f6);};_e7.goBack=_f5;function _f8(){var _f9=_f1.pop();if(!_f9){return;}if(_f9.kwArgs["forward"]){_f9.kwArgs.forward();}else{if(_f9.kwArgs["forwardButton"]){_f9.kwArgs.forwardButton();}else{if(_f9.kwArgs["handle"]){_f9.kwArgs.handle("forward");}}}_f2.push(_f9);};_e7.goForward=_f8;function _fa(url,_fb,_fc){return {"url":url,"kwArgs":_fb,"urlHash":_fc};};function _fd(url){var _fe=url.split("?");if(_fe.length<2){return null;}else{return _fe[1];}};function _ff(){var url=(_e1.config["dojoIframeHistoryUrl"]||_e6.toUrl("./resources/iframe_history.html"))+"?"+(new Date()).getTime();_f3=true;if(_f0){_e3("webkit")?_f0.location=url:window.frames[_f0.name].location=url;}else{}return url;};function _100(){if(!_f4){var hsl=_f2.length;var hash=_e8();if((hash===_ec||window.location.href==_eb)&&(hsl==1)){_f5();return;}if(_f1.length>0){if(_f1[_f1.length-1].urlHash===hash){_f8();return;}}if((hsl>=2)&&(_f2[hsl-2])){if(_f2[hsl-2].urlHash===hash){_f5();}}}};_e7.init=function(){if(dom.byId("dj_history")){return;}var src=_e1.config["dojoIframeHistoryUrl"]||_e6.toUrl("./resources/iframe_history.html");if(_e1._postLoad){console.error("dojo.back.init() must be called before the DOM has loaded. "+"If using xdomain loading or djConfig.debugAtAllCosts, include dojo.back "+"in a build layer.");}else{document.write("<iframe style=\"border:0;width:1px;height:1px;position:absolute;visibility:hidden;bottom:0;right:0;\" name=\"dj_history\" id=\"dj_history\" src=\""+src+"\"></iframe>");}};_e7.setInitialState=function(args){_ed=_fa(_eb,args,_ec);};_e7.addToHistory=function(args){_f1=[];var hash=null;var url=null;if(!_f0){if(_e1.config["useXDomain"]&&!_e1.config["dojoIframeHistoryUrl"]){console.warn("dojo.back: When using cross-domain Dojo builds,"+" please save iframe_history.html to your domain and set djConfig.dojoIframeHistoryUrl"+" to the path on your domain to iframe_history.html");}_f0=window.frames["dj_history"];}if(!_ef){_ef=_e4.create("a",{style:{display:"none"}},_e5.body());}if(args["changeUrl"]){hash=""+((args["changeUrl"]!==true)?args["changeUrl"]:(new Date()).getTime());if(_f2.length==0&&_ed.urlHash==hash){_ed=_fa(url,args,hash);return;}else{if(_f2.length>0&&_f2[_f2.length-1].urlHash==hash){_f2[_f2.length-1]=_fa(url,args,hash);return;}}_f4=true;setTimeout(function(){_e9(hash);_f4=false;},1);_ef.href=hash;if(_e3("ie")){url=_ff();var _101=args["back"]||args["backButton"]||args["handle"];var tcb=function(_102){if(_e8()!=""){setTimeout(function(){_e9(hash);},1);}_101.apply(this,[_102]);};if(args["back"]){args.back=tcb;}else{if(args["backButton"]){args.backButton=tcb;}else{if(args["handle"]){args.handle=tcb;}}}var _103=args["forward"]||args["forwardButton"]||args["handle"];var tfw=function(_104){if(_e8()!=""){_e9(hash);}if(_103){_103.apply(this,[_104]);}};if(args["forward"]){args.forward=tfw;}else{if(args["forwardButton"]){args.forwardButton=tfw;}else{if(args["handle"]){args.handle=tfw;}}}}else{if(!_e3("ie")){if(!_ee){_ee=setInterval(_100,200);}}}}else{url=_ff();}_f2.push(_fa(url,args,hash));};_e7._iframeLoaded=function(evt,_105){var _106=_fd(_105.href);if(_106==null){if(_f2.length==1){_f5();}return;}if(_f3){_f3=false;return;}if(_f2.length>=2&&_106==_fd(_f2[_f2.length-2].url)){_f5();}else{if(_f1.length>0&&_106==_fd(_f1[_f1.length-1].url)){_f8();}}};return _e1.back;});},"dojo/text":function(){define("dojo/text",["./_base/kernel","require","./has","./_base/xhr"],function(dojo,_107,has,xhr){var _108;if(1){_108=function(url,sync,load){xhr("GET",{url:url,sync:!!sync,load:load});};}else{if(_107.getText){_108=_107.getText;}else{console.error("dojo/text plugin failed to load because loader does not support getText");}}var _109={},_10a=function(text){if(text){text=text.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _10b=text.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_10b){text=_10b[1];}}else{text="";}return text;},_10c={},_10d={},_10e={dynamic:true,normalize:function(id,_10f){var _110=id.split("!"),url=_110[0];return (/^\./.test(url)?_10f(url):url)+(_110[1]?"!"+_110[1]:"");},load:function(id,_111,load){var _112=id.split("!"),_113=_112.length>1,_114=_112[0],url=_111.toUrl(_112[0]),text=_10c,_115=function(text){load(_113?_10a(text):text);};if(_114 in _109){text=_109[_114];}else{if(url in _111.cache){text=_111.cache[url];}else{if(url in _109){text=_109[url];}}}if(text===_10c){if(_10d[url]){_10d[url].push(_115);}else{var _116=_10d[url]=[_115];_108(url,!_111.async,function(text){_109[_114]=_109[url]=text;for(var i=0;i<_116.length;){_116[i++](text);}delete _10d[url];});}}else{_115(text);}}};dojo.cache=function(_117,url,_118){var key;if(typeof _117=="string"){if(/\//.test(_117)){key=_117;_118=url;}else{key=_107.toUrl(_117.replace(/\./g,"/")+(url?("/"+url):""));}}else{key=_117+"";_118=url;}var val=(_118!=undefined&&typeof _118!="string")?_118.value:_118,_119=_118&&_118.sanitize;if(typeof val=="string"){_109[key]=val;return _119?_10a(val):val;}else{if(val===null){delete _109[key];return null;}else{if(!(key in _109)){_108(key,true,function(text){_109[key]=text;});}return _119?_10a(_109[key]):_109[key];}}};return _10e;});},"dojo/DeferredList":function(){define("dojo/DeferredList",["./_base/kernel","./_base/Deferred","./_base/array"],function(dojo,_11a,_11b){dojo.DeferredList=function(list,_11c,_11d,_11e,_11f){var _120=[];_11a.call(this);var self=this;if(list.length===0&&!_11c){this.resolve([0,[]]);}var _121=0;_11b.forEach(list,function(item,i){item.then(function(_122){if(_11c){self.resolve([i,_122]);}else{_123(true,_122);}},function(_124){if(_11d){self.reject(_124);}else{_123(false,_124);}if(_11e){return null;}throw _124;});function _123(_125,_126){_120[i]=[_125,_126];_121++;if(_121===list.length){self.resolve(_120);}};});};dojo.DeferredList.prototype=new _11a();dojo.DeferredList.prototype.gatherResults=function(_127){var d=new dojo.DeferredList(_127,false,true,false);d.addCallback(function(_128){var ret=[];_11b.forEach(_128,function(_129){ret.push(_129[1]);});return ret;});return d;};return dojo.DeferredList;});},"dojo/cookie":function(){define("dojo/cookie",["./_base/kernel","./regexp"],function(dojo,_12a){dojo.cookie=function(name,_12b,_12c){var c=document.cookie,ret;if(arguments.length==1){var _12d=c.match(new RegExp("(?:^|; )"+_12a.escapeString(name)+"=([^;]*)"));ret=_12d?decodeURIComponent(_12d[1]):undefined;}else{_12c=_12c||{};var exp=_12c.expires;if(typeof exp=="number"){var d=new Date();d.setTime(d.getTime()+exp*24*60*60*1000);exp=_12c.expires=d;}if(exp&&exp.toUTCString){_12c.expires=exp.toUTCString();}_12b=encodeURIComponent(_12b);var _12e=name+"="+_12b,_12f;for(_12f in _12c){_12e+="; "+_12f;var _130=_12c[_12f];if(_130!==true){_12e+="="+_130;}}document.cookie=_12e;}return ret;};dojo.cookie.isSupported=function(){if(!("cookieEnabled" in navigator)){this("__djCookieTest__","CookiesAllowed");navigator.cookieEnabled=this("__djCookieTest__")=="CookiesAllowed";if(navigator.cookieEnabled){this("__djCookieTest__","",{expires:-1});}}return navigator.cookieEnabled;};return dojo.cookie;});},"dojo/regexp":function(){define("dojo/regexp",["./_base/kernel","./_base/lang"],function(dojo,lang){lang.getObject("regexp",true,dojo);dojo.regexp.escapeString=function(str,_131){return str.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(ch){if(_131&&_131.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};dojo.regexp.buildGroupRE=function(arr,re,_132){if(!(arr instanceof Array)){return re(arr);}var b=[];for(var i=0;i<arr.length;i++){b.push(re(arr[i]));}return dojo.regexp.group(b.join("|"),_132);};dojo.regexp.group=function(_133,_134){return "("+(_134?"?:":"")+_133+")";};return dojo.regexp;});},"dojo/cache":function(){define("dojo/cache",["./_base/kernel","./text"],function(dojo,text){return dojo.cache;});},"*noref":1}});define("dojo/_app",[],1);require(["dojo/cookie","dojo/back","dojo/hash","dojo/i18n","dojo/io/iframe","dojo/io/script","dojo/string","dojo/cache","dojo/Stateful","dojo/AdapterRegistry","dojo/DeferredList"]);
}catch(e){console.log("Module 'dojo_app_17': ",e);}
try{/*
	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
*/

//>>built
require({cache:{"dojo/fx":function(){define("dojo/fx",["./_base/lang","./Evented","./_base/kernel","./_base/array","./_base/connect","./_base/fx","./dom","./dom-style","./dom-geometry","./ready","require"],function(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a,_b){if(!_3.isAsync){_a(0,function(){var _c=["./fx/Toggler"];_b(_c);});}var _d=_3.fx={};var _e={_fire:function(_f,_10){if(this[_f]){this[_f].apply(this,_10||[]);}return this;}};var _11=function(_12){this._index=-1;this._animations=_12||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=0;_4.forEach(this._animations,function(a){this.duration+=a.duration;if(a.delay){this.duration+=a.delay;}},this);};_11.prototype=new _2();_1.extend(_11,{_onAnimate:function(){this._fire("onAnimate",arguments);},_onEnd:function(){_5.disconnect(this._onAnimateCtx);_5.disconnect(this._onEndCtx);this._onAnimateCtx=this._onEndCtx=null;if(this._index+1==this._animations.length){this._fire("onEnd");}else{this._current=this._animations[++this._index];this._onAnimateCtx=_5.connect(this._current,"onAnimate",this,"_onAnimate");this._onEndCtx=_5.connect(this._current,"onEnd",this,"_onEnd");this._current.play(0,true);}},play:function(_13,_14){if(!this._current){this._current=this._animations[this._index=0];}if(!_14&&this._current.status()=="playing"){return this;}var _15=_5.connect(this._current,"beforeBegin",this,function(){this._fire("beforeBegin");}),_16=_5.connect(this._current,"onBegin",this,function(arg){this._fire("onBegin",arguments);}),_17=_5.connect(this._current,"onPlay",this,function(arg){this._fire("onPlay",arguments);_5.disconnect(_15);_5.disconnect(_16);_5.disconnect(_17);});if(this._onAnimateCtx){_5.disconnect(this._onAnimateCtx);}this._onAnimateCtx=_5.connect(this._current,"onAnimate",this,"_onAnimate");if(this._onEndCtx){_5.disconnect(this._onEndCtx);}this._onEndCtx=_5.connect(this._current,"onEnd",this,"_onEnd");this._current.play.apply(this._current,arguments);return this;},pause:function(){if(this._current){var e=_5.connect(this._current,"onPause",this,function(arg){this._fire("onPause",arguments);_5.disconnect(e);});this._current.pause();}return this;},gotoPercent:function(_18,_19){this.pause();var _1a=this.duration*_18;this._current=null;_4.some(this._animations,function(a){if(a.duration<=_1a){this._current=a;return true;}_1a-=a.duration;return false;});if(this._current){this._current.gotoPercent(_1a/this._current.duration,_19);}return this;},stop:function(_1b){if(this._current){if(_1b){for(;this._index+1<this._animations.length;++this._index){this._animations[this._index].stop(true);}this._current=this._animations[this._index];}var e=_5.connect(this._current,"onStop",this,function(arg){this._fire("onStop",arguments);_5.disconnect(e);});this._current.stop();}return this;},status:function(){return this._current?this._current.status():"stopped";},destroy:function(){if(this._onAnimateCtx){_5.disconnect(this._onAnimateCtx);}if(this._onEndCtx){_5.disconnect(this._onEndCtx);}}});_1.extend(_11,_e);_d.chain=function(_1c){return new _11(_1c);};var _1d=function(_1e){this._animations=_1e||[];this._connects=[];this._finished=0;this.duration=0;_4.forEach(_1e,function(a){var _1f=a.duration;if(a.delay){_1f+=a.delay;}if(this.duration<_1f){this.duration=_1f;}this._connects.push(_5.connect(a,"onEnd",this,"_onEnd"));},this);this._pseudoAnimation=new _6.Animation({curve:[0,1],duration:this.duration});var _20=this;_4.forEach(["beforeBegin","onBegin","onPlay","onAnimate","onPause","onStop","onEnd"],function(evt){_20._connects.push(_5.connect(_20._pseudoAnimation,evt,function(){_20._fire(evt,arguments);}));});};_1.extend(_1d,{_doAction:function(_21,_22){_4.forEach(this._animations,function(a){a[_21].apply(a,_22);});return this;},_onEnd:function(){if(++this._finished>this._animations.length){this._fire("onEnd");}},_call:function(_23,_24){var t=this._pseudoAnimation;t[_23].apply(t,_24);},play:function(_25,_26){this._finished=0;this._doAction("play",arguments);this._call("play",arguments);return this;},pause:function(){this._doAction("pause",arguments);this._call("pause",arguments);return this;},gotoPercent:function(_27,_28){var ms=this.duration*_27;_4.forEach(this._animations,function(a){a.gotoPercent(a.duration<ms?1:(ms/a.duration),_28);});this._call("gotoPercent",arguments);return this;},stop:function(_29){this._doAction("stop",arguments);this._call("stop",arguments);return this;},status:function(){return this._pseudoAnimation.status();},destroy:function(){_4.forEach(this._connects,_5.disconnect);}});_1.extend(_1d,_e);_d.combine=function(_2a){return new _1d(_2a);};_d.wipeIn=function(_2b){var _2c=_2b.node=_7.byId(_2b.node),s=_2c.style,o;var _2d=_6.animateProperty(_1.mixin({properties:{height:{start:function(){o=s.overflow;s.overflow="hidden";if(s.visibility=="hidden"||s.display=="none"){s.height="1px";s.display="";s.visibility="";return 1;}else{var _2e=_8.get(_2c,"height");return Math.max(_2e,1);}},end:function(){return _2c.scrollHeight;}}}},_2b));var _2f=function(){s.height="auto";s.overflow=o;};_5.connect(_2d,"onStop",_2f);_5.connect(_2d,"onEnd",_2f);return _2d;};_d.wipeOut=function(_30){var _31=_30.node=_7.byId(_30.node),s=_31.style,o;var _32=_6.animateProperty(_1.mixin({properties:{height:{end:1}}},_30));_5.connect(_32,"beforeBegin",function(){o=s.overflow;s.overflow="hidden";s.display="";});var _33=function(){s.overflow=o;s.height="auto";s.display="none";};_5.connect(_32,"onStop",_33);_5.connect(_32,"onEnd",_33);return _32;};_d.slideTo=function(_34){var _35=_34.node=_7.byId(_34.node),top=null,_36=null;var _37=(function(n){return function(){var cs=_8.getComputedStyle(n);var pos=cs.position;top=(pos=="absolute"?n.offsetTop:parseInt(cs.top)||0);_36=(pos=="absolute"?n.offsetLeft:parseInt(cs.left)||0);if(pos!="absolute"&&pos!="relative"){var ret=_9.position(n,true);top=ret.y;_36=ret.x;n.style.position="absolute";n.style.top=top+"px";n.style.left=_36+"px";}};})(_35);_37();var _38=_6.animateProperty(_1.mixin({properties:{top:_34.top||0,left:_34.left||0}},_34));_5.connect(_38,"beforeBegin",_38,_37);return _38;};return _d;});},"dojo/fx/easing":function(){define("dojo/fx/easing",["../_base/lang"],function(_39){var _3a={linear:function(n){return n;},quadIn:function(n){return Math.pow(n,2);},quadOut:function(n){return n*(n-2)*-1;},quadInOut:function(n){n=n*2;if(n<1){return Math.pow(n,2)/2;}return -1*((--n)*(n-2)-1)/2;},cubicIn:function(n){return Math.pow(n,3);},cubicOut:function(n){return Math.pow(n-1,3)+1;},cubicInOut:function(n){n=n*2;if(n<1){return Math.pow(n,3)/2;}n-=2;return (Math.pow(n,3)+2)/2;},quartIn:function(n){return Math.pow(n,4);},quartOut:function(n){return -1*(Math.pow(n-1,4)-1);},quartInOut:function(n){n=n*2;if(n<1){return Math.pow(n,4)/2;}n-=2;return -1/2*(Math.pow(n,4)-2);},quintIn:function(n){return Math.pow(n,5);},quintOut:function(n){return Math.pow(n-1,5)+1;},quintInOut:function(n){n=n*2;if(n<1){return Math.pow(n,5)/2;}n-=2;return (Math.pow(n,5)+2)/2;},sineIn:function(n){return -1*Math.cos(n*(Math.PI/2))+1;},sineOut:function(n){return Math.sin(n*(Math.PI/2));},sineInOut:function(n){return -1*(Math.cos(Math.PI*n)-1)/2;},expoIn:function(n){return (n==0)?0:Math.pow(2,10*(n-1));},expoOut:function(n){return (n==1)?1:(-1*Math.pow(2,-10*n)+1);},expoInOut:function(n){if(n==0){return 0;}if(n==1){return 1;}n=n*2;if(n<1){return Math.pow(2,10*(n-1))/2;}--n;return (-1*Math.pow(2,-10*n)+2)/2;},circIn:function(n){return -1*(Math.sqrt(1-Math.pow(n,2))-1);},circOut:function(n){n=n-1;return Math.sqrt(1-Math.pow(n,2));},circInOut:function(n){n=n*2;if(n<1){return -1/2*(Math.sqrt(1-Math.pow(n,2))-1);}n-=2;return 1/2*(Math.sqrt(1-Math.pow(n,2))+1);},backIn:function(n){var s=1.70158;return Math.pow(n,2)*((s+1)*n-s);},backOut:function(n){n=n-1;var s=1.70158;return Math.pow(n,2)*((s+1)*n+s)+1;},backInOut:function(n){var s=1.70158*1.525;n=n*2;if(n<1){return (Math.pow(n,2)*((s+1)*n-s))/2;}n-=2;return (Math.pow(n,2)*((s+1)*n+s)+2)/2;},elasticIn:function(n){if(n==0||n==1){return n;}var p=0.3;var s=p/4;n=n-1;return -1*Math.pow(2,10*n)*Math.sin((n-s)*(2*Math.PI)/p);},elasticOut:function(n){if(n==0||n==1){return n;}var p=0.3;var s=p/4;return Math.pow(2,-10*n)*Math.sin((n-s)*(2*Math.PI)/p)+1;},elasticInOut:function(n){if(n==0){return 0;}n=n*2;if(n==2){return 1;}var p=0.3*1.5;var s=p/4;if(n<1){n-=1;return -0.5*(Math.pow(2,10*n)*Math.sin((n-s)*(2*Math.PI)/p));}n-=1;return 0.5*(Math.pow(2,-10*n)*Math.sin((n-s)*(2*Math.PI)/p))+1;},bounceIn:function(n){return (1-_3a.bounceOut(1-n));},bounceOut:function(n){var s=7.5625;var p=2.75;var l;if(n<(1/p)){l=s*Math.pow(n,2);}else{if(n<(2/p)){n-=(1.5/p);l=s*Math.pow(n,2)+0.75;}else{if(n<(2.5/p)){n-=(2.25/p);l=s*Math.pow(n,2)+0.9375;}else{n-=(2.625/p);l=s*Math.pow(n,2)+0.984375;}}}return l;},bounceInOut:function(n){if(n<0.5){return _3a.bounceIn(n*2)/2;}return (_3a.bounceOut(n*2-1)/2)+0.5;}};_39.setObject("dojo.fx.easing",_3a);return _3a;});},"dojo/fx/Toggler":function(){define("dojo/fx/Toggler",["../_base/lang","../_base/declare","../_base/fx","../_base/connect"],function(_3b,_3c,_3d,_3e){return _3c("dojo.fx.Toggler",null,{node:null,showFunc:_3d.fadeIn,hideFunc:_3d.fadeOut,showDuration:200,hideDuration:200,constructor:function(_3f){var _40=this;_3b.mixin(_40,_3f);_40.node=_3f.node;_40._showArgs=_3b.mixin({},_3f);_40._showArgs.node=_40.node;_40._showArgs.duration=_40.showDuration;_40.showAnim=_40.showFunc(_40._showArgs);_40._hideArgs=_3b.mixin({},_3f);_40._hideArgs.node=_40.node;_40._hideArgs.duration=_40.hideDuration;_40.hideAnim=_40.hideFunc(_40._hideArgs);_3e.connect(_40.showAnim,"beforeBegin",_3b.hitch(_40.hideAnim,"stop",true));_3e.connect(_40.hideAnim,"beforeBegin",_3b.hitch(_40.showAnim,"stop",true));},show:function(_41){return this.showAnim.play(_41||0);},hide:function(_42){return this.hideAnim.play(_42||0);}});});},"*noref":1}});define("dojo/_fx",[],1);require(["dojo/fx","dojo/fx/Toggler","dojo/fx/easing"]);
}catch(e){console.log("Module 'dojo_fx_17': ",e);}
try{/*
	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
*/

//>>built
require({cache:{"dojo/touch":function(){define("dojo/touch",["./_base/kernel","./aspect","./dom","./on","./has","./mouse","./domReady","./_base/window"],function(_1,_2,_3,on,_4,_5,_6,_7){var _8=_4("touch");var _9=false;if(_4("ios")){var ua=navigator.userAgent;var v=ua.match(/OS ([\d_]+)/)?RegExp.$1:"1";var os=parseFloat(v.replace(/_/,".").replace(/_/g,""));_9=os<5;}var _a;function _b(_c,_d){if(_8){return function(_e,_f){var _10=on(_e,_d,_f),_11=on(_e,_c,function(evt){if(!_a||(new Date()).getTime()>_a+1000){_f.call(this,evt);}});return {remove:function(){_10.remove();_11.remove();}};};}else{return function(_12,_13){return on(_12,_c,_13);};}};var _14,_15;if(_8){_6(function(){_15=_7.body();_7.doc.addEventListener("touchstart",function(evt){_a=(new Date()).getTime();var _16=_15;_15=evt.target;on.emit(_16,"dojotouchout",{target:_16,relatedTarget:_15,bubbles:true});on.emit(_15,"dojotouchover",{target:_15,relatedTarget:_16,bubbles:true});},true);on(_7.doc,"touchmove",function(evt){_a=(new Date()).getTime();var _17=_7.doc.elementFromPoint(evt.pageX-(_9?0:_7.global.pageXOffset),evt.pageY-(_9?0:_7.global.pageYOffset));if(_17&&_15!==_17){on.emit(_15,"dojotouchout",{target:_15,relatedTarget:_17,bubbles:true});on.emit(_17,"dojotouchover",{target:_17,relatedTarget:_15,bubbles:true});_15=_17;}});});_14=function(_18,_19){return on(_7.doc,"touchmove",function(evt){if(_18===_7.doc||_3.isDescendant(_15,_18)){evt.target=_15;_19.call(this,evt);}});};}var _1a={press:_b("mousedown","touchstart"),move:_b("mousemove",_14),release:_b("mouseup","touchend"),cancel:_b(_5.leave,"touchcancel"),over:_b("mouseover","dojotouchover"),out:_b("mouseout","dojotouchout"),enter:_5._eventHandler(_b("mouseover","dojotouchover")),leave:_5._eventHandler(_b("mouseout","dojotouchout"))};1&&(_1.touch=_1a);return _1a;});},"dojo/date/stamp":function(){define("dojo/date/stamp",["../_base/kernel","../_base/lang","../_base/array"],function(_1b,_1c,_1d){_1c.getObject("date.stamp",true,_1b);_1b.date.stamp.fromISOString=function(_1e,_1f){if(!_1b.date.stamp._isoRegExp){_1b.date.stamp._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/;}var _20=_1b.date.stamp._isoRegExp.exec(_1e),_21=null;if(_20){_20.shift();if(_20[1]){_20[1]--;}if(_20[6]){_20[6]*=1000;}if(_1f){_1f=new Date(_1f);_1d.forEach(_1d.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(_22){return _1f["get"+_22]();}),function(_23,_24){_20[_24]=_20[_24]||_23;});}_21=new Date(_20[0]||1970,_20[1]||0,_20[2]||1,_20[3]||0,_20[4]||0,_20[5]||0,_20[6]||0);if(_20[0]<100){_21.setFullYear(_20[0]||1970);}var _25=0,_26=_20[7]&&_20[7].charAt(0);if(_26!="Z"){_25=((_20[8]||0)*60)+(Number(_20[9])||0);if(_26!="-"){_25*=-1;}}if(_26){_25-=_21.getTimezoneOffset();}if(_25){_21.setTime(_21.getTime()+_25*60000);}}return _21;};_1b.date.stamp.toISOString=function(_27,_28){var _29=function(n){return (n<10)?"0"+n:n;};_28=_28||{};var _2a=[],_2b=_28.zulu?"getUTC":"get",_2c="";if(_28.selector!="time"){var _2d=_27[_2b+"FullYear"]();_2c=["0000".substr((_2d+"").length)+_2d,_29(_27[_2b+"Month"]()+1),_29(_27[_2b+"Date"]())].join("-");}_2a.push(_2c);if(_28.selector!="date"){var _2e=[_29(_27[_2b+"Hours"]()),_29(_27[_2b+"Minutes"]()),_29(_27[_2b+"Seconds"]())].join(":");var _2f=_27[_2b+"Milliseconds"]();if(_28.milliseconds){_2e+="."+(_2f<100?"0":"")+_29(_2f);}if(_28.zulu){_2e+="Z";}else{if(_28.selector!="time"){var _30=_27.getTimezoneOffset();var _31=Math.abs(_30);_2e+=(_30>0?"-":"+")+_29(Math.floor(_31/60))+":"+_29(_31%60);}}_2a.push(_2e);}return _2a.join("T");};return _1b.date.stamp;});},"dojo/_base/url":function(){define("dojo/_base/url",["./kernel"],function(_32){var ore=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),ire=new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$"),_33=function(){var n=null,_34=arguments,uri=[_34[0]];for(var i=1;i<_34.length;i++){if(!_34[i]){continue;}var _35=new _33(_34[i]+""),_36=new _33(uri[0]+"");if(_35.path==""&&!_35.scheme&&!_35.authority&&!_35.query){if(_35.fragment!=n){_36.fragment=_35.fragment;}_35=_36;}else{if(!_35.scheme){_35.scheme=_36.scheme;if(!_35.authority){_35.authority=_36.authority;if(_35.path.charAt(0)!="/"){var _37=_36.path.substring(0,_36.path.lastIndexOf("/")+1)+_35.path;var _38=_37.split("/");for(var j=0;j<_38.length;j++){if(_38[j]=="."){if(j==_38.length-1){_38[j]="";}else{_38.splice(j,1);j--;}}else{if(j>0&&!(j==1&&_38[0]=="")&&_38[j]==".."&&_38[j-1]!=".."){if(j==(_38.length-1)){_38.splice(j,1);_38[j-1]="";}else{_38.splice(j-1,2);j-=2;}}}}_35.path=_38.join("/");}}}}uri=[];if(_35.scheme){uri.push(_35.scheme,":");}if(_35.authority){uri.push("//",_35.authority);}uri.push(_35.path);if(_35.query){uri.push("?",_35.query);}if(_35.fragment){uri.push("#",_35.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;}};_33.prototype.toString=function(){return this.uri;};return _32._Url=_33;});},"dojo/html":function(){define("dojo/html",["./_base/kernel","./_base/lang","./_base/array","./_base/declare","./dom","./dom-construct","./parser"],function(_39,_3a,_3b,_3c,dom,_3d,_3e){_3a.getObject("html",true,_39);var _3f=0;_39.html._secureForInnerHtml=function(_40){return _40.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig,"");};_39.html._emptyNode=_3d.empty;_39.html._setNodeContent=function(_41,_42){_3d.empty(_41);if(_42){if(typeof _42=="string"){_42=_3d.toDom(_42,_41.ownerDocument);}if(!_42.nodeType&&_3a.isArrayLike(_42)){for(var _43=_42.length,i=0;i<_42.length;i=_43==_42.length?i+1:0){_3d.place(_42[i],_41,"last");}}else{_3d.place(_42,_41,"last");}}return _41;};_3c("dojo.html._ContentSetter",null,{node:"",content:"",id:"",cleanContent:false,extractContent:false,parseContent:false,parserScope:_39._scopeName,startup:true,constructor:function(_44,_45){_3a.mixin(this,_44||{});_45=this.node=dom.byId(this.node||_45);if(!this.id){this.id=["Setter",(_45)?_45.id||_45.tagName:"",_3f++].join("_");}},set:function(_46,_47){if(undefined!==_46){this.content=_46;}if(_47){this._mixin(_47);}this.onBegin();this.setContent();this.onEnd();return this.node;},setContent:function(){var _48=this.node;if(!_48){throw new Error(this.declaredClass+": setContent given no node");}try{_48=_39.html._setNodeContent(_48,this.content);}catch(e){var _49=this.onContentError(e);try{_48.innerHTML=_49;}catch(e){console.error("Fatal "+this.declaredClass+".setContent could not change content due to "+e.message,e);}}this.node=_48;},empty:function(){if(this.parseResults&&this.parseResults.length){_3b.forEach(this.parseResults,function(w){if(w.destroy){w.destroy();}});delete this.parseResults;}_39.html._emptyNode(this.node);},onBegin:function(){var _4a=this.content;if(_3a.isString(_4a)){if(this.cleanContent){_4a=_39.html._secureForInnerHtml(_4a);}if(this.extractContent){var _4b=_4a.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_4b){_4a=_4b[1];}}}this.empty();this.content=_4a;return this.node;},onEnd:function(){if(this.parseContent){this._parse();}return this.node;},tearDown:function(){delete this.parseResults;delete this.node;delete this.content;},onContentError:function(err){return "Error occured setting content: "+err;},_mixin:function(_4c){var _4d={},key;for(key in _4c){if(key in _4d){continue;}this[key]=_4c[key];}},_parse:function(){var _4e=this.node;try{var _4f={};_3b.forEach(["dir","lang","textDir"],function(_50){if(this[_50]){_4f[_50]=this[_50];}},this);this.parseResults=_3e.parse({rootNode:_4e,noStart:!this.startup,inherited:_4f,scope:this.parserScope});}catch(e){this._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);}},_onError:function(_51,err,_52){var _53=this["on"+_51+"Error"].call(this,err);if(_52){console.error(_52,err);}else{if(_53){_39.html._setNodeContent(this.node,_53,true);}}}});_39.html.set=function(_54,_55,_56){if(undefined==_55){console.warn("dojo.html.set: no cont argument provided, using empty string");_55="";}if(!_56){return _39.html._setNodeContent(_54,_55,true);}else{var op=new _39.html._ContentSetter(_3a.mixin(_56,{content:_55,node:_54}));return op.set();}};return _39.html;});},"dojo/uacss":function(){define("dojo/uacss",["./dom-geometry","./_base/lang","./ready","./_base/sniff","./_base/window"],function(_57,_58,_59,has,_5a){var _5b=_5a.doc.documentElement,ie=has("ie"),_5c=has("opera"),maj=Math.floor,ff=has("ff"),_5d=_57.boxModel.replace(/-/,""),_5e={"dj_quirks":has("quirks"),"dj_opera":_5c,"dj_khtml":has("khtml"),"dj_webkit":has("webkit"),"dj_safari":has("safari"),"dj_chrome":has("chrome"),"dj_gecko":has("mozilla")};if(ie){_5e["dj_ie"]=true;_5e["dj_ie"+maj(ie)]=true;_5e["dj_iequirks"]=has("quirks");}if(ff){_5e["dj_ff"+maj(ff)]=true;}_5e["dj_"+_5d]=true;var _5f="";for(var clz in _5e){if(_5e[clz]){_5f+=clz+" ";}}_5b.className=_58.trim(_5b.className+" "+_5f);_59(90,function(){if(!_57.isBodyLtr()){var _60="dj_rtl dijitRtl "+_5f.replace(/ /g,"-rtl ");_5b.className=_58.trim(_5b.className+" "+_60+"dj_rtl dijitRtl "+_5f.replace(/ /g,"-rtl "));}});return has;});},"dojo/window":function(){define("dojo/window",["./_base/lang","./_base/sniff","./_base/window","./dom","./dom-geometry","./dom-style","./dom-construct"],function(_61,has,_62,dom,_63,_64,_65){has.add("rtl-adjust-position-for-verticalScrollBar",function(win,doc){var _66=_62.body(doc),_67=_65.create("div",{style:{overflow:"scroll",overflowX:"visible",direction:"rtl",visibility:"hidden",position:"absolute",left:"0",top:"0",width:"64px",height:"64px"}},_66,"last"),div=_65.create("div",{style:{overflow:"hidden",direction:"ltr"}},_67,"last"),ret=_63.position(div).x!=0;_67.removeChild(div);_66.removeChild(_67);return ret;});has.add("position-fixed-support",function(win,doc){var _68=_62.body(doc),_69=_65.create("span",{style:{visibility:"hidden",position:"fixed",left:"1px",top:"1px"}},_68,"last"),_6a=_65.create("span",{style:{position:"fixed",left:"0",top:"0"}},_69,"last"),ret=_63.position(_6a).x!=_63.position(_69).x;_69.removeChild(_6a);_68.removeChild(_69);return ret;});var _6b=_61.getObject("dojo.window",true);_6b.getBox=function(){var _6c=(_62.doc.compatMode=="BackCompat")?_62.body():_62.doc.documentElement,_6d=_63.docScroll(),w,h;if(has("touch")){var _6e=_62.doc.parentWindow||_62.doc.defaultView;w=_6e.innerWidth||_6c.clientWidth;h=_6e.innerHeight||_6c.clientHeight;}else{w=_6c.clientWidth;h=_6c.clientHeight;}return {l:_6d.x,t:_6d.y,w:w,h:h};};_6b.get=function(doc){if(has("ie")<9&&_6b!==document.parentWindow){doc.parentWindow.execScript("document._parentWindow = window;","Javascript");var win=doc._parentWindow;doc._parentWindow=null;return win;}return doc.parentWindow||doc.defaultView;};_6b.scrollIntoView=function(_6f,pos){try{_6f=dom.byId(_6f);var doc=_6f.ownerDocument||_62.doc,_70=_62.body(doc),_71=doc.documentElement||_70.parentNode,_72=has("ie"),_73=has("webkit");if(_6f==_70||_6f==_71){return;}if(!(has("mozilla")||_72||_73||has("opera")||has("trident"))&&("scrollIntoView" in _6f)){_6f.scrollIntoView(false);return;}var _74=doc.compatMode=="BackCompat",_75=Math.min(_70.clientWidth||_71.clientWidth,_71.clientWidth||_70.clientWidth),_76=Math.min(_70.clientHeight||_71.clientHeight,_71.clientHeight||_70.clientHeight),_77=(_73||_74)?_70:_71,_78=pos||_63.position(_6f),el=_6f.parentNode,_79=function(el){return (_72<=6||(_72==7&&_74))?false:(has("position-fixed-support")&&(_64.get(el,"position").toLowerCase()=="fixed"));},_7a=this,_7b=function(el,x,y){if(el.tagName=="BODY"||el.tagName=="HTML"){_7a.get(el.ownerDocument).scrollBy(x,y);}else{x&&(el.scrollLeft+=x);y&&(el.scrollTop+=y);}};if(_79(_6f)){return;}while(el){if(el==_70){el=_77;}var _7c=_63.position(el),_7d=_79(el),rtl=_64.getComputedStyle(el).direction.toLowerCase()=="rtl";if(el==_77){_7c.w=_75;_7c.h=_76;if(_77==_71&&(_72||has("trident"))&&rtl){_7c.x+=_77.offsetWidth-_7c.w;}if(_7c.x<0||!_72||_72>=9||has("trident")){_7c.x=0;}if(_7c.y<0||!_72||_72>=9||has("trident")){_7c.y=0;}}else{var pb=_63.getPadBorderExtents(el);_7c.w-=pb.w;_7c.h-=pb.h;_7c.x+=pb.l;_7c.y+=pb.t;var _7e=el.clientWidth,_7f=_7c.w-_7e;if(_7e>0&&_7f>0){if(rtl&&has("rtl-adjust-position-for-verticalScrollBar")){_7c.x+=_7f;}_7c.w=_7e;}_7e=el.clientHeight;_7f=_7c.h-_7e;if(_7e>0&&_7f>0){_7c.h=_7e;}}if(_7d){if(_7c.y<0){_7c.h+=_7c.y;_7c.y=0;}if(_7c.x<0){_7c.w+=_7c.x;_7c.x=0;}if(_7c.y+_7c.h>_76){_7c.h=_76-_7c.y;}if(_7c.x+_7c.w>_75){_7c.w=_75-_7c.x;}}var l=_78.x-_7c.x,t=_78.y-_7c.y,r=l+_78.w-_7c.w,bot=t+_78.h-_7c.h;var s,old;if(r*l>0&&(!!el.scrollLeft||el==_77||el.scrollWidth>el.offsetHeight)){s=Math[l<0?"max":"min"](l,r);if(rtl&&((_72==8&&!_74)||_72>=9||has("trident"))){s=-s;}old=el.scrollLeft;_7b(el,s,0);s=el.scrollLeft-old;_78.x-=s;}if(bot*t>0&&(!!el.scrollTop||el==_77||el.scrollHeight>el.offsetHeight)){s=Math.ceil(Math[t<0?"max":"min"](t,bot));old=el.scrollTop;_7b(el,0,s);s=el.scrollTop-old;_78.y-=s;}el=(el!=_77)&&!_7d&&el.parentNode;}}catch(error){console.error("scrollIntoView: "+error);_6f.scrollIntoView(false);}};return _6b;});},"dojo/parser":function(){define("dojo/parser",["./_base/kernel","./_base/lang","./_base/array","./_base/config","./_base/html","./_base/window","./_base/url","./_base/json","./aspect","./date/stamp","./has","./query","./on","./ready"],function(_80,_81,_82,_83,_84,_85,_86,_87,_88,_89,has,_8a,don,_8b){new Date("X");if(1){var _8c=document.createElement("form");has.add("dom-attributes-explicit",_8c.attributes.length==0);has.add("dom-attributes-specified-flag",_8c.attributes.length<40);}_80.parser=new function(){var _8d={};function _8e(_8f){var map={};for(var _90 in _8f){if(_90.charAt(0)=="_"){continue;}map[_90.toLowerCase()]=_90;}return map;};_88.after(_81,"extend",function(){_8d={};},true);var _91={};function _92(_93){var map=_91[_93]||(_91[_93]={});return map["__type"]||(map["__type"]=(_81.getObject(_93)||require(_93)));};this._functionFromScript=function(_94,_95){var _96="";var _97="";var _98=(_94.getAttribute(_95+"args")||_94.getAttribute("args"));if(_98){_82.forEach(_98.split(/\s*,\s*/),function(_99,idx){_96+="var "+_99+" = arguments["+idx+"]; ";});}var _9a=_94.getAttribute("with");if(_9a&&_9a.length){_82.forEach(_9a.split(/\s*,\s*/),function(_9b){_96+="with("+_9b+"){";_97+="}";});}return new Function(_96+_94.innerHTML+_97);};this.instantiate=function(_9c,_9d,_9e){_9d=_9d||{};_9e=_9e||{};var _9f=(_9e.scope||_80._scopeName)+"Type",_a0="data-"+(_9e.scope||_80._scopeName)+"-",_a1=_a0+"type";var _a2=[];_82.forEach(_9c,function(_a3){var _a4=_9f in _9d?_9d[_9f]:_a3.getAttribute(_a1)||_a3.getAttribute(_9f);if(_a4){_a2.push({node:_a3,"type":_a4});}});return this._instantiate(_a2,_9d,_9e);};this._instantiate=function(_a5,_a6,_a7){var _a8=[];var _a9=(_a7.scope||_80._scopeName)+"Type",_aa="data-"+(_a7.scope||_80._scopeName)+"-",_ab=_aa+"type",_ac=_aa+"props",_ad=_aa+"attach-point",_ae=_aa+"attach-event",_af=_aa+"id",_b0=_aa+"mixins";var _b1={};_82.forEach([_ac,_ab,_a9,_af,"jsId",_ad,_ae,"dojoAttachPoint","dojoAttachEvent","class","style",_b0],function(_b2){_b1[_b2.toLowerCase()]=_b2.replace(_a7.scope,"dojo");});function _b3(_b4,_b5){return _b4.createSubclass&&_b4.createSubclass(_b5)||_b4.extend.apply(_b4,_b5);};_82.forEach(_a5,function(obj){if(!obj){return;}var _b6=obj.node,_b7=obj.type,_b8=_b6.getAttribute(_b0),_b9;if(_b8){var map=_91[_b7];_b8=_b8.replace(/ /g,"");_b9=map&&map[_b8];if(!_b9){_b9=_92(_b7);_b9=_91[_b7][_b8]=_b3(_b9,_82.map(_b8.split(","),_92));}}else{_b9=_92(_b7);}var _ba=_b9&&_b9.prototype;var _bb={};if(_a7.defaults){_81.mixin(_bb,_a7.defaults);}if(obj.inherited){_81.mixin(_bb,obj.inherited);}var _bc;if(has("dom-attributes-explicit")){_bc=_b6.attributes;}else{if(has("dom-attributes-specified-flag")){_bc=_82.filter(_b6.attributes,function(a){return a.specified;});}else{var _bd=/^input$|^img$/i.test(_b6.nodeName)?_b6:_b6.cloneNode(false),_be=_bd.outerHTML.replace(/=[^\s"']+|="[^"]*"|='[^']*'/g,"").replace(/^\s*<[a-zA-Z0-9]*\s*/,"").replace(/\s*>.*$/,"");_bc=_82.map(_be.split(/\s+/),function(_bf){var _c0=_bf.toLowerCase();return {name:_bf,value:(_b6.nodeName=="LI"&&_bf=="value")||_c0=="enctype"?_b6.getAttribute(_c0):_b6.getAttributeNode(_c0).value};});}}var i=0,_c1;while(_c1=_bc[i++]){var _c2=_c1.name,_c3=_c2.toLowerCase(),_c4=_c1.value;if(_c3 in _b1){switch(_b1[_c3]){case "data-dojo-props":var _c5=_c4;break;case "data-dojo-id":case "jsId":var _c6=_c4;break;case "data-dojo-attach-point":case "dojoAttachPoint":_bb.dojoAttachPoint=_c4;break;case "data-dojo-attach-event":case "dojoAttachEvent":_bb.dojoAttachEvent=_c4;break;case "class":_bb["class"]=_b6.className;break;case "style":_bb["style"]=_b6.style&&_b6.style.cssText;break;}}else{if(!(_c2 in _ba)){var map=(_8d[_b7]||(_8d[_b7]=_8e(_ba)));_c2=map[_c3]||_c2;}if(_c2 in _ba){switch(typeof _ba[_c2]){case "string":_bb[_c2]=_c4;break;case "number":_bb[_c2]=_c4.length?Number(_c4):NaN;break;case "boolean":_bb[_c2]=_c4.toLowerCase()!="false";break;case "function":if(_c4===""||_c4.search(/[^\w\.]+/i)!=-1){_bb[_c2]=new Function(_c4);}else{_bb[_c2]=_81.getObject(_c4,false)||new Function(_c4);}break;default:var _c7=_ba[_c2];_bb[_c2]=(_c7&&"length" in _c7)?(_c4?_c4.split(/\s*,\s*/):[]):(_c7 instanceof Date)?(_c4==""?new Date(""):_c4=="now"?new Date():_89.fromISOString(_c4)):(_c7 instanceof _80._Url)?(_80.baseUrl+_c4):_87.fromJson(_c4);}}else{_bb[_c2]=_c4;}}}if(_c5){try{_c5=_87.fromJson.call(_a7.propsThis,"{"+_c5+"}");_81.mixin(_bb,_c5);}catch(e){throw new Error(e.toString()+" in data-dojo-props='"+_c5+"'");}}_81.mixin(_bb,_a6);var _c8=obj.scripts||(_b9&&(_b9._noScript||_ba._noScript)?[]:_8a("> script[type^='dojo/']",_b6));var _c9=[],_ca=[],_cb=[],on=[];if(_c8){for(i=0;i<_c8.length;i++){var _cc=_c8[i];_b6.removeChild(_cc);var _cd=(_cc.getAttribute(_aa+"event")||_cc.getAttribute("event")),_ce=_cc.getAttribute(_aa+"prop"),_cf=_cc.getAttribute("type"),nf=this._functionFromScript(_cc,_aa);if(_cd){if(_cf=="dojo/connect"){_c9.push({event:_cd,func:nf});}else{if(_cf=="dojo/on"){on.push({event:_cd,func:nf});}else{_bb[_cd]=nf;}}}else{if(_cf=="dojo/watch"){_cb.push({prop:_ce,func:nf});}else{_ca.push(nf);}}}}var _d0=_b9.markupFactory||_ba.markupFactory;var _d1=_d0?_d0(_bb,_b6,_b9):new _b9(_bb,_b6);_a8.push(_d1);if(_c6){_81.setObject(_c6,_d1);}for(i=0;i<_c9.length;i++){_88.after(_d1,_c9[i].event,_80.hitch(_d1,_c9[i].func),true);}for(i=0;i<_ca.length;i++){_ca[i].call(_d1);}for(i=0;i<_cb.length;i++){_d1.watch(_cb[i].prop,_cb[i].func);}for(i=0;i<on.length;i++){don(_d1,on[i].event,on[i].func);}},this);if(!_a6._started){_82.forEach(_a8,function(_d2){if(!_a7.noStart&&_d2&&_81.isFunction(_d2.startup)&&!_d2._started){_d2.startup();}});}return _a8;};this.scan=function(_d3,_d4){var _d5=[];var _d6=(_d4.scope||_80._scopeName)+"Type",_d7="data-"+(_d4.scope||_80._scopeName)+"-",_d8=_d7+"type",_d9=_d7+"textdir";var _da=_d3.firstChild;var _db=_d4.inherited;if(!_db){function _dc(_dd,_de){return (_dd.getAttribute&&_dd.getAttribute(_de))||(_dd!==_85.doc&&_dd!==_85.doc.documentElement&&_dd.parentNode?_dc(_dd.parentNode,_de):null);};_db={dir:_dc(_d3,"dir"),lang:_dc(_d3,"lang"),textDir:_dc(_d3,_d9)};for(var key in _db){if(!_db[key]){delete _db[key];}}}var _df={inherited:_db};var _e0;var _e1;function _e2(_e3){if(!_e3.inherited){_e3.inherited={};var _e4=_e3.node,_e5=_e2(_e3.parent);var _e6={dir:_e4.getAttribute("dir")||_e5.dir,lang:_e4.getAttribute("lang")||_e5.lang,textDir:_e4.getAttribute(_d9)||_e5.textDir};for(var key in _e6){if(_e6[key]){_e3.inherited[key]=_e6[key];}}}return _e3.inherited;};while(true){if(!_da){if(!_df||!_df.node){break;}_da=_df.node.nextSibling;_e0=_df.scripts;_e1=false;_df=_df.parent;continue;}if(_da.nodeType!=1){_da=_da.nextSibling;continue;}if(_e0&&_da.nodeName.toLowerCase()=="script"){_e7=_da.getAttribute("type");if(_e7&&/^dojo\/\w/i.test(_e7)){_e0.push(_da);}_da=_da.nextSibling;continue;}if(_e1){_da=_da.nextSibling;continue;}var _e7=_da.getAttribute(_d8)||_da.getAttribute(_d6);var _e8=_da.firstChild;if(!_e7&&(!_e8||(_e8.nodeType==3&&!_e8.nextSibling))){_da=_da.nextSibling;continue;}var _e9={node:_da,scripts:_e0,parent:_df};var _ea;try{_ea=_e7&&_92(_e7);}catch(e){}var _eb=_ea&&!_ea.prototype._noScript?[]:null;if(_e7){_d5.push({"type":_e7,node:_da,scripts:_eb,inherited:_e2(_e9)});}_da=_e8;_e0=_eb;_e1=_ea&&_ea.prototype.stopParser&&!(_d4.template);_df=_e9;}return _d5;};this.parse=function(_ec,_ed){var _ee;if(!_ed&&_ec&&_ec.rootNode){_ed=_ec;_ee=_ed.rootNode;}else{if(_ec&&_81.isObject(_ec)&&!("nodeType" in _ec)){_ed=_ec;}else{_ee=_ec;}}_ee=_ee?_84.byId(_ee):_85.body();_ed=_ed||{};var _ef=this.scan(_ee,_ed);var _f0=_ed.template?{template:true}:{};return this._instantiate(_ef,_f0,_ed);};}();if(_83.parseOnLoad){_8b(100,_80.parser,"parse");}return _80.parser;});},"*noref":1}});define("dojo/_dom",[],1);require(["dojo/window","dojo/uacss","dojo/html","dojo/parser","dojo/touch"]);
}catch(e){console.log("Module 'dojo_dom_17': ",e);}
try{/*
	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
*/

//>>built
require({cache:{"dijit/hccss":function(){define("dijit/hccss",["require","dojo/_base/config","dojo/dom-class","dojo/dom-construct","dojo/dom-style","dojo/ready","dojo/_base/sniff","dojo/_base/window"],function(_1,_2,_3,_4,_5,_6,_7,_8){if(_7("ie")||_7("mozilla")){_6(90,function(){var _9=_4.create("div",{id:"a11yTestNode",style:{cssText:"border: 1px solid;"+"border-color:red green;"+"position: absolute;"+"height: 5px;"+"top: -999px;"+"background-image: url(\""+(_2.blankGif||_1.toUrl("dojo/resources/blank.gif"))+"\");"}},_8.body());var cs=_5.getComputedStyle(_9);if(cs){var _a=cs.backgroundImage;var _b=(cs.borderTopColor==cs.borderRightColor)||(_a!=null&&(_a=="none"||_a=="url(invalid-url:)"));if(_b){_3.add(_8.body(),"dijit_a11y");}if(_7("ie")){_9.outerHTML="";}else{_8.body().removeChild(_9);}}});}});},"dijit/_Contained":function(){define("dijit/_Contained",["dojo/_base/declare","./registry"],function(_c,_d){return _c("dijit._Contained",null,{_getSibling:function(_e){var _f=this.domNode;do{_f=_f[_e+"Sibling"];}while(_f&&_f.nodeType!=1);return _f&&_d.byNode(_f);},getPreviousSibling:function(){return this._getSibling("previous");},getNextSibling:function(){return this._getSibling("next");},getIndexInParent:function(){var p=this.getParent();if(!p||!p.getIndexOfChild){return -1;}return p.getIndexOfChild(this);}});});},"dijit/Viewport":function(){define("dijit/Viewport",["dojo/Evented","dojo/on","dojo/ready","dojo/_base/sniff","dojo/_base/window","dojo/window"],function(_10,on,_11,has,win,_12){var _13=new _10();var _14;_11(200,function(){var _15=_12.getBox();_13._rlh=on(win.global,"resize",function(){var _16=_12.getBox();if(_15.h==_16.h&&_15.w==_16.w){return;}_15=_16;_13.emit("resize");});if(has("ie")==8){var _17=screen.deviceXDPI;setInterval(function(){if(screen.deviceXDPI!=_17){_17=screen.deviceXDPI;_13.emit("resize");}},500);}if(has("ios")){on(document,"focusin",function(evt){_14=evt.target;});on(document,"focusout",function(evt){_14=null;});}});_13.getEffectiveBox=function(doc){var box=_12.getBox(doc);var tag=_14&&_14.tagName&&_14.tagName.toLowerCase();if(has("ios")&&_14&&!_14.readOnly&&(tag=="textarea"||(tag=="input"&&/^(color|email|number|password|search|tel|text|url)$/.test(_14.type)))){box.h*=(orientation==0||orientation==180?0.66:0.4);var _18=_14.getBoundingClientRect();box.h=Math.max(box.h,_18.top+_18.height);}return box;};return _13;});},"dijit/_Container":function(){define("dijit/_Container",["dojo/_base/array","dojo/_base/declare","dojo/dom-construct","./registry"],function(_19,_1a,_1b,_1c){return _1a("dijit._Container",null,{buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}},addChild:function(_1d,_1e){var _1f=this.containerNode;if(_1e&&typeof _1e=="number"){var _20=this.getChildren();if(_20&&_20.length>=_1e){_1f=_20[_1e-1].domNode;_1e="after";}}_1b.place(_1d.domNode,_1f,_1e);if(this._started&&!_1d._started){_1d.startup();}},removeChild:function(_21){if(typeof _21=="number"){_21=this.getChildren()[_21];}if(_21){var _22=_21.domNode;if(_22&&_22.parentNode){_22.parentNode.removeChild(_22);}}},hasChildren:function(){return this.getChildren().length>0;},_getSiblingOfChild:function(_23,dir){var _24=_23.domNode,_25=(dir>0?"nextSibling":"previousSibling");do{_24=_24[_25];}while(_24&&(_24.nodeType!=1||!_1c.byNode(_24)));return _24&&_1c.byNode(_24);},getIndexOfChild:function(_26){return _19.indexOf(this.getChildren(),_26);}});});},"dijit/_base/scroll":function(){define("dijit/_base/scroll",["dojo/window",".."],function(_27,_28){_28.scrollIntoView=function(_29,pos){_27.scrollIntoView(_29,pos);};});},"dijit/layout/_LayoutWidget":function(){define("dijit/layout/_LayoutWidget",["dojo/_base/lang","../_Widget","../_Container","../_Contained","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/sniff","dojo/_base/window"],function(_2a,_2b,_2c,_2d,_2e,_2f,_30,_31,has,win){return _2e("dijit.layout._LayoutWidget",[_2b,_2c,_2d],{baseClass:"dijitLayoutContainer",isLayoutContainer:true,buildRendering:function(){this.inherited(arguments);_2f.add(this.domNode,"dijitContainer");},startup:function(){if(this._started){return;}this.inherited(arguments);var _32=this.getParent&&this.getParent();if(!(_32&&_32.isLayoutContainer)){this.resize();this.connect(win.global,"onresize",function(){this.resize();});}},resize:function(_33,_34){var _35=this.domNode;if(_33){_30.setMarginBox(_35,_33);}var mb=_34||{};_2a.mixin(mb,_33||{});if(!("h" in mb)||!("w" in mb)){mb=_2a.mixin(_30.getMarginBox(_35),mb);}var cs=_31.getComputedStyle(_35);var me=_30.getMarginExtents(_35,cs);var be=_30.getBorderExtents(_35,cs);var bb=(this._borderBox={w:mb.w-(me.w+be.w),h:mb.h-(me.h+be.h)});var pe=_30.getPadExtents(_35,cs);this._contentBox={l:_31.toPixelValue(_35,cs.paddingLeft),t:_31.toPixelValue(_35,cs.paddingTop),w:bb.w-pe.w,h:bb.h-pe.h};this.layout();},layout:function(){},_setupChild:function(_36){var cls=this.baseClass+"-child "+(_36.baseClass?this.baseClass+"-"+_36.baseClass:"");_2f.add(_36.domNode,cls);},addChild:function(_37,_38){this.inherited(arguments);if(this._started){this._setupChild(_37);}},removeChild:function(_39){var cls=this.baseClass+"-child"+(_39.baseClass?" "+this.baseClass+"-"+_39.baseClass:"");_2f.remove(_39.domNode,cls);this.inherited(arguments);}});});},"dijit/_base":function(){define("dijit/_base",[".","./a11y","./WidgetSet","./_base/focus","./_base/manager","./_base/place","./_base/popup","./_base/scroll","./_base/sniff","./_base/typematic","./_base/wai","./_base/window"],function(_3a){return _3a._base;});},"dijit/form/_FormWidgetMixin":function(){define("dijit/form/_FormWidgetMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-style","dojo/_base/lang","dojo/mouse","dojo/_base/sniff","dojo/_base/window","dojo/window","../a11y"],function(_3b,_3c,_3d,_3e,_3f,_40,has,win,_41,_42){return _3c("dijit.form._FormWidgetMixin",null,{name:"",alt:"",value:"",type:"text",tabIndex:"0",_setTabIndexAttr:"focusNode",disabled:false,intermediateChanges:false,scrollOnFocus:true,_setIdAttr:"focusNode",_setDisabledAttr:function(_43){this._set("disabled",_43);_3d.set(this.focusNode,"disabled",_43);if(this.valueNode){_3d.set(this.valueNode,"disabled",_43);}this.focusNode.setAttribute("aria-disabled",_43?"true":"false");if(_43){this._set("hovering",false);this._set("active",false);var _44="tabIndex" in this.attributeMap?this.attributeMap.tabIndex:("_setTabIndexAttr" in this)?this._setTabIndexAttr:"focusNode";_3b.forEach(_3f.isArray(_44)?_44:[_44],function(_45){var _46=this[_45];if(has("webkit")||_42.hasDefaultTabStop(_46)){_46.setAttribute("tabIndex","-1");}else{_46.removeAttribute("tabIndex");}},this);}else{if(this.tabIndex!=""){this.set("tabIndex",this.tabIndex);}}},_onFocus:function(by){if(by=="mouse"&&this.isFocusable()){var _47=this.connect(this.focusNode,"onfocus",function(){this.disconnect(_48);this.disconnect(_47);});var _48=this.connect(win.body(),"onmouseup",function(){this.disconnect(_48);this.disconnect(_47);if(this.focused){this.focus();}});}if(this.scrollOnFocus){this.defer(function(){_41.scrollIntoView(this.domNode);});}this.inherited(arguments);},isFocusable:function(){return !this.disabled&&this.focusNode&&(_3e.get(this.domNode,"display")!="none");},focus:function(){if(!this.disabled&&this.focusNode.focus){try{this.focusNode.focus();}catch(e){}}},compare:function(_49,_4a){if(typeof _49=="number"&&typeof _4a=="number"){return (isNaN(_49)&&isNaN(_4a))?0:_49-_4a;}else{if(_49>_4a){return 1;}else{if(_49<_4a){return -1;}else{return 0;}}}},onChange:function(){},_onChangeActive:false,_handleOnChange:function(_4b,_4c){if(this._lastValueReported==undefined&&(_4c===null||!this._onChangeActive)){this._resetValue=this._lastValueReported=_4b;}this._pendingOnChange=this._pendingOnChange||(typeof _4b!=typeof this._lastValueReported)||(this.compare(_4b,this._lastValueReported)!=0);if((this.intermediateChanges||_4c||_4c===undefined)&&this._pendingOnChange){this._lastValueReported=_4b;this._pendingOnChange=false;if(this._onChangeActive){if(this._onChangeHandle){this._onChangeHandle.remove();}this._onChangeHandle=this.defer(function(){this._onChangeHandle=null;this.onChange(_4b);});}}},create:function(){this.inherited(arguments);this._onChangeActive=true;},destroy:function(){if(this._onChangeHandle){this._onChangeHandle.remove();this.onChange(this._lastValueReported);}this.inherited(arguments);}});});},"dijit/BackgroundIframe":function(){define("dijit/BackgroundIframe",["require",".","dojo/_base/config","dojo/dom-construct","dojo/dom-style","dojo/_base/lang","dojo/on","dojo/_base/sniff","dojo/_base/window"],function(_4d,_4e,_4f,_50,_51,_52,on,has,win){has.add("bgIframe",has("ie")||has("mozilla"));var _53=new function(){var _54=[];this.pop=function(){var _55;if(_54.length){_55=_54.pop();_55.style.display="";}else{if(has("ie")<9){var _56=_4f["dojoBlankHtmlUrl"]||_4d.toUrl("dojo/resources/blank.html")||"javascript:\"\"";var _57="<iframe src='"+_56+"' role='presentation'"+" style='position: absolute; left: 0px; top: 0px;"+"z-index: -1; filter:Alpha(Opacity=\"0\");'>";_55=win.doc.createElement(_57);}else{_55=_50.create("iframe");_55.src="javascript:\"\"";_55.className="dijitBackgroundIframe";_55.setAttribute("role","presentation");_51.set(_55,"opacity",0.1);}_55.tabIndex=-1;}return _55;};this.push=function(_58){_58.style.display="none";_54.push(_58);};}();_4e.BackgroundIframe=function(_59){if(!_59.id){throw new Error("no id");}if(has("bgIframe")){var _5a=(this.iframe=_53.pop());_59.appendChild(_5a);if(has("ie")<7||has("quirks")){this.resize(_59);this._conn=on(_59,"resize",_52.hitch(this,function(){this.resize(_59);}));}else{_51.set(_5a,{width:"100%",height:"100%"});}}};_52.extend(_4e.BackgroundIframe,{resize:function(_5b){if(this.iframe){_51.set(this.iframe,{width:_5b.offsetWidth+"px",height:_5b.offsetHeight+"px"});}},destroy:function(){if(this._conn){this._conn.remove();this._conn=null;}if(this.iframe){_53.push(this.iframe);delete this.iframe;}}});return _4e.BackgroundIframe;});},"dijit/_WidgetsInTemplateMixin":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/parser","dijit/registry"],function(_5c,_5d,_5e,_5f){return _5d("dijit._WidgetsInTemplateMixin",null,{_earlyTemplatedStartup:false,widgetsInTemplate:true,_beforeFillContent:function(){if(this.widgetsInTemplate){var _60=this.domNode;var cw=(this._startupWidgets=_5e.parse(_60,{noStart:!this._earlyTemplatedStartup,template:true,inherited:{dir:this.dir,lang:this.lang,textDir:this.textDir},propsThis:this,scope:"dojo"}));this._supportingWidgets=_5f.findWidgets(_60);this._attachTemplateNodes(cw,function(n,p){return n[p];});}},startup:function(){_5c.forEach(this._startupWidgets,function(w){if(w&&!w._started&&w.startup){w.startup();}});this.inherited(arguments);}});});},"dijit/form/_FormValueMixin":function(){define("dijit/form/_FormValueMixin",["dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/sniff","./_FormWidgetMixin"],function(_61,_62,_63,has,_64){return _61("dijit.form._FormValueMixin",_64,{readOnly:false,_setReadOnlyAttr:function(_65){_62.set(this.focusNode,"readOnly",_65);this._set("readOnly",_65);},postCreate:function(){this.inherited(arguments);if(has("ie")){this.connect(this.focusNode||this.domNode,"onkeydown",this._onKeyDown);}if(this._resetValue===undefined){this._lastValueReported=this._resetValue=this.value;}},_setValueAttr:function(_66,_67){this._handleOnChange(_66,_67);},_handleOnChange:function(_68,_69){this._set("value",_68);this.inherited(arguments);},undo:function(){this._setValueAttr(this._lastValueReported,false);},reset:function(){this._hasBeenBlurred=false;this._setValueAttr(this._resetValue,true);},_onKeyDown:function(e){if(e.keyCode==_63.ESCAPE&&!(e.ctrlKey||e.altKey||e.metaKey)){var te;if(has("ie")<9||(has("ie")&&has("quirks"))){e.preventDefault();te=document.createEventObject();te.keyCode=_63.ESCAPE;te.shiftKey=e.shiftKey;e.srcElement.fireEvent("onkeypress",te);}}}});});},"dijit/_CssStateMixin":function(){define("dijit/_CssStateMixin",["dojo/touch","dojo/_base/array","dojo/_base/declare","dojo/dom-class","dojo/_base/lang","dojo/_base/window"],function(_6a,_6b,_6c,_6d,_6e,win){return _6c("dijit._CssStateMixin",[],{cssStateNodes:{},hovering:false,active:false,_applyAttributes:function(){this.inherited(arguments);_6b.forEach(["onmouseenter","onmouseleave",_6a.press],function(e){this.connect(this.domNode,e,"_cssMouseEvent");},this);_6b.forEach(["disabled","readOnly","checked","selected","focused","state","hovering","active"],function(_6f){this.watch(_6f,_6e.hitch(this,"_setStateClass"));},this);for(var ap in this.cssStateNodes){this._trackMouseState(this[ap],this.cssStateNodes[ap]);}this._setStateClass();},_cssMouseEvent:function(_70){if(!this.disabled){switch(_70.type){case "mouseenter":case "mouseover":this._set("hovering",true);this._set("active",this._mouseDown);break;case "mouseleave":case "mouseout":this._set("hovering",false);this._set("active",false);break;case "mousedown":case "touchpress":this._set("active",true);this._mouseDown=true;var _71=this.connect(win.body(),_6a.release,function(){this._mouseDown=false;this._set("active",false);this.disconnect(_71);});break;}}},_setStateClass:function(){var _72=this.baseClass.split(" ");function _73(_74){_72=_72.concat(_6b.map(_72,function(c){return c+_74;}),"dijit"+_74);};if(!this.isLeftToRight()){_73("Rtl");}var _75=this.checked=="mixed"?"Mixed":(this.checked?"Checked":"");if(this.checked){_73(_75);}if(this.state){_73(this.state);}if(this.selected){_73("Selected");}if(this.disabled){_73("Disabled");}else{if(this.readOnly){_73("ReadOnly");}else{if(this.active){_73("Active");}else{if(this.hovering){_73("Hover");}}}}if(this.focused){_73("Focused");}var tn=this.stateNode||this.domNode,_76={};_6b.forEach(tn.className.split(" "),function(c){_76[c]=true;});if("_stateClasses" in this){_6b.forEach(this._stateClasses,function(c){delete _76[c];});}_6b.forEach(_72,function(c){_76[c]=true;});var _77=[];for(var c in _76){_77.push(c);}tn.className=_77.join(" ");this._stateClasses=_72;},_trackMouseState:function(_78,_79){var _7a=false,_7b=false,_7c=false;var _7d=this,cn=_6e.hitch(this,"connect",_78);function _7e(){var _7f=("disabled" in _7d&&_7d.disabled)||("readonly" in _7d&&_7d.readonly);_6d.toggle(_78,_79+"Hover",_7a&&!_7b&&!_7f);_6d.toggle(_78,_79+"Active",_7b&&!_7f);_6d.toggle(_78,_79+"Focused",_7c&&!_7f);};cn("onmouseenter",function(){_7a=true;_7e();});cn("onmouseleave",function(){_7a=false;_7b=false;_7e();});cn(_6a.press,function(){_7b=true;_7e();});cn(_6a.release,function(){_7b=false;_7e();});cn("onfocus",function(){_7c=true;_7e();});cn("onblur",function(){_7c=false;_7e();});this.watch("disabled",_7e);this.watch("readOnly",_7e);}});});},"dijit/form/_FormValueWidget":function(){define("dijit/form/_FormValueWidget",["dojo/_base/declare","dojo/_base/sniff","./_FormWidget","./_FormValueMixin"],function(_80,has,_81,_82){return _80("dijit.form._FormValueWidget",[_81,_82],{_layoutHackIE7:function(){if(has("ie")==7){var _83=this.domNode;var _84=_83.parentNode;var _85=_83.firstChild||_83;var _86=_85.style.filter;var _87=this;while(_84&&_84.clientHeight==0){(function ping(){var _88=_87.connect(_84,"onscroll",function(){_87.disconnect(_88);_85.style.filter=(new Date()).getMilliseconds();setTimeout(function(){_85.style.filter=_86;},0);});})();_84=_84.parentNode;}}}});});},"dijit/registry":function(){define("dijit/registry",["dojo/_base/array","dojo/_base/sniff","dojo/_base/unload","dojo/_base/window","."],function(_89,has,_8a,win,_8b){var _8c={},_8d={};var _8e={length:0,add:function(_8f){if(_8d[_8f.id]){throw new Error("Tried to register widget with id=="+_8f.id+" but that id is already registered");}_8d[_8f.id]=_8f;this.length++;},remove:function(id){if(_8d[id]){delete _8d[id];this.length--;}},byId:function(id){return typeof id=="string"?_8d[id]:id;},byNode:function(_90){return _8d[_90.getAttribute("widgetId")];},toArray:function(){var ar=[];for(var id in _8d){ar.push(_8d[id]);}return ar;},getUniqueId:function(_91){var id;do{id=_91+"_"+(_91 in _8c?++_8c[_91]:_8c[_91]=0);}while(_8d[id]);return _8b._scopeName=="dijit"?id:_8b._scopeName+"_"+id;},findWidgets:function(_92){var _93=[];function _94(_95){for(var _96=_95.firstChild;_96;_96=_96.nextSibling){if(_96.nodeType==1){var _97=_96.getAttribute("widgetId");if(_97){var _98=_8d[_97];if(_98){_93.push(_98);}}else{_94(_96);}}}};_94(_92);return _93;},_destroyAll:function(){_8b._curFocus=null;_8b._prevFocus=null;_8b._activeStack=[];_89.forEach(_8e.findWidgets(win.body()),function(_99){if(!_99._destroyed){if(_99.destroyRecursive){_99.destroyRecursive();}else{if(_99.destroy){_99.destroy();}}}});},getEnclosingWidget:function(_9a){while(_9a){var id=_9a.getAttribute&&_9a.getAttribute("widgetId");if(id){return _8d[id];}_9a=_9a.parentNode;}return null;},_hash:_8d};_8b.registry=_8e;return _8e;});},"dijit/_base/manager":function(){define("dijit/_base/manager",["dojo/_base/array","dojo/_base/config","../registry",".."],function(_9b,_9c,_9d,_9e){_9b.forEach(["byId","getUniqueId","findWidgets","_destroyAll","byNode","getEnclosingWidget"],function(_9f){_9e[_9f]=_9d[_9f];});_9e.defaultDuration=_9c["defaultDuration"]||200;return _9e;});},"dijit/_base/place":function(){define("dijit/_base/place",["dojo/_base/array","dojo/_base/lang","dojo/window","../place",".."],function(_a0,_a1,_a2,_a3,_a4){_a4.getViewport=function(){return _a2.getBox();};_a4.placeOnScreen=_a3.at;_a4.placeOnScreenAroundElement=function(_a5,_a6,_a7,_a8){var _a9;if(_a1.isArray(_a7)){_a9=_a7;}else{_a9=[];for(var key in _a7){_a9.push({aroundCorner:key,corner:_a7[key]});}}return _a3.around(_a5,_a6,_a9,true,_a8);};_a4.placeOnScreenAroundNode=_a4.placeOnScreenAroundElement;_a4.placeOnScreenAroundRectangle=_a4.placeOnScreenAroundElement;_a4.getPopupAroundAlignment=function(_aa,_ab){var _ac={};_a0.forEach(_aa,function(pos){var ltr=_ab;switch(pos){case "after":_ac[_ab?"BR":"BL"]=_ab?"BL":"BR";break;case "before":_ac[_ab?"BL":"BR"]=_ab?"BR":"BL";break;case "below-alt":ltr=!ltr;case "below":_ac[ltr?"BL":"BR"]=ltr?"TL":"TR";_ac[ltr?"BR":"BL"]=ltr?"TR":"TL";break;case "above-alt":ltr=!ltr;case "above":default:_ac[ltr?"TL":"TR"]=ltr?"BL":"BR";_ac[ltr?"TR":"TL"]=ltr?"BR":"BL";break;}});return _ac;};return _a4;});},"dijit/WidgetSet":function(){define("dijit/WidgetSet",["dojo/_base/array","dojo/_base/declare","dojo/_base/window","./registry"],function(_ad,_ae,win,_af){var _b0=_ae("dijit.WidgetSet",null,{constructor:function(){this._hash={};this.length=0;},add:function(_b1){if(this._hash[_b1.id]){throw new Error("Tried to register widget with id=="+_b1.id+" but that id is already registered");}this._hash[_b1.id]=_b1;this.length++;},remove:function(id){if(this._hash[id]){delete this._hash[id];this.length--;}},forEach:function(_b2,_b3){_b3=_b3||win.global;var i=0,id;for(id in this._hash){_b2.call(_b3,this._hash[id],i++,this._hash);}return this;},filter:function(_b4,_b5){_b5=_b5||win.global;var res=new _b0(),i=0,id;for(id in this._hash){var w=this._hash[id];if(_b4.call(_b5,w,i++,this._hash)){res.add(w);}}return res;},byId:function(id){return this._hash[id];},byClass:function(cls){var res=new _b0(),id,_b6;for(id in this._hash){_b6=this._hash[id];if(_b6.declaredClass==cls){res.add(_b6);}}return res;},toArray:function(){var ar=[];for(var id in this._hash){ar.push(this._hash[id]);}return ar;},map:function(_b7,_b8){return _ad.map(this.toArray(),_b7,_b8);},every:function(_b9,_ba){_ba=_ba||win.global;var x=0,i;for(i in this._hash){if(!_b9.call(_ba,this._hash[i],x++,this._hash)){return false;}}return true;},some:function(_bb,_bc){_bc=_bc||win.global;var x=0,i;for(i in this._hash){if(_bb.call(_bc,this._hash[i],x++,this._hash)){return true;}}return false;}});_ad.forEach(["forEach","filter","byClass","map","every","some"],function(_bd){_af[_bd]=_b0.prototype[_bd];});return _b0;});},"dijit/a11y":function(){define("dijit/a11y",["dojo/_base/array","dojo/dom","dojo/dom-attr","dojo/dom-style","dojo/_base/lang","dojo/_base/sniff","./main"],function(_be,dom,_bf,_c0,_c1,has,_c2){var _c3;var _c4={_isElementShown:function(_c5){var s=_c0.get(_c5);return (s.visibility!="hidden")&&(s.visibility!="collapsed")&&(s.display!="none")&&(_bf.get(_c5,"type")!="hidden");},hasDefaultTabStop:function(_c6){switch(_c6.nodeName.toLowerCase()){case "a":return _bf.has(_c6,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return true;case "iframe":var _c7;try{var _c8=_c6.contentDocument;if("designMode" in _c8&&_c8.designMode=="on"){return true;}_c7=_c8.body;}catch(e1){try{_c7=_c6.contentWindow.document.body;}catch(e2){return false;}}return _c7&&(_c7.contentEditable=="true"||(_c7.firstChild&&_c7.firstChild.contentEditable=="true"));default:return _c6.contentEditable=="true";}},effectiveTabIndex:function(_c9){if(_bf.get(_c9,"disabled")){return _c3;}else{if(_bf.has(_c9,"tabIndex")){return +_bf.get(_c9,"tabIndex");}else{return _c4.hasDefaultTabStop(_c9)?0:_c3;}}},isTabNavigable:function(_ca){return _c4.effectiveTabIndex(_ca)>=0;},isFocusable:function(_cb){return _c4.effectiveTabIndex(_cb)>=-1;},_getTabNavigable:function(_cc){var _cd,_ce,_cf,_d0,_d1,_d2,_d3={};function _d4(_d5){return _d5&&_d5.tagName.toLowerCase()=="input"&&_d5.type&&_d5.type.toLowerCase()=="radio"&&_d5.name&&_d5.name.toLowerCase();};var _d6=_c4._isElementShown,_d7=_c4.effectiveTabIndex;var _d8=function(_d9){for(var _da=_d9.firstChild;_da;_da=_da.nextSibling){if(_da.nodeType!=1||(has("ie")<=9&&_da.scopeName!=="HTML")||!_d6(_da)){continue;}var _db=_d7(_da);if(_db>=0){if(_db==0){if(!_cd){_cd=_da;}_ce=_da;}else{if(_db>0){if(!_cf||_db<_d0){_d0=_db;_cf=_da;}if(!_d1||_db>=_d2){_d2=_db;_d1=_da;}}}var rn=_d4(_da);if(_bf.get(_da,"checked")&&rn){_d3[rn]=_da;}}if(_da.nodeName.toUpperCase()!="SELECT"){_d8(_da);}}};if(_d6(_cc)){_d8(_cc);}function rs(_dc){return _d3[_d4(_dc)]||_dc;};return {first:rs(_cd),last:rs(_ce),lowest:rs(_cf),highest:rs(_d1)};},getFirstInTabbingOrder:function(_dd,doc){var _de=_c4._getTabNavigable(dom.byId(_dd,doc));return _de.lowest?_de.lowest:_de.first;},getLastInTabbingOrder:function(_df,doc){var _e0=_c4._getTabNavigable(dom.byId(_df,doc));return _e0.last?_e0.last:_e0.highest;}};1&&_c1.mixin(_c2,_c4);return _c4;});},"dijit/typematic":function(){define(["dojo/_base/array","dojo/_base/connect","dojo/_base/event","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/_base/sniff","."],function(_e1,_e2,_e3,_e4,_e5,on,has,_e6){var _e7=(_e6.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(_e5.hitch(this,"_fireEventAndReload"),this._currentTimeout);},trigger:function(evt,_e8,_e9,_ea,obj,_eb,_ec,_ed){if(obj!=this._obj){this.stop();this._initialDelay=_ec||500;this._subsequentDelay=_eb||0.9;this._minDelay=_ed||10;this._obj=obj;this._evt=evt;this._node=_e9;this._currentTimeout=-1;this._count=-1;this._callback=_e5.hitch(_e8,_ea);this._fireEventAndReload();this._evt=_e5.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(_ee,_ef,_f0,_f1,_f2,_f3,_f4){if(_ef.keyCode){_ef.charOrCode=_ef.keyCode;_e4.deprecated("keyCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}else{if(_ef.charCode){_ef.charOrCode=String.fromCharCode(_ef.charCode);_e4.deprecated("charCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}}var _f5=[on(_ee,_e2._keypress,_e5.hitch(this,function(evt){if(evt.charOrCode==_ef.charOrCode&&(_ef.ctrlKey===undefined||_ef.ctrlKey==evt.ctrlKey)&&(_ef.altKey===undefined||_ef.altKey==evt.altKey)&&(_ef.metaKey===undefined||_ef.metaKey==(evt.metaKey||false))&&(_ef.shiftKey===undefined||_ef.shiftKey==evt.shiftKey)){_e3.stop(evt);_e7.trigger(evt,_f0,_ee,_f1,_ef,_f2,_f3,_f4);}else{if(_e7._obj==_ef){_e7.stop();}}})),on(_ee,"keyup",_e5.hitch(this,function(){if(_e7._obj==_ef){_e7.stop();}}))];return {remove:function(){_e1.forEach(_f5,function(h){h.remove();});}};},addMouseListener:function(_f6,_f7,_f8,_f9,_fa,_fb){var _fc=[on(_f6,"mousedown",_e5.hitch(this,function(evt){_e3.stop(evt);_e7.trigger(evt,_f7,_f6,_f8,_f6,_f9,_fa,_fb);})),on(_f6,"mouseup",_e5.hitch(this,function(evt){if(this._obj){_e3.stop(evt);}_e7.stop();})),on(_f6,"mouseout",_e5.hitch(this,function(evt){_e3.stop(evt);_e7.stop();})),on(_f6,"mousemove",_e5.hitch(this,function(evt){evt.preventDefault();})),on(_f6,"dblclick",_e5.hitch(this,function(evt){_e3.stop(evt);if(has("ie")<9){_e7.trigger(evt,_f7,_f6,_f8,_f6,_f9,_fa,_fb);setTimeout(_e5.hitch(this,_e7.stop),50);}}))];return {remove:function(){_e1.forEach(_fc,function(h){h.remove();});}};},addListener:function(_fd,_fe,_ff,_100,_101,_102,_103,_104){var _105=[this.addKeyListener(_fe,_ff,_100,_101,_102,_103,_104),this.addMouseListener(_fd,_100,_101,_102,_103,_104)];return {remove:function(){_e1.forEach(_105,function(h){h.remove();});}};}});return _e7;});},"dijit/_base/focus":function(){define("dijit/_base/focus",["dojo/_base/array","dojo/dom","dojo/_base/lang","dojo/topic","dojo/_base/window","../focus",".."],function(_106,dom,lang,_107,win,_108,_109){lang.mixin(_109,{_curFocus:null,_prevFocus:null,isCollapsed:function(){return _109.getBookmark().isCollapsed;},getBookmark:function(){var bm,rg,tg,sel=win.doc.selection,cf=_108.curNode;if(win.global.getSelection){sel=win.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};if(sel.rangeCount){bm.mark=sel.getRangeAt(0).cloneRange();}}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(_10a){var _10b=win.doc,mark=_10a.mark;if(mark){if(win.global.getSelection){var sel=win.global.getSelection();if(sel&&sel.removeAllRanges){if(mark.pRange){var n=mark.node;n.selectionStart=mark.start;n.selectionEnd=mark.end;}else{sel.removeAllRanges();sel.addRange(mark);}}else{console.warn("No idea how to restore selection for this browser!");}}else{if(_10b.selection&&mark){var rg;if(mark.pRange){rg=mark.range;}else{if(lang.isArray(mark)){rg=_10b.body.createControlRange();_106.forEach(mark,function(n){rg.addElement(n);});}else{rg=_10b.body.createTextRange();rg.moveToBookmark(mark);}}rg.select();}}}},getFocus:function(menu,_10c){var node=!_108.curNode||(menu&&dom.isDescendant(_108.curNode,menu.domNode))?_109._prevFocus:_108.curNode;return {node:node,bookmark:node&&(node==_108.curNode)&&win.withGlobal(_10c||win.global,_109.getBookmark),openedForWindow:_10c};},_activeStack:[],registerIframe:function(_10d){return _108.registerIframe(_10d);},unregisterIframe:function(_10e){_10e&&_10e.remove();},registerWin:function(_10f,_110){return _108.registerWin(_10f,_110);},unregisterWin:function(_111){_111&&_111.remove();}});_108.focus=function(_112){if(!_112){return;}var node="node" in _112?_112.node:_112,_113=_112.bookmark,_114=_112.openedForWindow,_115=_113?_113.isCollapsed:false;if(node){var _116=(node.tagName.toLowerCase()=="iframe")?node.contentWindow:node;if(_116&&_116.focus){try{_116.focus();}catch(e){}}_108._onFocusNode(node);}if(_113&&win.withGlobal(_114||win.global,_109.isCollapsed)&&!_115){if(_114){_114.focus();}try{win.withGlobal(_114||win.global,_109.moveToBookmark,null,[_113]);}catch(e2){}}};_108.watch("curNode",function(name,_117,_118){_109._curFocus=_118;_109._prevFocus=_117;if(_118){_107.publish("focusNode",_118);}});_108.watch("activeStack",function(name,_119,_11a){_109._activeStack=_11a;});_108.on("widget-blur",function(_11b,by){_107.publish("widgetBlur",_11b,by);});_108.on("widget-focus",function(_11c,by){_107.publish("widgetFocus",_11c,by);});return _109;});},"dijit/place":function(){define("dijit/place",["dojo/_base/array","dojo/dom-geometry","dojo/dom-style","dojo/_base/kernel","dojo/_base/window","./Viewport","."],function(_11d,_11e,_11f,_120,win,_121,_122){function _123(node,_124,_125,_126){var view=_121.getEffectiveBox(node.ownerDocument);if(!node.parentNode||String(node.parentNode.tagName).toLowerCase()!="body"){win.body().appendChild(node);}var best=null;_11d.some(_124,function(_127){var _128=_127.corner;var pos=_127.pos;var _129=0;var _12a={w:{"L":view.l+view.w-pos.x,"R":pos.x-view.l,"M":view.w}[_128.charAt(1)],h:{"T":view.t+view.h-pos.y,"B":pos.y-view.t,"M":view.h}[_128.charAt(0)]};var s=node.style;s.left=s.right="auto";if(_125){var res=_125(node,_127.aroundCorner,_128,_12a,_126);_129=typeof res=="undefined"?0:res;}var _12b=node.style;var _12c=_12b.display;var _12d=_12b.visibility;if(_12b.display=="none"){_12b.visibility="hidden";_12b.display="";}var bb=_11e.position(node);_12b.display=_12c;_12b.visibility=_12d;var _12e={"L":pos.x,"R":pos.x-bb.w,"M":Math.max(view.l,Math.min(view.l+view.w,pos.x+(bb.w>>1))-bb.w)}[_128.charAt(1)],_12f={"T":pos.y,"B":pos.y-bb.h,"M":Math.max(view.t,Math.min(view.t+view.h,pos.y+(bb.h>>1))-bb.h)}[_128.charAt(0)],_130=Math.max(view.l,_12e),_131=Math.max(view.t,_12f),endX=Math.min(view.l+view.w,_12e+bb.w),endY=Math.min(view.t+view.h,_12f+bb.h),_132=endX-_130,_133=endY-_131;_129+=(bb.w-_132)+(bb.h-_133);if(best==null||_129<best.overflow){best={corner:_128,aroundCorner:_127.aroundCorner,x:_130,y:_131,w:_132,h:_133,overflow:_129,spaceAvailable:_12a};}return !_129;});if(best.overflow&&_125){_125(node,best.aroundCorner,best.corner,best.spaceAvailable,_126);}var s=node.style;s.top=best.y+"px";s.left=best.x+"px";s.right="auto";return best;};return (_122.place={at:function(node,pos,_134,_135){var _136=_11d.map(_134,function(_137){var c={corner:_137,pos:{x:pos.x,y:pos.y}};if(_135){c.pos.x+=_137.charAt(1)=="L"?_135.x:-_135.x;c.pos.y+=_137.charAt(0)=="T"?_135.y:-_135.y;}return c;});return _123(node,_136);},around:function(node,_138,_139,_13a,_13b){var _13c=(typeof _138=="string"||"offsetWidth" in _138)?_11e.position(_138,true):_138;if(_138.parentNode){var _13d=_11f.getComputedStyle(_138).position=="absolute";var _13e=_138.parentNode;while(_13e&&_13e.nodeType==1&&_13e.nodeName!="BODY"){var _13f=_11e.position(_13e,true),pcs=_11f.getComputedStyle(_13e);if(/relative|absolute/.test(pcs.position)){_13d=false;}if(!_13d&&/hidden|auto|scroll/.test(pcs.overflow)){var _140=Math.min(_13c.y+_13c.h,_13f.y+_13f.h);var _141=Math.min(_13c.x+_13c.w,_13f.x+_13f.w);_13c.x=Math.max(_13c.x,_13f.x);_13c.y=Math.max(_13c.y,_13f.y);_13c.h=_140-_13c.y;_13c.w=_141-_13c.x;}if(pcs.position=="absolute"){_13d=true;}_13e=_13e.parentNode;}}var x=_13c.x,y=_13c.y,_142="w" in _13c?_13c.w:(_13c.w=_13c.width),_143="h" in _13c?_13c.h:(_120.deprecated("place.around: dijit.place.__Rectangle: { x:"+x+", y:"+y+", height:"+_13c.height+", width:"+_142+" } has been deprecated.  Please use { x:"+x+", y:"+y+", h:"+_13c.height+", w:"+_142+" }","","2.0"),_13c.h=_13c.height);var _144=[];function push(_145,_146){_144.push({aroundCorner:_145,corner:_146,pos:{x:{"L":x,"R":x+_142,"M":x+(_142>>1)}[_145.charAt(1)],y:{"T":y,"B":y+_143,"M":y+(_143>>1)}[_145.charAt(0)]}});};_11d.forEach(_139,function(pos){var ltr=_13a;switch(pos){case "above-centered":push("TM","BM");break;case "below-centered":push("BM","TM");break;case "after-centered":ltr=!ltr;case "before-centered":push(ltr?"ML":"MR",ltr?"MR":"ML");break;case "after":ltr=!ltr;case "before":push(ltr?"TL":"TR",ltr?"TR":"TL");push(ltr?"BL":"BR",ltr?"BR":"BL");break;case "below-alt":ltr=!ltr;case "below":push(ltr?"BL":"BR",ltr?"TL":"TR");push(ltr?"BR":"BL",ltr?"TR":"TL");break;case "above-alt":ltr=!ltr;case "above":push(ltr?"TL":"TR",ltr?"BL":"BR");push(ltr?"TR":"TL",ltr?"BR":"BL");break;default:push(pos.aroundCorner,pos.corner);}});var _147=_123(node,_144,_13b,{w:_142,h:_143});_147.aroundNodePos=_13c;return _147;}});});},"dijit/_Widget":function(){define("dijit/_Widget",["dojo/aspect","dojo/_base/config","dojo/_base/connect","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/query","dojo/ready","./registry","./_WidgetBase","./_OnDijitClickMixin","./_FocusMixin","dojo/uacss","./hccss"],function(_148,_149,_14a,_14b,_14c,lang,_14d,_14e,_14f,_150,_151,_152){function _153(){};function _154(_155){return function(obj,_156,_157,_158){if(obj&&typeof _156=="string"&&obj[_156]==_153){return obj.on(_156.substring(2).toLowerCase(),lang.hitch(_157,_158));}return _155.apply(_14a,arguments);};};_148.around(_14a,"connect",_154);if(_14c.connect){_148.around(_14c,"connect",_154);}var _159=_14b("dijit._Widget",[_150,_151,_152],{onClick:_153,onDblClick:_153,onKeyDown:_153,onKeyPress:_153,onKeyUp:_153,onMouseDown:_153,onMouseMove:_153,onMouseOut:_153,onMouseOver:_153,onMouseLeave:_153,onMouseEnter:_153,onMouseUp:_153,constructor:function(_15a){this._toConnect={};for(var name in _15a){if(this[name]===_153){this._toConnect[name.replace(/^on/,"").toLowerCase()]=_15a[name];delete _15a[name];}}},postCreate:function(){this.inherited(arguments);for(var name in this._toConnect){this.on(name,this._toConnect[name]);}delete this._toConnect;},on:function(type,func){if(this[this._onMap(type)]===_153){return _14a.connect(this.domNode,type.toLowerCase(),this,func);}return this.inherited(arguments);},_setFocusedAttr:function(val){this._focused=val;this._set("focused",val);},setAttribute:function(attr,_15b){_14c.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0");this.set(attr,_15b);},attr:function(name,_15c){if(_149.isDebug){var _15d=arguments.callee._ach||(arguments.callee._ach={}),_15e=(arguments.callee.caller||"unknown caller").toString();if(!_15d[_15e]){_14c.deprecated(this.declaredClass+"::attr() is deprecated. Use get() or set() instead, called from "+_15e,"","2.0");_15d[_15e]=true;}}var args=arguments.length;if(args>=2||typeof name==="object"){return this.set.apply(this,arguments);}else{return this.get(name);}},getDescendants:function(){_14c.deprecated(this.declaredClass+"::getDescendants() is deprecated. Use getChildren() instead.","","2.0");return this.containerNode?_14d("[widgetId]",this.containerNode).map(_14f.byNode):[];},_onShow:function(){this.onShow();},onShow:function(){},onHide:function(){},onClose:function(){return true;}});if(!_14c.isAsync){_14e(0,function(){var _15f=["dijit/_base"];require(_15f);});}return _159;});},"dijit/_FocusMixin":function(){define(["./focus","./_WidgetBase","dojo/_base/declare","dojo/_base/lang"],function(_160,_161,_162,lang){lang.extend(_161,{focused:false,onFocus:function(){},onBlur:function(){},_onFocus:function(){this.onFocus();},_onBlur:function(){this.onBlur();}});return _162("dijit._FocusMixin",null,{_focusManager:_160});});},"dijit/_OnDijitClickMixin":function(){define("dijit/_OnDijitClickMixin",["dojo/on","dojo/_base/array","dojo/keys","dojo/_base/declare","dojo/_base/sniff","dojo/_base/unload","dojo/_base/window"],function(on,_163,keys,_164,has,_165,win){var _166=null;if(has("ie")<9){(function(){var _167=function(evt){_166=evt.srcElement;};win.doc.attachEvent("onkeydown",_167);_165.addOnWindowUnload(function(){win.doc.detachEvent("onkeydown",_167);});})();}else{win.doc.addEventListener("keydown",function(evt){_166=evt.target;},true);}var _168=function(node,_169){if(/input|button/i.test(node.nodeName)){return on(node,"click",_169);}else{function _16a(e){return (e.keyCode==keys.ENTER||e.keyCode==keys.SPACE)&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey;};var _16b=[on(node,"keypress",function(e){if(_16a(e)){_166=e.target;e.preventDefault();}}),on(node,"keyup",function(e){if(_16a(e)&&e.target==_166){_166=null;_169.call(this,e);}}),on(node,"click",function(e){_169.call(this,e);})];return {remove:function(){_163.forEach(_16b,function(h){h.remove();});}};}};return _164("dijit._OnDijitClickMixin",null,{connect:function(obj,_16c,_16d){return this.inherited(arguments,[obj,_16c=="ondijitclick"?_168:_16c,_16d]);}});});},"dijit/_Templated":function(){define("dijit/_Templated",["./_WidgetBase","./_TemplatedMixin","./_WidgetsInTemplateMixin","dojo/_base/array","dojo/_base/declare","dojo/_base/lang","dojo/_base/kernel"],function(_16e,_16f,_170,_171,_172,lang,_173){lang.extend(_16e,{waiRole:"",waiState:""});return _172("dijit._Templated",[_16f,_170],{widgetsInTemplate:false,constructor:function(){_173.deprecated(this.declaredClass+": dijit._Templated deprecated, use dijit._TemplatedMixin and if necessary dijit._WidgetsInTemplateMixin","","2.0");},_attachTemplateNodes:function(_174,_175){this.inherited(arguments);var _176=lang.isArray(_174)?_174:(_174.all||_174.getElementsByTagName("*"));var x=lang.isArray(_174)?0:-1;for(;x<_176.length;x++){var _177=(x==-1)?_174:_176[x];var role=_175(_177,"waiRole");if(role){_177.setAttribute("role",role);}var _178=_175(_177,"waiState");if(_178){_171.forEach(_178.split(/\s*,\s*/),function(_179){if(_179.indexOf("-")!=-1){var pair=_179.split("-");_177.setAttribute("aria-"+pair[0],pair[1]);}});}}}});});},"dijit/focus":function(){define("dijit/focus",["dojo/aspect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/Evented","dojo/_base/lang","dojo/on","dojo/domReady","dojo/_base/sniff","dojo/Stateful","dojo/_base/window","dojo/window","./a11y","./registry","./main"],function(_17a,_17b,dom,_17c,_17d,_17e,lang,on,_17f,has,_180,win,_181,a11y,_182,_183){var _184=_17b([_180,_17e],{curNode:null,activeStack:[],constructor:function(){var _185=lang.hitch(this,function(node){if(dom.isDescendant(this.curNode,node)){this.set("curNode",null);}if(dom.isDescendant(this.prevNode,node)){this.set("prevNode",null);}});_17a.before(_17d,"empty",_185);_17a.before(_17d,"destroy",_185);},registerIframe:function(_186){return this.registerWin(_186.contentWindow,_186);},registerWin:function(_187,_188){var _189=this,body=_187.document&&_187.document.body;if(body){var mdh=on(body,"mousedown",function(evt){_189._justMouseDowned=true;setTimeout(function(){_189._justMouseDowned=false;},13);if(evt&&evt.target&&evt.target.parentNode==null){return;}_189._onTouchNode(_188||evt.target,"mouse");});var fih=on(body,"focusin",function(evt){if(!evt.target.tagName){return;}var tag=evt.target.tagName.toLowerCase();if(tag=="#document"||tag=="body"){return;}if(a11y.isTabNavigable(evt.target)){_189._onFocusNode(_188||evt.target);}else{_189._onTouchNode(_188||evt.target);}});var foh=on(body,"focusout",function(evt){_189._onBlurNode(_188||evt.target);});return {remove:function(){mdh.remove();fih.remove();foh.remove();mdh=fih=foh=null;body=null;}};}},_onBlurNode:function(node){if(this._clearFocusTimer){clearTimeout(this._clearFocusTimer);}this._clearFocusTimer=setTimeout(lang.hitch(this,function(){this.set("prevNode",this.curNode);this.set("curNode",null);}),0);if(this._justMouseDowned){return;}if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);}this._clearActiveWidgetsTimer=setTimeout(lang.hitch(this,function(){delete this._clearActiveWidgetsTimer;this._setStack([]);}),100);},_onTouchNode:function(node,by){if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);delete this._clearActiveWidgetsTimer;}var _18a=[];try{while(node){var _18b=_17c.get(node,"dijitPopupParent");if(_18b){node=_182.byId(_18b).domNode;}else{if(node.tagName&&node.tagName.toLowerCase()=="body"){if(node===win.body()){break;}node=_181.get(node.ownerDocument).frameElement;}else{var id=node.getAttribute&&node.getAttribute("widgetId"),_18c=id&&_182.byId(id);if(_18c&&!(by=="mouse"&&_18c.get("disabled"))){_18a.unshift(id);}node=node.parentNode;}}}}catch(e){}this._setStack(_18a,by);},_onFocusNode:function(node){if(!node){return;}if(node.nodeType==9){return;}if(this._clearFocusTimer){clearTimeout(this._clearFocusTimer);delete this._clearFocusTimer;}this._onTouchNode(node);if(node==this.curNode){return;}this.set("prevNode",this.curNode);this.set("curNode",node);},_setStack:function(_18d,by){var _18e=this.activeStack,_18f=_18e.length-1,_190=_18d.length-1;if(_18d[_190]==_18e[_18f]){return;}this.set("activeStack",_18d);var _191,i;for(i=_18f;i>=0&&_18e[i]!=_18d[i];i--){_191=_182.byId(_18e[i]);if(_191){_191._hasBeenBlurred=true;_191.set("focused",false);if(_191._focusManager==this){_191._onBlur(by);}this.emit("widget-blur",_191,by);}}for(i++;i<=_190;i++){_191=_182.byId(_18d[i]);if(_191){_191.set("focused",true);if(_191._focusManager==this){_191._onFocus(by);}this.emit("widget-focus",_191,by);}}},focus:function(node){if(node){try{node.focus();}catch(e){}}}});var _192=new _184();_17f(function(){var _193=_192.registerWin(_181.get(document));if(has("ie")){on(window,"unload",function(){if(_193){_193.remove();_193=null;}});}});_183.focus=function(node){_192.focus(node);};for(var attr in _192){if(!/^_/.test(attr)){_183.focus[attr]=typeof _192[attr]=="function"?lang.hitch(_192,attr):_192[attr];}}_192.watch(function(attr,_194,_195){_183.focus[attr]=_195;});return _192;});},"dijit/_base/sniff":function(){define("dijit/_base/sniff",["dojo/uacss"],function(){});},"dijit/main":function(){define("dijit/main",["dojo/_base/kernel"],function(dojo){return dojo.dijit;});},"dijit/form/_FormWidget":function(){define("dijit/form/_FormWidget",["dojo/_base/declare","dojo/_base/kernel","dojo/ready","../_Widget","../_CssStateMixin","../_TemplatedMixin","./_FormWidgetMixin"],function(_196,_197,_198,_199,_19a,_19b,_19c){if(!_197.isAsync){_198(0,function(){var _19d=["dijit/form/_FormValueWidget"];require(_19d);});}return _196("dijit.form._FormWidget",[_199,_19b,_19a,_19c],{setDisabled:function(_19e){_197.deprecated("setDisabled("+_19e+") is deprecated. Use set('disabled',"+_19e+") instead.","","2.0");this.set("disabled",_19e);},setValue:function(_19f){_197.deprecated("dijit.form._FormWidget:setValue("+_19f+") is deprecated.  Use set('value',"+_19f+") instead.","","2.0");this.set("value",_19f);},getValue:function(){_197.deprecated(this.declaredClass+"::getValue() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},postMixInProperties:function(){this.nameAttrSetting=this.name?("name=\""+this.name.replace(/'/g,"&quot;")+"\""):"";this.inherited(arguments);},_setTypeAttr:null});});},"dijit/_base/typematic":function(){define(["../typematic"],function(){});},"dijit/_base/popup":function(){define("dijit/_base/popup",["dojo/dom-class","../popup","../BackgroundIframe"],function(_1a0,_1a1){var _1a2=_1a1._createWrapper;_1a1._createWrapper=function(_1a3){if(!_1a3.declaredClass){_1a3={_popupWrapper:(_1a3.parentNode&&_1a0.contains(_1a3.parentNode,"dijitPopup"))?_1a3.parentNode:null,domNode:_1a3,destroy:function(){}};}return _1a2.call(this,_1a3);};var _1a4=_1a1.open;_1a1.open=function(args){if(args.orient&&typeof args.orient!="string"&&!("length" in args.orient)){var ary=[];for(var key in args.orient){ary.push({aroundCorner:key,corner:args.orient[key]});}args.orient=ary;}return _1a4.call(this,args);};return _1a1;});},"dijit/_TemplatedMixin":function(){define("dijit/_TemplatedMixin",["dojo/_base/lang","dojo/touch","./_WidgetBase","dojo/string","dojo/cache","dojo/_base/array","dojo/_base/declare","dojo/dom-construct","dojo/_base/sniff","dojo/_base/unload","dojo/_base/window"],function(lang,_1a5,_1a6,_1a7,_1a8,_1a9,_1aa,_1ab,has,_1ac,win){var _1ad=_1aa("dijit._TemplatedMixin",null,{templateString:null,templatePath:null,_skipNodeCache:false,_earlyTemplatedStartup:false,constructor:function(){this._attachPoints=[];this._attachEvents=[];},_stringRepl:function(tmpl){var _1ae=this.declaredClass,_1af=this;return _1a7.substitute(tmpl,this,function(_1b0,key){if(key.charAt(0)=="!"){_1b0=lang.getObject(key.substr(1),false,_1af);}if(typeof _1b0=="undefined"){throw new Error(_1ae+" template:"+key);}if(_1b0==null){return "";}return key.charAt(0)=="!"?_1b0:_1b0.toString().replace(/"/g,"&quot;");},this);},buildRendering:function(){if(!this.templateString){this.templateString=_1a8(this.templatePath,{sanitize:true});}var _1b1=_1ad.getCachedTemplate(this.templateString,this._skipNodeCache);var node;if(lang.isString(_1b1)){node=_1ab.toDom(this._stringRepl(_1b1));if(node.nodeType!=1){throw new Error("Invalid template: "+_1b1);}}else{node=_1b1.cloneNode(true);}this.domNode=node;this.inherited(arguments);this._attachTemplateNodes(node,function(n,p){return n.getAttribute(p);});this._beforeFillContent();this._fillContent(this.srcNodeRef);},_beforeFillContent:function(){},_fillContent:function(_1b2){var dest=this.containerNode;if(_1b2&&dest){while(_1b2.hasChildNodes()){dest.appendChild(_1b2.firstChild);}}},_attachTemplateNodes:function(_1b3,_1b4){var _1b5=lang.isArray(_1b3)?_1b3:(_1b3.all||_1b3.getElementsByTagName("*"));var x=lang.isArray(_1b3)?0:-1;for(;x<_1b5.length;x++){var _1b6=(x==-1)?_1b3:_1b5[x];if(this.widgetsInTemplate&&(_1b4(_1b6,"dojoType")||_1b4(_1b6,"data-dojo-type"))){continue;}var _1b7=_1b4(_1b6,"dojoAttachPoint")||_1b4(_1b6,"data-dojo-attach-point");if(_1b7){var _1b8,_1b9=_1b7.split(/\s*,\s*/);while((_1b8=_1b9.shift())){if(lang.isArray(this[_1b8])){this[_1b8].push(_1b6);}else{this[_1b8]=_1b6;}this._attachPoints.push(_1b8);}}var _1ba=_1b4(_1b6,"dojoAttachEvent")||_1b4(_1b6,"data-dojo-attach-event");if(_1ba){var _1bb,_1bc=_1ba.split(/\s*,\s*/);var trim=lang.trim;while((_1bb=_1bc.shift())){if(_1bb){var _1bd=null;if(_1bb.indexOf(":")!=-1){var _1be=_1bb.split(":");_1bb=trim(_1be[0]);_1bd=trim(_1be[1]);}else{_1bb=trim(_1bb);}if(!_1bd){_1bd=_1bb;}this._attachEvents.push(this.connect(_1b6,_1a5[_1bb]||_1bb,_1bd));}}}}},destroyRendering:function(){_1a9.forEach(this._attachPoints,function(_1bf){delete this[_1bf];},this);this._attachPoints=[];_1a9.forEach(this._attachEvents,this.disconnect,this);this._attachEvents=[];this.inherited(arguments);}});_1ad._templateCache={};_1ad.getCachedTemplate=function(_1c0,_1c1){var _1c2=_1ad._templateCache;var key=_1c0;var _1c3=_1c2[key];if(_1c3){try{if(!_1c3.ownerDocument||_1c3.ownerDocument==win.doc){return _1c3;}}catch(e){}_1ab.destroy(_1c3);}_1c0=_1a7.trim(_1c0);if(_1c1||_1c0.match(/\$\{([^\}]+)\}/g)){return (_1c2[key]=_1c0);}else{var node=_1ab.toDom(_1c0);if(node.nodeType!=1){throw new Error("Invalid template: "+_1c0);}return (_1c2[key]=node);}};if(has("ie")){_1ac.addOnWindowUnload(function(){var _1c4=_1ad._templateCache;for(var key in _1c4){var _1c5=_1c4[key];if(typeof _1c5=="object"){_1ab.destroy(_1c5);}delete _1c4[key];}});}lang.extend(_1a6,{dojoAttachEvent:"",dojoAttachPoint:""});return _1ad;});},"dijit/_base/wai":function(){define("dijit/_base/wai",["dojo/dom-attr","dojo/_base/lang","..","../hccss"],function(_1c6,lang,_1c7){lang.mixin(_1c7,{hasWaiRole:function(elem,role){var _1c8=this.getWaiRole(elem);return role?(_1c8.indexOf(role)>-1):(_1c8.length>0);},getWaiRole:function(elem){return lang.trim((_1c6.get(elem,"role")||"").replace("wairole:",""));},setWaiRole:function(elem,role){_1c6.set(elem,"role",role);},removeWaiRole:function(elem,role){var _1c9=_1c6.get(elem,"role");if(!_1c9){return;}if(role){var t=lang.trim((" "+_1c9+" ").replace(" "+role+" "," "));_1c6.set(elem,"role",t);}else{elem.removeAttribute("role");}},hasWaiState:function(elem,_1ca){return elem.hasAttribute?elem.hasAttribute("aria-"+_1ca):!!elem.getAttribute("aria-"+_1ca);},getWaiState:function(elem,_1cb){return elem.getAttribute("aria-"+_1cb)||"";},setWaiState:function(elem,_1cc,_1cd){elem.setAttribute("aria-"+_1cc,_1cd);},removeWaiState:function(elem,_1ce){elem.removeAttribute("aria-"+_1ce);}});return _1c7;});},"dijit/popup":function(){define("dijit/popup",["dojo/_base/array","dojo/aspect","dojo/_base/connect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/_base/event","dojo/has","dojo/keys","dojo/_base/lang","dojo/on","dojo/_base/window","./place","./BackgroundIframe","."],function(_1cf,_1d0,_1d1,_1d2,dom,_1d3,_1d4,_1d5,_1d6,_1d7,has,keys,lang,on,win,_1d8,_1d9,_1da){function _1db(){if(this._popupWrapper){_1d4.destroy(this._popupWrapper);delete this._popupWrapper;}};var _1dc=_1d2(null,{_stack:[],_beginZIndex:1000,_idGen:1,_createWrapper:function(_1dd){var _1de=_1dd._popupWrapper,node=_1dd.domNode;if(!_1de){_1de=_1d4.create("div",{"class":"dijitPopup",style:{display:"none"},role:"presentation"},win.body());_1de.appendChild(node);var s=node.style;s.display="";s.visibility="";s.position="";s.top="0px";_1dd._popupWrapper=_1de;_1d0.after(_1dd,"destroy",_1db,true);}return _1de;},moveOffScreen:function(_1df){var _1e0=this._createWrapper(_1df);_1d6.set(_1e0,{visibility:"hidden",top:"-9999px",display:""});},hide:function(_1e1){var _1e2=this._createWrapper(_1e1);_1d6.set(_1e2,"display","none");},getTopPopup:function(){var _1e3=this._stack;for(var pi=_1e3.length-1;pi>0&&_1e3[pi].parent===_1e3[pi-1].widget;pi--){}return _1e3[pi];},open:function(args){var _1e4=this._stack,_1e5=args.popup,_1e6=args.orient||["below","below-alt","above","above-alt"],ltr=args.parent?args.parent.isLeftToRight():_1d5.isBodyLtr(),_1e7=args.around,id=(args.around&&args.around.id)?(args.around.id+"_dropdown"):("popup_"+this._idGen++);while(_1e4.length&&(!args.parent||!dom.isDescendant(args.parent.domNode,_1e4[_1e4.length-1].widget.domNode))){this.close(_1e4[_1e4.length-1].widget);}var _1e8=this._createWrapper(_1e5);_1d3.set(_1e8,{id:id,style:{zIndex:this._beginZIndex+_1e4.length},"class":"dijitPopup "+(_1e5.baseClass||_1e5["class"]||"").split(" ")[0]+"Popup",dijitPopupParent:args.parent?args.parent.id:""});if(has("bgIframe")&&!_1e5.bgIframe){_1e5.bgIframe=new _1d9(_1e8);}var best=_1e7?_1d8.around(_1e8,_1e7,_1e6,ltr,_1e5.orient?lang.hitch(_1e5,"orient"):null):_1d8.at(_1e8,args,_1e6=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],args.padding);_1e8.style.display="";_1e8.style.visibility="visible";_1e5.domNode.style.visibility="visible";var _1e9=[];_1e9.push(on(_1e8,_1d1._keypress,lang.hitch(this,function(evt){if(evt.charOrCode==keys.ESCAPE&&args.onCancel){_1d7.stop(evt);args.onCancel();}else{if(evt.charOrCode===keys.TAB){_1d7.stop(evt);var _1ea=this.getTopPopup();if(_1ea&&_1ea.onCancel){_1ea.onCancel();}}}})));if(_1e5.onCancel&&args.onCancel){_1e9.push(_1e5.on("cancel",args.onCancel));}_1e9.push(_1e5.on(_1e5.onExecute?"execute":"change",lang.hitch(this,function(){var _1eb=this.getTopPopup();if(_1eb&&_1eb.onExecute){_1eb.onExecute();}})));_1e4.push({widget:_1e5,parent:args.parent,onExecute:args.onExecute,onCancel:args.onCancel,onClose:args.onClose,handlers:_1e9});if(_1e5.onOpen){_1e5.onOpen(best);}return best;},close:function(_1ec){var _1ed=this._stack;while((_1ec&&_1cf.some(_1ed,function(elem){return elem.widget==_1ec;}))||(!_1ec&&_1ed.length)){var top=_1ed.pop(),_1ee=top.widget,_1ef=top.onClose;if(_1ee.onClose){_1ee.onClose();}var h;while(h=top.handlers.pop()){h.remove();}if(_1ee&&_1ee.domNode){this.hide(_1ee);}if(_1ef){_1ef();}}}});return (_1da.popup=new _1dc());});},"dijit/_base/window":function(){define("dijit/_base/window",["dojo/window",".."],function(_1f0,_1f1){_1f1.getDocumentWindow=function(doc){return _1f0.get(doc);};});},"dijit/_WidgetBase":function(){define("dijit/_WidgetBase",["require","dojo/_base/array","dojo/aspect","dojo/_base/config","dojo/_base/connect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/ready","dojo/Stateful","dojo/topic","dojo/_base/window","./registry"],function(_1f2,_1f3,_1f4,_1f5,_1f6,_1f7,dom,_1f8,_1f9,_1fa,_1fb,_1fc,_1fd,lang,on,_1fe,_1ff,_200,win,_201){if(!_1fd.isAsync){_1fe(0,function(){var _202=["dijit/_base/manager"];_1f2(_202);});}var _203={};function _204(obj){var ret={};for(var attr in obj){ret[attr.toLowerCase()]=true;}return ret;};function _205(attr){return function(val){_1f8[val?"set":"remove"](this.domNode,attr,val);this._set(attr,val);};};function _206(a,b){return a===b||(a!==a&&b!==b);};return _1f7("dijit._WidgetBase",_1ff,{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:_205("lang"),dir:"",_setDirAttr:_205("dir"),textDir:"","class":"",_setClassAttr:{node:"domNode",type:"class"},style:"",title:"",tooltip:"",baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,attributeMap:{},_blankGif:_1f5.blankGif||_1f2.toUrl("dojo/resources/blank.gif"),postscript:function(_207,_208){this.create(_207,_208);},create:function(_209,_20a){this.srcNodeRef=dom.byId(_20a);this._connects=[];this._supportingWidgets=[];if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_209){this.params=_209;lang.mixin(this,_209);}this.postMixInProperties();if(!this.id){this.id=_201.getUniqueId(this.declaredClass.replace(/\./g,"_"));}_201.add(this);this.buildRendering();if(this.domNode){this._applyAttributes();var _20b=this.srcNodeRef;if(_20b&&_20b.parentNode&&this.domNode!==_20b){_20b.parentNode.replaceChild(this.domNode,_20b);}}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 ctor=this.constructor,list=ctor._setterAttrs;if(!list){list=(ctor._setterAttrs=[]);for(var attr in this.attributeMap){list.push(attr);}var _20c=ctor.prototype;for(var _20d in _20c){if(_20d in this.attributeMap){continue;}var _20e="_set"+_20d.replace(/^[a-z]|-[a-zA-Z]/g,function(c){return c.charAt(c.length-1).toUpperCase();})+"Attr";if(_20e in _20c){list.push(_20d);}}}_1f3.forEach(list,function(attr){if(this.params&&attr in this.params){}else{if(this[attr]){this.set(attr,this[attr]);}}},this);for(var _20f in this.params){this.set(_20f,this[_20f]);}},postMixInProperties:function(){},buildRendering:function(){if(!this.domNode){this.domNode=this.srcNodeRef||_1fa.create("div");}if(this.baseClass){var _210=this.baseClass.split(" ");if(!this.isLeftToRight()){_210=_210.concat(_1f3.map(_210,function(name){return name+"Rtl";}));}_1f9.add(this.domNode,_210);}},postCreate:function(){},startup:function(){if(this._started){return;}this._started=true;_1f3.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}});},destroyRecursive:function(_211){this._beingDestroyed=true;this.destroyDescendants(_211);this.destroy(_211);},destroy:function(_212){this._beingDestroyed=true;this.uninitialize();var c;while((c=this._connects.pop())){c.remove();}var w;while((w=this._supportingWidgets.pop())){if(w.destroyRecursive){w.destroyRecursive();}else{if(w.destroy){w.destroy();}}}this.destroyRendering(_212);_201.remove(this.id);this._destroyed=true;},destroyRendering:function(_213){if(this.bgIframe){this.bgIframe.destroy(_213);delete this.bgIframe;}if(this.domNode){if(_213){_1f8.remove(this.domNode,"widgetId");}else{_1fa.destroy(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_213){_1fa.destroy(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_214){_1f3.forEach(this.getChildren(),function(_215){if(_215.destroyRecursive){_215.destroyRecursive(_214);}});},uninitialize:function(){return false;},_setStyleAttr:function(_216){var _217=this.domNode;if(lang.isObject(_216)){_1fc.set(_217,_216);}else{if(_217.style.cssText){_217.style.cssText+="; "+_216;}else{_217.style.cssText=_216;}}this._set("style",_216);},_attrToDom:function(attr,_218,_219){_219=arguments.length>=3?_219:this.attributeMap[attr];_1f3.forEach(lang.isArray(_219)?_219:[_219],function(_21a){var _21b=this[_21a.node||_21a||"domNode"];var type=_21a.type||"attribute";switch(type){case "attribute":if(lang.isFunction(_218)){_218=lang.hitch(this,_218);}var _21c=_21a.attribute?_21a.attribute:(/^on[A-Z][a-zA-Z]*$/.test(attr)?attr.toLowerCase():attr);_1f8.set(_21b,_21c,_218);break;case "innerText":_21b.innerHTML="";_21b.appendChild(win.doc.createTextNode(_218));break;case "innerHTML":_21b.innerHTML=_218;break;case "class":_1f9.replace(_21b,_218,this[attr]);break;}},this);},get:function(name){var _21d=this._getAttrNames(name);return this[_21d.g]?this[_21d.g]():this[name];},set:function(name,_21e){if(typeof name==="object"){for(var x in name){this.set(x,name[x]);}return this;}var _21f=this._getAttrNames(name),_220=this[_21f.s];if(lang.isFunction(_220)){var _221=_220.apply(this,Array.prototype.slice.call(arguments,1));}else{var _222=this.focusNode&&!lang.isFunction(this.focusNode)?"focusNode":"domNode",tag=this[_222].tagName,_223=_203[tag]||(_203[tag]=_204(this[_222])),map=name in this.attributeMap?this.attributeMap[name]:_21f.s in this?this[_21f.s]:((_21f.l in _223&&typeof _21e!="function")||/^aria-|^data-|^role$/.test(name))?_222:null;if(map!=null){this._attrToDom(name,_21e,map);}this._set(name,_21e);}return _221||this;},_attrPairNames:{},_getAttrNames:function(name){var apn=this._attrPairNames;if(apn[name]){return apn[name];}var uc=name.replace(/^[a-z]|-[a-zA-Z]/g,function(c){return c.charAt(c.length-1).toUpperCase();});return (apn[name]={n:name+"Node",s:"_set"+uc+"Attr",g:"_get"+uc+"Attr",l:uc.toLowerCase()});},_set:function(name,_224){var _225=this[name];this[name]=_224;if(this._watchCallbacks&&this._created&&!_206(_224,_225)){this._watchCallbacks(name,_225,_224);}},on:function(type,func){return _1f4.after(this,this._onMap(type),func,true);},_onMap:function(type){var ctor=this.constructor,map=ctor._onMap;if(!map){map=(ctor._onMap={});for(var attr in ctor.prototype){if(/^on/.test(attr)){map[attr.replace(/^on/,"").toLowerCase()]=attr;}}}return map[type.toLowerCase()];},toString:function(){return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";},getChildren:function(){return this.containerNode?_201.findWidgets(this.containerNode):[];},getParent:function(){return _201.getEnclosingWidget(this.domNode.parentNode);},connect:function(obj,_226,_227){var _228=_1f6.connect(obj,_226,this,_227);this._connects.push(_228);return _228;},disconnect:function(_229){var i=_1f3.indexOf(this._connects,_229);if(i!=-1){_229.remove();this._connects.splice(i,1);}},subscribe:function(t,_22a){var _22b=_200.subscribe(t,lang.hitch(this,_22a));this._connects.push(_22b);return _22b;},unsubscribe:function(_22c){this.disconnect(_22c);},isLeftToRight:function(){return this.dir?(this.dir=="ltr"):_1fb.isBodyLtr();},isFocusable:function(){return this.focus&&(_1fc.get(this.domNode,"display")!="none");},placeAt:function(_22d,_22e){if(_22d.declaredClass&&_22d.addChild){_22d.addChild(this,_22e);}else{_1fa.place(this.domNode,_22d,_22e);}return this;},getTextDir:function(text,_22f){return _22f;},applyTextDir:function(){},defer:function(fcn,_230){var _231=setTimeout(lang.hitch(this,function(){if(!_231){return;}_231=null;if(!this._destroyed){lang.hitch(this,fcn)();}}),_230||0);return {remove:function(){if(_231){clearTimeout(_231);_231=null;}return null;}};}});});},"*noref":1}});define("dijit/dijit",[".","./_base","dojo/parser","./_Widget","./_TemplatedMixin","./_Container","./layout/_LayoutWidget","./form/_FormWidget","./form/_FormValueWidget"],function(_232){return _232;});require(["dijit/dijit","dijit/_Templated"]);
}catch(e){console.log("Module 'dijit_17': ",e);}
try{/** Licensed Materials - Property of IBM, 5724-E76 and 5724-E77, (C) Copyright IBM Corp. 2011, 2012 - All Rights reserved.  **/
(function(){
var w=window,i$=function(){
if(i$.qel){
return i$.qel.apply(this,arguments);
}
};
w.i$=i$;
i$.global=w;
if(typeof (console)=="undefined"){
var f=function(){
};
console={log:f,debug:f,info:f,warn:f,error:f,assert:f};
}
i$.partial=function(f){
var _1=i$.toArray(arguments).slice(1);
return function(){
var _2=_1.slice(0),_3=i$.toArray(arguments),i=0;
for(;i<_2.length;i++){
if(_2[i]===undefined){
_2[i]=_3.shift();
}
}
_2.push.apply(_2,_3);
return f.apply(this,_2);
};
};
i$.scope=function(s,f){
var of=f;
f=function(){
return (i$.isString(of)?s[of]:of).apply(s,arguments);
};
return i$.partial.apply(this,i$.toArray(arguments).slice(1));
};
i$.error=function(_4,_5){
console.error(_5||new Error(_4));
};
i$.forEach=function(_6,f,_7){
if(_7==null){
_7=0;
}
for(var i=(_7>=0)?_7:0;i<_6.length;i++){
f(_6[i],i,_6);
}
};
i$.forIn=function(o,f){
for(var i in o){
if(Object.prototype.hasOwnProperty.call(o,i)){
f(o[i],i,o);
}
}
};
i$.each=function(o,f,s){
if(s){
f=i$.scope(s,f);
}
if(o){
if(o instanceof Array||typeof o.length==="number"){
i$.forEach(o,f);
}else{
i$.forIn(o,f);
}
}
};
i$.some=function(a,f,s){
if(s){
f=i$.scope(s,f);
}
for(var i=0;i<a.length;i++){
if(f(a[i])){
return true;
}
}
return false;
};
i$.every=function(o,f,s){
if(s){
f=i$.scope(s,f);
}
return !i$.some(o,function(_8){
return !f(_8);
});
};
i$.wrap=function(o,n,f){
var fn=o[n];
o[n]=function(){
return f.call(this,fn,arguments);
};
o[n]._wrapped=fn;
return o[n];
};
i$.unwrap=function(o,n){
var fn=o[n];
if(fn&&fn._wrapped){
o[n]=fn._wrapped;
}
return o[n];
};
i$.copyShallow=function(o){
var r=i$.isArrayLike(o)?[]:{};
i$.forIn(o,function(v,k){
r[k]=v;
});
return r;
};
var _9=function(_a,_b,_c,_d){
if(_c||_b[_d]===undefined){
_b[_d]=function(){
return this[_a][_d].apply(this[_a],arguments);
};
}
},_e=function(_f,_10,_11,_12){
if(_11||_10[_12]===undefined){
_10[_12]=function(){
return _f[_12].apply(_f,arguments);
};
}
};
i$.shadow=function(s,t,_13,_14){
i$.each(_13,i$.partial(i$.isString(s)?_9:_e,s,t,_14));
};
var _15=function(_16,c,s){
var i,p,ts=s||i$.global;
for(i=0;ts!=null,i<_16.length,p=_16[i];i++){
if(ts[p]==null){
if(c){
ts[p]={};
}else{
ts=null;
break;
}
}
ts=ts[p];
}
return ts;
};
i$.fromPath=function(n,c,s){
var _17=n.split(".");
return _15(_17,c,s);
};
i$.toPath=function(n,v,s){
var _18=n.split("."),p=_18.pop(),o=_15(_18,true,s);
o[p]=v;
return v;
};
i$.cachedFn=function(f,s){
var val;
var fn=function(){
if(!fn.called){
fn.called=true;
val=f.apply(s,arguments);
}
return val;
};
return fn;
};
i$.xhrFmts={text:function(xhr){
return xhr.responseText;
},json:function(xhr){
return !(/[^,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]/.test(xhr.responseText.replace(/"(\\.|[^"\\])*"/g,"")))&&eval("("+xhr.responseText+")");
},xml:function(xhr){
return xhr.responseXML;
},javascript:function(xhr){
if((/[^,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]/.test(str.replace(/"(\\.|[^"\\])*"/g,"")))){
throw new SyntaxError("Invalid characters in javascript object");
}else{
return eval("("+xhr.responseText+")");
}
}};
})();
(function(){
var i$=window.i$;
(function(ua){
var _19=function(_1a){
return parseFloat(_1a);
},_1b=[["IE",/MSIE\s*([\S]+)*/],["FF",/Firefox\/([\S]+)*/],["Opera",/Opera[\s\/]([\S]+)*/],["Safari",/Version\/([\S]+)*[\s\S]*Safari/],["Chrome",/Chrome\/([\S]+)*/],["WebKit",/AppleWebKit\/([\S]+)*/]];
i$.each(_1b,function(_1c){
var m=_1c[1].exec(ua);
if(m&&m.length>1){
i$["is"+_1c[0]]=_19(m[1]);
}
});
})(navigator.userAgent);
var _1d=document.documentMode;
if(_1d&&_1d!=5&&Math.floor(i$.isIE)!=_1d){
i$.isIE=_1d;
}
i$.isNode=function(o){
return typeof o==="object"&&typeof o.nodeType==="number"&&typeof o.nodeName==="string";
};
i$.isFunction=function(o){
return typeof o==="function"||o instanceof Function;
};
i$.isObject=function(o){
return typeof o==="object";
};
i$.isArray=function(o){
if(typeof Array.isArray==="function"){
return Array.isArray(o);
}else{
return Object.prototype.toString.call(o)==="[object Array]";
}
};
i$.isString=function(o){
return typeof o==="string";
};
i$.isNumber=function(o){
return typeof o==="number";
};
i$.isBoolean=function(o){
return typeof o==="boolean";
};
i$.isLikeArray=function(o){
return o instanceof Array||typeof o.length==="number";
};
i$.toArray=function(o){
return Array.prototype.slice.call(o);
};
if(i$.isIE){
var _1e=i$.toArray;
i$.toArray=function(o){
try{
return _1e(o);
}
catch(err){
var a=new Array(o.length);
for(var i=0;i<o.length;i++){
a[i]=o[i];
}
return a;
}
};
}
var _1f=(document.readyState==="complete"),_20=[],_21=[],_22=false;
i$._initPage=function(){
var fn;
_1f=true;
if(window.detachEvent){
window.detachEvent("onload",i$._initPage);
}
while(_20.length>0){
if(fn=_20.shift()){
try{
fn();
}
catch(err){
console.log(err);
}
}
}
};
i$._exitPage=function(){
var fn;
while(_21.length>0){
if(fn=_21.shift()){
try{
fn();
}
catch(err){
console.log(err);
}
}
}
};
i$._addEvent=function(e,f,o){
var w=o?o:window;
var s=w.attachEvent?e:e.substring(2);
var a=w.attachEvent||w.addEventListener;
a(s,function(){
f.apply(w,arguments);
},false);
};
if(!_1f){
i$._addEvent("onload",i$._initPage);
if(document.addEventListener){
document.addEventListener("DOMContentLoaded",i$._initPage,false);
}
}
i$.addOnLoad=function(f,o){
if(o){
f=i$.scope(o,f);
}
if(_1f){
f();
}else{
_20.push(f);
}
};
i$.addOnUnload=function(f,o){
if(!_22){
i$._addEvent("onunload",i$._exitPage);
_22=true;
}
if(o){
f=i$.scope(o,f);
}
_21.push(f);
};
var mx=function(o,m){
for(var p in m){
if(m.hasOwnProperty(p)){
o[p]=m[p];
}
}
},mxn=function(o,m,_23){
i$.forEach(_23,function(p){
if(m.hasOwnProperty(p)){
o[p]=m[p];
}
});
};
i$.mash=function(o){
i$.forEach(arguments,function(v){
mx(o,v);
},1);
return o;
};
i$.mashSpec=function(n,o){
i$.forEach(arguments,function(v){
mxn(o,v,n);
},2);
return o;
};
i$.augment=function(f){
var r=f;
if(f&&f.prototype){
f=f.prototype;
i$.mash.apply(i$,arguments);
}
return r;
};
i$.make=(function(){
var l=function(){
};
return function(o){
l.prototype=o;
o=new l();
return i$.mash.apply(i$,arguments);
};
})();
var _24=/^\s+/g;
i$.trim=function(str){
str=str.replace(_24,"");
var i=str.length-1;
while(str.charAt(i)==" "||str.charAt(i)=="\t"||str.charAt(i)=="\n"||str.charAt(i)=="\r"){
i--;
}
return str.substring(0,i+1);
};
var _25=i$.isArray,_26=i$.isObject;
i$.merge=function(_27,_28,_29){
var _29=_29||[],v,c;
_28=_28||i$.global;
if(_25(_27)&&_25(_28)){
_28.push.apply(_28,_27);
}else{
for(var x in _27){
if(_27.hasOwnProperty(x)){
v=_27[x],c=_28[x];
if(c!=null&&((_25(v)&&_25(c))||(_26(v)&&_26(c)))){
_28[x]=i$.merge(v,c,_29.concat(x));
}else{
_28[x]=v;
}
}
}
}
return _28;
};
var _2a;
i$.isRTL=function(_2b){
if(!_2a){
_2a=i$.fromPath("ibmCfg.themeConfig.RTLMap");
}
var _2c=_2a||{"iw":1,"he":1,"ar":1};
return (_2b.substring(0,2) in _2c);
};
})();


}catch(e){console.log("Module 'wp_client_main': ",e);}
try{/** Licensed Materials - Property of IBM, 5724-E76 and 5724-E77, (C) Copyright IBM Corp. 2011, 2012 - All Rights reserved.  **/
(function(){
var i$=window.i$;
i$.Promise=function(){
this._cbs=[];
this._stat=-1;
};
i$.promise={};
i$.promise.Promise=i$.Promise;
i$.mash(i$.promise,{isPromise:function(o){
return o&&i$.isFunction(o.then);
},resolved:function(o){
var p=new i$.Promise();
p.resolve(o);
return p;
},rejected:function(_1){
var p=new i$.Promise();
p.reject(_1);
return p;
},join:function(_2){
var _3=new i$.Promise(),_4=new Array(_2.length),_5=0,_6=false,_7=function(){
if(++_5>=_4.length){
_3[_6?"reject":"resolve"](_4);
}
};
if(_2.length>0){
i$.each(_2,function(p,i){
p.then(function(v){
_4[i]=v;
_7();
},function(e){
_6=true;
_4[i]=e;
_7();
});
});
}else{
_3.resolve([]);
}
return _3;
}});
i$.mash(i$,{when:function(o){
return i$.promise.isPromise(o)?o:i$.promise.resolved(o);
},whenAll:function(o){
var a=[];
i$.each(arguments,function(p){
a.push(i$.when(p));
});
return i$.promise.join(a);
}});
i$.promise.when=i$.when;
i$.promise.whenAll=i$.whenAll;
i$.Promise.prototype={_fin:function(v,s){
if(this._stat!==-1){
throw new Error("Promise already resolved");
}
this._v=v;
this._stat=s;
this._cbk();
return this;
},_cbk:function(){
var st=this._stat,_8=this._cbs,v=this._v,f;
if(st===0){
if(i$.promise.isPromise(v)){
while(_8.length>0){
v.then.apply(v,_8.shift());
}
}
}
while(_8.length>0){
f=_8.shift()[st];
if(f){
try{
f(v);
}
catch(err){
}
}
}
},_delegate:function(fn){
var p=new i$.Promise();
this.then(i$.partial(fn,p),i$.scope(p,"reject"));
return p;
},resolve:function(v){
return this._fin(v,0);
},reject:function(e){
return this._fin(e,1);
},progress:function(p){
i$.each(this._cbs,function(_9){
if(_9[2]){
_9[2](p);
}
});
return this;
},then:function(_a,_b,_c){
var p=new i$.Promise();
this._cbs.push([function(v){
try{
if(_a){
var rv=_a(v);
if(rv!==undefined){
v=rv;
}
}
p.resolve(v);
}
catch(exc){
p.reject(exc);
}
},function(e){
var rv=e;
try{
if(_b){
rv=_b(e);
if(rv===undefined){
rv=e;
}
}
}
catch(exc){
rv=exc;
}
p.reject(rv);
},_c]);
if(this._stat!==-1){
this._cbk();
}
return p;
},call:function(_d,_e){
return this._delegate(function(p,_f){
if(_f&&i$.isFunction(_f[_d])){
p.resolve(_f[_d].apply(_f,_e));
}else{
p.reject(new Error(_d+" is not a function on "+o));
}
});
},get:function(_10){
return this._delegate(function(p,_11){
if(_11){
p.resolve(_11[_10]);
}else{
p.reject(new Error(_11+" is null or undefined"));
}
});
}};
i$.onLoadPromise=new i$.Promise();
i$.addOnLoad(function(){
i$.onLoadPromise.resolve(true);
});
})();
(function(){
var i$=window.i$;
i$.getXHR=typeof XMLHttpRequest!=="undefined"?function(){
return new XMLHttpRequest();
}:function(){
return new ActiveXObject("MSXML2.XMLHTTP.3.0");
};
i$.toQuery=function(o){
var q=[];
var enc=encodeURIComponent;
i$.each(o,function(v,k){
var key=enc(k)+"=";
if(i$.isString(v)){
q.push(key+enc(v));
}else{
if(i$.isArray(v)){
var key=enc(k)+"=";
i$.each(v,function(av,i){
q.push(key+enc(av));
});
}
}
});
return q.join("&");
};
i$.addQueryString=function(u,o){
if(o){
var p=u&&u.indexOf("?")!==-1,t=p?"&":"?";
u+=t+i$.toQuery(o);
}
return u;
};
i$.fromQuery=function(q){
var o={};
var dec=decodeURIComponent;
i$.each(q.split("&"),function(av,i){
var p=av.split("="),k=dec(p[0]),v=dec(p[1]),cv=o[k];
if(cv){
if(!i$.isArray(cv)){
cv=o[k]=[cv];
}
cv.push(v);
}else{
o[k]=v;
}
});
return o;
};
i$.xhr=function(_12,_13){
var _12=_12||"GET",_14=new i$.Promise(),url=_13.url||"",_15=_13.sync||false,cb=_13.callback||function(){
},_16=_13.responseType||"text",_17=_13.postData||null,_18=_13.timeout||null,xhr=i$.getXHR(),_19=false,_1a=false;
var _1b=function(){
if(xhr.readyState===4){
xhr.onreadystatechange=i$.isIE<=8?new Function():null;
var _1c=function(){
if(xhr.status>=400){
var err=new Error(xhr.status+": "+xhr.responseText);
try{
cb(err,xhr);
}
finally{
if(!_19){
_19=true;
_14.reject({data:err,xhr:xhr});
}
}
}else{
try{
var ret="";
if(i$.xhrFmts[_16]){
ret=i$.xhrFmts[_16](xhr);
}
}
catch(err){
cb(err,xhr);
return;
}
try{
cb(ret,xhr);
}
finally{
if(!_19){
_19=true;
_14.resolve({data:ret,xhr:xhr});
}
}
}
};
if(xhr.timeout){
window.setTimeout(function(){
if(!_1a){
_1c();
}
},0);
}else{
_1c();
}
}
};
if(!_15){
xhr.onreadystatechange=_1b;
}
xhr.open(_12,url,!_15);
i$.each(_13.headers,function(v,k){
xhr.setRequestHeader(k,v);
});
if(_18){
xhr.timeout=_18;
xhr.ontimeout=function(){
_1a=true;
if(!_19){
_19=true;
_14.reject({data:"timeout",xhr:xhr});
}
};
}
xhr.send(_17);
if(_15){
_1b();
}
return _14;
};
i$.each(["Get","Put","Post","Delete"],function(m){
i$["xhr"+m]=i$.partial(i$.xhr,m.toUpperCase());
});
i$.loadScript=function(_1d){
var _1e=document.getElementsByTagName("head")[0],_1f=document.createElement("script"),_20=new i$.Promise(),_21=false,_22=function(_23,_24){
_1f.onreadystatechange=_1f.onload=null;
_21=true;
_20[_23?"resolve":"reject"](_24);
if(_1d.callback){
_1d.callback(_23,_24);
}
_1e.removeChild(_1f);
_1f=null;
};
_1f.type="text/javascript";
_1f.onreadystatechange=function(){
if(this.readyState==="loaded"||this.readyState==="complete"){
_22(true);
}
};
_1f.onload=function(){
_22(true);
};
i$.each(_1d.scriptAttrs,function(v,k){
if(v!=null){
_1f.setAttribute(k,v);
}
});
_1f.src=_1d.url;
_1e.appendChild(_1f);
if(_1d.timeout){
setTimeout(function(){
if(!_21){
_22(false,new Error("Timeout exceeded"));
}
},_1d.timeout);
}
return _20;
};
})();
(function(){
var i$=window.i$;
if(typeof (JSON)!="undefined"&&JSON.parse){
i$.fromJson=function(str){
return JSON.parse(str);
};
i$.toJson=function(obj,_25){
return JSON.stringify(obj,null,_25?"\t":"");
};
}else{
i$.fromJson=function(str){
return eval(["(",str,")"].join(""));
};
var _26=function(str){
return ["\"",str.replace(/[\\]/g,"\\\\").replace(/["]/g,"\\\"").replace(/[\r]/g,"\\r").replace(/[\n]/g,"\\n").replace(/[\b]/g,"\\b").replace(/[\t]/g,"\\t").replace(/[\f]/g,"\\f"),"\""].join("");
},_27=function(obj,p,_28,_29){
var ap,_2a;
if(_28){
_29=_29||"";
_2a=_29+"\t";
}
if(obj===null){
p.push("null");
}else{
if(obj===undefined){
p.push("undefined");
}else{
if(i$.isBoolean(obj)||i$.isNumber(obj)){
p.push(obj);
}else{
if(i$.isString(obj)){
p.push(_26(obj));
}else{
if(i$.isFunction(obj.toJson)){
p.push(obj.toJson());
}else{
if(i$.isArray(obj)){
p.push("[");
ap=[];
i$.each(obj,function(el){
var _2b=[];
_27(el,_2b,_28,_2a);
ap.push(_2b.join(""));
});
if(ap.length>0){
if(_28){
p.push("\n"+_2a);
}
p.push(ap.join(_28?",\n"+_2a:","));
if(_28){
p.push("\n"+_29);
}
}
p.push("]");
}else{
if(i$.isObject(obj)){
p.push("{");
ap=[];
i$.each(obj,function(el,key){
var _2c=[_26(key),": "];
_27(el,_2c,_28,_2a);
ap.push(_2c.join(""));
});
if(ap.length>0){
if(_28){
p.push("\n"+_2a);
}
p.push(ap.join(_28?",\n"+_2a:","));
if(_28){
p.push("\n"+_29);
}
}
p.push("}");
}
}
}
}
}
}
}
};
i$.toJson=function(obj,_2d){
var p=[];
_27(obj,p,_2d);
return p.join("");
};
}
i$.xhrFmts.json=function(xhr){
return i$.fromJson(xhr.responseText);
};
})();
(function(){
var i$=window.i$;
var _2e=function(){
this._evts={};
},_2f=function(_30,_31){
return _30._evts[_31]||(_30._evts[_31]={l:[],b:[]});
},add=function(_32,_33,_34,fn){
var e=_2f(_32,_33),c=e[_34].push(fn);
return [_33,_34,c-1];
},_35=function(_36,_37){
var e=_2f(_36,_37[0]);
delete e[_37[1]][_37[2]];
},_38=function(evt,_39,_3a){
var _3b=evt.b,_3a=_3a||0,b,r;
for(var i=_3a;i<_3b.length;i++){
b=_3b[i];
if(b){
_39=typeof _39==="undefined"?[]:_39;
r=b.apply(null,_39||[]);
if(i$.promise.isPromise(r)){
return r.then(function(_3c){
if(_3c!==false){
return _38(evt,_39,i+1);
}
return _3c;
});
}
}
}
},_3d=function(evt,_3e){
var _3f=evt.l,l;
for(var i=0;i<_3f.length;i++){
l=_3f[i];
if(l){
l.apply(null,_3e||[]);
}
}
},_40=function(_41,_42,_43){
var e=_2f(_41,_42);
return i$.when(_38(e,_43)).then(function(_44){
if(_44!==false){
_3d(e,_43);
}
return _44;
});
};
i$.augment(_2e,{addListener:function(_45,fn){
return add(this,_45,"l",fn);
},removeListener:function(_46){
return _35(this,_46);
},addBroker:function(_47,fn){
return add(this,_47,"b",fn);
},removeBroker:function(_48){
return _35(this,_48);
},fireEvent:function(_49,_4a){
return _40(this,_49,_4a);
}});
var _4b=new _2e();
i$.each(["addListener","removeListener","addBroker","removeBroker","fireEvent"],function(n){
i$[n]=i$.scope(_4b,n);
});
})();
(function(){
var i$=window.i$;
var _4c=document.createElement("div");
i$.byId=function(id){
if(i$.isNode(id)){
return id;
}else{
return document.getElementById(id);
}
};
i$.createDom=function(_4d,_4e,_4f){
var el=document.createElement(_4d);
i$.each(_4e,function(v,k){
el.setAttribute(k,v);
});
if(_4f){
_4f.appendChild(el);
}
return el;
};
var _50=_4c.addEventListener?function(n){
return n.indexOf("on")==0?n.substr(2):n;
}:function(n){
return n.indexOf("on")!=0?"on"+n:n;
},add=_4c.addEventListener?function(_51,_52,f){
_51.addEventListener(_52,f,false);
}:function(_53,_54,f){
_53.attachEvent(_54,f);
},_55=_4c.removeEventListener?function(_56,_57,f){
_56.removeEventListener(_57,f,false);
}:function(_58,_59,f){
_58.detachEvent(_59,f);
};
i$.isDescendant=function(_5a,anc){
if(anc){
while(_5a){
if(_5a==anc){
return true;
}
_5a=_5a.parentNode;
}
}
return false;
};
i$.bindDomEvt=function(_5b,_5c,f){
_5c=_50(_5c);
if((_5c=="mouseleave"||_5c=="mouseenter")&&!i$.isIE){
var fp=f;
_5c=_5c=="mouseleave"?"mouseout":"mouseover";
f=function(e){
if(!i$.isDescendant(e.relatedTarget,_5b)){
return fp.call(this,e);
}
};
}
add(_5b,_5c,f);
return [_5b,_5c,f];
};
i$.unbindDomEvt=function(_5d){
if(_5d[0]){
_55(_5d[0],_5d[1],_5d[2]);
}
_5d.splice(0,3);
};
if("classList" in _4c){
i$.mash(i$,{addClass:function(_5e,_5f){
_5e&&_5e.classList&&_5e.classList.add(_5f);
},removeClass:function(_60,_61){
_60&&_60.classList&&_60.classList.remove(_61);
},hasClass:function(_62,_63){
return _62&&_62.classList&&_62.classList.contains(_63);
},toggleClass:function(_64,_65){
_64&&_64.classList&&_64.classList.toggle(_65);
}});
}else{
var _66=function(str,_67){
if(!str){
return -1;
}
var len=_67.length,i=str.indexOf(_67),_68,_69;
while(i>-1){
_69=str.charAt(i+len);
_68=str.charAt(i-1);
if((!_69||_69==" ")&&(!_68||_68==" ")){
break;
}
i=str.indexOf(_67,i+1);
}
return i;
};
i$.mash(i$,{addClass:function(_6a,_6b){
if(!_6a){
return;
}
if(_66(_6a.className,_6b)<0){
_6a.className+=" "+_6b;
}
},removeClass:function(_6c,_6d){
if(!_6c){
return;
}
var str=_6c.className,len=_6d.length,i=_66(str,_6d),val=[];
if(i>-1){
if(i>0){
val.push(str.substring(0,i));
}
if(str.length>i+len){
val.push(str.substr(i+len));
}
_6c.className=i$.trim(val.join());
}
},hasClass:function(_6e,_6f){
if(!_6e){
return;
}
return _66(_6e.className,_6f)>-1;
},toggleClass:function(_70,_71){
if(!_70){
return;
}
i$[i$.hasClass(_70,_71)?"removeClass":"addClass"](_70,_71);
}});
}
})();
(function(){
var i$=window.i$;
var _72=/([^_]+)_([^_]+)_deferred_?([\d]+)?/,_73=/alternate/i,_74=function(t){
return document.getElementsByTagName(t);
},_75=function(){
return _74("head")[0];
},_76=function(url){
i$.createDom("link",{rel:"stylesheet",type:"text/css",href:url},_75());
return i$.promise.resolved();
},_77=function(url){
return i$.loadScript({url:url});
},_78=function(mod){
return i$.xhrGet({url:mod.url,headers:{"X-IBM-XHR":"true"},responseType:"text"}).then(function(_79){
return {mod:mod,data:_79.data};
});
},_7a=function(_7b){
i$.each(_7b,function(_7c){
var m=_7c.mod;
var _7d=m.node.parentNode;
var _7e=m.p!="head"?m.node:null;
var _7f=document.createDocumentFragment(),tmp=i$.createDom("div");
tmp.innerHTML=_7c.data;
while(tmp.firstChild){
_7f.appendChild(tmp.firstChild);
}
_7d.insertBefore(_7f,_7e);
});
},_80=function(_81){
if(_73.test(_81.rel)){
var id=_81.id,_82=id.match(_72);
if(_82){
return {node:_81,url:_81.href,id:id,p:_82[1],t:_82[2],i:_82[3]};
}
}
},_83=function(){
var m={head:[],config:[]},_84={},_85={length:0},_86=_74("link"),_87=_74("a");
i$.each([_86,_87],function(_88){
i$.each(_88,function(_89){
var mod=_80(_89);
if(mod&&!_84[mod.id]){
_84[mod.id]=mod;
if(!_85[mod.t]){
_85[mod.t]=[];
_85.length=_85.length+1;
}
_85[mod.t].push(mod);
}
});
});
return _85;
},_8a=function(_8b){
var _8c=[];
var _8d=[];
i$.each(_8b["markup"],function(mod){
_8d.push(_78(mod));
});
return i$.whenAll.apply(this,_8d).then(function(_8e){
_8c=_8e;
_8d=[];
i$.each(_8b["css"],function(mod){
_8d.push(_76(mod.url));
});
return i$.whenAll.apply(this,_8d);
},function(err){
console.log("Error: ",err);
}).then(function(_8f){
return _90(_8b["js"]);
}).then(function(){
_7a(_8c);
});
},_90=function(_91){
var m=_91.shift(),p;
if(m){
p=_77(m.url);
}
return i$.when(p).then(function(){
return _91.length>0?_90(_91):true;
},function(err){
console.log("Error: ",err);
});
},_92=false,_93=null,_94=false,_95=false,_96=new i$.Promise(),_97=function(cbk){
i$.addOnLoad(function(){
if(!_92){
_93=_83();
_94=_93.length>0?false:true;
if(_94){
_96.resolve();
}
_92=true;
}
if(cbk){
cbk();
}
});
};
i$.modules={};
i$.mash(i$.modules,{areLoaded:function(){
return _94;
},areLoading:function(){
return _95;
},loadDeferred:function(){
if(_95){
return _96;
}
var cbk=function(){
if(!_94){
_95=true;
_8a(_93).then(function(){
_94=true;
_95=false;
_96.resolve();
},function(e){
_96.reject(e);
});
}
};
_97(cbk);
return _96;
},addAfterLoaded:function(f){
var cbk=function(){
_96.then(f);
};
_97(cbk);
}});
var _98=i$.addOnLoad,_99=[];
i$.addOnLoad=function(f,o){
if(_95){
if(o){
f=i$.scope(o,f);
}
_99.push(f);
}else{
_98(f,o);
}
};
i$.modules.addAfterLoaded(function(){
while(_99.length>0){
if(fn=_99.shift()){
fn();
}
}
});
})();
(function(){
var i$=window.i$;
i$.getCookie=function(n){
var cs=document.cookie.split(";"),c="",_9a=0,cn="",cv=null;
for(var i=0;i<cs.length;i++){
c=cs[i];
_9a=c.indexOf("=");
cn=_9a<0?null:i$.trim(c.substring(0,_9a));
if(cn==n){
if(c.length>1){
cv=_9a<0?null:i$.trim(c.substring(_9a+1,c.length));
}
return cv;
}
}
return null;
};
i$.setCookie=function(n,v,e,p,d,s){
if(!e){
var m=new Date().getTime();
m+=(1000*60*60*24*365*100);
e=new Date(m);
}
var c=n+"="+v+((e)?"; expires="+e.toGMTString():"")+((p)?"; path="+p:"; path=/")+((d)?"; domain="+d:"")+((s)?"; secure":"");
document.cookie=c;
};
i$.deleteCookie=function(n,p,d){
if(i$.getCookie(n)){
document.cookie=n+"="+((p)?"; path="+p:"; path=/")+((d)?"; domain="+d:"")+"; expires=Thu, 01-Jan-70 00:00:01 GMT";
}
};
})();


}catch(e){console.log("Module 'wp_client_ext': ",e);}
try{/** Licensed Materials - Property of IBM, 5724-E76 and 5724-E77, (C) Copyright IBM Corp. 2011, 2012 - All Rights reserved.  **/
(function(){
var i$=window.i$;
var _1=i$.log={};
var _2=[];
var _3=function(_4,_5){
return _4.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_6,_7,_8){
var _9=_5[_7];
return _9;
});
};
i$.Logger=function(_a){
this.name=_a?_a:null;
};
_1.Logger=i$.Logger;
i$.mash(_1,{LEVEL_TRACE:500,LEVEL_INFO:800,LEVEL_WARNING:900,LEVEL_SEVERE:1000});
var _b=_1.LEVEL_INFO;
var _c=_1.LEVEL_WARNING;
var _d=_1.LEVEL_SEVERE;
i$.mash(_1,{getLogger:function(_e){
if(!_2[_e]){
_2[_e]=new i$.Logger(_e);
}
return _2[_e];
},setTraceConfig:function(_f,_10){
console.log("IMPORTANT: In order to enable tracing you need to configure module wp_client_tracing to be downloaded.");
}});
i$.getLogger=i$.log.getLogger;
i$.setTraceConfig=i$.log.setTraceConfig;
i$.Logger.prototype={info:function(_11,_12,_13){
this.log(_b,_11,_12,_13);
},warning:function(_14,_15,_16){
this.log(_c,_14,_15,_16);
},severe:function(_17,_18,_19){
this.log(_d,_17,_18,_19);
},log:function(_1a,_1b,_1c,_1d){
if((_1d&&!i$.isArray(_1d))||_1d===false){
_1d=[_1d];
}
var _1e=this.name;
var _1f=_1d?_3(_1c.toString(),_1d):_1c;
var _20="ibmStatusBox";
var _21="/portal/status";
var _22=i$.fireEvent;
var _23=com.ibm.widgets.StatusMessage;
var _24=null;
if(_1a==_d){
_24="error";
}else{
if(_1a==_c){
_24="warning";
}else{
if(_1a==_b){
_24="info";
}
}
}
if(_24){
_22(_21,[{message:new _23(_24,_1e+" "+_1b+": "+_1f,""),uid:_20}]);
}
}};
})();


}catch(e){console.log("Module 'wp_client_logging': ",e);}
try{var OpenAjax=OpenAjax||{};
if(!OpenAjax.hub){
OpenAjax.hub=function(){
var _1={};
var _2="org.openajax.hub.";
return {implementer:"http://openajax.org",implVersion:"2.0.7",specVersion:"2.0",implExtraData:{},libraries:_1,registerLibrary:function(_3,_4,_5,_6){
_1[_3]={prefix:_3,namespaceURI:_4,version:_5,extraData:_6};
this.publish(_2+"registerLibrary",_1[_3]);
},unregisterLibrary:function(_7){
this.publish(_2+"unregisterLibrary",_1[_7]);
delete _1[_7];
}};
}();
OpenAjax.hub.Error={BadParameters:"OpenAjax.hub.Error.BadParameters",Disconnected:"OpenAjax.hub.Error.Disconnected",Duplicate:"OpenAjax.hub.Error.Duplicate",NoContainer:"OpenAjax.hub.Error.NoContainer",NoSubscription:"OpenAjax.hub.Error.NoSubscription",NotAllowed:"OpenAjax.hub.Error.NotAllowed",WrongProtocol:"OpenAjax.hub.Error.WrongProtocol",IncompatBrowser:"OpenAjax.hub.Error.IncompatBrowser"};
OpenAjax.hub.SecurityAlert={LoadTimeout:"OpenAjax.hub.SecurityAlert.LoadTimeout",FramePhish:"OpenAjax.hub.SecurityAlert.FramePhish",ForgedMsg:"OpenAjax.hub.SecurityAlert.ForgedMsg"};
OpenAjax.hub._debugger=function(){
};
OpenAjax.hub.ManagedHub=function(_8){
if(!_8||!_8.onPublish||!_8.onSubscribe){
throw new Error(OpenAjax.hub.Error.BadParameters);
}
this._p=_8;
this._onUnsubscribe=_8.onUnsubscribe?_8.onUnsubscribe:null;
this._scope=_8.scope||window;
if(_8.log){
var _9=this;
this._log=function(_a){
try{
_8.log.call(_9._scope,"ManagedHub: "+_a);
}
catch(e){
OpenAjax.hub._debugger();
}
};
}else{
this._log=function(){
};
}
this._subscriptions={c:{},s:null};
this._containers={};
this._seq=0;
this._active=true;
this._isPublishing=false;
this._pubQ=[];
};
OpenAjax.hub.ManagedHub.prototype.subscribeForClient=function(_b,_c,_d){
this._assertConn();
if(this._invokeOnSubscribe(_c,_b)){
return this._subscribe(_c,this._sendToClient,this,{c:_b,sid:_d});
}
throw new Error(OpenAjax.hub.Error.NotAllowed);
};
OpenAjax.hub.ManagedHub.prototype.unsubscribeForClient=function(_e,_f){
this._unsubscribe(_f);
this._invokeOnUnsubscribe(_e,_f);
};
OpenAjax.hub.ManagedHub.prototype.publishForClient=function(_10,_11,_12){
this._assertConn();
this._publish(_11,_12,_10);
};
OpenAjax.hub.ManagedHub.prototype.disconnect=function(){
this._active=false;
for(var c in this._containers){
this.removeContainer(this._containers[c]);
}
};
OpenAjax.hub.ManagedHub.prototype.getContainer=function(_13){
var _14=this._containers[_13];
return _14?_14:null;
};
OpenAjax.hub.ManagedHub.prototype.listContainers=function(){
var res=[];
for(var c in this._containers){
res.push(this._containers[c]);
}
return res;
};
OpenAjax.hub.ManagedHub.prototype.addContainer=function(_15){
this._assertConn();
var _16=_15.getClientID();
if(this._containers[_16]){
throw new Error(OpenAjax.hub.Error.Duplicate);
}
this._containers[_16]=_15;
};
OpenAjax.hub.ManagedHub.prototype.removeContainer=function(_17){
var _18=_17.getClientID();
if(!this._containers[_18]){
throw new Error(OpenAjax.hub.Error.NoContainer);
}
_17.remove();
delete this._containers[_18];
};
OpenAjax.hub.ManagedHub.prototype.subscribe=function(_19,_1a,_1b,_1c,_1d){
this._assertConn();
this._assertSubTopic(_19);
if(!_1a){
throw new Error(OpenAjax.hub.Error.BadParameters);
}
_1b=_1b||window;
if(!this._invokeOnSubscribe(_19,null)){
this._invokeOnComplete(_1c,_1b,null,false,OpenAjax.hub.Error.NotAllowed);
return;
}
var _1e=this;
function _1f(_20,_21,sd,_22){
if(_1e._invokeOnPublish(_20,_21,_22,null)){
try{
_1a.call(_1b,_20,_21,_1d);
}
catch(e){
OpenAjax.hub._debugger();
_1e._log("caught error from onData callback to Hub.subscribe(): "+e.message);
}
}
};
var _23=this._subscribe(_19,_1f,_1b,_1d);
this._invokeOnComplete(_1c,_1b,_23,true);
return _23;
};
OpenAjax.hub.ManagedHub.prototype.publish=function(_24,_25){
this._assertConn();
this._assertPubTopic(_24);
this._publish(_24,_25,null);
};
OpenAjax.hub.ManagedHub.prototype.unsubscribe=function(_26,_27,_28){
this._assertConn();
if(!_26){
throw new Error(OpenAjax.hub.Error.BadParameters);
}
this._unsubscribe(_26);
this._invokeOnUnsubscribe(null,_26);
this._invokeOnComplete(_27,_28,_26,true);
};
OpenAjax.hub.ManagedHub.prototype.isConnected=function(){
return this._active;
};
OpenAjax.hub.ManagedHub.prototype.getScope=function(){
return this._scope;
};
OpenAjax.hub.ManagedHub.prototype.getSubscriberData=function(_29){
this._assertConn();
var _2a=_29.split(".");
var sid=_2a.pop();
var sub=this._getSubscriptionObject(this._subscriptions,_2a,0,sid);
if(sub){
return sub.data;
}
throw new Error(OpenAjax.hub.Error.NoSubscription);
};
OpenAjax.hub.ManagedHub.prototype.getSubscriberScope=function(_2b){
this._assertConn();
var _2c=_2b.split(".");
var sid=_2c.pop();
var sub=this._getSubscriptionObject(this._subscriptions,_2c,0,sid);
if(sub){
return sub.scope;
}
throw new Error(OpenAjax.hub.Error.NoSubscription);
};
OpenAjax.hub.ManagedHub.prototype.getParameters=function(){
return this._p;
};
OpenAjax.hub.ManagedHub.prototype._sendToClient=function(_2d,_2e,sd,_2f){
if(!this.isConnected()){
return;
}
if(this._invokeOnPublish(_2d,_2e,_2f,sd.c)){
sd.c.sendToClient(_2d,_2e,sd.sid);
}
};
OpenAjax.hub.ManagedHub.prototype._assertConn=function(){
if(!this.isConnected()){
throw new Error(OpenAjax.hub.Error.Disconnected);
}
};
OpenAjax.hub.ManagedHub.prototype._assertPubTopic=function(_30){
if(!_30||_30===""||(_30.indexOf("*")!=-1)||(_30.indexOf("..")!=-1)||(_30.charAt(0)==".")||(_30.charAt(_30.length-1)==".")){
throw new Error(OpenAjax.hub.Error.BadParameters);
}
};
OpenAjax.hub.ManagedHub.prototype._assertSubTopic=function(_31){
if(!_31){
throw new Error(OpenAjax.hub.Error.BadParameters);
}
var _32=_31.split(".");
var len=_32.length;
for(var i=0;i<len;i++){
var p=_32[i];
if((p==="")||((p.indexOf("*")!=-1)&&(p!="*")&&(p!="**"))){
throw new Error(OpenAjax.hub.Error.BadParameters);
}
if((p=="**")&&(i<len-1)){
throw new Error(OpenAjax.hub.Error.BadParameters);
}
}
};
OpenAjax.hub.ManagedHub.prototype._invokeOnComplete=function(_33,_34,_35,_36,_37){
if(_33){
try{
_34=_34||window;
_33.call(_34,_35,_36,_37);
}
catch(e){
OpenAjax.hub._debugger();
this._log("caught error from onComplete callback: "+e.message);
}
}
};
OpenAjax.hub.ManagedHub.prototype._invokeOnPublish=function(_38,_39,_3a,_3b){
try{
return this._p.onPublish.call(this._scope,_38,_39,_3a,_3b);
}
catch(e){
OpenAjax.hub._debugger();
this._log("caught error from onPublish callback to constructor: "+e.message);
}
return false;
};
OpenAjax.hub.ManagedHub.prototype._invokeOnSubscribe=function(_3c,_3d){
try{
return this._p.onSubscribe.call(this._scope,_3c,_3d);
}
catch(e){
OpenAjax.hub._debugger();
this._log("caught error from onSubscribe callback to constructor: "+e.message);
}
return false;
};
OpenAjax.hub.ManagedHub.prototype._invokeOnUnsubscribe=function(_3e,_3f){
if(this._onUnsubscribe){
var _40=_3f.slice(0,_3f.lastIndexOf("."));
try{
this._onUnsubscribe.call(this._scope,_40,_3e);
}
catch(e){
OpenAjax.hub._debugger();
this._log("caught error from onUnsubscribe callback to constructor: "+e.message);
}
}
};
OpenAjax.hub.ManagedHub.prototype._subscribe=function(_41,_42,_43,_44){
var _45=_41+"."+this._seq;
var sub={scope:_43,cb:_42,data:_44,sid:this._seq++};
var _46=_41.split(".");
this._recursiveSubscribe(this._subscriptions,_46,0,sub);
return _45;
};
OpenAjax.hub.ManagedHub.prototype._recursiveSubscribe=function(_47,_48,_49,sub){
var _4a=_48[_49];
if(_49==_48.length){
sub.next=_47.s;
_47.s=sub;
}else{
if(typeof _47.c=="undefined"){
_47.c={};
}
if(typeof _47.c[_4a]=="undefined"){
_47.c[_4a]={c:{},s:null};
this._recursiveSubscribe(_47.c[_4a],_48,_49+1,sub);
}else{
this._recursiveSubscribe(_47.c[_4a],_48,_49+1,sub);
}
}
};
OpenAjax.hub.ManagedHub.prototype._publish=function(_4b,_4c,_4d){
if(this._isPublishing){
this._pubQ.push({t:_4b,d:_4c,p:_4d});
return;
}
this._safePublish(_4b,_4c,_4d);
while(this._pubQ.length>0){
var pub=this._pubQ.shift();
this._safePublish(pub.t,pub.d,pub.p);
}
};
OpenAjax.hub.ManagedHub.prototype._safePublish=function(_4e,_4f,_50){
this._isPublishing=true;
var _51=_4e.split(".");
this._recursivePublish(this._subscriptions,_51,0,_4e,_4f,_50);
this._isPublishing=false;
};
OpenAjax.hub.ManagedHub.prototype._recursivePublish=function(_52,_53,_54,_55,msg,_56){
if(typeof _52!="undefined"){
var _57;
if(_54==_53.length){
_57=_52;
}else{
this._recursivePublish(_52.c[_53[_54]],_53,_54+1,_55,msg,_56);
this._recursivePublish(_52.c["*"],_53,_54+1,_55,msg,_56);
_57=_52.c["**"];
}
if(typeof _57!="undefined"){
var sub=_57.s;
while(sub){
var sc=sub.scope;
var cb=sub.cb;
var d=sub.data;
if(typeof cb=="string"){
cb=sc[cb];
}
cb.call(sc,_55,msg,d,_56);
sub=sub.next;
}
}
}
};
OpenAjax.hub.ManagedHub.prototype._unsubscribe=function(_58){
var _59=_58.split(".");
var sid=_59.pop();
if(!this._recursiveUnsubscribe(this._subscriptions,_59,0,sid)){
throw new Error(OpenAjax.hub.Error.NoSubscription);
}
};
OpenAjax.hub.ManagedHub.prototype._recursiveUnsubscribe=function(_5a,_5b,_5c,sid){
if(typeof _5a=="undefined"){
return false;
}
if(_5c<_5b.length){
var _5d=_5a.c[_5b[_5c]];
if(!_5d){
return false;
}
this._recursiveUnsubscribe(_5d,_5b,_5c+1,sid);
if(!_5d.s){
for(var x in _5d.c){
return true;
}
delete _5a.c[_5b[_5c]];
}
}else{
var sub=_5a.s;
var _5e=null;
var _5f=false;
while(sub){
if(sid==sub.sid){
_5f=true;
if(sub==_5a.s){
_5a.s=sub.next;
}else{
_5e.next=sub.next;
}
break;
}
_5e=sub;
sub=sub.next;
}
if(!_5f){
return false;
}
}
return true;
};
OpenAjax.hub.ManagedHub.prototype._getSubscriptionObject=function(_60,_61,_62,sid){
if(typeof _60!="undefined"){
if(_62<_61.length){
var _63=_60.c[_61[_62]];
return this._getSubscriptionObject(_63,_61,_62+1,sid);
}
var sub=_60.s;
while(sub){
if(sid==sub.sid){
return sub;
}
sub=sub.next;
}
}
return null;
};
OpenAjax.hub._hub=new OpenAjax.hub.ManagedHub({onSubscribe:function(_64,_65){
return true;
},onPublish:function(_66,_67,_68,_69){
return true;
}});
OpenAjax.hub.subscribe=function(_6a,_6b,_6c,_6d){
if(typeof _6b==="string"){
_6c=_6c||window;
_6b=_6c[_6b]||null;
}
return OpenAjax.hub._hub.subscribe(_6a,_6b,_6c,null,_6d);
};
OpenAjax.hub.unsubscribe=function(_6e){
return OpenAjax.hub._hub.unsubscribe(_6e);
};
OpenAjax.hub.publish=function(_6f,_70){
OpenAjax.hub._hub.publish(_6f,_70);
};
OpenAjax.hub.registerLibrary("OpenAjax","http://openajax.org/hub","2.0",{});
}
OpenAjax.hub.InlineContainer=function(hub,_71,_72){
if(!hub||!_71||!_72||!_72.Container||!_72.Container.onSecurityAlert){
throw new Error(OpenAjax.hub.Error.BadParameters);
}
var _73=_72.Container.scope||window;
var _74=false;
var _75=[];
var _76=0;
var _77=null;
if(_72.Container.log){
var log=function(msg){
try{
_72.Container.log.call(_73,"InlineContainer::"+_71+": "+msg);
}
catch(e){
OpenAjax.hub._debugger();
}
};
}else{
log=function(){
};
}
this._init=function(){
hub.addContainer(this);
};
this.getHub=function(){
return hub;
};
this.sendToClient=function(_78,_79,_7a){
if(_74){
var sub=_75[_7a];
try{
sub.cb.call(sub.sc,_78,_79,sub.d);
}
catch(e){
OpenAjax.hub._debugger();
_77._log("caught error from onData callback to HubClient.subscribe(): "+e.message);
}
}
};
this.remove=function(){
if(_74){
_7b();
}
};
this.isConnected=function(){
return _74;
};
this.getClientID=function(){
return _71;
};
this.getPartnerOrigin=function(){
if(_74){
return window.location.protocol+"//"+window.location.hostname;
}
return null;
};
this.getParameters=function(){
return _72;
};
this.connect=function(_7c,_7d,_7e){
if(_74){
throw new Error(OpenAjax.hub.Error.Duplicate);
}
_74=true;
_77=_7c;
if(_72.Container.onConnect){
try{
_72.Container.onConnect.call(_73,this);
}
catch(e){
OpenAjax.hub._debugger();
log("caught error from onConnect callback to constructor: "+e.message);
}
}
_7f(_7d,_7e,_7c,true);
};
this.disconnect=function(_80,_81,_82){
if(!_74){
throw new Error(OpenAjax.hub.Error.Disconnected);
}
_7b();
if(_72.Container.onDisconnect){
try{
_72.Container.onDisconnect.call(_73,this);
}
catch(e){
OpenAjax.hub._debugger();
log("caught error from onDisconnect callback to constructor: "+e.message);
}
}
_7f(_81,_82,_80,true);
};
this.subscribe=function(_83,_84,_85,_86,_87){
_88();
_89(_83);
if(!_84){
throw new Error(OpenAjax.hub.Error.BadParameters);
}
var _8a=""+_76++;
var _8b=false;
var msg=null;
try{
var _8c=hub.subscribeForClient(this,_83,_8a);
_8b=true;
}
catch(e){
_8a=null;
msg=e.message;
}
_85=_85||window;
if(_8b){
_75[_8a]={h:_8c,cb:_84,sc:_85,d:_87};
}
_7f(_86,_85,_8a,_8b,msg);
return _8a;
};
this.publish=function(_8d,_8e){
_88();
_8f(_8d);
hub.publishForClient(this,_8d,_8e);
};
this.unsubscribe=function(_90,_91,_92){
_88();
if(typeof _90==="undefined"||_90===null){
throw new Error(OpenAjax.hub.Error.BadParameters);
}
var sub=_75[_90];
if(!sub){
throw new Error(OpenAjax.hub.Error.NoSubscription);
}
hub.unsubscribeForClient(this,sub.h);
delete _75[_90];
_7f(_91,_92,_90,true);
};
this.getSubscriberData=function(_93){
_88();
return _94(_93).d;
};
this.getSubscriberScope=function(_95){
_88();
return _94(_95).sc;
};
function _7f(_96,_97,_98,_99,_9a){
if(_96){
try{
_97=_97||window;
_96.call(_97,_98,_99,_9a);
}
catch(e){
OpenAjax.hub._debugger();
_77._log("caught error from onComplete callback: "+e.message);
}
}
};
function _7b(){
for(var _9b in _75){
hub.unsubscribeForClient(this,_75[_9b].h);
}
_75=[];
_76=0;
_74=false;
};
function _88(){
if(!_74){
throw new Error(OpenAjax.hub.Error.Disconnected);
}
};
function _8f(_9c){
if((_9c==null)||(_9c==="")||(_9c.indexOf("*")!=-1)||(_9c.indexOf("..")!=-1)||(_9c.charAt(0)==".")||(_9c.charAt(_9c.length-1)==".")){
throw new Error(OpenAjax.hub.Error.BadParameters);
}
};
function _89(_9d){
if(!_9d){
throw new Error(OpenAjax.hub.Error.BadParameters);
}
var _9e=_9d.split(".");
var len=_9e.length;
for(var i=0;i<len;i++){
var p=_9e[i];
if((p==="")||((p.indexOf("*")!=-1)&&(p!="*")&&(p!="**"))){
throw new Error(OpenAjax.hub.Error.BadParameters);
}
if((p=="**")&&(i<len-1)){
throw new Error(OpenAjax.hub.Error.BadParameters);
}
}
};
function _94(_9f){
var sub=_75[_9f];
if(sub){
return sub;
}
throw new Error(OpenAjax.hub.Error.NoSubscription);
};
this._init();
};
OpenAjax.hub.InlineHubClient=function(_a0){
if(!_a0||!_a0.HubClient||!_a0.HubClient.onSecurityAlert||!_a0.InlineHubClient||!_a0.InlineHubClient.container){
throw new Error(OpenAjax.hub.Error.BadParameters);
}
var _a1=_a0.InlineHubClient.container;
var _a2=_a0.HubClient.scope||window;
if(_a0.HubClient.log){
var log=function(msg){
try{
_a0.HubClient.log.call(_a2,"InlineHubClient::"+_a1.getClientID()+": "+msg);
}
catch(e){
OpenAjax.hub._debugger();
}
};
}else{
log=function(){
};
}
this._log=log;
this.connect=function(_a3,_a4){
_a1.connect(this,_a3,_a4);
};
this.disconnect=function(_a5,_a6){
_a1.disconnect(this,_a5,_a6);
};
this.getPartnerOrigin=function(){
return _a1.getPartnerOrigin();
};
this.getClientID=function(){
return _a1.getClientID();
};
this.subscribe=function(_a7,_a8,_a9,_aa,_ab){
return _a1.subscribe(_a7,_a8,_a9,_aa,_ab);
};
this.publish=function(_ac,_ad){
_a1.publish(_ac,_ad);
};
this.unsubscribe=function(_ae,_af,_b0){
_a1.unsubscribe(_ae,_af,_b0);
};
this.isConnected=function(){
return _a1.isConnected();
};
this.getScope=function(){
return _a2;
};
this.getSubscriberData=function(_b1){
return _a1.getSubscriberData(_b1);
};
this.getSubscriberScope=function(_b2){
return _a1.getSubscriberScope(_b2);
};
this.getParameters=function(){
return _a0;
};
};
var OpenAjax=OpenAjax||{};
OpenAjax.hub=OpenAjax.hub||{};
OpenAjax.gadgets=typeof OpenAjax.gadgets==="object"?OpenAjax.gadgets:typeof gadgets==="object"?gadgets:{};
OpenAjax.gadgets.rpctx=OpenAjax.gadgets.rpctx||{};
(function(){
if(typeof gadgets==="undefined"){
if(typeof oaaConfig==="undefined"){
var _b3=document.getElementsByTagName("script");
var _b4=/openajax(?:managedhub-(?:all|core).*|-mashup)\.js$/i;
for(var i=_b3.length-1;i>=0;i--){
var src=_b3[i].getAttribute("src");
if(!src){
continue;
}
var m=src.match(_b4);
if(m){
var _b5=_b3[i].getAttribute("oaaConfig");
if(_b5){
try{
oaaConfig=eval("({ "+_b5+" })");
}
catch(e){
}
}
break;
}
}
}
if(typeof oaaConfig!=="undefined"&&oaaConfig.gadgetsGlobal){
gadgets=OpenAjax.gadgets;
}
}
})();
if(!OpenAjax.hub.IframeContainer){
(function(){
OpenAjax.hub.IframeContainer=function(hub,_b6,_b7){
_b8(arguments);
var _b9=this;
var _ba=_b7.Container.scope||window;
var _bb=false;
var _bc={};
var _bd;
var _be;
var _bf=_b7.IframeContainer.timeout||15000;
var _c0;
if(_b7.Container.log){
var log=function(msg){
try{
_b7.Container.log.call(_ba,"IframeContainer::"+_b6+": "+msg);
}
catch(e){
OpenAjax.hub._debugger();
}
};
}else{
log=function(){
};
}
this._init=function(){
hub.addContainer(this);
_be=OpenAjax.hub.IframeContainer._rpcRouter.add(_b6,this);
_bd=_114(_b7,_ba,log);
var _c1=_b7.IframeContainer.clientRelay;
var _c2=OpenAjax.gadgets.rpc.getRelayChannel();
if(_b7.IframeContainer.tunnelURI){
if(_c2!=="wpm"&&_c2!=="ifpc"){
throw new Error(OpenAjax.hub.Error.IncompatBrowser);
}
}else{
log("WARNING: Parameter 'IframeContaienr.tunnelURI' not specified. Connection will not be fully secure.");
if(_c2==="rmr"&&!_c1){
_c1=OpenAjax.gadgets.rpc.getOrigin(_b7.IframeContainer.uri)+"/robots.txt";
}
}
_c3();
OpenAjax.gadgets.rpc.setupReceiver(_be,_c1);
_c4();
};
this.sendToClient=function(_c5,_c6,_c7){
OpenAjax.gadgets.rpc.call(_be,"openajax.pubsub",null,"pub",_c5,_c6,_c7);
};
this.remove=function(){
_c8();
clearTimeout(_c0);
OpenAjax.gadgets.rpc.removeReceiver(_be);
var _c9=document.getElementById(_be);
_c9.parentNode.removeChild(_c9);
OpenAjax.hub.IframeContainer._rpcRouter.remove(_be);
};
this.isConnected=function(){
return _bb;
};
this.getClientID=function(){
return _b6;
};
this.getPartnerOrigin=function(){
if(_bb){
var _ca=OpenAjax.gadgets.rpc.getReceiverOrigin(_be);
if(_ca){
return (/^([a-zA-Z]+:\/\/[^:]+).*/.exec(_ca)[1]);
}
}
return null;
};
this.getParameters=function(){
return _b7;
};
this.getHub=function(){
return hub;
};
this.getIframe=function(){
return document.getElementById(_be);
};
function _b8(_cb){
var hub=_cb[0],_b6=_cb[1],_b7=_cb[2];
if(!hub||!_b6||!_b7||!_b7.Container||!_b7.Container.onSecurityAlert||!_b7.IframeContainer||!_b7.IframeContainer.parent||!_b7.IframeContainer.uri){
throw new Error(OpenAjax.hub.Error.BadParameters);
}
};
this._handleIncomingRPC=function(_cc,_cd,_ce){
switch(_cc){
case "pub":
hub.publishForClient(_b9,_cd,_ce);
break;
case "sub":
var _cf="";
try{
_bc[_ce]=hub.subscribeForClient(_b9,_cd,_ce);
}
catch(e){
_cf=e.message;
}
return _cf;
case "uns":
var _d0=_bc[_ce];
hub.unsubscribeForClient(_b9,_d0);
delete _bc[_ce];
return _ce;
case "con":
_d1();
return true;
case "dis":
_c4();
_c8();
if(_b7.Container.onDisconnect){
try{
_b7.Container.onDisconnect.call(_ba,_b9);
}
catch(e){
OpenAjax.hub._debugger();
log("caught error from onDisconnect callback to constructor: "+e.message);
}
}
return true;
}
};
this._onSecurityAlert=function(_d2){
_d3(_113[_d2]);
};
function _c3(){
var _d4=document.createElement("span");
_b7.IframeContainer.parent.appendChild(_d4);
var _d5="<iframe id=\""+_be+"\" name=\""+_be+"\" src=\"javascript:'<html></html>'\"";
var _d6="";
var _d7=_b7.IframeContainer.iframeAttrs;
if(_d7){
for(var _d8 in _d7){
switch(_d8){
case "style":
for(var _d9 in _d7.style){
_d6+=_d9+":"+_d7.style[_d9]+";";
}
break;
case "className":
_d5+=" class=\""+_d7[_d8]+"\"";
break;
default:
_d5+=" "+_d8+"=\""+_d7[_d8]+"\"";
}
}
}
_d6+="visibility:hidden;";
_d5+=" style=\""+_d6+"\"></iframe>";
_d4.innerHTML=_d5;
var _da;
if(_b7.IframeContainer.tunnelURI){
_da="&parent="+encodeURIComponent(_b7.IframeContainer.tunnelURI)+"&forcesecure=true";
}else{
_da="&oahParent="+encodeURIComponent(OpenAjax.gadgets.rpc.getOrigin(window.location.href));
}
var _db="";
if(_be!==_b6){
_db="&oahId="+_be.substring(_be.lastIndexOf("_")+1);
}
document.getElementById(_be).src=_b7.IframeContainer.uri+"#rpctoken="+_bd+_da+_db;
};
function _d1(){
function _dc(_dd){
if(_dd){
_bb=true;
clearTimeout(_c0);
document.getElementById(_be).style.visibility="visible";
if(_b7.Container.onConnect){
try{
_b7.Container.onConnect.call(_ba,_b9);
}
catch(e){
OpenAjax.hub._debugger();
log("caught error from onConnect callback to constructor: "+e.message);
}
}
}
};
OpenAjax.gadgets.rpc.call(_be,"openajax.pubsub",_dc,"cmd","con");
};
function _c8(){
if(_bb){
_bb=false;
document.getElementById(_be).style.visibility="hidden";
for(var s in _bc){
hub.unsubscribeForClient(_b9,_bc[s]);
}
_bc={};
}
};
function _d3(_de){
try{
_b7.Container.onSecurityAlert.call(_ba,_b9,_de);
}
catch(e){
OpenAjax.hub._debugger();
log("caught error from onSecurityAlert callback to constructor: "+e.message);
}
};
function _c4(){
_c0=setTimeout(function(){
_d3(OpenAjax.hub.SecurityAlert.LoadTimeout);
_b9._handleIncomingRPC=function(){
};
},_bf);
};
this._init();
};
OpenAjax.hub.IframeHubClient=function(_df){
if(!_df||!_df.HubClient||!_df.HubClient.onSecurityAlert){
throw new Error(OpenAjax.hub.Error.BadParameters);
}
var _e0=this;
var _e1=_df.HubClient.scope||window;
var _e2=false;
var _e3={};
var _e4=0;
var _e5;
if(_df.HubClient.log){
var log=function(msg){
try{
_df.HubClient.log.call(_e1,"IframeHubClient::"+_e5+": "+msg);
}
catch(e){
OpenAjax.hub._debugger();
}
};
}else{
log=function(){
};
}
this._init=function(){
var _e6=OpenAjax.gadgets.util.getUrlParameters();
if(!_e6.parent){
var _e7=_e6.oahParent+"/robots.txt";
OpenAjax.gadgets.rpc.setupReceiver("..",_e7);
}
if(_df.IframeHubClient&&_df.IframeHubClient.requireParentVerifiable&&OpenAjax.gadgets.rpc.getReceiverOrigin("..")===null){
OpenAjax.gadgets.rpc.removeReceiver("..");
throw new Error(OpenAjax.hub.Error.IncompatBrowser);
}
OpenAjax.hub.IframeContainer._rpcRouter.add("..",this);
_e5=OpenAjax.gadgets.rpc.RPC_ID;
if(_e6.oahId){
_e5=_e5.substring(0,_e5.lastIndexOf("_"));
}
};
this.connect=function(_e8,_e9){
if(_e2){
throw new Error(OpenAjax.hub.Error.Duplicate);
}
function _ea(_eb){
if(_eb){
_e2=true;
if(_e8){
try{
_e8.call(_e9||window,_e0,true);
}
catch(e){
OpenAjax.hub._debugger();
log("caught error from onComplete callback to connect(): "+e.message);
}
}
}
};
OpenAjax.gadgets.rpc.call("..","openajax.pubsub",_ea,"con");
};
this.disconnect=function(_ec,_ed){
if(!_e2){
throw new Error(OpenAjax.hub.Error.Disconnected);
}
_e2=false;
var _ee=null;
if(_ec){
_ee=function(_ef){
try{
_ec.call(_ed||window,_e0,true);
}
catch(e){
OpenAjax.hub._debugger();
log("caught error from onComplete callback to disconnect(): "+e.message);
}
};
}
OpenAjax.gadgets.rpc.call("..","openajax.pubsub",_ee,"dis");
};
this.getPartnerOrigin=function(){
if(_e2){
var _f0=OpenAjax.gadgets.rpc.getReceiverOrigin("..");
if(_f0){
return (/^([a-zA-Z]+:\/\/[^:]+).*/.exec(_f0)[1]);
}
}
return null;
};
this.getClientID=function(){
return _e5;
};
this.subscribe=function(_f1,_f2,_f3,_f4,_f5){
_f6();
_f7(_f1);
if(!_f2){
throw new Error(OpenAjax.hub.Error.BadParameters);
}
_f3=_f3||window;
var _f8=""+_e4++;
_e3[_f8]={cb:_f2,sc:_f3,d:_f5};
function _f9(_fa){
if(_fa!==""){
delete _e3[_f8];
}
if(_f4){
try{
_f4.call(_f3,_f8,_fa==="",_fa);
}
catch(e){
OpenAjax.hub._debugger();
log("caught error from onComplete callback to subscribe(): "+e.message);
}
}
};
OpenAjax.gadgets.rpc.call("..","openajax.pubsub",_f9,"sub",_f1,_f8);
return _f8;
};
this.publish=function(_fb,_fc){
_f6();
_fd(_fb);
OpenAjax.gadgets.rpc.call("..","openajax.pubsub",null,"pub",_fb,_fc);
};
this.unsubscribe=function(_fe,_ff,_100){
_f6();
if(!_fe){
throw new Error(OpenAjax.hub.Error.BadParameters);
}
if(!_e3[_fe]||_e3[_fe].uns){
throw new Error(OpenAjax.hub.Error.NoSubscription);
}
_e3[_fe].uns=true;
function _101(_102){
delete _e3[_fe];
if(_ff){
try{
_ff.call(_100||window,_fe,true);
}
catch(e){
OpenAjax.hub._debugger();
log("caught error from onComplete callback to unsubscribe(): "+e.message);
}
}
};
OpenAjax.gadgets.rpc.call("..","openajax.pubsub",_101,"uns",null,_fe);
};
this.isConnected=function(){
return _e2;
};
this.getScope=function(){
return _e1;
};
this.getSubscriberData=function(_103){
_f6();
if(_e3[_103]){
return _e3[_103].d;
}
throw new Error(OpenAjax.hub.Error.NoSubscription);
};
this.getSubscriberScope=function(_104){
_f6();
if(_e3[_104]){
return _e3[_104].sc;
}
throw new Error(OpenAjax.hub.Error.NoSubscription);
};
this.getParameters=function(){
return _df;
};
this._handleIncomingRPC=function(_105,_106,data,_107){
if(_105==="pub"){
if(_e3[_107]&&!_e3[_107].uns){
try{
_e3[_107].cb.call(_e3[_107].sc,_106,data,_e3[_107].d);
}
catch(e){
OpenAjax.hub._debugger();
log("caught error from onData callback to subscribe(): "+e.message);
}
}
}
if(_106==="con"){
return true;
}
return false;
};
function _f6(){
if(!_e2){
throw new Error(OpenAjax.hub.Error.Disconnected);
}
};
function _f7(_108){
if(!_108){
throw new Error(OpenAjax.hub.Error.BadParameters);
}
var path=_108.split(".");
var len=path.length;
for(var i=0;i<len;i++){
var p=path[i];
if((p==="")||((p.indexOf("*")!=-1)&&(p!="*")&&(p!="**"))){
throw new Error(OpenAjax.hub.Error.BadParameters);
}
if((p=="**")&&(i<len-1)){
throw new Error(OpenAjax.hub.Error.BadParameters);
}
}
};
function _fd(_109){
if(!_109||_109===""||(_109.indexOf("*")!=-1)||(_109.indexOf("..")!=-1)||(_109.charAt(0)==".")||(_109.charAt(_109.length-1)==".")){
throw new Error(OpenAjax.hub.Error.BadParameters);
}
};
this._init();
};
OpenAjax.hub.IframeContainer._rpcRouter=function(){
var _10a={};
function _10b(){
var r=_10a[this.f];
if(r){
return r._handleIncomingRPC.apply(r,arguments);
}
};
function _10c(_10d,_10e){
var r=_10a[_10d];
if(r){
r._onSecurityAlert.call(r,_10e);
}
};
return {add:function(id,_10f){
function _110(id,_111){
if(id===".."){
if(!_10a[".."]){
_10a[".."]=_111;
}
return;
}
var _112=id;
while(document.getElementById(_112)){
_112=id+"_"+((32767*Math.random())|0).toString(16);
}
_10a[_112]=_111;
return _112;
};
OpenAjax.gadgets.rpc.register("openajax.pubsub",_10b);
OpenAjax.gadgets.rpc.config({securityCallback:_10c});
_113[OpenAjax.gadgets.rpc.SEC_ERROR_LOAD_TIMEOUT]=OpenAjax.hub.SecurityAlert.LoadTimeout;
_113[OpenAjax.gadgets.rpc.SEC_ERROR_FRAME_PHISH]=OpenAjax.hub.SecurityAlert.FramePhish;
_113[OpenAjax.gadgets.rpc.SEC_ERROR_FORGED_MSG]=OpenAjax.hub.SecurityAlert.ForgedMsg;
this.add=_110;
return _110(id,_10f);
},remove:function(id){
delete _10a[id];
}};
}();
var _113={};
function _114(_115,_116,log){
if(!OpenAjax.hub.IframeContainer._prng){
var seed=new Date().getTime()+Math.random()+document.cookie;
OpenAjax.hub.IframeContainer._prng=OpenAjax._smash.crypto.newPRNG(seed);
}
var p=_115.IframeContainer||_115.IframeHubClient;
if(p&&p.seed){
try{
var _117=p.seed.call(_116);
OpenAjax.hub.IframeContainer._prng.addSeed(_117);
}
catch(e){
OpenAjax.hub._debugger();
log("caught error from 'seed' callback: "+e.message);
}
}
var _118=(p&&p.tokenLength)||6;
return OpenAjax.hub.IframeContainer._prng.nextRandomB64Str(_118);
};
})();
}
if(typeof OpenAjax._smash=="undefined"){
OpenAjax._smash={};
}
OpenAjax._smash.crypto={"strToWA":function(str,_119){
var bin=Array();
var mask=(1<<_119)-1;
for(var i=0;i<str.length*_119;i+=_119){
bin[i>>5]|=(str.charCodeAt(i/_119)&mask)<<(32-_119-i%32);
}
return bin;
},"hmac_sha1":function(_11a,_11b,_11c){
var ipad=Array(16),opad=Array(16);
for(var i=0;i<16;i++){
ipad[i]=_11a[i]^909522486;
opad[i]=_11a[i]^1549556828;
}
var hash=this.sha1(ipad.concat(this.strToWA(_11b,_11c)),512+_11b.length*_11c);
return this.sha1(opad.concat(hash),512+160);
},"newPRNG":function(_11d){
var that=this;
if((typeof _11d!="string")||(_11d.length<12)){
alert("WARNING: Seed length too short ...");
}
var _11e=[43417,15926,18182,33130,9585,30800,49772,40144,47678,55453,4659,38181,65340,6787,54417,65301];
var _11f=[];
var _120=0;
function _121(_122){
return that.hmac_sha1(_11e,_122,8);
};
function _123(_124){
var _125=_121(_124);
for(var i=0;i<5;i++){
_11f[i]^=_125[i];
}
};
_123(_11d);
return {"addSeed":function(seed){
_123(seed);
},"nextRandomOctets":function(len){
var _126=[];
while(len>0){
_120+=1;
var _127=that.hmac_sha1(_11f,(_120).toString(16),8);
for(i=0;(i<20)&(len>0);i++,len--){
_126.push((_127[i>>2]>>(i%4))%256);
}
}
return _126;
},"nextRandomB64Str":function(len){
var _128="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_";
var _129=this.nextRandomOctets(len);
var _12a="";
for(var i=0;i<len;i++){
_12a+=_128.charAt(_129[i]&63);
}
return _12a;
}};
},"sha1":function(){
var _12b=function(x,y){
var lsw=(x&65535)+(y&65535);
var msw=(x>>16)+(y>>16)+(lsw>>16);
return (msw<<16)|(lsw&65535);
};
var rol=function(num,cnt){
return (num<<cnt)|(num>>>(32-cnt));
};
function _12c(t,b,c,d){
if(t<20){
return (b&c)|((~b)&d);
}
if(t<40){
return b^c^d;
}
if(t<60){
return (b&c)|(b&d)|(c&d);
}
return b^c^d;
};
function _12d(t){
return (t<20)?1518500249:(t<40)?1859775393:(t<60)?-1894007588:-899497514;
};
return function(_12e,_12f){
_12e[_12f>>5]|=128<<(24-_12f%32);
_12e[((_12f+64>>9)<<4)+15]=_12f;
var W=Array(80);
var H0=1732584193;
var H1=-271733879;
var H2=-1732584194;
var H3=271733878;
var H4=-1009589776;
for(var i=0;i<_12e.length;i+=16){
var a=H0;
var b=H1;
var c=H2;
var d=H3;
var e=H4;
for(var j=0;j<80;j++){
W[j]=((j<16)?_12e[i+j]:rol(W[j-3]^W[j-8]^W[j-14]^W[j-16],1));
var T=_12b(_12b(rol(a,5),_12c(j,b,c,d)),_12b(_12b(e,W[j]),_12d(j)));
e=d;
d=c;
c=rol(b,30);
b=a;
a=T;
}
H0=_12b(a,H0);
H1=_12b(b,H1);
H2=_12b(c,H2);
H3=_12b(d,H3);
H4=_12b(e,H4);
}
return Array(H0,H1,H2,H3,H4);
};
}()};
if(!this.JSON){
JSON={};
}
(function(){
function f(n){
return n<10?"0"+n:n;
};
if(typeof Date.prototype.toJSON!=="function"){
Date.prototype.toJSON=function(key){
return this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z";
};
String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(key){
return this.valueOf();
};
}
var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,_130=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,_131,meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","\"":"\\\"","\\":"\\\\"},rep;
function _132(_133){
_130.lastIndex=0;
return _130.test(_133)?"\""+_133.replace(_130,function(a){
var c=meta[a];
return typeof c==="string"?c:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4);
})+"\"":"\""+_133+"\"";
};
function str(key,_134){
var i,k,v,_135,mind=gap,_136,_137=_134[key];
if(_137&&typeof _137==="object"&&typeof _137.toJSON==="function"){
_137=_137.toJSON(key);
}
if(typeof rep==="function"){
_137=rep.call(_134,key,_137);
}
switch(typeof _137){
case "string":
return _132(_137);
case "number":
return isFinite(_137)?String(_137):"null";
case "boolean":
case "null":
return String(_137);
case "object":
if(!_137){
return "null";
}
gap+=_131;
_136=[];
if(Object.prototype.toString.apply(_137)==="[object Array]"){
_135=_137.length;
for(i=0;i<_135;i+=1){
_136[i]=str(i,_137)||"null";
}
v=_136.length===0?"[]":gap?"[\n"+gap+_136.join(",\n"+gap)+"\n"+mind+"]":"["+_136.join(",")+"]";
gap=mind;
return v;
}
if(rep&&typeof rep==="object"){
_135=rep.length;
for(i=0;i<_135;i+=1){
k=rep[i];
if(typeof k==="string"){
v=str(k,_137);
if(v){
_136.push(_132(k)+(gap?": ":":")+v);
}
}
}
}else{
for(k in _137){
if(Object.hasOwnProperty.call(_137,k)){
v=str(k,_137);
if(v){
_136.push(_132(k)+(gap?": ":":")+v);
}
}
}
}
v=_136.length===0?"{}":gap?"{\n"+gap+_136.join(",\n"+gap)+"\n"+mind+"}":"{"+_136.join(",")+"}";
gap=mind;
return v;
}
};
if(typeof JSON.stringify!=="function"){
JSON.stringify=function(_138,_139,_13a){
var i;
gap="";
_131="";
if(typeof _13a==="number"){
for(i=0;i<_13a;i+=1){
_131+=" ";
}
}else{
if(typeof _13a==="string"){
_131=_13a;
}
}
rep=_139;
if(_139&&typeof _139!=="function"&&(typeof _139!=="object"||typeof _139.length!=="number")){
throw new Error("JSON.stringify");
}
return str("",{"":_138});
};
}
if(typeof JSON.parse!=="function"){
JSON.parse=function(text,_13b){
var j;
function walk(_13c,key){
var k,v,_13d=_13c[key];
if(_13d&&typeof _13d==="object"){
for(k in _13d){
if(Object.hasOwnProperty.call(_13d,k)){
v=walk(_13d,k);
if(v!==undefined){
_13d[k]=v;
}else{
delete _13d[k];
}
}
}
}
return _13b.call(_13c,key,_13d);
};
cx.lastIndex=0;
if(cx.test(text)){
text=text.replace(cx,function(a){
return "\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4);
});
}
if(/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){
j=eval("("+text+")");
return typeof _13b==="function"?walk({"":j},""):j;
}
throw new SyntaxError("JSON.parse");
};
}
})();
OpenAjax.gadgets.util=function(){
function _13e(url){
var _13f;
var _140=url.indexOf("?");
var _141=url.indexOf("#");
if(_141===-1){
_13f=url.substr(_140+1);
}else{
_13f=[url.substr(_140+1,_141-_140-1),"&",url.substr(_141+1)].join("");
}
return _13f.split("&");
};
var _142=null;
var _143=[];
return {getUrlParameters:function(_144){
if(_142!==null&&typeof _144==="undefined"){
return _142;
}
var _145={};
var _146=_13e(_144||document.location.href);
var _147=window.decodeURIComponent?decodeURIComponent:unescape;
for(var i=0,j=_146.length;i<j;++i){
var pos=_146[i].indexOf("=");
if(pos===-1){
continue;
}
var _148=_146[i].substring(0,pos);
var _149=_146[i].substring(pos+1);
_149=_149.replace(/\+/g," ");
_145[_148]=_147(_149);
}
if(typeof _144==="undefined"){
_142=_145;
}
return _145;
},registerOnLoadHandler:function(_14a){
_143.push(_14a);
},runOnLoadHandlers:function(){
for(var i=0,j=_143.length;i<j;++i){
_143[i]();
}
},"attachBrowserEvent":function(elem,_14b,_14c,_14d){
if(elem.addEventListener){
elem.addEventListener(_14b,_14c,_14d);
}else{
if(elem.attachEvent){
elem.attachEvent("on"+_14b,_14c);
}
}
},"removeBrowserEvent":function(elem,_14e,_14f,_150){
if(elem.removeEventListener){
elem.removeEventListener(_14e,_14f,_150);
}else{
if(elem.detachEvent){
elem.detachEvent("on"+_14e,_14f);
}
}
}};
}();
OpenAjax.gadgets.util.getUrlParameters();
OpenAjax.gadgets.json=OpenAjax.gadgets.json||{};
if(!OpenAjax.gadgets.json.stringify){
OpenAjax.gadgets.json={parse:function(str){
try{
return window.JSON.parse(str);
}
catch(e){
return false;
}
},stringify:function(obj){
try{
return window.JSON.stringify(obj);
}
catch(e){
return null;
}
}};
}
OpenAjax.gadgets.log=function(_151){
OpenAjax.gadgets.log.logAtLevel(OpenAjax.gadgets.log.INFO,_151);
};
OpenAjax.gadgets.warn=function(_152){
OpenAjax.gadgets.log.logAtLevel(OpenAjax.gadgets.log.WARNING,_152);
};
OpenAjax.gadgets.error=function(_153){
OpenAjax.gadgets.log.logAtLevel(OpenAjax.gadgets.log.ERROR,_153);
};
OpenAjax.gadgets.setLogLevel=function(_154){
OpenAjax.gadgets.log.logLevelThreshold_=_154;
};
OpenAjax.gadgets.log.logAtLevel=function(_155,_156){
if(_155<OpenAjax.gadgets.log.logLevelThreshold_||!OpenAjax.gadgets.log._console){
return;
}
var _157;
var _158=OpenAjax.gadgets.log._console;
if(_155==OpenAjax.gadgets.log.WARNING&&_158.warn){
_158.warn(_156);
}else{
if(_155==OpenAjax.gadgets.log.ERROR&&_158.error){
_158.error(_156);
}else{
if(_158.log){
_158.log(_156);
}
}
}
};
OpenAjax.gadgets.log.INFO=1;
OpenAjax.gadgets.log.WARNING=2;
OpenAjax.gadgets.log.ERROR=3;
OpenAjax.gadgets.log.NONE=4;
OpenAjax.gadgets.log.logLevelThreshold_=OpenAjax.gadgets.log.INFO;
OpenAjax.gadgets.log._console=window.console?window.console:window.opera?window.opera.postError:undefined;
(function(){
if(!window.__isgadget){
var _159=false;
function _15a(){
if(!_159){
_159=true;
OpenAjax.gadgets.util.runOnLoadHandlers();
OpenAjax.gadgets.util.registerOnLoadHandler=function(_15b){
setTimeout(_15b,0);
};
if(window.detachEvent){
window.detachEvent("onload",_15a);
}
}
};
if(window.addEventListener){
document.addEventListener("DOMContentLoaded",_15a,false);
window.addEventListener("load",_15a,false);
}else{
if(window.attachEvent){
window.attachEvent("onload",_15a);
}
}
}
})();
OpenAjax.gadgets.rpctx=OpenAjax.gadgets.rpctx||{};
if(!OpenAjax.gadgets.rpctx.frameElement){
OpenAjax.gadgets.rpctx.frameElement=function(){
var _15c="__g2c_rpc";
var _15d="__c2g_rpc";
var _15e;
var _15f;
function _160(_161,from,rpc){
try{
if(from!==".."){
var fe=window.frameElement;
if(typeof fe[_15c]==="function"){
if(typeof fe[_15c][_15d]!=="function"){
fe[_15c][_15d]=function(args){
_15e(OpenAjax.gadgets.json.parse(args));
};
}
fe[_15c](OpenAjax.gadgets.json.stringify(rpc));
return;
}
}else{
var _162=document.getElementById(_161);
if(typeof _162[_15c]==="function"&&typeof _162[_15c][_15d]==="function"){
_162[_15c][_15d](OpenAjax.gadgets.json.stringify(rpc));
return;
}
}
}
catch(e){
}
return true;
};
return {getCode:function(){
return "fe";
},isParentVerifiable:function(){
return false;
},init:function(_163,_164){
_15e=_163;
_15f=_164;
return true;
},setup:function(_165,_166){
if(_165!==".."){
try{
var _167=document.getElementById(_165);
_167[_15c]=function(args){
_15e(OpenAjax.gadgets.json.parse(args));
};
}
catch(e){
return false;
}
}
if(_165===".."){
_15f("..",true);
var _168=function(){
window.setTimeout(function(){
OpenAjax.gadgets.rpc.call(_165,OpenAjax.gadgets.rpc.ACK);
},500);
};
OpenAjax.gadgets.util.registerOnLoadHandler(_168);
}
return true;
},call:function(_169,from,rpc){
_160(_169,from,rpc);
}};
}();
}
OpenAjax.gadgets.rpctx=OpenAjax.gadgets.rpctx||{};
if(!OpenAjax.gadgets.rpctx.ifpc){
OpenAjax.gadgets.rpctx.ifpc=function(){
var _16a=[];
var _16b=0;
var _16c;
var _16d=2000;
var _16e={};
function _16f(args){
var _170=[];
for(var i=0,j=args.length;i<j;++i){
_170.push(encodeURIComponent(OpenAjax.gadgets.json.stringify(args[i])));
}
return _170.join("&");
};
function _171(src){
var _172;
for(var i=_16a.length-1;i>=0;--i){
var ifr=_16a[i];
try{
if(ifr&&(ifr.recyclable||ifr.readyState==="complete")){
ifr.parentNode.removeChild(ifr);
if(window.ActiveXObject){
_16a[i]=ifr=null;
_16a.splice(i,1);
}else{
ifr.recyclable=false;
_172=ifr;
break;
}
}
}
catch(e){
}
}
if(!_172){
_172=document.createElement("iframe");
_172.style.border=_172.style.width=_172.style.height="0px";
_172.style.visibility="hidden";
_172.style.position="absolute";
_172.onload=function(){
this.recyclable=true;
};
_16a.push(_172);
}
_172.src=src;
window.setTimeout(function(){
document.body.appendChild(_172);
},0);
};
function _173(arr,_174){
for(var i=_174-1;i>=0;--i){
if(typeof arr[i]==="undefined"){
return false;
}
}
return true;
};
return {getCode:function(){
return "ifpc";
},isParentVerifiable:function(){
return true;
},init:function(_175,_176){
_16c=_176;
_16c("..",true);
return true;
},setup:function(_177,_178){
_16c(_177,true);
return true;
},call:function(_179,from,rpc){
var _17a=OpenAjax.gadgets.rpc.getRelayUrl(_179);
++_16b;
if(!_17a){
OpenAjax.gadgets.warn("No relay file assigned for IFPC");
return;
}
var src=null,_17b=[];
if(rpc.l){
var _17c=rpc.a;
src=[_17a,"#",_16f([from,_16b,1,0,_16f([from,rpc.s,"","",from].concat(_17c))])].join("");
_17b.push(src);
}else{
src=[_17a,"#",_179,"&",from,"@",_16b,"&"].join("");
var _17d=encodeURIComponent(OpenAjax.gadgets.json.stringify(rpc)),_17e=_16d-src.length,_17f=Math.ceil(_17d.length/_17e),_180=0,part;
while(_17d.length>0){
part=_17d.substring(0,_17e);
_17d=_17d.substring(_17e);
_17b.push([src,_17f,"&",_180,"&",part].join(""));
_180+=1;
}
}
do{
_171(_17b.shift());
}while(_17b.length>0);
return true;
},_receiveMessage:function(_181,_182){
var from=_181[1],_183=parseInt(_181[2],10),_184=parseInt(_181[3],10),_185=_181[_181.length-1],_186=_183===1;
if(_183>1){
if(!_16e[from]){
_16e[from]=[];
}
_16e[from][_184]=_185;
if(_173(_16e[from],_183)){
_185=_16e[from].join("");
delete _16e[from];
_186=true;
}
}
if(_186){
_182(OpenAjax.gadgets.json.parse(decodeURIComponent(_185)));
}
}};
}();
}
OpenAjax.gadgets.rpctx=OpenAjax.gadgets.rpctx||{};
if(!OpenAjax.gadgets.rpctx.rmr){
OpenAjax.gadgets.rpctx.rmr=function(){
var _187=500;
var _188=10;
var _189={};
var _18a;
var _18b;
function _18c(_18d,_18e,data,_18f){
var _190=function(){
document.body.appendChild(_18d);
_18d.src="about:blank";
if(_18f){
_18d.onload=function(){
_1a5(_18f);
};
}
_18d.src=_18e+"#"+data;
};
if(document.body){
_190();
}else{
OpenAjax.gadgets.util.registerOnLoadHandler(function(){
_190();
});
}
};
function _191(_192){
if(typeof _189[_192]==="object"){
return;
}
var _193=document.createElement("iframe");
var _194=_193.style;
_194.position="absolute";
_194.top="0px";
_194.border="0";
_194.opacity="0";
_194.width="10px";
_194.height="1px";
_193.id="rmrtransport-"+_192;
_193.name=_193.id;
var _195=OpenAjax.gadgets.rpc.getRelayUrl(_192);
if(!_195){
_195=OpenAjax.gadgets.rpc.getOrigin(OpenAjax.gadgets.util.getUrlParameters()["parent"])+"/robots.txt";
}
_189[_192]={frame:_193,receiveWindow:null,relayUri:_195,searchCounter:0,width:10,waiting:true,queue:[],sendId:0,recvId:0};
if(_192!==".."){
_18c(_193,_195,_196(_192));
}
_197(_192);
};
function _197(_198){
var _199=null;
_189[_198].searchCounter++;
try{
var _19a=OpenAjax.gadgets.rpc._getTargetWin(_198);
if(_198===".."){
_199=_19a.frames["rmrtransport-"+OpenAjax.gadgets.rpc.RPC_ID];
}else{
_199=_19a.frames["rmrtransport-.."];
}
}
catch(e){
}
var _19b=false;
if(_199){
_19b=_19c(_198,_199);
}
if(!_19b){
if(_189[_198].searchCounter>_188){
return;
}
window.setTimeout(function(){
_197(_198);
},_187);
}
};
function _19d(_19e,_19f,from,rpc){
var _1a0=null;
if(from!==".."){
_1a0=_189[".."];
}else{
_1a0=_189[_19e];
}
if(_1a0){
if(_19f!==OpenAjax.gadgets.rpc.ACK){
_1a0.queue.push(rpc);
}
if(_1a0.waiting||(_1a0.queue.length===0&&!(_19f===OpenAjax.gadgets.rpc.ACK&&rpc&&rpc.ackAlone===true))){
return true;
}
if(_1a0.queue.length>0){
_1a0.waiting=true;
}
var url=_1a0.relayUri+"#"+_196(_19e);
try{
_1a0.frame.contentWindow.location=url;
var _1a1=_1a0.width==10?20:10;
_1a0.frame.style.width=_1a1+"px";
_1a0.width=_1a1;
}
catch(e){
return false;
}
}
return true;
};
function _196(_1a2){
var _1a3=_189[_1a2];
var _1a4={id:_1a3.sendId};
if(_1a3){
_1a4.d=Array.prototype.slice.call(_1a3.queue,0);
_1a4.d.push({s:OpenAjax.gadgets.rpc.ACK,id:_1a3.recvId});
}
return OpenAjax.gadgets.json.stringify(_1a4);
};
function _1a5(_1a6){
var _1a7=_189[_1a6];
var data=_1a7.receiveWindow.location.hash.substring(1);
var _1a8=OpenAjax.gadgets.json.parse(decodeURIComponent(data))||{};
var _1a9=_1a8.d||[];
var _1aa=false;
var _1ab=false;
var _1ac=0;
var _1ad=(_1a7.recvId-_1a8.id);
for(var i=0;i<_1a9.length;++i){
var rpc=_1a9[i];
if(rpc.s===OpenAjax.gadgets.rpc.ACK){
_18b(_1a6,true);
if(_1a7.waiting){
_1ab=true;
}
_1a7.waiting=false;
var _1ae=Math.max(0,rpc.id-_1a7.sendId);
_1a7.queue.splice(0,_1ae);
_1a7.sendId=Math.max(_1a7.sendId,rpc.id||0);
continue;
}
_1aa=true;
if(++_1ac<=_1ad){
continue;
}
++_1a7.recvId;
_18a(rpc);
}
if(_1aa||(_1ab&&_1a7.queue.length>0)){
var from=(_1a6==="..")?OpenAjax.gadgets.rpc.RPC_ID:"..";
_19d(_1a6,OpenAjax.gadgets.rpc.ACK,from,{ackAlone:_1aa});
}
};
function _19c(_1af,_1b0){
var _1b1=_189[_1af];
try{
var _1b2=false;
_1b2="document" in _1b0;
if(!_1b2){
return false;
}
_1b2=typeof _1b0["document"]=="object";
if(!_1b2){
return false;
}
var loc=_1b0.location.href;
if(loc==="about:blank"){
return false;
}
}
catch(ex){
return false;
}
_1b1.receiveWindow=_1b0;
function _1b3(){
_1a5(_1af);
};
if(typeof _1b0.attachEvent==="undefined"){
_1b0.onresize=_1b3;
}else{
_1b0.attachEvent("onresize",_1b3);
}
if(_1af===".."){
_18c(_1b1.frame,_1b1.relayUri,_196(_1af),_1af);
}else{
_1a5(_1af);
}
return true;
};
return {getCode:function(){
return "rmr";
},isParentVerifiable:function(){
return true;
},init:function(_1b4,_1b5){
_18a=_1b4;
_18b=_1b5;
return true;
},setup:function(_1b6,_1b7){
try{
_191(_1b6);
}
catch(e){
OpenAjax.gadgets.warn("Caught exception setting up RMR: "+e);
return false;
}
return true;
},call:function(_1b8,from,rpc){
return _19d(_1b8,rpc.s,from,rpc);
}};
}();
}
OpenAjax.gadgets.rpctx=OpenAjax.gadgets.rpctx||{};
if(!OpenAjax.gadgets.rpctx.wpm){
OpenAjax.gadgets.rpctx.wpm=function(){
var _1b9,_1ba;
var _1bb;
var _1bc=false;
var _1bd=false;
function _1be(){
var hit=false;
function _1bf(_1c0){
if(_1c0.data=="postmessage.test"){
hit=true;
if(typeof _1c0.origin==="undefined"){
_1bd=true;
}
}
};
OpenAjax.gadgets.util.attachBrowserEvent(window,"message",_1bf,false);
window.postMessage("postmessage.test","*");
if(hit){
_1bc=true;
}
OpenAjax.gadgets.util.removeBrowserEvent(window,"message",_1bf,false);
};
function _1c1(_1c2){
var rpc=OpenAjax.gadgets.json.parse(_1c2.data);
if(!rpc||!rpc.f){
return;
}
var _1c3=OpenAjax.gadgets.rpc.getRelayUrl(rpc.f)||OpenAjax.gadgets.util.getUrlParameters()["parent"];
var _1c4=OpenAjax.gadgets.rpc.getOrigin(_1c3);
if(!_1bd?_1c2.origin!==_1c4:_1c2.domain!==/^.+:\/\/([^:]+).*/.exec(_1c4)[1]){
return;
}
_1b9(rpc);
};
return {getCode:function(){
return "wpm";
},isParentVerifiable:function(){
return true;
},init:function(_1c5,_1c6){
_1b9=_1c5;
_1ba=_1c6;
_1be();
if(!_1bc){
_1bb=function(win,msg,_1c7){
win.postMessage(msg,_1c7);
};
}else{
_1bb=function(win,msg,_1c8){
window.setTimeout(function(){
win.postMessage(msg,_1c8);
},0);
};
}
OpenAjax.gadgets.util.attachBrowserEvent(window,"message",_1c1,false);
_1ba("..",true);
return true;
},setup:function(_1c9,_1ca,_1cb){
if(_1c9===".."){
if(_1cb){
OpenAjax.gadgets.rpc._createRelayIframe(_1ca);
}else{
OpenAjax.gadgets.rpc.call(_1c9,OpenAjax.gadgets.rpc.ACK);
}
}
return true;
},call:function(_1cc,from,rpc){
var _1cd=OpenAjax.gadgets.rpc._getTargetWin(_1cc);
var _1ce=OpenAjax.gadgets.rpc.getRelayUrl(_1cc)||OpenAjax.gadgets.util.getUrlParameters()["parent"];
var _1cf=OpenAjax.gadgets.rpc.getOrigin(_1ce);
if(_1cf){
_1bb(_1cd,OpenAjax.gadgets.json.stringify(rpc),_1cf);
}else{
OpenAjax.gadgets.error("No relay set (used as window.postMessage targetOrigin)"+", cannot send cross-domain message");
}
return true;
},relayOnload:function(_1d0,data){
_1ba(_1d0,true);
}};
}();
}
if(!OpenAjax.gadgets.rpc){
OpenAjax.gadgets.rpc=function(){
var _1d1="__cb";
var _1d2="";
var ACK="__ack";
var _1d3=500;
var _1d4=10;
var _1d5={};
var _1d6={};
var _1d7={};
var _1d8={};
var _1d9=0;
var _1da={};
var _1db={};
var _1dc={};
var _1dd={};
var _1de={};
var _1df={};
var _1e0=(window.top!==window.self);
var _1e1=window.name;
var _1e2=function(){
};
var _1e3=0;
var _1e4=1;
var _1e5=2;
var _1e6=(function(){
function _1e7(name){
return function(){
OpenAjax.gadgets.log("gadgets.rpc."+name+"("+OpenAjax.gadgets.json.stringify(Array.prototype.slice.call(arguments))+"): call ignored. [caller: "+document.location+", isChild: "+_1e0+"]");
};
};
return {getCode:function(){
return "noop";
},isParentVerifiable:function(){
return true;
},init:_1e7("init"),setup:_1e7("setup"),call:_1e7("call")};
})();
if(OpenAjax.gadgets.util){
_1dd=OpenAjax.gadgets.util.getUrlParameters();
}
function _1e8(){
return typeof window.postMessage==="function"?OpenAjax.gadgets.rpctx.wpm:typeof window.postMessage==="object"?OpenAjax.gadgets.rpctx.wpm:navigator.userAgent.indexOf("WebKit")>0?OpenAjax.gadgets.rpctx.rmr:navigator.product==="Gecko"?OpenAjax.gadgets.rpctx.frameElement:OpenAjax.gadgets.rpctx.ifpc;
};
function _1e9(_1ea,_1eb){
var tx=_1ec;
if(!_1eb){
tx=_1e6;
}
_1de[_1ea]=tx;
var _1ed=_1df[_1ea]||[];
for(var i=0;i<_1ed.length;++i){
var rpc=_1ed[i];
rpc.t=_1ee(_1ea);
tx.call(_1ea,rpc.f,rpc);
}
_1df[_1ea]=[];
};
var _1ef=false,_1f0=false;
function _1f1(){
if(_1f0){
return;
}
function _1f2(){
_1ef=true;
};
OpenAjax.gadgets.util.attachBrowserEvent(window,"unload",_1f2,false);
_1f0=true;
};
function _1f3(_1f4,_1f5,_1f6,data,_1f7){
if(!_1d8[_1f5]||_1d8[_1f5]!==_1f6){
OpenAjax.gadgets.error("Invalid auth token. "+_1d8[_1f5]+" vs "+_1f6);
_1e2(_1f5,_1e5);
}
_1f7.onunload=function(){
if(_1db[_1f5]&&!_1ef){
_1e2(_1f5,_1e4);
OpenAjax.gadgets.rpc.removeReceiver(_1f5);
}
};
_1f1();
data=OpenAjax.gadgets.json.parse(decodeURIComponent(data));
_1ec.relayOnload(_1f5,data);
};
function _1f8(rpc){
if(rpc&&typeof rpc.s==="string"&&typeof rpc.f==="string"&&rpc.a instanceof Array){
if(_1d8[rpc.f]){
if(_1d8[rpc.f]!==rpc.t){
OpenAjax.gadgets.error("Invalid auth token. "+_1d8[rpc.f]+" vs "+rpc.t);
_1e2(rpc.f,_1e5);
}
}
if(rpc.s===ACK){
window.setTimeout(function(){
_1e9(rpc.f,true);
},0);
return;
}
if(rpc.c){
rpc.callback=function(_1f9){
OpenAjax.gadgets.rpc.call(rpc.f,_1d1,null,rpc.c,_1f9);
};
}
var _1fa=(_1d5[rpc.s]||_1d5[_1d2]).apply(rpc,rpc.a);
if(rpc.c&&typeof _1fa!=="undefined"){
OpenAjax.gadgets.rpc.call(rpc.f,_1d1,null,rpc.c,_1fa);
}
}
};
function _1fb(url){
if(!url){
return "";
}
url=url.toLowerCase();
if(url.indexOf("//")==0){
url=window.location.protocol+url;
}
if(url.indexOf("://")==-1){
url=window.location.protocol+"//"+url;
}
var host=url.substring(url.indexOf("://")+3);
var _1fc=host.indexOf("/");
if(_1fc!=-1){
host=host.substring(0,_1fc);
}
var _1fd=url.substring(0,url.indexOf("://"));
var _1fe="";
var _1ff=host.indexOf(":");
if(_1ff!=-1){
var port=host.substring(_1ff+1);
host=host.substring(0,_1ff);
if((_1fd==="http"&&port!=="80")||(_1fd==="https"&&port!=="443")){
_1fe=":"+port;
}
}
return _1fd+"://"+host+_1fe;
};
function _200(id){
if(typeof id==="undefined"||id===".."){
return window.parent;
}
id=String(id);
var _201=window.frames[id];
if(_201){
return _201;
}
_201=document.getElementById(id);
if(_201&&_201.contentWindow){
return _201.contentWindow;
}
return null;
};
var _1ec=_1e8();
_1d5[_1d2]=function(){
OpenAjax.gadgets.warn("Unknown RPC service: "+this.s);
};
_1d5[_1d1]=function(_202,_203){
var _204=_1da[_202];
if(_204){
delete _1da[_202];
_204(_203);
}
};
function _205(_206,_207,_208){
if(_1db[_206]===true){
return;
}
if(typeof _1db[_206]==="undefined"){
_1db[_206]=0;
}
var _209=document.getElementById(_206);
if(_206===".."||_209!=null){
if(_1ec.setup(_206,_207,_208)===true){
_1db[_206]=true;
return;
}
}
if(_1db[_206]!==true&&_1db[_206]++<_1d4){
window.setTimeout(function(){
_205(_206,_207,_208);
},_1d3);
}else{
_1de[_206]=_1e6;
_1db[_206]=true;
}
};
function _20a(_20b,rpc){
if(typeof _1dc[_20b]==="undefined"){
_1dc[_20b]=false;
var _20c=OpenAjax.gadgets.rpc.getRelayUrl(_20b);
if(_1fb(_20c)!==_1fb(window.location.href)){
return false;
}
var _20d=_200(_20b);
try{
_1dc[_20b]=_20d.OpenAjax.gadgets.rpc.receiveSameDomain;
}
catch(e){
OpenAjax.gadgets.error("Same domain call failed: parent= incorrectly set.");
}
}
if(typeof _1dc[_20b]==="function"){
_1dc[_20b](rpc);
return true;
}
return false;
};
function _20e(_20f,url,_210){
if(!/http(s)?:\/\/.+/.test(url)){
if(url.indexOf("//")==0){
url=window.location.protocol+url;
}else{
if(url.charAt(0)=="/"){
url=window.location.protocol+"//"+window.location.host+url;
}else{
if(url.indexOf("://")==-1){
url=window.location.protocol+"//"+url;
}
}
}
}
_1d6[_20f]=url;
_1d7[_20f]=!!_210;
};
function _1ee(_211){
return _1d8[_211];
};
function _212(_213,_214,_215){
_214=_214||"";
_1d8[_213]=String(_214);
_205(_213,_214,_215);
};
function _216(_217,_218){
function init(_219){
var _21a=_219?_219.rpc:{};
var _21b=_21a.parentRelayUrl;
if(_21b.substring(0,7)!=="http://"&&_21b.substring(0,8)!=="https://"&&_21b.substring(0,2)!=="//"){
if(typeof _1dd.parent==="string"&&_1dd.parent!==""){
if(_21b.substring(0,1)!=="/"){
var _21c=_1dd.parent.lastIndexOf("/");
_21b=_1dd.parent.substring(0,_21c+1)+_21b;
}else{
_21b=_1fb(_1dd.parent)+_21b;
}
}
}
var _21d=!!_21a.useLegacyProtocol;
_20e("..",_21b,_21d);
if(_21d){
_1ec=OpenAjax.gadgets.rpctx.ifpc;
_1ec.init(_1f8,_1e9);
}
var _21e=_218||_1dd.forcesecure||false;
_212("..",_217,_21e);
};
var _21f={parentRelayUrl:OpenAjax.gadgets.config.NonEmptyStringValidator};
OpenAjax.gadgets.config.register("rpc",_21f,init);
};
function _220(_221,_222,_223){
var _224=_223||_1dd.forcesecure||false;
var _225=_222||_1dd.parent;
if(_225){
_20e("..",_225);
_212("..",_221,_224);
}
};
function _226(_227,_228,_229,_22a){
if(!OpenAjax.gadgets.util){
return;
}
var _22b=document.getElementById(_227);
if(!_22b){
throw new Error("Cannot set up gadgets.rpc receiver with ID: "+_227+", element not found.");
}
var _22c=_228||_22b.src;
_20e(_227,_22c);
var _22d=OpenAjax.gadgets.util.getUrlParameters(_22b.src);
var _22e=_229||_22d.rpctoken;
var _22f=_22a||_22d.forcesecure;
_212(_227,_22e,_22f);
};
function _230(_231,_232,_233,_234){
if(_231===".."){
var _235=_233||_1dd.rpctoken||_1dd.ifpctok||"";
if(window["__isgadget"]===true){
_216(_235,_234);
}else{
_220(_235,_232,_234);
}
}else{
_226(_231,_232,_233,_234);
}
};
return {config:function(_236){
if(typeof _236.securityCallback==="function"){
_1e2=_236.securityCallback;
}
},register:function(_237,_238){
if(_237===_1d1||_237===ACK){
throw new Error("Cannot overwrite callback/ack service");
}
if(_237===_1d2){
throw new Error("Cannot overwrite default service:"+" use registerDefault");
}
_1d5[_237]=_238;
},unregister:function(_239){
if(_239===_1d1||_239===ACK){
throw new Error("Cannot delete callback/ack service");
}
if(_239===_1d2){
throw new Error("Cannot delete default service:"+" use unregisterDefault");
}
delete _1d5[_239];
},registerDefault:function(_23a){
_1d5[_1d2]=_23a;
},unregisterDefault:function(){
delete _1d5[_1d2];
},forceParentVerifiable:function(){
if(!_1ec.isParentVerifiable()){
_1ec=OpenAjax.gadgets.rpctx.ifpc;
}
},call:function(_23b,_23c,_23d,_23e){
_23b=_23b||"..";
var from="..";
if(_23b===".."){
from=_1e1;
}
++_1d9;
if(_23d){
_1da[_1d9]=_23d;
}
var rpc={s:_23c,f:from,c:_23d?_1d9:0,a:Array.prototype.slice.call(arguments,3),t:_1d8[_23b],l:_1d7[_23b]};
if(_23b!==".."&&!document.getElementById(_23b)){
OpenAjax.gadgets.log("WARNING: attempted send to nonexistent frame: "+_23b);
return;
}
if(_20a(_23b,rpc)){
return;
}
var _23f=_1de[_23b];
if(!_23f){
if(!_1df[_23b]){
_1df[_23b]=[rpc];
}else{
_1df[_23b].push(rpc);
}
return;
}
if(_1d7[_23b]){
_23f=OpenAjax.gadgets.rpctx.ifpc;
}
if(_23f.call(_23b,from,rpc)===false){
_1de[_23b]=_1e6;
_1ec.call(_23b,from,rpc);
}
},getRelayUrl:function(_240){
var url=_1d6[_240];
if(url&&url.substring(0,1)==="/"){
if(url.substring(1,2)==="/"){
url=document.location.protocol+url;
}else{
url=document.location.protocol+"//"+document.location.host+url;
}
}
return url;
},setRelayUrl:_20e,setAuthToken:_212,setupReceiver:_230,getAuthToken:_1ee,removeReceiver:function(_241){
delete _1d6[_241];
delete _1d7[_241];
delete _1d8[_241];
delete _1db[_241];
delete _1dc[_241];
delete _1de[_241];
},getRelayChannel:function(){
return _1ec.getCode();
},receive:function(_242,_243){
if(_242.length>4){
_1ec._receiveMessage(_242,_1f8);
}else{
_1f3.apply(null,_242.concat(_243));
}
},receiveSameDomain:function(rpc){
rpc.a=Array.prototype.slice.call(rpc.a);
window.setTimeout(function(){
_1f8(rpc);
},0);
},getOrigin:_1fb,getReceiverOrigin:function(_244){
var _245=_1de[_244];
if(!_245){
return null;
}
if(!_245.isParentVerifiable(_244)){
return null;
}
var _246=OpenAjax.gadgets.rpc.getRelayUrl(_244)||OpenAjax.gadgets.util.getUrlParameters().parent;
return OpenAjax.gadgets.rpc.getOrigin(_246);
},init:function(){
if(_1ec.init(_1f8,_1e9)===false){
_1ec=_1e6;
}
if(_1e0){
_230("..");
}
},_getTargetWin:_200,_createRelayIframe:function(_247,data){
var _248=OpenAjax.gadgets.rpc.getRelayUrl("..");
if(!_248){
return;
}
var src=_248+"#..&"+_1e1+"&"+_247+"&"+encodeURIComponent(OpenAjax.gadgets.json.stringify(data));
var _249=document.createElement("iframe");
_249.style.border=_249.style.width=_249.style.height="0px";
_249.style.visibility="hidden";
_249.style.position="absolute";
function _24a(){
document.body.appendChild(_249);
_249.src="javascript:\"<html></html>\"";
_249.src=src;
};
if(document.body){
_24a();
}else{
OpenAjax.gadgets.util.registerOnLoadHandler(function(){
_24a();
});
}
return _249;
},ACK:ACK,RPC_ID:_1e1,SEC_ERROR_LOAD_TIMEOUT:_1e3,SEC_ERROR_FRAME_PHISH:_1e4,SEC_ERROR_FORGED_MSG:_1e5};
}();
OpenAjax.gadgets.rpc.init();
}


}catch(e){console.log("Module 'mm_open_ajax_hub': ",e);}
try{/*
	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
*/

//>>built
require({cache:{"dojox/data/dom":function(){define("dojox/data/dom",["dojo/_base/kernel","dojo/_base/lang","dojox/xml/parser"],function(_1,_2,_3){dojo.deprecated("dojox.data.dom","Use dojox.xml.parser instead.","2.0");var _4=_2.getObject("dojox.data.dom",true);_4.createDocument=function(_5,_6){dojo.deprecated("dojox.data.dom.createDocument()","Use dojox.xml.parser.parse() instead.","2.0");try{return _3.parse(_5,_6);}catch(e){return null;}};_4.textContent=function(_7,_8){dojo.deprecated("dojox.data.dom.textContent()","Use dojox.xml.parser.textContent() instead.","2.0");if(arguments.length>1){return _3.textContent(_7,_8);}else{return _3.textContent(_7);}};_4.replaceChildren=function(_9,_a){dojo.deprecated("dojox.data.dom.replaceChildren()","Use dojox.xml.parser.replaceChildren() instead.","2.0");_3.replaceChildren(_9,_a);};_4.removeChildren=function(_b){dojo.deprecated("dojox.data.dom.removeChildren()","Use dojox.xml.parser.removeChildren() instead.","2.0");return dojox.xml.parser.removeChildren(_b);};_4.innerXML=function(_c){dojo.deprecated("dojox.data.dom.innerXML()","Use dojox.xml.parser.innerXML() instead.","2.0");return _3.innerXML(_c);};return _4;});},"dojox/xml/parser":function(){define("dojox/xml/parser",["dojo/_base/kernel","dojo/_base/lang","dojo/_base/array","dojo/_base/window","dojo/_base/sniff"],function(_d){_d.getObject("xml.parser",true,dojox);dojox.xml.parser.parse=function(_e,_f){var _10=_d.doc;var doc;_f=_f||"text/xml";if(_e&&_d.trim(_e)&&"DOMParser" in _d.global){var _11=new DOMParser();doc=_11.parseFromString(_e,_f);var de=doc.documentElement;var _12="http://www.mozilla.org/newlayout/xml/parsererror.xml";if(de.nodeName=="parsererror"&&de.namespaceURI==_12){var _13=de.getElementsByTagNameNS(_12,"sourcetext")[0];if(_13){_13=_13.firstChild.data;}throw new Error("Error parsing text "+de.firstChild.data+" \n"+_13);}return doc;}else{if("ActiveXObject" in _d.global){var ms=function(n){return "MSXML"+n+".DOMDocument";};var dp=["Microsoft.XMLDOM",ms(6),ms(4),ms(3),ms(2)];_d.some(dp,function(p){try{doc=new ActiveXObject(p);}catch(e){return false;}return true;});if(_e&&doc){doc.async=false;doc.loadXML(_e);var pe=doc.parseError;if(pe.errorCode!==0){throw new Error("Line: "+pe.line+"\n"+"Col: "+pe.linepos+"\n"+"Reason: "+pe.reason+"\n"+"Error Code: "+pe.errorCode+"\n"+"Source: "+pe.srcText);}}if(doc){return doc;}}else{if(_10.implementation&&_10.implementation.createDocument){if(_e&&_d.trim(_e)&&_10.createElement){var tmp=_10.createElement("xml");tmp.innerHTML=_e;var _14=_10.implementation.createDocument("foo","",null);_d.forEach(tmp.childNodes,function(_15){_14.importNode(_15,true);});return _14;}else{return _10.implementation.createDocument("","",null);}}}}return null;};dojox.xml.parser.textContent=function(_16,_17){if(arguments.length>1){var _18=_16.ownerDocument||_d.doc;dojox.xml.parser.replaceChildren(_16,_18.createTextNode(_17));return _17;}else{if(_16.textContent!==undefined){return _16.textContent;}var _19="";if(_16){_d.forEach(_16.childNodes,function(_1a){switch(_1a.nodeType){case 1:case 5:_19+=dojox.xml.parser.textContent(_1a);break;case 3:case 2:case 4:_19+=_1a.nodeValue;}});}return _19;}};dojox.xml.parser.replaceChildren=function(_1b,_1c){var _1d=[];if(_d.isIE){_d.forEach(_1b.childNodes,function(_1e){_1d.push(_1e);});}dojox.xml.parser.removeChildren(_1b);_d.forEach(_1d,_d.destroy);if(!_d.isArray(_1c)){_1b.appendChild(_1c);}else{_d.forEach(_1c,function(_1f){_1b.appendChild(_1f);});}};dojox.xml.parser.removeChildren=function(_20){var _21=_20.childNodes.length;while(_20.hasChildNodes()){_20.removeChild(_20.firstChild);}return _21;};dojox.xml.parser.innerXML=function(_22){if(_22.innerXML){return _22.innerXML;}else{if(_22.xml){return _22.xml;}else{if(typeof XMLSerializer!="undefined"){return (new XMLSerializer()).serializeToString(_22);}}}return null;};return dojox.xml.parser;});},"*noref":1}});define("dojox/_dojox_xml",[],1);require(["dojox/data/dom","dojox/xml/parser"]);
}catch(e){console.log("Module 'dojox_xml_17': ",e);}
try{/*
	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
*/

//>>built
require({cache:{"dojo/dnd/autoscroll":function(){define("dojo/dnd/autoscroll",["../main","../window"],function(_1){_1.getObject("dnd",true,_1);_1.dnd.getViewport=_1.window.getBox;_1.dnd.V_TRIGGER_AUTOSCROLL=32;_1.dnd.H_TRIGGER_AUTOSCROLL=32;_1.dnd.V_AUTOSCROLL_VALUE=16;_1.dnd.H_AUTOSCROLL_VALUE=16;_1.dnd.autoScroll=function(e){var v=_1.window.getBox(),dx=0,dy=0;if(e.clientX<_1.dnd.H_TRIGGER_AUTOSCROLL){dx=-_1.dnd.H_AUTOSCROLL_VALUE;}else{if(e.clientX>v.w-_1.dnd.H_TRIGGER_AUTOSCROLL){dx=_1.dnd.H_AUTOSCROLL_VALUE;}}if(e.clientY<_1.dnd.V_TRIGGER_AUTOSCROLL){dy=-_1.dnd.V_AUTOSCROLL_VALUE;}else{if(e.clientY>v.h-_1.dnd.V_TRIGGER_AUTOSCROLL){dy=_1.dnd.V_AUTOSCROLL_VALUE;}}window.scrollBy(dx,dy);};_1.dnd._validNodes={"div":1,"p":1,"td":1};_1.dnd._validOverflow={"auto":1,"scroll":1};_1.dnd.autoScrollNodes=function(e){var b,t,w,h,rx,ry,dx=0,dy=0,_2,_3;for(var n=e.target;n;){if(n.nodeType==1&&(n.tagName.toLowerCase() in _1.dnd._validNodes)){var s=_1.getComputedStyle(n),_4=(s.overflow.toLowerCase() in _1.dnd._validOverflow),_5=(s.overflowX.toLowerCase() in _1.dnd._validOverflow),_6=(s.overflowY.toLowerCase() in _1.dnd._validOverflow);if(_4||_5||_6){b=_1._getContentBox(n,s);t=_1.position(n,true);}if(_4||_5){w=Math.min(_1.dnd.H_TRIGGER_AUTOSCROLL,b.w/2);rx=e.pageX-t.x;if(_1.isWebKit||_1.isOpera){rx+=_1.body().scrollLeft;}dx=0;if(rx>0&&rx<b.w){if(rx<w){dx=-w;}else{if(rx>b.w-w){dx=w;}}_2=n.scrollLeft;n.scrollLeft=n.scrollLeft+dx;}}if(_4||_6){h=Math.min(_1.dnd.V_TRIGGER_AUTOSCROLL,b.h/2);ry=e.pageY-t.y;if(_1.isWebKit||_1.isOpera){ry+=_1.body().scrollTop;}dy=0;if(ry>0&&ry<b.h){if(ry<h){dy=-h;}else{if(ry>b.h-h){dy=h;}}_3=n.scrollTop;n.scrollTop=n.scrollTop+dy;}}if(dx||dy){return;}}try{n=n.parentNode;}catch(x){n=null;}}_1.dnd.autoScroll(e);};return _1.dnd;});},"dojo/dnd/Target":function(){define("dojo/dnd/Target",["./Source"],function(_7){return dojo.declare("dojo.dnd.Target",_7,{constructor:function(_8,_9){this.isSource=false;dojo.removeClass(this.node,"dojoDndSource");}});});},"dojo/dnd/common":function(){define("dojo/dnd/common",["../main"],function(_a){_a.getObject("dnd",true,_a);_a.dnd.getCopyKeyState=_a.isCopyKey;_a.dnd._uniqueId=0;_a.dnd.getUniqueId=function(){var id;do{id=_a._scopeName+"Unique"+(++_a.dnd._uniqueId);}while(_a.byId(id));return id;};_a.dnd._empty={};_a.dnd.isFormElement=function(e){var t=e.target;if(t.nodeType==3){t=t.parentNode;}return " button textarea input select option ".indexOf(" "+t.tagName.toLowerCase()+" ")>=0;};return _a.dnd;});},"dojo/dnd/Selector":function(){define("dojo/dnd/Selector",["../main","./common","./Container"],function(_b){_b.declare("dojo.dnd.Selector",_b.dnd.Container,{constructor:function(_c,_d){if(!_d){_d={};}this.singular=_d.singular;this.autoSync=_d.autoSync;this.selection={};this.anchor=null;this.simpleSelection=false;this.events.push(_b.connect(this.node,"onmousedown",this,"onMouseDown"),_b.connect(this.node,"onmouseup",this,"onMouseUp"));},singular:false,getSelectedNodes:function(){var t=new _b.NodeList();var e=_b.dnd._empty;for(var i in this.selection){if(i in e){continue;}t.push(_b.byId(i));}return t;},selectNone:function(){return this._removeSelection()._removeAnchor();},selectAll:function(){this.forInItems(function(_e,id){this._addItemClass(_b.byId(id),"Selected");this.selection[id]=1;},this);return this._removeAnchor();},deleteSelectedNodes:function(){var e=_b.dnd._empty;for(var i in this.selection){if(i in e){continue;}var n=_b.byId(i);this.delItem(i);_b.destroy(n);}this.anchor=null;this.selection={};return this;},forInSelectedItems:function(f,o){o=o||_b.global;var s=this.selection,e=_b.dnd._empty;for(var i in s){if(i in e){continue;}f.call(o,this.getItem(i),i,this);}},sync:function(){_b.dnd.Selector.superclass.sync.call(this);if(this.anchor){if(!this.getItem(this.anchor.id)){this.anchor=null;}}var t=[],e=_b.dnd._empty;for(var i in this.selection){if(i in e){continue;}if(!this.getItem(i)){t.push(i);}}_b.forEach(t,function(i){delete this.selection[i];},this);return this;},insertNodes:function(_f,_10,_11,_12){var _13=this._normalizedCreator;this._normalizedCreator=function(_14,_15){var t=_13.call(this,_14,_15);if(_f){if(!this.anchor){this.anchor=t.node;this._removeItemClass(t.node,"Selected");this._addItemClass(this.anchor,"Anchor");}else{if(this.anchor!=t.node){this._removeItemClass(t.node,"Anchor");this._addItemClass(t.node,"Selected");}}this.selection[t.node.id]=1;}else{this._removeItemClass(t.node,"Selected");this._removeItemClass(t.node,"Anchor");}return t;};_b.dnd.Selector.superclass.insertNodes.call(this,_10,_11,_12);this._normalizedCreator=_13;return this;},destroy:function(){_b.dnd.Selector.superclass.destroy.call(this);this.selection=this.anchor=null;},onMouseDown:function(e){if(this.autoSync){this.sync();}if(!this.current){return;}if(!this.singular&&!_b.isCopyKey(e)&&!e.shiftKey&&(this.current.id in this.selection)){this.simpleSelection=true;if(e.button===_b.mouseButtons.LEFT){_b.stopEvent(e);}return;}if(!this.singular&&e.shiftKey){if(!_b.isCopyKey(e)){this._removeSelection();}var c=this.getAllNodes();if(c.length){if(!this.anchor){this.anchor=c[0];this._addItemClass(this.anchor,"Anchor");}this.selection[this.anchor.id]=1;if(this.anchor!=this.current){var i=0;for(;i<c.length;++i){var _16=c[i];if(_16==this.anchor||_16==this.current){break;}}for(++i;i<c.length;++i){var _16=c[i];if(_16==this.anchor||_16==this.current){break;}this._addItemClass(_16,"Selected");this.selection[_16.id]=1;}this._addItemClass(this.current,"Selected");this.selection[this.current.id]=1;}}}else{if(this.singular){if(this.anchor==this.current){if(_b.isCopyKey(e)){this.selectNone();}}else{this.selectNone();this.anchor=this.current;this._addItemClass(this.anchor,"Anchor");this.selection[this.current.id]=1;}}else{if(_b.isCopyKey(e)){if(this.anchor==this.current){delete this.selection[this.anchor.id];this._removeAnchor();}else{if(this.current.id in this.selection){this._removeItemClass(this.current,"Selected");delete this.selection[this.current.id];}else{if(this.anchor){this._removeItemClass(this.anchor,"Anchor");this._addItemClass(this.anchor,"Selected");}this.anchor=this.current;this._addItemClass(this.current,"Anchor");this.selection[this.current.id]=1;}}}else{if(!(this.current.id in this.selection)){this.selectNone();this.anchor=this.current;this._addItemClass(this.current,"Anchor");this.selection[this.current.id]=1;}}}}_b.stopEvent(e);},onMouseUp:function(e){if(!this.simpleSelection){return;}this.simpleSelection=false;this.selectNone();if(this.current){this.anchor=this.current;this._addItemClass(this.anchor,"Anchor");this.selection[this.current.id]=1;}},onMouseMove:function(e){this.simpleSelection=false;},onOverEvent:function(){this.onmousemoveEvent=_b.connect(this.node,"onmousemove",this,"onMouseMove");},onOutEvent:function(){_b.disconnect(this.onmousemoveEvent);delete this.onmousemoveEvent;},_removeSelection:function(){var e=_b.dnd._empty;for(var i in this.selection){if(i in e){continue;}var _17=_b.byId(i);if(_17){this._removeItemClass(_17,"Selected");}}this.selection={};return this;},_removeAnchor:function(){if(this.anchor){this._removeItemClass(this.anchor,"Anchor");this.anchor=null;}return this;}});return _b.dnd.Selector;});},"dojo/dnd/AutoSource":function(){define("dojo/dnd/AutoSource",["./Source"],function(_18){return dojo.declare("dojo.dnd.AutoSource",_18,{constructor:function(_19,_1a){this.autoSync=true;}});});},"dojo/dnd/Source":function(){define("dojo/dnd/Source",["../main","./Selector","./Manager"],function(_1b,_1c,_1d){if(!_1b.isAsync){_1b.ready(0,function(){var _1e=["dojo/dnd/AutoSource","dojo/dnd/Target"];require(_1e);});}return _1b.declare("dojo.dnd.Source",_1c,{isSource:true,horizontal:false,copyOnly:false,selfCopy:false,selfAccept:true,skipForm:false,withHandles:false,autoSync:false,delay:0,accept:["text"],generateText:true,constructor:function(_1f,_20){_1b.mixin(this,_1b.mixin({},_20));var _21=this.accept;if(_21.length){this.accept={};for(var i=0;i<_21.length;++i){this.accept[_21[i]]=1;}}this.isDragging=false;this.mouseDown=false;this.targetAnchor=null;this.targetBox=null;this.before=true;this._lastX=0;this._lastY=0;this.sourceState="";if(this.isSource){_1b.addClass(this.node,"dojoDndSource");}this.targetState="";if(this.accept){_1b.addClass(this.node,"dojoDndTarget");}if(this.horizontal){_1b.addClass(this.node,"dojoDndHorizontal");}this.topics=[_1b.subscribe("/dnd/source/over",this,"onDndSourceOver"),_1b.subscribe("/dnd/start",this,"onDndStart"),_1b.subscribe("/dnd/drop",this,"onDndDrop"),_1b.subscribe("/dnd/cancel",this,"onDndCancel")];},checkAcceptance:function(_22,_23){if(this==_22){return !this.copyOnly||this.selfAccept;}for(var i=0;i<_23.length;++i){var _24=_22.getItem(_23[i].id).type;var _25=false;for(var j=0;j<_24.length;++j){if(_24[j] in this.accept){_25=true;break;}}if(!_25){return false;}}return true;},copyState:function(_26,_27){if(_26){return true;}if(arguments.length<2){_27=this==_1d.manager().target;}if(_27){if(this.copyOnly){return this.selfCopy;}}else{return this.copyOnly;}return false;},destroy:function(){_1b.dnd.Source.superclass.destroy.call(this);_1b.forEach(this.topics,_1b.unsubscribe);this.targetAnchor=null;},onMouseMove:function(e){if(this.isDragging&&this.targetState=="Disabled"){return;}_1b.dnd.Source.superclass.onMouseMove.call(this,e);var m=_1d.manager();if(!this.isDragging){if(this.mouseDown&&this.isSource&&(Math.abs(e.pageX-this._lastX)>this.delay||Math.abs(e.pageY-this._lastY)>this.delay)){var _28=this.getSelectedNodes();if(_28.length){m.startDrag(this,_28,this.copyState(_1b.isCopyKey(e),true));}}}if(this.isDragging){var _29=false;if(this.current){if(!this.targetBox||this.targetAnchor!=this.current){this.targetBox=_1b.position(this.current,true);}if(this.horizontal){_29=(e.pageX-this.targetBox.x)<(this.targetBox.w/2);}else{_29=(e.pageY-this.targetBox.y)<(this.targetBox.h/2);}}if(this.current!=this.targetAnchor||_29!=this.before){this._markTargetAnchor(_29);m.canDrop(!this.current||m.source!=this||!(this.current.id in this.selection));}}},onMouseDown:function(e){if(!this.mouseDown&&this._legalMouseDown(e)&&(!this.skipForm||!_1b.dnd.isFormElement(e))){this.mouseDown=true;this._lastX=e.pageX;this._lastY=e.pageY;_1b.dnd.Source.superclass.onMouseDown.call(this,e);}},onMouseUp:function(e){if(this.mouseDown){this.mouseDown=false;_1b.dnd.Source.superclass.onMouseUp.call(this,e);}},onDndSourceOver:function(_2a){if(this!=_2a){this.mouseDown=false;if(this.targetAnchor){this._unmarkTargetAnchor();}}else{if(this.isDragging){var m=_1d.manager();m.canDrop(this.targetState!="Disabled"&&(!this.current||m.source!=this||!(this.current.id in this.selection)));}}},onDndStart:function(_2b,_2c,_2d){if(this.autoSync){this.sync();}if(this.isSource){this._changeState("Source",this==_2b?(_2d?"Copied":"Moved"):"");}var _2e=this.accept&&this.checkAcceptance(_2b,_2c);this._changeState("Target",_2e?"":"Disabled");if(this==_2b){_1d.manager().overSource(this);}this.isDragging=true;},onDndDrop:function(_2f,_30,_31,_32){if(this==_32){this.onDrop(_2f,_30,_31);}this.onDndCancel();},onDndCancel:function(){if(this.targetAnchor){this._unmarkTargetAnchor();this.targetAnchor=null;}this.before=true;this.isDragging=false;this.mouseDown=false;this._changeState("Source","");this._changeState("Target","");},onDrop:function(_33,_34,_35){if(this!=_33){this.onDropExternal(_33,_34,_35);}else{this.onDropInternal(_34,_35);}},onDropExternal:function(_36,_37,_38){var _39=this._normalizedCreator;if(this.creator){this._normalizedCreator=function(_3a,_3b){return _39.call(this,_36.getItem(_3a.id).data,_3b);};}else{if(_38){this._normalizedCreator=function(_3c,_3d){var t=_36.getItem(_3c.id);var n=_3c.cloneNode(true);n.id=_1b.dnd.getUniqueId();return {node:n,data:t.data,type:t.type};};}else{this._normalizedCreator=function(_3e,_3f){var t=_36.getItem(_3e.id);_36.delItem(_3e.id);return {node:_3e,data:t.data,type:t.type};};}}this.selectNone();if(!_38&&!this.creator){_36.selectNone();}this.insertNodes(true,_37,this.before,this.current);if(!_38&&this.creator){_36.deleteSelectedNodes();}this._normalizedCreator=_39;},onDropInternal:function(_40,_41){var _42=this._normalizedCreator;if(this.current&&this.current.id in this.selection){return;}if(_41){if(this.creator){this._normalizedCreator=function(_43,_44){return _42.call(this,this.getItem(_43.id).data,_44);};}else{this._normalizedCreator=function(_45,_46){var t=this.getItem(_45.id);var n=_45.cloneNode(true);n.id=_1b.dnd.getUniqueId();return {node:n,data:t.data,type:t.type};};}}else{if(!this.current){return;}this._normalizedCreator=function(_47,_48){var t=this.getItem(_47.id);return {node:_47,data:t.data,type:t.type};};}this._removeSelection();this.insertNodes(true,_40,this.before,this.current);this._normalizedCreator=_42;},onDraggingOver:function(){},onDraggingOut:function(){},onOverEvent:function(){_1b.dnd.Source.superclass.onOverEvent.call(this);_1d.manager().overSource(this);if(this.isDragging&&this.targetState!="Disabled"){this.onDraggingOver();}},onOutEvent:function(){_1b.dnd.Source.superclass.onOutEvent.call(this);_1d.manager().outSource(this);if(this.isDragging&&this.targetState!="Disabled"){this.onDraggingOut();}},_markTargetAnchor:function(_49){if(this.current==this.targetAnchor&&this.before==_49){return;}if(this.targetAnchor){this._removeItemClass(this.targetAnchor,this.before?"Before":"After");}this.targetAnchor=this.current;this.targetBox=null;this.before=_49;if(this.targetAnchor){this._addItemClass(this.targetAnchor,this.before?"Before":"After");}},_unmarkTargetAnchor:function(){if(!this.targetAnchor){return;}this._removeItemClass(this.targetAnchor,this.before?"Before":"After");this.targetAnchor=null;this.targetBox=null;this.before=true;},_markDndStatus:function(_4a){this._changeState("Source",_4a?"Copied":"Moved");},_legalMouseDown:function(e){if(!_1b.mouseButtons.isLeft(e)){return false;}if(!this.withHandles){return true;}for(var _4b=e.target;_4b&&_4b!==this.node;_4b=_4b.parentNode){if(_1b.hasClass(_4b,"dojoDndHandle")){return true;}if(_1b.hasClass(_4b,"dojoDndItem")||_1b.hasClass(_4b,"dojoDndIgnore")){break;}}return false;}});});},"dojo/dnd/Container":function(){define("dojo/dnd/Container",["../main","../Evented","./common","../parser"],function(_4c,_4d){_4c.declare("dojo.dnd.Container",_4d,{skipForm:false,constructor:function(_4e,_4f){this.node=_4c.byId(_4e);if(!_4f){_4f={};}this.creator=_4f.creator||null;this.skipForm=_4f.skipForm;this.parent=_4f.dropParent&&_4c.byId(_4f.dropParent);this.map={};this.current=null;this.containerState="";_4c.addClass(this.node,"dojoDndContainer");if(!(_4f&&_4f._skipStartup)){this.startup();}this.events=[_4c.connect(this.node,"onmouseover",this,"onMouseOver"),_4c.connect(this.node,"onmouseout",this,"onMouseOut"),_4c.connect(this.node,"ondragstart",this,"onSelectStart"),_4c.connect(this.node,"onselectstart",this,"onSelectStart")];},creator:function(){},getItem:function(key){return this.map[key];},setItem:function(key,_50){this.map[key]=_50;},delItem:function(key){delete this.map[key];},forInItems:function(f,o){o=o||_4c.global;var m=this.map,e=_4c.dnd._empty;for(var i in m){if(i in e){continue;}f.call(o,m[i],i,this);}return o;},clearItems:function(){this.map={};},getAllNodes:function(){return _4c.query("> .dojoDndItem",this.parent);},sync:function(){var map={};this.getAllNodes().forEach(function(_51){if(_51.id){var _52=this.getItem(_51.id);if(_52){map[_51.id]=_52;return;}}else{_51.id=_4c.dnd.getUniqueId();}var _53=_51.getAttribute("dndType"),_54=_51.getAttribute("dndData");map[_51.id]={data:_54||_51.innerHTML,type:_53?_53.split(/\s*,\s*/):["text"]};},this);this.map=map;return this;},insertNodes:function(_55,_56,_57){if(!this.parent.firstChild){_57=null;}else{if(_56){if(!_57){_57=this.parent.firstChild;}}else{if(_57){_57=_57.nextSibling;}}}if(_57){for(var i=0;i<_55.length;++i){var t=this._normalizedCreator(_55[i]);this.setItem(t.node.id,{data:t.data,type:t.type});this.parent.insertBefore(t.node,_57);}}else{for(var i=0;i<_55.length;++i){var t=this._normalizedCreator(_55[i]);this.setItem(t.node.id,{data:t.data,type:t.type});this.parent.appendChild(t.node);}}return this;},destroy:function(){_4c.forEach(this.events,_4c.disconnect);this.clearItems();this.node=this.parent=this.current=null;},markupFactory:function(_58,_59,_5a){_58._skipStartup=true;return new _5a(_59,_58);},startup:function(){if(!this.parent){this.parent=this.node;if(this.parent.tagName.toLowerCase()=="table"){var c=this.parent.getElementsByTagName("tbody");if(c&&c.length){this.parent=c[0];}}}this.defaultCreator=_4c.dnd._defaultCreator(this.parent);this.sync();},onMouseOver:function(e){var n=e.relatedTarget;while(n){if(n==this.node){break;}try{n=n.parentNode;}catch(x){n=null;}}if(!n){this._changeState("Container","Over");this.onOverEvent();}n=this._getChildByEvent(e);if(this.current==n){return;}if(this.current){this._removeItemClass(this.current,"Over");}if(n){this._addItemClass(n,"Over");}this.current=n;},onMouseOut:function(e){for(var n=e.relatedTarget;n;){if(n==this.node){return;}try{n=n.parentNode;}catch(x){n=null;}}if(this.current){this._removeItemClass(this.current,"Over");this.current=null;}this._changeState("Container","");this.onOutEvent();},onSelectStart:function(e){if(!this.skipForm||!_4c.dnd.isFormElement(e)){_4c.stopEvent(e);}},onOverEvent:function(){},onOutEvent:function(){},_changeState:function(_5b,_5c){var _5d="dojoDnd"+_5b;var _5e=_5b.toLowerCase()+"State";_4c.replaceClass(this.node,_5d+_5c,_5d+this[_5e]);this[_5e]=_5c;},_addItemClass:function(_5f,_60){_4c.addClass(_5f,"dojoDndItem"+_60);},_removeItemClass:function(_61,_62){_4c.removeClass(_61,"dojoDndItem"+_62);},_getChildByEvent:function(e){var _63=e.target;if(_63){for(var _64=_63.parentNode;_64;_63=_64,_64=_63.parentNode){if(_64==this.parent&&_4c.hasClass(_63,"dojoDndItem")){return _63;}}}return null;},_normalizedCreator:function(_65,_66){var t=(this.creator||this.defaultCreator).call(this,_65,_66);if(!_4c.isArray(t.type)){t.type=["text"];}if(!t.node.id){t.node.id=_4c.dnd.getUniqueId();}_4c.addClass(t.node,"dojoDndItem");return t;}});_4c.dnd._createNode=function(tag){if(!tag){return _4c.dnd._createSpan;}return function(_67){return _4c.create(tag,{innerHTML:_67});};};_4c.dnd._createTrTd=function(_68){var tr=_4c.create("tr");_4c.create("td",{innerHTML:_68},tr);return tr;};_4c.dnd._createSpan=function(_69){return _4c.create("span",{innerHTML:_69});};_4c.dnd._defaultCreatorNodes={ul:"li",ol:"li",div:"div",p:"div"};_4c.dnd._defaultCreator=function(_6a){var tag=_6a.tagName.toLowerCase();var c=tag=="tbody"||tag=="thead"?_4c.dnd._createTrTd:_4c.dnd._createNode(_4c.dnd._defaultCreatorNodes[tag]);return function(_6b,_6c){var _6d=_6b&&_4c.isObject(_6b),_6e,_6f,n;if(_6d&&_6b.tagName&&_6b.nodeType&&_6b.getAttribute){_6e=_6b.getAttribute("dndData")||_6b.innerHTML;_6f=_6b.getAttribute("dndType");_6f=_6f?_6f.split(/\s*,\s*/):["text"];n=_6b;}else{_6e=(_6d&&_6b.data)?_6b.data:_6b;_6f=(_6d&&_6b.type)?_6b.type:["text"];n=(_6c=="avatar"?_4c.dnd._createSpan:c)(String(_6e));}if(!n.id){n.id=_4c.dnd.getUniqueId();}return {node:n,data:_6e,type:_6f};};};return _4c.dnd.Container;});},"dojo/dnd/Manager":function(){define("dojo/dnd/Manager",["../main","../Evented","./common","./autoscroll","./Avatar"],function(_70,_71){var _72=_70.declare("dojo.dnd.Manager",[_71],{constructor:function(){this.avatar=null;this.source=null;this.nodes=[];this.copy=true;this.target=null;this.canDropFlag=false;this.events=[];},OFFSET_X:16,OFFSET_Y:16,overSource:function(_73){if(this.avatar){this.target=(_73&&_73.targetState!="Disabled")?_73:null;this.canDropFlag=Boolean(this.target);this.avatar.update();}_70.publish("/dnd/source/over",[_73]);},outSource:function(_74){if(this.avatar){if(this.target==_74){this.target=null;this.canDropFlag=false;this.avatar.update();_70.publish("/dnd/source/over",[null]);}}else{_70.publish("/dnd/source/over",[null]);}},startDrag:function(_75,_76,_77){this.source=_75;this.nodes=_76;this.copy=Boolean(_77);this.avatar=this.makeAvatar();_70.body().appendChild(this.avatar.node);_70.publish("/dnd/start",[_75,_76,this.copy]);this.events=[_70.connect(_70.doc,"onmousemove",this,"onMouseMove"),_70.connect(_70.doc,"onmouseup",this,"onMouseUp"),_70.connect(_70.doc,"onkeydown",this,"onKeyDown"),_70.connect(_70.doc,"onkeyup",this,"onKeyUp"),_70.connect(_70.doc,"ondragstart",_70.stopEvent),_70.connect(_70.body(),"onselectstart",_70.stopEvent)];var c="dojoDnd"+(_77?"Copy":"Move");_70.addClass(_70.body(),c);},canDrop:function(_78){var _79=Boolean(this.target&&_78);if(this.canDropFlag!=_79){this.canDropFlag=_79;this.avatar.update();}},stopDrag:function(){_70.removeClass(_70.body(),["dojoDndCopy","dojoDndMove"]);_70.forEach(this.events,_70.disconnect);this.events=[];this.avatar.destroy();this.avatar=null;this.source=this.target=null;this.nodes=[];},makeAvatar:function(){return new _70.dnd.Avatar(this);},updateAvatar:function(){this.avatar.update();},onMouseMove:function(e){var a=this.avatar;if(a){_70.dnd.autoScrollNodes(e);var s=a.node.style;s.left=(e.pageX+this.OFFSET_X)+"px";s.top=(e.pageY+this.OFFSET_Y)+"px";var _7a=Boolean(this.source.copyState(_70.isCopyKey(e)));if(this.copy!=_7a){this._setCopyStatus(_7a);}}},onMouseUp:function(e){if(this.avatar){if(this.target&&this.canDropFlag){var _7b=Boolean(this.source.copyState(_70.isCopyKey(e))),_7c=[this.source,this.nodes,_7b,this.target,e];_70.publish("/dnd/drop/before",_7c);_70.publish("/dnd/drop",_7c);}else{_70.publish("/dnd/cancel");}this.stopDrag();}},onKeyDown:function(e){if(this.avatar){switch(e.keyCode){case _70.keys.CTRL:var _7d=Boolean(this.source.copyState(true));if(this.copy!=_7d){this._setCopyStatus(_7d);}break;case _70.keys.ESCAPE:_70.publish("/dnd/cancel");this.stopDrag();break;}}},onKeyUp:function(e){if(this.avatar&&e.keyCode==_70.keys.CTRL){var _7e=Boolean(this.source.copyState(false));if(this.copy!=_7e){this._setCopyStatus(_7e);}}},_setCopyStatus:function(_7f){this.copy=_7f;this.source._markDndStatus(this.copy);this.updateAvatar();_70.replaceClass(_70.body(),"dojoDnd"+(this.copy?"Copy":"Move"),"dojoDnd"+(this.copy?"Move":"Copy"));}});_70.dnd._manager=null;_72.manager=_70.dnd.manager=function(){if(!_70.dnd._manager){_70.dnd._manager=new _70.dnd.Manager();}return _70.dnd._manager;};return _72;});},"dojo/dnd/Avatar":function(){define("dojo/dnd/Avatar",["../main","./common"],function(_80){_80.declare("dojo.dnd.Avatar",null,{constructor:function(_81){this.manager=_81;this.construct();},construct:function(){this.isA11y=_80.hasClass(_80.body(),"dijit_a11y");var a=_80.create("table",{"class":"dojoDndAvatar",style:{position:"absolute",zIndex:"1999",margin:"0px"}}),_82=this.manager.source,_83,b=_80.create("tbody",null,a),tr=_80.create("tr",null,b),td=_80.create("td",null,tr),_84=this.isA11y?_80.create("span",{id:"a11yIcon",innerHTML:this.manager.copy?"+":"<"},td):null,_85=_80.create("span",{innerHTML:_82.generateText?this._generateText():""},td),k=Math.min(5,this.manager.nodes.length),i=0;_80.attr(tr,{"class":"dojoDndAvatarHeader",style:{opacity:0.9}});for(;i<k;++i){if(_82.creator){_83=_82._normalizedCreator(_82.getItem(this.manager.nodes[i].id).data,"avatar").node;}else{_83=this.manager.nodes[i].cloneNode(true);if(_83.tagName.toLowerCase()=="tr"){var _86=_80.create("table"),_87=_80.create("tbody",null,_86);_87.appendChild(_83);_83=_86;}}_83.id="";tr=_80.create("tr",null,b);td=_80.create("td",null,tr);td.appendChild(_83);_80.attr(tr,{"class":"dojoDndAvatarItem",style:{opacity:(9-i)/10}});}this.node=a;},destroy:function(){_80.destroy(this.node);this.node=false;},update:function(){_80[(this.manager.canDropFlag?"add":"remove")+"Class"](this.node,"dojoDndAvatarCanDrop");if(this.isA11y){var _88=_80.byId("a11yIcon");var _89="+";if(this.manager.canDropFlag&&!this.manager.copy){_89="< ";}else{if(!this.manager.canDropFlag&&!this.manager.copy){_89="o";}else{if(!this.manager.canDropFlag){_89="x";}}}_88.innerHTML=_89;}_80.query(("tr.dojoDndAvatarHeader td span"+(this.isA11y?" span":"")),this.node).forEach(function(_8a){_8a.innerHTML=this._generateText();},this);},_generateText:function(){return this.manager.nodes.length.toString();}});return _80.dnd.Avatar;});},"*noref":1}});define("dojo/_dnd_basic",[],1);require(["dojo/dnd/common","dojo/dnd/Source","dojo/dnd/AutoSource","dojo/dnd/Target","dojo/dnd/Selector","dojo/dnd/Container","dojo/dnd/Manager","dojo/dnd/Avatar"]);
}catch(e){console.log("Module 'dojo_dnd_basic_17': ",e);}
try{/** Licensed Materials - Property of IBM, 5724-U69, (C) Copyright IBM Corp. 2009, 2010 - All Rights reserved.  **/
if(!dojo._hasResource["com.ibm.portal.xslt"]){dojo._hasResource["com.ibm.portal.xslt"]=true;dojo.provide("com.ibm.portal.xslt");dojo.require("dojox.data.dom");dojo.declare("com.ibm.portal.xslt.TransformerFactory",null,{constructor:function(){this._xsltMap=new Array();},newTransformer:function(_1){ibm.portal.debug.entry("newTransformer",[_1]);var _2=this._getCached(_1);if(_2==null){_2=new com.ibm.portal.xslt.Transformer(_1);this._xsltMap.push({url:_1,transformer:_2});}return _2;},_getCached:function(_3){var _4=null;for(i=0;i<this._xsltMap.length;i++){var _5=this._xsltMap[i];if(_3==_5.url){_4=_5.transformer;break;}}return _4;}});dojo.declare("com.ibm.portal.xslt.Transformer",null,{constructor:function(_6){this._xslt=com.ibm.portal.xslt.loadXsl(_6);},transformToRegion:function(_7,_8,_9,_a){com.ibm.portal.utilities.html.safeClean(_9);if(dojo.isIE||window.ActiveXObject!==undefined){var _b=com.ibm.portal.xslt.transform(_7,this._xslt,null,_8,true);_9.innerHTML=dojo.string.trim(_b);}else{var _c=com.ibm.portal.xslt.gecko._transformToFragment(_7,this._xslt,null,_8,_a);_9.innerHTML="";_9.appendChild(_c);}},transformToDocument:function(_d,_e,_f){var _10=com.ibm.portal.xslt.transform(_d,this._xslt,null,_e,_f);return _10;}});com.ibm.portal.xslt.TRANSFORMER_FACTORY=new com.ibm.portal.xslt.TransformerFactory();com.ibm.portal.xslt.ie={};com.ibm.portal.xslt.gecko={};com.ibm.portal.xslt.getXmlHttpRequest=function(){var _11=null;if(typeof ActiveXObject!="undefined"){_11=new ActiveXObject("Microsoft.XMLHTTP");}else{_11=new XMLHttpRequest();}return _11;};com.ibm.portal.xslt.loadXml=function(_12){if(typeof ActiveXObject!="undefined"||window.ActiveXObject!==undefined){return com.ibm.portal.xslt.ie.loadXml(_12);}else{return com.ibm.portal.xslt.gecko.loadXml(_12);}};com.ibm.portal.xslt.loadXmlString=function(_13){if(typeof ActiveXObject!="undefined"||window.ActiveXObject!==undefined){return com.ibm.portal.xslt.ie.loadXmlString(_13);}else{return com.ibm.portal.xslt.gecko.loadXmlString(_13);}};com.ibm.portal.xslt.loadXsl=function(_14){if(typeof ActiveXObject!="undefined"||window.ActiveXObject!==undefined){return com.ibm.portal.xslt.ie.loadXsl(_14);}else{return com.ibm.portal.xslt.gecko.loadXsl(_14);}};com.ibm.portal.xslt.transform=function(xml,xsl,_15,_16,_17){ibm.portal.debug.entry("transform",[xml,xsl,_15,_16,_17]);if(typeof ActiveXObject!="undefined"||window.ActiveXObject!==undefined){return com.ibm.portal.xslt.ie.transform(xml,xsl,_15,_16,_17);}else{return com.ibm.portal.xslt.gecko.transform(xml,xsl,_15,_16,_17);}};com.ibm.portal.xslt.transformAndUpdate=function(_18,xml,xsl,_19,_1a){ibm.portal.debug.entry("transformAndUpdate",[_18,xml,xsl,_19,_1a]);if(typeof ActiveXObject!="undefined"||window.ActiveXObject!==undefined){var _1b=com.ibm.portal.xslt.transform(xml,xsl,_19,_1a,true);_18.innerHTML=dojo.string.trim(_1b);}else{var doc=_18.ownerDocument?_18.ownerDocument:document;var _1c=com.ibm.portal.xslt.gecko._transformToFragment(xml,xsl,_19,_1a,doc);_18.innerHTML="";_18.appendChild(_1c);}ibm.portal.debug.exit("transformAndUpdate");};com.ibm.portal.xslt.ie.XSLT_PROG_IDS=["Msxml2.XSLTemplate.6.0","Msxml2.XSLTemplate.4.0","MSXML2.XSLTemplate.3.0","MSXML2.XSLTemplate"];com.ibm.portal.xslt.ie.DOM_PROG_IDS=["MSXML2.FreeThreadedDOMDocument.6.0","Msxml2.DOMDocument.6.0","Msxml2.DOMDocument.4.0","MSXML2.DOMDocument","MSXML.DOMDocument","Microsoft.XMLDOM"];com.ibm.portal.xslt.ie.FTDOM_PROG_IDS=["Msxml2.FreeThreadedDOMDocument.6.0","Msxml2.FreeThreadedDOMDocument.4.0","MSXML2.FreeThreadedDOMDocument","MSXML.FreeThreadedDOMDocument","Microsoft.FreeThreadedXMLDOM"];com.ibm.portal.xslt.ie._getMSXMLImpl=function(_1d){while(_1d.length>0){try{var _1e=new ActiveXObject(_1d[0]);if(_1e){return _1e;}}catch(err){}_1d.splice(0,1);}throw new Error("No MSXML implementation exists");};com.ibm.portal.xslt.ie.loadXml=function(_1f){var _20=this._getMSXMLImpl(this.DOM_PROG_IDS);_20.async=0;_20.resolveExternals=0;if(!_20.load(_1f)){throw new Error("Error loading xml file "+_1f);}return _20;};com.ibm.portal.xslt.ie.loadXmlString=function(_21){var _22=this._getMSXMLImpl(this.DOM_PROG_IDS);_22.async=0;_22.resolveExternals=0;if(_21){if(!_22.loadXML(_21)){throw new Error("Error loading xml string "+_21);}}return _22;};com.ibm.portal.xslt.ie.loadXsl=function(_23){var _24=this._getMSXMLImpl(this.FTDOM_PROG_IDS);_24.async=0;_24.resolveExternals=0;_24.setProperty("ForcedResync",false);if(!_24.load(_23)){throw new Error("Error loading xsl file "+_23);}return _24;};com.ibm.portal.xslt.ie.transform=function(_25,xsl,_26,_27,_28){var _29=_25;var _2a=xsl;try{if(!_2a.documentElement){_2a=this.loadXsl(xsl);}}catch(e){var _2b=e.message;throw new Error(""+_2b,""+_2b);}var _2c=this._getMSXMLImpl(this.XSLT_PROG_IDS);_2c.stylesheet=_2a;var _2d=_2c.createProcessor();_2d.input=_29;if(_27){for(var p in _27){_2d.addParameter(p,_27[p]);}}if(_26){_2d.addParameter("mode",_26);}if(_28){if(!_2d.transform()){throw new Error("Error transforming xml doc "+_29);}return _2d.output;}else{var _2e=this._getMSXMLImpl(this.DOM_PROG_IDS);_2e.async=false;_2e.validateOnParse=false;_29.transformNodeToObject(_2a,_2e);return _2e;}};com.ibm.portal.xslt.gecko.loadXml=function(_2f){var _30=null;if(dojo.isSafari){var xhr=new XMLHttpRequest();xhr.open("GET",_2f,false);xhr.send(null);if(xhr.status==200){_30=xhr.responseXML;}}else{_30=document.implementation.createDocument("","",null);_30.async=0;_30.load(_2f);}return _30;};com.ibm.portal.xslt.gecko.loadXmlString=function(_31){var _32=new DOMParser();var _33=null;if(_31){try{_33=_32.parseFromString(_31,"text/xml");}catch(exc){throw new Error("Error loading xml string "+_31);}}else{return document.implementation.createDocument("","",null);}return _33;};com.ibm.portal.xslt.gecko.loadXsl=function(_34){var _35=null;if(dojo.isWebKit){var xhr=new XMLHttpRequest();xhr.open("GET",_34,false);xhr.send(null);if(xhr.status==200){_35=xhr.responseXML;}}else{_35=document.implementation.createDocument("","",null);_35.async=0;_35.load(_34);}return _35;};com.ibm.portal.xslt.gecko._getXSLTProc=function(_36,xsl,_37,_38){var _39=xsl;if(!_39.documentElement){_39=this.loadXsl(xsl);}var _3a=new XSLTProcessor();_3a.importStylesheet(_39);if(_38){for(var p in _38){_3a.setParameter(null,p,_38[p]);}}if(_37){_3a.setParameter(null,"mode",_37);}return _3a;};com.ibm.portal.xslt.gecko._transformToFragment=function(_3b,xsl,_3c,_3d,doc){var _3e=com.ibm.portal.xslt.gecko._getXSLTProc(_3b,xsl,_3c,_3d);var _3f=null;_3f=_3e.transformToFragment(_3b,doc);_3e.clearParameters();return _3f;};com.ibm.portal.xslt.gecko.transform=function(_40,xsl,_41,_42,_43){try{var _44=null;if(!_43){var _45=com.ibm.portal.xslt.gecko._getXSLTProc(_40,xsl,_41,_42);_44=_45.transformToDocument(_40);return _44;}else{_44=com.ibm.portal.xslt.gecko._transformToFragment(_40,xsl,_41,_42,document);}var _46=new XMLSerializer();var _47=dojo.string.trim(_46.serializeToString(_44));if(dojo.isOpera&&_44.firstChild&&_44.firstChild.nodeName=="result"){var _48=_47.indexOf("<result>")+8;var end=_47.lastIndexOf("</result>");_47=dojo.string.trim(_47.substring(_48,end));}return _47;}catch(exc){throw new Error("Error transforming xml doc "+exc);}};com.ibm.portal.xslt.setLayerContentByXml=function(_49,xml,xsl,_4a,_4b){var _4c=com.ibm.portal.xslt.transform(xml,xsl,null,_4a,_4b);if(_49.innerHTML){_49.innerHTML=_4c;}else{var obj=document.getElementById(_49);obj.innerHTML=_4c;}};}if(!dojo._hasResource["com.ibm.domUtilities"]){dojo._hasResource["com.ibm.domUtilities"]=true;dojo.provide("com.ibm.domUtilities");dojo.require("dojox.xml.parser");dojo.require("com.ibm.portal.xslt");(function(){var _4d=com.ibm.domUtilities={constants:{NodeTypes:{element:1,attribute:2,text:3,cdata:4,entity_reference:5,entity:6,processing_instruction:7,comment:8,document:9,document_type:10,document_fragment:11,notation:12}},nsInfo:function(str,_4e){var _4f=str.split(":");var _50,_51;if(_4f.length>1){_50=_4f[0];_51=_4f[1];return {namespaceURI:_4e[_50],prefix:_50,localName:_51};}else{return {namespaceURI:null,prefix:null,localName:str};}},getAttribute:function(_52,_53,_54){var ret=null;var _55=_4d.nsInfo(_53,_54);if(_55.namespaceURI){if(_52.getAttributeNS){ret=_52.getAttributeNS(_55.namespaceURI,_55.localName);}else{if(dojo.isIE||window.ActiveXObject!==undefined){ret=_52.attributes.getQualifiedItem(_55.localName,_55.namespaceURI);if(ret){ret=ret.value;}}else{ret=_52.getAttribute(_53);}}}else{ret=_52.getAttribute(_53);}return ret;},setAttribute:function(_56,_57,_58,_59){if(_58===true){_58="true";}else{if(_58===false){_58="false";}else{if(_58===null){_58="";}}}var _5a=_4d.nsInfo(_57,_59);if(_5a.namespaceURI){if(_56.setAttributeNS){_56.setAttributeNS(_5a.namespaceURI,_57,_58);}else{if((dojo.isIE||window.ActiveXObject!==undefined)&&_56.ownerDocument){var _5b=_56.ownerDocument.createNode(_4d.constants.NodeTypes.attribute,_57,_5a.namespaceURI);_5b.value=_58;_56.setAttributeNode(_5b);}else{_56.setAttribute(_57,_58);}}}else{_56.setAttribute(_57,_58);}},removeAttribute:function(_5c,_5d,_5e){var _5f=_4d.nsInfo(_5d,_5e);if(_5f.namespaceURI){if(_5c.removeAttributeNS){_5c.removeAttributeNS(_5f.namespaceURI,_5d);}else{if(dojo.isIE||window.ActiveXObject!==undefined){_5c.attributes.removeQualifiedItem(_5f.localName,_5f.namespaceURI);}else{_5c.removeAttribute(_5d);}}}else{_5c.removeAttribute(_5d);}},hasAttribute:function(_60,_61,_62){var ret=null;var _63=_4d.nsInfo(_61,_62);if(_63.namespaceURI){if(_60.hasAttributeNS){ret=_60.hasAttributeNS(_63.namespaceURI,_63.localName);}else{if(dojo.isIE||window.ActiveXObject!==undefined){ret=_60.attributes.getQualifiedItem(_63.localName,_63.namespaceURI)!==null;}else{ret=_60.hasAttribute(_61);}}}else{if(!(dojo.isIE||window.ActiveXObject!==undefined)){ret=_60.hasAttribute(_61);}else{ret=_60.getAttributeNode(_61)!==null;}}return ret;},createDocument:function(_64,_65){if(typeof ActiveXObject!="undefined"||window.ActiveXObject!==undefined){var _66=["MSXML2.FreeThreadedDOMDocument.6.0","Msxml2.DOMDocument.6.0","Msxml2.DOMDocument.3.0"];for(var i=0;i<_66.length;i++){try{oXml=new ActiveXObject(_66[i]);if(oXml){break;}}catch(e){if(i==_66.length){console.warn("Error creating Msxml.DOMDocument; reason: ",e);}}}oXml.async=false;if(_64){oXml.loadXML(_64);if(oXml.parseError.errorCode!=0){var _67=oXml.parseError;console.warn("Error parsing XML data. Reason: '"+_67.reason+"'; data: '"+_64+"'.");}}return oXml;}else{return dojox.xml.parser.parse(_64,_65);}},createElement:function(doc,_68,_69,_6a){var _6b=null;var _6c=_4d.nsInfo(_68,_69);if(_6c.namespaceURI){if(doc.createElementNS){_6b=doc.createElementNS(_6c.namespaceURI,_68);}else{if(dojo.isIE||window.ActiveXObject!==undefined){_6b=doc.createNode("element",_68,_6c.namespaceURI);}}}if(!_6b){_6b=doc.createElement(_68);}for(var _6d in _6a){_4d.setAttribute(_6b,_6d,_6a[_6d],_69);}return _6b;},createFromJson:function(doc,def,_6e,_6f){var obj=null;if(!dojo.isObject(def)){obj=doc.createTextNode(def);if(_6f){_6f.appendChild(obj);}}else{obj=_4d.createElement(doc,def.name,_6e,def.attributes);if(_6f){_6f.appendChild(obj);}dojo.forEach(def.children,function(_70){_4d.createFromJson(doc,_70,_6e,obj);});}return obj;},removeChildren:function(_71){var arr=[];while(_71.hasChildNodes()){arr.push(_71.removeChild(_71.firstChild));}return dojo.NodeList.apply(null,arr);},textContent:function(_72,_73){return dojox.xml.parser.textContent.apply(null,arguments);},innerXML:function(_74){return dojox.xml.parser.innerXML(_74);},stringFromDoc:function(_75){return _4d.innerXML(_75);},docFromString:function(str){return _4d.createDocument(str&&str.length>0?str:null);},encodeXML:function(_76,_77){if(dojo.isString(_76)){_76=_76.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;");if(_77){_76=_76.replace(/'/gm,"&#039;").replace(/"/gm,"&#034;");}return _76;}else{if(_76!==null){return _76;}else{return "";}}},decodeXML:function(_78,_79){if(dojo.isString(_78)){_78=_78.replace(/&lt;/gm,"<").replace(/&gt;/gm,">").replace(/&amp;/gm,"&");if(_79){_78=_78.replace(/&#039;/gm,"'").replace(/&#034;/gm,"\"");}return _78;}else{if(_78!=null){return _78;}else{return "";}}}};_4d.constants.MSXML_NodeTypes=_4d.constants.NodeTypes;})();}if(!dojo._hasResource["com.ibm.utilities"]){dojo._hasResource["com.ibm.utilities"]=true;dojo.provide("com.ibm.utilities");dojo.require("dojo.string");com.ibm.utilities={urlToProxyUrl:function(url,_7a){var ret=_7a?_7a:"/proxy";var _7b="http";var _7c=url.indexOf("://");if(_7c>-1){_7b=url.substring(0,_7c);url=url.substring(_7c+3);}url=url.replace(/:/g,"%3A");return ret+"/"+_7b+"/"+url;},withBaseUrl:function(_7d){if(_7d.charAt(0)=="/"){return _7d;}return com.ibm.utilities.baseUrl()+_7d;},baseUrl:function(){if(!this._baseUrl){var _7e=dojo.doc.getElementsByTagName("base")[0];if(_7e){this._baseUrl=_7e.getAttribute("href");}if(!this._baseUrl){this._baseUrl="";}}return this._baseUrl;},stripUrlFragment:function(url){var h=url.indexOf("#");if(h>-1){url=url.substr(0,h);}return url;},stripTrailingSlash:function(url){if(!url){return "";}else{return url.replace(/\/+$/g,"");}},actionIO:function(url,_7f){if(url){var _80=dojo.doc.createElement("form");_80.setAttribute("action",url);if(_7f){_7f=_7f.toLowerCase();}switch(_7f){case "get":_80.setAttribute("method","GET");break;case "post":case "delete":case "put":_80.setAttribute("method","POST");break;default:}dojo.body().appendChild(_80);_80.submit();}},refreshPage:function(){var url,_81=-1,_82=document.getElementsByTagName("base");if(_82.length>0){url=_82[0].href;}else{url=top.location.href;_81=url.indexOf("#");if(dojo.isSafari<4&&_81>-1){window.location.reload();}if(_81>-1){url=url.substring(0,_81);}}window.location.assign(url);}};(function(){var _83="{EB2F8DA2-5B2C-F66A-CDD0-A2D42143F5AC}";var _84="\r\n";var sep="--";var _85=_84+sep+_83+_84;var _86=sep+_83+sep+_84;var _87=new RegExp(_84+_84);var _88=new RegExp(_84+"s*([^\r]*)s*","mg");var _89=/\s*([^:]*):\s*(.+)/;var _8a=/boundary\s*=\s*\"?([^\"]*)\"?/;var _8b=function(_8c,_8d,_8e){try{if(_8d instanceof Error){if(_8c.error){_8c.error(_8d,_8e);}}else{try{if(_8c.load){_8c.load(_8d,_8e);}}catch(err){if(_8c.error){_8c.error(err,_8e);}}}if(_8c.handle){_8c.handle(_8d,_8e);}}catch(err2){}};function _8f(){this.respHeaders=[];this.responseText="";this.responseXML=null;this.status=0;this.statusText="";this.readyState=0;this.onreadystatechange=function(){};};dojo.extend(_8f,{getResponseHeader:function(key){key=key.toLowerCase();for(var i=0,_90,l=this.respHeaders.length;i<l;i++){_90=this.respHeaders[i];if(_90[0].toLowerCase()==key){return _90[1];}}return null;},getAllResponseHeaders:function(){var str="";for(var i=0,_91,l=this.respHeaders.length;i<l;i++){_91=this.respHeaders[i];str+=_91[0]+": "+_91[1];if(i<l-1){str+="\n";}}return str;},send:function(){},open:function(){},abort:function(){},setRequestHeader:function(){}});var _92=function(_93){return _93.replace(/\r\n\s/mg," ");};var _94=function(_95,_96){var _97=null;if(_95.handleAs=="xml"){try{_97=com.ibm.domUtilities.docFromString(_96.responseText);}catch(err){}}_96.responseXML=_97;var _98=dojo.contentHandlers?"contentHandlers":"_contentHandlers";return dojo[_98][_95.handleAs](_96);};dojo.mixin(com.ibm.utilities,{handleMultiPartResponse:function(_99,_9a,_9b){var _9c=_9b.xhr.getResponseHeader("Content-Type").match(_8a);if(!_9c){throw new Error("No boundary specified in Content-Type response header");}var _9d=_9c[1];var _9e=new RegExp(_84+sep+_9d,"mg");var _9f=_9a.split(_9e);for(var i=1,j=i-1;i<_9f.length-1;i++,j++){var _a0=new _8f(),_a1=_9f[i],_a2=null;_88.lastIndex=0;var _a3=_a1.split(_87);var _a4=_92(_a3[0]),_a5=_a3[1];if(!_a5){_a5="";}while((_a2=_88.exec(_a4))!==null&&(_a2[1].length>0)){var _a6=_a2[1].match(_89);if(_a6){_a0.respHeaders.push([_a6[1],_a6[2]]);}}_a1=dojo.string.trim(_a5);_a0.responseText=_a1;if(_9b.args.partContentHandler){_a1=_9b.args.partContentHandler(_99[j],_a0,_94);}else{_a1=_94(_99[j],_a0);}_8b(_99[j],_a1,dojo.mixin({},_9b,{xhr:_a0}));}},multiPartXhr:function(_a7,_a8,_a9){var _aa="",_ab=null;dojo.forEach(_a9,function(_ac){_ac.handleAs=_ac.handleAs?_ac.handleAs.toLowerCase():"text";_ab="";for(var x in _ac.headers){_ab+=x+": "+_ac.headers[x]+_84;}_aa+=_85+_ab+_84;if(_ac.data&&_ac.data.length>0){_aa+=_ac.data+_84;}});_aa+=_86;if(_a7.toUpperCase()!="PUT"){_a7="POST";}_a8.headers=dojo.mixin({},_a8.headers,{"Content-type":"multipart/mixed; boundary=\""+_83+"\""});var _ad=dojo.mixin({},_a8,{load:function(_ae,_af){if(_a8.preHandle){_a8.preHandle(_ae,_af);}com.ibm.utilities.handleMultiPartResponse(_a9,_ae,_af);if(_a8.postHandle){_a8.postHandle(_ae,_af);}},error:function(_b0,_b1){if(_a8.preHandle){_a8.preHandle(_b0,_b1);}dojo.forEach(_a9,function(_b2){_8b(_b2,_b0,_b1,null);});if(_a8.error){_a8.error(_b0,_b1);}if(_a8.postHandle){_a8.postHandle(_b0,_b1);}},handleAs:"text",form:null,content:null,postData:null,putData:null});_ad[_a7.toLowerCase()+"Data"]=_aa;return dojo.xhr(_a7,_ad,true);}});})();}if(!dojo._hasResource["com.ibm.portal.xpath"]){dojo._hasResource["com.ibm.portal.xpath"]=true;dojo.provide("com.ibm.portal.xpath");com.ibm.portal.xpath.evaluateXPath=function(_b3,doc,_b4){if(typeof ActiveXObject!="undefined"||window.ActiveXObject!==undefined){return com.ibm.portal.xpath.ie.evaluateXPath(_b3,doc,_b4);}else{return com.ibm.portal.xpath.gecko.evaluateXPath(_b3,doc,_b4);}};dojo.provide("com.ibm.portal.xpath.ie");com.ibm.portal.xpath.ie.evaluateXPath=function(_b5,doc,_b6){if(_b6){var ns="";for(var _b7 in _b6){ns+="xmlns:"+_b7+"='"+_b6[_b7]+"' ";}if(doc.ownerDocument){doc.ownerDocument.setProperty("SelectionNamespaces",ns);}else{doc.setProperty("SelectionNamespaces",ns);}}var _b8=doc.selectNodes(_b5);var _b9;var _ba=new Array();var len=0;for(var i=0;i<_b8.length;i++){_b9=_b8[i];if(_b9){_ba[len]=_b9;len++;}}return _ba;};dojo.provide("com.ibm.portal.xpath.gecko");com.ibm.portal.xpath.gecko.evaluateXPath=function(_bb,doc,_bc){var _bd;try{var _be=doc;if(!_be.evaluate){_be=doc.ownerDocument;}_bd=_be.evaluate(_bb,doc,function(_bf){return _bc[_bf]||null;},XPathResult.ANY_TYPE,null);}catch(exc){throw new Error("Error with xpath expression"+exc);}var _c0;var _c1=new Array();var len=0;do{_c0=_bd.iterateNext();if(_c0){_c1[len]=_c0;len++;}}while(_c0);return _c1;};}if(!dojo._hasResource["ibm.portal.xml.xslt"]){dojo._hasResource["ibm.portal.xml.xslt"]=true;dojo.provide("ibm.portal.xml.xslt");dojo.require("com.ibm.portal.xslt");ibm.portal.xml.xslt.ie={};ibm.portal.xml.xslt.gecko={};ibm.portal.xml.xslt.getXmlHttpRequest=function(){return com.ibm.portal.xslt.getXmlHttpRequest();};ibm.portal.xml.xslt.loadXml=function(_c2){return com.ibm.portal.xslt.loadXml(_c2);};ibm.portal.xml.xslt.loadXmlString=function(_c3){return com.ibm.portal.xslt.loadXmlString(_c3);};ibm.portal.xml.xslt.loadXsl=function(_c4){return com.ibm.portal.xslt.loadXsl(_c4);};ibm.portal.xml.xslt.transform=function(xml,xsl,_c5,_c6,_c7){ibm.portal.debug.entry("transform",[xml,xsl,_c5,_c6,_c7]);return com.ibm.portal.xslt.transform(xml,xsl,_c5,_c6,_c7);};ibm.portal.xml.xslt.transformAndUpdate=function(_c8,xml,xsl,_c9,_ca){ibm.portal.debug.entry("transformAndUpdate",[_c8,xml,xsl,_c9,_ca]);com.ibm.portal.xslt.transformAndUpdate(_c8,xml,xsl,_c9,_ca);ibm.portal.debug.exit("transformAndUpdate");};ibm.portal.xml.xslt.ie.loadXml=function(_cb){return com.ibm.portal.xslt.ie.loadXml(_cb);};ibm.portal.xml.xslt.ie.loadXmlString=function(_cc){return com.ibm.portal.xslt.ie.loadXmlString(_cc);};ibm.portal.xml.xslt.ie.loadXsl=function(_cd){return com.ibm.portal.xslt.ie.loadXsl(_cd);};ibm.portal.xml.xslt.ie.transform=function(_ce,xsl,_cf,_d0,_d1){return com.ibm.portal.xslt.ie.transform(_ce,xsl,_cf,_d0,_d1);};ibm.portal.xml.xslt.gecko.loadXml=function(_d2){return com.ibm.portal.xslt.gecko.loadXml(_d2);};ibm.portal.xml.xslt.gecko.loadXmlString=function(_d3){return com.ibm.portal.xslt.gecko.loadXmlString(_d3);};ibm.portal.xml.xslt.gecko.loadXsl=function(_d4){return com.ibm.portal.xslt.gecko.loadXsl(_d4);};ibm.portal.xml.xslt.gecko.transform=function(_d5,xsl,_d6,_d7,_d8){return com.ibm.portal.xslt.gecko.transform(_d5,xsl,_d6,_d7,_d8);};ibm.portal.xml.xslt.setLayerContentByXml=function(_d9,xml,xsl,_da,_db){com.ibm.portal.xslt.setLayerContentByXml(_d9,xml,xsl,_da,_db);};}if(!dojo._hasResource["ibm.portal.xml.xpath"]){dojo._hasResource["ibm.portal.xml.xpath"]=true;dojo.provide("ibm.portal.xml.xpath");dojo.require("com.ibm.portal.xpath");ibm.portal.xml.xpath.evaluateXPath=function(_dc,doc,_dd){return com.ibm.portal.xpath.evaluateXPath(_dc,doc,_dd);};dojo.provide("ibm.portal.xml.xpath.ie");ibm.portal.xml.xpath.ie.evaluateXPath=function(_de,doc,_df){return com.ibm.portal.xpath.ie.evaluateXPath(_de,doc,_df);};dojo.provide("ibm.portal.xml.xpath.gecko");ibm.portal.xml.xpath.gecko.evaluateXPath=function(_e0,doc,_e1){return com.ibm.portal.xpath.gecko.evaluateXPath(_e0,doc,_e1);};}if(!dojo._hasResource["com.ibm.portal.utilities"]){dojo._hasResource["com.ibm.portal.utilities"]=true;dojo.provide("com.ibm.portal.utilities");com.ibm.portal.utilities={findPortletIdByElement:function(_e2){ibm.portal.debug.entry("findPortletID",[_e2]);var id="";var _e3=_e2.parentNode;while(_e3&&id.length==0){ibm.portal.debug.text("examining element "+_e3.tagName+"; class="+_e3.className,"findPortletID");if(typeof (_e3.className)=="string"){if(_e3.className&&(_e3.className.match(/\bwpsPortletBody\b/)||_e3.className.match(/\bwpsPortletBodyInlineMode\b/))){id=_e3.id;var _e4=id.indexOf("_mode");if(_e4>=0){id=id.substring(0,_e4);}}}_e3=_e3.parentNode;}if(id.indexOf("portletActions_")>=0){id=id.substring("portletActions_".length);}ibm.portal.debug.exit("findPortletID",[id]);return id;},findFormByElement:function(_e5){var _e6=_e5;while(_e6){if(_e6.tagName&&_e6.tagName.toLowerCase()=="form"){break;}_e6=_e6.parentNode;}return _e6;},encodeURI:function(uri){ibm.portal.debug.entry("encodeURI",[uri]);var _e7=uri;var _e8=uri.lastIndexOf(":");while(_e8>=0){var _e9=_e7.substring(0,_e8);var _ea=_e7.substring(_e8+1);_e7=_e9+":"+encodeURIComponent(_ea);_e8=_e9.lastIndexOf(":");}_e7=encodeURIComponent(_e7);ibm.portal.debug.exit("encodeURI",[_e7]);return _e7;},decodeURI:function(uri){ibm.portal.debug.entry("decodeURI",[uri]);var _eb=decodeURIComponent(uri);var _ec=_eb.indexOf(":");while(_ec>=0){var _ed=_eb.substring(0,_ec);var _ee=_eb.substring(_ec+1);_eb=_ed+":"+decodeURIComponent(_ee);_ec=_eb.indexOf(":",_ec+1);}ibm.portal.debug.exit("decodeURI",[_eb]);return _eb;},getSelectionNodeId:function(_ef){ibm.portal.debug.entry("getSelectionNodeId",[_ef]);var _f0=_ef.split("@oid:");ibm.portal.debug.exit("getSelectionNodeId",[_f0[1]]);return _f0[1];},getControlId:function(_f1){ibm.portal.debug.entry("_getControlId",[_f1]);var _f2=_f1.split("@oid:");var _f3=_f2[0].split("oid:");ibm.portal.debug.exit("getControlId",[_f3[1]]);return _f3[1];},getOverwriteMap:function(obj,_f4){var _f5=null;var _f6=com.ibm.portal.utilities.domData.getManager(obj);if(_f6){_f5=_f6.data(obj,"_overwritten_");if(!_f5&&_f4){_f5={};_f6.data(obj,"_overwritten_",_f5);}}else{_f5=obj["_overwritten_"];if(!_f5&&_f4){obj["_overwritten_"]=_f5={};}}return _f5;},overwriteProperty:function(obj,_f7,_f8,_f9){ibm.portal.debug.entry("overwriteProperty",[obj,_f7,_f8,_f9]);var _fa=com.ibm.portal.utilities.getOverwriteMap(obj,true);if(!_f9){_f9=false;}var _fb=(_f9&&(_fa[_f7]!=null));if(!_fb){if(_fa[_f7]==null){_fa[_f7]=obj[_f7];}else{_fa[_f7]=null;}var _fc=com.ibm.portal.utilities.domData.getManager(obj);if(_fc){_fc.trackProperty(obj,_f7);}obj[_f7]=_f8;ibm.portal.debug.text("Property overwrite successful!");}ibm.portal.debug.exit("overwriteProperty");},restoreProperty:function(obj,_fd){ibm.portal.debug.entry("utilities.restoreProperty",[obj,_fd]);var _fe=obj[_fd];var _ff=com.ibm.portal.utilities.getOverwriteMap(obj);if(_ff!=null){ibm.portal.debug.text("overwritten property value: "+_ff);obj[_fd]=_ff[_fd];_ff[_fd]=null;}else{obj[_fd]=null;}ibm.portal.debug.exit("utilities.restoreProperty",_fe);return _fe;},getOverwrittenProperty:function(obj,_100){var _101=com.ibm.portal.utilities.getOverwriteMap(obj);if(_101){return _101[_100];}else{return null;}},setOverwrittenProperty:function(obj,_102,_103){ibm.portal.debug.entry("utilities.setOverwrittenProperty",[obj,_102,_103]);var _104=com.ibm.portal.utilities.getOverwriteMap(obj,true);_104[_102]=_103;ibm.portal.debug.exit("utilities.setOverwrittenProperty");},callOverwrittenFunction:function(_105,_106,args){ibm.portal.debug.entry("utilities.callOverwrittenFunction",[_105,_106,args]);var _107=null;var _108=this.getOverwrittenProperty(_105,_106);ibm.portal.debug.text("Overwritten property: "+_108);if(_108){ibm.portal.debug.text("old property's apply function: "+_108.apply);if(args){_107=_108.apply(_105,args);}else{_107=_108.apply(_105);}}ibm.portal.debug.exit("utilities.callOverwrittenFunction",_107);return _107;},clearOverwrittenProperties:function(obj){ibm.portal.debug.entry("utilities.clearOverwrittenProperties",[obj]);if(obj){com.ibm.portal.utilities.domData(obj,"_overwritten_",null);if(obj["_overwritten_"]){delete obj["_overwritten_"];}}ibm.portal.debug.exit("utilities.clearOverwrittenProperties");},isExternalUrl:function(_109){ibm.portal.debug.entry("isExternalUrl",[_109]);var host=window.location.host;var _10a=window.location.protocol;var _10b=_109.split("?")[0];var _10c=!(_10b.indexOf("://")<0||(_10b.indexOf(_10a)==0&&_10b.indexOf(host)==_10a.length+2));ibm.portal.debug.text("urlStringNoQuery.indexOf(\"://\") = "+_10b.indexOf("://"));ibm.portal.debug.text("urlStringNoQuery.indexOf(protocol) = "+_10b.indexOf(_10a));ibm.portal.debug.exit("isExternalUrl",_10c);return _10c;},isJavascriptUrl:function(_10d){ibm.portal.debug.entry("isJavascriptUrl",[_10d]);var url=com.ibm.portal.utilities.string.trim(_10d.toLowerCase());var _10e=(url.indexOf("javascript:")==0);ibm.portal.debug.exit("isJavascriptUrl",_10e);return _10e;},isPortalUrl:function(_10f){ibm.portal.debug.entry("utilities.isPortalUrl",[_10f]);var _110=(_10f.indexOf(ibmPortalConfig["portalURI"])>=0);ibm.portal.debug.exit("utilities.isPortalUrl",_110);return _110;},addExternalNode:function(doc,node){var _111=false;try{_111=doc.importNode;}catch(e){}var _112=null;if(_111!=false){_112=doc.importNode(node,true);}else{_112=node;}try{doc.appendChild(_112);}catch(e){}},decodeXML:function(_113){ibm.portal.debug.entry("decodeXML",[_113]);var _114=_113.replace(/&amp;/g,"&");var _115=_114.replace(/&amp;/g,"&");_114=_115.replace(/&#039;/g,"'");_115=_114.replace(/&#034;/g,"\"");_115=_115.replace(/&lt;/g,"<");_115=_115.replace(/&gt;/g,">");ibm.portal.debug.exit("decodeXML",[_115]);return _115;},eventHandlerToString:function(_116){var _117=_116.toString();var _118=_117.indexOf("{");var _119=_117.lastIndexOf("}");onclickStr=_117.substring(_118+1,_119);return onclickStr;},_waitingForScript:false,_isWaitingForScript:function(){return com.ibm.portal.utilities._waitingForScript;},stopWaitingForScript:function(){com.ibm.portal.utilities._waitingForScript=false;},waitFor:function(_11a,_11b,_11c,args){var _11d=setInterval(function(){if(_11a()){clearInterval(_11d);if(!args){_11c();}else{_11c(args);}}},_11b);},waitForScript:function(_11e,args){com.ibm.portal.utilities._waitingForScript=true;com.ibm.portal.utilities.waitFor(function(){return (!com.ibm.portal.utilities._isWaitingForScript());},500,_11e,args);}};(function(){var _11f=0,_120=0,mgrs=[],_121={};com.ibm.portal.utilities.DomDataManager=function(_122){this.trackAll=_122;this.dataSet={};this.tracked={};this.trackedProps={};this.trackedConnections={};this.id="DomDataManager"+_120++;mgrs.push(this);_121[this.id]=this;};var _123=["onclick","click","submit","onsubmit"];dojo.extend(com.ibm.portal.utilities.DomDataManager,{getDuid:function(node,set){var d;if(node.nodeType==1){d=node.getAttribute("duid");if(!d){d="duid"+_11f++;node.setAttribute("duid",d);}}else{d=node.duid;if(!d){d=node.duid="duid"+_11f++;}}if(_11f==Number.MAX_VALUE){_11f=0;}return d;},data:function(node,key,_124){if(node){var d,duid;if(arguments.length>2){duid=this.getDuid(node,true);if(this.trackAll){this.track(node);}d=this.dataSet[duid];if(!d){d=this.dataSet[duid]={};}d[key]=_124;node._domMgrId=this.id;return _124;}else{duid=this.getDuid(node);if(duid){d=this.dataSet[duid];if(d){return d[key];}}return null;}}},track:function(node){if(node&&node.nodeType==1){var d=this.getDuid(node,true);this.tracked[d]=node;return d;}return null;},trackProperty:function(node,prop){var duid=this.track(node);if(duid){if(!this.trackedProps[duid]){this.trackedProps[duid]={};}this.trackedProps[duid][prop]=true;}},trackConnection:function(node,conn){var duid=this.track(node);if(duid&&!this.trackedConnections[duid]){this.trackedConnections[duid]=[];}this.trackedConnections[duid].push(conn);},toString:function(){return this.id;},_nodeExists:function(n){while(n){if(n.parentNode==dojo.body()){return true;}n=n.parentNode;}return false;},cleanNode:function(node){if(node&&this.tracked){var i=this.track(node);if(i){for(var p in this.trackedProps[i]){this.tracked[i][p]=null;}for(var x=0;x<_123.length;x++){try{this.tracked[i][_123[x]]=null;}catch(err){}}if(this.trackedConnections[i]){while(this.trackedConnections[i].length>0){dojo.disconnect(this.trackedConnections[i].pop());}}delete this.trackedConnections[i];delete this.trackedProps[i];delete this.dataSet[i];delete this.tracked[i];}}},clean:function(_125){for(var i in this.tracked){if(_125||!this._nodeExists(this.tracked[i])){this.cleanNode(this.tracked[i]);}}},destroy:function(){this.clean(true);delete this.dataSet;delete this.tracked;delete this.trackedProps;delete this.trackedConnections;for(var i=0;i<mgrs.length;i++){if(mgrs[i]==this){mgrs.splice(i,1);break;}}for(var id in _126){if(_126[id]==this){delete _126[id];}}delete _121[this.id];}});var _127=new com.ibm.portal.utilities.DomDataManager(true);var _128=_127;var _126={};dojo.addOnWindowUnload(function(){while(mgrs.length>0){mgrs.pop().destroy();}});com.ibm.portal.utilities.domData=function(){var mgr=com.ibm.portal.utilities.domData.getManager(arguments[0]);if(mgr){return mgr.data.apply(mgr,arguments);}};dojo.mixin(com.ibm.portal.utilities.domData,{setCurrent:function(mgr){if(mgr!=null){_128=mgr;}},resetCurrent:function(){_128=_127;},getCurrent:function(){return _128;},getManager:function(node){if(node==document||node==dojo.body()){return _127;}else{if(node==window||typeof node.nodeName!="string"||typeof node.nodeType!="number"){return null;}else{if(node._domMgrId){return _121[node._domMgrId]||_128;}else{return _128;}}}},register:function(mgr,id){_126[id]=mgr;},get:function(id){return _126[id];}});dojo.subscribe("/portal/DOM/StartUpdate",function(id){var mgr=com.ibm.portal.utilities.domData.get(id);if(mgr){com.ibm.portal.utilities.domData.setCurrent(mgr);}});dojo.subscribe("/portal/DOM/StopUpdate",function(id){var mgr=com.ibm.portal.utilities.domData.get(id);if(mgr==com.ibm.portal.utilities.domData.getCurrent()){com.ibm.portal.utilities.domData.resetCurrent();}});})();com.ibm.portal.utilities.string={findNext:function(_129,_12a,from){ibm.portal.debug.entry("string.findNext",[_129,_12a]);var _12b=-1;for(var i=0;i<_12a.length;i++){var _12c=null;if(from){_12c=from+_12a[i].length;}var _12d=_129.indexOf(_12a[i],_12c);if(_12d>-1&&(_12d<_12b||_12b==-1)){_12b=_12d;}}ibm.portal.debug.exit("string.findNext",[_12b]);return _12b;},contains:function(_12e,_12f){ibm.portal.debug.entry("string.contains",[_12e,_12f]);var _130=false;if(_12e!=null&&_12f!=null){_130=(_12e.indexOf(_12f)!=-1);}ibm.portal.debug.exit("string.contains",[_130]);return _130;},strip:function(_131,_132){ibm.portal.debug.entry("string.strip",[_131,_132]);var _133=_131.replace(new RegExp(_132,"g"),"");ibm.portal.debug.exit("string.strip",[_133]);return _133;},properCase:function(_134){if(_134==null||_134.length<1){return "";}ibm.portal.debug.entry("string.properCase",[_134]);var _135=_134.charAt(0).toUpperCase();if(_134.length>1){_135+=_134.substring(1).toLowerCase();}ibm.portal.debug.exit("string.properCase",[_135]);return _135;},trim:function(_136){ibm.portal.debug.entry("string.trim",[_136]);var _137=_136;_137=_137.replace(/^\s+/,"");_137=_137.replace(/\s+$/,"");ibm.portal.debug.exit("string.trim",_137);return _137;}};dojo.declare("com.ibm.portal.utilities.HttpUrl",null,{constructor:function(_138){this.scheme=window.location.protocol+"//";this.server=this._extractServer(_138);this.port=this._extractPort(_138);this.path=this._extractPath(_138);this.query=this._extractQuery(_138);this.anchor="";},addParameter:function(name,_139){this.query+="&"+name+"="+_139;},toString:function(){var str="";if(this.server!=""){str+=this.scheme+this.server;}if(this.port!=""){str+=":"+this.port;}str+="/"+this.path;if(this.query!=""){str+="?"+this.query;}if(this.anchor!=""){str+="#"+this.anchor;}return str;},_extractServer:function(_13a){var _13b=_13a.indexOf(this.scheme);var _13c="";if(_13b==0){var _13d=_13a.indexOf("/",_13b+this.scheme.length);var _13e=_13a.substring(_13b+this.scheme.length,_13d);_13c=_13e.split(":")[0];}return _13c;},_extractPort:function(_13f){var _140=_13f.indexOf(this.server);var _141="";if(_140>=0){var _142=_13f.indexOf("/",_140);var _143=_13f.substring(_140,_142);var _144=_143.split(":");if(_144.length>1){_141=_144[1];}}return _141;},_extractPath:function(_145){var _146=_145.indexOf(this.server);var _147="";if(_146>=0){var _148=_145.indexOf("/",_146);var _149=_145.indexOf("?");var _14a=_145.lastIndexOf("#");if(_149>=0){_147=_145.substring(_148+1,_149);}else{if(_14a>=0){_147=_145.substring(_148+1,_14a);}else{_147=_145.substring(_148+1);}}}return _147;},_extractQuery:function(_14b){var _14c="";var _14d=_14b.split("?");if(_14d.length>1){_14c=_14d[1].split("#")[0];}return _14c;},_extractAnchor:function(_14e){var _14f="";var _150=_14e.split("#");if(_150.length>1){_14f=_150[_150.length-1];}return _14f;}});}if(!dojo._hasResource["com.ibm.portal.debug"]){dojo._hasResource["com.ibm.portal.debug"]=true;dojo.provide("com.ibm.portal.debug");dojo.provide("ibm.portal.debug");ibm.portal.debug.setTrace=function(_151){ibm.portal.debug._traceString=_151;};ibm.portal.debug._isDebugEnabled=function(){var _152=false;if(typeof (ibmPortalConfig)!="undefined"){if(ibmPortalConfig&&ibmPortalConfig.isDebug){_152=true;}}return _152;};ibm.portal.debug.text=function(str,_153){if(typeof (ibmPortalConfig)!="undefined"){if(ibmPortalConfig&&ibmPortalConfig.isDebug){var _154=ibm.portal.debug._traceString;if(_154){if(_153){if(_153.indexOf(_154)>=0){window.console.log(str);}}}else{window.console.log(str);}}}};ibm.portal.debug.entry=function(_155,args){if(ibm.portal.debug._isDebugEnabled()){var _156=_155+" --> entry; { ";if(args&&args.length>0){for(arg in args){_156=_156+args[arg]+" ";}}_156=_156+" } ";ibm.portal.debug.text(_156,_155);}};ibm.portal.debug.exit=function(_157,_158){if(ibm.portal.debug._isDebugEnabled()){var _159=_157+" --> exit;";if(typeof (_158)!="undefined"){_159=_159+" { "+_158+" } ";}ibm.portal.debug.text(_159,_157);}};ibm.portal.debug.escapeXmlForHTMLDisplay=function(_15a){_15a=_15a.replace(/</g,"&lt;");_15a=_15a.replace(/>/g,"&gt;");return _15a;};}if(!dojo._hasResource["com.ibm.ajax.auth"]){dojo._hasResource["com.ibm.ajax.auth"]=true;dojo.provide("com.ibm.ajax.auth");com.ibm.ajax.auth={prepareSecure:function(args,_15b,_15c){args._handle=args.handle;args.handle=dojo.partial(this.testAuthenticationHandler,this,_15b,_15c);return args;},setAuthenticationHandler:function(_15d){this.authenticationHandler=_15d;},setTestAuthenticationHandler:function(_15e){this.testAuthenticationHandler=_15e;},setDefaultAuthenticationTests:function(_15f,_160,_161){this.checkFromCaller=_15f;this.checkByContentType=_160;this.checkByStatusCode=_161;},addAuthenticationCheck:function(_162){if(_162){this.authenticationChecks.push(_162);}},isAuthenticationRequired:function(_163,_164){var _165=_164.args.handleAs;var _166=false;if(!_163||dojo.indexOf(["cancel","timeout"],_163.dojoType)==-1){if(this.checkByContentType&&dojo.indexOf(["xml","json","json-comment-optional","text"],_165)!=-1&&_164.xhr&&/^text\/html/.exec(_164.xhr.getResponseHeader("Content-Type"))&&_164.xhr.status>=200&&_164.xhr.status<300){ibm.portal.debug.text("auth::isAuthenticationRequired DEBUG content type does not match request, assume logged out");return true;}else{if(this.checkByStatusCode&&dojo.indexOf(["xml","json","json-comment-optional","text"],_165)!=-1&&_164.xhr&&_164.xhr.status==302){ibm.portal.debug.text("auth::isAuthenticationRequired DEBUG redirect received, assume login request");return true;}else{if(this.checkByStatusCode&&_164.xhr&&(_164.xhr.status==401||_164.xhr.status==0)&&_164.xhr.getResponseHeader("WWW-Authenticate")&&_164.xhr.getResponseHeader("WWW-Authenticate").indexOf("IBMXHR")!=-1){ibm.portal.debug.text("auth::isAuthenticationRequired DEBUG Portal 401 received, assume login required");return true;}}}}if(!_166){for(var i=0;i<this.authenticationChecks.length;i++){if(this.authenticationChecks[i](this,_163,_164)){return true;}}}return false;},testAuthenticationHandler:function(auth,_167,_168,_169,_16a){var args=dojo._toArray(arguments).slice(3);var _16b=false;if(!_169||dojo.indexOf(["cancel","timeout"],_169.dojoType)==-1){if(auth.checkFromCaller&&typeof _167=="function"&&_167(_169,_16a)){_16b=true;}else{_16b=auth.isAuthenticationRequired(_169,_16a,_167);}}if(_16b){var path=auth._parseUri(_16a.args.url).path;dojo.cookie("WASPostParam",null,{expires:-1,path:path});dojo.cookie("WASReqURL",null,{expires:-1,path:"/"});auth.authenticationHandler(_169,_16a,_168);args[0]=new Error("xhr unauthenticated");args[0].dojoType="unauthenticated";}if(_16a.args._handle){return _16a.args._handle.apply(this,args);}else{return (_169);}},_parseUri:function(uri){if(!uri){return null;}uri=new dojo._Url(uri);var _16c=this._splitQuery(uri.query);uri.queryParameters=_16c;return uri;},_splitQuery:function(_16d){var _16e={};if(!_16d){return _16e;}if(_16d.charAt(0)=="?"){_16d=_16d.substring(1);}var args=_16d.split("&");for(var i=0;i<args.length;i++){if(args[i].length>0){var _16f=args[i].indexOf("=");if(_16f==-1){var key=decodeURIComponent(args[i]);var _170=_16e[key];if(dojo.isArray(_170)){_170.push("");}else{if(_170){_16e[key]=[_170,""];}else{_16e[key]="";}}}else{if(_16f>0){var key=decodeURIComponent(args[i].substring(0,_16f));var _171=decodeURIComponent(args[i].substring(_16f+1));var _170=_16e[key];if(dojo.isArray(_170)){_170.push(_171);}else{if(_170){_16e[key]=[_170,_171];}else{_16e[key]=_171;}}}}}}return _16e;},checkFromCaller:true,checkByContentType:true,checkByStatusCode:true,authenticationChecks:[],authenticationHandler:function(){ibm.portal.debug.text("auth::authenticationHandler DEBUG authentication was required");}};}

}catch(e){console.log("Module 'wp_portal_client_utils': ",e);}
try{/** Licensed Materials - Property of IBM, 5724-U69, (C) Copyright IBM Corp. 2009, 2010 - All Rights reserved.  **/
if(!dojo._hasResource["com.ibm.portal.EventBroker"]){dojo._hasResource["com.ibm.portal.EventBroker"]=true;dojo.provide("com.ibm.portal.EventBroker");dojo.require("com.ibm.portal.debug");dojo.declare("com.ibm.portal.Event",null,{constructor:function(_1){this.eventName=_1;this._listeners=new Array();},fire:function(_2){ibm.portal.debug.text("Firing event: "+this.eventName+" with parameters: ");dojo.publish(this.eventName,[_2]);},register:function(_3,_4){if(!_4){return dojo.subscribe(this.eventName,null,_3);}else{return dojo.subscribe(this.eventName,_3,_4);}},unregister:function(_5){dojo.unsubscribe(_5);},cancel:function(_6){dojo.publish(this.id+"/cancel");}});dojo.declare("com.ibm.portal.EventBroker",null,{startPage:new com.ibm.portal.Event("portal/StartPage"),endPage:new com.ibm.portal.Event("portal/EndPage"),startFragment:new com.ibm.portal.Event("portal/StartFragment"),endFragment:new com.ibm.portal.Event("portal/EndFragment"),fragmentUpdated:new com.ibm.portal.Event("portal/FragmentUpdated"),startRequest:new com.ibm.portal.Event("portal/StartRequest"),endRequest:new com.ibm.portal.Event("portal/EndRequest"),cancelAll:new com.ibm.portal.Event("portal/CancelAll"),cancelFragmentUpdate:new com.ibm.portal.Event("portal/CancelFragmentUpdate"),stateChanged:new com.ibm.portal.Event("portal/StateChanged"),startScriptHandling:new com.ibm.portal.Event("portal/StartScriptHandling"),endScriptHandling:new com.ibm.portal.Event("portal/EndScriptHandling"),startScriptExecution:new com.ibm.portal.Event("portal/StartScriptExecution"),endScriptExecution:new com.ibm.portal.Event("portal/EndScriptExecution"),javascriptCleanup:new com.ibm.portal.Event("portal/JavascriptCleanup"),beforeSnapShot:new com.ibm.portal.Event("portal/BeforeSnapShot"),afterSnapShot:new com.ibm.portal.Event("portal/AfterSnapShot"),restorePointUpdated:new com.ibm.portal.Event("portal/RestorePointUpdated"),clearRestorePoint:new com.ibm.portal.Event("portal/ClearRestorePoint"),stopEvent:new com.ibm.portal.Event("portal/StopEvent"),redirect:new com.ibm.portal.Event("portal/Redirect")});com.ibm.portal.EVENT_BROKER=new com.ibm.portal.EventBroker();}if(!dojo._hasResource["com.ibm.portal.services.PortalRestServiceRequestQueue"]){dojo._hasResource["com.ibm.portal.services.PortalRestServiceRequestQueue"]=true;dojo.provide("com.ibm.portal.services.PortalRestServiceRequestQueue");dojo.declare("com.ibm.portal.services.PortalRestServiceRequestQueue",null,{maxNumberOfActiveRequests:4,constructor:function(){var _7="PortalRestServiceRequestQueue.constructor";ibm.portal.debug.entry(_7);this._activeRequests=0;this._requestQueue=[];ibm.portal.debug.exit(_7);},add:function(_8){var _9="PortalRestServiceRequestQueue.add";ibm.portal.debug.entry(_9,[_8]);this._requestQueue.push(_8);var me=this;setTimeout(function(){me._executeNextRequest();},5);ibm.portal.debug.exit(_9);},_executeNextRequest:function(){var _a="PortalRestServiceRequestQueue._executeNextRequest";ibm.portal.debug.entry(_a);ibm.portal.debug.text(this._requestQueue.length+" request(s) in the queue. "+this._activeRequests+" active request(s) currently.",_a);if(this._requestQueue.length>0&&this._activeRequests<this.maxNumberOfActiveRequests){var _b=this._requestQueue.shift();ibm.portal.debug.text("Executing request: "+_b,_a);var me=this;setTimeout(function(){me._activeRequests=me._activeRequests+1;_b.execute(function(){me._notifyComplete();});},1);}else{ibm.portal.debug.text("No request(s) pending or maximum number of requests already currently active.",_a);}ibm.portal.debug.exit(_a);},_notifyComplete:function(){var _c="PortalRestServiceRequestQueue._notifyComplete";this._activeRequests=this._activeRequests-1;if(this._activeRequests<0){this._activeRequests=0;}var me=this;setTimeout(function(){me._executeNextRequest();},5);}});}if(!dojo._hasResource["com.ibm.portal.utilities.html"]){dojo._hasResource["com.ibm.portal.utilities.html"]=true;dojo.provide("com.ibm.portal.utilities.html");dojo.require("com.ibm.portal.utilities");dojo.require("dojo.fx");com.ibm.portal.utilities.html={createAnchor:function(_d,_e,id,_f,_10){ibm.portal.debug.entry("SkinRenderer.createAnchor",[_d,_e,id,_f,_10]);var _11=document.createElement("A");_11.href=_e;if(id){_11.id=id;}if(_10){_11.className=_10;}if(_f){_11.appendChild(document.createTextNode(_f));}_d.appendChild(_11);ibm.portal.debug.exit("SkinRenderer.createAnchor",[_11]);return _11;},createButton:function(_12,_13,id,_14,_15){ibm.portal.debug.entry("SkinRenderer.createButton",[_12,_13,id,_14,_15]);var _16=document.createElement("BUTTON");if(_13){_16.href=_13;}if(id){_16.id=id;}if(_15){_16.className=_15;}if(_14){_16.appendChild(document.createTextNode(_14));}_12.appendChild(_16);ibm.portal.debug.exit("SkinRenderer.createButton",[_16]);return _16;},createImage:function(_17,src,id,_18,_19){ibm.portal.debug.entry("SkinRenderer.createImage",[_17,src,id,_18,_19]);var img=document.createElement("IMG");img.src=src;if(id){img.id=id;}if(_18){img.alt=_18;img.setAttribute("title",_18);if(_17.nodeName=="BUTTON"){_17.setAttribute("title",_18);}}if(_19){img.className=_19;}_17.appendChild(img);ibm.portal.debug.exit("SkinRenderer.createImage",[img]);return img;},createImageAnchor:function(_1a,src,id,_1b,_1c){ibm.portal.debug.entry("SkinRenderer.createImageAnchor",[_1a,src,id,_1b,_1c]);var _1d=com.ibm.portal.utilities.html.createAnchor(_1a,"javascript:void(0);");var img=document.createElement("IMG");img.src=src;if(id){img.id=id;}if(_1b){img.alt=_1b;img.title=_1b;}if(_1c){img.className=_1c;}_1d.appendChild(img);ibm.portal.debug.exit("SkinRenderer.createImageAnchor",[img]);return _1d;},createTemporaryMarkupDiv:function(_1e){ibm.portal.debug.entry("html.createTemporaryMarkupDiv");var _1f={markup:_1e,objects:{}};if(dojo.isIE||window.ActiveXObject!==undefined){_1f=com.ibm.portal.utilities.html.extractObjectElementsFromString(_1e);_1f.markup=com.ibm.portal.utilities.html.replaceForms(_1f.markup);}var div=document.createElement("DIV");dojo.body().appendChild(div);div.setAttribute("style","display:none");div.innerHTML="<p style='display: none;'>&nbsp;</p>"+_1f.markup;ibm.portal.debug.exit("html.createTemporaryMarkupDiv",[div]);return {node:div,objects:_1f.objects};},replaceTemporaryMarkup:function(_20,_21){var c=_20.node.childNodes;if(c&&_20.node!=_21){while(c.length>0){_21.appendChild(c[0]);}}if(dojo.isIE||window.ActiveXObject!==undefined){com.ibm.portal.utilities.html.replaceObjectElementsInMarkup(_20.objects);com.ibm.portal.utilities.html.replaceFormMarkers(_21);}},extractObjectElementsFromString:function(_22){var _23={};var _24=/<object/gi;var _25=/<\/object>/gi;var _26=_22;var _27=null;try{_27=_24.exec(_26);if(_27&&_27.index>-1){var _28=_27.index;var buf;var end;var _29;var id;while(_28>-1){buf=_26.substring(0,_28);end=_26.indexOf(">",_28);if(_26.charAt(end-1)=="/"){_24.lastIndex=end;_27=_24.exec(_26);if(_27){_28=_27.index;continue;}else{break;}}_25.lastIndex=_28;_27=_25.exec(_26);if(_27){end=_27.index;}else{break;}_29=_26.substring(_28,end+9);id=dojo.dnd.getUniqueId();_26=buf+"<div id='"+id+"'></div>"+_26.substring(end+9);_23[id]=_29;_24.lastIndex=0;_27=_24.exec(_26);if(_27){_28=_27.index;}else{break;}}}_22=_26;}catch(e){_23={};}return {markup:_22,objects:_23};},replaceObjectElementsInMarkup:function(_2a){for(var id in _2a){var _2b=dojo.byId(id);if(_2b){_2b.outerHTML=_2a[id];}}},removeNodesOnCondition:function(_2c,_2d){if(!_2d){_2d=function(){return false;};}if(_2c&&_2c.childNodes){for(var i=0;i<_2c.childNodes.length;i++){if(_2d(_2c.childNodes[i])){var _2e=_2c.childNodes[i];_2c.removeChild(_2e);delete _2e;i--;}else{this.removeNodesOnCondition(_2c.childNodes[i],_2d);}}}},getElementsByTagNames:function(_2f){ibm.portal.debug.entry("html.getElementsByTagNames",[_2f]);var _30=new Array();for(var i=1;i<arguments.length;i++){var _31=_2f.getElementsByTagName(arguments[i]);ibm.portal.debug.text("found "+_31.length+" "+arguments[i]+" tags.");for(var j=0;j<_31.length;j++){_30.push(_31[j]);}}ibm.portal.debug.exit("html.getElementsByTagNames",[_30]);return _30;},getX:function(_32){ibm.portal.debug.entry("html.getX",[_32]);var _33=0;if(_32!=null){if(_32.offsetParent!=null){_33+=com.ibm.portal.utilities.html.getX(_32.offsetParent);}if(_32!=null){_33+=_32.offsetLeft;}}ibm.portal.debug.exit("html.getX",[_33]);return _33;},getY:function(_34){ibm.portal.debug.entry("html.getY"[_34]);var _35=0;if(_34!=null){if(_34.offsetParent!=null){_35+=com.ibm.portal.utilities.html.getY(_34.offsetParent);}if(_34!=null){_35+=_34.offsetTop;}}ibm.portal.debug.exit("html.getY",[_35]);return _35;},convertFormToQuery:function(_36,_37){ibm.portal.debug.entry("html.convertFormToQuery",[_36,_37]);var _38=this.getElementsByTagNames(_36,"input","select","textarea","button");var _39="";var _3a="&";var _3b="=";var _3c=0;for(var i=0;i<_38.length;i++){var _3d=this.convertInputToNameValuePairs(_38[i],_37);for(var k=0;k<_3d.length;k++){var _3e=_3d[k];if(_3e.name!=""){if(_3c!=0){_39+=_3a;}_39+=encodeURIComponent(_3e.name);for(var j=0;j<_3e.values.length;j++){if(j==0){_39+=(_3b+encodeURIComponent(_3e.values[j]));}else{_39+=(_3a+encodeURIComponent(_3e.name)+_3b+encodeURIComponent(_3e.values[j]));}}_3c=_3c+1;}}}ibm.portal.debug.exit("html.convertFormToQuery",_39);return _39;},convertInputToNameValuePairs:function(_3f,_40){ibm.portal.debug.entry("html.convertInputToNameValuePairs",[_3f,_40]);var _41=_3f.type;ibm.portal.debug.text("Input type is: "+_41);ibm.portal.debug.text("Input name is: "+_3f.name);var _42="";var _43=[];var _44=[];if(!_3f.disabled){switch(_41.toLowerCase()){case "text":case "password":case "hidden":_42=_3f.name;_43.push(_3f.value);_44.push({name:_42,values:_43});break;case "reset":case "button":if(!_40||(_3f.name==_40.name&&_3f.value==_40.value)){_42=_3f.name;_43.push(_3f.value);_44.push({name:_42,values:_43});}break;case "radio":case "checkbox":if(_3f.checked){_42=_3f.name;_43.push(_3f.value);}_44.push({name:_42,values:_43});break;case "image":if(!_40||_3f.name==_40){_42=_3f.name;if(_3f.value){_43.push(_3f.value);_44.push({name:_42,values:_43});}_44.push({name:_42+".x",values:[this.getX(_3f)]});_44.push({name:_42+".y",values:[this.getY(_3f)]});}break;case "submit":if(!_40||(_3f.name==_40.name&&_3f.value==_40.value)){_42=_3f.name;if(_3f.value){_43.push(_3f.value);}_44.push({name:_42,values:_43});}break;case "select-one":case "select-multiple":_42=_3f.name;for(var i=0;i<_3f.options.length;i++){if(_3f.options[i].selected){var _45=_3f.options[i].value?_3f.options[i].value:_3f.options[i].text;_43.push(_45);}}if(_43.length!=0){_44.push({name:_42,values:_43});}break;case "file":break;default:_42=_3f.name;_43.push(_3f.value);_44.push({name:_42,values:_43});}}ibm.portal.debug.exit("html.convertInputToNameValuePairs",_44);return _44;},isHidden:function(_46){return dojo.style(_46,"display")=="none";},hide:function(_47){dojo.fx.wipeOut({node:_47,duration:5}).play();},show:function(_48){dojo.fx.wipeIn({node:_48,duration:5}).play();},isDescendantOf:function(_49,ref){var _49=_49.parentNode;var _4a=false;while(_49&&!_4a){if(_49==ref){_4a=true;}_49=_49.parentNode;}return _4a;},safeClean:function(_4b,_4c){if(!_4b||_4b.nodeType!=1){return;}if(dojo.isIE||window.ActiveXObject!==undefined){com.ibm.portal.utilities.html.cleanForms(_4b);}var _4d=com.ibm.portal.utilities.domData;dojo.query("[duid]",_4b).forEach(function(_4e){var mgr=_4d.getManager(_4e);if(mgr){mgr.cleanNode(_4e);}dojo.destroy(_4e);});_4b.innerHTML="";if(!_4c&&window.CollectGarbage){window.CollectGarbage();}}};(function(){var _4f=/<\w+([^>]*)>/i,_50=/([\w-]+)=/i;var _51={formNodes:[],getAttributeNames:function(_52){var ret=[];if(_52){var o=_52.outerHTML;var m=_4f.exec(o);if(m&&m.length>1){var _53=m[1];m=_50.exec(_53);while(m&&m.index>-1){ret.push(m[1]);_53=_53.substr(m.index+m[0].length);m=_50.exec(_53);}}}return ret;},replaceForms:function(_54){return _54.replace(/<form/ig,"<div data-csa-xform=\"true\"").replace(/<\/form>/ig,"</div>");},replaceFormMarkers:function(_55){dojo.query("[data-csa-xform]",_55).forEach(function(_56){var _57=_51.getNode(_56.getAttribute("name"));_56.parentNode.insertBefore(_57,_56);_51.moveContents(_56,_57);_56.innerHTML="";_51.copyAttributes(_56,_57);dojo.destroy(_56);_56=null;});},getNode:function(_58){var _59;if(_51.formNodes.length>0){if(_58){_59=_51.checkFormBank(_58);if(_59){ibm.portal.debug.text("getNode: returning form with name from bank: "+_59.outerHTML);return _59;}else{ibm.portal.debug.text("getNode: bank did not have a form with name");return _51.createForm(_58);}}else{_59=_51.checkFormBank(null);if(_59){ibm.portal.debug.text("getNode: no name specified, returning form from bank: "+_59.outerHTML);return _59;}else{ibm.portal.debug.text("getNode: no name specified, no blank form in bank");return _51.createForm(null);}}}else{ibm.portal.debug.text("getNode: no forms in bank");return _51.createForm(_58);}},checkFormBank:function(_5a){var i;var _5b;var j=_51.formNodes.length;if(j>0){for(i=0;i<j;i++){if(_5a&&_51.formNodes[i].getAttribute("name")){if(_51.formNodes[i].getAttribute("name").toLowerCase()==_5a.toLowerCase()){_5b=_51.formNodes[i];ibm.portal.debug.text("checkFormBank: returning "+_5b.toString());_51.formNodes.splice(i,1);return _5b;}}else{if(!(_5a&&_51.formNodes[i].getAttribute("name"))){_5b=_51.formNodes[i];ibm.portal.debug.text("checkFormBank: returning null form from bank");_51.formNodes.splice(i,1);return _5b;}}}ibm.portal.debug.text("checkFormBank: no attributes match returning null");return null;}else{ibm.portal.debug.text("checkFormBank: formBank is empty");return null;}},createForm:function(_5c){var _5d;if(_5c!=null){ibm.portal.debug.text("createForm: creating form with name");_5d=document.createElement("<form name='"+_5c+"' ></form>");}else{ibm.portal.debug.text("createForm: creating blank form");_5d=document.createElement("form");}_5d._attachEvent=_5d.attachEvent;_5d._listeners=[];_5d.attachEvent=function(nom,fn){this._listeners.push(fn);return this._attachEvent(nom,fn);};return _5d;},returnNode:function(_5e){if(_5e){if(_5e._listeners){while(_5e._listeners.length>0){_5e.detachEvent(_5e._listeners.shift());}}var _5f=com.ibm.portal.utilities.domData.getManager(_5e);if(_5f){_5f.cleanNode(_5e);}com.ibm.portal.utilities.html.safeClean(_5e);_51.clearAttributes(_5e);if(_5e.parentNode){_5e.parentNode.removeChild(_5e);}_51.formNodes.push(_5e);}},clearAttributes:function(_60){if(_60){var _61=_51.getAttributeNames(_60),n;if(_61){for(var j=0;j<_61.length;j++){n=_61[j];if(n!="duid"&&n.toLowerCase()!="name"){_60.removeAttribute(n);}}}}},copyAttributes:function(_62,_63){if(_62){var _64=_51.getAttributeNames(_62),n,_65;if(_64){for(var j=0;j<_64.length;j++){n=_64[j];if(n=="data-csa-xform"){continue;}_65=_62.getAttributeNode(n);if(_65){ibm.portal.debug.text("copyAttributes is setting both enctype and encoding to: "+_65.value);if(n=="enctype"||n=="encoding"){_63.setAttribute("enctype",_65.value);_63.setAttribute("encoding",_65.value);}else{ibm.portal.debug.text("copyAttributes is setting: "+n+" to: "+_65.value);_63.setAttribute(n.toLowerCase(),_65.value);}}}}_63.style.cssText=_62.style.cssText;}},moveContents:function(_66,_67){var c=_66.childNodes;if(c&&_66!=_67){while(c.length>0){_67.appendChild(c[0]);}}},cleanForms:function(_68){if(_68){var _69=dojo.query("form",_68).forEach(function(_6a){_51.returnNode(_6a);});}}};dojo.mixin(com.ibm.portal.utilities.html,{replaceForms:_51.replaceForms,replaceFormMarkers:_51.replaceFormMarkers,cleanForms:_51.cleanForms});dojo.addOnWindowUnload(function(){var _6b;while(_51.formNodes.length>0){_6b=_51.formNodes.shift();if(_6b){var _6c=com.ibm.portal.utilities.domData.getManager(_6b);if(_6c){_6c.cleanNode(_6b);}_6b._attachEvent=null;_6b.attachEvent=null;_6b._listeners=null;}}});})();}if(!dojo._hasResource["com.ibm.portal.services.PortalRestServiceRequest"]){dojo._hasResource["com.ibm.portal.services.PortalRestServiceRequest"]=true;dojo.provide("com.ibm.portal.services.PortalRestServiceRequest");dojo.require("com.ibm.ajax.auth");dojo.require("com.ibm.portal.EventBroker");dojo.require("dojo.dnd.common");dojo.require("com.ibm.portal.services.PortalRestServiceRequestQueue");dojo.declare("com.ibm.portal.services.ContentHandlerURL",null,{constructor:function(uri,_6d,_6e,_6f){ibm.portal.debug.entry("ContentHandlerURL.constructor",[uri,_6d,_6e,_6f]);if(uri==null){return null;}if(!_6d){_6d=2;}var _70=com.ibm.portal.navigation.controller.NAVIGATION_CONTROLLER.getState();var _71=_70.getLocale();if(_71){if(_6f){_6f+="&locale="+_71;}else{_6f="&locale="+_71;}}this.url="";if(uri.charAt(0)=="?"){this.url=this._fromQueryString(uri,_6f);}else{if(uri.charAt(0)=="/"){this.url=uri;if(this.url.indexOf("rep=compact")<0&&this.url.indexOf("rep=full")<0){if(uri.indexOf("?")!=-1){this.url=this.url+"&rep=compact";}else{this.url=this.url+"?rep=compact";}}if(_6f){this.url=this.url+_6f;}}else{this.url=this._fromURI(uri,_6d,"download",_6f);}}ibm.portal.debug.exit("ContentHandlerURL.constructor");},_fromQueryString:function(_72,_73){ibm.portal.debug.entry("fromQueryString",[_72]);var str=ibmPortalConfig["contentHandlerURI"]+_72;str=str.replace(/&amp;/g,"&");if(_73){str=str+_73;}if(str.indexOf("rep=compact")<0&&str.indexOf("rep=full")<0){str=str+"&rep=compact";}ibm.portal.debug.exit("fromQueryString",[str]);return str;},_fromURI:function(uri,_74,_75,_76){ibm.portal.debug.entry("ContentHandlerURL._fromURI",[uri,_74,_75,_76]);uri=com.ibm.portal.utilities.encodeURI(uri);var _77="?uri="+uri;if(_74){_77=_77+"&levels="+encodeURIComponent(_74);}if(_75){_77=_77+"&mode="+encodeURIComponent(_75);}if(_76){_77=_77+_76;}if(_77.indexOf("rep=compact")<0&&_77.indexOf("rep=full")<0){_77=_77+"&rep=compact";}return this._fromQueryString(_77);},getURI:function(){ibm.portal.debug.entry("ContentHandlerURL.getURI");return com.ibm.portal.utilities.decodeURI(this._extractParamValue("uri"));},getLevels:function(){return this._extractParamValue("levels");},getVerb:function(){return this._extractParamValue("verb");},_extractParamValue:function(_78){ibm.portal.debug.entry("ContentHandlerURL._extractParamValue",[_78]);var _79=this.url.indexOf(_78);var _7a=this.url.indexOf("&",_79);var _7b=this.url.slice(_79+_78.length+1,_7a);ibm.portal.debug.exit("ContentHandlerURL._extractParamValue",[_7b]);return _7b;}});dojo.require("com.ibm.portal.utilities.html");dojo.declare("com.ibm.portal.services.PortalRestServiceForm",null,{method:"GET",isMultipart:false,encoding:"application/x-www-form-urlencoded",DomId:null,constructor:function(_7c){if(_7c.getAttributeNode("method")){this.method=_7c.getAttributeNode("method").value;}if(_7c.getAttributeNode("encType")){this.encoding=_7c.getAttributeNode("encType").value;}if(_7c.getAttributeNode("id")){this.DomId=_7c.getAttributeNode("id").value;}else{DomId=_7c;}this.isMultipart=(this.encoding=="multipart/form-data");},getDOMElement:function(){return dojo.byId(this.DomId);},submit:function(){this.getDOMElement().submit();},toQuery:function(){return com.ibm.portal.utilities.html.convertFormToQuery(this.getDOMElement());}});com.ibm.portal.services.REQUEST_QUEUE=new com.ibm.portal.services.PortalRestServiceRequestQueue();dojo.declare("com.ibm.portal.services.PortalRestServiceRequest",null,{constructor:function(_7d,_7e,_7f,_80){ibm.portal.debug.entry("PortalRestServiceRequest.constructor",[_7d,_7e,_7f,_80]);this._feedURI=_7d.url;this._textOnly=_7f;this._sync=_80;this._form=_7e;this._customResponseValidator=null;this._onauthenticated=null;if(!this._sync){this._sync=false;}ibm.portal.debug.exit("PortalRestServiceRequest.constructor");},cancelled:false,_deferred:undefined,setAuthenticationValidator:function(_81){this._customResponseValidator=_81;},setOnAuthenticatedHandler:function(_82){this._onauthenticated=_82;},create:function(_83,_84,_85){if(!this.cancelled){this._doXmlHttpRequest("POST",_83,_84,_85);}},read:function(_86,_87){ibm.portal.debug.entry("PortalRestServiceRequest.read",[_86,_87]);if(!this.cancelled){if(!this._sync){ibm.portal.debug.text("Queueing request!");var q=com.ibm.portal.services.REQUEST_QUEUE;var me=this;q.add({execute:function(_88){if(!me.cancelled){com.ibm.portal.EVENT_BROKER.startRequest.fire({uri:me._feedURI});var _89=function(_8a,_8b,_8c,_8d){_86(_8a,_8b,_8c,_8d);if(_88){_88();}};if(me._textOnly){me._retrieveRawFeed(_89,_87);}else{me._retrieve(_89,_87);}}else{if(_88){_88();}}}});}else{com.ibm.portal.EVENT_BROKER.startRequest.fire({uri:this._feedURI});if(this._textOnly){this._retrieveRawFeed(_86,_87);}else{this._retrieve(_86,_87);}}}ibm.portal.debug.exit("PortalRestServiceRequest.read");},update:function(_8e,_8f,_90){if(!this.cancelled){this._doXmlHttpRequest("Put",_8e,_8f,_90);}},remove:function(_91,_92){if(!this.cancelled){this._doXmlHttpRequest("Delete",null,_91,_92);}},cancel:function(){this.cancelled=true;if(this._deferred!==undefined){this._deferred.cancel();}},_retrieveRawFeed:function(_93,_94){ibm.portal.debug.entry("_retrieveRawFeed",[_93,_94]);var me=this;dojo.xhrGet({url:this._feedURI,load:function(_95,_96,evt){_93(_96,_94);com.ibm.portal.EVENT_BROKER.endRequest.fire({uri:me._feedURI});},sync:this._sync});ibm.portal.debug.exit("_retrieveRawFeed");},_retrieve:function(_97,_98,_99,_9a){ibm.portal.debug.entry("_retrieve",[_97]);if(this._form&&this._form.isMultipart){this._doIframeRequest(_97,_98);}else{this._doXmlHttpRequest("Get",null,_97,_98);}ibm.portal.debug.exit("PortalRestServiceRequest._retrieve");},_doIframeRequest:function(_9b,_9c){ibm.portal.debug.entry("PortalRestServiceRequest._doIframeRequest",[_9b]);var _9d=null;var _9e=dojo.dnd.getUniqueId();if(dojo.isIE||window.ActiveXObject!==undefined){_9d=document.createElement("<iframe name='"+_9e+"' id='"+_9e+"' src='about:blank' onload='com.ibm.portal.aggregation.forms.PORTLET_FORM_HANDLER.handleMultiPartResult(this.id);'></iframe>");com.ibm.portal.aggregation.forms.PORTLET_FORM_HANDLER._callbackfns[_9e]={fn:_9b,args:_9c};var url=new com.ibm.portal.utilities.HttpUrl(this._feedURI);url.addParameter("ibm.web2.contentType","text/plain");this._form.getDOMElement().setAttribute("action",url.toString());}else{ibm.portal.debug.text("Creating the iframe... name is: "+_9e+"; url is: "+this._feedURI);_9d=document.createElement("IFRAME");_9d.setAttribute("name",_9e);_9d.setAttribute("id",_9e);var me=this;_9d.onload=function(){var xml=window.frames[_9e].document;_9b("load",xml,null,_9c);com.ibm.portal.EVENT_BROKER.endRequest.fire({uri:me._feedURI});};this._form.getDOMElement().setAttribute("action",this._feedURI);}_9d.style.visibility="hidden";_9d.style.height="1px";_9d.style.width="1px";document.body.appendChild(_9d);if(window.frames[_9e].name!=_9e){window.frames[_9e].name=_9e;}ibm.portal.debug.text("Setting the iframe target attribute to: "+_9e);this._form.getDOMElement().setAttribute("target",_9e);this._form.submit();ibm.portal.debug.exit("PortalRestServiceRequest._doIframeRequest");},isValidRedirect:function(_9f,_a0){ibm.portal.debug.text("URLS request: "+_9f+" redirect: "+_a0);var _a1=_9f.indexOf("http");var _a2=_a0.indexOf("http");var _a3=false;if(_a2==0){var _a4=_9f.indexOf("//");var _a5=_a0.indexOf("//");if((_a4>0)&&(_a5>0)){var _a6=_9f.indexOf(":",_a4);var _a7=_a0.indexOf(":",_a5);if(_a6<0){_a6=_9f.indexOf("/",_a4+2);}if(_a7<0){_a7=_a0.indexOf("/",_a5+2);}var _a8=_9f.substring(_a4+2,_a6);ibm.portal.debug.text("request Host is: "+_a8);var _a9=_a0.substring(_a5+2,_a7);ibm.portal.debug.text("redirect Host is: "+_a9);if(_a8.toLowerCase()==_a9.toLowerCase()){_a3=true;}}}else{_a3=true;ibm.portal.debug.text("PortalRestServiceRequest.isValid returning true - relative url");}ibm.portal.debug.text("PortalRestServiceRequest._isValidRedirect returning:"+_a3);return _a3;},_doXmlHttpRequest:function(_aa,_ab,_ac,_ad){ibm.portal.debug.entry("PortalRestServiceRequest._doXmlHttpRequest",[_aa,_ab,_ac,_ad]);ibm.portal.debug.text("Attempting to retrieve: "+this._feedURI+" using method: "+_aa+"; synchronously? "+this._sync);var me=this;var _ae={url:this._feedURI,content:{},headers:{"X-IBM-XHR":"true"},handle:function(_af,_b0){ibm.portal.debug.entry("PortalRestServiceRequest.handle",[_af,_b0]);if(_af instanceof Error&&_af.dojoType==="cancel"){_ac("cancel",_af,null,_ad);return;}var xhr=_b0.xhr;ibm.portal.debug.text("XHR object: "+xhr);var _b1=com.ibm.portal.services.PortalRestServiceConfig;var _b2=xhr.getResponseHeader("X-Request-Digest");if(_b2){_b1.digest=_b2;}if(xhr.status==200){var _b3=_af;var loc=xhr.getResponseHeader("IBM-Web2-Location");if((loc)&&me.isValidRedirect(top.location.href,loc)){if(loc.indexOf(ibmPortalConfig["portalProtectedURI"])>=0&&me._feedURI.indexOf(ibmPortalConfig["portalPublicURI"])>=0){top.location.href=loc;return;}}var _b4=xhr.getResponseHeader("Content-Type");ibm.portal.debug.text("content-type is: "+_b4);if(/^text\/html/.exec(_b4)&&loc&&(loc.indexOf(ibmPortalConfig["portalProtectedURI"])>-1||loc.indexOf(ibmPortalConfig["portalPublicURI"])>-1)&&me.isValidRedirect(top.location.href,loc)){ibm.portal.debug.text("content-type is text .. follow IBM-Web2-Location");top.location.href=loc;return;}var _b5=com.ibm.ajax.auth;var _b6=false;if(me._customResponseValidator){_b6=me._customResponseValidator(_af,_b0);}if(!_b6){_b6=_b5.isAuthenticationRequired(_af,_b0);}if(_b6){_b5.authenticationHandler(_af,_b0,me._onauthenticated);return;}ibm.portal.debug.text("Read feed: "+me._feedURI);if(dojo.isIE||window.ActiveXObject!==undefined){var doc=com.ibm.portal.xslt.loadXmlString(_b3);_ac("load",doc,xhr,_ad);}else{_ac("load",_b3,xhr,_ad);}}else{if(dojo.isFF&&_b0.xhr.status==0){return;}else{if(xhr.status==401||xhr.status==0){ibm.portal.debug.text("Basic auth 401 found, trigger reload");com.ibm.ajax.auth.authenticationHandler();return;}else{_ac("error",_af,xhr,_ad);}}}com.ibm.portal.EVENT_BROKER.endRequest.fire({uri:me._feedURI});ibm.portal.debug.exit("PortalRestServiceRequest.handle");},sync:this._sync,handleAs:"xml"};if(this._form){_ae.content=dojo.queryToObject(this._form.toQuery());_aa=this._form.method;}_aa=_aa.toUpperCase();if(_aa!="GET"&&_aa!="POST"){if(ibmPortalConfig&&ibmPortalConfig.xMethodOverride){_ae.headers["X-Method-Override"]=_aa.toUpperCase();_aa="Post";}}if(_aa=="PUT"&&_ab){_ae.putData=_ab;}else{if(_aa=="POST"&&_ab){_ae.postData=_ab;}}if(dojo.isIE||window.ActiveXObject!==undefined){_ae.content["ibm.web2.contentType"]="text/xml";_ae.handleAs="text";}var _b7=com.ibm.portal.services.PortalRestServiceConfig;if(_b7.timeout){_ae.timeout=_b7.timeout;}if(_b7.digest){_ae.content["digest"]=_b7.digest;}_aa=com.ibm.portal.utilities.string.properCase(_aa);var _b8=dojo["xhr"+_aa];if(_b8){this._deferred=_b8(_ae);}else{throw new Error("Invalid request method attempted: "+_aa);}ibm.portal.debug.exit("PortalRestServiceRequest._doXmlHttpRequest");},toString:function(){return this._feedURI;}});com.ibm.portal.services.PortalRestServiceConfig={timeout:null,digest:null};(function(){var _b9=false;com.ibm.ajax.auth.setAuthenticationHandler(function(){if(_b9){return;}if(typeof (document.isCSA)=="undefined"){top.location.reload();}else{_b9=true;ibm.portal.debug.entry("DefaultAuthenticationHandler");ibm.portal.debug.text("Illegal response content-type detected!");ibm.portal.debug.text("Parameterized redirect URL is: "+ibmPortalConfig["contentModelBlankURL"]);var _ba=com.ibm.portal.navigation.controller.NAVIGATION_CONTROLLER.getState();var _bb=ibmPortalConfig["contentModelBlankURL"].replace("-----oid-----",_ba.getPageSelection());ibm.portal.debug.text("fullPageRefreshURL is currently: "+_bb);if(dojo.cookie("WASReqURL")!=null){var _bc=_ba.createLinkToCurrentState();var _bd="WASReqURL="+_bc+"; path=/";document.cookie=_bd;}ibm.portal.debug.text("Redirecting to: "+_bb);com.ibm.portal.EVENT_BROKER.redirect.fire({url:_bb});_b9=false;top.location.href=_bb;ibm.portal.debug.exit("DefaultAuthenticationHandler");}});})();}if(!dojo._hasResource["com.ibm.portal.services.PortletFragmentService"]){dojo._hasResource["com.ibm.portal.services.PortletFragmentService"]=true;dojo.provide("com.ibm.portal.services.PortletFragmentService");dojo.require("dojox.data.dom");dojo.require("com.ibm.portal.services.PortalRestServiceRequest");dojo.require("com.ibm.portal.utilities");dojo.require("com.ibm.portal.debug");dojo.require("com.ibm.portal.EventBroker");dojo.declare("com.ibm.portal.services.PortletFragmentURL",null,{constructor:function(uri){if(uri.indexOf("?uri=")==0){this.url=ibmPortalConfig["portalURI"]+uri;this.url=this.url.replace(/&amp;/g,"&");this.url=this.url.replace(/lm:/,"pm:");}else{if(uri.indexOf("lm:")==0){this.url=ibmPortalConfig["portalURI"]+"?uri=fragment:"+uri;this.url=this.url.replace(/lm:/,"pm:");}else{this.url=uri;}}}});dojo.declare("com.ibm.portal.services.PortletInfo",null,{constructor:function(wId,pId,_be,_bf,_c0,_c1,_c2,_c3,_c4,_c5,_c6,_c7){ibm.portal.debug.entry("PortletInfo.constructor",[wId,pId,_be,_bf,_c0,_c1,_c3,_c7]);this.windowId=wId;this.portletId=pId;this.uri="fragment:pm:oid:"+wId+"@oid:"+pId;this.markup=_be;this.portletModes=_bf;this.windowStates=_c0;this.dependentPortlets=_c1;this.otherPortlets=_c2;this.stateVaryExpressions=_c4;this.updatedState=_c3;this.currentMode=_c5;this.currentWindowState=_c6;this.portletTitle=_c7;ibm.portal.debug.exit("PortletInfo.constructor");}});dojo.declare("com.ibm.portal.services.PortletFragmentService",null,{namespaces:{"xsl":"http://www.w3.org/1999/XSL/Transform","thr":"http://purl.org/syndication/thread/1.0","atom":"http://www.w3.org/2005/Atom","xhtml":"http://www.w3.org/1999/xhtml","model":"http://www.ibm.com/xmlns/prod/websphere/portal/v6.0.1/portal-model-elements","base":"http://www.ibm.com/xmlns/prod/websphere/portal/v6.0/ibm-portal-composite-base","portal":"http://www.ibm.com/xmlns/prod/websphere/portal/v6.0.1/portal-model","xsi":"http://www.w3.org/2001/XMLSchema-instance","state":"http://www.ibm.com/xmlns/prod/websphere/portal/v6.1/portal-state","state-vary":"http://www.ibm.com/xmlns/prod/websphere/portal/v6.1/portal-state-vary"},activeRequests:{},constructor:function(){this.staticContext=com.ibm.portal.services.PortletFragmentService.prototype;},_flagPortletUrl:function(url,_c8){ibm.portal.debug.entry("PortletFragmentService._flagPortletUrl",[url]);var _c9=url.indexOf("uri=fragment:pm:oid:");var _ca=new com.ibm.portal.utilities.HttpUrl(url);_ca.addParameter("ibm.web2.keepRenderMode","false");if(_c9<0){_c8=_c8.replace(/lm:/g,"fragment:pm:");_ca.addParameter("uri",_c8);}ibm.portal.debug.exit("PortletFragmentService._flagPortletUrl",[_ca.toString()]);return _ca.toString();},getPortletInfo:function(_cb,_cc,_cd,_ce,_cf){ibm.portal.debug.entry("PortletFragmentService.getPortletInfo",[_cb,_cc,_cd,_ce,_cf]);if(_cc=="#"||_cc==window.location.href+"#"){ibm.portal.debug.text("Illegal portlet url provided: "+_cc);ibm.portal.debug.text("Aborting request.");return false;}if(com.ibm.portal.utilities.isJavascriptUrl(_cc)){return eval(_cc);}var _d0=_cc;if(_d0.indexOf(top.location.href)==0){_d0=_d0.substring(top.location.href.length);while(_d0.length>0&&_d0.charAt(0)=="/"){_d0=_d0.substring(1);}}if(_d0.indexOf("?")==0){var _d1=com.ibm.portal.navigation.controller.NAVIGATION_CONTROLLER.getState();_cc=_d1.resolveRelativePortletURL(_d0);}if(com.ibm.portal.utilities.isExternalUrl(_cc)){self.location.href=_cc;}else{var url={url:this._flagPortletUrl(_cc,_cb)};var _d2=ibmPortalConfig.enforceOneActivePortletRequest;if(_d2){var _d3=this.staticContext.activeRequests;if(_d3[_cb]!==undefined&&_d3[_cb]!==null){_d3[_cb].cancel();com.ibm.portal.EVENT_BROKER.cancelFragmentUpdate.fire({id:_cb});_d3[_cb]=null;}}var _d4=new com.ibm.portal.services.PortalRestServiceRequest(url,_ce);if(!_cf){com.ibm.portal.EVENT_BROKER.startFragment.fire({id:_cb});}if(_d2){_d3[_cb]=_d4;}var me=this;_d4.read(function(_d5,_d6,xhr){if(_d2){_d3[_cb]=null;}if(xhr.status==404){var _d7=false;for(var i=0;i<com.ibm.portal.aggregation.PORTAL_AGGREGATOR.page._crcPortletChecks.length;i++){if(com.ibm.portal.aggregation.PORTAL_AGGREGATOR.page._crcPortletChecks[i].id==_cb){_d7=true;if(com.ibm.portal.aggregation.PORTAL_AGGREGATOR.page._crcPortletChecks[i].state=="pending"){com.ibm.portal.aggregation.PORTAL_AGGREGATOR.page._crcPortletChecks[i].state="error";}}}if(!_d7){com.ibm.portal.aggregation.PORTAL_AGGREGATOR.page._crcPortletChecks.push({"id":_cb,"state":"pending"});_d4.cancelled=true;com.ibm.portal.aggregation.PORTAL_AGGREGATOR.page.refreshPageForPortlet(_cb);}}if(xhr.status==200&&com.ibm.portal.aggregation.PORTAL_AGGREGATOR.page._crcPortletChecks.length>0){for(var i=0;i<com.ibm.portal.aggregation.PORTAL_AGGREGATOR.page._crcPortletChecks.length;i++){if(com.ibm.portal.aggregation.PORTAL_AGGREGATOR.page._crcPortletChecks[i].id==_cb){com.ibm.portal.aggregation.PORTAL_AGGREGATOR.page._crcPortletChecks.splice(i--,1);}}}if(!_d4.cancelled){var _d8=null;if(_d5=="load"){_d8=me.createPortletInfo(_d6);}if(_d6 instanceof Error){_d8=_d6;}if(!_cf){me._fireEvents(_d8,_cb,xhr);}if(_cd){_cd(_d8,xhr);}}});}ibm.portal.debug.exit("PortletFragmentService.getPortletInfo");},readWindowID:function(_d9){ibm.portal.debug.entry("PortletFragmentService.readWindowID",[_d9]);var _da="/atom:feed/atom:entry/atom:id";var _db=com.ibm.portal.xpath.evaluateXPath(_da,_d9,this.namespaces);var _dc=dojox.data.dom.textContent(_db[0]);ibm.portal.debug.exit("PortletFragmentService.readWindowID",[_dc.substring(4)]);return _dc.substring(4);},readPortletID:function(_dd){ibm.portal.debug.entry("PortletFragmentService.readPortletID",[_dd]);var _de="/atom:feed/atom:id";var _df=com.ibm.portal.xpath.evaluateXPath(_de,_dd,this.namespaces);var _e0=dojox.data.dom.textContent(_df[0]);ibm.portal.debug.exit("PortletFragmentService.readPortletID",[_e0.substring(4)]);return _e0.substring(4);},readMarkup:function(_e1){ibm.portal.debug.entry("PortletFragmentService.readMarkup",[_e1]);var _e2="/atom:feed/atom:entry/atom:content";var _e3=com.ibm.portal.xpath.evaluateXPath(_e2,_e1,this.namespaces);var _e4="";if(_e3!=null&&_e3.length>0){_e4=dojox.data.dom.textContent(_e3[0]);}ibm.portal.debug.exit("PortletFragmentService.readMarkup",[_e4]);return _e4;},readPortletModes:function(_e5){ibm.portal.debug.entry("PortletFragmentService.readPortletModes",[_e5]);var _e6="/atom:feed/atom:entry/atom:link[@portal:rel='portlet-mode']";var _e7=com.ibm.portal.xpath.evaluateXPath(_e6,_e5,this.namespaces);var _e8=new Array();if(_e7!=null&&_e7.length>0){var _e9=_e7.length;for(var i=0;i<_e9;i++){_e8.push({"link":_e7[i].getAttribute("href"),"mode":_e7[i].getAttribute("title")});}}ibm.portal.debug.exit("PortletFragmentService.readPortletModes",[_e8]);return _e8;},readWindowStates:function(_ea){ibm.portal.debug.entry("PortletFragmentService.readWindowStates",[_ea]);var _eb="/atom:feed/atom:entry/atom:link[@portal:rel='window-state']";var _ec=com.ibm.portal.xpath.evaluateXPath(_eb,_ea,this.namespaces);var _ed=new Array();if(_ec!=null&&_ec.length>0){var _ee=_ec.length;for(var i=0;i<_ee;i++){_ed.push({"link":_ec[i].getAttribute("href"),"mode":_ec[i].getAttribute("title")});}}ibm.portal.debug.exit("PortletFragmentService.readWindowStates",[_ed]);return _ed;},readDependentPortlets:function(_ef){ibm.portal.debug.entry("PortletFragmentService.readDependentPortlets",[_ef]);var _f0="/atom:feed/atom:link[@portal:rel='dependent']";var _f1=com.ibm.portal.xpath.evaluateXPath(_f0,_ef,this.namespaces);var _f2=new Array();if(_f1!=null&&_f1.length>0){var _f3=_f1.length;for(var i=0;i<_f3;i++){_f2.push({"link":_f1[i].getAttribute("href"),"portlet":_f1[i].getAttribute("title"),"uri":_f1[i].getAttribute("portal:uri")?_f1[i].getAttribute("portal:uri"):_f1[i].getAttribute("uri")});}}ibm.portal.debug.exit("PortletFragmentService.readDependentPortlets",[_f2]);return _f2;},readOtherPortlets:function(_f4){ibm.portal.debug.entry("PortletFragmentService.readOtherPortlets",[_f4]);var _f5="/atom:feed/atom:link[@portal:rel='other']";var _f6=com.ibm.portal.xpath.evaluateXPath(_f5,_f4,this.namespaces);var _f7=new Array();if(_f6!=null&&_f6.length>0){var _f8=_f6.length;for(var i=0;i<_f8;i++){_f7.push({"link":_f6[i].getAttribute("href"),"portlet":_f6[i].getAttribute("title"),"uri":_f6[i].getAttribute("portal:uri")});}}ibm.portal.debug.exit("PortletFragmentService.readOtherPortlets",[_f7]);return _f7;},readStateVaryExpressions:function(_f9){ibm.portal.debug.entry("PortletFragmentService.readStateVaryExpressions",[_f9]);var _fa="/atom:feed/atom:entry/state-vary:state-vary/state-vary:expr";var _fb=com.ibm.portal.xpath.evaluateXPath(_fa,_f9,this.namespaces);var _fc=new Array();if(_fb!=null&&_fb.length>0){var _fd=_fb.length;for(var i=0;i<_fd;i++){var _fe=_fb[i].firstChild;if(_fe!=null){_fc.push(_fe.nodeValue);}}}ibm.portal.debug.exit("PortletFragmentService.readStateVaryExpressions",[_fc]);return _fc;},readPortletState:function(_ff){return this._readPortletState(_ff);},_readPortletState:function(_100){ibm.portal.debug.entry("PortletFragmentService.readPortletState",[_100]);var _101="/atom:feed/atom:entry/state:root";var _102=com.ibm.portal.xpath.evaluateXPath(_101,_100,this.namespaces);var _103=null;if(_102!=null&&_102.length>0){var doc=com.ibm.portal.xslt.loadXmlString();com.ibm.portal.utilities.addExternalNode(doc,_102[0]);_103=doc;}else{_101="/atom:feed/state:root";_102=com.ibm.portal.xpath.evaluateXPath(_101,_100,this.namespaces);if(_102!=null&&_102.length>0){var doc=com.ibm.portal.xslt.loadXmlString();com.ibm.portal.utilities.addExternalNode(doc,_102[0]);_103=doc;}}ibm.portal.debug.exit("PortletFragmentService.readPortletState",[_103]);return _103;},readPortletTitle:function(_104){return this._readPortletTitle(_104);},_readPortletTitle:function(_105){ibm.portal.debug.entry("PortletFragmentService.readPortletTitle",[_105]);var _106="/atom:feed/atom:entry/atom:title";var _107=com.ibm.portal.xpath.evaluateXPath(_106,_105,this.namespaces);var _108=dojox.data.dom.textContent(_107[0]);ibm.portal.debug.exit("PortletFragmentService.readPortletTitle",_108);return _108;},_fireEvents:function(_109,_10a,xhr){this._fireGlobalPortletStateChange(_109,_10a,xhr);},_fireGlobalPortletStateChange:function(_10b,_10c,xhr){com.ibm.portal.EVENT_BROKER.endFragment.fire({portletInfo:_10b,id:_10c,xhr:xhr});},_fireIndividualPortletStateChange:function(_10d){},createPortletInfo:function(_10e){var _10f=this.readWindowID(_10e);var _110=this.readPortletID(_10e);var _111=this.readMarkup(_10e);var _112=this.readPortletModes(_10e);var _113=this.readWindowStates(_10e);var _114=this.readDependentPortlets(_10e);var _115=this.readOtherPortlets(_10e);var _116=this.readPortletState(_10e);var _117=this.readStateVaryExpressions(_10e);var _118=this.readPortletTitle(_10e);var _119=_116;if(_119==null){_119=this._readPortletState(_10e);}var _11a=new com.ibm.portal.state.StateManager();var _11b=_11a.newPortletAccessor(_10f,_119);var mode=_11b.getPortletMode();var _11c=_11b.getWindowState();return new com.ibm.portal.services.PortletInfo(_10f,_110,_111,_112,_113,_114,_115,_116,_117,mode,_11c,_118);}});dojo.declare("com.ibm.portal.services.IndependentPortletFragmentService",com.ibm.portal.services.PortletFragmentService,{readDependentPortlets:function(_11d){ibm.portal.debug.entry("DependentPortletFragmentService.readDependentPortlets",[_11d]);var _11e=new Array();ibm.portal.debug.exit("DependentPortletFragmentService.readDependentPortlets",[_11e]);return _11e;},readOtherPortlets:function(_11f){ibm.portal.debug.entry("DependentPortletFragmentService.readOtherPortlets",[_11f]);var _120=new Array();ibm.portal.debug.exit("DependentPortletFragmentService.readOtherPortlets",[_120]);return _120;},readPortletState:function(_121){return null;}});}if(!dojo._hasResource["com.ibm.portal.state"]){dojo._hasResource["com.ibm.portal.state"]=true;dojo.provide("com.ibm.portal.state");dojo.require("dojo.string");dojo.require("dojox.data.dom");dojo.declare("com.ibm.portal.state.StateManager",null,{constructor:function(_122){this.stateDOM=null;this.stateNode=null;this.ns={"state":"http://www.ibm.com/xmlns/prod/websphere/portal/v6.1/portal-state"};this.serializationManager=new com.ibm.portal.state.SerializationManager(_122);},getState:function(){return this.stateDOM;},newState:function(_123,_124,_125){var _126=null;if(_123==null){_126=com.ibm.portal.xslt.loadXmlString();}else{if(_124==null){_126=com.ibm.portal.xslt.loadXmlString(dojox.data.dom.innerXML(_123));}else{var xslt=com.ibm.portal.xslt;var _127=xslt.transform(_123,_124,null,_125,true);_126=com.ibm.portal.xslt.loadXmlString(_127);}}return _126;},reset:function(_128){this.stateDOM=_128;this.stateNode=this._getStateNode(_128);},getSerializationManager:function(){return this.serializationManager;},newExpansionsListAccessor:function(_129){var _12a;var _12b;if(_129==null||this.stateDOM==_129){_12a=this.stateNode;_12b=this.stateDOM;}else{_12a=this._getStateNode(_129);_12b=_129;}return new com.ibm.portal.state.ExpansionsListAccessor(_12a,_12b);},newPortletAccessor:function(_12c,_12d){var _12e;var _12f;if(_12d==null||this.stateDOM==_12d){_12e=this.stateNode;_12f=this.stateDOM;}else{_12e=this._getStateNode(_12d);_12f=_12d;}var expr="state:portlet[@id='"+_12c+"']";var _130=this._getSpecificStateNode("portlet",expr,_12e,_12f);_130.setAttribute("id",_12c);return new com.ibm.portal.state.PortletAccessor(_130,_12f);},newPortletListAccessor:function(_131){var _132;var _133;if(_131==null||this.stateDOM==_131){_132=this.stateNode;_133=this.stateDOM;}else{_132=this._getStateNode(_131);_133=_131;}return new com.ibm.portal.state.PortletListAccessor(_132,_133);},newSelectionAccessor:function(_134){var _135;var _136;if(_134==null||this.stateDOM==_134){_135=this.stateNode;_136=this.stateDOM;}else{_135=this._getStateNode(_134);_136=_134;}var _137=this._getSpecificStateNode("selection","state:selection",_135,_136);return new com.ibm.portal.state.SelectionAccessor(_137,_136);},newSoloStateAccessor:function(_138){var _139;var _13a;if(_138==null||this.stateDOM==_138){_139=this.stateNode;_13a=this.stateDOM;}else{_139=this._getStateNode(_138);_13a=_138;}var _13b=this._getSpecificStateNode("solo","state:solo",_139,_13a);return new com.ibm.portal.state.SoloStateAccessor(_13b,_13a);},newThemeTemplateAccessor:function(_13c){var _13d;var _13e;if(_13c==null||this.stateDOM==_13c){_13d=this.stateNode;_13e=this.stateDOM;}else{_13d=this._getStateNode(_13c);_13e=_13c;}var _13f=this._getSpecificStateNode("theme-template","state:theme-template",_13d,_13e);return new com.ibm.portal.state.ThemeTemplateAccessor(_13f,_13e);},newThemePolicyAccessor:function(_140){var _141;var _142;if(_140==null||this.stateDOM==_140){_141=this.stateNode;_142=this.stateDOM;}else{_141=this._getStateNode(_140);_142=_140;}var _143=this._getSpecificStateNode("theme-policy","state:theme-policy",_141,_142);return new com.ibm.portal.state.ThemePolicyAccessor(_143,_142);},newScreenTemplateAccessor:function(_144){var _145;var _146;if(_144==null||this.stateDOM==_144){_145=this.stateNode;_146=this.stateDOM;}else{_145=this._getStateNode(_144);_146=_144;}var _147=this._getSpecificStateNode("screen-template","state:screen-template",_145,_146);return new com.ibm.portal.state.ScreenTemplateAccessor(_147,_146);},newLocaleAccessor:function(_148){var _149;var _14a;if(_148==null||this.stateDOM==_148){_149=this.stateNode;_14a=this.stateDOM;}else{_149=this._getStateNode(_148);_14a=_148;}var _14b=this._getSpecificStateNode("locale","state:locale",_149,_14a);return new com.ibm.portal.state.LocaleAccessor(_14b,_14a);},newStatePartitionAccessor:function(_14c){var _14d;var _14e;if(_14c==null||this.stateDOM==_14c){_14d=this.stateNode;_14e=this.stateDOM;}else{_14d=this._getStateNode(_14c);_14e=_14c;}var _14f=this._getSpecificStateNode("statepartition","state:statepartition",_14d,_14e);return new com.ibm.portal.state.StatePartitionAccessor(_14f,_14e);},newSharedStateListAccessor:function(_150){var _151;var _152;if(_150==null||this.stateDOM==_150){_151=this.stateNode;_152=this.stateDOM;}else{_151=this._getStateNode(_150);_152=_150;}return new com.ibm.portal.state.SharedStateListAccessor(_151,_152);},newSharedStateAccessor:function(_153,_154){var _155;var _156;if(_154==null||this.stateDOM==_154){_155=this.stateNode;_156=this.stateDOM;}else{_155=this._getStateNode(_154);_156=_154;}var expr="state:shared-parameters[@id='"+_153+"']";var _157=this._getSpecificStateNode("shared-parameters",expr,_155,_156);_157.setAttribute("id",_153);return new com.ibm.portal.state.SharedStateAccessor(_153,_157,_156);},_getStateNode:function(_158){var expr="state:root/state:state";var _159=com.ibm.portal.xpath.evaluateXPath(expr,_158,this.ns);var _15a=null;if(_159&&_159.length>0){_15a=_159[0];}else{var root=null;var _15b="state:root";var _15c=com.ibm.portal.xpath.evaluateXPath(_15b,_158,this.ns);if(_15c&&_15c.length>0){root=_15c[0];}else{root=this._createElement(_158,"root");this._prependChild(root,_158);}_15a=this._createElement(_158,"state");this._prependChild(_15a,root);_15a.setAttribute("type","navigational");}return _15a;},_getSpecificStateNode:function(_15d,_15e,_15f,_160){var _161=com.ibm.portal.xpath.evaluateXPath(_15e,_15f,this.ns);var node;if(_161==null||_161.length<=0){node=this._createElement(_160,_15d);this._prependChild(node,_15f);}else{node=_161[0];}return node;},_prependChild:function(node,_162){_162.firstChild?_162.insertBefore(node,_162.firstChild):_162.appendChild(node);},_createElement:function(dom,name){var _163;if(dojo.isIE||window.ActiveXObject!==undefined){_163=dom.createNode(1,name,this.ns.state);}else{_163=dom.createElementNS(this.ns.state,name);}return _163;}});dojo.declare("com.ibm.portal.state.PortletAccessor",null,{constructor:function(_164,_165){this.portletNode=_164;this.stateDOM=_165;this.parameters=new com.ibm.portal.state.Parameters(_164,_165);this.ns={"state":"http://www.ibm.com/xmlns/prod/websphere/portal/v6.1/portal-state"};this.xsltURL=dojo.moduleUrl("com","ibm/portal/state/");},getPortletMode:function(){var expr="state:portlet-mode";var _166=com.ibm.portal.xpath.evaluateXPath(expr,this.portletNode,this.ns);var _167=ibm.portal.portlet.PortletMode.VIEW;if(_166!=null&&_166.length>0){var _168=_166[0].firstChild;if(_168!=null){_167=_168.nodeValue;}}return _167;},getWindowState:function(){var expr="state:window-state";var _169=com.ibm.portal.xpath.evaluateXPath(expr,this.portletNode,this.ns);var _16a=ibm.portal.portlet.WindowState.NORMAL;if(_169!=null&&_169.length>0){var _16b=_169[0].firstChild;if(_16b!=null){_16a=_16b.nodeValue;}}return _16a;},getRenderParameters:function(){return this.parameters;},setPortletMode:function(_16c){var expr="state:portlet-mode";var _16d=com.ibm.portal.xpath.evaluateXPath(expr,this.portletNode,this.ns);if(_16d==null||_16d.length<=0){var _16e=this._createElement(this.stateDOM,"portlet-mode");this._prependChild(_16e,this.portletNode);var _16f=this.stateDOM.createTextNode(_16c);this._prependChild(_16f,_16e);}else{_16d[0].firstChild.nodeValue=_16c;}},setWindowState:function(_170){var expr="state:window-state";var _171=com.ibm.portal.xpath.evaluateXPath(expr,this.portletNode,this.ns);if(_171==null||_171.length<=0){var _172=this._createElement(this.stateDOM,"window-state");this._prependChild(_172,this.portletNode);var _173=this.stateDOM.createTextNode(_170);this._prependChild(_173,_172);}else{_171[0].firstChild.nodeValue=_170;}},getPortletState:function(){var _174=com.ibm.portal.xslt.loadXmlString();var _175=com.ibm.portal.state.STATE_MANAGER.newPortletAccessor(this.portletNode.getAttribute("id"),_174);_175.setPortletMode(this.getPortletMode());_175.setWindowState(this.getWindowState());var _176=this.getRenderParameters().getMap();if(_176.length>0){_175.getRenderParameters().putAll(_176);}return _174;},setPortletState:function(_177,_178){var _179=com.ibm.portal.state.STATE_MANAGER.newPortletAccessor(this.portletNode.getAttribute("id"),_177);this.setPortletMode(_179.getPortletMode());this.setWindowState(_179.getWindowState());var _17a=_179.getRenderParameters().getMap();if(_178==null||_178==false){this.getRenderParameters().clear();}if(_17a.length>0){this.getRenderParameters().putAll(_17a);}},_prependChild:function(node,_17b){_17b.firstChild?_17b.insertBefore(node,_17b.firstChild):_17b.appendChild(node);},_createElement:function(dom,name){var _17c;if(dojo.isIE||window.ActiveXObject!==undefined){_17c=dom.createNode(1,name,this.ns.state);}else{_17c=dom.createElementNS(this.ns.state,name);}return _17c;}});dojo.declare("com.ibm.portal.state.Parameters",null,{constructor:function(_17d,_17e){this.baseNode=_17d;this.stateDOM=_17e;this.ns={"state":"http://www.ibm.com/xmlns/prod/websphere/portal/v6.1/portal-state"};},getMap:function(){var _17f=this.getNames();var map=new Array(_17f.length);for(var i=0;i<_17f.length;i++){var name=_17f[i];map[i]={name:name,values:this.getValues(name)};}return map;},getNames:function(){var expr="state:parameters/state:param";var _180=com.ibm.portal.xpath.evaluateXPath(expr,this.baseNode,this.ns);var _181=new Array();if(_180!=null&&_180.length>0){var _182=_180.length;for(var i=0;i<_182;i++){_181[i]=_180[i].getAttribute("name");}}return _181;},getValue:function(name){var _183=this.getValues(name);var _184=null;if(_183!=null&&_183.length>0){_184=_183[0];}return _184;},getValues:function(name){var expr="state:parameters/state:param[@name='"+name+"']/state:value";var _185=com.ibm.portal.xpath.evaluateXPath(expr,this.baseNode,this.ns);var _186=null;if(_185!=null&&_185.length>0){_186=[];dojo.forEach(_185,function(node){var _187=dojox.xml.parser.textContent(node);_186.push(_187);});}return _186;},remove:function(name){var expr="state:parameters/state:param[@name='"+name+"']";var _188=com.ibm.portal.xpath.evaluateXPath(expr,this.baseNode,this.ns);if(_188!=null){var _189=_188[0];if(_189&&_189.parentNode){_189.parentNode.removeChild(_189);}}},putAll:function(map){if(map!=null&&map.length>0){for(var i=map.length-1;i>=0;i--){var _18a=map[i].name;var _18b=map[i].values;this.setValues(_18a,_18b);}}},setValue:function(name,_18c){this.setValues(name,new Array(_18c));},setValues:function(name,_18d){var _18e=this._getParamsRoot();var expr="state:param[@name='"+name+"']";var _18f=com.ibm.portal.xpath.evaluateXPath(expr,_18e,this.ns);var _190;if(_18f&&_18f.length>0){_190=_18f[0];dojox.data.dom.removeChildren(_190);}else{_190=this._createElement(this.stateDOM,"param");_190.setAttribute("name",name);this._prependChild(_190,_18e);}if(_18d){for(var i=_18d.length-1;i>=0;i--){var _191=this._createElement(this.stateDOM,"value");this._prependChild(_191,_190);var _192=_18d[i];if(dojo.isString(_192)){var _193=this.stateDOM.createTextNode(_192);this._prependChild(_193,_191);}}}},clear:function(){var expr="state:parameters";var _194=com.ibm.portal.xpath.evaluateXPath(expr,this.baseNode,this.ns);if(_194!=null){var _195=_194[0];if(_195&&_195.parentNode){_195.parentNode.removeChild(_195);}}},_getParamsRoot:function(){if(!this.params){var expr="state:parameters";var _196=com.ibm.portal.xpath.evaluateXPath(expr,this.baseNode,this.ns);if(_196&&_196.length>0){this.params=_196[0];}else{var _197=this._createElement(this.stateDOM,"parameters");this._prependChild(_197,this.baseNode);this.params=_197;}}return this.params;},_prependChild:function(node,_198){_198.firstChild?_198.insertBefore(node,_198.firstChild):_198.appendChild(node);},_createElement:function(dom,name){var _199;if(dojo.isIE||window.ActiveXObject!==undefined){_199=dom.createNode(1,name,this.ns.state);}else{_199=dom.createElementNS(this.ns.state,name);}return _199;}});dojo.declare("com.ibm.portal.state.ExpansionsListAccessor",null,{constructor:function(_19a,_19b){this.stateNode=_19a;this.stateDOM=_19b;this.ns={"state":"http://www.ibm.com/xmlns/prod/websphere/portal/v6.1/portal-state"};},getExpansions:function(){var expr="state:expansions/state:node";var _19c=com.ibm.portal.xpath.evaluateXPath(expr,this.stateNode,this.ns);var _19d=null;if(_19c!=null&&_19c.length>0){_19d=new Array(_19c.length);for(var i=0;i<_19c.length;i++){var node=_19c[i];_19d[i]=node.getAttribute("id");}}return _19d;},setExpansions:function(ids){var expr="state:expansions";var _19e=com.ibm.portal.xpath.evaluateXPath(expr,this.stateNode,this.ns);if(_19e!=null){var _19f=_19e[0],node;if(!_19f){_19f=this._createElement(this.stateDOM,"expansions");this.stateNode.appendChild(_19f);}while(_19f.childNodes.length>0){_19f.removeChild(_19f.childNodes[0]);}for(var i=0;i<ids.length;i++){node=this._createElement(this.stateDOM,"node");node.setAttribute("id",ids[i]);_19f.appendChild(node);}}},_createElement:function(dom,name){var _1a0;if(dojo.isIE||window.ActiveXObject!==undefined){_1a0=dom.createNode(1,name,this.ns.state);}else{_1a0=dom.createElementNS(this.ns.state,name);}return _1a0;}});dojo.declare("com.ibm.portal.state.PortletListAccessor",null,{constructor:function(_1a1,_1a2){this.stateNode=_1a1;this.stateDOM=_1a2;this.ns={"state":"http://www.ibm.com/xmlns/prod/websphere/portal/v6.1/portal-state"};},getPortlets:function(){var expr="state:portlet";var _1a3=com.ibm.portal.xpath.evaluateXPath(expr,this.stateNode,this.ns);var _1a4=null;if(_1a3!=null&&_1a3.length>0){_1a4=new Array(_1a3.length);for(var i=0;i<_1a3.length;i++){var node=_1a3[i];_1a4[i]=node.getAttribute("id");}}return _1a4;}});dojo.declare("com.ibm.portal.state.SharedStateListAccessor",null,{constructor:function(_1a5,_1a6){this.stateNode=_1a5;this.stateDOM=_1a6;this.ns={"state":"http://www.ibm.com/xmlns/prod/websphere/portal/v6.1/portal-state"};},getScopeIDs:function(){var expr="state:shared-parameters";var _1a7=com.ibm.portal.xpath.evaluateXPath(expr,this.stateNode,this.ns);var _1a8=[];if(_1a7&&_1a7.length>0){dojo.forEach(_1a7,function(node){var id=node.getAttribute("id");if(id){_1a8.push(id);}});}return _1a8;}});dojo.declare("com.ibm.portal.state.SharedStateAccessor",null,{constructor:function(_1a9,_1aa,_1ab){this.scopeID=_1a9;this.sharedStateNode=_1aa;this.stateDOM=_1ab;this.xpath=com.ibm.portal.xpath;this.ns={"state":"http://www.ibm.com/xmlns/prod/websphere/portal/v6.1/portal-state"};this.xsltURL=dojo.moduleUrl("com","ibm/portal/state/");},getScopeID:function(){return this.scopeID;},getQNames:function(){var expr="state:shared-parameter";var _1ac=this.xpath.evaluateXPath(expr,this.sharedStateNode,this.ns);var _1ad=[];if(_1ac&&_1ac.length>0){var acc=this;dojo.forEach(_1ac,function(node){var uri=node.getAttribute("nsuri");var _1ae=node.getAttribute("localpart");_1ad.push(acc._serializeQName(uri,_1ae));});}return _1ad;},_serializeQName:function(uri,_1af){return "{"+uri+"}"+_1af;},_deserializeQName:function(_1b0){var _1b1=_1b0.split("}");var _1b2={};if(_1b1&&_1b1.length==2){_1b2.nsuri=_1b1[0].substring(1);_1b2.localpart=_1b1[1];}return _1b2;},getValues:function(_1b3){var _1b4=this._deserializeQName(_1b3);var uri=_1b4.nsuri;var _1b5=_1b4.localpart;if(dojo.isString(uri)&&_1b5){var expr="state:shared-parameter[@nsuri='"+uri+"'][@localpart='"+_1b5+"']/state:value";var _1b6=this.xpath.evaluateXPath(expr,this.sharedStateNode,this.ns);if(_1b6&&_1b6.length>0){var _1b7=[];dojo.forEach(_1b6,function(node){var _1b8=dojox.xml.parser.textContent(node);if(_1b8){_1b7.push(_1b8);}});return _1b7;}else{return null;}}},getValue:function(_1b9){var _1ba=this.getValues(_1b9);if(_1ba&&_1ba.length>0){return _1ba[0];}else{return null;}},setValues:function(_1bb,_1bc){var _1bd=this._deserializeQName(_1bb);var uri=_1bd.nsuri;var _1be=_1bd.localpart;var expr="state:shared-parameter[@nsuri='"+uri+"'][@localpart='"+_1be+"']";var _1bf=this.xpath.evaluateXPath(expr,this.sharedStateNode,this.ns);var _1c0=null;if(_1bf&&_1bf.length>0){_1c0=_1bf[0];dojox.xml.parser.removeChildren(_1c0);}else{_1c0=this._createElement(this.stateDOM,"shared-parameter");_1c0.setAttribute("nsuri",uri);_1c0.setAttribute("localpart",_1be);this._prependChild(_1c0,this.sharedStateNode);}if(_1c0&&_1bc){for(var i=_1bc.length-1;i>=0;i--){var _1c1=this._createElement(this.stateDOM,"value");this._prependChild(_1c1,_1c0);var _1c2=_1bc[i];if(dojo.isString(_1c2)){var _1c3=this.stateDOM.createTextNode(_1c2);this._prependChild(_1c3,_1c1);}}}},setValue:function(_1c4,_1c5){if(_1c5){this.setValues(_1c4,[_1c5]);}},_prependChild:function(node,_1c6){_1c6.firstChild?_1c6.insertBefore(node,_1c6.firstChild):_1c6.appendChild(node);},_createElement:function(dom,name){var _1c7;if(dojo.isIE||window.ActiveXObject!==undefined){_1c7=dom.createNode(1,name,this.ns.state);}else{_1c7=dom.createElementNS(this.ns.state,name);}return _1c7;}});dojo.declare("com.ibm.portal.state.SelectionAccessor",null,{constructor:function(_1c8,_1c9){this.selectionNode=_1c8;this.stateDOM=_1c9;this.parameters=new com.ibm.portal.state.Parameters(this.selectionNode,_1c9);this.ns={"state":"http://www.ibm.com/xmlns/prod/websphere/portal/v6.1/portal-state"};},getPageSelection:function(){return this.selectionNode.getAttribute("selection-node");},getFragmentSelection:function(){var _1ca=this.getParameters();var _1cb=_1ca.getValues("frg");var _1cc=null;if(_1cb!=null&&_1cb.length>0){_1cc=_1cb[0];if(_1cb.length>1){if(_1cc=="pw"){_1cc=_1cb[1];}}}return _1cc;},getMapping:function(_1cd){var expr="state:mapping[@src='"+_1cd+"']";var _1ce=com.ibm.portal.xpath.evaluateXPath(expr,this.selectionNode,this.ns);var _1cf=null;if(_1ce!=null&&_1ce.length>0){var _1d0=_1ce[0];_1cf=_1d0.getAttribute("dst");}return _1cf;},getMappingSources:function(){var expr="state:mapping";var _1d1=com.ibm.portal.xpath.evaluateXPath(expr,this.selectionNode,this.ns);var _1d2=[];if(_1d1&&_1d1.length>0){dojo.forEach(_1d1,function(node){var src=node.getAttribute("src");if(src){_1d2.push(src);}});}return _1d2;},getParameters:function(){return this.parameters;},setPageSelection:function(_1d3){this.selectionNode.setAttribute("selection-node",_1d3);},setURI:function(uri){this.selectionNode.setAttribute("selection-uri",uri);},getURI:function(){return this.selectionNode.getAttribute("selection-uri");},setFragmentSelection:function(_1d4,_1d5){var _1d6=this.getParameters();if(_1d5==null||_1d5==true){var _1d7=new Array(2);_1d7[0]=_1d4;_1d7[1]="pw";_1d6.setValues("frg",_1d7);}else{_1d6.setValue("frg",_1d4);}},setMapping:function(_1d8,_1d9){if(_1d9!=null){var expr="state:mapping[@src='"+_1d8+"']";var _1da=com.ibm.portal.xpath.evaluateXPath(expr,this.selectionNode,this.ns);var _1db;if(_1da!=null&&_1da.length>0){_1db=_1da[0];}else{_1db=this._createElement(this.stateDOM,"mapping");this._prependChild(_1db,this.selectionNode);_1db.setAttribute("src",_1d8);}_1db.setAttribute("dst",_1d9);}else{this.removeMapping(_1d8);}},removeMapping:function(_1dc){var expr="state:mapping[@src='"+_1dc+"']";var _1dd=com.ibm.portal.xpath.evaluateXPath(expr,this.selectionNode,this.ns);var _1de=false;if(_1dd!=null&&_1dd.length>0){for(var i=0;i<_1dd.length;i++){var _1df=_1dd[i];if(_1df&&_1df.parentNode){_1df.parentNode.removeChild(_1df);}}_1de=true;}return _1de;},_prependChild:function(node,_1e0){_1e0.firstChild?_1e0.insertBefore(node,_1e0.firstChild):_1e0.appendChild(node);},_createElement:function(dom,name){var _1e1;if(dojo.isIE||window.ActiveXObject!==undefined){_1e1=dom.createNode(1,name,this.ns.state);}else{_1e1=dom.createElementNS(this.ns.state,name);}return _1e1;},getSelection:function(){return this.getPageSelection();},setSelection:function(_1e2){this.setPageSelection(_1e2);}});dojo.declare("com.ibm.portal.state.SingleTokenAccessor",null,{constructor:function(node,_1e3){this.node=node;this.stateDOM=_1e3;},setValue:function(_1e4){dojox.xml.parser.removeChildren(this.node);if(_1e4){dojox.xml.parser.textContent(this.node,_1e4);}},getValue:function(){return dojox.xml.parser.textContent(this.node);},setAttribute:function(name,_1e5){this.node.setAttribute(name,_1e5);},getAttribute:function(name){return this.node.getAttribute(name);}});dojo.declare("com.ibm.portal.state.SoloStateAccessor",com.ibm.portal.state.SingleTokenAccessor,{constructor:function(_1e6,_1e7){this.soloNode=_1e6;this.stateDOM=_1e7;this.ns={"state":"http://www.ibm.com/xmlns/prod/websphere/portal/v6.1/portal-state"};},setSoloPortlet:function(_1e8){this.setValue(_1e8);},getSoloPortlet:function(){return this.getValue();},setReturnSelection:function(_1e9){this.setAttribute("return-selection",_1e9);},getReturnSelection:function(){return this.getAttribute("return-selection");}});dojo.declare("com.ibm.portal.state.ThemeTemplateAccessor",com.ibm.portal.state.SingleTokenAccessor,{constructor:function(_1ea,_1eb){this.themeTemplateNode=_1ea;this.stateDOM=_1eb;},setThemeTemplate:function(_1ec){this.setValue(_1ec);},getThemeTemplate:function(){return this.getValue();}});dojo.declare("com.ibm.portal.state.ScreenTemplateAccessor",com.ibm.portal.state.SingleTokenAccessor,{constructor:function(_1ed,_1ee){this.screenTemplateNode=_1ed;this.stateDOM=_1ee;},setScreenTemplate:function(_1ef){this.setValue(_1ef);},getScreenTemplate:function(){return this.getValue();}});dojo.declare("com.ibm.portal.state.LocaleAccessor",com.ibm.portal.state.SingleTokenAccessor,{constructor:function(_1f0,_1f1){this.localeNode=_1f0;this.stateDOM=_1f1;},setLocale:function(_1f2){this.setValue(_1f2);},getLocale:function(){return this.getValue();}});dojo.declare("com.ibm.portal.state.ThemePolicyAccessor",com.ibm.portal.state.SingleTokenAccessor,{constructor:function(_1f3,_1f4){this.localeNode=_1f3;this.stateDOM=_1f4;},setThemePolicy:function(_1f5){this.setValue(_1f5);},getThemePolicy:function(){return this.getValue();}});dojo.declare("com.ibm.portal.state.StatePartitionAccessor",com.ibm.portal.state.SingleTokenAccessor,{constructor:function(_1f6,_1f7){this.statePartitionNode=_1f6;this.stateDOM=_1f7;},includeStatePartition:function(){this.setStatePartition(this._generateID());},setStatePartition:function(_1f8){this.setValue(_1f8);},getStatePartition:function(){return this.getValue();},_generateID:function(){return Math.floor(Math.random()*100);}});dojo.declare("com.ibm.portal.state.SerializationManager",null,{STATE_URI_SCHEME:"state",STATE_URI_POST:"state:encode",DOWNLOAD_MODE:"download",STATUS_UNDEFINED:0,STATUS_OK:1,STATUS_ERROR:2,STATE_NS_URI:"http://www.ibm.com/xmlns/prod/websphere/portal/v6.1/portal-state",JSON_SERIALIZATION:{names:{expansions:"exp",portlets:"pp",pMode:"m",pWState:"w",locale:"lcl",screenTemplate:"scrtm",selection:"sel",selPg:"pg",selFrg:"frg",selURI:"uri",selMaps:"mp",sharedState:"ss",statePartition:"sp",solo:"solo",soloPortlet:"soloP",soloReturn:"soloR",themePolicy:"thp",themeTemplate:"thtm",params:"parm",paramValue:"v"},portlet:{defMode:"view",defWState:"normal"}},constructor:function(_1f9){this.serviceURL=_1f9;},sendDebugRequest:function(_1fa,_1fb,_1fc){ibm.portal.debug.entry("SerializationManager.sendDebugRequest",[]);var _1fd=_1fc?_1fc:{};_1fd.portalURI=ibmPortalConfig["portalURI"];_1fd.stateServiceURL=this.serviceURL.substring(0,40);var _1fe=com.ibm.portal.navigation.controller.NAVIGATION_CONTROLLER.getState();_1fd.currPage=_1fe.getPageSelection();if(_1fb){_1fd.cType=_1fb.xhr.getResponseHeader("Content-Type");_1fd.status=_1fb.xhr.status;}var _1ff=ibmPortalConfig["portalURI"]+"/DEBUG"+this.buildDebugURLContent(_1fd)+"/DEBUG";dojo.xhrGet({url:_1ff,sync:false,content:{},headers:{"X-IBM-XHR":"true"},handleAs:"xml",handle:function(_200,_201){ibm.portal.debug.text("DebugRequest:Response: "+_200);com.ibm.ajax.auth.authenticationHandler();},transport:"XMLHTTPTransport"});ibm.portal.debug.exit("SerializationManager.sendDebugRequest",[]);},buildDebugURLContent:function(_202){ibm.portal.debug.entry("SerializationManager.buildDebugURLContent",[]);var _203="";for(var key in _202){_203+=("/"+key+":"+_202[key]);}ibm.portal.debug.exit("SerializationManager.buildDebugURLContent",_203);return _203;},isDebugReqNeeded:function(_204,_205){return _204 instanceof Error||!(_205.xhr.status>=200&&_205.xhr.status<300)||com.ibm.ajax.auth.isAuthenticationRequired(_204,_205);},jsonCoders:{to:{expansions:function(obj,mgr){var acc=mgr.newExpansionsListAccessor(),val=acc.getExpansions();if(val&&val.length>0){obj[this.JSON_SERIALIZATION.names.expansions]=val;}},portlets:function(obj,mgr){var acc=mgr.newPortletListAccessor(),fn=this.jsonCoders.to.portlet;dojo.forEach(acc.getPortlets(),function(pid){fn.call(this,pid,obj,mgr);},this);},portlet:function(pid,obj,mgr){var pAcc=mgr.newPortletAccessor(pid),mode=pAcc.getPortletMode(),_206=pAcc.getWindowState(),_207=pAcc.getRenderParameters(),_208=this.JSON_SERIALIZATION.names,_209=this.JSON_SERIALIZATION.portlet,pObj=null,path=[_208.portlets,pid].join(".");if(mode&&mode!=_209.defMode){if(!pObj){pObj=dojo.setObject(path,{},obj);}pObj[_208.pMode]=mode;}if(_206&&_206!=_209.defWState){if(!pObj){pObj=dojo.setObject(path,{},obj);}pObj[_208.pWState]=_206;}var _20a=_207.getNames();if(_20a.length>0){if(!pObj){pObj=dojo.setObject(path,{},obj);}this.jsonCoders.to.params.call(this,pObj,_207);}},selection:function(obj,mgr){var acc=mgr.newSelectionAccessor(),_20b=this.JSON_SERIALIZATION.names,sel=obj[_20b.selection]={},val=acc.getPageSelection(),_20c=acc.getParameters();if(val){sel[_20b.selPg]=val;}val=acc.getFragmentSelection();if(val){sel[_20b.selFrg]=val;}val=acc.getURI();if(val){sel[_20b.selURI]=val;}var _20d=acc.getMappingSources();if(_20d.length>0){var map=sel[_20b.selMaps]={};for(var i=0;i<_20d.length;i++){map[_20d[i]]=acc.getMapping(_20d[i]);}}var _20e=_20c.getNames();if(_20e.length>0){this.jsonCoders.to.params.call(this,sel,_20c);}},sharedStateList:function(obj,mgr){var acc=mgr.newSharedStateListAccessor(),fn=this.jsonCoders.to.sharedState;dojo.forEach(acc.getScopeIDs(),function(sid){fn.call(this,sid,obj,mgr);},this);},sharedState:function(_20f,obj,mgr){var acc=mgr.newSharedStateAccessor(_20f),_210=this.JSON_SERIALIZATION.names,_211=acc.getQNames();if(_211.length>0){var pObj=dojo.setObject([_210.sharedState,_20f].join("."),{},obj);for(var i=0;i<_211.length;i++){pObj[_211[i]]=acc.getValues(_211[i]);}}},params:function(obj,_212){var _213=_212.getNames();if(_213.length>0){var _214=obj[this.JSON_SERIALIZATION.names.params]={};for(var i=0;i<_213.length;i++){_214[_213[i]]=_212.getValues(_213[i]);}}}},from:{expansions:function(obj,mgr){var val=obj[this.JSON_SERIALIZATION.names.expansions];if(val&&val.length>0){mgr.newExpansionsListAccessor().setExpansions(val);}},portlets:function(obj,mgr){var fn=this.jsonCoders.from.portlet;for(var pid in obj[this.JSON_SERIALIZATION.names.portlets]){fn.call(this,pid,obj,mgr);}},portlet:function(pid,obj,mgr){var _215=this.JSON_SERIALIZATION.names,_216=this.JSON_SERIALIZATION.portlet,pObj=dojo.getObject([_215.portlets,pid].join("."),false,obj);if(pObj){var pAcc=mgr.newPortletAccessor(pid),mode=pObj[_215.pMode],_217=pObj[_215.pWState];if(mode&&mode!=_216.defMode){pAcc.setPortletMode(mode);}if(_217&&_217!=_216.defWState){pAcc.setWindowState(_217);}var _218=pObj[_215.params];if(_218){var _219=pAcc.getRenderParameters();this.jsonCoders.from.params.call(this,pObj,_219);}}},selection:function(obj,mgr){var _21a=this.JSON_SERIALIZATION.names,sel=obj[_21a.selection],acc;if(sel){var val=sel[_21a.selPg];if(val){acc=mgr.newSelectionAccessor();acc.setPageSelection(val);}val=sel[_21a.selFrg];if(val){if(!acc){acc=mgr.newSelectionAccessor();}acc.setFragmentSelection(val);}val=sel[_21a.selURI];if(val){if(!acc){acc=mgr.newSelectionAccessor();}acc.setURI(val);}val=sel[_21a.selMaps];for(var n in val){acc.setMapping(n,val[n]);}val=sel[_21a.params];if(val){var _21b=acc.getParameters();this.jsonCoders.from.params.call(this,sel,_21b);}}},sharedStateList:function(obj,mgr){var fn=this.jsonCoders.from.sharedState;for(var sid in obj[this.JSON_SERIALIZATION.names.sharedState]){fn.call(this,sid,obj,mgr);}},sharedState:function(_21c,obj,mgr){var acc=mgr.newSharedStateAccessor(_21c),_21d=this.JSON_SERIALIZATION.names,_21e=obj[_21d.sharedState][_21c];for(var n in _21e){acc.setValues(n,_21e[n]);}},params:function(obj,_21f){var _220=obj[this.JSON_SERIALIZATION.names.params];for(var n in _220){_21f.setValues(n,_220[n]);}}}},toJSON:function(_221){var mgr=new com.ibm.portal.state.StateManager(ibmPortalConfig.contentHandlerURI),obj={},acc,val,_222=this.JSON_SERIALIZATION.names;mgr.reset(_221);acc=mgr.newLocaleAccessor(),val=acc.getLocale();if(val){obj[_222.locale]=val;}this.jsonCoders.to.portlets.call(this,obj,mgr);this.jsonCoders.to.expansions.call(this,obj,mgr);acc=mgr.newScreenTemplateAccessor();val=acc.getScreenTemplate();if(val){obj[_222.screenTemplate]=val;}this.jsonCoders.to.selection.call(this,obj,mgr);this.jsonCoders.to.sharedStateList.call(this,obj,mgr);acc=mgr.newSoloStateAccessor();val=acc.getSoloPortlet();if(val){dojo.setObject([_222.solo,_222.soloPortlet].join("."),val,obj);}val=acc.getReturnSelection();if(val){dojo.setObject([_222.solo,_222.soloReturn].join("."),val,obj);}acc=mgr.newStatePartitionAccessor();val=acc.getStatePartition();if(val){obj[_222.statePartition]=val;}acc=mgr.newThemePolicyAccessor();val=acc.getThemePolicy();if(val){obj[_222.themePolicy]=val;}acc=mgr.newThemeTemplateAccessor();val=acc.getThemeTemplate();if(val){obj[_222.themeTemplate]=val;}return obj;},fromJSON:function(obj){var mgr=new com.ibm.portal.state.StateManager(ibmPortalConfig.contentHandlerURI),acc,val,_223=this.JSON_SERIALIZATION.names;mgr.reset(com.ibm.portal.xslt.loadXmlString());val=obj[_223.locale];if(val){mgr.newLocaleAccessor().setLocale(val);}this.jsonCoders.from.portlets.call(this,obj,mgr);this.jsonCoders.from.expansions.call(this,obj,mgr);val=obj[_223.screenTemplate];if(val){mgr.newScreenTemplateAccessor().setScreenTemplate(val);}this.jsonCoders.from.selection.call(this,obj,mgr);this.jsonCoders.from.sharedStateList.call(this,obj,mgr);acc=null;val=dojo.getObject([_223.solo,_223.soloPortlet].join("."),false,obj);if(val){acc=mgr.newSoloStateAccessor();acc.setSoloPortlet(val);}val=dojo.getObject([_223.solo,_223.soloReturn].join("."),false,obj);if(val){if(!acc){acc=mgr.newSoloStateAccessor();}acc.setReturnSelection(val);}val=obj[_223.statePartition];if(val){mgr.newStatePartitionAccessor().setStatePartition(val);}val=obj[_223.themePolicy];if(val){mgr.newThemePolicyAccessor().setThemePolicy(val);}val=obj[_223.themeTemplate];if(val){mgr.newThemeTemplateAccessor().setThemeTemplate(val);}return mgr.stateDOM;},serialize:function(_224,_225,_226,_227,_228){var _229=dojox.data.dom.innerXML(_224).replace(/[\r\n]/mg,"");ibm.portal.debug.entry("SerializationManager.serialize",[_229,_225,_226,_227,_228]);var _22a=encodeURIComponent(_229);var _22b=this._getMimeType();var _22c=null;var me=this;var auth=com.ibm.ajax.auth;var _22d=typeof ibmCfg!="undefined"&&ibmCfg?(ibmCfg&&ibmCfg.themeConfig?ibmCfg.themeConfig.onauthenticated:null):null;var _22e=com.ibm.portal.services.PortalRestServiceConfig.digest;if(typeof ibmPortalConfig!="undefined"&&_22a.length<=ibmPortalConfig.stateThreshold){var _22f=this.STATE_URI_SCHEME+":"+_22a;var _230={"uri":_22f,"mode":this.DOWNLOAD_MODE,"xmlns":this.STATE_NS_URI,"sessionDependencyAllowed":"true"};_225=(_225!=null&&_225==true);if(_225===true){_230.preprocessors="true";}if(_22e){_230.digest=_22e;}if(_227===true){_230.forceAbsolute=true;}var _231=false;if(_228&&(_228.project||(_228.project===null))){_230.project=_228.project;_231=true;}if(_231){var url=this.serviceURL;var _232=url.indexOf("$project");if(_232>=0){var _233=url.indexOf("!ut/p");if(_233<0){this.serviceURL=url.substring(0,_232);}else{this.serviceURL=url.substring(0,_232)+url.substring(_233);}}}dojo.xhrGet({url:this.serviceURL,sync:true,content:_230,handleAs:_22b,handle:function(_234,_235){if(auth.isAuthenticationRequired(_234,_235)){ibm.portal.debug.text("Authentication required.");auth.authenticationHandler(_234,_235,_22d);}else{_22c=me._handleSerializationResponse.call(me,_234,_226,_224,_225);return _234;}},transport:"XMLHTTPTransport"});}else{if(dojo.isIE||window.ActiveXObject!==undefined){var idx=_229.indexOf("UTF-16");if(idx>=0){_229=_229.replace(/UTF-16/,"UTF-8");}}var url=this.serviceURL;if(url.indexOf("?")==-1){url+="?";}else{url+="&";}url+="uri="+this.STATE_URI_POST+"&xmlns="+this.STATE_NS_URI+"&sessionDependencyAllowed=true";if(_22e!=null){url+="&digest="+_22e;}if(_225===true){url+="&preprocessors=true";}if(_227===true){url+="&forceAbsolute=true";}if(_228&&_228.project){url+="&project="+encodeURIComponent(_228.project);}var _231=false;if(_228&&(_228.project===null)){url+="&project=";_231=true;}if(_231){var _232=url.indexOf("$project");if(_232>=0){var _233=url.indexOf("!ut/p");if(_233<0){url=url.substring(0,_232);}else{url=url.substring(0,_232)+url.substring(_233);}}}dojo.rawXhrPost({url:url,sync:true,postData:_229,handleAs:_22b,headers:{"Content-Type":"text/xml","X-IBM-XHR":"true"},handle:function(_236,_237){if(auth.isAuthenticationRequired(_236,_237)){ibm.portal.debug.text("Authentication required.");auth.authenticationHandler(_236,_237,_22d);}else{_22c=me._handleSerializationResponse.call(me,_236,_226,_224,_225);return _236;}},transport:"XMLHTTPTransport"});}return _22c;},deserialize:function(url,_238){ibm.portal.debug.entry("SerializationManager.deserialize",[url]);var _239=this.STATE_URI_SCHEME+":"+encodeURIComponent(url);var _23a=null;var _23b=this._getMimeType();var me=this;var _23c=com.ibm.portal.services.PortalRestServiceConfig.digest;var auth=com.ibm.ajax.auth;var _23d=typeof ibmCfg!="undefined"&&ibmCfg?(ibmCfg&&ibmCfg.themeConfig?ibmCfg.themeConfig.onauthenticated:null):null;var _23e={"uri":_239,"mode":this.DOWNLOAD_MODE,"xmlns":this.STATE_NS_URI,"preprocessors":"true"};if(_23c!=null){_23e.digest=_23c;}dojo.xhrGet({url:this.serviceURL,sync:(_238)?false:true,content:_23e,headers:{"X-IBM-XHR":"true"},handleAs:_23b,handle:function(_23f,_240){var type=(_23f instanceof Error)?"error":"load";if(type=="load"){var _241=me._getResponseXML(_23f);if(_241.documentElement.nodeName=="parsererror"){_241=com.ibm.portal.xslt.loadXmlString();}if(_238){_238(1,url,_241);}else{_23a={"status":1,"input":me.serviceURL,"url":me.serviceURL,"returnObject":_241,"state":_241};}}else{if(type=="error"){if(auth.isAuthenticationRequired(_23f,_240)){ibm.portal.debug.text("Authentication required.");auth.authenticationHandler(_23f,_240,_23d);}else{if(_238){_238(2,url,null);}else{_23a={"status":2,"input":me.serviceURL,"url":me.serviceURL,"returnObject":null,"state":null};}}}}},transport:"XMLHTTPTransport"});return _23a;},_handleSerializationResponse:function(_242,_243,_244,_245){var _246=null;var type=(_242 instanceof Error)?"error":"load";if(type=="load"){var _247=this._getResponseXML(_242);var _248="atom:entry/atom:link";var ns={"atom":"http://www.w3.org/2005/Atom","state":"http://www.ibm.com/xmlns/prod/websphere/portal/v6.1/portal-state"};var _249=null;var _24a=com.ibm.portal.xpath.evaluateXPath(_248,_247,ns);if(_24a!=null&&_24a.length>0){_249=_24a[0].getAttribute("href");}else{com.ibm.ajax.auth.authenticationHandler();_246={"status":this.STATUS_ERROR,"input":_244,"state":_244,"returnObject":null,"url":null};return _246;}var _24b=_244;if(_245==true){var _24c="atom:entry/atom:content/state:root";var _24d=com.ibm.portal.xpath.evaluateXPath(_24c,_247,ns);if(_24d!=null&&_24d.length>0){var _24e=dojox.data.dom.innerXML(_24d[0]);_24b=com.ibm.portal.xslt.loadXmlString(_24e);}}if(_243){_243(1,_24b,_249);}else{_246={"status":1,"input":_24b,"state":_24b,"returnObject":_249,"url":_249};}}else{if(type=="error"){if(_243){_243(this.STATUS_ERROR,_244,null);}else{_246={"status":this.STATUS_ERROR,"input":_244,"state":_244,"returnObject":null,"url":null};}}}return _246;},_getMimeType:function(){var _24f="xml";if(dojo.isIE||window.ActiveXObject!==undefined){_24f="text";}return _24f;},_getResponseXML:function(data){var _250=data;if(dojo.isIE||window.ActiveXObject!==undefined){_250=com.ibm.portal.xslt.loadXmlString(data);}return _250;}});dojo.declare("com.ibm.portal.navigation.controller.StateVaryManager",null,{constructor:function(){this._expr=new Array();},setExpressions:function(id,_251){var _252=this._findBucket(id);if(_252==null){_252={"id":id,"expr":null};this._expr.push(_252);}_252.expr=_251;},getExpressions:function(id){var _253=null;var _254=this._findBucket(id);if(_254!=null){_253=_254.expr;}return _253;},_findBucket:function(id){var _255=null;for(i=0;i<this._expr.length;i++){var temp=this._expr[i];if(temp.id==id){_255=temp;break;}}return _255;}});com.ibm.portal.state.STATE_MANAGER=new com.ibm.portal.state.StateManager();com.ibm.portal.state.STATE_MANAGER.reset(com.ibm.portal.xslt.loadXmlString());}if(!dojo._hasResource["ibm.portal.portlet.portlet"]){dojo._hasResource["ibm.portal.portlet.portlet"]=true;dojo.provide("ibm.portal.portlet.portlet");dojo.require("dojox.data.dom");ibm.portal.portlet._SafeToExecute=false;dojo.declare("ibm.portal.portlet.PortletWindow",null,{STATUS_UNDEFINED:0,STATUS_OK:1,STATUS_ERROR:2,constructor:function(_256){this.isEnablerAvailable=false;if(this.isEnablerAvailable){var _257="ibm.portal.portlet.PortletWindow";this.logger=new ibm.portal.portlet.Logger(_257);var _258="constructor()";this.logger.logEntry(_258,_256);}if(_256==null){return;}this.windowID=_256;var _259=document.getElementById("com.ibm.wps.web2.portlet.preferences."+this.windowID);this.preferenceEditID=_259.getAttribute("editid");this.preferenceConfigID=_259.getAttribute("configid");this.preferenceEditDefaultsID=_259.getAttribute("editdefaultsid");this.pageID=_259.getAttribute("pageid");_259=null;this.isCSA=false;try{this.isCSA=(typeof (document.isCSA)!="undefined");}catch(e){}if(this.isEnablerAvailable){this.widgetModel=com.ibm.mashups.enabler.widget.Factory.getWidgetModel();this.navigationStateModel=com.ibm.mashups.enabler.model.state.NavigationStateModelFactory.getNavigationStateModel();this.widgetAccessor=com.ibm.mashups.enabler.model.state.AccessorFactory.getWidgetAccessor(this.navigationStateModel,this.windowID);this.userModel=com.ibm.mashups.enabler.user.Factory.getUserModel();}this.attributes=new Array();this._queuedFuncs=new Array();this.portletState=new ibm.portal.portlet.PortletState(this.isEnablerAvailable,_256,null,this.navigationStateModel);var me=this;function _25a(){for(var i=0;i<me._queuedFuncs.length;i++){me._queuedFuncs[i]();}};if(ibmPortalConfig.isCSAListening){if(window.addEventListener){window.addEventListener("load",function(){if(!ibm.portal.portlet._SafeToExecute){ibm.portal.portlet._SafeToExecute=true;}_25a();},false);}else{if(window.attachEvent){window.attachEvent("onload",function(){if(!ibm.portal.portlet._SafeToExecute){ibm.portal.portlet._SafeToExecute=true;}_25a();});}}}else{ibm.portal.portlet._SafeToExecuteDfd.addCallback(_25a);}if(this.isEnablerAvailable){this.logger.logExit(_258);}},reportError:function(_25b){var code;if(_25b.getErrorCode()==ibm.portal.portlet.Error.ERROR){code="error";}else{if(_25b.getErrorCode()==ibm.portal.portlet.Error.INFO){code="info";}else{if(_25b.getErrorCode()==ibm.portal.portlet.Error.WARN){code="warning";}}}var _25c={"_type":code,"_message":_25b.getMessage(),"_details":_25b.getDescription()};if(this.isCSA){dojo.publish("/portal/status",[{message:_25c}]);}else{if(typeof (console)!="undefined"){if(_25b.getErrorCode()==ibm.portal.portlet.Error.ERROR){console.error(_25c._message+"\n"+_25c._details);}else{if(_25b.getErrorCode()==ibm.portal.portlet.Error.INFO){console.info(_25c._message+"\n"+_25c._details);}else{if(_25b.getErrorCode()==ibm.portal.portlet.Error.WARN){console.warn(_25c._message+"\n"+_25c._details);}}}}else{alert(_25c._type.toUpperCase()+"\nMessage: "+_25c._message+"\nDetails: "+_25c._details);}}},getAttribute:function(name){return this.attributes[name];},setAttribute:function(name,_25d){var ret=this.attributes[name];this.attributes[name]=_25d;return ret;},removeAttribute:function(name){this.attributes[name]=null;},clearAttributes:function(){this.attributes=new Array();},getPortletState:function(_25e){if(this.isEnablerAvailable){var _25f="getPortletState()";this.logger.logEntry(_25f,_25e);}var _260=this.portletState;var _261=this;var _262=null;if(_25e!=null){_25e(_261,ibm.portal.portlet.PortletWindow.STATUS_OK,_260);}else{_262={"portletWindow":_261,"status":ibm.portal.portlet.PortletWindow.STATUS_OK,"returnObject":_260};}if(this.isEnablerAvailable){this.logger.logExit(_25f,_262);}return _262;},setPortletState:function(_263,_264){if(this.isEnablerAvailable){var _265="setPortletState()";this.logger.logEntry(_265,_264);}this.portletState=_263;if(this.isEnablerAvailable){this.navigationStateModel.commit({allowRedirect:true}).start(false);}else{if(this.isCSA){if(_264==null){var _266=new com.ibm.portal.navigation.controller.NAVIGATION_CONTROLLER.getState();var url=_266.newPortletRenderURL(this.windowID);var _267=new com.ibm.portal.services.PortletFragmentService();_267.getPortletInfo("lm:oid:"+this.windowID+"@oid:"+this.pageID,url);}}else{var _268=new com.ibm.portal.state.StateManager(ibmPortalConfig["contentHandlerURI"]);_268.reset(_263.portletAccessor.stateDOM);var _269=_268.getSerializationManager();var _26a=_269.serialize(_268.getState());var _26b=_26a["returnObject"];var url=_26b;window.location.href=url;}}var _26c=this.getPortletState(_264);if(this.isEnablerAvailable){this.logger.logExit(_265,_26c);}return _26c;},_queueUp:function(_26d){this._queuedFuncs.push(_26d);},_throwInappropriateRequestError:function(_26e){throw new Error("Cannot execute a synchronous call before the page loads! Please use an onload handler to execute this call to \""+_26e+"\".");return null;},getPortletPreferences:function(_26f){if(this.isEnablerAvailable){var _270="getPortletPreferences()";this.logger.logEntry(_270,_26f);}if(!ibm.portal.portlet._SafeToExecute){if(_26f){var me=this;this._queueUp(function(){me.getPortletPreferences(_26f);});return false;}else{return this._throwInappropriateRequestError("getPortletPreferences");}}if(this.isEnablerAvailable){var _271=this;var _272=null;var _273=new ibm.portal.portlet.PortletPreferences(_271.isEnablerAvailable,_271.windowID,_271.pageID,_271.requestedPreferenceID,null,_271.widgetModel);if(_26f){_26f(_271,ibm.portal.portlet.PortletWindow.STATUS_OK,_273);}else{_272={"portletWindow":_271,"status":ibm.portal.portlet.PortletWindow.STATUS_OK,"returnObject":_273};}}else{var _274=this.getPortletState().returnObject.getPortletMode();this.status=ibm.portal.portlet.PortletWindow.STATUS_UNDEFINED;var _275=document.getElementById("com.ibm.wps.web2.portlet.root."+this.windowID).innerHTML;var idx=_275.indexOf("--portletwindowid--");var _276=_275.replace(/--portletwindowid--/g,this.windowID);if(_276.indexOf("?")<0){_276=_276+"?";}_276+="&verb=download&levels=-all&rep=full&preferences=aggregated";this.requestedPreferenceID="pm:oid:"+this.preferenceEditID;if(_274==ibm.portal.portlet.PortletMode.CONFIG){this.requestedPreferenceID="pm:oid:"+this.preferenceConfigID;}else{if(_274==ibm.portal.portlet.PortletMode.EDIT_DEFAULTS){this.requestedPreferenceID="pm:oid:"+this.preferenceEditDefaultsID;}else{if((_274==ibm.portal.portlet.PortletMode.EDIT)||(this.preferenceEditID==null)){if(this.preferenceEditID==null){var _277=_275.substring(0,_275.indexOf("@")).replace(/--portletwindowid--/g,this.preferenceEditDefaultsID);if(_277.indexOf("?")<0){_277=_277+"?";}_277+="&verb=download&levels=-all&rep=full&preferences=aggregated";var _278="<?xml version=\"1.0\" encoding=\"UTF-8\"?>"+"<atom:feed xmlns:atom=\"http://www.w3.org/2005/Atom\" xmlns:model=\"http://www.ibm.com/xmlns/prod/websphere/portal/v6.0.1/portal-model-elements\" xmlns:creation-context=\"http://www.ibm.com/xmlns/prod/websphere/portal/v6.1.0/portal-creation-context\">"+"<atom:entry>"+"<atom:id>pm:cid:0</atom:id>"+"<atom:content type=\"application/xml\">"+"<model:portlet-entity creation-context:portlet-entity=\"pm:oid:"+this.preferenceEditDefaultsID+"\"/>"+"</atom:content>"+"</atom:entry>"+"</atom:feed>";dojo.rawXhrPost({url:_277,sync:true,postData:_278,contentType:"application/xml",headers:{"X-IBM-XHR":"true"},handleAs:"xml",handle:dojo.hitch(this,function(_279,_27a){var type=(_279 instanceof Error)?"error":"load";if(type=="load"){var _27b=_279;if(!_27b||(typeof (dojox.data.dom.innerXML(_279))=="undefined")){_27b=com.ibm.portal.xslt.loadXmlString(_27a.xhr.responseText);}var ns={"atom":"http://www.w3.org/2005/Atom"};var expr="/atom:feed/atom:entry/atom:id";var _27c=ibm.portal.xml.xpath.evaluateXPath(expr,_27b,ns);this.requestedPreferenceID=dojox.data.dom.textContent(_27c[0]);}else{if(_27a.xhr.status==409){var _27b=com.ibm.portal.xslt.loadXmlString(_27a.xhr.responseText);var ns={"atom":"http://www.w3.org/2005/Atom"};var expr="/atom:feed/atom:entry/atom:id";var _27c=ibm.portal.xml.xpath.evaluateXPath(expr,_27b,ns);this.requestedPreferenceID=dojox.data.dom.textContent(_27c[0]);}}}),transport:"XMLHTTPTransport"});}else{this.requestedPreferenceID="pm:oid:"+this.preferenceEditID;}}}}var _271=this;var _272=null;dojo.xhrGet({url:_276,handleAs:"xml",preventCache:true,headers:{"X-IBM-XHR":"true","If-Modified-Since":"Thu, 1 Jan 1970 00:00:00 GMT"},sync:(_26f)?false:true,handle:function(_27d,_27e){if(_271.isAuthenticationRequired(_27e.xhr,_27e.args.handleAs)){_271.doAuthentication();}else{var type=(_27d instanceof Error)?"error":"load";if(type=="load"){var _27f=_27d;if(!_27f||(typeof (dojox.data.dom.innerXML(_27d))=="undefined")){_27f=com.ibm.portal.xslt.loadXmlString(_27e.xhr.responseText);}var _280=new ibm.portal.portlet.PortletPreferences(_271.isEnablerAvailable,_271.windowID,_271.pageID,_271.requestedPreferenceID,_27f,_271.widgetModel);if(_26f){_26f(_271,ibm.portal.portlet.PortletWindow.STATUS_OK,_280);}else{_272={"portletWindow":_271,"status":ibm.portal.portlet.PortletWindow.STATUS_OK,"returnObject":_280};}}else{if(type=="error"){if(_26f){_26f(_271,ibm.portal.portlet.PortletWindow.STATUS_ERROR,null);}else{_272={"portletWindow":_271,"status":ibm.portal.portlet.PortletWindow.STATUS_ERROR,"returnObject":null};}}}}},transport:"XMLHTTPTransport"});}if(this.isEnablerAvailable){this.logger.logExit(_270,_272);}return _272;},setPortletPreferences:function(_281,_282){if(this.isEnablerAvailable){var _283="setPortletPreferences()";this.logger.logEntry(_283,_282);}if(!ibm.portal.portlet._SafeToExecute){if(_282){var me=this;this._queueUp(function(){me.setPortletPreferences(_281,_282);});return false;}else{return this._throwInappropriateRequestError("setPortletPreferences");}}if(this.isEnablerAvailable){this.widgetModel.commit().start();var _284=this;var _285=null;if(_282){_282(_284,ibm.portal.portlet.PortletWindow.STATUS_OK,_281);}else{_285={"portletWindow":_284,"status":ibm.portal.portlet.PortletWindow.STATUS_OK,"returnObject":_281};}}else{this.status=ibm.portal.portlet.PortletWindow.STATUS_UNDEFINED;var _286=document.getElementById("com.ibm.wps.web2.portlet.root."+this.windowID).innerHTML;var idx=_286.indexOf("--portletwindowid--");var _287=_286.replace(/--portletwindowid--/g,this.windowID);if(_287.indexOf("?")<0){_287+="?verb=download";}else{_287+="&verb=download";}var _288=_281.requestedPreferenceID;var expr="/atom:feed/atom:entry[atom:id='"+_288+"']";var _289=ibm.portal.xml.xpath.evaluateXPath(expr,_281.xmlData,_281.ns);var _28a;if(_289&&_289.length>0){_28a=_289[0];}else{return null;}var _28b=_28a.parentNode;expr="/atom:feed/atom:entry";_289=ibm.portal.xml.xpath.evaluateXPath(expr,_281.xmlData,_281.ns);for(var i=0;i<_289.length;i++){var node=_289[i];if(node!=_28a){_28b.removeChild(node);}}var _284=this;var _285=null;var _28c={url:_287,sync:(_282)?false:true,contentType:"application/xml",headers:{"X-IBM-XHR":"true"},handleAs:"xml",handle:function(_28d,_28e){if(_284.isAuthenticationRequired(_28e.xhr,_28e.args.handleAs)){_284.doAuthentication();}else{var type=(_28d instanceof Error)?"error":"load";if(type=="load"){if(_282){_282(_284,ibm.portal.portlet.PortletWindow.STATUS_OK,_281);}else{_285={"portletWindow":_284,"status":ibm.portal.portlet.PortletWindow.STATUS_OK,"returnObject":_281};}}else{if(type=="error"){if(_282){_282(_284,ibm.portal.portlet.PortletWindow.STATUS_ERROR,null);}else{_285={"portletWindow":_284,"status":ibm.portal.portlet.PortletWindow.STATUS_ERROR,"returnObject":null};}}}}},transport:"XMLHTTPTransport"};var _28f="rawXhrPut";if(ibmPortalConfig&&ibmPortalConfig.xMethodOverride){_28c.headers["X-Method-Override"]="PUT";_28f="xhrPost";_28c.postData=dojox.data.dom.innerXML(_281.xmlData);}else{_28c.putData=dojox.data.dom.innerXML(_281.xmlData);}dojo[_28f](_28c);}if(this.isEnablerAvailable){this.logger.logExit(_283,_285);}return _285;},getUserProfile:function(_290){if(this.isEnablerAvailable){var _291="getUserProfile()";this.logger.logEntry(_291,_290);}if(!ibm.portal.portlet._SafeToExecute){if(_290){var me=this;this._queueUp(function(){me.getUserProfile(_290);});return false;}else{return this._throwInappropriateRequestError("getUserProfile");}}if(this.isEnablerAvailable){var _292=this;var _293=null;var _294=new ibm.portal.portlet.UserProfile(_292.isEnablerAvailable,_292.windowID,null,_292.userModel);if(_290){_290(_292,ibm.portal.portlet.PortletWindow.STATUS_OK,_294);}else{_293={"portletWindow":_292,"status":ibm.portal.portlet.PortletWindow.STATUS_OK,"returnObject":_294};}}else{this.status=ibm.portal.portlet.PortletWindow.STATUS_UNDEFINED;var _295=document.getElementById("com.ibm.wps.web2.portlet.user."+this.windowID).innerHTML;var _292=this;var _293=null;dojo.xhrGet({url:_295,headers:{"X-IBM-XHR":"true","If-Modified-Since":"Thu, 1 Jan 1970 00:00:00 GMT"},sync:(_290)?false:true,handleAs:"xml",handle:function(_296,_297){if(_292.isAuthenticationRequired(_297.xhr,_297.args.handleAs)){_292.doAuthentication();}else{var type=(_296 instanceof Error)?"error":"load";if(type=="load"){var _298=_296;if(!_298||(typeof (dojox.data.dom.innerXML(_296))=="undefined")){_298=com.ibm.portal.xslt.loadXmlString(_297.xhr.responseText);}var _299=new ibm.portal.portlet.UserProfile(_292.isEnablerAvailable,_292.windowID,_298,_292.userModel);if(_290){_290(_292,ibm.portal.portlet.PortletWindow.STATUS_OK,_299);}else{_293={"portletWindow":_292,"status":ibm.portal.portlet.PortletWindow.STATUS_OK,"returnObject":_299};}}else{if(type=="error"){if(_290){_290(_292,ibm.portal.portlet.PortletWindow.STATUS_ERROR,null);}else{_293={"portletWindow":_292,"status":ibm.portal.portlet.PortletWindow.STATUS_ERROR,"returnObject":null};}}}}},transport:"XMLHTTPTransport"});}if(this.isEnablerAvailable){this.logger.logExit(_291,_293);}return _293;},setUserProfile:function(_29a,_29b){if(this.isEnablerAvailable){var _29c="setUserProfile()";this.logger.logEntry(_29c,_29b);}if(!ibm.portal.portlet._SafeToExecute){if(_29b){var me=this;this._queueUp(function(){me.setUserProfile(_29a,_29b);});return false;}else{return this._throwInappropriateRequestError("setUserProfile");}}if(this.isEnablerAvailable){this.userModel.commit().start();var _29d=this;var _29e=null;if(_29b){_29b(_29d,ibm.portal.portlet.PortletWindow.STATUS_OK,_29d.userProfile);}else{_29e={"portletWindow":_29d,"status":ibm.portal.portlet.PortletWindow.STATUS_OK,"returnObject":_29a};}}else{this.status=ibm.portal.portlet.PortletWindow.STATUS_UNDEFINED;var _29f=document.getElementById("com.ibm.wps.web2.portlet.user."+this.windowID).innerHTML;var _29d=this;var _29e=null;dojo.rawXhrPost({url:_29f,sync:(_29b)?false:true,postData:dojox.data.dom.innerXML(_29a.xmlData),contentType:"application/xml",headers:{"X-IBM-XHR":"true"},handleAs:"xml",handle:function(_2a0,_2a1){if(_29d.isAuthenticationRequired(_2a1.xhr,_2a1.args.handleAs)){_29d.doAuthentication();}else{var type=(_2a0 instanceof Error)?"error":"load";if(type=="load"){if(_29b){_29b(_29d,ibm.portal.portlet.PortletWindow.STATUS_OK,_29a);}else{_29e={"portletWindow":_29d,"status":ibm.portal.portlet.PortletWindow.STATUS_OK,"returnObject":_29a};}}else{if(type=="error"){if(_29b){_29b(_29d,ibm.portal.portlet.PortletWindow.STATUS_ERROR,null);}else{_29e={"portletWindow":_29d,"status":ibm.portal.portlet.PortletWindow.STATUS_ERROR,"returnObject":null};}}}}},transport:"XMLHTTPTransport"});}if(this.isEnablerAvailable){this.logger.logExit(_29c,_29e);}return _29e;},newXMLPortletRequest:function(){return new ibm.portal.portlet.XMLPortletRequest(this);},isAuthenticationRequired:function(_2a2,_2a3){if(_2a2.readyState!=4){throw new Error("isAuthenticationRequired should only be called with a COMPLETED XMLHttpRequest! The readyState on the given XMLHttpRequest is not 4 (COMPLETE)!");}var _2a4={dojoType:"valid"};var _2a5={xhr:_2a2,args:{handleAs:_2a3}};return com.ibm.ajax.auth.isAuthenticationRequired(_2a4,_2a5);},setAuthenticationHandler:function(_2a6){this._authenticationFn=_2a6;},doAuthentication:function(){if(this._authenticationFn){this._authenticationFn();}else{com.ibm.ajax.auth.authenticationHandler();}}});if(typeof (ibmPortalConfig)=="undefined"||!ibmPortalConfig.isCSAListening){ibm.portal.portlet._SafeToExecuteDfd=new dojo.Deferred();ibm.portal.portlet._SafeToExecuteDfd.addCallback(function(){ibm.portal.portlet._SafeToExecute=true;});var f=new Function("ibm.portal.portlet._SafeToExecuteDfd.callback();");if(window.addEventListener){window.addEventListener("load",f,false);}else{if(window.attachEvent){window.attachEvent("onload",f);}}}dojo.declare("ibm.portal.portlet.PortletPreferences",null,{constructor:function(_2a7,_2a8,_2a9,_2aa,data,_2ab){this.windowID=_2a8;this.pageID=_2a9;this.requestedPreferenceID=_2aa;this.xmlData=data;this.xsltURL=dojo.moduleUrl("ibm","portal/portlet/");this.ns={"xsl":"http://www.w3.org/1999/XSL/Transform","thr":"http://purl.org/syndication/thread/1.0","atom":"http://www.w3.org/2005/Atom","xhtml":"http://www.w3.org/1999/xhtml","model":"http://www.ibm.com/xmlns/prod/websphere/portal/v6.0.1/portal-model-elements","base":"http://www.ibm.com/xmlns/prod/websphere/portal/v6.0/ibm-portal-composite-base","portal":"http://www.ibm.com/xmlns/prod/websphere/portal/v6.0.1/portal-model","xsi":"http://www.w3.org/2001/XMLSchema-instance"};this.isEnablerAvailable=_2a7;if(this.isEnablerAvailable){var _2ac="ibm.portal.portlet.PortletPreferences";this.logger=new ibm.portal.portlet.Logger(_2ac);var _2ad="constructor()";this.logger.logEntry(_2ad);this.logger.log(_2ad,"windowid: ${0}",_2a8);this.logger.log(_2ad,"pageid: ${0}",_2a9);this.logger.log(_2ad,"requestedpreferenceid: ${0}",_2aa);this.logger.log(_2ad,"data: ${0}",data);this.logger.log(_2ad,"widgetModel: ${0}",_2ab);this.widgetModel=_2ab;this.logger.logExit(_2ad);}else{this.widgetModel=null;this.internal_reset();}},getMap:function(){if(this.isEnablerAvailable){var _2ae="getMap()";this.logger.logEntry(_2ae);var _2af=this.getNames();var _2b0=new Array();for(var n=0;n<_2af.length;n++){var _2b1=this.getValues(_2af[n]);var _2b2=this.isReadOnly(_2af[n]);_2b0[n]={name:_2af[n],values:_2b1,readOnly:_2b2};}this.logger.logExit(_2ae,_2b0);return _2b0;}else{if(this.result_getMap){return this.result_getMap;}var _2b3=ibm.portal.xml.xslt.loadXsl(this.xsltURL+"PortletPreferencesMap.xsl");if(_2b3.documentElement==null){alert("xslDoc is null");}var _2b4=ibm.portal.xml.xslt.transform(this.xmlData,_2b3,null,{"selectionid":this.requestedPreferenceID},true);if(_2b4==null){this.result_getNames=null;return null;}var _2b5=eval(_2b4);if(_2b5){_2b5=_2b5.preferences;}this.result_getMap=_2b5;return this.result_getMap;}},getNames:function(){if(this.isEnablerAvailable){var _2b6="getNames()";this.logger.logEntry(_2b6);var _2b7=this.getModifiablePreferences(this.widgetModel,this.pageID,this.windowID);var _2b8=_2b7.getNames();this.logger.logExit(_2b6,_2b8);return _2b8;}else{if(this.result_getNames){return this.result_getNames;}var _2b9=ibm.portal.xml.xslt.loadXsl(this.xsltURL+"PortletPreferencesNames.xsl");if(_2b9.documentElement==null){alert("xslDoc is null");}var _2ba=ibm.portal.xml.xslt.transform(this.xmlData,_2b9,null,{"selectionid":this.requestedPreferenceID},true);if(_2ba==null){this.result_getNames=null;return null;}var _2bb=eval(_2ba);if(_2bb){_2bb=_2bb.names;}this.result_getNames=_2bb;return this.result_getNames;}},getValue:function(key,def){if(this.isEnablerAvailable){var _2bc="getValue()";this.logger.logEntry(_2bc);this.logger.log(_2bc,"key: ${0}",key);var _2bd=this.getModifiablePreferences(this.widgetModel,this.pageID,this.windowID);var _2be=_2bd.getValue(key);this.logger.logExit(_2bc,_2be);return _2be;}else{var expr="/atom:feed/atom:entry[atom:id='"+this.requestedPreferenceID+"']/atom:content/*/model:portletpreferences[@name='"+key+"']/base:value";var _2bf=ibm.portal.xml.xpath.evaluateXPath(expr,this.xmlData,this.ns);var _2be;if(_2bf&&_2bf.length>0){_2be=_2bf[0].getAttribute("value");}else{_2be=def;}return _2be;}},getValues:function(key,def){if(this.isEnablerAvailable){var _2c0="getValues()";this.logger.logEntry(_2c0);this.logger.log(_2c0,"key: ${0}",key);var _2c1=this.getModifiablePreferences(this.widgetModel,this.pageID,this.windowID);var _2c2=_2c1.getValues(key);this.logger.logExit(_2c0,_2c2);return _2c2;}else{var expr="/atom:feed/atom:entry[atom:id='"+this.requestedPreferenceID+"']/atom:content/*/model:portletpreferences[@name='"+key+"']/base:value";var _2c3=ibm.portal.xml.xpath.evaluateXPath(expr,this.xmlData,this.ns);var _2c2;if(_2c3&&_2c3.length>0){_2c2=new Array();for(var i=0;i<_2c3.length;i++){_2c2[i]=_2c3[i].getAttribute("value");}}else{_2c2=def;}return _2c2;}},isReadOnly:function(key){if(this.isEnablerAvailable){var _2c4="isReadOnly()";this.logger.logEntry(_2c4);this.logger.log(_2c4,"key: ${0}",key);var _2c5=this.getModifiablePreferences(this.widgetModel,this.pageID,this.windowID);var _2c6=_2c5.isReadOnly(key);this.logger.logExit(_2c4,_2c6);return _2c6;}else{var id=this.requestedPreferenceID;var expr="/atom:feed/atom:entry[atom:id='"+id+"']/atom:content/*/model:portletpreferences[@name='"+key+"']";var _2c7=ibm.portal.xml.xpath.evaluateXPath(expr,this.xmlData,this.ns);var _2c6=false;if(_2c7&&_2c7.length>0){var temp=_2c7[0].getAttribute("read-only");if(temp!=null){if(temp=="true"){_2c6=true;}}}return _2c6;}},reset:function(key){if(this.isEnablerAvailable){var _2c8="reset()";this.logger.logEntry(_2c8);this.logger.log(_2c8,"key: ${0}",key);var _2c9=this.getModifiablePreferences(this.widgetModel,this.pageID,this.windowID);_2c9.remove(key);this.logger.logExit(_2c8);}else{this.internal_reset();var expr="/atom:feed/atom:entry[atom:id='"+this.requestedPreferenceID+"']/atom:content/*/model:portletpreferences[@name='"+key+"']";var _2ca=ibm.portal.xml.xpath.evaluateXPath(expr,this.xmlData,this.ns);if(_2ca&&_2ca.length>0){var _2cb=_2ca[0];_2cb.parentNode.removeChild(_2cb);}}},setValue:function(key,_2cc){if(this.isEnablerAvailable){var _2cd="setValue()";this.logger.logEntry(_2cd);this.logger.log(_2cd,"key: ${0}",key);this.logger.log(_2cd,"value: ${0}",_2cc);var _2ce=this.getModifiablePreferences(this.widgetModel,this.pageID,this.windowID);_2ce.setValue(key,_2cc);this.logger.logExit(_2cd);}else{var _2cf=new Array();_2cf[0]=_2cc;this.setValues(key,_2cf);}},setValues:function(key,_2d0){if(this.isEnablerAvailable){var _2d1="setValues()";this.logger.logEntry(_2d1);this.logger.log(_2d1,"key: ${0}",key);this.logger.log(_2d1,"values: ${0}",_2d0);var _2d2=this.getModifiablePreferences(this.widgetModel,this.pageID,this.windowID);_2d2.setValues(key,_2d0);this.logger.logExit(_2d1);}else{this.internal_reset();var expr="/atom:feed/atom:entry[atom:id='"+this.requestedPreferenceID+"']/atom:content/*/model:portletpreferences[@name='"+key+"']";var _2d3=ibm.portal.xml.xpath.evaluateXPath(expr,this.xmlData,this.ns);var _2d4=null;if(_2d3&&_2d3.length>0){_2d4=_2d3[0];for(var i=_2d4.childNodes.length-1;i>=0;i--){_2d4.removeChild(_2d4.childNodes[i]);}}else{var _2d5="/atom:feed/atom:entry[atom:id='"+this.requestedPreferenceID+"']/atom:content/*";var _2d6=ibm.portal.xml.xpath.evaluateXPath(_2d5,this.xmlData,this.ns);if(dojo.isIE||window.ActiveXObject!==undefined){_2d4=this.xmlData.createNode(1,"model:portletpreferences",this.ns.model);}else{_2d4=this.xmlData.createElementNS(this.ns.model,"model:portletpreferences");}_2d4.setAttribute("name",key);_2d4.setAttribute("read-only","false");_2d6[0].appendChild(_2d4);}for(var i=0;i<_2d0.length;i++){var _2d7;if(dojo.isIE||window.ActiveXObject!==undefined){_2d7=this.xmlData.createNode(1,"base:value",this.ns.base);var _2d8=this.xmlData.createNode(2,"xsi:type",this.ns.xsi);_2d8.nodeValue="String";_2d7.setAttributeNode(_2d8);}else{_2d7=this.xmlData.createElementNS(this.ns.base,"base:value");_2d7.setAttributeNS(this.ns.xsi,"xsi:type","String");}_2d7.setAttribute("value",_2d0[i]);_2d4.appendChild(_2d7);}}},internal_reset:function(){this.result_getMap=null;this.result_getNames=null;},clone:function(){var _2d9=dojox.data.dom.innerXML(this.xmlData);var _2da=com.ibm.portal.xslt.loadXmlString(_2d9);return new ibm.portal.portlet.PortletPreferences(this.isEnablerAvailable,this.windowID,this.pageID,this.requestedPreferenceID,_2da,this.widgetModel);},getModifiablePreferences:function(_2db,_2dc,_2dd){var _2de="getModifiablePreferences()";this.logger.logEntry(_2de);this.logger.logLevel(com.ibm.mashups.enabler.logging.LogLevel.INFO,_2de,"widgetModel: ${0}",_2db);this.logger.logLevel(com.ibm.mashups.enabler.logging.LogLevel.INFO,_2de,"windowID: ${0}",_2dd);var _2df=com.ibm.mashups.enabler.navigation.Factory.getNavigationModel();this.logger.logLevel(com.ibm.mashups.enabler.logging.LogLevel.INFO,_2de,"navigationModel: ${0}",_2df);var _2e0=_2df.find(_2dc).start();this.logger.logLevel(com.ibm.mashups.enabler.logging.LogLevel.INFO,_2de,"selectedNode: ${0}",_2e0);var _2e1=_2df.getLayoutModel(_2e0);this.logger.logLevel(com.ibm.mashups.enabler.logging.LogLevel.INFO,_2de,"layoutModel: ${0}",_2e1);var _2e2=_2e1.find(_2dd).start();this.logger.logLevel(com.ibm.mashups.enabler.logging.LogLevel.INFO,_2de,"layoutControl: ${0}",_2e2);var _2e3=_2db.getWidgetWindow(_2e2).start();this.logger.logLevel(com.ibm.mashups.enabler.logging.LogLevel.INFO,_2de,"widgetInstance: ${0}",_2e3);var _2e4=_2db.getHierarchicalPreferences(_2e3).start();this.logger.logExit(_2de,_2e4);return _2e4;}});dojo.declare("ibm.portal.portlet.PortletMode",null,{VIEW:"view",EDIT:"edit",EDIT_DEFAULTS:"edit_defaults",HELP:"help",CONFIG:"config"});dojo.declare("ibm.portal.portlet.WindowState",null,{NORMAL:"normal",MINIMIZED:"minimized",MAXIMIZED:"maximized"});dojo.declare("ibm.portal.portlet.PortletState",null,{constructor:function(_2e5,_2e6,_2e7,_2e8){this.windowID=_2e6;this.isEnablerAvailable=_2e5;if(this.isEnablerAvailable){var _2e9="ibm.portal.portlet.PortletState";this.logger=new ibm.portal.portlet.Logger(_2e9);var _2ea="constructor()";this.logger.logEntry(_2ea);this.logger.log(_2ea,"windowid: ${0}",_2e6);this.logger.log(_2ea,"portletWindowId: ${0}",_2e7);this.logger.log(_2ea,"navigationStateModel: ${0}",_2e8);this.navigationStateModel=_2e8;this.widgetAccessor=com.ibm.mashups.enabler.model.state.AccessorFactory.getWidgetAccessor(this.navigationStateModel,this.windowID);this.logger.logExit(_2ea);}else{var _2eb=new com.ibm.portal.state.StateManager(ibmPortalConfig["contentHandlerURI"]);if(dojo.isString(_2e6)){var _2ec=this._getExistingState(_2e6,_2eb.getSerializationManager());_2eb.reset(_2ec);}else{_2eb.reset(_2e6);_2e6=_2e7;}this.portletAccessor=_2eb.newPortletAccessor(_2e6);this.renderParameters=this.portletAccessor.getRenderParameters();}},_isCSA:function(){var _2ed=false;try{_2ed=(typeof (document.isCSA)!="undefined");}catch(e){}return _2ed;},_getExistingState:function(_2ee,_2ef){var _2f0=null;if(this._isCSA()){_2f0=com.ibm.portal.navigation.controller.NAVIGATION_CONTROLLER.getState().stateDOM;}else{if(_2ef!=null){var _2f1=_2ef.deserialize(location.href);_2f0=_2f1.returnObject;}else{_2f0=com.ibm.portal.xslt.loadXmlString();}}return _2f0;},getPortletMode:function(){if(this.isEnablerAvailable){var _2f2="getPortletMode()";this.logger.logEntry(_2f2);var _2f3=this.widgetAccessor.getWidgetMode();var _2f4=null;switch(_2f3){case "view":_2f4=new ibm.portal.portlet.PortletMode().VIEW;break;case "personalize":_2f4=new ibm.portal.portlet.PortletMode().EDIT;break;case "edit":_2f4=new ibm.portal.portlet.PortletMode().EDIT_DEFAULTS;break;case "config":_2f4=new ibm.portal.portlet.PortletMode().CONFIG;break;case "help":_2f4=new ibm.portal.portlet.PortletMode().HELP;break;}this.logger.logExit(_2f2,_2f4);return _2f4;}else{return this.portletAccessor.getPortletMode();}},setPortletMode:function(_2f5){if(this.isEnablerAvailable){var _2f6="setPortletMode()";this.logger.logEntry(_2f6);this.logger.log(_2f6,"portletMode: ${0}",_2f5);var _2f7=null;switch(_2f5){case new ibm.portal.portlet.PortletMode().VIEW:_2f7="view";break;case new ibm.portal.portlet.PortletMode().EDIT:_2f7="personalize";break;case new ibm.portal.portlet.PortletMode().EDIT_DEFAULTS:_2f7="edit";break;case new ibm.portal.portlet.PortletMode().CONFIG:_2f7="config";break;case new ibm.portal.portlet.PortletMode().HELP:_2f7="help";break;}this.widgetAccessor.setWidgetMode(_2f7);this.logger.logExit(_2f6,_2f5);return _2f5;}else{this.portletAccessor.setPortletMode(_2f5);return _2f5;}},getWindowState:function(){if(this.isEnablerAvailable){var _2f8="getWindowState()";this.logger.logEntry(_2f8);var _2f9=this.widgetAccessor.getWindowState();var _2fa=null;switch(_2f9){case "normal":_2fa=new ibm.portal.portlet.WindowState().NORMAL;break;case "minimize":_2fa=new ibm.portal.portlet.WindowState().MINIMIZED;break;case "maximize":_2fa=new ibm.portal.portlet.WindowState().MAXIMIZED;break;}this.logger.logExit(_2f8,_2fa);return _2fa;}else{return this.portletAccessor.getWindowState();}},setWindowState:function(_2fb){if(this.isEnablerAvailable){var _2fc="setWindowState()";this.logger.logEntry(_2fc);this.logger.log(_2fc,"windowState: ${0}",_2fb);var _2fd=null;switch(_2fb){case new ibm.portal.portlet.WindowState().NORMAL:_2fd="normal";break;case new ibm.portal.portlet.WindowState().MINIMIZED:_2fd="minimize";break;case new ibm.portal.portlet.WindowState().MAXIMIZED:_2fd="maximize";break;}this.widgetAccessor.setWindowState(_2fd);this.logger.logExit(_2fc,_2fb);return _2fb;}else{this.portletAccessor.setWindowState(_2fb);return _2fb;}},getParameterNames:function(){if(this.isEnablerAvailable){var _2fe="getParameterNames()";this.logger.logEntry(_2fe);var _2ff=this.widgetAccessor.getWidgetStateNames();this.logger.logExit(_2fe,_2ff);return _2ff;}else{return this.renderParameters.getNames();}},getParameterValue:function(name){if(this.isEnablerAvailable){var _300="getParameterValue()";this.logger.logEntry(_300);this.logger.log(_300,"name: ${0}",name);var _301=this.widgetAccessor.getWidgetState(name);this.logger.logExit(_300,_301);return _301;}else{return this.renderParameters.getValue(name);}},getParameterValues:function(name){if(this.isEnablerAvailable){var _302="getParameterValues()";this.logger.logEntry(_302);this.logger.log(_302,"name: ${0}",name);var _303=this.widgetAccessor.getWidgetStateValues(name);this.logger.logExit(_302,_303);return _303;}else{return this.renderParameters.getValues(name);}},getParameterMap:function(){if(this.isEnablerAvailable){var _304="getParameterMap()";this.logger.logEntry(_304);var _305=this.getParameterNames();var _306=new Array();for(var n=0;n<_305.length;n++){var _307=this.getParameterValues(_305[n]);_306[n]={name:_305[n],values:_307};}this.logger.logExit(_304,_306);return _306;}else{return this.renderParameters.getMap();}},setParameterValue:function(name,_308){if(this.isEnablerAvailable){var _309="setParameterValue()";this.logger.logEntry(_309);this.logger.log(_309,"name: ${0}",name);this.logger.log(_309,"value: ${0}",_308);this.widgetAccessor.setWidgetState(name,_308);this.logger.logExit(_309,_308);return _308;}else{this.renderParameters.setValue(name,_308);return _308;}},setParameterValues:function(name,_30a){if(this.isEnablerAvailable){var _30b="setParameterValues()";this.logger.logEntry(_30b);this.logger.log(_30b,"name: ${0}",name);this.logger.log(_30b,"values: ${0}",_30a);this.widgetAccessor.setWidgetState(name,_30a);this.logger.logExit(_30b,_30a);return _30a;}else{this.renderParameters.setValues(name,_30a);return _30a;}},setParameterMap:function(map,_30c){if(this.isEnablerAvailable){var _30d="setParameterMap()";this.logger.logEntry(_30d);this.logger.log(_30d,"map: ${0}",map);this.logger.log(_30d,"replace: ${0}",_30c);for(var n=0;n<map.length;n++){var _30e=map[n].name;var _30f=map[n].values;this.setParameterValues(_30e,_30f);}this.logger.logExit(_30d);}else{if(_30c==true){this.renderParameters.clear();}this.renderParameters.putAll(map);return this.renderParameters.getMap();}},removeParameter:function(name){if(this.isEnablerAvailable){var _310="removeParameter()";this.logger.logEntry(_310);this.logger.log(_310,"name: ${0}",name);this.widgetAccessor.removeWidgetState(name);this.logger.logExit(_310);}else{this.renderParameters.remove(name);}}});dojo.require("com.ibm.portal.services.PortletFragmentService");dojo.declare("ibm.portal.portlet.XMLPortletRequest",null,{onreadystatechange:null,readyState:0,responseText:null,responseXML:null,status:null,statusText:null,onportletstateready:null,_location:null,_async:null,constructor:function(_311){var _312=this.declaredClass+".constructor";ibm.portal.debug.entry(_312,[_311]);this.pageID=_311.pageID;this.windowID=_311.windowID;this.windowObj=_311;ibm.portal.debug.exit(_312);this.isEnablerAvailable=_311.isEnablerAvailable;this.navigationStateModel=_311.navigationStateModel;},_getXHR:function(){var _313=this.declaredClass+"._getXHR";ibm.portal.debug.entry(_313);if(!this._xhr){this._xhr=this._createXHR();}ibm.portal.debug.exit(_313,this._xhr);return this._xhr;},_createXHR:function(){var _314=this.declaredClass+"._createXHR";ibm.portal.debug.entry(_314);var _315=null;if(typeof (XMLHttpRequest)!="undefined"){_315=new XMLHttpRequest();}else{_315=new ActiveXObject("Microsoft.XMLHTTP");}ibm.portal.debug.exit(_314,_315);return _315;},_onreadystatechangehandler:function(){var _316=this.declaredClass+"._onreadystatechangehandler";ibm.portal.debug.entry(_316);if(!this.handled){var xhr=this._getXHR();this.readyState=xhr.readyState;ibm.portal.debug.text("ready state is "+xhr.readyState);if(this.readyState==4){var _317=this.windowObj.isAuthenticationRequired(xhr,"xml");ibm.portal.debug.text("is auth required: "+_317);xhr.onreadystatechange=new Function;if(_317){this.windowObj.doAuthentication(xhr);return;}else{this.responseText=xhr.responseText;this.responseXML=xhr.responseXML;this.status=xhr.status;this.statusText=xhr.statusText;var _318=new com.ibm.portal.services.PortletFragmentService();var _319=_318.createPortletInfo(xhr.responseXML);this.responseText=_319.markup;this.responseXML=null;var _31a=true;var _31b=_319.updatedState;if(this.onportletstateready!=null){var _31c=_319.windowId;var _31d=new ibm.portal.portlet.PortletState(this.isEnablerAvailable,_31b,_31c,null,this.navigationStateModel);_31a=this.onportletstateready(_31d);}if(_31a&&this._isCSA()){_318._fireGlobalPortletStateChange(_319);}this._handleDependentPortlets(_318.readDependentPortlets(xhr.responseXML),_31b);this.handled=true;}}if(this.onreadystatechange!=null){this.onreadystatechange();}}ibm.portal.debug.exit(_316);},_handleDependentPortlets:function(_31e,_31f){var _320=this.declaredClass+"._handleDependentPortlets";ibm.portal.debug.entry(_320,[_31e,_31f]);if(!this._isCSA()){if(_31e.length>0){window.location.href=this._newPageURL(_31f);}}ibm.portal.debug.exit(_320);},_isCSA:function(){var _321=this.declaredClass+"._isCSA";ibm.portal.debug.entry(_321);var _322=false;try{_322=(typeof (document.isCSA)!="undefined");}catch(e){}ibm.portal.debug.exit(_321,_322);return _322;},_flag:function(_323){var _324=this.declaredClass+"._flag";ibm.portal.debug.entry(_324,[_323]);var id="lm:oid:"+this.windowID+"@oid:"+this.pageID;var _325=new com.ibm.portal.services.PortletFragmentService();var url=_325._flagPortletUrl(_323,id);ibm.portal.debug.exit(_324,url);return url;},_newPageURL:function(_326){var _327=this.declaredClass+"._newPageURL";ibm.portal.debug.entry(_327,[_326]);ibm.portal.debug.text(dojox.data.dom.innerXML(_326));var _328=new com.ibm.portal.state.StateManager(ibmPortalConfig["contentHandlerURI"]);var _329=_326;if(!_326){_329=com.ibm.portal.xslt.loadXmlString();}_328.reset(_329);var _32a=_328.getSerializationManager();var _32b=_32a.serialize(_329);var _32c=_32b["returnObject"];var url=_32c;ibm.portal.debug.exit(_327,url);return url;},open:function(_32d,uri){var _32e=this.declaredClass+".open";ibm.portal.debug.entry(_32e,[_32d,uri]);this.open(_32d,uri,false);ibm.portal.debug.exit(_32e);},open:function(_32f,uri,_330){var _331=this.declaredClass+".open";ibm.portal.debug.entry(_331,[_32f,uri,_330]);var xhr=this._getXHR();var me=this;this._location=uri;if(_330==undefined){_330=false;}this._async=_330;xhr.onreadystatechange=function(){me._onreadystatechangehandler();};xhr.open(_32f,this._flag(uri),_330);xhr.setRequestHeader("X-IBM-XHR","true");ibm.portal.debug.exit(_331);},setRequestHeader:function(_332,_333){var _334=this.declaredClass+".setRequestHeader";ibm.portal.debug.entry(_334,[_332,_333]);this._getXHR().setRequestHeader(_332,_333);ibm.portal.debug.exit(_334);},send:function(data){var _335=this.declaredClass+".send";ibm.portal.debug.entry(_335,[data]);this._getXHR().send(data);if(!this._async){this._onreadystatechangehandler();}ibm.portal.debug.exit(_335);},abort:function(){var _336=this.declaredClass+".abort";ibm.portal.debug.entry(_336);this._getXHR().abort();ibm.portal.debug.exit(_336);},getAllResponseHeaders:function(){return this._getXHR().getAllResponseHeaders();},getResponseHeader:function(_337){return this._getXHR().getResponseHeader(_337);}});dojo.declare("ibm.portal.portlet.UserProfile",null,{constructor:function(_338,_339,data,_33a){this.windowID=_339;this.xmlData=data;this.ns={"xsl":"http://www.w3.org/1999/XSL/Transform","atom":"http://www.w3.org/2005/Atom","xhtml":"http://www.w3.org/1999/xhtml","xsi":"http://www.w3.org/2001/XMLSchema-instance","um":"http://www.ibm.com/xmlns/prod/websphere/um.xsd"};this.isEnablerAvailable=_338;if(this.isEnablerAvailable){var _33b="ibm.portal.portlet.UserProfile";this.logger=new ibm.portal.portlet.Logger(_33b);var _33c="constructor()";this.logger.logEntry(_33c);this.logger.log(_33c,"windowid: ${0}",_339);this.logger.log(_33c,"data: ${0}",data);this.logger.log(_33c,"userModel: ${0}",_33a);this.userModel=_33a;this.logger.logExit(_33c);}else{this.userModel=null;}},getAttribute:function(name){if(this.isEnablerAvailable){var _33d="getAttribute()";this.logger.logEntry(_33d);this.logger.log(_33d,"name: ${0}",name);var user=this.userModel.findCurrentUser().start();var _33e=user.getAttribute(name);this.logger.logExit(_33d,_33e);return _33e;}else{var expr="/atom:entry/atom:content/um:profile[@type='user']/um:attribute[@name='"+name+"']/um:attributeValue";var _33f=ibm.portal.xml.xpath.evaluateXPath(expr,this.xmlData,this.ns);var _33e=null;if(_33f&&_33f.length>0){if(_33f[0].textContent){_33e=_33f[0].textContent;}else{_33e=_33f[0].text;}}return _33e;}},setAttribute:function(name,_340){if(this.isEnablerAvailable){var _341="setAttribute()";this.logger.logEntry(_341);this.logger.log(_341,"name: ${0}",name);this.logger.log(_341,"value: ${0}",_340);var user=this.userModel.findCurrentUser().start();var _342=user.setAttribute(name,_340);this.logger.logExit(_341,_342);return _342;}else{var expr="/atom:entry/atom:content/um:profile[@type='user']/um:attribute[@name='"+name+"']/um:attributeValue";var _343=ibm.portal.xml.xpath.evaluateXPath(expr,this.xmlData,this.ns);var _342=null;if(_343&&_343.length>0){if(_343[0].textContent){_342=_343[0].textContent;_343[0].textContent=_340;}else{_342=_343[0].text;_343[0].text=_340;}}else{var _344="/atom:entry/atom:content/um:profile[@type='user']/um:attribute[@name='"+name+"']";var _345=ibm.portal.xml.xpath.evaluateXPath(_344,this.xmlData,this.ns);var _346=null;if(_345&&_345.length>0){_346=_345[0];}else{var _347="/atom:entry/atom:content/um:profile[@type='user']";var _348=ibm.portal.xml.xpath.evaluateXPath(_347,this.xmlData,this.ns);if(dojo.isIE||window.ActiveXObject!==undefined){_346=this.xmlData.createNode(1,"um:attribute",this.ns.um);}else{_346=this.xmlData.createElementNS(this.ns.um,"um:attribute");}_346.setAttribute("type","xs:string");_346.setAttribute("multiValued","false");_346.setAttribute("name",name);_348[0].appendChild(_346);}var _349;if(dojo.isIE||window.ActiveXObject!==undefined){_349=this.xmlData.createNode(1,"um:attributeValue",this.ns.um);_349.text=_340;}else{_349=this.xmlData.createElementNS(this.ns.um,"um:attributeValue");_349.textContent=_340;}_346.appendChild(_349);}return _342;}},clone:function(){var _34a=dojox.data.dom.innerXML(this.xmlData);var _34b=com.ibm.portal.xslt.loadXmlString(_34a);return new ibm.portal.portlet.UserProfile(this.isEnablerAvailable,this.windowID,_34b,this.userModel);}});dojo.declare("ibm.portal.portlet.Error",null,{INFO:0,WARN:1,ERROR:2,constructor:function(_34c,_34d,_34e){this.errorCode=_34c;this.message=_34d;this.description=_34e;},getErrorCode:function(){return this.errorCode;},getMessage:function(){return this.message;},getDescription:function(){return this.description;}});dojo.declare("ibm.portal.portlet.Logger",null,{constructor:function(_34f){this.className=_34f;this.LOGGER=com.ibm.mashups.enabler.logging.Logger.getLogger(_34f);this.LOG_LEVEL=com.ibm.mashups.enabler.logging.LogLevel.TRACE;},logEntry:function(name,args){var _350=this.LOGGER.isLoggable(this.LOG_LEVEL);if(_350){this.LOGGER.entering(name,args);}},log:function(name,msg,args){var _351=this.LOGGER.isLoggable(this.LOG_LEVEL);if(_351){this.LOGGER.log(this.LOG_LEVEL,name,msg,args);}},logLevel:function(_352,name,msg,args){var _353=this.LOGGER.isLoggable(_352);if(_353){this.LOGGER.log(_352,name,msg,args);}},logExit:function(name,_354){var _355=this.LOGGER.isLoggable(this.LOG_LEVEL);if(_355){this.LOGGER.exiting(name,_354);}}});var com_ibm_portal_portlet_portletwindow=new ibm.portal.portlet.PortletWindow();ibm.portal.portlet.PortletWindow.STATUS_UNDEFINED=com_ibm_portal_portlet_portletwindow.STATUS_UNDEFINED;ibm.portal.portlet.PortletWindow.STATUS_OK=com_ibm_portal_portlet_portletwindow.STATUS_OK;ibm.portal.portlet.PortletWindow.STATUS_ERROR=com_ibm_portal_portlet_portletwindow.STATUS_ERROR;com_ibm_portal_portlet_portletwindow=null;var com_ibm_portal_portlet_portletmode=new ibm.portal.portlet.PortletMode();ibm.portal.portlet.PortletMode.VIEW=com_ibm_portal_portlet_portletmode.VIEW;ibm.portal.portlet.PortletMode.EDIT=com_ibm_portal_portlet_portletmode.EDIT;ibm.portal.portlet.PortletMode.EDIT_DEFAULTS=com_ibm_portal_portlet_portletmode.EDIT_DEFAULTS;ibm.portal.portlet.PortletMode.HELP=com_ibm_portal_portlet_portletmode.HELP;ibm.portal.portlet.PortletMode.CONFIG=com_ibm_portal_portlet_portletmode.CONFIG;com_ibm_portal_portlet_portletmode=null;var com_ibm_portal_portlet_windowstate=new ibm.portal.portlet.WindowState();ibm.portal.portlet.WindowState.NORMAL=com_ibm_portal_portlet_windowstate.NORMAL;ibm.portal.portlet.WindowState.MINIMIZED=com_ibm_portal_portlet_windowstate.MINIMIZED;ibm.portal.portlet.WindowState.MAXIMIZED=com_ibm_portal_portlet_windowstate.MAXIMIZED;com_ibm_portal_portlet_windowstate=null;var com_ibm_portal_portlet_error=new ibm.portal.portlet.Error();ibm.portal.portlet.Error.INFO=com_ibm_portal_portlet_error.INFO;ibm.portal.portlet.Error.WARN=com_ibm_portal_portlet_error.WARN;ibm.portal.portlet.Error.ERROR=com_ibm_portal_portlet_error.ERROR;com_ibm_portal_portlet_error=null;}if(!dojo._hasResource["com.ibm.wcm.layer.base"]){dojo._hasResource["com.ibm.wcm.layer.base"]=true;dojo.provide("com.ibm.wcm.layer.base");}

}catch(e){console.log("Module 'wp_portlet_client_model': ",e);}
try{/*
	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
*/

//>>built
require({cache:{"dojox/collections":function(){define("dojox/collections",["./collections/_base"],function(_1){return _1;});},"dojox/collections/Queue":function(){define("dojox/collections/Queue",["dojo/_base/kernel","dojo/_base/array","./_base"],function(_2,_3,_4){_4.Queue=function(_5){var q=[];if(_5){q=q.concat(_5);}this.count=q.length;this.clear=function(){q=[];this.count=q.length;};this.clone=function(){return new _4.Queue(q);};this.contains=function(o){for(var i=0;i<q.length;i++){if(q[i]==o){return true;}}return false;};this.copyTo=function(_6,i){_6.splice(i,0,q);};this.dequeue=function(){var r=q.shift();this.count=q.length;return r;};this.enqueue=function(o){this.count=q.push(o);};this.forEach=function(fn,_7){_2.forEach(q,fn,_7);};this.getIterator=function(){return new _4.Iterator(q);};this.peek=function(){return q[0];};this.toArray=function(){return [].concat(q);};};return _4.Queue;});},"dojox/collections/Set":function(){define("dojox/collections/Set",["./_base","./ArrayList"],function(_8,_9){_8.Set=new (function(){function _a(_b){if(_b.constructor==Array){return new _9(_b);}return _b;};this.union=function(_c,_d){_c=_a(_c);_d=_a(_d);var _e=new _9(_c.toArray());var e=_d.getIterator();while(!e.atEnd()){var _f=e.get();if(!_e.contains(_f)){_e.add(_f);}}return _e;};this.intersection=function(_10,_11){_10=_a(_10);_11=_a(_11);var _12=new _9();var e=_11.getIterator();while(!e.atEnd()){var _13=e.get();if(_10.contains(_13)){_12.add(_13);}}return _12;};this.difference=function(_14,_15){_14=_a(_14);_15=_a(_15);var _16=new _9();var e=_14.getIterator();while(!e.atEnd()){var _17=e.get();if(!_15.contains(_17)){_16.add(_17);}}return _16;};this.isSubSet=function(_18,_19){_18=_a(_18);_19=_a(_19);var e=_18.getIterator();while(!e.atEnd()){if(!_19.contains(e.get())){return false;}}return true;};this.isSuperSet=function(_1a,_1b){_1a=_a(_1a);_1b=_a(_1b);var e=_1b.getIterator();while(!e.atEnd()){if(!_1a.contains(e.get())){return false;}}return true;};})();return _8.Set;});},"dojox/collections/SortedList":function(){define("dojox/collections/SortedList",["dojo/_base/kernel","dojo/_base/array","./_base"],function(_1c,_1d,dxc){dxc.SortedList=function(_1e){var _1f=this;var _20={};var q=[];var _21=function(a,b){if(a.key>b.key){return 1;}if(a.key<b.key){return -1;}return 0;};var _22=function(){q=[];var e=_1f.getIterator();while(!e.atEnd()){q.push(e.get());}q.sort(_21);};var _23={};this.count=q.length;this.add=function(k,v){if(!_20[k]){_20[k]=new dxc.DictionaryEntry(k,v);this.count=q.push(_20[k]);q.sort(_21);}};this.clear=function(){_20={};q=[];this.count=q.length;};this.clone=function(){return new dxc.SortedList(this);};this.contains=this.containsKey=function(k){if(_23[k]){return false;}return (_20[k]!=null);};this.containsValue=function(o){var e=this.getIterator();while(!e.atEnd()){var _24=e.get();if(_24.value==o){return true;}}return false;};this.copyTo=function(arr,i){var e=this.getIterator();var idx=i;while(!e.atEnd()){arr.splice(idx,0,e.get());idx++;}};this.entry=function(k){return _20[k];};this.forEach=function(fn,_25){_1c.forEach(q,fn,_25);};this.getByIndex=function(i){return q[i].valueOf();};this.getIterator=function(){return new dxc.DictionaryIterator(_20);};this.getKey=function(i){return q[i].key;};this.getKeyList=function(){var arr=[];var e=this.getIterator();while(!e.atEnd()){arr.push(e.get().key);}return arr;};this.getValueList=function(){var arr=[];var e=this.getIterator();while(!e.atEnd()){arr.push(e.get().value);}return arr;};this.indexOfKey=function(k){for(var i=0;i<q.length;i++){if(q[i].key==k){return i;}}return -1;};this.indexOfValue=function(o){for(var i=0;i<q.length;i++){if(q[i].value==o){return i;}}return -1;};this.item=function(k){if(k in _20&&!_23[k]){return _20[k].valueOf();}return undefined;};this.remove=function(k){delete _20[k];_22();this.count=q.length;};this.removeAt=function(i){delete _20[q[i].key];_22();this.count=q.length;};this.replace=function(k,v){if(!_20[k]){this.add(k,v);return false;}else{_20[k]=new dxc.DictionaryEntry(k,v);_22();return true;}};this.setByIndex=function(i,o){_20[q[i].key].value=o;_22();this.count=q.length;};if(_1e){var e=_1e.getIterator();while(!e.atEnd()){var _26=e.get();q[q.length]=_20[_26.key]=new dxc.DictionaryEntry(_26.key,_26.value);}q.sort(_21);}};return dxc.SortedList;});},"dojox/collections/ArrayList":function(){define("dojox/collections/ArrayList",["dojo/_base/kernel","dojo/_base/array","./_base"],function(_27,_28,dxc){dxc.ArrayList=function(arr){var _29=[];if(arr){_29=_29.concat(arr);}this.count=_29.length;this.add=function(obj){_29.push(obj);this.count=_29.length;};this.addRange=function(a){if(a.getIterator){var e=a.getIterator();while(!e.atEnd()){this.add(e.get());}this.count=_29.length;}else{for(var i=0;i<a.length;i++){_29.push(a[i]);}this.count=_29.length;}};this.clear=function(){_29.splice(0,_29.length);this.count=0;};this.clone=function(){return new dxc.ArrayList(_29);};this.contains=function(obj){for(var i=0;i<_29.length;i++){if(_29[i]==obj){return true;}}return false;};this.forEach=function(fn,_2a){_27.forEach(_29,fn,_2a);};this.getIterator=function(){return new dxc.Iterator(_29);};this.indexOf=function(obj){for(var i=0;i<_29.length;i++){if(_29[i]==obj){return i;}}return -1;};this.insert=function(i,obj){_29.splice(i,0,obj);this.count=_29.length;};this.item=function(i){return _29[i];};this.remove=function(obj){var i=this.indexOf(obj);if(i>=0){_29.splice(i,1);}this.count=_29.length;};this.removeAt=function(i){_29.splice(i,1);this.count=_29.length;};this.reverse=function(){_29.reverse();};this.sort=function(fn){if(fn){_29.sort(fn);}else{_29.sort();}};this.setByIndex=function(i,obj){_29[i]=obj;this.count=_29.length;};this.toArray=function(){return [].concat(_29);};this.toString=function(_2b){return _29.join((_2b||","));};};return dxc.ArrayList;});},"dojox/collections/_base":function(){define("dojox/collections/_base",["dojo/_base/kernel","dojo/_base/lang","dojo/_base/array"],function(_2c,_2d,arr){var _2e=_2d.getObject("dojox.collections",true);_2e.DictionaryEntry=function(k,v){this.key=k;this.value=v;this.valueOf=function(){return this.value;};this.toString=function(){return String(this.value);};};_2e.Iterator=function(a){var _2f=0;this.element=a[_2f]||null;this.atEnd=function(){return (_2f>=a.length);};this.get=function(){if(this.atEnd()){return null;}this.element=a[_2f++];return this.element;};this.map=function(fn,_30){return arr.map(a,fn,_30);};this.reset=function(){_2f=0;this.element=a[_2f];};};_2e.DictionaryIterator=function(obj){var a=[];var _31={};for(var p in obj){if(!_31[p]){a.push(obj[p]);}}var _32=0;this.element=a[_32]||null;this.atEnd=function(){return (_32>=a.length);};this.get=function(){if(this.atEnd()){return null;}this.element=a[_32++];return this.element;};this.map=function(fn,_33){return arr.map(a,fn,_33);};this.reset=function(){_32=0;this.element=a[_32];};};return _2e;});},"dojox/collections/Dictionary":function(){define("dojox/collections/Dictionary",["dojo/_base/kernel","dojo/_base/array","./_base"],function(_34,_35,dxc){dxc.Dictionary=function(_36){var _37={};this.count=0;var _38={};this.add=function(k,v){var b=(k in _37);_37[k]=new dxc.DictionaryEntry(k,v);if(!b){this.count++;}};this.clear=function(){_37={};this.count=0;};this.clone=function(){return new dxc.Dictionary(this);};this.contains=this.containsKey=function(k){if(_38[k]){return false;}return (_37[k]!=null);};this.containsValue=function(v){var e=this.getIterator();while(e.get()){if(e.element.value==v){return true;}}return false;};this.entry=function(k){return _37[k];};this.forEach=function(fn,_39){var a=[];for(var p in _37){if(!_38[p]){a.push(_37[p]);}}_34.forEach(a,fn,_39);};this.getKeyList=function(){return (this.getIterator()).map(function(_3a){return _3a.key;});};this.getValueList=function(){return (this.getIterator()).map(function(_3b){return _3b.value;});};this.item=function(k){if(k in _37){return _37[k].valueOf();}return undefined;};this.getIterator=function(){return new dxc.DictionaryIterator(_37);};this.remove=function(k){if(k in _37&&!_38[k]){delete _37[k];this.count--;return true;}return false;};if(_36){var e=_36.getIterator();while(e.get()){this.add(e.element.key,e.element.value);}}};return dxc.Dictionary;});},"dojox/collections/BinaryTree":function(){define("dojox/collections/BinaryTree",["dojo/_base/kernel","dojo/_base/array","./_base"],function(_3c,_3d,dxc){dxc.BinaryTree=function(_3e){function _3f(_40,_41,_42){this.value=_40||null;this.right=_41||null;this.left=_42||null;this.clone=function(){var c=new _3f();if(this.value.value){c.value=this.value.clone();}else{c.value=this.value;}if(this.left!=null){c.left=this.left.clone();}if(this.right!=null){c.right=this.right.clone();}return c;};this.compare=function(n){if(this.value>n.value){return 1;}if(this.value<n.value){return -1;}return 0;};this.compareData=function(d){if(this.value>d){return 1;}if(this.value<d){return -1;}return 0;};};function _43(_44,a){if(_44){_43(_44.left,a);a.push(_44.value);_43(_44.right,a);}};function _45(_46,sep){var s="";if(_46){s=_46.value.toString()+sep;s+=_45(_46.left,sep);s+=_45(_46.right,sep);}return s;};function _47(_48,sep){var s="";if(_48){s=_47(_48.left,sep);s+=_48.value.toString()+sep;s+=_47(_48.right,sep);}return s;};function _49(_4a,sep){var s="";if(_4a){s=_49(_4a.left,sep);s+=_49(_4a.right,sep);s+=_4a.value.toString()+sep;}return s;};function _4b(_4c,_4d){if(!_4c){return null;}var i=_4c.compareData(_4d);if(i==0){return _4c;}if(i>0){return _4b(_4c.left,_4d);}else{return _4b(_4c.right,_4d);}};this.add=function(_4e){var n=new _3f(_4e);var i;var _4f=_50;var _51=null;while(_4f){i=_4f.compare(n);if(i==0){return;}_51=_4f;if(i>0){_4f=_4f.left;}else{_4f=_4f.right;}}this.count++;if(!_51){_50=n;}else{i=_51.compare(n);if(i>0){_51.left=n;}else{_51.right=n;}}};this.clear=function(){_50=null;this.count=0;};this.clone=function(){var c=new dxc.BinaryTree();var itr=this.getIterator();while(!itr.atEnd()){c.add(itr.get());}return c;};this.contains=function(_52){return this.search(_52)!=null;};this.deleteData=function(_53){var _54=_50;var _55=null;var i=_54.compareData(_53);while(i!=0&&_54!=null){if(i>0){_55=_54;_54=_54.left;}else{if(i<0){_55=_54;_54=_54.right;}}i=_54.compareData(_53);}if(!_54){return;}this.count--;if(!_54.right){if(!_55){_50=_54.left;}else{i=_55.compare(_54);if(i>0){_55.left=_54.left;}else{if(i<0){_55.right=_54.left;}}}}else{if(!_54.right.left){if(!_55){_50=_54.right;}else{i=_55.compare(_54);if(i>0){_55.left=_54.right;}else{if(i<0){_55.right=_54.right;}}}}else{var _56=_54.right.left;var _57=_54.right;while(_56.left!=null){_57=_56;_56=_56.left;}_57.left=_56.right;_56.left=_54.left;_56.right=_54.right;if(!_55){_50=_56;}else{i=_55.compare(_54);if(i>0){_55.left=_56;}else{if(i<0){_55.right=_56;}}}}}};this.getIterator=function(){var a=[];_43(_50,a);return new dxc.Iterator(a);};this.search=function(_58){return _4b(_50,_58);};this.toString=function(_59,sep){if(!_59){_59=dxc.BinaryTree.TraversalMethods.Inorder;}if(!sep){sep=",";}var s="";switch(_59){case dxc.BinaryTree.TraversalMethods.Preorder:s=_45(_50,sep);break;case dxc.BinaryTree.TraversalMethods.Inorder:s=_47(_50,sep);break;case dxc.BinaryTree.TraversalMethods.Postorder:s=_49(_50,sep);break;}if(s.length==0){return "";}else{return s.substring(0,s.length-sep.length);}};this.count=0;var _50=this.root=null;if(_3e){this.add(_3e);}};dxc.BinaryTree.TraversalMethods={Preorder:1,Inorder:2,Postorder:3};return dxc.BinaryTree;});},"dojox/collections/Stack":function(){define("dojox/collections/Stack",["dojo/_base/kernel","dojo/_base/array","./_base"],function(_5a,_5b,dxc){dxc.Stack=function(arr){var q=[];if(arr){q=q.concat(arr);}this.count=q.length;this.clear=function(){q=[];this.count=q.length;};this.clone=function(){return new dxc.Stack(q);};this.contains=function(o){for(var i=0;i<q.length;i++){if(q[i]==o){return true;}}return false;};this.copyTo=function(arr,i){arr.splice(i,0,q);};this.forEach=function(fn,_5c){_5a.forEach(q,fn,_5c);};this.getIterator=function(){return new dxc.Iterator(q);};this.peek=function(){return q[(q.length-1)];};this.pop=function(){var r=q.pop();this.count=q.length;return r;};this.push=function(o){this.count=q.push(o);};this.toArray=function(){return [].concat(q);};};return dxc.Stack;});},"*noref":1}});define("dojox/_dojox_collections",[],1);require(["dojox/collections","dojox/collections/ArrayList","dojox/collections/BinaryTree","dojox/collections/Dictionary","dojox/collections/Queue","dojox/collections/Set","dojox/collections/SortedList","dojox/collections/Stack"]);
}catch(e){console.log("Module 'dojox_collections_17': ",e);}
try{/*
	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
*/

//>>built
require({cache:{"dojox/uuid":function(){define("dojox/uuid",["dojox/uuid/_base"],function(_1){return _1;});},"dojox/uuid/Uuid":function(){define("dojox/uuid/Uuid",["dojo/_base/lang","./_base"],function(_2,_3){dojox.uuid.Uuid=function(_4){this._uuidString=dojox.uuid.NIL_UUID;if(_4){dojox.uuid.assert(_2.isString(_4));this._uuidString=_4.toLowerCase();dojox.uuid.assert(this.isValid());}else{var _5=dojox.uuid.Uuid.getGenerator();if(_5){this._uuidString=_5();dojox.uuid.assert(this.isValid());}}};dojox.uuid.Uuid.compare=function(_6,_7){var _8=_6.toString();var _9=_7.toString();if(_8>_9){return 1;}if(_8<_9){return -1;}return 0;};dojox.uuid.Uuid.setGenerator=function(_a){dojox.uuid.assert(!_a||_2.isFunction(_a));dojox.uuid.Uuid._ourGenerator=_a;};dojox.uuid.Uuid.getGenerator=function(){return dojox.uuid.Uuid._ourGenerator;};dojox.uuid.Uuid.prototype.toString=function(){return this._uuidString;};dojox.uuid.Uuid.prototype.compare=function(_b){return dojox.uuid.Uuid.compare(this,_b);};dojox.uuid.Uuid.prototype.isEqual=function(_c){return (this.compare(_c)==0);};dojox.uuid.Uuid.prototype.isValid=function(){return dojox.uuid.isValid(this);};dojox.uuid.Uuid.prototype.getVariant=function(){return dojox.uuid.getVariant(this);};dojox.uuid.Uuid.prototype.getVersion=function(){if(!this._versionNumber){this._versionNumber=dojox.uuid.getVersion(this);}return this._versionNumber;};dojox.uuid.Uuid.prototype.getNode=function(){if(!this._nodeString){this._nodeString=dojox.uuid.getNode(this);}return this._nodeString;};dojox.uuid.Uuid.prototype.getTimestamp=function(_d){if(!_d){_d=null;}switch(_d){case "string":case String:return this.getTimestamp(Date).toUTCString();break;case "hex":if(!this._timestampAsHexString){this._timestampAsHexString=dojox.uuid.getTimestamp(this,"hex");}return this._timestampAsHexString;break;case null:case "date":case Date:if(!this._timestampAsDate){this._timestampAsDate=dojox.uuid.getTimestamp(this,Date);}return this._timestampAsDate;break;default:dojox.uuid.assert(false,"The getTimestamp() method dojox.uuid.Uuid was passed a bogus returnType: "+_d);break;}};return dojox.uuid.Uuid;});},"dojox/uuid/_base":function(){define("dojox/uuid/_base",["dojo/_base/kernel","dojo/_base/lang"],function(_e){_e.getObject("uuid",true,dojox);dojox.uuid.NIL_UUID="00000000-0000-0000-0000-000000000000";dojox.uuid.version={UNKNOWN:0,TIME_BASED:1,DCE_SECURITY:2,NAME_BASED_MD5:3,RANDOM:4,NAME_BASED_SHA1:5};dojox.uuid.variant={NCS:"0",DCE:"10",MICROSOFT:"110",UNKNOWN:"111"};dojox.uuid.assert=function(_f,_10){if(!_f){if(!_10){_10="An assert statement failed.\n"+"The method dojox.uuid.assert() was called with a 'false' value.\n";}throw new Error(_10);}};dojox.uuid.generateNilUuid=function(){return dojox.uuid.NIL_UUID;};dojox.uuid.isValid=function(_11){_11=_11.toString();var _12=(_e.isString(_11)&&(_11.length==36)&&(_11==_11.toLowerCase()));if(_12){var _13=_11.split("-");_12=((_13.length==5)&&(_13[0].length==8)&&(_13[1].length==4)&&(_13[2].length==4)&&(_13[3].length==4)&&(_13[4].length==12));var _14=16;for(var i in _13){var _15=_13[i];var _16=parseInt(_15,_14);_12=_12&&isFinite(_16);}}return _12;};dojox.uuid.getVariant=function(_17){if(!dojox.uuid._ourVariantLookupTable){var _18=dojox.uuid.variant;var _19=[];_19[0]=_18.NCS;_19[1]=_18.NCS;_19[2]=_18.NCS;_19[3]=_18.NCS;_19[4]=_18.NCS;_19[5]=_18.NCS;_19[6]=_18.NCS;_19[7]=_18.NCS;_19[8]=_18.DCE;_19[9]=_18.DCE;_19[10]=_18.DCE;_19[11]=_18.DCE;_19[12]=_18.MICROSOFT;_19[13]=_18.MICROSOFT;_19[14]=_18.UNKNOWN;_19[15]=_18.UNKNOWN;dojox.uuid._ourVariantLookupTable=_19;}_17=_17.toString();var _1a=_17.charAt(19);var _1b=16;var _1c=parseInt(_1a,_1b);dojox.uuid.assert((_1c>=0)&&(_1c<=16));return dojox.uuid._ourVariantLookupTable[_1c];};dojox.uuid.getVersion=function(_1d){var _1e="dojox.uuid.getVersion() was not passed a DCE Variant UUID.";dojox.uuid.assert(dojox.uuid.getVariant(_1d)==dojox.uuid.variant.DCE,_1e);_1d=_1d.toString();var _1f=_1d.charAt(14);var _20=16;var _21=parseInt(_1f,_20);return _21;};dojox.uuid.getNode=function(_22){var _23="dojox.uuid.getNode() was not passed a TIME_BASED UUID.";dojox.uuid.assert(dojox.uuid.getVersion(_22)==dojox.uuid.version.TIME_BASED,_23);_22=_22.toString();var _24=_22.split("-");var _25=_24[4];return _25;};dojox.uuid.getTimestamp=function(_26,_27){var _28="dojox.uuid.getTimestamp() was not passed a TIME_BASED UUID.";dojox.uuid.assert(dojox.uuid.getVersion(_26)==dojox.uuid.version.TIME_BASED,_28);_26=_26.toString();if(!_27){_27=null;}switch(_27){case "string":case String:return dojox.uuid.getTimestamp(_26,Date).toUTCString();break;case "hex":var _29=_26.split("-");var _2a=_29[0];var _2b=_29[1];var _2c=_29[2];_2c=_2c.slice(1);var _2d=_2c+_2b+_2a;dojox.uuid.assert(_2d.length==15);return _2d;break;case null:case "date":case Date:var _2e=3394248;var _2f=16;var _30=_26.split("-");var _31=parseInt(_30[0],_2f);var _32=parseInt(_30[1],_2f);var _33=parseInt(_30[2],_2f);var _34=_33&4095;_34<<=16;_34+=_32;_34*=4294967296;_34+=_31;var _35=_34/10000;var _36=60*60;var _37=_2e;var _38=_37*_36;var _39=_38*1000;var _3a=_35-_39;var _3b=new Date(_3a);return _3b;break;default:dojox.uuid.assert(false,"dojox.uuid.getTimestamp was not passed a valid returnType: "+_27);break;}};return dojox.uuid;});},"dojox/uuid/generateTimeBasedUuid":function(){define("dojox/uuid/generateTimeBasedUuid",["dojo/_base/lang","./_base"],function(_3c){dojox.uuid.generateTimeBasedUuid=function(_3d){var _3e=dojox.uuid.generateTimeBasedUuid._generator.generateUuidString(_3d);return _3e;};dojox.uuid.generateTimeBasedUuid.isValidNode=function(_3f){var _40=16;var _41=parseInt(_3f,_40);var _42=_3c.isString(_3f)&&_3f.length==12&&isFinite(_41);return _42;};dojox.uuid.generateTimeBasedUuid.setNode=function(_43){dojox.uuid.assert((_43===null)||this.isValidNode(_43));this._uniformNode=_43;};dojox.uuid.generateTimeBasedUuid.getNode=function(){return this._uniformNode;};dojox.uuid.generateTimeBasedUuid._generator=new function(){this.GREGORIAN_CHANGE_OFFSET_IN_HOURS=3394248;var _44=null;var _45=null;var _46=null;var _47=0;var _48=null;var _49=null;var _4a=16;function _4b(_4c){_4c[2]+=_4c[3]>>>16;_4c[3]&=65535;_4c[1]+=_4c[2]>>>16;_4c[2]&=65535;_4c[0]+=_4c[1]>>>16;_4c[1]&=65535;dojox.uuid.assert((_4c[0]>>>16)===0);};function _4d(x){var _4e=new Array(0,0,0,0);_4e[3]=x%65536;x-=_4e[3];x/=65536;_4e[2]=x%65536;x-=_4e[2];x/=65536;_4e[1]=x%65536;x-=_4e[1];x/=65536;_4e[0]=x;return _4e;};function _4f(_50,_51){dojox.uuid.assert(_3c.isArray(_50));dojox.uuid.assert(_3c.isArray(_51));dojox.uuid.assert(_50.length==4);dojox.uuid.assert(_51.length==4);var _52=new Array(0,0,0,0);_52[3]=_50[3]+_51[3];_52[2]=_50[2]+_51[2];_52[1]=_50[1]+_51[1];_52[0]=_50[0]+_51[0];_4b(_52);return _52;};function _53(_54,_55){dojox.uuid.assert(_3c.isArray(_54));dojox.uuid.assert(_3c.isArray(_55));dojox.uuid.assert(_54.length==4);dojox.uuid.assert(_55.length==4);var _56=false;if(_54[0]*_55[0]!==0){_56=true;}if(_54[0]*_55[1]!==0){_56=true;}if(_54[0]*_55[2]!==0){_56=true;}if(_54[1]*_55[0]!==0){_56=true;}if(_54[1]*_55[1]!==0){_56=true;}if(_54[2]*_55[0]!==0){_56=true;}dojox.uuid.assert(!_56);var _57=new Array(0,0,0,0);_57[0]+=_54[0]*_55[3];_4b(_57);_57[0]+=_54[1]*_55[2];_4b(_57);_57[0]+=_54[2]*_55[1];_4b(_57);_57[0]+=_54[3]*_55[0];_4b(_57);_57[1]+=_54[1]*_55[3];_4b(_57);_57[1]+=_54[2]*_55[2];_4b(_57);_57[1]+=_54[3]*_55[1];_4b(_57);_57[2]+=_54[2]*_55[3];_4b(_57);_57[2]+=_54[3]*_55[2];_4b(_57);_57[3]+=_54[3]*_55[3];_4b(_57);return _57;};function _58(_59,_5a){while(_59.length<_5a){_59="0"+_59;}return _59;};function _5b(){var _5c=Math.floor((Math.random()%1)*Math.pow(2,32));var _5d=_5c.toString(_4a);while(_5d.length<8){_5d="0"+_5d;}return _5d;};this.generateUuidString=function(_5e){if(_5e){dojox.uuid.assert(dojox.uuid.generateTimeBasedUuid.isValidNode(_5e));}else{if(dojox.uuid.generateTimeBasedUuid._uniformNode){_5e=dojox.uuid.generateTimeBasedUuid._uniformNode;}else{if(!_44){var _5f=32768;var _60=Math.floor((Math.random()%1)*Math.pow(2,15));var _61=(_5f|_60).toString(_4a);_44=_61+_5b();}_5e=_44;}}if(!_45){var _62=32768;var _63=Math.floor((Math.random()%1)*Math.pow(2,14));_45=(_62|_63).toString(_4a);}var now=new Date();var _64=now.valueOf();var _65=_4d(_64);if(!_48){var _66=_4d(60*60);var _67=_4d(dojox.uuid.generateTimeBasedUuid._generator.GREGORIAN_CHANGE_OFFSET_IN_HOURS);var _68=_53(_67,_66);var _69=_4d(1000);_48=_53(_68,_69);_49=_4d(10000);}var _6a=_65;var _6b=_4f(_48,_6a);var _6c=_53(_6b,_49);if(now.valueOf()==_46){_6c[3]+=_47;_4b(_6c);_47+=1;if(_47==10000){while(now.valueOf()==_46){now=new Date();}}}else{_46=now.valueOf();_47=1;}var _6d=_6c[2].toString(_4a);var _6e=_6c[3].toString(_4a);var _6f=_58(_6d,4)+_58(_6e,4);var _70=_6c[1].toString(_4a);_70=_58(_70,4);var _71=_6c[0].toString(_4a);_71=_58(_71,3);var _72="-";var _73="1";var _74=_6f+_72+_70+_72+_73+_71+_72+_45+_72+_5e;_74=_74.toLowerCase();return _74;};}();return dojox.uuid.generateTimeBasedUuid;});},"dojox/uuid/generateRandomUuid":function(){define("dojox/uuid/generateRandomUuid",["./_base"],function(){dojox.uuid.generateRandomUuid=function(){var _75=16;function _76(){var _77=Math.floor((Math.random()%1)*Math.pow(2,32));var _78=_77.toString(_75);while(_78.length<8){_78="0"+_78;}return _78;};var _79="-";var _7a="4";var _7b="8";var a=_76();var b=_76();b=b.substring(0,4)+_79+_7a+b.substring(5,8);var c=_76();c=_7b+c.substring(1,4)+_79+c.substring(4,8);var d=_76();var _7c=a+_79+b+_79+c+d;_7c=_7c.toLowerCase();return _7c;};return dojox.uuid.generateRandomUuid;});},"*noref":1}});define("dojox/_dojox_uuid",[],1);require(["dojox/uuid","dojox/uuid/Uuid","dojox/uuid/generateRandomUuid","dojox/uuid/generateTimeBasedUuid"]);
}catch(e){console.log("Module 'dojox_uuid_17': ",e);}
try{/*
	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
*/

//>>built
require({cache:{"dojo/data/util/simpleFetch":function(){define("dojo/data/util/simpleFetch",["../../_base/lang","../../_base/window","./sorter"],function(_1,_2,_3){var _4=_1.getObject("dojo.data.util.simpleFetch",true);_4.fetch=function(_5){_5=_5||{};if(!_5.store){_5.store=this;}var _6=this;var _7=function(_8,_9){if(_9.onError){var _a=_9.scope||_2.global;_9.onError.call(_a,_8,_9);}};var _b=function(_c,_d){var _e=_d.abort||null;var _f=false;var _10=_d.start?_d.start:0;var _11=(_d.count&&(_d.count!==Infinity))?(_10+_d.count):_c.length;_d.abort=function(){_f=true;if(_e){_e.call(_d);}};var _12=_d.scope||_2.global;if(!_d.store){_d.store=_6;}if(_d.onBegin){_d.onBegin.call(_12,_c.length,_d);}if(_d.sort){_c.sort(_3.createSortFunction(_d.sort,_6));}if(_d.onItem){for(var i=_10;(i<_c.length)&&(i<_11);++i){var _13=_c[i];if(!_f){_d.onItem.call(_12,_13,_d);}}}if(_d.onComplete&&!_f){var _14=null;if(!_d.onItem){_14=_c.slice(_10,_11);}_d.onComplete.call(_12,_14,_d);}};this._fetchItems(_5,_b,_7);return _5;};return _4;});},"dojo/data/ItemFileWriteStore":function(){define("dojo/data/ItemFileWriteStore",["../_base/lang","../_base/declare","../_base/array","../_base/json","../_base/window","./ItemFileReadStore","../date/stamp"],function(_15,_16,_17,_18,_19,_1a,_1b){return _16("dojo.data.ItemFileWriteStore",_1a,{constructor:function(_1c){this._features["dojo.data.api.Write"]=true;this._features["dojo.data.api.Notification"]=true;this._pending={_newItems:{},_modifiedItems:{},_deletedItems:{}};if(!this._datatypeMap["Date"].serialize){this._datatypeMap["Date"].serialize=function(obj){return _1b.toISOString(obj,{zulu:true});};}if(_1c&&(_1c.referenceIntegrity===false)){this.referenceIntegrity=false;}this._saveInProgress=false;},referenceIntegrity:true,_assert:function(_1d){if(!_1d){throw new Error("assertion failed in ItemFileWriteStore");}},_getIdentifierAttribute:function(){return this.getFeatures()["dojo.data.api.Identity"];},newItem:function(_1e,_1f){this._assert(!this._saveInProgress);if(!this._loadFinished){this._forceLoad();}if(typeof _1e!="object"&&typeof _1e!="undefined"){throw new Error("newItem() was passed something other than an object");}var _20=null;var _21=this._getIdentifierAttribute();if(_21===Number){_20=this._arrayOfAllItems.length;}else{_20=_1e[_21];if(typeof _20==="undefined"){throw new Error("newItem() was not passed an identity for the new item");}if(_15.isArray(_20)){throw new Error("newItem() was not passed an single-valued identity");}}if(this._itemsByIdentity){this._assert(typeof this._itemsByIdentity[_20]==="undefined");}this._assert(typeof this._pending._newItems[_20]==="undefined");this._assert(typeof this._pending._deletedItems[_20]==="undefined");var _22={};_22[this._storeRefPropName]=this;_22[this._itemNumPropName]=this._arrayOfAllItems.length;if(this._itemsByIdentity){this._itemsByIdentity[_20]=_22;_22[_21]=[_20];}this._arrayOfAllItems.push(_22);var _23=null;if(_1f&&_1f.parent&&_1f.attribute){_23={item:_1f.parent,attribute:_1f.attribute,oldValue:undefined};var _24=this.getValues(_1f.parent,_1f.attribute);if(_24&&_24.length>0){var _25=_24.slice(0,_24.length);if(_24.length===1){_23.oldValue=_24[0];}else{_23.oldValue=_24.slice(0,_24.length);}_25.push(_22);this._setValueOrValues(_1f.parent,_1f.attribute,_25,false);_23.newValue=this.getValues(_1f.parent,_1f.attribute);}else{this._setValueOrValues(_1f.parent,_1f.attribute,_22,false);_23.newValue=_22;}}else{_22[this._rootItemPropName]=true;this._arrayOfTopLevelItems.push(_22);}this._pending._newItems[_20]=_22;for(var key in _1e){if(key===this._storeRefPropName||key===this._itemNumPropName){throw new Error("encountered bug in ItemFileWriteStore.newItem");}var _26=_1e[key];if(!_15.isArray(_26)){_26=[_26];}_22[key]=_26;if(this.referenceIntegrity){for(var i=0;i<_26.length;i++){var val=_26[i];if(this.isItem(val)){this._addReferenceToMap(val,_22,key);}}}}this.onNew(_22,_23);return _22;},_removeArrayElement:function(_27,_28){var _29=_17.indexOf(_27,_28);if(_29!=-1){_27.splice(_29,1);return true;}return false;},deleteItem:function(_2a){this._assert(!this._saveInProgress);this._assertIsItem(_2a);var _2b=_2a[this._itemNumPropName];var _2c=this.getIdentity(_2a);if(this.referenceIntegrity){var _2d=this.getAttributes(_2a);if(_2a[this._reverseRefMap]){_2a["backup_"+this._reverseRefMap]=_15.clone(_2a[this._reverseRefMap]);}_17.forEach(_2d,function(_2e){_17.forEach(this.getValues(_2a,_2e),function(_2f){if(this.isItem(_2f)){if(!_2a["backupRefs_"+this._reverseRefMap]){_2a["backupRefs_"+this._reverseRefMap]=[];}_2a["backupRefs_"+this._reverseRefMap].push({id:this.getIdentity(_2f),attr:_2e});this._removeReferenceFromMap(_2f,_2a,_2e);}},this);},this);var _30=_2a[this._reverseRefMap];if(_30){for(var _31 in _30){var _32=null;if(this._itemsByIdentity){_32=this._itemsByIdentity[_31];}else{_32=this._arrayOfAllItems[_31];}if(_32){for(var _33 in _30[_31]){var _34=this.getValues(_32,_33)||[];var _35=_17.filter(_34,function(_36){return !(this.isItem(_36)&&this.getIdentity(_36)==_2c);},this);this._removeReferenceFromMap(_2a,_32,_33);if(_35.length<_34.length){this._setValueOrValues(_32,_33,_35,true);}}}}}}this._arrayOfAllItems[_2b]=null;_2a[this._storeRefPropName]=null;if(this._itemsByIdentity){delete this._itemsByIdentity[_2c];}this._pending._deletedItems[_2c]=_2a;if(_2a[this._rootItemPropName]){this._removeArrayElement(this._arrayOfTopLevelItems,_2a);}this.onDelete(_2a);return true;},setValue:function(_37,_38,_39){return this._setValueOrValues(_37,_38,_39,true);},setValues:function(_3a,_3b,_3c){return this._setValueOrValues(_3a,_3b,_3c,true);},unsetAttribute:function(_3d,_3e){return this._setValueOrValues(_3d,_3e,[],true);},_setValueOrValues:function(_3f,_40,_41,_42){this._assert(!this._saveInProgress);this._assertIsItem(_3f);this._assert(_15.isString(_40));this._assert(typeof _41!=="undefined");var _43=this._getIdentifierAttribute();if(_40==_43){throw new Error("ItemFileWriteStore does not have support for changing the value of an item's identifier.");}var _44=this._getValueOrValues(_3f,_40);var _45=this.getIdentity(_3f);if(!this._pending._modifiedItems[_45]){var _46={};for(var key in _3f){if((key===this._storeRefPropName)||(key===this._itemNumPropName)||(key===this._rootItemPropName)){_46[key]=_3f[key];}else{if(key===this._reverseRefMap){_46[key]=_15.clone(_3f[key]);}else{_46[key]=_3f[key].slice(0,_3f[key].length);}}}this._pending._modifiedItems[_45]=_46;}var _47=false;if(_15.isArray(_41)&&_41.length===0){_47=delete _3f[_40];_41=undefined;if(this.referenceIntegrity&&_44){var _48=_44;if(!_15.isArray(_48)){_48=[_48];}for(var i=0;i<_48.length;i++){var _49=_48[i];if(this.isItem(_49)){this._removeReferenceFromMap(_49,_3f,_40);}}}}else{var _4a;if(_15.isArray(_41)){_4a=_41.slice(0,_41.length);}else{_4a=[_41];}if(this.referenceIntegrity){if(_44){var _48=_44;if(!_15.isArray(_48)){_48=[_48];}var map={};_17.forEach(_48,function(_4b){if(this.isItem(_4b)){var id=this.getIdentity(_4b);map[id.toString()]=true;}},this);_17.forEach(_4a,function(_4c){if(this.isItem(_4c)){var id=this.getIdentity(_4c);if(map[id.toString()]){delete map[id.toString()];}else{this._addReferenceToMap(_4c,_3f,_40);}}},this);for(var rId in map){var _4d;if(this._itemsByIdentity){_4d=this._itemsByIdentity[rId];}else{_4d=this._arrayOfAllItems[rId];}this._removeReferenceFromMap(_4d,_3f,_40);}}else{for(var i=0;i<_4a.length;i++){var _49=_4a[i];if(this.isItem(_49)){this._addReferenceToMap(_49,_3f,_40);}}}}_3f[_40]=_4a;_47=true;}if(_42){this.onSet(_3f,_40,_44,_41);}return _47;},_addReferenceToMap:function(_4e,_4f,_50){var _51=this.getIdentity(_4f);var _52=_4e[this._reverseRefMap];if(!_52){_52=_4e[this._reverseRefMap]={};}var _53=_52[_51];if(!_53){_53=_52[_51]={};}_53[_50]=true;},_removeReferenceFromMap:function(_54,_55,_56){var _57=this.getIdentity(_55);var _58=_54[this._reverseRefMap];var _59;if(_58){for(_59 in _58){if(_59==_57){delete _58[_59][_56];if(this._isEmpty(_58[_59])){delete _58[_59];}}}if(this._isEmpty(_58)){delete _54[this._reverseRefMap];}}},_dumpReferenceMap:function(){var i;for(i=0;i<this._arrayOfAllItems.length;i++){var _5a=this._arrayOfAllItems[i];if(_5a&&_5a[this._reverseRefMap]){}}},_getValueOrValues:function(_5b,_5c){var _5d=undefined;if(this.hasAttribute(_5b,_5c)){var _5e=this.getValues(_5b,_5c);if(_5e.length==1){_5d=_5e[0];}else{_5d=_5e;}}return _5d;},_flatten:function(_5f){if(this.isItem(_5f)){return {_reference:this.getIdentity(_5f)};}else{if(typeof _5f==="object"){for(var _60 in this._datatypeMap){var _61=this._datatypeMap[_60];if(_15.isObject(_61)&&!_15.isFunction(_61)){if(_5f instanceof _61.type){if(!_61.serialize){throw new Error("ItemFileWriteStore:  No serializer defined for type mapping: ["+_60+"]");}return {_type:_60,_value:_61.serialize(_5f)};}}else{if(_5f instanceof _61){return {_type:_60,_value:_5f.toString()};}}}}return _5f;}},_getNewFileContentString:function(){var _62={};var _63=this._getIdentifierAttribute();if(_63!==Number){_62.identifier=_63;}if(this._labelAttr){_62.label=this._labelAttr;}_62.items=[];for(var i=0;i<this._arrayOfAllItems.length;++i){var _64=this._arrayOfAllItems[i];if(_64!==null){var _65={};for(var key in _64){if(key!==this._storeRefPropName&&key!==this._itemNumPropName&&key!==this._reverseRefMap&&key!==this._rootItemPropName){var _66=this.getValues(_64,key);if(_66.length==1){_65[key]=this._flatten(_66[0]);}else{var _67=[];for(var j=0;j<_66.length;++j){_67.push(this._flatten(_66[j]));_65[key]=_67;}}}}_62.items.push(_65);}}var _68=true;return _18.toJson(_62,_68);},_isEmpty:function(_69){var _6a=true;if(_15.isObject(_69)){var i;for(i in _69){_6a=false;break;}}else{if(_15.isArray(_69)){if(_69.length>0){_6a=false;}}}return _6a;},save:function(_6b){this._assert(!this._saveInProgress);this._saveInProgress=true;var _6c=this;var _6d=function(){_6c._pending={_newItems:{},_modifiedItems:{},_deletedItems:{}};_6c._saveInProgress=false;if(_6b&&_6b.onComplete){var _6e=_6b.scope||_19.global;_6b.onComplete.call(_6e);}};var _6f=function(err){_6c._saveInProgress=false;if(_6b&&_6b.onError){var _70=_6b.scope||_19.global;_6b.onError.call(_70,err);}};if(this._saveEverything){var _71=this._getNewFileContentString();this._saveEverything(_6d,_6f,_71);}if(this._saveCustom){this._saveCustom(_6d,_6f);}if(!this._saveEverything&&!this._saveCustom){_6d();}},revert:function(){this._assert(!this._saveInProgress);var _72;for(_72 in this._pending._modifiedItems){var _73=this._pending._modifiedItems[_72];var _74=null;if(this._itemsByIdentity){_74=this._itemsByIdentity[_72];}else{_74=this._arrayOfAllItems[_72];}_73[this._storeRefPropName]=this;for(var key in _74){delete _74[key];}_15.mixin(_74,_73);}var _75;for(_72 in this._pending._deletedItems){_75=this._pending._deletedItems[_72];_75[this._storeRefPropName]=this;var _76=_75[this._itemNumPropName];if(_75["backup_"+this._reverseRefMap]){_75[this._reverseRefMap]=_75["backup_"+this._reverseRefMap];delete _75["backup_"+this._reverseRefMap];}this._arrayOfAllItems[_76]=_75;if(this._itemsByIdentity){this._itemsByIdentity[_72]=_75;}if(_75[this._rootItemPropName]){this._arrayOfTopLevelItems.push(_75);}}for(_72 in this._pending._deletedItems){_75=this._pending._deletedItems[_72];if(_75["backupRefs_"+this._reverseRefMap]){_17.forEach(_75["backupRefs_"+this._reverseRefMap],function(_77){var _78;if(this._itemsByIdentity){_78=this._itemsByIdentity[_77.id];}else{_78=this._arrayOfAllItems[_77.id];}this._addReferenceToMap(_78,_75,_77.attr);},this);delete _75["backupRefs_"+this._reverseRefMap];}}for(_72 in this._pending._newItems){var _79=this._pending._newItems[_72];_79[this._storeRefPropName]=null;this._arrayOfAllItems[_79[this._itemNumPropName]]=null;if(_79[this._rootItemPropName]){this._removeArrayElement(this._arrayOfTopLevelItems,_79);}if(this._itemsByIdentity){delete this._itemsByIdentity[_72];}}this._pending={_newItems:{},_modifiedItems:{},_deletedItems:{}};return true;},isDirty:function(_7a){if(_7a){var _7b=this.getIdentity(_7a);return new Boolean(this._pending._newItems[_7b]||this._pending._modifiedItems[_7b]||this._pending._deletedItems[_7b]).valueOf();}else{return !this._isEmpty(this._pending._newItems)||!this._isEmpty(this._pending._modifiedItems)||!this._isEmpty(this._pending._deletedItems);}},onSet:function(_7c,_7d,_7e,_7f){},onNew:function(_80,_81){},onDelete:function(_82){},close:function(_83){if(this.clearOnClose){if(!this.isDirty()){this.inherited(arguments);}else{throw new Error("dojo.data.ItemFileWriteStore: There are unsaved changes present in the store.  Please save or revert the changes before invoking close.");}}}});});},"dojo/data/util/sorter":function(){define("dojo/data/util/sorter",["../../_base/lang"],function(_84){var _85=_84.getObject("dojo.data.util.sorter",true);_85.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;};_85.createSortFunction=function(_86,_87){var _88=[];function _89(_8a,dir,_8b,s){return function(_8c,_8d){var a=s.getValue(_8c,_8a);var b=s.getValue(_8d,_8a);return dir*_8b(a,b);};};var _8e;var map=_87.comparatorMap;var bc=_85.basicComparator;for(var i=0;i<_86.length;i++){_8e=_86[i];var _8f=_8e.attribute;if(_8f){var dir=(_8e.descending)?-1:1;var _90=bc;if(map){if(typeof _8f!=="string"&&("toString" in _8f)){_8f=_8f.toString();}_90=map[_8f]||bc;}_88.push(_89(_8f,dir,_90,_87));}}return function(_91,_92){var i=0;while(i<_88.length){var ret=_88[i++](_91,_92);if(ret!==0){return ret;}}return 0;};};return _85;});},"dojo/data/util/filter":function(){define("dojo/data/util/filter",["../../_base/lang"],function(_93){var _94=_93.getObject("dojo.data.util.filter",true);_94.patternToRegExp=function(_95,_96){var rxp="^";var c=null;for(var i=0;i<_95.length;i++){c=_95.charAt(i);switch(c){case "\\":rxp+=c;i++;rxp+=_95.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(_96){return new RegExp(rxp,"mi");}else{return new RegExp(rxp,"m");}};return _94;});},"dojo/data/ItemFileReadStore":function(){define("dojo/data/ItemFileReadStore",["../_base/kernel","../_base/lang","../_base/declare","../_base/array","../_base/xhr","../Evented","../_base/window","./util/filter","./util/simpleFetch","../date/stamp"],function(_97,_98,_99,_9a,xhr,_9b,_9c,_9d,_9e,_9f){var _a0=_99("dojo.data.ItemFileReadStore",[_9b],{constructor:function(_a1){this._arrayOfAllItems=[];this._arrayOfTopLevelItems=[];this._loadFinished=false;this._jsonFileUrl=_a1.url;this._ccUrl=_a1.url;this.url=_a1.url;this._jsonData=_a1.data;this.data=null;this._datatypeMap=_a1.typeMap||{};if(!this._datatypeMap["Date"]){this._datatypeMap["Date"]={type:Date,deserialize:function(_a2){return _9f.fromISOString(_a2);}};}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(_a1.urlPreventCache!==undefined){this.urlPreventCache=_a1.urlPreventCache?true:false;}if(_a1.hierarchical!==undefined){this.hierarchical=_a1.hierarchical?true:false;}if(_a1.clearOnClose){this.clearOnClose=true;}if("failOk" in _a1){this.failOk=_a1.failOk?true:false;}},url:"",_ccUrl:"",data:null,typeMap:null,clearOnClose:false,urlPreventCache:false,failOk:false,hierarchical:true,_assertIsItem:function(_a3){if(!this.isItem(_a3)){throw new Error("dojo.data.ItemFileReadStore: Invalid item argument.");}},_assertIsAttribute:function(_a4){if(typeof _a4!=="string"){throw new Error("dojo.data.ItemFileReadStore: Invalid attribute argument.");}},getValue:function(_a5,_a6,_a7){var _a8=this.getValues(_a5,_a6);return (_a8.length>0)?_a8[0]:_a7;},getValues:function(_a9,_aa){this._assertIsItem(_a9);this._assertIsAttribute(_aa);return (_a9[_aa]||[]).slice(0);},getAttributes:function(_ab){this._assertIsItem(_ab);var _ac=[];for(var key in _ab){if((key!==this._storeRefPropName)&&(key!==this._itemNumPropName)&&(key!==this._rootItemPropName)&&(key!==this._reverseRefMap)){_ac.push(key);}}return _ac;},hasAttribute:function(_ad,_ae){this._assertIsItem(_ad);this._assertIsAttribute(_ae);return (_ae in _ad);},containsValue:function(_af,_b0,_b1){var _b2=undefined;if(typeof _b1==="string"){_b2=_9d.patternToRegExp(_b1,false);}return this._containsValue(_af,_b0,_b1,_b2);},_containsValue:function(_b3,_b4,_b5,_b6){return _9a.some(this.getValues(_b3,_b4),function(_b7){if(_b7!==null&&!_98.isObject(_b7)&&_b6){if(_b7.toString().match(_b6)){return true;}}else{if(_b5===_b7){return true;}}});},isItem:function(_b8){if(_b8&&_b8[this._storeRefPropName]===this){if(this._arrayOfAllItems[_b8[this._itemNumPropName]]===_b8){return true;}}return false;},isItemLoaded:function(_b9){return this.isItem(_b9);},loadItem:function(_ba){this._assertIsItem(_ba.item);},getFeatures:function(){return this._features;},getLabel:function(_bb){if(this._labelAttr&&this.isItem(_bb)){return this.getValue(_bb,this._labelAttr);}return undefined;},getLabelAttributes:function(_bc){if(this._labelAttr){return [this._labelAttr];}return null;},_fetchItems:function(_bd,_be,_bf){var _c0=this,_c1=function(_c2,_c3){var _c4=[],i,key;if(_c2.query){var _c5,_c6=_c2.queryOptions?_c2.queryOptions.ignoreCase:false;var _c7={};for(key in _c2.query){_c5=_c2.query[key];if(typeof _c5==="string"){_c7[key]=_9d.patternToRegExp(_c5,_c6);}else{if(_c5 instanceof RegExp){_c7[key]=_c5;}}}for(i=0;i<_c3.length;++i){var _c8=true;var _c9=_c3[i];if(_c9===null){_c8=false;}else{for(key in _c2.query){_c5=_c2.query[key];if(!_c0._containsValue(_c9,key,_c5,_c7[key])){_c8=false;}}}if(_c8){_c4.push(_c9);}}_be(_c4,_c2);}else{for(i=0;i<_c3.length;++i){var _ca=_c3[i];if(_ca!==null){_c4.push(_ca);}}_be(_c4,_c2);}};if(this._loadFinished){_c1(_bd,this._getItemsArray(_bd.queryOptions));}else{if(this._jsonFileUrl!==this._ccUrl){_97.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:_bd,filter:_c1});}else{this._loadInProgress=true;var _cb={url:_c0._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk};var _cc=xhr.get(_cb);_cc.addCallback(function(_cd){try{_c0._getItemsFromLoadedData(_cd);_c0._loadFinished=true;_c0._loadInProgress=false;_c1(_bd,_c0._getItemsArray(_bd.queryOptions));_c0._handleQueuedFetches();}catch(e){_c0._loadFinished=true;_c0._loadInProgress=false;_bf(e,_bd);}});_cc.addErrback(function(_ce){_c0._loadInProgress=false;_bf(_ce,_bd);});var _cf=null;if(_bd.abort){_cf=_bd.abort;}_bd.abort=function(){var df=_cc;if(df&&df.fired===-1){df.cancel();df=null;}if(_cf){_cf.call(_bd);}};}}else{if(this._jsonData){try{this._loadFinished=true;this._getItemsFromLoadedData(this._jsonData);this._jsonData=null;_c1(_bd,this._getItemsArray(_bd.queryOptions));}catch(e){_bf(e,_bd);}}else{_bf(new Error("dojo.data.ItemFileReadStore: No JSON source data was provided as either URL or a nested Javascript object."),_bd);}}}},_handleQueuedFetches:function(){if(this._queuedFetches.length>0){for(var i=0;i<this._queuedFetches.length;i++){var _d0=this._queuedFetches[i],_d1=_d0.args,_d2=_d0.filter;if(_d2){_d2(_d1,this._getItemsArray(_d1.queryOptions));}else{this.fetchItemByIdentity(_d1);}}this._queuedFetches=[];}},_getItemsArray:function(_d3){if(_d3&&_d3.deep){return this._arrayOfAllItems;}return this._arrayOfTopLevelItems;},close:function(_d4){if(this.clearOnClose&&this._loadFinished&&!this._loadInProgress){if(((this._jsonFileUrl==""||this._jsonFileUrl==null)&&(this.url==""||this.url==null))&&this.data==null){}this._arrayOfAllItems=[];this._arrayOfTopLevelItems=[];this._loadFinished=false;this._itemsByIdentity=null;this._loadInProgress=false;this._queuedFetches=[];}},_getItemsFromLoadedData:function(_d5){var _d6=false,_d7=this;function _d8(_d9){return (_d9!==null)&&(typeof _d9==="object")&&(!_98.isArray(_d9)||_d6)&&(!_98.isFunction(_d9))&&(_d9.constructor==Object||_98.isArray(_d9))&&(typeof _d9._reference==="undefined")&&(typeof _d9._type==="undefined")&&(typeof _d9._value==="undefined")&&_d7.hierarchical;};function _da(_db){_d7._arrayOfAllItems.push(_db);for(var _dc in _db){var _dd=_db[_dc];if(_dd){if(_98.isArray(_dd)){var _de=_dd;for(var k=0;k<_de.length;++k){var _df=_de[k];if(_d8(_df)){_da(_df);}}}else{if(_d8(_dd)){_da(_dd);}}}}};this._labelAttr=_d5.label;var i,_e0;this._arrayOfAllItems=[];this._arrayOfTopLevelItems=_d5.items;for(i=0;i<this._arrayOfTopLevelItems.length;++i){_e0=this._arrayOfTopLevelItems[i];if(_98.isArray(_e0)){_d6=true;}_da(_e0);_e0[this._rootItemPropName]=true;}var _e1={},key;for(i=0;i<this._arrayOfAllItems.length;++i){_e0=this._arrayOfAllItems[i];for(key in _e0){if(key!==this._rootItemPropName){var _e2=_e0[key];if(_e2!==null){if(!_98.isArray(_e2)){_e0[key]=[_e2];}}else{_e0[key]=[null];}}_e1[key]=key;}}while(_e1[this._storeRefPropName]){this._storeRefPropName+="_";}while(_e1[this._itemNumPropName]){this._itemNumPropName+="_";}while(_e1[this._reverseRefMap]){this._reverseRefMap+="_";}var _e3;var _e4=_d5.identifier;if(_e4){this._itemsByIdentity={};this._features["dojo.data.api.Identity"]=_e4;for(i=0;i<this._arrayOfAllItems.length;++i){_e0=this._arrayOfAllItems[i];_e3=_e0[_e4];var _e5=_e3[0];if(!Object.hasOwnProperty.call(this._itemsByIdentity,_e5)){this._itemsByIdentity[_e5]=_e0;}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: ["+_e4+"].  Value collided: ["+_e5+"]");}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: ["+_e4+"].  Value collided: ["+_e5+"]");}}}}}else{this._features["dojo.data.api.Identity"]=Number;}for(i=0;i<this._arrayOfAllItems.length;++i){_e0=this._arrayOfAllItems[i];_e0[this._storeRefPropName]=this;_e0[this._itemNumPropName]=i;}for(i=0;i<this._arrayOfAllItems.length;++i){_e0=this._arrayOfAllItems[i];for(key in _e0){_e3=_e0[key];for(var j=0;j<_e3.length;++j){_e2=_e3[j];if(_e2!==null&&typeof _e2=="object"){if(("_type" in _e2)&&("_value" in _e2)){var _e6=_e2._type;var _e7=this._datatypeMap[_e6];if(!_e7){throw new Error("dojo.data.ItemFileReadStore: in the typeMap constructor arg, no object class was specified for the datatype '"+_e6+"'");}else{if(_98.isFunction(_e7)){_e3[j]=new _e7(_e2._value);}else{if(_98.isFunction(_e7.deserialize)){_e3[j]=_e7.deserialize(_e2._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(_e2._reference){var _e8=_e2._reference;if(!_98.isObject(_e8)){_e3[j]=this._getItemByIdentity(_e8);}else{for(var k=0;k<this._arrayOfAllItems.length;++k){var _e9=this._arrayOfAllItems[k],_ea=true;for(var _eb in _e8){if(_e9[_eb]!=_e8[_eb]){_ea=false;}}if(_ea){_e3[j]=_e9;}}}if(this.referenceIntegrity){var _ec=_e3[j];if(this.isItem(_ec)){this._addReferenceToMap(_ec,_e0,key);}}}else{if(this.isItem(_e2)){if(this.referenceIntegrity){this._addReferenceToMap(_e2,_e0,key);}}}}}}}},_addReferenceToMap:function(_ed,_ee,_ef){},getIdentity:function(_f0){var _f1=this._features["dojo.data.api.Identity"];if(_f1===Number){return _f0[this._itemNumPropName];}else{var _f2=_f0[_f1];if(_f2){return _f2[0];}}return null;},fetchItemByIdentity:function(_f3){var _f4,_f5;if(!this._loadFinished){var _f6=this;if(this._jsonFileUrl!==this._ccUrl){_97.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:_f3});}else{this._loadInProgress=true;var _f7={url:_f6._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk};var _f8=xhr.get(_f7);_f8.addCallback(function(_f9){var _fa=_f3.scope?_f3.scope:_9c.global;try{_f6._getItemsFromLoadedData(_f9);_f6._loadFinished=true;_f6._loadInProgress=false;_f4=_f6._getItemByIdentity(_f3.identity);if(_f3.onItem){_f3.onItem.call(_fa,_f4);}_f6._handleQueuedFetches();}catch(error){_f6._loadInProgress=false;if(_f3.onError){_f3.onError.call(_fa,error);}}});_f8.addErrback(function(_fb){_f6._loadInProgress=false;if(_f3.onError){var _fc=_f3.scope?_f3.scope:_9c.global;_f3.onError.call(_fc,_fb);}});}}else{if(this._jsonData){_f6._getItemsFromLoadedData(_f6._jsonData);_f6._jsonData=null;_f6._loadFinished=true;_f4=_f6._getItemByIdentity(_f3.identity);if(_f3.onItem){_f5=_f3.scope?_f3.scope:_9c.global;_f3.onItem.call(_f5,_f4);}}}}else{_f4=this._getItemByIdentity(_f3.identity);if(_f3.onItem){_f5=_f3.scope?_f3.scope:_9c.global;_f3.onItem.call(_f5,_f4);}}},_getItemByIdentity:function(_fd){var _fe=null;if(this._itemsByIdentity){if(Object.hasOwnProperty.call(this._itemsByIdentity,_fd)){_fe=this._itemsByIdentity[_fd];}}else{if(Object.hasOwnProperty.call(this._arrayOfAllItems,_fd)){_fe=this._arrayOfAllItems[_fd];}}if(_fe===undefined){_fe=null;}return _fe;},getIdentityAttributes:function(_ff){var _100=this._features["dojo.data.api.Identity"];if(_100===Number){return null;}else{return [_100];}},_forceLoad:function(){var self=this;if(this._jsonFileUrl!==this._ccUrl){_97.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 _101={url:this._jsonFileUrl,handleAs:"json-comment-optional",preventCache:this.urlPreventCache,failOk:this.failOk,sync:true};var _102=xhr.get(_101);_102.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){throw e;}});_102.addErrback(function(_103){throw _103;});}else{if(this._jsonData){self._getItemsFromLoadedData(self._jsonData);self._jsonData=null;self._loadFinished=true;}}}});_98.extend(_a0,_9e);return _a0;});},"dojo/date/stamp":function(){define("dojo/date/stamp",["../_base/kernel","../_base/lang","../_base/array"],function(dojo,lang,_104){lang.getObject("date.stamp",true,dojo);dojo.date.stamp.fromISOString=function(_105,_106){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 _107=dojo.date.stamp._isoRegExp.exec(_105),_108=null;if(_107){_107.shift();if(_107[1]){_107[1]--;}if(_107[6]){_107[6]*=1000;}if(_106){_106=new Date(_106);_104.forEach(_104.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(prop){return _106["get"+prop]();}),function(_109,_10a){_107[_10a]=_107[_10a]||_109;});}_108=new Date(_107[0]||1970,_107[1]||0,_107[2]||1,_107[3]||0,_107[4]||0,_107[5]||0,_107[6]||0);if(_107[0]<100){_108.setFullYear(_107[0]||1970);}var _10b=0,_10c=_107[7]&&_107[7].charAt(0);if(_10c!="Z"){_10b=((_107[8]||0)*60)+(Number(_107[9])||0);if(_10c!="-"){_10b*=-1;}}if(_10c){_10b-=_108.getTimezoneOffset();}if(_10b){_108.setTime(_108.getTime()+_10b*60000);}}return _108;};dojo.date.stamp.toISOString=function(_10d,_10e){var _10f=function(n){return (n<10)?"0"+n:n;};_10e=_10e||{};var _110=[],_111=_10e.zulu?"getUTC":"get",date="";if(_10e.selector!="time"){var year=_10d[_111+"FullYear"]();date=["0000".substr((year+"").length)+year,_10f(_10d[_111+"Month"]()+1),_10f(_10d[_111+"Date"]())].join("-");}_110.push(date);if(_10e.selector!="date"){var time=[_10f(_10d[_111+"Hours"]()),_10f(_10d[_111+"Minutes"]()),_10f(_10d[_111+"Seconds"]())].join(":");var _112=_10d[_111+"Milliseconds"]();if(_10e.milliseconds){time+="."+(_112<100?"0":"")+_10f(_112);}if(_10e.zulu){time+="Z";}else{if(_10e.selector!="time"){var _113=_10d.getTimezoneOffset();var _114=Math.abs(_113);time+=(_113>0?"-":"+")+_10f(Math.floor(_114/60))+":"+_10f(_114%60);}}_110.push(time);}return _110.join("T");};return dojo.date.stamp;});},"*noref":1}});define("dojo/_data",[],1);require(["dojo/data/ItemFileReadStore","dojo/data/ItemFileWriteStore","dojo/data/util/simpleFetch","dojo/data/util/sorter","dojo/data/util/filter"]);
}catch(e){console.log("Module 'dojo_data_17': ",e);}
try{/*
	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
*/

//>>built
require({cache:{"dojox/xml/parser":function(){define("dojox/xml/parser",["dojo/_base/kernel","dojo/_base/lang","dojo/_base/array","dojo/_base/window","dojo/_base/sniff"],function(_1){_1.getObject("xml.parser",true,dojox);dojox.xml.parser.parse=function(_2,_3){var _4=_1.doc;var _5;_3=_3||"text/xml";if(_2&&_1.trim(_2)&&"DOMParser" in _1.global){var _6=new DOMParser();_5=_6.parseFromString(_2,_3);var de=_5.documentElement;var _7="http://www.mozilla.org/newlayout/xml/parsererror.xml";if(de.nodeName=="parsererror"&&de.namespaceURI==_7){var _8=de.getElementsByTagNameNS(_7,"sourcetext")[0];if(_8){_8=_8.firstChild.data;}throw new Error("Error parsing text "+de.firstChild.data+" \n"+_8);}return _5;}else{if("ActiveXObject" in _1.global){var ms=function(n){return "MSXML"+n+".DOMDocument";};var dp=["Microsoft.XMLDOM",ms(6),ms(4),ms(3),ms(2)];_1.some(dp,function(p){try{_5=new ActiveXObject(p);}catch(e){return false;}return true;});if(_2&&_5){_5.async=false;_5.loadXML(_2);var pe=_5.parseError;if(pe.errorCode!==0){throw new Error("Line: "+pe.line+"\n"+"Col: "+pe.linepos+"\n"+"Reason: "+pe.reason+"\n"+"Error Code: "+pe.errorCode+"\n"+"Source: "+pe.srcText);}}if(_5){return _5;}}else{if(_4.implementation&&_4.implementation.createDocument){if(_2&&_1.trim(_2)&&_4.createElement){var _9=_4.createElement("xml");_9.innerHTML=_2;var _a=_4.implementation.createDocument("foo","",null);_1.forEach(_9.childNodes,function(_b){_a.importNode(_b,true);});return _a;}else{return _4.implementation.createDocument("","",null);}}}}return null;};dojox.xml.parser.textContent=function(_c,_d){if(arguments.length>1){var _e=_c.ownerDocument||_1.doc;dojox.xml.parser.replaceChildren(_c,_e.createTextNode(_d));return _d;}else{if(_c.textContent!==undefined){return _c.textContent;}var _f="";if(_c){_1.forEach(_c.childNodes,function(_10){switch(_10.nodeType){case 1:case 5:_f+=dojox.xml.parser.textContent(_10);break;case 3:case 2:case 4:_f+=_10.nodeValue;}});}return _f;}};dojox.xml.parser.replaceChildren=function(_11,_12){var _13=[];if(_1.isIE){_1.forEach(_11.childNodes,function(_14){_13.push(_14);});}dojox.xml.parser.removeChildren(_11);_1.forEach(_13,_1.destroy);if(!_1.isArray(_12)){_11.appendChild(_12);}else{_1.forEach(_12,function(_15){_11.appendChild(_15);});}};dojox.xml.parser.removeChildren=function(_16){var _17=_16.childNodes.length;while(_16.hasChildNodes()){_16.removeChild(_16.firstChild);}return _17;};dojox.xml.parser.innerXML=function(_18){if(_18.innerXML){return _18.innerXML;}else{if(_18.xml){return _18.xml;}else{if(typeof XMLSerializer!="undefined"){return (new XMLSerializer()).serializeToString(_18);}}}return null;};return dojox.xml.parser;});},"dojox/data/CsvStore":function(){define("dojox/data/CsvStore",["dojo/_base/lang","dojo/_base/declare","dojo/_base/xhr","dojo/_base/window","dojo/data/util/filter","dojo/data/util/simpleFetch"],function(_19,_1a,xhr,_1b,_1c,_1d){var _1e=_1a("dojox.data.CsvStore",null,{constructor:function(_1f){this._attributes=[];this._attributeIndexes={};this._dataArray=[];this._arrayOfAllItems=[];this._loadFinished=false;if(_1f.url){this.url=_1f.url;}this._csvData=_1f.data;if(_1f.label){this.label=_1f.label;}else{if(this.label===""){this.label=undefined;}}this._storeProp="_csvStore";this._idProp="_csvId";this._features={"dojo.data.api.Read":true,"dojo.data.api.Identity":true};this._loadInProgress=false;this._queuedFetches=[];this.identifier=_1f.identifier;if(this.identifier===""){delete this.identifier;}else{this._idMap={};}if("separator" in _1f){this.separator=_1f.separator;}if("urlPreventCache" in _1f){this.urlPreventCache=_1f.urlPreventCache?true:false;}},url:"",label:"",identifier:"",separator:",",urlPreventCache:false,_assertIsItem:function(_20){if(!this.isItem(_20)){throw new Error(this.declaredClass+": a function was passed an item argument that was not an item");}},_getIndex:function(_21){var idx=this.getIdentity(_21);if(this.identifier){idx=this._idMap[idx];}return idx;},getValue:function(_22,_23,_24){this._assertIsItem(_22);var _25=_24;if(typeof _23==="string"){var ai=this._attributeIndexes[_23];if(ai!=null){var _26=this._dataArray[this._getIndex(_22)];_25=_26[ai]||_24;}}else{throw new Error(this.declaredClass+": a function was passed an attribute argument that was not a string");}return _25;},getValues:function(_27,_28){var _29=this.getValue(_27,_28);return (_29?[_29]:[]);},getAttributes:function(_2a){this._assertIsItem(_2a);var _2b=[];var _2c=this._dataArray[this._getIndex(_2a)];for(var i=0;i<_2c.length;i++){if(_2c[i]!==""){_2b.push(this._attributes[i]);}}return _2b;},hasAttribute:function(_2d,_2e){this._assertIsItem(_2d);if(typeof _2e==="string"){var _2f=this._attributeIndexes[_2e];var _30=this._dataArray[this._getIndex(_2d)];return (typeof _2f!=="undefined"&&_2f<_30.length&&_30[_2f]!=="");}else{throw new Error(this.declaredClass+": a function was passed an attribute argument that was not a string");}},containsValue:function(_31,_32,_33){var _34=undefined;if(typeof _33==="string"){_34=_1c.patternToRegExp(_33,false);}return this._containsValue(_31,_32,_33,_34);},_containsValue:function(_35,_36,_37,_38){var _39=this.getValues(_35,_36);for(var i=0;i<_39.length;++i){var _3a=_39[i];if(typeof _3a==="string"&&_38){return (_3a.match(_38)!==null);}else{if(_37===_3a){return true;}}}return false;},isItem:function(_3b){if(_3b&&_3b[this._storeProp]===this){var _3c=_3b[this._idProp];if(this.identifier){var _3d=this._dataArray[this._idMap[_3c]];if(_3d){return true;}}else{if(_3c>=0&&_3c<this._dataArray.length){return true;}}}return false;},isItemLoaded:function(_3e){return this.isItem(_3e);},loadItem:function(_3f){},getFeatures:function(){return this._features;},getLabel:function(_40){if(this.label&&this.isItem(_40)){return this.getValue(_40,this.label);}return undefined;},getLabelAttributes:function(_41){if(this.label){return [this.label];}return null;},_fetchItems:function(_42,_43,_44){var _45=this;var _46=function(_47,_48){var _49=null;if(_47.query){var key,_4a;_49=[];var _4b=_47.queryOptions?_47.queryOptions.ignoreCase:false;var _4c={};for(key in _47.query){_4a=_47.query[key];if(typeof _4a==="string"){_4c[key]=_1c.patternToRegExp(_4a,_4b);}}for(var i=0;i<_48.length;++i){var _4d=true;var _4e=_48[i];for(key in _47.query){_4a=_47.query[key];if(!_45._containsValue(_4e,key,_4a,_4c[key])){_4d=false;}}if(_4d){_49.push(_4e);}}}else{_49=_48.slice(0,_48.length);}_43(_49,_47);};if(this._loadFinished){_46(_42,this._arrayOfAllItems);}else{if(this.url!==""){if(this._loadInProgress){this._queuedFetches.push({args:_42,filter:_46});}else{this._loadInProgress=true;var _4f={url:_45.url,handleAs:"text",preventCache:_45.urlPreventCache};var _50=xhr.get(_4f);_50.addCallback(function(_51){try{_45._processData(_51);_46(_42,_45._arrayOfAllItems);_45._handleQueuedFetches();}catch(e){_44(e,_42);}});_50.addErrback(function(_52){_45._loadInProgress=false;if(_44){_44(_52,_42);}else{throw _52;}});var _53=null;if(_42.abort){_53=_42.abort;}_42.abort=function(){var df=_50;if(df&&df.fired===-1){df.cancel();df=null;}if(_53){_53.call(_42);}};}}else{if(this._csvData){try{this._processData(this._csvData);this._csvData=null;_46(_42,this._arrayOfAllItems);}catch(e){_44(e,_42);}}else{var _54=new Error(this.declaredClass+": No CSV source data was provided as either URL or String data input.");if(_44){_44(_54,_42);}else{throw _54;}}}}},close:function(_55){},_getArrayOfArraysFromCsvFileContents:function(_56){if(_19.isString(_56)){var _57=new RegExp("^\\s+","g");var _58=new RegExp("\\s+$","g");var _59=new RegExp("\"\"","g");var _5a=[];var i;var _5b=this._splitLines(_56);for(i=0;i<_5b.length;++i){var _5c=_5b[i];if(_5c.length>0){var _5d=_5c.split(this.separator);var j=0;while(j<_5d.length){var _5e=_5d[j];var _5f=_5e.replace(_57,"");var _60=_5f.replace(_58,"");var _61=_60.charAt(0);var _62=_60.charAt(_60.length-1);var _63=_60.charAt(_60.length-2);var _64=_60.charAt(_60.length-3);if(_60.length===2&&_60=="\"\""){_5d[j]="";}else{if((_61=="\"")&&((_62!="\"")||((_62=="\"")&&(_63=="\"")&&(_64!="\"")))){if(j+1===_5d.length){return;}var _65=_5d[j+1];_5d[j]=_5f+this.separator+_65;_5d.splice(j+1,1);}else{if((_61=="\"")&&(_62=="\"")){_60=_60.slice(1,(_60.length-1));_60=_60.replace(_59,"\"");}_5d[j]=_60;j+=1;}}}_5a.push(_5d);}}this._attributes=_5a.shift();for(i=0;i<this._attributes.length;i++){this._attributeIndexes[this._attributes[i]]=i;}this._dataArray=_5a;}},_splitLines:function(_66){var _67=[];var i;var _68="";var _69=false;for(i=0;i<_66.length;i++){var c=_66.charAt(i);switch(c){case "\"":_69=!_69;_68+=c;break;case "\r":if(_69){_68+=c;}else{_67.push(_68);_68="";if(i<(_66.length-1)&&_66.charAt(i+1)=="\n"){i++;}}break;case "\n":if(_69){_68+=c;}else{_67.push(_68);_68="";}break;default:_68+=c;}}if(_68!==""){_67.push(_68);}return _67;},_processData:function(_6a){this._getArrayOfArraysFromCsvFileContents(_6a);this._arrayOfAllItems=[];if(this.identifier){if(this._attributeIndexes[this.identifier]===undefined){throw new Error(this.declaredClass+": Identity specified is not a column header in the data set.");}}for(var i=0;i<this._dataArray.length;i++){var id=i;if(this.identifier){var _6b=this._dataArray[i];id=_6b[this._attributeIndexes[this.identifier]];this._idMap[id]=i;}this._arrayOfAllItems.push(this._createItemFromIdentity(id));}this._loadFinished=true;this._loadInProgress=false;},_createItemFromIdentity:function(_6c){var _6d={};_6d[this._storeProp]=this;_6d[this._idProp]=_6c;return _6d;},getIdentity:function(_6e){if(this.isItem(_6e)){return _6e[this._idProp];}return null;},fetchItemByIdentity:function(_6f){var _70;var _71=_6f.scope?_6f.scope:_1b.global;if(!this._loadFinished){var _72=this;if(this.url!==""){if(this._loadInProgress){this._queuedFetches.push({args:_6f});}else{this._loadInProgress=true;var _73={url:_72.url,handleAs:"text"};var _74=xhr.get(_73);_74.addCallback(function(_75){try{_72._processData(_75);var _76=_72._createItemFromIdentity(_6f.identity);if(!_72.isItem(_76)){_76=null;}if(_6f.onItem){_6f.onItem.call(_71,_76);}_72._handleQueuedFetches();}catch(error){if(_6f.onError){_6f.onError.call(_71,error);}}});_74.addErrback(function(_77){this._loadInProgress=false;if(_6f.onError){_6f.onError.call(_71,_77);}});}}else{if(this._csvData){try{_72._processData(_72._csvData);_72._csvData=null;_70=_72._createItemFromIdentity(_6f.identity);if(!_72.isItem(_70)){_70=null;}if(_6f.onItem){_6f.onItem.call(_71,_70);}}catch(e){if(_6f.onError){_6f.onError.call(_71,e);}}}}}else{_70=this._createItemFromIdentity(_6f.identity);if(!this.isItem(_70)){_70=null;}if(_6f.onItem){_6f.onItem.call(_71,_70);}}},getIdentityAttributes:function(_78){if(this.identifier){return [this.identifier];}else{return null;}},_handleQueuedFetches:function(){if(this._queuedFetches.length>0){for(var i=0;i<this._queuedFetches.length;i++){var _79=this._queuedFetches[i];var _7a=_79.filter;var _7b=_79.args;if(_7a){_7a(_7b,this._arrayOfAllItems);}else{this.fetchItemByIdentity(_79.args);}}this._queuedFetches=[];}}});_19.extend(_1e,_1d);return _1e;});},"dojox/data/XmlItem":function(){define("dojox/data/XmlItem",["dojo/_base/declare"],function(_7c){return _7c("dojox.data.XmlItem",null,{constructor:function(_7d,_7e,_7f){this.element=_7d;this.store=_7e;this.q=_7f;},toString:function(){var str="";if(this.element){for(var i=0;i<this.element.childNodes.length;i++){var _80=this.element.childNodes[i];if(_80.nodeType===3||_80.nodeType===4){str+=_80.nodeValue;}}}return str;}});});},"dojox/data/XmlStore":function(){define("dojox/data/XmlStore",["dojo/_base/lang","dojo/_base/declare","dojo/_base/xhr","dojo/data/util/simpleFetch","dojo/_base/query","dojo/_base/array","dojo/_base/window","dojo/data/util/filter","dojox/xml/parser","dojox/data/XmlItem"],function(_81,_82,xhr,_83,_84,_85,_86,_87,_88,_89){var _8a=_82("dojox.data.XmlStore",null,{constructor:function(_8b){if(_8b){this.url=_8b.url;this.rootItem=(_8b.rootItem||_8b.rootitem||this.rootItem);this.keyAttribute=(_8b.keyAttribute||_8b.keyattribute||this.keyAttribute);this._attributeMap=(_8b.attributeMap||_8b.attributemap);this.label=_8b.label||this.label;this.sendQuery=(_8b.sendQuery||_8b.sendquery||this.sendQuery);if("urlPreventCache" in _8b){this.urlPreventCache=_8b.urlPreventCache?true:false;}}this._newItems=[];this._deletedItems=[];this._modifiedItems=[];},url:"",rootItem:"",keyAttribute:"",label:"",sendQuery:false,attributeMap:null,urlPreventCache:true,getValue:function(_8c,_8d,_8e){var _8f=_8c.element;var i;var _90;if(_8d==="tagName"){return _8f.nodeName;}else{if(_8d==="childNodes"){for(i=0;i<_8f.childNodes.length;i++){_90=_8f.childNodes[i];if(_90.nodeType===1){return this._getItem(_90);}}return _8e;}else{if(_8d==="text()"){for(i=0;i<_8f.childNodes.length;i++){_90=_8f.childNodes[i];if(_90.nodeType===3||_90.nodeType===4){return _90.nodeValue;}}return _8e;}else{_8d=this._getAttribute(_8f.nodeName,_8d);if(_8d.charAt(0)==="@"){var _91=_8d.substring(1);var _92=_8f.getAttribute(_91);return (_92)?_92:_8e;}else{for(i=0;i<_8f.childNodes.length;i++){_90=_8f.childNodes[i];if(_90.nodeType===1&&_90.nodeName===_8d){return this._getItem(_90);}}return _8e;}}}}},getValues:function(_93,_94){var _95=_93.element;var _96=[];var i;var _97;if(_94==="tagName"){return [_95.nodeName];}else{if(_94==="childNodes"){for(i=0;i<_95.childNodes.length;i++){_97=_95.childNodes[i];if(_97.nodeType===1){_96.push(this._getItem(_97));}}return _96;}else{if(_94==="text()"){var ec=_95.childNodes;for(i=0;i<ec.length;i++){_97=ec[i];if(_97.nodeType===3||_97.nodeType===4){_96.push(_97.nodeValue);}}return _96;}else{_94=this._getAttribute(_95.nodeName,_94);if(_94.charAt(0)==="@"){var _98=_94.substring(1);var _99=_95.getAttribute(_98);return (_99!==undefined)?[_99]:[];}else{for(i=0;i<_95.childNodes.length;i++){_97=_95.childNodes[i];if(_97.nodeType===1&&_97.nodeName===_94){_96.push(this._getItem(_97));}}return _96;}}}}},getAttributes:function(_9a){var _9b=_9a.element;var _9c=[];var i;_9c.push("tagName");if(_9b.childNodes.length>0){var _9d={};var _9e=true;var _9f=false;for(i=0;i<_9b.childNodes.length;i++){var _a0=_9b.childNodes[i];if(_a0.nodeType===1){var _a1=_a0.nodeName;if(!_9d[_a1]){_9c.push(_a1);_9d[_a1]=_a1;}_9e=true;}else{if(_a0.nodeType===3){_9f=true;}}}if(_9e){_9c.push("childNodes");}if(_9f){_9c.push("text()");}}for(i=0;i<_9b.attributes.length;i++){_9c.push("@"+_9b.attributes[i].nodeName);}if(this._attributeMap){for(var key in this._attributeMap){i=key.indexOf(".");if(i>0){var _a2=key.substring(0,i);if(_a2===_9b.nodeName){_9c.push(key.substring(i+1));}}else{_9c.push(key);}}}return _9c;},hasAttribute:function(_a3,_a4){return (this.getValue(_a3,_a4)!==undefined);},containsValue:function(_a5,_a6,_a7){var _a8=this.getValues(_a5,_a6);for(var i=0;i<_a8.length;i++){if((typeof _a7==="string")){if(_a8[i].toString&&_a8[i].toString()===_a7){return true;}}else{if(_a8[i]===_a7){return true;}}}return false;},isItem:function(_a9){if(_a9&&_a9.element&&_a9.store&&_a9.store===this){return true;}return false;},isItemLoaded:function(_aa){return this.isItem(_aa);},loadItem:function(_ab){},getFeatures:function(){var _ac={"dojo.data.api.Read":true,"dojo.data.api.Write":true};if(!this.sendQuery||this.keyAttribute!==""){_ac["dojo.data.api.Identity"]=true;}return _ac;},getLabel:function(_ad){if((this.label!=="")&&this.isItem(_ad)){var _ae=this.getValue(_ad,this.label);if(_ae){return _ae.toString();}}return undefined;},getLabelAttributes:function(_af){if(this.label!==""){return [this.label];}return null;},_fetchItems:function(_b0,_b1,_b2){var url=this._getFetchUrl(_b0);if(!url){_b2(new Error("No URL specified."),_b0);return;}var _b3=(!this.sendQuery?_b0:{});var _b4=this;var _b5={url:url,handleAs:"xml",preventCache:_b4.urlPreventCache};var _b6=xhr.get(_b5);_b6.addCallback(function(_b7){var _b8=_b4._getItems(_b7,_b3);if(_b8&&_b8.length>0){_b1(_b8,_b0);}else{_b1([],_b0);}});_b6.addErrback(function(_b9){_b2(_b9,_b0);});},_getFetchUrl:function(_ba){if(!this.sendQuery){return this.url;}var _bb=_ba.query;if(!_bb){return this.url;}if(_81.isString(_bb)){return this.url+_bb;}var _bc="";for(var _bd in _bb){var _be=_bb[_bd];if(_be){if(_bc){_bc+="&";}_bc+=(_bd+"="+_be);}}if(!_bc){return this.url;}var _bf=this.url;if(_bf.indexOf("?")<0){_bf+="?";}else{_bf+="&";}return _bf+_bc;},_getItems:function(_c0,_c1){var _c2=null;if(_c1){_c2=_c1.query;}var _c3=[];var _c4=null;if(this.rootItem!==""){_c4=_84(this.rootItem,_c0);}else{_c4=_c0.documentElement.childNodes;}var _c5=_c1.queryOptions?_c1.queryOptions.deep:false;if(_c5){_c4=this._flattenNodes(_c4);}for(var i=0;i<_c4.length;i++){var _c6=_c4[i];if(_c6.nodeType!=1){continue;}var _c7=this._getItem(_c6);if(_c2){var _c8=_c1.queryOptions?_c1.queryOptions.ignoreCase:false;var _c9;var _ca=false;var j;var _cb=true;var _cc={};for(var key in _c2){_c9=_c2[key];if(typeof _c9==="string"){_cc[key]=_87.patternToRegExp(_c9,_c8);}else{if(_c9){_cc[key]=_c9;}}}for(var _cd in _c2){_cb=false;var _ce=this.getValues(_c7,_cd);for(j=0;j<_ce.length;j++){_c9=_ce[j];if(_c9){var _cf=_c2[_cd];if((typeof _c9)==="string"&&(_cc[_cd])){if((_c9.match(_cc[_cd]))!==null){_ca=true;}else{_ca=false;}}else{if((typeof _c9)==="object"){if(_c9.toString&&(_cc[_cd])){var _d0=_c9.toString();if((_d0.match(_cc[_cd]))!==null){_ca=true;}else{_ca=false;}}else{if(_cf==="*"||_cf===_c9){_ca=true;}else{_ca=false;}}}}}if(_ca){break;}}if(!_ca){break;}}if(_cb||_ca){_c3.push(_c7);}}else{_c3.push(_c7);}}_85.forEach(_c3,function(_d1){if(_d1.element.parentNode){_d1.element.parentNode.removeChild(_d1.element);}},this);return _c3;},_flattenNodes:function(_d2){var _d3=[];if(_d2){var i;for(i=0;i<_d2.length;i++){var _d4=_d2[i];_d3.push(_d4);if(_d4.childNodes&&_d4.childNodes.length>0){_d3=_d3.concat(this._flattenNodes(_d4.childNodes));}}}return _d3;},close:function(_d5){},newItem:function(_d6,_d7){_d6=(_d6||{});var _d8=_d6.tagName;if(!_d8){_d8=this.rootItem;if(_d8===""){return null;}}var _d9=this._getDocument();var _da=_d9.createElement(_d8);for(var _db in _d6){var _dc;if(_db==="tagName"){continue;}else{if(_db==="text()"){_dc=_d9.createTextNode(_d6[_db]);_da.appendChild(_dc);}else{_db=this._getAttribute(_d8,_db);if(_db.charAt(0)==="@"){var _dd=_db.substring(1);_da.setAttribute(_dd,_d6[_db]);}else{var _de=_d9.createElement(_db);_dc=_d9.createTextNode(_d6[_db]);_de.appendChild(_dc);_da.appendChild(_de);}}}}var _df=this._getItem(_da);this._newItems.push(_df);var _e0=null;if(_d7&&_d7.parent&&_d7.attribute){_e0={item:_d7.parent,attribute:_d7.attribute,oldValue:undefined};var _e1=this.getValues(_d7.parent,_d7.attribute);if(_e1&&_e1.length>0){var _e2=_e1.slice(0,_e1.length);if(_e1.length===1){_e0.oldValue=_e1[0];}else{_e0.oldValue=_e1.slice(0,_e1.length);}_e2.push(_df);this.setValues(_d7.parent,_d7.attribute,_e2);_e0.newValue=this.getValues(_d7.parent,_d7.attribute);}else{this.setValue(_d7.parent,_d7.attribute,_df);_e0.newValue=_df;}}return _df;},deleteItem:function(_e3){var _e4=_e3.element;if(_e4.parentNode){this._backupItem(_e3);_e4.parentNode.removeChild(_e4);return true;}this._forgetItem(_e3);this._deletedItems.push(_e3);return true;},setValue:function(_e5,_e6,_e7){if(_e6==="tagName"){return false;}this._backupItem(_e5);var _e8=_e5.element;var _e9;var _ea;if(_e6==="childNodes"){_e9=_e7.element;_e8.appendChild(_e9);}else{if(_e6==="text()"){while(_e8.firstChild){_e8.removeChild(_e8.firstChild);}_ea=this._getDocument(_e8).createTextNode(_e7);_e8.appendChild(_ea);}else{_e6=this._getAttribute(_e8.nodeName,_e6);if(_e6.charAt(0)==="@"){var _eb=_e6.substring(1);_e8.setAttribute(_eb,_e7);}else{for(var i=0;i<_e8.childNodes.length;i++){var _ec=_e8.childNodes[i];if(_ec.nodeType===1&&_ec.nodeName===_e6){_e9=_ec;break;}}var _ed=this._getDocument(_e8);if(_e9){while(_e9.firstChild){_e9.removeChild(_e9.firstChild);}}else{_e9=_ed.createElement(_e6);_e8.appendChild(_e9);}_ea=_ed.createTextNode(_e7);_e9.appendChild(_ea);}}}return true;},setValues:function(_ee,_ef,_f0){if(_ef==="tagName"){return false;}this._backupItem(_ee);var _f1=_ee.element;var i;var _f2;var _f3;if(_ef==="childNodes"){while(_f1.firstChild){_f1.removeChild(_f1.firstChild);}for(i=0;i<_f0.length;i++){_f2=_f0[i].element;_f1.appendChild(_f2);}}else{if(_ef==="text()"){while(_f1.firstChild){_f1.removeChild(_f1.firstChild);}var _f4="";for(i=0;i<_f0.length;i++){_f4+=_f0[i];}_f3=this._getDocument(_f1).createTextNode(_f4);_f1.appendChild(_f3);}else{_ef=this._getAttribute(_f1.nodeName,_ef);if(_ef.charAt(0)==="@"){var _f5=_ef.substring(1);_f1.setAttribute(_f5,_f0[0]);}else{for(i=_f1.childNodes.length-1;i>=0;i--){var _f6=_f1.childNodes[i];if(_f6.nodeType===1&&_f6.nodeName===_ef){_f1.removeChild(_f6);}}var _f7=this._getDocument(_f1);for(i=0;i<_f0.length;i++){_f2=_f7.createElement(_ef);_f3=_f7.createTextNode(_f0[i]);_f2.appendChild(_f3);_f1.appendChild(_f2);}}}}return true;},unsetAttribute:function(_f8,_f9){if(_f9==="tagName"){return false;}this._backupItem(_f8);var _fa=_f8.element;if(_f9==="childNodes"||_f9==="text()"){while(_fa.firstChild){_fa.removeChild(_fa.firstChild);}}else{_f9=this._getAttribute(_fa.nodeName,_f9);if(_f9.charAt(0)==="@"){var _fb=_f9.substring(1);_fa.removeAttribute(_fb);}else{for(var i=_fa.childNodes.length-1;i>=0;i--){var _fc=_fa.childNodes[i];if(_fc.nodeType===1&&_fc.nodeName===_f9){_fa.removeChild(_fc);}}}}return true;},save:function(_fd){if(!_fd){_fd={};}var i;for(i=0;i<this._modifiedItems.length;i++){this._saveItem(this._modifiedItems[i],_fd,"PUT");}for(i=0;i<this._newItems.length;i++){var _fe=this._newItems[i];if(_fe.element.parentNode){this._newItems.splice(i,1);i--;continue;}this._saveItem(this._newItems[i],_fd,"POST");}for(i=0;i<this._deletedItems.length;i++){this._saveItem(this._deletedItems[i],_fd,"DELETE");}},revert:function(){this._newItems=[];this._restoreItems(this._deletedItems);this._deletedItems=[];this._restoreItems(this._modifiedItems);this._modifiedItems=[];return true;},isDirty:function(_ff){if(_ff){var _100=this._getRootElement(_ff.element);return (this._getItemIndex(this._newItems,_100)>=0||this._getItemIndex(this._deletedItems,_100)>=0||this._getItemIndex(this._modifiedItems,_100)>=0);}else{return (this._newItems.length>0||this._deletedItems.length>0||this._modifiedItems.length>0);}},_saveItem:function(item,_101,_102){var url;var _103;if(_102==="PUT"){url=this._getPutUrl(item);}else{if(_102==="DELETE"){url=this._getDeleteUrl(item);}else{url=this._getPostUrl(item);}}if(!url){if(_101.onError){_103=_101.scope||_86.global;_101.onError.call(_103,new Error("No URL for saving content: "+this._getPostContent(item)));}return;}var _104={url:url,method:(_102||"POST"),contentType:"text/xml",handleAs:"xml"};var _105;if(_102==="PUT"){_104.putData=this._getPutContent(item);_105=xhr.put(_104);}else{if(_102==="DELETE"){_105=xhr.del(_104);}else{_104.postData=this._getPostContent(item);_105=xhr.post(_104);}}_103=(_101.scope||_86.global);var self=this;_105.addCallback(function(data){self._forgetItem(item);if(_101.onComplete){_101.onComplete.call(_103);}});_105.addErrback(function(_106){if(_101.onError){_101.onError.call(_103,_106);}});},_getPostUrl:function(item){return this.url;},_getPutUrl:function(item){return this.url;},_getDeleteUrl:function(item){var url=this.url;if(item&&this.keyAttribute!==""){var _107=this.getValue(item,this.keyAttribute);if(_107){var key=this.keyAttribute.charAt(0)==="@"?this.keyAttribute.substring(1):this.keyAttribute;url+=url.indexOf("?")<0?"?":"&";url+=key+"="+_107;}}return url;},_getPostContent:function(item){return "<?xml version='1.0'?>"+_88.innerXML(item.element);},_getPutContent:function(item){return "<?xml version='1.0'?>"+_88.innerXML(item.element);},_getAttribute:function(_108,_109){if(this._attributeMap){var key=_108+"."+_109;var _10a=this._attributeMap[key];if(_10a){_109=_10a;}else{_10a=this._attributeMap[_109];if(_10a){_109=_10a;}}}return _109;},_getItem:function(_10b){try{var q=null;if(this.keyAttribute===""){q=this._getXPath(_10b);}return new _89(_10b,this,q);}catch(e){}return null;},_getItemIndex:function(_10c,_10d){for(var i=0;i<_10c.length;i++){if(_10c[i].element===_10d){return i;}}return -1;},_backupItem:function(item){var _10e=this._getRootElement(item.element);if(this._getItemIndex(this._newItems,_10e)>=0||this._getItemIndex(this._modifiedItems,_10e)>=0){return;}if(_10e!=item.element){item=this._getItem(_10e);}item._backup=_10e.cloneNode(true);this._modifiedItems.push(item);},_restoreItems:function(_10f){_85.forEach(_10f,function(item){if(item._backup){item.element=item._backup;item._backup=null;}},this);},_forgetItem:function(item){var _110=item.element;var _111=this._getItemIndex(this._newItems,_110);if(_111>=0){this._newItems.splice(_111,1);}_111=this._getItemIndex(this._deletedItems,_110);if(_111>=0){this._deletedItems.splice(_111,1);}_111=this._getItemIndex(this._modifiedItems,_110);if(_111>=0){this._modifiedItems.splice(_111,1);}},_getDocument:function(_112){if(_112){return _112.ownerDocument;}else{if(!this._document){return _88.parse();}}return null;},_getRootElement:function(_113){while(_113.parentNode){_113=_113.parentNode;}return _113;},_getXPath:function(_114){var _115=null;if(!this.sendQuery){var node=_114;_115="";while(node&&node!=_114.ownerDocument){var pos=0;var _116=node;var name=node.nodeName;while(_116){_116=_116.previousSibling;if(_116&&_116.nodeName===name){pos++;}}var temp="/"+name+"["+pos+"]";if(_115){_115=temp+_115;}else{_115=temp;}node=node.parentNode;}}return _115;},getIdentity:function(item){if(!this.isItem(item)){throw new Error("dojox.data.XmlStore: Object supplied to getIdentity is not an item");}else{var id=null;if(this.sendQuery&&this.keyAttribute!==""){id=this.getValue(item,this.keyAttribute).toString();}else{if(!this.serverQuery){if(this.keyAttribute!==""){id=this.getValue(item,this.keyAttribute).toString();}else{id=item.q;}}}return id;}},getIdentityAttributes:function(item){if(!this.isItem(item)){throw new Error("dojox.data.XmlStore: Object supplied to getIdentity is not an item");}else{if(this.keyAttribute!==""){return [this.keyAttribute];}else{return null;}}},fetchItemByIdentity:function(_117){var _118=null;var _119=null;var self=this;var url=null;var _11a=null;var _11b=null;if(!self.sendQuery){_118=function(data){if(data){if(self.keyAttribute!==""){var _11c={};_11c.query={};_11c.query[self.keyAttribute]=_117.identity;_11c.queryOptions={deep:true};var _11d=self._getItems(data,_11c);_119=_117.scope||_86.global;if(_11d.length===1){if(_117.onItem){_117.onItem.call(_119,_11d[0]);}}else{if(_11d.length===0){if(_117.onItem){_117.onItem.call(_119,null);}}else{if(_117.onError){_117.onError.call(_119,new Error("Items array size for identity lookup greater than 1, invalid keyAttribute."));}}}}else{var _11e=_117.identity.split("/");var i;var node=data;for(i=0;i<_11e.length;i++){if(_11e[i]&&_11e[i]!==""){var _11f=_11e[i];_11f=_11f.substring(0,_11f.length-1);var vals=_11f.split("[");var tag=vals[0];var _120=parseInt(vals[1],10);var pos=0;if(node){var _121=node.childNodes;if(_121){var j;var _122=null;for(j=0;j<_121.length;j++){var _123=_121[j];if(_123.nodeName===tag){if(pos<_120){pos++;}else{_122=_123;break;}}}if(_122){node=_122;}else{node=null;}}else{node=null;}}else{break;}}}var item=null;if(node){item=self._getItem(node);if(item.element.parentNode){item.element.parentNode.removeChild(item.element);}}if(_117.onItem){_119=_117.scope||_86.global;_117.onItem.call(_119,item);}}}};url=this._getFetchUrl(null);_11a={url:url,handleAs:"xml",preventCache:self.urlPreventCache};_11b=xhr.get(_11a);_11b.addCallback(_118);if(_117.onError){_11b.addErrback(function(_124){var s=_117.scope||_86.global;_117.onError.call(s,_124);});}}else{if(self.keyAttribute!==""){var _125={query:{}};_125.query[self.keyAttribute]=_117.identity;url=this._getFetchUrl(_125);_118=function(data){var item=null;if(data){var _126=self._getItems(data,{});if(_126.length===1){item=_126[0];}else{if(_117.onError){var _127=_117.scope||_86.global;_117.onError.call(_127,new Error("More than one item was returned from the server for the denoted identity"));}}}if(_117.onItem){_127=_117.scope||_86.global;_117.onItem.call(_127,item);}};_11a={url:url,handleAs:"xml",preventCache:self.urlPreventCache};_11b=xhr.get(_11a);_11b.addCallback(_118);if(_117.onError){_11b.addErrback(function(_128){var s=_117.scope||_86.global;_117.onError.call(s,_128);});}}else{if(_117.onError){var s=_117.scope||_86.global;_117.onError.call(s,new Error("XmlStore is not told that the server to provides identity support.  No keyAttribute specified."));}}}}});_81.extend(_8a,_83);return _8a;});},"dojo/_base/query":function(){define("dojo/_base/query",["./kernel","../query","./NodeList"],function(dojo){return dojo.query;});},"*noref":1}});define("dojox/_dojox_data_basic",[],1);require(["dojox/data/XmlStore","dojox/data/CsvStore"]);
}catch(e){console.log("Module 'dojox_data_basic_17': ",e);}
try{/*
	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
*/

//>>built
require({cache:{"dojo/uacss":function(){define("dojo/uacss",["./dom-geometry","./_base/lang","./ready","./_base/sniff","./_base/window"],function(_1,_2,_3,_4,_5){var _6=_5.doc.documentElement,ie=_4("ie"),_7=_4("opera"),_8=Math.floor,ff=_4("ff"),_9=_1.boxModel.replace(/-/,""),_a={"dj_quirks":_4("quirks"),"dj_opera":_7,"dj_khtml":_4("khtml"),"dj_webkit":_4("webkit"),"dj_safari":_4("safari"),"dj_chrome":_4("chrome"),"dj_gecko":_4("mozilla")};if(ie){_a["dj_ie"]=true;_a["dj_ie"+_8(ie)]=true;_a["dj_iequirks"]=_4("quirks");}if(ff){_a["dj_ff"+_8(ff)]=true;}_a["dj_"+_9]=true;var _b="";for(var _c in _a){if(_a[_c]){_b+=_c+" ";}}_6.className=_2.trim(_6.className+" "+_b);_3(90,function(){if(!_1.isBodyLtr()){var _d="dj_rtl dijitRtl "+_b.replace(/ /g,"-rtl ");_6.className=_2.trim(_6.className+" "+_d+"dj_rtl dijitRtl "+_b.replace(/ /g,"-rtl "));}});return _4;});},"dojo/text":function(){define("dojo/text",["./_base/kernel","require","./has","./_base/xhr"],function(_e,_f,has,xhr){var _10;if(1){_10=function(url,_11,_12){xhr("GET",{url:url,sync:!!_11,load:_12});};}else{if(_f.getText){_10=_f.getText;}else{console.error("dojo/text plugin failed to load because loader does not support getText");}}var _13={},_14=function(_15){if(_15){_15=_15.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _16=_15.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_16){_15=_16[1];}}else{_15="";}return _15;},_17={},_18={},_19={dynamic:true,normalize:function(id,_1a){var _1b=id.split("!"),url=_1b[0];return (/^\./.test(url)?_1a(url):url)+(_1b[1]?"!"+_1b[1]:"");},load:function(id,_1c,_1d){var _1e=id.split("!"),_1f=_1e.length>1,_20=_1e[0],url=_1c.toUrl(_1e[0]),_21=_17,_22=function(_23){_1d(_1f?_14(_23):_23);};if(_20 in _13){_21=_13[_20];}else{if(url in _1c.cache){_21=_1c.cache[url];}else{if(url in _13){_21=_13[url];}}}if(_21===_17){if(_18[url]){_18[url].push(_22);}else{var _24=_18[url]=[_22];_10(url,!_1c.async,function(_25){_13[_20]=_13[url]=_25;for(var i=0;i<_24.length;){_24[i++](_25);}delete _18[url];});}}else{_22(_21);}}};_e.cache=function(_26,url,_27){var key;if(typeof _26=="string"){if(/\//.test(_26)){key=_26;_27=url;}else{key=_f.toUrl(_26.replace(/\./g,"/")+(url?("/"+url):""));}}else{key=_26+"";_27=url;}var val=(_27!=undefined&&typeof _27!="string")?_27.value:_27,_28=_27&&_27.sanitize;if(typeof val=="string"){_13[key]=val;return _28?_14(val):val;}else{if(val===null){delete _13[key];return null;}else{if(!(key in _13)){_10(key,true,function(_29){_13[key]=_29;});}return _28?_14(_13[key]):_13[key];}}};return _19;});},"url:dijit/templates/MenuBar.html":"<div class=\"dijitMenuBar dijitMenuPassive\" data-dojo-attach-point=\"containerNode\"  role=\"menubar\" tabIndex=\"${tabIndex}\" data-dojo-attach-event=\"onkeypress: _onKeyPress\"></div>\n","url:dijit/templates/CheckedMenuItem.html":"<tr class=\"dijitReset dijitMenuItem\" data-dojo-attach-point=\"focusNode\" role=\"menuitemcheckbox\" tabIndex=\"-1\"\n\t\tdata-dojo-attach-event=\"onmouseenter:_onHover,onmouseleave:_onUnhover,ondijitclick:_onClick\">\n\t<td class=\"dijitReset dijitMenuItemIconCell\" role=\"presentation\">\n\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitMenuItemIcon dijitCheckedMenuItemIcon\" data-dojo-attach-point=\"iconNode\"/>\n\t\t<span class=\"dijitCheckedMenuItemIconChar\">&#10003;</span>\n\t</td>\n\t<td class=\"dijitReset dijitMenuItemLabel\" colspan=\"2\" data-dojo-attach-point=\"containerNode,labelNode\"></td>\n\t<td class=\"dijitReset dijitMenuItemAccelKey\" style=\"display: none\" data-dojo-attach-point=\"accelKeyNode\"></td>\n\t<td class=\"dijitReset dijitMenuArrowCell\" role=\"presentation\">&#160;</td>\n</tr>\n","dijit/MenuBarItem":function(){require({cache:{"url:dijit/templates/MenuBarItem.html":"<div class=\"dijitReset dijitInline dijitMenuItem dijitMenuItemLabel\" data-dojo-attach-point=\"focusNode\" role=\"menuitem\" tabIndex=\"-1\"\n\t\tdata-dojo-attach-event=\"onmouseenter:_onHover,onmouseleave:_onUnhover,ondijitclick:_onClick\">\n\t<span data-dojo-attach-point=\"containerNode\"></span>\n</div>\n"}});define("dijit/MenuBarItem",["dojo/_base/declare","./MenuItem","dojo/text!./templates/MenuBarItem.html"],function(_2a,_2b,_2c){var _2d=_2a("dijit._MenuBarItemMixin",null,{templateString:_2c,_setIconClassAttr:null});var _2e=_2a("dijit.MenuBarItem",[_2b,_2d],{});_2e._MenuBarItemMixin=_2d;return _2e;});},"dijit/PopupMenuItem":function(){define("dijit/PopupMenuItem",["dojo/_base/declare","dojo/dom-style","dojo/query","dojo/_base/window","./registry","./MenuItem","./hccss"],function(_2f,_30,_31,win,_32,_33){return _2f("dijit.PopupMenuItem",_33,{_fillContent:function(){if(this.srcNodeRef){var _34=_31("*",this.srcNodeRef);this.inherited(arguments,[_34[0]]);this.dropDownContainer=this.srcNodeRef;}},startup:function(){if(this._started){return;}this.inherited(arguments);if(!this.popup){var _35=_31("[widgetId]",this.dropDownContainer)[0];this.popup=_32.byNode(_35);}win.body().appendChild(this.popup.domNode);this.popup.startup();this.popup.domNode.style.display="none";if(this.arrowWrapper){_30.set(this.arrowWrapper,"visibility","");}this.focusNode.setAttribute("aria-haspopup","true");},destroyDescendants:function(_36){if(this.popup){if(!this.popup._destroyed){this.popup.destroyRecursive(_36);}delete this.popup;}this.inherited(arguments);}});});},"dijit/PopupMenuBarItem":function(){define("dijit/PopupMenuBarItem",["dojo/_base/declare","./PopupMenuItem","./MenuBarItem"],function(_37,_38,_39){var _3a=_39._MenuBarItemMixin;return _37("dijit.PopupMenuBarItem",[_38,_3a],{});});},"url:dijit/templates/MenuSeparator.html":"<tr class=\"dijitMenuSeparator\">\n\t<td class=\"dijitMenuSeparatorIconCell\">\n\t\t<div class=\"dijitMenuSeparatorTop\"></div>\n\t\t<div class=\"dijitMenuSeparatorBottom\"></div>\n\t</td>\n\t<td colspan=\"3\" class=\"dijitMenuSeparatorLabelCell\">\n\t\t<div class=\"dijitMenuSeparatorTop dijitMenuSeparatorLabel\"></div>\n\t\t<div class=\"dijitMenuSeparatorBottom\"></div>\n\t</td>\n</tr>","dojo/Stateful":function(){define("dojo/Stateful",["./_base/declare","./_base/lang","./_base/array"],function(_3b,_3c,_3d){return _3b("dojo.Stateful",null,{postscript:function(_3e){if(_3e){_3c.mixin(this,_3e);}},get:function(_3f){return this[_3f];},set:function(_40,_41){if(typeof _40==="object"){for(var x in _40){if(_40.hasOwnProperty(x)&&x!="_watchCallbacks"){this.set(x,_40[x]);}}return this;}var _42=this[_40];this[_40]=_41;if(this._watchCallbacks){this._watchCallbacks(_40,_42,_41);}return this;},watch:function(_43,_44){var _45=this._watchCallbacks;if(!_45){var _46=this;_45=this._watchCallbacks=function(_47,_48,_49,_4a){var _4b=function(_4c){if(_4c){_4c=_4c.slice();for(var i=0,l=_4c.length;i<l;i++){_4c[i].call(_46,_47,_48,_49);}}};_4b(_45["_"+_47]);if(!_4a){_4b(_45["*"]);}};}if(!_44&&typeof _43==="function"){_44=_43;_43="*";}else{_43="_"+_43;}var _4d=_45[_43];if(typeof _4d!=="object"){_4d=_45[_43]=[];}_4d.push(_44);return {unwatch:function(){_4d.splice(_3d.indexOf(_4d,_44),1);}};}});});},"dojo/touch":function(){define("dojo/touch",["./_base/kernel","./aspect","./dom","./on","./has","./mouse","./domReady","./_base/window"],function(_4e,_4f,dom,on,has,_50,_51,win){var _52=has("touch");var _53=false;if(has("ios")){var ua=navigator.userAgent;var v=ua.match(/OS ([\d_]+)/)?RegExp.$1:"1";var os=parseFloat(v.replace(/_/,".").replace(/_/g,""));_53=os<5;}var _54;function _55(_56,_57){if(_52){return function(_58,_59){var _5a=on(_58,_57,_59),_5b=on(_58,_56,function(evt){if(!_54||(new Date()).getTime()>_54+1000){_59.call(this,evt);}});return {remove:function(){_5a.remove();_5b.remove();}};};}else{return function(_5c,_5d){return on(_5c,_56,_5d);};}};var _5e,_5f;if(_52){_51(function(){_5f=win.body();win.doc.addEventListener("touchstart",function(evt){_54=(new Date()).getTime();var _60=_5f;_5f=evt.target;on.emit(_60,"dojotouchout",{target:_60,relatedTarget:_5f,bubbles:true});on.emit(_5f,"dojotouchover",{target:_5f,relatedTarget:_60,bubbles:true});},true);on(win.doc,"touchmove",function(evt){_54=(new Date()).getTime();var _61=win.doc.elementFromPoint(evt.pageX-(_53?0:win.global.pageXOffset),evt.pageY-(_53?0:win.global.pageYOffset));if(_61&&_5f!==_61){on.emit(_5f,"dojotouchout",{target:_5f,relatedTarget:_61,bubbles:true});on.emit(_61,"dojotouchover",{target:_61,relatedTarget:_5f,bubbles:true});_5f=_61;}});});_5e=function(_62,_63){return on(win.doc,"touchmove",function(evt){if(_62===win.doc||dom.isDescendant(_5f,_62)){evt.target=_5f;_63.call(this,evt);}});};}var _64={press:_55("mousedown","touchstart"),move:_55("mousemove",_5e),release:_55("mouseup","touchend"),cancel:_55(_50.leave,"touchcancel"),over:_55("mouseover","dojotouchover"),out:_55("mouseout","dojotouchout"),enter:_50._eventHandler(_55("mouseover","dojotouchover")),leave:_50._eventHandler(_55("mouseout","dojotouchout"))};1&&(_4e.touch=_64);return _64;});},"dojo/string":function(){define("dojo/string",["./_base/kernel","./_base/lang"],function(_65,_66){_66.getObject("string",true,_65);_65.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("");};_65.string.pad=function(_67,_68,ch,end){if(!ch){ch="0";}var out=String(_67),pad=_65.string.rep(ch,Math.ceil((_68-out.length)/ch.length));return end?out+pad:pad+out;};_65.string.substitute=function(_69,map,_6a,_6b){_6b=_6b||_65.global;_6a=_6a?_66.hitch(_6b,_6a):function(v){return v;};return _69.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_6c,key,_6d){var _6e=_66.getObject(key,false,map);if(_6d){_6e=_66.getObject(_6d,false,_6b).call(_6b,_6e,key);}return _6a(_6e,key).toString();});};_65.string.trim=String.prototype.trim?_66.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;};return _65.string;});},"dijit/_KeyNavContainer":function(){define("dijit/_KeyNavContainer",["dojo/_base/kernel","./_Container","./_FocusMixin","dojo/_base/array","dojo/keys","dojo/_base/declare","dojo/_base/event","dojo/dom-attr","dojo/_base/lang"],function(_6f,_70,_71,_72,_73,_74,_75,_76,_77){return _74("dijit._KeyNavContainer",[_71,_70],{tabIndex:"0",connectKeyNavHandlers:function(_78,_79){var _7a=(this._keyNavCodes={});var _7b=_77.hitch(this,"focusPrev");var _7c=_77.hitch(this,"focusNext");_72.forEach(_78,function(_7d){_7a[_7d]=_7b;});_72.forEach(_79,function(_7e){_7a[_7e]=_7c;});_7a[_73.HOME]=_77.hitch(this,"focusFirstChild");_7a[_73.END]=_77.hitch(this,"focusLastChild");this.connect(this.domNode,"onkeypress","_onContainerKeypress");this.connect(this.domNode,"onfocus","_onContainerFocus");},startupKeyNavChildren:function(){_6f.deprecated("startupKeyNavChildren() call no longer needed","","2.0");},startup:function(){this.inherited(arguments);_72.forEach(this.getChildren(),_77.hitch(this,"_startupChild"));},addChild:function(_7f,_80){this.inherited(arguments);this._startupChild(_7f);},focus:function(){this.focusFirstChild();},focusFirstChild:function(){this.focusChild(this._getFirstFocusableChild());},focusLastChild:function(){this.focusChild(this._getLastFocusableChild());},focusNext:function(){this.focusChild(this._getNextFocusableChild(this.focusedChild,1));},focusPrev:function(){this.focusChild(this._getNextFocusableChild(this.focusedChild,-1),true);},focusChild:function(_81,_82){if(!_81){return;}if(this.focusedChild&&_81!==this.focusedChild){this._onChildBlur(this.focusedChild);}_81.set("tabIndex",this.tabIndex);_81.focus(_82?"end":"start");this._set("focusedChild",_81);},_startupChild:function(_83){_83.set("tabIndex","-1");this.connect(_83,"_onFocus",function(){_83.set("tabIndex",this.tabIndex);});this.connect(_83,"_onBlur",function(){_83.set("tabIndex","-1");});},_onContainerFocus:function(evt){if(evt.target!==this.domNode||this.focusedChild){return;}this.focusFirstChild();_76.set(this.domNode,"tabIndex","-1");},_onBlur:function(evt){if(this.tabIndex){_76.set(this.domNode,"tabIndex",this.tabIndex);}this.focusedChild=null;this.inherited(arguments);},_onContainerKeypress:function(evt){if(evt.ctrlKey||evt.altKey){return;}var _84=this._keyNavCodes[evt.charOrCode];if(_84){_84();_75.stop(evt);}},_onChildBlur:function(){},_getFirstFocusableChild:function(){return this._getNextFocusableChild(null,1);},_getLastFocusableChild:function(){return this._getNextFocusableChild(null,-1);},_getNextFocusableChild:function(_85,dir){if(_85){_85=this._getSiblingOfChild(_85,dir);}var _86=this.getChildren();for(var i=0;i<_86.length;i++){if(!_85){_85=_86[(dir>0)?0:(_86.length-1)];}if(_85.isFocusable()){return _85;}_85=this._getSiblingOfChild(_85,dir);}return null;}});});},"dijit/CheckedMenuItem":function(){require({cache:{"url:dijit/templates/CheckedMenuItem.html":"<tr class=\"dijitReset dijitMenuItem\" data-dojo-attach-point=\"focusNode\" role=\"menuitemcheckbox\" tabIndex=\"-1\"\n\t\tdata-dojo-attach-event=\"onmouseenter:_onHover,onmouseleave:_onUnhover,ondijitclick:_onClick\">\n\t<td class=\"dijitReset dijitMenuItemIconCell\" role=\"presentation\">\n\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitMenuItemIcon dijitCheckedMenuItemIcon\" data-dojo-attach-point=\"iconNode\"/>\n\t\t<span class=\"dijitCheckedMenuItemIconChar\">&#10003;</span>\n\t</td>\n\t<td class=\"dijitReset dijitMenuItemLabel\" colspan=\"2\" data-dojo-attach-point=\"containerNode,labelNode\"></td>\n\t<td class=\"dijitReset dijitMenuItemAccelKey\" style=\"display: none\" data-dojo-attach-point=\"accelKeyNode\"></td>\n\t<td class=\"dijitReset dijitMenuArrowCell\" role=\"presentation\">&#160;</td>\n</tr>\n"}});define("dijit/CheckedMenuItem",["dojo/_base/declare","dojo/dom-class","./MenuItem","dojo/text!./templates/CheckedMenuItem.html","./hccss"],function(_87,_88,_89,_8a){return _87("dijit.CheckedMenuItem",_89,{templateString:_8a,checked:false,_setCheckedAttr:function(_8b){_88.toggle(this.domNode,"dijitCheckedMenuItemChecked",_8b);this.domNode.setAttribute("aria-checked",_8b);this._set("checked",_8b);},iconClass:"",onChange:function(){},_onClick:function(e){if(!this.disabled){this.set("checked",!this.checked);this.onChange(this.checked);}this.inherited(arguments);}});});},"dijit/Menu":function(){define("dijit/Menu",["require","dojo/_base/array","dojo/_base/declare","dojo/_base/event","dojo/dom","dojo/dom-attr","dojo/dom-geometry","dojo/dom-style","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/on","dojo/_base/sniff","dojo/_base/window","dojo/window","./popup","./DropDownMenu","dojo/ready"],function(_8c,_8d,_8e,_8f,dom,_90,_91,_92,_93,_94,_95,on,has,win,_96,pm,_97,_98){if(!_93.isAsync){_98(0,function(){var _99=["dijit/MenuItem","dijit/PopupMenuItem","dijit/CheckedMenuItem","dijit/MenuSeparator"];_8c(_99);});}return _8e("dijit.Menu",_97,{constructor:function(){this._bindings=[];},targetNodeIds:[],contextMenuForWindow:false,leftClickToOpen:false,refocus:true,postCreate:function(){if(this.contextMenuForWindow){this.bindDomNode(win.body());}else{_8d.forEach(this.targetNodeIds,this.bindDomNode,this);}this.inherited(arguments);},_iframeContentWindow:function(_9a){return _96.get(this._iframeContentDocument(_9a))||this._iframeContentDocument(_9a)["__parent__"]||(_9a.name&&win.doc.frames[_9a.name])||null;},_iframeContentDocument:function(_9b){return _9b.contentDocument||(_9b.contentWindow&&_9b.contentWindow.document)||(_9b.name&&win.doc.frames[_9b.name]&&win.doc.frames[_9b.name].document)||null;},bindDomNode:function(_9c){_9c=dom.byId(_9c);var cn;if(_9c.tagName.toLowerCase()=="iframe"){var _9d=_9c,_9e=this._iframeContentWindow(_9d);cn=win.withGlobal(_9e,win.body);}else{cn=(_9c==win.body()?win.doc.documentElement:_9c);}var _9f={node:_9c,iframe:_9d};_90.set(_9c,"_dijitMenu"+this.id,this._bindings.push(_9f));var _a0=_95.hitch(this,function(cn){return [on(cn,this.leftClickToOpen?"click":"contextmenu",_95.hitch(this,function(evt){_8f.stop(evt);this._scheduleOpen(evt.target,_9d,{x:evt.pageX,y:evt.pageY});})),on(cn,"keydown",_95.hitch(this,function(evt){if(evt.shiftKey&&evt.keyCode==_94.F10){_8f.stop(evt);this._scheduleOpen(evt.target,_9d);}}))];});_9f.connects=cn?_a0(cn):[];if(_9d){_9f.onloadHandler=_95.hitch(this,function(){var _a1=this._iframeContentWindow(_9d);cn=win.withGlobal(_a1,win.body);_9f.connects=_a0(cn);});if(_9d.addEventListener){_9d.addEventListener("load",_9f.onloadHandler,false);}else{_9d.attachEvent("onload",_9f.onloadHandler);}}},unBindDomNode:function(_a2){var _a3;try{_a3=dom.byId(_a2);}catch(e){return;}var _a4="_dijitMenu"+this.id;if(_a3&&_90.has(_a3,_a4)){var bid=_90.get(_a3,_a4)-1,b=this._bindings[bid],h;while(h=b.connects.pop()){h.remove();}var _a5=b.iframe;if(_a5){if(_a5.removeEventListener){_a5.removeEventListener("load",b.onloadHandler,false);}else{_a5.detachEvent("onload",b.onloadHandler);}}_90.remove(_a3,_a4);delete this._bindings[bid];}},_scheduleOpen:function(_a6,_a7,_a8){if(!this._openTimer){this._openTimer=setTimeout(_95.hitch(this,function(){delete this._openTimer;this._openMyself({target:_a6,iframe:_a7,coords:_a8});}),1);}},_openMyself:function(_a9){var _aa=_a9.target,_ab=_a9.iframe,_ac=_a9.coords;if(_ac){if(_ab){var ifc=_91.position(_ab,true),_ad=this._iframeContentWindow(_ab),_ae=win.withGlobal(_ad,"_docScroll",dojo);var cs=_92.getComputedStyle(_ab),tp=_92.toPixelValue,_af=(has("ie")&&has("quirks")?0:tp(_ab,cs.paddingLeft))+(has("ie")&&has("quirks")?tp(_ab,cs.borderLeftWidth):0),top=(has("ie")&&has("quirks")?0:tp(_ab,cs.paddingTop))+(has("ie")&&has("quirks")?tp(_ab,cs.borderTopWidth):0);_ac.x+=ifc.x+_af-_ae.x;_ac.y+=ifc.y+top-_ae.y;}}else{_ac=_91.position(_aa,true);_ac.x+=10;_ac.y+=10;}var _b0=this;var _b1=this._focusManager.get("prevNode");var _b2=this._focusManager.get("curNode");var _b3=!_b2||(dom.isDescendant(_b2,this.domNode))?_b1:_b2;function _b4(){if(_b0.refocus&&_b3){_b3.focus();}pm.close(_b0);};pm.open({popup:this,x:_ac.x,y:_ac.y,onExecute:_b4,onCancel:_b4,orient:this.isLeftToRight()?"L":"R"});this.focus();this._onBlur=function(){this.inherited("_onBlur",arguments);pm.close(this);};},uninitialize:function(){_8d.forEach(this._bindings,function(b){if(b){this.unBindDomNode(b.node);}},this);this.inherited(arguments);}});});},"dijit/MenuSeparator":function(){require({cache:{"url:dijit/templates/MenuSeparator.html":"<tr class=\"dijitMenuSeparator\">\n\t<td class=\"dijitMenuSeparatorIconCell\">\n\t\t<div class=\"dijitMenuSeparatorTop\"></div>\n\t\t<div class=\"dijitMenuSeparatorBottom\"></div>\n\t</td>\n\t<td colspan=\"3\" class=\"dijitMenuSeparatorLabelCell\">\n\t\t<div class=\"dijitMenuSeparatorTop dijitMenuSeparatorLabel\"></div>\n\t\t<div class=\"dijitMenuSeparatorBottom\"></div>\n\t</td>\n</tr>"}});define("dijit/MenuSeparator",["dojo/_base/declare","dojo/dom","./_WidgetBase","./_TemplatedMixin","./_Contained","dojo/text!./templates/MenuSeparator.html"],function(_b5,dom,_b6,_b7,_b8,_b9){return _b5("dijit.MenuSeparator",[_b6,_b7,_b8],{templateString:_b9,buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.domNode,false);},isFocusable:function(){return false;}});});},"dijit/DropDownMenu":function(){require({cache:{"url:dijit/templates/Menu.html":"<table class=\"dijit dijitMenu dijitMenuPassive dijitReset dijitMenuTable\" role=\"menu\" tabIndex=\"${tabIndex}\" data-dojo-attach-event=\"onkeypress:_onKeyPress\" cellspacing=\"0\">\n\t<tbody class=\"dijitReset\" data-dojo-attach-point=\"containerNode\"></tbody>\n</table>\n"}});define("dijit/DropDownMenu",["dojo/_base/declare","dojo/_base/event","dojo/keys","dojo/text!./templates/Menu.html","./_OnDijitClickMixin","./_MenuBase"],function(_ba,_bb,_bc,_bd,_be,_bf){return _ba("dijit.DropDownMenu",[_bf,_be],{templateString:_bd,baseClass:"dijitMenu",postCreate:function(){var l=this.isLeftToRight();this._openSubMenuKey=l?_bc.RIGHT_ARROW:_bc.LEFT_ARROW;this._closeSubMenuKey=l?_bc.LEFT_ARROW:_bc.RIGHT_ARROW;this.connectKeyNavHandlers([_bc.UP_ARROW],[_bc.DOWN_ARROW]);},_onKeyPress:function(evt){if(evt.ctrlKey||evt.altKey){return;}switch(evt.charOrCode){case this._openSubMenuKey:this._moveToPopup(evt);_bb.stop(evt);break;case this._closeSubMenuKey:if(this.parentMenu){if(this.parentMenu._isMenuBar){this.parentMenu.focusPrev();}else{this.onCancel(false);}}else{_bb.stop(evt);}break;}}});});},"dojo/cache":function(){define("dojo/cache",["./_base/kernel","./text"],function(_c0,_c1){return _c0.cache;});},"url:dijit/templates/MenuItem.html":"<tr class=\"dijitReset dijitMenuItem\" data-dojo-attach-point=\"focusNode\" role=\"menuitem\" tabIndex=\"-1\"\n\t\tdata-dojo-attach-event=\"onmouseenter:_onHover,onmouseleave:_onUnhover,ondijitclick:_onClick\">\n\t<td class=\"dijitReset dijitMenuItemIconCell\" role=\"presentation\">\n\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitIcon dijitMenuItemIcon\" data-dojo-attach-point=\"iconNode\"/>\n\t</td>\n\t<td class=\"dijitReset dijitMenuItemLabel\" colspan=\"2\" data-dojo-attach-point=\"containerNode\"></td>\n\t<td class=\"dijitReset dijitMenuItemAccelKey\" style=\"display: none\" data-dojo-attach-point=\"accelKeyNode\"></td>\n\t<td class=\"dijitReset dijitMenuArrowCell\" role=\"presentation\">\n\t\t<div data-dojo-attach-point=\"arrowWrapper\" style=\"visibility: hidden\">\n\t\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitMenuExpand\"/>\n\t\t\t<span class=\"dijitMenuExpandA11y\">+</span>\n\t\t</div>\n\t</td>\n</tr>\n","dijit/MenuItem":function(){require({cache:{"url:dijit/templates/MenuItem.html":"<tr class=\"dijitReset dijitMenuItem\" data-dojo-attach-point=\"focusNode\" role=\"menuitem\" tabIndex=\"-1\"\n\t\tdata-dojo-attach-event=\"onmouseenter:_onHover,onmouseleave:_onUnhover,ondijitclick:_onClick\">\n\t<td class=\"dijitReset dijitMenuItemIconCell\" role=\"presentation\">\n\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitIcon dijitMenuItemIcon\" data-dojo-attach-point=\"iconNode\"/>\n\t</td>\n\t<td class=\"dijitReset dijitMenuItemLabel\" colspan=\"2\" data-dojo-attach-point=\"containerNode\"></td>\n\t<td class=\"dijitReset dijitMenuItemAccelKey\" style=\"display: none\" data-dojo-attach-point=\"accelKeyNode\"></td>\n\t<td class=\"dijitReset dijitMenuArrowCell\" role=\"presentation\">\n\t\t<div data-dojo-attach-point=\"arrowWrapper\" style=\"visibility: hidden\">\n\t\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitMenuExpand\"/>\n\t\t\t<span class=\"dijitMenuExpandA11y\">+</span>\n\t\t</div>\n\t</td>\n</tr>\n"}});define("dijit/MenuItem",["dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/_base/event","dojo/_base/kernel","dojo/_base/sniff","./_Widget","./_TemplatedMixin","./_Contained","./_CssStateMixin","dojo/text!./templates/MenuItem.html"],function(_c2,dom,_c3,_c4,_c5,_c6,has,_c7,_c8,_c9,_ca,_cb){return _c2("dijit.MenuItem",[_c7,_c8,_c9,_ca],{templateString:_cb,baseClass:"dijitMenuItem",label:"",_setLabelAttr:{node:"containerNode",type:"innerHTML"},iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},accelKey:"",disabled:false,_fillContent:function(_cc){if(_cc&&!("label" in this.params)){this.set("label",_cc.innerHTML);}},buildRendering:function(){this.inherited(arguments);var _cd=this.id+"_text";_c3.set(this.containerNode,"id",_cd);if(this.accelKeyNode){_c3.set(this.accelKeyNode,"id",this.id+"_accel");_cd+=" "+this.id+"_accel";}this.domNode.setAttribute("aria-labelledby",_cd);dom.setSelectable(this.domNode,false);},_onHover:function(){this.getParent().onItemHover(this);},_onUnhover:function(){this.getParent().onItemUnhover(this);this._set("hovering",false);},_onClick:function(evt){this.getParent().onItemClick(this,evt);_c5.stop(evt);},onClick:function(){},focus:function(){try{if(has("ie")==8){this.containerNode.focus();}this.focusNode.focus();}catch(e){}},_onFocus:function(){this._setSelected(true);this.getParent()._onItemFocus(this);this.inherited(arguments);},_setSelected:function(_ce){_c4.toggle(this.domNode,"dijitMenuItemSelected",_ce);},setLabel:function(_cf){_c6.deprecated("dijit.MenuItem.setLabel() is deprecated.  Use set('label', ...) instead.","","2.0");this.set("label",_cf);},setDisabled:function(_d0){_c6.deprecated("dijit.Menu.setDisabled() is deprecated.  Use set('disabled', bool) instead.","","2.0");this.set("disabled",_d0);},_setDisabledAttr:function(_d1){this.focusNode.setAttribute("aria-disabled",_d1?"true":"false");this._set("disabled",_d1);},_setAccelKeyAttr:function(_d2){this.accelKeyNode.style.display=_d2?"":"none";this.accelKeyNode.innerHTML=_d2;_c3.set(this.containerNode,"colSpan",_d2?"1":"2");this._set("accelKey",_d2);}});});},"url:dijit/templates/Menu.html":"<table class=\"dijit dijitMenu dijitMenuPassive dijitReset dijitMenuTable\" role=\"menu\" tabIndex=\"${tabIndex}\" data-dojo-attach-event=\"onkeypress:_onKeyPress\" cellspacing=\"0\">\n\t<tbody class=\"dijitReset\" data-dojo-attach-point=\"containerNode\"></tbody>\n</table>\n","dijit/_MenuBase":function(){define("dijit/_MenuBase",["./popup","dojo/window","./_Widget","./_KeyNavContainer","./_TemplatedMixin","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/_base/lang","dojo/_base/array"],function(pm,_d3,_d4,_d5,_d6,_d7,dom,_d8,_d9,_da,_db){return _d7("dijit._MenuBase",[_d4,_d6,_d5],{parentMenu:null,popupDelay:500,onExecute:function(){},onCancel:function(){},_moveToPopup:function(evt){if(this.focusedChild&&this.focusedChild.popup&&!this.focusedChild.disabled){this.focusedChild._onClick(evt);}else{var _dc=this._getTopMenu();if(_dc&&_dc._isMenuBar){_dc.focusNext();}}},_onPopupHover:function(){if(this.currentPopup&&this.currentPopup._pendingClose_timer){var _dd=this.currentPopup.parentMenu;if(_dd.focusedChild){_dd.focusedChild._setSelected(false);}_dd.focusedChild=this.currentPopup.from_item;_dd.focusedChild._setSelected(true);this._stopPendingCloseTimer(this.currentPopup);}},onItemHover:function(_de){if(this.isActive){this.focusChild(_de);if(this.focusedChild.popup&&!this.focusedChild.disabled&&!this.hover_timer){this.hover_timer=setTimeout(_da.hitch(this,"_openPopup"),this.popupDelay);}}if(this.focusedChild){this.focusChild(_de);}this._hoveredChild=_de;},_onChildBlur:function(_df){this._stopPopupTimer();_df._setSelected(false);var _e0=_df.popup;if(_e0){this._stopPendingCloseTimer(_e0);_e0._pendingClose_timer=setTimeout(function(){_e0._pendingClose_timer=null;if(_e0.parentMenu){_e0.parentMenu.currentPopup=null;}pm.close(_e0);},this.popupDelay);}},onItemUnhover:function(_e1){if(this.isActive){this._stopPopupTimer();}if(this._hoveredChild==_e1){this._hoveredChild=null;}},_stopPopupTimer:function(){if(this.hover_timer){clearTimeout(this.hover_timer);this.hover_timer=null;}},_stopPendingCloseTimer:function(_e2){if(_e2._pendingClose_timer){clearTimeout(_e2._pendingClose_timer);_e2._pendingClose_timer=null;}},_stopFocusTimer:function(){if(this._focus_timer){clearTimeout(this._focus_timer);this._focus_timer=null;}},_getTopMenu:function(){for(var top=this;top.parentMenu;top=top.parentMenu){}return top;},onItemClick:function(_e3,evt){if(typeof this.isShowingNow=="undefined"){this._markActive();}this.focusChild(_e3);if(_e3.disabled){return false;}if(_e3.popup){this._openPopup();}else{this.onExecute();_e3.onClick(evt);}},_openPopup:function(){this._stopPopupTimer();var _e4=this.focusedChild;if(!_e4){return;}var _e5=_e4.popup;if(_e5.isShowingNow){return;}if(this.currentPopup){this._stopPendingCloseTimer(this.currentPopup);pm.close(this.currentPopup);}_e5.parentMenu=this;_e5.from_item=_e4;var _e6=this;pm.open({parent:this,popup:_e5,around:_e4.domNode,orient:this._orient||["after","before"],onCancel:function(){_e6.focusChild(_e4);_e6._cleanUp();_e4._setSelected(true);_e6.focusedChild=_e4;},onExecute:_da.hitch(this,"_cleanUp")});this.currentPopup=_e5;if(this.popupHoverHandle){this.disconnect(this.popupHoverHandle);}this.popupHoverHandle=this.connect(_e5.domNode,"onmouseenter","_onPopupHover");if(_e5.focus){_e5._focus_timer=setTimeout(_da.hitch(_e5,function(){this._focus_timer=null;this.focus();}),0);}},_markActive:function(){this.isActive=true;_d9.replace(this.domNode,"dijitMenuActive","dijitMenuPassive");},onOpen:function(){this.isShowingNow=true;this._markActive();},_markInactive:function(){this.isActive=false;_d9.replace(this.domNode,"dijitMenuPassive","dijitMenuActive");},onClose:function(){this._stopFocusTimer();this._markInactive();this.isShowingNow=false;this.parentMenu=null;},_closeChild:function(){this._stopPopupTimer();if(this.currentPopup){if(_db.indexOf(this._focusManager.activeStack,this.id)>=0){_d8.set(this.focusedChild.focusNode,"tabIndex",this.tabIndex);this.focusedChild.focusNode.focus();}pm.close(this.currentPopup);this.currentPopup=null;}if(this.focusedChild){this.focusedChild._setSelected(false);this.focusedChild._onUnhover();this.focusedChild=null;}},_onItemFocus:function(_e7){if(this._hoveredChild&&this._hoveredChild!=_e7){this._hoveredChild._onUnhover();}},_onBlur:function(){this._cleanUp();this.inherited(arguments);},_cleanUp:function(){this._closeChild();if(typeof this.isShowingNow=="undefined"){this._markInactive();}}});});},"dojo/window":function(){define("dojo/window",["./_base/lang","./_base/sniff","./_base/window","./dom","./dom-geometry","./dom-style","./dom-construct"],function(_e8,has,_e9,dom,_ea,_eb,_ec){has.add("rtl-adjust-position-for-verticalScrollBar",function(win,doc){var _ed=_e9.body(doc),_ee=_ec.create("div",{style:{overflow:"scroll",overflowX:"visible",direction:"rtl",visibility:"hidden",position:"absolute",left:"0",top:"0",width:"64px",height:"64px"}},_ed,"last"),div=_ec.create("div",{style:{overflow:"hidden",direction:"ltr"}},_ee,"last"),ret=_ea.position(div).x!=0;_ee.removeChild(div);_ed.removeChild(_ee);return ret;});has.add("position-fixed-support",function(win,doc){var _ef=_e9.body(doc),_f0=_ec.create("span",{style:{visibility:"hidden",position:"fixed",left:"1px",top:"1px"}},_ef,"last"),_f1=_ec.create("span",{style:{position:"fixed",left:"0",top:"0"}},_f0,"last"),ret=_ea.position(_f1).x!=_ea.position(_f0).x;_f0.removeChild(_f1);_ef.removeChild(_f0);return ret;});var _f2=_e8.getObject("dojo.window",true);_f2.getBox=function(){var _f3=(_e9.doc.compatMode=="BackCompat")?_e9.body():_e9.doc.documentElement,_f4=_ea.docScroll(),w,h;if(has("touch")){var _f5=_e9.doc.parentWindow||_e9.doc.defaultView;w=_f5.innerWidth||_f3.clientWidth;h=_f5.innerHeight||_f3.clientHeight;}else{w=_f3.clientWidth;h=_f3.clientHeight;}return {l:_f4.x,t:_f4.y,w:w,h:h};};_f2.get=function(doc){if(has("ie")<9&&_f2!==document.parentWindow){doc.parentWindow.execScript("document._parentWindow = window;","Javascript");var win=doc._parentWindow;doc._parentWindow=null;return win;}return doc.parentWindow||doc.defaultView;};_f2.scrollIntoView=function(_f6,pos){try{_f6=dom.byId(_f6);var doc=_f6.ownerDocument||_e9.doc,_f7=_e9.body(doc),_f8=doc.documentElement||_f7.parentNode,_f9=has("ie"),_fa=has("webkit");if(_f6==_f7||_f6==_f8){return;}if(!(has("mozilla")||_f9||_fa||has("opera")||has("trident"))&&("scrollIntoView" in _f6)){_f6.scrollIntoView(false);return;}var _fb=doc.compatMode=="BackCompat",_fc=Math.min(_f7.clientWidth||_f8.clientWidth,_f8.clientWidth||_f7.clientWidth),_fd=Math.min(_f7.clientHeight||_f8.clientHeight,_f8.clientHeight||_f7.clientHeight),_fe=(_fa||_fb)?_f7:_f8,_ff=pos||_ea.position(_f6),el=_f6.parentNode,_100=function(el){return (_f9<=6||(_f9==7&&_fb))?false:(has("position-fixed-support")&&(_eb.get(el,"position").toLowerCase()=="fixed"));},self=this,_101=function(el,x,y){if(el.tagName=="BODY"||el.tagName=="HTML"){self.get(el.ownerDocument).scrollBy(x,y);}else{x&&(el.scrollLeft+=x);y&&(el.scrollTop+=y);}};if(_100(_f6)){return;}while(el){if(el==_f7){el=_fe;}var _102=_ea.position(el),_103=_100(el),rtl=_eb.getComputedStyle(el).direction.toLowerCase()=="rtl";if(el==_fe){_102.w=_fc;_102.h=_fd;if(_fe==_f8&&(_f9||has("trident"))&&rtl){_102.x+=_fe.offsetWidth-_102.w;}if(_102.x<0||!_f9||_f9>=9||has("trident")){_102.x=0;}if(_102.y<0||!_f9||_f9>=9||has("trident")){_102.y=0;}}else{var pb=_ea.getPadBorderExtents(el);_102.w-=pb.w;_102.h-=pb.h;_102.x+=pb.l;_102.y+=pb.t;var _104=el.clientWidth,_105=_102.w-_104;if(_104>0&&_105>0){if(rtl&&has("rtl-adjust-position-for-verticalScrollBar")){_102.x+=_105;}_102.w=_104;}_104=el.clientHeight;_105=_102.h-_104;if(_104>0&&_105>0){_102.h=_104;}}if(_103){if(_102.y<0){_102.h+=_102.y;_102.y=0;}if(_102.x<0){_102.w+=_102.x;_102.x=0;}if(_102.y+_102.h>_fd){_102.h=_fd-_102.y;}if(_102.x+_102.w>_fc){_102.w=_fc-_102.x;}}var l=_ff.x-_102.x,t=_ff.y-_102.y,r=l+_ff.w-_102.w,bot=t+_ff.h-_102.h;var s,old;if(r*l>0&&(!!el.scrollLeft||el==_fe||el.scrollWidth>el.offsetHeight)){s=Math[l<0?"max":"min"](l,r);if(rtl&&((_f9==8&&!_fb)||_f9>=9||has("trident"))){s=-s;}old=el.scrollLeft;_101(el,s,0);s=el.scrollLeft-old;_ff.x-=s;}if(bot*t>0&&(!!el.scrollTop||el==_fe||el.scrollHeight>el.offsetHeight)){s=Math.ceil(Math[t<0?"max":"min"](t,bot));old=el.scrollTop;_101(el,0,s);s=el.scrollTop-old;_ff.y-=s;}el=(el!=_fe)&&!_103&&el.parentNode;}}catch(error){console.error("scrollIntoView: "+error);_f6.scrollIntoView(false);}};return _f2;});},"url:dijit/templates/MenuBarItem.html":"<div class=\"dijitReset dijitInline dijitMenuItem dijitMenuItemLabel\" data-dojo-attach-point=\"focusNode\" role=\"menuitem\" tabIndex=\"-1\"\n\t\tdata-dojo-attach-event=\"onmouseenter:_onHover,onmouseleave:_onUnhover,ondijitclick:_onClick\">\n\t<span data-dojo-attach-point=\"containerNode\"></span>\n</div>\n","dijit/MenuBar":function(){require({cache:{"url:dijit/templates/MenuBar.html":"<div class=\"dijitMenuBar dijitMenuPassive\" data-dojo-attach-point=\"containerNode\"  role=\"menubar\" tabIndex=\"${tabIndex}\" data-dojo-attach-event=\"onkeypress: _onKeyPress\"></div>\n"}});define("dijit/MenuBar",["dojo/_base/declare","dojo/_base/event","dojo/keys","./_MenuBase","dojo/text!./templates/MenuBar.html"],function(_106,_107,keys,_108,_109){return _106("dijit.MenuBar",_108,{templateString:_109,baseClass:"dijitMenuBar",_isMenuBar:true,postCreate:function(){var l=this.isLeftToRight();this.connectKeyNavHandlers(l?[keys.LEFT_ARROW]:[keys.RIGHT_ARROW],l?[keys.RIGHT_ARROW]:[keys.LEFT_ARROW]);this._orient=["below"];},focusChild:function(item){var _10a=this.focusedChild,_10b=_10a&&_10a.popup&&_10a.popup.isShowingNow;this.inherited(arguments);if(_10b&&item.popup&&!item.disabled){this._openPopup();}},_onKeyPress:function(evt){if(evt.ctrlKey||evt.altKey){return;}switch(evt.charOrCode){case keys.DOWN_ARROW:this._moveToPopup(evt);_107.stop(evt);}},onItemClick:function(item,evt){if(item.popup&&item.popup.isShowingNow){item.popup.onCancel();}else{this.inherited(arguments);}}});});},"*noref":1}});define("dijit/_dijit_menu",[],1);require(["dijit/Menu","dijit/MenuBar","dijit/MenuBarItem","dijit/MenuItem","dijit/MenuSeparator","dijit/CheckedMenuItem","dijit/PopupMenuItem","dijit/PopupMenuBarItem"]);
}catch(e){console.log("Module 'dijit_menu_17': ",e);}
try{/*
	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
*/

//>>built
require({cache:{"dojo/touch":function(){define("dojo/touch",["./_base/kernel","./aspect","./dom","./on","./has","./mouse","./domReady","./_base/window"],function(_1,_2,_3,on,_4,_5,_6,_7){var _8=_4("touch");var _9=false;if(_4("ios")){var ua=navigator.userAgent;var v=ua.match(/OS ([\d_]+)/)?RegExp.$1:"1";var os=parseFloat(v.replace(/_/,".").replace(/_/g,""));_9=os<5;}var _a;function _b(_c,_d){if(_8){return function(_e,_f){var _10=on(_e,_d,_f),_11=on(_e,_c,function(evt){if(!_a||(new Date()).getTime()>_a+1000){_f.call(this,evt);}});return {remove:function(){_10.remove();_11.remove();}};};}else{return function(_12,_13){return on(_12,_c,_13);};}};var _14,_15;if(_8){_6(function(){_15=_7.body();_7.doc.addEventListener("touchstart",function(evt){_a=(new Date()).getTime();var _16=_15;_15=evt.target;on.emit(_16,"dojotouchout",{target:_16,relatedTarget:_15,bubbles:true});on.emit(_15,"dojotouchover",{target:_15,relatedTarget:_16,bubbles:true});},true);on(_7.doc,"touchmove",function(evt){_a=(new Date()).getTime();var _17=_7.doc.elementFromPoint(evt.pageX-(_9?0:_7.global.pageXOffset),evt.pageY-(_9?0:_7.global.pageYOffset));if(_17&&_15!==_17){on.emit(_15,"dojotouchout",{target:_15,relatedTarget:_17,bubbles:true});on.emit(_17,"dojotouchover",{target:_17,relatedTarget:_15,bubbles:true});_15=_17;}});});_14=function(_18,_19){return on(_7.doc,"touchmove",function(evt){if(_18===_7.doc||_3.isDescendant(_15,_18)){evt.target=_15;_19.call(this,evt);}});};}var _1a={press:_b("mousedown","touchstart"),move:_b("mousemove",_14),release:_b("mouseup","touchend"),cancel:_b(_5.leave,"touchcancel"),over:_b("mouseover","dojotouchover"),out:_b("mouseout","dojotouchout"),enter:_5._eventHandler(_b("mouseover","dojotouchover")),leave:_5._eventHandler(_b("mouseout","dojotouchout"))};1&&(_1.touch=_1a);return _1a;});},"dojo/dnd/TimedMoveable":function(){define("dojo/dnd/TimedMoveable",["../main","./Moveable"],function(_1b){var _1c=_1b.dnd.Moveable.prototype.onMove;_1b.declare("dojo.dnd.TimedMoveable",_1b.dnd.Moveable,{timeout:40,constructor:function(_1d,_1e){if(!_1e){_1e={};}if(_1e.timeout&&typeof _1e.timeout=="number"&&_1e.timeout>=0){this.timeout=_1e.timeout;}},onMoveStop:function(_1f){if(_1f._timer){clearTimeout(_1f._timer);_1c.call(this,_1f,_1f._leftTop);}_1b.dnd.Moveable.prototype.onMoveStop.apply(this,arguments);},onMove:function(_20,_21){_20._leftTop=_21;if(!_20._timer){var _22=this;_20._timer=setTimeout(function(){_20._timer=null;_1c.call(_22,_20,_20._leftTop);},this.timeout);}}});return _1b.dnd.TimedMoveable;});},"dojo/dnd/Moveable":function(){define("dojo/dnd/Moveable",["../main","../Evented","../touch","./Mover"],function(_23,_24,_25){_23.declare("dojo.dnd.Moveable",[_24],{handle:"",delay:0,skip:false,constructor:function(_26,_27){this.node=_23.byId(_26);if(!_27){_27={};}this.handle=_27.handle?_23.byId(_27.handle):null;if(!this.handle){this.handle=this.node;}this.delay=_27.delay>0?_27.delay:0;this.skip=_27.skip;this.mover=_27.mover?_27.mover:_23.dnd.Mover;this.events=[_23.connect(this.handle,_25.press,this,"onMouseDown"),_23.connect(this.handle,"ondragstart",this,"onSelectStart"),_23.connect(this.handle,"onselectstart",this,"onSelectStart")];},markupFactory:function(_28,_29,_2a){return new _2a(_29,_28);},destroy:function(){_23.forEach(this.events,_23.disconnect);this.events=this.node=this.handle=null;},onMouseDown:function(e){if(this.skip&&_23.dnd.isFormElement(e)){return;}if(this.delay){this.events.push(_23.connect(this.handle,_25.move,this,"onMouseMove"),_23.connect(this.handle,_25.release,this,"onMouseUp"));this._lastX=e.pageX;this._lastY=e.pageY;}else{this.onDragDetected(e);}_23.stopEvent(e);},onMouseMove:function(e){if(Math.abs(e.pageX-this._lastX)>this.delay||Math.abs(e.pageY-this._lastY)>this.delay){this.onMouseUp(e);this.onDragDetected(e);}_23.stopEvent(e);},onMouseUp:function(e){for(var i=0;i<2;++i){_23.disconnect(this.events.pop());}_23.stopEvent(e);},onSelectStart:function(e){if(!this.skip||!_23.dnd.isFormElement(e)){_23.stopEvent(e);}},onDragDetected:function(e){new this.mover(this.node,e,this);},onMoveStart:function(_2b){_23.publish("/dnd/move/start",[_2b]);_23.addClass(_23.body(),"dojoMove");_23.addClass(this.node,"dojoMoveItem");},onMoveStop:function(_2c){_23.publish("/dnd/move/stop",[_2c]);_23.removeClass(_23.body(),"dojoMove");_23.removeClass(this.node,"dojoMoveItem");},onFirstMove:function(_2d,e){},onMove:function(_2e,_2f,e){this.onMoving(_2e,_2f);var s=_2e.node.style;s.left=_2f.l+"px";s.top=_2f.t+"px";this.onMoved(_2e,_2f);},onMoving:function(_30,_31){},onMoved:function(_32,_33){}});return _23.dnd.Moveable;});},"dojo/window":function(){define("dojo/window",["./_base/lang","./_base/sniff","./_base/window","./dom","./dom-geometry","./dom-style","./dom-construct"],function(_34,has,_35,dom,_36,_37,_38){has.add("rtl-adjust-position-for-verticalScrollBar",function(win,doc){var _39=_35.body(doc),_3a=_38.create("div",{style:{overflow:"scroll",overflowX:"visible",direction:"rtl",visibility:"hidden",position:"absolute",left:"0",top:"0",width:"64px",height:"64px"}},_39,"last"),div=_38.create("div",{style:{overflow:"hidden",direction:"ltr"}},_3a,"last"),ret=_36.position(div).x!=0;_3a.removeChild(div);_39.removeChild(_3a);return ret;});has.add("position-fixed-support",function(win,doc){var _3b=_35.body(doc),_3c=_38.create("span",{style:{visibility:"hidden",position:"fixed",left:"1px",top:"1px"}},_3b,"last"),_3d=_38.create("span",{style:{position:"fixed",left:"0",top:"0"}},_3c,"last"),ret=_36.position(_3d).x!=_36.position(_3c).x;_3c.removeChild(_3d);_3b.removeChild(_3c);return ret;});var _3e=_34.getObject("dojo.window",true);_3e.getBox=function(){var _3f=(_35.doc.compatMode=="BackCompat")?_35.body():_35.doc.documentElement,_40=_36.docScroll(),w,h;if(has("touch")){var _41=_35.doc.parentWindow||_35.doc.defaultView;w=_41.innerWidth||_3f.clientWidth;h=_41.innerHeight||_3f.clientHeight;}else{w=_3f.clientWidth;h=_3f.clientHeight;}return {l:_40.x,t:_40.y,w:w,h:h};};_3e.get=function(doc){if(has("ie")<9&&_3e!==document.parentWindow){doc.parentWindow.execScript("document._parentWindow = window;","Javascript");var win=doc._parentWindow;doc._parentWindow=null;return win;}return doc.parentWindow||doc.defaultView;};_3e.scrollIntoView=function(_42,pos){try{_42=dom.byId(_42);var doc=_42.ownerDocument||_35.doc,_43=_35.body(doc),_44=doc.documentElement||_43.parentNode,_45=has("ie"),_46=has("webkit");if(_42==_43||_42==_44){return;}if(!(has("mozilla")||_45||_46||has("opera")||has("trident"))&&("scrollIntoView" in _42)){_42.scrollIntoView(false);return;}var _47=doc.compatMode=="BackCompat",_48=Math.min(_43.clientWidth||_44.clientWidth,_44.clientWidth||_43.clientWidth),_49=Math.min(_43.clientHeight||_44.clientHeight,_44.clientHeight||_43.clientHeight),_4a=(_46||_47)?_43:_44,_4b=pos||_36.position(_42),el=_42.parentNode,_4c=function(el){return (_45<=6||(_45==7&&_47))?false:(has("position-fixed-support")&&(_37.get(el,"position").toLowerCase()=="fixed"));},_4d=this,_4e=function(el,x,y){if(el.tagName=="BODY"||el.tagName=="HTML"){_4d.get(el.ownerDocument).scrollBy(x,y);}else{x&&(el.scrollLeft+=x);y&&(el.scrollTop+=y);}};if(_4c(_42)){return;}while(el){if(el==_43){el=_4a;}var _4f=_36.position(el),_50=_4c(el),rtl=_37.getComputedStyle(el).direction.toLowerCase()=="rtl";if(el==_4a){_4f.w=_48;_4f.h=_49;if(_4a==_44&&(_45||has("trident"))&&rtl){_4f.x+=_4a.offsetWidth-_4f.w;}if(_4f.x<0||!_45||_45>=9||has("trident")){_4f.x=0;}if(_4f.y<0||!_45||_45>=9||has("trident")){_4f.y=0;}}else{var pb=_36.getPadBorderExtents(el);_4f.w-=pb.w;_4f.h-=pb.h;_4f.x+=pb.l;_4f.y+=pb.t;var _51=el.clientWidth,_52=_4f.w-_51;if(_51>0&&_52>0){if(rtl&&has("rtl-adjust-position-for-verticalScrollBar")){_4f.x+=_52;}_4f.w=_51;}_51=el.clientHeight;_52=_4f.h-_51;if(_51>0&&_52>0){_4f.h=_51;}}if(_50){if(_4f.y<0){_4f.h+=_4f.y;_4f.y=0;}if(_4f.x<0){_4f.w+=_4f.x;_4f.x=0;}if(_4f.y+_4f.h>_49){_4f.h=_49-_4f.y;}if(_4f.x+_4f.w>_48){_4f.w=_48-_4f.x;}}var l=_4b.x-_4f.x,t=_4b.y-_4f.y,r=l+_4b.w-_4f.w,bot=t+_4b.h-_4f.h;var s,old;if(r*l>0&&(!!el.scrollLeft||el==_4a||el.scrollWidth>el.offsetHeight)){s=Math[l<0?"max":"min"](l,r);if(rtl&&((_45==8&&!_47)||_45>=9||has("trident"))){s=-s;}old=el.scrollLeft;_4e(el,s,0);s=el.scrollLeft-old;_4b.x-=s;}if(bot*t>0&&(!!el.scrollTop||el==_4a||el.scrollHeight>el.offsetHeight)){s=Math.ceil(Math[t<0?"max":"min"](t,bot));old=el.scrollTop;_4e(el,0,s);s=el.scrollTop-old;_4b.y-=s;}el=(el!=_4a)&&!_50&&el.parentNode;}}catch(error){console.error("scrollIntoView: "+error);_42.scrollIntoView(false);}};return _3e;});},"dojo/dnd/Mover":function(){define("dojo/dnd/Mover",["../main","../Evented","../touch","./common","./autoscroll"],function(_53,_54,_55){_53.declare("dojo.dnd.Mover",[_54],{constructor:function(_56,e,_57){this.node=_53.byId(_56);this.marginBox={l:e.pageX,t:e.pageY};this.mouseButton=e.button;var h=(this.host=_57),d=_56.ownerDocument;this.events=[_53.connect(d,_55.move,this,"onFirstMove"),_53.connect(d,_55.move,this,"onMouseMove"),_53.connect(d,_55.release,this,"onMouseUp"),_53.connect(d,"ondragstart",_53.stopEvent),_53.connect(d.body,"onselectstart",_53.stopEvent)];if(h&&h.onMoveStart){h.onMoveStart(this);}},onMouseMove:function(e){_53.dnd.autoScroll(e);var m=this.marginBox;this.host.onMove(this,{l:m.l+e.pageX,t:m.t+e.pageY},e);_53.stopEvent(e);},onMouseUp:function(e){if(_53.isWebKit&&_53.isMac&&this.mouseButton==2?e.button==0:this.mouseButton==e.button){this.destroy();}_53.stopEvent(e);},onFirstMove:function(e){var s=this.node.style,l,t,h=this.host;switch(s.position){case "relative":case "absolute":l=Math.round(parseFloat(s.left))||0;t=Math.round(parseFloat(s.top))||0;break;default:s.position="absolute";var m=_53.marginBox(this.node);var b=_53.doc.body;var bs=_53.getComputedStyle(b);var bm=_53._getMarginBox(b,bs);var bc=_53._getContentBox(b,bs);l=m.l-(bc.l-bm.l);t=m.t-(bc.t-bm.t);break;}this.marginBox.l=l-this.marginBox.l;this.marginBox.t=t-this.marginBox.t;if(h&&h.onFirstMove){h.onFirstMove(this,e);}_53.disconnect(this.events.shift());},destroy:function(){_53.forEach(this.events,_53.disconnect);var h=this.host;if(h&&h.onMoveStop){h.onMoveStop(this);}this.events=this.node=this.host=null;}});return _53.dnd.Mover;});},"dojo/dnd/move":function(){define("dojo/dnd/move",["../main","./Mover","./Moveable"],function(_58){_58.declare("dojo.dnd.move.constrainedMoveable",_58.dnd.Moveable,{constraints:function(){},within:false,constructor:function(_59,_5a){if(!_5a){_5a={};}this.constraints=_5a.constraints;this.within=_5a.within;},onFirstMove:function(_5b){var c=this.constraintBox=this.constraints.call(this,_5b);c.r=c.l+c.w;c.b=c.t+c.h;if(this.within){var mb=_58._getMarginSize(_5b.node);c.r-=mb.w;c.b-=mb.h;}},onMove:function(_5c,_5d){var c=this.constraintBox,s=_5c.node.style;this.onMoving(_5c,_5d);_5d.l=_5d.l<c.l?c.l:c.r<_5d.l?c.r:_5d.l;_5d.t=_5d.t<c.t?c.t:c.b<_5d.t?c.b:_5d.t;s.left=_5d.l+"px";s.top=_5d.t+"px";this.onMoved(_5c,_5d);}});_58.declare("dojo.dnd.move.boxConstrainedMoveable",_58.dnd.move.constrainedMoveable,{box:{},constructor:function(_5e,_5f){var box=_5f&&_5f.box;this.constraints=function(){return box;};}});_58.declare("dojo.dnd.move.parentConstrainedMoveable",_58.dnd.move.constrainedMoveable,{area:"content",constructor:function(_60,_61){var _62=_61&&_61.area;this.constraints=function(){var n=this.node.parentNode,s=_58.getComputedStyle(n),mb=_58._getMarginBox(n,s);if(_62=="margin"){return mb;}var t=_58._getMarginExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;if(_62=="border"){return mb;}t=_58._getBorderExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;if(_62=="padding"){return mb;}t=_58._getPadExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;return mb;};}});_58.dnd.constrainedMover=_58.dnd.move.constrainedMover;_58.dnd.boxConstrainedMover=_58.dnd.move.boxConstrainedMover;_58.dnd.parentConstrainedMover=_58.dnd.move.parentConstrainedMover;return _58.dnd.move;});},"*noref":1}});define("dojo/_dnd_ext",[],1);require(["dojo/dnd/move","dojo/dnd/autoscroll","dojo/dnd/Mover","dojo/dnd/Moveable","dojo/dnd/TimedMoveable"]);
}catch(e){console.log("Module 'dojo_dnd_ext_17': ",e);}
try{//>>built
define("dijit/nls/_dijit_layout_basic_it",{"dijit/nls/loading":{"loadingState":"Caricamento in corso...","errorState":"Si è verificato un errore"},"dijit/nls/common":{"buttonOk":"OK","buttonCancel":"Annulla","buttonSave":"Salva","itemClose":"Chiudi"}});
}catch(e){console.log("Module 'dijit_layout_basic_17': ",e);}
try{/*
	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
*/

//>>built
require({cache:{"dojo/uacss":function(){define("dojo/uacss",["./dom-geometry","./_base/lang","./ready","./_base/sniff","./_base/window"],function(_1,_2,_3,_4,_5){var _6=_5.doc.documentElement,ie=_4("ie"),_7=_4("opera"),_8=Math.floor,ff=_4("ff"),_9=_1.boxModel.replace(/-/,""),_a={"dj_quirks":_4("quirks"),"dj_opera":_7,"dj_khtml":_4("khtml"),"dj_webkit":_4("webkit"),"dj_safari":_4("safari"),"dj_chrome":_4("chrome"),"dj_gecko":_4("mozilla")};if(ie){_a["dj_ie"]=true;_a["dj_ie"+_8(ie)]=true;_a["dj_iequirks"]=_4("quirks");}if(ff){_a["dj_ff"+_8(ff)]=true;}_a["dj_"+_9]=true;var _b="";for(var _c in _a){if(_a[_c]){_b+=_c+" ";}}_6.className=_2.trim(_6.className+" "+_b);_3(90,function(){if(!_1.isBodyLtr()){var _d="dj_rtl dijitRtl "+_b.replace(/ /g,"-rtl ");_6.className=_2.trim(_6.className+" "+_d+"dj_rtl dijitRtl "+_b.replace(/ /g,"-rtl "));}});return _4;});},"dojo/text":function(){define("dojo/text",["./_base/kernel","require","./has","./_base/xhr"],function(_e,_f,has,xhr){var _10;if(1){_10=function(url,_11,_12){xhr("GET",{url:url,sync:!!_11,load:_12});};}else{if(_f.getText){_10=_f.getText;}else{console.error("dojo/text plugin failed to load because loader does not support getText");}}var _13={},_14=function(_15){if(_15){_15=_15.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _16=_15.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_16){_15=_16[1];}}else{_15="";}return _15;},_17={},_18={},_19={dynamic:true,normalize:function(id,_1a){var _1b=id.split("!"),url=_1b[0];return (/^\./.test(url)?_1a(url):url)+(_1b[1]?"!"+_1b[1]:"");},load:function(id,_1c,_1d){var _1e=id.split("!"),_1f=_1e.length>1,_20=_1e[0],url=_1c.toUrl(_1e[0]),_21=_17,_22=function(_23){_1d(_1f?_14(_23):_23);};if(_20 in _13){_21=_13[_20];}else{if(url in _1c.cache){_21=_1c.cache[url];}else{if(url in _13){_21=_13[url];}}}if(_21===_17){if(_18[url]){_18[url].push(_22);}else{var _24=_18[url]=[_22];_10(url,!_1c.async,function(_25){_13[_20]=_13[url]=_25;for(var i=0;i<_24.length;){_24[i++](_25);}delete _18[url];});}}else{_22(_21);}}};_e.cache=function(_26,url,_27){var key;if(typeof _26=="string"){if(/\//.test(_26)){key=_26;_27=url;}else{key=_f.toUrl(_26.replace(/\./g,"/")+(url?("/"+url):""));}}else{key=_26+"";_27=url;}var val=(_27!=undefined&&typeof _27!="string")?_27.value:_27,_28=_27&&_27.sanitize;if(typeof val=="string"){_13[key]=val;return _28?_14(val):val;}else{if(val===null){delete _13[key];return null;}else{if(!(key in _13)){_10(key,true,function(_29){_13[key]=_29;});}return _28?_14(_13[key]):_13[key];}}};return _19;});},"dijit/layout/LinkPane":function(){define("dijit/layout/LinkPane",["./ContentPane","../_TemplatedMixin","dojo/_base/declare"],function(_2a,_2b,_2c){return _2c("dijit.layout.LinkPane",[_2a,_2b],{templateString:"<div class=\"dijitLinkPane\" data-dojo-attach-point=\"containerNode\"></div>",postMixInProperties:function(){if(this.srcNodeRef){this.title+=this.srcNodeRef.innerHTML;}this.inherited(arguments);},_fillContent:function(){}});});},"dojo/parser":function(){define("dojo/parser",["./_base/kernel","./_base/lang","./_base/array","./_base/config","./_base/html","./_base/window","./_base/url","./_base/json","./aspect","./date/stamp","./has","./query","./on","./ready"],function(_2d,_2e,_2f,_30,_31,_32,_33,_34,_35,_36,has,_37,don,_38){new Date("X");if(1){var _39=document.createElement("form");has.add("dom-attributes-explicit",_39.attributes.length==0);has.add("dom-attributes-specified-flag",_39.attributes.length<40);}_2d.parser=new function(){var _3a={};function _3b(_3c){var map={};for(var _3d in _3c){if(_3d.charAt(0)=="_"){continue;}map[_3d.toLowerCase()]=_3d;}return map;};_35.after(_2e,"extend",function(){_3a={};},true);var _3e={};function _3f(_40){var map=_3e[_40]||(_3e[_40]={});return map["__type"]||(map["__type"]=(_2e.getObject(_40)||require(_40)));};this._functionFromScript=function(_41,_42){var _43="";var _44="";var _45=(_41.getAttribute(_42+"args")||_41.getAttribute("args"));if(_45){_2f.forEach(_45.split(/\s*,\s*/),function(_46,idx){_43+="var "+_46+" = arguments["+idx+"]; ";});}var _47=_41.getAttribute("with");if(_47&&_47.length){_2f.forEach(_47.split(/\s*,\s*/),function(_48){_43+="with("+_48+"){";_44+="}";});}return new Function(_43+_41.innerHTML+_44);};this.instantiate=function(_49,_4a,_4b){_4a=_4a||{};_4b=_4b||{};var _4c=(_4b.scope||_2d._scopeName)+"Type",_4d="data-"+(_4b.scope||_2d._scopeName)+"-",_4e=_4d+"type";var _4f=[];_2f.forEach(_49,function(_50){var _51=_4c in _4a?_4a[_4c]:_50.getAttribute(_4e)||_50.getAttribute(_4c);if(_51){_4f.push({node:_50,"type":_51});}});return this._instantiate(_4f,_4a,_4b);};this._instantiate=function(_52,_53,_54){var _55=[];var _56=(_54.scope||_2d._scopeName)+"Type",_57="data-"+(_54.scope||_2d._scopeName)+"-",_58=_57+"type",_59=_57+"props",_5a=_57+"attach-point",_5b=_57+"attach-event",_5c=_57+"id",_5d=_57+"mixins";var _5e={};_2f.forEach([_59,_58,_56,_5c,"jsId",_5a,_5b,"dojoAttachPoint","dojoAttachEvent","class","style",_5d],function(_5f){_5e[_5f.toLowerCase()]=_5f.replace(_54.scope,"dojo");});function _60(_61,_62){return _61.createSubclass&&_61.createSubclass(_62)||_61.extend.apply(_61,_62);};_2f.forEach(_52,function(obj){if(!obj){return;}var _63=obj.node,_64=obj.type,_65=_63.getAttribute(_5d),_66;if(_65){var map=_3e[_64];_65=_65.replace(/ /g,"");_66=map&&map[_65];if(!_66){_66=_3f(_64);_66=_3e[_64][_65]=_60(_66,_2f.map(_65.split(","),_3f));}}else{_66=_3f(_64);}var _67=_66&&_66.prototype;var _68={};if(_54.defaults){_2e.mixin(_68,_54.defaults);}if(obj.inherited){_2e.mixin(_68,obj.inherited);}var _69;if(has("dom-attributes-explicit")){_69=_63.attributes;}else{if(has("dom-attributes-specified-flag")){_69=_2f.filter(_63.attributes,function(a){return a.specified;});}else{var _6a=/^input$|^img$/i.test(_63.nodeName)?_63:_63.cloneNode(false),_6b=_6a.outerHTML.replace(/=[^\s"']+|="[^"]*"|='[^']*'/g,"").replace(/^\s*<[a-zA-Z0-9]*\s*/,"").replace(/\s*>.*$/,"");_69=_2f.map(_6b.split(/\s+/),function(_6c){var _6d=_6c.toLowerCase();return {name:_6c,value:(_63.nodeName=="LI"&&_6c=="value")||_6d=="enctype"?_63.getAttribute(_6d):_63.getAttributeNode(_6d).value};});}}var i=0,_6e;while(_6e=_69[i++]){var _6f=_6e.name,_70=_6f.toLowerCase(),_71=_6e.value;if(_70 in _5e){switch(_5e[_70]){case "data-dojo-props":var _72=_71;break;case "data-dojo-id":case "jsId":var _73=_71;break;case "data-dojo-attach-point":case "dojoAttachPoint":_68.dojoAttachPoint=_71;break;case "data-dojo-attach-event":case "dojoAttachEvent":_68.dojoAttachEvent=_71;break;case "class":_68["class"]=_63.className;break;case "style":_68["style"]=_63.style&&_63.style.cssText;break;}}else{if(!(_6f in _67)){var map=(_3a[_64]||(_3a[_64]=_3b(_67)));_6f=map[_70]||_6f;}if(_6f in _67){switch(typeof _67[_6f]){case "string":_68[_6f]=_71;break;case "number":_68[_6f]=_71.length?Number(_71):NaN;break;case "boolean":_68[_6f]=_71.toLowerCase()!="false";break;case "function":if(_71===""||_71.search(/[^\w\.]+/i)!=-1){_68[_6f]=new Function(_71);}else{_68[_6f]=_2e.getObject(_71,false)||new Function(_71);}break;default:var _74=_67[_6f];_68[_6f]=(_74&&"length" in _74)?(_71?_71.split(/\s*,\s*/):[]):(_74 instanceof Date)?(_71==""?new Date(""):_71=="now"?new Date():_36.fromISOString(_71)):(_74 instanceof _2d._Url)?(_2d.baseUrl+_71):_34.fromJson(_71);}}else{_68[_6f]=_71;}}}if(_72){try{_72=_34.fromJson.call(_54.propsThis,"{"+_72+"}");_2e.mixin(_68,_72);}catch(e){throw new Error(e.toString()+" in data-dojo-props='"+_72+"'");}}_2e.mixin(_68,_53);var _75=obj.scripts||(_66&&(_66._noScript||_67._noScript)?[]:_37("> script[type^='dojo/']",_63));var _76=[],_77=[],_78=[],on=[];if(_75){for(i=0;i<_75.length;i++){var _79=_75[i];_63.removeChild(_79);var _7a=(_79.getAttribute(_57+"event")||_79.getAttribute("event")),_7b=_79.getAttribute(_57+"prop"),_7c=_79.getAttribute("type"),nf=this._functionFromScript(_79,_57);if(_7a){if(_7c=="dojo/connect"){_76.push({event:_7a,func:nf});}else{if(_7c=="dojo/on"){on.push({event:_7a,func:nf});}else{_68[_7a]=nf;}}}else{if(_7c=="dojo/watch"){_78.push({prop:_7b,func:nf});}else{_77.push(nf);}}}}var _7d=_66.markupFactory||_67.markupFactory;var _7e=_7d?_7d(_68,_63,_66):new _66(_68,_63);_55.push(_7e);if(_73){_2e.setObject(_73,_7e);}for(i=0;i<_76.length;i++){_35.after(_7e,_76[i].event,_2d.hitch(_7e,_76[i].func),true);}for(i=0;i<_77.length;i++){_77[i].call(_7e);}for(i=0;i<_78.length;i++){_7e.watch(_78[i].prop,_78[i].func);}for(i=0;i<on.length;i++){don(_7e,on[i].event,on[i].func);}},this);if(!_53._started){_2f.forEach(_55,function(_7f){if(!_54.noStart&&_7f&&_2e.isFunction(_7f.startup)&&!_7f._started){_7f.startup();}});}return _55;};this.scan=function(_80,_81){var _82=[];var _83=(_81.scope||_2d._scopeName)+"Type",_84="data-"+(_81.scope||_2d._scopeName)+"-",_85=_84+"type",_86=_84+"textdir";var _87=_80.firstChild;var _88=_81.inherited;if(!_88){function _89(_8a,_8b){return (_8a.getAttribute&&_8a.getAttribute(_8b))||(_8a!==_32.doc&&_8a!==_32.doc.documentElement&&_8a.parentNode?_89(_8a.parentNode,_8b):null);};_88={dir:_89(_80,"dir"),lang:_89(_80,"lang"),textDir:_89(_80,_86)};for(var key in _88){if(!_88[key]){delete _88[key];}}}var _8c={inherited:_88};var _8d;var _8e;function _8f(_90){if(!_90.inherited){_90.inherited={};var _91=_90.node,_92=_8f(_90.parent);var _93={dir:_91.getAttribute("dir")||_92.dir,lang:_91.getAttribute("lang")||_92.lang,textDir:_91.getAttribute(_86)||_92.textDir};for(var key in _93){if(_93[key]){_90.inherited[key]=_93[key];}}}return _90.inherited;};while(true){if(!_87){if(!_8c||!_8c.node){break;}_87=_8c.node.nextSibling;_8d=_8c.scripts;_8e=false;_8c=_8c.parent;continue;}if(_87.nodeType!=1){_87=_87.nextSibling;continue;}if(_8d&&_87.nodeName.toLowerCase()=="script"){_94=_87.getAttribute("type");if(_94&&/^dojo\/\w/i.test(_94)){_8d.push(_87);}_87=_87.nextSibling;continue;}if(_8e){_87=_87.nextSibling;continue;}var _94=_87.getAttribute(_85)||_87.getAttribute(_83);var _95=_87.firstChild;if(!_94&&(!_95||(_95.nodeType==3&&!_95.nextSibling))){_87=_87.nextSibling;continue;}var _96={node:_87,scripts:_8d,parent:_8c};var _97;try{_97=_94&&_3f(_94);}catch(e){}var _98=_97&&!_97.prototype._noScript?[]:null;if(_94){_82.push({"type":_94,node:_87,scripts:_98,inherited:_8f(_96)});}_87=_95;_8d=_98;_8e=_97&&_97.prototype.stopParser&&!(_81.template);_8c=_96;}return _82;};this.parse=function(_99,_9a){var _9b;if(!_9a&&_99&&_99.rootNode){_9a=_99;_9b=_9a.rootNode;}else{if(_99&&_2e.isObject(_99)&&!("nodeType" in _99)){_9a=_99;}else{_9b=_99;}}_9b=_9b?_31.byId(_9b):_32.body();_9a=_9a||{};var _9c=this.scan(_9b,_9a);var _9d=_9a.template?{template:true}:{};return this._instantiate(_9c,_9d,_9a);};}();if(_30.parseOnLoad){_38(100,_2d.parser,"parse");}return _2d.parser;});},"dijit/form/_FormMixin":function(){define("dijit/form/_FormMixin",["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/window"],function(_9e,_9f,_a0,_a1,_a2){return _9f("dijit.form._FormMixin",null,{state:"",_getDescendantFormWidgets:function(_a3){var res=[];_9e.forEach(_a3||this.getChildren(),function(_a4){if("value" in _a4){res.push(_a4);}else{res=res.concat(this._getDescendantFormWidgets(_a4.getChildren()));}},this);return res;},reset:function(){_9e.forEach(this._getDescendantFormWidgets(),function(_a5){if(_a5.reset){_a5.reset();}});},validate:function(){var _a6=false;return _9e.every(_9e.map(this._getDescendantFormWidgets(),function(_a7){_a7._hasBeenBlurred=true;var _a8=_a7.disabled||!_a7.validate||_a7.validate();if(!_a8&&!_a6){_a2.scrollIntoView(_a7.containerNode||_a7.domNode);_a7.focus();_a6=true;}return _a8;}),function(_a9){return _a9;});},setValues:function(val){_a0.deprecated(this.declaredClass+"::setValues() is deprecated. Use set('value', val) instead.","","2.0");return this.set("value",val);},_setValueAttr:function(obj){var map={};_9e.forEach(this._getDescendantFormWidgets(),function(_aa){if(!_aa.name){return;}var _ab=map[_aa.name]||(map[_aa.name]=[]);_ab.push(_aa);});for(var _ac in map){if(!map.hasOwnProperty(_ac)){continue;}var _ad=map[_ac],_ae=_a1.getObject(_ac,false,obj);if(_ae===undefined){continue;}if(!_a1.isArray(_ae)){_ae=[_ae];}if(typeof _ad[0].checked=="boolean"){_9e.forEach(_ad,function(w){w.set("value",_9e.indexOf(_ae,w.value)!=-1);});}else{if(_ad[0].multiple){_ad[0].set("value",_ae);}else{_9e.forEach(_ad,function(w,i){w.set("value",_ae[i]);});}}}},getValues:function(){_a0.deprecated(this.declaredClass+"::getValues() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},_getValueAttr:function(){var obj={};_9e.forEach(this._getDescendantFormWidgets(),function(_af){var _b0=_af.name;if(!_b0||_af.disabled){return;}var _b1=_af.get("value");if(typeof _af.checked=="boolean"){if(/Radio/.test(_af.declaredClass)){if(_b1!==false){_a1.setObject(_b0,_b1,obj);}else{_b1=_a1.getObject(_b0,false,obj);if(_b1===undefined){_a1.setObject(_b0,null,obj);}}}else{var ary=_a1.getObject(_b0,false,obj);if(!ary){ary=[];_a1.setObject(_b0,ary,obj);}if(_b1!==false){ary.push(_b1);}}}else{var _b2=_a1.getObject(_b0,false,obj);if(typeof _b2!="undefined"){if(_a1.isArray(_b2)){_b2.push(_b1);}else{_a1.setObject(_b0,[_b2,_b1],obj);}}else{_a1.setObject(_b0,_b1,obj);}}});return obj;},isValid:function(){return this.state=="";},onValidStateChange:function(){},_getState:function(){var _b3=_9e.map(this._descendants,function(w){return w.get("state")||"";});return _9e.indexOf(_b3,"Error")>=0?"Error":_9e.indexOf(_b3,"Incomplete")>=0?"Incomplete":"";},disconnectChildren:function(){_9e.forEach(this._childConnections||[],_a1.hitch(this,"disconnect"));_9e.forEach(this._childWatches||[],function(w){w.unwatch();});},connectChildren:function(_b4){var _b5=this;this.disconnectChildren();this._descendants=this._getDescendantFormWidgets();var set=_b4?function(_b6,val){_b5[_b6]=val;}:_a1.hitch(this,"_set");set("value",this.get("value"));set("state",this._getState());var _b7=(this._childConnections=[]),_b8=(this._childWatches=[]);_9e.forEach(_9e.filter(this._descendants,function(_b9){return _b9.validate;}),function(_ba){_9e.forEach(["state","disabled"],function(_bb){_b8.push(_ba.watch(_bb,function(){_b5.set("state",_b5._getState());}));});});var _bc=function(){if(_b5._onChangeDelayTimer){clearTimeout(_b5._onChangeDelayTimer);}_b5._onChangeDelayTimer=setTimeout(function(){delete _b5._onChangeDelayTimer;_b5._set("value",_b5.get("value"));},10);};_9e.forEach(_9e.filter(this._descendants,function(_bd){return _bd.onChange;}),function(_be){_b7.push(_b5.connect(_be,"onChange",_bc));_b8.push(_be.watch("disabled",_bc));});},startup:function(){this.inherited(arguments);this.connectChildren(true);this.watch("state",function(_bf,_c0,_c1){this.onValidStateChange(_c1=="");});},destroy:function(){this.disconnectChildren();this.inherited(arguments);}});});},"dijit/Dialog":function(){require({cache:{"url:dijit/templates/Dialog.html":"<div class=\"dijitDialog\" role=\"dialog\" aria-labelledby=\"${id}_title\">\n\t<div data-dojo-attach-point=\"titleBar\" class=\"dijitDialogTitleBar\">\n\t<span data-dojo-attach-point=\"titleNode\" class=\"dijitDialogTitle\" id=\"${id}_title\"></span>\n\t<span data-dojo-attach-point=\"closeButtonNode\" class=\"dijitDialogCloseIcon\" data-dojo-attach-event=\"ondijitclick: onCancel\" title=\"${buttonCancel}\" role=\"button\" tabIndex=\"0\">\n\t\t<span data-dojo-attach-point=\"closeText\" class=\"closeText\" title=\"${buttonCancel}\">x</span>\n\t</span>\n\t</div>\n\t\t<div data-dojo-attach-point=\"containerNode\" class=\"dijitDialogPaneContent\"></div>\n</div>\n"}});define("dijit/Dialog",["require","dojo/_base/array","dojo/_base/connect","dojo/_base/declare","dojo/_base/Deferred","dojo/dom","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/event","dojo/_base/fx","dojo/i18n","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/on","dojo/ready","dojo/_base/sniff","dojo/_base/window","dojo/window","dojo/dnd/Moveable","dojo/dnd/TimedMoveable","./focus","./_base/manager","./_Widget","./_TemplatedMixin","./_CssStateMixin","./form/_FormMixin","./_DialogMixin","./DialogUnderlay","./layout/ContentPane","dojo/text!./templates/Dialog.html",".","dojo/i18n!./nls/common"],function(_c2,_c3,_c4,_c5,_c6,dom,_c7,_c8,_c9,_ca,fx,_cb,_cc,_cd,_ce,on,_cf,has,win,_d0,_d1,_d2,_d3,_d4,_d5,_d6,_d7,_d8,_d9,_da,_db,_dc,_dd){var _de=_c5("dijit._DialogBase",[_d6,_d8,_d9,_d7],{templateString:_dc,baseClass:"dijitDialog",cssStateNodes:{closeButtonNode:"dijitDialogCloseIcon"},_setTitleAttr:[{node:"titleNode",type:"innerHTML"},{node:"titleBar",type:"attribute"}],open:false,duration:_d4.defaultDuration,refocus:true,autofocus:true,_firstFocusItem:null,_lastFocusItem:null,doLayout:false,draggable:true,"aria-describedby":"",postMixInProperties:function(){var _df=_cb.getLocalization("dijit","common");_ce.mixin(this,_df);this.inherited(arguments);},postCreate:function(){_c9.set(this.domNode,{display:"none",position:"absolute"});win.body().appendChild(this.domNode);this.inherited(arguments);this.connect(this,"onExecute","hide");this.connect(this,"onCancel","hide");this._modalconnects=[];},onLoad:function(){this._position();if(this.autofocus&&_e0.isTop(this)){this._getFocusItems(this.domNode);_d3.focus(this._firstFocusItem);}this.inherited(arguments);},_endDrag:function(){var _e1=_c8.position(this.domNode),_e2=_d0.getBox();_e1.y=Math.min(Math.max(_e1.y,0),(_e2.h-_e1.h));_e1.x=Math.min(Math.max(_e1.x,0),(_e2.w-_e1.w));this._relativePosition=_e1;this._position();},_setup:function(){var _e3=this.domNode;if(this.titleBar&&this.draggable){this._moveable=new ((has("ie")==6)?_d2:_d1)(_e3,{handle:this.titleBar});this.connect(this._moveable,"onMoveStop","_endDrag");}else{_c7.add(_e3,"dijitDialogFixed");}this.underlayAttrs={dialogId:this.id,"class":_c3.map(this["class"].split(/\s/),function(s){return s+"_underlay";}).join(" ")};},_size:function(){this._checkIfSingleChild();if(this._singleChild){if(this._singleChildOriginalStyle){this._singleChild.domNode.style.cssText=this._singleChildOriginalStyle;}delete this._singleChildOriginalStyle;}else{_c9.set(this.containerNode,{width:"auto",height:"auto"});}var bb=_c8.position(this.domNode);var _e4=_d0.getBox();if(bb.w>=_e4.w||bb.h>=_e4.h){var w=Math.min(bb.w,Math.floor(_e4.w*0.75)),h=Math.min(bb.h,Math.floor(_e4.h*0.75));if(this._singleChild&&this._singleChild.resize){this._singleChildOriginalStyle=this._singleChild.domNode.style.cssText;this._singleChild.resize({w:w,h:h});}else{_c9.set(this.containerNode,{width:w+"px",height:h+"px",overflow:"auto",position:"relative"});}}else{if(this._singleChild&&this._singleChild.resize){this._singleChild.resize();}}},_position:function(){if(!_c7.contains(win.body(),"dojoMove")){var _e5=this.domNode,_e6=_d0.getBox(),p=this._relativePosition,bb=p?null:_c8.position(_e5),l=Math.floor(_e6.l+(p?p.x:(_e6.w-bb.w)/2)),t=Math.floor(_e6.t+(p?p.y:(_e6.h-bb.h)/2));_c9.set(_e5,{left:l+"px",top:t+"px"});}},_onKey:function(evt){if(evt.charOrCode){var _e7=evt.target;if(evt.charOrCode===_cd.TAB){this._getFocusItems(this.domNode);}var _e8=(this._firstFocusItem==this._lastFocusItem);if(_e7==this._firstFocusItem&&evt.shiftKey&&evt.charOrCode===_cd.TAB){if(!_e8){_d3.focus(this._lastFocusItem);}_ca.stop(evt);}else{if(_e7==this._lastFocusItem&&evt.charOrCode===_cd.TAB&&!evt.shiftKey){if(!_e8){_d3.focus(this._firstFocusItem);}_ca.stop(evt);}else{while(_e7){if(_e7==this.domNode||_c7.contains(_e7,"dijitPopup")){if(evt.charOrCode==_cd.ESCAPE){this.onCancel();}else{return;}}_e7=_e7.parentNode;}if(evt.charOrCode!==_cd.TAB){_ca.stop(evt);}else{if(!has("opera")){try{this._firstFocusItem.focus();}catch(e){}}}}}}},show:function(){if(this.open){return;}if(!this._started){this.startup();}if(!this._alreadyInitialized){this._setup();this._alreadyInitialized=true;}if(this._fadeOutDeferred){this._fadeOutDeferred.cancel();_e0.hide(this);}if(!has("touch")){this._modalconnects.push(on(window,"scroll",_ce.hitch(this,"layout")));this._modalconnects.push(on(window,"resize",_ce.hitch(this,function(){var _e9=_d0.getBox();if(!this._oldViewport||_e9.h!=this._oldViewport.h||_e9.w!=this._oldViewport.w){this.layout();this._oldViewport=_e9;}})));}this._modalconnects.push(on(this.domNode,_c4._keypress,_ce.hitch(this,"_onKey")));_c9.set(this.domNode,{opacity:0,display:""});this._set("open",true);this._onShow();this._size();this._position();var _ea;this._fadeInDeferred=new _c6(_ce.hitch(this,function(){_ea.stop();delete this._fadeInDeferred;}));_ea=fx.fadeIn({node:this.domNode,duration:this.duration,beforeBegin:_ce.hitch(this,function(){_e0.show(this,this.underlayAttrs);}),onEnd:_ce.hitch(this,function(){if(this.autofocus&&_e0.isTop(this)){this._getFocusItems(this.domNode);_d3.focus(this._firstFocusItem);}this._fadeInDeferred.callback(true);delete this._fadeInDeferred;})}).play();return this._fadeInDeferred;},hide:function(){if(!this._alreadyInitialized||!this.open){return;}if(this._fadeInDeferred){this._fadeInDeferred.cancel();}var _eb;this._fadeOutDeferred=new _c6(_ce.hitch(this,function(){_eb.stop();delete this._fadeOutDeferred;}));this._fadeOutDeferred.then(_ce.hitch(this,"onHide"));_eb=fx.fadeOut({node:this.domNode,duration:this.duration,onEnd:_ce.hitch(this,function(){this.domNode.style.display="none";_e0.hide(this);this._fadeOutDeferred.callback(true);delete this._fadeOutDeferred;})}).play();if(this._scrollConnected){this._scrollConnected=false;}var h;while(h=this._modalconnects.pop()){h.remove();}if(this._relativePosition){delete this._relativePosition;}this._set("open",false);return this._fadeOutDeferred;},layout:function(){if(this.domNode.style.display!="none"){if(_dd._underlay){_dd._underlay.layout();}this._position();}},destroy:function(){if(this._fadeInDeferred){this._fadeInDeferred.cancel();}if(this._fadeOutDeferred){this._fadeOutDeferred.cancel();}if(this._moveable){this._moveable.destroy();}var h;while(h=this._modalconnects.pop()){h.remove();}_e0.hide(this);this.inherited(arguments);}});var _ec=_c5("dijit.Dialog",[_db,_de],{});_ec._DialogBase=_de;var _e0=_ec._DialogLevelManager={_beginZIndex:950,show:function(_ed,_ee){ds[ds.length-1].focus=_d3.curNode;var _ef=_dd._underlay;if(!_ef||_ef._destroyed){_ef=_dd._underlay=new _da(_ee);}else{_ef.set(_ed.underlayAttrs);}var _f0=ds[ds.length-1].dialog?ds[ds.length-1].zIndex+2:_ec._DialogLevelManager._beginZIndex;if(ds.length==1){_ef.show();}_c9.set(_dd._underlay.domNode,"zIndex",_f0-1);_c9.set(_ed.domNode,"zIndex",_f0);ds.push({dialog:_ed,underlayAttrs:_ee,zIndex:_f0});},hide:function(_f1){if(ds[ds.length-1].dialog==_f1){ds.pop();var pd=ds[ds.length-1];if(ds.length==1){if(!_dd._underlay._destroyed){_dd._underlay.hide();}}else{_c9.set(_dd._underlay.domNode,"zIndex",pd.zIndex-1);_dd._underlay.set(pd.underlayAttrs);}if(_f1.refocus){var _f2=pd.focus;if(pd.dialog&&(!_f2||!dom.isDescendant(_f2,pd.dialog.domNode))){pd.dialog._getFocusItems(pd.dialog.domNode);_f2=pd.dialog._firstFocusItem;}if(_f2){try{_f2.focus();}catch(e){}}}}else{var idx=_c3.indexOf(_c3.map(ds,function(_f3){return _f3.dialog;}),_f1);if(idx!=-1){ds.splice(idx,1);}}},isTop:function(_f4){return ds[ds.length-1].dialog==_f4;}};var ds=_ec._dialogStack=[{dialog:null,focus:null,underlayAttrs:null}];if(!_cc.isAsync){_cf(0,function(){var _f5=["dijit/TooltipDialog"];_c2(_f5);});}return _ec;});},"dijit/_DialogMixin":function(){define("dijit/_DialogMixin",["dojo/_base/declare","./a11y"],function(_f6,_f7){return _f6("dijit._DialogMixin",null,{execute:function(){},onCancel:function(){},onExecute:function(){},_onSubmit:function(){this.onExecute();this.execute(this.get("value"));},_getFocusItems:function(){var _f8=_f7._getTabNavigable(this.containerNode);this._firstFocusItem=_f8.lowest||_f8.first||this.closeButtonNode||this.domNode;this._lastFocusItem=_f8.last||_f8.highest||this._firstFocusItem;}});});},"dijit/layout/utils":function(){define("dijit/layout/utils",["dojo/_base/array","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang",".."],function(_f9,_fa,_fb,_fc,_fd,_fe){var _ff=_fd.getObject("layout",true,_fe);_ff.marginBox2contentBox=function(node,mb){var cs=_fc.getComputedStyle(node);var me=_fb.getMarginExtents(node,cs);var pb=_fb.getPadBorderExtents(node,cs);return {l:_fc.toPixelValue(node,cs.paddingLeft),t:_fc.toPixelValue(node,cs.paddingTop),w:mb.w-(me.w+pb.w),h:mb.h-(me.h+pb.h)};};function _100(word){return word.substring(0,1).toUpperCase()+word.substring(1);};function size(_101,dim){var _102=_101.resize?_101.resize(dim):_fb.setMarginBox(_101.domNode,dim);if(_102){_fd.mixin(_101,_102);}else{_fd.mixin(_101,_fb.getMarginBox(_101.domNode));_fd.mixin(_101,dim);}};_ff.layoutChildren=function(_103,dim,_104,_105,_106){dim=_fd.mixin({},dim);_fa.add(_103,"dijitLayoutContainer");_104=_f9.filter(_104,function(item){return item.region!="center"&&item.layoutAlign!="client";}).concat(_f9.filter(_104,function(item){return item.region=="center"||item.layoutAlign=="client";}));_f9.forEach(_104,function(_107){var elm=_107.domNode,pos=(_107.region||_107.layoutAlign);if(!pos){throw new Error("No region setting for "+_107.id);}var _108=elm.style;_108.left=dim.l+"px";_108.top=dim.t+"px";_108.position="absolute";_fa.add(elm,"dijitAlign"+_100(pos));var _109={};if(_105&&_105==_107.id){_109[_107.region=="top"||_107.region=="bottom"?"h":"w"]=_106;}if(pos=="top"||pos=="bottom"){_109.w=dim.w;size(_107,_109);dim.h-=_107.h;if(pos=="top"){dim.t+=_107.h;}else{_108.top=dim.t+dim.h+"px";}}else{if(pos=="left"||pos=="right"){_109.h=dim.h;size(_107,_109);dim.w-=_107.w;if(pos=="left"){dim.l+=_107.w;}else{_108.left=dim.l+dim.w+"px";}}else{if(pos=="client"||pos=="center"){size(_107,dim);}}}});};return {marginBox2contentBox:_ff.marginBox2contentBox,layoutChildren:_ff.layoutChildren};});},"dijit/layout/ContentPane":function(){define("dijit/layout/ContentPane",["dojo/_base/kernel","dojo/_base/lang","../_Widget","./_ContentPaneResizeMixin","dojo/string","dojo/html","dojo/i18n!../nls/loading","dojo/_base/array","dojo/_base/declare","dojo/_base/Deferred","dojo/dom","dojo/dom-attr","dojo/_base/window","dojo/_base/xhr","dojo/i18n"],function(_10a,lang,_10b,_10c,_10d,html,_10e,_10f,_110,_111,dom,_112,win,xhr,i18n){return _110("dijit.layout.ContentPane",[_10b,_10c],{href:"",content:"",extractContent:false,parseOnLoad:true,parserScope:_10a._scopeName,preventCache:false,preload:false,refreshOnShow:false,loadingMessage:"<span class='dijitContentPaneLoading'><span class='dijitInline dijitIconLoading'></span>${loadingState}</span>",errorMessage:"<span class='dijitContentPaneError'><span class='dijitInline dijitIconError'></span>${errorState}</span>",isLoaded:false,baseClass:"dijitContentPane",ioArgs:{},onLoadDeferred:null,_setTitleAttr:null,stopParser:true,template:false,create:function(_113,_114){if((!_113||!_113.template)&&_114&&!("href" in _113)&&!("content" in _113)){var df=win.doc.createDocumentFragment();_114=dom.byId(_114);while(_114.firstChild){df.appendChild(_114.firstChild);}_113=lang.delegate(_113,{content:df});}this.inherited(arguments,[_113,_114]);},postMixInProperties:function(){this.inherited(arguments);var _115=i18n.getLocalization("dijit","loading",this.lang);this.loadingMessage=_10d.substitute(this.loadingMessage,_115);this.errorMessage=_10d.substitute(this.errorMessage,_115);},buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}this.domNode.removeAttribute("title");if(!_112.get(this.domNode,"role")){this.domNode.setAttribute("role","group");}},startup:function(){this.inherited(arguments);if(this._contentSetter){_10f.forEach(this._contentSetter.parseResults,function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}},this);}},setHref:function(href){_10a.deprecated("dijit.layout.ContentPane.setHref() is deprecated. Use set('href', ...) instead.","","2.0");return this.set("href",href);},_setHrefAttr:function(href){this.cancel();this.onLoadDeferred=new _111(lang.hitch(this,"cancel"));this.onLoadDeferred.addCallback(lang.hitch(this,"onLoad"));this._set("href",href);if(this.preload||(this._created&&this._isShown())){this._load();}else{this._hrefChanged=true;}return this.onLoadDeferred;},setContent:function(data){_10a.deprecated("dijit.layout.ContentPane.setContent() is deprecated.  Use set('content', ...) instead.","","2.0");this.set("content",data);},_setContentAttr:function(data){this._set("href","");this.cancel();this.onLoadDeferred=new _111(lang.hitch(this,"cancel"));if(this._created){this.onLoadDeferred.addCallback(lang.hitch(this,"onLoad"));}this._setContent(data||"");this._isDownloaded=false;return this.onLoadDeferred;},_getContentAttr:function(){return this.containerNode.innerHTML;},cancel:function(){if(this._xhrDfd&&(this._xhrDfd.fired==-1)){this._xhrDfd.cancel();}delete this._xhrDfd;this.onLoadDeferred=null;},uninitialize:function(){if(this._beingDestroyed){this.cancel();}this.inherited(arguments);},destroyRecursive:function(_116){if(this._beingDestroyed){return;}this.inherited(arguments);},_onShow:function(){this.inherited(arguments);if(this.href){if(!this._xhrDfd&&(!this.isLoaded||this._hrefChanged||this.refreshOnShow)){return this.refresh();}}},refresh:function(){this.cancel();this.onLoadDeferred=new _111(lang.hitch(this,"cancel"));this.onLoadDeferred.addCallback(lang.hitch(this,"onLoad"));this._load();return this.onLoadDeferred;},_load:function(){this._setContent(this.onDownloadStart(),true);var self=this;var _117={preventCache:(this.preventCache||this.refreshOnShow),url:this.href,handleAs:"text"};if(lang.isObject(this.ioArgs)){lang.mixin(_117,this.ioArgs);}var hand=(this._xhrDfd=(this.ioMethod||xhr.get)(_117));hand.addCallback(function(html){try{self._isDownloaded=true;self._setContent(html,false);self.onDownloadEnd();}catch(err){self._onError("Content",err);}delete self._xhrDfd;return html;});hand.addErrback(function(err){if(!hand.canceled){self._onError("Download",err);}delete self._xhrDfd;return err;});delete this._hrefChanged;},_onLoadHandler:function(data){this._set("isLoaded",true);try{this.onLoadDeferred.callback(data);}catch(e){console.error("Error "+this.widgetId+" running custom onLoad code: "+e.message);}},_onUnloadHandler:function(){this._set("isLoaded",false);try{this.onUnload();}catch(e){console.error("Error "+this.widgetId+" running custom onUnload code: "+e.message);}},destroyDescendants:function(_118){if(this.isLoaded){this._onUnloadHandler();}var _119=this._contentSetter;_10f.forEach(this.getChildren(),function(_11a){if(_11a.destroyRecursive){_11a.destroyRecursive(_118);}});if(_119){_10f.forEach(_119.parseResults,function(_11b){if(_11b.destroyRecursive&&_11b.domNode&&_11b.domNode.parentNode==win.body()){_11b.destroyRecursive(_118);}});delete _119.parseResults;}if(!_118){html._emptyNode(this.containerNode);}delete this._singleChild;},_setContent:function(cont,_11c){this.destroyDescendants();var _11d=this._contentSetter;if(!(_11d&&_11d instanceof html._ContentSetter)){_11d=this._contentSetter=new html._ContentSetter({node:this.containerNode,_onError:lang.hitch(this,this._onError),onContentError:lang.hitch(this,function(e){var _11e=this.onContentError(e);try{this.containerNode.innerHTML=_11e;}catch(e){console.error("Fatal "+this.id+" could not change content due to "+e.message,e);}})});}var _11f=lang.mixin({cleanContent:this.cleanContent,extractContent:this.extractContent,parseContent:!cont.domNode&&this.parseOnLoad,parserScope:this.parserScope,startup:false,dir:this.dir,lang:this.lang,textDir:this.textDir},this._contentSetterParams||{});_11d.set((lang.isObject(cont)&&cont.domNode)?cont.domNode:cont,_11f);delete this._contentSetterParams;if(this.doLayout){this._checkIfSingleChild();}if(!_11c){if(this._started){delete this._started;this.startup();this._scheduleLayout();}this._onLoadHandler(cont);}},_onError:function(type,err,_120){this.onLoadDeferred.errback(err);var _121=this["on"+type+"Error"].call(this,err);if(_120){console.error(_120,err);}else{if(_121){this._setContent(_121,true);}}},onLoad:function(){},onUnload:function(){},onDownloadStart:function(){return this.loadingMessage;},onContentError:function(){},onDownloadError:function(){return this.errorMessage;},onDownloadEnd:function(){}});});},"dojo/i18n":function(){define("dojo/i18n",["./_base/kernel","require","./has","./_base/array","./_base/config","./_base/lang","./_base/xhr","./json"],function(dojo,_122,has,_123,_124,lang,xhr,json){has.add("dojo-preload-i18n-Api",1);true||has.add("dojo-v1x-i18n-Api",1);var _125=dojo.i18n={},_126=/(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,_127=function(root,_128,_129,_12a){for(var _12b=[_129+_12a],_12c=_128.split("-"),_12d="",i=0;i<_12c.length;i++){_12d+=(_12d?"-":"")+_12c[i];if(!root||root[_12d]){_12b.push(_129+_12d+"/"+_12a);}}return _12b;},_12e={},_12f=dojo.getL10nName=function(_130,_131,_132){_132=_132?_132.toLowerCase():dojo.locale;_130="dojo/i18n!"+_130.replace(/\./g,"/");_131=_131.replace(/\./g,"/");return (/root/i.test(_132))?(_130+"/nls/"+_131):(_130+"/nls/"+_132+"/"+_131);},_133=function(_134,_135,_136,_137,_138,load){_134([_135],function(root){var _139=lang.clone(root.root||root.ROOT),_13a=_127(!root._v1x&&root,_138,_136,_137);_134(_13a,function(){for(var i=1;i<_13a.length;i++){_139=lang.mixin(lang.clone(_139),arguments[i]);}var _13b=_135+"/"+_138;_12e[_13b]=_139;load();});});},_13c=function(id,_13d){return /^\./.test(id)?_13d(id):id;},_13e=function(_13f){var list=_124.extraLocale||[];list=lang.isArray(list)?list:[list];list.push(_13f);return list;},load=function(id,_140,load){if(has("dojo-preload-i18n-Api")){var _141=id.split("*"),_142=_141[1]=="preload";if(_142){if(!_12e[id]){_12e[id]=1;_143(_141[2],json.parse(_141[3]),1);}load(1);}if(_142||_144(id,_140,load)){return;}}var _145=_126.exec(id),_146=_145[1]+"/",_147=_145[5]||_145[4],_148=_146+_147,_149=(_145[5]&&_145[4]),_14a=_149||dojo.locale,_14b=_148+"/"+_14a,_14c=_149?[_14a]:_13e(_14a),_14d=_14c.length,_14e=function(){if(!--_14d){load(lang.delegate(_12e[_14b]));}};_123.forEach(_14c,function(_14f){var _150=_148+"/"+_14f;if(has("dojo-preload-i18n-Api")){_151(_150);}if(!_12e[_150]){_133(_140,_148,_146,_147,_14f,_14e);}else{_14e();}});};if(has("dojo-unit-tests")){var _152=_125.unitTests=[];}if(has("dojo-preload-i18n-Api")||1){var _153=_125.normalizeLocale=function(_154){var _155=_154?_154.toLowerCase():dojo.locale;return _155=="root"?"ROOT":_155;},isXd=function(mid){return (1&&1)?_122.isXdUrl(_122.toUrl(mid+".js")):true;},_156=0,_157=[],_143=_125._preloadLocalizations=function(_158,_159,_15a){function _15b(_15c,func){var _15d=_15c.split("-");while(_15d.length){if(func(_15d.join("-"))){return true;}_15d.pop();}return func("ROOT");};function _15e(_15f){_15f=_153(_15f);_15b(_15f,function(loc){if(_123.indexOf(_159,loc)>=0){var mid=_158.replace(/\./g,"/")+"_"+loc;_156++;(isXd(mid)||_15a?_122:_163)([mid],function(_160){for(var p in _160){_12e[p+"/"+loc]=_160[p];}--_156;while(!_156&&_157.length){load.apply(null,_157.shift());}});return true;}return false;});};_15e();_123.forEach(dojo.config.extraLocale,_15e);},_144=function(id,_161,load){if(_156){_157.push([id,_161,load]);}return _156;};}if(1){var _162=new Function("__bundle","__checkForLegacyModules","__mid","var define = function(){define.called = 1;},"+"    require = function(){define.called = 1;};"+"try{"+"define.called = 0;"+"eval(__bundle);"+"if(define.called==1)"+"return 1;"+"if((__checkForLegacyModules = __checkForLegacyModules(__mid)))"+"return __checkForLegacyModules;"+"}catch(e){}"+"try{"+"return eval('('+__bundle+')');"+"}catch(e){"+"return e;"+"}"),_163=function(deps,_164){var _165=[];_123.forEach(deps,function(mid){var url=_122.toUrl(mid+".js");function load(text){var _166=_162(text,_151,mid);if(_166===1){_122([mid],function(_167){_165.push(_12e[url]=_167);});}else{if(_166 instanceof Error){console.error("failed to evaluate i18n bundle; url="+url,_166);_166={};}_165.push(_12e[url]=(/nls\/[^\/]+\/[^\/]+$/.test(url)?_166:{root:_166,_v1x:1}));}};if(_12e[url]){_165.push(_12e[url]);}else{var _168=_122.syncLoadNls(mid);if(!_168){_168=_151(mid.replace(/nls\/([^\/]*)\/([^\/]*)$/,"nls/$2/$1"));}if(_168){_165.push(_168);}else{if(!xhr){try{_122.getText(url,true,load);}catch(e){_165.push(_12e[url]={});}}else{xhr.get({url:url,sync:true,load:load,error:function(){_165.push(_12e[url]={});}});}}}});_164&&_164.apply(null,_165);},_151=function(_169){for(var _16a,_16b=_169.split("/"),_16c=dojo.global[_16b[0]],i=1;_16c&&i<_16b.length-1;_16c=_16c[_16b[i++]]){}if(_16c){_16a=_16c[_16b[i]];if(!_16a){_16a=_16c[_16b[i].replace(/-/g,"_")];}if(_16a){_12e[_169]=_16a;}}return _16a;};_125.getLocalization=function(_16d,_16e,_16f){var _170,_171=_12f(_16d,_16e,_16f).substring(10);load(_171,(!isXd(_171)?_163:_122),function(_172){_170=_172;});return _170;};if(has("dojo-unit-tests")){_152.push(function(doh){doh.register("tests.i18n.unit",function(t){var _173;_173=_162("{prop:1}");t.is({prop:1},_173);t.is(undefined,_173[1]);_173=_162("({prop:1})");t.is({prop:1},_173);t.is(undefined,_173[1]);_173=_162("{'prop-x':1}");t.is({"prop-x":1},_173);t.is(undefined,_173[1]);_173=_162("({'prop-x':1})");t.is({"prop-x":1},_173);t.is(undefined,_173[1]);_173=_162("define({'prop-x':1})");t.is(1,_173);_173=_162("this is total nonsense and should throw an error");t.is(_173 instanceof Error,true);});});}}return lang.mixin(_125,{dynamic:true,normalize:_13c,load:load,cache:_12e});});},"dojo/Stateful":function(){define("dojo/Stateful",["./_base/declare","./_base/lang","./_base/array"],function(_174,lang,_175){return _174("dojo.Stateful",null,{postscript:function(_176){if(_176){lang.mixin(this,_176);}},get:function(name){return this[name];},set:function(name,_177){if(typeof name==="object"){for(var x in name){if(name.hasOwnProperty(x)&&x!="_watchCallbacks"){this.set(x,name[x]);}}return this;}var _178=this[name];this[name]=_177;if(this._watchCallbacks){this._watchCallbacks(name,_178,_177);}return this;},watch:function(name,_179){var _17a=this._watchCallbacks;if(!_17a){var self=this;_17a=this._watchCallbacks=function(name,_17b,_17c,_17d){var _17e=function(_17f){if(_17f){_17f=_17f.slice();for(var i=0,l=_17f.length;i<l;i++){_17f[i].call(self,name,_17b,_17c);}}};_17e(_17a["_"+name]);if(!_17d){_17e(_17a["*"]);}};}if(!_179&&typeof name==="function"){_179=name;name="*";}else{name="_"+name;}var _180=_17a[name];if(typeof _180!=="object"){_180=_17a[name]=[];}_180.push(_179);return {unwatch:function(){_180.splice(_175.indexOf(_180,_179),1);}};}});});},"url:dijit/templates/TooltipDialog.html":"<div role=\"presentation\" tabIndex=\"-1\">\n\t<div class=\"dijitTooltipContainer\" role=\"presentation\">\n\t\t<div class =\"dijitTooltipContents dijitTooltipFocusNode\" data-dojo-attach-point=\"containerNode\" role=\"dialog\"></div>\n\t</div>\n\t<div class=\"dijitTooltipConnector\" role=\"presentation\"></div>\n</div>\n","dojo/_base/url":function(){define("dojo/_base/url",["./kernel"],function(dojo){var ore=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),ire=new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$"),_181=function(){var n=null,_182=arguments,uri=[_182[0]];for(var i=1;i<_182.length;i++){if(!_182[i]){continue;}var _183=new _181(_182[i]+""),_184=new _181(uri[0]+"");if(_183.path==""&&!_183.scheme&&!_183.authority&&!_183.query){if(_183.fragment!=n){_184.fragment=_183.fragment;}_183=_184;}else{if(!_183.scheme){_183.scheme=_184.scheme;if(!_183.authority){_183.authority=_184.authority;if(_183.path.charAt(0)!="/"){var path=_184.path.substring(0,_184.path.lastIndexOf("/")+1)+_183.path;var segs=path.split("/");for(var j=0;j<segs.length;j++){if(segs[j]=="."){if(j==segs.length-1){segs[j]="";}else{segs.splice(j,1);j--;}}else{if(j>0&&!(j==1&&segs[0]=="")&&segs[j]==".."&&segs[j-1]!=".."){if(j==(segs.length-1)){segs.splice(j,1);segs[j-1]="";}else{segs.splice(j-1,2);j-=2;}}}}_183.path=segs.join("/");}}}}uri=[];if(_183.scheme){uri.push(_183.scheme,":");}if(_183.authority){uri.push("//",_183.authority);}uri.push(_183.path);if(_183.query){uri.push("?",_183.query);}if(_183.fragment){uri.push("#",_183.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;}};_181.prototype.toString=function(){return this.uri;};return dojo._Url=_181;});},"dojo/string":function(){define("dojo/string",["./_base/kernel","./_base/lang"],function(dojo,lang){lang.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(_185,map,_186,_187){_187=_187||dojo.global;_186=_186?lang.hitch(_187,_186):function(v){return v;};return _185.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_188,key,_189){var _18a=lang.getObject(key,false,map);if(_189){_18a=lang.getObject(_189,false,_187).call(_187,_18a,key);}return _186(_18a,key).toString();});};dojo.string.trim=String.prototype.trim?lang.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;};return dojo.string;});},"url:dijit/templates/TitlePane.html":"<div>\n\t<div data-dojo-attach-event=\"onclick:_onTitleClick, onkeydown:_onTitleKey\"\n\t\t\tclass=\"dijitTitlePaneTitle\" data-dojo-attach-point=\"titleBarNode\">\n\t\t<div class=\"dijitTitlePaneTitleFocus\" data-dojo-attach-point=\"focusNode\">\n\t\t\t<img src=\"${_blankGif}\" alt=\"\" data-dojo-attach-point=\"arrowNode\" class=\"dijitArrowNode\" role=\"presentation\"\n\t\t\t/><span data-dojo-attach-point=\"arrowNodeInner\" class=\"dijitArrowNodeInner\"></span\n\t\t\t><span data-dojo-attach-point=\"titleNode\" class=\"dijitTitlePaneTextNode\"></span>\n\t\t</div>\n\t</div>\n\t<div class=\"dijitTitlePaneContentOuter\" data-dojo-attach-point=\"hideNode\" role=\"presentation\">\n\t\t<div class=\"dijitReset\" data-dojo-attach-point=\"wipeNode\" role=\"presentation\">\n\t\t\t<div class=\"dijitTitlePaneContentInner\" data-dojo-attach-point=\"containerNode\" role=\"region\" id=\"${id}_pane\">\n\t\t\t\t<!-- nested divs because wipeIn()/wipeOut() doesn't work right on node w/padding etc.  Put padding on inner div. -->\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n","dijit/DialogUnderlay":function(){define("dijit/DialogUnderlay",["dojo/_base/declare","dojo/dom-attr","dojo/_base/window","dojo/window","./_Widget","./_TemplatedMixin","./BackgroundIframe"],function(_18b,_18c,win,_18d,_18e,_18f,_190){return _18b("dijit.DialogUnderlay",[_18e,_18f],{templateString:"<div class='dijitDialogUnderlayWrapper'><div class='dijitDialogUnderlay' data-dojo-attach-point='node'></div></div>",dialogId:"","class":"",_setDialogIdAttr:function(id){_18c.set(this.node,"id",id+"_underlay");this._set("dialogId",id);},_setClassAttr:function(_191){this.node.className="dijitDialogUnderlay "+_191;this._set("class",_191);},postCreate:function(){win.body().appendChild(this.domNode);},layout:function(){var is=this.node.style,os=this.domNode.style;os.display="none";var _192=_18d.getBox();os.top=_192.t+"px";os.left=_192.l+"px";is.width=_192.w+"px";is.height=_192.h+"px";os.display="block";},show:function(){this.domNode.style.display="block";this.layout();this.bgIframe=new _190(this.domNode);},hide:function(){this.bgIframe.destroy();delete this.bgIframe;this.domNode.style.display="none";}});});},"url:dijit/templates/Dialog.html":"<div class=\"dijitDialog\" role=\"dialog\" aria-labelledby=\"${id}_title\">\n\t<div data-dojo-attach-point=\"titleBar\" class=\"dijitDialogTitleBar\">\n\t<span data-dojo-attach-point=\"titleNode\" class=\"dijitDialogTitle\" id=\"${id}_title\"></span>\n\t<span data-dojo-attach-point=\"closeButtonNode\" class=\"dijitDialogCloseIcon\" data-dojo-attach-event=\"ondijitclick: onCancel\" title=\"${buttonCancel}\" role=\"button\" tabIndex=\"0\">\n\t\t<span data-dojo-attach-point=\"closeText\" class=\"closeText\" title=\"${buttonCancel}\">x</span>\n\t</span>\n\t</div>\n\t\t<div data-dojo-attach-point=\"containerNode\" class=\"dijitDialogPaneContent\"></div>\n</div>\n","dojo/cache":function(){define("dojo/cache",["./_base/kernel","./text"],function(dojo,text){return dojo.cache;});},"dijit/TitlePane":function(){require({cache:{"url:dijit/templates/TitlePane.html":"<div>\n\t<div data-dojo-attach-event=\"onclick:_onTitleClick, onkeydown:_onTitleKey\"\n\t\t\tclass=\"dijitTitlePaneTitle\" data-dojo-attach-point=\"titleBarNode\">\n\t\t<div class=\"dijitTitlePaneTitleFocus\" data-dojo-attach-point=\"focusNode\">\n\t\t\t<img src=\"${_blankGif}\" alt=\"\" data-dojo-attach-point=\"arrowNode\" class=\"dijitArrowNode\" role=\"presentation\"\n\t\t\t/><span data-dojo-attach-point=\"arrowNodeInner\" class=\"dijitArrowNodeInner\"></span\n\t\t\t><span data-dojo-attach-point=\"titleNode\" class=\"dijitTitlePaneTextNode\"></span>\n\t\t</div>\n\t</div>\n\t<div class=\"dijitTitlePaneContentOuter\" data-dojo-attach-point=\"hideNode\" role=\"presentation\">\n\t\t<div class=\"dijitReset\" data-dojo-attach-point=\"wipeNode\" role=\"presentation\">\n\t\t\t<div class=\"dijitTitlePaneContentInner\" data-dojo-attach-point=\"containerNode\" role=\"region\" id=\"${id}_pane\">\n\t\t\t\t<!-- nested divs because wipeIn()/wipeOut() doesn't work right on node w/padding etc.  Put padding on inner div. -->\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n"}});define("dijit/TitlePane",["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/_base/event","dojo/fx","dojo/_base/kernel","dojo/keys","./_CssStateMixin","./_TemplatedMixin","./layout/ContentPane","dojo/text!./templates/TitlePane.html","./_base/manager"],function(_193,_194,dom,_195,_196,_197,_198,_199,_19a,keys,_19b,_19c,_19d,_19e,_19f){return _194("dijit.TitlePane",[_19d,_19c,_19b],{title:"",_setTitleAttr:{node:"titleNode",type:"innerHTML"},open:true,toggleable:true,tabIndex:"0",duration:_19f.defaultDuration,baseClass:"dijitTitlePane",templateString:_19e,doLayout:false,_setTooltipAttr:{node:"focusNode",type:"attribute",attribute:"title"},buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.titleNode,false);},postCreate:function(){this.inherited(arguments);if(this.toggleable){this._trackMouseState(this.titleBarNode,"dijitTitlePaneTitle");}var _1a0=this.hideNode,_1a1=this.wipeNode;this._wipeIn=_199.wipeIn({node:_1a1,duration:this.duration,beforeBegin:function(){_1a0.style.display="";}});this._wipeOut=_199.wipeOut({node:_1a1,duration:this.duration,onEnd:function(){_1a0.style.display="none";}});},_setOpenAttr:function(open,_1a2){_193.forEach([this._wipeIn,this._wipeOut],function(_1a3){if(_1a3&&_1a3.status()=="playing"){_1a3.stop();}});if(_1a2){var anim=this[open?"_wipeIn":"_wipeOut"];anim.play();}else{this.hideNode.style.display=this.wipeNode.style.display=open?"":"none";}if(this._started){if(open){this._onShow();}else{this.onHide();}}this.arrowNodeInner.innerHTML=open?"-":"+";this.containerNode.setAttribute("aria-hidden",open?"false":"true");this.focusNode.setAttribute("aria-pressed",open?"true":"false");this._set("open",open);this._setCss();},_setToggleableAttr:function(_1a4){this.focusNode.setAttribute("role",_1a4?"button":"heading");if(_1a4){this.focusNode.setAttribute("aria-controls",this.id+"_pane");_195.set(this.focusNode,"tabIndex",this.tabIndex);}else{_195.remove(this.focusNode,"tabIndex");}this._set("toggleable",_1a4);this._setCss();},_setContentAttr:function(_1a5){if(!this.open||!this._wipeOut||this._wipeOut.status()=="playing"){this.inherited(arguments);}else{if(this._wipeIn&&this._wipeIn.status()=="playing"){this._wipeIn.stop();}_197.setMarginBox(this.wipeNode,{h:_197.getMarginBox(this.wipeNode).h});this.inherited(arguments);if(this._wipeIn){this._wipeIn.play();}else{this.hideNode.style.display="";}}},toggle:function(){this._setOpenAttr(!this.open,true);},_setCss:function(){var node=this.titleBarNode||this.focusNode;var _1a6=this._titleBarClass;this._titleBarClass="dijit"+(this.toggleable?"":"Fixed")+(this.open?"Open":"Closed");_196.replace(node,this._titleBarClass,_1a6||"");this.arrowNodeInner.innerHTML=this.open?"-":"+";},_onTitleKey:function(e){if(e.keyCode==keys.ENTER||e.keyCode==keys.SPACE){if(this.toggleable){this.toggle();_198.stop(e);}}else{if(e.keyCode==keys.DOWN_ARROW&&this.open){this.containerNode.focus();e.preventDefault();}}},_onTitleClick:function(){if(this.toggleable){this.toggle();}},setTitle:function(_1a7){_19a.deprecated("dijit.TitlePane.setTitle() is deprecated.  Use set('title', ...) instead.","","2.0");this.set("title",_1a7);}});});},"dojo/date/stamp":function(){define("dojo/date/stamp",["../_base/kernel","../_base/lang","../_base/array"],function(dojo,lang,_1a8){lang.getObject("date.stamp",true,dojo);dojo.date.stamp.fromISOString=function(_1a9,_1aa){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 _1ab=dojo.date.stamp._isoRegExp.exec(_1a9),_1ac=null;if(_1ab){_1ab.shift();if(_1ab[1]){_1ab[1]--;}if(_1ab[6]){_1ab[6]*=1000;}if(_1aa){_1aa=new Date(_1aa);_1a8.forEach(_1a8.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(prop){return _1aa["get"+prop]();}),function(_1ad,_1ae){_1ab[_1ae]=_1ab[_1ae]||_1ad;});}_1ac=new Date(_1ab[0]||1970,_1ab[1]||0,_1ab[2]||1,_1ab[3]||0,_1ab[4]||0,_1ab[5]||0,_1ab[6]||0);if(_1ab[0]<100){_1ac.setFullYear(_1ab[0]||1970);}var _1af=0,_1b0=_1ab[7]&&_1ab[7].charAt(0);if(_1b0!="Z"){_1af=((_1ab[8]||0)*60)+(Number(_1ab[9])||0);if(_1b0!="-"){_1af*=-1;}}if(_1b0){_1af-=_1ac.getTimezoneOffset();}if(_1af){_1ac.setTime(_1ac.getTime()+_1af*60000);}}return _1ac;};dojo.date.stamp.toISOString=function(_1b1,_1b2){var _1b3=function(n){return (n<10)?"0"+n:n;};_1b2=_1b2||{};var _1b4=[],_1b5=_1b2.zulu?"getUTC":"get",date="";if(_1b2.selector!="time"){var year=_1b1[_1b5+"FullYear"]();date=["0000".substr((year+"").length)+year,_1b3(_1b1[_1b5+"Month"]()+1),_1b3(_1b1[_1b5+"Date"]())].join("-");}_1b4.push(date);if(_1b2.selector!="date"){var time=[_1b3(_1b1[_1b5+"Hours"]()),_1b3(_1b1[_1b5+"Minutes"]()),_1b3(_1b1[_1b5+"Seconds"]())].join(":");var _1b6=_1b1[_1b5+"Milliseconds"]();if(_1b2.milliseconds){time+="."+(_1b6<100?"0":"")+_1b3(_1b6);}if(_1b2.zulu){time+="Z";}else{if(_1b2.selector!="time"){var _1b7=_1b1.getTimezoneOffset();var _1b8=Math.abs(_1b7);time+=(_1b7>0?"-":"+")+_1b3(Math.floor(_1b8/60))+":"+_1b3(_1b8%60);}}_1b4.push(time);}return _1b4.join("T");};return dojo.date.stamp;});},"dijit/TooltipDialog":function(){require({cache:{"url:dijit/templates/TooltipDialog.html":"<div role=\"presentation\" tabIndex=\"-1\">\n\t<div class=\"dijitTooltipContainer\" role=\"presentation\">\n\t\t<div class =\"dijitTooltipContents dijitTooltipFocusNode\" data-dojo-attach-point=\"containerNode\" role=\"dialog\"></div>\n\t</div>\n\t<div class=\"dijitTooltipConnector\" role=\"presentation\"></div>\n</div>\n"}});define("dijit/TooltipDialog",["dojo/_base/declare","dojo/dom-class","dojo/_base/event","dojo/keys","dojo/_base/lang","./focus","./layout/ContentPane","./_DialogMixin","./form/_FormMixin","./_TemplatedMixin","dojo/text!./templates/TooltipDialog.html","."],function(_1b9,_1ba,_1bb,keys,lang,_1bc,_1bd,_1be,_1bf,_1c0,_1c1,_1c2){return _1b9("dijit.TooltipDialog",[_1bd,_1c0,_1bf,_1be],{title:"",doLayout:false,autofocus:true,baseClass:"dijitTooltipDialog",_firstFocusItem:null,_lastFocusItem:null,templateString:_1c1,_setTitleAttr:function(_1c3){this.containerNode.title=_1c3;this._set("title",_1c3);},postCreate:function(){this.inherited(arguments);this.connect(this.containerNode,"onkeypress","_onKey");},orient:function(node,_1c4,_1c5){var newC="dijitTooltipAB"+(_1c5.charAt(1)=="L"?"Left":"Right")+" dijitTooltip"+(_1c5.charAt(0)=="T"?"Below":"Above");_1ba.replace(this.domNode,newC,this._currentOrientClass||"");this._currentOrientClass=newC;},focus:function(){this._getFocusItems(this.containerNode);_1bc.focus(this._firstFocusItem);},onOpen:function(pos){this.orient(this.domNode,pos.aroundCorner,pos.corner);this._onShow();},onClose:function(){this.onHide();},_onKey:function(evt){var node=evt.target;if(evt.charOrCode===keys.TAB){this._getFocusItems(this.containerNode);}var _1c6=(this._firstFocusItem==this._lastFocusItem);if(evt.charOrCode==keys.ESCAPE){setTimeout(lang.hitch(this,"onCancel"),0);_1bb.stop(evt);}else{if(node==this._firstFocusItem&&evt.shiftKey&&evt.charOrCode===keys.TAB){if(!_1c6){_1bc.focus(this._lastFocusItem);}_1bb.stop(evt);}else{if(node==this._lastFocusItem&&evt.charOrCode===keys.TAB&&!evt.shiftKey){if(!_1c6){_1bc.focus(this._firstFocusItem);}_1bb.stop(evt);}else{if(evt.charOrCode===keys.TAB){evt.stopPropagation();}}}}}});});},"dijit/layout/_ContentPaneResizeMixin":function(){define("dijit/layout/_ContentPaneResizeMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/_base/lang","dojo/query","dojo/_base/sniff","dojo/_base/window","../registry","./utils","../_Contained"],function(_1c7,_1c8,_1c9,_1ca,_1cb,lang,_1cc,has,win,_1cd,_1ce,_1cf){return _1c8("dijit.layout._ContentPaneResizeMixin",null,{doLayout:true,isLayoutContainer:true,startup:function(){if(this._started){return;}var _1d0=this.getParent();this._childOfLayoutWidget=_1d0&&_1d0.isLayoutContainer;this._needLayout=!this._childOfLayoutWidget;this.inherited(arguments);if(this._isShown()){this._onShow();}if(!this._childOfLayoutWidget){this.connect(has("ie")?this.domNode:win.global,"onresize",function(){this._needLayout=!this._childOfLayoutWidget;this.resize();});}},_checkIfSingleChild:function(){var _1d1=_1cc("> *",this.containerNode).filter(function(node){return node.tagName!=="SCRIPT";}),_1d2=_1d1.filter(function(node){return _1c9.has(node,"data-dojo-type")||_1c9.has(node,"dojoType")||_1c9.has(node,"widgetId");}),_1d3=_1c7.filter(_1d2.map(_1cd.byNode),function(_1d4){return _1d4&&_1d4.domNode&&_1d4.resize;});if(_1d1.length==_1d2.length&&_1d3.length==1){this._singleChild=_1d3[0];}else{delete this._singleChild;}_1ca.toggle(this.containerNode,this.baseClass+"SingleChild",!!this._singleChild);},resize:function(_1d5,_1d6){if(!this._wasShown&&this.open!==false){this._onShow();}this._resizeCalled=true;this._scheduleLayout(_1d5,_1d6);},_scheduleLayout:function(_1d7,_1d8){if(this._isShown()){this._layout(_1d7,_1d8);}else{this._needLayout=true;this._changeSize=_1d7;this._resultSize=_1d8;}},_layout:function(_1d9,_1da){if(_1d9){_1cb.setMarginBox(this.domNode,_1d9);}var cn=this.containerNode;if(cn===this.domNode){var mb=_1da||{};lang.mixin(mb,_1d9||{});if(!("h" in mb)||!("w" in mb)){mb=lang.mixin(_1cb.getMarginBox(cn),mb);}this._contentBox=_1ce.marginBox2contentBox(cn,mb);}else{this._contentBox=_1cb.getContentBox(cn);}this._layoutChildren();delete this._needLayout;},_layoutChildren:function(){if(this.doLayout){this._checkIfSingleChild();}if(this._singleChild&&this._singleChild.resize){var cb=this._contentBox||_1cb.getContentBox(this.containerNode);this._singleChild.resize({w:cb.w,h:cb.h});}else{_1c7.forEach(this.getChildren(),function(_1db){if(_1db.resize){_1db.resize();}});}},_isShown:function(){if(this._childOfLayoutWidget){if(this._resizeCalled&&"open" in this){return this.open;}return this._resizeCalled;}else{if("open" in this){return this.open;}else{var node=this.domNode,_1dc=this.domNode.parentNode;return (node.style.display!="none")&&(node.style.visibility!="hidden")&&!_1ca.contains(node,"dijitHidden")&&_1dc&&_1dc.style&&(_1dc.style.display!="none");}}},_onShow:function(){this._wasShown=true;if(this._needLayout){this._layout(this._changeSize,this._resultSize);}this.inherited(arguments);}});});},"dojo/html":function(){define("dojo/html",["./_base/kernel","./_base/lang","./_base/array","./_base/declare","./dom","./dom-construct","./parser"],function(dojo,lang,_1dd,_1de,dom,_1df,_1e0){lang.getObject("html",true,dojo);var _1e1=0;dojo.html._secureForInnerHtml=function(cont){return cont.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig,"");};dojo.html._emptyNode=_1df.empty;dojo.html._setNodeContent=function(node,cont){_1df.empty(node);if(cont){if(typeof cont=="string"){cont=_1df.toDom(cont,node.ownerDocument);}if(!cont.nodeType&&lang.isArrayLike(cont)){for(var _1e2=cont.length,i=0;i<cont.length;i=_1e2==cont.length?i+1:0){_1df.place(cont[i],node,"last");}}else{_1df.place(cont,node,"last");}}return node;};_1de("dojo.html._ContentSetter",null,{node:"",content:"",id:"",cleanContent:false,extractContent:false,parseContent:false,parserScope:dojo._scopeName,startup:true,constructor:function(_1e3,node){lang.mixin(this,_1e3||{});node=this.node=dom.byId(this.node||node);if(!this.id){this.id=["Setter",(node)?node.id||node.tagName:"",_1e1++].join("_");}},set:function(cont,_1e4){if(undefined!==cont){this.content=cont;}if(_1e4){this._mixin(_1e4);}this.onBegin();this.setContent();this.onEnd();return this.node;},setContent:function(){var node=this.node;if(!node){throw new Error(this.declaredClass+": setContent given no node");}try{node=dojo.html._setNodeContent(node,this.content);}catch(e){var _1e5=this.onContentError(e);try{node.innerHTML=_1e5;}catch(e){console.error("Fatal "+this.declaredClass+".setContent could not change content due to "+e.message,e);}}this.node=node;},empty:function(){if(this.parseResults&&this.parseResults.length){_1dd.forEach(this.parseResults,function(w){if(w.destroy){w.destroy();}});delete this.parseResults;}dojo.html._emptyNode(this.node);},onBegin:function(){var cont=this.content;if(lang.isString(cont)){if(this.cleanContent){cont=dojo.html._secureForInnerHtml(cont);}if(this.extractContent){var _1e6=cont.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_1e6){cont=_1e6[1];}}}this.empty();this.content=cont;return this.node;},onEnd:function(){if(this.parseContent){this._parse();}return this.node;},tearDown:function(){delete this.parseResults;delete this.node;delete this.content;},onContentError:function(err){return "Error occured setting content: "+err;},_mixin:function(_1e7){var _1e8={},key;for(key in _1e7){if(key in _1e8){continue;}this[key]=_1e7[key];}},_parse:function(){var _1e9=this.node;try{var _1ea={};_1dd.forEach(["dir","lang","textDir"],function(name){if(this[name]){_1ea[name]=this[name];}},this);this.parseResults=_1e0.parse({rootNode:_1e9,noStart:!this.startup,inherited:_1ea,scope:this.parserScope});}catch(e){this._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);}},_onError:function(type,err,_1eb){var _1ec=this["on"+type+"Error"].call(this,err);if(_1eb){console.error(_1eb,err);}else{if(_1ec){dojo.html._setNodeContent(this.node,_1ec,true);}}}});dojo.html.set=function(node,cont,_1ed){if(undefined==cont){console.warn("dojo.html.set: no cont argument provided, using empty string");cont="";}if(!_1ed){return dojo.html._setNodeContent(node,cont,true);}else{var op=new dojo.html._ContentSetter(lang.mixin(_1ed,{content:cont,node:node}));return op.set();}};return dojo.html;});},"*now":function(r){r(["dojo/i18n!*preload*dijit/nls/_dijit_layout_basic*[\"ar\",\"ca\",\"cs\",\"da\",\"de\",\"el\",\"en\",\"es\",\"fi\",\"fr\",\"he\",\"hr\",\"hu\",\"it\",\"ja\",\"kk\",\"ko\",\"nl\",\"no\",\"pl\",\"pt\",\"pt-br\",\"ro\",\"ru\",\"sk\",\"sl\",\"sv\",\"th\",\"tr\",\"uk\",\"zh\",\"zh-tw\",\"ROOT\"]"]);},"*noref":1}});define("dijit/_dijit_layout_basic",[],1);require(["dijit/layout/ContentPane","dijit/layout/LinkPane","dijit/TitlePane","dijit/Dialog","dijit/TooltipDialog"]);
}catch(e){console.log("Module 'dijit_layout_basic_17': ",e);}
try{/*
	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
*/

//>>built
require({cache:{"dijit/a11y":function(){define("dijit/a11y",["dojo/_base/array","dojo/dom","dojo/dom-attr","dojo/dom-style","dojo/_base/lang","dojo/_base/sniff","./main"],function(_1,_2,_3,_4,_5,_6,_7){var _8;var _9={_isElementShown:function(_a){var s=_4.get(_a);return (s.visibility!="hidden")&&(s.visibility!="collapsed")&&(s.display!="none")&&(_3.get(_a,"type")!="hidden");},hasDefaultTabStop:function(_b){switch(_b.nodeName.toLowerCase()){case "a":return _3.has(_b,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return true;case "iframe":var _c;try{var _d=_b.contentDocument;if("designMode" in _d&&_d.designMode=="on"){return true;}_c=_d.body;}catch(e1){try{_c=_b.contentWindow.document.body;}catch(e2){return false;}}return _c&&(_c.contentEditable=="true"||(_c.firstChild&&_c.firstChild.contentEditable=="true"));default:return _b.contentEditable=="true";}},effectiveTabIndex:function(_e){if(_3.get(_e,"disabled")){return _8;}else{if(_3.has(_e,"tabIndex")){return +_3.get(_e,"tabIndex");}else{return _9.hasDefaultTabStop(_e)?0:_8;}}},isTabNavigable:function(_f){return _9.effectiveTabIndex(_f)>=0;},isFocusable:function(_10){return _9.effectiveTabIndex(_10)>=-1;},_getTabNavigable:function(_11){var _12,_13,_14,_15,_16,_17,_18={};function _19(_1a){return _1a&&_1a.tagName.toLowerCase()=="input"&&_1a.type&&_1a.type.toLowerCase()=="radio"&&_1a.name&&_1a.name.toLowerCase();};var _1b=_9._isElementShown,_1c=_9.effectiveTabIndex;var _1d=function(_1e){for(var _1f=_1e.firstChild;_1f;_1f=_1f.nextSibling){if(_1f.nodeType!=1||(_6("ie")<=9&&_1f.scopeName!=="HTML")||!_1b(_1f)){continue;}var _20=_1c(_1f);if(_20>=0){if(_20==0){if(!_12){_12=_1f;}_13=_1f;}else{if(_20>0){if(!_14||_20<_15){_15=_20;_14=_1f;}if(!_16||_20>=_17){_17=_20;_16=_1f;}}}var rn=_19(_1f);if(_3.get(_1f,"checked")&&rn){_18[rn]=_1f;}}if(_1f.nodeName.toUpperCase()!="SELECT"){_1d(_1f);}}};if(_1b(_11)){_1d(_11);}function rs(_21){return _18[_19(_21)]||_21;};return {first:rs(_12),last:rs(_13),lowest:rs(_14),highest:rs(_16)};},getFirstInTabbingOrder:function(_22,doc){var _23=_9._getTabNavigable(_2.byId(_22,doc));return _23.lowest?_23.lowest:_23.first;},getLastInTabbingOrder:function(_24,doc){var _25=_9._getTabNavigable(_2.byId(_24,doc));return _25.last?_25.last:_25.highest;}};1&&_5.mixin(_7,_9);return _9;});},"dijit/_WidgetBase":function(){define("dijit/_WidgetBase",["require","dojo/_base/array","dojo/aspect","dojo/_base/config","dojo/_base/connect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/ready","dojo/Stateful","dojo/topic","dojo/_base/window","./registry"],function(_26,_27,_28,_29,_2a,_2b,dom,_2c,_2d,_2e,_2f,_30,_31,_32,on,_33,_34,_35,win,_36){if(!_31.isAsync){_33(0,function(){var _37=["dijit/_base/manager"];_26(_37);});}var _38={};function _39(obj){var ret={};for(var _3a in obj){ret[_3a.toLowerCase()]=true;}return ret;};function _3b(_3c){return function(val){_2c[val?"set":"remove"](this.domNode,_3c,val);this._set(_3c,val);};};function _3d(a,b){return a===b||(a!==a&&b!==b);};return _2b("dijit._WidgetBase",_34,{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:_3b("lang"),dir:"",_setDirAttr:_3b("dir"),textDir:"","class":"",_setClassAttr:{node:"domNode",type:"class"},style:"",title:"",tooltip:"",baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,attributeMap:{},_blankGif:_29.blankGif||_26.toUrl("dojo/resources/blank.gif"),postscript:function(_3e,_3f){this.create(_3e,_3f);},create:function(_40,_41){this.srcNodeRef=dom.byId(_41);this._connects=[];this._supportingWidgets=[];if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_40){this.params=_40;_32.mixin(this,_40);}this.postMixInProperties();if(!this.id){this.id=_36.getUniqueId(this.declaredClass.replace(/\./g,"_"));}_36.add(this);this.buildRendering();if(this.domNode){this._applyAttributes();var _42=this.srcNodeRef;if(_42&&_42.parentNode&&this.domNode!==_42){_42.parentNode.replaceChild(this.domNode,_42);}}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 _43=this.constructor,_44=_43._setterAttrs;if(!_44){_44=(_43._setterAttrs=[]);for(var _45 in this.attributeMap){_44.push(_45);}var _46=_43.prototype;for(var _47 in _46){if(_47 in this.attributeMap){continue;}var _48="_set"+_47.replace(/^[a-z]|-[a-zA-Z]/g,function(c){return c.charAt(c.length-1).toUpperCase();})+"Attr";if(_48 in _46){_44.push(_47);}}}_27.forEach(_44,function(_49){if(this.params&&_49 in this.params){}else{if(this[_49]){this.set(_49,this[_49]);}}},this);for(var _4a in this.params){this.set(_4a,this[_4a]);}},postMixInProperties:function(){},buildRendering:function(){if(!this.domNode){this.domNode=this.srcNodeRef||_2e.create("div");}if(this.baseClass){var _4b=this.baseClass.split(" ");if(!this.isLeftToRight()){_4b=_4b.concat(_27.map(_4b,function(_4c){return _4c+"Rtl";}));}_2d.add(this.domNode,_4b);}},postCreate:function(){},startup:function(){if(this._started){return;}this._started=true;_27.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&_32.isFunction(obj.startup)){obj.startup();obj._started=true;}});},destroyRecursive:function(_4d){this._beingDestroyed=true;this.destroyDescendants(_4d);this.destroy(_4d);},destroy:function(_4e){this._beingDestroyed=true;this.uninitialize();var c;while((c=this._connects.pop())){c.remove();}var w;while((w=this._supportingWidgets.pop())){if(w.destroyRecursive){w.destroyRecursive();}else{if(w.destroy){w.destroy();}}}this.destroyRendering(_4e);_36.remove(this.id);this._destroyed=true;},destroyRendering:function(_4f){if(this.bgIframe){this.bgIframe.destroy(_4f);delete this.bgIframe;}if(this.domNode){if(_4f){_2c.remove(this.domNode,"widgetId");}else{_2e.destroy(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_4f){_2e.destroy(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_50){_27.forEach(this.getChildren(),function(_51){if(_51.destroyRecursive){_51.destroyRecursive(_50);}});},uninitialize:function(){return false;},_setStyleAttr:function(_52){var _53=this.domNode;if(_32.isObject(_52)){_30.set(_53,_52);}else{if(_53.style.cssText){_53.style.cssText+="; "+_52;}else{_53.style.cssText=_52;}}this._set("style",_52);},_attrToDom:function(_54,_55,_56){_56=arguments.length>=3?_56:this.attributeMap[_54];_27.forEach(_32.isArray(_56)?_56:[_56],function(_57){var _58=this[_57.node||_57||"domNode"];var _59=_57.type||"attribute";switch(_59){case "attribute":if(_32.isFunction(_55)){_55=_32.hitch(this,_55);}var _5a=_57.attribute?_57.attribute:(/^on[A-Z][a-zA-Z]*$/.test(_54)?_54.toLowerCase():_54);_2c.set(_58,_5a,_55);break;case "innerText":_58.innerHTML="";_58.appendChild(win.doc.createTextNode(_55));break;case "innerHTML":_58.innerHTML=_55;break;case "class":_2d.replace(_58,_55,this[_54]);break;}},this);},get:function(_5b){var _5c=this._getAttrNames(_5b);return this[_5c.g]?this[_5c.g]():this[_5b];},set:function(_5d,_5e){if(typeof _5d==="object"){for(var x in _5d){this.set(x,_5d[x]);}return this;}var _5f=this._getAttrNames(_5d),_60=this[_5f.s];if(_32.isFunction(_60)){var _61=_60.apply(this,Array.prototype.slice.call(arguments,1));}else{var _62=this.focusNode&&!_32.isFunction(this.focusNode)?"focusNode":"domNode",tag=this[_62].tagName,_63=_38[tag]||(_38[tag]=_39(this[_62])),map=_5d in this.attributeMap?this.attributeMap[_5d]:_5f.s in this?this[_5f.s]:((_5f.l in _63&&typeof _5e!="function")||/^aria-|^data-|^role$/.test(_5d))?_62:null;if(map!=null){this._attrToDom(_5d,_5e,map);}this._set(_5d,_5e);}return _61||this;},_attrPairNames:{},_getAttrNames:function(_64){var apn=this._attrPairNames;if(apn[_64]){return apn[_64];}var uc=_64.replace(/^[a-z]|-[a-zA-Z]/g,function(c){return c.charAt(c.length-1).toUpperCase();});return (apn[_64]={n:_64+"Node",s:"_set"+uc+"Attr",g:"_get"+uc+"Attr",l:uc.toLowerCase()});},_set:function(_65,_66){var _67=this[_65];this[_65]=_66;if(this._watchCallbacks&&this._created&&!_3d(_66,_67)){this._watchCallbacks(_65,_67,_66);}},on:function(_68,_69){return _28.after(this,this._onMap(_68),_69,true);},_onMap:function(_6a){var _6b=this.constructor,map=_6b._onMap;if(!map){map=(_6b._onMap={});for(var _6c in _6b.prototype){if(/^on/.test(_6c)){map[_6c.replace(/^on/,"").toLowerCase()]=_6c;}}}return map[_6a.toLowerCase()];},toString:function(){return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";},getChildren:function(){return this.containerNode?_36.findWidgets(this.containerNode):[];},getParent:function(){return _36.getEnclosingWidget(this.domNode.parentNode);},connect:function(obj,_6d,_6e){var _6f=_2a.connect(obj,_6d,this,_6e);this._connects.push(_6f);return _6f;},disconnect:function(_70){var i=_27.indexOf(this._connects,_70);if(i!=-1){_70.remove();this._connects.splice(i,1);}},subscribe:function(t,_71){var _72=_35.subscribe(t,_32.hitch(this,_71));this._connects.push(_72);return _72;},unsubscribe:function(_73){this.disconnect(_73);},isLeftToRight:function(){return this.dir?(this.dir=="ltr"):_2f.isBodyLtr();},isFocusable:function(){return this.focus&&(_30.get(this.domNode,"display")!="none");},placeAt:function(_74,_75){if(_74.declaredClass&&_74.addChild){_74.addChild(this,_75);}else{_2e.place(this.domNode,_74,_75);}return this;},getTextDir:function(_76,_77){return _77;},applyTextDir:function(){},defer:function(fcn,_78){var _79=setTimeout(_32.hitch(this,function(){if(!_79){return;}_79=null;if(!this._destroyed){_32.hitch(this,fcn)();}}),_78||0);return {remove:function(){if(_79){clearTimeout(_79);_79=null;}return null;}};}});});},"dojox/layout/ContentPane":function(){define("dojox/layout/ContentPane",["dojo/_base/lang","dojo/_base/xhr","dijit/layout/ContentPane","dojox/html/_base","dojo/_base/declare"],function(_7a,_7b,_7c,_7d,_7e){return _7e("dojox.layout.ContentPane",_7c,{adjustPaths:false,cleanContent:false,renderStyles:false,executeScripts:true,scriptHasHooks:false,constructor:function(){this.ioArgs={};this.ioMethod=_7b.get;},onExecError:function(e){},_setContent:function(_7f){var _80=this._contentSetter;if(!(_80&&_80 instanceof _7d._ContentSetter)){_80=this._contentSetter=new _7d._ContentSetter({node:this.containerNode,_onError:_7a.hitch(this,this._onError),onContentError:_7a.hitch(this,function(e){var _81=this.onContentError(e);try{this.containerNode.innerHTML=_81;}catch(e){console.error("Fatal "+this.id+" could not change content due to "+e.message,e);}})});}this._contentSetterParams={adjustPaths:Boolean(this.adjustPaths&&(this.href||this.referencePath)),referencePath:this.href||this.referencePath,renderStyles:this.renderStyles,executeScripts:this.executeScripts,scriptHasHooks:this.scriptHasHooks,scriptHookReplacement:"dijit.byId('"+this.id+"')"};this.inherited("_setContent",arguments);},destroy:function(){var _82=this._contentSetter;if(_82){_82.tearDown();}this.inherited(arguments);}});});},"dojox/html/_base":function(){define("dojox/html/_base",["dojo/_base/kernel","dojo/_base/lang","dojo/_base/xhr","dojo/_base/window","dojo/_base/sniff","dojo/_base/url","dojo/dom-construct","dojo/html","dojo/_base/declare"],function(_83,_84,_85,_86,has,_87,_88,_89){var _8a=_83.getObject("dojox.html",true);if(has("ie")){var _8b=/(AlphaImageLoader\([^)]*?src=(['"]))(?![a-z]+:|\/)([^\r\n;}]+?)(\2[^)]*\)\s*[;}]?)/g;}var _8c=/(?:(?:@import\s*(['"])(?![a-z]+:|\/)([^\r\n;{]+?)\1)|url\(\s*(['"]?)(?![a-z]+:|\/)([^\r\n;]+?)\3\s*\))([a-z, \s]*[;}]?)/g;var _8d=_8a._adjustCssPaths=function(_8e,_8f){if(!_8f||!_8e){return;}if(_8b){_8f=_8f.replace(_8b,function(_90,pre,_91,url,_92){return pre+(new _87(_8e,"./"+url).toString())+_92;});}return _8f.replace(_8c,function(_93,_94,_95,_96,_97,_98){if(_95){return "@import \""+(new _87(_8e,"./"+_95).toString())+"\""+_98;}else{return "url("+(new _87(_8e,"./"+_97).toString())+")"+_98;}});};var _99=/(<[a-z][a-z0-9]*\s[^>]*)(?:(href|src)=(['"]?)([^>]*?)\3|style=(['"]?)([^>]*?)\5)([^>]*>)/gi;var _9a=_8a._adjustHtmlPaths=function(_9b,_9c){var url=_9b||"./";return _9c.replace(_99,function(tag,_9d,_9e,_9f,_a0,_a1,_a2,end){return _9d+(_9e?(_9e+"="+_9f+(new _87(url,_a0).toString())+_9f):("style="+_a1+_8d(url,_a2)+_a1))+end;});};var _a3=_8a._snarfStyles=function(_a4,_a5,_a6){_a6.attributes=[];return _a5.replace(/(?:<style([^>]*)>([\s\S]*?)<\/style>|<link\s+(?=[^>]*rel=['"]?stylesheet)([^>]*?href=(['"])([^>]*?)\4[^>\/]*)\/?>)/gi,function(_a7,_a8,_a9,_aa,_ab,_ac){var i,_ad=(_a8||_aa||"").replace(/^\s*([\s\S]*?)\s*$/i,"$1");if(_a9){i=_a6.push(_a4?_8d(_a4,_a9):_a9);}else{i=_a6.push("@import \""+_ac+"\";");_ad=_ad.replace(/\s*(?:rel|href)=(['"])?[^\s]*\1\s*/gi,"");}if(_ad){_ad=_ad.split(/\s+/);var _ae={},tmp;for(var j=0,e=_ad.length;j<e;j++){tmp=_ad[j].split("=");_ae[tmp[0]]=tmp[1].replace(/^\s*['"]?([\s\S]*?)['"]?\s*$/,"$1");}_a6.attributes[i-1]=_ae;}return "";});};var _af=_8a._snarfScripts=function(_b0,_b1){_b1.code="";_b0=_b0.replace(/<[!][-][-](.|\s)*?[-][-]>/g,function(_b2){return _b2.replace(/<(\/?)script\b/ig,"&lt;$1Script");});function _b3(src){if(_b1.downloadRemote){src=src.replace(/&([a-z0-9#]+);/g,function(m,_b4){switch(_b4){case "amp":return "&";case "gt":return ">";case "lt":return "<";default:return _b4.charAt(0)=="#"?String.fromCharCode(_b4.substring(1)):"&"+_b4+";";}});_85.get({url:src,sync:true,load:function(_b5){_b1.code+=_b5+";";},error:_b1.errBack});}};return _b0.replace(/<script\s*(?![^>]*type=['"]?(?:dojo\/|text\/html\b))(?:[^>]*?(?:src=(['"]?)([^>]*?)\1[^>]*)?)*>([\s\S]*?)<\/script>/gi,function(_b6,_b7,src,_b8){if(src){_b3(src);}else{_b1.code+=_b8;}return "";});};var _b9=_8a.evalInGlobal=function(_ba,_bb){_bb=_bb||_86.doc.body;var n=_bb.ownerDocument.createElement("script");n.type="text/javascript";_bb.appendChild(n);n.text=_ba;};_8a._ContentSetter=_83.declare(_89._ContentSetter,{adjustPaths:false,referencePath:".",renderStyles:false,executeScripts:false,scriptHasHooks:false,scriptHookReplacement:null,_renderStyles:function(_bc){this._styleNodes=[];var st,att,_bd,doc=this.node.ownerDocument;var _be=doc.getElementsByTagName("head")[0];for(var i=0,e=_bc.length;i<e;i++){_bd=_bc[i];att=_bc.attributes[i];st=doc.createElement("style");st.setAttribute("type","text/css");for(var x in att){st.setAttribute(x,att[x]);}this._styleNodes.push(st);_be.appendChild(st);if(st.styleSheet){st.styleSheet.cssText=_bd;}else{st.appendChild(doc.createTextNode(_bd));}}},empty:function(){this.inherited("empty",arguments);this._styles=[];},onBegin:function(){this.inherited("onBegin",arguments);var _bf=this.content,_c0=this.node;var _c1=this._styles;if(_84.isString(_bf)){if(this.adjustPaths&&this.referencePath){_bf=_9a(this.referencePath,_bf);}if(this.renderStyles||this.cleanContent){_bf=_a3(this.referencePath,_bf,_c1);}if(this.executeScripts){var _c2=this;var _c3={downloadRemote:true,errBack:function(e){_c2._onError.call(_c2,"Exec","Error downloading remote script in \""+_c2.id+"\"",e);}};_bf=_af(_bf,_c3);this._code=_c3.code;}}this.content=_bf;},onEnd:function(){var _c4=this._code,_c5=this._styles;if(this._styleNodes&&this._styleNodes.length){while(this._styleNodes.length){_88.destroy(this._styleNodes.pop());}}if(this.renderStyles&&_c5&&_c5.length){this._renderStyles(_c5);}if(this.executeScripts&&_c4){if(this.cleanContent){_c4=_c4.replace(/(<!--|(?:\/\/)?-->|<!\[CDATA\[|\]\]>)/g,"");}if(this.scriptHasHooks){_c4=_c4.replace(/_container_(?!\s*=[^=])/g,this.scriptHookReplacement);}try{_b9(_c4,this.node);}catch(e){this._onError("Exec","Error eval script in "+this.id+", "+e.message,e);}}this.inherited("onEnd",arguments);},tearDown:function(){this.inherited(arguments);delete this._styles;if(this._styleNodes&&this._styleNodes.length){while(this._styleNodes.length){_88.destroy(this._styleNodes.pop());}}delete this._styleNodes;_83.mixin(this,_8a._ContentSetter.prototype);}});_8a.set=function(_c6,_c7,_c8){if(!_c8){return _89._setNodeContent(_c6,_c7,true);}else{var op=new _8a._ContentSetter(_83.mixin(_c8,{content:_c7,node:_c6}));return op.set();}};return _8a;});},"dijit/_base/manager":function(){define("dijit/_base/manager",["dojo/_base/array","dojo/_base/config","../registry",".."],function(_c9,_ca,_cb,_cc){_c9.forEach(["byId","getUniqueId","findWidgets","_destroyAll","byNode","getEnclosingWidget"],function(_cd){_cc[_cd]=_cb[_cd];});_cc.defaultDuration=_ca["defaultDuration"]||200;return _cc;});},"dojox/layout/ResizeHandle":function(){define("dojox/layout/ResizeHandle",["dojo/_base/kernel","dojo/_base/lang","dojo/_base/connect","dojo/_base/array","dojo/_base/event","dojo/_base/fx","dojo/_base/window","dojo/fx","dojo/window","dojo/dom","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dijit/_base/manager","dijit/_Widget","dijit/_TemplatedMixin","dojo/_base/declare"],function(_ce,_cf,_d0,_d1,_d2,_d3,_d4,_d5,_d6,_d7,_d8,_d9,_da,_db,_dc,_dd,_de){_ce.experimental("dojox.layout.ResizeHandle");var _df=_de("dojox.layout.ResizeHandle",[_dc,_dd],{targetId:"",targetContainer:null,resizeAxis:"xy",activeResize:false,activeResizeClass:"dojoxResizeHandleClone",animateSizing:true,animateMethod:"chain",animateDuration:225,minHeight:100,minWidth:100,constrainMax:false,maxHeight:0,maxWidth:0,fixedAspect:false,intermediateChanges:false,startTopic:"/dojo/resize/start",endTopic:"/dojo/resize/stop",templateString:"<div dojoAttachPoint=\"resizeHandle\" class=\"dojoxResizeHandle\"><div></div></div>",postCreate:function(){this.connect(this.resizeHandle,"onmousedown","_beginSizing");if(!this.activeResize){this._resizeHelper=_db.byId("dojoxGlobalResizeHelper");if(!this._resizeHelper){this._resizeHelper=new _e0({id:"dojoxGlobalResizeHelper"}).placeAt(_d4.body());_d8.add(this._resizeHelper.domNode,this.activeResizeClass);}}else{this.animateSizing=false;}if(!this.minSize){this.minSize={w:this.minWidth,h:this.minHeight};}if(this.constrainMax){this.maxSize={w:this.maxWidth,h:this.maxHeight};}this._resizeX=this._resizeY=false;var _e1=_cf.partial(_d8.add,this.resizeHandle);switch(this.resizeAxis.toLowerCase()){case "xy":this._resizeX=this._resizeY=true;_e1("dojoxResizeNW");break;case "x":this._resizeX=true;_e1("dojoxResizeW");break;case "y":this._resizeY=true;_e1("dojoxResizeN");break;}},_beginSizing:function(e){if(this._isSizing){return;}_d0.publish(this.startTopic,[this]);this.targetWidget=_db.byId(this.targetId);this.targetDomNode=this.targetWidget?this.targetWidget.domNode:_d7.byId(this.targetId);if(this.targetContainer){this.targetDomNode=this.targetContainer;}if(!this.targetDomNode){return;}if(!this.activeResize){var c=_d9.position(this.targetDomNode,true);this._resizeHelper.resize({l:c.x,t:c.y,w:c.w,h:c.h});this._resizeHelper.show();if(!this.isLeftToRight()){this._resizeHelper.startPosition={l:c.x,t:c.y};}}this._isSizing=true;this.startPoint={x:e.clientX,y:e.clientY};var _e2=_da.getComputedStyle(this.targetDomNode),_e3=_d9.boxModel==="border-model",_e4=_e3?{w:0,h:0}:_d9.getPadBorderExtents(this.targetDomNode,_e2),_e5=_d9.getMarginExtents(this.targetDomNode,_e2),mb;mb=this.startSize={w:_da.get(this.targetDomNode,"width",_e2),h:_da.get(this.targetDomNode,"height",_e2),pbw:_e4.w,pbh:_e4.h,mw:_e5.w,mh:_e5.h};if(!this.isLeftToRight()&&dojo.style(this.targetDomNode,"position")=="absolute"){var p=_d9.position(this.targetDomNode,true);this.startPosition={l:p.x,t:p.y};}this._pconnects=[_d0.connect(_d4.doc,"onmousemove",this,"_updateSizing"),_d0.connect(_d4.doc,"onmouseup",this,"_endSizing")];_d2.stop(e);},_updateSizing:function(e){if(this.activeResize){this._changeSizing(e);}else{var tmp=this._getNewCoords(e,"border",this._resizeHelper.startPosition);if(tmp===false){return;}this._resizeHelper.resize(tmp);}e.preventDefault();},_getNewCoords:function(e,box,_e6){try{if(!e.clientX||!e.clientY){return false;}}catch(e){return false;}this._activeResizeLastEvent=e;var dx=(this.isLeftToRight()?1:-1)*(this.startPoint.x-e.clientX),dy=this.startPoint.y-e.clientY,_e7=this.startSize.w-(this._resizeX?dx:0),_e8=this.startSize.h-(this._resizeY?dy:0),r=this._checkConstraints(_e7,_e8);_e6=(_e6||this.startPosition);if(_e6&&this._resizeX){r.l=_e6.l+dx;if(r.w!=_e7){r.l+=(_e7-r.w);}r.t=_e6.t;}switch(box){case "margin":r.w+=this.startSize.mw;r.h+=this.startSize.mh;case "border":r.w+=this.startSize.pbw;r.h+=this.startSize.pbh;break;}return r;},_checkConstraints:function(_e9,_ea){if(this.minSize){var tm=this.minSize;if(_e9<tm.w){_e9=tm.w;}if(_ea<tm.h){_ea=tm.h;}}if(this.constrainMax&&this.maxSize){var ms=this.maxSize;if(_e9>ms.w){_e9=ms.w;}if(_ea>ms.h){_ea=ms.h;}}if(this.fixedAspect){var w=this.startSize.w,h=this.startSize.h,_eb=w*_ea-h*_e9;if(_eb<0){_e9=_ea*w/h;}else{if(_eb>0){_ea=_e9*h/w;}}}return {w:_e9,h:_ea};},_changeSizing:function(e){var _ec=this.targetWidget&&_cf.isFunction(this.targetWidget.resize),tmp=this._getNewCoords(e,_ec&&"margin");if(tmp===false){return;}if(_ec){this.targetWidget.resize(tmp);}else{if(this.animateSizing){var _ed=_d5[this.animateMethod]([_d3.animateProperty({node:this.targetDomNode,properties:{width:{start:this.startSize.w,end:tmp.w}},duration:this.animateDuration}),_d3.animateProperty({node:this.targetDomNode,properties:{height:{start:this.startSize.h,end:tmp.h}},duration:this.animateDuration})]);_ed.play();}else{_da.set(this.targetDomNode,{width:tmp.w+"px",height:tmp.h+"px"});}}if(this.intermediateChanges){this.onResize(e);}},_endSizing:function(e){_d1.forEach(this._pconnects,_d0.disconnect);var pub=_cf.partial(_d0.publish,this.endTopic,[this]);if(!this.activeResize){this._resizeHelper.hide();this._changeSizing(e);setTimeout(pub,this.animateDuration+15);}else{pub();}this._isSizing=false;this.onResize(e);},onResize:function(e){}});var _e0=dojo.declare("dojox.layout._ResizeHelper",_dc,{show:function(){_da.set(this.domNode,"display","");},hide:function(){_da.set(this.domNode,"display","none");},resize:function(dim){_d9.setMarginBox(this.domNode,dim);}});return _df;});},"dijit/registry":function(){define("dijit/registry",["dojo/_base/array","dojo/_base/sniff","dojo/_base/unload","dojo/_base/window","."],function(_ee,has,_ef,win,_f0){var _f1={},_f2={};var _f3={length:0,add:function(_f4){if(_f2[_f4.id]){throw new Error("Tried to register widget with id=="+_f4.id+" but that id is already registered");}_f2[_f4.id]=_f4;this.length++;},remove:function(id){if(_f2[id]){delete _f2[id];this.length--;}},byId:function(id){return typeof id=="string"?_f2[id]:id;},byNode:function(_f5){return _f2[_f5.getAttribute("widgetId")];},toArray:function(){var ar=[];for(var id in _f2){ar.push(_f2[id]);}return ar;},getUniqueId:function(_f6){var id;do{id=_f6+"_"+(_f6 in _f1?++_f1[_f6]:_f1[_f6]=0);}while(_f2[id]);return _f0._scopeName=="dijit"?id:_f0._scopeName+"_"+id;},findWidgets:function(_f7){var _f8=[];function _f9(_fa){for(var _fb=_fa.firstChild;_fb;_fb=_fb.nextSibling){if(_fb.nodeType==1){var _fc=_fb.getAttribute("widgetId");if(_fc){var _fd=_f2[_fc];if(_fd){_f8.push(_fd);}}else{_f9(_fb);}}}};_f9(_f7);return _f8;},_destroyAll:function(){_f0._curFocus=null;_f0._prevFocus=null;_f0._activeStack=[];_ee.forEach(_f3.findWidgets(win.body()),function(_fe){if(!_fe._destroyed){if(_fe.destroyRecursive){_fe.destroyRecursive();}else{if(_fe.destroy){_fe.destroy();}}}});},getEnclosingWidget:function(_ff){while(_ff){var id=_ff.getAttribute&&_ff.getAttribute("widgetId");if(id){return _f2[id];}_ff=_ff.parentNode;}return null;},_hash:_f2};_f0.registry=_f3;return _f3;});},"dijit/_OnDijitClickMixin":function(){define("dijit/_OnDijitClickMixin",["dojo/on","dojo/_base/array","dojo/keys","dojo/_base/declare","dojo/_base/sniff","dojo/_base/unload","dojo/_base/window"],function(on,_100,keys,_101,has,_102,win){var _103=null;if(has("ie")<9){(function(){var _104=function(evt){_103=evt.srcElement;};win.doc.attachEvent("onkeydown",_104);_102.addOnWindowUnload(function(){win.doc.detachEvent("onkeydown",_104);});})();}else{win.doc.addEventListener("keydown",function(evt){_103=evt.target;},true);}var _105=function(node,_106){if(/input|button/i.test(node.nodeName)){return on(node,"click",_106);}else{function _107(e){return (e.keyCode==keys.ENTER||e.keyCode==keys.SPACE)&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey;};var _108=[on(node,"keypress",function(e){if(_107(e)){_103=e.target;e.preventDefault();}}),on(node,"keyup",function(e){if(_107(e)&&e.target==_103){_103=null;_106.call(this,e);}}),on(node,"click",function(e){_106.call(this,e);})];return {remove:function(){_100.forEach(_108,function(h){h.remove();});}};}};return _101("dijit._OnDijitClickMixin",null,{connect:function(obj,_109,_10a){return this.inherited(arguments,[obj,_109=="ondijitclick"?_105:_109,_10a]);}});});},"dijit/hccss":function(){define("dijit/hccss",["require","dojo/_base/config","dojo/dom-class","dojo/dom-construct","dojo/dom-style","dojo/ready","dojo/_base/sniff","dojo/_base/window"],function(_10b,_10c,_10d,_10e,_10f,_110,has,win){if(has("ie")||has("mozilla")){_110(90,function(){var div=_10e.create("div",{id:"a11yTestNode",style:{cssText:"border: 1px solid;"+"border-color:red green;"+"position: absolute;"+"height: 5px;"+"top: -999px;"+"background-image: url(\""+(_10c.blankGif||_10b.toUrl("dojo/resources/blank.gif"))+"\");"}},win.body());var cs=_10f.getComputedStyle(div);if(cs){var _111=cs.backgroundImage;var _112=(cs.borderTopColor==cs.borderRightColor)||(_111!=null&&(_111=="none"||_111=="url(invalid-url:)"));if(_112){_10d.add(win.body(),"dijit_a11y");}if(has("ie")){div.outerHTML="";}else{win.body().removeChild(div);}}});}});},"dijit/_TemplatedMixin":function(){define("dijit/_TemplatedMixin",["dojo/_base/lang","dojo/touch","./_WidgetBase","dojo/string","dojo/cache","dojo/_base/array","dojo/_base/declare","dojo/dom-construct","dojo/_base/sniff","dojo/_base/unload","dojo/_base/window"],function(lang,_113,_114,_115,_116,_117,_118,_119,has,_11a,win){var _11b=_118("dijit._TemplatedMixin",null,{templateString:null,templatePath:null,_skipNodeCache:false,_earlyTemplatedStartup:false,constructor:function(){this._attachPoints=[];this._attachEvents=[];},_stringRepl:function(tmpl){var _11c=this.declaredClass,_11d=this;return _115.substitute(tmpl,this,function(_11e,key){if(key.charAt(0)=="!"){_11e=lang.getObject(key.substr(1),false,_11d);}if(typeof _11e=="undefined"){throw new Error(_11c+" template:"+key);}if(_11e==null){return "";}return key.charAt(0)=="!"?_11e:_11e.toString().replace(/"/g,"&quot;");},this);},buildRendering:function(){if(!this.templateString){this.templateString=_116(this.templatePath,{sanitize:true});}var _11f=_11b.getCachedTemplate(this.templateString,this._skipNodeCache);var node;if(lang.isString(_11f)){node=_119.toDom(this._stringRepl(_11f));if(node.nodeType!=1){throw new Error("Invalid template: "+_11f);}}else{node=_11f.cloneNode(true);}this.domNode=node;this.inherited(arguments);this._attachTemplateNodes(node,function(n,p){return n.getAttribute(p);});this._beforeFillContent();this._fillContent(this.srcNodeRef);},_beforeFillContent:function(){},_fillContent:function(_120){var dest=this.containerNode;if(_120&&dest){while(_120.hasChildNodes()){dest.appendChild(_120.firstChild);}}},_attachTemplateNodes:function(_121,_122){var _123=lang.isArray(_121)?_121:(_121.all||_121.getElementsByTagName("*"));var x=lang.isArray(_121)?0:-1;for(;x<_123.length;x++){var _124=(x==-1)?_121:_123[x];if(this.widgetsInTemplate&&(_122(_124,"dojoType")||_122(_124,"data-dojo-type"))){continue;}var _125=_122(_124,"dojoAttachPoint")||_122(_124,"data-dojo-attach-point");if(_125){var _126,_127=_125.split(/\s*,\s*/);while((_126=_127.shift())){if(lang.isArray(this[_126])){this[_126].push(_124);}else{this[_126]=_124;}this._attachPoints.push(_126);}}var _128=_122(_124,"dojoAttachEvent")||_122(_124,"data-dojo-attach-event");if(_128){var _129,_12a=_128.split(/\s*,\s*/);var trim=lang.trim;while((_129=_12a.shift())){if(_129){var _12b=null;if(_129.indexOf(":")!=-1){var _12c=_129.split(":");_129=trim(_12c[0]);_12b=trim(_12c[1]);}else{_129=trim(_129);}if(!_12b){_12b=_129;}this._attachEvents.push(this.connect(_124,_113[_129]||_129,_12b));}}}}},destroyRendering:function(){_117.forEach(this._attachPoints,function(_12d){delete this[_12d];},this);this._attachPoints=[];_117.forEach(this._attachEvents,this.disconnect,this);this._attachEvents=[];this.inherited(arguments);}});_11b._templateCache={};_11b.getCachedTemplate=function(_12e,_12f){var _130=_11b._templateCache;var key=_12e;var _131=_130[key];if(_131){try{if(!_131.ownerDocument||_131.ownerDocument==win.doc){return _131;}}catch(e){}_119.destroy(_131);}_12e=_115.trim(_12e);if(_12f||_12e.match(/\$\{([^\}]+)\}/g)){return (_130[key]=_12e);}else{var node=_119.toDom(_12e);if(node.nodeType!=1){throw new Error("Invalid template: "+_12e);}return (_130[key]=node);}};if(has("ie")){_11a.addOnWindowUnload(function(){var _132=_11b._templateCache;for(var key in _132){var _133=_132[key];if(typeof _133=="object"){_119.destroy(_133);}delete _132[key];}});}lang.extend(_114,{dojoAttachEvent:"",dojoAttachPoint:""});return _11b;});},"dijit/_Widget":function(){define("dijit/_Widget",["dojo/aspect","dojo/_base/config","dojo/_base/connect","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/query","dojo/ready","./registry","./_WidgetBase","./_OnDijitClickMixin","./_FocusMixin","dojo/uacss","./hccss"],function(_134,_135,_136,_137,_138,lang,_139,_13a,_13b,_13c,_13d,_13e){function _13f(){};function _140(_141){return function(obj,_142,_143,_144){if(obj&&typeof _142=="string"&&obj[_142]==_13f){return obj.on(_142.substring(2).toLowerCase(),lang.hitch(_143,_144));}return _141.apply(_136,arguments);};};_134.around(_136,"connect",_140);if(_138.connect){_134.around(_138,"connect",_140);}var _145=_137("dijit._Widget",[_13c,_13d,_13e],{onClick:_13f,onDblClick:_13f,onKeyDown:_13f,onKeyPress:_13f,onKeyUp:_13f,onMouseDown:_13f,onMouseMove:_13f,onMouseOut:_13f,onMouseOver:_13f,onMouseLeave:_13f,onMouseEnter:_13f,onMouseUp:_13f,constructor:function(_146){this._toConnect={};for(var name in _146){if(this[name]===_13f){this._toConnect[name.replace(/^on/,"").toLowerCase()]=_146[name];delete _146[name];}}},postCreate:function(){this.inherited(arguments);for(var name in this._toConnect){this.on(name,this._toConnect[name]);}delete this._toConnect;},on:function(type,func){if(this[this._onMap(type)]===_13f){return _136.connect(this.domNode,type.toLowerCase(),this,func);}return this.inherited(arguments);},_setFocusedAttr:function(val){this._focused=val;this._set("focused",val);},setAttribute:function(attr,_147){_138.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0");this.set(attr,_147);},attr:function(name,_148){if(_135.isDebug){var _149=arguments.callee._ach||(arguments.callee._ach={}),_14a=(arguments.callee.caller||"unknown caller").toString();if(!_149[_14a]){_138.deprecated(this.declaredClass+"::attr() is deprecated. Use get() or set() instead, called from "+_14a,"","2.0");_149[_14a]=true;}}var args=arguments.length;if(args>=2||typeof name==="object"){return this.set.apply(this,arguments);}else{return this.get(name);}},getDescendants:function(){_138.deprecated(this.declaredClass+"::getDescendants() is deprecated. Use getChildren() instead.","","2.0");return this.containerNode?_139("[widgetId]",this.containerNode).map(_13b.byNode):[];},_onShow:function(){this.onShow();},onShow:function(){},onHide:function(){},onClose:function(){return true;}});if(!_138.isAsync){_13a(0,function(){var _14b=["dijit/_base"];require(_14b);});}return _145;});},"dijit/_FocusMixin":function(){define("dijit/_FocusMixin",["./focus","./_WidgetBase","dojo/_base/declare","dojo/_base/lang"],function(_14c,_14d,_14e,lang){lang.extend(_14d,{focused:false,onFocus:function(){},onBlur:function(){},_onFocus:function(){this.onFocus();},_onBlur:function(){this.onBlur();}});return _14e("dijit._FocusMixin",null,{_focusManager:_14c});});},"dijit/focus":function(){define("dijit/focus",["dojo/aspect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/Evented","dojo/_base/lang","dojo/on","dojo/domReady","dojo/_base/sniff","dojo/Stateful","dojo/_base/window","dojo/window","./a11y","./registry","./main"],function(_14f,_150,dom,_151,_152,_153,lang,on,_154,has,_155,win,_156,a11y,_157,_158){var _159=_150([_155,_153],{curNode:null,activeStack:[],constructor:function(){var _15a=lang.hitch(this,function(node){if(dom.isDescendant(this.curNode,node)){this.set("curNode",null);}if(dom.isDescendant(this.prevNode,node)){this.set("prevNode",null);}});_14f.before(_152,"empty",_15a);_14f.before(_152,"destroy",_15a);},registerIframe:function(_15b){return this.registerWin(_15b.contentWindow,_15b);},registerWin:function(_15c,_15d){var _15e=this,body=_15c.document&&_15c.document.body;if(body){var mdh=on(body,"mousedown",function(evt){_15e._justMouseDowned=true;setTimeout(function(){_15e._justMouseDowned=false;},13);if(evt&&evt.target&&evt.target.parentNode==null){return;}_15e._onTouchNode(_15d||evt.target,"mouse");});var fih=on(body,"focusin",function(evt){if(!evt.target.tagName){return;}var tag=evt.target.tagName.toLowerCase();if(tag=="#document"||tag=="body"){return;}if(a11y.isTabNavigable(evt.target)){_15e._onFocusNode(_15d||evt.target);}else{_15e._onTouchNode(_15d||evt.target);}});var foh=on(body,"focusout",function(evt){_15e._onBlurNode(_15d||evt.target);});return {remove:function(){mdh.remove();fih.remove();foh.remove();mdh=fih=foh=null;body=null;}};}},_onBlurNode:function(node){if(this._clearFocusTimer){clearTimeout(this._clearFocusTimer);}this._clearFocusTimer=setTimeout(lang.hitch(this,function(){this.set("prevNode",this.curNode);this.set("curNode",null);}),0);if(this._justMouseDowned){return;}if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);}this._clearActiveWidgetsTimer=setTimeout(lang.hitch(this,function(){delete this._clearActiveWidgetsTimer;this._setStack([]);}),100);},_onTouchNode:function(node,by){if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);delete this._clearActiveWidgetsTimer;}var _15f=[];try{while(node){var _160=_151.get(node,"dijitPopupParent");if(_160){node=_157.byId(_160).domNode;}else{if(node.tagName&&node.tagName.toLowerCase()=="body"){if(node===win.body()){break;}node=_156.get(node.ownerDocument).frameElement;}else{var id=node.getAttribute&&node.getAttribute("widgetId"),_161=id&&_157.byId(id);if(_161&&!(by=="mouse"&&_161.get("disabled"))){_15f.unshift(id);}node=node.parentNode;}}}}catch(e){}this._setStack(_15f,by);},_onFocusNode:function(node){if(!node){return;}if(node.nodeType==9){return;}if(this._clearFocusTimer){clearTimeout(this._clearFocusTimer);delete this._clearFocusTimer;}this._onTouchNode(node);if(node==this.curNode){return;}this.set("prevNode",this.curNode);this.set("curNode",node);},_setStack:function(_162,by){var _163=this.activeStack,_164=_163.length-1,_165=_162.length-1;if(_162[_165]==_163[_164]){return;}this.set("activeStack",_162);var _166,i;for(i=_164;i>=0&&_163[i]!=_162[i];i--){_166=_157.byId(_163[i]);if(_166){_166._hasBeenBlurred=true;_166.set("focused",false);if(_166._focusManager==this){_166._onBlur(by);}this.emit("widget-blur",_166,by);}}for(i++;i<=_165;i++){_166=_157.byId(_162[i]);if(_166){_166.set("focused",true);if(_166._focusManager==this){_166._onFocus(by);}this.emit("widget-focus",_166,by);}}},focus:function(node){if(node){try{node.focus();}catch(e){}}}});var _167=new _159();_154(function(){var _168=_167.registerWin(_156.get(document));if(has("ie")){on(window,"unload",function(){if(_168){_168.remove();_168=null;}});}});_158.focus=function(node){_167.focus(node);};for(var attr in _167){if(!/^_/.test(attr)){_158.focus[attr]=typeof _167[attr]=="function"?lang.hitch(_167,attr):_167[attr];}}_167.watch(function(attr,_169,_16a){_158.focus[attr]=_16a;});return _167;});},"dijit/_Contained":function(){define("dijit/_Contained",["dojo/_base/declare","./registry"],function(_16b,_16c){return _16b("dijit._Contained",null,{_getSibling:function(_16d){var node=this.domNode;do{node=node[_16d+"Sibling"];}while(node&&node.nodeType!=1);return node&&_16c.byNode(node);},getPreviousSibling:function(){return this._getSibling("previous");},getNextSibling:function(){return this._getSibling("next");},getIndexInParent:function(){var p=this.getParent();if(!p||!p.getIndexOfChild){return -1;}return p.getIndexOfChild(this);}});});},"dijit/main":function(){define("dijit/main",["dojo/_base/kernel"],function(dojo){return dojo.dijit;});},"*noref":1}});define("dojox/_dojox_layout_basic",[],1);require(["dojox/layout/ResizeHandle","dojox/layout/ContentPane"]);
}catch(e){console.log("Module 'dojox_layout_basic_17': ",e);}
try{/*
	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
*/

//>>built
require({cache:{"dojox/fx/easing":function(){define("dojox/fx/easing",["dojo/_base/lang","dojo/_base/kernel","dojo/fx/easing"],function(_1,_2,_3){_2.deprecated("dojox.fx.easing","Upgraded to Core, use dojo.fx.easing instead","2.0");var _4=_1.getObject("dojox.fx",true);_4.easing=_3;return _3;});},"dijit/a11y":function(){define("dijit/a11y",["dojo/_base/array","dojo/dom","dojo/dom-attr","dojo/dom-style","dojo/_base/lang","dojo/_base/sniff","./main"],function(_5,_6,_7,_8,_9,_a,_b){var _c;var _d={_isElementShown:function(_e){var s=_8.get(_e);return (s.visibility!="hidden")&&(s.visibility!="collapsed")&&(s.display!="none")&&(_7.get(_e,"type")!="hidden");},hasDefaultTabStop:function(_f){switch(_f.nodeName.toLowerCase()){case "a":return _7.has(_f,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return true;case "iframe":var _10;try{var _11=_f.contentDocument;if("designMode" in _11&&_11.designMode=="on"){return true;}_10=_11.body;}catch(e1){try{_10=_f.contentWindow.document.body;}catch(e2){return false;}}return _10&&(_10.contentEditable=="true"||(_10.firstChild&&_10.firstChild.contentEditable=="true"));default:return _f.contentEditable=="true";}},effectiveTabIndex:function(_12){if(_7.get(_12,"disabled")){return _c;}else{if(_7.has(_12,"tabIndex")){return +_7.get(_12,"tabIndex");}else{return _d.hasDefaultTabStop(_12)?0:_c;}}},isTabNavigable:function(_13){return _d.effectiveTabIndex(_13)>=0;},isFocusable:function(_14){return _d.effectiveTabIndex(_14)>=-1;},_getTabNavigable:function(_15){var _16,_17,_18,_19,_1a,_1b,_1c={};function _1d(_1e){return _1e&&_1e.tagName.toLowerCase()=="input"&&_1e.type&&_1e.type.toLowerCase()=="radio"&&_1e.name&&_1e.name.toLowerCase();};var _1f=_d._isElementShown,_20=_d.effectiveTabIndex;var _21=function(_22){for(var _23=_22.firstChild;_23;_23=_23.nextSibling){if(_23.nodeType!=1||(_a("ie")<=9&&_23.scopeName!=="HTML")||!_1f(_23)){continue;}var _24=_20(_23);if(_24>=0){if(_24==0){if(!_16){_16=_23;}_17=_23;}else{if(_24>0){if(!_18||_24<_19){_19=_24;_18=_23;}if(!_1a||_24>=_1b){_1b=_24;_1a=_23;}}}var rn=_1d(_23);if(_7.get(_23,"checked")&&rn){_1c[rn]=_23;}}if(_23.nodeName.toUpperCase()!="SELECT"){_21(_23);}}};if(_1f(_15)){_21(_15);}function rs(_25){return _1c[_1d(_25)]||_25;};return {first:rs(_16),last:rs(_17),lowest:rs(_18),highest:rs(_1a)};},getFirstInTabbingOrder:function(_26,doc){var _27=_d._getTabNavigable(_6.byId(_26,doc));return _27.lowest?_27.lowest:_27.first;},getLastInTabbingOrder:function(_28,doc){var _29=_d._getTabNavigable(_6.byId(_28,doc));return _29.last?_29.last:_29.highest;}};1&&_9.mixin(_b,_d);return _d;});},"dojo/NodeList-fx":function(){define("dojo/NodeList-fx",["./_base/NodeList","./_base/lang","./_base/connect","./_base/fx","./fx"],function(_2a,_2b,_2c,_2d,_2e){_2b.extend(_2a,{_anim:function(obj,_2f,_30){_30=_30||{};var a=_2e.combine(this.map(function(_31){var _32={node:_31};_2b.mixin(_32,_30);return obj[_2f](_32);}));return _30.auto?a.play()&&this:a;},wipeIn:function(_33){return this._anim(_2e,"wipeIn",_33);},wipeOut:function(_34){return this._anim(_2e,"wipeOut",_34);},slideTo:function(_35){return this._anim(_2e,"slideTo",_35);},fadeIn:function(_36){return this._anim(_2d,"fadeIn",_36);},fadeOut:function(_37){return this._anim(_2d,"fadeOut",_37);},animateProperty:function(_38){return this._anim(_2d,"animateProperty",_38);},anim:function(_39,_3a,_3b,_3c,_3d){var _3e=_2e.combine(this.map(function(_3f){return _2d.animateProperty({node:_3f,properties:_39,duration:_3a||350,easing:_3b});}));if(_3c){_2c.connect(_3e,"onEnd",_3c);}return _3e.play(_3d||0);}});return _2a;});},"dijit/_WidgetBase":function(){define("dijit/_WidgetBase",["require","dojo/_base/array","dojo/aspect","dojo/_base/config","dojo/_base/connect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/ready","dojo/Stateful","dojo/topic","dojo/_base/window","./registry"],function(_40,_41,_42,_43,_44,_45,dom,_46,_47,_48,_49,_4a,_4b,_4c,on,_4d,_4e,_4f,win,_50){if(!_4b.isAsync){_4d(0,function(){var _51=["dijit/_base/manager"];_40(_51);});}var _52={};function _53(obj){var ret={};for(var _54 in obj){ret[_54.toLowerCase()]=true;}return ret;};function _55(_56){return function(val){_46[val?"set":"remove"](this.domNode,_56,val);this._set(_56,val);};};function _57(a,b){return a===b||(a!==a&&b!==b);};return _45("dijit._WidgetBase",_4e,{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:_55("lang"),dir:"",_setDirAttr:_55("dir"),textDir:"","class":"",_setClassAttr:{node:"domNode",type:"class"},style:"",title:"",tooltip:"",baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,attributeMap:{},_blankGif:_43.blankGif||_40.toUrl("dojo/resources/blank.gif"),postscript:function(_58,_59){this.create(_58,_59);},create:function(_5a,_5b){this.srcNodeRef=dom.byId(_5b);this._connects=[];this._supportingWidgets=[];if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_5a){this.params=_5a;_4c.mixin(this,_5a);}this.postMixInProperties();if(!this.id){this.id=_50.getUniqueId(this.declaredClass.replace(/\./g,"_"));}_50.add(this);this.buildRendering();if(this.domNode){this._applyAttributes();var _5c=this.srcNodeRef;if(_5c&&_5c.parentNode&&this.domNode!==_5c){_5c.parentNode.replaceChild(this.domNode,_5c);}}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 _5d=this.constructor,_5e=_5d._setterAttrs;if(!_5e){_5e=(_5d._setterAttrs=[]);for(var _5f in this.attributeMap){_5e.push(_5f);}var _60=_5d.prototype;for(var _61 in _60){if(_61 in this.attributeMap){continue;}var _62="_set"+_61.replace(/^[a-z]|-[a-zA-Z]/g,function(c){return c.charAt(c.length-1).toUpperCase();})+"Attr";if(_62 in _60){_5e.push(_61);}}}_41.forEach(_5e,function(_63){if(this.params&&_63 in this.params){}else{if(this[_63]){this.set(_63,this[_63]);}}},this);for(var _64 in this.params){this.set(_64,this[_64]);}},postMixInProperties:function(){},buildRendering:function(){if(!this.domNode){this.domNode=this.srcNodeRef||_48.create("div");}if(this.baseClass){var _65=this.baseClass.split(" ");if(!this.isLeftToRight()){_65=_65.concat(_41.map(_65,function(_66){return _66+"Rtl";}));}_47.add(this.domNode,_65);}},postCreate:function(){},startup:function(){if(this._started){return;}this._started=true;_41.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&_4c.isFunction(obj.startup)){obj.startup();obj._started=true;}});},destroyRecursive:function(_67){this._beingDestroyed=true;this.destroyDescendants(_67);this.destroy(_67);},destroy:function(_68){this._beingDestroyed=true;this.uninitialize();var c;while((c=this._connects.pop())){c.remove();}var w;while((w=this._supportingWidgets.pop())){if(w.destroyRecursive){w.destroyRecursive();}else{if(w.destroy){w.destroy();}}}this.destroyRendering(_68);_50.remove(this.id);this._destroyed=true;},destroyRendering:function(_69){if(this.bgIframe){this.bgIframe.destroy(_69);delete this.bgIframe;}if(this.domNode){if(_69){_46.remove(this.domNode,"widgetId");}else{_48.destroy(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_69){_48.destroy(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_6a){_41.forEach(this.getChildren(),function(_6b){if(_6b.destroyRecursive){_6b.destroyRecursive(_6a);}});},uninitialize:function(){return false;},_setStyleAttr:function(_6c){var _6d=this.domNode;if(_4c.isObject(_6c)){_4a.set(_6d,_6c);}else{if(_6d.style.cssText){_6d.style.cssText+="; "+_6c;}else{_6d.style.cssText=_6c;}}this._set("style",_6c);},_attrToDom:function(_6e,_6f,_70){_70=arguments.length>=3?_70:this.attributeMap[_6e];_41.forEach(_4c.isArray(_70)?_70:[_70],function(_71){var _72=this[_71.node||_71||"domNode"];var _73=_71.type||"attribute";switch(_73){case "attribute":if(_4c.isFunction(_6f)){_6f=_4c.hitch(this,_6f);}var _74=_71.attribute?_71.attribute:(/^on[A-Z][a-zA-Z]*$/.test(_6e)?_6e.toLowerCase():_6e);_46.set(_72,_74,_6f);break;case "innerText":_72.innerHTML="";_72.appendChild(win.doc.createTextNode(_6f));break;case "innerHTML":_72.innerHTML=_6f;break;case "class":_47.replace(_72,_6f,this[_6e]);break;}},this);},get:function(_75){var _76=this._getAttrNames(_75);return this[_76.g]?this[_76.g]():this[_75];},set:function(_77,_78){if(typeof _77==="object"){for(var x in _77){this.set(x,_77[x]);}return this;}var _79=this._getAttrNames(_77),_7a=this[_79.s];if(_4c.isFunction(_7a)){var _7b=_7a.apply(this,Array.prototype.slice.call(arguments,1));}else{var _7c=this.focusNode&&!_4c.isFunction(this.focusNode)?"focusNode":"domNode",tag=this[_7c].tagName,_7d=_52[tag]||(_52[tag]=_53(this[_7c])),map=_77 in this.attributeMap?this.attributeMap[_77]:_79.s in this?this[_79.s]:((_79.l in _7d&&typeof _78!="function")||/^aria-|^data-|^role$/.test(_77))?_7c:null;if(map!=null){this._attrToDom(_77,_78,map);}this._set(_77,_78);}return _7b||this;},_attrPairNames:{},_getAttrNames:function(_7e){var apn=this._attrPairNames;if(apn[_7e]){return apn[_7e];}var uc=_7e.replace(/^[a-z]|-[a-zA-Z]/g,function(c){return c.charAt(c.length-1).toUpperCase();});return (apn[_7e]={n:_7e+"Node",s:"_set"+uc+"Attr",g:"_get"+uc+"Attr",l:uc.toLowerCase()});},_set:function(_7f,_80){var _81=this[_7f];this[_7f]=_80;if(this._watchCallbacks&&this._created&&!_57(_80,_81)){this._watchCallbacks(_7f,_81,_80);}},on:function(_82,_83){return _42.after(this,this._onMap(_82),_83,true);},_onMap:function(_84){var _85=this.constructor,map=_85._onMap;if(!map){map=(_85._onMap={});for(var _86 in _85.prototype){if(/^on/.test(_86)){map[_86.replace(/^on/,"").toLowerCase()]=_86;}}}return map[_84.toLowerCase()];},toString:function(){return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";},getChildren:function(){return this.containerNode?_50.findWidgets(this.containerNode):[];},getParent:function(){return _50.getEnclosingWidget(this.domNode.parentNode);},connect:function(obj,_87,_88){var _89=_44.connect(obj,_87,this,_88);this._connects.push(_89);return _89;},disconnect:function(_8a){var i=_41.indexOf(this._connects,_8a);if(i!=-1){_8a.remove();this._connects.splice(i,1);}},subscribe:function(t,_8b){var _8c=_4f.subscribe(t,_4c.hitch(this,_8b));this._connects.push(_8c);return _8c;},unsubscribe:function(_8d){this.disconnect(_8d);},isLeftToRight:function(){return this.dir?(this.dir=="ltr"):_49.isBodyLtr();},isFocusable:function(){return this.focus&&(_4a.get(this.domNode,"display")!="none");},placeAt:function(_8e,_8f){if(_8e.declaredClass&&_8e.addChild){_8e.addChild(this,_8f);}else{_48.place(this.domNode,_8e,_8f);}return this;},getTextDir:function(_90,_91){return _91;},applyTextDir:function(){},defer:function(fcn,_92){var _93=setTimeout(_4c.hitch(this,function(){if(!_93){return;}_93=null;if(!this._destroyed){_4c.hitch(this,fcn)();}}),_92||0);return {remove:function(){if(_93){clearTimeout(_93);_93=null;}return null;}};}});});},"dojox/fx":function(){define("dojox/fx",["./fx/_base"],function(_94){return _94;});},"dojo/Stateful":function(){define("dojo/Stateful",["./_base/declare","./_base/lang","./_base/array"],function(_95,_96,_97){return _95("dojo.Stateful",null,{postscript:function(_98){if(_98){_96.mixin(this,_98);}},get:function(_99){return this[_99];},set:function(_9a,_9b){if(typeof _9a==="object"){for(var x in _9a){if(_9a.hasOwnProperty(x)&&x!="_watchCallbacks"){this.set(x,_9a[x]);}}return this;}var _9c=this[_9a];this[_9a]=_9b;if(this._watchCallbacks){this._watchCallbacks(_9a,_9c,_9b);}return this;},watch:function(_9d,_9e){var _9f=this._watchCallbacks;if(!_9f){var _a0=this;_9f=this._watchCallbacks=function(_a1,_a2,_a3,_a4){var _a5=function(_a6){if(_a6){_a6=_a6.slice();for(var i=0,l=_a6.length;i<l;i++){_a6[i].call(_a0,_a1,_a2,_a3);}}};_a5(_9f["_"+_a1]);if(!_a4){_a5(_9f["*"]);}};}if(!_9e&&typeof _9d==="function"){_9e=_9d;_9d="*";}else{_9d="_"+_9d;}var _a7=_9f[_9d];if(typeof _a7!=="object"){_a7=_9f[_9d]=[];}_a7.push(_9e);return {unwatch:function(){_a7.splice(_97.indexOf(_a7,_9e),1);}};}});});},"dijit/registry":function(){define("dijit/registry",["dojo/_base/array","dojo/_base/sniff","dojo/_base/unload","dojo/_base/window","."],function(_a8,has,_a9,win,_aa){var _ab={},_ac={};var _ad={length:0,add:function(_ae){if(_ac[_ae.id]){throw new Error("Tried to register widget with id=="+_ae.id+" but that id is already registered");}_ac[_ae.id]=_ae;this.length++;},remove:function(id){if(_ac[id]){delete _ac[id];this.length--;}},byId:function(id){return typeof id=="string"?_ac[id]:id;},byNode:function(_af){return _ac[_af.getAttribute("widgetId")];},toArray:function(){var ar=[];for(var id in _ac){ar.push(_ac[id]);}return ar;},getUniqueId:function(_b0){var id;do{id=_b0+"_"+(_b0 in _ab?++_ab[_b0]:_ab[_b0]=0);}while(_ac[id]);return _aa._scopeName=="dijit"?id:_aa._scopeName+"_"+id;},findWidgets:function(_b1){var _b2=[];function _b3(_b4){for(var _b5=_b4.firstChild;_b5;_b5=_b5.nextSibling){if(_b5.nodeType==1){var _b6=_b5.getAttribute("widgetId");if(_b6){var _b7=_ac[_b6];if(_b7){_b2.push(_b7);}}else{_b3(_b5);}}}};_b3(_b1);return _b2;},_destroyAll:function(){_aa._curFocus=null;_aa._prevFocus=null;_aa._activeStack=[];_a8.forEach(_ad.findWidgets(win.body()),function(_b8){if(!_b8._destroyed){if(_b8.destroyRecursive){_b8.destroyRecursive();}else{if(_b8.destroy){_b8.destroy();}}}});},getEnclosingWidget:function(_b9){while(_b9){var id=_b9.getAttribute&&_b9.getAttribute("widgetId");if(id){return _ac[id];}_b9=_b9.parentNode;}return null;},_hash:_ac};_aa.registry=_ad;return _ad;});},"dojox/fx/Shadow":function(){define("dojox/fx/Shadow",["dojo/_base/kernel","dojo/_base/query","dojo/_base/lang","dojo/_base/declare","dojo/_base/sniff","dojo/dom-construct","dojo/dom-class","dojo/dom-geometry","dojo/_base/fx","dojo/fx","dijit/_Widget","dojo/NodeList-fx"],function(_ba,_bb,_bc,_bd,has,_be,_bf,_c0,_c1,_c2,_c3,_c4){_ba.experimental("dojox.fx.Shadow");_bd("dojox.fx.Shadow",_c3,{shadowPng:_ba.moduleUrl("dojox.fx","resources/shadow"),shadowThickness:7,shadowOffset:3,opacity:0.75,animate:false,node:null,startup:function(){this.inherited(arguments);this.node.style.position="relative";this.pieces={};var x1=-1*this.shadowThickness;var y0=this.shadowOffset;var y1=this.shadowOffset+this.shadowThickness;this._makePiece("tl","top",y0,"left",x1);this._makePiece("l","top",y1,"left",x1,"scale");this._makePiece("tr","top",y0,"left",0);this._makePiece("r","top",y1,"left",0,"scale");this._makePiece("bl","top",0,"left",x1);this._makePiece("b","top",0,"left",0,"crop");this._makePiece("br","top",0,"left",0);this.nodeList=_bb(".shadowPiece",this.node);this.setOpacity(this.opacity);this.resize();},_makePiece:function(_c5,_c6,_c7,_c8,_c9,_ca){var img;var url=this.shadowPng+_c5.toUpperCase()+".png";if(has("ie")<7){img=_be.create("div");img.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+url+"'"+(_ca?", sizingMethod='"+_ca+"'":"")+")";}else{img=_be.create("img",{src:url});}img.style.position="absolute";img.style[_c6]=_c7+"px";img.style[_c8]=_c9+"px";img.style.width=this.shadowThickness+"px";img.style.height=this.shadowThickness+"px";_bf.add(img,"shadowPiece");this.pieces[_c5]=img;this.node.appendChild(img);},setOpacity:function(n,_cb){if(has("ie")){return;}if(!_cb){_cb={};}if(this.animate){var _cc=[];this.nodeList.forEach(function(_cd){_cc.push(_c1._fade(_bc.mixin(_cb,{node:_cd,end:n})));});_c2.combine(_cc).play();}else{this.nodeList.style("opacity",n);}},setDisabled:function(_ce){if(_ce){if(this.disabled){return;}if(this.animate){this.nodeList.fadeOut().play();}else{this.nodeList.style("visibility","hidden");}this.disabled=true;}else{if(!this.disabled){return;}if(this.animate){this.nodeList.fadeIn().play();}else{this.nodeList.style("visibility","visible");}this.disabled=false;}},resize:function(_cf){var x;var y;if(_cf){x=_cf.x;y=_cf.y;}else{var co=_c0.position(this.node);x=co.w;y=co.h;}var _d0=y-(this.shadowOffset+this.shadowThickness);if(_d0<0){_d0=0;}if(y<1){y=1;}if(x<1){x=1;}with(this.pieces){l.style.height=_d0+"px";r.style.height=_d0+"px";b.style.width=x+"px";bl.style.top=y+"px";b.style.top=y+"px";br.style.top=y+"px";tr.style.left=x+"px";r.style.left=x+"px";br.style.left=x+"px";}}});return dojox.fx.Shadow;});},"dojo/uacss":function(){define("dojo/uacss",["./dom-geometry","./_base/lang","./ready","./_base/sniff","./_base/window"],function(_d1,_d2,_d3,has,_d4){var _d5=_d4.doc.documentElement,ie=has("ie"),_d6=has("opera"),maj=Math.floor,ff=has("ff"),_d7=_d1.boxModel.replace(/-/,""),_d8={"dj_quirks":has("quirks"),"dj_opera":_d6,"dj_khtml":has("khtml"),"dj_webkit":has("webkit"),"dj_safari":has("safari"),"dj_chrome":has("chrome"),"dj_gecko":has("mozilla")};if(ie){_d8["dj_ie"]=true;_d8["dj_ie"+maj(ie)]=true;_d8["dj_iequirks"]=has("quirks");}if(ff){_d8["dj_ff"+maj(ff)]=true;}_d8["dj_"+_d7]=true;var _d9="";for(var clz in _d8){if(_d8[clz]){_d9+=clz+" ";}}_d5.className=_d2.trim(_d5.className+" "+_d9);_d3(90,function(){if(!_d1.isBodyLtr()){var _da="dj_rtl dijitRtl "+_d9.replace(/ /g,"-rtl ");_d5.className=_d2.trim(_d5.className+" "+_da+"dj_rtl dijitRtl "+_d9.replace(/ /g,"-rtl "));}});return has;});},"dojo/window":function(){define("dojo/window",["./_base/lang","./_base/sniff","./_base/window","./dom","./dom-geometry","./dom-style","./dom-construct"],function(_db,has,_dc,dom,_dd,_de,_df){has.add("rtl-adjust-position-for-verticalScrollBar",function(win,doc){var _e0=_dc.body(doc),_e1=_df.create("div",{style:{overflow:"scroll",overflowX:"visible",direction:"rtl",visibility:"hidden",position:"absolute",left:"0",top:"0",width:"64px",height:"64px"}},_e0,"last"),div=_df.create("div",{style:{overflow:"hidden",direction:"ltr"}},_e1,"last"),ret=_dd.position(div).x!=0;_e1.removeChild(div);_e0.removeChild(_e1);return ret;});has.add("position-fixed-support",function(win,doc){var _e2=_dc.body(doc),_e3=_df.create("span",{style:{visibility:"hidden",position:"fixed",left:"1px",top:"1px"}},_e2,"last"),_e4=_df.create("span",{style:{position:"fixed",left:"0",top:"0"}},_e3,"last"),ret=_dd.position(_e4).x!=_dd.position(_e3).x;_e3.removeChild(_e4);_e2.removeChild(_e3);return ret;});var _e5=_db.getObject("dojo.window",true);_e5.getBox=function(){var _e6=(_dc.doc.compatMode=="BackCompat")?_dc.body():_dc.doc.documentElement,_e7=_dd.docScroll(),w,h;if(has("touch")){var _e8=_dc.doc.parentWindow||_dc.doc.defaultView;w=_e8.innerWidth||_e6.clientWidth;h=_e8.innerHeight||_e6.clientHeight;}else{w=_e6.clientWidth;h=_e6.clientHeight;}return {l:_e7.x,t:_e7.y,w:w,h:h};};_e5.get=function(doc){if(has("ie")<9&&_e5!==document.parentWindow){doc.parentWindow.execScript("document._parentWindow = window;","Javascript");var win=doc._parentWindow;doc._parentWindow=null;return win;}return doc.parentWindow||doc.defaultView;};_e5.scrollIntoView=function(_e9,pos){try{_e9=dom.byId(_e9);var doc=_e9.ownerDocument||_dc.doc,_ea=_dc.body(doc),_eb=doc.documentElement||_ea.parentNode,_ec=has("ie"),_ed=has("webkit");if(_e9==_ea||_e9==_eb){return;}if(!(has("mozilla")||_ec||_ed||has("opera")||has("trident"))&&("scrollIntoView" in _e9)){_e9.scrollIntoView(false);return;}var _ee=doc.compatMode=="BackCompat",_ef=Math.min(_ea.clientWidth||_eb.clientWidth,_eb.clientWidth||_ea.clientWidth),_f0=Math.min(_ea.clientHeight||_eb.clientHeight,_eb.clientHeight||_ea.clientHeight),_f1=(_ed||_ee)?_ea:_eb,_f2=pos||_dd.position(_e9),el=_e9.parentNode,_f3=function(el){return (_ec<=6||(_ec==7&&_ee))?false:(has("position-fixed-support")&&(_de.get(el,"position").toLowerCase()=="fixed"));},_f4=this,_f5=function(el,x,y){if(el.tagName=="BODY"||el.tagName=="HTML"){_f4.get(el.ownerDocument).scrollBy(x,y);}else{x&&(el.scrollLeft+=x);y&&(el.scrollTop+=y);}};if(_f3(_e9)){return;}while(el){if(el==_ea){el=_f1;}var _f6=_dd.position(el),_f7=_f3(el),rtl=_de.getComputedStyle(el).direction.toLowerCase()=="rtl";if(el==_f1){_f6.w=_ef;_f6.h=_f0;if(_f1==_eb&&(_ec||has("trident"))&&rtl){_f6.x+=_f1.offsetWidth-_f6.w;}if(_f6.x<0||!_ec||_ec>=9||has("trident")){_f6.x=0;}if(_f6.y<0||!_ec||_ec>=9||has("trident")){_f6.y=0;}}else{var pb=_dd.getPadBorderExtents(el);_f6.w-=pb.w;_f6.h-=pb.h;_f6.x+=pb.l;_f6.y+=pb.t;var _f8=el.clientWidth,_f9=_f6.w-_f8;if(_f8>0&&_f9>0){if(rtl&&has("rtl-adjust-position-for-verticalScrollBar")){_f6.x+=_f9;}_f6.w=_f8;}_f8=el.clientHeight;_f9=_f6.h-_f8;if(_f8>0&&_f9>0){_f6.h=_f8;}}if(_f7){if(_f6.y<0){_f6.h+=_f6.y;_f6.y=0;}if(_f6.x<0){_f6.w+=_f6.x;_f6.x=0;}if(_f6.y+_f6.h>_f0){_f6.h=_f0-_f6.y;}if(_f6.x+_f6.w>_ef){_f6.w=_ef-_f6.x;}}var l=_f2.x-_f6.x,t=_f2.y-_f6.y,r=l+_f2.w-_f6.w,bot=t+_f2.h-_f6.h;var s,old;if(r*l>0&&(!!el.scrollLeft||el==_f1||el.scrollWidth>el.offsetHeight)){s=Math[l<0?"max":"min"](l,r);if(rtl&&((_ec==8&&!_ee)||_ec>=9||has("trident"))){s=-s;}old=el.scrollLeft;_f5(el,s,0);s=el.scrollLeft-old;_f2.x-=s;}if(bot*t>0&&(!!el.scrollTop||el==_f1||el.scrollHeight>el.offsetHeight)){s=Math.ceil(Math[t<0?"max":"min"](t,bot));old=el.scrollTop;_f5(el,0,s);s=el.scrollTop-old;_f2.y-=s;}el=(el!=_f1)&&!_f7&&el.parentNode;}}catch(error){console.error("scrollIntoView: "+error);_e9.scrollIntoView(false);}};return _e5;});},"dijit/_OnDijitClickMixin":function(){define("dijit/_OnDijitClickMixin",["dojo/on","dojo/_base/array","dojo/keys","dojo/_base/declare","dojo/_base/sniff","dojo/_base/unload","dojo/_base/window"],function(on,_fa,_fb,_fc,has,_fd,win){var _fe=null;if(has("ie")<9){(function(){var _ff=function(evt){_fe=evt.srcElement;};win.doc.attachEvent("onkeydown",_ff);_fd.addOnWindowUnload(function(){win.doc.detachEvent("onkeydown",_ff);});})();}else{win.doc.addEventListener("keydown",function(evt){_fe=evt.target;},true);}var _100=function(node,_101){if(/input|button/i.test(node.nodeName)){return on(node,"click",_101);}else{function _102(e){return (e.keyCode==_fb.ENTER||e.keyCode==_fb.SPACE)&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey;};var _103=[on(node,"keypress",function(e){if(_102(e)){_fe=e.target;e.preventDefault();}}),on(node,"keyup",function(e){if(_102(e)&&e.target==_fe){_fe=null;_101.call(this,e);}}),on(node,"click",function(e){_101.call(this,e);})];return {remove:function(){_fa.forEach(_103,function(h){h.remove();});}};}};return _fc("dijit._OnDijitClickMixin",null,{connect:function(obj,_104,_105){return this.inherited(arguments,[obj,_104=="ondijitclick"?_100:_104,_105]);}});});},"dijit/hccss":function(){define("dijit/hccss",["require","dojo/_base/config","dojo/dom-class","dojo/dom-construct","dojo/dom-style","dojo/ready","dojo/_base/sniff","dojo/_base/window"],function(_106,_107,_108,_109,_10a,_10b,has,win){if(has("ie")||has("mozilla")){_10b(90,function(){var div=_109.create("div",{id:"a11yTestNode",style:{cssText:"border: 1px solid;"+"border-color:red green;"+"position: absolute;"+"height: 5px;"+"top: -999px;"+"background-image: url(\""+(_107.blankGif||_106.toUrl("dojo/resources/blank.gif"))+"\");"}},win.body());var cs=_10a.getComputedStyle(div);if(cs){var _10c=cs.backgroundImage;var _10d=(cs.borderTopColor==cs.borderRightColor)||(_10c!=null&&(_10c=="none"||_10c=="url(invalid-url:)"));if(_10d){_108.add(win.body(),"dijit_a11y");}if(has("ie")){div.outerHTML="";}else{win.body().removeChild(div);}}});}});},"dojox/fx/_base":function(){define("dojox/fx/_base",["dojo/_base/array","dojo/_base/lang","dojo/_base/fx","dojo/fx","dojo/dom","dojo/dom-style","dojo/dom-geometry","dojo/_base/connect","dojo/_base/html"],function(_10e,lang,_10f,_110,dom,_111,_112,_113,_114){var _115=lang.getObject("dojox.fx",true);_115.sizeTo=function(args){var node=args.node=dom.byId(args.node),abs="absolute";var _116=args.method||"chain";if(!args.duration){args.duration=500;}if(_116=="chain"){args.duration=Math.floor(args.duration/2);}var top,_117,left,_118,_119,_11a=null;var init=(function(n){return function(){var cs=_111.getComputedStyle(n),pos=cs.position,w=cs.width,h=cs.height;top=(pos==abs?n.offsetTop:parseInt(cs.top)||0);left=(pos==abs?n.offsetLeft:parseInt(cs.left)||0);_119=(w=="auto"?0:parseInt(w));_11a=(h=="auto"?0:parseInt(h));_118=left-Math.floor((args.width-_119)/2);_117=top-Math.floor((args.height-_11a)/2);if(pos!=abs&&pos!="relative"){var ret=_111.coords(n,true);top=ret.y;left=ret.x;n.style.position=abs;n.style.top=top+"px";n.style.left=left+"px";}};})(node);var _11b=_10f.animateProperty(lang.mixin({properties:{height:function(){init();return {end:args.height||0,start:_11a};},top:function(){return {start:top,end:_117};}}},args));var _11c=_10f.animateProperty(lang.mixin({properties:{width:function(){return {start:_119,end:args.width||0};},left:function(){return {start:left,end:_118};}}},args));var anim=_110[(args.method=="combine"?"combine":"chain")]([_11b,_11c]);return anim;};_115.slideBy=function(args){var node=args.node=dom.byId(args.node),top,left;var init=(function(n){return function(){var cs=_111.getComputedStyle(n);var pos=cs.position;top=(pos=="absolute"?n.offsetTop:parseInt(cs.top)||0);left=(pos=="absolute"?n.offsetLeft:parseInt(cs.left)||0);if(pos!="absolute"&&pos!="relative"){var ret=_112.coords(n,true);top=ret.y;left=ret.x;n.style.position="absolute";n.style.top=top+"px";n.style.left=left+"px";}};})(node);init();var _11d=_10f.animateProperty(lang.mixin({properties:{top:top+(args.top||0),left:left+(args.left||0)}},args));_113.connect(_11d,"beforeBegin",_11d,init);return _11d;};_115.crossFade=function(args){var _11e=args.nodes[0]=dom.byId(args.nodes[0]),op1=_114.style(_11e,"opacity"),_11f=args.nodes[1]=dom.byId(args.nodes[1]),op2=_114.style(_11f,"opacity");var _120=_110.combine([_10f[(op1==0?"fadeIn":"fadeOut")](lang.mixin({node:_11e},args)),_10f[(op1==0?"fadeOut":"fadeIn")](lang.mixin({node:_11f},args))]);return _120;};_115.highlight=function(args){var node=args.node=dom.byId(args.node);args.duration=args.duration||400;var _121=args.color||"#ffff99",_122=_114.style(node,"backgroundColor");if(_122=="rgba(0, 0, 0, 0)"){_122="transparent";}var anim=_10f.animateProperty(lang.mixin({properties:{backgroundColor:{start:_121,end:_122}}},args));if(_122=="transparent"){_113.connect(anim,"onEnd",anim,function(){node.style.backgroundColor=_122;});}return anim;};_115.wipeTo=function(args){args.node=dom.byId(args.node);var node=args.node,s=node.style;var dir=(args.width?"width":"height"),_123=args[dir],_124={};_124[dir]={start:function(){s.overflow="hidden";if(s.visibility=="hidden"||s.display=="none"){s[dir]="1px";s.display="";s.visibility="";return 1;}else{var now=_114.style(node,dir);return Math.max(now,1);}},end:_123};var anim=_10f.animateProperty(lang.mixin({properties:_124},args));return anim;};return _115;});},"dijit/_Widget":function(){define("dijit/_Widget",["dojo/aspect","dojo/_base/config","dojo/_base/connect","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/query","dojo/ready","./registry","./_WidgetBase","./_OnDijitClickMixin","./_FocusMixin","dojo/uacss","./hccss"],function(_125,_126,_127,_128,_129,lang,_12a,_12b,_12c,_12d,_12e,_12f){function _130(){};function _131(_132){return function(obj,_133,_134,_135){if(obj&&typeof _133=="string"&&obj[_133]==_130){return obj.on(_133.substring(2).toLowerCase(),lang.hitch(_134,_135));}return _132.apply(_127,arguments);};};_125.around(_127,"connect",_131);if(_129.connect){_125.around(_129,"connect",_131);}var _136=_128("dijit._Widget",[_12d,_12e,_12f],{onClick:_130,onDblClick:_130,onKeyDown:_130,onKeyPress:_130,onKeyUp:_130,onMouseDown:_130,onMouseMove:_130,onMouseOut:_130,onMouseOver:_130,onMouseLeave:_130,onMouseEnter:_130,onMouseUp:_130,constructor:function(_137){this._toConnect={};for(var name in _137){if(this[name]===_130){this._toConnect[name.replace(/^on/,"").toLowerCase()]=_137[name];delete _137[name];}}},postCreate:function(){this.inherited(arguments);for(var name in this._toConnect){this.on(name,this._toConnect[name]);}delete this._toConnect;},on:function(type,func){if(this[this._onMap(type)]===_130){return _127.connect(this.domNode,type.toLowerCase(),this,func);}return this.inherited(arguments);},_setFocusedAttr:function(val){this._focused=val;this._set("focused",val);},setAttribute:function(attr,_138){_129.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0");this.set(attr,_138);},attr:function(name,_139){if(_126.isDebug){var _13a=arguments.callee._ach||(arguments.callee._ach={}),_13b=(arguments.callee.caller||"unknown caller").toString();if(!_13a[_13b]){_129.deprecated(this.declaredClass+"::attr() is deprecated. Use get() or set() instead, called from "+_13b,"","2.0");_13a[_13b]=true;}}var args=arguments.length;if(args>=2||typeof name==="object"){return this.set.apply(this,arguments);}else{return this.get(name);}},getDescendants:function(){_129.deprecated(this.declaredClass+"::getDescendants() is deprecated. Use getChildren() instead.","","2.0");return this.containerNode?_12a("[widgetId]",this.containerNode).map(_12c.byNode):[];},_onShow:function(){this.onShow();},onShow:function(){},onHide:function(){},onClose:function(){return true;}});if(!_129.isAsync){_12b(0,function(){var _13c=["dijit/_base"];require(_13c);});}return _136;});},"dijit/_FocusMixin":function(){define("dijit/_FocusMixin",["./focus","./_WidgetBase","dojo/_base/declare","dojo/_base/lang"],function(_13d,_13e,_13f,lang){lang.extend(_13e,{focused:false,onFocus:function(){},onBlur:function(){},_onFocus:function(){this.onFocus();},_onBlur:function(){this.onBlur();}});return _13f("dijit._FocusMixin",null,{_focusManager:_13d});});},"dijit/focus":function(){define("dijit/focus",["dojo/aspect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/Evented","dojo/_base/lang","dojo/on","dojo/domReady","dojo/_base/sniff","dojo/Stateful","dojo/_base/window","dojo/window","./a11y","./registry","./main"],function(_140,_141,dom,_142,_143,_144,lang,on,_145,has,_146,win,_147,a11y,_148,_149){var _14a=_141([_146,_144],{curNode:null,activeStack:[],constructor:function(){var _14b=lang.hitch(this,function(node){if(dom.isDescendant(this.curNode,node)){this.set("curNode",null);}if(dom.isDescendant(this.prevNode,node)){this.set("prevNode",null);}});_140.before(_143,"empty",_14b);_140.before(_143,"destroy",_14b);},registerIframe:function(_14c){return this.registerWin(_14c.contentWindow,_14c);},registerWin:function(_14d,_14e){var _14f=this,body=_14d.document&&_14d.document.body;if(body){var mdh=on(body,"mousedown",function(evt){_14f._justMouseDowned=true;setTimeout(function(){_14f._justMouseDowned=false;},13);if(evt&&evt.target&&evt.target.parentNode==null){return;}_14f._onTouchNode(_14e||evt.target,"mouse");});var fih=on(body,"focusin",function(evt){if(!evt.target.tagName){return;}var tag=evt.target.tagName.toLowerCase();if(tag=="#document"||tag=="body"){return;}if(a11y.isTabNavigable(evt.target)){_14f._onFocusNode(_14e||evt.target);}else{_14f._onTouchNode(_14e||evt.target);}});var foh=on(body,"focusout",function(evt){_14f._onBlurNode(_14e||evt.target);});return {remove:function(){mdh.remove();fih.remove();foh.remove();mdh=fih=foh=null;body=null;}};}},_onBlurNode:function(node){if(this._clearFocusTimer){clearTimeout(this._clearFocusTimer);}this._clearFocusTimer=setTimeout(lang.hitch(this,function(){this.set("prevNode",this.curNode);this.set("curNode",null);}),0);if(this._justMouseDowned){return;}if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);}this._clearActiveWidgetsTimer=setTimeout(lang.hitch(this,function(){delete this._clearActiveWidgetsTimer;this._setStack([]);}),100);},_onTouchNode:function(node,by){if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);delete this._clearActiveWidgetsTimer;}var _150=[];try{while(node){var _151=_142.get(node,"dijitPopupParent");if(_151){node=_148.byId(_151).domNode;}else{if(node.tagName&&node.tagName.toLowerCase()=="body"){if(node===win.body()){break;}node=_147.get(node.ownerDocument).frameElement;}else{var id=node.getAttribute&&node.getAttribute("widgetId"),_152=id&&_148.byId(id);if(_152&&!(by=="mouse"&&_152.get("disabled"))){_150.unshift(id);}node=node.parentNode;}}}}catch(e){}this._setStack(_150,by);},_onFocusNode:function(node){if(!node){return;}if(node.nodeType==9){return;}if(this._clearFocusTimer){clearTimeout(this._clearFocusTimer);delete this._clearFocusTimer;}this._onTouchNode(node);if(node==this.curNode){return;}this.set("prevNode",this.curNode);this.set("curNode",node);},_setStack:function(_153,by){var _154=this.activeStack,_155=_154.length-1,_156=_153.length-1;if(_153[_156]==_154[_155]){return;}this.set("activeStack",_153);var _157,i;for(i=_155;i>=0&&_154[i]!=_153[i];i--){_157=_148.byId(_154[i]);if(_157){_157._hasBeenBlurred=true;_157.set("focused",false);if(_157._focusManager==this){_157._onBlur(by);}this.emit("widget-blur",_157,by);}}for(i++;i<=_156;i++){_157=_148.byId(_153[i]);if(_157){_157.set("focused",true);if(_157._focusManager==this){_157._onFocus(by);}this.emit("widget-focus",_157,by);}}},focus:function(node){if(node){try{node.focus();}catch(e){}}}});var _158=new _14a();_145(function(){var _159=_158.registerWin(_147.get(document));if(has("ie")){on(window,"unload",function(){if(_159){_159.remove();_159=null;}});}});_149.focus=function(node){_158.focus(node);};for(var attr in _158){if(!/^_/.test(attr)){_149.focus[attr]=typeof _158[attr]=="function"?lang.hitch(_158,attr):_158[attr];}}_158.watch(function(attr,_15a,_15b){_149.focus[attr]=_15b;});return _158;});},"dijit/main":function(){define("dijit/main",["dojo/_base/kernel"],function(dojo){return dojo.dijit;});},"dojo/_base/query":function(){define("dojo/_base/query",["./kernel","../query","./NodeList"],function(dojo){return dojo.query;});},"*noref":1}});define("dojox/_dojox_fx",[],1);require(["dojox/fx","dojox/fx/Shadow","dojox/fx/easing"]);
}catch(e){console.log("Module 'dojox_fx_17': ",e);}
try{/*
	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
*/

//>>built
define("dojo/nls/_fmt_it",{"dojo/cldr/nls/currency":{"HKD_displayName":"Dollaro di Hong Kong","CHF_displayName":"Franco Svizzero","JPY_symbol":"JP¥","HKD_symbol":"HK$","CAD_displayName":"Dollaro Canadese","CNY_displayName":"Renmimbi Cinese","USD_symbol":"US$","AUD_displayName":"Dollaro Australiano","JPY_displayName":"Yen Giapponese","CAD_symbol":"CA$","USD_displayName":"Dollaro Statunitense","EUR_symbol":"€","CNY_symbol":"CN¥","GBP_displayName":"Sterlina Inglese","GBP_symbol":"£","AUD_symbol":"AU$","EUR_displayName":"Euro"},"dojo/cldr/nls/gregorian":{"months-format-narrow":["G","F","M","A","M","G","L","A","S","O","N","D"],"quarters-standAlone-narrow":["1","2","3","4"],"field-weekday":"giorno della settimana","dateFormatItem-yQQQ":"QQQ y","dateFormatItem-yyQQQQ":"QQQQ yy","dateFormatItem-yMEd":"EEE, d/M/y","dateFormatItem-MMMEd":"EEE d MMM","eraNarrow":["aC","dC"],"dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateFormat-long":"dd MMMM y","months-format-wide":["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"],"dateTimeFormat-medium":"{1} {0}","dateFormatItem-EEEd":"d EEE","dayPeriods-format-wide-pm":"p.","dateFormat-full":"EEEE d MMMM y","dateFormatItem-Md":"d/M","dayPeriods-format-abbr-am":"AM","dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","field-era":"era","dateFormatItem-yM":"M/y","months-standAlone-wide":["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],"timeFormat-short":"HH:mm","quarters-format-wide":["1o trimestre","2o trimestre","3o trimestre","4o trimestre"],"timeFormat-long":"HH:mm:ss z","field-year":"anno","dateFormatItem-yMMM":"MMM y","dateFormatItem-yQ":"Q-yyyy","dateTimeFormats-appendItem-Era":"{0} {1}","field-hour":"ora","dateFormatItem-yyyyMMMM":"MMMM y","dateFormatItem-MMdd":"dd/MM","months-format-abbr":["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],"dateFormatItem-yyQ":"Q yy","timeFormat-full":"HH:mm:ss zzzz","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","field-day-relative+0":"oggi","field-day-relative+1":"domani","field-day-relative+2":"dopodomani","dateFormatItem-H":"HH","months-standAlone-abbr":["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],"field-day-relative+3":"tra tre giorni","quarters-format-abbr":["T1","T2","T3","T4"],"quarters-standAlone-wide":["1o trimestre","2o trimestre","3o trimestre","4o trimestre"],"dateFormatItem-M":"L","days-standAlone-wide":["Domenica","Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"],"timeFormat-medium":"HH:mm:ss","dateFormatItem-Hm":"HH:mm","quarters-standAlone-abbr":["T1","T2","T3","T4"],"eraAbbr":["aC","dC"],"field-minute":"minuto","field-dayperiod":"periodo del giorno","days-standAlone-abbr":["dom","lun","mar","mer","gio","ven","sab"],"dateFormatItem-d":"d","dateFormatItem-ms":"mm:ss","quarters-format-narrow":["1","2","3","4"],"field-day-relative+-1":"ieri","dateFormatItem-h":"hh a","dateTimeFormat-long":"{1} {0}","dayPeriods-format-narrow-am":"AM","field-day-relative+-2":"l'altro ieri","field-day-relative+-3":"tre giorni fa","dateFormatItem-MMMd":"d MMM","dateFormatItem-MEd":"EEE d/M","dateTimeFormat-full":"{1} {0}","field-day":"giorno","days-format-wide":["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"],"field-zone":"zona","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","dateFormatItem-y":"y","months-standAlone-narrow":["G","F","M","A","M","G","L","A","S","O","N","D"],"dateFormatItem-yyMM":"MM/yy","dateFormatItem-hm":"hh:mm a","dateTimeFormats-appendItem-Year":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","dayPeriods-format-abbr-pm":"PM","days-format-abbr":["dom","lun","mar","mer","gio","ven","sab"],"eraNames":["a.C.","d.C"],"days-format-narrow":["D","L","M","M","G","V","S"],"days-standAlone-narrow":["D","L","M","M","G","V","S"],"dateFormatItem-MMM":"LLL","field-month":"mese","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","dayPeriods-format-wide-am":"m.","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateFormatItem-MMMMdd":"dd MMMM","dateFormat-short":"dd/MM/yy","field-second":"secondo","dateFormatItem-yMMMEd":"EEE d MMM y","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateFormatItem-Ed":"E d","field-week":"settimana","dateFormat-medium":"dd/MMM/y","dayPeriods-format-narrow-pm":"PM","dateTimeFormat-short":"{1} {0}","dateFormatItem-Hms":"HH:mm:ss","dateFormatItem-hms":"hh:mm:ss a"},"dojo/cldr/nls/number":{"scientificFormat":"#E0","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","infinity":"∞","list":";","percentSign":"%","minusSign":"-","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","decimalFormat-short":"000T","currencySpacing-afterCurrency-insertBetween":" ","nan":"NaN","nativeZeroDigit":"0","plusSign":"+","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencyFormat":"¤ #,##0.00","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","perMille":"‰","group":".","percentFormat":"#,##0%","decimalFormat":"#,##0.###","decimal":",","patternDigit":"#","currencySpacing-beforeCurrency-insertBetween":" ","exponential":"E"}});
}catch(e){console.log("Module 'dojo_fmt_17': ",e);}
try{/*
	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
*/

//>>built
require({cache:{"dojo/i18n":function(){define("dojo/i18n",["./_base/kernel","require","./has","./_base/array","./_base/config","./_base/lang","./_base/xhr","./json"],function(_1,_2,_3,_4,_5,_6,_7,_8){_3.add("dojo-preload-i18n-Api",1);true||_3.add("dojo-v1x-i18n-Api",1);var _9=_1.i18n={},_a=/(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,_b=function(_c,_d,_e,_f){for(var _10=[_e+_f],_11=_d.split("-"),_12="",i=0;i<_11.length;i++){_12+=(_12?"-":"")+_11[i];if(!_c||_c[_12]){_10.push(_e+_12+"/"+_f);}}return _10;},_13={},_14=_1.getL10nName=function(_15,_16,_17){_17=_17?_17.toLowerCase():_1.locale;_15="dojo/i18n!"+_15.replace(/\./g,"/");_16=_16.replace(/\./g,"/");return (/root/i.test(_17))?(_15+"/nls/"+_16):(_15+"/nls/"+_17+"/"+_16);},_18=function(_19,_1a,_1b,_1c,_1d,_1e){_19([_1a],function(_1f){var _20=_6.clone(_1f.root||_1f.ROOT),_21=_b(!_1f._v1x&&_1f,_1d,_1b,_1c);_19(_21,function(){for(var i=1;i<_21.length;i++){_20=_6.mixin(_6.clone(_20),arguments[i]);}var _22=_1a+"/"+_1d;_13[_22]=_20;_1e();});});},_23=function(id,_24){return /^\./.test(id)?_24(id):id;},_25=function(_26){var _27=_5.extraLocale||[];_27=_6.isArray(_27)?_27:[_27];_27.push(_26);return _27;},_28=function(id,_29,_2a){if(_3("dojo-preload-i18n-Api")){var _2b=id.split("*"),_2c=_2b[1]=="preload";if(_2c){if(!_13[id]){_13[id]=1;_2d(_2b[2],_8.parse(_2b[3]),1);}_2a(1);}if(_2c||_2e(id,_29,_2a)){return;}}var _2f=_a.exec(id),_30=_2f[1]+"/",_31=_2f[5]||_2f[4],_32=_30+_31,_33=(_2f[5]&&_2f[4]),_34=_33||_1.locale,_35=_32+"/"+_34,_36=_33?[_34]:_25(_34),_37=_36.length,_38=function(){if(!--_37){_2a(_6.delegate(_13[_35]));}};_4.forEach(_36,function(_39){var _3a=_32+"/"+_39;if(_3("dojo-preload-i18n-Api")){_3b(_3a);}if(!_13[_3a]){_18(_29,_32,_30,_31,_39,_38);}else{_38();}});};if(_3("dojo-unit-tests")){var _3c=_9.unitTests=[];}if(_3("dojo-preload-i18n-Api")||1){var _3d=_9.normalizeLocale=function(_3e){var _3f=_3e?_3e.toLowerCase():_1.locale;return _3f=="root"?"ROOT":_3f;},_40=function(mid){return (1&&1)?_2.isXdUrl(_2.toUrl(mid+".js")):true;},_41=0,_42=[],_2d=_9._preloadLocalizations=function(_43,_44,_45){function _46(_47,_48){var _49=_47.split("-");while(_49.length){if(_48(_49.join("-"))){return true;}_49.pop();}return _48("ROOT");};function _4a(_4b){_4b=_3d(_4b);_46(_4b,function(loc){if(_4.indexOf(_44,loc)>=0){var mid=_43.replace(/\./g,"/")+"_"+loc;_41++;(_40(mid)||_45?_2:_50)([mid],function(_4c){for(var p in _4c){_13[p+"/"+loc]=_4c[p];}--_41;while(!_41&&_42.length){_28.apply(null,_42.shift());}});return true;}return false;});};_4a();_4.forEach(_1.config.extraLocale,_4a);},_2e=function(id,_4d,_4e){if(_41){_42.push([id,_4d,_4e]);}return _41;};}if(1){var _4f=new Function("__bundle","__checkForLegacyModules","__mid","var define = function(){define.called = 1;},"+"    require = function(){define.called = 1;};"+"try{"+"define.called = 0;"+"eval(__bundle);"+"if(define.called==1)"+"return 1;"+"if((__checkForLegacyModules = __checkForLegacyModules(__mid)))"+"return __checkForLegacyModules;"+"}catch(e){}"+"try{"+"return eval('('+__bundle+')');"+"}catch(e){"+"return e;"+"}"),_50=function(_51,_52){var _53=[];_4.forEach(_51,function(mid){var url=_2.toUrl(mid+".js");function _28(_54){var _55=_4f(_54,_3b,mid);if(_55===1){_2([mid],function(_56){_53.push(_13[url]=_56);});}else{if(_55 instanceof Error){console.error("failed to evaluate i18n bundle; url="+url,_55);_55={};}_53.push(_13[url]=(/nls\/[^\/]+\/[^\/]+$/.test(url)?_55:{root:_55,_v1x:1}));}};if(_13[url]){_53.push(_13[url]);}else{var _57=_2.syncLoadNls(mid);if(!_57){_57=_3b(mid.replace(/nls\/([^\/]*)\/([^\/]*)$/,"nls/$2/$1"));}if(_57){_53.push(_57);}else{if(!_7){try{_2.getText(url,true,_28);}catch(e){_53.push(_13[url]={});}}else{_7.get({url:url,sync:true,load:_28,error:function(){_53.push(_13[url]={});}});}}}});_52&&_52.apply(null,_53);},_3b=function(_58){for(var _59,_5a=_58.split("/"),_5b=_1.global[_5a[0]],i=1;_5b&&i<_5a.length-1;_5b=_5b[_5a[i++]]){}if(_5b){_59=_5b[_5a[i]];if(!_59){_59=_5b[_5a[i].replace(/-/g,"_")];}if(_59){_13[_58]=_59;}}return _59;};_9.getLocalization=function(_5c,_5d,_5e){var _5f,_60=_14(_5c,_5d,_5e).substring(10);_28(_60,(!_40(_60)?_50:_2),function(_61){_5f=_61;});return _5f;};if(_3("dojo-unit-tests")){_3c.push(function(doh){doh.register("tests.i18n.unit",function(t){var _62;_62=_4f("{prop:1}");t.is({prop:1},_62);t.is(undefined,_62[1]);_62=_4f("({prop:1})");t.is({prop:1},_62);t.is(undefined,_62[1]);_62=_4f("{'prop-x':1}");t.is({"prop-x":1},_62);t.is(undefined,_62[1]);_62=_4f("({'prop-x':1})");t.is({"prop-x":1},_62);t.is(undefined,_62[1]);_62=_4f("define({'prop-x':1})");t.is(1,_62);_62=_4f("this is total nonsense and should throw an error");t.is(_62 instanceof Error,true);});});}}return _6.mixin(_9,{dynamic:true,normalize:_23,load:_28,cache:_13});});},"dojo/string":function(){define("dojo/string",["./_base/kernel","./_base/lang"],function(_63,_64){_64.getObject("string",true,_63);_63.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("");};_63.string.pad=function(_65,_66,ch,end){if(!ch){ch="0";}var out=String(_65),pad=_63.string.rep(ch,Math.ceil((_66-out.length)/ch.length));return end?out+pad:pad+out;};_63.string.substitute=function(_67,map,_68,_69){_69=_69||_63.global;_68=_68?_64.hitch(_69,_68):function(v){return v;};return _67.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_6a,key,_6b){var _6c=_64.getObject(key,false,map);if(_6b){_6c=_64.getObject(_6b,false,_69).call(_69,_6c,key);}return _68(_6c,key).toString();});};_63.string.trim=String.prototype.trim?_64.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;};return _63.string;});},"dojo/date":function(){define("dojo/date",["./_base/kernel","./_base/lang"],function(_6d,_6e){_6e.getObject("date",true,_6d);_6d.date.getDaysInMonth=function(_6f){var _70=_6f.getMonth();var _71=[31,28,31,30,31,30,31,31,30,31,30,31];if(_70==1&&_6d.date.isLeapYear(_6f)){return 29;}return _71[_70];};_6d.date.isLeapYear=function(_72){var _73=_72.getFullYear();return !(_73%400)||(!(_73%4)&&!!(_73%100));};_6d.date.getTimezoneName=function(_74){var str=_74.toString();var tz="";var _75;var pos=str.indexOf("(");if(pos>-1){tz=str.substring(++pos,str.indexOf(")"));}else{var pat=/([A-Z\/]+) \d{4}$/;if((_75=str.match(pat))){tz=_75[1];}else{str=_74.toLocaleString();pat=/ ([A-Z\/]+)$/;if((_75=str.match(pat))){tz=_75[1];}}}return (tz=="AM"||tz=="PM")?"":tz;};_6d.date.compare=function(_76,_77,_78){_76=new Date(+_76);_77=new Date(+(_77||new Date()));if(_78=="date"){_76.setHours(0,0,0,0);_77.setHours(0,0,0,0);}else{if(_78=="time"){_76.setFullYear(0,0,0);_77.setFullYear(0,0,0);}}if(_76>_77){return 1;}if(_76<_77){return -1;}return 0;};_6d.date.add=function(_79,_7a,_7b){var sum=new Date(+_79);var _7c=false;var _7d="Date";switch(_7a){case "day":break;case "weekday":var _7e,_7f;var mod=_7b%5;if(!mod){_7e=(_7b>0)?5:-5;_7f=(_7b>0)?((_7b-5)/5):((_7b+5)/5);}else{_7e=mod;_7f=parseInt(_7b/5);}var _80=_79.getDay();var adj=0;if(_80==6&&_7b>0){adj=1;}else{if(_80==0&&_7b<0){adj=-1;}}var _81=_80+_7e;if(_81==0||_81==6){adj=(_7b>0)?2:-2;}_7b=(7*_7f)+_7e+adj;break;case "year":_7d="FullYear";_7c=true;break;case "week":_7b*=7;break;case "quarter":_7b*=3;case "month":_7c=true;_7d="Month";break;default:_7d="UTC"+_7a.charAt(0).toUpperCase()+_7a.substring(1)+"s";}if(_7d){sum["set"+_7d](sum["get"+_7d]()+_7b);}if(_7c&&(sum.getDate()<_79.getDate())){sum.setDate(0);}return sum;};_6d.date.difference=function(_82,_83,_84){_83=_83||new Date();_84=_84||"day";var _85=_83.getFullYear()-_82.getFullYear();var _86=1;switch(_84){case "quarter":var m1=_82.getMonth();var m2=_83.getMonth();var q1=Math.floor(m1/3)+1;var q2=Math.floor(m2/3)+1;q2+=(_85*4);_86=q2-q1;break;case "weekday":var _87=Math.round(_6d.date.difference(_82,_83,"day"));var _88=parseInt(_6d.date.difference(_82,_83,"week"));var mod=_87%7;if(mod==0){_87=_88*5;}else{var adj=0;var _89=_82.getDay();var _8a=_83.getDay();_88=parseInt(_87/7);mod=_87%7;var _8b=new Date(_82);_8b.setDate(_8b.getDate()+(_88*7));var _8c=_8b.getDay();if(_87>0){switch(true){case _89==6:adj=-1;break;case _89==0:adj=0;break;case _8a==6:adj=-1;break;case _8a==0:adj=-2;break;case (_8c+mod)>5:adj=-2;}}else{if(_87<0){switch(true){case _89==6:adj=0;break;case _89==0:adj=1;break;case _8a==6:adj=2;break;case _8a==0:adj=1;break;case (_8c+mod)<0:adj=2;}}}_87+=adj;_87-=(_88*2);}_86=_87;break;case "year":_86=_85;break;case "month":_86=(_83.getMonth()-_82.getMonth())+(_85*12);break;case "week":_86=parseInt(_6d.date.difference(_82,_83,"day")/7);break;case "day":_86/=24;case "hour":_86/=60;case "minute":_86/=60;case "second":_86/=1000;case "millisecond":_86*=_83.getTime()-_82.getTime();}return Math.round(_86);};return _6d.date;});},"dojo/cldr/supplemental":function(){define("dojo/cldr/supplemental",["../_base/kernel","../_base/lang","../i18n"],function(_8d,_8e){_8e.getObject("cldr.supplemental",true,_8d);_8d.cldr.supplemental.getFirstDayOfWeek=function(_8f){var _90={mv:5,ae:6,af:6,bh:6,dj:6,dz:6,eg:6,er:6,et:6,iq:6,ir:6,jo:6,ke:6,kw:6,ly:6,ma:6,om:6,qa:6,sa:6,sd:6,so:6,sy:6,tn:6,ye:6,ar:0,as:0,az:0,bw:0,ca:0,cn:0,fo:0,ge:0,gl:0,gu:0,hk:0,il:0,"in":0,jm:0,jp:0,kg:0,kr:0,la:0,mh:0,mn:0,mo:0,mp:0,mt:0,nz:0,ph:0,pk:0,sg:0,th:0,tt:0,tw:0,um:0,us:0,uz:0,vi:0,zw:0};var _91=_8d.cldr.supplemental._region(_8f);var dow=_90[_91];return (dow===undefined)?1:dow;};_8d.cldr.supplemental._region=function(_92){_92=_8d.i18n.normalizeLocale(_92);var _93=_92.split("-");var _94=_93[1];if(!_94){_94={de:"de",en:"us",es:"es",fi:"fi",fr:"fr",he:"il",hu:"hu",it:"it",ja:"jp",ko:"kr",nl:"nl",pt:"br",sv:"se",zh:"cn"}[_93[0]];}else{if(_94.length==4){_94=_93[2];}}return _94;};_8d.cldr.supplemental.getWeekend=function(_95){var _96={"in":0,af:4,dz:4,ir:4,om:4,sa:4,ye:4,ae:5,bh:5,eg:5,il:5,iq:5,jo:5,kw:5,ly:5,ma:5,qa:5,sd:5,sy:5,tn:5};var _97={af:5,dz:5,ir:5,om:5,sa:5,ye:5,ae:6,bh:5,eg:6,il:6,iq:6,jo:6,kw:6,ly:6,ma:6,qa:6,sd:6,sy:6,tn:6};var _98=_8d.cldr.supplemental._region(_95);var _99=_96[_98];var end=_97[_98];if(_99===undefined){_99=6;}if(end===undefined){end=0;}return {start:_99,end:end};};return _8d.cldr.supplemental;});},"dojo/number":function(){define("dojo/number",["./_base/kernel","./_base/lang","./i18n","./i18n!./cldr/nls/number","./string","./regexp"],function(_9a,_9b,_9c,_9d,_9e,_9f){_9b.getObject("number",true,_9a);_9a.number.format=function(_a0,_a1){_a1=_9b.mixin({},_a1||{});var _a2=_9c.normalizeLocale(_a1.locale),_a3=_9c.getLocalization("dojo.cldr","number",_a2);_a1.customs=_a3;var _a4=_a1.pattern||_a3[(_a1.type||"decimal")+"Format"];if(isNaN(_a0)||Math.abs(_a0)==Infinity){return null;}return _9a.number._applyPattern(_a0,_a4,_a1);};_9a.number._numberPatternRE=/[#0,]*[#0](?:\.0*#*)?/;_9a.number._applyPattern=function(_a5,_a6,_a7){_a7=_a7||{};var _a8=_a7.customs.group,_a9=_a7.customs.decimal,_aa=_a6.split(";"),_ab=_aa[0];_a6=_aa[(_a5<0)?1:0]||("-"+_ab);if(_a6.indexOf("%")!=-1){_a5*=100;}else{if(_a6.indexOf("‰")!=-1){_a5*=1000;}else{if(_a6.indexOf("¤")!=-1){_a8=_a7.customs.currencyGroup||_a8;_a9=_a7.customs.currencyDecimal||_a9;_a6=_a6.replace(/\u00a4{1,3}/,function(_ac){var _ad=["symbol","currency","displayName"][_ac.length-1];return _a7[_ad]||_a7.currency||"";});}else{if(_a6.indexOf("E")!=-1){throw new Error("exponential notation not supported");}}}}var _ae=_9a.number._numberPatternRE;var _af=_ab.match(_ae);if(!_af){throw new Error("unable to find a number expression in pattern: "+_a6);}if(_a7.fractional===false){_a7.places=0;}return _a6.replace(_ae,_9a.number._formatAbsolute(_a5,_af[0],{decimal:_a9,group:_a8,places:_a7.places,round:_a7.round}));};_9a.number.round=function(_b0,_b1,_b2){var _b3=10/(_b2||10);return (_b3*+_b0).toFixed(_b1)/_b3;};if((0.9).toFixed()==0){var _b4=_9a.number.round;_9a.number.round=function(v,p,m){var d=Math.pow(10,-p||0),a=Math.abs(v);if(!v||a>=d){d=0;}else{a/=d;if(a<0.5||a>=0.95){d=0;}}return _b4(v,p,m)+(v>0?d:-d);};}_9a.number._formatAbsolute=function(_b5,_b6,_b7){_b7=_b7||{};if(_b7.places===true){_b7.places=0;}if(_b7.places===Infinity){_b7.places=6;}var _b8=_b6.split("."),_b9=typeof _b7.places=="string"&&_b7.places.indexOf(","),_ba=_b7.places;if(_b9){_ba=_b7.places.substring(_b9+1);}else{if(!(_ba>=0)){_ba=(_b8[1]||[]).length;}}if(!(_b7.round<0)){_b5=_9a.number.round(_b5,_ba,_b7.round);}var _bb=String(Math.abs(_b5)).split("."),_bc=_bb[1]||"";if(_b8[1]||_b7.places){if(_b9){_b7.places=_b7.places.substring(0,_b9);}var pad=_b7.places!==undefined?_b7.places:(_b8[1]&&_b8[1].lastIndexOf("0")+1);if(pad>_bc.length){_bb[1]=_9e.pad(_bc,pad,"0",true);}if(_ba<_bc.length){_bb[1]=_bc.substr(0,_ba);}}else{if(_bb[1]){_bb.pop();}}var _bd=_b8[0].replace(",","");pad=_bd.indexOf("0");if(pad!=-1){pad=_bd.length-pad;if(pad>_bb[0].length){_bb[0]=_9e.pad(_bb[0],pad);}if(_bd.indexOf("#")==-1){_bb[0]=_bb[0].substr(_bb[0].length-pad);}}var _be=_b8[0].lastIndexOf(","),_bf,_c0;if(_be!=-1){_bf=_b8[0].length-_be-1;var _c1=_b8[0].substr(0,_be);_be=_c1.lastIndexOf(",");if(_be!=-1){_c0=_c1.length-_be-1;}}var _c2=[];for(var _c3=_bb[0];_c3;){var off=_c3.length-_bf;_c2.push((off>0)?_c3.substr(off):_c3);_c3=(off>0)?_c3.slice(0,off):"";if(_c0){_bf=_c0;delete _c0;}}_bb[0]=_c2.reverse().join(_b7.group||",");return _bb.join(_b7.decimal||".");};_9a.number.regexp=function(_c4){return _9a.number._parseInfo(_c4).regexp;};_9a.number._parseInfo=function(_c5){_c5=_c5||{};var _c6=_9c.normalizeLocale(_c5.locale),_c7=_9c.getLocalization("dojo.cldr","number",_c6),_c8=_c5.pattern||_c7[(_c5.type||"decimal")+"Format"],_c9=_c7.group,_ca=_c7.decimal,_cb=1;if(_c8.indexOf("%")!=-1){_cb/=100;}else{if(_c8.indexOf("‰")!=-1){_cb/=1000;}else{var _cc=_c8.indexOf("¤")!=-1;if(_cc){_c9=_c7.currencyGroup||_c9;_ca=_c7.currencyDecimal||_ca;}}}var _cd=_c8.split(";");if(_cd.length==1){_cd.push("-"+_cd[0]);}var re=_9f.buildGroupRE(_cd,function(_ce){_ce="(?:"+_9f.escapeString(_ce,".")+")";return _ce.replace(_9a.number._numberPatternRE,function(_cf){var _d0={signed:false,separator:_c5.strict?_c9:[_c9,""],fractional:_c5.fractional,decimal:_ca,exponent:false},_d1=_cf.split("."),_d2=_c5.places;if(_d1.length==1&&_cb!=1){_d1[1]="###";}if(_d1.length==1||_d2===0){_d0.fractional=false;}else{if(_d2===undefined){_d2=_c5.pattern?_d1[1].lastIndexOf("0")+1:Infinity;}if(_d2&&_c5.fractional==undefined){_d0.fractional=true;}if(!_c5.places&&(_d2<_d1[1].length)){_d2+=","+_d1[1].length;}_d0.places=_d2;}var _d3=_d1[0].split(",");if(_d3.length>1){_d0.groupSize=_d3.pop().length;if(_d3.length>1){_d0.groupSize2=_d3.pop().length;}}return "("+_9a.number._realNumberRegexp(_d0)+")";});},true);if(_cc){re=re.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/g,function(_d4,_d5,_d6,_d7){var _d8=["symbol","currency","displayName"][_d6.length-1],_d9=_9f.escapeString(_c5[_d8]||_c5.currency||"");_d5=_d5?"[\\s\\xa0]":"";_d7=_d7?"[\\s\\xa0]":"";if(!_c5.strict){if(_d5){_d5+="*";}if(_d7){_d7+="*";}return "(?:"+_d5+_d9+_d7+")?";}return _d5+_d9+_d7;});}return {regexp:re.replace(/[\xa0 ]/g,"[\\s\\xa0]"),group:_c9,decimal:_ca,factor:_cb};};_9a.number.parse=function(_da,_db){var _dc=_9a.number._parseInfo(_db),_dd=(new RegExp("^"+_dc.regexp+"$")).exec(_da);if(!_dd){return NaN;}var _de=_dd[1];if(!_dd[1]){if(!_dd[2]){return NaN;}_de=_dd[2];_dc.factor*=-1;}_de=_de.replace(new RegExp("["+_dc.group+"\\s\\xa0"+"]","g"),"").replace(_dc.decimal,".");return _de*_dc.factor;};_9a.number._realNumberRegexp=function(_df){_df=_df||{};if(!("places" in _df)){_df.places=Infinity;}if(typeof _df.decimal!="string"){_df.decimal=".";}if(!("fractional" in _df)||/^0/.test(_df.places)){_df.fractional=[true,false];}if(!("exponent" in _df)){_df.exponent=[true,false];}if(!("eSigned" in _df)){_df.eSigned=[true,false];}var _e0=_9a.number._integerRegexp(_df),_e1=_9f.buildGroupRE(_df.fractional,function(q){var re="";if(q&&(_df.places!==0)){re="\\"+_df.decimal;if(_df.places==Infinity){re="(?:"+re+"\\d+)?";}else{re+="\\d{"+_df.places+"}";}}return re;},true);var _e2=_9f.buildGroupRE(_df.exponent,function(q){if(q){return "([eE]"+_9a.number._integerRegexp({signed:_df.eSigned})+")";}return "";});var _e3=_e0+_e1;if(_e1){_e3="(?:(?:"+_e3+")|(?:"+_e1+"))";}return _e3+_e2;};_9a.number._integerRegexp=function(_e4){_e4=_e4||{};if(!("signed" in _e4)){_e4.signed=[true,false];}if(!("separator" in _e4)){_e4.separator="";}else{if(!("groupSize" in _e4)){_e4.groupSize=3;}}var _e5=_9f.buildGroupRE(_e4.signed,function(q){return q?"[-+]":"";},true);var _e6=_9f.buildGroupRE(_e4.separator,function(sep){if(!sep){return "(?:\\d+)";}sep=_9f.escapeString(sep);if(sep==" "){sep="\\s";}else{if(sep==" "){sep="\\s\\xa0";}}var grp=_e4.groupSize,_e7=_e4.groupSize2;if(_e7){var _e8="(?:0|[1-9]\\d{0,"+(_e7-1)+"}(?:["+sep+"]\\d{"+_e7+"})*["+sep+"]\\d{"+grp+"})";return ((grp-_e7)>0)?"(?:"+_e8+"|(?:0|[1-9]\\d{0,"+(grp-1)+"}))":_e8;}return "(?:0|[1-9]\\d{0,"+(grp-1)+"}(?:["+sep+"]\\d{"+grp+"})*)";},true);return _e5+_e6;};return _9a.number;});},"dojo/date/stamp":function(){define("dojo/date/stamp",["../_base/kernel","../_base/lang","../_base/array"],function(_e9,_ea,_eb){_ea.getObject("date.stamp",true,_e9);_e9.date.stamp.fromISOString=function(_ec,_ed){if(!_e9.date.stamp._isoRegExp){_e9.date.stamp._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/;}var _ee=_e9.date.stamp._isoRegExp.exec(_ec),_ef=null;if(_ee){_ee.shift();if(_ee[1]){_ee[1]--;}if(_ee[6]){_ee[6]*=1000;}if(_ed){_ed=new Date(_ed);_eb.forEach(_eb.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(_f0){return _ed["get"+_f0]();}),function(_f1,_f2){_ee[_f2]=_ee[_f2]||_f1;});}_ef=new Date(_ee[0]||1970,_ee[1]||0,_ee[2]||1,_ee[3]||0,_ee[4]||0,_ee[5]||0,_ee[6]||0);if(_ee[0]<100){_ef.setFullYear(_ee[0]||1970);}var _f3=0,_f4=_ee[7]&&_ee[7].charAt(0);if(_f4!="Z"){_f3=((_ee[8]||0)*60)+(Number(_ee[9])||0);if(_f4!="-"){_f3*=-1;}}if(_f4){_f3-=_ef.getTimezoneOffset();}if(_f3){_ef.setTime(_ef.getTime()+_f3*60000);}}return _ef;};_e9.date.stamp.toISOString=function(_f5,_f6){var _f7=function(n){return (n<10)?"0"+n:n;};_f6=_f6||{};var _f8=[],_f9=_f6.zulu?"getUTC":"get",_fa="";if(_f6.selector!="time"){var _fb=_f5[_f9+"FullYear"]();_fa=["0000".substr((_fb+"").length)+_fb,_f7(_f5[_f9+"Month"]()+1),_f7(_f5[_f9+"Date"]())].join("-");}_f8.push(_fa);if(_f6.selector!="date"){var _fc=[_f7(_f5[_f9+"Hours"]()),_f7(_f5[_f9+"Minutes"]()),_f7(_f5[_f9+"Seconds"]())].join(":");var _fd=_f5[_f9+"Milliseconds"]();if(_f6.milliseconds){_fc+="."+(_fd<100?"0":"")+_f7(_fd);}if(_f6.zulu){_fc+="Z";}else{if(_f6.selector!="time"){var _fe=_f5.getTimezoneOffset();var _ff=Math.abs(_fe);_fc+=(_fe>0?"-":"+")+_f7(Math.floor(_ff/60))+":"+_f7(_ff%60);}}_f8.push(_fc);}return _f8.join("T");};return _e9.date.stamp;});},"dojo/text":function(){define("dojo/text",["./_base/kernel","require","./has","./_base/xhr"],function(dojo,_100,has,xhr){var _101;if(1){_101=function(url,sync,load){xhr("GET",{url:url,sync:!!sync,load:load});};}else{if(_100.getText){_101=_100.getText;}else{console.error("dojo/text plugin failed to load because loader does not support getText");}}var _102={},_103=function(text){if(text){text=text.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _104=text.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_104){text=_104[1];}}else{text="";}return text;},_105={},_106={},_107={dynamic:true,normalize:function(id,_108){var _109=id.split("!"),url=_109[0];return (/^\./.test(url)?_108(url):url)+(_109[1]?"!"+_109[1]:"");},load:function(id,_10a,load){var _10b=id.split("!"),_10c=_10b.length>1,_10d=_10b[0],url=_10a.toUrl(_10b[0]),text=_105,_10e=function(text){load(_10c?_103(text):text);};if(_10d in _102){text=_102[_10d];}else{if(url in _10a.cache){text=_10a.cache[url];}else{if(url in _102){text=_102[url];}}}if(text===_105){if(_106[url]){_106[url].push(_10e);}else{var _10f=_106[url]=[_10e];_101(url,!_10a.async,function(text){_102[_10d]=_102[url]=text;for(var i=0;i<_10f.length;){_10f[i++](text);}delete _106[url];});}}else{_10e(text);}}};dojo.cache=function(_110,url,_111){var key;if(typeof _110=="string"){if(/\//.test(_110)){key=_110;_111=url;}else{key=_100.toUrl(_110.replace(/\./g,"/")+(url?("/"+url):""));}}else{key=_110+"";_111=url;}var val=(_111!=undefined&&typeof _111!="string")?_111.value:_111,_112=_111&&_111.sanitize;if(typeof val=="string"){_102[key]=val;return _112?_103(val):val;}else{if(val===null){delete _102[key];return null;}else{if(!(key in _102)){_101(key,true,function(text){_102[key]=text;});}return _112?_103(_102[key]):_102[key];}}};return _107;});},"dojo/colors":function(){define("dojo/colors",["./_base/kernel","./_base/lang","./_base/Color","./_base/array"],function(dojo,lang,_113,_114){var _115=lang.getObject("dojo.colors",true);var _116=function(m1,m2,h){if(h<0){++h;}if(h>1){--h;}var h6=6*h;if(h6<1){return m1+(m2-m1)*h6;}if(2*h<1){return m2;}if(3*h<2){return m1+(m2-m1)*(2/3-h)*6;}return m1;};dojo.colorFromRgb=_113.fromRgb=function(_117,obj){var m=_117.toLowerCase().match(/^(rgba?|hsla?)\(([\s\.\-,%0-9]+)\)/);if(m){var c=m[2].split(/\s*,\s*/),l=c.length,t=m[1],a;if((t=="rgb"&&l==3)||(t=="rgba"&&l==4)){var r=c[0];if(r.charAt(r.length-1)=="%"){a=_114.map(c,function(x){return parseFloat(x)*2.56;});if(l==4){a[3]=c[3];}return _113.fromArray(a,obj);}return _113.fromArray(c,obj);}if((t=="hsl"&&l==3)||(t=="hsla"&&l==4)){var H=((parseFloat(c[0])%360)+360)%360/360,S=parseFloat(c[1])/100,L=parseFloat(c[2])/100,m2=L<=0.5?L*(S+1):L+S-L*S,m1=2*L-m2;a=[_116(m1,m2,H+1/3)*256,_116(m1,m2,H)*256,_116(m1,m2,H-1/3)*256,1];if(l==4){a[3]=c[3];}return _113.fromArray(a,obj);}}return null;};var _118=function(c,low,high){c=Number(c);return isNaN(c)?high:c<low?low:c>high?high:c;};_113.prototype.sanitize=function(){var t=this;t.r=Math.round(_118(t.r,0,255));t.g=Math.round(_118(t.g,0,255));t.b=Math.round(_118(t.b,0,255));t.a=_118(t.a,0,1);return this;};_115.makeGrey=_113.makeGrey=function(g,a){return _113.fromArray([g,g,g,a]);};lang.mixin(_113.named,{"aliceblue":[240,248,255],"antiquewhite":[250,235,215],"aquamarine":[127,255,212],"azure":[240,255,255],"beige":[245,245,220],"bisque":[255,228,196],"blanchedalmond":[255,235,205],"blueviolet":[138,43,226],"brown":[165,42,42],"burlywood":[222,184,135],"cadetblue":[95,158,160],"chartreuse":[127,255,0],"chocolate":[210,105,30],"coral":[255,127,80],"cornflowerblue":[100,149,237],"cornsilk":[255,248,220],"crimson":[220,20,60],"cyan":[0,255,255],"darkblue":[0,0,139],"darkcyan":[0,139,139],"darkgoldenrod":[184,134,11],"darkgray":[169,169,169],"darkgreen":[0,100,0],"darkgrey":[169,169,169],"darkkhaki":[189,183,107],"darkmagenta":[139,0,139],"darkolivegreen":[85,107,47],"darkorange":[255,140,0],"darkorchid":[153,50,204],"darkred":[139,0,0],"darksalmon":[233,150,122],"darkseagreen":[143,188,143],"darkslateblue":[72,61,139],"darkslategray":[47,79,79],"darkslategrey":[47,79,79],"darkturquoise":[0,206,209],"darkviolet":[148,0,211],"deeppink":[255,20,147],"deepskyblue":[0,191,255],"dimgray":[105,105,105],"dimgrey":[105,105,105],"dodgerblue":[30,144,255],"firebrick":[178,34,34],"floralwhite":[255,250,240],"forestgreen":[34,139,34],"gainsboro":[220,220,220],"ghostwhite":[248,248,255],"gold":[255,215,0],"goldenrod":[218,165,32],"greenyellow":[173,255,47],"grey":[128,128,128],"honeydew":[240,255,240],"hotpink":[255,105,180],"indianred":[205,92,92],"indigo":[75,0,130],"ivory":[255,255,240],"khaki":[240,230,140],"lavender":[230,230,250],"lavenderblush":[255,240,245],"lawngreen":[124,252,0],"lemonchiffon":[255,250,205],"lightblue":[173,216,230],"lightcoral":[240,128,128],"lightcyan":[224,255,255],"lightgoldenrodyellow":[250,250,210],"lightgray":[211,211,211],"lightgreen":[144,238,144],"lightgrey":[211,211,211],"lightpink":[255,182,193],"lightsalmon":[255,160,122],"lightseagreen":[32,178,170],"lightskyblue":[135,206,250],"lightslategray":[119,136,153],"lightslategrey":[119,136,153],"lightsteelblue":[176,196,222],"lightyellow":[255,255,224],"limegreen":[50,205,50],"linen":[250,240,230],"magenta":[255,0,255],"mediumaquamarine":[102,205,170],"mediumblue":[0,0,205],"mediumorchid":[186,85,211],"mediumpurple":[147,112,219],"mediumseagreen":[60,179,113],"mediumslateblue":[123,104,238],"mediumspringgreen":[0,250,154],"mediumturquoise":[72,209,204],"mediumvioletred":[199,21,133],"midnightblue":[25,25,112],"mintcream":[245,255,250],"mistyrose":[255,228,225],"moccasin":[255,228,181],"navajowhite":[255,222,173],"oldlace":[253,245,230],"olivedrab":[107,142,35],"orange":[255,165,0],"orangered":[255,69,0],"orchid":[218,112,214],"palegoldenrod":[238,232,170],"palegreen":[152,251,152],"paleturquoise":[175,238,238],"palevioletred":[219,112,147],"papayawhip":[255,239,213],"peachpuff":[255,218,185],"peru":[205,133,63],"pink":[255,192,203],"plum":[221,160,221],"powderblue":[176,224,230],"rosybrown":[188,143,143],"royalblue":[65,105,225],"saddlebrown":[139,69,19],"salmon":[250,128,114],"sandybrown":[244,164,96],"seagreen":[46,139,87],"seashell":[255,245,238],"sienna":[160,82,45],"skyblue":[135,206,235],"slateblue":[106,90,205],"slategray":[112,128,144],"slategrey":[112,128,144],"snow":[255,250,250],"springgreen":[0,255,127],"steelblue":[70,130,180],"tan":[210,180,140],"thistle":[216,191,216],"tomato":[255,99,71],"turquoise":[64,224,208],"violet":[238,130,238],"wheat":[245,222,179],"whitesmoke":[245,245,245],"yellowgreen":[154,205,50]});return _113;});},"dojo/regexp":function(){define("dojo/regexp",["./_base/kernel","./_base/lang"],function(dojo,lang){lang.getObject("regexp",true,dojo);dojo.regexp.escapeString=function(str,_119){return str.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(ch){if(_119&&_119.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};dojo.regexp.buildGroupRE=function(arr,re,_11a){if(!(arr instanceof Array)){return re(arr);}var b=[];for(var i=0;i<arr.length;i++){b.push(re(arr[i]));}return dojo.regexp.group(b.join("|"),_11a);};dojo.regexp.group=function(_11b,_11c){return "("+(_11c?"?:":"")+_11b+")";};return dojo.regexp;});},"dojo/date/locale":function(){define("dojo/date/locale",["../_base/kernel","../_base/lang","../_base/array","../date","../cldr/supplemental","../regexp","../string","../i18n!../cldr/nls/gregorian"],function(dojo,lang,_11d,date,cldr,_11e,_11f,_120){lang.getObject("date.locale",true,dojo);function _121(_122,_123,_124,_125){return _125.replace(/([a-z])\1*/ig,function(_126){var s,pad,c=_126.charAt(0),l=_126.length,_127=["abbr","wide","narrow"];switch(c){case "G":s=_123[(l<4)?"eraAbbr":"eraNames"][_122.getFullYear()<0?0:1];break;case "y":s=_122.getFullYear();switch(l){case 1:break;case 2:if(!_124.fullYear){s=String(s);s=s.substr(s.length-2);break;}default:pad=true;}break;case "Q":case "q":s=Math.ceil((_122.getMonth()+1)/3);pad=true;break;case "M":var m=_122.getMonth();if(l<3){s=m+1;pad=true;}else{var _128=["months","format",_127[l-3]].join("-");s=_123[_128][m];}break;case "w":var _129=0;s=dojo.date.locale._getWeekOfYear(_122,_129);pad=true;break;case "d":s=_122.getDate();pad=true;break;case "D":s=dojo.date.locale._getDayOfYear(_122);pad=true;break;case "E":var d=_122.getDay();if(l<3){s=d+1;pad=true;}else{var _12a=["days","format",_127[l-3]].join("-");s=_123[_12a][d];}break;case "a":var _12b=(_122.getHours()<12)?"am":"pm";s=_124[_12b]||_123["dayPeriods-format-wide-"+_12b];break;case "h":case "H":case "K":case "k":var h=_122.getHours();switch(c){case "h":s=(h%12)||12;break;case "H":s=h;break;case "K":s=(h%12);break;case "k":s=h||24;break;}pad=true;break;case "m":s=_122.getMinutes();pad=true;break;case "s":s=_122.getSeconds();pad=true;break;case "S":s=Math.round(_122.getMilliseconds()*Math.pow(10,l-3));pad=true;break;case "v":case "z":s=dojo.date.locale._getZone(_122,true,_124);if(s){break;}l=4;case "Z":var _12c=dojo.date.locale._getZone(_122,false,_124);var tz=[(_12c<=0?"+":"-"),_11f.pad(Math.floor(Math.abs(_12c)/60),2),_11f.pad(Math.abs(_12c)%60,2)];if(l==4){tz.splice(0,0,"GMT");tz.splice(3,0,":");}s=tz.join("");break;default:throw new Error("dojo.date.locale.format: invalid pattern char: "+_125);}if(pad){s=_11f.pad(s,l);}return s;});};dojo.date.locale._getZone=function(_12d,_12e,_12f){if(_12e){return date.getTimezoneName(_12d);}else{return _12d.getTimezoneOffset();}};dojo.date.locale.format=function(_130,_131){_131=_131||{};var _132=dojo.i18n.normalizeLocale(_131.locale),_133=_131.formatLength||"short",_134=dojo.date.locale._getGregorianBundle(_132),str=[],_135=lang.hitch(this,_121,_130,_134,_131);if(_131.selector=="year"){return _136(_134["dateFormatItem-yyyy"]||"yyyy",_135);}var _137;if(_131.selector!="date"){_137=_131.timePattern||_134["timeFormat-"+_133];if(_137){str.push(_136(_137,_135));}}if(_131.selector!="time"){_137=_131.datePattern||_134["dateFormat-"+_133];if(_137){str.push(_136(_137,_135));}}return str.length==1?str[0]:_134["dateTimeFormat-"+_133].replace(/\{(\d+)\}/g,function(_138,key){return str[key];});};dojo.date.locale.regexp=function(_139){return dojo.date.locale._parseInfo(_139).regexp;};dojo.date.locale._parseInfo=function(_13a){_13a=_13a||{};var _13b=dojo.i18n.normalizeLocale(_13a.locale),_13c=dojo.date.locale._getGregorianBundle(_13b),_13d=_13a.formatLength||"short",_13e=_13a.datePattern||_13c["dateFormat-"+_13d],_13f=_13a.timePattern||_13c["timeFormat-"+_13d],_140;if(_13a.selector=="date"){_140=_13e;}else{if(_13a.selector=="time"){_140=_13f;}else{_140=_13c["dateTimeFormat-"+_13d].replace(/\{(\d+)\}/g,function(_141,key){return [_13f,_13e][key];});}}var _142=[],re=_136(_140,lang.hitch(this,_143,_142,_13c,_13a));return {regexp:re,tokens:_142,bundle:_13c};};dojo.date.locale.parse=function(_144,_145){var _146=/[\u200E\u200F\u202A\u202E]/g,info=dojo.date.locale._parseInfo(_145),_147=info.tokens,_148=info.bundle,re=new RegExp("^"+info.regexp.replace(_146,"")+"$",info.strict?"":"i"),_149=re.exec(_144&&_144.replace(_146,""));if(!_149){return null;}var _14a=["abbr","wide","narrow"],_14b=[1970,0,1,0,0,0,0],amPm="",_14c=dojo.every(_149,function(v,i){if(!i){return true;}var _14d=_147[i-1];var l=_14d.length;switch(_14d.charAt(0)){case "y":if(l!=2&&_145.strict){_14b[0]=v;}else{if(v<100){v=Number(v);var year=""+new Date().getFullYear(),_14e=year.substring(0,2)*100,_14f=Math.min(Number(year.substring(2,4))+20,99);_14b[0]=(v<_14f)?_14e+v:_14e-100+v;}else{if(_145.strict){return false;}_14b[0]=v;}}break;case "M":if(l>2){var _150=_148["months-format-"+_14a[l-3]].concat();if(!_145.strict){v=v.replace(".","").toLowerCase();_150=dojo.map(_150,function(s){return s.replace(".","").toLowerCase();});}v=dojo.indexOf(_150,v);if(v==-1){return false;}}else{v--;}_14b[1]=v;break;case "E":case "e":var days=_148["days-format-"+_14a[l-3]].concat();if(!_145.strict){v=v.toLowerCase();days=dojo.map(days,function(d){return d.toLowerCase();});}v=dojo.indexOf(days,v);if(v==-1){return false;}break;case "D":_14b[1]=0;case "d":_14b[2]=v;break;case "a":var am=_145.am||_148["dayPeriods-format-wide-am"],pm=_145.pm||_148["dayPeriods-format-wide-pm"];if(!_145.strict){var _151=/\./g;v=v.replace(_151,"").toLowerCase();am=am.replace(_151,"").toLowerCase();pm=pm.replace(_151,"").toLowerCase();}if(_145.strict&&v!=am&&v!=pm){return false;}amPm=(v==pm)?"p":(v==am)?"a":"";break;case "K":if(v==24){v=0;}case "h":case "H":case "k":if(v>23){return false;}_14b[3]=v;break;case "m":_14b[4]=v;break;case "s":_14b[5]=v;break;case "S":_14b[6]=v;}return true;});var _152=+_14b[3];if(amPm==="p"&&_152<12){_14b[3]=_152+12;}else{if(amPm==="a"&&_152==12){_14b[3]=0;}}var _153=new Date(_14b[0],_14b[1],_14b[2],_14b[3],_14b[4],_14b[5],_14b[6]);if(_145.strict){_153.setFullYear(_14b[0]);}var _154=_147.join(""),_155=_154.indexOf("d")!=-1,_156=_154.indexOf("M")!=-1;if(!_14c||(_156&&_153.getMonth()>_14b[1])||(_155&&_153.getDate()>_14b[2])){return null;}if((_156&&_153.getMonth()<_14b[1])||(_155&&_153.getDate()<_14b[2])){_153=date.add(_153,"hour",1);}return _153;};function _136(_157,_158,_159,_15a){var _15b=function(x){return x;};_158=_158||_15b;_159=_159||_15b;_15a=_15a||_15b;var _15c=_157.match(/(''|[^'])+/g),_15d=_157.charAt(0)=="'";dojo.forEach(_15c,function(_15e,i){if(!_15e){_15c[i]="";}else{_15c[i]=(_15d?_159:_158)(_15e.replace(/''/g,"'"));_15d=!_15d;}});return _15a(_15c.join(""));};function _143(_15f,_160,_161,_162){_162=_11e.escapeString(_162);if(!_161.strict){_162=_162.replace(" a"," ?a");}return _162.replace(/([a-z])\1*/ig,function(_163){var s,c=_163.charAt(0),l=_163.length,p2="",p3="";if(_161.strict){if(l>1){p2="0"+"{"+(l-1)+"}";}if(l>2){p3="0"+"{"+(l-2)+"}";}}else{p2="0?";p3="0{0,2}";}switch(c){case "y":s="\\d{2,4}";break;case "M":s=(l>2)?"\\S+?":"1[0-2]|"+p2+"[1-9]";break;case "D":s="[12][0-9][0-9]|3[0-5][0-9]|36[0-6]|"+p2+"[1-9][0-9]|"+p3+"[1-9]";break;case "d":s="3[01]|[12]\\d|"+p2+"[1-9]";break;case "w":s="[1-4][0-9]|5[0-3]|"+p2+"[1-9]";break;case "E":s="\\S+";break;case "h":s="1[0-2]|"+p2+"[1-9]";break;case "k":s="1[01]|"+p2+"\\d";break;case "H":s="1\\d|2[0-3]|"+p2+"\\d";break;case "K":s="1\\d|2[0-4]|"+p2+"[1-9]";break;case "m":case "s":s="[0-5]\\d";break;case "S":s="\\d{"+l+"}";break;case "a":var am=_161.am||_160["dayPeriods-format-wide-am"],pm=_161.pm||_160["dayPeriods-format-wide-pm"];s=am+"|"+pm;if(!_161.strict){if(am!=am.toLowerCase()){s+="|"+am.toLowerCase();}if(pm!=pm.toLowerCase()){s+="|"+pm.toLowerCase();}if(s.indexOf(".")!=-1){s+="|"+s.replace(/\./g,"");}}s=s.replace(/\./g,"\\.");break;default:s=".*";}if(_15f){_15f.push(_163);}return "("+s+")";}).replace(/[\xa0 ]/g,"[\\s\\xa0]");};var _164=[];dojo.date.locale.addCustomFormats=function(_165,_166){_164.push({pkg:_165,name:_166});};dojo.date.locale._getGregorianBundle=function(_167){var _168={};dojo.forEach(_164,function(desc){var _169=dojo.i18n.getLocalization(desc.pkg,desc.name,_167);_168=lang.mixin(_168,_169);},this);return _168;};dojo.date.locale.addCustomFormats("dojo.cldr","gregorian");dojo.date.locale.getNames=function(item,type,_16a,_16b){var _16c,_16d=dojo.date.locale._getGregorianBundle(_16b),_16e=[item,_16a,type];if(_16a=="standAlone"){var key=_16e.join("-");_16c=_16d[key];if(_16c[0]==1){_16c=undefined;}}_16e[1]="format";return (_16c||_16d[_16e.join("-")]).concat();};dojo.date.locale.isWeekend=function(_16f,_170){var _171=cldr.getWeekend(_170),day=(_16f||new Date()).getDay();if(_171.end<_171.start){_171.end+=7;if(day<_171.start){day+=7;}}return day>=_171.start&&day<=_171.end;};dojo.date.locale._getDayOfYear=function(_172){return date.difference(new Date(_172.getFullYear(),0,1,_172.getHours()),_172)+1;};dojo.date.locale._getWeekOfYear=function(_173,_174){if(arguments.length==1){_174=0;}var _175=new Date(_173.getFullYear(),0,1).getDay(),adj=(_175-_174+7)%7,week=Math.floor((dojo.date.locale._getDayOfYear(_173)+adj-1)/7);if(_175==_174){week++;}return week;};return dojo.date.locale;});},"dojo/cldr/monetary":function(){define("dojo/cldr/monetary",["../main"],function(dojo){dojo.getObject("cldr.monetary",true,dojo);dojo.cldr.monetary.getData=function(code){var _176={ADP:0,AFN:0,ALL:0,AMD:0,BHD:3,BIF:0,BYR:0,CLF:0,CLP:0,COP:0,CRC:0,DJF:0,ESP:0,GNF:0,GYD:0,HUF:0,IDR:0,IQD:0,IRR:3,ISK:0,ITL:0,JOD:3,JPY:0,KMF:0,KPW:0,KRW:0,KWD:3,LAK:0,LBP:0,LUF:0,LYD:3,MGA:0,MGF:0,MMK:0,MNT:0,MRO:0,MUR:0,OMR:3,PKR:0,PYG:0,RSD:0,RWF:0,SLL:0,SOS:0,STD:0,SYP:0,TMM:0,TND:3,TRL:0,TZS:0,UGX:0,UZS:0,VND:0,VUV:0,XAF:0,XOF:0,XPF:0,YER:0,ZMK:0,ZWD:0};var _177={CHF:5};var _178=_176[code],_179=_177[code];if(typeof _178=="undefined"){_178=2;}if(typeof _179=="undefined"){_179=0;}return {places:_178,round:_179};};return dojo.cldr.monetary;});},"dojo/currency":function(){define("dojo/currency",["./_base/kernel","./_base/lang","./_base/array","./number","./i18n","./i18n!./cldr/nls/currency","./cldr/monetary"],function(dojo,lang,_17a,_17b,i18n,_17c,_17d){lang.getObject("currency",true,dojo);dojo.currency._mixInDefaults=function(_17e){_17e=_17e||{};_17e.type="currency";var _17f=i18n.getLocalization("dojo.cldr","currency",_17e.locale)||{};var iso=_17e.currency;var data=_17d.getData(iso);_17a.forEach(["displayName","symbol","group","decimal"],function(prop){data[prop]=_17f[iso+"_"+prop];});data.fractional=[true,false];return lang.mixin(data,_17e);};dojo.currency.format=function(_180,_181){return _17b.format(_180,dojo.currency._mixInDefaults(_181));};dojo.currency.regexp=function(_182){return _17b.regexp(dojo.currency._mixInDefaults(_182));};dojo.currency.parse=function(_183,_184){return _17b.parse(_183,dojo.currency._mixInDefaults(_184));};return dojo.currency;});},"*now":function(r){r(["dojo/i18n!*preload*dojo/nls/_fmt*[\"ar\",\"ca\",\"cs\",\"da\",\"de\",\"el\",\"en\",\"es\",\"fi\",\"fr\",\"he\",\"hr\",\"hu\",\"it\",\"ja\",\"kk\",\"ko\",\"nl\",\"no\",\"pl\",\"pt\",\"pt-br\",\"ro\",\"ru\",\"sk\",\"sl\",\"sv\",\"th\",\"tr\",\"uk\",\"zh\",\"zh-tw\",\"ROOT\"]"]);},"*noref":1}});define("dojo/_fmt",[],1);require(["dojo/currency","dojo/number","dojo/text","dojo/colors","dojo/date","dojo/date/locale","dojo/date/stamp"]);
}catch(e){console.log("Module 'dojo_fmt_17': ",e);}
try{/*
	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
*/

//>>built
require({cache:{"dojox/atom/io/Connection":function(){define("dojox/atom/io/Connection",["dojo/_base/kernel","dojo/_base/xhr","dojo/_base/window","./model","dojo/_base/declare"],function(_1,_2,_3,_4){return _1.declare("dojox.atom.io.Connection",null,{constructor:function(_5,_6){this.sync=_5;this.preventCache=_6;},preventCache:false,alertsEnabled:false,getFeed:function(_7,_8,_9,_a){this._getXmlDoc(_7,"feed",new _4.Feed(),_4._Constants.ATOM_NS,_8,_9,_a);},getService:function(_b,_c,_d,_e){this._getXmlDoc(_b,"service",new _4.Service(_b),_4._Constants.APP_NS,_c,_d,_e);},getEntry:function(_f,_10,_11,_12){this._getXmlDoc(_f,"entry",new _4.Entry(),_4._Constants.ATOM_NS,_10,_11,_12);},_getXmlDoc:function(url,_13,_14,_15,_16,_17,_18){if(!_18){_18=_3.global;}var ae=this.alertsEnabled;var _19={url:url,handleAs:"xml",sync:this.sync,preventCache:this.preventCache,load:function(_1a,_1b){var _1c=null;var _1d=_1a;var _1e;if(_1d){if(typeof (_1d.getElementsByTagNameNS)!="undefined"){_1e=_1d.getElementsByTagNameNS(_15,_13);if(_1e&&_1e.length>0){_1c=_1e.item(0);}else{if(_1d.lastChild){_1c=_1d.lastChild;}}}else{if(typeof (_1d.getElementsByTagName)!="undefined"){_1e=_1d.getElementsByTagName(_13);if(_1e&&_1e.length>0){for(var i=0;i<_1e.length;i++){if(_1e[i].namespaceURI==_15){_1c=_1e[i];break;}}}else{if(_1d.lastChild){_1c=_1d.lastChild;}}}else{if(_1d.lastChild){_1c=_1d.lastChild;}else{_16.call(_18,null,null,_1b);return;}}}_14.buildFromDom(_1c);if(_16){_16.call(_18,_14,_1d,_1b);}else{if(ae){throw new Error("The callback value does not exist.");}}}else{_16.call(_18,null,null,_1b);}}};if(this.user&&this.user!==null){_19.user=this.user;}if(this.password&&this.password!==null){_19.password=this.password;}if(_17){_19.error=function(_1f,_20){_17.call(_18,_1f,_20);};}else{_19.error=function(){throw new Error("The URL requested cannot be accessed");};}_2.get(_19);},updateEntry:function(_21,_22,_23,_24,_25,_26){if(!_26){_26=_3.global;}_21.updated=new Date();var url=_21.getEditHref();if(!url){throw new Error("A URL has not been specified for editing this entry.");}var _27=this;var ae=this.alertsEnabled;var _28={url:url,handleAs:"text",contentType:"text/xml",sync:this.sync,preventCache:this.preventCache,load:function(_29,_2a){var _2b=null;if(_24){_2b=_2a.xhr.getResponseHeader("Location");if(!_2b){_2b=url;}var _2c=function(_2d,dom,_2e){if(_22){_22.call(_26,_2d,_2b,_2e);}else{if(ae){throw new Error("The callback value does not exist.");}}};_27.getEntry(_2b,_2c);}else{if(_22){_22.call(_26,_21,_2a.xhr.getResponseHeader("Location"),_2a);}else{if(ae){throw new Error("The callback value does not exist.");}}}return _29;}};if(this.user&&this.user!==null){_28.user=this.user;}if(this.password&&this.password!==null){_28.password=this.password;}if(_23){_28.error=function(_2f,_30){_23.call(_26,_2f,_30);};}else{_28.error=function(){throw new Error("The URL requested cannot be accessed");};}if(_25){_28.postData=_21.toString(true);_28.headers={"X-Method-Override":"PUT"};_2.post(_28);}else{_28.putData=_21.toString(true);var xhr=_2.put(_28);}},addEntry:function(_31,url,_32,_33,_34,_35){if(!_35){_35=_3.global;}_31.published=new Date();_31.updated=new Date();var _36=_31.feedUrl;var ae=this.alertsEnabled;if(!url&&_36){url=_36;}if(!url){if(ae){throw new Error("The request cannot be processed because the URL parameter is missing.");}return;}var _37=this;var _38={url:url,handleAs:"text",contentType:"text/xml",sync:this.sync,preventCache:this.preventCache,postData:_31.toString(true),load:function(_39,_3a){var _3b=_3a.xhr.getResponseHeader("Location");if(!_3b){_3b=url;}if(!_3a.retrieveEntry){if(_32){_32.call(_35,_31,_3b,_3a);}else{if(ae){throw new Error("The callback value does not exist.");}}}else{var _3c=function(_3d,dom,_3e){if(_32){_32.call(_35,_3d,_3b,_3e);}else{if(ae){throw new Error("The callback value does not exist.");}}};_37.getEntry(_3b,_3c);}return _39;}};if(this.user&&this.user!==null){_38.user=this.user;}if(this.password&&this.password!==null){_38.password=this.password;}if(_33){_38.error=function(_3f,_40){_33.call(_35,_3f,_40);};}else{_38.error=function(){throw new Error("The URL requested cannot be accessed");};}_2.post(_38);},deleteEntry:function(_41,_42,_43,_44,_45){if(!_45){_45=_3.global;}var url=null;if(typeof (_41)=="string"){url=_41;}else{url=_41.getEditHref();}if(!url){_42.call(_45,false,null);throw new Error("The request cannot be processed because the URL parameter is missing.");}var _46={url:url,handleAs:"text",sync:this.sync,preventCache:this.preventCache,load:function(_47,_48){_42.call(_45,_48);return _47;}};if(this.user&&this.user!==null){_46.user=this.user;}if(this.password&&this.password!==null){_46.password=this.password;}if(_43){_46.error=function(_49,_4a){_43.call(_45,_49,_4a);};}else{_46.error=function(){throw new Error("The URL requested cannot be accessed");};}if(_44){_46.headers={"X-Method-Override":"DELETE"};dhxr.post(_46);}else{_2.del(_46);}}});});},"dojox/atom/io/model":function(){define("dojox/atom/io/model",["dojo/_base/kernel","dojo/_base/declare","dojo/_base/lang","dojo/date/stamp","dojox/xml/parser"],function(_4b,_4c,_4d,_4e,_4f){var _50=_4b.getObject("dojox.atom.io.model",true);_50._Constants={"ATOM_URI":"http://www.w3.org/2005/Atom","ATOM_NS":"http://www.w3.org/2005/Atom","PURL_NS":"http://purl.org/atom/app#","APP_NS":"http://www.w3.org/2007/app"};_50._actions={"link":function(obj,_51){if(obj.links===null){obj.links=[];}var _52=new _50.Link();_52.buildFromDom(_51);obj.links.push(_52);},"author":function(obj,_53){if(obj.authors===null){obj.authors=[];}var _54=new _50.Person("author");_54.buildFromDom(_53);obj.authors.push(_54);},"contributor":function(obj,_55){if(obj.contributors===null){obj.contributors=[];}var _56=new _50.Person("contributor");_56.buildFromDom(_55);obj.contributors.push(_56);},"category":function(obj,_57){if(obj.categories===null){obj.categories=[];}var cat=new _50.Category();cat.buildFromDom(_57);obj.categories.push(cat);},"icon":function(obj,_58){obj.icon=_4f.textContent(_58);},"id":function(obj,_59){obj.id=_4f.textContent(_59);},"rights":function(obj,_5a){obj.rights=_4f.textContent(_5a);},"subtitle":function(obj,_5b){var cnt=new _50.Content("subtitle");cnt.buildFromDom(_5b);obj.subtitle=cnt;},"title":function(obj,_5c){var cnt=new _50.Content("title");cnt.buildFromDom(_5c);obj.title=cnt;},"updated":function(obj,_5d){obj.updated=_50.util.createDate(_5d);},"issued":function(obj,_5e){obj.issued=_50.util.createDate(_5e);},"modified":function(obj,_5f){obj.modified=_50.util.createDate(_5f);},"published":function(obj,_60){obj.published=_50.util.createDate(_60);},"entry":function(obj,_61){if(obj.entries===null){obj.entries=[];}var _62=obj.createEntry?obj.createEntry():new _50.Entry();_62.buildFromDom(_61);obj.entries.push(_62);},"content":function(obj,_63){var cnt=new _50.Content("content");cnt.buildFromDom(_63);obj.content=cnt;},"summary":function(obj,_64){var _65=new _50.Content("summary");_65.buildFromDom(_64);obj.summary=_65;},"name":function(obj,_66){obj.name=_4f.textContent(_66);},"email":function(obj,_67){obj.email=_4f.textContent(_67);},"uri":function(obj,_68){obj.uri=_4f.textContent(_68);},"generator":function(obj,_69){obj.generator=new _50.Generator();obj.generator.buildFromDom(_69);}};_50.util={createDate:function(_6a){var _6b=_4f.textContent(_6a);if(_6b){return _4e.fromISOString(_4d.trim(_6b));}return null;},escapeHtml:function(str){return str.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;").replace(/'/gm,"&#39;");},unEscapeHtml:function(str){return str.replace(/&lt;/gm,"<").replace(/&gt;/gm,">").replace(/&quot;/gm,"\"").replace(/&#39;/gm,"'").replace(/&amp;/gm,"&");},getNodename:function(_6c){var _6d=null;if(_6c!==null){_6d=_6c.localName?_6c.localName:_6c.nodeName;if(_6d!==null){var _6e=_6d.indexOf(":");if(_6e!==-1){_6d=_6d.substring((_6e+1),_6d.length);}}}return _6d;}};_50.Node=_4b.declare(null,{constructor:function(_6f,_70,_71,_72,_73){this.name_space=_6f;this.name=_70;this.attributes=[];if(_71){this.attributes=_71;}this.content=[];this.rawNodes=[];this.textContent=null;if(_72){this.content.push(_72);}this.shortNs=_73;this._objName="Node";this.nodeType="Node";},buildFromDom:function(_74){this._saveAttributes(_74);this.name_space=_74.namespaceURI;this.shortNs=_74.prefix;this.name=_50.util.getNodename(_74);for(var x=0;x<_74.childNodes.length;x++){var c=_74.childNodes[x];if(_50.util.getNodename(c)!="#text"){this.rawNodes.push(c);var n=new _50.Node();n.buildFromDom(c,true);this.content.push(n);}else{this.content.push(c.nodeValue);}}this.textContent=_4f.textContent(_74);},_saveAttributes:function(_75){if(!this.attributes){this.attributes=[];}var _76=function(_77){var _78=_77.attributes;if(_78===null){return false;}return (_78.length!==0);};if(_76(_75)&&this._getAttributeNames){var _79=this._getAttributeNames(_75);if(_79&&_79.length>0){for(var x in _79){var _7a=_75.getAttribute(_79[x]);if(_7a){this.attributes[_79[x]]=_7a;}}}}},addAttribute:function(_7b,_7c){this.attributes[_7b]=_7c;},getAttribute:function(_7d){return this.attributes[_7d];},_getAttributeNames:function(_7e){var _7f=[];for(var i=0;i<_7e.attributes.length;i++){_7f.push(_7e.attributes[i].nodeName);}return _7f;},toString:function(){var xml=[];var x;var _80=(this.shortNs?this.shortNs+":":"")+this.name;var _81=(this.name=="#cdata-section");if(_81){xml.push("<![CDATA[");xml.push(this.textContent);xml.push("]]>");}else{xml.push("<");xml.push(_80);if(this.name_space){xml.push(" xmlns='"+this.name_space+"'");}if(this.attributes){for(x in this.attributes){xml.push(" "+x+"='"+this.attributes[x]+"'");}}if(this.content){xml.push(">");for(x in this.content){xml.push(this.content[x]);}xml.push("</"+_80+">\n");}else{xml.push("/>\n");}}return xml.join("");},addContent:function(_82){this.content.push(_82);}});_50.AtomItem=_4b.declare(_50.Node,{constructor:function(_83){this.ATOM_URI=_50._Constants.ATOM_URI;this.links=null;this.authors=null;this.categories=null;this.contributors=null;this.icon=this.id=this.logo=this.xmlBase=this.rights=null;this.subtitle=this.title=null;this.updated=this.published=null;this.issued=this.modified=null;this.content=null;this.extensions=null;this.entries=null;this.name_spaces={};this._objName="AtomItem";this.nodeType="AtomItem";},_getAttributeNames:function(){return null;},_accepts:{},accept:function(tag){return Boolean(this._accepts[tag]);},_postBuild:function(){},buildFromDom:function(_84){var i,c,n;for(i=0;i<_84.attributes.length;i++){c=_84.attributes.item(i);n=_50.util.getNodename(c);if(c.prefix=="xmlns"&&c.prefix!=n){this.addNamespace(c.nodeValue,n);}}c=_84.childNodes;for(i=0;i<c.length;i++){if(c[i].nodeType==1){var _85=_50.util.getNodename(c[i]);if(!_85){continue;}if(c[i].namespaceURI!=_50._Constants.ATOM_NS&&_85!="#text"){if(!this.extensions){this.extensions=[];}var _86=new _50.Node();_86.buildFromDom(c[i]);this.extensions.push(_86);}if(!this.accept(_85.toLowerCase())){continue;}var fn=_50._actions[_85];if(fn){fn(this,c[i]);}}}this._saveAttributes(_84);if(this._postBuild){this._postBuild();}},addNamespace:function(_87,_88){if(_87&&_88){this.name_spaces[_88]=_87;}},addAuthor:function(_89,_8a,uri){if(!this.authors){this.authors=[];}this.authors.push(new _50.Person("author",_89,_8a,uri));},addContributor:function(_8b,_8c,uri){if(!this.contributors){this.contributors=[];}this.contributors.push(new _50.Person("contributor",_8b,_8c,uri));},addLink:function(_8d,rel,_8e,_8f,_90){if(!this.links){this.links=[];}this.links.push(new _50.Link(_8d,rel,_8e,_8f,_90));},removeLink:function(_91,rel){if(!this.links||!_4d.isArray(this.links)){return;}var _92=0;for(var i=0;i<this.links.length;i++){if((!_91||this.links[i].href===_91)&&(!rel||this.links[i].rel===rel)){this.links.splice(i,1);_92++;}}return _92;},removeBasicLinks:function(){if(!this.links){return;}var _93=0;for(var i=0;i<this.links.length;i++){if(!this.links[i].rel){this.links.splice(i,1);_93++;i--;}}return _93;},addCategory:function(_94,_95,_96){if(!this.categories){this.categories=[];}this.categories.push(new _50.Category(_94,_95,_96));},getCategories:function(_97){if(!_97){return this.categories;}var arr=[];for(var x in this.categories){if(this.categories[x].scheme===_97){arr.push(this.categories[x]);}}return arr;},removeCategories:function(_98,_99){if(!this.categories){return;}var _9a=0;for(var i=0;i<this.categories.length;i++){if((!_98||this.categories[i].scheme===_98)&&(!_99||this.categories[i].term===_99)){this.categories.splice(i,1);_9a++;i--;}}return _9a;},setTitle:function(str,_9b){if(!str){return;}this.title=new _50.Content("title");this.title.value=str;if(_9b){this.title.type=_9b;}},addExtension:function(_9c,_9d,_9e,_9f,_a0){if(!this.extensions){this.extensions=[];}this.extensions.push(new _50.Node(_9c,_9d,_9e,_9f,_a0||"ns"+this.extensions.length));},getExtensions:function(_a1,_a2){var arr=[];if(!this.extensions){return arr;}for(var x in this.extensions){if((this.extensions[x].name_space===_a1||this.extensions[x].shortNs===_a1)&&(!_a2||this.extensions[x].name===_a2)){arr.push(this.extensions[x]);}}return arr;},removeExtensions:function(_a3,_a4){if(!this.extensions){return;}for(var i=0;i<this.extensions.length;i++){if((this.extensions[i].name_space==_a3||this.extensions[i].shortNs===_a3)&&this.extensions[i].name===_a4){this.extensions.splice(i,1);i--;}}},destroy:function(){this.links=null;this.authors=null;this.categories=null;this.contributors=null;this.icon=this.id=this.logo=this.xmlBase=this.rights=null;this.subtitle=this.title=null;this.updated=this.published=null;this.issued=this.modified=null;this.content=null;this.extensions=null;this.entries=null;}});_50.Category=_4b.declare(_50.Node,{constructor:function(_a5,_a6,_a7){this.scheme=_a5;this.term=_a6;this.label=_a7;this._objName="Category";this.nodeType="Category";},_postBuild:function(){},_getAttributeNames:function(){return ["label","scheme","term"];},toString:function(){var s=[];s.push("<category ");if(this.label){s.push(" label=\""+this.label+"\" ");}if(this.scheme){s.push(" scheme=\""+this.scheme+"\" ");}if(this.term){s.push(" term=\""+this.term+"\" ");}s.push("/>\n");return s.join("");},buildFromDom:function(_a8){this._saveAttributes(_a8);this.label=this.attributes.label;this.scheme=this.attributes.scheme;this.term=this.attributes.term;if(this._postBuild){this._postBuild();}}});_50.Content=_4b.declare(_50.Node,{constructor:function(_a9,_aa,src,_ab,_ac){this.tagName=_a9;this.value=_aa;this.src=src;this.type=_ab;this.xmlLang=_ac;this.HTML="html";this.TEXT="text";this.XHTML="xhtml";this.XML="xml";this._useTextContent="true";this.nodeType="Content";},_getAttributeNames:function(){return ["type","src"];},_postBuild:function(){},buildFromDom:function(_ad){var _ae=_ad.getAttribute("type");if(_ae){_ae=_ae.toLowerCase();if(_ae=="xml"||"text/xml"){_ae=this.XML;}}else{_ae="text";}if(_ae===this.XML){if(_ad.firstChild){var i;this.value="";for(i=0;i<_ad.childNodes.length;i++){var c=_ad.childNodes[i];if(c){this.value+=_4f.innerXML(c);}}}}else{if(_ad.innerHTML){this.value=_ad.innerHTML;}else{this.value=_4f.textContent(_ad);}}this._saveAttributes(_ad);if(this.attributes){this.type=this.attributes.type;this.scheme=this.attributes.scheme;this.term=this.attributes.term;}if(!this.type){this.type="text";}var _af=this.type.toLowerCase();if(_af==="html"||_af==="text/html"||_af==="xhtml"||_af==="text/xhtml"){this.value=this.value?_50.util.unEscapeHtml(this.value):"";}if(this._postBuild){this._postBuild();}},toString:function(){var s=[];s.push("<"+this.tagName+" ");if(!this.type){this.type="text";}if(this.type){s.push(" type=\""+this.type+"\" ");}if(this.xmlLang){s.push(" xml:lang=\""+this.xmlLang+"\" ");}if(this.xmlBase){s.push(" xml:base=\""+this.xmlBase+"\" ");}if(this.type.toLowerCase()==this.HTML){s.push(">"+_50.util.escapeHtml(this.value)+"</"+this.tagName+">\n");}else{s.push(">"+this.value+"</"+this.tagName+">\n");}var ret=s.join("");return ret;}});_50.Link=_4b.declare(_50.Node,{constructor:function(_b0,rel,_b1,_b2,_b3){this.href=_b0;this.hrefLang=_b1;this.rel=rel;this.title=_b2;this.type=_b3;this.nodeType="Link";},_getAttributeNames:function(){return ["href","jrefLang","rel","title","type"];},_postBuild:function(){},buildFromDom:function(_b4){this._saveAttributes(_b4);this.href=this.attributes.href;this.hrefLang=this.attributes.hreflang;this.rel=this.attributes.rel;this.title=this.attributes.title;this.type=this.attributes.type;if(this._postBuild){this._postBuild();}},toString:function(){var s=[];s.push("<link ");if(this.href){s.push(" href=\""+this.href+"\" ");}if(this.hrefLang){s.push(" hrefLang=\""+this.hrefLang+"\" ");}if(this.rel){s.push(" rel=\""+this.rel+"\" ");}if(this.title){s.push(" title=\""+this.title+"\" ");}if(this.type){s.push(" type = \""+this.type+"\" ");}s.push("/>\n");return s.join("");}});_50.Person=_4b.declare(_50.Node,{constructor:function(_b5,_b6,_b7,uri){this.author="author";this.contributor="contributor";if(!_b5){_b5=this.author;}this.personType=_b5;this.name=_b6||"";this.email=_b7||"";this.uri=uri||"";this._objName="Person";this.nodeType="Person";},_getAttributeNames:function(){return null;},_postBuild:function(){},accept:function(tag){return Boolean(this._accepts[tag]);},buildFromDom:function(_b8){var c=_b8.childNodes;for(var i=0;i<c.length;i++){var _b9=_50.util.getNodename(c[i]);if(!_b9){continue;}if(c[i].namespaceURI!=_50._Constants.ATOM_NS&&_b9!="#text"){if(!this.extensions){this.extensions=[];}var _ba=new _50.Node();_ba.buildFromDom(c[i]);this.extensions.push(_ba);}if(!this.accept(_b9.toLowerCase())){continue;}var fn=_50._actions[_b9];if(fn){fn(this,c[i]);}}this._saveAttributes(_b8);if(this._postBuild){this._postBuild();}},_accepts:{"name":true,"uri":true,"email":true},toString:function(){var s=[];s.push("<"+this.personType+">\n");if(this.name){s.push("\t<name>"+this.name+"</name>\n");}if(this.email){s.push("\t<email>"+this.email+"</email>\n");}if(this.uri){s.push("\t<uri>"+this.uri+"</uri>\n");}s.push("</"+this.personType+">\n");return s.join("");}});_50.Generator=_4b.declare(_50.Node,{constructor:function(uri,_bb,_bc){this.uri=uri;this.version=_bb;this.value=_bc;},_postBuild:function(){},buildFromDom:function(_bd){this.value=_4f.textContent(_bd);this._saveAttributes(_bd);this.uri=this.attributes.uri;this.version=this.attributes.version;if(this._postBuild){this._postBuild();}},toString:function(){var s=[];s.push("<generator ");if(this.uri){s.push(" uri=\""+this.uri+"\" ");}if(this.version){s.push(" version=\""+this.version+"\" ");}s.push(">"+this.value+"</generator>\n");var ret=s.join("");return ret;}});_50.Entry=_4b.declare(_50.AtomItem,{constructor:function(id){this.id=id;this._objName="Entry";this.feedUrl=null;},_getAttributeNames:function(){return null;},_accepts:{"author":true,"content":true,"category":true,"contributor":true,"created":true,"id":true,"link":true,"published":true,"rights":true,"summary":true,"title":true,"updated":true,"xmlbase":true,"issued":true,"modified":true},toString:function(_be){var s=[];var i;if(_be){s.push("<?xml version='1.0' encoding='UTF-8'?>");s.push("<entry xmlns='"+_50._Constants.ATOM_URI+"'");}else{s.push("<entry");}if(this.xmlBase){s.push(" xml:base=\""+this.xmlBase+"\" ");}for(i in this.name_spaces){s.push(" xmlns:"+i+"=\""+this.name_spaces[i]+"\"");}s.push(">\n");s.push("<id>"+(this.id?this.id:"")+"</id>\n");if(this.issued&&!this.published){this.published=this.issued;}if(this.published){s.push("<published>"+_4e.toISOString(this.published)+"</published>\n");}if(this.created){s.push("<created>"+_4e.toISOString(this.created)+"</created>\n");}if(this.issued){s.push("<issued>"+_4e.toISOString(this.issued)+"</issued>\n");}if(this.modified){s.push("<modified>"+_4e.toISOString(this.modified)+"</modified>\n");}if(this.modified&&!this.updated){this.updated=this.modified;}if(this.updated){s.push("<updated>"+_4e.toISOString(this.updated)+"</updated>\n");}if(this.rights){s.push("<rights>"+this.rights+"</rights>\n");}if(this.title){s.push(this.title.toString());}if(this.summary){s.push(this.summary.toString());}var _bf=[this.authors,this.categories,this.links,this.contributors,this.extensions];for(var x in _bf){if(_bf[x]){for(var y in _bf[x]){s.push(_bf[x][y]);}}}if(this.content){s.push(this.content.toString());}s.push("</entry>\n");return s.join("");},getEditHref:function(){if(this.links===null||this.links.length===0){return null;}for(var x in this.links){if(this.links[x].rel&&this.links[x].rel=="edit"){return this.links[x].href;}}return null;},setEditHref:function(url){if(this.links===null){this.links=[];}for(var x in this.links){if(this.links[x].rel&&this.links[x].rel=="edit"){this.links[x].href=url;return;}}this.addLink(url,"edit");}});_50.Feed=_4b.declare(_50.AtomItem,{_accepts:{"author":true,"content":true,"category":true,"contributor":true,"created":true,"id":true,"link":true,"published":true,"rights":true,"summary":true,"title":true,"updated":true,"xmlbase":true,"entry":true,"logo":true,"issued":true,"modified":true,"icon":true,"subtitle":true},addEntry:function(_c0){if(!_c0.id){throw new Error("The entry object must be assigned an ID attribute.");}if(!this.entries){this.entries=[];}_c0.feedUrl=this.getSelfHref();this.entries.push(_c0);},getFirstEntry:function(){if(!this.entries||this.entries.length===0){return null;}return this.entries[0];},getEntry:function(_c1){if(!this.entries){return null;}for(var x in this.entries){if(this.entries[x].id==_c1){return this.entries[x];}}return null;},removeEntry:function(_c2){if(!this.entries){return;}var _c3=0;for(var i=0;i<this.entries.length;i++){if(this.entries[i]===_c2){this.entries.splice(i,1);_c3++;}}return _c3;},setEntries:function(_c4){for(var x in _c4){this.addEntry(_c4[x]);}},toString:function(){var s=[];var i;s.push("<?xml version=\"1.0\" encoding=\"utf-8\"?>\n");s.push("<feed xmlns=\""+_50._Constants.ATOM_URI+"\"");if(this.xmlBase){s.push(" xml:base=\""+this.xmlBase+"\"");}for(i in this.name_spaces){s.push(" xmlns:"+i+"=\""+this.name_spaces[i]+"\"");}s.push(">\n");s.push("<id>"+(this.id?this.id:"")+"</id>\n");if(this.title){s.push(this.title);}if(this.copyright&&!this.rights){this.rights=this.copyright;}if(this.rights){s.push("<rights>"+this.rights+"</rights>\n");}if(this.issued){s.push("<issued>"+_4e.toISOString(this.issued)+"</issued>\n");}if(this.modified){s.push("<modified>"+_4e.toISOString(this.modified)+"</modified>\n");}if(this.modified&&!this.updated){this.updated=this.modified;}if(this.updated){s.push("<updated>"+_4e.toISOString(this.updated)+"</updated>\n");}if(this.published){s.push("<published>"+_4e.toISOString(this.published)+"</published>\n");}if(this.icon){s.push("<icon>"+this.icon+"</icon>\n");}if(this.language){s.push("<language>"+this.language+"</language>\n");}if(this.logo){s.push("<logo>"+this.logo+"</logo>\n");}if(this.subtitle){s.push(this.subtitle.toString());}if(this.tagline){s.push(this.tagline.toString());}var _c5=[this.alternateLinks,this.authors,this.categories,this.contributors,this.otherLinks,this.extensions,this.entries];for(i in _c5){if(_c5[i]){for(var x in _c5[i]){s.push(_c5[i][x]);}}}s.push("</feed>");return s.join("");},createEntry:function(){var _c6=new _50.Entry();_c6.feedUrl=this.getSelfHref();return _c6;},getSelfHref:function(){if(this.links===null||this.links.length===0){return null;}for(var x in this.links){if(this.links[x].rel&&this.links[x].rel=="self"){return this.links[x].href;}}return null;}});_50.Service=_4b.declare(_50.AtomItem,{constructor:function(_c7){this.href=_c7;},buildFromDom:function(_c8){var i;this.workspaces=[];if(_c8.tagName!="service"){return;}if(_c8.namespaceURI!=_50._Constants.PURL_NS&&_c8.namespaceURI!=_50._Constants.APP_NS){return;}var ns=_c8.namespaceURI;this.name_space=_c8.namespaceURI;var _c9;if(typeof (_c8.getElementsByTagNameNS)!="undefined"){_c9=_c8.getElementsByTagNameNS(ns,"workspace");}else{_c9=[];var _ca=_c8.getElementsByTagName("workspace");for(i=0;i<_ca.length;i++){if(_ca[i].namespaceURI==ns){_c9.push(_ca[i]);}}}if(_c9&&_c9.length>0){var _cb=0;var _cc;for(i=0;i<_c9.length;i++){_cc=(typeof (_c9.item)==="undefined"?_c9[i]:_c9.item(i));var _cd=new _50.Workspace();_cd.buildFromDom(_cc);this.workspaces[_cb++]=_cd;}}},getCollection:function(url){for(var i=0;i<this.workspaces.length;i++){var _ce=this.workspaces[i].collections;for(var j=0;j<_ce.length;j++){if(_ce[j].href==url){return _ce;}}}return null;}});_50.Workspace=_4b.declare(_50.AtomItem,{constructor:function(_cf){this.title=_cf;this.collections=[];},buildFromDom:function(_d0){var _d1=_50.util.getNodename(_d0);if(_d1!="workspace"){return;}var c=_d0.childNodes;var len=0;for(var i=0;i<c.length;i++){var _d2=c[i];if(_d2.nodeType===1){_d1=_50.util.getNodename(_d2);if(_d2.namespaceURI==_50._Constants.PURL_NS||_d2.namespaceURI==_50._Constants.APP_NS){if(_d1==="collection"){var _d3=new _50.Collection();_d3.buildFromDom(_d2);this.collections[len++]=_d3;}}else{if(_d2.namespaceURI===_50._Constants.ATOM_NS){if(_d1==="title"){this.title=_4f.textContent(_d2);}}}}}}});_50.Collection=_4b.declare(_50.AtomItem,{constructor:function(_d4,_d5){this.href=_d4;this.title=_d5;this.attributes=[];this.features=[];this.children=[];this.memberType=null;this.id=null;},buildFromDom:function(_d6){this.href=_d6.getAttribute("href");var c=_d6.childNodes;for(var i=0;i<c.length;i++){var _d7=c[i];if(_d7.nodeType===1){var _d8=_50.util.getNodename(_d7);if(_d7.namespaceURI==_50._Constants.PURL_NS||_d7.namespaceURI==_50._Constants.APP_NS){if(_d8==="member-type"){this.memberType=_4f.textContent(_d7);}else{if(_d8=="feature"){if(_d7.getAttribute("id")){this.features.push(_d7.getAttribute("id"));}}else{var _d9=new _50.Node();_d9.buildFromDom(_d7);this.children.push(_d9);}}}else{if(_d7.namespaceURI===_50._Constants.ATOM_NS){if(_d8==="id"){this.id=_4f.textContent(_d7);}else{if(_d8==="title"){this.title=_4f.textContent(_d7);}}}}}}}});return _50;});},"*noref":1}});define("dojox/_dojox_io",[],1);require(["dojox/atom/io/model","dojox/atom/io/Connection"]);
}catch(e){console.log("Module 'dojox_io_17': ",e);}
try{

}catch(e){console.log("Module 'wp_client_tracing': ",e);}
try{/** Licensed Materials - Property of IBM, 5724-E76 and 5724-E77, (C) Copyright IBM Corp. 2012 - All Rights reserved.  **/
(function(_1){
function _2(_3){
return (_3.getElementsByTagName("html")[0].getAttribute("dir")||"").toLowerCase()=="rtl";
};
function _4(_5){
var v=_5.documentElement;
return {width:v.clientWidth,height:v.clientHeight};
};
function _6(_7){
var _8=curtop=0;
if(_7.offsetParent){
do{
_8+=_7.offsetLeft;
curtop+=_7.offsetTop;
}while(_7=_7.offsetParent);
return {left:_8,top:curtop};
}
return null;
};
function _9(_a){
var bb=_a.getBoundingClientRect(),b={width:bb.width,height:bb.height,left:bb.left,top:bb.top,right:bb.right,bottom:bb.bottom};
if(i$.isIE){
b.height=b.bottom-b.top;
b.width=b.right-b.left;
}
if(i$.isIE==7){
var _b=_6(_a);
b.left=(_b?_b.left:b.left);
b.top=(_b?_b.top:b.top);
}
return b;
};
function _c(_d,_e){
var b=_9(_d);
if(_e){
var fo=_f(self,_e);
b.top+=fo.top;
b.left+=fo.left;
b.bottom+=fo.top;
b.right+=fo.left;
}
return b;
};
function _10(_11,_12){
i$.forIn(_12,function(v,n){
_11.style[n]=Math.round(v)+"px";
});
};
function _f(_13,_14){
var box={top:0,left:0};
var w=_13;
while(w.frameElement&&w!==_14){
var b=_c(w.frameElement);
box.top+=b.top;
box.left+=b.left;
w=w.parent;
}
return box;
};
function _15(_16){
var doc=_16.document,de=doc.documentElement,b=doc.body;
return {left:isNaN(_16.scrollX)?(de.scrollLeft+b.scrollLeft):_16.scrollX,top:isNaN(_16.scrollY)?(de.scrollTop+b.scrollTop):_16.scrollY};
};
var _17={nodeHandler:{},pointerHandler:{},handle:function(_18){
var _19=_18.name,_1a=_18.targetWindow,_1b=_18.node,_1c=_18.refNode,_1d=_18.targetBox,_1e=_1e||0.5,_1f=_18.viewMargin,_20=_18.positionNode,_21=_17.nodeHandler[_19],_22=_17.pointerHandler[_19];
if(!_21&&!_1d){
return;
}
var doc=_1a.document,b=doc.body,_23=_4(doc),_24=_c(_1b),_25,_26=_15(_1a);
if(_1c){
var _27=function(_28){
var n=_28;
while(n&&n.offsetParent===null){
n=n.parentNode;
}
return n;
};
_1c=_27(_1c);
var _29=_c(_1c,_1a),_2a=_23.width-_29.left-_29.width*(1-_1e),_2b=_29.left+_29.width*_1e,_2c=_24.width+_1f,_2d=_2(doc)?!(_2b>_2c||_2a<_2c):_2a>_2c||_2b<_2c;
_25=_21(_23,_24,_29,_2d,_1f);
}else{
var h=_1d.height||_24.height,w=_1d.width||_24.width;
_25={top:Math.max(10,Math.min(_1d.top||(_23.height-h)/2,_23.height-_24.height-_1f)),left:Math.max(0,Math.min(_1d.left||(_23.width-w)/2,_23.width-_24.width-_1f))};
}
if(!i$.isIE||i$.isIE!==7){
_25.top+=_26.top;
_25.left+=_26.left;
}
_10(_20||_1b,_25);
if(_1c&&_22){
var _2e=null;
var _2f=function(el){
var c=el.className;
if(c&&c.indexOf("pointer")>-1){
_2e=el;
}
if(!_2e&&el.hasChildNodes()){
i$.each(el.childNodes,function(val){
_2f(val);
});
}
};
_2f(_1b);
if(_2e){
_10(_2e,_22(_c(_1b),_29,_c(_2e),_2e));
}
}
},registerHandler:function(_30){
if(_30.nodeHandler){
_17.nodeHandler[_30.name]=_30.nodeHandler;
}
if(_30.pointerHandler){
_17.pointerHandler[_30.name]=_30.pointerHandler;
}
},addPositionChangeListener:function(_31){
if(!_31.node){
return null;
}
var _32={refNode:_31.node,targetWindow:_31.targetWindow||_1,callback:_31.callbackFn,pollInterval:_31.pollInterval||2000,intervalId:null,refBox:null,tolerance:_31.tolerance||5,intervalFn:function(){
if(this.refNode){
var box=_c(this.refNode,this.targetWindow);
if(!this.refBox){
this.refBox=box;
}else{
var _33=this.tolerance,_34=this.refBox,_35=Math.abs(_34.top-box.top),_36=Math.abs(_34.left-box.left),_37=Math.abs(_34.bottom-box.bottom),_38=Math.abs(_34.right-box.right);
if(_33<Math.max(_35,_36,_37,_38)){
this.refBox=box;
this.callback();
}
}
}else{
this.stop();
}
},start:function(){
var obj=this;
this.intervalId=this.targetWindow.setInterval(function(){
obj.intervalFn();
},this.pollInterval);
},stop:function(){
if(this.intervalId){
this.targetWindow.clearInterval(this.intervalId);
}
}};
_32.start();
return _32;
}};
i$.toPath("wpModules.util.Positioning",_17);
i$.toPath("wpModules.util.dialog",{viewPort:_4,setMetrics:_10,simpleBox:_9,scroll:_15});
})(window);
(function(){
var _39={name:"horizontallyBelow",nodeHandler:function(_3a,_3b,_3c,_3d,_3e){
var pos={};
pos.top=_3c.top+_3c.height;
if(pos.top<0){
pos.top=0;
}
if(pos.top+_3b.height>_3a.height){
pos.top=_3a.height-_3b.height-_3e;
}
pos.left=Math.max(_3c.left+(_3c.width-_3b.width)/2,_3e);
if(pos.left+_3b.width+_3e>_3a.width){
pos.left=_3a.width-_3b.width-_3e;
}
return pos;
},pointerHandler:function(_3f,_40,_41,_42){
i$.addClass(_42,"top");
var _43=_42.clientHeight,_44=_42.clientWidth,_45=Math.min(_40.left+_40.width,_3f.left+_3f.width),_46=Math.max(_40.left,_3f.left),_47=(_45+_46)/2-_3f.left;
var res={top:-(_43-4),left:_47-_44/2};
return res;
}};
wpModules.util.Positioning.registerHandler(_39);
})();
(function(){
var _48={name:"horizontallyCenteredBelow",nodeHandler:function(_49,_4a,_4b,_4c,_4d){
var pos={};
pos.top=_4b.top+_4b.height;
if(pos.top<0){
pos.top=0;
}
if(pos.top+_4a.height>_49.height){
pos.top=_49.height-_4a.height-_4d;
}
pos.left=Math.max(_4b.left+(_4b.width-_4a.width)/2,_4d);
return pos;
},pointerHandler:function(_4e,_4f,_50,_51){
i$.addClass(_51,"top");
var _52=_51.clientHeight,_53=_51.clientWidth,_54=Math.min(_4f.left+_4f.width,_4e.left+_4e.width),_55=Math.max(_4f.left,_4e.left),_56=(_54+_55)/2-_4e.left;
var res={top:-(_52-4),left:_56-_53/2};
return res;
}};
wpModules.util.Positioning.registerHandler(_48);
})();
(function(){
var _57={name:"verticallyCenteredRightHand",nodeHandler:function(_58,_59,_5a,_5b,_5c){
var pos={};
pos.top=Math.max(_5a.top+(_5a.height-_59.height)/2,_5c);
pos.top=Math.min(pos.top,_58.height-_59.height-_5c);
if(_5b){
pos.left=Math.min(_5a.left+_5a.width,_58.width-_59.width-_5c);
}else{
pos.left=Math.max(_5a.left-_59.width,_5c);
}
return pos;
},pointerHandler:function(_5d,_5e,_5f,_60){
var _61=_5f.height,_62=_61/2+6,_63=Math.min(_5e.top+_5e.height,_5d.top+_5d.height-_62),_64=Math.max(_5e.top,_5d.top+_62),_65=_5d.left-_60.offsetWidth,_66=_5d.right+_60.offsetWidth,_67=_5e.left>_65,_68=_5e.left<=_65,_69=_65<=_5e.right,_6a=_65>_5e.right,_6b=_66<=_5e.left,_6c=_66>_5e.right,_6d=_66<=_5e.right;
i$.removeClass(_60,"right");
i$.removeClass(_60,"left");
if(_63-_64>=0){
if((_67&&_6c)||(_68&&_6d)){
}else{
if((_67&&_6d)||(_67&&_6b)){
i$.addClass(_60,"right");
}else{
if((_69&&_6c)||(_6a&&_6c)){
i$.addClass(_60,"left");
}
}
}
}
return {top:(_64+_63-_61)/2-_5d.top};
}};
wpModules.util.Positioning.registerHandler(_57);
})();


}catch(e){console.log("Module 'wp_dialog_util': ",e);}
try{/** Licensed Materials - Property of IBM, 5724-E76 and 5724-E77, (C) Copyright IBM Corp. 2012 - All Rights reserved.  **/
(function(_1){
var _2=wpModules.util.dialog;
function _3(e,_4){
e=e||_4.event;
e.stopPropagation&&e.stopPropagation();
e.preventDefault&&e.preventDefault();
e.cancelBubble=true;
e.cancel=true;
e.returnValue=false;
return false;
};
function _5(_6,_7){
var _8=_2.scroll(_7),_9=_6||_7.event;
return {left:_9.clientX+_8.left,top:_9.clientY+_8.top};
};
function _a(p){
var _b=p.window||_b,_c=_2.viewPort(_b.document),_d=p.element,_e=p.handle||_d,_f=i$.mash({top:0,left:0,width:_c.width,height:_c.height,margin:0},p.area),_10=false,_11=false,_12=false,_13,mmb,mub,mdb;
function _14(_15){
if(!_12&&_11&&!_10){
_12=true;
p.startCallback&&p.startCallback(_15,_d);
_13=_5(_15,_b);
var _16=_2.simpleBox(_d);
mmb=i$.bindDomEvt(_b.document,"mousemove",function(_17){
if(_12&&!_10){
var pos=_5(_17,_b),_18=_2.scroll(_b);
pos.left+=_16.left+_18.left-_13.left;
pos.top+=_16.top+_18.top+-_13.top;
pos.left=Math.min(Math.max(_f.left+_18.left+_f.margin,pos.left),_f.left+_18.left+_f.width-_16.width-_f.margin);
pos.top=Math.min(Math.max(_f.top+_18.top+_f.margin,pos.top),_f.top+_18.top+_f.height-_16.height-_f.margin);
_2.setMetrics(_d,pos);
p.moveCallback&&p.moveCallback(pos,_d);
return _3(_17,_b);
}
});
mub=i$.bindDomEvt(_b.document,"mouseup",function(_19){
_1a();
return _3(_19,_b);
});
return _3(_15,_b);
}
};
function _1a(){
if(_12&&!_10){
i$.unbindDomEvt(mmb);
i$.unbindDomEvt(mub);
_13=null;
p.endCallback&&p.endCallback(_d);
_12=false;
}
};
this.dispose=function(){
if(!_10){
this.StopListening(true);
_d=null;
_e=null;
p.startCallback=null;
p.moveCallback=null;
p.endCallback=null;
_10=true;
}
};
this.StartListening=function(){
if(!_11&&!_10){
_11=true;
mdb=i$.bindDomEvt(_e,"mousedown",_14);
}
};
this.StopListening=function(_1b){
if(_11&&!_10){
i$.unbindDomEvt(mdb);
_11=false;
_1b&&_12&&_1a();
}
};
this.isDragging=function(){
return _12;
};
this.isListening=function(){
return _11;
};
this.isDisposed=function(){
return _10;
};
this.StartListening();
};
i$.toPath("wpModules.util.Draggable",_a);
})(window);


}catch(e){console.log("Module 'wp_dialog_draggable': ",e);}
try{/** Licensed Materials - Property of IBM, 5724-E76 and 5724-E77, (C) Copyright IBM Corp. 2012 - All Rights reserved.  **/
if(!i$.fromPath("wpModules.dialog.Dialog")){
var _T="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7";
i$.addListener("wpModules/dialog/closeAll",function(_1){
var _2=i$.fromPath("wpModules.dialog.DialogStorage.openDialogs",false,top);
if(_2&&_2.length>0){
i$.forEach(_2,function(_3){
if(!_1||_3.prm[_1]){
_3.close();
}
});
}
});
i$.toPath("wpModules.dialog.Dialog",function(_4,_5){
var _6=i$.fromPath("wpModules.dialog.DialogStorage",false,_4.top);
if(!_6){
_6=i$.toPath("wpModules.dialog.DialogStorage",{openDialogs:[]},_4.top);
}
var _7=_6.openDialogs,_8=wpModules.util.dialog;
function _9(_a,_b){
i$.each(_b,function(v,k){
_a=_a.replace(new RegExp("\\${"+k+"}","g"),v);
});
return _a;
};
function _c(_d,_e){
var s="data-attach-point";
var _f=function(el){
if(el.getAttribute&&el.getAttribute(s)){
_e[el.getAttribute(s)]=el;
}
if(el.hasChildNodes()){
i$.each(el.childNodes,function(val){
_f(val);
});
}
};
_f(_d);
};
function _10(){
return Math.round(Math.random()*1000000000)+"";
};
function _11(p,_12,box){
wpModules.util.Positioning.handle({name:p.posHandler,targetWindow:p.window,targetBox:box,node:_12,refNode:p.autoPosition,maxOverLay:p.maxOverlay,viewMargin:p.viewMargin});
};
function _13(_14){
return _14.window.document.getElementById(_14.id+"-iframe");
};
var _15=i$.augment((function(_16){
this._init(_16);
}),{_init:function(_17){
var doc=_17.window.document,div=doc.createElement("div"),_18=_17.parent,_19=this._overlayNode=_17.displayCloseOverlay?doc.createElement("div"):null,_1a=this.rootNode=doc.createElement("div"),_1b=[140,30];
if(_17.templateStyle=="flat"){
_1b=[300,200];
}
this.defaultWidth=_1b[0];
this.defaultHeight=_1b[1];
if(_19){
var os=_19.style;
os.display="block";
os.height="100%";
os.top="0px";
os.position="fixed";
os.backgroundColor="#000";
os.opacity="0.4";
os.filter="Alpha(opacity=40)";
os.left="0";
os.width="100%";
os.zIndex=_17.z_index-1;
if(!_17.modal){
os.opacity="0";
os.filter="Alpha(opacity=0)";
}
}
this.tabOut=_17.tabOut;
this.modal=_17.modal;
this.window=_17.window;
var _1c={title:_17.title||"",itemClose:_17.itemClose,z_index:_17.z_index,id:_17.id};
if(_17.templateStyle=="help"&&_17.learnMoreURL){
_1c.learnMore=_17.learnMore;
_1c.learnMoreURL=_17.learnMoreURL;
_1c.learnMoreParam=_17.learnMoreParam;
}
var s=[""],_1d=typeof _17.padding,_1e=_17.padding;
if(_1e&&_1d==="object"){
s.push("padding:",_1e[0],"px ",_1e[1],"px ",_1e[2],"px ",_1e[3],"px;");
}else{
if(_1d!=="number"){
_1e=15;
}
s.push("padding:",_1e,"px;");
}
_1c.contentStyle=s.join("");
div.innerHTML=_9(_17.template,_1c);
_c(div,this);
this.domNode=div.firstChild;
this.id=this.domNode.id=_17.id;
_18.insertBefore(_1a,_18.firstChild);
_19&&_1a.appendChild(_19);
_1a.appendChild(this.domNode);
if(!_17.autoPosition){
this._hidePointer();
}
},_hidePointer:function(){
this.domNode.lastChild.style.display="none";
},_showPointer:function(){
this.domNode.lastChild.style.display="inline";
},show:function(){
this.domNode.style.display="block";
},hide:function(){
this.domNode.style.display="none";
}});
return i$.augment((function(_1f){
this.blankImgSrc=_T;
this.z_index=_7.length===0?1000:_7[_7.length-1].z_index+500;
var _20=_1f.title||_1f.displayDialogHeader;
var _21={startDialog:"<div class=\"wpthemeDialog\" style=\"display:none;position:absolute;z-index:${z_index};\" role=\"dialog\" "+(_1f.title?"aria-labelledby=\"${id}-title\"":(_1f.description?"aria-label=\""+_1f.description+"\"":(_1f.labelledby?"aria-labelledby=\""+_1f.labelledby+"\"":"aria-label=\"dialog\"")))+">",endDialog:"</div>",dialogContent:"<div id=\"${id}-firstFocus\" tabIndex=\"0\"></div>"+"<div class=\"wpthemeDialogContent\" style=\"${contentStyle}\">"+"<div class=\"wpthemeDialogContentBody\">"+"<div>"+"<div class=\"west\" style=\"display:none;\" data-attach-point=\"westContentCell\">"+"<div style=\"display:none;\" data-attach-point=\"westContent\"></div>"+"</div>"+"<div class=\"central\" style=\"height:auto; width:auto; max-height:5000px; position:relative\" data-attach-point=\"centralContent\"></div>"+"<div class=\"east\" style=\"display:none;\" data-attach-point=\"eastContentCell\">"+"<div style=\"display:none;\" data-attach-point=\"eastContent\"></div>"+"</div>"+"</div>"+"<div class=\"south\" style=\"display:none;\" data-attach-point=\"southContent\"></div>"+"</div>"+"</div>"+"<div id=\"${id}-lastFocus\" tabIndex=\"0\"></div>"};
var prm=this.prm=i$.mash({id:_10(),window:_4,parent:_1f.window?_1f.window.document.body:_4.document.body,posHandler:"verticallyCenteredRightHand",displayCloseOverlay:true,maxOverlay:0.5,viewMargin:15,autoResize:false,autoClose:!_1f.modal,modal:false,tabOut:false,helpTemplate:_21.startDialog+"<div class=\"wpthemeDialogPopup\" data-attach-point=\"dialogNode\">"+"<a class=\"wpthemeDialogPopupClose\" href=\"javascript:void(0);\" data-attach-point=\"closeButtonNode\" title=\"${itemClose}\" role=\"button\">"+"<img alt=\"${itemClose}\" src=\""+this.blankImgSrc+"\" aria-label=\"${itemClose}\"/><span class=\"dialogAltText\" title=\"${itemClose}\">X</span>"+"</a>"+"<div id=\"${id}-firstFocus\" tabIndex=\"0\"></div>"+"<div class=\"wpthemeDialogPopupContent\">"+"<div class=\"wpthemeDialogPopupContentArea\">"+"<div class=\"west\" style=\"display:none;\" data-attach-point=\"westContentCell\">"+"<div style=\"display:none;\" data-attach-point=\"westContent\"></div>"+"</div>"+"<div class=\"central\" style=\"height:auto; width:auto; max-height:5000px; position:relative\" data-attach-point=\"centralContent\"></div>"+"<div class=\"east\" style=\"display:none;\" data-attach-point=\"eastContentCell\">"+"<div style=\"display:none;\" data-attach-point=\"eastContent\"></div>"+"</div>"+"</div>"+"<div class=\"south\" style=\"display:none;\" data-attach-point=\"southContent\"></div>"+"</div>"+((_1f.learnMore&&_1f.learnMore.url)?"<div class=\"wpthemeDialogPopupFooter\">"+"<a href=\"javascript:void(0);\" class=\"wpthemeDialogLearnLink\" onclick=\"window.open('${learnMoreURL}', '', 'location=no,menubar=no,scrollbars=yes,status=no,toolbar=no${learnMoreParam}', false);\">${learnMore}</a>"+"</div>":"")+"<div id=\"${id}-lastFocus\" tabIndex=\"0\"></div>"+"</div>"+"<div class=\"dialogPointer pointer\" style=\"top:50%;display:none\"/>"+_21.endDialog,defaultTemplate:_21.startDialog+"<div class=\"wpthemeDialogBorder\">"+"<div class=\"dialogContainer\" data-attach-point=\"dialogNode\">"+(_20?"<div id=\"${id}-header\" class=\"dialogHeader\" data-attach-point=\"dialogHeaderNode\" style=\"position:relative;\">"+(_1f.title?"<h1 id=\"${id}-title\" class=\"dialogHeaderText\" data-attach-point=\"titleNode\">${title}</h1>":"")+"<a href=\"javascript:void(0);\" data-attach-point=\"closeButtonNode\" class=\"dialogClose\" title=\"${itemClose}\">"+"<img src=\""+this.blankImgSrc+"\" alt=\"\" aria-label=\"${itemClose}\" />"+"<span class=\"dialogAltText\" title=\"${itemClose}\">X</span>"+"</a>"+"</div>":"")+_21.dialogContent+"</div>"+"</div>"+"<div class=\"dialogPointer pointer\" style=\"top: 50%;\"/>"+_21.endDialog,flatTemplate:_21.startDialog+"<div>"+"<div data-attach-point=\"dialogNode\">"+_21.dialogContent+"</div>"+"</div>"+"<div class=\"dialogPointer pointer\" style=\"top: 50%;display:none\"/>"+_21.endDialog},_1f);
if(!prm.template){
var ts=prm.templateStyle;
if(ts){
if(ts=="help"){
prm.template=prm.helpTemplate;
if(typeof _1f.autoResize==="undefined"){
prm.autoResize=true;
}
if(typeof _1f.autoClose==="undefined"){
prm.autoClose=true;
}
if(typeof _1f.modal==="undefined"){
prm.modal=false;
}
if(typeof _1f.window==="undefined"){
prm.window=_4.top;
prm.parent=prm.window.document.body;
}
if(typeof _1f.displayCloseOverlay==="undefined"){
prm.displayCloseOverlay=true;
}
}else{
if(ts=="flat"){
prm.template=prm.flatTemplate;
if(typeof _1f.padding==="undefined"){
prm.padding=0;
}
}
}
}
if(!prm.template){
prm.template=prm.defaultTemplate;
}
}
var _22={};
if(prm.templateStyle=="help"&&_1f.learnMore&&_1f.learnMore.url){
_22.learnMore=wpModules.dialog.nls["LINK_LEARN_MORE"];
_22.learnMoreURL=_1f.learnMore.url;
var w=800,h=800;
if(_1f.learnMore.width){
w=_1f.learnMore.width;
}
if(_1f.learnMore.height){
h=_1f.learnMore.height;
}
_22.learnMoreParam=",width="+w+",height="+h;
}
this.openerWindow=_4;
this.widget=new _15(i$.mash({id:prm.id,window:prm.window,parent:prm.parent,displayCloseOverlay:prm.displayCloseOverlay,title:prm.title,autoPosition:prm.autoPosition,modal:prm.modal,tabOut:prm.tabOut,itemClose:wpModules.dialog.nls["CLOSE_0"],template:prm.template,templateStyle:prm.templateStyle,padding:prm.padding,z_index:this.z_index},_22));
i$.bindDomEvt(this.widget.domNode,"onkeydown",i$.scope(this,function(e){
if(!e){
var e=_4.event;
}
if(e.keyCode===9){
var t=e.target||e.srcElement;
if(t.nodeType===3){
t=t.parentNode;
}
var f1=e.shiftKey?"-firstFocus":"-lastFocus",f2=e.shiftKey?"-lastFocus":"-firstFocus";
var w=this.widget,pn=this.prm.autoPosition;
if(w.tabOut&&w.id+f1==t.getAttribute("id")){
this._close();
if(pn){
pn.focus();
}
}else{
if(w.id+f1===t.getAttribute("id")){
w.window.document.getElementById(this.widget.id+f2).focus();
}
}
}else{
if(e.keyCode===27){
this._close(e);
}
}
}));
var cb=this.widget.closeButtonNode;
cb&&i$.bindDomEvt(cb,"onclick",i$.scope(this,"_close"));
if(prm.autoClose&&this.widget._overlayNode){
i$.bindDomEvt(this.widget._overlayNode,"onclick",i$.scope(this,"_close"));
}
prm.markup&&this._setMarkup(prm.markup);
_7.push(this);
}),{open:function(){
var w=this.widget,p=this.prm,wd=w.domNode,m=p.metrics,tb=p.targetBox={},doc=p.window.document,_23=_8.viewPort(doc);
if(p.url){
var f=_13(w);
if(f){
f.src=p.url;
}else{
w.centralContent.innerHTML=_9("<div class=\"dialogLoading\" style=\"display:block;position:absolute;left:50%;top:50%;margin-top:-8px;margin-left:-8px;\" id=\"${id}-progressLoading\">"+"<img style=\"display:inline-block\" width=\"16\" height=\"16\" src=\"${blank}\" ${border} alt=\"${loading}\"/>"+"</div>"+"<div id=\"${id}-sizing\" style=\"width:100%;height:0px;\"></div>"+"<iframe style=\"display:block;${visibility}\" title=\"${title}\" name=\"${id}-iframe\" id=\"${id}-iframe\" frameborder=\"0\" src=\"${url}\" allowTransparency=\"true\"></iframe>",{id:w.id,url:i$.isIE<9?"":p.url,title:p.title||p.description||"dialog contents",blank:this.blankImgSrc,loading:wpModules.dialog.nls["LOADING_0"],border:i$.isIE<9?"border='0'":"",visibility:i$.isIE<9?"visibility:hidden;":"opacity:0;filter:Alpha(opacity=0)"});
f=_13(w);
if(i$.isIE<9){
f.src=p.url;
this._initCallbacksOnloadIE();
this._ieRefreshListener=i$.addListener("wpModules/dialog/Dialog/ieRefresh",i$.scope(this,this._handleIeRefreshEvent));
}else{
f.onload=i$.scope(this,this._initCallbacks);
}
}
if(i$.isChrome){
f.setAttribute("scrolling","auto");
}else{
f.setAttribute("scrolling","no");
}
}
w.show();
if(w.dialogHeaderNode){
var _24=_8.simpleBox(w.dialogHeaderNode).width;
if(_24&&_24>w.defaultWidth){
w.defaultWidth=_24;
}
}
var _25=_23.width-2*p.viewMargin+2;
if(m){
if(!p.autoPosition){
m.top&&(tb.top=m.top);
m.left&&(tb.left=m.left);
}
m.width&&(tb.width=m.width);
m.height&&(tb.height=m.height);
if(m.width){
if(p.url){
var _26=_13(w),_27=_8.simpleBox(wd),_28=_8.simpleBox(doc.getElementById(w.id+"-sizing")),_29=_27.width-_28.width;
_25-=_29;
_8.setMetrics(_26,{width:Math.min(m.width,_25)});
}else{
_8.setMetrics(wd,{width:Math.min(m.width,_25)});
}
}
}else{
if(p.url){
_8.setMetrics(_13(w),{width:Math.min(w.defaultWidth,_25),height:w.defaultHeight});
}
}
_11(p,wd,tb);
this._positionChangeListener=wpModules.util.Positioning.addPositionChangeListener({node:p.autoPosition,targetWindow:p.window,callbackFn:function(){
_11(p,wd,tb);
}});
if(!p.url){
this.inlineKeyDownEvt=i$.bindDomEvt(doc.body,"onkeydown",i$.scope(this,function(e){
if(e.keyCode===27){
this._close(e);
}
}));
p.window.setTimeout(function(){
if(i$.isFF){
var di=p.window.document.createElement("input");
wd.appendChild(di);
di.focus();
wd.removeChild(di);
}else{
p.window.focus();
}
p.setFocusFn?p.setFocusFn(p.window):wd.focus();
if(p.templateStyle=="help"){
w.centralContent.tabIndex=-1;
w.centralContent.focus();
}
},100);
}
setTimeout(function(){
var _2a=doc.createElement("div"),_2b;
_2a.className="wpThemeDialogHighContrastTestNode";
wd.appendChild(_2a);
try{
_2b=doc.defaultView.getComputedStyle(_2a,"");
}
catch(e){
_2b=_2a.currentStyle;
}
var _2c=_2b.backgroundImage;
if((_2b.borderTopColor==_2b.borderRightColor)||(_2c!=null&&(_2c=="none"||_2c=="url(invalid-url:)"))){
i$.addClass(wd,"wpthemeDialogImagesOff");
}
wd.removeChild(_2a);
},10);
return false;
},_initCallbacks:function(){
var w=this.widget,p=this.prm,f=_13(w);
if(!f){
return;
}
var _2d=i$.scope(this,function(){
var fw=f.contentWindow,_2e=null;
try{
_2e=fw.contentDocument||fw.document;
fw.onunload=function(){
p.onUnloadCallbackFn&&p.onUnloadCallbackFn(_2e,fw);
};
}
catch(e){
}
var _2f=i$.scope(this,function(){
fw=f.contentWindow;
try{
if(!fw.resize){
fw.resize=i$.scope(this,"resize");
}
fw.setTimeout(i$.scope(this,function(){
this.onLoadFrame();
}),0);
}
catch(e){
this.onLoadFrame();
}
finally{
p.onLoadCallbackFn&&p.onLoadCallbackFn(_2e,fw);
}
});
try{
f.onload=_2f;
fw.closeDialog=f.onCloseModalDialog=i$.scope(this,"close");
}
catch(e){
}
_2f();
});
_2d();
},_initCallbacksOnloadIE:function(){
var _30=this;
var w=this.widget;
var p=this.prm;
var f=_13(w);
var fn=function(i){
p.window.setTimeout(function(){
if((f.contentDocument&&f.contentDocument.readyState&&f.contentDocument.readyState==="complete")||(f.readyState&&f.readyState==="complete")){
_30._initCallbacks();
}else{
if(i<300){
fn(i+1);
}
}
},200+10);
};
fn(0);
},_handleIeRefreshEvent:function(_31){
var w=this.widget;
var f=_13(w);
var cw=f.contentWindow;
if(_31==cw){
this._initCallbacksOnloadIE();
}
},onLoadFrame:function(_32){
var w=this.widget,wd=w.domNode,p=this.prm,_33=p.targetBox,_34=p.autoResize,_35=_8.viewPort(p.window.document),_36=_13(w),bs=wd.style;
if(!_36){
return;
}
_36.setAttribute("scrolling","no");
bs.maxWidth="none";
bs.maxHeight="none";
bs.minWidth="0";
bs.minHeight="0";
var _37=p.window.document.getElementById(w.id+"-progressLoading");
if(_37){
_37.style.display="none";
}
var cs=w.centralContent.style,fs=_36.style;
cs.paddingBottom="0px";
cs.marginBottom="0px";
if(i$.isIE<9){
fs.visibility="visible";
}else{
fs.opacity="100";
fs.filter="Alpha(opacity=100)";
}
var fw=_36.contentWindow,_38=_33.width,_39=_33.height||w.defaultHeight,_3a=null,fde=null,_3b=null,_3c=false;
if(!_38){
_38=w.defaultWidth;
_3c=true;
}
try{
_3a=fw.contentDocument||fw.document;
fde=_3a.documentElement;
_3b=_3a.body;
if(_3b){
var _3d=_8.simpleBox(_3b);
_8.setMetrics(_36,{width:((_38>_3d.width)?_38:_3d.width),height:_3d.height});
if(i$.isWebKit){
_3b.style.overflow="auto";
}
_3b.style.height="auto";
var _3e=i$.scope(this,function(e){
if(e.keyCode===27){
this._close(e);
}
});
if(i$.isFF){
i$.bindDomEvt(fde,"onkeydown",_3e);
}else{
i$.bindDomEvt(_3b,"onkeydown",_3e);
}
_38=Math.max(_3b.scrollWidth,fde.scrollWidth,_3b.offsetWidth,fde.offsetWidth,fde.clientWidth);
_8.setMetrics(_36,{width:_38});
if(w.eastContentCell.style.display!="none"||w.westContentCell.style.display!="none"){
var _3f=_8.simpleBox(_3b),_40=_8.simpleBox(fde);
_39=Math.max(_3d.height,_3f.height,_40.height,_3b.scrollHeight,fde.scrollHeight,_3b.offsetHeight,fde.offsetHeight,fde.clientHeight);
}else{
_39=Math.max(_3b.scrollHeight,fde.scrollHeight,_3b.offsetHeight,fde.offsetHeight,fde.clientHeight);
}
_38=Math.max(_3b.scrollWidth,fde.scrollWidth,_3b.offsetWidth,fde.offsetWidth,fde.clientWidth);
}else{
return;
}
}
catch(e){
}
var _41=_8.simpleBox(wd),_42=_8.simpleBox(_36),_43=_8.simpleBox(p.window.document.getElementById(w.id+"-sizing")),_44=_8.simpleBox(w.eastContent),_45=_8.simpleBox(w.westContent),_46=(_3c&&_43.width==w.defaultWidth)?0:_41.width-_43.width,_47=_41.height-_42.height,_48=_35.width-2*p.viewMargin-_46+2,_49=_35.height-2*p.viewMargin-_47+2,_4a=_33.height||(_34?_39:_35.height/3),_4b=_33.width||(_34?_38:_35.width/3);
_4a=Math.max(_4a,_44.height,_45.height);
_38=Math.min(_4b,_48);
_39=Math.min(_4a,_49);
_8.setMetrics(wd,{top:0,left:0});
if(i$.isIE&&_34){
_38++;
_39++;
}
_8.setMetrics(_36,{width:_38,height:_39});
if(_3b&&_34&&!_33.width){
if(fde&&i$.isFF){
var _4c=fde.scrollWidth-fde.clientWidth;
if(_4c>0){
_8.setMetrics(_36,{width:_38+=_4c});
}
}
if(_3b&&_4a>_49){
var _4d=Math.max(_3b.scrollWidth,fde.scrollWidth),_4e=Math.max(_3b.clientWidth,fde.clientWidth);
if(_4e<_4d){
var _4f=_4d-_4e;
if(_38+_4f<=_48){
_38+=_4f;
_8.setMetrics(_36,{width:_38});
}
}
}
}
if(_3b&&p.templateStyle!="help"){
_3b.style.height="100%";
}
_11(p,wd,{top:p.targetBox.top,left:p.targetBox.left,width:_38+_46,height:_39+_47});
_36.setAttribute("scrolling","auto");
if(!(_32&&_32.resize)){
p.window.setTimeout(function(){
p.setFocusFn?p.setFocusFn(fw):_36.focus();
},100);
}
},resize:function(_50){
var tb=this.prm.targetBox;
if(_50){
if(_50.width){
tb.width=_50.width;
}
if(_50.height){
tb.height=_50.height;
}
}
if(this.prm.url){
this.onLoadFrame({resize:true});
}
},_setMarkup:function(_51){
i$.forIn((i$.isString(_51)||i$.isNode(_51))?{"centralContent":_51}:_51,i$.scope(this,function(m,r){
var _52=this.widget[r],_53=this.widget[r+"Cell"];
if(_52){
if(m){
if(i$.isNode(m)){
_52.appendChild(m);
}else{
if(i$.isString(m)){
_52.innerHTML=m;
}
}
if(_53){
_53.style.display="";
}
_52.style.display="";
}else{
while(_52.hasChildNodes()){
_52.removeChild(_52.firstChild);
}
if(_53){
_53.style.display="none";
}
_52.style.display="none";
}
}
}));
},set:function(_54){
var prm=this.prm,_55=1,_56={"metrics":_55,"viewMargin":_55,"autoPosition":_55,"url":_55,"markup":i$.scope(this,"_setMarkup"),"title":i$.scope(this,function(_57){
prm.title=_57;
var t=this.widget.titleNode;
t&&(t.innerHTML=_57);
}),"description":_55};
i$.forIn(_54,function(v,n){
if(_56[n]===_55){
prm[n]=v;
}else{
if(i$.isFunction(_56[n])){
_56[n](v);
}
}
});
if(_54.url){
if(i$.isIE<9&&this._ieRefreshListener){
i$.removeListener(this._ieRefreshListener);
this._ieRefreshListener=null;
}
this.open();
}else{
if(_54.metrics){
this.resize(_54.metrics);
}
}
},_close:function(evt){
if(evt&&i$.isIE<=10){
evt.preventDefault&&evt.preventDefault();
evt.returnValue=false;
}
if(evt&&i$.isFF){
try{
evt.preventDefault();
}
catch(x){
evt.returnValue=false;
}
}
this.close({_terminated:true});
},close:function(_58){
var w=this.widget,r=w.rootNode,p=this.prm,_59=_13(w),fw=_59&&_59.contentWindow,_5a=false;
if(_58&&_58._terminated){
_5a=true;
_58=_5;
}
try{
if(fw&&fw.onbeforeunload){
var buv=fw.onbeforeunload();
if(buv===false||(buv&&buv!==true&&!confirm(buv))){
return;
}
}
}
catch(e){
}
try{
if(_5a&&fw&&fw.onTerminateDialog){
fw.onTerminateDialog();
}
}
catch(e){
if(e instanceof DOMException){
console.log("Could not invoke onTerminateDialog handler. Probably the dialog frame is cross-origin.");
}else{
throw e;
}
}
for(var da=_7,i=da.length;i>0;i--){
if(da[i-1].widget.id===w.id){
da.splice(i-1,1);
}else{
if(fw&&fw===da[i-1].openerWindow){
da[i-1].close();
}
}
}
if(this._positionChangeListener){
this._positionChangeListener.stop();
delete this._positionChangeListener;
}
if(this.inlineKeyDownEvt){
i$.unbindDomEvt(this.inlineKeyDownEvt);
}
if(this.openerWindow){
this.openerWindow.focus();
}
w.hide();
if(_59&&i$.isIE){
_59.src="about:blank";
}
for(var da=_7,i=da.length;i>0;i--){
if(da[i-1].widget.id===w.id){
da.splice(i-1,1);
break;
}
}
p.callbackFn&&p.callbackFn(_58);
r&&r.parentNode&&r.parentNode.removeChild(r);
if(i$.isIE<9){
i$.removeListener(this._ieRefreshListener);
}
}});
}(window));
}
if(!i$.fromPath("wpModules.dialog.confirm")){
wpModules.dialog.confirm=function(){
var _5b="OK",_5c="YES",_5d="NO",_5e="CANCEL",_5f="ABORT",_60="RETRY",_61="IGNORE",_62="TRY",_63="CONTINUE",_64="EXCLAMATION",_65="WARNING",_66="INFORMATION",_67="ASTERISK",_68="STOP",_69="ERROR";
return i$.mash(function(_6a){
var _6b=i$.fromPath,_6c=new i$.Promise(),nls=wpModules.dialog.nls,_6d={"<":"&lt;",">":"&gt;","&":"&amp;","\"":"&quot;","'":"&apos;"},_6e=function(){
return _6b("wpModules.dialog.confirm",true,top)._instance;
},_6f=function(dlg){
_6b("wpModules.dialog.confirm",true,top)._instance=dlg;
},_70=function(s){
return s.replace(/[<>&"']/g,function(ch){
return _6d[ch];
});
},_71=function(_72){
return nls["BUTTON_"+_72];
},_73=function(_74){
var id=i$.isString(_74)?_74:_66;
return nls["ICON_"+id];
},_75=function(_76,idx){
var _77=(_6a.buttonLabels?_6a.buttonLabels[_76]:_71(_76));
return "<input id='btn_"+_76+"' type='submit' tabindex='0' class='wpthemeDialogBtn' onclick='top.wpModules.dialog.confirm._instance.close(this.name);' name='"+_70(_76)+"' value='"+_70(_77)+"' />";
},_78=function(_79){
var b=(i$.isArray(_79)?_79:(i$.isString(_79)?[_79]:[(_5b),(_5e)])),_7a="",idx=0;
i$.each(b,function(_7b){
_7a+=_75(_7b);
});
return _7a;
},_7c=_6e(),_7d=i$.merge({autoClose:false,modal:true,setFocusFn:function(arg){
var _7e=arg.document.getElementById(this.focusControl?"btn_"+this.focusControl:"btn_"+_5d);
if(_7e){
_7e.focus();
}
},callbackFn:function(arg){
_6f(_7c);
var _7f=i$.isString(arg)?arg:_5e;
_6c.resolve({button:_7f});
},markup:"<table class='"+(_6a.rootClass?_6a.rootClass:"")+"' border='0' cellspacing='0' cellpadding='0' role='presentation'><tr>"+(_6a.icon?"<td><img src='"+_T+"' class='msgIcon "+_73(_6a.icon)+"' alt=''></td>":"")+"<td class='msgBody'>"+(_6a.markup||_70(_6a.message))+"</td></tr><tr>"+"<td colspan='2' class='wpthemeDialogFooter'><form action='#' onsubmit='return false;'>"+_78(_6a.buttons)+"</form></td></tr></table>"},i$.merge(_6a,{displayCloseOverlay:true,autoResize:true,draggable:true})),dlg=new wpModules.dialog.Dialog(_7d);
_6f(dlg);
dlg.open();
return _6c;
},{ICON:{EXCLAMATION:_64,WARNING:_65,INFORMATION:_66,ASTERISK:_67,STOP:_68,ERROR:_69},BUTTONS:{OK:_5b,YES:_5c,NO:_5d,CANCEL:_5e,ABORT:_5f,RETRY:_60,IGNORE:_61,TRY:_62,CONTINUE:_63,ABORTRETRYIGNORE:[_5f,_60,_61],CANCELTRYCONTINUE:[_5e,_62,_63],OKCANCEL:[_5b,_5e],RETRYCANCEL:[_60,_5e],YESNO:[_5c,_5d],NOYES:[_5d,_5c],YESNOCANCEL:[_5c,_5d,_5e]}});
}();
}


}catch(e){console.log("Module 'wp_dialog_main': ",e);}
try{//>>built
define("dijit/nls/_dijit_form_it",{"dijit/form/nls/validate":{"rangeMessage":"Questo valore non è compreso nell'intervallo.","invalidMessage":"Il valore immesso non è valido.","missingMessage":"Questo valore è obbligatorio."},"dijit/form/nls/ComboBox":{"previousMessage":"Scelte precedenti","nextMessage":"Altre scelte"},"dijit/nls/common":{"buttonOk":"OK","buttonCancel":"Annulla","buttonSave":"Salva","itemClose":"Chiudi"}});
}catch(e){console.log("Module 'dijit_form_17': ",e);}
try{/*
	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
*/

//>>built
require({cache:{"dijit/form/TextBox":function(){require({cache:{"url:dijit/form/templates/TextBox.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\" id=\"widget_${id}\" role=\"presentation\"\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class=\"dijitReset dijitInputInner\" data-dojo-attach-point='textbox,focusNode' autocomplete=\"off\"\n\t\t\t${!nameAttrSetting} type='${type}'\n\t/></div\n></div>\n"}});define("dijit/form/TextBox",["dojo/_base/declare","dojo/dom-construct","dojo/dom-style","dojo/_base/kernel","dojo/_base/lang","dojo/_base/sniff","dojo/_base/window","./_FormValueWidget","./_TextBoxMixin","dojo/text!./templates/TextBox.html",".."],function(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a,_b){var _c=_1([_8,_9],{templateString:_a,_singleNodeTemplate:"<input class=\"dijit dijitReset dijitLeft dijitInputField\" data-dojo-attach-point=\"textbox,focusNode\" autocomplete=\"off\" type=\"${type}\" ${!nameAttrSetting} />",_buttonInputDisabled:_6("ie")?"disabled":"",baseClass:"dijitTextBox",postMixInProperties:function(){var _d=this.type.toLowerCase();if(this.templateString&&this.templateString.toLowerCase()=="input"||((_d=="hidden"||_d=="file")&&this.templateString==this.constructor.prototype.templateString)){this.templateString=this._singleNodeTemplate;}this.inherited(arguments);},_onInput:function(e){this.inherited(arguments);if(this.intermediateChanges){var _e=this;setTimeout(function(){_e._handleOnChange(_e.get("value"),false);},0);}},_setPlaceHolderAttr:function(v){this._set("placeHolder",v);if(!this._phspan){this._attachPoints.push("_phspan");this._phspan=_2.create("span",{onmousedown:function(e){e.preventDefault();},className:"dijitPlaceHolder dijitInputField"},this.textbox,"after");}this._phspan.innerHTML="";this._phspan.appendChild(document.createTextNode(v));this._updatePlaceHolder();},_updatePlaceHolder:function(){if(this._phspan){this._phspan.style.display=(this.placeHolder&&!this.focused&&!this.textbox.value)?"":"none";}},_setValueAttr:function(_f,_10,_11){this.inherited(arguments);this._updatePlaceHolder();},getDisplayedValue:function(){_4.deprecated(this.declaredClass+"::getDisplayedValue() is deprecated. Use set('displayedValue') instead.","","2.0");return this.get("displayedValue");},setDisplayedValue:function(_12){_4.deprecated(this.declaredClass+"::setDisplayedValue() is deprecated. Use set('displayedValue', ...) instead.","","2.0");this.set("displayedValue",_12);},_onBlur:function(e){if(this.disabled){return;}this.inherited(arguments);this._updatePlaceHolder();},_onFocus:function(by){if(this.disabled||this.readOnly){return;}this.inherited(arguments);this._updatePlaceHolder();}});if(_6("ie")<9){_c=_1(_c,{declaredClass:"dijit.form.TextBox",_isTextSelected:function(){var _13=_7.doc.selection.createRange();var _14=_13.parentElement();return _14==this.textbox&&_13.text.length==0;},postCreate:function(){this.inherited(arguments);setTimeout(_5.hitch(this,function(){try{var s=_3.getComputedStyle(this.domNode);if(s){var ff=s.fontFamily;if(ff){var _15=this.domNode.getElementsByTagName("INPUT");if(_15){for(var i=0;i<_15.length;i++){_15[i].style.fontFamily=ff;}}}}}catch(e){}}),0);}});_b._setSelectionRange=_9._setSelectionRange=function(_16,_17,_18){if(_16.createTextRange){var r=_16.createTextRange();r.collapse(true);r.moveStart("character",-99999);r.moveStart("character",_17);r.moveEnd("character",_18-_17);r.select();}};}else{if(_6("mozilla")){_c=_1(_c,{declaredClass:"dijit.form.TextBox",_onBlur:function(e){this.inherited(arguments);if(this.selectOnClick){this.textbox.selectionStart=this.textbox.selectionEnd=undefined;}}});}else{_c.prototype.declaredClass="dijit.form.TextBox";}}_5.setObject("dijit.form.TextBox",_c);return _c;});},"url:dijit/form/templates/ComboButton.html":"<table class=\"dijit dijitReset dijitInline dijitLeft\"\n\tcellspacing='0' cellpadding='0' role=\"presentation\"\n\t><tbody role=\"presentation\"><tr role=\"presentation\"\n\t\t><td class=\"dijitReset dijitStretch dijitButtonNode\" data-dojo-attach-point=\"buttonNode\" data-dojo-attach-event=\"ondijitclick:_onClick,onkeypress:_onButtonKeyPress\"\n\t\t><div id=\"${id}_button\" class=\"dijitReset dijitButtonContents\"\n\t\t\tdata-dojo-attach-point=\"titleNode\"\n\t\t\trole=\"button\" aria-labelledby=\"${id}_label\"\n\t\t\t><div class=\"dijitReset dijitInline dijitIcon\" data-dojo-attach-point=\"iconNode\" role=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitInline dijitButtonText\" id=\"${id}_label\" data-dojo-attach-point=\"containerNode\" role=\"presentation\"></div\n\t\t></div\n\t\t></td\n\t\t><td id=\"${id}_arrow\" class='dijitReset dijitRight dijitButtonNode dijitArrowButton'\n\t\t\tdata-dojo-attach-point=\"_popupStateNode,focusNode,_buttonNode\"\n\t\t\tdata-dojo-attach-event=\"onkeypress:_onArrowKeyPress\"\n\t\t\ttitle=\"${optionsTitle}\"\n\t\t\trole=\"button\" aria-haspopup=\"true\"\n\t\t\t><div class=\"dijitReset dijitArrowButtonInner\" role=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitArrowButtonChar\" role=\"presentation\">&#9660;</div\n\t\t></td\n\t\t><td style=\"display:none !important;\"\n\t\t\t><input ${!nameAttrSetting} type=\"${type}\" value=\"${value}\" data-dojo-attach-point=\"valueNode\"\n\t\t/></td></tr></tbody\n></table>\n","dijit/_HasDropDown":function(){define("dijit/_HasDropDown",["dojo/_base/declare","dojo/_base/Deferred","dojo/_base/event","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/has","dojo/keys","dojo/_base/lang","dojo/touch","dojo/_base/window","./registry","./focus","./popup","./_FocusMixin","./Viewport"],function(_19,_1a,_1b,dom,_1c,_1d,_1e,_1f,has,_20,_21,_22,win,_23,_24,_25,_26,_27){return _19("dijit._HasDropDown",_26,{_buttonNode:null,_arrowWrapperNode:null,_popupStateNode:null,_aroundNode:null,dropDown:null,autoWidth:true,forceWidth:false,maxHeight:0,dropDownPosition:["below","above"],_stopClickEvents:true,_onDropDownMouseDown:function(e){if(this.disabled||this.readOnly){return;}if(e.type!="MSPointerDown"&&e.type!="pointerdown"){e.preventDefault();}this._docHandler=this.connect(win.doc,_22.release,"_onDropDownMouseUp");this.toggleDropDown();},_onDropDownMouseUp:function(e){if(e&&this._docHandler){this.disconnect(this._docHandler);}var _28=this.dropDown,_29=false;if(e&&this._opened){var c=_1e.position(this._buttonNode,true);if(!(e.pageX>=c.x&&e.pageX<=c.x+c.w)||!(e.pageY>=c.y&&e.pageY<=c.y+c.h)){var t=e.target;while(t&&!_29){if(_1d.contains(t,"dijitPopup")){_29=true;}else{t=t.parentNode;}}if(_29){t=e.target;if(_28.onItemClick){var _2a;while(t&&!(_2a=_23.byNode(t))){t=t.parentNode;}if(_2a&&_2a.onClick&&_2a.getParent){_2a.getParent().onItemClick(_2a,e);}}return;}}}if(this._opened){if(_28.focus&&_28.autoFocus!==false){window.setTimeout(_21.hitch(_28,"focus"),1);}}else{setTimeout(_21.hitch(this,"focus"),0);}if(has("ios")){this._justGotMouseUp=true;setTimeout(_21.hitch(this,function(){this._justGotMouseUp=false;}),0);}},_onDropDownClick:function(e){if(has("ios")&&!this._justGotMouseUp){this._onDropDownMouseDown(e);this._onDropDownMouseUp(e);}if(this._stopClickEvents){_1b.stop(e);}},buildRendering:function(){this.inherited(arguments);this._buttonNode=this._buttonNode||this.focusNode||this.domNode;this._popupStateNode=this._popupStateNode||this.focusNode||this._buttonNode;var _2b={"after":this.isLeftToRight()?"Right":"Left","before":this.isLeftToRight()?"Left":"Right","above":"Up","below":"Down","left":"Left","right":"Right"}[this.dropDownPosition[0]]||this.dropDownPosition[0]||"Down";_1d.add(this._arrowWrapperNode||this._buttonNode,"dijit"+_2b+"ArrowButton");},postCreate:function(){this.inherited(arguments);this.connect(this._buttonNode,_22.press,"_onDropDownMouseDown");this.connect(this._buttonNode,"onclick","_onDropDownClick");this.connect(this.focusNode,"onkeydown","_onKey");this.connect(this.focusNode,"onkeyup","_onKeyUp");},destroy:function(){if(this.dropDown){if(!this.dropDown._destroyed){this.dropDown.destroyRecursive();}delete this.dropDown;}this.inherited(arguments);},_onKey:function(e){if(this.disabled||this.readOnly){return;}var d=this.dropDown,_2c=e.target;if(d&&this._opened&&d.handleKey){if(d.handleKey(e)===false){_1b.stop(e);return;}}if(d&&this._opened&&e.keyCode==_20.ESCAPE){this.closeDropDown();_1b.stop(e);}else{if(!this._opened&&(e.keyCode==_20.DOWN_ARROW||((e.keyCode==_20.ENTER||e.keyCode==dojo.keys.SPACE)&&((_2c.tagName||"").toLowerCase()!=="input"||(_2c.type&&_2c.type.toLowerCase()!=="text"))))){this._toggleOnKeyUp=true;_1b.stop(e);}}},_onKeyUp:function(){if(this._toggleOnKeyUp){delete this._toggleOnKeyUp;this.toggleDropDown();var d=this.dropDown;if(d&&d.focus){setTimeout(_21.hitch(d,"focus"),1);}}},_onBlur:function(){var _2d=_24.curNode&&this.dropDown&&dom.isDescendant(_24.curNode,this.dropDown.domNode);this.closeDropDown(_2d);this.inherited(arguments);},isLoaded:function(){return true;},loadDropDown:function(_2e){_2e();},loadAndOpenDropDown:function(){var d=new _1a(),_2f=_21.hitch(this,function(){this.openDropDown();d.resolve(this.dropDown);});if(!this.isLoaded()){this.loadDropDown(_2f);}else{_2f();}return d;},toggleDropDown:function(){if(this.disabled||this.readOnly){return;}if(!this._opened){this.loadAndOpenDropDown();}else{this.closeDropDown();}},openDropDown:function(){var _30=this.dropDown,_31=_30.domNode,_32=this._aroundNode||this.domNode,_33=this;if(!this._preparedNode){this._preparedNode=true;if(_31.style.width){this._explicitDDWidth=true;}if(_31.style.height){this._explicitDDHeight=true;}}if(this.maxHeight||this.forceWidth||this.autoWidth){var _34={display:"",visibility:"hidden"};if(!this._explicitDDWidth){_34.width="";}if(!this._explicitDDHeight){_34.height="";}_1f.set(_31,_34);var _35=this.maxHeight;if(_35==-1){var _36=_27.getEffectiveBox(this.ownerDocument),_37=_1e.position(_32,false);_35=Math.floor(Math.max(_37.y,_36.h-(_37.y+_37.h)));}_25.moveOffScreen(_30);if(_30.startup&&!_30._started){_30.startup();}var mb=_1e.getMarginSize(_31);var _38=(_35&&mb.h>_35);_1f.set(_31,{overflow:_38?"auto":"visible"});if(_38){mb.h=_35;if("w" in mb){mb.w+=16;}}else{delete mb.h;}if(this.forceWidth){mb.w=_32.offsetWidth;}else{if(this.autoWidth){mb.w=Math.max(mb.w,_32.offsetWidth);}else{delete mb.w;}}if(_21.isFunction(_30.resize)){_30.resize(mb);}else{_1e.setMarginBox(_31,mb);}}var _39=_25.open({parent:this,popup:_30,around:_32,orient:this.dropDownPosition,onExecute:function(){_33.closeDropDown(true);},onCancel:function(){_33.closeDropDown(true);},onClose:function(){_1c.set(_33._popupStateNode,"popupActive",false);_1d.remove(_33._popupStateNode,"dijitHasDropDownOpen");_33._opened=false;}});_1c.set(this._popupStateNode,"popupActive","true");_1d.add(_33._popupStateNode,"dijitHasDropDownOpen");this._opened=true;return _39;},closeDropDown:function(_3a){if(this._opened){if(_3a){this.focus();}_25.close(this.dropDown);this._opened=false;}}});});},"dijit/form/Slider":function(){define("dijit/form/Slider",["dojo/_base/kernel","./HorizontalSlider","./VerticalSlider","./HorizontalRule","./VerticalRule","./HorizontalRuleLabels","./VerticalRuleLabels"],function(_3b){_3b.deprecated("Call require() for HorizontalSlider / VerticalRule, explicitly rather than 'dijit.form.Slider' itself","","2.0");});},"dijit/form/_ComboBoxMenuMixin":function(){define("dijit/form/_ComboBoxMenuMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/i18n","dojo/_base/window","dojo/i18n!./nls/ComboBox"],function(_3c,_3d,_3e,_3f,win){return _3d("dijit.form._ComboBoxMenuMixin",null,{_messages:null,postMixInProperties:function(){this.inherited(arguments);this._messages=_3f.getLocalization("dijit.form","ComboBox",this.lang);},buildRendering:function(){this.inherited(arguments);this.previousButton.innerHTML=this._messages["previousMessage"];this.nextButton.innerHTML=this._messages["nextMessage"];},_setValueAttr:function(_40){this.value=_40;this.onChange(_40);},onClick:function(_41){if(_41==this.previousButton){this._setSelectedAttr(null);this.onPage(-1);}else{if(_41==this.nextButton){this._setSelectedAttr(null);this.onPage(1);}else{this.onChange(_41);}}},onChange:function(){},onPage:function(){},onClose:function(){this._setSelectedAttr(null);},_createOption:function(_42,_43){var _44=this._createMenuItem();var _45=_43(_42);if(_45.html){_44.innerHTML=_45.label;}else{_44.appendChild(win.doc.createTextNode(_45.label));}if(_44.innerHTML==""){_44.innerHTML="&#160;";}this.applyTextDir(_44,(_44.innerText||_44.textContent||""));_44.item=_42;return _44;},createOptions:function(_46,_47,_48){this.items=_46;this.previousButton.style.display=(_47.start==0)?"none":"";_3e.set(this.previousButton,"id",this.id+"_prev");_3c.forEach(_46,function(_49,i){var _4a=this._createOption(_49,_48);_4a.setAttribute("item",i);_3e.set(_4a,"id",this.id+i);this.nextButton.parentNode.insertBefore(_4a,this.nextButton);},this);var _4b=false;if(_46.total&&!_46.total.then&&_46.total!=-1){if((_47.start+_47.count)<_46.total){_4b=true;}else{if((_47.start+_47.count)>_46.total&&_47.count==_46.length){_4b=true;}}}else{if(_47.count==_46.length){_4b=true;}}this.nextButton.style.display=_4b?"":"none";_3e.set(this.nextButton,"id",this.id+"_next");},clearResultList:function(){var _4c=this.containerNode;while(_4c.childNodes.length>2){_4c.removeChild(_4c.childNodes[_4c.childNodes.length-2]);}this._setSelectedAttr(null);},highlightFirstOption:function(){this.selectFirstNode();},highlightLastOption:function(){this.selectLastNode();},selectFirstNode:function(){this.inherited(arguments);if(this.getHighlightedOption()==this.previousButton){this.selectNextNode();}},selectLastNode:function(){this.inherited(arguments);if(this.getHighlightedOption()==this.nextButton){this.selectPreviousNode();}},getHighlightedOption:function(){return this._getSelectedAttr();}});});},"dojo/parser":function(){define("dojo/parser",["./_base/kernel","./_base/lang","./_base/array","./_base/config","./_base/html","./_base/window","./_base/url","./_base/json","./aspect","./date/stamp","./has","./query","./on","./ready"],function(_4d,_4e,_4f,_50,_51,_52,_53,_54,_55,_56,has,_57,don,_58){new Date("X");if(1){var _59=document.createElement("form");has.add("dom-attributes-explicit",_59.attributes.length==0);has.add("dom-attributes-specified-flag",_59.attributes.length<40);}_4d.parser=new function(){var _5a={};function _5b(_5c){var map={};for(var _5d in _5c){if(_5d.charAt(0)=="_"){continue;}map[_5d.toLowerCase()]=_5d;}return map;};_55.after(_4e,"extend",function(){_5a={};},true);var _5e={};function _5f(_60){var map=_5e[_60]||(_5e[_60]={});return map["__type"]||(map["__type"]=(_4e.getObject(_60)||require(_60)));};this._functionFromScript=function(_61,_62){var _63="";var _64="";var _65=(_61.getAttribute(_62+"args")||_61.getAttribute("args"));if(_65){_4f.forEach(_65.split(/\s*,\s*/),function(_66,idx){_63+="var "+_66+" = arguments["+idx+"]; ";});}var _67=_61.getAttribute("with");if(_67&&_67.length){_4f.forEach(_67.split(/\s*,\s*/),function(_68){_63+="with("+_68+"){";_64+="}";});}return new Function(_63+_61.innerHTML+_64);};this.instantiate=function(_69,_6a,_6b){_6a=_6a||{};_6b=_6b||{};var _6c=(_6b.scope||_4d._scopeName)+"Type",_6d="data-"+(_6b.scope||_4d._scopeName)+"-",_6e=_6d+"type";var _6f=[];_4f.forEach(_69,function(_70){var _71=_6c in _6a?_6a[_6c]:_70.getAttribute(_6e)||_70.getAttribute(_6c);if(_71){_6f.push({node:_70,"type":_71});}});return this._instantiate(_6f,_6a,_6b);};this._instantiate=function(_72,_73,_74){var _75=[];var _76=(_74.scope||_4d._scopeName)+"Type",_77="data-"+(_74.scope||_4d._scopeName)+"-",_78=_77+"type",_79=_77+"props",_7a=_77+"attach-point",_7b=_77+"attach-event",_7c=_77+"id",_7d=_77+"mixins";var _7e={};_4f.forEach([_79,_78,_76,_7c,"jsId",_7a,_7b,"dojoAttachPoint","dojoAttachEvent","class","style",_7d],function(_7f){_7e[_7f.toLowerCase()]=_7f.replace(_74.scope,"dojo");});function _80(_81,_82){return _81.createSubclass&&_81.createSubclass(_82)||_81.extend.apply(_81,_82);};_4f.forEach(_72,function(obj){if(!obj){return;}var _83=obj.node,_84=obj.type,_85=_83.getAttribute(_7d),_86;if(_85){var map=_5e[_84];_85=_85.replace(/ /g,"");_86=map&&map[_85];if(!_86){_86=_5f(_84);_86=_5e[_84][_85]=_80(_86,_4f.map(_85.split(","),_5f));}}else{_86=_5f(_84);}var _87=_86&&_86.prototype;var _88={};if(_74.defaults){_4e.mixin(_88,_74.defaults);}if(obj.inherited){_4e.mixin(_88,obj.inherited);}var _89;if(has("dom-attributes-explicit")){_89=_83.attributes;}else{if(has("dom-attributes-specified-flag")){_89=_4f.filter(_83.attributes,function(a){return a.specified;});}else{var _8a=/^input$|^img$/i.test(_83.nodeName)?_83:_83.cloneNode(false),_8b=_8a.outerHTML.replace(/=[^\s"']+|="[^"]*"|='[^']*'/g,"").replace(/^\s*<[a-zA-Z0-9]*\s*/,"").replace(/\s*>.*$/,"");_89=_4f.map(_8b.split(/\s+/),function(_8c){var _8d=_8c.toLowerCase();return {name:_8c,value:(_83.nodeName=="LI"&&_8c=="value")||_8d=="enctype"?_83.getAttribute(_8d):_83.getAttributeNode(_8d).value};});}}var i=0,_8e;while(_8e=_89[i++]){var _8f=_8e.name,_90=_8f.toLowerCase(),_91=_8e.value;if(_90 in _7e){switch(_7e[_90]){case "data-dojo-props":var _92=_91;break;case "data-dojo-id":case "jsId":var _93=_91;break;case "data-dojo-attach-point":case "dojoAttachPoint":_88.dojoAttachPoint=_91;break;case "data-dojo-attach-event":case "dojoAttachEvent":_88.dojoAttachEvent=_91;break;case "class":_88["class"]=_83.className;break;case "style":_88["style"]=_83.style&&_83.style.cssText;break;}}else{if(!(_8f in _87)){var map=(_5a[_84]||(_5a[_84]=_5b(_87)));_8f=map[_90]||_8f;}if(_8f in _87){switch(typeof _87[_8f]){case "string":_88[_8f]=_91;break;case "number":_88[_8f]=_91.length?Number(_91):NaN;break;case "boolean":_88[_8f]=_91.toLowerCase()!="false";break;case "function":if(_91===""||_91.search(/[^\w\.]+/i)!=-1){_88[_8f]=new Function(_91);}else{_88[_8f]=_4e.getObject(_91,false)||new Function(_91);}break;default:var _94=_87[_8f];_88[_8f]=(_94&&"length" in _94)?(_91?_91.split(/\s*,\s*/):[]):(_94 instanceof Date)?(_91==""?new Date(""):_91=="now"?new Date():_56.fromISOString(_91)):(_94 instanceof _4d._Url)?(_4d.baseUrl+_91):_54.fromJson(_91);}}else{_88[_8f]=_91;}}}if(_92){try{_92=_54.fromJson.call(_74.propsThis,"{"+_92+"}");_4e.mixin(_88,_92);}catch(e){throw new Error(e.toString()+" in data-dojo-props='"+_92+"'");}}_4e.mixin(_88,_73);var _95=obj.scripts||(_86&&(_86._noScript||_87._noScript)?[]:_57("> script[type^='dojo/']",_83));var _96=[],_97=[],_98=[],on=[];if(_95){for(i=0;i<_95.length;i++){var _99=_95[i];_83.removeChild(_99);var _9a=(_99.getAttribute(_77+"event")||_99.getAttribute("event")),_9b=_99.getAttribute(_77+"prop"),_9c=_99.getAttribute("type"),nf=this._functionFromScript(_99,_77);if(_9a){if(_9c=="dojo/connect"){_96.push({event:_9a,func:nf});}else{if(_9c=="dojo/on"){on.push({event:_9a,func:nf});}else{_88[_9a]=nf;}}}else{if(_9c=="dojo/watch"){_98.push({prop:_9b,func:nf});}else{_97.push(nf);}}}}var _9d=_86.markupFactory||_87.markupFactory;var _9e=_9d?_9d(_88,_83,_86):new _86(_88,_83);_75.push(_9e);if(_93){_4e.setObject(_93,_9e);}for(i=0;i<_96.length;i++){_55.after(_9e,_96[i].event,_4d.hitch(_9e,_96[i].func),true);}for(i=0;i<_97.length;i++){_97[i].call(_9e);}for(i=0;i<_98.length;i++){_9e.watch(_98[i].prop,_98[i].func);}for(i=0;i<on.length;i++){don(_9e,on[i].event,on[i].func);}},this);if(!_73._started){_4f.forEach(_75,function(_9f){if(!_74.noStart&&_9f&&_4e.isFunction(_9f.startup)&&!_9f._started){_9f.startup();}});}return _75;};this.scan=function(_a0,_a1){var _a2=[];var _a3=(_a1.scope||_4d._scopeName)+"Type",_a4="data-"+(_a1.scope||_4d._scopeName)+"-",_a5=_a4+"type",_a6=_a4+"textdir";var _a7=_a0.firstChild;var _a8=_a1.inherited;if(!_a8){function _a9(_aa,_ab){return (_aa.getAttribute&&_aa.getAttribute(_ab))||(_aa!==_52.doc&&_aa!==_52.doc.documentElement&&_aa.parentNode?_a9(_aa.parentNode,_ab):null);};_a8={dir:_a9(_a0,"dir"),lang:_a9(_a0,"lang"),textDir:_a9(_a0,_a6)};for(var key in _a8){if(!_a8[key]){delete _a8[key];}}}var _ac={inherited:_a8};var _ad;var _ae;function _af(_b0){if(!_b0.inherited){_b0.inherited={};var _b1=_b0.node,_b2=_af(_b0.parent);var _b3={dir:_b1.getAttribute("dir")||_b2.dir,lang:_b1.getAttribute("lang")||_b2.lang,textDir:_b1.getAttribute(_a6)||_b2.textDir};for(var key in _b3){if(_b3[key]){_b0.inherited[key]=_b3[key];}}}return _b0.inherited;};while(true){if(!_a7){if(!_ac||!_ac.node){break;}_a7=_ac.node.nextSibling;_ad=_ac.scripts;_ae=false;_ac=_ac.parent;continue;}if(_a7.nodeType!=1){_a7=_a7.nextSibling;continue;}if(_ad&&_a7.nodeName.toLowerCase()=="script"){_b4=_a7.getAttribute("type");if(_b4&&/^dojo\/\w/i.test(_b4)){_ad.push(_a7);}_a7=_a7.nextSibling;continue;}if(_ae){_a7=_a7.nextSibling;continue;}var _b4=_a7.getAttribute(_a5)||_a7.getAttribute(_a3);var _b5=_a7.firstChild;if(!_b4&&(!_b5||(_b5.nodeType==3&&!_b5.nextSibling))){_a7=_a7.nextSibling;continue;}var _b6={node:_a7,scripts:_ad,parent:_ac};var _b7;try{_b7=_b4&&_5f(_b4);}catch(e){}var _b8=_b7&&!_b7.prototype._noScript?[]:null;if(_b4){_a2.push({"type":_b4,node:_a7,scripts:_b8,inherited:_af(_b6)});}_a7=_b5;_ad=_b8;_ae=_b7&&_b7.prototype.stopParser&&!(_a1.template);_ac=_b6;}return _a2;};this.parse=function(_b9,_ba){var _bb;if(!_ba&&_b9&&_b9.rootNode){_ba=_b9;_bb=_ba.rootNode;}else{if(_b9&&_4e.isObject(_b9)&&!("nodeType" in _b9)){_ba=_b9;}else{_bb=_b9;}}_bb=_bb?_51.byId(_bb):_52.body();_ba=_ba||{};var _bc=this.scan(_bb,_ba);var _bd=_ba.template?{template:true}:{};return this._instantiate(_bc,_bd,_ba);};}();if(_50.parseOnLoad){_58(100,_4d.parser,"parse");}return _4d.parser;});},"url:dijit/form/templates/DropDownButton.html":"<span class=\"dijit dijitReset dijitInline\"\n\t><span class='dijitReset dijitInline dijitButtonNode'\n\t\tdata-dojo-attach-event=\"ondijitclick:_onClick\" data-dojo-attach-point=\"_buttonNode\"\n\t\t><span class=\"dijitReset dijitStretch dijitButtonContents\"\n\t\t\tdata-dojo-attach-point=\"focusNode,titleNode,_arrowWrapperNode\"\n\t\t\trole=\"button\" aria-haspopup=\"true\" aria-labelledby=\"${id}_label\"\n\t\t\t><span class=\"dijitReset dijitInline dijitIcon\"\n\t\t\t\tdata-dojo-attach-point=\"iconNode\"\n\t\t\t></span\n\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\"\n\t\t\t\tdata-dojo-attach-point=\"containerNode,_popupStateNode\"\n\t\t\t\tid=\"${id}_label\"\n\t\t\t></span\n\t\t\t><span class=\"dijitReset dijitInline dijitArrowButtonInner\"></span\n\t\t\t><span class=\"dijitReset dijitInline dijitArrowButtonChar\">&#9660;</span\n\t\t></span\n\t></span\n\t><input ${!nameAttrSetting} type=\"${type}\" value=\"${value}\" class=\"dijitOffScreen\" tabIndex=\"-1\"\n\t\tdata-dojo-attach-point=\"valueNode\" role=\"presentation\"\n/></span>\n","dijit/form/ToggleButton":function(){define("dijit/form/ToggleButton",["dojo/_base/declare","dojo/_base/kernel","./Button","./_ToggleButtonMixin"],function(_be,_bf,_c0,_c1){return _be("dijit.form.ToggleButton",[_c0,_c1],{baseClass:"dijitToggleButton",setChecked:function(_c2){_bf.deprecated("setChecked("+_c2+") is deprecated. Use set('checked',"+_c2+") instead.","","2.0");this.set("checked",_c2);}});});},"dijit/form/NumberSpinner":function(){define("dijit/form/NumberSpinner",["dojo/_base/declare","dojo/_base/event","dojo/keys","./_Spinner","./NumberTextBox"],function(_c3,_c4,_c5,_c6,_c7){return _c3("dijit.form.NumberSpinner",[_c6,_c7.Mixin],{adjust:function(val,_c8){var tc=this.constraints,v=isNaN(val),_c9=!isNaN(tc.max),_ca=!isNaN(tc.min);if(v&&_c8!=0){val=(_c8>0)?_ca?tc.min:_c9?tc.max:0:_c9?this.constraints.max:_ca?tc.min:0;}var _cb=val+_c8;if(v||isNaN(_cb)){return val;}if(_c9&&(_cb>tc.max)){_cb=tc.max;}if(_ca&&(_cb<tc.min)){_cb=tc.min;}return _cb;},_onKeyPress:function(e){if((e.charOrCode==_c5.HOME||e.charOrCode==_c5.END)&&!(e.ctrlKey||e.altKey||e.metaKey)&&typeof this.get("value")!="undefined"){var _cc=this.constraints[(e.charOrCode==_c5.HOME?"min":"max")];if(typeof _cc=="number"){this._setValueAttr(_cc,false);}_c4.stop(e);}}});});},"dijit/form/Textarea":function(){define("dijit/form/Textarea",["dojo/_base/declare","dojo/dom-style","./_ExpandingTextAreaMixin","./SimpleTextarea"],function(_cd,_ce,_cf,_d0){return _cd("dijit.form.Textarea",[_d0,_cf],{baseClass:"dijitTextBox dijitTextArea dijitExpandingTextArea",cols:"",buildRendering:function(){this.inherited(arguments);_ce.set(this.textbox,{overflowY:"hidden",overflowX:"auto",boxSizing:"border-box",MsBoxSizing:"border-box",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box"});}});});},"dijit/form/DateTextBox":function(){define("dijit/form/DateTextBox",["dojo/_base/declare","../Calendar","./_DateTimeTextBox"],function(_d1,_d2,_d3){return _d1("dijit.form.DateTextBox",_d3,{baseClass:"dijitTextBox dijitComboBox dijitDateTextBox",popupClass:_d2,_selector:"date",value:new Date("")});});},"dijit/form/ComboButton":function(){require({cache:{"url:dijit/form/templates/ComboButton.html":"<table class=\"dijit dijitReset dijitInline dijitLeft\"\n\tcellspacing='0' cellpadding='0' role=\"presentation\"\n\t><tbody role=\"presentation\"><tr role=\"presentation\"\n\t\t><td class=\"dijitReset dijitStretch dijitButtonNode\" data-dojo-attach-point=\"buttonNode\" data-dojo-attach-event=\"ondijitclick:_onClick,onkeypress:_onButtonKeyPress\"\n\t\t><div id=\"${id}_button\" class=\"dijitReset dijitButtonContents\"\n\t\t\tdata-dojo-attach-point=\"titleNode\"\n\t\t\trole=\"button\" aria-labelledby=\"${id}_label\"\n\t\t\t><div class=\"dijitReset dijitInline dijitIcon\" data-dojo-attach-point=\"iconNode\" role=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitInline dijitButtonText\" id=\"${id}_label\" data-dojo-attach-point=\"containerNode\" role=\"presentation\"></div\n\t\t></div\n\t\t></td\n\t\t><td id=\"${id}_arrow\" class='dijitReset dijitRight dijitButtonNode dijitArrowButton'\n\t\t\tdata-dojo-attach-point=\"_popupStateNode,focusNode,_buttonNode\"\n\t\t\tdata-dojo-attach-event=\"onkeypress:_onArrowKeyPress\"\n\t\t\ttitle=\"${optionsTitle}\"\n\t\t\trole=\"button\" aria-haspopup=\"true\"\n\t\t\t><div class=\"dijitReset dijitArrowButtonInner\" role=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitArrowButtonChar\" role=\"presentation\">&#9660;</div\n\t\t></td\n\t\t><td style=\"display:none !important;\"\n\t\t\t><input ${!nameAttrSetting} type=\"${type}\" value=\"${value}\" data-dojo-attach-point=\"valueNode\"\n\t\t/></td></tr></tbody\n></table>\n"}});define("dijit/form/ComboButton",["dojo/_base/declare","dojo/_base/event","dojo/keys","../focus","./DropDownButton","dojo/text!./templates/ComboButton.html"],function(_d4,_d5,_d6,_d7,_d8,_d9){return _d4("dijit.form.ComboButton",_d8,{templateString:_d9,_setIdAttr:"",_setTabIndexAttr:["focusNode","titleNode"],_setTitleAttr:"titleNode",optionsTitle:"",baseClass:"dijitComboButton",cssStateNodes:{"buttonNode":"dijitButtonNode","titleNode":"dijitButtonContents","_popupStateNode":"dijitDownArrowButton"},_focusedNode:null,_onButtonKeyPress:function(evt){if(evt.charOrCode==_d6[this.isLeftToRight()?"RIGHT_ARROW":"LEFT_ARROW"]){_d7.focus(this._popupStateNode);_d5.stop(evt);}},_onArrowKeyPress:function(evt){if(evt.charOrCode==_d6[this.isLeftToRight()?"LEFT_ARROW":"RIGHT_ARROW"]){_d7.focus(this.titleNode);_d5.stop(evt);}},focus:function(_da){if(!this.disabled){_d7.focus(_da=="start"?this.titleNode:this._popupStateNode);}}});});},"url:dijit/templates/Calendar.html":"<table cellspacing=\"0\" cellpadding=\"0\" class=\"dijitCalendarContainer\" role=\"grid\" aria-labelledby=\"${id}_mddb ${id}_year\">\n\t<thead>\n\t\t<tr class=\"dijitReset dijitCalendarMonthContainer\" valign=\"top\">\n\t\t\t<th class='dijitReset dijitCalendarArrow' data-dojo-attach-point=\"decrementMonth\">\n\t\t\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitCalendarIncrementControl dijitCalendarDecrease\" role=\"presentation\"/>\n\t\t\t\t<span data-dojo-attach-point=\"decreaseArrowNode\" class=\"dijitA11ySideArrow\">-</span>\n\t\t\t</th>\n\t\t\t<th class='dijitReset' colspan=\"5\">\n\t\t\t\t<div data-dojo-attach-point=\"monthNode\">\n\t\t\t\t</div>\n\t\t\t</th>\n\t\t\t<th class='dijitReset dijitCalendarArrow' data-dojo-attach-point=\"incrementMonth\">\n\t\t\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitCalendarIncrementControl dijitCalendarIncrease\" role=\"presentation\"/>\n\t\t\t\t<span data-dojo-attach-point=\"increaseArrowNode\" class=\"dijitA11ySideArrow\">+</span>\n\t\t\t</th>\n\t\t</tr>\n\t\t<tr>\n\t\t\t${!dayCellsHtml}\n\t\t</tr>\n\t</thead>\n\t<tbody data-dojo-attach-point=\"dateRowsNode\" data-dojo-attach-event=\"onclick: _onDayClick\" class=\"dijitReset dijitCalendarBodyContainer\">\n\t\t\t${!dateRowsHtml}\n\t</tbody>\n\t<tfoot class=\"dijitReset dijitCalendarYearContainer\">\n\t\t<tr>\n\t\t\t<td class='dijitReset' valign=\"top\" colspan=\"7\" role=\"presentation\">\n\t\t\t\t<div class=\"dijitCalendarYearLabel\">\n\t\t\t\t\t<span data-dojo-attach-point=\"previousYearLabelNode\" class=\"dijitInline dijitCalendarPreviousYear\" role=\"button\"></span>\n\t\t\t\t\t<span data-dojo-attach-point=\"currentYearLabelNode\" class=\"dijitInline dijitCalendarSelectedYear\" role=\"button\" id=\"${id}_year\"></span>\n\t\t\t\t\t<span data-dojo-attach-point=\"nextYearLabelNode\" class=\"dijitInline dijitCalendarNextYear\" role=\"button\"></span>\n\t\t\t\t</div>\n\t\t\t</td>\n\t\t</tr>\n\t</tfoot>\n</table>\n","dijit/form/_AutoCompleterMixin":function(){define("dijit/form/_AutoCompleterMixin",["dojo/_base/connect","dojo/data/util/filter","dojo/_base/declare","dojo/_base/Deferred","dojo/dom-attr","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/on","dojo/query","dojo/regexp","dojo/_base/sniff","dojo/string","dojo/_base/window","./DataList","../registry","./_TextBoxMixin"],function(_db,_dc,_dd,_de,_df,_e0,_e1,_e2,on,_e3,_e4,has,_e5,win,_e6,_e7,_e8){return _dd("dijit.form._AutoCompleterMixin",null,{item:null,pageSize:Infinity,store:null,fetchProperties:{},query:{},list:"",_setListAttr:function(_e9){this._set("list",_e9);},autoComplete:true,highlightMatch:"first",searchDelay:100,searchAttr:"name",labelAttr:"",labelType:"text",queryExpr:"${0}*",ignoreCase:true,maxHeight:-1,_stopClickEvents:false,_getCaretPos:function(_ea){var pos=0;if(typeof (_ea.selectionStart)=="number"){pos=_ea.selectionStart;}else{if(has("ie")){var tr=win.doc.selection.createRange().duplicate();var ntr=_ea.createTextRange();tr.move("character",0);ntr.move("character",0);try{ntr.setEndPoint("EndToEnd",tr);pos=String(ntr.text).replace(/\r/g,"").length;}catch(e){}}}return pos;},_setCaretPos:function(_eb,_ec){_ec=parseInt(_ec);_e8.selectInputText(_eb,_ec,_ec);},_setDisabledAttr:function(_ed){this.inherited(arguments);this.domNode.setAttribute("aria-disabled",_ed);},_abortQuery:function(){if(this.searchTimer){clearTimeout(this.searchTimer);this.searchTimer=null;}if(this._fetchHandle){if(this._fetchHandle.cancel){this._cancelingQuery=true;this._fetchHandle.cancel();this._cancelingQuery=false;}this._fetchHandle=null;}},_onInput:function(evt){this.inherited(arguments);if(evt.charOrCode==229){this._onKeyPress(evt);}},_onKey:function(evt){if(this.disabled||this.readOnly){return;}var key=evt.keyCode;if(evt.altKey||((evt.ctrlKey||evt.metaKey)&&(key!=86&&key!=88))||key==_e1.SHIFT){return;}var _ee=false;var pw=this.dropDown;var _ef=null;this._prev_key_backspace=false;this._abortQuery();this.inherited(arguments);if(this._opened){_ef=pw.getHighlightedOption();}switch(key){case _e1.PAGE_DOWN:case _e1.DOWN_ARROW:case _e1.PAGE_UP:case _e1.UP_ARROW:if(this._opened){this._announceOption(_ef);}_e0.stop(evt);break;case _e1.ENTER:if(_ef){if(_ef==pw.nextButton){this._nextSearch(1);_e0.stop(evt);break;}else{if(_ef==pw.previousButton){this._nextSearch(-1);_e0.stop(evt);break;}}}else{this._setBlurValue();this._setCaretPos(this.focusNode,this.focusNode.value.length);}if(this._opened||this._fetchHandle){_e0.stop(evt);}case _e1.TAB:var _f0=this.get("displayedValue");if(pw&&(_f0==pw._messages["previousMessage"]||_f0==pw._messages["nextMessage"])){break;}if(_ef){this._selectOption(_ef);}case _e1.ESCAPE:if(this._opened){this._lastQuery=null;this.closeDropDown();}break;case " ":if(_ef){_e0.stop(evt);this._selectOption(_ef);this.closeDropDown();}else{_ee=true;}break;case _e1.DELETE:case _e1.BACKSPACE:this._prev_key_backspace=true;_ee=true;break;}if(_ee){this.item=undefined;this.searchTimer=setTimeout(_e2.hitch(this,"_startSearchFromInput"),1);}},_onKeyPress:function(evt){if(typeof evt.charOrCode=="string"||evt.charOrCode==229){this.item=undefined;this.searchTimer=setTimeout(_e2.hitch(this,"_startSearchFromInput"),1);}},_autoCompleteText:function(_f1){var fn=this.focusNode;_e8.selectInputText(fn,fn.value.length);var _f2=this.ignoreCase?"toLowerCase":"substr";if(_f1[_f2](0).indexOf(this.focusNode.value[_f2](0))==0){var _f3=this.autoComplete?this._getCaretPos(fn):fn.value.length;if((_f3+1)>fn.value.length){fn.value=_f1;_e8.selectInputText(fn,_f3);}}else{fn.value=_f1;_e8.selectInputText(fn);}},_openResultList:function(_f4,_f5,_f6){this._fetchHandle=null;if(this.disabled||this.readOnly||(_f5[this.searchAttr]!==this._lastQuery)){return;}var _f7=this.dropDown.getHighlightedOption();this.dropDown.clearResultList();if(!_f4.length&&_f6.start==0){this.closeDropDown();return;}this.dropDown.createOptions(_f4,_f6,_e2.hitch(this,"_getMenuLabelFromItem"));this._showResultList();if(_f6.direction){if(1==_f6.direction){this.dropDown.highlightFirstOption();}else{if(-1==_f6.direction){this.dropDown.highlightLastOption();}}if(_f7){this._announceOption(this.dropDown.getHighlightedOption());}}else{if(this.autoComplete&&!this._prev_key_backspace&&!/^[*]+$/.test(_f5[this.searchAttr].toString())){this._announceOption(this.dropDown.containerNode.firstChild.nextSibling);}}},_showResultList:function(){this.closeDropDown(true);this.openDropDown();this.domNode.setAttribute("aria-expanded","true");},loadDropDown:function(){this._startSearchAll();},isLoaded:function(){return false;},closeDropDown:function(){this._abortQuery();if(this._opened){this.inherited(arguments);this.domNode.setAttribute("aria-expanded","false");this.focusNode.removeAttribute("aria-activedescendant");}},_setBlurValue:function(){var _f8=this.get("displayedValue");var pw=this.dropDown;if(pw&&(_f8==pw._messages["previousMessage"]||_f8==pw._messages["nextMessage"])){this._setValueAttr(this._lastValueReported,true);}else{if(typeof this.item=="undefined"){this.item=null;this.set("displayedValue",_f8);}else{if(this.value!=this._lastValueReported){this._handleOnChange(this.value,true);}this._refreshState();}}},_setItemAttr:function(_f9,_fa,_fb){var _fc="";if(_f9){if(!_fb){_fb=this.store._oldAPI?this.store.getValue(_f9,this.searchAttr):_f9[this.searchAttr];}_fc=this._getValueField()!=this.searchAttr?this.store.getIdentity(_f9):_fb;}this.set("value",_fc,_fa,_fb,_f9);},_announceOption:function(_fd){if(!_fd){return;}var _fe;if(_fd==this.dropDown.nextButton||_fd==this.dropDown.previousButton){_fe=_fd.innerHTML;this.item=undefined;this.value="";}else{var _ff=this.dropDown.items[_fd.getAttribute("item")];_fe=(this.store._oldAPI?this.store.getValue(_ff,this.searchAttr):_ff[this.searchAttr]).toString();this.set("item",_ff,false,_fe);}this.focusNode.value=this.focusNode.value.substring(0,this._lastInput.length);this.focusNode.setAttribute("aria-activedescendant",_df.get(_fd,"id"));this._autoCompleteText(_fe);},_selectOption:function(_100){this.closeDropDown();if(_100){this._announceOption(_100);}this._setCaretPos(this.focusNode,this.focusNode.value.length);this._handleOnChange(this.value,true);},_startSearchAll:function(){this._startSearch("");},_startSearchFromInput:function(){this._startSearch(this.focusNode.value.replace(/([\\\*\?])/g,"\\$1"));},_getQueryString:function(text){return _e5.substitute(this.queryExpr,[text]);},_startSearch:function(key){if(!this.dropDown){var _101=this.id+"_popup",_102=_e2.isString(this.dropDownClass)?_e2.getObject(this.dropDownClass,false):this.dropDownClass;this.dropDown=new _102({onChange:_e2.hitch(this,this._selectOption),id:_101,dir:this.dir,textDir:this.textDir});this.focusNode.removeAttribute("aria-activedescendant");this.textbox.setAttribute("aria-owns",_101);}this._lastInput=key;var _103=_e2.clone(this.query);var _104={start:0,count:this.pageSize,queryOptions:{ignoreCase:this.ignoreCase,deep:true}};_e2.mixin(_104,this.fetchProperties);var qs=this._getQueryString(key),q;if(this.store._oldAPI){q=qs;}else{q=_dc.patternToRegExp(qs,this.ignoreCase);q.toString=function(){return qs;};}this._lastQuery=_103[this.searchAttr]=q;var _105=this,_106=function(){var _107=_105._fetchHandle=_105.store.query(_103,_104);_de.when(_107,function(res){_105._fetchHandle=null;res.total=_107.total;_105._openResultList(res,_103,_104);},function(err){_105._fetchHandle=null;if(!_105._cancelingQuery){console.error(_105.declaredClass+" "+err.toString());_105.closeDropDown();}});};this.searchTimer=setTimeout(_e2.hitch(this,function(_108,_109){this.searchTimer=null;_106();this._nextSearch=this.dropDown.onPage=function(_10a){_104.start+=_104.count*_10a;_104.direction=_10a;_106();_109.focus();};},_103,this),this.searchDelay);},_getValueField:function(){return this.searchAttr;},constructor:function(){this.query={};this.fetchProperties={};},postMixInProperties:function(){if(!this.store){var _10b=this.srcNodeRef;var list=this.list;if(list){this.store=_e7.byId(list);}else{this.store=new _e6({},_10b);}if(!("value" in this.params)){var item=(this.item=this.store.fetchSelectedItem());if(item){var _10c=this._getValueField();this.value=this.store._oldAPI?this.store.getValue(item,_10c):item[_10c];}}}this.inherited(arguments);},postCreate:function(){var _10d=_e3("label[for=\""+this.id+"\"]");if(_10d.length){_10d[0].id=(this.id+"_label");this.domNode.setAttribute("aria-labelledby",_10d[0].id);}this.inherited(arguments);this.connect(this.focusNode,"onkeypress","_onKeyPress");},_getMenuLabelFromItem:function(item){var _10e=this.labelFunc(item,this.store),_10f=this.labelType;if(this.highlightMatch!="none"&&this.labelType=="text"&&this._lastInput){_10e=this.doHighlight(_10e,this._escapeHtml(this._lastInput));_10f="html";}return {html:_10f=="html",label:_10e};},doHighlight:function(_110,find){var _111=(this.ignoreCase?"i":"")+(this.highlightMatch=="all"?"g":""),i=this.queryExpr.indexOf("${0}");find=_e4.escapeString(find);return this._escapeHtml(_110).replace(new RegExp((i==0?"^":"")+"("+find+")"+(i==(this.queryExpr.length-4)?"$":""),_111),"<span class=\"dijitComboBoxHighlightMatch\">$1</span>");},_escapeHtml:function(str){str=String(str).replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;");return str;},reset:function(){this.item=null;this.inherited(arguments);},labelFunc:function(item,_112){return (_112._oldAPI?_112.getValue(item,this.labelAttr||this.searchAttr):item[this.labelAttr||this.searchAttr]).toString();},_setValueAttr:function(_113,_114,_115,item){this._set("item",item||null);if(!_113){_113="";}this.inherited(arguments);},_setTextDirAttr:function(_116){this.inherited(arguments);if(this.dropDown){this.dropDown._set("textDir",_116);}}});});},"dijit/form/MappedTextBox":function(){define("dijit/form/MappedTextBox",["dojo/_base/declare","dojo/dom-construct","./ValidationTextBox"],function(_117,_118,_119){return _117("dijit.form.MappedTextBox",_119,{postMixInProperties:function(){this.inherited(arguments);this.nameAttrSetting="";},_setNameAttr:null,serialize:function(val){return val.toString?val.toString():"";},toString:function(){var val=this.filter(this.get("value"));return val!=null?(typeof val=="string"?val:this.serialize(val,this.constraints)):"";},validate:function(){this.valueNode.value=this.toString();return this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);this.valueNode=_118.place("<input type='hidden'"+(this.name?" name='"+this.name.replace(/'/g,"&quot;")+"'":"")+"/>",this.textbox,"after");},reset:function(){this.valueNode.value="";this.inherited(arguments);}});});},"dijit/form/ComboBoxMixin":function(){require({cache:{"url:dijit/form/templates/DropDownBox.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\"\n\tid=\"widget_${id}\"\n\trole=\"combobox\"\n\t><div class='dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton dijitArrowButtonContainer'\n\t\tdata-dojo-attach-point=\"_buttonNode, _popupStateNode\" role=\"presentation\"\n\t\t><input class=\"dijitReset dijitInputField dijitArrowButtonInner\" value=\"&#9660; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t\t${_buttonInputDisabled}\n\t/></div\n\t><div class='dijitReset dijitValidationContainer'\n\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t/></div\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class='dijitReset dijitInputInner' ${!nameAttrSetting} type=\"text\" autocomplete=\"off\"\n\t\t\tdata-dojo-attach-point=\"textbox,focusNode\" role=\"textbox\" aria-haspopup=\"true\"\n\t/></div\n></div>\n"}});define("dijit/form/ComboBoxMixin",["dojo/_base/declare","dojo/_base/Deferred","dojo/_base/kernel","dojo/_base/lang","dojo/store/util/QueryResults","./_AutoCompleterMixin","./_ComboBoxMenu","../_HasDropDown","dojo/text!./templates/DropDownBox.html"],function(_11a,_11b,_11c,lang,_11d,_11e,_11f,_120,_121){return _11a("dijit.form.ComboBoxMixin",[_120,_11e],{dropDownClass:_11f,hasDownArrow:true,templateString:_121,baseClass:"dijitTextBox dijitComboBox",cssStateNodes:{"_buttonNode":"dijitDownArrowButton"},_setHasDownArrowAttr:function(val){this._set("hasDownArrow",val);this._buttonNode.style.display=val?"":"none";},_showResultList:function(){this.displayMessage("");this.inherited(arguments);},_setStoreAttr:function(_122){if(!_122.get){lang.mixin(_122,{_oldAPI:true,get:function(id){var _123=new _11b();this.fetchItemByIdentity({identity:id,onItem:function(_124){_123.resolve(_124);},onError:function(_125){_123.reject(_125);}});return _123.promise;},query:function(_126,_127){var _128=new _11b(function(){_129.abort&&_129.abort();});var _129=this.fetch(lang.mixin({query:_126,onBegin:function(_12a){_128.total=_12a;},onComplete:function(_12b){_128.resolve(_12b);},onError:function(_12c){_128.reject(_12c);}},_127));return _11d(_128);}});}this._set("store",_122);},postMixInProperties:function(){if(this.params.store){this._setStoreAttr(this.params.store);}this.inherited(arguments);if(!this.params.store){var _12d=this.declaredClass;lang.mixin(this.store,{getValue:function(item,attr){_11c.deprecated(_12d+".store.getValue(item, attr) is deprecated for builtin store.  Use item.attr directly","","2.0");return item[attr];},getLabel:function(item){_11c.deprecated(_12d+".store.getLabel(item) is deprecated for builtin store.  Use item.label directly","","2.0");return item.name;},fetch:function(args){_11c.deprecated(_12d+".store.fetch() is deprecated for builtin store.","Use store.query()","2.0");var shim=["dojo/data/ObjectStore"];require(shim,lang.hitch(this,function(_12e){new _12e({objectStore:this}).fetch(args);}));}});}}});});},"dijit/form/_TextBoxMixin":function(){define("dijit/form/_TextBoxMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/_base/event","dojo/keys","dojo/_base/lang",".."],function(_12f,_130,dom,_131,keys,lang,_132){var _133=_130("dijit.form._TextBoxMixin",null,{trim:false,uppercase:false,lowercase:false,propercase:false,maxLength:"",selectOnClick:false,placeHolder:"",_getValueAttr:function(){return this.parse(this.get("displayedValue"),this.constraints);},_setValueAttr:function(_134,_135,_136){var _137;if(_134!==undefined){_137=this.filter(_134);if(typeof _136!="string"){if(_137!==null&&((typeof _137!="number")||!isNaN(_137))){_136=this.filter(this.format(_137,this.constraints));}else{_136="";}}}if(_136!=null&&_136!=undefined&&((typeof _136)!="number"||!isNaN(_136))&&this.textbox.value!=_136){this.textbox.value=_136;this._set("displayedValue",this.get("displayedValue"));}if(this.textDir=="auto"){this.applyTextDir(this.focusNode,_136);}this.inherited(arguments,[_137,_135]);},displayedValue:"",_getDisplayedValueAttr:function(){return this.filter(this.textbox.value);},_setDisplayedValueAttr:function(_138){if(_138===null||_138===undefined){_138="";}else{if(typeof _138!="string"){_138=String(_138);}}this.textbox.value=_138;this._setValueAttr(this.get("value"),undefined);this._set("displayedValue",this.get("displayedValue"));if(this.textDir=="auto"){this.applyTextDir(this.focusNode,_138);}},format:function(_139){return ((_139==null||_139==undefined)?"":(_139.toString?_139.toString():_139));},parse:function(_13a){return _13a;},_refreshState:function(){},onInput:function(){},__skipInputEvent:false,_onInput:function(){if(this.textDir=="auto"){this.applyTextDir(this.focusNode,this.focusNode.value);}this._refreshState();this._set("displayedValue",this.get("displayedValue"));},postCreate:function(){this.textbox.setAttribute("value",this.textbox.value);this.inherited(arguments);var _13b=function(e){var _13c=e.charOrCode||e.keyCode||229;if(e.type=="keydown"){switch(_13c){case keys.SHIFT:case keys.ALT:case keys.CTRL:case keys.META:case keys.CAPS_LOCK:return;default:if(_13c>=65&&_13c<=90){return;}}}if(e.type=="keypress"&&typeof _13c!="string"){return;}if(e.type=="input"){if(this.__skipInputEvent){this.__skipInputEvent=false;return;}}else{this.__skipInputEvent=true;}var faux=lang.mixin({},e,{charOrCode:_13c,wasConsumed:false,preventDefault:function(){faux.wasConsumed=true;e.preventDefault();},stopPropagation:function(){e.stopPropagation();}});if(this.onInput(faux)===false){_131.stop(faux);}if(faux.wasConsumed){return;}setTimeout(lang.hitch(this,"_onInput",faux),0);};_12f.forEach(["onkeydown","onkeypress","onpaste","oncut","oninput","oncompositionend"],function(_13d){this.connect(this.textbox,_13d,_13b);},this);},_blankValue:"",filter:function(val){if(val===null){return this._blankValue;}if(typeof val!="string"){return val;}if(this.trim){val=lang.trim(val);}if(this.uppercase){val=val.toUpperCase();}if(this.lowercase){val=val.toLowerCase();}if(this.propercase){val=val.replace(/[^\s]+/g,function(word){return word.substring(0,1).toUpperCase()+word.substring(1);});}return val;},_setBlurValue:function(){this._setValueAttr(this.get("value"),true);},_onBlur:function(e){if(this.disabled){return;}this._setBlurValue();this.inherited(arguments);if(this._selectOnClickHandle){this.disconnect(this._selectOnClickHandle);}},_isTextSelected:function(){return this.textbox.selectionStart==this.textbox.selectionEnd;},_onFocus:function(by){if(this.disabled||this.readOnly){return;}if(this.selectOnClick&&by=="mouse"){this._selectOnClickHandle=this.connect(this.domNode,"onmouseup",function(){this.disconnect(this._selectOnClickHandle);if(this._isTextSelected()){_133.selectInputText(this.textbox);}});}this.inherited(arguments);this._refreshState();},reset:function(){this.textbox.value="";this.inherited(arguments);},_setTextDirAttr:function(_13e){if(!this._created||this.textDir!=_13e){this._set("textDir",_13e);this.applyTextDir(this.focusNode,this.focusNode.value);}}});_133._setSelectionRange=_132._setSelectionRange=function(_13f,_140,stop){if(_13f.setSelectionRange){_13f.setSelectionRange(_140,stop);}};_133.selectInputText=_132.selectInputText=function(_141,_142,stop){_141=dom.byId(_141);if(isNaN(_142)){_142=0;}if(isNaN(stop)){stop=_141.value?_141.value.length:0;}try{_141.focus();_133._setSelectionRange(_141,_142,stop);}catch(e){}};return _133;});},"dijit/form/SimpleTextarea":function(){define("dijit/form/SimpleTextarea",["dojo/_base/declare","dojo/dom-class","dojo/_base/sniff","dojo/_base/window","./TextBox"],function(_143,_144,has,win,_145){return _143("dijit.form.SimpleTextarea",_145,{baseClass:"dijitTextBox dijitTextArea",rows:"3",cols:"20",templateString:"<textarea ${!nameAttrSetting} data-dojo-attach-point='focusNode,containerNode,textbox' autocomplete='off'></textarea>",postMixInProperties:function(){if(!this.value&&this.srcNodeRef){this.value=this.srcNodeRef.value;}this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);if(has("ie")&&this.cols){_144.add(this.textbox,"dijitTextAreaCols");}},filter:function(_146){if(_146){_146=_146.replace(/\r/g,"");}return this.inherited(arguments);},_onInput:function(e){if(this.maxLength){var _147=parseInt(this.maxLength);var _148=this.textbox.value.replace(/\r/g,"");var _149=_148.length-_147;if(_149>0){var _14a=this.textbox;if(_14a.selectionStart){var pos=_14a.selectionStart;var cr=0;if(has("opera")){cr=(this.textbox.value.substring(0,pos).match(/\r/g)||[]).length;}this.textbox.value=_148.substring(0,pos-_149-cr)+_148.substring(pos-cr);_14a.setSelectionRange(pos-_149,pos-_149);}else{if(win.doc.selection){_14a.focus();var _14b=win.doc.selection.createRange();_14b.moveStart("character",-_149);_14b.text="";_14b.select();}}}}this.inherited(arguments);}});});},"dijit/_TimePicker":function(){require({cache:{"url:dijit/templates/TimePicker.html":"<div id=\"widget_${id}\" class=\"dijitMenu\"\n    ><div data-dojo-attach-point=\"upArrow\" class=\"dijitButtonNode dijitUpArrowButton\" data-dojo-attach-event=\"onmouseenter:_buttonMouse,onmouseleave:_buttonMouse\"\n\t\t><div class=\"dijitReset dijitInline dijitArrowButtonInner\" role=\"presentation\">&#160;</div\n\t\t><div class=\"dijitArrowButtonChar\">&#9650;</div></div\n    ><div data-dojo-attach-point=\"timeMenu,focusNode\" data-dojo-attach-event=\"onclick:_onOptionSelected,onmouseover,onmouseout\"></div\n    ><div data-dojo-attach-point=\"downArrow\" class=\"dijitButtonNode dijitDownArrowButton\" data-dojo-attach-event=\"onmouseenter:_buttonMouse,onmouseleave:_buttonMouse\"\n\t\t><div class=\"dijitReset dijitInline dijitArrowButtonInner\" role=\"presentation\">&#160;</div\n\t\t><div class=\"dijitArrowButtonChar\">&#9660;</div></div\n></div>\n"}});define("dijit/_TimePicker",["dojo/_base/array","dojo/date","dojo/date/locale","dojo/date/stamp","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/_base/event","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/_base/sniff","dojo/query","dijit/typematic","./_Widget","./_TemplatedMixin","./form/_FormValueWidget","dojo/text!./templates/TimePicker.html"],function(_14c,_14d,_14e,_14f,_150,_151,_152,_153,_154,keys,lang,has,_155,_156,_157,_158,_159,_15a){return _150("dijit._TimePicker",[_157,_158],{templateString:_15a,baseClass:"dijitTimePicker",clickableIncrement:"T00:15:00",visibleIncrement:"T01:00:00",visibleRange:"T05:00:00",value:new Date(),_visibleIncrement:2,_clickableIncrement:1,_totalIncrements:10,constraints:{},serialize:_14f.toISOString,setValue:function(_15b){_154.deprecated("dijit._TimePicker:setValue() is deprecated.  Use set('value', ...) instead.","","2.0");this.set("value",_15b);},_setValueAttr:function(date){this._set("value",date);this._showText();},_setFilterStringAttr:function(val){this._set("filterString",val);this._showText();},isDisabledDate:function(){return false;},_getFilteredNodes:function(_15c,_15d,_15e,_15f){var _160=[],_161=_15f?_15f.date:this._refDate,n,i=_15c,max=this._maxIncrement+Math.abs(i),chk=_15e?-1:1,dec=_15e?1:0,inc=1-dec;do{i-=dec;n=this._createOption(i);if(n){if((_15e&&n.date>_161)||(!_15e&&n.date<_161)){break;}_160[_15e?"unshift":"push"](n);_161=n.date;}i+=inc;}while(_160.length<_15d&&(i*chk)<max);return _160;},_showText:function(){var _162=_14f.fromISOString;this.timeMenu.innerHTML="";this._clickableIncrementDate=_162(this.clickableIncrement);this._visibleIncrementDate=_162(this.visibleIncrement);this._visibleRangeDate=_162(this.visibleRange);var _163=function(date){return date.getHours()*60*60+date.getMinutes()*60+date.getSeconds();},_164=_163(this._clickableIncrementDate),_165=_163(this._visibleIncrementDate),_166=_163(this._visibleRangeDate),time=(this.value||this.currentFocus).getTime();this._refDate=new Date(time-time%(_164*1000));this._refDate.setFullYear(1970,0,1);this._clickableIncrement=1;this._totalIncrements=_166/_164;this._visibleIncrement=_165/_164;this._maxIncrement=(60*60*24)/_164;var _167=Math.min(this._totalIncrements,10),_168=this._getFilteredNodes(0,(_167>>1)+1,false),_169=[],_16a=_167-_168.length,_16b=this._getFilteredNodes(0,_16a,true,_168[0]);if(_16b.length<_16a&&_168.length>0){_169=this._getFilteredNodes(_168.length,_16a-_16b.length,false,_168[_168.length-1]);}_14c.forEach(_16b.concat(_168,_169),function(n){this.timeMenu.appendChild(n);},this);},constructor:function(){this.constraints={};},postMixInProperties:function(){this.inherited(arguments);this._setConstraintsAttr(this.constraints);},_setConstraintsAttr:function(_16c){for(var key in {clickableIncrement:1,visibleIncrement:1,visibleRange:1}){if(key in _16c){this[key]=_16c[key];}}if(!_16c.locale){_16c.locale=this.lang;}},postCreate:function(){this.connect(this.timeMenu,has("ie")?"onmousewheel":"DOMMouseScroll","_mouseWheeled");this._connects.push(_156.addMouseListener(this.upArrow,this,"_onArrowUp",33,250));this._connects.push(_156.addMouseListener(this.downArrow,this,"_onArrowDown",33,250));this.inherited(arguments);},_buttonMouse:function(e){_151.toggle(e.currentTarget,e.currentTarget==this.upArrow?"dijitUpArrowHover":"dijitDownArrowHover",e.type=="mouseenter"||e.type=="mouseover");},_createOption:function(_16d){var date=new Date(this._refDate);var _16e=this._clickableIncrementDate;date.setHours(date.getHours()+_16e.getHours()*_16d,date.getMinutes()+_16e.getMinutes()*_16d,date.getSeconds()+_16e.getSeconds()*_16d);if(this.constraints.selector=="time"){date.setFullYear(1970,0,1);}var _16f=_14e.format(date,this.constraints);if(this.filterString&&_16f.toLowerCase().indexOf(this.filterString)!==0){return null;}var div=_152.create("div",{"class":this.baseClass+"Item"});div.date=date;div.index=_16d;_152.create("div",{"class":this.baseClass+"ItemInner",innerHTML:_16f},div);if(_16d%this._visibleIncrement<1&&_16d%this._visibleIncrement>-1){_151.add(div,this.baseClass+"Marker");}else{if(!(_16d%this._clickableIncrement)){_151.add(div,this.baseClass+"Tick");}}if(this.isDisabledDate(date)){_151.add(div,this.baseClass+"ItemDisabled");}if(this.value&&!_14d.compare(this.value,date,this.constraints.selector)){div.selected=true;_151.add(div,this.baseClass+"ItemSelected");if(_151.contains(div,this.baseClass+"Marker")){_151.add(div,this.baseClass+"MarkerSelected");}else{_151.add(div,this.baseClass+"TickSelected");}this._highlightOption(div,true);}return div;},_onOptionSelected:function(tgt){var _170=tgt.target.date||tgt.target.parentNode.date;if(!_170||this.isDisabledDate(_170)){return;}this._highlighted_option=null;this.set("value",_170);this.onChange(_170);},onChange:function(){},_highlightOption:function(node,_171){if(!node){return;}if(_171){if(this._highlighted_option){this._highlightOption(this._highlighted_option,false);}this._highlighted_option=node;}else{if(this._highlighted_option!==node){return;}else{this._highlighted_option=null;}}_151.toggle(node,this.baseClass+"ItemHover",_171);if(_151.contains(node,this.baseClass+"Marker")){_151.toggle(node,this.baseClass+"MarkerHover",_171);}else{_151.toggle(node,this.baseClass+"TickHover",_171);}},onmouseover:function(e){this._keyboardSelected=null;var tgr=(e.target.parentNode===this.timeMenu)?e.target:e.target.parentNode;if(!_151.contains(tgr,this.baseClass+"Item")){return;}this._highlightOption(tgr,true);},onmouseout:function(e){this._keyboardSelected=null;var tgr=(e.target.parentNode===this.timeMenu)?e.target:e.target.parentNode;this._highlightOption(tgr,false);},_mouseWheeled:function(e){this._keyboardSelected=null;_153.stop(e);var _172=(has("ie")?e.wheelDelta:-e.detail);this[(_172>0?"_onArrowUp":"_onArrowDown")]();},_onArrowUp:function(_173){if(typeof _173=="number"&&_173==-1){return;}if(!this.timeMenu.childNodes.length){return;}var _174=this.timeMenu.childNodes[0].index;var divs=this._getFilteredNodes(_174,1,true,this.timeMenu.childNodes[0]);if(divs.length){this.timeMenu.removeChild(this.timeMenu.childNodes[this.timeMenu.childNodes.length-1]);this.timeMenu.insertBefore(divs[0],this.timeMenu.childNodes[0]);}},_onArrowDown:function(_175){if(typeof _175=="number"&&_175==-1){return;}if(!this.timeMenu.childNodes.length){return;}var _176=this.timeMenu.childNodes[this.timeMenu.childNodes.length-1].index+1;var divs=this._getFilteredNodes(_176,1,false,this.timeMenu.childNodes[this.timeMenu.childNodes.length-1]);if(divs.length){this.timeMenu.removeChild(this.timeMenu.childNodes[0]);this.timeMenu.appendChild(divs[0]);}},handleKey:function(e){if(e.keyCode==keys.DOWN_ARROW||e.keyCode==keys.UP_ARROW){_153.stop(e);if(this._highlighted_option&&!this._highlighted_option.parentNode){this._highlighted_option=null;}var _177=this.timeMenu,tgt=this._highlighted_option||_155("."+this.baseClass+"ItemSelected",_177)[0];if(!tgt){tgt=_177.childNodes[0];}else{if(_177.childNodes.length){if(e.keyCode==keys.DOWN_ARROW&&!tgt.nextSibling){this._onArrowDown();}else{if(e.keyCode==keys.UP_ARROW&&!tgt.previousSibling){this._onArrowUp();}}if(e.keyCode==keys.DOWN_ARROW){tgt=tgt.nextSibling;}else{tgt=tgt.previousSibling;}}}this._highlightOption(tgt,true);this._keyboardSelected=tgt;return false;}else{if(e.keyCode==keys.ENTER||e.keyCode===keys.TAB){if(!this._keyboardSelected&&e.keyCode===keys.TAB){return true;}if(this._highlighted_option){this._onOptionSelected({target:this._highlighted_option});}return e.keyCode===keys.TAB;}}return undefined;}});});},"dijit/form/RadioButton":function(){define("dijit/form/RadioButton",["dojo/_base/declare","./CheckBox","./_RadioButtonMixin"],function(_178,_179,_17a){return _178("dijit.form.RadioButton",[_179,_17a],{baseClass:"dijitRadio"});});},"url:dijit/form/templates/HorizontalSlider.html":"<table class=\"dijit dijitReset dijitSlider dijitSliderH\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" rules=\"none\" data-dojo-attach-event=\"onkeypress:_onKeyPress,onkeyup:_onKeyUp\"\n\trole=\"presentation\"\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t\t><td data-dojo-attach-point=\"topDecoration\" class=\"dijitReset dijitSliderDecoration dijitSliderDecorationT dijitSliderDecorationH\"></td\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerH\"\n\t\t\t><div class=\"dijitSliderDecrementIconH\" style=\"display:none\" data-dojo-attach-point=\"decrementButton\"><span class=\"dijitSliderButtonInner\">-</span></div\n\t\t></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperH dijitSliderLeftBumper\" data-dojo-attach-event=\"press:_onClkDecBumper\"></div\n\t\t></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><input data-dojo-attach-point=\"valueNode\" type=\"hidden\" ${!nameAttrSetting}\n\t\t\t/><div class=\"dijitReset dijitSliderBarContainerH\" role=\"presentation\" data-dojo-attach-point=\"sliderBarContainer\"\n\t\t\t\t><div role=\"presentation\" data-dojo-attach-point=\"progressBar\" class=\"dijitSliderBar dijitSliderBarH dijitSliderProgressBar dijitSliderProgressBarH\" data-dojo-attach-event=\"press:_onBarClick\"\n\t\t\t\t\t><div class=\"dijitSliderMoveable dijitSliderMoveableH\"\n\t\t\t\t\t\t><div data-dojo-attach-point=\"sliderHandle,focusNode\" class=\"dijitSliderImageHandle dijitSliderImageHandleH\" data-dojo-attach-event=\"press:_onHandleClick\" role=\"slider\" valuemin=\"${minimum}\" valuemax=\"${maximum}\"></div\n\t\t\t\t\t></div\n\t\t\t\t></div\n\t\t\t\t><div role=\"presentation\" data-dojo-attach-point=\"remainingBar\" class=\"dijitSliderBar dijitSliderBarH dijitSliderRemainingBar dijitSliderRemainingBarH\" data-dojo-attach-event=\"press:_onBarClick\"></div\n\t\t\t></div\n\t\t></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperH dijitSliderRightBumper\" data-dojo-attach-event=\"press:_onClkIncBumper\"></div\n\t\t></td\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerH\"\n\t\t\t><div class=\"dijitSliderIncrementIconH\" style=\"display:none\" data-dojo-attach-point=\"incrementButton\"><span class=\"dijitSliderButtonInner\">+</span></div\n\t\t></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t\t><td data-dojo-attach-point=\"containerNode,bottomDecoration\" class=\"dijitReset dijitSliderDecoration dijitSliderDecorationB dijitSliderDecorationH\"></td\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t></tr\n></table>\n","url:dijit/templates/TimePicker.html":"<div id=\"widget_${id}\" class=\"dijitMenu\"\n    ><div data-dojo-attach-point=\"upArrow\" class=\"dijitButtonNode dijitUpArrowButton\" data-dojo-attach-event=\"onmouseenter:_buttonMouse,onmouseleave:_buttonMouse\"\n\t\t><div class=\"dijitReset dijitInline dijitArrowButtonInner\" role=\"presentation\">&#160;</div\n\t\t><div class=\"dijitArrowButtonChar\">&#9650;</div></div\n    ><div data-dojo-attach-point=\"timeMenu,focusNode\" data-dojo-attach-event=\"onclick:_onOptionSelected,onmouseover,onmouseout\"></div\n    ><div data-dojo-attach-point=\"downArrow\" class=\"dijitButtonNode dijitDownArrowButton\" data-dojo-attach-event=\"onmouseenter:_buttonMouse,onmouseleave:_buttonMouse\"\n\t\t><div class=\"dijitReset dijitInline dijitArrowButtonInner\" role=\"presentation\">&#160;</div\n\t\t><div class=\"dijitArrowButtonChar\">&#9660;</div></div\n></div>\n","dijit/InlineEditBox":function(){require({cache:{"url:dijit/templates/InlineEditBox.html":"<span data-dojo-attach-point=\"editNode\" role=\"presentation\" style=\"position: absolute; visibility:hidden\" class=\"dijitReset dijitInline\"\n\tdata-dojo-attach-event=\"onkeypress: _onKeyPress\"\n\t><span data-dojo-attach-point=\"editorPlaceholder\"></span\n\t><span data-dojo-attach-point=\"buttonContainer\"\n\t\t><button data-dojo-type=\"dijit.form.Button\" data-dojo-props=\"label: '${buttonSave}', 'class': 'saveButton'\"\n\t\t\tdata-dojo-attach-point=\"saveButton\" data-dojo-attach-event=\"onClick:save\"></button\n\t\t><button data-dojo-type=\"dijit.form.Button\"  data-dojo-props=\"label: '${buttonCancel}', 'class': 'cancelButton'\"\n\t\t\tdata-dojo-attach-point=\"cancelButton\" data-dojo-attach-event=\"onClick:cancel\"></button\n\t></span\n></span>\n"}});define("dijit/InlineEditBox",["dojo/_base/array","dojo/_base/declare","dojo/_base/Deferred","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-style","dojo/_base/event","dojo/i18n","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/_base/sniff","./focus","./_Widget","./_TemplatedMixin","./_WidgetsInTemplateMixin","./_Container","./form/Button","./form/_TextBoxMixin","./form/TextBox","dojo/text!./templates/InlineEditBox.html","dojo/i18n!./nls/common"],function(_17b,_17c,_17d,_17e,_17f,_180,_181,_182,i18n,_183,keys,lang,has,fm,_184,_185,_186,_187,_188,_189,_18a,_18b){var _18c=_17c("dijit._InlineEditor",[_184,_185,_186],{templateString:_18b,postMixInProperties:function(){this.inherited(arguments);this.messages=i18n.getLocalization("dijit","common",this.lang);_17b.forEach(["buttonSave","buttonCancel"],function(prop){if(!this[prop]){this[prop]=this.messages[prop];}},this);},buildRendering:function(){this.inherited(arguments);var cls=typeof this.editor=="string"?lang.getObject(this.editor):this.editor;var _18d=this.sourceStyle,_18e="line-height:"+_18d.lineHeight+";",_18f=_181.getComputedStyle(this.domNode);_17b.forEach(["Weight","Family","Size","Style"],function(prop){var _190=_18d["font"+prop],_191=_18f["font"+prop];if(_191!=_190){_18e+="font-"+prop+":"+_18d["font"+prop]+";";}},this);_17b.forEach(["marginTop","marginBottom","marginLeft","marginRight"],function(prop){this.domNode.style[prop]=_18d[prop];},this);var _192=this.inlineEditBox.width;if(_192=="100%"){_18e+="width:100%;";this.domNode.style.display="block";}else{_18e+="width:"+(_192+(Number(_192)==_192?"px":""))+";";}var _193=lang.delegate(this.inlineEditBox.editorParams,{style:_18e,dir:this.dir,lang:this.lang,textDir:this.textDir});_193["displayedValue" in cls.prototype?"displayedValue":"value"]=this.value;this.editWidget=new cls(_193,this.editorPlaceholder);if(this.inlineEditBox.autoSave){_180.destroy(this.buttonContainer);}},postCreate:function(){this.inherited(arguments);var ew=this.editWidget;if(this.inlineEditBox.autoSave){this.connect(ew,"onChange","_onChange");this.connect(ew,"onKeyPress","_onKeyPress");}else{if("intermediateChanges" in ew){ew.set("intermediateChanges",true);this.connect(ew,"onChange","_onIntermediateChange");this.saveButton.set("disabled",true);}}},_onIntermediateChange:function(){this.saveButton.set("disabled",(this.getValue()==this._resetValue)||!this.enableSave());},destroy:function(){this.editWidget.destroy(true);this.inherited(arguments);},getValue:function(){var ew=this.editWidget;return String(ew.get("displayedValue" in ew?"displayedValue":"value"));},_onKeyPress:function(e){if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing){if(e.altKey||e.ctrlKey){return;}if(e.charOrCode==keys.ESCAPE){_182.stop(e);this.cancel(true);}else{if(e.charOrCode==keys.ENTER&&e.target.tagName=="INPUT"){_182.stop(e);this._onChange();}}}},_onBlur:function(){this.inherited(arguments);if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing){if(this.getValue()==this._resetValue){this.cancel(false);}else{if(this.enableSave()){this.save(false);}}}},_onChange:function(){if(this.inlineEditBox.autoSave&&this.inlineEditBox.editing&&this.enableSave()){fm.focus(this.inlineEditBox.displayNode);}},enableSave:function(){return (this.editWidget.isValid?this.editWidget.isValid():true);},focus:function(){this.editWidget.focus();setTimeout(lang.hitch(this,function(){if(this.editWidget.focusNode&&this.editWidget.focusNode.tagName=="INPUT"){_189.selectInputText(this.editWidget.focusNode);}}),0);}});var _194=_17c("dijit.InlineEditBox",_184,{editing:false,autoSave:true,buttonSave:"",buttonCancel:"",renderAsHtml:false,editor:_18a,editorWrapper:_18c,editorParams:{},disabled:false,onChange:function(){},onCancel:function(){},width:"100%",value:"",noValueIndicator:has("ie")<=6?"<span style='font-family: wingdings; text-decoration: underline;'>&#160;&#160;&#160;&#160;&#x270d;&#160;&#160;&#160;&#160;</span>":"<span style='text-decoration: underline;'>&#160;&#160;&#160;&#160;&#x270d;&#160;&#160;&#160;&#160;</span>",constructor:function(){this.editorParams={};},postMixInProperties:function(){this.inherited(arguments);this.displayNode=this.srcNodeRef;var _195={ondijitclick:"_onClick",onmouseover:"_onMouseOver",onmouseout:"_onMouseOut",onfocus:"_onMouseOver",onblur:"_onMouseOut"};for(var name in _195){this.connect(this.displayNode,name,_195[name]);}this.displayNode.setAttribute("role","button");if(!this.displayNode.getAttribute("tabIndex")){this.displayNode.setAttribute("tabIndex",0);}if(!this.value&&!("value" in this.params)){this.value=lang.trim(this.renderAsHtml?this.displayNode.innerHTML:(this.displayNode.innerText||this.displayNode.textContent||""));}if(!this.value){this.displayNode.innerHTML=this.noValueIndicator;}_17f.add(this.displayNode,"dijitInlineEditBoxDisplayMode");},setDisabled:function(_196){_183.deprecated("dijit.InlineEditBox.setDisabled() is deprecated.  Use set('disabled', bool) instead.","","2.0");this.set("disabled",_196);},_setDisabledAttr:function(_197){this.domNode.setAttribute("aria-disabled",_197);if(_197){this.displayNode.removeAttribute("tabIndex");}else{this.displayNode.setAttribute("tabIndex",0);}_17f.toggle(this.displayNode,"dijitInlineEditBoxDisplayModeDisabled",_197);this._set("disabled",_197);},_onMouseOver:function(){if(!this.disabled){_17f.add(this.displayNode,"dijitInlineEditBoxDisplayModeHover");}},_onMouseOut:function(){_17f.remove(this.displayNode,"dijitInlineEditBoxDisplayModeHover");},_onClick:function(e){if(this.disabled){return;}if(e){_182.stop(e);}this._onMouseOut();setTimeout(lang.hitch(this,"edit"),0);},edit:function(){if(this.disabled||this.editing){return;}this._set("editing",true);this._savedPosition=_181.get(this.displayNode,"position")||"static";this._savedOpacity=_181.get(this.displayNode,"opacity")||"1";this._savedTabIndex=_17e.get(this.displayNode,"tabIndex")||"0";if(this.wrapperWidget){var ew=this.wrapperWidget.editWidget;ew.set("displayedValue" in ew?"displayedValue":"value",this.value);}else{var _198=_180.create("span",null,this.domNode,"before");var ewc=typeof this.editorWrapper=="string"?lang.getObject(this.editorWrapper):this.editorWrapper;this.wrapperWidget=new ewc({value:this.value,buttonSave:this.buttonSave,buttonCancel:this.buttonCancel,dir:this.dir,lang:this.lang,tabIndex:this._savedTabIndex,editor:this.editor,inlineEditBox:this,sourceStyle:_181.getComputedStyle(this.displayNode),save:lang.hitch(this,"save"),cancel:lang.hitch(this,"cancel"),textDir:this.textDir},_198);if(!this._started){this.startup();}}var ww=this.wrapperWidget;_181.set(this.displayNode,{position:"absolute",opacity:"0"});_181.set(ww.domNode,{position:this._savedPosition,visibility:"visible",opacity:"1"});_17e.set(this.displayNode,"tabIndex","-1");_17d.when(ww.editWidget.onLoadDeferred,function(){setTimeout(function(){ww.focus();ww._resetValue=ww.getValue();},0);});},_onBlur:function(){this.inherited(arguments);if(!this.editing){}},destroy:function(){if(this.wrapperWidget&&!this.wrapperWidget._destroyed){this.wrapperWidget.destroy();delete this.wrapperWidget;}this.inherited(arguments);},_showText:function(_199){var ww=this.wrapperWidget;_181.set(ww.domNode,{position:"absolute",visibility:"hidden",opacity:"0"});_181.set(this.displayNode,{position:this._savedPosition,opacity:this._savedOpacity});_17e.set(this.displayNode,"tabIndex",this._savedTabIndex);if(_199){fm.focus(this.displayNode);}},save:function(_19a){if(this.disabled||!this.editing){return;}this._set("editing",false);var ww=this.wrapperWidget;var _19b=ww.getValue();this.set("value",_19b);this._showText(_19a);},setValue:function(val){_183.deprecated("dijit.InlineEditBox.setValue() is deprecated.  Use set('value', ...) instead.","","2.0");return this.set("value",val);},_setValueAttr:function(val){val=lang.trim(val);var _19c=this.renderAsHtml?val:val.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;").replace(/\n/g,"<br>");this.displayNode.innerHTML=_19c||this.noValueIndicator;this._set("value",val);if(this._started){setTimeout(lang.hitch(this,"onChange",val),0);}if(this.textDir=="auto"){this.applyTextDir(this.displayNode,this.displayNode.innerText);}},getValue:function(){_183.deprecated("dijit.InlineEditBox.getValue() is deprecated.  Use get('value') instead.","","2.0");return this.get("value");},cancel:function(_19d){if(this.disabled||!this.editing){return;}this._set("editing",false);setTimeout(lang.hitch(this,"onCancel"),0);this._showText(_19d);},_setTextDirAttr:function(_19e){if(!this._created||this.textDir!=_19e){this._set("textDir",_19e);this.applyTextDir(this.displayNode,this.displayNode.innerText);this.displayNode.align=this.dir=="rtl"?"right":"left";}}});_194._InlineEditor=_18c;return _194;});},"dijit/form/_RadioButtonMixin":function(){define("dijit/form/_RadioButtonMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/_base/event","dojo/_base/lang","dojo/query","dojo/_base/window","../registry"],function(_19f,_1a0,_1a1,_1a2,lang,_1a3,win,_1a4){return _1a0("dijit.form._RadioButtonMixin",null,{type:"radio",_getRelatedWidgets:function(){var ary=[];_1a3("input[type=radio]",this.focusNode.form||win.doc).forEach(lang.hitch(this,function(_1a5){if(_1a5.name==this.name&&_1a5.form==this.focusNode.form){var _1a6=_1a4.getEnclosingWidget(_1a5);if(_1a6){ary.push(_1a6);}}}));return ary;},_setCheckedAttr:function(_1a7){this.inherited(arguments);if(!this._created){return;}if(_1a7){_19f.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_1a8){if(_1a8!=this&&_1a8.checked){_1a8.set("checked",false);}}));}},_onClick:function(e){if(this.checked||this.disabled){_1a2.stop(e);return false;}if(this.readOnly){_1a2.stop(e);_19f.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_1a9){_1a1.set(this.focusNode||this.domNode,"checked",_1a9.checked);}));return false;}return this.inherited(arguments);}});});},"dijit/form/_ListMouseMixin":function(){define("dijit/form/_ListMouseMixin",["dojo/_base/declare","dojo/_base/event","dojo/touch","./_ListBase"],function(_1aa,_1ab,_1ac,_1ad){return _1aa("dijit.form._ListMouseMixin",_1ad,{postCreate:function(){this.inherited(arguments);this.connect(this.domNode,"onclick",function(evt){this._onClick(evt,this._getTarget(evt));});this.connect(this.domNode,"onmousedown","_onMouseDown");this.connect(this.domNode,"onmouseup","_onMouseUp");this.connect(this.domNode,"onmouseover","_onMouseOver");this.connect(this.domNode,"onmouseout","_onMouseOut");},_onClick:function(evt,_1ae){this._setSelectedAttr(_1ae,false);if(this._deferredClick){this._deferredClick.remove();}this._deferredClick=this.defer(function(){this._deferredClick=null;this.onClick(_1ae);});},_onMouseDown:function(evt){if(this._hoveredNode){this.onUnhover(this._hoveredNode);this._hoveredNode=null;}this._isDragging=true;this._setSelectedAttr(this._getTarget(evt),false);},_onMouseUp:function(evt){this._isDragging=false;var _1af=this._getSelectedAttr();var _1b0=this._getTarget(evt);var _1b1=this._hoveredNode;if(_1af&&_1b0==_1af){this.defer(function(){this._onClick(evt,_1af);});}else{if(_1b1){this.defer(function(){this._onClick(evt,_1b1);});}}},_onMouseOut:function(){if(this._hoveredNode){this.onUnhover(this._hoveredNode);if(this._getSelectedAttr()==this._hoveredNode){this.onSelect(this._hoveredNode);}this._hoveredNode=null;}if(this._isDragging){this._cancelDrag=(new Date()).getTime()+1000;}},_onMouseOver:function(evt){if(this._cancelDrag){var time=(new Date()).getTime();if(time>this._cancelDrag){this._isDragging=false;}this._cancelDrag=null;}var node=this._getTarget(evt);if(!node){return;}if(this._hoveredNode!=node){if(this._hoveredNode){this._onMouseOut({target:this._hoveredNode});}if(node&&node.parentNode==this.containerNode){if(this._isDragging){this._setSelectedAttr(node,false);}else{this._hoveredNode=node;this.onHover(node);}}}}});});},"url:dijit/form/templates/DropDownBox.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\"\n\tid=\"widget_${id}\"\n\trole=\"combobox\"\n\t><div class='dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton dijitArrowButtonContainer'\n\t\tdata-dojo-attach-point=\"_buttonNode, _popupStateNode\" role=\"presentation\"\n\t\t><input class=\"dijitReset dijitInputField dijitArrowButtonInner\" value=\"&#9660; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t\t${_buttonInputDisabled}\n\t/></div\n\t><div class='dijitReset dijitValidationContainer'\n\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t/></div\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class='dijitReset dijitInputInner' ${!nameAttrSetting} type=\"text\" autocomplete=\"off\"\n\t\t\tdata-dojo-attach-point=\"textbox,focusNode\" role=\"textbox\" aria-haspopup=\"true\"\n\t/></div\n></div>\n","dijit/form/NumberTextBox":function(){define("dijit/form/NumberTextBox",["dojo/_base/declare","dojo/_base/lang","dojo/number","./RangeBoundTextBox"],function(_1b2,lang,_1b3,_1b4){var _1b5=_1b2("dijit.form.NumberTextBoxMixin",null,{regExpGen:_1b3.regexp,value:NaN,editOptions:{pattern:"#.######"},_formatter:_1b3.format,postMixInProperties:function(){this.inherited(arguments);this._set("type","text");},_setConstraintsAttr:function(_1b6){var _1b7=typeof _1b6.places=="number"?_1b6.places:0;if(_1b7){_1b7++;}if(typeof _1b6.max!="number"){_1b6.max=9*Math.pow(10,15-_1b7);}if(typeof _1b6.min!="number"){_1b6.min=-9*Math.pow(10,15-_1b7);}this.inherited(arguments,[_1b6]);if(this.focusNode&&this.focusNode.value&&!isNaN(this.value)){this.set("value",this.value);}},_onFocus:function(){if(this.disabled){return;}var val=this.get("value");if(typeof val=="number"&&!isNaN(val)){var _1b8=this.format(val,this.constraints);if(_1b8!==undefined){this.textbox.value=_1b8;}}this.inherited(arguments);},format:function(_1b9,_1ba){var _1bb=String(_1b9);if(typeof _1b9!="number"){return _1bb;}if(isNaN(_1b9)){return "";}if(!("rangeCheck" in this&&this.rangeCheck(_1b9,_1ba))&&_1ba.exponent!==false&&/\de[-+]?\d/i.test(_1bb)){return _1bb;}if(this.editOptions&&this.focused){_1ba=lang.mixin({},_1ba,this.editOptions);}return this._formatter(_1b9,_1ba);},_parser:_1b3.parse,parse:function(_1bc,_1bd){var v=this._parser(_1bc,lang.mixin({},_1bd,(this.editOptions&&this.focused)?this.editOptions:{}));if(this.editOptions&&this.focused&&isNaN(v)){v=this._parser(_1bc,_1bd);}return v;},_getDisplayedValueAttr:function(){var v=this.inherited(arguments);return isNaN(v)?this.textbox.value:v;},filter:function(_1be){return (_1be===null||_1be===""||_1be===undefined)?NaN:this.inherited(arguments);},serialize:function(_1bf,_1c0){return (typeof _1bf!="number"||isNaN(_1bf))?"":this.inherited(arguments);},_setBlurValue:function(){var val=lang.hitch(lang.mixin({},this,{focused:true}),"get")("value");this._setValueAttr(val,true);},_setValueAttr:function(_1c1,_1c2,_1c3){if(_1c1!==undefined&&_1c3===undefined){_1c3=String(_1c1);if(typeof _1c1=="number"){if(isNaN(_1c1)){_1c3="";}else{if(("rangeCheck" in this&&this.rangeCheck(_1c1,this.constraints))||this.constraints.exponent===false||!/\de[-+]?\d/i.test(_1c3)){_1c3=undefined;}}}else{if(!_1c1){_1c3="";_1c1=NaN;}else{_1c1=undefined;}}}this.inherited(arguments,[_1c1,_1c2,_1c3]);},_getValueAttr:function(){var v=this.inherited(arguments);if(isNaN(v)&&this.textbox.value!==""){if(this.constraints.exponent!==false&&/\de[-+]?\d/i.test(this.textbox.value)&&(new RegExp("^"+_1b3._realNumberRegexp(lang.mixin({},this.constraints))+"$").test(this.textbox.value))){var n=Number(this.textbox.value);return isNaN(n)?undefined:n;}else{return undefined;}}else{return v;}},isValid:function(_1c4){if(!this.focused||this._isEmpty(this.textbox.value)){return this.inherited(arguments);}else{var v=this.get("value");if(!isNaN(v)&&this.rangeCheck(v,this.constraints)){if(this.constraints.exponent!==false&&/\de[-+]?\d/i.test(this.textbox.value)){return true;}else{return this.inherited(arguments);}}else{return false;}}}});var _1c5=_1b2("dijit.form.NumberTextBox",[_1b4,_1b5],{baseClass:"dijitTextBox dijitNumberTextBox"});_1c5.Mixin=_1b5;return _1c5;});},"dijit/form/TimeTextBox":function(){define("dijit/form/TimeTextBox",["dojo/_base/declare","dojo/keys","dojo/_base/lang","../_TimePicker","./_DateTimeTextBox"],function(_1c6,keys,lang,_1c7,_1c8){return _1c6("dijit.form.TimeTextBox",_1c8,{baseClass:"dijitTextBox dijitComboBox dijitTimeTextBox",popupClass:_1c7,_selector:"time",value:new Date(""),_onKey:function(evt){if(this.disabled||this.readOnly){return;}this.inherited(arguments);switch(evt.keyCode){case keys.ENTER:case keys.TAB:case keys.ESCAPE:case keys.DOWN_ARROW:case keys.UP_ARROW:break;default:setTimeout(lang.hitch(this,function(){var val=this.get("displayedValue");this.filterString=(val&&!this.parse(val,this.constraints))?val.toLowerCase():"";if(this._opened){this.closeDropDown();}this.openDropDown();}),0);}}});});},"url:dijit/form/templates/Button.html":"<span class=\"dijit dijitReset dijitInline\" role=\"presentation\"\n\t><span class=\"dijitReset dijitInline dijitButtonNode\"\n\t\tdata-dojo-attach-event=\"ondijitclick:_onClick\" role=\"presentation\"\n\t\t><span class=\"dijitReset dijitStretch dijitButtonContents\"\n\t\t\tdata-dojo-attach-point=\"titleNode,focusNode\"\n\t\t\trole=\"button\" aria-labelledby=\"${id}_label\"\n\t\t\t><span class=\"dijitReset dijitInline dijitIcon\" data-dojo-attach-point=\"iconNode\"></span\n\t\t\t><span class=\"dijitReset dijitToggleButtonIconChar\">&#x25CF;</span\n\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\"\n\t\t\t\tid=\"${id}_label\"\n\t\t\t\tdata-dojo-attach-point=\"containerNode\"\n\t\t\t></span\n\t\t></span\n\t></span\n\t><input ${!nameAttrSetting} type=\"${type}\" value=\"${value}\" class=\"dijitOffScreen\"\n\t\ttabIndex=\"-1\" role=\"presentation\" data-dojo-attach-point=\"valueNode\"\n/></span>\n","dijit/form/CurrencyTextBox":function(){define("dijit/form/CurrencyTextBox",["dojo/currency","dojo/_base/declare","dojo/_base/lang","./NumberTextBox"],function(_1c9,_1ca,lang,_1cb){return _1ca("dijit.form.CurrencyTextBox",_1cb,{currency:"",baseClass:"dijitTextBox dijitCurrencyTextBox",regExpGen:function(_1cc){return "("+(this.focused?this.inherited(arguments,[lang.mixin({},_1cc,this.editOptions)])+"|":"")+_1c9.regexp(_1cc)+")";},_formatter:_1c9.format,_parser:_1c9.parse,parse:function(_1cd,_1ce){var v=this.inherited(arguments);if(isNaN(v)&&/\d+/.test(_1cd)){v=lang.hitch(lang.mixin({},this,{_parser:_1cb.prototype._parser}),"inherited")(arguments);}return v;},_setConstraintsAttr:function(_1cf){if(!_1cf.currency&&this.currency){_1cf.currency=this.currency;}this.inherited(arguments,[_1c9._mixInDefaults(lang.mixin(_1cf,{exponent:false}))]);}});});},"dojo/_base/url":function(){define("dojo/_base/url",["./kernel"],function(dojo){var ore=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),ire=new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$"),_1d0=function(){var n=null,_1d1=arguments,uri=[_1d1[0]];for(var i=1;i<_1d1.length;i++){if(!_1d1[i]){continue;}var _1d2=new _1d0(_1d1[i]+""),_1d3=new _1d0(uri[0]+"");if(_1d2.path==""&&!_1d2.scheme&&!_1d2.authority&&!_1d2.query){if(_1d2.fragment!=n){_1d3.fragment=_1d2.fragment;}_1d2=_1d3;}else{if(!_1d2.scheme){_1d2.scheme=_1d3.scheme;if(!_1d2.authority){_1d2.authority=_1d3.authority;if(_1d2.path.charAt(0)!="/"){var path=_1d3.path.substring(0,_1d3.path.lastIndexOf("/")+1)+_1d2.path;var segs=path.split("/");for(var j=0;j<segs.length;j++){if(segs[j]=="."){if(j==segs.length-1){segs[j]="";}else{segs.splice(j,1);j--;}}else{if(j>0&&!(j==1&&segs[0]=="")&&segs[j]==".."&&segs[j-1]!=".."){if(j==(segs.length-1)){segs.splice(j,1);segs[j-1]="";}else{segs.splice(j-1,2);j-=2;}}}}_1d2.path=segs.join("/");}}}}uri=[];if(_1d2.scheme){uri.push(_1d2.scheme,":");}if(_1d2.authority){uri.push("//",_1d2.authority);}uri.push(_1d2.path);if(_1d2.query){uri.push("?",_1d2.query);}if(_1d2.fragment){uri.push("#",_1d2.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;}};_1d0.prototype.toString=function(){return this.uri;};return dojo._Url=_1d0;});},"url:dijit/form/templates/CheckBox.html":"<div class=\"dijit dijitReset dijitInline\" role=\"presentation\"\n\t><input\n\t \t${!nameAttrSetting} type=\"${type}\" ${checkedAttrSetting}\n\t\tclass=\"dijitReset dijitCheckBoxInput\"\n\t\tdata-dojo-attach-point=\"focusNode\"\n\t \tdata-dojo-attach-event=\"onclick:_onClick\"\n/></div>\n","url:dijit/form/templates/VerticalSlider.html":"<table class=\"dijit dijitReset dijitSlider dijitSliderV\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" rules=\"none\" data-dojo-attach-event=\"onkeypress:_onKeyPress,onkeyup:_onKeyUp\"\n\trole=\"presentation\"\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\"></td\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerV\"\n\t\t\t><div class=\"dijitSliderIncrementIconV\" style=\"display:none\" data-dojo-attach-point=\"decrementButton\"><span class=\"dijitSliderButtonInner\">+</span></div\n\t\t></td\n\t\t><td class=\"dijitReset\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\"></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><center><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperV dijitSliderTopBumper\" data-dojo-attach-event=\"press:_onClkIncBumper\"></div></center\n\t\t></td\n\t\t><td class=\"dijitReset\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td data-dojo-attach-point=\"leftDecoration\" class=\"dijitReset dijitSliderDecoration dijitSliderDecorationL dijitSliderDecorationV\"></td\n\t\t><td class=\"dijitReset dijitSliderDecorationC\" style=\"height:100%;\"\n\t\t\t><input data-dojo-attach-point=\"valueNode\" type=\"hidden\" ${!nameAttrSetting}\n\t\t\t/><center class=\"dijitReset dijitSliderBarContainerV\" role=\"presentation\" data-dojo-attach-point=\"sliderBarContainer\"\n\t\t\t\t><div role=\"presentation\" data-dojo-attach-point=\"remainingBar\" class=\"dijitSliderBar dijitSliderBarV dijitSliderRemainingBar dijitSliderRemainingBarV\" data-dojo-attach-event=\"press:_onBarClick\"><!--#5629--></div\n\t\t\t\t><div role=\"presentation\" data-dojo-attach-point=\"progressBar\" class=\"dijitSliderBar dijitSliderBarV dijitSliderProgressBar dijitSliderProgressBarV\" data-dojo-attach-event=\"press:_onBarClick\"\n\t\t\t\t\t><div class=\"dijitSliderMoveable dijitSliderMoveableV\" style=\"vertical-align:top;\"\n\t\t\t\t\t\t><div data-dojo-attach-point=\"sliderHandle,focusNode\" class=\"dijitSliderImageHandle dijitSliderImageHandleV\" data-dojo-attach-event=\"press:_onHandleClick\" role=\"slider\" valuemin=\"${minimum}\" valuemax=\"${maximum}\"></div\n\t\t\t\t\t></div\n\t\t\t\t></div\n\t\t\t></center\n\t\t></td\n\t\t><td data-dojo-attach-point=\"containerNode,rightDecoration\" class=\"dijitReset dijitSliderDecoration dijitSliderDecorationR dijitSliderDecorationV\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\"></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><center><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperV dijitSliderBottomBumper\" data-dojo-attach-event=\"press:_onClkDecBumper\"></div></center\n\t\t></td\n\t\t><td class=\"dijitReset\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\"></td\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerV\"\n\t\t\t><div class=\"dijitSliderDecrementIconV\" style=\"display:none\" data-dojo-attach-point=\"incrementButton\"><span class=\"dijitSliderButtonInner\">-</span></div\n\t\t></td\n\t\t><td class=\"dijitReset\"></td\n\t></tr\n></table>\n","dijit/Tooltip":function(){require({cache:{"url:dijit/templates/Tooltip.html":"<div class=\"dijitTooltip dijitTooltipLeft\" id=\"dojoTooltip\"\n\t><div class=\"dijitTooltipContainer dijitTooltipContents\" data-dojo-attach-point=\"containerNode\" role='alert'></div\n\t><div class=\"dijitTooltipConnector\" data-dojo-attach-point=\"connectorNode\"></div\n></div>\n"}});define("dijit/Tooltip",["dojo/_base/array","dojo/_base/declare","dojo/_base/fx","dojo/dom","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang","dojo/_base/sniff","dojo/_base/window","./_base/manager","./place","./_Widget","./_TemplatedMixin","./BackgroundIframe","dojo/text!./templates/Tooltip.html","."],function(_1d4,_1d5,fx,dom,_1d6,_1d7,_1d8,lang,has,win,_1d9,_1da,_1db,_1dc,_1dd,_1de,_1df){var _1e0=_1d5("dijit._MasterTooltip",[_1db,_1dc],{duration:_1d9.defaultDuration,templateString:_1de,postCreate:function(){win.body().appendChild(this.domNode);this.bgIframe=new _1dd(this.domNode);this.fadeIn=fx.fadeIn({node:this.domNode,duration:this.duration,onEnd:lang.hitch(this,"_onShow")});this.fadeOut=fx.fadeOut({node:this.domNode,duration:this.duration,onEnd:lang.hitch(this,"_onHide")});},show:function(_1e1,_1e2,_1e3,rtl,_1e4){if(this.aroundNode&&this.aroundNode===_1e2&&this.containerNode.innerHTML==_1e1){return;}this.domNode.width="auto";if(this.fadeOut.status()=="playing"){this._onDeck=arguments;return;}this.containerNode.innerHTML=_1e1;if(_1e4){this.set("textDir",_1e4);}this.containerNode.align=rtl?"right":"left";var pos=_1da.around(this.domNode,_1e2,_1e3&&_1e3.length?_1e3:_1e5.defaultPosition,!rtl,lang.hitch(this,"orient"));var _1e6=pos.aroundNodePos;if(pos.corner.charAt(0)=="M"&&pos.aroundCorner.charAt(0)=="M"){this.connectorNode.style.top=_1e6.y+((_1e6.h-this.connectorNode.offsetHeight)>>1)-pos.y+"px";this.connectorNode.style.left="";}else{if(pos.corner.charAt(1)=="M"&&pos.aroundCorner.charAt(1)=="M"){this.connectorNode.style.left=_1e6.x+((_1e6.w-this.connectorNode.offsetWidth)>>1)-pos.x+"px";}}_1d8.set(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=true;this.aroundNode=_1e2;},orient:function(node,_1e7,_1e8,_1e9,_1ea){this.connectorNode.style.top="";var _1eb=_1e9.h,_1ec=_1e9.w;if(_1e7.charAt(1)!=_1e8.charAt(1)){_1ec-=this.connectorNode.offsetWidth;}else{_1eb-=this.connectorNode.offsetHeight;}node.className="dijitTooltip "+{"MR-ML":"dijitTooltipRight","ML-MR":"dijitTooltipLeft","TM-BM":"dijitTooltipAbove","BM-TM":"dijitTooltipBelow","BL-TL":"dijitTooltipBelow dijitTooltipABLeft","TL-BL":"dijitTooltipAbove dijitTooltipABLeft","BR-TR":"dijitTooltipBelow dijitTooltipABRight","TR-BR":"dijitTooltipAbove dijitTooltipABRight","BR-BL":"dijitTooltipRight","BL-BR":"dijitTooltipLeft"}[_1e7+"-"+_1e8];this.domNode.style.width="auto";var size=_1d7.getContentBox(this.domNode);var _1ed=Math.min((Math.max(_1ec,1)),size.w);var _1ee=_1ed<size.w;this.domNode.style.width=_1ed+"px";if(_1e8.charAt(0)=="B"&&_1e7.charAt(0)=="B"){var bb=_1d7.position(node);var _1ef=this.connectorNode.offsetHeight;if(bb.h>_1eb){var _1f0=_1eb-((_1ea.h+_1ef)>>1);this.connectorNode.style.top=_1f0+"px";this.connectorNode.style.bottom="";}else{this.connectorNode.style.bottom=Math.min(Math.max(_1ea.h/2-_1ef/2,0),bb.h-_1ef)+"px";this.connectorNode.style.top="";}}else{this.connectorNode.style.top="";this.connectorNode.style.bottom="";}return Math.max(0,size.w-_1ec);},_onShow:function(){if(has("ie")){this.domNode.style.filter="";}},hide:function(_1f1){if(this._onDeck&&this._onDeck[1]==_1f1){this._onDeck=null;}else{if(this.aroundNode===_1f1){this.fadeIn.stop();this.isShowingNow=false;this.aroundNode=null;this.fadeOut.play();}else{}}},_onHide:function(){this.domNode.style.cssText="";this.containerNode.innerHTML="";if(this._onDeck){this.show.apply(this,this._onDeck);this._onDeck=null;}},_setAutoTextDir:function(node){this.applyTextDir(node,has("ie")?node.outerText:node.textContent);_1d4.forEach(node.children,function(_1f2){this._setAutoTextDir(_1f2);},this);},_setTextDirAttr:function(_1f3){this._set("textDir",_1f3);if(_1f3=="auto"){this._setAutoTextDir(this.containerNode);}else{this.containerNode.dir=this.textDir;}}});_1df.showTooltip=function(_1f4,_1f5,_1f6,rtl,_1f7){if(_1f6){_1f6=_1d4.map(_1f6,function(val){return {after:"after-centered",before:"before-centered"}[val]||val;});}if(!_1e5._masterTT){_1df._masterTT=_1e5._masterTT=new _1e0();}return _1e5._masterTT.show(_1f4,_1f5,_1f6,rtl,_1f7);};_1df.hideTooltip=function(_1f8){return _1e5._masterTT&&_1e5._masterTT.hide(_1f8);};var _1e5=_1d5("dijit.Tooltip",_1db,{label:"",showDelay:400,connectId:[],position:[],_setConnectIdAttr:function(_1f9){_1d4.forEach(this._connections||[],function(_1fa){_1d4.forEach(_1fa,lang.hitch(this,"disconnect"));},this);this._connectIds=_1d4.filter(lang.isArrayLike(_1f9)?_1f9:(_1f9?[_1f9]:[]),function(id){return dom.byId(id);});this._connections=_1d4.map(this._connectIds,function(id){var node=dom.byId(id);return [this.connect(node,"onmouseenter","_onHover"),this.connect(node,"onmouseleave","_onUnHover"),this.connect(node,"onfocus","_onHover"),this.connect(node,"onblur","_onUnHover")];},this);this._set("connectId",_1f9);},addTarget:function(node){var id=node.id||node;if(_1d4.indexOf(this._connectIds,id)==-1){this.set("connectId",this._connectIds.concat(id));}},removeTarget:function(node){var id=node.id||node,idx=_1d4.indexOf(this._connectIds,id);if(idx>=0){this._connectIds.splice(idx,1);this.set("connectId",this._connectIds);}},buildRendering:function(){this.inherited(arguments);_1d6.add(this.domNode,"dijitTooltipData");},startup:function(){this.inherited(arguments);var ids=this.connectId;_1d4.forEach(lang.isArrayLike(ids)?ids:[ids],this.addTarget,this);},_onHover:function(e){if(!this._showTimer){var _1fb=e.target;this._showTimer=setTimeout(lang.hitch(this,function(){this.open(_1fb);}),this.showDelay);}},_onUnHover:function(){if(this._focus){return;}if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}this.close();},open:function(_1fc){if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}_1e5.show(this.label||this.domNode.innerHTML,_1fc,this.position,!this.isLeftToRight(),this.textDir);this._connectNode=_1fc;this.onShow(_1fc,this.position);},close:function(){if(this._connectNode){_1e5.hide(this._connectNode);delete this._connectNode;this.onHide();}if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}},onShow:function(){},onHide:function(){},uninitialize:function(){this.close();this.inherited(arguments);}});_1e5._MasterTooltip=_1e0;_1e5.show=_1df.showTooltip;_1e5.hide=_1df.hideTooltip;_1e5.defaultPosition=["after-centered","before-centered"];return _1e5;});},"dijit/form/VerticalSlider":function(){require({cache:{"url:dijit/form/templates/VerticalSlider.html":"<table class=\"dijit dijitReset dijitSlider dijitSliderV\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" rules=\"none\" data-dojo-attach-event=\"onkeypress:_onKeyPress,onkeyup:_onKeyUp\"\n\trole=\"presentation\"\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\"></td\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerV\"\n\t\t\t><div class=\"dijitSliderIncrementIconV\" style=\"display:none\" data-dojo-attach-point=\"decrementButton\"><span class=\"dijitSliderButtonInner\">+</span></div\n\t\t></td\n\t\t><td class=\"dijitReset\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\"></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><center><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperV dijitSliderTopBumper\" data-dojo-attach-event=\"press:_onClkIncBumper\"></div></center\n\t\t></td\n\t\t><td class=\"dijitReset\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td data-dojo-attach-point=\"leftDecoration\" class=\"dijitReset dijitSliderDecoration dijitSliderDecorationL dijitSliderDecorationV\"></td\n\t\t><td class=\"dijitReset dijitSliderDecorationC\" style=\"height:100%;\"\n\t\t\t><input data-dojo-attach-point=\"valueNode\" type=\"hidden\" ${!nameAttrSetting}\n\t\t\t/><center class=\"dijitReset dijitSliderBarContainerV\" role=\"presentation\" data-dojo-attach-point=\"sliderBarContainer\"\n\t\t\t\t><div role=\"presentation\" data-dojo-attach-point=\"remainingBar\" class=\"dijitSliderBar dijitSliderBarV dijitSliderRemainingBar dijitSliderRemainingBarV\" data-dojo-attach-event=\"press:_onBarClick\"><!--#5629--></div\n\t\t\t\t><div role=\"presentation\" data-dojo-attach-point=\"progressBar\" class=\"dijitSliderBar dijitSliderBarV dijitSliderProgressBar dijitSliderProgressBarV\" data-dojo-attach-event=\"press:_onBarClick\"\n\t\t\t\t\t><div class=\"dijitSliderMoveable dijitSliderMoveableV\" style=\"vertical-align:top;\"\n\t\t\t\t\t\t><div data-dojo-attach-point=\"sliderHandle,focusNode\" class=\"dijitSliderImageHandle dijitSliderImageHandleV\" data-dojo-attach-event=\"press:_onHandleClick\" role=\"slider\" valuemin=\"${minimum}\" valuemax=\"${maximum}\"></div\n\t\t\t\t\t></div\n\t\t\t\t></div\n\t\t\t></center\n\t\t></td\n\t\t><td data-dojo-attach-point=\"containerNode,rightDecoration\" class=\"dijitReset dijitSliderDecoration dijitSliderDecorationR dijitSliderDecorationV\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\"></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><center><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperV dijitSliderBottomBumper\" data-dojo-attach-event=\"press:_onClkDecBumper\"></div></center\n\t\t></td\n\t\t><td class=\"dijitReset\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\"></td\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerV\"\n\t\t\t><div class=\"dijitSliderDecrementIconV\" style=\"display:none\" data-dojo-attach-point=\"incrementButton\"><span class=\"dijitSliderButtonInner\">-</span></div\n\t\t></td\n\t\t><td class=\"dijitReset\"></td\n\t></tr\n></table>\n"}});define("dijit/form/VerticalSlider",["dojo/_base/declare","./HorizontalSlider","dojo/text!./templates/VerticalSlider.html"],function(_1fd,_1fe,_1ff){return _1fd("dijit.form.VerticalSlider",_1fe,{templateString:_1ff,_mousePixelCoord:"pageY",_pixelCount:"h",_startingPixelCoord:"y",_handleOffsetCoord:"top",_progressPixelSize:"height",_descending:true,_isReversed:function(){return this._descending;}});});},"dijit/form/DropDownButton":function(){require({cache:{"url:dijit/form/templates/DropDownButton.html":"<span class=\"dijit dijitReset dijitInline\"\n\t><span class='dijitReset dijitInline dijitButtonNode'\n\t\tdata-dojo-attach-event=\"ondijitclick:_onClick\" data-dojo-attach-point=\"_buttonNode\"\n\t\t><span class=\"dijitReset dijitStretch dijitButtonContents\"\n\t\t\tdata-dojo-attach-point=\"focusNode,titleNode,_arrowWrapperNode\"\n\t\t\trole=\"button\" aria-haspopup=\"true\" aria-labelledby=\"${id}_label\"\n\t\t\t><span class=\"dijitReset dijitInline dijitIcon\"\n\t\t\t\tdata-dojo-attach-point=\"iconNode\"\n\t\t\t></span\n\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\"\n\t\t\t\tdata-dojo-attach-point=\"containerNode,_popupStateNode\"\n\t\t\t\tid=\"${id}_label\"\n\t\t\t></span\n\t\t\t><span class=\"dijitReset dijitInline dijitArrowButtonInner\"></span\n\t\t\t><span class=\"dijitReset dijitInline dijitArrowButtonChar\">&#9660;</span\n\t\t></span\n\t></span\n\t><input ${!nameAttrSetting} type=\"${type}\" value=\"${value}\" class=\"dijitOffScreen\" tabIndex=\"-1\"\n\t\tdata-dojo-attach-point=\"valueNode\" role=\"presentation\"\n/></span>\n"}});define("dijit/form/DropDownButton",["dojo/_base/declare","dojo/_base/lang","dojo/query","../registry","../popup","./Button","../_Container","../_HasDropDown","dojo/text!./templates/DropDownButton.html"],function(_200,lang,_201,_202,_203,_204,_205,_206,_207){return _200("dijit.form.DropDownButton",[_204,_205,_206],{baseClass:"dijitDropDownButton",templateString:_207,_fillContent:function(){if(this.srcNodeRef){var _208=_201("*",this.srcNodeRef);this.inherited(arguments,[_208[0]]);this.dropDownContainer=this.srcNodeRef;}},startup:function(){if(this._started){return;}if(!this.dropDown&&this.dropDownContainer){var _209=_201("[widgetId]",this.dropDownContainer)[0];this.dropDown=_202.byNode(_209);delete this.dropDownContainer;}if(this.dropDown){_203.hide(this.dropDown);}this.inherited(arguments);},isLoaded:function(){var _20a=this.dropDown;return (!!_20a&&(!_20a.href||_20a.isLoaded));},loadDropDown:function(_20b){var _20c=this.dropDown;var _20d=_20c.on("load",lang.hitch(this,function(){_20d.remove();_20b();}));_20c.refresh();},isFocusable:function(){return this.inherited(arguments)&&!this._mouseDown;}});});},"dijit/layout/_ContentPaneResizeMixin":function(){define("dijit/layout/_ContentPaneResizeMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/_base/lang","dojo/query","dojo/_base/sniff","dojo/_base/window","../registry","./utils","../_Contained"],function(_20e,_20f,_210,_211,_212,lang,_213,has,win,_214,_215,_216){return _20f("dijit.layout._ContentPaneResizeMixin",null,{doLayout:true,isLayoutContainer:true,startup:function(){if(this._started){return;}var _217=this.getParent();this._childOfLayoutWidget=_217&&_217.isLayoutContainer;this._needLayout=!this._childOfLayoutWidget;this.inherited(arguments);if(this._isShown()){this._onShow();}if(!this._childOfLayoutWidget){this.connect(has("ie")?this.domNode:win.global,"onresize",function(){this._needLayout=!this._childOfLayoutWidget;this.resize();});}},_checkIfSingleChild:function(){var _218=_213("> *",this.containerNode).filter(function(node){return node.tagName!=="SCRIPT";}),_219=_218.filter(function(node){return _210.has(node,"data-dojo-type")||_210.has(node,"dojoType")||_210.has(node,"widgetId");}),_21a=_20e.filter(_219.map(_214.byNode),function(_21b){return _21b&&_21b.domNode&&_21b.resize;});if(_218.length==_219.length&&_21a.length==1){this._singleChild=_21a[0];}else{delete this._singleChild;}_211.toggle(this.containerNode,this.baseClass+"SingleChild",!!this._singleChild);},resize:function(_21c,_21d){if(!this._wasShown&&this.open!==false){this._onShow();}this._resizeCalled=true;this._scheduleLayout(_21c,_21d);},_scheduleLayout:function(_21e,_21f){if(this._isShown()){this._layout(_21e,_21f);}else{this._needLayout=true;this._changeSize=_21e;this._resultSize=_21f;}},_layout:function(_220,_221){if(_220){_212.setMarginBox(this.domNode,_220);}var cn=this.containerNode;if(cn===this.domNode){var mb=_221||{};lang.mixin(mb,_220||{});if(!("h" in mb)||!("w" in mb)){mb=lang.mixin(_212.getMarginBox(cn),mb);}this._contentBox=_215.marginBox2contentBox(cn,mb);}else{this._contentBox=_212.getContentBox(cn);}this._layoutChildren();delete this._needLayout;},_layoutChildren:function(){if(this.doLayout){this._checkIfSingleChild();}if(this._singleChild&&this._singleChild.resize){var cb=this._contentBox||_212.getContentBox(this.containerNode);this._singleChild.resize({w:cb.w,h:cb.h});}else{_20e.forEach(this.getChildren(),function(_222){if(_222.resize){_222.resize();}});}},_isShown:function(){if(this._childOfLayoutWidget){if(this._resizeCalled&&"open" in this){return this.open;}return this._resizeCalled;}else{if("open" in this){return this.open;}else{var node=this.domNode,_223=this.domNode.parentNode;return (node.style.display!="none")&&(node.style.visibility!="hidden")&&!_211.contains(node,"dijitHidden")&&_223&&_223.style&&(_223.style.display!="none");}}},_onShow:function(){this._wasShown=true;if(this._needLayout){this._layout(this._changeSize,this._resultSize);}this.inherited(arguments);}});});},"dijit/form/RangeBoundTextBox":function(){define("dijit/form/RangeBoundTextBox",["dojo/_base/declare","dojo/i18n","./MappedTextBox"],function(_224,i18n,_225){return _224("dijit.form.RangeBoundTextBox",_225,{rangeMessage:"",rangeCheck:function(_226,_227){return ("min" in _227?(this.compare(_226,_227.min)>=0):true)&&("max" in _227?(this.compare(_226,_227.max)<=0):true);},isInRange:function(){return this.rangeCheck(this.get("value"),this.constraints);},_isDefinitelyOutOfRange:function(){var val=this.get("value");var _228=false;var _229=false;if("min" in this.constraints){var min=this.constraints.min;min=this.compare(val,((typeof min=="number")&&min>=0&&val!=0)?0:min);_228=(typeof min=="number")&&min<0;}if("max" in this.constraints){var max=this.constraints.max;max=this.compare(val,((typeof max!="number")||max>0)?max:0);_229=(typeof max=="number")&&max>0;}return _228||_229;},_isValidSubset:function(){return this.inherited(arguments)&&!this._isDefinitelyOutOfRange();},isValid:function(_22a){return this.inherited(arguments)&&((this._isEmpty(this.textbox.value)&&!this.required)||this.isInRange(_22a));},getErrorMessage:function(_22b){var v=this.get("value");if(v!==null&&v!==""&&v!==undefined&&(typeof v!="number"||!isNaN(v))&&!this.isInRange(_22b)){return this.rangeMessage;}return this.inherited(arguments);},postMixInProperties:function(){this.inherited(arguments);if(!this.rangeMessage){this.messages=i18n.getLocalization("dijit.form","validate",this.lang);this.rangeMessage=this.messages.rangeMessage;}},_setConstraintsAttr:function(_22c){this.inherited(arguments);if(this.focusNode){if(this.constraints.min!==undefined){this.focusNode.setAttribute("aria-valuemin",this.constraints.min);}else{this.focusNode.removeAttribute("aria-valuemin");}if(this.constraints.max!==undefined){this.focusNode.setAttribute("aria-valuemax",this.constraints.max);}else{this.focusNode.removeAttribute("aria-valuemax");}}},_setValueAttr:function(_22d,_22e){this.focusNode.setAttribute("aria-valuenow",_22d);this.inherited(arguments);},applyTextDir:function(){}});});},"dojo/store/util/SimpleQueryEngine":function(){define("dojo/store/util/SimpleQueryEngine",["../../_base/array"],function(_22f){return function(_230,_231){switch(typeof _230){default:throw new Error("Can not query with a "+typeof _230);case "object":case "undefined":var _232=_230;_230=function(_233){for(var key in _232){var _234=_232[key];if(_234&&_234.test){if(!_234.test(_233[key])){return false;}}else{if(_234!=_233[key]){return false;}}}return true;};break;case "string":if(!this[_230]){throw new Error("No filter function "+_230+" was found in store");}_230=this[_230];case "function":}function _235(_236){var _237=_22f.filter(_236,_230);if(_231&&_231.sort){_237.sort(function(a,b){for(var sort,i=0;sort=_231.sort[i];i++){var _238=a[sort.attribute];var _239=b[sort.attribute];_238=_238!=null?_238.valueOf():_238;_239=_239!=null?_239.valueOf():_239;if(_238!=_239){return !!sort.descending==_238>_239?-1:1;}}return 0;});}if(_231&&(_231.start||_231.count)){var _23a=_237.length;_237=_237.slice(_231.start||0,(_231.start||0)+(_231.count||Infinity));_237.total=_23a;}return _237;};_235.matches=_230;return _235;};});},"dijit/form/_ExpandingTextAreaMixin":function(){define("dijit/form/_ExpandingTextAreaMixin",["dojo/_base/declare","dojo/dom-construct","dojo/_base/lang","dojo/_base/window"],function(_23b,_23c,lang,win){var _23d;return _23b("dijit.form._ExpandingTextAreaMixin",null,{_setValueAttr:function(){this.inherited(arguments);this.resize();},postCreate:function(){this.inherited(arguments);var _23e=this.textbox;if(_23d==undefined){var te=_23c.create("textarea",{rows:"5",cols:"20",value:" ",style:{zoom:1,fontSize:"12px",height:"96px",overflow:"hidden",visibility:"hidden",position:"absolute",border:"5px solid white",margin:"0",padding:"0",boxSizing:"border-box",MsBoxSizing:"border-box",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box"}},win.body(),"last");_23d=te.scrollHeight>=te.clientHeight;win.body().removeChild(te);}this.connect(_23e,"onresize","_resizeLater");this.connect(_23e,"onfocus","_resizeLater");_23e.style.overflowY="hidden";},startup:function(){this.inherited(arguments);this._resizeLater();},_onInput:function(e){this.inherited(arguments);this.resize();},_estimateHeight:function(){var _23f=this.textbox;_23f.rows=(_23f.value.match(/\n/g)||[]).length+1;},_resizeLater:function(){this.defer("resize");},resize:function(){var _240=this.textbox;function _241(){var _242=false;if(_240.value===""){_240.value=" ";_242=true;}var sh=_240.scrollHeight;if(_242){_240.value="";}return sh;};if(_240.style.overflowY=="hidden"){_240.scrollTop=0;}if(this.busyResizing){return;}this.busyResizing=true;if(_241()||_240.offsetHeight){var newH=_241()+Math.max(_240.offsetHeight-_240.clientHeight,0);var _243=newH+"px";if(_243!=_240.style.height){_240.style.height=_243;_240.rows=1;}if(_23d){var _244=_241(),_245=_244,_246=_240.style.minHeight,_247=4,_248,_249=_240.scrollTop;_240.style.minHeight=_243;_240.style.height="auto";while(newH>0){_240.style.minHeight=Math.max(newH-_247,4)+"px";_248=_241();var _24a=_245-_248;newH-=_24a;if(_24a<_247){break;}_245=_248;_247<<=1;}_240.style.height=newH+"px";_240.style.minHeight=_246;_240.scrollTop=_249;}_240.style.overflowY=_241()>_240.clientHeight?"auto":"hidden";if(_240.style.overflowY=="hidden"){_240.scrollTop=0;}}else{this._estimateHeight();}this.busyResizing=false;}});});},"dijit/form/HorizontalRule":function(){define("dijit/form/HorizontalRule",["dojo/_base/declare","../_Widget","../_TemplatedMixin"],function(_24b,_24c,_24d){return _24b("dijit.form.HorizontalRule",[_24c,_24d],{templateString:"<div class=\"dijitRuleContainer dijitRuleContainerH\"></div>",count:3,container:"containerNode",ruleStyle:"",_positionPrefix:"<div class=\"dijitRuleMark dijitRuleMarkH\" style=\"left:",_positionSuffix:"%;",_suffix:"\"></div>",_genHTML:function(pos){return this._positionPrefix+pos+this._positionSuffix+this.ruleStyle+this._suffix;},_isHorizontal:true,buildRendering:function(){this.inherited(arguments);var _24e;if(this.count==1){_24e=this._genHTML(50,0);}else{var i;var _24f=100/(this.count-1);if(!this._isHorizontal||this.isLeftToRight()){_24e=this._genHTML(0,0);for(i=1;i<this.count-1;i++){_24e+=this._genHTML(_24f*i,i);}_24e+=this._genHTML(100,this.count-1);}else{_24e=this._genHTML(100,0);for(i=1;i<this.count-1;i++){_24e+=this._genHTML(100-_24f*i,i);}_24e+=this._genHTML(0,this.count-1);}}this.domNode.innerHTML=_24e;}});});},"dijit/form/_Spinner":function(){require({cache:{"url:dijit/form/templates/Spinner.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\"\n\tid=\"widget_${id}\" role=\"presentation\"\n\t><div class=\"dijitReset dijitButtonNode dijitSpinnerButtonContainer\"\n\t\t><input class=\"dijitReset dijitInputField dijitSpinnerButtonInner\" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t/><div class=\"dijitReset dijitLeft dijitButtonNode dijitArrowButton dijitUpArrowButton\"\n\t\t\tdata-dojo-attach-point=\"upArrowNode\"\n\t\t\t><div class=\"dijitArrowButtonInner\"\n\t\t\t\t><input class=\"dijitReset dijitInputField\" value=\"&#9650;\" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t\t\t\t${_buttonInputDisabled}\n\t\t\t/></div\n\t\t></div\n\t\t><div class=\"dijitReset dijitLeft dijitButtonNode dijitArrowButton dijitDownArrowButton\"\n\t\t\tdata-dojo-attach-point=\"downArrowNode\"\n\t\t\t><div class=\"dijitArrowButtonInner\"\n\t\t\t\t><input class=\"dijitReset dijitInputField\" value=\"&#9660;\" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t\t\t\t${_buttonInputDisabled}\n\t\t\t/></div\n\t\t></div\n\t></div\n\t><div class='dijitReset dijitValidationContainer'\n\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935;\" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t/></div\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class='dijitReset dijitInputInner' data-dojo-attach-point=\"textbox,focusNode\" type=\"${type}\" data-dojo-attach-event=\"onkeypress:_onKeyPress\"\n\t\t\trole=\"spinbutton\" autocomplete=\"off\" ${!nameAttrSetting}\n\t/></div\n></div>\n"}});define("dijit/form/_Spinner",["dojo/_base/declare","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/_base/sniff","dijit/typematic","./RangeBoundTextBox","dojo/text!./templates/Spinner.html","./_TextBoxMixin"],function(_250,_251,keys,lang,has,_252,_253,_254,_255){return _250("dijit.form._Spinner",_253,{defaultTimeout:500,minimumTimeout:10,timeoutChangeRate:0.9,smallDelta:1,largeDelta:10,templateString:_254,baseClass:"dijitTextBox dijitSpinner",cssStateNodes:{"upArrowNode":"dijitUpArrowButton","downArrowNode":"dijitDownArrowButton"},adjust:function(val){return val;},_arrowPressed:function(_256,_257,_258){if(this.disabled||this.readOnly){return;}this._setValueAttr(this.adjust(this.get("value"),_257*_258),false);_255.selectInputText(this.textbox,this.textbox.value.length);},_arrowReleased:function(){this._wheelTimer=null;},_typematicCallback:function(_259,node,evt){var inc=this.smallDelta;if(node==this.textbox){var key=evt.charOrCode;inc=(key==keys.PAGE_UP||key==keys.PAGE_DOWN)?this.largeDelta:this.smallDelta;node=(key==keys.UP_ARROW||key==keys.PAGE_UP)?this.upArrowNode:this.downArrowNode;}if(_259==-1){this._arrowReleased(node);}else{this._arrowPressed(node,(node==this.upArrowNode)?1:-1,inc);}},_wheelTimer:null,_mouseWheeled:function(evt){_251.stop(evt);var _25a=evt.wheelDelta/120;if(Math.floor(_25a)!=_25a){_25a=evt.wheelDelta>0?1:-1;}var _25b=evt.detail?(evt.detail*-1):_25a;if(_25b!==0){var node=this[(_25b>0?"upArrowNode":"downArrowNode")];this._arrowPressed(node,_25b,this.smallDelta);if(!this._wheelTimer){clearTimeout(this._wheelTimer);}this._wheelTimer=setTimeout(lang.hitch(this,"_arrowReleased",node),50);}},postCreate:function(){this.inherited(arguments);this.connect(this.domNode,!has("mozilla")?"onmousewheel":"DOMMouseScroll","_mouseWheeled");this._connects.push(_252.addListener(this.upArrowNode,this.textbox,{charOrCode:keys.UP_ARROW,ctrlKey:false,altKey:false,shiftKey:false,metaKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout));this._connects.push(_252.addListener(this.downArrowNode,this.textbox,{charOrCode:keys.DOWN_ARROW,ctrlKey:false,altKey:false,shiftKey:false,metaKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout));this._connects.push(_252.addListener(this.upArrowNode,this.textbox,{charOrCode:keys.PAGE_UP,ctrlKey:false,altKey:false,shiftKey:false,metaKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout));this._connects.push(_252.addListener(this.downArrowNode,this.textbox,{charOrCode:keys.PAGE_DOWN,ctrlKey:false,altKey:false,shiftKey:false,metaKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout,this.minimumTimeout));}});});},"dijit/form/Button":function(){require({cache:{"url:dijit/form/templates/Button.html":"<span class=\"dijit dijitReset dijitInline\" role=\"presentation\"\n\t><span class=\"dijitReset dijitInline dijitButtonNode\"\n\t\tdata-dojo-attach-event=\"ondijitclick:_onClick\" role=\"presentation\"\n\t\t><span class=\"dijitReset dijitStretch dijitButtonContents\"\n\t\t\tdata-dojo-attach-point=\"titleNode,focusNode\"\n\t\t\trole=\"button\" aria-labelledby=\"${id}_label\"\n\t\t\t><span class=\"dijitReset dijitInline dijitIcon\" data-dojo-attach-point=\"iconNode\"></span\n\t\t\t><span class=\"dijitReset dijitToggleButtonIconChar\">&#x25CF;</span\n\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\"\n\t\t\t\tid=\"${id}_label\"\n\t\t\t\tdata-dojo-attach-point=\"containerNode\"\n\t\t\t></span\n\t\t></span\n\t></span\n\t><input ${!nameAttrSetting} type=\"${type}\" value=\"${value}\" class=\"dijitOffScreen\"\n\t\ttabIndex=\"-1\" role=\"presentation\" data-dojo-attach-point=\"valueNode\"\n/></span>\n"}});define("dijit/form/Button",["require","dojo/_base/declare","dojo/dom-class","dojo/_base/kernel","dojo/_base/lang","dojo/ready","./_FormWidget","./_ButtonMixin","dojo/text!./templates/Button.html"],function(_25c,_25d,_25e,_25f,lang,_260,_261,_262,_263){if(!_25f.isAsync){_260(0,function(){var _264=["dijit/form/DropDownButton","dijit/form/ComboButton","dijit/form/ToggleButton"];_25c(_264);});}return _25d("dijit.form.Button",[_261,_262],{showLabel:true,iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitButton",templateString:_263,_setValueAttr:"valueNode",_onClick:function(e){var ok=this.inherited(arguments);if(ok){if(this.valueNode){this.valueNode.click();e.preventDefault();}}return ok;},_fillContent:function(_265){if(_265&&(!this.params||!("label" in this.params))){var _266=lang.trim(_265.innerHTML);if(_266){this.label=_266;}}},_setShowLabelAttr:function(val){if(this.containerNode){_25e.toggle(this.containerNode,"dijitDisplayNone",!val);}this._set("showLabel",val);},setLabel:function(_267){_25f.deprecated("dijit.form.Button.setLabel() is deprecated.  Use set('label', ...) instead.","","2.0");this.set("label",_267);},_setLabelAttr:function(_268){this.inherited(arguments);if(!this.showLabel&&!("title" in this.params)){this.titleNode.title=lang.trim(this.containerNode.innerText||this.containerNode.textContent||"");}}});});},"dijit/form/Form":function(){define("dijit/form/Form",["dojo/_base/declare","dojo/dom-attr","dojo/_base/event","dojo/_base/kernel","dojo/_base/sniff","../_Widget","../_TemplatedMixin","./_FormMixin","../layout/_ContentPaneResizeMixin"],function(_269,_26a,_26b,_26c,has,_26d,_26e,_26f,_270){return _269("dijit.form.Form",[_26d,_26e,_26f,_270],{name:"",action:"",method:"",encType:"","accept-charset":"",accept:"",target:"",templateString:"<form data-dojo-attach-point='containerNode' data-dojo-attach-event='onreset:_onReset,onsubmit:_onSubmit' ${!nameAttrSetting}></form>",postMixInProperties:function(){this.nameAttrSetting=this.name?("name='"+this.name+"'"):"";this.inherited(arguments);},execute:function(){},onExecute:function(){},_setEncTypeAttr:function(_271){this.encType=_271;_26a.set(this.domNode,"encType",_271);if(has("ie")){this.domNode.encoding=_271;}},reset:function(e){var faux={returnValue:true,preventDefault:function(){this.returnValue=false;},stopPropagation:function(){},currentTarget:e?e.target:this.domNode,target:e?e.target:this.domNode};if(!(this.onReset(faux)===false)&&faux.returnValue){this.inherited(arguments,[]);}},onReset:function(){return true;},_onReset:function(e){this.reset(e);_26b.stop(e);return false;},_onSubmit:function(e){var fp=this.constructor.prototype;if(this.execute!=fp.execute||this.onExecute!=fp.onExecute){_26c.deprecated("dijit.form.Form:execute()/onExecute() are deprecated. Use onSubmit() instead.","","2.0");this.onExecute();this.execute(this.getValues());}if(this.onSubmit(e)===false){_26b.stop(e);}},onSubmit:function(){return this.isValid();},submit:function(){if(!(this.onSubmit()===false)){this.containerNode.submit();}}});});},"dojo/store/Memory":function(){define("dojo/store/Memory",["../_base/declare","./util/QueryResults","./util/SimpleQueryEngine"],function(_272,_273,_274){return _272("dojo.store.Memory",null,{constructor:function(_275){for(var i in _275){this[i]=_275[i];}this.setData(this.data||[]);},data:null,idProperty:"id",index:null,queryEngine:_274,get:function(id){return this.data[this.index[id]];},getIdentity:function(_276){return _276[this.idProperty];},put:function(_277,_278){var data=this.data,_279=this.index,_27a=this.idProperty;var id=(_278&&"id" in _278)?_278.id:_27a in _277?_277[_27a]:Math.random();if(id in _279){if(_278&&_278.overwrite===false){throw new Error("Object already exists");}data[_279[id]]=_277;}else{_279[id]=data.push(_277)-1;}return id;},add:function(_27b,_27c){(_27c=_27c||{}).overwrite=false;return this.put(_27b,_27c);},remove:function(id){var _27d=this.index;var data=this.data;if(id in _27d){data.splice(_27d[id],1);this.setData(data);return true;}},query:function(_27e,_27f){return _273(this.queryEngine(_27e,_27f)(this.data));},setData:function(data){if(data.items){this.idProperty=data.identifier||this.idProperty;data=this.data=data.items;}else{this.data=data;}this.index={};for(var i=0,l=data.length;i<l;i++){this.index[data[i][this.idProperty]]=i;}}});});},"url:dijit/templates/Tooltip.html":"<div class=\"dijitTooltip dijitTooltipLeft\" id=\"dojoTooltip\"\n\t><div class=\"dijitTooltipContainer dijitTooltipContents\" data-dojo-attach-point=\"containerNode\" role='alert'></div\n\t><div class=\"dijitTooltipConnector\" data-dojo-attach-point=\"connectorNode\"></div\n></div>\n","dijit/form/ComboBox":function(){define("dijit/form/ComboBox",["dojo/_base/declare","./ValidationTextBox","./ComboBoxMixin"],function(_280,_281,_282){return _280("dijit.form.ComboBox",[_281,_282],{});});},"dijit/form/_FormMixin":function(){define("dijit/form/_FormMixin",["dojo/_base/array","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/window"],function(_283,_284,_285,lang,_286){return _284("dijit.form._FormMixin",null,{state:"",_getDescendantFormWidgets:function(_287){var res=[];_283.forEach(_287||this.getChildren(),function(_288){if("value" in _288){res.push(_288);}else{res=res.concat(this._getDescendantFormWidgets(_288.getChildren()));}},this);return res;},reset:function(){_283.forEach(this._getDescendantFormWidgets(),function(_289){if(_289.reset){_289.reset();}});},validate:function(){var _28a=false;return _283.every(_283.map(this._getDescendantFormWidgets(),function(_28b){_28b._hasBeenBlurred=true;var _28c=_28b.disabled||!_28b.validate||_28b.validate();if(!_28c&&!_28a){_286.scrollIntoView(_28b.containerNode||_28b.domNode);_28b.focus();_28a=true;}return _28c;}),function(item){return item;});},setValues:function(val){_285.deprecated(this.declaredClass+"::setValues() is deprecated. Use set('value', val) instead.","","2.0");return this.set("value",val);},_setValueAttr:function(obj){var map={};_283.forEach(this._getDescendantFormWidgets(),function(_28d){if(!_28d.name){return;}var _28e=map[_28d.name]||(map[_28d.name]=[]);_28e.push(_28d);});for(var name in map){if(!map.hasOwnProperty(name)){continue;}var _28f=map[name],_290=lang.getObject(name,false,obj);if(_290===undefined){continue;}if(!lang.isArray(_290)){_290=[_290];}if(typeof _28f[0].checked=="boolean"){_283.forEach(_28f,function(w){w.set("value",_283.indexOf(_290,w.value)!=-1);});}else{if(_28f[0].multiple){_28f[0].set("value",_290);}else{_283.forEach(_28f,function(w,i){w.set("value",_290[i]);});}}}},getValues:function(){_285.deprecated(this.declaredClass+"::getValues() is deprecated. Use get('value') instead.","","2.0");return this.get("value");},_getValueAttr:function(){var obj={};_283.forEach(this._getDescendantFormWidgets(),function(_291){var name=_291.name;if(!name||_291.disabled){return;}var _292=_291.get("value");if(typeof _291.checked=="boolean"){if(/Radio/.test(_291.declaredClass)){if(_292!==false){lang.setObject(name,_292,obj);}else{_292=lang.getObject(name,false,obj);if(_292===undefined){lang.setObject(name,null,obj);}}}else{var ary=lang.getObject(name,false,obj);if(!ary){ary=[];lang.setObject(name,ary,obj);}if(_292!==false){ary.push(_292);}}}else{var prev=lang.getObject(name,false,obj);if(typeof prev!="undefined"){if(lang.isArray(prev)){prev.push(_292);}else{lang.setObject(name,[prev,_292],obj);}}else{lang.setObject(name,_292,obj);}}});return obj;},isValid:function(){return this.state=="";},onValidStateChange:function(){},_getState:function(){var _293=_283.map(this._descendants,function(w){return w.get("state")||"";});return _283.indexOf(_293,"Error")>=0?"Error":_283.indexOf(_293,"Incomplete")>=0?"Incomplete":"";},disconnectChildren:function(){_283.forEach(this._childConnections||[],lang.hitch(this,"disconnect"));_283.forEach(this._childWatches||[],function(w){w.unwatch();});},connectChildren:function(_294){var _295=this;this.disconnectChildren();this._descendants=this._getDescendantFormWidgets();var set=_294?function(name,val){_295[name]=val;}:lang.hitch(this,"_set");set("value",this.get("value"));set("state",this._getState());var _296=(this._childConnections=[]),_297=(this._childWatches=[]);_283.forEach(_283.filter(this._descendants,function(item){return item.validate;}),function(_298){_283.forEach(["state","disabled"],function(attr){_297.push(_298.watch(attr,function(){_295.set("state",_295._getState());}));});});var _299=function(){if(_295._onChangeDelayTimer){clearTimeout(_295._onChangeDelayTimer);}_295._onChangeDelayTimer=setTimeout(function(){delete _295._onChangeDelayTimer;_295._set("value",_295.get("value"));},10);};_283.forEach(_283.filter(this._descendants,function(item){return item.onChange;}),function(_29a){_296.push(_295.connect(_29a,"onChange",_299));_297.push(_29a.watch("disabled",_299));});},startup:function(){this.inherited(arguments);this.connectChildren(true);this.watch("state",function(attr,_29b,_29c){this.onValidStateChange(_29c=="");});},destroy:function(){this.disconnectChildren();this.inherited(arguments);}});});},"dijit/form/_CheckBoxMixin":function(){define("dijit/form/_CheckBoxMixin",["dojo/_base/declare","dojo/dom-attr","dojo/_base/event"],function(_29d,_29e,_29f){return _29d("dijit.form._CheckBoxMixin",null,{type:"checkbox",value:"on",readOnly:false,_aria_attr:"aria-checked",_setReadOnlyAttr:function(_2a0){this._set("readOnly",_2a0);_29e.set(this.focusNode,"readOnly",_2a0);},_setLabelAttr:undefined,postMixInProperties:function(){if(this.value==""){this.value="on";}this.inherited(arguments);},reset:function(){this.inherited(arguments);this._set("value",this.params.value||"on");_29e.set(this.focusNode,"value",this.value);},_onClick:function(e){if(this.readOnly){_29f.stop(e);return false;}return this.inherited(arguments);}});});},"url:dijit/form/templates/ValidationTextBox.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\"\n\tid=\"widget_${id}\" role=\"presentation\"\n\t><div class='dijitReset dijitValidationContainer'\n\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t/></div\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class=\"dijitReset dijitInputInner\" data-dojo-attach-point='textbox,focusNode' autocomplete=\"off\"\n\t\t\t${!nameAttrSetting} type='${type}'\n\t/></div\n></div>\n","url:dijit/form/templates/TextBox.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\" id=\"widget_${id}\" role=\"presentation\"\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class=\"dijitReset dijitInputInner\" data-dojo-attach-point='textbox,focusNode' autocomplete=\"off\"\n\t\t\t${!nameAttrSetting} type='${type}'\n\t/></div\n></div>\n","dijit/layout/utils":function(){define("dijit/layout/utils",["dojo/_base/array","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang",".."],function(_2a1,_2a2,_2a3,_2a4,lang,_2a5){var _2a6=lang.getObject("layout",true,_2a5);_2a6.marginBox2contentBox=function(node,mb){var cs=_2a4.getComputedStyle(node);var me=_2a3.getMarginExtents(node,cs);var pb=_2a3.getPadBorderExtents(node,cs);return {l:_2a4.toPixelValue(node,cs.paddingLeft),t:_2a4.toPixelValue(node,cs.paddingTop),w:mb.w-(me.w+pb.w),h:mb.h-(me.h+pb.h)};};function _2a7(word){return word.substring(0,1).toUpperCase()+word.substring(1);};function size(_2a8,dim){var _2a9=_2a8.resize?_2a8.resize(dim):_2a3.setMarginBox(_2a8.domNode,dim);if(_2a9){lang.mixin(_2a8,_2a9);}else{lang.mixin(_2a8,_2a3.getMarginBox(_2a8.domNode));lang.mixin(_2a8,dim);}};_2a6.layoutChildren=function(_2aa,dim,_2ab,_2ac,_2ad){dim=lang.mixin({},dim);_2a2.add(_2aa,"dijitLayoutContainer");_2ab=_2a1.filter(_2ab,function(item){return item.region!="center"&&item.layoutAlign!="client";}).concat(_2a1.filter(_2ab,function(item){return item.region=="center"||item.layoutAlign=="client";}));_2a1.forEach(_2ab,function(_2ae){var elm=_2ae.domNode,pos=(_2ae.region||_2ae.layoutAlign);if(!pos){throw new Error("No region setting for "+_2ae.id);}var _2af=elm.style;_2af.left=dim.l+"px";_2af.top=dim.t+"px";_2af.position="absolute";_2a2.add(elm,"dijitAlign"+_2a7(pos));var _2b0={};if(_2ac&&_2ac==_2ae.id){_2b0[_2ae.region=="top"||_2ae.region=="bottom"?"h":"w"]=_2ad;}if(pos=="top"||pos=="bottom"){_2b0.w=dim.w;size(_2ae,_2b0);dim.h-=_2ae.h;if(pos=="top"){dim.t+=_2ae.h;}else{_2af.top=dim.t+dim.h+"px";}}else{if(pos=="left"||pos=="right"){_2b0.h=dim.h;size(_2ae,_2b0);dim.w-=_2ae.w;if(pos=="left"){dim.l+=_2ae.w;}else{_2af.left=dim.l+dim.w+"px";}}else{if(pos=="client"||pos=="center"){size(_2ae,dim);}}}});};return {marginBox2contentBox:_2a6.marginBox2contentBox,layoutChildren:_2a6.layoutChildren};});},"dijit/form/DataList":function(){define("dijit/form/DataList",["dojo/_base/declare","dojo/dom","dojo/_base/lang","dojo/query","dojo/store/Memory","../registry"],function(_2b1,dom,lang,_2b2,_2b3,_2b4){function _2b5(_2b6){return {id:_2b6.value,value:_2b6.value,name:lang.trim(_2b6.innerText||_2b6.textContent||"")};};return _2b1("dijit.form.DataList",_2b3,{constructor:function(_2b7,_2b8){this.domNode=dom.byId(_2b8);lang.mixin(this,_2b7);if(this.id){_2b4.add(this);}this.domNode.style.display="none";this.inherited(arguments,[{data:_2b2("option",this.domNode).map(_2b5)}]);},destroy:function(){_2b4.remove(this.id);},fetchSelectedItem:function(){var _2b9=_2b2("> option[selected]",this.domNode)[0]||_2b2("> option",this.domNode)[0];return _2b9&&_2b5(_2b9);}});});},"dijit/form/CheckBox":function(){require({cache:{"url:dijit/form/templates/CheckBox.html":"<div class=\"dijit dijitReset dijitInline\" role=\"presentation\"\n\t><input\n\t \t${!nameAttrSetting} type=\"${type}\" ${checkedAttrSetting}\n\t\tclass=\"dijitReset dijitCheckBoxInput\"\n\t\tdata-dojo-attach-point=\"focusNode\"\n\t \tdata-dojo-attach-event=\"onclick:_onClick\"\n/></div>\n"}});define("dijit/form/CheckBox",["require","dojo/_base/declare","dojo/dom-attr","dojo/_base/kernel","dojo/query","dojo/ready","./ToggleButton","./_CheckBoxMixin","dojo/text!./templates/CheckBox.html","dojo/NodeList-dom"],function(_2ba,_2bb,_2bc,_2bd,_2be,_2bf,_2c0,_2c1,_2c2){if(!_2bd.isAsync){_2bf(0,function(){var _2c3=["dijit/form/RadioButton"];_2ba(_2c3);});}return _2bb("dijit.form.CheckBox",[_2c0,_2c1],{templateString:_2c2,baseClass:"dijitCheckBox",_setValueAttr:function(_2c4,_2c5){if(typeof _2c4=="string"){this._set("value",_2c4);_2bc.set(this.focusNode,"value",_2c4);_2c4=true;}if(this._created){this.set("checked",_2c4,_2c5);}},_getValueAttr:function(){return (this.checked?this.value:false);},_setIconClassAttr:null,postMixInProperties:function(){this.inherited(arguments);this.checkedAttrSetting=this.checked?"checked":"";},_fillContent:function(){},_onFocus:function(){if(this.id){_2be("label[for='"+this.id+"']").addClass("dijitFocusedLabel");}this.inherited(arguments);},_onBlur:function(){if(this.id){_2be("label[for='"+this.id+"']").removeClass("dijitFocusedLabel");}this.inherited(arguments);}});});},"dijit/form/ValidationTextBox":function(){require({cache:{"url:dijit/form/templates/ValidationTextBox.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\"\n\tid=\"widget_${id}\" role=\"presentation\"\n\t><div class='dijitReset dijitValidationContainer'\n\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t/></div\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class=\"dijitReset dijitInputInner\" data-dojo-attach-point='textbox,focusNode' autocomplete=\"off\"\n\t\t\t${!nameAttrSetting} type='${type}'\n\t/></div\n></div>\n"}});define("dijit/form/ValidationTextBox",["dojo/_base/declare","dojo/i18n","./TextBox","../Tooltip","dojo/text!./templates/ValidationTextBox.html","dojo/i18n!./nls/validate"],function(_2c6,i18n,_2c7,_2c8,_2c9){return _2c6("dijit.form.ValidationTextBox",_2c7,{templateString:_2c9,baseClass:"dijitTextBox dijitValidationTextBox",required:false,promptMessage:"",invalidMessage:"$_unset_$",missingMessage:"$_unset_$",message:"",constraints:{},regExp:".*",regExpGen:function(){return this.regExp;},state:"",tooltipPosition:[],_setValueAttr:function(){this.inherited(arguments);this.validate(this.focused);},validator:function(_2ca,_2cb){return (new RegExp("^(?:"+this.regExpGen(_2cb)+")"+(this.required?"":"?")+"$")).test(_2ca)&&(!this.required||!this._isEmpty(_2ca))&&(this._isEmpty(_2ca)||this.parse(_2ca,_2cb)!==undefined);},_isValidSubset:function(){return this.textbox.value.search(this._partialre)==0;},isValid:function(){return this.validator(this.textbox.value,this.constraints);},_isEmpty:function(_2cc){return (this.trim?/^\s*$/:/^$/).test(_2cc);},getErrorMessage:function(){return (this.required&&this._isEmpty(this.textbox.value))?this.missingMessage:this.invalidMessage;},getPromptMessage:function(){return this.promptMessage;},_maskValidSubsetError:true,validate:function(_2cd){var _2ce="";var _2cf=this.disabled||this.isValid(_2cd);if(_2cf){this._maskValidSubsetError=true;}var _2d0=this._isEmpty(this.textbox.value);var _2d1=!_2cf&&_2cd&&this._isValidSubset();this._set("state",_2cf?"":(((((!this._hasBeenBlurred||_2cd)&&_2d0)||_2d1)&&this._maskValidSubsetError)?"Incomplete":"Error"));this.focusNode.setAttribute("aria-invalid",_2cf?"false":"true");if(this.state=="Error"){this._maskValidSubsetError=_2cd&&_2d1;_2ce=this.getErrorMessage(_2cd);}else{if(this.state=="Incomplete"){_2ce=this.getPromptMessage(_2cd);this._maskValidSubsetError=!this._hasBeenBlurred||_2cd;}else{if(_2d0){_2ce=this.getPromptMessage(_2cd);}}}this.set("message",_2ce);return _2cf;},displayMessage:function(_2d2){if(_2d2&&this.focused){_2c8.show(_2d2,this.domNode,this.tooltipPosition,!this.isLeftToRight());}else{_2c8.hide(this.domNode);}},_refreshState:function(){this.validate(this.focused);this.inherited(arguments);},constructor:function(){this.constraints={};},_setConstraintsAttr:function(_2d3){if(!_2d3.locale&&this.lang){_2d3.locale=this.lang;}this._set("constraints",_2d3);this._computePartialRE();},_computePartialRE:function(){var p=this.regExpGen(this.constraints);this.regExp=p;var _2d4="";if(p!=".*"){this.regExp.replace(/\\.|\[\]|\[.*?[^\\]{1}\]|\{.*?\}|\(\?[=:!]|./g,function(re){switch(re.charAt(0)){case "{":case "+":case "?":case "*":case "^":case "$":case "|":case "(":_2d4+=re;break;case ")":_2d4+="|$)";break;default:_2d4+="(?:"+re+"|$)";break;}});}try{"".search(_2d4);}catch(e){_2d4=this.regExp;console.warn("RegExp error in "+this.declaredClass+": "+this.regExp);}this._partialre="^(?:"+_2d4+")$";},postMixInProperties:function(){this.inherited(arguments);this.messages=i18n.getLocalization("dijit.form","validate",this.lang);if(this.invalidMessage=="$_unset_$"){this.invalidMessage=this.messages.invalidMessage;}if(!this.invalidMessage){this.invalidMessage=this.promptMessage;}if(this.missingMessage=="$_unset_$"){this.missingMessage=this.messages.missingMessage;}if(!this.missingMessage){this.missingMessage=this.invalidMessage;}this._setConstraintsAttr(this.constraints);},_setDisabledAttr:function(_2d5){this.inherited(arguments);this._refreshState();},_setRequiredAttr:function(_2d6){this._set("required",_2d6);this.focusNode.setAttribute("aria-required",_2d6);this._refreshState();},_setMessageAttr:function(_2d7){this._set("message",_2d7);this.displayMessage(_2d7);},reset:function(){this._maskValidSubsetError=true;this.inherited(arguments);},_onBlur:function(){this.displayMessage("");this.inherited(arguments);}});});},"dijit/form/HorizontalRuleLabels":function(){define("dijit/form/HorizontalRuleLabels",["dojo/_base/declare","dojo/number","dojo/query","./HorizontalRule"],function(_2d8,_2d9,_2da,_2db){return _2d8("dijit.form.HorizontalRuleLabels",_2db,{templateString:"<div class=\"dijitRuleContainer dijitRuleContainerH dijitRuleLabelsContainer dijitRuleLabelsContainerH\"></div>",labelStyle:"",labels:[],numericMargin:0,minimum:0,maximum:1,constraints:{pattern:"#%"},_positionPrefix:"<div class=\"dijitRuleLabelContainer dijitRuleLabelContainerH\" style=\"left:",_labelPrefix:"\"><div class=\"dijitRuleLabel dijitRuleLabelH\">",_suffix:"</div></div>",_calcPosition:function(pos){return pos;},_genHTML:function(pos,ndx){return this._positionPrefix+this._calcPosition(pos)+this._positionSuffix+this.labelStyle+this._labelPrefix+this.labels[ndx]+this._suffix;},getLabels:function(){var _2dc=this.labels;if(!_2dc.length){_2dc=_2da("> li",this.srcNodeRef).map(function(node){return String(node.innerHTML);});}this.srcNodeRef.innerHTML="";if(!_2dc.length&&this.count>1){var _2dd=this.minimum;var inc=(this.maximum-_2dd)/(this.count-1);for(var i=0;i<this.count;i++){_2dc.push((i<this.numericMargin||i>=(this.count-this.numericMargin))?"":_2d9.format(_2dd,this.constraints));_2dd+=inc;}}return _2dc;},postMixInProperties:function(){this.inherited(arguments);this.labels=this.getLabels();this.count=this.labels.length;}});});},"dijit/form/FilteringSelect":function(){define("dijit/form/FilteringSelect",["dojo/data/util/filter","dojo/_base/declare","dojo/_base/Deferred","dojo/_base/lang","./MappedTextBox","./ComboBoxMixin"],function(_2de,_2df,_2e0,lang,_2e1,_2e2){return _2df("dijit.form.FilteringSelect",[_2e1,_2e2],{required:true,_lastDisplayedValue:"",_isValidSubset:function(){return this._opened;},isValid:function(){return !!this.item||(!this.required&&this.get("displayedValue")=="");},_refreshState:function(){if(!this.searchTimer){this.inherited(arguments);}},_callbackSetLabel:function(_2e3,_2e4,_2e5,_2e6){if((_2e4&&_2e4[this.searchAttr]!==this._lastQuery)||(!_2e4&&_2e3.length&&this.store.getIdentity(_2e3[0])!=this._lastQuery)){return;}if(!_2e3.length){this.set("value","",_2e6||(_2e6===undefined&&!this.focused),this.textbox.value,null);}else{this.set("item",_2e3[0],_2e6);}},_openResultList:function(_2e7,_2e8,_2e9){if(_2e8[this.searchAttr]!==this._lastQuery){return;}this.inherited(arguments);if(this.item===undefined){this.validate(true);}},_getValueAttr:function(){return this.valueNode.value;},_getValueField:function(){return "value";},_setValueAttr:function(_2ea,_2eb,_2ec,item){if(!this._onChangeActive){_2eb=null;}if(item===undefined){if(_2ea===null||_2ea===""){_2ea="";if(!lang.isString(_2ec)){this._setDisplayedValueAttr(_2ec||"",_2eb);return;}}var self=this;this._lastQuery=_2ea;_2e0.when(this.store.get(_2ea),function(item){self._callbackSetLabel(item?[item]:[],undefined,undefined,_2eb);});}else{this.valueNode.value=_2ea;this.inherited(arguments);}},_setItemAttr:function(item,_2ed,_2ee){this.inherited(arguments);this._lastDisplayedValue=this.textbox.value;},_getDisplayQueryString:function(text){return text.replace(/([\\\*\?])/g,"\\$1");},_setDisplayedValueAttr:function(_2ef,_2f0){if(_2ef==null){_2ef="";}if(!this._created){if(!("displayedValue" in this.params)){return;}_2f0=false;}if(this.store){this.closeDropDown();var _2f1=lang.clone(this.query);var qs=this._getDisplayQueryString(_2ef),q;if(this.store._oldAPI){q=qs;}else{q=_2de.patternToRegExp(qs,this.ignoreCase);q.toString=function(){return qs;};}this._lastQuery=_2f1[this.searchAttr]=q;this.textbox.value=_2ef;this._lastDisplayedValue=_2ef;this._set("displayedValue",_2ef);var _2f2=this;var _2f3={queryOptions:{ignoreCase:this.ignoreCase,deep:true}};lang.mixin(_2f3,this.fetchProperties);this._fetchHandle=this.store.query(_2f1,_2f3);_2e0.when(this._fetchHandle,function(_2f4){_2f2._fetchHandle=null;_2f2._callbackSetLabel(_2f4||[],_2f1,_2f3,_2f0);},function(err){_2f2._fetchHandle=null;if(!_2f2._cancelingQuery){console.error("dijit.form.FilteringSelect: "+err.toString());}});}},undo:function(){this.set("displayedValue",this._lastDisplayedValue);}});});},"dijit/form/_ButtonMixin":function(){define("dijit/form/_ButtonMixin",["dojo/_base/declare","dojo/dom","dojo/_base/event","../registry"],function(_2f5,dom,_2f6,_2f7){return _2f5("dijit.form._ButtonMixin",null,{label:"",type:"button",_onClick:function(e){if(this.disabled){_2f6.stop(e);return false;}var _2f8=this.onClick(e)===false;if(!_2f8&&this.type=="submit"&&!(this.valueNode||this.focusNode).form){for(var node=this.domNode;node.parentNode;node=node.parentNode){var _2f9=_2f7.byNode(node);if(_2f9&&typeof _2f9._onSubmit=="function"){_2f9._onSubmit(e);_2f8=true;break;}}}if(_2f8){e.preventDefault();}return !_2f8;},postCreate:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},onClick:function(){return true;},_setLabelAttr:function(_2fa){this._set("label",_2fa);(this.containerNode||this.focusNode).innerHTML=_2fa;}});});},"url:dijit/form/templates/Spinner.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\"\n\tid=\"widget_${id}\" role=\"presentation\"\n\t><div class=\"dijitReset dijitButtonNode dijitSpinnerButtonContainer\"\n\t\t><input class=\"dijitReset dijitInputField dijitSpinnerButtonInner\" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t/><div class=\"dijitReset dijitLeft dijitButtonNode dijitArrowButton dijitUpArrowButton\"\n\t\t\tdata-dojo-attach-point=\"upArrowNode\"\n\t\t\t><div class=\"dijitArrowButtonInner\"\n\t\t\t\t><input class=\"dijitReset dijitInputField\" value=\"&#9650;\" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t\t\t\t${_buttonInputDisabled}\n\t\t\t/></div\n\t\t></div\n\t\t><div class=\"dijitReset dijitLeft dijitButtonNode dijitArrowButton dijitDownArrowButton\"\n\t\t\tdata-dojo-attach-point=\"downArrowNode\"\n\t\t\t><div class=\"dijitArrowButtonInner\"\n\t\t\t\t><input class=\"dijitReset dijitInputField\" value=\"&#9660;\" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t\t\t\t${_buttonInputDisabled}\n\t\t\t/></div\n\t\t></div\n\t></div\n\t><div class='dijitReset dijitValidationContainer'\n\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935;\" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t/></div\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class='dijitReset dijitInputInner' data-dojo-attach-point=\"textbox,focusNode\" type=\"${type}\" data-dojo-attach-event=\"onkeypress:_onKeyPress\"\n\t\t\trole=\"spinbutton\" autocomplete=\"off\" ${!nameAttrSetting}\n\t/></div\n></div>\n","url:dijit/templates/InlineEditBox.html":"<span data-dojo-attach-point=\"editNode\" role=\"presentation\" style=\"position: absolute; visibility:hidden\" class=\"dijitReset dijitInline\"\n\tdata-dojo-attach-event=\"onkeypress: _onKeyPress\"\n\t><span data-dojo-attach-point=\"editorPlaceholder\"></span\n\t><span data-dojo-attach-point=\"buttonContainer\"\n\t\t><button data-dojo-type=\"dijit.form.Button\" data-dojo-props=\"label: '${buttonSave}', 'class': 'saveButton'\"\n\t\t\tdata-dojo-attach-point=\"saveButton\" data-dojo-attach-event=\"onClick:save\"></button\n\t\t><button data-dojo-type=\"dijit.form.Button\"  data-dojo-props=\"label: '${buttonCancel}', 'class': 'cancelButton'\"\n\t\t\tdata-dojo-attach-point=\"cancelButton\" data-dojo-attach-event=\"onClick:cancel\"></button\n\t></span\n></span>\n","dijit/form/VerticalRule":function(){define("dijit/form/VerticalRule",["dojo/_base/declare","./HorizontalRule"],function(_2fb,_2fc){return _2fb("dijit.form.VerticalRule",_2fc,{templateString:"<div class=\"dijitRuleContainer dijitRuleContainerV\"></div>",_positionPrefix:"<div class=\"dijitRuleMark dijitRuleMarkV\" style=\"top:",_isHorizontal:false});});},"dijit/form/_FormSelectWidget":function(){define("dijit/form/_FormSelectWidget",["dojo/_base/array","dojo/aspect","dojo/data/util/sorter","dojo/_base/declare","dojo/dom","dojo/dom-class","dojo/_base/kernel","dojo/_base/lang","dojo/query","./_FormValueWidget"],function(_2fd,_2fe,_2ff,_300,dom,_301,_302,lang,_303,_304){return _300("dijit.form._FormSelectWidget",_304,{multiple:false,options:null,store:null,query:null,queryOptions:null,onFetch:null,sortByLabel:true,loadChildrenOnOpen:false,getOptions:function(_305){var _306=_305,opts=this.options||[],l=opts.length;if(_306===undefined){return opts;}if(lang.isArray(_306)){return _2fd.map(_306,"return this.getOptions(item);",this);}if(lang.isObject(_305)){if(!_2fd.some(this.options,function(o,idx){if(o===_306||(o.value&&o.value===_306.value)){_306=idx;return true;}return false;})){_306=-1;}}if(typeof _306=="string"){for(var i=0;i<l;i++){if(opts[i].value===_306){_306=i;break;}}}if(typeof _306=="number"&&_306>=0&&_306<l){return this.options[_306];}return null;},addOption:function(_307){if(!lang.isArray(_307)){_307=[_307];}_2fd.forEach(_307,function(i){if(i&&lang.isObject(i)){this.options.push(i);}},this);this._loadChildren();},removeOption:function(_308){if(!lang.isArray(_308)){_308=[_308];}var _309=this.getOptions(_308);_2fd.forEach(_309,function(i){if(i){this.options=_2fd.filter(this.options,function(node){return (node.value!==i.value||node.label!==i.label);});this._removeOptionItem(i);}},this);this._loadChildren();},updateOption:function(_30a){if(!lang.isArray(_30a)){_30a=[_30a];}_2fd.forEach(_30a,function(i){var _30b=this.getOptions(i),k;if(_30b){for(k in i){_30b[k]=i[k];}}},this);this._loadChildren();},setStore:function(_30c,_30d,_30e){var _30f=this.store;_30e=_30e||{};if(_30f!==_30c){var h;while(h=this._notifyConnections.pop()){h.remove();}if(_30c&&_30c.getFeatures()["dojo.data.api.Notification"]){this._notifyConnections=[_2fe.after(_30c,"onNew",lang.hitch(this,"_onNewItem"),true),_2fe.after(_30c,"onDelete",lang.hitch(this,"_onDeleteItem"),true),_2fe.after(_30c,"onSet",lang.hitch(this,"_onSetItem"),true)];}this._set("store",_30c);}this._onChangeActive=false;if(this.options&&this.options.length){this.removeOption(this.options);}if(_30c){this._loadingStore=true;_30c.fetch(lang.delegate(_30e,{onComplete:function(_310,opts){if(this.sortByLabel&&!_30e.sort&&_310.length){_310.sort(_2ff.createSortFunction([{attribute:_30c.getLabelAttributes(_310[0])[0]}],_30c));}if(_30e.onFetch){_310=_30e.onFetch.call(this,_310,opts);}_2fd.forEach(_310,function(i){this._addOptionForItem(i);},this);this._loadingStore=false;this.set("value","_pendingValue" in this?this._pendingValue:_30d);delete this._pendingValue;if(!this.loadChildrenOnOpen){this._loadChildren();}else{this._pseudoLoadChildren(_310);}this._fetchedWith=opts;this._lastValueReported=this.multiple?[]:null;this._onChangeActive=true;this.onSetStore();this._handleOnChange(this.value);},scope:this}));}else{delete this._fetchedWith;}return _30f;},_setValueAttr:function(_311,_312){if(this._loadingStore){this._pendingValue=_311;return;}var opts=this.getOptions()||[];if(!lang.isArray(_311)){_311=[_311];}_2fd.forEach(_311,function(i,idx){if(!lang.isObject(i)){i=i+"";}if(typeof i==="string"){_311[idx]=_2fd.filter(opts,function(node){return node.value===i;})[0]||{value:"",label:""};}},this);_311=_2fd.filter(_311,function(i){return i&&i.value;});if(!this.multiple&&(!_311[0]||!_311[0].value)&&opts.length){_311[0]=opts[0];}_2fd.forEach(opts,function(i){i.selected=_2fd.some(_311,function(v){return v.value===i.value;});});var val=_2fd.map(_311,function(i){return i.value;}),disp=_2fd.map(_311,function(i){return i.label;});this._set("value",this.multiple?val:val[0]);this._setDisplay(this.multiple?disp:disp[0]);this._updateSelection();this._handleOnChange(this.value,_312);},_getDisplayedValueAttr:function(){var val=this.get("value");if(!lang.isArray(val)){val=[val];}var ret=_2fd.map(this.getOptions(val),function(v){if(v&&"label" in v){return v.label;}else{if(v){return v.value;}}return null;},this);return this.multiple?ret:ret[0];},_loadChildren:function(){if(this._loadingStore){return;}_2fd.forEach(this._getChildren(),function(_313){_313.destroyRecursive();});_2fd.forEach(this.options,this._addOptionItem,this);this._updateSelection();},_updateSelection:function(){this._set("value",this._getValueFromOpts());var val=this.value;if(!lang.isArray(val)){val=[val];}if(val&&val[0]){_2fd.forEach(this._getChildren(),function(_314){var _315=_2fd.some(val,function(v){return _314.option&&(v===_314.option.value);});_301.toggle(_314.domNode,this.baseClass+"SelectedOption",_315);_314.domNode.setAttribute("aria-selected",_315);},this);}},_getValueFromOpts:function(){var opts=this.getOptions()||[];if(!this.multiple&&opts.length){var opt=_2fd.filter(opts,function(i){return i.selected;})[0];if(opt&&opt.value){return opt.value;}else{opts[0].selected=true;return opts[0].value;}}else{if(this.multiple){return _2fd.map(_2fd.filter(opts,function(i){return i.selected;}),function(i){return i.value;})||[];}}return "";},_onNewItem:function(item,_316){if(!_316||!_316.parent){this._addOptionForItem(item);}},_onDeleteItem:function(item){var _317=this.store;this.removeOption(_317.getIdentity(item));},_onSetItem:function(item){this.updateOption(this._getOptionObjForItem(item));},_getOptionObjForItem:function(item){var _318=this.store,_319=_318.getLabel(item),_31a=(_319?_318.getIdentity(item):null);return {value:_31a,label:_319,item:item};},_addOptionForItem:function(item){var _31b=this.store;if(!_31b.isItemLoaded(item)){_31b.loadItem({item:item,onItem:function(i){this._addOptionForItem(i);},scope:this});return;}var _31c=this._getOptionObjForItem(item);this.addOption(_31c);},constructor:function(_31d){this._oValue=(_31d||{}).value||null;this._notifyConnections=[];},buildRendering:function(){this.inherited(arguments);dom.setSelectable(this.focusNode,false);},_fillContent:function(){var opts=this.options;if(!opts){opts=this.options=this.srcNodeRef?_303("> *",this.srcNodeRef).map(function(node){if(node.getAttribute("type")==="separator"){return {value:"",label:"",selected:false,disabled:false};}return {value:(node.getAttribute("data-"+_302._scopeName+"-value")||node.getAttribute("value")),label:String(node.innerHTML),selected:node.getAttribute("selected")||false,disabled:node.getAttribute("disabled")||false};},this):[];}if(!this.value){this._set("value",this._getValueFromOpts());}else{if(this.multiple&&typeof this.value=="string"){this._set("value",this.value.split(","));}}},postCreate:function(){this.inherited(arguments);this.connect(this,"onChange","_updateSelection");this.connect(this,"startup","_loadChildren");this._setValueAttr(this.value,null);},startup:function(){this.inherited(arguments);var _31e=this.store,_31f={};_2fd.forEach(["query","queryOptions","onFetch"],function(i){if(this[i]){_31f[i]=this[i];}delete this[i];},this);if(_31e&&_31e.getFeatures()["dojo.data.api.Identity"]){this.store=null;this.setStore(_31e,this._oValue,_31f);}},destroy:function(){var h;while(h=this._notifyConnections.pop()){h.remove();}this.inherited(arguments);},_addOptionItem:function(){},_removeOptionItem:function(){},_setDisplay:function(){},_getChildren:function(){return [];},_getSelectedOptionsAttr:function(){return this.getOptions(this.get("value"));},_pseudoLoadChildren:function(){},onSetStore:function(){}});});},"dijit/form/Select":function(){require({cache:{"url:dijit/form/templates/Select.html":"<table class=\"dijit dijitReset dijitInline dijitLeft\"\n\tdata-dojo-attach-point=\"_buttonNode,tableNode,focusNode\" cellspacing='0' cellpadding='0'\n\trole=\"combobox\" aria-haspopup=\"true\"\n\t><tbody role=\"presentation\"><tr role=\"presentation\"\n\t\t><td class=\"dijitReset dijitStretch dijitButtonContents dijitButtonNode\" role=\"presentation\"\n\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\"  data-dojo-attach-point=\"containerNode,_popupStateNode\"></span\n\t\t\t><input type=\"hidden\" ${!nameAttrSetting} data-dojo-attach-point=\"valueNode\" value=\"${value}\" aria-hidden=\"true\"\n\t\t/></td><td class=\"dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton\"\n\t\t\t\tdata-dojo-attach-point=\"titleNode\" role=\"presentation\"\n\t\t\t><div class=\"dijitReset dijitArrowButtonInner\" role=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitArrowButtonChar\" role=\"presentation\">&#9660;</div\n\t\t></td\n\t></tr></tbody\n></table>\n"}});define("dijit/form/Select",["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/_base/event","dojo/i18n","dojo/_base/lang","./_FormSelectWidget","../_HasDropDown","../Menu","../MenuItem","../MenuSeparator","../Tooltip","dojo/text!./templates/Select.html","dojo/i18n!./nls/validate"],function(_320,_321,_322,_323,_324,_325,_326,i18n,lang,_327,_328,Menu,_329,_32a,_32b,_32c){var _32d=_321("dijit.form._SelectMenu",Menu,{buildRendering:function(){this.inherited(arguments);var o=(this.menuTableNode=this.domNode);var n=(this.domNode=_324.create("div",{style:{overflowX:"hidden",overflowY:"scroll"}}));if(o.parentNode){o.parentNode.replaceChild(n,o);}_323.remove(o,"dijitMenuTable");n.className=o.className+" dijitSelectMenu";o.className="dijitReset dijitMenuTable";o.setAttribute("role","listbox");n.setAttribute("role","presentation");n.appendChild(o);},postCreate:function(){this.inherited(arguments);this.connect(this.domNode,"onmousemove",_326.stop);},resize:function(mb){if(mb){_325.setMarginBox(this.domNode,mb);if("w" in mb){this.menuTableNode.style.width="100%";}}}});var _32e=_321("dijit.form.Select",[_327,_328],{baseClass:"dijitSelect",templateString:_32c,required:false,state:"",message:"",tooltipPosition:[],emptyLabel:"&#160;",_isLoaded:false,_childrenLoaded:false,_fillContent:function(){this.inherited(arguments);if(this.options.length&&!this.value&&this.srcNodeRef){var si=this.srcNodeRef.selectedIndex||0;this.value=this.options[si>=0?si:0].value;}this.dropDown=new _32d({id:this.id+"_menu"});_323.add(this.dropDown.domNode,this.baseClass+"Menu");},_getMenuItemForOption:function(_32f){if(!_32f.value&&!_32f.label){return new _32a();}else{var _330=lang.hitch(this,"_setValueAttr",_32f);var item=new _329({option:_32f,label:_32f.label||this.emptyLabel,onClick:_330,disabled:_32f.disabled||false});item.focusNode.setAttribute("role","listitem");return item;}},_addOptionItem:function(_331){if(this.dropDown){this.dropDown.addChild(this._getMenuItemForOption(_331));}},_getChildren:function(){if(!this.dropDown){return [];}return this.dropDown.getChildren();},_loadChildren:function(_332){if(_332===true){if(this.dropDown){delete this.dropDown.focusedChild;}if(this.options.length){this.inherited(arguments);}else{_320.forEach(this._getChildren(),function(_333){_333.destroyRecursive();});var item=new _329({label:"&#160;"});this.dropDown.addChild(item);}}else{this._updateSelection();}this._isLoaded=false;this._childrenLoaded=true;if(!this._loadingStore){this._setValueAttr(this.value);}},_setValueAttr:function(_334){this.inherited(arguments);_322.set(this.valueNode,"value",this.get("value"));this.validate(this.focused);},_setDisabledAttr:function(_335){this.inherited(arguments);this.validate(this.focused);},_setRequiredAttr:function(_336){this._set("required",_336);this.focusNode.setAttribute("aria-required",_336);this.validate(this.focused);},_setDisplay:function(_337){var lbl=_337||this.emptyLabel;this.containerNode.innerHTML="<span class=\"dijitReset dijitInline "+this.baseClass+"Label\">"+lbl+"</span>";this.focusNode.setAttribute("aria-valuetext",lbl);},validate:function(_338){var _339=this.disabled||this.isValid(_338);this._set("state",_339?"":"Incomplete");this.focusNode.setAttribute("aria-invalid",_339?"false":"true");var _33a=_339?"":this._missingMsg;if(_33a&&this.focused&&this._hasBeenBlurred){_32b.show(_33a,this.domNode,this.tooltipPosition,!this.isLeftToRight());}else{_32b.hide(this.domNode);}this._set("message",_33a);return _339;},isValid:function(){return (!this.required||this.value===0||!(/^\s*$/.test(this.value||"")));},reset:function(){this.inherited(arguments);_32b.hide(this.domNode);this.validate(this.focused);},postMixInProperties:function(){this.inherited(arguments);this._missingMsg=i18n.getLocalization("dijit.form","validate",this.lang).missingMessage;},postCreate:function(){this.inherited(arguments);this.connect(this.domNode,"onmousemove",_326.stop);},_setStyleAttr:function(_33b){this.inherited(arguments);_323.toggle(this.domNode,this.baseClass+"FixedWidth",!!this.domNode.style.width);},isLoaded:function(){return this._isLoaded;},loadDropDown:function(_33c){this._loadChildren(true);this._isLoaded=true;_33c();},closeDropDown:function(){this.inherited(arguments);if(this.dropDown&&this.dropDown.menuTableNode){this.dropDown.menuTableNode.style.width="";}},uninitialize:function(_33d){if(this.dropDown&&!this.dropDown._destroyed){this.dropDown.destroyRecursive(_33d);delete this.dropDown;}this.inherited(arguments);},_onFocus:function(){this.validate(true);this.inherited(arguments);},_onBlur:function(){_32b.hide(this.domNode);this.inherited(arguments);}});_32e._Menu=_32d;return _32e;});},"dojo/store/util/QueryResults":function(){define("dojo/store/util/QueryResults",["../../_base/array","../../_base/lang","../../_base/Deferred"],function(_33e,lang,_33f){var util=lang.getObject("dojo.store.util",true);util.QueryResults=function(_340){if(!_340){return _340;}if(_340.then){_340=lang.delegate(_340);}function _341(_342){if(!_340[_342]){_340[_342]=function(){var args=arguments;return _33f.when(_340,function(_343){Array.prototype.unshift.call(args,_343);return util.QueryResults(_33e[_342].apply(_33e,args));});};}};_341("forEach");_341("filter");_341("map");if(!_340.total){_340.total=_33f.when(_340,function(_344){return _344.length;});}return _340;};return util.QueryResults;});},"dijit/form/_ListBase":function(){define("dijit/form/_ListBase",["dojo/_base/declare","dojo/window"],function(_345,_346){return _345("dijit.form._ListBase",null,{selected:null,_getTarget:function(evt){var tgt=evt.target;var _347=this.containerNode;if(tgt==_347||tgt==this.domNode){return null;}while(tgt&&tgt.parentNode!=_347){tgt=tgt.parentNode;}return tgt;},selectFirstNode:function(){var _348=this.containerNode.firstChild;while(_348&&_348.style.display=="none"){_348=_348.nextSibling;}this._setSelectedAttr(_348,true);},selectLastNode:function(){var last=this.containerNode.lastChild;while(last&&last.style.display=="none"){last=last.previousSibling;}this._setSelectedAttr(last,true);},selectNextNode:function(){var _349=this._getSelectedAttr();if(!_349){this.selectFirstNode();}else{var next=_349.nextSibling;while(next&&next.style.display=="none"){next=next.nextSibling;}if(!next){this.selectFirstNode();}else{this._setSelectedAttr(next,true);}}},selectPreviousNode:function(){var _34a=this._getSelectedAttr();if(!_34a){this.selectLastNode();}else{var prev=_34a.previousSibling;while(prev&&prev.style.display=="none"){prev=prev.previousSibling;}if(!prev){this.selectLastNode();}else{this._setSelectedAttr(prev,true);}}},_setSelectedAttr:function(node,_34b){if(this.selected!=node){var _34c=this._getSelectedAttr();if(_34c){this.onDeselect(_34c);this.selected=null;}if(node&&node.parentNode==this.containerNode){this.selected=node;if(_34b){_346.scrollIntoView(node);}this.onSelect(node);}}else{if(node){this.onSelect(node);}}},_getSelectedAttr:function(){var v=this.selected;return (v&&v.parentNode==this.containerNode)?v:(this.selected=null);}});});},"dijit/CalendarLite":function(){require({cache:{"url:dijit/templates/Calendar.html":"<table cellspacing=\"0\" cellpadding=\"0\" class=\"dijitCalendarContainer\" role=\"grid\" aria-labelledby=\"${id}_mddb ${id}_year\">\n\t<thead>\n\t\t<tr class=\"dijitReset dijitCalendarMonthContainer\" valign=\"top\">\n\t\t\t<th class='dijitReset dijitCalendarArrow' data-dojo-attach-point=\"decrementMonth\">\n\t\t\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitCalendarIncrementControl dijitCalendarDecrease\" role=\"presentation\"/>\n\t\t\t\t<span data-dojo-attach-point=\"decreaseArrowNode\" class=\"dijitA11ySideArrow\">-</span>\n\t\t\t</th>\n\t\t\t<th class='dijitReset' colspan=\"5\">\n\t\t\t\t<div data-dojo-attach-point=\"monthNode\">\n\t\t\t\t</div>\n\t\t\t</th>\n\t\t\t<th class='dijitReset dijitCalendarArrow' data-dojo-attach-point=\"incrementMonth\">\n\t\t\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitCalendarIncrementControl dijitCalendarIncrease\" role=\"presentation\"/>\n\t\t\t\t<span data-dojo-attach-point=\"increaseArrowNode\" class=\"dijitA11ySideArrow\">+</span>\n\t\t\t</th>\n\t\t</tr>\n\t\t<tr>\n\t\t\t${!dayCellsHtml}\n\t\t</tr>\n\t</thead>\n\t<tbody data-dojo-attach-point=\"dateRowsNode\" data-dojo-attach-event=\"onclick: _onDayClick\" class=\"dijitReset dijitCalendarBodyContainer\">\n\t\t\t${!dateRowsHtml}\n\t</tbody>\n\t<tfoot class=\"dijitReset dijitCalendarYearContainer\">\n\t\t<tr>\n\t\t\t<td class='dijitReset' valign=\"top\" colspan=\"7\" role=\"presentation\">\n\t\t\t\t<div class=\"dijitCalendarYearLabel\">\n\t\t\t\t\t<span data-dojo-attach-point=\"previousYearLabelNode\" class=\"dijitInline dijitCalendarPreviousYear\" role=\"button\"></span>\n\t\t\t\t\t<span data-dojo-attach-point=\"currentYearLabelNode\" class=\"dijitInline dijitCalendarSelectedYear\" role=\"button\" id=\"${id}_year\"></span>\n\t\t\t\t\t<span data-dojo-attach-point=\"nextYearLabelNode\" class=\"dijitInline dijitCalendarNextYear\" role=\"button\"></span>\n\t\t\t\t</div>\n\t\t\t</td>\n\t\t</tr>\n\t</tfoot>\n</table>\n"}});define("dijit/CalendarLite",["dojo/_base/array","dojo/_base/declare","dojo/cldr/supplemental","dojo/date","dojo/date/locale","dojo/dom","dojo/dom-class","dojo/_base/event","dojo/_base/lang","dojo/_base/sniff","dojo/string","dojo/_base/window","./_WidgetBase","./_TemplatedMixin","dojo/text!./templates/Calendar.html"],function(_34d,_34e,_34f,date,_350,dom,_351,_352,lang,has,_353,win,_354,_355,_356){var _357=_34e("dijit.CalendarLite",[_354,_355],{templateString:_356,dowTemplateString:"<th class=\"dijitReset dijitCalendarDayLabelTemplate\" role=\"columnheader\"><span class=\"dijitCalendarDayLabel\">${d}</span></th>",dateTemplateString:"<td class=\"dijitReset\" role=\"gridcell\" data-dojo-attach-point=\"dateCells\"><span class=\"dijitCalendarDateLabel\" data-dojo-attach-point=\"dateLabels\"></span></td>",weekTemplateString:"<tr class=\"dijitReset dijitCalendarWeekTemplate\" role=\"row\">${d}${d}${d}${d}${d}${d}${d}</tr>",value:new Date(""),datePackage:date,dayWidth:"narrow",tabIndex:"0",currentFocus:new Date(),baseClass:"dijitCalendar",_isValidDate:function(_358){return _358&&!isNaN(_358)&&typeof _358=="object"&&_358.toString()!=this.constructor.prototype.value.toString();},_getValueAttr:function(){if(this.value&&!isNaN(this.value)){var _359=new this.dateClassObj(this.value);_359.setHours(0,0,0,0);if(_359.getDate()<this.value.getDate()){_359=this.dateFuncObj.add(_359,"hour",1);}return _359;}else{return null;}},_setValueAttr:function(_35a,_35b){if(_35a){_35a=new this.dateClassObj(_35a);}if(this._isValidDate(_35a)){if(!this._isValidDate(this.value)||this.dateFuncObj.compare(_35a,this.value)){_35a.setHours(1,0,0,0);if(!this.isDisabledDate(_35a,this.lang)){this._set("value",_35a);this.set("currentFocus",_35a);if(_35b||typeof _35b=="undefined"){this.onChange(this.get("value"));}}}}else{this._set("value",null);this.set("currentFocus",this.currentFocus);}},_setText:function(node,text){while(node.firstChild){node.removeChild(node.firstChild);}node.appendChild(win.doc.createTextNode(text));},_populateGrid:function(){var _35c=new this.dateClassObj(this.currentFocus);_35c.setDate(1);var _35d=_35c.getDay(),_35e=this.dateFuncObj.getDaysInMonth(_35c),_35f=this.dateFuncObj.getDaysInMonth(this.dateFuncObj.add(_35c,"month",-1)),_360=new this.dateClassObj(),_361=_34f.getFirstDayOfWeek(this.lang);if(_361>_35d){_361-=7;}this._date2cell={};_34d.forEach(this.dateCells,function(_362,idx){var i=idx+_361;var date=new this.dateClassObj(_35c),_363,_364="dijitCalendar",adj=0;if(i<_35d){_363=_35f-_35d+i+1;adj=-1;_364+="Previous";}else{if(i>=(_35d+_35e)){_363=i-_35d-_35e+1;adj=1;_364+="Next";}else{_363=i-_35d+1;_364+="Current";}}if(adj){date=this.dateFuncObj.add(date,"month",adj);}date.setDate(_363);if(!this.dateFuncObj.compare(date,_360,"date")){_364="dijitCalendarCurrentDate "+_364;}if(this._isSelectedDate(date,this.lang)){_364="dijitCalendarSelectedDate "+_364;_362.setAttribute("aria-selected",true);}else{_362.setAttribute("aria-selected",false);}if(this.isDisabledDate(date,this.lang)){_364="dijitCalendarDisabledDate "+_364;_362.setAttribute("aria-disabled",true);}else{_364="dijitCalendarEnabledDate "+_364;_362.removeAttribute("aria-disabled");}var _365=this.getClassForDate(date,this.lang);if(_365){_364=_365+" "+_364;}_362.className=_364+"Month dijitCalendarDateTemplate";var _366=date.valueOf();this._date2cell[_366]=_362;_362.dijitDateValue=_366;this._setText(this.dateLabels[idx],date.getDateLocalized?date.getDateLocalized(this.lang):date.getDate());},this);this.monthWidget.set("month",_35c);var y=_35c.getFullYear()-1;var d=new this.dateClassObj();_34d.forEach(["previous","current","next"],function(name){d.setFullYear(y++);this._setText(this[name+"YearLabelNode"],this.dateLocaleModule.format(d,{selector:"year",locale:this.lang}));},this);},goToToday:function(){this.set("value",new this.dateClassObj());},constructor:function(args){this.datePackage=args.datePackage||this.datePackage;this.dateFuncObj=typeof this.datePackage=="string"?lang.getObject(this.datePackage,false):this.datePackage;this.dateClassObj=this.dateFuncObj.Date||Date;this.dateLocaleModule=lang.getObject("locale",false,this.dateFuncObj);},_createMonthWidget:function(){return _357._MonthWidget({id:this.id+"_mw",lang:this.lang,dateLocaleModule:this.dateLocaleModule},this.monthNode);},buildRendering:function(){var d=this.dowTemplateString,_367=this.dateLocaleModule.getNames("days",this.dayWidth,"standAlone",this.lang),_368=_34f.getFirstDayOfWeek(this.lang);this.dayCellsHtml=_353.substitute([d,d,d,d,d,d,d].join(""),{d:""},function(){return _367[_368++%7];});var r=_353.substitute(this.weekTemplateString,{d:this.dateTemplateString});this.dateRowsHtml=[r,r,r,r,r,r].join("");this.dateCells=[];this.dateLabels=[];this.inherited(arguments);dom.setSelectable(this.domNode,false);var _369=new this.dateClassObj(this.currentFocus);this._supportingWidgets.push(this.monthWidget=this._createMonthWidget());this.set("currentFocus",_369,false);var _36a=lang.hitch(this,function(_36b,part,_36c){this.connect(this[_36b],"onclick",function(){this._setCurrentFocusAttr(this.dateFuncObj.add(this.currentFocus,part,_36c));});});_36a("incrementMonth","month",1);_36a("decrementMonth","month",-1);_36a("nextYearLabelNode","year",1);_36a("previousYearLabelNode","year",-1);},_setCurrentFocusAttr:function(date,_36d){var _36e=this.currentFocus,_36f=_36e&&this._date2cell?this._date2cell[_36e.valueOf()]:null;date=new this.dateClassObj(date);date.setHours(1,0,0,0);this._set("currentFocus",date);this._populateGrid();var _370=this._date2cell[date.valueOf()];_370.setAttribute("tabIndex",this.tabIndex);if(this.focused||_36d){_370.focus();}if(_36f&&_36f!=_370){if(has("webkit")){_36f.setAttribute("tabIndex","-1");}else{_36f.removeAttribute("tabIndex");}}},focus:function(){this._setCurrentFocusAttr(this.currentFocus,true);},_onDayClick:function(evt){_352.stop(evt);for(var node=evt.target;node&&!node.dijitDateValue;node=node.parentNode){}if(node&&!_351.contains(node,"dijitCalendarDisabledDate")){this.set("value",node.dijitDateValue);}},onChange:function(){},_isSelectedDate:function(_371){return this._isValidDate(this.value)&&!this.dateFuncObj.compare(_371,this.value,"date");},isDisabledDate:function(){},getClassForDate:function(){}});_357._MonthWidget=_34e("dijit.CalendarLite._MonthWidget",_354,{_setMonthAttr:function(_372){var _373=this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,_372),_374=(has("ie")==6?"":"<div class='dijitSpacer'>"+_34d.map(_373,function(s){return "<div>"+s+"</div>";}).join("")+"</div>");this.domNode.innerHTML=_374+"<div class='dijitCalendarMonthLabel dijitCalendarCurrentMonthLabel'>"+_373[_372.getMonth()]+"</div>";}});return _357;});},"dijit/form/VerticalRuleLabels":function(){define("dijit/form/VerticalRuleLabels",["dojo/_base/declare","./HorizontalRuleLabels"],function(_375,_376){return _375("dijit.form.VerticalRuleLabels",_376,{templateString:"<div class=\"dijitRuleContainer dijitRuleContainerV dijitRuleLabelsContainer dijitRuleLabelsContainerV\"></div>",_positionPrefix:"<div class=\"dijitRuleLabelContainer dijitRuleLabelContainerV\" style=\"top:",_labelPrefix:"\"><span class=\"dijitRuleLabel dijitRuleLabelV\">",_calcPosition:function(pos){return 100-pos;},_isHorizontal:false});});},"dijit/form/_ComboBoxMenu":function(){define("dijit/form/_ComboBoxMenu",["dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/dom-style","dojo/keys","../_WidgetBase","../_TemplatedMixin","./_ComboBoxMenuMixin","./_ListMouseMixin"],function(_377,_378,_379,_37a,keys,_37b,_37c,_37d,_37e){return _377("dijit.form._ComboBoxMenu",[_37b,_37c,_37e,_37d],{templateString:"<div class='dijitReset dijitMenu' data-dojo-attach-point='containerNode' style='overflow: auto; overflow-x: hidden;'>"+"<div class='dijitMenuItem dijitMenuPreviousButton' data-dojo-attach-point='previousButton' role='option'></div>"+"<div class='dijitMenuItem dijitMenuNextButton' data-dojo-attach-point='nextButton' role='option'></div>"+"</div>",baseClass:"dijitComboBoxMenu",postCreate:function(){this.inherited(arguments);if(!this.isLeftToRight()){_378.add(this.previousButton,"dijitMenuItemRtl");_378.add(this.nextButton,"dijitMenuItemRtl");}},_createMenuItem:function(){return _379.create("div",{"class":"dijitReset dijitMenuItem"+(this.isLeftToRight()?"":" dijitMenuItemRtl"),role:"option"});},onHover:function(node){_378.add(node,"dijitMenuItemHover");},onUnhover:function(node){_378.remove(node,"dijitMenuItemHover");},onSelect:function(node){_378.add(node,"dijitMenuItemSelected");},onDeselect:function(node){_378.remove(node,"dijitMenuItemSelected");},_page:function(up){var _37f=0;var _380=this.domNode.scrollTop;var _381=_37a.get(this.domNode,"height");if(!this.getHighlightedOption()){this.selectNextNode();}while(_37f<_381){var _382=this.getHighlightedOption();if(up){if(!_382.previousSibling||_382.previousSibling.style.display=="none"){break;}this.selectPreviousNode();}else{if(!_382.nextSibling||_382.nextSibling.style.display=="none"){break;}this.selectNextNode();}var _383=this.domNode.scrollTop;_37f+=(_383-_380)*(up?-1:1);_380=_383;}},handleKey:function(evt){switch(evt.keyCode){case keys.DOWN_ARROW:this.selectNextNode();return false;case keys.PAGE_DOWN:this._page(false);return false;case keys.UP_ARROW:this.selectPreviousNode();return false;case keys.PAGE_UP:this._page(true);return false;default:return true;}}});});},"dijit/form/MultiSelect":function(){define("dijit/form/MultiSelect",["dojo/_base/array","dojo/_base/declare","dojo/dom-geometry","dojo/query","./_FormValueWidget"],function(_384,_385,_386,_387,_388){return _385("dijit.form.MultiSelect",_388,{size:7,templateString:"<select multiple='true' ${!nameAttrSetting} data-dojo-attach-point='containerNode,focusNode' data-dojo-attach-event='onchange: _onChange'></select>",addSelected:function(_389){_389.getSelected().forEach(function(n){this.containerNode.appendChild(n);this.domNode.scrollTop=this.domNode.offsetHeight;var _38a=_389.domNode.scrollTop;_389.domNode.scrollTop=0;_389.domNode.scrollTop=_38a;},this);this._set("value",this.get("value"));},getSelected:function(){return _387("option",this.containerNode).filter(function(n){return n.selected;});},_getValueAttr:function(){return _384.map(this.getSelected(),function(n){return n.value;});},multiple:true,_setValueAttr:function(_38b,_38c){_387("option",this.containerNode).forEach(function(n){n.selected=(_384.indexOf(_38b,n.value)!=-1);});this.inherited(arguments);},invertSelection:function(_38d){var val=[];_387("option",this.containerNode).forEach(function(n){if(!n.selected){val.push(n.value);}});this._setValueAttr(val,!(_38d===false||_38d==null));},_onChange:function(){this._handleOnChange(this.get("value"),true);},resize:function(size){if(size){_386.setMarginBox(this.domNode,size);}},postCreate:function(){this._set("value",this.get("value"));this.inherited(arguments);}});});},"dijit/form/_DateTimeTextBox":function(){require({cache:{"url:dijit/form/templates/DropDownBox.html":"<div class=\"dijit dijitReset dijitInline dijitLeft\"\n\tid=\"widget_${id}\"\n\trole=\"combobox\"\n\t><div class='dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton dijitArrowButtonContainer'\n\t\tdata-dojo-attach-point=\"_buttonNode, _popupStateNode\" role=\"presentation\"\n\t\t><input class=\"dijitReset dijitInputField dijitArrowButtonInner\" value=\"&#9660; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t\t\t${_buttonInputDisabled}\n\t/></div\n\t><div class='dijitReset dijitValidationContainer'\n\t\t><input class=\"dijitReset dijitInputField dijitValidationIcon dijitValidationInner\" value=\"&#935; \" type=\"text\" tabIndex=\"-1\" readonly=\"readonly\" role=\"presentation\"\n\t/></div\n\t><div class=\"dijitReset dijitInputField dijitInputContainer\"\n\t\t><input class='dijitReset dijitInputInner' ${!nameAttrSetting} type=\"text\" autocomplete=\"off\"\n\t\t\tdata-dojo-attach-point=\"textbox,focusNode\" role=\"textbox\" aria-haspopup=\"true\"\n\t/></div\n></div>\n"}});define("dijit/form/_DateTimeTextBox",["dojo/date","dojo/date/locale","dojo/date/stamp","dojo/_base/declare","dojo/_base/lang","./RangeBoundTextBox","../_HasDropDown","dojo/text!./templates/DropDownBox.html"],function(date,_38e,_38f,_390,lang,_391,_392,_393){new Date("X");var _394=_390("dijit.form._DateTimeTextBox",[_391,_392],{templateString:_393,hasDownArrow:true,openOnClick:true,regExpGen:_38e.regexp,datePackage:date,postMixInProperties:function(){this.inherited(arguments);this._set("type","text");},compare:function(val1,val2){var _395=this._isInvalidDate(val1);var _396=this._isInvalidDate(val2);return _395?(_396?0:-1):(_396?1:date.compare(val1,val2,this._selector));},forceWidth:true,format:function(_397,_398){if(!_397){return "";}return this.dateLocaleModule.format(_397,_398);},"parse":function(_399,_39a){return this.dateLocaleModule.parse(_399,_39a)||(this._isEmpty(_399)?null:undefined);},serialize:function(val,_39b){if(val.toGregorian){val=val.toGregorian();}return _38f.toISOString(val,_39b);},dropDownDefaultValue:new Date(),value:new Date(""),_blankValue:null,popupClass:"",_selector:"",constructor:function(args){this.datePackage=args.datePackage||this.datePackage;this.dateFuncObj=typeof this.datePackage=="string"?lang.getObject(this.datePackage,false):this.datePackage;this.dateClassObj=this.dateFuncObj.Date||Date;this.dateLocaleModule=lang.getObject("locale",false,this.dateFuncObj);this.regExpGen=this.dateLocaleModule.regexp;this._invalidDate=this.constructor.prototype.value.toString();},buildRendering:function(){this.inherited(arguments);if(!this.hasDownArrow){this._buttonNode.style.display="none";}if(this.openOnClick||!this.hasDownArrow){this._buttonNode=this.domNode;this.baseClass+=" dijitComboBoxOpenOnClick";}},_setConstraintsAttr:function(_39c){_39c.selector=this._selector;_39c.fullYear=true;var _39d=_38f.fromISOString;if(typeof _39c.min=="string"){_39c.min=_39d(_39c.min);}if(typeof _39c.max=="string"){_39c.max=_39d(_39c.max);}this.inherited(arguments);},_isInvalidDate:function(_39e){return !_39e||isNaN(_39e)||typeof _39e!="object"||_39e.toString()==this._invalidDate;},_setValueAttr:function(_39f,_3a0,_3a1){if(_39f!==undefined){if(typeof _39f=="string"){_39f=_38f.fromISOString(_39f);}if(this._isInvalidDate(_39f)){_39f=null;}if(_39f instanceof Date&&!(this.dateClassObj instanceof Date)){_39f=new this.dateClassObj(_39f);}}this.inherited(arguments);if(this.value instanceof Date){this.filterString="";}if(this.dropDown){this.dropDown.set("value",_39f,false);}},_set:function(attr,_3a2){if(attr=="value"&&this.value instanceof Date&&this.compare(_3a2,this.value)==0){return;}this.inherited(arguments);},_setDropDownDefaultValueAttr:function(val){if(this._isInvalidDate(val)){val=new this.dateClassObj();}this.dropDownDefaultValue=val;},openDropDown:function(_3a3){if(this.dropDown){this.dropDown.destroy();}var _3a4=lang.isString(this.popupClass)?lang.getObject(this.popupClass,false):this.popupClass,_3a5=this,_3a6=this.get("value");this.dropDown=new _3a4({onChange:function(_3a7){_3a5.set("value",_3a7,true);},id:this.id+"_popup",dir:_3a5.dir,lang:_3a5.lang,value:_3a6,currentFocus:!this._isInvalidDate(_3a6)?_3a6:this.dropDownDefaultValue,constraints:_3a5.constraints,filterString:_3a5.filterString,datePackage:_3a5.datePackage,isDisabledDate:function(date){return !_3a5.rangeCheck(date,_3a5.constraints);}});this.inherited(arguments);},_getDisplayedValueAttr:function(){return this.textbox.value;},_setDisplayedValueAttr:function(_3a8,_3a9){this._setValueAttr(this.parse(_3a8,this.constraints),_3a9,_3a8);}});return _394;});},"dijit/Calendar":function(){define("dijit/Calendar",["dojo/_base/array","dojo/date","dojo/date/locale","dojo/_base/declare","dojo/dom-attr","dojo/dom-class","dojo/_base/event","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/_base/sniff","./CalendarLite","./_Widget","./_CssStateMixin","./_TemplatedMixin","./form/DropDownButton","./hccss"],function(_3aa,date,_3ab,_3ac,_3ad,_3ae,_3af,_3b0,keys,lang,has,_3b1,_3b2,_3b3,_3b4,_3b5){var _3b6=_3ac("dijit.Calendar",[_3b1,_3b2,_3b3],{cssStateNodes:{"decrementMonth":"dijitCalendarArrow","incrementMonth":"dijitCalendarArrow","previousYearLabelNode":"dijitCalendarPreviousYear","nextYearLabelNode":"dijitCalendarNextYear"},setValue:function(_3b7){_3b0.deprecated("dijit.Calendar:setValue() is deprecated.  Use set('value', ...) instead.","","2.0");this.set("value",_3b7);},_createMonthWidget:function(){return new _3b6._MonthDropDownButton({id:this.id+"_mddb",tabIndex:-1,onMonthSelect:lang.hitch(this,"_onMonthSelect"),lang:this.lang,dateLocaleModule:this.dateLocaleModule},this.monthNode);},buildRendering:function(){this.inherited(arguments);this.connect(this.domNode,"onkeydown","_onKeyDown");this.connect(this.dateRowsNode,"onmouseover","_onDayMouseOver");this.connect(this.dateRowsNode,"onmouseout","_onDayMouseOut");this.connect(this.dateRowsNode,"onmousedown","_onDayMouseDown");this.connect(this.dateRowsNode,"onmouseup","_onDayMouseUp");},_onMonthSelect:function(_3b8){this._setCurrentFocusAttr(this.dateFuncObj.add(this.currentFocus,"month",_3b8-this.currentFocus.getMonth()));},_onDayMouseOver:function(evt){var node=_3ae.contains(evt.target,"dijitCalendarDateLabel")?evt.target.parentNode:evt.target;if(node&&((node.dijitDateValue&&!_3ae.contains(node,"dijitCalendarDisabledDate"))||node==this.previousYearLabelNode||node==this.nextYearLabelNode)){_3ae.add(node,"dijitCalendarHoveredDate");this._currentNode=node;}},_onDayMouseOut:function(evt){if(!this._currentNode){return;}if(evt.relatedTarget&&evt.relatedTarget.parentNode==this._currentNode){return;}var cls="dijitCalendarHoveredDate";if(_3ae.contains(this._currentNode,"dijitCalendarActiveDate")){cls+=" dijitCalendarActiveDate";}_3ae.remove(this._currentNode,cls);this._currentNode=null;},_onDayMouseDown:function(evt){var node=evt.target.parentNode;if(node&&node.dijitDateValue&&!_3ae.contains(node,"dijitCalendarDisabledDate")){_3ae.add(node,"dijitCalendarActiveDate");this._currentNode=node;}},_onDayMouseUp:function(evt){var node=evt.target.parentNode;if(node&&node.dijitDateValue){_3ae.remove(node,"dijitCalendarActiveDate");}},handleKey:function(evt){var _3b9=-1,_3ba,_3bb=this.currentFocus;switch(evt.keyCode){case keys.RIGHT_ARROW:_3b9=1;case keys.LEFT_ARROW:_3ba="day";if(!this.isLeftToRight()){_3b9*=-1;}break;case keys.DOWN_ARROW:_3b9=1;case keys.UP_ARROW:_3ba="week";break;case keys.PAGE_DOWN:_3b9=1;case keys.PAGE_UP:_3ba=evt.ctrlKey||evt.altKey?"year":"month";break;case keys.END:_3bb=this.dateFuncObj.add(_3bb,"month",1);_3ba="day";case keys.HOME:_3bb=new this.dateClassObj(_3bb);_3bb.setDate(1);break;case keys.ENTER:case keys.SPACE:this.set("value",this.currentFocus);break;default:return true;}if(_3ba){_3bb=this.dateFuncObj.add(_3bb,_3ba,_3b9);}this._setCurrentFocusAttr(_3bb);return false;},_onKeyDown:function(evt){if(!this.handleKey(evt)){_3af.stop(evt);}},onValueSelected:function(){},onChange:function(_3bc){this.onValueSelected(_3bc);},getClassForDate:function(){}});_3b6._MonthDropDownButton=_3ac("dijit.Calendar._MonthDropDownButton",_3b5,{onMonthSelect:function(){},postCreate:function(){this.inherited(arguments);this.dropDown=new _3b6._MonthDropDown({id:this.id+"_mdd",onChange:this.onMonthSelect});},_setMonthAttr:function(_3bd){var _3be=this.dateLocaleModule.getNames("months","wide","standAlone",this.lang,_3bd);this.dropDown.set("months",_3be);this.containerNode.innerHTML=(has("ie")==6?"":"<div class='dijitSpacer'>"+this.dropDown.domNode.innerHTML+"</div>")+"<div class='dijitCalendarMonthLabel dijitCalendarCurrentMonthLabel'>"+_3be[_3bd.getMonth()]+"</div>";}});_3b6._MonthDropDown=_3ac("dijit.Calendar._MonthDropDown",[_3b2,_3b4],{months:[],templateString:"<div class='dijitCalendarMonthMenu dijitMenu' "+"data-dojo-attach-event='onclick:_onClick,onmouseover:_onMenuHover,onmouseout:_onMenuHover'></div>",_setMonthsAttr:function(_3bf){this.domNode.innerHTML=_3aa.map(_3bf,function(_3c0,idx){return _3c0?"<div class='dijitCalendarMonthLabel' month='"+idx+"'>"+_3c0+"</div>":"";}).join("");},_onClick:function(evt){this.onChange(_3ad.get(evt.target,"month"));},onChange:function(){},_onMenuHover:function(evt){_3ae.toggle(evt.target,"dijitCalendarMonthLabelHover",evt.type=="mouseover");}});return _3b6;});},"dijit/form/_ToggleButtonMixin":function(){define("dijit/form/_ToggleButtonMixin",["dojo/_base/declare","dojo/dom-attr"],function(_3c1,_3c2){return _3c1("dijit.form._ToggleButtonMixin",null,{checked:false,_aria_attr:"aria-pressed",_onClick:function(evt){var _3c3=this.checked;this._set("checked",!_3c3);var ret=this.inherited(arguments);this.set("checked",ret?this.checked:_3c3);return ret;},_setCheckedAttr:function(_3c4,_3c5){this._set("checked",_3c4);_3c2.set(this.focusNode||this.domNode,"checked",_3c4);(this.focusNode||this.domNode).setAttribute(this._aria_attr,_3c4?"true":"false");this._handleOnChange(_3c4,_3c5);},reset:function(){this._hasBeenBlurred=false;this.set("checked",this.params.checked||false);}});});},"url:dijit/form/templates/Select.html":"<table class=\"dijit dijitReset dijitInline dijitLeft\"\n\tdata-dojo-attach-point=\"_buttonNode,tableNode,focusNode\" cellspacing='0' cellpadding='0'\n\trole=\"combobox\" aria-haspopup=\"true\"\n\t><tbody role=\"presentation\"><tr role=\"presentation\"\n\t\t><td class=\"dijitReset dijitStretch dijitButtonContents dijitButtonNode\" role=\"presentation\"\n\t\t\t><span class=\"dijitReset dijitInline dijitButtonText\"  data-dojo-attach-point=\"containerNode,_popupStateNode\"></span\n\t\t\t><input type=\"hidden\" ${!nameAttrSetting} data-dojo-attach-point=\"valueNode\" value=\"${value}\" aria-hidden=\"true\"\n\t\t/></td><td class=\"dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton\"\n\t\t\t\tdata-dojo-attach-point=\"titleNode\" role=\"presentation\"\n\t\t\t><div class=\"dijitReset dijitArrowButtonInner\" role=\"presentation\"></div\n\t\t\t><div class=\"dijitReset dijitArrowButtonChar\" role=\"presentation\">&#9660;</div\n\t\t></td\n\t></tr></tbody\n></table>\n","dijit/form/HorizontalSlider":function(){require({cache:{"url:dijit/form/templates/HorizontalSlider.html":"<table class=\"dijit dijitReset dijitSlider dijitSliderH\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" rules=\"none\" data-dojo-attach-event=\"onkeypress:_onKeyPress,onkeyup:_onKeyUp\"\n\trole=\"presentation\"\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t\t><td data-dojo-attach-point=\"topDecoration\" class=\"dijitReset dijitSliderDecoration dijitSliderDecorationT dijitSliderDecorationH\"></td\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerH\"\n\t\t\t><div class=\"dijitSliderDecrementIconH\" style=\"display:none\" data-dojo-attach-point=\"decrementButton\"><span class=\"dijitSliderButtonInner\">-</span></div\n\t\t></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperH dijitSliderLeftBumper\" data-dojo-attach-event=\"press:_onClkDecBumper\"></div\n\t\t></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><input data-dojo-attach-point=\"valueNode\" type=\"hidden\" ${!nameAttrSetting}\n\t\t\t/><div class=\"dijitReset dijitSliderBarContainerH\" role=\"presentation\" data-dojo-attach-point=\"sliderBarContainer\"\n\t\t\t\t><div role=\"presentation\" data-dojo-attach-point=\"progressBar\" class=\"dijitSliderBar dijitSliderBarH dijitSliderProgressBar dijitSliderProgressBarH\" data-dojo-attach-event=\"press:_onBarClick\"\n\t\t\t\t\t><div class=\"dijitSliderMoveable dijitSliderMoveableH\"\n\t\t\t\t\t\t><div data-dojo-attach-point=\"sliderHandle,focusNode\" class=\"dijitSliderImageHandle dijitSliderImageHandleH\" data-dojo-attach-event=\"press:_onHandleClick\" role=\"slider\" valuemin=\"${minimum}\" valuemax=\"${maximum}\"></div\n\t\t\t\t\t></div\n\t\t\t\t></div\n\t\t\t\t><div role=\"presentation\" data-dojo-attach-point=\"remainingBar\" class=\"dijitSliderBar dijitSliderBarH dijitSliderRemainingBar dijitSliderRemainingBarH\" data-dojo-attach-event=\"press:_onBarClick\"></div\n\t\t\t></div\n\t\t></td\n\t\t><td class=\"dijitReset\"\n\t\t\t><div class=\"dijitSliderBar dijitSliderBumper dijitSliderBumperH dijitSliderRightBumper\" data-dojo-attach-event=\"press:_onClkIncBumper\"></div\n\t\t></td\n\t\t><td class=\"dijitReset dijitSliderButtonContainer dijitSliderButtonContainerH\"\n\t\t\t><div class=\"dijitSliderIncrementIconH\" style=\"display:none\" data-dojo-attach-point=\"incrementButton\"><span class=\"dijitSliderButtonInner\">+</span></div\n\t\t></td\n\t></tr\n\t><tr class=\"dijitReset\"\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t\t><td data-dojo-attach-point=\"containerNode,bottomDecoration\" class=\"dijitReset dijitSliderDecoration dijitSliderDecorationB dijitSliderDecorationH\"></td\n\t\t><td class=\"dijitReset\" colspan=\"2\"></td\n\t></tr\n></table>\n"}});define("dijit/form/HorizontalSlider",["dojo/_base/array","dojo/_base/declare","dojo/dnd/move","dojo/_base/event","dojo/_base/fx","dojo/dom-geometry","dojo/dom-style","dojo/keys","dojo/_base/lang","dojo/_base/sniff","dojo/dnd/Moveable","dojo/dnd/Mover","dojo/query","../registry","../focus","../typematic","./Button","./_FormValueWidget","../_Container","dojo/text!./templates/HorizontalSlider.html"],function(_3c6,_3c7,move,_3c8,fx,_3c9,_3ca,keys,lang,has,_3cb,_3cc,_3cd,_3ce,_3cf,_3d0,_3d1,_3d2,_3d3,_3d4){var _3d5=_3c7("dijit.form._SliderMover",_3cc,{onMouseMove:function(e){var _3d6=this.widget;var _3d7=_3d6._abspos;if(!_3d7){_3d7=_3d6._abspos=_3c9.position(_3d6.sliderBarContainer,true);_3d6._setPixelValue_=lang.hitch(_3d6,"_setPixelValue");_3d6._isReversed_=_3d6._isReversed();}var _3d8=e[_3d6._mousePixelCoord]-_3d7[_3d6._startingPixelCoord];_3d6._setPixelValue_(_3d6._isReversed_?(_3d7[_3d6._pixelCount]-_3d8):_3d8,_3d7[_3d6._pixelCount],false);},destroy:function(e){_3cc.prototype.destroy.apply(this,arguments);var _3d9=this.widget;_3d9._abspos=null;_3d9._setValueAttr(_3d9.value,true);}});var _3da=_3c7("dijit.form.HorizontalSlider",[_3d2,_3d3],{templateString:_3d4,value:0,showButtons:true,minimum:0,maximum:100,discreteValues:Infinity,pageIncrement:2,clickSelect:true,slideDuration:_3ce.defaultDuration,_setIdAttr:"",baseClass:"dijitSlider",cssStateNodes:{incrementButton:"dijitSliderIncrementButton",decrementButton:"dijitSliderDecrementButton",focusNode:"dijitSliderThumb"},_mousePixelCoord:"pageX",_pixelCount:"w",_startingPixelCoord:"x",_handleOffsetCoord:"left",_progressPixelSize:"width",_onKeyUp:function(e){if(this.disabled||this.readOnly||e.altKey||e.ctrlKey||e.metaKey){return;}this._setValueAttr(this.value,true);},_onKeyPress:function(e){if(this.disabled||this.readOnly||e.altKey||e.ctrlKey||e.metaKey){return;}switch(e.charOrCode){case keys.HOME:this._setValueAttr(this.minimum,false);break;case keys.END:this._setValueAttr(this.maximum,false);break;case ((this._descending||this.isLeftToRight())?keys.RIGHT_ARROW:keys.LEFT_ARROW):case (this._descending===false?keys.DOWN_ARROW:keys.UP_ARROW):case (this._descending===false?keys.PAGE_DOWN:keys.PAGE_UP):this.increment(e);break;case ((this._descending||this.isLeftToRight())?keys.LEFT_ARROW:keys.RIGHT_ARROW):case (this._descending===false?keys.UP_ARROW:keys.DOWN_ARROW):case (this._descending===false?keys.PAGE_UP:keys.PAGE_DOWN):this.decrement(e);break;default:return;}_3c8.stop(e);},_onHandleClick:function(e){if(this.disabled||this.readOnly){return;}if(!has("ie")){_3cf.focus(this.sliderHandle);}_3c8.stop(e);},_isReversed:function(){return !this.isLeftToRight();},_onBarClick:function(e){if(this.disabled||this.readOnly||!this.clickSelect){return;}_3cf.focus(this.sliderHandle);_3c8.stop(e);var _3db=_3c9.position(this.sliderBarContainer,true);var _3dc=e[this._mousePixelCoord]-_3db[this._startingPixelCoord];this._setPixelValue(this._isReversed()?(_3db[this._pixelCount]-_3dc):_3dc,_3db[this._pixelCount],true);this._movable.onMouseDown(e);},_setPixelValue:function(_3dd,_3de,_3df){if(this.disabled||this.readOnly){return;}var _3e0=this.discreteValues;if(_3e0<=1||_3e0==Infinity){_3e0=_3de;}_3e0--;var _3e1=_3de/_3e0;var _3e2=Math.round(_3dd/_3e1);this._setValueAttr(Math.max(Math.min((this.maximum-this.minimum)*_3e2/_3e0+this.minimum,this.maximum),this.minimum),_3df);},_setValueAttr:function(_3e3,_3e4){this._set("value",_3e3);this.valueNode.value=_3e3;this.focusNode.setAttribute("aria-valuenow",_3e3);this.inherited(arguments);var _3e5=(_3e3-this.minimum)/(this.maximum-this.minimum);var _3e6=(this._descending===false)?this.remainingBar:this.progressBar;var _3e7=(this._descending===false)?this.progressBar:this.remainingBar;if(this._inProgressAnim&&this._inProgressAnim.status!="stopped"){this._inProgressAnim.stop(true);}if(_3e4&&this.slideDuration>0&&_3e6.style[this._progressPixelSize]){var _3e8=this;var _3e9={};var _3ea=parseFloat(_3e6.style[this._progressPixelSize]);var _3eb=this.slideDuration*(_3e5-_3ea/100);if(_3eb==0){return;}if(_3eb<0){_3eb=0-_3eb;}_3e9[this._progressPixelSize]={start:_3ea,end:_3e5*100,units:"%"};this._inProgressAnim=fx.animateProperty({node:_3e6,duration:_3eb,onAnimate:function(v){_3e7.style[_3e8._progressPixelSize]=(100-parseFloat(v[_3e8._progressPixelSize]))+"%";},onEnd:function(){delete _3e8._inProgressAnim;},properties:_3e9});this._inProgressAnim.play();}else{_3e6.style[this._progressPixelSize]=(_3e5*100)+"%";_3e7.style[this._progressPixelSize]=((1-_3e5)*100)+"%";}},_bumpValue:function(_3ec,_3ed){if(this.disabled||this.readOnly){return;}var s=_3ca.getComputedStyle(this.sliderBarContainer);var c=_3c9.getContentBox(this.sliderBarContainer,s);var _3ee=this.discreteValues;if(_3ee<=1||_3ee==Infinity){_3ee=c[this._pixelCount];}_3ee--;var _3ef=(this.value-this.minimum)*_3ee/(this.maximum-this.minimum)+_3ec;if(_3ef<0){_3ef=0;}if(_3ef>_3ee){_3ef=_3ee;}_3ef=_3ef*(this.maximum-this.minimum)/_3ee+this.minimum;this._setValueAttr(_3ef,_3ed);},_onClkBumper:function(val){if(this.disabled||this.readOnly||!this.clickSelect){return;}this._setValueAttr(val,true);},_onClkIncBumper:function(){this._onClkBumper(this._descending===false?this.minimum:this.maximum);},_onClkDecBumper:function(){this._onClkBumper(this._descending===false?this.maximum:this.minimum);},decrement:function(e){this._bumpValue(e.charOrCode==keys.PAGE_DOWN?-this.pageIncrement:-1);},increment:function(e){this._bumpValue(e.charOrCode==keys.PAGE_UP?this.pageIncrement:1);},_mouseWheeled:function(evt){_3c8.stop(evt);var _3f0=!has("mozilla");var _3f1=evt[(_3f0?"wheelDelta":"detail")]*(_3f0?1:-1);this._bumpValue(_3f1<0?-1:1,true);},startup:function(){if(this._started){return;}_3c6.forEach(this.getChildren(),function(_3f2){if(this[_3f2.container]!=this.containerNode){this[_3f2.container].appendChild(_3f2.domNode);}},this);this.inherited(arguments);},_typematicCallback:function(_3f3,_3f4,e){if(_3f3==-1){this._setValueAttr(this.value,true);}else{this[(_3f4==(this._descending?this.incrementButton:this.decrementButton))?"decrement":"increment"](e);}},buildRendering:function(){this.inherited(arguments);if(this.showButtons){this.incrementButton.style.display="";this.decrementButton.style.display="";}var _3f5=_3cd("label[for=\""+this.id+"\"]");if(_3f5.length){_3f5[0].id=(this.id+"_label");this.focusNode.setAttribute("aria-labelledby",_3f5[0].id);}this.focusNode.setAttribute("aria-valuemin",this.minimum);this.focusNode.setAttribute("aria-valuemax",this.maximum);},postCreate:function(){this.inherited(arguments);if(this.showButtons){this._connects.push(_3d0.addMouseListener(this.decrementButton,this,"_typematicCallback",25,500));this._connects.push(_3d0.addMouseListener(this.incrementButton,this,"_typematicCallback",25,500));}this.connect(this.domNode,!has("mozilla")?"onmousewheel":"DOMMouseScroll","_mouseWheeled");var _3f6=_3c7(_3d5,{widget:this});this._movable=new _3cb(this.sliderHandle,{mover:_3f6});this._layoutHackIE7();},destroy:function(){this._movable.destroy();if(this._inProgressAnim&&this._inProgressAnim.status!="stopped"){this._inProgressAnim.stop(true);}this._supportingWidgets=_3ce.findWidgets(this.domNode);this.inherited(arguments);}});_3da._Mover=_3d5;return _3da;});},"*now":function(r){r(["dojo/i18n!*preload*dijit/nls/_dijit_form*[\"ar\",\"ca\",\"cs\",\"da\",\"de\",\"el\",\"en\",\"es\",\"fi\",\"fr\",\"he\",\"hr\",\"hu\",\"it\",\"ja\",\"kk\",\"ko\",\"nl\",\"no\",\"pl\",\"pt\",\"pt-br\",\"ro\",\"ru\",\"sk\",\"sl\",\"sv\",\"th\",\"tr\",\"uk\",\"zh\",\"zh-tw\",\"ROOT\"]"]);},"*noref":1}});define("dijit/_dijit_form",[],1);require(["dijit/InlineEditBox","dijit/Calendar","dijit/form/Button","dijit/form/CheckBox","dijit/form/ComboBox","dijit/form/ComboButton","dijit/form/CurrencyTextBox","dijit/form/DateTextBox","dijit/form/DropDownButton","dijit/form/FilteringSelect","dijit/form/Form","dijit/form/HorizontalSlider","dijit/form/HorizontalRule","dijit/form/HorizontalRuleLabels","dijit/form/MappedTextBox","dijit/form/MultiSelect","dijit/form/NumberSpinner","dijit/form/NumberTextBox","dijit/form/RadioButton","dijit/form/RangeBoundTextBox","dijit/form/Select","dijit/form/SimpleTextarea","dijit/form/Slider","dijit/form/TextBox","dijit/form/Textarea","dijit/form/TimeTextBox","dijit/form/ToggleButton","dijit/form/ValidationTextBox","dijit/form/VerticalSlider","dijit/form/VerticalRule","dijit/form/VerticalRuleLabels"]);
}catch(e){console.log("Module 'dijit_form_17': ",e);}
try{/*
	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
*/

//>>built
require({cache:{"dojox/gfx/arc":function(){define("dojox/gfx/arc",["./_base","dojo/_base/lang","./matrix"],function(g,_1,m){var _2=2*Math.PI,_3=Math.PI/4,_4=Math.PI/8,_5=_3+_4,_6=_7(_4);function _7(_8){var _9=Math.cos(_8),_a=Math.sin(_8),p2={x:_9+(4/3)*(1-_9),y:_a-(4/3)*_9*(1-_9)/_a};return {s:{x:_9,y:-_a},c1:{x:p2.x,y:-p2.y},c2:p2,e:{x:_9,y:_a}};};var _b=g.arc={unitArcAsBezier:_7,curvePI4:_6,arcAsBezier:function(_c,rx,ry,_d,_e,_f,x,y){_e=Boolean(_e);_f=Boolean(_f);var _10=m._degToRad(_d),rx2=rx*rx,ry2=ry*ry,pa=m.multiplyPoint(m.rotate(-_10),{x:(_c.x-x)/2,y:(_c.y-y)/2}),_11=pa.x*pa.x,_12=pa.y*pa.y,c1=Math.sqrt((rx2*ry2-rx2*_12-ry2*_11)/(rx2*_12+ry2*_11));if(isNaN(c1)){c1=0;}var ca={x:c1*rx*pa.y/ry,y:-c1*ry*pa.x/rx};if(_e==_f){ca={x:-ca.x,y:-ca.y};}var c=m.multiplyPoint([m.translate((_c.x+x)/2,(_c.y+y)/2),m.rotate(_10)],ca);var _13=m.normalize([m.translate(c.x,c.y),m.rotate(_10),m.scale(rx,ry)]);var _14=m.invert(_13),sp=m.multiplyPoint(_14,_c),ep=m.multiplyPoint(_14,x,y),_15=Math.atan2(sp.y,sp.x),_16=Math.atan2(ep.y,ep.x),_17=_15-_16;if(_f){_17=-_17;}if(_17<0){_17+=_2;}else{if(_17>_2){_17-=_2;}}var _18=_4,_19=_6,_1a=_f?_18:-_18,_1b=[];for(var _1c=_17;_1c>0;_1c-=_3){if(_1c<_5){_18=_1c/2;_19=_7(_18);_1a=_f?_18:-_18;_1c=0;}var c2,e,M=m.normalize([_13,m.rotate(_15+_1a)]);if(_f){c1=m.multiplyPoint(M,_19.c1);c2=m.multiplyPoint(M,_19.c2);e=m.multiplyPoint(M,_19.e);}else{c1=m.multiplyPoint(M,_19.c2);c2=m.multiplyPoint(M,_19.c1);e=m.multiplyPoint(M,_19.s);}_1b.push([c1.x,c1.y,c2.x,c2.y,e.x,e.y]);_15+=2*_1a;}return _1b;}};return _b;});},"dojox/gfx":function(){define("dojox/gfx",["dojo/_base/lang","./gfx/_base","./gfx/renderer!"],function(_1d,_1e,_1f){_1e.switchTo(_1f);return _1e;});},"dojox/gfx/gradient":function(){define("dojox/gfx/gradient",["dojo/_base/lang","./matrix","dojo/_base/Color"],function(_20,m,_21){var _22=_20.getObject("dojox.gfx.gradient",true);var C=_21;_22.rescale=function(_23,_24,to){var len=_23.length,_25=(to<_24),_26;if(_25){var tmp=_24;_24=to;to=tmp;}if(!len){return [];}if(to<=_23[0].offset){_26=[{offset:0,color:_23[0].color},{offset:1,color:_23[0].color}];}else{if(_24>=_23[len-1].offset){_26=[{offset:0,color:_23[len-1].color},{offset:1,color:_23[len-1].color}];}else{var _27=to-_24,_28,_29,i;_26=[];if(_24<0){_26.push({offset:0,color:new C(_23[0].color)});}for(i=0;i<len;++i){_28=_23[i];if(_28.offset>=_24){break;}}if(i){_29=_23[i-1];_26.push({offset:0,color:_21.blendColors(new C(_29.color),new C(_28.color),(_24-_29.offset)/(_28.offset-_29.offset))});}else{_26.push({offset:0,color:new C(_28.color)});}for(;i<len;++i){_28=_23[i];if(_28.offset>=to){break;}_26.push({offset:(_28.offset-_24)/_27,color:new C(_28.color)});}if(i<len){_29=_23[i-1];_26.push({offset:1,color:_21.blendColors(new C(_29.color),new C(_28.color),(to-_29.offset)/(_28.offset-_29.offset))});}else{_26.push({offset:1,color:new C(_23[len-1].color)});}}}if(_25){_26.reverse();for(i=0,len=_26.length;i<len;++i){_28=_26[i];_28.offset=1-_28.offset;}}return _26;};function _2a(x,y,_2b,_2c,_2d,_2e){var r=m.multiplyPoint(_2b,x,y),p=m.multiplyPoint(_2c,r);return {r:r,p:p,o:m.multiplyPoint(_2d,p).x/_2e};};function _2f(a,b){return a.o-b.o;};_22.project=function(_30,_31,tl,rb,ttl,trb){_30=_30||m.identity;var f1=m.multiplyPoint(_30,_31.x1,_31.y1),f2=m.multiplyPoint(_30,_31.x2,_31.y2),_32=Math.atan2(f2.y-f1.y,f2.x-f1.x),_33=m.project(f2.x-f1.x,f2.y-f1.y),pf1=m.multiplyPoint(_33,f1),pf2=m.multiplyPoint(_33,f2),_34=new m.Matrix2D([m.rotate(-_32),{dx:-pf1.x,dy:-pf1.y}]),_35=m.multiplyPoint(_34,pf2).x,_36=[_2a(tl.x,tl.y,_30,_33,_34,_35),_2a(rb.x,rb.y,_30,_33,_34,_35),_2a(tl.x,rb.y,_30,_33,_34,_35),_2a(rb.x,tl.y,_30,_33,_34,_35)].sort(_2f),_37=_36[0].o,to=_36[3].o,_38=_22.rescale(_31.colors,_37,to),_39=Math.atan2(_36[3].r.y-_36[0].r.y,_36[3].r.x-_36[0].r.x);return {type:"linear",x1:_36[0].p.x,y1:_36[0].p.y,x2:_36[3].p.x,y2:_36[3].p.y,colors:_38,angle:_32};};return _22;});},"dojox/gfx/svg":function(){define("dojox/gfx/svg",["dojo/_base/lang","dojo/_base/sniff","dojo/_base/window","dojo/dom","dojo/_base/declare","dojo/_base/array","dojo/dom-geometry","dojo/_base/Color","./_base","./shape","./path"],function(_3a,has,win,dom,_3b,arr,_3c,_3d,g,gs,_3e){var svg=g.svg={};svg.useSvgWeb=(typeof window.svgweb!="undefined");var _3f=has("ios"),_40=has("android"),_41=has("chrome")||(_40&&_40>=4)?"auto":"optimizeLegibility";function _42(ns,_43){if(win.doc.createElementNS){return win.doc.createElementNS(ns,_43);}else{return win.doc.createElement(_43);}};function _44(_45){if(svg.useSvgWeb){return win.doc.createTextNode(_45,true);}else{return win.doc.createTextNode(_45);}};function _46(){if(svg.useSvgWeb){return win.doc.createDocumentFragment(true);}else{return win.doc.createDocumentFragment();}};svg.xmlns={xlink:"http://www.w3.org/1999/xlink",svg:"http://www.w3.org/2000/svg"};svg.getRef=function(_47){if(!_47||_47=="none"){return null;}if(_47.match(/^url\(#.+\)$/)){return dom.byId(_47.slice(5,-1));}if(_47.match(/^#dojoUnique\d+$/)){return dom.byId(_47.slice(1));}return null;};svg.dasharray={solid:"none",shortdash:[4,1],shortdot:[1,1],shortdashdot:[4,1,1,1],shortdashdotdot:[4,1,1,1,1,1],dot:[1,3],dash:[4,3],longdash:[8,3],dashdot:[4,3,1,3],longdashdot:[8,3,1,3],longdashdotdot:[8,3,1,3,1,3]};_3b("dojox.gfx.svg.Shape",gs.Shape,{setFill:function(_48){if(!_48){this.fillStyle=null;this.rawNode.setAttribute("fill","none");this.rawNode.setAttribute("fill-opacity",0);return this;}var f;var _49=function(x){this.setAttribute(x,f[x].toFixed(8));};if(typeof (_48)=="object"&&"type" in _48){switch(_48.type){case "linear":f=g.makeParameters(g.defaultLinearGradient,_48);var _4a=this._setFillObject(f,"linearGradient");arr.forEach(["x1","y1","x2","y2"],_49,_4a);break;case "radial":f=g.makeParameters(g.defaultRadialGradient,_48);var _4b=this._setFillObject(f,"radialGradient");arr.forEach(["cx","cy","r"],_49,_4b);break;case "pattern":f=g.makeParameters(g.defaultPattern,_48);var _4c=this._setFillObject(f,"pattern");arr.forEach(["x","y","width","height"],_49,_4c);break;}this.fillStyle=f;return this;}f=g.normalizeColor(_48);this.fillStyle=f;this.rawNode.setAttribute("fill",f.toCss());this.rawNode.setAttribute("fill-opacity",f.a);this.rawNode.setAttribute("fill-rule","evenodd");return this;},setStroke:function(_4d){var rn=this.rawNode;if(!_4d){this.strokeStyle=null;rn.setAttribute("stroke","none");rn.setAttribute("stroke-opacity",0);return this;}if(typeof _4d=="string"||_3a.isArray(_4d)||_4d instanceof _3d){_4d={color:_4d};}var s=this.strokeStyle=g.makeParameters(g.defaultStroke,_4d);s.color=g.normalizeColor(s.color);if(s){rn.setAttribute("stroke",s.color.toCss());rn.setAttribute("stroke-opacity",s.color.a);rn.setAttribute("stroke-width",s.width);rn.setAttribute("stroke-linecap",s.cap);if(typeof s.join=="number"){rn.setAttribute("stroke-linejoin","miter");rn.setAttribute("stroke-miterlimit",s.join);}else{rn.setAttribute("stroke-linejoin",s.join);}var da=s.style.toLowerCase();if(da in svg.dasharray){da=svg.dasharray[da];}if(da instanceof Array){da=_3a._toArray(da);for(var i=0;i<da.length;++i){da[i]*=s.width;}if(s.cap!="butt"){for(var i=0;i<da.length;i+=2){da[i]-=s.width;if(da[i]<1){da[i]=1;}}for(var i=1;i<da.length;i+=2){da[i]+=s.width;}}da=da.join(",");}rn.setAttribute("stroke-dasharray",da);rn.setAttribute("dojoGfxStrokeStyle",s.style);}return this;},_getParentSurface:function(){var _4e=this.parent;for(;_4e&&!(_4e instanceof g.Surface);_4e=_4e.parent){}return _4e;},_setFillObject:function(f,_4f){var _50=svg.xmlns.svg;this.fillStyle=f;var _51=this._getParentSurface(),_52=_51.defNode,_53=this.rawNode.getAttribute("fill"),ref=svg.getRef(_53);if(ref){_53=ref;if(_53.tagName.toLowerCase()!=_4f.toLowerCase()){var id=_53.id;_53.parentNode.removeChild(_53);_53=_42(_50,_4f);_53.setAttribute("id",id);_52.appendChild(_53);}else{while(_53.childNodes.length){_53.removeChild(_53.lastChild);}}}else{_53=_42(_50,_4f);_53.setAttribute("id",g._base._getUniqueId());_52.appendChild(_53);}if(_4f=="pattern"){_53.setAttribute("patternUnits","userSpaceOnUse");var img=_42(_50,"image");img.setAttribute("x",0);img.setAttribute("y",0);img.setAttribute("width",f.width.toFixed(8));img.setAttribute("height",f.height.toFixed(8));img.setAttributeNS(svg.xmlns.xlink,"xlink:href",f.src);_53.appendChild(img);}else{_53.setAttribute("gradientUnits","userSpaceOnUse");for(var i=0;i<f.colors.length;++i){var c=f.colors[i],t=_42(_50,"stop"),cc=c.color=g.normalizeColor(c.color);t.setAttribute("offset",c.offset.toFixed(8));t.setAttribute("stop-color",cc.toCss());t.setAttribute("stop-opacity",cc.a);_53.appendChild(t);}}this.rawNode.setAttribute("fill","url(#"+_53.getAttribute("id")+")");this.rawNode.removeAttribute("fill-opacity");this.rawNode.setAttribute("fill-rule","evenodd");return _53;},_applyTransform:function(){var _54=this.matrix;if(_54){var tm=this.matrix;this.rawNode.setAttribute("transform","matrix("+tm.xx.toFixed(8)+","+tm.yx.toFixed(8)+","+tm.xy.toFixed(8)+","+tm.yy.toFixed(8)+","+tm.dx.toFixed(8)+","+tm.dy.toFixed(8)+")");}else{this.rawNode.removeAttribute("transform");}return this;},setRawNode:function(_55){var r=this.rawNode=_55;if(this.shape.type!="image"){r.setAttribute("fill","none");}r.setAttribute("fill-opacity",0);r.setAttribute("stroke","none");r.setAttribute("stroke-opacity",0);r.setAttribute("stroke-width",1);r.setAttribute("stroke-linecap","butt");r.setAttribute("stroke-linejoin","miter");r.setAttribute("stroke-miterlimit",4);r.__gfxObject__=this.getUID();},setShape:function(_56){this.shape=g.makeParameters(this.shape,_56);for(var i in this.shape){if(i!="type"){this.rawNode.setAttribute(i,this.shape[i]);}}this.bbox=null;return this;},_moveToFront:function(){this.rawNode.parentNode.appendChild(this.rawNode);return this;},_moveToBack:function(){this.rawNode.parentNode.insertBefore(this.rawNode,this.rawNode.parentNode.firstChild);return this;}});_3b("dojox.gfx.svg.Group",svg.Shape,{constructor:function(){gs.Container._init.call(this);},setRawNode:function(_57){this.rawNode=_57;this.rawNode.__gfxObject__=this.getUID();}});svg.Group.nodeType="g";_3b("dojox.gfx.svg.Rect",[svg.Shape,gs.Rect],{setShape:function(_58){this.shape=g.makeParameters(this.shape,_58);this.bbox=null;for(var i in this.shape){if(i!="type"&&i!="r"){this.rawNode.setAttribute(i,this.shape[i]);}}if(this.shape.r!=null){this.rawNode.setAttribute("ry",this.shape.r);this.rawNode.setAttribute("rx",this.shape.r);}return this;}});svg.Rect.nodeType="rect";_3b("dojox.gfx.svg.Ellipse",[svg.Shape,gs.Ellipse],{});svg.Ellipse.nodeType="ellipse";_3b("dojox.gfx.svg.Circle",[svg.Shape,gs.Circle],{});svg.Circle.nodeType="circle";_3b("dojox.gfx.svg.Line",[svg.Shape,gs.Line],{});svg.Line.nodeType="line";_3b("dojox.gfx.svg.Polyline",[svg.Shape,gs.Polyline],{setShape:function(_59,_5a){if(_59&&_59 instanceof Array){this.shape=g.makeParameters(this.shape,{points:_59});if(_5a&&this.shape.points.length){this.shape.points.push(this.shape.points[0]);}}else{this.shape=g.makeParameters(this.shape,_59);}this.bbox=null;this._normalizePoints();var _5b=[],p=this.shape.points;for(var i=0;i<p.length;++i){_5b.push(p[i].x.toFixed(8),p[i].y.toFixed(8));}this.rawNode.setAttribute("points",_5b.join(" "));return this;}});svg.Polyline.nodeType="polyline";_3b("dojox.gfx.svg.Image",[svg.Shape,gs.Image],{setShape:function(_5c){this.shape=g.makeParameters(this.shape,_5c);this.bbox=null;var _5d=this.rawNode;for(var i in this.shape){if(i!="type"&&i!="src"){_5d.setAttribute(i,this.shape[i]);}}_5d.setAttribute("preserveAspectRatio","none");_5d.setAttributeNS(svg.xmlns.xlink,"xlink:href",this.shape.src);_5d.__gfxObject__=this.getUID();return this;}});svg.Image.nodeType="image";_3b("dojox.gfx.svg.Text",[svg.Shape,gs.Text],{setShape:function(_5e){this.shape=g.makeParameters(this.shape,_5e);this.bbox=null;var r=this.rawNode,s=this.shape;r.setAttribute("x",s.x);r.setAttribute("y",s.y);r.setAttribute("text-anchor",s.align);r.setAttribute("text-decoration",s.decoration);r.setAttribute("rotate",s.rotated?90:0);r.setAttribute("kerning",s.kerning?"auto":0);r.setAttribute("text-rendering",_41);if(r.firstChild){r.firstChild.nodeValue=s.text;}else{r.appendChild(_44(s.text));}return this;},getTextWidth:function(){var _5f=this.rawNode,_60=_5f.parentNode,_61=_5f.cloneNode(true);_61.style.visibility="hidden";var _62=0,_63=_61.firstChild.nodeValue;_60.appendChild(_61);if(_63!=""){while(!_62){if(_61.getBBox){_62=parseInt(_61.getBBox().width);}else{_62=68;}}}_60.removeChild(_61);return _62;}});svg.Text.nodeType="text";_3b("dojox.gfx.svg.Path",[svg.Shape,_3e.Path],{_updateWithSegment:function(_64){this.inherited(arguments);if(typeof (this.shape.path)=="string"){this.rawNode.setAttribute("d",this.shape.path);}},setShape:function(_65){this.inherited(arguments);if(this.shape.path){this.rawNode.setAttribute("d",this.shape.path);}else{this.rawNode.removeAttribute("d");}return this;}});svg.Path.nodeType="path";_3b("dojox.gfx.svg.TextPath",[svg.Shape,_3e.TextPath],{_updateWithSegment:function(_66){this.inherited(arguments);this._setTextPath();},setShape:function(_67){this.inherited(arguments);this._setTextPath();return this;},_setTextPath:function(){if(typeof this.shape.path!="string"){return;}var r=this.rawNode;if(!r.firstChild){var tp=_42(svg.xmlns.svg,"textPath"),tx=_44("");tp.appendChild(tx);r.appendChild(tp);}var ref=r.firstChild.getAttributeNS(svg.xmlns.xlink,"href"),_68=ref&&svg.getRef(ref);if(!_68){var _69=this._getParentSurface();if(_69){var _6a=_69.defNode;_68=_42(svg.xmlns.svg,"path");var id=g._base._getUniqueId();_68.setAttribute("id",id);_6a.appendChild(_68);r.firstChild.setAttributeNS(svg.xmlns.xlink,"xlink:href","#"+id);}}if(_68){_68.setAttribute("d",this.shape.path);}},_setText:function(){var r=this.rawNode;if(!r.firstChild){var tp=_42(svg.xmlns.svg,"textPath"),tx=_44("");tp.appendChild(tx);r.appendChild(tp);}r=r.firstChild;var t=this.text;r.setAttribute("alignment-baseline","middle");switch(t.align){case "middle":r.setAttribute("text-anchor","middle");r.setAttribute("startOffset","50%");break;case "end":r.setAttribute("text-anchor","end");r.setAttribute("startOffset","100%");break;default:r.setAttribute("text-anchor","start");r.setAttribute("startOffset","0%");break;}r.setAttribute("baseline-shift","0.5ex");r.setAttribute("text-decoration",t.decoration);r.setAttribute("rotate",t.rotated?90:0);r.setAttribute("kerning",t.kerning?"auto":0);r.firstChild.data=t.text;}});svg.TextPath.nodeType="text";_3b("dojox.gfx.svg.Surface",gs.Surface,{constructor:function(){gs.Container._init.call(this);},destroy:function(){this.defNode=null;this.inherited(arguments);},setDimensions:function(_6b,_6c){if(!this.rawNode){return this;}this.rawNode.setAttribute("width",_6b);this.rawNode.setAttribute("height",_6c);return this;},getDimensions:function(){var t=this.rawNode?{width:g.normalizedLength(this.rawNode.getAttribute("width")),height:g.normalizedLength(this.rawNode.getAttribute("height"))}:null;return t;}});svg.createSurface=function(_6d,_6e,_6f){var s=new svg.Surface();s.rawNode=_42(svg.xmlns.svg,"svg");s.rawNode.setAttribute("overflow","hidden");if(_6e){s.rawNode.setAttribute("width",_6e);}if(_6f){s.rawNode.setAttribute("height",_6f);}var _70=_42(svg.xmlns.svg,"defs");s.rawNode.appendChild(_70);s.defNode=_70;s._parent=dom.byId(_6d);s._parent.appendChild(s.rawNode);return s;};var _71={_setFont:function(){var f=this.fontStyle;this.rawNode.setAttribute("font-style",f.style);this.rawNode.setAttribute("font-variant",f.variant);this.rawNode.setAttribute("font-weight",f.weight);this.rawNode.setAttribute("font-size",f.size);this.rawNode.setAttribute("font-family",f.family);}};var C=gs.Container,_72={openBatch:function(){this.fragment=_46();},closeBatch:function(){if(this.fragment){this.rawNode.appendChild(this.fragment);delete this.fragment;}},add:function(_73){if(this!=_73.getParent()){if(this.fragment){this.fragment.appendChild(_73.rawNode);}else{this.rawNode.appendChild(_73.rawNode);}C.add.apply(this,arguments);}return this;},remove:function(_74,_75){if(this==_74.getParent()){if(this.rawNode==_74.rawNode.parentNode){this.rawNode.removeChild(_74.rawNode);}if(this.fragment&&this.fragment==_74.rawNode.parentNode){this.fragment.removeChild(_74.rawNode);}C.remove.apply(this,arguments);}return this;},clear:function(){var r=this.rawNode;while(r.lastChild){r.removeChild(r.lastChild);}var _76=this.defNode;if(_76){while(_76.lastChild){_76.removeChild(_76.lastChild);}r.appendChild(_76);}return C.clear.apply(this,arguments);},_moveChildToFront:C._moveChildToFront,_moveChildToBack:C._moveChildToBack};var _77={createObject:function(_78,_79){if(!this.rawNode){return null;}var _7a=new _78(),_7b=_42(svg.xmlns.svg,_78.nodeType);_7a.setRawNode(_7b);_7a.setShape(_79);this.add(_7a);return _7a;}};_3a.extend(svg.Text,_71);_3a.extend(svg.TextPath,_71);_3a.extend(svg.Group,_72);_3a.extend(svg.Group,gs.Creator);_3a.extend(svg.Group,_77);_3a.extend(svg.Surface,_72);_3a.extend(svg.Surface,gs.Creator);_3a.extend(svg.Surface,_77);svg.fixTarget=function(_7c,_7d){if(!_7c.gfxTarget){if(_3f&&_7c.target.wholeText){_7c.gfxTarget=gs.byId(_7c.target.parentElement.__gfxObject__);}else{_7c.gfxTarget=gs.byId(_7c.target.__gfxObject__);}}return true;};if(svg.useSvgWeb){svg.createSurface=function(_7e,_7f,_80){var s=new svg.Surface();if(!_7f||!_80){var pos=_3c.position(_7e);_7f=_7f||pos.w;_80=_80||pos.h;}_7e=dom.byId(_7e);var id=_7e.id?_7e.id+"_svgweb":g._base._getUniqueId();var _81=_42(svg.xmlns.svg,"svg");_81.id=id;_81.setAttribute("width",_7f);_81.setAttribute("height",_80);svgweb.appendChild(_81,_7e);_81.addEventListener("SVGLoad",function(){s.rawNode=this;s.isLoaded=true;var _82=_42(svg.xmlns.svg,"defs");s.rawNode.appendChild(_82);s.defNode=_82;if(s.onLoad){s.onLoad(s);}},false);s.isLoaded=false;return s;};svg.Surface.extend({destroy:function(){var _83=this.rawNode;svgweb.removeChild(_83,_83.parentNode);}});var _84={connect:function(_85,_86,_87){if(_85.substring(0,2)==="on"){_85=_85.substring(2);}if(arguments.length==2){_87=_86;}else{_87=_3a.hitch(_86,_87);}this.getEventSource().addEventListener(_85,_87,false);return [this,_85,_87];},disconnect:function(_88){this.getEventSource().removeEventListener(_88[1],_88[2],false);delete _88[0];}};_3a.extend(svg.Shape,_84);_3a.extend(svg.Surface,_84);}return svg;});},"dojox/gfx/path":function(){define("dojox/gfx/path",["./_base","dojo/_base/lang","dojo/_base/declare","./matrix","./shape"],function(g,_89,_8a,_8b,_8c){var _8d=g.path={};var _8e=_8a("dojox.gfx.path.Path",_8c.Shape,{constructor:function(_8f){this.shape=_89.clone(g.defaultPath);this.segments=[];this.tbbox=null;this.absolute=true;this.last={};this.rawNode=_8f;this.segmented=false;},setAbsoluteMode:function(_90){this._confirmSegmented();this.absolute=typeof _90=="string"?(_90=="absolute"):_90;return this;},getAbsoluteMode:function(){this._confirmSegmented();return this.absolute;},getBoundingBox:function(){this._confirmSegmented();return (this.bbox&&("l" in this.bbox))?{x:this.bbox.l,y:this.bbox.t,width:this.bbox.r-this.bbox.l,height:this.bbox.b-this.bbox.t}:null;},_getRealBBox:function(){this._confirmSegmented();if(this.tbbox){return this.tbbox;}var _91=this.bbox,_8b=this._getRealMatrix();this.bbox=null;for(var i=0,len=this.segments.length;i<len;++i){this._updateWithSegment(this.segments[i],_8b);}var t=this.bbox;this.bbox=_91;this.tbbox=t?[{x:t.l,y:t.t},{x:t.r,y:t.t},{x:t.r,y:t.b},{x:t.l,y:t.b}]:null;return this.tbbox;},getLastPosition:function(){this._confirmSegmented();return "x" in this.last?this.last:null;},_applyTransform:function(){this.tbbox=null;return this.inherited(arguments);},_updateBBox:function(x,y,m){if(m){var t=_8b.multiplyPoint(m,x,y);x=t.x;y=t.y;}if(this.bbox&&("l" in this.bbox)){if(this.bbox.l>x){this.bbox.l=x;}if(this.bbox.r<x){this.bbox.r=x;}if(this.bbox.t>y){this.bbox.t=y;}if(this.bbox.b<y){this.bbox.b=y;}}else{this.bbox={l:x,b:y,r:x,t:y};}},_updateWithSegment:function(_92,_93){var n=_92.args,l=n.length,i;switch(_92.action){case "M":case "L":case "C":case "S":case "Q":case "T":for(i=0;i<l;i+=2){this._updateBBox(n[i],n[i+1],_93);}this.last.x=n[l-2];this.last.y=n[l-1];this.absolute=true;break;case "H":for(i=0;i<l;++i){this._updateBBox(n[i],this.last.y,_93);}this.last.x=n[l-1];this.absolute=true;break;case "V":for(i=0;i<l;++i){this._updateBBox(this.last.x,n[i],_93);}this.last.y=n[l-1];this.absolute=true;break;case "m":var _94=0;if(!("x" in this.last)){this._updateBBox(this.last.x=n[0],this.last.y=n[1],_93);_94=2;}for(i=_94;i<l;i+=2){this._updateBBox(this.last.x+=n[i],this.last.y+=n[i+1],_93);}this.absolute=false;break;case "l":case "t":for(i=0;i<l;i+=2){this._updateBBox(this.last.x+=n[i],this.last.y+=n[i+1],_93);}this.absolute=false;break;case "h":for(i=0;i<l;++i){this._updateBBox(this.last.x+=n[i],this.last.y,_93);}this.absolute=false;break;case "v":for(i=0;i<l;++i){this._updateBBox(this.last.x,this.last.y+=n[i],_93);}this.absolute=false;break;case "c":for(i=0;i<l;i+=6){this._updateBBox(this.last.x+n[i],this.last.y+n[i+1],_93);this._updateBBox(this.last.x+n[i+2],this.last.y+n[i+3],_93);this._updateBBox(this.last.x+=n[i+4],this.last.y+=n[i+5],_93);}this.absolute=false;break;case "s":case "q":for(i=0;i<l;i+=4){this._updateBBox(this.last.x+n[i],this.last.y+n[i+1],_93);this._updateBBox(this.last.x+=n[i+2],this.last.y+=n[i+3],_93);}this.absolute=false;break;case "A":for(i=0;i<l;i+=7){this._updateBBox(n[i+5],n[i+6],_93);}this.last.x=n[l-2];this.last.y=n[l-1];this.absolute=true;break;case "a":for(i=0;i<l;i+=7){this._updateBBox(this.last.x+=n[i+5],this.last.y+=n[i+6],_93);}this.absolute=false;break;}var _95=[_92.action];for(i=0;i<l;++i){_95.push(g.formatNumber(n[i],true));}if(typeof this.shape.path=="string"){this.shape.path+=_95.join("");}else{for(i=0,l=_95.length;i<l;++i){this.shape.path.push(_95[i]);}}},_validSegments:{m:2,l:2,h:1,v:1,c:6,s:4,q:4,t:2,a:7,z:0},_pushSegment:function(_96,_97){this.tbbox=null;var _98=this._validSegments[_96.toLowerCase()],_99;if(typeof _98=="number"){if(_98){if(_97.length>=_98){_99={action:_96,args:_97.slice(0,_97.length-_97.length%_98)};this.segments.push(_99);this._updateWithSegment(_99);}}else{_99={action:_96,args:[]};this.segments.push(_99);this._updateWithSegment(_99);}}},_collectArgs:function(_9a,_9b){for(var i=0;i<_9b.length;++i){var t=_9b[i];if(typeof t=="boolean"){_9a.push(t?1:0);}else{if(typeof t=="number"){_9a.push(t);}else{if(t instanceof Array){this._collectArgs(_9a,t);}else{if("x" in t&&"y" in t){_9a.push(t.x,t.y);}}}}}},moveTo:function(){this._confirmSegmented();var _9c=[];this._collectArgs(_9c,arguments);this._pushSegment(this.absolute?"M":"m",_9c);return this;},lineTo:function(){this._confirmSegmented();var _9d=[];this._collectArgs(_9d,arguments);this._pushSegment(this.absolute?"L":"l",_9d);return this;},hLineTo:function(){this._confirmSegmented();var _9e=[];this._collectArgs(_9e,arguments);this._pushSegment(this.absolute?"H":"h",_9e);return this;},vLineTo:function(){this._confirmSegmented();var _9f=[];this._collectArgs(_9f,arguments);this._pushSegment(this.absolute?"V":"v",_9f);return this;},curveTo:function(){this._confirmSegmented();var _a0=[];this._collectArgs(_a0,arguments);this._pushSegment(this.absolute?"C":"c",_a0);return this;},smoothCurveTo:function(){this._confirmSegmented();var _a1=[];this._collectArgs(_a1,arguments);this._pushSegment(this.absolute?"S":"s",_a1);return this;},qCurveTo:function(){this._confirmSegmented();var _a2=[];this._collectArgs(_a2,arguments);this._pushSegment(this.absolute?"Q":"q",_a2);return this;},qSmoothCurveTo:function(){this._confirmSegmented();var _a3=[];this._collectArgs(_a3,arguments);this._pushSegment(this.absolute?"T":"t",_a3);return this;},arcTo:function(){this._confirmSegmented();var _a4=[];this._collectArgs(_a4,arguments);this._pushSegment(this.absolute?"A":"a",_a4);return this;},closePath:function(){this._confirmSegmented();this._pushSegment("Z",[]);return this;},_confirmSegmented:function(){if(!this.segmented){var _a5=this.shape.path;this.shape.path=[];this._setPath(_a5);this.shape.path=this.shape.path.join("");this.segmented=true;}},_setPath:function(_a6){var p=_89.isArray(_a6)?_a6:_a6.match(g.pathSvgRegExp);this.segments=[];this.absolute=true;this.bbox={};this.last={};if(!p){return;}var _a7="",_a8=[],l=p.length;for(var i=0;i<l;++i){var t=p[i],x=parseFloat(t);if(isNaN(x)){if(_a7){this._pushSegment(_a7,_a8);}_a8=[];_a7=t;}else{_a8.push(x);}}this._pushSegment(_a7,_a8);},setShape:function(_a9){this.inherited(arguments,[typeof _a9=="string"?{path:_a9}:_a9]);this.segmented=false;this.segments=[];if(!g.lazyPathSegmentation){this._confirmSegmented();}return this;},_2PI:Math.PI*2});var _aa=_8a("dojox.gfx.path.TextPath",_8e,{constructor:function(_ab){if(!("text" in this)){this.text=_89.clone(g.defaultTextPath);}if(!("fontStyle" in this)){this.fontStyle=_89.clone(g.defaultFont);}},getText:function(){return this.text;},setText:function(_ac){this.text=g.makeParameters(this.text,typeof _ac=="string"?{text:_ac}:_ac);this._setText();return this;},getFont:function(){return this.fontStyle;},setFont:function(_ad){this.fontStyle=typeof _ad=="string"?g.splitFontString(_ad):g.makeParameters(g.defaultFont,_ad);this._setFont();return this;}});return {Path:_8e,TextPath:_aa};});},"dojox/gfx/matrix":function(){define("dojox/gfx/matrix",["./_base","dojo/_base/lang"],function(g,_ae){var m=g.matrix={};var _af={};m._degToRad=function(_b0){return _af[_b0]||(_af[_b0]=(Math.PI*_b0/180));};m._radToDeg=function(_b1){return _b1/Math.PI*180;};m.Matrix2D=function(arg){if(arg){if(typeof arg=="number"){this.xx=this.yy=arg;}else{if(arg instanceof Array){if(arg.length>0){var _b2=m.normalize(arg[0]);for(var i=1;i<arg.length;++i){var l=_b2,r=m.normalize(arg[i]);_b2=new m.Matrix2D();_b2.xx=l.xx*r.xx+l.xy*r.yx;_b2.xy=l.xx*r.xy+l.xy*r.yy;_b2.yx=l.yx*r.xx+l.yy*r.yx;_b2.yy=l.yx*r.xy+l.yy*r.yy;_b2.dx=l.xx*r.dx+l.xy*r.dy+l.dx;_b2.dy=l.yx*r.dx+l.yy*r.dy+l.dy;}_ae.mixin(this,_b2);}}else{_ae.mixin(this,arg);}}}};_ae.extend(m.Matrix2D,{xx:1,xy:0,yx:0,yy:1,dx:0,dy:0});_ae.mixin(m,{identity:new m.Matrix2D(),flipX:new m.Matrix2D({xx:-1}),flipY:new m.Matrix2D({yy:-1}),flipXY:new m.Matrix2D({xx:-1,yy:-1}),translate:function(a,b){if(arguments.length>1){return new m.Matrix2D({dx:a,dy:b});}return new m.Matrix2D({dx:a.x,dy:a.y});},scale:function(a,b){if(arguments.length>1){return new m.Matrix2D({xx:a,yy:b});}if(typeof a=="number"){return new m.Matrix2D({xx:a,yy:a});}return new m.Matrix2D({xx:a.x,yy:a.y});},rotate:function(_b3){var c=Math.cos(_b3);var s=Math.sin(_b3);return new m.Matrix2D({xx:c,xy:-s,yx:s,yy:c});},rotateg:function(_b4){return m.rotate(m._degToRad(_b4));},skewX:function(_b5){return new m.Matrix2D({xy:Math.tan(_b5)});},skewXg:function(_b6){return m.skewX(m._degToRad(_b6));},skewY:function(_b7){return new m.Matrix2D({yx:Math.tan(_b7)});},skewYg:function(_b8){return m.skewY(m._degToRad(_b8));},reflect:function(a,b){if(arguments.length==1){b=a.y;a=a.x;}var a2=a*a,b2=b*b,n2=a2+b2,xy=2*a*b/n2;return new m.Matrix2D({xx:2*a2/n2-1,xy:xy,yx:xy,yy:2*b2/n2-1});},project:function(a,b){if(arguments.length==1){b=a.y;a=a.x;}var a2=a*a,b2=b*b,n2=a2+b2,xy=a*b/n2;return new m.Matrix2D({xx:a2/n2,xy:xy,yx:xy,yy:b2/n2});},normalize:function(_b9){return (_b9 instanceof m.Matrix2D)?_b9:new m.Matrix2D(_b9);},clone:function(_ba){var obj=new m.Matrix2D();for(var i in _ba){if(typeof (_ba[i])=="number"&&typeof (obj[i])=="number"&&obj[i]!=_ba[i]){obj[i]=_ba[i];}}return obj;},invert:function(_bb){var M=m.normalize(_bb),D=M.xx*M.yy-M.xy*M.yx;M=new m.Matrix2D({xx:M.yy/D,xy:-M.xy/D,yx:-M.yx/D,yy:M.xx/D,dx:(M.xy*M.dy-M.yy*M.dx)/D,dy:(M.yx*M.dx-M.xx*M.dy)/D});return M;},_multiplyPoint:function(_bc,x,y){return {x:_bc.xx*x+_bc.xy*y+_bc.dx,y:_bc.yx*x+_bc.yy*y+_bc.dy};},multiplyPoint:function(_bd,a,b){var M=m.normalize(_bd);if(typeof a=="number"&&typeof b=="number"){return m._multiplyPoint(M,a,b);}return m._multiplyPoint(M,a.x,a.y);},multiply:function(_be){var M=m.normalize(_be);for(var i=1;i<arguments.length;++i){var l=M,r=m.normalize(arguments[i]);M=new m.Matrix2D();M.xx=l.xx*r.xx+l.xy*r.yx;M.xy=l.xx*r.xy+l.xy*r.yy;M.yx=l.yx*r.xx+l.yy*r.yx;M.yy=l.yx*r.xy+l.yy*r.yy;M.dx=l.xx*r.dx+l.xy*r.dy+l.dx;M.dy=l.yx*r.dx+l.yy*r.dy+l.dy;}return M;},_sandwich:function(_bf,x,y){return m.multiply(m.translate(x,y),_bf,m.translate(-x,-y));},scaleAt:function(a,b,c,d){switch(arguments.length){case 4:return m._sandwich(m.scale(a,b),c,d);case 3:if(typeof c=="number"){return m._sandwich(m.scale(a),b,c);}return m._sandwich(m.scale(a,b),c.x,c.y);}return m._sandwich(m.scale(a),b.x,b.y);},rotateAt:function(_c0,a,b){if(arguments.length>2){return m._sandwich(m.rotate(_c0),a,b);}return m._sandwich(m.rotate(_c0),a.x,a.y);},rotategAt:function(_c1,a,b){if(arguments.length>2){return m._sandwich(m.rotateg(_c1),a,b);}return m._sandwich(m.rotateg(_c1),a.x,a.y);},skewXAt:function(_c2,a,b){if(arguments.length>2){return m._sandwich(m.skewX(_c2),a,b);}return m._sandwich(m.skewX(_c2),a.x,a.y);},skewXgAt:function(_c3,a,b){if(arguments.length>2){return m._sandwich(m.skewXg(_c3),a,b);}return m._sandwich(m.skewXg(_c3),a.x,a.y);},skewYAt:function(_c4,a,b){if(arguments.length>2){return m._sandwich(m.skewY(_c4),a,b);}return m._sandwich(m.skewY(_c4),a.x,a.y);},skewYgAt:function(_c5,a,b){if(arguments.length>2){return m._sandwich(m.skewYg(_c5),a,b);}return m._sandwich(m.skewYg(_c5),a.x,a.y);}});g.Matrix2D=m.Matrix2D;return m;});},"dojox/gfx/_base":function(){define("dojox/gfx/_base",["dojo/_base/lang","dojo/_base/html","dojo/_base/Color","dojo/_base/sniff","dojo/_base/window","dojo/_base/array","dojo/dom","dojo/dom-construct","dojo/dom-geometry"],function(_c6,_c7,_c8,has,win,arr,dom,_c9,_ca){var g=_c6.getObject("dojox.gfx",true),b=g._base={};g._hasClass=function(_cb,_cc){var cls=_cb.getAttribute("className");return cls&&(" "+cls+" ").indexOf(" "+_cc+" ")>=0;};g._addClass=function(_cd,_ce){var cls=_cd.getAttribute("className")||"";if(!cls||(" "+cls+" ").indexOf(" "+_ce+" ")<0){_cd.setAttribute("className",cls+(cls?" ":"")+_ce);}};g._removeClass=function(_cf,_d0){var cls=_cf.getAttribute("className");if(cls){_cf.setAttribute("className",cls.replace(new RegExp("(^|\\s+)"+_d0+"(\\s+|$)"),"$1$2"));}};b._getFontMeasurements=function(){var _d1={"1em":0,"1ex":0,"100%":0,"12pt":0,"16px":0,"xx-small":0,"x-small":0,"small":0,"medium":0,"large":0,"x-large":0,"xx-large":0};var p;if(has("ie")){win.doc.documentElement.style.fontSize="100%";}var div=_c9.create("div",{style:{position:"absolute",left:"0",top:"-100px",width:"30px",height:"1000em",borderWidth:"0",margin:"0",padding:"0",outline:"none",lineHeight:"1",overflow:"hidden"}},win.body());for(p in _d1){div.style.fontSize=p;_d1[p]=Math.round(div.offsetHeight*12/16)*16/12/1000;}win.body().removeChild(div);return _d1;};var _d2=null;b._getCachedFontMeasurements=function(_d3){if(_d3||!_d2){_d2=b._getFontMeasurements();}return _d2;};var _d4=null,_d5={};b._getTextBox=function(_d6,_d7,_d8){var m,s,al=arguments.length;var i;if(!_d4){_d4=_c9.create("div",{style:{position:"absolute",top:"-10000px",left:"0"}},win.body());}m=_d4;m.className="";s=m.style;s.borderWidth="0";s.margin="0";s.padding="0";s.outline="0";if(al>1&&_d7){for(i in _d7){if(i in _d5){continue;}s[i]=_d7[i];}}if(al>2&&_d8){m.className=_d8;}m.innerHTML=_d6;if(m["getBoundingClientRect"]){var bcr=m.getBoundingClientRect();return {l:bcr.left,t:bcr.top,w:bcr.width||(bcr.right-bcr.left),h:bcr.height||(bcr.bottom-bcr.top)};}else{return _ca.getMarginBox(m);}};var _d9=0;b._getUniqueId=function(){var id;do{id=dojo._scopeName+"xUnique"+(++_d9);}while(dom.byId(id));return id;};_c6.mixin(g,{defaultPath:{type:"path",path:""},defaultPolyline:{type:"polyline",points:[]},defaultRect:{type:"rect",x:0,y:0,width:100,height:100,r:0},defaultEllipse:{type:"ellipse",cx:0,cy:0,rx:200,ry:100},defaultCircle:{type:"circle",cx:0,cy:0,r:100},defaultLine:{type:"line",x1:0,y1:0,x2:100,y2:100},defaultImage:{type:"image",x:0,y:0,width:0,height:0,src:""},defaultText:{type:"text",x:0,y:0,text:"",align:"start",decoration:"none",rotated:false,kerning:true},defaultTextPath:{type:"textpath",text:"",align:"start",decoration:"none",rotated:false,kerning:true},defaultStroke:{type:"stroke",color:"black",style:"solid",width:1,cap:"butt",join:4},defaultLinearGradient:{type:"linear",x1:0,y1:0,x2:100,y2:100,colors:[{offset:0,color:"black"},{offset:1,color:"white"}]},defaultRadialGradient:{type:"radial",cx:0,cy:0,r:100,colors:[{offset:0,color:"black"},{offset:1,color:"white"}]},defaultPattern:{type:"pattern",x:0,y:0,width:0,height:0,src:""},defaultFont:{type:"font",style:"normal",variant:"normal",weight:"normal",size:"10pt",family:"serif"},getDefault:(function(){var _da={};return function(_db){var t=_da[_db];if(t){return new t();}t=_da[_db]=new Function();t.prototype=g["default"+_db];return new t();};})(),normalizeColor:function(_dc){return (_dc instanceof _c8)?_dc:new _c8(_dc);},normalizeParameters:function(_dd,_de){var x;if(_de){var _df={};for(x in _dd){if(x in _de&&!(x in _df)){_dd[x]=_de[x];}}}return _dd;},makeParameters:function(_e0,_e1){var i=null;if(!_e1){return _c6.delegate(_e0);}var _e2={};for(i in _e0){if(!(i in _e2)){_e2[i]=_c6.clone((i in _e1)?_e1[i]:_e0[i]);}}return _e2;},formatNumber:function(x,_e3){var val=x.toString();if(val.indexOf("e")>=0){val=x.toFixed(4);}else{var _e4=val.indexOf(".");if(_e4>=0&&val.length-_e4>5){val=x.toFixed(4);}}if(x<0){return val;}return _e3?" "+val:val;},makeFontString:function(_e5){return _e5.style+" "+_e5.variant+" "+_e5.weight+" "+_e5.size+" "+_e5.family;},splitFontString:function(str){var _e6=g.getDefault("Font");var t=str.split(/\s+/);do{if(t.length<5){break;}_e6.style=t[0];_e6.variant=t[1];_e6.weight=t[2];var i=t[3].indexOf("/");_e6.size=i<0?t[3]:t[3].substring(0,i);var j=4;if(i<0){if(t[4]=="/"){j=6;}else{if(t[4].charAt(0)=="/"){j=5;}}}if(j<t.length){_e6.family=t.slice(j).join(" ");}}while(false);return _e6;},cm_in_pt:72/2.54,mm_in_pt:7.2/2.54,px_in_pt:function(){return g._base._getCachedFontMeasurements()["12pt"]/12;},pt2px:function(len){return len*g.px_in_pt();},px2pt:function(len){return len/g.px_in_pt();},normalizedLength:function(len){if(len.length===0){return 0;}if(len.length>2){var _e7=g.px_in_pt();var val=parseFloat(len);switch(len.slice(-2)){case "px":return val;case "pt":return val*_e7;case "in":return val*72*_e7;case "pc":return val*12*_e7;case "mm":return val*g.mm_in_pt*_e7;case "cm":return val*g.cm_in_pt*_e7;}}return parseFloat(len);},pathVmlRegExp:/([A-Za-z]+)|(\d+(\.\d+)?)|(\.\d+)|(-\d+(\.\d+)?)|(-\.\d+)/g,pathSvgRegExp:/([A-Za-z])|(\d+(\.\d+)?)|(\.\d+)|(-\d+(\.\d+)?)|(-\.\d+)/g,equalSources:function(a,b){return a&&b&&a===b;},switchTo:function(_e8){var ns=typeof _e8=="string"?g[_e8]:_e8;if(ns){arr.forEach(["Group","Rect","Ellipse","Circle","Line","Polyline","Image","Text","Path","TextPath","Surface","createSurface","fixTarget"],function(_e9){g[_e9]=ns[_e9];});}}});return g;});},"dojox/gfx/shape":function(){define("dojox/gfx/shape",["./_base","dojo/_base/lang","dojo/_base/declare","dojo/_base/window","dojo/_base/sniff","dojo/_base/connect","dojo/_base/array","dojo/dom-construct","dojo/_base/Color","./matrix"],function(g,_ea,_eb,win,has,_ec,arr,_ed,_ee,_ef){var _f0=g.shape={};var _f1={};var _f2={};var _f3=0,_f4=has("ie")<9;function _f5(_f6){var _f7={};for(var key in _f6){if(_f6.hasOwnProperty(key)){_f7[key]=_f6[key];}}return _f7;};_f0.register=function(_f8){var t=_f8.declaredClass.split(".").pop();var i=t in _f1?++_f1[t]:((_f1[t]=0));var uid=t+i;_f2[uid]=_f8;return uid;};_f0.byId=function(id){return _f2[id];};_f0.dispose=function(_f9){delete _f2[_f9.getUID()];++_f3;if(_f4&&_f3>10000){_f2=_f5(_f2);_f3=0;}};_eb("dojox.gfx.shape.Shape",null,{constructor:function(){this.rawNode=null;this.shape=null;this.matrix=null;this.fillStyle=null;this.strokeStyle=null;this.bbox=null;this.parent=null;this.parentMatrix=null;var uid=_f0.register(this);this.getUID=function(){return uid;};},getNode:function(){return this.rawNode;},getShape:function(){return this.shape;},getTransform:function(){return this.matrix;},getFill:function(){return this.fillStyle;},getStroke:function(){return this.strokeStyle;},getParent:function(){return this.parent;},getBoundingBox:function(){return this.bbox;},getTransformedBoundingBox:function(){var b=this.getBoundingBox();if(!b){return null;}var m=this._getRealMatrix(),gm=_ef;return [gm.multiplyPoint(m,b.x,b.y),gm.multiplyPoint(m,b.x+b.width,b.y),gm.multiplyPoint(m,b.x+b.width,b.y+b.height),gm.multiplyPoint(m,b.x,b.y+b.height)];},getEventSource:function(){return this.rawNode;},setShape:function(_fa){this.shape=g.makeParameters(this.shape,_fa);this.bbox=null;return this;},setFill:function(_fb){if(!_fb){this.fillStyle=null;return this;}var f=null;if(typeof (_fb)=="object"&&"type" in _fb){switch(_fb.type){case "linear":f=g.makeParameters(g.defaultLinearGradient,_fb);break;case "radial":f=g.makeParameters(g.defaultRadialGradient,_fb);break;case "pattern":f=g.makeParameters(g.defaultPattern,_fb);break;}}else{f=g.normalizeColor(_fb);}this.fillStyle=f;return this;},setStroke:function(_fc){if(!_fc){this.strokeStyle=null;return this;}if(typeof _fc=="string"||_ea.isArray(_fc)||_fc instanceof _ee){_fc={color:_fc};}var s=this.strokeStyle=g.makeParameters(g.defaultStroke,_fc);s.color=g.normalizeColor(s.color);return this;},setTransform:function(_fd){this.matrix=_ef.clone(_fd?_ef.normalize(_fd):_ef.identity);return this._applyTransform();},_applyTransform:function(){return this;},moveToFront:function(){var p=this.getParent();if(p){p._moveChildToFront(this);this._moveToFront();}return this;},moveToBack:function(){var p=this.getParent();if(p){p._moveChildToBack(this);this._moveToBack();}return this;},_moveToFront:function(){},_moveToBack:function(){},applyRightTransform:function(_fe){return _fe?this.setTransform([this.matrix,_fe]):this;},applyLeftTransform:function(_ff){return _ff?this.setTransform([_ff,this.matrix]):this;},applyTransform:function(_100){return _100?this.setTransform([this.matrix,_100]):this;},removeShape:function(_101){if(this.parent){this.parent.remove(this,_101);}return this;},_setParent:function(_102,_103){this.parent=_102;return this._updateParentMatrix(_103);},_updateParentMatrix:function(_104){this.parentMatrix=_104?_ef.clone(_104):null;return this._applyTransform();},_getRealMatrix:function(){var m=this.matrix;var p=this.parent;while(p){if(p.matrix){m=_ef.multiply(p.matrix,m);}p=p.parent;}return m;}});_f0._eventsProcessing={connect:function(name,_105,_106){return _ec.connect(this.getEventSource(),name,_f0.fixCallback(this,g.fixTarget,_105,_106));},disconnect:function(_107){_ec.disconnect(_107);}};_f0.fixCallback=function(_108,_109,_10a,_10b){if(!_10b){_10b=_10a;_10a=null;}if(_ea.isString(_10b)){_10a=_10a||win.global;if(!_10a[_10b]){throw (["dojox.gfx.shape.fixCallback: scope[\"",_10b,"\"] is null (scope=\"",_10a,"\")"].join(""));}return function(e){return _109(e,_108)?_10a[_10b].apply(_10a,arguments||[]):undefined;};}return !_10a?function(e){return _109(e,_108)?_10b.apply(_10a,arguments):undefined;}:function(e){return _109(e,_108)?_10b.apply(_10a,arguments||[]):undefined;};};_ea.extend(_f0.Shape,_f0._eventsProcessing);_f0.Container={_init:function(){this.children=[];},openBatch:function(){},closeBatch:function(){},add:function(_10c){var _10d=_10c.getParent();if(_10d){_10d.remove(_10c,true);}this.children.push(_10c);return _10c._setParent(this,this._getRealMatrix());},remove:function(_10e,_10f){for(var i=0;i<this.children.length;++i){if(this.children[i]==_10e){if(_10f){}else{_10e.parent=null;_10e.parentMatrix=null;}this.children.splice(i,1);break;}}return this;},clear:function(){var _110;for(var i=0;i<this.children.length;++i){_110=this.children[i];_110.parent=null;_110.parentMatrix=null;}this.children=[];return this;},_moveChildToFront:function(_111){for(var i=0;i<this.children.length;++i){if(this.children[i]==_111){this.children.splice(i,1);this.children.push(_111);break;}}return this;},_moveChildToBack:function(_112){for(var i=0;i<this.children.length;++i){if(this.children[i]==_112){this.children.splice(i,1);this.children.unshift(_112);break;}}return this;}};_eb("dojox.gfx.shape.Surface",null,{constructor:function(){this.rawNode=null;this._parent=null;this._nodes=[];this._events=[];},destroy:function(){var _113=function(s){_f0.dispose(s);s.parent=null;if(s.children&&s.children.length){arr.forEach(s.children,_113);s.children=null;}};arr.forEach(this.children,_113);this.children=null;arr.forEach(this._nodes,_ed.destroy);this._nodes=[];arr.forEach(this._events,_ec.disconnect);this._events=[];this.rawNode=null;if(has("ie")){while(this._parent.lastChild){_ed.destroy(this._parent.lastChild);}}else{this._parent.innerHTML="";}this._parent=null;},getEventSource:function(){return this.rawNode;},_getRealMatrix:function(){return null;},isLoaded:true,onLoad:function(_114){},whenLoaded:function(_115,_116){var f=_ea.hitch(_115,_116);if(this.isLoaded){f(this);}else{var h=_ec.connect(this,"onLoad",function(_117){_ec.disconnect(h);f(_117);});}}});_ea.extend(_f0.Surface,_f0._eventsProcessing);_eb("dojox.gfx.Point",null,{});_eb("dojox.gfx.Rectangle",null,{});_eb("dojox.gfx.shape.Rect",_f0.Shape,{constructor:function(_118){this.shape=g.getDefault("Rect");this.rawNode=_118;},getBoundingBox:function(){return this.shape;}});_eb("dojox.gfx.shape.Ellipse",_f0.Shape,{constructor:function(_119){this.shape=g.getDefault("Ellipse");this.rawNode=_119;},getBoundingBox:function(){if(!this.bbox){var _11a=this.shape;this.bbox={x:_11a.cx-_11a.rx,y:_11a.cy-_11a.ry,width:2*_11a.rx,height:2*_11a.ry};}return this.bbox;}});_eb("dojox.gfx.shape.Circle",_f0.Shape,{constructor:function(_11b){this.shape=g.getDefault("Circle");this.rawNode=_11b;},getBoundingBox:function(){if(!this.bbox){var _11c=this.shape;this.bbox={x:_11c.cx-_11c.r,y:_11c.cy-_11c.r,width:2*_11c.r,height:2*_11c.r};}return this.bbox;}});_eb("dojox.gfx.shape.Line",_f0.Shape,{constructor:function(_11d){this.shape=g.getDefault("Line");this.rawNode=_11d;},getBoundingBox:function(){if(!this.bbox){var _11e=this.shape;this.bbox={x:Math.min(_11e.x1,_11e.x2),y:Math.min(_11e.y1,_11e.y2),width:Math.abs(_11e.x2-_11e.x1),height:Math.abs(_11e.y2-_11e.y1)};}return this.bbox;}});_eb("dojox.gfx.shape.Polyline",_f0.Shape,{constructor:function(_11f){this.shape=g.getDefault("Polyline");this.rawNode=_11f;},setShape:function(_120,_121){if(_120&&_120 instanceof Array){this.inherited(arguments,[{points:_120}]);if(_121&&this.shape.points.length){this.shape.points.push(this.shape.points[0]);}}else{this.inherited(arguments,[_120]);}return this;},_normalizePoints:function(){var p=this.shape.points,l=p&&p.length;if(l&&typeof p[0]=="number"){var _122=[];for(var i=0;i<l;i+=2){_122.push({x:p[i],y:p[i+1]});}this.shape.points=_122;}},getBoundingBox:function(){if(!this.bbox&&this.shape.points.length){var p=this.shape.points;var l=p.length;var t=p[0];var bbox={l:t.x,t:t.y,r:t.x,b:t.y};for(var i=1;i<l;++i){t=p[i];if(bbox.l>t.x){bbox.l=t.x;}if(bbox.r<t.x){bbox.r=t.x;}if(bbox.t>t.y){bbox.t=t.y;}if(bbox.b<t.y){bbox.b=t.y;}}this.bbox={x:bbox.l,y:bbox.t,width:bbox.r-bbox.l,height:bbox.b-bbox.t};}return this.bbox;}});_eb("dojox.gfx.shape.Image",_f0.Shape,{constructor:function(_123){this.shape=g.getDefault("Image");this.rawNode=_123;},getBoundingBox:function(){return this.shape;},setStroke:function(){return this;},setFill:function(){return this;}});_eb("dojox.gfx.shape.Text",_f0.Shape,{constructor:function(_124){this.fontStyle=null;this.shape=g.getDefault("Text");this.rawNode=_124;},getFont:function(){return this.fontStyle;},setFont:function(_125){this.fontStyle=typeof _125=="string"?g.splitFontString(_125):g.makeParameters(g.defaultFont,_125);this._setFont();return this;}});_f0.Creator={createShape:function(_126){switch(_126.type){case g.defaultPath.type:return this.createPath(_126);case g.defaultRect.type:return this.createRect(_126);case g.defaultCircle.type:return this.createCircle(_126);case g.defaultEllipse.type:return this.createEllipse(_126);case g.defaultLine.type:return this.createLine(_126);case g.defaultPolyline.type:return this.createPolyline(_126);case g.defaultImage.type:return this.createImage(_126);case g.defaultText.type:return this.createText(_126);case g.defaultTextPath.type:return this.createTextPath(_126);}return null;},createGroup:function(){return this.createObject(g.Group);},createRect:function(rect){return this.createObject(g.Rect,rect);},createEllipse:function(_127){return this.createObject(g.Ellipse,_127);},createCircle:function(_128){return this.createObject(g.Circle,_128);},createLine:function(line){return this.createObject(g.Line,line);},createPolyline:function(_129){return this.createObject(g.Polyline,_129);},createImage:function(_12a){return this.createObject(g.Image,_12a);},createText:function(text){return this.createObject(g.Text,text);},createPath:function(path){return this.createObject(g.Path,path);},createTextPath:function(text){return this.createObject(g.TextPath,{}).setText(text);},createObject:function(_12b,_12c){return null;}};return _f0;});},"dojox/gfx/renderer":function(){define("dojox/gfx/renderer",["./_base","dojo/_base/lang","dojo/_base/sniff","dojo/_base/window","dojo/_base/config"],function(g,lang,has,win,_12d){var _12e=null;has.add("vml",function(_12f,_130,_131){_131.innerHTML="<v:shape adj=\"1\"/>";var _132=("adj" in _131.firstChild);_131.innerHTML="";return _132;});return {load:function(id,_133,load){if(_12e&&id!="force"){load(_12e);return;}var _134=_12d.forceGfxRenderer,_135=!_134&&(lang.isString(_12d.gfxRenderer)?_12d.gfxRenderer:"svg,vml,canvas,silverlight").split(","),_136,_137;while(!_134&&_135.length){switch(_135.shift()){case "svg":if("SVGAngle" in win.global){_134="svg";}break;case "vml":if(has("vml")){_134="vml";}break;case "silverlight":try{if(has("ie")){_136=new ActiveXObject("AgControl.AgControl");if(_136&&_136.IsVersionSupported("1.0")){_137=true;}}else{if(navigator.plugins["Silverlight Plug-In"]){_137=true;}}}catch(e){_137=false;}finally{_136=null;}if(_137){_134="silverlight";}break;case "canvas":if(win.global.CanvasRenderingContext2D){_134="canvas";}break;}}if(_134==="canvas"&&_12d.canvasEvents!==false){_134="canvasWithEvents";}if(_12d.isDebug){}function _138(){_133(["dojox/gfx/"+_134],function(_139){g.renderer=_134;_12e=_139;load(_139);});};if(_134=="svg"&&typeof window.svgweb!="undefined"){window.svgweb.addOnLoad(_138);}else{_138();}}};});},"dojox/gfx/vml":function(){define("dojox/gfx/vml",["dojo/_base/lang","dojo/_base/declare","dojo/_base/array","dojo/_base/Color","dojo/_base/sniff","dojo/_base/config","dojo/dom","dojo/dom-geometry","dojo/_base/window","./_base","./shape","./path","./arc","./gradient","./matrix"],function(lang,_13a,arr,_13b,has,_13c,dom,_13d,win,g,gs,_13e,_13f,_140,m){var vml=g.vml={};vml.xmlns="urn:schemas-microsoft-com:vml";document.namespaces.add("v",vml.xmlns);var _141=["*","group","roundrect","oval","shape","rect","imagedata","path","textpath","text"],i=0,l=1,s=document.createStyleSheet();if(has("ie")>=8){i=1;l=_141.length;}for(;i<l;++i){s.addRule("v\\:"+_141[i],"behavior:url(#default#VML); display:inline-block");}vml.text_alignment={start:"left",middle:"center",end:"right"};vml._parseFloat=function(str){return str.match(/^\d+f$/i)?parseInt(str)/65536:parseFloat(str);};vml._bool={"t":1,"true":1};_13a("dojox.gfx.vml.Shape",gs.Shape,{setFill:function(fill){if(!fill){this.fillStyle=null;this.rawNode.filled="f";return this;}var i,f,fo,a,s;if(typeof fill=="object"&&"type" in fill){switch(fill.type){case "linear":var _142=this._getRealMatrix(),bbox=this.getBoundingBox(),_143=this._getRealBBox?this._getRealBBox():this.getTransformedBoundingBox();s=[];if(this.fillStyle!==fill){this.fillStyle=g.makeParameters(g.defaultLinearGradient,fill);}f=g.gradient.project(_142,this.fillStyle,{x:bbox.x,y:bbox.y},{x:bbox.x+bbox.width,y:bbox.y+bbox.height},_143[0],_143[2]);a=f.colors;if(a[0].offset.toFixed(5)!="0.00000"){s.push("0 "+g.normalizeColor(a[0].color).toHex());}for(i=0;i<a.length;++i){s.push(a[i].offset.toFixed(5)+" "+g.normalizeColor(a[i].color).toHex());}i=a.length-1;if(a[i].offset.toFixed(5)!="1.00000"){s.push("1 "+g.normalizeColor(a[i].color).toHex());}fo=this.rawNode.fill;fo.colors.value=s.join(";");fo.method="sigma";fo.type="gradient";fo.angle=(270-m._radToDeg(f.angle))%360;fo.on=true;break;case "radial":f=g.makeParameters(g.defaultRadialGradient,fill);this.fillStyle=f;var l=parseFloat(this.rawNode.style.left),t=parseFloat(this.rawNode.style.top),w=parseFloat(this.rawNode.style.width),h=parseFloat(this.rawNode.style.height),c=isNaN(w)?1:2*f.r/w;a=[];if(f.colors[0].offset>0){a.push({offset:1,color:g.normalizeColor(f.colors[0].color)});}arr.forEach(f.colors,function(v,i){a.push({offset:1-v.offset*c,color:g.normalizeColor(v.color)});});i=a.length-1;while(i>=0&&a[i].offset<0){--i;}if(i<a.length-1){var q=a[i],p=a[i+1];p.color=_13b.blendColors(q.color,p.color,q.offset/(q.offset-p.offset));p.offset=0;while(a.length-i>2){a.pop();}}i=a.length-1,s=[];if(a[i].offset>0){s.push("0 "+a[i].color.toHex());}for(;i>=0;--i){s.push(a[i].offset.toFixed(5)+" "+a[i].color.toHex());}fo=this.rawNode.fill;fo.colors.value=s.join(";");fo.method="sigma";fo.type="gradientradial";if(isNaN(w)||isNaN(h)||isNaN(l)||isNaN(t)){fo.focusposition="0.5 0.5";}else{fo.focusposition=((f.cx-l)/w).toFixed(5)+" "+((f.cy-t)/h).toFixed(5);}fo.focussize="0 0";fo.on=true;break;case "pattern":f=g.makeParameters(g.defaultPattern,fill);this.fillStyle=f;fo=this.rawNode.fill;fo.type="tile";fo.src=f.src;if(f.width&&f.height){fo.size.x=g.px2pt(f.width);fo.size.y=g.px2pt(f.height);}fo.alignShape="f";fo.position.x=0;fo.position.y=0;fo.origin.x=f.width?f.x/f.width:0;fo.origin.y=f.height?f.y/f.height:0;fo.on=true;break;}this.rawNode.fill.opacity=1;return this;}this.fillStyle=g.normalizeColor(fill);fo=this.rawNode.fill;if(!fo){fo=this.rawNode.ownerDocument.createElement("v:fill");}fo.method="any";fo.type="solid";fo.opacity=this.fillStyle.a;var _144=this.rawNode.filters["DXImageTransform.Microsoft.Alpha"];if(_144){_144.opacity=Math.round(this.fillStyle.a*100);}this.rawNode.fillcolor=this.fillStyle.toHex();this.rawNode.filled=true;return this;},setStroke:function(_145){if(!_145){this.strokeStyle=null;this.rawNode.stroked="f";return this;}if(typeof _145=="string"||lang.isArray(_145)||_145 instanceof _13b){_145={color:_145};}var s=this.strokeStyle=g.makeParameters(g.defaultStroke,_145);s.color=g.normalizeColor(s.color);var rn=this.rawNode;rn.stroked=true;rn.strokecolor=s.color.toCss();rn.strokeweight=s.width+"px";if(rn.stroke){rn.stroke.opacity=s.color.a;rn.stroke.endcap=this._translate(this._capMap,s.cap);if(typeof s.join=="number"){rn.stroke.joinstyle="miter";rn.stroke.miterlimit=s.join;}else{rn.stroke.joinstyle=s.join;}rn.stroke.dashstyle=s.style=="none"?"Solid":s.style;}return this;},_capMap:{butt:"flat"},_capMapReversed:{flat:"butt"},_translate:function(dict,_146){return (_146 in dict)?dict[_146]:_146;},_applyTransform:function(){var _147=this._getRealMatrix();if(_147){var skew=this.rawNode.skew;if(typeof skew=="undefined"){for(var i=0;i<this.rawNode.childNodes.length;++i){if(this.rawNode.childNodes[i].tagName=="skew"){skew=this.rawNode.childNodes[i];break;}}}if(skew){skew.on="f";var mt=_147.xx.toFixed(8)+" "+_147.xy.toFixed(8)+" "+_147.yx.toFixed(8)+" "+_147.yy.toFixed(8)+" 0 0",_148=Math.floor(_147.dx).toFixed()+"px "+Math.floor(_147.dy).toFixed()+"px",s=this.rawNode.style,l=parseFloat(s.left),t=parseFloat(s.top),w=parseFloat(s.width),h=parseFloat(s.height);if(isNaN(l)){l=0;}if(isNaN(t)){t=0;}if(isNaN(w)||!w){w=1;}if(isNaN(h)||!h){h=1;}var _149=(-l/w-0.5).toFixed(8)+" "+(-t/h-0.5).toFixed(8);skew.matrix=mt;skew.origin=_149;skew.offset=_148;skew.on=true;}}if(this.fillStyle&&this.fillStyle.type=="linear"){this.setFill(this.fillStyle);}return this;},_setDimensions:function(_14a,_14b){return this;},setRawNode:function(_14c){_14c.stroked="f";_14c.filled="f";this.rawNode=_14c;this.rawNode.__gfxObject__=this.getUID();},_moveToFront:function(){this.rawNode.parentNode.appendChild(this.rawNode);return this;},_moveToBack:function(){var r=this.rawNode,p=r.parentNode,n=p.firstChild;p.insertBefore(r,n);if(n.tagName=="rect"){n.swapNode(r);}return this;},_getRealMatrix:function(){return this.parentMatrix?new m.Matrix2D([this.parentMatrix,this.matrix]):this.matrix;}});_13a("dojox.gfx.vml.Group",vml.Shape,{constructor:function(){gs.Container._init.call(this);},_applyTransform:function(){var _14d=this._getRealMatrix();for(var i=0;i<this.children.length;++i){this.children[i]._updateParentMatrix(_14d);}return this;},_setDimensions:function(_14e,_14f){var r=this.rawNode,rs=r.style,bs=this.bgNode.style;rs.width=_14e;rs.height=_14f;r.coordsize=_14e+" "+_14f;bs.width=_14e;bs.height=_14f;for(var i=0;i<this.children.length;++i){this.children[i]._setDimensions(_14e,_14f);}return this;}});vml.Group.nodeType="group";_13a("dojox.gfx.vml.Rect",[vml.Shape,gs.Rect],{setShape:function(_150){var _151=this.shape=g.makeParameters(this.shape,_150);this.bbox=null;var r=Math.min(1,(_151.r/Math.min(parseFloat(_151.width),parseFloat(_151.height)))).toFixed(8);var _152=this.rawNode.parentNode,_153=null;if(_152){if(_152.lastChild!==this.rawNode){for(var i=0;i<_152.childNodes.length;++i){if(_152.childNodes[i]===this.rawNode){_153=_152.childNodes[i+1];break;}}}_152.removeChild(this.rawNode);}if(has("ie")>7){var node=this.rawNode.ownerDocument.createElement("v:roundrect");node.arcsize=r;node.style.display="inline-block";this.rawNode=node;this.rawNode.__gfxObject__=this.getUID();}else{this.rawNode.arcsize=r;}if(_152){if(_153){_152.insertBefore(this.rawNode,_153);}else{_152.appendChild(this.rawNode);}}var _154=this.rawNode.style;_154.left=_151.x.toFixed();_154.top=_151.y.toFixed();_154.width=(typeof _151.width=="string"&&_151.width.indexOf("%")>=0)?_151.width:Math.max(_151.width.toFixed(),0);_154.height=(typeof _151.height=="string"&&_151.height.indexOf("%")>=0)?_151.height:Math.max(_151.height.toFixed(),0);return this.setTransform(this.matrix).setFill(this.fillStyle).setStroke(this.strokeStyle);}});vml.Rect.nodeType="roundrect";_13a("dojox.gfx.vml.Ellipse",[vml.Shape,gs.Ellipse],{setShape:function(_155){var _156=this.shape=g.makeParameters(this.shape,_155);this.bbox=null;var _157=this.rawNode.style;_157.left=(_156.cx-_156.rx).toFixed();_157.top=(_156.cy-_156.ry).toFixed();_157.width=(_156.rx*2).toFixed();_157.height=(_156.ry*2).toFixed();return this.setTransform(this.matrix);}});vml.Ellipse.nodeType="oval";_13a("dojox.gfx.vml.Circle",[vml.Shape,gs.Circle],{setShape:function(_158){var _159=this.shape=g.makeParameters(this.shape,_158);this.bbox=null;var _15a=this.rawNode.style;_15a.left=(_159.cx-_159.r).toFixed();_15a.top=(_159.cy-_159.r).toFixed();_15a.width=(_159.r*2).toFixed();_15a.height=(_159.r*2).toFixed();return this;}});vml.Circle.nodeType="oval";_13a("dojox.gfx.vml.Line",[vml.Shape,gs.Line],{constructor:function(_15b){if(_15b){_15b.setAttribute("dojoGfxType","line");}},setShape:function(_15c){var _15d=this.shape=g.makeParameters(this.shape,_15c);this.bbox=null;this.rawNode.path.v="m"+_15d.x1.toFixed()+" "+_15d.y1.toFixed()+"l"+_15d.x2.toFixed()+" "+_15d.y2.toFixed()+"e";return this.setTransform(this.matrix);}});vml.Line.nodeType="shape";_13a("dojox.gfx.vml.Polyline",[vml.Shape,gs.Polyline],{constructor:function(_15e){if(_15e){_15e.setAttribute("dojoGfxType","polyline");}},setShape:function(_15f,_160){if(_15f&&_15f instanceof Array){this.shape=g.makeParameters(this.shape,{points:_15f});if(_160&&this.shape.points.length){this.shape.points.push(this.shape.points[0]);}}else{this.shape=g.makeParameters(this.shape,_15f);}this.bbox=null;this._normalizePoints();var attr=[],p=this.shape.points;if(p.length>0){attr.push("m");attr.push(p[0].x.toFixed(),p[0].y.toFixed());if(p.length>1){attr.push("l");for(var i=1;i<p.length;++i){attr.push(p[i].x.toFixed(),p[i].y.toFixed());}}}attr.push("e");this.rawNode.path.v=attr.join(" ");return this.setTransform(this.matrix);}});vml.Polyline.nodeType="shape";_13a("dojox.gfx.vml.Image",[vml.Shape,gs.Image],{setShape:function(_161){var _162=this.shape=g.makeParameters(this.shape,_161);this.bbox=null;this.rawNode.firstChild.src=_162.src;return this.setTransform(this.matrix);},_applyTransform:function(){var _163=this._getRealMatrix(),_164=this.rawNode,s=_164.style,_165=this.shape;if(_163){_163=m.multiply(_163,{dx:_165.x,dy:_165.y});}else{_163=m.normalize({dx:_165.x,dy:_165.y});}if(_163.xy==0&&_163.yx==0&&_163.xx>0&&_163.yy>0){s.filter="";s.width=Math.floor(_163.xx*_165.width);s.height=Math.floor(_163.yy*_165.height);s.left=Math.floor(_163.dx);s.top=Math.floor(_163.dy);}else{var ps=_164.parentNode.style;s.left="0px";s.top="0px";s.width=ps.width;s.height=ps.height;_163=m.multiply(_163,{xx:_165.width/parseInt(s.width),yy:_165.height/parseInt(s.height)});var f=_164.filters["DXImageTransform.Microsoft.Matrix"];if(f){f.M11=_163.xx;f.M12=_163.xy;f.M21=_163.yx;f.M22=_163.yy;f.Dx=_163.dx;f.Dy=_163.dy;}else{s.filter="progid:DXImageTransform.Microsoft.Matrix(M11="+_163.xx+", M12="+_163.xy+", M21="+_163.yx+", M22="+_163.yy+", Dx="+_163.dx+", Dy="+_163.dy+")";}}return this;},_setDimensions:function(_166,_167){var r=this.rawNode,f=r.filters["DXImageTransform.Microsoft.Matrix"];if(f){var s=r.style;s.width=_166;s.height=_167;return this._applyTransform();}return this;}});vml.Image.nodeType="rect";_13a("dojox.gfx.vml.Text",[vml.Shape,gs.Text],{constructor:function(_168){if(_168){_168.setAttribute("dojoGfxType","text");}this.fontStyle=null;},_alignment:{start:"left",middle:"center",end:"right"},setShape:function(_169){this.shape=g.makeParameters(this.shape,_169);this.bbox=null;var r=this.rawNode,s=this.shape,x=s.x,y=s.y.toFixed(),path;switch(s.align){case "middle":x-=5;break;case "end":x-=10;break;}path="m"+x.toFixed()+","+y+"l"+(x+10).toFixed()+","+y+"e";var p=null,t=null,c=r.childNodes;for(var i=0;i<c.length;++i){var tag=c[i].tagName;if(tag=="path"){p=c[i];if(t){break;}}else{if(tag=="textpath"){t=c[i];if(p){break;}}}}if(!p){p=r.ownerDocument.createElement("v:path");r.appendChild(p);}if(!t){t=r.ownerDocument.createElement("v:textpath");r.appendChild(t);}p.v=path;p.textPathOk=true;t.on=true;var a=vml.text_alignment[s.align];t.style["v-text-align"]=a?a:"left";t.style["text-decoration"]=s.decoration;t.style["v-rotate-letters"]=s.rotated;t.style["v-text-kern"]=s.kerning;t.string=s.text;return this.setTransform(this.matrix);},_setFont:function(){var f=this.fontStyle,c=this.rawNode.childNodes;for(var i=0;i<c.length;++i){if(c[i].tagName=="textpath"){c[i].style.font=g.makeFontString(f);break;}}this.setTransform(this.matrix);},_getRealMatrix:function(){var _16a=this.inherited(arguments);if(_16a){_16a=m.multiply(_16a,{dy:-g.normalizedLength(this.fontStyle?this.fontStyle.size:"10pt")*0.35});}return _16a;},getTextWidth:function(){var _16b=this.rawNode,_16c=_16b.style.display;_16b.style.display="inline";var _16d=g.pt2px(parseFloat(_16b.currentStyle.width));_16b.style.display=_16c;return _16d;}});vml.Text.nodeType="shape";_13a("dojox.gfx.vml.Path",[vml.Shape,_13e.Path],{constructor:function(_16e){if(_16e&&!_16e.getAttribute("dojoGfxType")){_16e.setAttribute("dojoGfxType","path");}this.vmlPath="";this.lastControl={};},_updateWithSegment:function(_16f){var last=lang.clone(this.last);this.inherited(arguments);if(arguments.length>1){return;}var path=this[this.renderers[_16f.action]](_16f,last);if(typeof this.vmlPath=="string"){this.vmlPath+=path.join("");this.rawNode.path.v=this.vmlPath+" r0,0 e";}else{Array.prototype.push.apply(this.vmlPath,path);}},setShape:function(_170){this.vmlPath=[];this.lastControl.type="";this.inherited(arguments);this.vmlPath=this.vmlPath.join("");this.rawNode.path.v=this.vmlPath+" r0,0 e";return this;},_pathVmlToSvgMap:{m:"M",l:"L",t:"m",r:"l",c:"C",v:"c",qb:"Q",x:"z",e:""},renderers:{M:"_moveToA",m:"_moveToR",L:"_lineToA",l:"_lineToR",H:"_hLineToA",h:"_hLineToR",V:"_vLineToA",v:"_vLineToR",C:"_curveToA",c:"_curveToR",S:"_smoothCurveToA",s:"_smoothCurveToR",Q:"_qCurveToA",q:"_qCurveToR",T:"_qSmoothCurveToA",t:"_qSmoothCurveToR",A:"_arcTo",a:"_arcTo",Z:"_closePath",z:"_closePath"},_addArgs:function(path,_171,from,upto){var n=_171 instanceof Array?_171:_171.args;for(var i=from;i<upto;++i){path.push(" ",n[i].toFixed());}},_adjustRelCrd:function(last,_172,step){var n=_172 instanceof Array?_172:_172.args,l=n.length,_173=new Array(l),i=0,x=last.x,y=last.y;if(typeof x!="number"){_173[0]=x=n[0];_173[1]=y=n[1];i=2;}if(typeof step=="number"&&step!=2){var j=step;while(j<=l){for(;i<j;i+=2){_173[i]=x+n[i];_173[i+1]=y+n[i+1];}x=_173[j-2];y=_173[j-1];j+=step;}}else{for(;i<l;i+=2){_173[i]=(x+=n[i]);_173[i+1]=(y+=n[i+1]);}}return _173;},_adjustRelPos:function(last,_174){var n=_174 instanceof Array?_174:_174.args,l=n.length,_175=new Array(l);for(var i=0;i<l;++i){_175[i]=(last+=n[i]);}return _175;},_moveToA:function(_176){var p=[" m"],n=_176 instanceof Array?_176:_176.args,l=n.length;this._addArgs(p,n,0,2);if(l>2){p.push(" l");this._addArgs(p,n,2,l);}this.lastControl.type="";return p;},_moveToR:function(_177,last){return this._moveToA(this._adjustRelCrd(last,_177));},_lineToA:function(_178){var p=[" l"],n=_178 instanceof Array?_178:_178.args;this._addArgs(p,n,0,n.length);this.lastControl.type="";return p;},_lineToR:function(_179,last){return this._lineToA(this._adjustRelCrd(last,_179));},_hLineToA:function(_17a,last){var p=[" l"],y=" "+last.y.toFixed(),n=_17a instanceof Array?_17a:_17a.args,l=n.length;for(var i=0;i<l;++i){p.push(" ",n[i].toFixed(),y);}this.lastControl.type="";return p;},_hLineToR:function(_17b,last){return this._hLineToA(this._adjustRelPos(last.x,_17b),last);},_vLineToA:function(_17c,last){var p=[" l"],x=" "+last.x.toFixed(),n=_17c instanceof Array?_17c:_17c.args,l=n.length;for(var i=0;i<l;++i){p.push(x," ",n[i].toFixed());}this.lastControl.type="";return p;},_vLineToR:function(_17d,last){return this._vLineToA(this._adjustRelPos(last.y,_17d),last);},_curveToA:function(_17e){var p=[],n=_17e instanceof Array?_17e:_17e.args,l=n.length,lc=this.lastControl;for(var i=0;i<l;i+=6){p.push(" c");this._addArgs(p,n,i,i+6);}lc.x=n[l-4];lc.y=n[l-3];lc.type="C";return p;},_curveToR:function(_17f,last){return this._curveToA(this._adjustRelCrd(last,_17f,6));},_smoothCurveToA:function(_180,last){var p=[],n=_180 instanceof Array?_180:_180.args,l=n.length,lc=this.lastControl,i=0;if(lc.type!="C"){p.push(" c");this._addArgs(p,[last.x,last.y],0,2);this._addArgs(p,n,0,4);lc.x=n[0];lc.y=n[1];lc.type="C";i=4;}for(;i<l;i+=4){p.push(" c");this._addArgs(p,[2*last.x-lc.x,2*last.y-lc.y],0,2);this._addArgs(p,n,i,i+4);lc.x=n[i];lc.y=n[i+1];}return p;},_smoothCurveToR:function(_181,last){return this._smoothCurveToA(this._adjustRelCrd(last,_181,4),last);},_qCurveToA:function(_182){var p=[],n=_182 instanceof Array?_182:_182.args,l=n.length,lc=this.lastControl;for(var i=0;i<l;i+=4){p.push(" qb");this._addArgs(p,n,i,i+4);}lc.x=n[l-4];lc.y=n[l-3];lc.type="Q";return p;},_qCurveToR:function(_183,last){return this._qCurveToA(this._adjustRelCrd(last,_183,4));},_qSmoothCurveToA:function(_184,last){var p=[],n=_184 instanceof Array?_184:_184.args,l=n.length,lc=this.lastControl,i=0;if(lc.type!="Q"){p.push(" qb");this._addArgs(p,[lc.x=last.x,lc.y=last.y],0,2);lc.type="Q";this._addArgs(p,n,0,2);i=2;}for(;i<l;i+=2){p.push(" qb");this._addArgs(p,[lc.x=2*last.x-lc.x,lc.y=2*last.y-lc.y],0,2);this._addArgs(p,n,i,i+2);}return p;},_qSmoothCurveToR:function(_185,last){return this._qSmoothCurveToA(this._adjustRelCrd(last,_185,2),last);},_arcTo:function(_186,last){var p=[],n=_186.args,l=n.length,_187=_186.action=="a";for(var i=0;i<l;i+=7){var x1=n[i+5],y1=n[i+6];if(_187){x1+=last.x;y1+=last.y;}var _188=_13f.arcAsBezier(last,n[i],n[i+1],n[i+2],n[i+3]?1:0,n[i+4]?1:0,x1,y1);for(var j=0;j<_188.length;++j){p.push(" c");var t=_188[j];this._addArgs(p,t,0,t.length);this._updateBBox(t[0],t[1]);this._updateBBox(t[2],t[3]);this._updateBBox(t[4],t[5]);}last.x=x1;last.y=y1;}this.lastControl.type="";return p;},_closePath:function(){this.lastControl.type="";return ["x"];},_getRealBBox:function(){this._confirmSegmented();if(this.tbbox){return this.tbbox;}if(typeof this.shape.path=="string"){this.shape.path="";}return this.inherited(arguments);}});vml.Path.nodeType="shape";_13a("dojox.gfx.vml.TextPath",[vml.Path,_13e.TextPath],{constructor:function(_189){if(_189){_189.setAttribute("dojoGfxType","textpath");}this.fontStyle=null;if(!("text" in this)){this.text=lang.clone(g.defaultTextPath);}if(!("fontStyle" in this)){this.fontStyle=lang.clone(g.defaultFont);}},setText:function(_18a){this.text=g.makeParameters(this.text,typeof _18a=="string"?{text:_18a}:_18a);this._setText();return this;},setFont:function(_18b){this.fontStyle=typeof _18b=="string"?g.splitFontString(_18b):g.makeParameters(g.defaultFont,_18b);this._setFont();return this;},_setText:function(){this.bbox=null;var r=this.rawNode,s=this.text,p=null,t=null,c=r.childNodes;for(var i=0;i<c.length;++i){var tag=c[i].tagName;if(tag=="path"){p=c[i];if(t){break;}}else{if(tag=="textpath"){t=c[i];if(p){break;}}}}if(!p){p=this.rawNode.ownerDocument.createElement("v:path");r.appendChild(p);}if(!t){t=this.rawNode.ownerDocument.createElement("v:textpath");r.appendChild(t);}p.textPathOk=true;t.on=true;var a=vml.text_alignment[s.align];t.style["v-text-align"]=a?a:"left";t.style["text-decoration"]=s.decoration;t.style["v-rotate-letters"]=s.rotated;t.style["v-text-kern"]=s.kerning;t.string=s.text;},_setFont:function(){var f=this.fontStyle,c=this.rawNode.childNodes;for(var i=0;i<c.length;++i){if(c[i].tagName=="textpath"){c[i].style.font=g.makeFontString(f);break;}}}});vml.TextPath.nodeType="shape";_13a("dojox.gfx.vml.Surface",gs.Surface,{constructor:function(){gs.Container._init.call(this);},setDimensions:function(_18c,_18d){this.width=g.normalizedLength(_18c);this.height=g.normalizedLength(_18d);if(!this.rawNode){return this;}var cs=this.clipNode.style,r=this.rawNode,rs=r.style,bs=this.bgNode.style,ps=this._parent.style,i;ps.width=_18c;ps.height=_18d;cs.width=_18c;cs.height=_18d;cs.clip="rect(0px "+_18c+"px "+_18d+"px 0px)";rs.width=_18c;rs.height=_18d;r.coordsize=_18c+" "+_18d;bs.width=_18c;bs.height=_18d;for(i=0;i<this.children.length;++i){this.children[i]._setDimensions(_18c,_18d);}return this;},getDimensions:function(){var t=this.rawNode?{width:g.normalizedLength(this.rawNode.style.width),height:g.normalizedLength(this.rawNode.style.height)}:null;if(t.width<=0){t.width=this.width;}if(t.height<=0){t.height=this.height;}return t;}});vml.createSurface=function(_18e,_18f,_190){if(!_18f&&!_190){var pos=_13d.position(_18e);_18f=_18f||pos.w;_190=_190||pos.h;}if(typeof _18f=="number"){_18f=_18f+"px";}if(typeof _190=="number"){_190=_190+"px";}var s=new vml.Surface(),p=dom.byId(_18e),c=s.clipNode=p.ownerDocument.createElement("div"),r=s.rawNode=p.ownerDocument.createElement("v:group"),cs=c.style,rs=r.style;if(has("ie")>7){rs.display="inline-block";}s._parent=p;s._nodes.push(c);p.style.width=_18f;p.style.height=_190;cs.position="absolute";cs.width=_18f;cs.height=_190;cs.clip="rect(0px "+_18f+" "+_190+" 0px)";rs.position="absolute";rs.width=_18f;rs.height=_190;r.coordsize=(_18f==="100%"?_18f:parseFloat(_18f))+" "+(_190==="100%"?_190:parseFloat(_190));r.coordorigin="0 0";var b=s.bgNode=r.ownerDocument.createElement("v:rect"),bs=b.style;bs.left=bs.top=0;bs.width=rs.width;bs.height=rs.height;b.filled=b.stroked="f";r.appendChild(b);c.appendChild(r);p.appendChild(c);s.width=g.normalizedLength(_18f);s.height=g.normalizedLength(_190);return s;};function _191(_192,f,o){o=o||win.global;f.call(o,_192);if(_192 instanceof g.Surface||_192 instanceof g.Group){arr.forEach(_192.children,function(_193){_191(_193,f,o);});}};var _194=function(_195){if(this!=_195.getParent()){var _196=_195.getParent();if(_196){_196.remove(_195);}this.rawNode.appendChild(_195.rawNode);C.add.apply(this,arguments);_191(this,function(s){if(typeof (s.getFont)=="function"){s.setShape(s.getShape());s.setFont(s.getFont());}if(typeof (s.setFill)=="function"){s.setFill(s.getFill());s.setStroke(s.getStroke());}});}return this;};var _197=function(_198){if(this!=_198.getParent()){this.rawNode.appendChild(_198.rawNode);if(!_198.getParent()){_198.setFill(_198.getFill());_198.setStroke(_198.getStroke());}C.add.apply(this,arguments);}return this;};var C=gs.Container,_199={add:_13c.fixVmlAdd===true?_194:_197,remove:function(_19a,_19b){if(this==_19a.getParent()){if(this.rawNode==_19a.rawNode.parentNode){this.rawNode.removeChild(_19a.rawNode);}C.remove.apply(this,arguments);}return this;},clear:function(){var r=this.rawNode;while(r.firstChild!=r.lastChild){if(r.firstChild!=this.bgNode){r.removeChild(r.firstChild);}if(r.lastChild!=this.bgNode){r.removeChild(r.lastChild);}}return C.clear.apply(this,arguments);},_moveChildToFront:C._moveChildToFront,_moveChildToBack:C._moveChildToBack};var _19c={createGroup:function(){var node=this.createObject(vml.Group,null);var r=node.rawNode.ownerDocument.createElement("v:rect");r.style.left=r.style.top=0;r.style.width=node.rawNode.style.width;r.style.height=node.rawNode.style.height;r.filled=r.stroked="f";node.rawNode.appendChild(r);node.bgNode=r;return node;},createImage:function(_19d){if(!this.rawNode){return null;}var _19e=new vml.Image(),doc=this.rawNode.ownerDocument,node=doc.createElement("v:rect");node.stroked="f";node.style.width=this.rawNode.style.width;node.style.height=this.rawNode.style.height;var img=doc.createElement("v:imagedata");node.appendChild(img);_19e.setRawNode(node);this.rawNode.appendChild(node);_19e.setShape(_19d);this.add(_19e);return _19e;},createRect:function(rect){if(!this.rawNode){return null;}var _19f=new vml.Rect,node=this.rawNode.ownerDocument.createElement("v:roundrect");if(has("ie")>7){node.style.display="inline-block";}_19f.setRawNode(node);this.rawNode.appendChild(node);_19f.setShape(rect);this.add(_19f);return _19f;},createObject:function(_1a0,_1a1){if(!this.rawNode){return null;}var _1a2=new _1a0(),node=this.rawNode.ownerDocument.createElement("v:"+_1a0.nodeType);_1a2.setRawNode(node);this.rawNode.appendChild(node);switch(_1a0){case vml.Group:case vml.Line:case vml.Polyline:case vml.Image:case vml.Text:case vml.Path:case vml.TextPath:this._overrideSize(node);}_1a2.setShape(_1a1);this.add(_1a2);return _1a2;},_overrideSize:function(node){var s=this.rawNode.style,w=s.width,h=s.height;node.style.width=w;node.style.height=h;node.coordsize=parseInt(w)+" "+parseInt(h);}};lang.extend(vml.Group,_199);lang.extend(vml.Group,gs.Creator);lang.extend(vml.Group,_19c);lang.extend(vml.Surface,_199);lang.extend(vml.Surface,gs.Creator);lang.extend(vml.Surface,_19c);vml.fixTarget=function(_1a3,_1a4){if(!_1a3.gfxTarget){_1a3.gfxTarget=gs.byId(_1a3.target.__gfxObject__);}return true;};return vml;});},"*noref":1}});define("dojox/_dojox_gfx",[],1);require(["dojox/gfx"]);
}catch(e){console.log("Module 'dojox_gfx_17': ",e);}
try{(function(_1){
var _2=_1,_3=i$.fromPath,_4="wpModules.theme.WindowUtils",_5=_4+".baseURL",_6=_5+".Promise."+Math.random(),_7="wpViewFrameContainer",_8="wpthemeMaster",_9="wpToolbarPrimaryFrameContainer",_a="wpToolbarSecondaryFrameContainer",_b=[_7,_8,_9,_a],_c=i$.createDom,_d=new i$.Promise(),_e=function(id){
if(id){
if(id==_7){
return _f(_7)||_10(_7)||top;
}else{
if(id==_8){
var _11=_e(_7);
return _11.parent||_11;
}else{
if(id==_9){
return _f(_9)||_10(_9);
}else{
if(id==_a){
return _f(_a)||_10(_a);
}else{
if(_12(_2)==id){
return _2;
}else{
for(var i=0,l=_b.length;i<l;i++){
var w=_e(_b[i]);
if(w&&_12(w)==id){
return w;
}
}
return null;
}
}
}
}
}
}else{
return _2;
}
},_f=function(id){
try{
var f=_13(top,id+"-iframe");
return f?f.window:null;
}
catch(e){
return null;
}
},_10=function(id){
try{
var w=_2,fID=id+"-iframe";
f=_13(w,fID);
while(!f&&w&&w!==top){
w=w.parent;
f=_13(w,fID);
}
return f?f.window:null;
}
catch(e){
return null;
}
},_13=function(w,id){
if(w){
var fs=w.frames;
if(fs){
return fs[id];
}
}
return null;
},_12=function(w){
return _3("ibmCfg.portalConfig.currentPageOID",false,w);
},_14=function(){
var ids=[],add=function(id){
if(id&&ids.indexOf(id)<0){
ids.push(id);
}
};
for(var i=0,l=_b.length;i<l;i++){
var w=_e(_b[i]);
if(w){
add(_12(w));
}
}
return ids;
},_15=function(win){
var id=_5,doc=win.document,_16=doc.getElementById(id);
if(!_16){
var _17=doc.getElementsByTagName("head")[0],_16=_c("link",{"id":id,"rel":"alternate","href":"#"},_17);
}
var _18=_16.href;
var _19=_18.indexOf("#");
if(_19>0){
_18=_18.substr(0,_19);
}
_18=_18.replace("%24project","$project");
return _18;
},_1a=function(win){
var _1b=_3(_4,false,win),doc=win.document,url;
if(null!=_1b){
return _1b.baseURL;
}
_1b=win[_6];
if(null!=_1b){
return _1b;
}
_1b=new i$.Promise();
win[_6]=_1b;
if(doc.readyState==="loading"){
doc.addEventListener("DOMContentLoaded",function(){
url=_15(win);
_1b.resolve(url);
});
}else{
url=_15(win);
_1b.resolve(url);
}
return _1b;
};
i$.toPath(_4,{VIEW_AREA:_7,MASTER:_8,getWindow:function(id){
return _e(id);
},getBaseURL:function(win){
return _15(win);
},getPageIDs:function(){
return _14();
},findBaseURL:_1a,baseURL:_d});
})(window);


}catch(e){console.log("Module 'wp_theme_utils': ",e);}
try{/*
	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
*/

//>>built
require({cache:{"dojox/lang/functional/array":function(){define("dojox/lang/functional/array",["dojo/_base/kernel","dojo/_base/lang","dojo/_base/array","dojo/_base/window","./lambda"],function(_1,_2,_3,_4,df){var _5={};_2.mixin(df,{filter:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||_4.global;f=df.lambda(f);var t=[],v,i,n;if(_2.isArray(a)){for(i=0,n=a.length;i<n;++i){v=a[i];if(f.call(o,v,i,a)){t.push(v);}}}else{if(typeof a.hasNext=="function"&&typeof a.next=="function"){for(i=0;a.hasNext();){v=a.next();if(f.call(o,v,i++,a)){t.push(v);}}}else{for(i in a){if(!(i in _5)){v=a[i];if(f.call(o,v,i,a)){t.push(v);}}}}}return t;},forEach:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||_4.global;f=df.lambda(f);var i,n;if(_2.isArray(a)){for(i=0,n=a.length;i<n;f.call(o,a[i],i,a),++i){}}else{if(typeof a.hasNext=="function"&&typeof a.next=="function"){for(i=0;a.hasNext();f.call(o,a.next(),i++,a)){}}else{for(i in a){if(!(i in _5)){f.call(o,a[i],i,a);}}}}return o;},map:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||_4.global;f=df.lambda(f);var t,n,i;if(_2.isArray(a)){t=new Array(n=a.length);for(i=0;i<n;t[i]=f.call(o,a[i],i,a),++i){}}else{if(typeof a.hasNext=="function"&&typeof a.next=="function"){t=[];for(i=0;a.hasNext();t.push(f.call(o,a.next(),i++,a))){}}else{t=[];for(i in a){if(!(i in _5)){t.push(f.call(o,a[i],i,a));}}}}return t;},every:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||_4.global;f=df.lambda(f);var i,n;if(_2.isArray(a)){for(i=0,n=a.length;i<n;++i){if(!f.call(o,a[i],i,a)){return false;}}}else{if(typeof a.hasNext=="function"&&typeof a.next=="function"){for(i=0;a.hasNext();){if(!f.call(o,a.next(),i++,a)){return false;}}}else{for(i in a){if(!(i in _5)){if(!f.call(o,a[i],i,a)){return false;}}}}}return true;},some:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||_4.global;f=df.lambda(f);var i,n;if(_2.isArray(a)){for(i=0,n=a.length;i<n;++i){if(f.call(o,a[i],i,a)){return true;}}}else{if(typeof a.hasNext=="function"&&typeof a.next=="function"){for(i=0;a.hasNext();){if(f.call(o,a.next(),i++,a)){return true;}}}else{for(i in a){if(!(i in _5)){if(f.call(o,a[i],i,a)){return true;}}}}}return false;}});return df;});},"dojox/charting/Element":function(){define("dojox/charting/Element",["dojo/_base/lang","dojo/_base/array","dojo/dom-construct","dojo/_base/declare","dojox/gfx","dojox/gfx/utils","dojox/gfx/shape"],function(_6,_7,_8,_9,_a,_b,_c){return _9("dojox.charting.Element",null,{chart:null,group:null,htmlElements:null,dirty:true,constructor:function(_d){this.chart=_d;this.group=null;this.htmlElements=[];this.dirty=true;this.trailingSymbol="...";this._events=[];},createGroup:function(_e){if(!_e){_e=this.chart.surface;}if(!this.group){this.group=_e.createGroup();}return this;},purgeGroup:function(){this.destroyHtmlElements();if(this.group){_b.forEach(this.group,function(_f){_c.dispose(_f);});if(this.group.rawNode){_8.empty(this.group.rawNode);}this.group.clear();this.group.removeShape();_c.dispose(this.group);this.group=null;}this.dirty=true;if(this._events.length){_7.forEach(this._events,function(_10){_10.shape.disconnect(_10.handle);});this._events=[];}return this;},cleanGroup:function(_11){this.destroyHtmlElements();if(!_11){_11=this.chart.surface;}if(this.group){var _12;_b.forEach(this.group,function(_13){_c.dispose(_13);});if(this.group.rawNode){_12=this.group.bgNode;_8.empty(this.group.rawNode);}this.group.clear();if(_12){this.group.rawNode.appendChild(_12);}}else{this.group=_11.createGroup();}this.dirty=true;return this;},destroyHtmlElements:function(){if(this.htmlElements.length){_7.forEach(this.htmlElements,_8.destroy);this.htmlElements=[];}},destroy:function(){this.purgeGroup();},getTextWidth:function(s,_14){return _a._base._getTextBox(s,{font:_14}).w||0;},getTextWithLimitLength:function(s,_15,_16,_17){if(!s||s.length<=0){return {text:"",truncated:_17||false};}if(!_16||_16<=0){return {text:s,truncated:_17||false};}var _18=2,_19=0.618,_1a=s.substring(0,1)+this.trailingSymbol,_1b=this.getTextWidth(_1a,_15);if(_16<=_1b){return {text:_1a,truncated:true};}var _1c=this.getTextWidth(s,_15);if(_1c<=_16){return {text:s,truncated:_17||false};}else{var _1d=0,end=s.length;while(_1d<end){if(end-_1d<=_18){while(this.getTextWidth(s.substring(0,_1d)+this.trailingSymbol,_15)>_16){_1d-=1;}return {text:(s.substring(0,_1d)+this.trailingSymbol),truncated:true};}var _1e=_1d+Math.round((end-_1d)*_19),_1f=this.getTextWidth(s.substring(0,_1e),_15);if(_1f<_16){_1d=_1e;end=end;}else{_1d=_1d;end=_1e;}}}},getTextWithLimitCharCount:function(s,_20,_21,_22){if(!s||s.length<=0){return {text:"",truncated:_22||false};}if(!_21||_21<=0||s.length<=_21){return {text:s,truncated:_22||false};}return {text:s.substring(0,_21)+this.trailingSymbol,truncated:true};},_plotFill:function(_23,dim,_24){if(!_23||!_23.type||!_23.space){return _23;}var _25=_23.space;switch(_23.type){case "linear":if(_25==="plot"||_25==="shapeX"||_25==="shapeY"){_23=_a.makeParameters(_a.defaultLinearGradient,_23);_23.space=_25;if(_25==="plot"||_25==="shapeX"){var _26=dim.height-_24.t-_24.b;_23.y1=_24.t+_26*_23.y1/100;_23.y2=_24.t+_26*_23.y2/100;}if(_25==="plot"||_25==="shapeY"){var _26=dim.width-_24.l-_24.r;_23.x1=_24.l+_26*_23.x1/100;_23.x2=_24.l+_26*_23.x2/100;}}break;case "radial":if(_25==="plot"){_23=_a.makeParameters(_a.defaultRadialGradient,_23);_23.space=_25;var _27=dim.width-_24.l-_24.r,_28=dim.height-_24.t-_24.b;_23.cx=_24.l+_27*_23.cx/100;_23.cy=_24.t+_28*_23.cy/100;_23.r=_23.r*Math.sqrt(_27*_27+_28*_28)/200;}break;case "pattern":if(_25==="plot"||_25==="shapeX"||_25==="shapeY"){_23=_a.makeParameters(_a.defaultPattern,_23);_23.space=_25;if(_25==="plot"||_25==="shapeX"){var _26=dim.height-_24.t-_24.b;_23.y=_24.t+_26*_23.y/100;_23.height=_26*_23.height/100;}if(_25==="plot"||_25==="shapeY"){var _26=dim.width-_24.l-_24.r;_23.x=_24.l+_26*_23.x/100;_23.width=_26*_23.width/100;}}break;}return _23;},_shapeFill:function(_29,_2a){if(!_29||!_29.space){return _29;}var _2b=_29.space;switch(_29.type){case "linear":if(_2b==="shape"||_2b==="shapeX"||_2b==="shapeY"){_29=_a.makeParameters(_a.defaultLinearGradient,_29);_29.space=_2b;if(_2b==="shape"||_2b==="shapeX"){var _2c=_2a.width;_29.x1=_2a.x+_2c*_29.x1/100;_29.x2=_2a.x+_2c*_29.x2/100;}if(_2b==="shape"||_2b==="shapeY"){var _2c=_2a.height;_29.y1=_2a.y+_2c*_29.y1/100;_29.y2=_2a.y+_2c*_29.y2/100;}}break;case "radial":if(_2b==="shape"){_29=_a.makeParameters(_a.defaultRadialGradient,_29);_29.space=_2b;_29.cx=_2a.x+_2a.width/2;_29.cy=_2a.y+_2a.height/2;_29.r=_29.r*_2a.width/200;}break;case "pattern":if(_2b==="shape"||_2b==="shapeX"||_2b==="shapeY"){_29=_a.makeParameters(_a.defaultPattern,_29);_29.space=_2b;if(_2b==="shape"||_2b==="shapeX"){var _2c=_2a.width;_29.x=_2a.x+_2c*_29.x/100;_29.width=_2c*_29.width/100;}if(_2b==="shape"||_2b==="shapeY"){var _2c=_2a.height;_29.y=_2a.y+_2c*_29.y/100;_29.height=_2c*_29.height/100;}}break;}return _29;},_pseudoRadialFill:function(_2d,_2e,_2f,_30,end){if(!_2d||_2d.type!=="radial"||_2d.space!=="shape"){return _2d;}var _31=_2d.space;_2d=_a.makeParameters(_a.defaultRadialGradient,_2d);_2d.space=_31;if(arguments.length<4){_2d.cx=_2e.x;_2d.cy=_2e.y;_2d.r=_2d.r*_2f/100;return _2d;}var _32=arguments.length<5?_30:(end+_30)/2;return {type:"linear",x1:_2e.x,y1:_2e.y,x2:_2e.x+_2d.r*_2f*Math.cos(_32)/100,y2:_2e.y+_2d.r*_2f*Math.sin(_32)/100,colors:_2d.colors};return _2d;}});});},"dojox/gfx/utils":function(){define("dojox/gfx/utils",["dojo/_base/kernel","dojo/_base/lang","./_base","dojo/_base/html","dojo/_base/array","dojo/_base/window","dojo/_base/json","dojo/_base/Deferred","dojo/_base/sniff","require","dojo/_base/config"],function(_33,_34,g,_35,arr,win,_36,_37,has,_38,_39){var gu=g.utils={};_34.mixin(gu,{forEach:function(_3a,f,o){o=o||win.global;f.call(o,_3a);if(_3a instanceof g.Surface||_3a instanceof g.Group){arr.forEach(_3a.children,function(_3b){gu.forEach(_3b,f,o);});}},serialize:function(_3c){var t={},v,_3d=_3c instanceof g.Surface;if(_3d||_3c instanceof g.Group){t.children=arr.map(_3c.children,gu.serialize);if(_3d){return t.children;}}else{t.shape=_3c.getShape();}if(_3c.getTransform){v=_3c.getTransform();if(v){t.transform=v;}}if(_3c.getStroke){v=_3c.getStroke();if(v){t.stroke=v;}}if(_3c.getFill){v=_3c.getFill();if(v){t.fill=v;}}if(_3c.getFont){v=_3c.getFont();if(v){t.font=v;}}return t;},toJson:function(_3e,_3f){return _36.toJson(gu.serialize(_3e),_3f);},deserialize:function(_40,_41){if(_41 instanceof Array){return arr.map(_41,_34.hitch(null,gu.deserialize,_40));}var _42=("shape" in _41)?_40.createShape(_41.shape):_40.createGroup();if("transform" in _41){_42.setTransform(_41.transform);}if("stroke" in _41){_42.setStroke(_41.stroke);}if("fill" in _41){_42.setFill(_41.fill);}if("font" in _41){_42.setFont(_41.font);}if("children" in _41){arr.forEach(_41.children,_34.hitch(null,gu.deserialize,_42));}return _42;},fromJson:function(_43,_44){return gu.deserialize(_43,_36.fromJson(_44));},toSvg:function(_45){var _46=new _37();if(g.renderer==="svg"){try{var svg=gu._cleanSvg(gu._innerXML(_45.rawNode));_46.callback(svg);}catch(e){_46.errback(e);}}else{if(!gu._initSvgSerializerDeferred){gu._initSvgSerializer();}var _47=gu.toJson(_45);var _48=function(){try{var _49=_45.getDimensions();var _4a=_49.width;var _4b=_49.height;var _4c=gu._gfxSvgProxy.document.createElement("div");gu._gfxSvgProxy.document.body.appendChild(_4c);win.withDoc(gu._gfxSvgProxy.document,function(){_35.style(_4c,"width",_4a);_35.style(_4c,"height",_4b);},this);var ts=gu._gfxSvgProxy[dojox._scopeName].gfx.createSurface(_4c,_4a,_4b);var _4d=function(_4e){try{gu._gfxSvgProxy[dojox._scopeName].gfx.utils.fromJson(_4e,_47);var svg=gu._cleanSvg(_4c.innerHTML);_4e.clear();_4e.destroy();gu._gfxSvgProxy.document.body.removeChild(_4c);_46.callback(svg);}catch(e){_46.errback(e);}};ts.whenLoaded(null,_4d);}catch(ex){_46.errback(ex);}};if(gu._initSvgSerializerDeferred.fired>0){_48();}else{gu._initSvgSerializerDeferred.addCallback(_48);}}return _46;},_gfxSvgProxy:null,_initSvgSerializerDeferred:null,_svgSerializerInitialized:function(){gu._initSvgSerializerDeferred.callback(true);},_initSvgSerializer:function(){if(!gu._initSvgSerializerDeferred){gu._initSvgSerializerDeferred=new _37();var f=win.doc.createElement("iframe");_35.style(f,{display:"none",position:"absolute",width:"1em",height:"1em",top:"-10000px"});var _4f;if(has("ie")){f.onreadystatechange=function(){if(f.contentWindow.document.readyState=="complete"){f.onreadystatechange=function(){};_4f=setInterval(function(){if(f.contentWindow[_33.scopeMap["dojo"][1]._scopeName]&&f.contentWindow[_33.scopeMap["dojox"][1]._scopeName].gfx&&f.contentWindow[_33.scopeMap["dojox"][1]._scopeName].gfx.utils){clearInterval(_4f);f.contentWindow.parent[_33.scopeMap["dojox"][1]._scopeName].gfx.utils._gfxSvgProxy=f.contentWindow;f.contentWindow.parent[_33.scopeMap["dojox"][1]._scopeName].gfx.utils._svgSerializerInitialized();}},50);}};}else{f.onload=function(){f.onload=function(){};_4f=setInterval(function(){if(f.contentWindow[_33.scopeMap["dojo"][1]._scopeName]&&f.contentWindow[_33.scopeMap["dojox"][1]._scopeName].gfx&&f.contentWindow[_33.scopeMap["dojox"][1]._scopeName].gfx.utils){clearInterval(_4f);f.contentWindow.parent[_33.scopeMap["dojox"][1]._scopeName].gfx.utils._gfxSvgProxy=f.contentWindow;f.contentWindow.parent[_33.scopeMap["dojox"][1]._scopeName].gfx.utils._svgSerializerInitialized();}},50);};}var uri=(_39["dojoxGfxSvgProxyFrameUrl"]||_38.toUrl("dojox/gfx/resources/gfxSvgProxyFrame.html"));f.setAttribute("src",uri.toString());win.body().appendChild(f);}},_innerXML:function(_50){if(_50.innerXML){return _50.innerXML;}else{if(_50.xml){return _50.xml;}else{if(typeof XMLSerializer!="undefined"){return (new XMLSerializer()).serializeToString(_50);}}}return null;},_cleanSvg:function(svg){if(svg){if(svg.indexOf("xmlns=\"http://www.w3.org/2000/svg\"")==-1){svg=svg.substring(4,svg.length);svg="<svg xmlns=\"http://www.w3.org/2000/svg\""+svg;}if(svg.indexOf("xmlns:xlink=\"http://www.w3.org/1999/xlink\"")==-1){svg=svg.substring(4,svg.length);svg="<svg xmlns:xlink=\"http://www.w3.org/1999/xlink\""+svg;}if(svg.indexOf("xlink:href")===-1){svg=svg.replace(/href\s*=/g,"xlink:href=");}svg=svg.replace(/\bdojoGfx\w*\s*=\s*(['"])\w*\1/g,"");svg=svg.replace(/\b__gfxObject__\s*=\s*(['"])\w*\1/g,"");svg=svg.replace(/[=]([^"']+?)(\s|>)/g,"=\"$1\"$2");svg=svg.replace(/\bstroke-opacity\w*\s*=\s*(['"])undefined\1/g,"");}return svg;}});return gu;});},"dojox/main":function(){define("dojox/main",["dojo/_base/kernel"],function(_51){return _51.dojox;});},"dojox/lang/functional/reversed":function(){define("dojox/lang/functional/reversed",["dojo/_base/lang","dojo/_base/window","./lambda"],function(_52,win,df){_52.mixin(df,{filterRev:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||win.global;f=df.lambda(f);var t=[],v,i=a.length-1;for(;i>=0;--i){v=a[i];if(f.call(o,v,i,a)){t.push(v);}}return t;},forEachRev:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||win.global;f=df.lambda(f);for(var i=a.length-1;i>=0;f.call(o,a[i],i,a),--i){}},mapRev:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||win.global;f=df.lambda(f);var n=a.length,t=new Array(n),i=n-1,j=0;for(;i>=0;t[j++]=f.call(o,a[i],i,a),--i){}return t;},everyRev:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||win.global;f=df.lambda(f);for(var i=a.length-1;i>=0;--i){if(!f.call(o,a[i],i,a)){return false;}}return true;},someRev:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||win.global;f=df.lambda(f);for(var i=a.length-1;i>=0;--i){if(f.call(o,a[i],i,a)){return true;}}return false;}});return df;});},"dojox/charting/Chart":function(){define("dojox/charting/Chart",["dojo/_base/lang","dojo/_base/array","dojo/_base/declare","dojo/_base/html","dojo/dom","dojo/dom-geometry","dojo/dom-construct","dojo/_base/Color","dojo/_base/sniff","./Element","./Theme","./Series","./axis2d/common","dojox/gfx/shape","dojox/gfx","dojox/lang/functional","dojox/lang/functional/fold","dojox/lang/functional/reversed"],function(_53,arr,_54,_55,dom,_56,_57,_58,has,_59,_5a,_5b,_5c,_5d,g,_5e,_5f,_60){var dc=dojox.charting,_61=_5e.lambda("item.clear()"),_62=_5e.lambda("item.purgeGroup()"),_63=_5e.lambda("item.destroy()"),_64=_5e.lambda("item.dirty = false"),_65=_5e.lambda("item.dirty = true"),_66=_5e.lambda("item.name");_54("dojox.charting.Chart",null,{constructor:function(_67,_68){if(!_68){_68={};}this.margins=_68.margins?_68.margins:{l:10,t:10,r:10,b:10};this.stroke=_68.stroke;this.fill=_68.fill;this.delayInMs=_68.delayInMs||200;this.title=_68.title;this.titleGap=_68.titleGap;this.titlePos=_68.titlePos;this.titleFont=_68.titleFont;this.titleFontColor=_68.titleFontColor;this.chartTitle=null;this.theme=null;this.axes={};this.stack=[];this.plots={};this.series=[];this.runs={};this.dirty=true;this.coords=null;this._clearRects=[];this.node=dom.byId(_67);var box=_56.getMarginBox(_67);this.surface=g.createSurface(this.node,box.w||400,box.h||300);},destroy:function(){arr.forEach(this.series,_63);arr.forEach(this.stack,_63);_5e.forIn(this.axes,_63);if(this.chartTitle&&this.chartTitle.tagName){_57.destroy(this.chartTitle);}arr.forEach(this._clearRects,function(_69){_5d.dispose(_69);});this.surface.destroy();},getCoords:function(){return _55.coords(this.node,true);},setTheme:function(_6a){this.theme=_6a.clone();this.dirty=true;return this;},addAxis:function(_6b,_6c){var _6d,_6e=_6c&&_6c.type||"Default";if(typeof _6e=="string"){if(!dc.axis2d||!dc.axis2d[_6e]){throw Error("Can't find axis: "+_6e+" - Check "+"require() dependencies.");}_6d=new dc.axis2d[_6e](this,_6c);}else{_6d=new _6e(this,_6c);}_6d.name=_6b;_6d.dirty=true;if(_6b in this.axes){this.axes[_6b].destroy();}this.axes[_6b]=_6d;this.dirty=true;return this;},getAxis:function(_6f){return this.axes[_6f];},removeAxis:function(_70){if(_70 in this.axes){this.axes[_70].destroy();delete this.axes[_70];this.dirty=true;}return this;},addPlot:function(_71,_72){var _73,_74=_72&&_72.type||"Default";if(typeof _74=="string"){if(!dc.plot2d||!dc.plot2d[_74]){throw Error("Can't find plot: "+_74+" - didn't you forget to dojo"+".require() it?");}_73=new dc.plot2d[_74](this,_72);}else{_73=new _74(this,_72);}_73.name=_71;_73.dirty=true;if(_71 in this.plots){this.stack[this.plots[_71]].destroy();this.stack[this.plots[_71]]=_73;}else{this.plots[_71]=this.stack.length;this.stack.push(_73);}this.dirty=true;return this;},getPlot:function(_75){return this.stack[this.plots[_75]];},removePlot:function(_76){if(_76 in this.plots){var _77=this.plots[_76];delete this.plots[_76];this.stack[_77].destroy();this.stack.splice(_77,1);_5e.forIn(this.plots,function(idx,_78,_79){if(idx>_77){_79[_78]=idx-1;}});var ns=arr.filter(this.series,function(run){return run.plot!=_76;});if(ns.length<this.series.length){arr.forEach(this.series,function(run){if(run.plot==_76){run.destroy();}});this.runs={};arr.forEach(ns,function(run,_7a){this.runs[run.plot]=_7a;},this);this.series=ns;}this.dirty=true;}return this;},getPlotOrder:function(){return _5e.map(this.stack,_66);},setPlotOrder:function(_7b){var _7c={},_7d=_5e.filter(_7b,function(_7e){if(!(_7e in this.plots)||(_7e in _7c)){return false;}_7c[_7e]=1;return true;},this);if(_7d.length<this.stack.length){_5e.forEach(this.stack,function(_7f){var _80=_7f.name;if(!(_80 in _7c)){_7d.push(_80);}});}var _81=_5e.map(_7d,function(_82){return this.stack[this.plots[_82]];},this);_5e.forEach(_81,function(_83,i){this.plots[_83.name]=i;},this);this.stack=_81;this.dirty=true;return this;},movePlotToFront:function(_84){if(_84 in this.plots){var _85=this.plots[_84];if(_85){var _86=this.getPlotOrder();_86.splice(_85,1);_86.unshift(_84);return this.setPlotOrder(_86);}}return this;},movePlotToBack:function(_87){if(_87 in this.plots){var _88=this.plots[_87];if(_88<this.stack.length-1){var _89=this.getPlotOrder();_89.splice(_88,1);_89.push(_87);return this.setPlotOrder(_89);}}return this;},addSeries:function(_8a,_8b,_8c){var run=new _5b(this,_8b,_8c);run.name=_8a;if(_8a in this.runs){this.series[this.runs[_8a]].destroy();this.series[this.runs[_8a]]=run;}else{this.runs[_8a]=this.series.length;this.series.push(run);}this.dirty=true;if(!("ymin" in run)&&"min" in run){run.ymin=run.min;}if(!("ymax" in run)&&"max" in run){run.ymax=run.max;}return this;},getSeries:function(_8d){return this.series[this.runs[_8d]];},removeSeries:function(_8e){if(_8e in this.runs){var _8f=this.runs[_8e];delete this.runs[_8e];this.series[_8f].destroy();this.series.splice(_8f,1);_5e.forIn(this.runs,function(idx,_90,_91){if(idx>_8f){_91[_90]=idx-1;}});this.dirty=true;}return this;},updateSeries:function(_92,_93){if(_92 in this.runs){var run=this.series[this.runs[_92]];run.update(_93);this._invalidateDependentPlots(run.plot,false);this._invalidateDependentPlots(run.plot,true);}return this;},getSeriesOrder:function(_94){return _5e.map(_5e.filter(this.series,function(run){return run.plot==_94;}),_66);},setSeriesOrder:function(_95){var _96,_97={},_98=_5e.filter(_95,function(_99){if(!(_99 in this.runs)||(_99 in _97)){return false;}var run=this.series[this.runs[_99]];if(_96){if(run.plot!=_96){return false;}}else{_96=run.plot;}_97[_99]=1;return true;},this);_5e.forEach(this.series,function(run){var _9a=run.name;if(!(_9a in _97)&&run.plot==_96){_98.push(_9a);}});var _9b=_5e.map(_98,function(_9c){return this.series[this.runs[_9c]];},this);this.series=_9b.concat(_5e.filter(this.series,function(run){return run.plot!=_96;}));_5e.forEach(this.series,function(run,i){this.runs[run.name]=i;},this);this.dirty=true;return this;},moveSeriesToFront:function(_9d){if(_9d in this.runs){var _9e=this.runs[_9d],_9f=this.getSeriesOrder(this.series[_9e].plot);if(_9d!=_9f[0]){_9f.splice(_9e,1);_9f.unshift(_9d);return this.setSeriesOrder(_9f);}}return this;},moveSeriesToBack:function(_a0){if(_a0 in this.runs){var _a1=this.runs[_a0],_a2=this.getSeriesOrder(this.series[_a1].plot);if(_a0!=_a2[_a2.length-1]){_a2.splice(_a1,1);_a2.push(_a0);return this.setSeriesOrder(_a2);}}return this;},resize:function(_a3,_a4){var box;switch(arguments.length){case 1:box=_53.mixin({},_a3);_56.setMarginBox(this.node,box);break;case 2:box={w:_a3,h:_a4};_56.setMarginBox(this.node,box);break;}box=_56.getMarginBox(this.node);var d=this.surface.getDimensions();if(d.width!=box.w||d.height!=box.h){this.surface.setDimensions(box.w,box.h);this.dirty=true;return this.render();}else{return this;}},getGeometry:function(){var ret={};_5e.forIn(this.axes,function(_a5){if(_a5.initialized()){ret[_a5.name]={name:_a5.name,vertical:_a5.vertical,scaler:_a5.scaler,ticks:_a5.ticks};}});return ret;},setAxisWindow:function(_a6,_a7,_a8,_a9){var _aa=this.axes[_a6];if(_aa){_aa.setWindow(_a7,_a8);arr.forEach(this.stack,function(_ab){if(_ab.hAxis==_a6||_ab.vAxis==_a6){_ab.zoom=_a9;}});}return this;},setWindow:function(sx,sy,dx,dy,_ac){if(!("plotArea" in this)){this.calculateGeometry();}_5e.forIn(this.axes,function(_ad){var _ae,_af,_b0=_ad.getScaler().bounds,s=_b0.span/(_b0.upper-_b0.lower);if(_ad.vertical){_ae=sy;_af=dy/s/_ae;}else{_ae=sx;_af=dx/s/_ae;}_ad.setWindow(_ae,_af);});arr.forEach(this.stack,function(_b1){_b1.zoom=_ac;});return this;},zoomIn:function(_b2,_b3){var _b4=this.axes[_b2];if(_b4){var _b5,_b6,_b7=_b4.getScaler().bounds;var _b8=Math.min(_b3[0],_b3[1]);var _b9=Math.max(_b3[0],_b3[1]);_b8=_b3[0]<_b7.lower?_b7.lower:_b8;_b9=_b3[1]>_b7.upper?_b7.upper:_b9;_b5=(_b7.upper-_b7.lower)/(_b9-_b8);_b6=_b8-_b7.lower;this.setAxisWindow(_b2,_b5,_b6);this.render();}},calculateGeometry:function(){if(this.dirty){return this.fullGeometry();}var _ba=arr.filter(this.stack,function(_bb){return _bb.dirty||(_bb.hAxis&&this.axes[_bb.hAxis].dirty)||(_bb.vAxis&&this.axes[_bb.vAxis].dirty);},this);_bc(_ba,this.plotArea);return this;},fullGeometry:function(){this._makeDirty();arr.forEach(this.stack,_61);if(!this.theme){this.setTheme(new _5a(dojox.charting._def));}arr.forEach(this.series,function(run){if(!(run.plot in this.plots)){if(!dc.plot2d||!dc.plot2d.Default){throw Error("Can't find plot: Default - didn't you forget to dojo"+".require() it?");}var _bd=new dc.plot2d.Default(this,{});_bd.name=run.plot;this.plots[run.plot]=this.stack.length;this.stack.push(_bd);}this.stack[this.plots[run.plot]].addSeries(run);},this);arr.forEach(this.stack,function(_be){if(_be.hAxis){_be.setAxis(this.axes[_be.hAxis]);}if(_be.vAxis){_be.setAxis(this.axes[_be.vAxis]);}},this);var dim=this.dim=this.surface.getDimensions();dim.width=g.normalizedLength(dim.width);dim.height=g.normalizedLength(dim.height);_5e.forIn(this.axes,_61);_bc(this.stack,dim);var _bf=this.offsets={l:0,r:0,t:0,b:0};_5e.forIn(this.axes,function(_c0){_5e.forIn(_c0.getOffsets(),function(o,i){_bf[i]+=o;});});if(this.title){this.titleGap=(this.titleGap==0)?0:this.titleGap||this.theme.chart.titleGap||20;this.titlePos=this.titlePos||this.theme.chart.titlePos||"top";this.titleFont=this.titleFont||this.theme.chart.titleFont;this.titleFontColor=this.titleFontColor||this.theme.chart.titleFontColor||"black";var _c1=g.normalizedLength(g.splitFontString(this.titleFont).size);_bf[this.titlePos=="top"?"t":"b"]+=(_c1+this.titleGap);}_5e.forIn(this.margins,function(o,i){_bf[i]+=o;});this.plotArea={width:dim.width-_bf.l-_bf.r,height:dim.height-_bf.t-_bf.b};_5e.forIn(this.axes,_61);_bc(this.stack,this.plotArea);return this;},render:function(){if(this.theme){this.theme.clear();}if(this.dirty){return this.fullRender();}this.calculateGeometry();_5e.forEachRev(this.stack,function(_c2){_c2.render(this.dim,this.offsets);},this);_5e.forIn(this.axes,function(_c3){_c3.render(this.dim,this.offsets);},this);this._makeClean();if(this.surface.render){this.surface.render();}return this;},fullRender:function(){this.fullGeometry();var _c4=this.offsets,dim=this.dim,_c5;arr.forEach(this.series,_62);_5e.forIn(this.axes,_62);arr.forEach(this.stack,_62);arr.forEach(this._clearRects,function(_c6){_5d.dispose(_c6);});this._clearRects=[];if(this.chartTitle&&this.chartTitle.tagName){_57.destroy(this.chartTitle);}this.surface.clear();this.chartTitle=null;var t=this.theme,_c7=t.plotarea&&t.plotarea.fill,_c8=t.plotarea&&t.plotarea.stroke,w=Math.max(0,dim.width-_c4.l-_c4.r),h=Math.max(0,dim.height-_c4.t-_c4.b),_c5={x:_c4.l-1,y:_c4.t-1,width:w+2,height:h+2};if(_c7){_c7=_59.prototype._shapeFill(_59.prototype._plotFill(_c7,dim,_c4),_c5);this._clearRects.push(this.surface.createRect(_c5).setFill(_c7));}if(_c8){this._clearRects.push(this.surface.createRect({x:_c4.l,y:_c4.t,width:w+1,height:h+1}).setStroke(_c8));}_5e.foldr(this.stack,function(z,_c9){return _c9.render(dim,_c4),0;},0);_c7=this.fill!==undefined?this.fill:(t.chart&&t.chart.fill);_c8=this.stroke!==undefined?this.stroke:(t.chart&&t.chart.stroke);if(_c7=="inherit"){var _ca=this.node,_c7=new _58(_55.style(_ca,"backgroundColor"));while(_c7.a==0&&_ca!=document.documentElement){_c7=new _58(_55.style(_ca,"backgroundColor"));_ca=_ca.parentNode;}}if(_c7){_c7=_59.prototype._plotFill(_c7,dim,_c4);if(_c4.l){_c5={width:_c4.l,height:dim.height+1};this._clearRects.push(this.surface.createRect(_c5).setFill(_59.prototype._shapeFill(_c7,_c5)));}if(_c4.r){_c5={x:dim.width-_c4.r,width:_c4.r+1,height:dim.height+2};this._clearRects.push(this.surface.createRect(_c5).setFill(_59.prototype._shapeFill(_c7,_c5)));}if(_c4.t){_c5={width:dim.width+1,height:_c4.t};this._clearRects.push(this.surface.createRect(_c5).setFill(_59.prototype._shapeFill(_c7,_c5)));}if(_c4.b){_c5={y:dim.height-_c4.b,width:dim.width+1,height:_c4.b+2};this._clearRects.push(this.surface.createRect(_c5).setFill(_59.prototype._shapeFill(_c7,_c5)));}}if(_c8){this._clearRects.push(this.surface.createRect({width:dim.width-1,height:dim.height-1}).setStroke(_c8));}if(this.title){var _cb=(g.renderer=="canvas"),_cc=_cb||!has("ie")&&!has("opera")?"html":"gfx",_cd=g.normalizedLength(g.splitFontString(this.titleFont).size);this.chartTitle=_5c.createText[_cc](this,this.surface,dim.width/2,this.titlePos=="top"?_cd+this.margins.t:dim.height-this.margins.b,"middle",this.title,this.titleFont,this.titleFontColor);}_5e.forIn(this.axes,function(_ce){_ce.render(dim,_c4);});this._makeClean();if(this.surface.render){this.surface.render();}return this;},delayedRender:function(){if(!this._delayedRenderHandle){this._delayedRenderHandle=setTimeout(_53.hitch(this,function(){clearTimeout(this._delayedRenderHandle);this._delayedRenderHandle=null;this.render();}),this.delayInMs);}return this;},connectToPlot:function(_cf,_d0,_d1){return _cf in this.plots?this.stack[this.plots[_cf]].connect(_d0,_d1):null;},fireEvent:function(_d2,_d3,_d4){if(_d2 in this.runs){var _d5=this.series[this.runs[_d2]].plot;if(_d5 in this.plots){var _d6=this.stack[this.plots[_d5]];if(_d6){_d6.fireEvent(_d2,_d3,_d4);}}}return this;},_makeClean:function(){arr.forEach(this.axes,_64);arr.forEach(this.stack,_64);arr.forEach(this.series,_64);this.dirty=false;},_makeDirty:function(){arr.forEach(this.axes,_65);arr.forEach(this.stack,_65);arr.forEach(this.series,_65);this.dirty=true;},_invalidateDependentPlots:function(_d7,_d8){if(_d7 in this.plots){var _d9=this.stack[this.plots[_d7]],_da,_db=_d8?"vAxis":"hAxis";if(_d9[_db]){_da=this.axes[_d9[_db]];if(_da&&_da.dependOnData()){_da.dirty=true;arr.forEach(this.stack,function(p){if(p[_db]&&p[_db]==_d9[_db]){p.dirty=true;}});}}else{_d9.dirty=true;}}}});function _dc(_dd){return {min:_dd.hmin,max:_dd.hmax};};function _de(_df){return {min:_df.vmin,max:_df.vmax};};function _e0(_e1,h){_e1.hmin=h.min;_e1.hmax=h.max;};function _e2(_e3,v){_e3.vmin=v.min;_e3.vmax=v.max;};function _e4(_e5,_e6){if(_e5&&_e6){_e5.min=Math.min(_e5.min,_e6.min);_e5.max=Math.max(_e5.max,_e6.max);}return _e5||_e6;};function _bc(_e7,_e8){var _e9={},_ea={};arr.forEach(_e7,function(_eb){var _ec=_e9[_eb.name]=_eb.getSeriesStats();if(_eb.hAxis){_ea[_eb.hAxis]=_e4(_ea[_eb.hAxis],_dc(_ec));}if(_eb.vAxis){_ea[_eb.vAxis]=_e4(_ea[_eb.vAxis],_de(_ec));}});arr.forEach(_e7,function(_ed){var _ee=_e9[_ed.name];if(_ed.hAxis){_e0(_ee,_ea[_ed.hAxis]);}if(_ed.vAxis){_e2(_ee,_ea[_ed.vAxis]);}_ed.initializeScalers(_e8,_ee);});};return dojox.charting.Chart;});},"dojox/color/Palette":function(){define("dojox/color/Palette",["dojo/_base/kernel","../main","dojo/_base/lang","dojo/_base/array","./_base"],function(_ef,_f0,_f1,arr,dxc){dxc.Palette=function(_f2){this.colors=[];if(_f2 instanceof dxc.Palette){this.colors=_f2.colors.slice(0);}else{if(_f2 instanceof dxc.Color){this.colors=[null,null,_f2,null,null];}else{if(_f1.isArray(_f2)){this.colors=arr.map(_f2.slice(0),function(_f3){if(_f1.isString(_f3)){return new dxc.Color(_f3);}return _f3;});}else{if(_f1.isString(_f2)){this.colors=[null,null,new dxc.Color(_f2),null,null];}}}}};function _f4(p,_f5,val){var ret=new dxc.Palette();ret.colors=[];arr.forEach(p.colors,function(_f6){var r=(_f5=="dr")?_f6.r+val:_f6.r,g=(_f5=="dg")?_f6.g+val:_f6.g,b=(_f5=="db")?_f6.b+val:_f6.b,a=(_f5=="da")?_f6.a+val:_f6.a;ret.colors.push(new dxc.Color({r:Math.min(255,Math.max(0,r)),g:Math.min(255,Math.max(0,g)),b:Math.min(255,Math.max(0,b)),a:Math.min(1,Math.max(0,a))}));});return ret;};function _f7(p,_f8,val){var ret=new dxc.Palette();ret.colors=[];arr.forEach(p.colors,function(_f9){var o=_f9.toCmy(),c=(_f8=="dc")?o.c+val:o.c,m=(_f8=="dm")?o.m+val:o.m,y=(_f8=="dy")?o.y+val:o.y;ret.colors.push(dxc.fromCmy(Math.min(100,Math.max(0,c)),Math.min(100,Math.max(0,m)),Math.min(100,Math.max(0,y))));});return ret;};function _fa(p,_fb,val){var ret=new dxc.Palette();ret.colors=[];arr.forEach(p.colors,function(_fc){var o=_fc.toCmyk(),c=(_fb=="dc")?o.c+val:o.c,m=(_fb=="dm")?o.m+val:o.m,y=(_fb=="dy")?o.y+val:o.y,k=(_fb=="dk")?o.b+val:o.b;ret.colors.push(dxc.fromCmyk(Math.min(100,Math.max(0,c)),Math.min(100,Math.max(0,m)),Math.min(100,Math.max(0,y)),Math.min(100,Math.max(0,k))));});return ret;};function _fd(p,_fe,val){var ret=new dxc.Palette();ret.colors=[];arr.forEach(p.colors,function(_ff){var o=_ff.toHsl(),h=(_fe=="dh")?o.h+val:o.h,s=(_fe=="ds")?o.s+val:o.s,l=(_fe=="dl")?o.l+val:o.l;ret.colors.push(dxc.fromHsl(h%360,Math.min(100,Math.max(0,s)),Math.min(100,Math.max(0,l))));});return ret;};function tHSV(p,_100,val){var ret=new dxc.Palette();ret.colors=[];arr.forEach(p.colors,function(item){var o=item.toHsv(),h=(_100=="dh")?o.h+val:o.h,s=(_100=="ds")?o.s+val:o.s,v=(_100=="dv")?o.v+val:o.v;ret.colors.push(dxc.fromHsv(h%360,Math.min(100,Math.max(0,s)),Math.min(100,Math.max(0,v))));});return ret;};function _101(val,low,high){return high-((high-val)*((high-low)/high));};_f1.extend(dxc.Palette,{transform:function(_102){var fn=_f4;if(_102.use){var use=_102.use.toLowerCase();if(use.indexOf("hs")==0){if(use.charAt(2)=="l"){fn=_fd;}else{fn=tHSV;}}else{if(use.indexOf("cmy")==0){if(use.charAt(3)=="k"){fn=_fa;}else{fn=_f7;}}}}else{if("dc" in _102||"dm" in _102||"dy" in _102){if("dk" in _102){fn=_fa;}else{fn=_f7;}}else{if("dh" in _102||"ds" in _102){if("dv" in _102){fn=tHSV;}else{fn=_fd;}}}}var _103=this;for(var p in _102){if(p=="use"){continue;}_103=fn(_103,p,_102[p]);}return _103;},clone:function(){return new dxc.Palette(this);}});_f1.mixin(dxc.Palette,{generators:{analogous:function(args){var high=args.high||60,low=args.low||18,base=_f1.isString(args.base)?new dxc.Color(args.base):args.base,hsv=base.toHsv();var h=[(hsv.h+low+360)%360,(hsv.h+Math.round(low/2)+360)%360,hsv.h,(hsv.h-Math.round(high/2)+360)%360,(hsv.h-high+360)%360];var s1=Math.max(10,(hsv.s<=95)?hsv.s+5:(100-(hsv.s-95))),s2=(hsv.s>1)?hsv.s-1:21-hsv.s,v1=(hsv.v>=92)?hsv.v-9:Math.max(hsv.v+9,20),v2=(hsv.v<=90)?Math.max(hsv.v+5,20):(95+Math.ceil((hsv.v-90)/2)),s=[s1,s2,hsv.s,s1,s1],v=[v1,v2,hsv.v,v1,v2];return new dxc.Palette(arr.map(h,function(hue,i){return dxc.fromHsv(hue,s[i],v[i]);}));},monochromatic:function(args){var base=_f1.isString(args.base)?new dxc.Color(args.base):args.base,hsv=base.toHsv();var s1=(hsv.s-30>9)?hsv.s-30:hsv.s+30,s2=hsv.s,v1=_101(hsv.v,20,100),v2=(hsv.v-20>20)?hsv.v-20:hsv.v+60,v3=(hsv.v-50>20)?hsv.v-50:hsv.v+30;return new dxc.Palette([dxc.fromHsv(hsv.h,s1,v1),dxc.fromHsv(hsv.h,s2,v3),base,dxc.fromHsv(hsv.h,s1,v3),dxc.fromHsv(hsv.h,s2,v2)]);},triadic:function(args){var base=_f1.isString(args.base)?new dxc.Color(args.base):args.base,hsv=base.toHsv();var h1=(hsv.h+57+360)%360,h2=(hsv.h-157+360)%360,s1=(hsv.s>20)?hsv.s-10:hsv.s+10,s2=(hsv.s>90)?hsv.s-10:hsv.s+10,s3=(hsv.s>95)?hsv.s-5:hsv.s+5,v1=(hsv.v-20>20)?hsv.v-20:hsv.v+20,v2=(hsv.v-30>20)?hsv.v-30:hsv.v+30,v3=(hsv.v-30>70)?hsv.v-30:hsv.v+30;return new dxc.Palette([dxc.fromHsv(h1,s1,hsv.v),dxc.fromHsv(hsv.h,s2,v2),base,dxc.fromHsv(h2,s2,v1),dxc.fromHsv(h2,s3,v3)]);},complementary:function(args){var base=_f1.isString(args.base)?new dxc.Color(args.base):args.base,hsv=base.toHsv();var h1=((hsv.h*2)+137<360)?(hsv.h*2)+137:Math.floor(hsv.h/2)-137,s1=Math.max(hsv.s-10,0),s2=_101(hsv.s,10,100),s3=Math.min(100,hsv.s+20),v1=Math.min(100,hsv.v+30),v2=(hsv.v>20)?hsv.v-30:hsv.v+30;return new dxc.Palette([dxc.fromHsv(hsv.h,s1,v1),dxc.fromHsv(hsv.h,s2,v2),base,dxc.fromHsv(h1,s3,v2),dxc.fromHsv(h1,hsv.s,hsv.v)]);},splitComplementary:function(args){var base=_f1.isString(args.base)?new dxc.Color(args.base):args.base,_104=args.da||30,hsv=base.toHsv();var _105=((hsv.h*2)+137<360)?(hsv.h*2)+137:Math.floor(hsv.h/2)-137,h1=(_105-_104+360)%360,h2=(_105+_104)%360,s1=Math.max(hsv.s-10,0),s2=_101(hsv.s,10,100),s3=Math.min(100,hsv.s+20),v1=Math.min(100,hsv.v+30),v2=(hsv.v>20)?hsv.v-30:hsv.v+30;return new dxc.Palette([dxc.fromHsv(h1,s1,v1),dxc.fromHsv(h1,s2,v2),base,dxc.fromHsv(h2,s3,v2),dxc.fromHsv(h2,hsv.s,hsv.v)]);},compound:function(args){var base=_f1.isString(args.base)?new dxc.Color(args.base):args.base,hsv=base.toHsv();var h1=((hsv.h*2)+18<360)?(hsv.h*2)+18:Math.floor(hsv.h/2)-18,h2=((hsv.h*2)+120<360)?(hsv.h*2)+120:Math.floor(hsv.h/2)-120,h3=((hsv.h*2)+99<360)?(hsv.h*2)+99:Math.floor(hsv.h/2)-99,s1=(hsv.s-40>10)?hsv.s-40:hsv.s+40,s2=(hsv.s-10>80)?hsv.s-10:hsv.s+10,s3=(hsv.s-25>10)?hsv.s-25:hsv.s+25,v1=(hsv.v-40>10)?hsv.v-40:hsv.v+40,v2=(hsv.v-20>80)?hsv.v-20:hsv.v+20,v3=Math.max(hsv.v,20);return new dxc.Palette([dxc.fromHsv(h1,s1,v1),dxc.fromHsv(h1,s2,v2),base,dxc.fromHsv(h2,s3,v3),dxc.fromHsv(h3,s2,v2)]);},shades:function(args){var base=_f1.isString(args.base)?new dxc.Color(args.base):args.base,hsv=base.toHsv();var s=(hsv.s==100&&hsv.v==0)?0:hsv.s,v1=(hsv.v-50>20)?hsv.v-50:hsv.v+30,v2=(hsv.v-25>=20)?hsv.v-25:hsv.v+55,v3=(hsv.v-75>=20)?hsv.v-75:hsv.v+5,v4=Math.max(hsv.v-10,20);return new dxc.Palette([new dxc.fromHsv(hsv.h,s,v1),new dxc.fromHsv(hsv.h,s,v2),base,new dxc.fromHsv(hsv.h,s,v3),new dxc.fromHsv(hsv.h,s,v4)]);}},generate:function(base,type){if(_f1.isFunction(type)){return type({base:base});}else{if(dxc.Palette.generators[type]){return dxc.Palette.generators[type]({base:base});}}throw new Error("dojox.color.Palette.generate: the specified generator ('"+type+"') does not exist.");}});return dxc.Palette;});},"dojox/color/_base":function(){define("dojox/color/_base",["dojo/_base/kernel","../main","dojo/_base/lang","dojo/_base/Color","dojo/colors"],function(dojo,_106,lang,_107,_108){var cx=lang.getObject("dojox.color",true);cx.Color=_107;cx.blend=_107.blendColors;cx.fromRgb=_107.fromRgb;cx.fromHex=_107.fromHex;cx.fromArray=_107.fromArray;cx.fromString=_107.fromString;cx.greyscale=_108.makeGrey;lang.mixin(cx,{fromCmy:function(cyan,_109,_10a){if(lang.isArray(cyan)){_109=cyan[1],_10a=cyan[2],cyan=cyan[0];}else{if(lang.isObject(cyan)){_109=cyan.m,_10a=cyan.y,cyan=cyan.c;}}cyan/=100,_109/=100,_10a/=100;var r=1-cyan,g=1-_109,b=1-_10a;return new _107({r:Math.round(r*255),g:Math.round(g*255),b:Math.round(b*255)});},fromCmyk:function(cyan,_10b,_10c,_10d){if(lang.isArray(cyan)){_10b=cyan[1],_10c=cyan[2],_10d=cyan[3],cyan=cyan[0];}else{if(lang.isObject(cyan)){_10b=cyan.m,_10c=cyan.y,_10d=cyan.b,cyan=cyan.c;}}cyan/=100,_10b/=100,_10c/=100,_10d/=100;var r,g,b;r=1-Math.min(1,cyan*(1-_10d)+_10d);g=1-Math.min(1,_10b*(1-_10d)+_10d);b=1-Math.min(1,_10c*(1-_10d)+_10d);return new _107({r:Math.round(r*255),g:Math.round(g*255),b:Math.round(b*255)});},fromHsl:function(hue,_10e,_10f){if(lang.isArray(hue)){_10e=hue[1],_10f=hue[2],hue=hue[0];}else{if(lang.isObject(hue)){_10e=hue.s,_10f=hue.l,hue=hue.h;}}_10e/=100;_10f/=100;while(hue<0){hue+=360;}while(hue>=360){hue-=360;}var r,g,b;if(hue<120){r=(120-hue)/60,g=hue/60,b=0;}else{if(hue<240){r=0,g=(240-hue)/60,b=(hue-120)/60;}else{r=(hue-240)/60,g=0,b=(360-hue)/60;}}r=2*_10e*Math.min(r,1)+(1-_10e);g=2*_10e*Math.min(g,1)+(1-_10e);b=2*_10e*Math.min(b,1)+(1-_10e);if(_10f<0.5){r*=_10f,g*=_10f,b*=_10f;}else{r=(1-_10f)*r+2*_10f-1;g=(1-_10f)*g+2*_10f-1;b=(1-_10f)*b+2*_10f-1;}return new _107({r:Math.round(r*255),g:Math.round(g*255),b:Math.round(b*255)});}});cx.fromHsv=function(hue,_110,_111){if(lang.isArray(hue)){_110=hue[1],_111=hue[2],hue=hue[0];}else{if(lang.isObject(hue)){_110=hue.s,_111=hue.v,hue=hue.h;}}if(hue==360){hue=0;}_110/=100;_111/=100;var r,g,b;if(_110==0){r=_111,b=_111,g=_111;}else{var _112=hue/60,i=Math.floor(_112),f=_112-i;var p=_111*(1-_110);var q=_111*(1-(_110*f));var t=_111*(1-(_110*(1-f)));switch(i){case 0:r=_111,g=t,b=p;break;case 1:r=q,g=_111,b=p;break;case 2:r=p,g=_111,b=t;break;case 3:r=p,g=q,b=_111;break;case 4:r=t,g=p,b=_111;break;case 5:r=_111,g=p,b=q;break;}}return new _107({r:Math.round(r*255),g:Math.round(g*255),b:Math.round(b*255)});};lang.extend(_107,{toCmy:function(){var cyan=1-(this.r/255),_113=1-(this.g/255),_114=1-(this.b/255);return {c:Math.round(cyan*100),m:Math.round(_113*100),y:Math.round(_114*100)};},toCmyk:function(){var cyan,_115,_116,_117;var r=this.r/255,g=this.g/255,b=this.b/255;_117=Math.min(1-r,1-g,1-b);cyan=(1-r-_117)/(1-_117);_115=(1-g-_117)/(1-_117);_116=(1-b-_117)/(1-_117);return {c:Math.round(cyan*100),m:Math.round(_115*100),y:Math.round(_116*100),b:Math.round(_117*100)};},toHsl:function(){var r=this.r/255,g=this.g/255,b=this.b/255;var min=Math.min(r,b,g),max=Math.max(r,g,b);var _118=max-min;var h=0,s=0,l=(min+max)/2;if(l>0&&l<1){s=_118/((l<0.5)?(2*l):(2-2*l));}if(_118>0){if(max==r&&max!=g){h+=(g-b)/_118;}if(max==g&&max!=b){h+=(2+(b-r)/_118);}if(max==b&&max!=r){h+=(4+(r-g)/_118);}h*=60;}return {h:h,s:Math.round(s*100),l:Math.round(l*100)};},toHsv:function(){var r=this.r/255,g=this.g/255,b=this.b/255;var min=Math.min(r,b,g),max=Math.max(r,g,b);var _119=max-min;var h=null,s=(max==0)?0:(_119/max);if(s==0){h=0;}else{if(r==max){h=60*(g-b)/_119;}else{if(g==max){h=120+60*(b-r)/_119;}else{h=240+60*(r-g)/_119;}}if(h<0){h+=360;}}return {h:h,s:Math.round(s*100),v:Math.round(max*100)};}});return cx;});},"dojo/colors":function(){define("dojo/colors",["./_base/kernel","./_base/lang","./_base/Color","./_base/array"],function(dojo,lang,_11a,_11b){var _11c=lang.getObject("dojo.colors",true);var _11d=function(m1,m2,h){if(h<0){++h;}if(h>1){--h;}var h6=6*h;if(h6<1){return m1+(m2-m1)*h6;}if(2*h<1){return m2;}if(3*h<2){return m1+(m2-m1)*(2/3-h)*6;}return m1;};dojo.colorFromRgb=_11a.fromRgb=function(_11e,obj){var m=_11e.toLowerCase().match(/^(rgba?|hsla?)\(([\s\.\-,%0-9]+)\)/);if(m){var c=m[2].split(/\s*,\s*/),l=c.length,t=m[1],a;if((t=="rgb"&&l==3)||(t=="rgba"&&l==4)){var r=c[0];if(r.charAt(r.length-1)=="%"){a=_11b.map(c,function(x){return parseFloat(x)*2.56;});if(l==4){a[3]=c[3];}return _11a.fromArray(a,obj);}return _11a.fromArray(c,obj);}if((t=="hsl"&&l==3)||(t=="hsla"&&l==4)){var H=((parseFloat(c[0])%360)+360)%360/360,S=parseFloat(c[1])/100,L=parseFloat(c[2])/100,m2=L<=0.5?L*(S+1):L+S-L*S,m1=2*L-m2;a=[_11d(m1,m2,H+1/3)*256,_11d(m1,m2,H)*256,_11d(m1,m2,H-1/3)*256,1];if(l==4){a[3]=c[3];}return _11a.fromArray(a,obj);}}return null;};var _11f=function(c,low,high){c=Number(c);return isNaN(c)?high:c<low?low:c>high?high:c;};_11a.prototype.sanitize=function(){var t=this;t.r=Math.round(_11f(t.r,0,255));t.g=Math.round(_11f(t.g,0,255));t.b=Math.round(_11f(t.b,0,255));t.a=_11f(t.a,0,1);return this;};_11c.makeGrey=_11a.makeGrey=function(g,a){return _11a.fromArray([g,g,g,a]);};lang.mixin(_11a.named,{"aliceblue":[240,248,255],"antiquewhite":[250,235,215],"aquamarine":[127,255,212],"azure":[240,255,255],"beige":[245,245,220],"bisque":[255,228,196],"blanchedalmond":[255,235,205],"blueviolet":[138,43,226],"brown":[165,42,42],"burlywood":[222,184,135],"cadetblue":[95,158,160],"chartreuse":[127,255,0],"chocolate":[210,105,30],"coral":[255,127,80],"cornflowerblue":[100,149,237],"cornsilk":[255,248,220],"crimson":[220,20,60],"cyan":[0,255,255],"darkblue":[0,0,139],"darkcyan":[0,139,139],"darkgoldenrod":[184,134,11],"darkgray":[169,169,169],"darkgreen":[0,100,0],"darkgrey":[169,169,169],"darkkhaki":[189,183,107],"darkmagenta":[139,0,139],"darkolivegreen":[85,107,47],"darkorange":[255,140,0],"darkorchid":[153,50,204],"darkred":[139,0,0],"darksalmon":[233,150,122],"darkseagreen":[143,188,143],"darkslateblue":[72,61,139],"darkslategray":[47,79,79],"darkslategrey":[47,79,79],"darkturquoise":[0,206,209],"darkviolet":[148,0,211],"deeppink":[255,20,147],"deepskyblue":[0,191,255],"dimgray":[105,105,105],"dimgrey":[105,105,105],"dodgerblue":[30,144,255],"firebrick":[178,34,34],"floralwhite":[255,250,240],"forestgreen":[34,139,34],"gainsboro":[220,220,220],"ghostwhite":[248,248,255],"gold":[255,215,0],"goldenrod":[218,165,32],"greenyellow":[173,255,47],"grey":[128,128,128],"honeydew":[240,255,240],"hotpink":[255,105,180],"indianred":[205,92,92],"indigo":[75,0,130],"ivory":[255,255,240],"khaki":[240,230,140],"lavender":[230,230,250],"lavenderblush":[255,240,245],"lawngreen":[124,252,0],"lemonchiffon":[255,250,205],"lightblue":[173,216,230],"lightcoral":[240,128,128],"lightcyan":[224,255,255],"lightgoldenrodyellow":[250,250,210],"lightgray":[211,211,211],"lightgreen":[144,238,144],"lightgrey":[211,211,211],"lightpink":[255,182,193],"lightsalmon":[255,160,122],"lightseagreen":[32,178,170],"lightskyblue":[135,206,250],"lightslategray":[119,136,153],"lightslategrey":[119,136,153],"lightsteelblue":[176,196,222],"lightyellow":[255,255,224],"limegreen":[50,205,50],"linen":[250,240,230],"magenta":[255,0,255],"mediumaquamarine":[102,205,170],"mediumblue":[0,0,205],"mediumorchid":[186,85,211],"mediumpurple":[147,112,219],"mediumseagreen":[60,179,113],"mediumslateblue":[123,104,238],"mediumspringgreen":[0,250,154],"mediumturquoise":[72,209,204],"mediumvioletred":[199,21,133],"midnightblue":[25,25,112],"mintcream":[245,255,250],"mistyrose":[255,228,225],"moccasin":[255,228,181],"navajowhite":[255,222,173],"oldlace":[253,245,230],"olivedrab":[107,142,35],"orange":[255,165,0],"orangered":[255,69,0],"orchid":[218,112,214],"palegoldenrod":[238,232,170],"palegreen":[152,251,152],"paleturquoise":[175,238,238],"palevioletred":[219,112,147],"papayawhip":[255,239,213],"peachpuff":[255,218,185],"peru":[205,133,63],"pink":[255,192,203],"plum":[221,160,221],"powderblue":[176,224,230],"rosybrown":[188,143,143],"royalblue":[65,105,225],"saddlebrown":[139,69,19],"salmon":[250,128,114],"sandybrown":[244,164,96],"seagreen":[46,139,87],"seashell":[255,245,238],"sienna":[160,82,45],"skyblue":[135,206,235],"slateblue":[106,90,205],"slategray":[112,128,144],"slategrey":[112,128,144],"snow":[255,250,250],"springgreen":[0,255,127],"steelblue":[70,130,180],"tan":[210,180,140],"thistle":[216,191,216],"tomato":[255,99,71],"turquoise":[64,224,208],"violet":[238,130,238],"wheat":[245,222,179],"whitesmoke":[245,245,245],"yellowgreen":[154,205,50]});return _11a;});},"dojox/charting/Theme":function(){define("dojox/charting/Theme",["dojo/_base/lang","dojo/_base/array","dojo/_base/declare","dojo/_base/Color","dojox/color/_base","dojox/color/Palette","dojox/lang/utils","dojox/gfx/gradutils"],function(lang,arr,_120,_121,_122,_123,dlu,dgg){var _124=_120("dojox.charting.Theme",null,{shapeSpaces:{shape:1,shapeX:1,shapeY:1},constructor:function(_125){_125=_125||{};var def=_124.defaultTheme;arr.forEach(["chart","plotarea","axis","series","marker","indicator"],function(name){this[name]=lang.delegate(def[name],_125[name]);},this);if(_125.seriesThemes&&_125.seriesThemes.length){this.colors=null;this.seriesThemes=_125.seriesThemes.slice(0);}else{this.seriesThemes=null;this.colors=(_125.colors||_124.defaultColors).slice(0);}this.markerThemes=null;if(_125.markerThemes&&_125.markerThemes.length){this.markerThemes=_125.markerThemes.slice(0);}this.markers=_125.markers?lang.clone(_125.markers):lang.delegate(_124.defaultMarkers);this.noGradConv=_125.noGradConv;this.noRadialConv=_125.noRadialConv;if(_125.reverseFills){this.reverseFills();}this._current=0;this._buildMarkerArray();},clone:function(){var _126=new _124({chart:this.chart,plotarea:this.plotarea,axis:this.axis,series:this.series,marker:this.marker,colors:this.colors,markers:this.markers,indicator:this.indicator,seriesThemes:this.seriesThemes,markerThemes:this.markerThemes,noGradConv:this.noGradConv,noRadialConv:this.noRadialConv});arr.forEach(["clone","clear","next","skip","addMixin","post","getTick"],function(name){if(this.hasOwnProperty(name)){_126[name]=this[name];}},this);return _126;},clear:function(){this._current=0;},next:function(_127,_128,_129){var _12a=dlu.merge,_12b,_12c;if(this.colors){_12b=lang.delegate(this.series);_12c=lang.delegate(this.marker);var _12d=new _121(this.colors[this._current%this.colors.length]),old;if(_12b.stroke&&_12b.stroke.color){_12b.stroke=lang.delegate(_12b.stroke);old=new _121(_12b.stroke.color);_12b.stroke.color=new _121(_12d);_12b.stroke.color.a=old.a;}else{_12b.stroke={color:_12d};}if(_12c.stroke&&_12c.stroke.color){_12c.stroke=lang.delegate(_12c.stroke);old=new _121(_12c.stroke.color);_12c.stroke.color=new _121(_12d);_12c.stroke.color.a=old.a;}else{_12c.stroke={color:_12d};}if(!_12b.fill||_12b.fill.type){_12b.fill=_12d;}else{old=new _121(_12b.fill);_12b.fill=new _121(_12d);_12b.fill.a=old.a;}if(!_12c.fill||_12c.fill.type){_12c.fill=_12d;}else{old=new _121(_12c.fill);_12c.fill=new _121(_12d);_12c.fill.a=old.a;}}else{_12b=this.seriesThemes?_12a(this.series,this.seriesThemes[this._current%this.seriesThemes.length]):this.series;_12c=this.markerThemes?_12a(this.marker,this.markerThemes[this._current%this.markerThemes.length]):_12b;}var _12e=_12c&&_12c.symbol||this._markers[this._current%this._markers.length];var _12f={series:_12b,marker:_12c,symbol:_12e};++this._current;if(_128){_12f=this.addMixin(_12f,_127,_128);}if(_129){_12f=this.post(_12f,_127);}return _12f;},skip:function(){++this._current;},addMixin:function(_130,_131,_132,_133){if(lang.isArray(_132)){arr.forEach(_132,function(m){_130=this.addMixin(_130,_131,m);},this);}else{var t={};if("color" in _132){if(_131=="line"||_131=="area"){lang.setObject("series.stroke.color",_132.color,t);lang.setObject("marker.stroke.color",_132.color,t);}else{lang.setObject("series.fill",_132.color,t);}}arr.forEach(["stroke","outline","shadow","fill","font","fontColor","labelWiring"],function(name){var _134="marker"+name.charAt(0).toUpperCase()+name.substr(1),b=_134 in _132;if(name in _132){lang.setObject("series."+name,_132[name],t);if(!b){lang.setObject("marker."+name,_132[name],t);}}if(b){lang.setObject("marker."+name,_132[_134],t);}});if("marker" in _132){t.symbol=_132.marker;}_130=dlu.merge(_130,t);}if(_133){_130=this.post(_130,_131);}return _130;},post:function(_135,_136){var fill=_135.series.fill,t;if(!this.noGradConv&&this.shapeSpaces[fill.space]&&fill.type=="linear"){if(_136=="bar"){t={x1:fill.y1,y1:fill.x1,x2:fill.y2,y2:fill.x2};}else{if(!this.noRadialConv&&fill.space=="shape"&&(_136=="slice"||_136=="circle")){t={type:"radial",cx:0,cy:0,r:100};}}if(t){return dlu.merge(_135,{series:{fill:t}});}}return _135;},getTick:function(name,_137){var tick=this.axis.tick,_138=name+"Tick",_139=dlu.merge;if(tick){if(this.axis[_138]){tick=_139(tick,this.axis[_138]);}}else{tick=this.axis[_138];}if(_137){if(tick){if(_137[_138]){tick=_139(tick,_137[_138]);}}else{tick=_137[_138];}}return tick;},inspectObjects:function(f){arr.forEach(["chart","plotarea","axis","series","marker","indicator"],function(name){f(this[name]);},this);if(this.seriesThemes){arr.forEach(this.seriesThemes,f);}if(this.markerThemes){arr.forEach(this.markerThemes,f);}},reverseFills:function(){this.inspectObjects(function(o){if(o&&o.fill){o.fill=dgg.reverse(o.fill);}});},addMarker:function(name,_13a){this.markers[name]=_13a;this._buildMarkerArray();},setMarkers:function(obj){this.markers=obj;this._buildMarkerArray();},_buildMarkerArray:function(){this._markers=[];for(var p in this.markers){this._markers.push(this.markers[p]);}}});lang.mixin(_124,{defaultMarkers:{CIRCLE:"m-3,0 c0,-4 6,-4 6,0 m-6,0 c0,4 6,4 6,0",SQUARE:"m-3,-3 l0,6 6,0 0,-6 z",DIAMOND:"m0,-3 l3,3 -3,3 -3,-3 z",CROSS:"m0,-3 l0,6 m-3,-3 l6,0",X:"m-3,-3 l6,6 m0,-6 l-6,6",TRIANGLE:"m-3,3 l3,-6 3,6 z",TRIANGLE_INVERTED:"m-3,-3 l3,6 3,-6 z"},defaultColors:["#54544c","#858e94","#6e767a","#948585","#474747"],defaultTheme:{chart:{stroke:null,fill:"white",pageStyle:null,titleGap:20,titlePos:"top",titleFont:"normal normal bold 14pt Tahoma",titleFontColor:"#333"},plotarea:{stroke:null,fill:"white"},axis:{stroke:{color:"#333",width:1},tick:{color:"#666",position:"center",font:"normal normal normal 7pt Tahoma",fontColor:"#333",titleGap:15,titleFont:"normal normal normal 11pt Tahoma",titleFontColor:"#333",titleOrientation:"axis"},majorTick:{width:1,length:6},minorTick:{width:0.8,length:3},microTick:{width:0.5,length:1}},series:{stroke:{width:1.5,color:"#333"},outline:{width:0.1,color:"#ccc"},shadow:null,fill:"#ccc",font:"normal normal normal 8pt Tahoma",fontColor:"#000",labelWiring:{width:1,color:"#ccc"}},marker:{stroke:{width:1.5,color:"#333"},outline:{width:0.1,color:"#ccc"},shadow:null,fill:"#ccc",font:"normal normal normal 8pt Tahoma",fontColor:"#000"},indicator:{lineStroke:{width:1.5,color:"#333"},lineOutline:{width:0.1,color:"#ccc"},lineShadow:null,stroke:{width:1.5,color:"#333"},outline:{width:0.1,color:"#ccc"},shadow:null,fill:"#ccc",radius:3,font:"normal normal normal 10pt Tahoma",fontColor:"#000",markerFill:"#ccc",markerSymbol:"m-3,0 c0,-4 6,-4 6,0 m-6,0 c0,4 6,4 6,0",markerStroke:{width:1.5,color:"#333"},markerOutline:{width:0.1,color:"#ccc"},markerShadow:null}},defineColors:function(_13b){_13b=_13b||{};var l,c=[],n=_13b.num||5;if(_13b.colors){l=_13b.colors.length;for(var i=0;i<n;i++){c.push(_13b.colors[i%l]);}return c;}if(_13b.hue){var s=_13b.saturation||100,st=_13b.low||30,end=_13b.high||90;l=(end+st)/2;return _122.Palette.generate(_122.fromHsv(_13b.hue,s,l),"monochromatic").colors;}if(_13b.generator){return _122.Palette.generate(_13b.base,_13b.generator).colors;}return c;},generateGradient:function(_13c,_13d,_13e){var fill=lang.delegate(_13c);fill.colors=[{offset:0,color:_13d},{offset:1,color:_13e}];return fill;},generateHslColor:function(_13f,_140){_13f=new _121(_13f);var hsl=_13f.toHsl(),_141=_122.fromHsl(hsl.h,hsl.s,_140);_141.a=_13f.a;return _141;},generateHslGradient:function(_142,_143,_144,_145){_142=new _121(_142);var hsl=_142.toHsl(),_146=_122.fromHsl(hsl.h,hsl.s,_144),_147=_122.fromHsl(hsl.h,hsl.s,_145);_146.a=_147.a=_142.a;return _124.generateGradient(_143,_146,_147);}});return _124;});},"dojox/lang/functional/lambda":function(){define("dojox/lang/functional/lambda",["../..","dojo/_base/kernel","dojo/_base/lang","dojo/_base/array"],function(_148,dojo,lang,arr){var df=lang.getObject("lang.functional",true,_148);var _149={};var _14a="ab".split(/a*/).length>1?String.prototype.split:function(sep){var r=this.split.call(this,sep),m=sep.exec(this);if(m&&m.index==0){r.unshift("");}return r;};var _14b=function(s){var args=[],_14c=_14a.call(s,/\s*->\s*/m);if(_14c.length>1){while(_14c.length){s=_14c.pop();args=_14c.pop().split(/\s*,\s*|\s+/m);if(_14c.length){_14c.push("(function("+args+"){return ("+s+")})");}}}else{if(s.match(/\b_\b/)){args=["_"];}else{var l=s.match(/^\s*(?:[+*\/%&|\^\.=<>]|!=)/m),r=s.match(/[+\-*\/%&|\^\.=<>!]\s*$/m);if(l||r){if(l){args.push("$1");s="$1"+s;}if(r){args.push("$2");s=s+"$2";}}else{var vars=s.replace(/(?:\b[A-Z]|\.[a-zA-Z_$])[a-zA-Z_$\d]*|[a-zA-Z_$][a-zA-Z_$\d]*:|this|true|false|null|undefined|typeof|instanceof|in|delete|new|void|arguments|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|escape|eval|isFinite|isNaN|parseFloat|parseInt|unescape|dojo|dijit|dojox|window|document|'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"/g,"").match(/([a-z_$][a-z_$\d]*)/gi)||[],t={};arr.forEach(vars,function(v){if(!(v in t)){args.push(v);t[v]=1;}});}}}return {args:args,body:s};};var _14d=function(a){return a.length?function(){var i=a.length-1,x=df.lambda(a[i]).apply(this,arguments);for(--i;i>=0;--i){x=df.lambda(a[i]).call(this,x);}return x;}:function(x){return x;};};lang.mixin(df,{rawLambda:function(s){return _14b(s);},buildLambda:function(s){s=_14b(s);return "function("+s.args.join(",")+"){return ("+s.body+");}";},lambda:function(s){if(typeof s=="function"){return s;}if(s instanceof Array){return _14d(s);}if(s in _149){return _149[s];}s=_14b(s);return _149[s]=new Function(s.args,"return ("+s.body+");");},clearLambdaCache:function(){_149={};}});return df;});},"dojox/lang/functional/fold":function(){define("dojox/lang/functional/fold",["dojo/_base/lang","dojo/_base/array","dojo/_base/window","./lambda"],function(lang,arr,win,df){var _14e={};lang.mixin(df,{foldl:function(a,f,z,o){if(typeof a=="string"){a=a.split("");}o=o||win.global;f=df.lambda(f);var i,n;if(lang.isArray(a)){for(i=0,n=a.length;i<n;z=f.call(o,z,a[i],i,a),++i){}}else{if(typeof a.hasNext=="function"&&typeof a.next=="function"){for(i=0;a.hasNext();z=f.call(o,z,a.next(),i++,a)){}}else{for(i in a){if(!(i in _14e)){z=f.call(o,z,a[i],i,a);}}}}return z;},foldl1:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||win.global;f=df.lambda(f);var z,i,n;if(lang.isArray(a)){z=a[0];for(i=1,n=a.length;i<n;z=f.call(o,z,a[i],i,a),++i){}}else{if(typeof a.hasNext=="function"&&typeof a.next=="function"){if(a.hasNext()){z=a.next();for(i=1;a.hasNext();z=f.call(o,z,a.next(),i++,a)){}}}else{var _14f=true;for(i in a){if(!(i in _14e)){if(_14f){z=a[i];_14f=false;}else{z=f.call(o,z,a[i],i,a);}}}}}return z;},foldr:function(a,f,z,o){if(typeof a=="string"){a=a.split("");}o=o||win.global;f=df.lambda(f);for(var i=a.length;i>0;--i,z=f.call(o,z,a[i],i,a)){}return z;},foldr1:function(a,f,o){if(typeof a=="string"){a=a.split("");}o=o||win.global;f=df.lambda(f);var n=a.length,z=a[n-1],i=n-1;for(;i>0;--i,z=f.call(o,z,a[i],i,a)){}return z;},reduce:function(a,f,z){return arguments.length<3?df.foldl1(a,f):df.foldl(a,f,z);},reduceRight:function(a,f,z){return arguments.length<3?df.foldr1(a,f):df.foldr(a,f,z);},unfold:function(pr,f,g,z,o){o=o||win.global;f=df.lambda(f);g=df.lambda(g);pr=df.lambda(pr);var t=[];for(;!pr.call(o,z);t.push(f.call(o,z)),z=g.call(o,z)){}return t;}});});},"dojox/charting/Series":function(){define("dojox/charting/Series",["dojo/_base/lang","dojo/_base/declare","./Element"],function(lang,_150,_151){return _150("dojox.charting.Series",_151,{constructor:function(_152,data,_153){lang.mixin(this,_153);if(typeof this.plot!="string"){this.plot="default";}this.update(data);},clear:function(){this.dyn={};},update:function(data){if(lang.isArray(data)){this.data=data;}else{this.source=data;this.data=this.source.data;if(this.source.setSeriesObject){this.source.setSeriesObject(this);}}this.dirty=true;this.clear();}});});},"dojox/lang/functional":function(){define("dojox/lang/functional",["./functional/lambda","./functional/array","./functional/object"],function(df){return df;});},"dojox/gfx/gradutils":function(){define("dojox/gfx/gradutils",["./_base","dojo/_base/lang","./matrix","dojo/_base/Color"],function(g,lang,m,_154){var _155=g.gradutils={};function _156(o,c){if(o<=0){return c[0].color;}var len=c.length;if(o>=1){return c[len-1].color;}for(var i=0;i<len;++i){var stop=c[i];if(stop.offset>=o){if(i){var prev=c[i-1];return _154.blendColors(new _154(prev.color),new _154(stop.color),(o-prev.offset)/(stop.offset-prev.offset));}return stop.color;}}return c[len-1].color;};_155.getColor=function(fill,pt){var o;if(fill){switch(fill.type){case "linear":var _157=Math.atan2(fill.y2-fill.y1,fill.x2-fill.x1),_158=m.rotate(-_157),_159=m.project(fill.x2-fill.x1,fill.y2-fill.y1),p=m.multiplyPoint(_159,pt),pf1=m.multiplyPoint(_159,fill.x1,fill.y1),pf2=m.multiplyPoint(_159,fill.x2,fill.y2),_15a=m.multiplyPoint(_158,pf2.x-pf1.x,pf2.y-pf1.y).x;o=m.multiplyPoint(_158,p.x-pf1.x,p.y-pf1.y).x/_15a;break;case "radial":var dx=pt.x-fill.cx,dy=pt.y-fill.cy;o=Math.sqrt(dx*dx+dy*dy)/fill.r;break;}return _156(o,fill.colors);}return new _154(fill||[0,0,0,0]);};_155.reverse=function(fill){if(fill){switch(fill.type){case "linear":case "radial":fill=lang.delegate(fill);if(fill.colors){var c=fill.colors,l=c.length,i=0,stop,n=fill.colors=new Array(c.length);for(;i<l;++i){stop=c[i];n[i]={offset:1-stop.offset,color:stop.color};}n.sort(function(a,b){return a.offset-b.offset;});}break;}}return fill;};return _155;});},"dojox/lang/utils":function(){define("dojox/lang/utils",["..","dojo/_base/lang"],function(_15b,lang){var du=lang.getObject("lang.utils",true,_15b);var _15c={},opts=Object.prototype.toString;var _15d=function(o){if(o){switch(opts.call(o)){case "[object Array]":return o.slice(0);case "[object Object]":return lang.delegate(o);}}return o;};lang.mixin(du,{coerceType:function(_15e,_15f){switch(typeof _15e){case "number":return Number(eval("("+_15f+")"));case "string":return String(_15f);case "boolean":return Boolean(eval("("+_15f+")"));}return eval("("+_15f+")");},updateWithObject:function(_160,_161,conv){if(!_161){return _160;}for(var x in _160){if(x in _161&&!(x in _15c)){var t=_160[x];if(t&&typeof t=="object"){du.updateWithObject(t,_161[x],conv);}else{_160[x]=conv?du.coerceType(t,_161[x]):_15d(_161[x]);}}}return _160;},updateWithPattern:function(_162,_163,_164,conv){if(!_163||!_164){return _162;}for(var x in _164){if(x in _163&&!(x in _15c)){_162[x]=conv?du.coerceType(_164[x],_163[x]):_15d(_163[x]);}}return _162;},merge:function(_165,_166){if(_166){var _167=opts.call(_165),_168=opts.call(_166),t,i,l,m;switch(_168){case "[object Array]":if(_168==_167){t=new Array(Math.max(_165.length,_166.length));for(i=0,l=t.length;i<l;++i){t[i]=du.merge(_165[i],_166[i]);}return t;}return _166.slice(0);case "[object Object]":if(_168==_167&&_165){t=lang.delegate(_165);for(i in _166){if(i in _165){l=_165[i];m=_166[i];if(m!==l){t[i]=du.merge(l,m);}}else{t[i]=lang.clone(_166[i]);}}return t;}return lang.clone(_166);}}return _166;}});return du;});},"dojox/lang/functional/object":function(){define("dojox/lang/functional/object",["dojo/_base/kernel","dojo/_base/lang","dojo/_base/window","./lambda"],function(dojo,lang,win,df){var _169={};lang.mixin(df,{keys:function(obj){var t=[];for(var i in obj){if(!(i in _169)){t.push(i);}}return t;},values:function(obj){var t=[];for(var i in obj){if(!(i in _169)){t.push(obj[i]);}}return t;},filterIn:function(obj,f,o){o=o||win.global;f=df.lambda(f);var t={},v,i;for(i in obj){if(!(i in _169)){v=obj[i];if(f.call(o,v,i,obj)){t[i]=v;}}}return t;},forIn:function(obj,f,o){o=o||win.global;f=df.lambda(f);for(var i in obj){if(!(i in _169)){f.call(o,obj[i],i,obj);}}return o;},mapIn:function(obj,f,o){o=o||win.global;f=df.lambda(f);var t={},i;for(i in obj){if(!(i in _169)){t[i]=f.call(o,obj[i],i,obj);}}return t;}});return df;});},"dojox/charting/axis2d/common":function(){define("dojox/charting/axis2d/common",["dojo/_base/lang","dojo/_base/html","dojo/_base/window","dojo/dom-geometry","dojox/gfx"],function(lang,html,win,_16a,g){var _16b=lang.getObject("dojox.charting.axis2d.common",true);var _16c=function(s){s.marginLeft="0px";s.marginTop="0px";s.marginRight="0px";s.marginBottom="0px";s.paddingLeft="0px";s.paddingTop="0px";s.paddingRight="0px";s.paddingBottom="0px";s.borderLeftWidth="0px";s.borderTopWidth="0px";s.borderRightWidth="0px";s.borderBottomWidth="0px";};var _16d=function(n){if(n["getBoundingClientRect"]){var bcr=n.getBoundingClientRect();return bcr.width||(bcr.right-bcr.left);}else{return _16a.getMarginBox(n).w;}};return lang.mixin(_16b,{createText:{gfx:function(_16e,_16f,x,y,_170,text,font,_171){return _16f.createText({x:x,y:y,text:text,align:_170}).setFont(font).setFill(_171);},html:function(_172,_173,x,y,_174,text,font,_175,_176){var p=win.doc.createElement("div"),s=p.style,_177;if(_172.getTextDir){p.dir=_172.getTextDir(text);}_16c(s);s.font=font;p.innerHTML=String(text).replace(/\s/g,"&nbsp;");s.color=_175;s.position="absolute";s.left="-10000px";win.body().appendChild(p);var size=g.normalizedLength(g.splitFontString(font).size);if(!_176){_177=_16d(p);}if(p.dir=="rtl"){x+=_176?_176:_177;}win.body().removeChild(p);s.position="relative";if(_176){s.width=_176+"px";switch(_174){case "middle":s.textAlign="center";s.left=(x-_176/2)+"px";break;case "end":s.textAlign="right";s.left=(x-_176)+"px";break;default:s.left=x+"px";s.textAlign="left";break;}}else{switch(_174){case "middle":s.left=Math.floor(x-_177/2)+"px";break;case "end":s.left=Math.floor(x-_177)+"px";break;default:s.left=Math.floor(x)+"px";break;}}s.top=Math.floor(y-size)+"px";s.whiteSpace="nowrap";var wrap=win.doc.createElement("div"),w=wrap.style;_16c(w);w.width="0px";w.height="0px";wrap.appendChild(p);_172.node.insertBefore(wrap,_172.node.firstChild);return wrap;}}});});},"*noref":1}});define("dojox/_dojox_charting",[],1);require(["dojox/charting/Chart"]);
}catch(e){console.log("Module 'dojox_charting_17': ",e);}
try{(function(){i$.isIE&&(document.createElement("article"),document.createElement("aside"),document.createElement("footer"),document.createElement("header"),document.createElement("hgroup"),document.createElement("nav"),document.createElement("section"));7==i$.isIE&&(document.getElementsByTagName("html")[0].className+=" wptheme_ie7");8==i$.isIE&&(document.getElementsByTagName("html")[0].className+=" wptheme_ie8")})();
}catch(e){console.log("Module 'wp_theme_portal_80': ",e);}
try{/** Licensed Materials - Property of IBM, 5724-U69, (C) Copyright IBM Corp. 2009, 2010 - All Rights reserved.  **/
(function(){var _1={};var _2=[];var _3=1;var _4={};_4.register=function(_5){var id=_6();_1[id]=_5;_2.push(_5);return id;};_4.deregister=function(_7){_1[_7]=null;_2=[];};_4.notify=function(_8,_9,_a){var _b=_c();var i=0;var _d=_b.length;if(!_a){_a={type:"AJAX"};}var _e=function(){if(i<_d){var _f=_b[i];i++;if(_f){_f(_8,_e,_a);}else{_e();}}};_e();if(_9){_9();}};_4.isActive=function(){return _2.length>0;};var _6=function(){return _3++;};var _c=function(){if(!_2||_2.length<=0){for(var _10 in _1){if(_1.hasOwnProperty(_10)){_2.push(_10);}}}return _2;};if(typeof (com)=="undefined"){com={};}if(typeof (com.ibm)=="undefined"){com.ibm={};}if(typeof (com.ibm.portal)=="undefined"){com.ibm.portal={};}if(typeof (com.ibm.portal.analytics)=="undefined"){com.ibm.portal.analytics={};}com.ibm.portal.analytics.SiteAnalyticsMediator=_4;com.ibm.portal.analytics.getSiteAnalyticsMediator=function(){return _4;};})();(function(){var _11=function(e){if(_12()){var _13=ibmCfg.portalConfig.currentPageOID;_14(null,null,{type:"PAGE",id:_13});var _15=_16();if(_15&&_15.length>0){for(var i=0;i<_15.length;++i){var _17=_15[i];var _18={};_18.type="PORTLET";_18.id=_19(_17);_1a(_17,_18.id);_14([_17],null,_18);}}}};var _14=function(_1b,_1c,_1d){com.ibm.portal.analytics.SiteAnalyticsMediator.notify(_1b,_1c,_1d);};var _12=function(){return com.ibm.portal.analytics.SiteAnalyticsMediator.isActive();};var _16=function(){var _1e=document.getElementById("layoutContainers");return _1f("div","component-control",_1e);};var _19=function(_20){var _21=_20.className,id=null;if(_21){var _22=_21.split(" ");for(var i=0,l=_22.length;i<l;++i){var cls=_22[i],_23=cls.indexOf("id-");if(_23>=0){id=cls.substring(_23+3);break;}}}return id;};var _1a=function(_24,_25){var _26=_24.className&&_24.className.indexOf("asa.portlet.selected")>=0;if(_26){var _27=document.getElementById("asa.portlet."+_25);if(_27){var _28=document.createElement("span");_28.className="asa.portlet.selected";_28.innerHTML="true";_27.appendChild(_28);}}};var _1f=function(_29,_2a,_2b){if(!_2b){_2b=document;}if(document.getElementsByClassName){return _2b.getElementsByClassName(_2a);}else{var _2c=[];_2a=_2a.toLowerCase();var _2d=_2b.getElementsByTagName(_29);if(_2d&&_2d.length>0){for(var i=0,l=_2d.length;i<l;i++){var e=_2d[i];if(e.className&&e.className.toLowerCase().indexOf(_2a)>=0){_2c.push(e);}}}return _2c;}};var _2e=i$.addOnLoad;if(typeof wp_wcm_async!="undefined"){_2e=i$.scope(wp_wcm_async,wp_wcm_async.addOnPageLoad);}_2e(_11);})();

}catch(e){console.log("Module 'wp_analytics_aggregator': ",e);}